/* generated by Svelte vX.Y.Z */
import {
SvelteComponentDev ,
add _location ,
append _dev ,
detach _dev ,
dispatch _dev ,
element ,
init ,
insert _dev ,
noop ,
safe _not _equal ,
set _data _dev ,
space ,
subscribe ,
text ,
validate _slots ,
validate _store
} from "svelte/internal" ;
const file = undefined ;
function create _fragment ( ctx ) {
let p ;
let t0 ;
let t1 ;
let t2 ;
let t3 ;
let t4 ;
let t5 ;
let t6 ;
let t7 ;
let t8 ;
let t9 ;
let t10 ;
const block = {
c : function create ( ) {
p = element ( "p" ) ;
t0 = text ( /*prop*/ ctx [ 0 ] ) ;
t1 = space ( ) ;
t2 = text ( /*realName*/ ctx [ 1 ] ) ;
t3 = space ( ) ;
t4 = text ( /*local*/ ctx [ 3 ] ) ;
t5 = space ( ) ;
t6 = text ( priv ) ;
t7 = space ( ) ;
t8 = text ( /*$prop*/ ctx [ 2 ] ) ;
t9 = space ( ) ;
t10 = text ( /*shadowedByModule*/ ctx [ 4 ] ) ;
add _location ( p , file , 22 , 0 , 430 ) ;
} ,
l : function claim ( nodes ) {
throw new Error ( "options.hydrate only works if the component was compiled with the `hydratable: true` option" ) ;
} ,
m : function mount ( target , anchor ) {
insert _dev ( target , p , anchor ) ;
append _dev ( p , t0 ) ;
append _dev ( p , t1 ) ;
append _dev ( p , t2 ) ;
append _dev ( p , t3 ) ;
append _dev ( p , t4 ) ;
append _dev ( p , t5 ) ;
append _dev ( p , t6 ) ;
append _dev ( p , t7 ) ;
append _dev ( p , t8 ) ;
append _dev ( p , t9 ) ;
append _dev ( p , t10 ) ;
} ,
p : function update ( ctx , [ dirty ] ) {
if ( dirty & /*prop*/ 1 ) set _data _dev ( t0 , /*prop*/ ctx [ 0 ] ) ;
if ( dirty & /*realName*/ 2 ) set _data _dev ( t2 , /*realName*/ ctx [ 1 ] ) ;
if ( dirty & /*$prop*/ 4 ) set _data _dev ( t8 , /*$prop*/ ctx [ 2 ] ) ;
} ,
i : noop ,
o : noop ,
d : function destroy ( detaching ) {
if ( detaching ) detach _dev ( p ) ;
}
} ;
dispatch _dev ( "SvelteRegisterBlock" , {
block ,
id : create _fragment . name ,
type : "component" ,
source : "" ,
ctx
} ) ;
return block ;
}
let moduleLiveBinding ;
const moduleContantProps = 4 ;
let moduleLet ;
const moduleConst = 2 ;
let shadowedByModule ;
const priv = 'priv' ;
function instance ( $$self , $$props , $$invalidate ) {
let computed ;
let $prop ,
$$unsubscribe _prop = noop ,
$$subscribe _prop = ( ) => ( $$unsubscribe _prop ( ) , $$unsubscribe _prop = subscribe ( prop , $$value => $$invalidate ( 2 , $prop = $$value ) ) , prop ) ;
$$self . $$ . on _destroy . push ( ( ) => $$unsubscribe _prop ( ) ) ;
let { $$slots : slots = { } , $$scope } = $$props ;
validate _slots ( 'Component' , slots , [ ] ) ;
let { prop } = $$props ;
validate _store ( prop , 'prop' ) ;
$$subscribe _prop ( ) ;
let { alias : realName } = $$props ;
let local ;
let shadowedByModule ;
const writable _props = [ 'prop' , 'alias' ] ;
Object . keys ( $$props ) . forEach ( key => {
if ( ! ~ writable _props . indexOf ( key ) && key . slice ( 0 , 2 ) !== '$$' && key !== 'slot' ) console . warn ( ` <Component> was created with unknown prop ' ${ key } ' ` ) ;
} ) ;
$$self . $$set = $$props => {
if ( 'prop' in $$props ) $$subscribe _prop ( $$invalidate ( 0 , prop = $$props . prop ) ) ;
if ( 'alias' in $$props ) $$invalidate ( 1 , realName = $$props . alias ) ;
} ;
$$self . $capture _state = ( ) => ( {
moduleLiveBinding ,
moduleContantProps ,
moduleLet ,
moduleConst ,
shadowedByModule ,
prop ,
realName ,
local ,
priv ,
shadowedByModule ,
computed ,
$prop
} ) ;
$$self . $inject _state = $$props => {
if ( 'prop' in $$props ) $$subscribe _prop ( $$invalidate ( 0 , prop = $$props . prop ) ) ;
if ( 'realName' in $$props ) $$invalidate ( 1 , realName = $$props . realName ) ;
if ( 'local' in $$props ) $$invalidate ( 3 , local = $$props . local ) ;
if ( 'shadowedByModule' in $$props ) $$invalidate ( 4 , shadowedByModule = $$props . shadowedByModule ) ;
if ( 'computed' in $$props ) computed = $$props . computed ;
} ;
if ( $$props && "$$inject" in $$props ) {
$$self . $inject _state ( $$props . $$inject ) ;
}
$ : computed = local * 2 ;
return [ prop , realName , $prop , local , shadowedByModule ] ;
}
class Component extends SvelteComponentDev {
constructor ( options ) {
super ( options ) ;
init ( this , options , instance , create _fragment , safe _not _equal , { prop : 0 , alias : 1 } ) ;
dispatch _dev ( "SvelteRegisterComponent" , {
component : this ,
tagName : "Component" ,
options ,
id : create _fragment . name
} ) ;
const { ctx } = this . $$ ;
const props = options . props || { } ;
if ( /*prop*/ ctx [ 0 ] === undefined && ! ( 'prop' in props ) ) {
console . warn ( "<Component> was created without expected prop 'prop'" ) ;
}
if ( /*realName*/ ctx [ 1 ] === undefined && ! ( 'alias' in props ) ) {
console . warn ( "<Component> was created without expected prop 'alias'" ) ;
}
}
get prop ( ) {
throw new Error ( "<Component>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'" ) ;
}
set prop ( value ) {
throw new Error ( "<Component>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'" ) ;
}
get alias ( ) {
throw new Error ( "<Component>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'" ) ;
}
set alias ( value ) {
throw new Error ( "<Component>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'" ) ;
}
}
export default Component ;
export { moduleLiveBinding , moduleContantProps } ;