UNPKG

2.63 kBPlain TextView Raw
1{"code":"function defineName$__(cls,name){\n\tObject.defineProperty(cls,\"name\",{value:name,configurable:true});\n};\nimport {Component as imba_Component, createComponent as imba_createComponent, createElement as imba_createElement, createSVGElement as imba_createSVGElement, defineTag as imba_defineTag, getRenderContext as imba_getRenderContext, mount as imba_mount} from 'imba';\nconst $beforeReconcile$ = Symbol.for('#beforeReconcile'), $placeChild$ = Symbol.for('#placeChild'), $afterReconcile$ = Symbol.for('#afterReconcile'), $$up$ = Symbol.for('##up'), $afterVisit$ = Symbol.for('#afterVisit');\nvar $4 = Symbol(), $7 = Symbol(), $9 = Symbol(), $10 = Symbol(), $12 = Symbol(), $15 = Symbol(), $16, $17 = imba_getRenderContext(), $18 = Symbol(), $19, $20;\n\n/*body*/\nimport logo from './imba.svg';\n\nclass AppComponent extends imba_Component {\n\t\n\trender(){\n\t\tvar $1, $2, $3, $5 = this._ns_ || '', $6, $8, $11, $13, $14;\n\t\t$1=this;\n\t\t$1[$beforeReconcile$]();\n\t\t($2=$3=1,$1[$4] === 1) || ($2=$3=0,$1[$4]=1);\n\t\t($6=$1[$7]) || ($1[$7]=$6=imba_createElement('h1',$1,`${$5}`,null));\n\t\t$2 || $6[$placeChild$](\"version \");\n\t\t($8=process.env.MY_VERSION,($8===$1[$10]&&$2) || ($1[$9] = $6[$placeChild$]($1[$10]=$8,256,$1[$9])));\n\t\t;\n\t\t($13=$14=1,$11=$1[$12]) || ($13=$14=0,$1[$12]=$11=imba_createSVGElement('svg',$1,`${$5}`,null));\n\t\t(logo===$1[$15] || ($11.set$('src',$1[$15]=logo)));\n\t\t$13 || ($11.set$('title',\"imba is cool\"));\n\t\t;\n\t\t$1[$afterReconcile$]($3);\n\t\treturn $1;\n\t}\n\tstatic {\n\t\tdefineName$__(this,'app');}\n}; imba_defineTag('app',AppComponent,{});\n\nimba_mount((($19=$20=1,$16=$17[$18]) || ($19=$20=0,$16=$17[$18]=$16=imba_createComponent('app',null,null,null)),\n$19 || ($16[$$up$]=$17._),\n$19 || $17.sym || !$16.setup || $16.setup($20),\n$17.sym || $16[$afterVisit$]($20),\n$16));\n\n/*__css_import__*/import \"/Users/abdellah/workspace/scrimba/imba/temp/build/imba-serve/src/app.imba?imba&type=style&lang.css\";\n","map":{"version":3,"file":"app.js","sourceRoot":"","sources":["/Users/abdellah/workspace/scrimba/imba/temp/build/imba-serve/src/app.imba"],"sourcesContent":["import logo from './imba.svg'\n\ntag app\n\t<self>\n\t\t<h1> \"version {process.env.MY_VERSION}\"\n\t\t<svg src=logo title=\"imba is cool\">\n\nimba.mount <app>\n"],"names":[],"mappings":";;;;;;;;AAAA,MAAM,CAAC,IAAI,MAAM,YAAY;;AAE7B,KAAG,CAAC,YAAG,yBAAA;;SAFP;;;;;4BAIG,wCAAE;;MAAY,OAAO,CAAC,GAAG,CAAC,UAAU;;oDACpC,4CAAG;GAAK,IAAI,eAAR,uBAAI,IAAI;UAAC,iBAAM,cAAc,CAAA;;;;EALpC;;;AAKqC,wCAAA;;AAErC,UAAU,0DAAE,0CAAG;;;;KAAL;AACV;"},"dependencies":[],"meta":{"vite":{"lang":"js"}}}
\No newline at end of file