japhy-custom-elements 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -11,4 +11,4 @@ getter: `,this.getter),zn(t,2)),t._value}set value(t){this._setter(t)}get _dirty
|
|
|
11
11
|
|
|
12
12
|
For more details, see https://link.vuejs.org/feature-flags.`)}}const ue=zl;function si(e){return Ml(e)}function Ml(e,t){Al();const n=Mn();n.__VUE__=!0,a.NODE_ENV!=="production"&&yr(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:i,createElement:s,createText:c,createComment:f,setText:p,setElementText:_,parentNode:d,nextSibling:b,setScopeId:C=J,insertStaticContent:I}=e,R=(l,u,h,m=null,g=null,N=null,w=void 0,y=null,O=a.NODE_ENV!=="production"&&st?!1:!!u.dynamicChildren)=>{if(l===u)return;l&&!Ft(l,u)&&(m=Pn(l),Ze(l,g,N,!0),l=null),u.patchFlag===-2&&(O=!1,u.dynamicChildren=null);const{type:E,ref:V,shapeFlag:x}=u;switch(E){case Nt:_e(l,u,h,m);break;case he:k(l,u,h,m);break;case Rt:l==null?q(u,h,m,w):a.NODE_ENV!=="production"&&B(l,u,h,w);break;case Ne:Tn(l,u,h,m,g,N,w,y,O);break;default:x&1?ye(l,u,h,m,g,N,w,y,O):x&6?Gi(l,u,h,m,g,N,w,y,O):x&64||x&128?E.process(l,u,h,m,g,N,w,y,O,Bt):a.NODE_ENV!=="production"&&v("Invalid VNode type:",E,`(${typeof E})`)}V!=null&&g&&mo(V,l&&l.ref,N,u||l,!u)},_e=(l,u,h,m)=>{if(l==null)o(u.el=c(u.children),h,m);else{const g=u.el=l.el;u.children!==l.children&&p(g,u.children)}},k=(l,u,h,m)=>{l==null?o(u.el=f(u.children||""),h,m):u.el=l.el},q=(l,u,h,m)=>{[l.el,l.anchor]=I(l.children,u,h,m,l.el,l.anchor)},B=(l,u,h,m)=>{if(u.children!==l.children){const g=b(l.anchor);Y(l),[u.el,u.anchor]=I(u.children,h,g,m)}else u.el=l.el,u.anchor=l.anchor},z=({el:l,anchor:u},h,m)=>{let g;for(;l&&l!==u;)g=b(l),o(l,h,m),l=g;o(u,h,m)},Y=({el:l,anchor:u})=>{let h;for(;l&&l!==u;)h=b(l),r(l),l=h;r(u)},ye=(l,u,h,m,g,N,w,y,O)=>{u.type==="svg"?w="svg":u.type==="math"&&(w="mathml"),l==null?A(u,h,m,g,N,w,y,O):Ue(l,u,g,N,w,y,O)},A=(l,u,h,m,g,N,w,y)=>{let O,E;const{props:V,shapeFlag:x,transition:D,dirs:P}=l;if(O=l.el=s(l.type,N,V&&V.is,V),x&8?_(O,l.children):x&16&&se(l.children,O,null,m,g,No(l,N),w,y),P&&ct(l,null,m,"created"),ie(O,l,l.scopeId,w,m),V){for(const K in V)K!=="value"&&!vt(K)&&i(O,K,null,V[K],N,m);"value"in V&&i(O,"value",null,V.value,N),(E=V.onVnodeBeforeMount)&&Ce(E,m,l)}a.NODE_ENV!=="production"&&(zt(O,"__vnode",l,!0),zt(O,"__vueParentComponent",m,!0)),P&&ct(l,null,m,"beforeMount");const F=Fl(g,D);F&&D.beforeEnter(O),o(O,u,h),((E=V&&V.onVnodeMounted)||F||P)&&ue(()=>{E&&Ce(E,m,l),F&&D.enter(O),P&&ct(l,null,m,"mounted")},g)},ie=(l,u,h,m,g)=>{if(h&&C(l,h),m)for(let N=0;N<m.length;N++)C(l,m[N]);if(g){let N=g.subTree;if(a.NODE_ENV!=="production"&&N.patchFlag>0&&N.patchFlag&2048&&(N=Oo(N.children)||N),u===N){const w=g.vnode;ie(l,w,w.scopeId,w.slotScopeIds,g.parent)}}},se=(l,u,h,m,g,N,w,y,O=0)=>{for(let E=O;E<l.length;E++){const V=l[E]=y?Je(l[E]):be(l[E]);R(null,V,u,h,m,g,N,w,y)}},Ue=(l,u,h,m,g,N,w)=>{const y=u.el=l.el;a.NODE_ENV!=="production"&&(y.__vnode=u);let{patchFlag:O,dynamicChildren:E,dirs:V}=u;O|=l.patchFlag&16;const x=l.props||U,D=u.props||U;let P;if(h&&ft(h,!1),(P=D.onVnodeBeforeUpdate)&&Ce(P,h,u,l),V&&ct(u,l,h,"beforeUpdate"),h&&ft(h,!0),a.NODE_ENV!=="production"&&st&&(O=0,w=!1,E=null),(x.innerHTML&&D.innerHTML==null||x.textContent&&D.textContent==null)&&_(y,""),E?(Ye(l.dynamicChildren,E,y,h,m,No(u,g),N),a.NODE_ENV!=="production"&&mn(l,u)):w||Se(l,u,y,null,h,m,No(u,g),N,!1),O>0){if(O&16)Oe(y,x,D,h,g);else if(O&2&&x.class!==D.class&&i(y,"class",null,D.class,g),O&4&&i(y,"style",x.style,D.style,g),O&8){const F=u.dynamicProps;for(let K=0;K<F.length;K++){const H=F[K],ee=x[H],ve=D[H];(ve!==ee||H==="value")&&i(y,H,ee,ve,g,h)}}O&1&&l.children!==u.children&&_(y,u.children)}else!w&&E==null&&Oe(y,x,D,h,g);((P=D.onVnodeUpdated)||V)&&ue(()=>{P&&Ce(P,h,u,l),V&&ct(u,l,h,"updated")},m)},Ye=(l,u,h,m,g,N,w)=>{for(let y=0;y<u.length;y++){const O=l[y],E=u[y],V=O.el&&(O.type===Ne||!Ft(O,E)||O.shapeFlag&70)?d(O.el):h;R(O,E,V,null,m,g,N,w,!0)}},Oe=(l,u,h,m,g)=>{if(u!==h){if(u!==U)for(const N in u)!vt(N)&&!(N in h)&&i(l,N,u[N],null,g,m);for(const N in h){if(vt(N))continue;const w=h[N],y=u[N];w!==y&&N!=="value"&&i(l,N,y,w,g,m)}"value"in h&&i(l,"value",u.value,h.value,g)}},Tn=(l,u,h,m,g,N,w,y,O)=>{const E=u.el=l?l.el:c(""),V=u.anchor=l?l.anchor:c("");let{patchFlag:x,dynamicChildren:D,slotScopeIds:P}=u;a.NODE_ENV!=="production"&&(st||x&2048)&&(x=0,O=!1,D=null),P&&(y=y?y.concat(P):P),l==null?(o(E,h,m),o(V,h,m),se(u.children||[],h,V,g,N,w,y,O)):x>0&&x&64&&D&&l.dynamicChildren?(Ye(l.dynamicChildren,D,h,g,N,w,y),a.NODE_ENV!=="production"?mn(l,u):(u.key!=null||g&&u===g.subTree)&&mn(l,u,!0)):Se(l,u,h,V,g,N,w,y,O)},Gi=(l,u,h,m,g,N,w,y,O)=>{u.slotScopeIds=y,l==null?u.shapeFlag&512?g.ctx.activate(u,h,m,w,O):Xe(u,h,m,g,N,w,O):fe(l,u,O)},Xe=(l,u,h,m,g,N,w)=>{const y=l.component=Ql(l,m,g);if(a.NODE_ENV!=="production"&&y.type.__hmrId&&Gs(y),a.NODE_ENV!=="production"&&(cn(l),Me(y,"mount")),so(l)&&(y.ctx.renderer=Bt),a.NODE_ENV!=="production"&&Me(y,"init"),tc(y,!1,w),a.NODE_ENV!=="production"&&Fe(y,"init"),y.asyncDep){if(g&&g.registerDep(y,L,w),!l.el){const O=y.subTree=je(he);k(null,O,u,h)}}else L(y,l,u,h,g,N,w);a.NODE_ENV!=="production"&&(un(),Fe(y,"mount"))},fe=(l,u,h)=>{const m=u.component=l.component;if(Wl(l,u,h))if(m.asyncDep&&!m.asyncResolved){a.NODE_ENV!=="production"&&cn(u),j(m,u,h),a.NODE_ENV!=="production"&&un();return}else m.next=u,zs(m.update),m.effect.dirty=!0,m.update();else u.el=l.el,m.vnode=u},L=(l,u,h,m,g,N,w)=>{const y=()=>{if(l.isMounted){let{next:V,bu:x,u:D,parent:P,vnode:F}=l;{const yt=li(l);if(yt){V&&(V.el=F.el,j(l,V,w)),yt.asyncDep.then(()=>{l.isUnmounted||y()});return}}let K=V,H;a.NODE_ENV!=="production"&&cn(V||l.vnode),ft(l,!1),V?(V.el=F.el,j(l,V,w)):V=F,x&&Vt(x),(H=V.props&&V.props.onVnodeBeforeUpdate)&&Ce(H,P,V,F),ft(l,!0),a.NODE_ENV!=="production"&&Me(l,"render");const ee=yo(l);a.NODE_ENV!=="production"&&Fe(l,"render");const ve=l.subTree;l.subTree=ee,a.NODE_ENV!=="production"&&Me(l,"patch"),R(ve,ee,d(ve.el),Pn(ve),l,g,N),a.NODE_ENV!=="production"&&Fe(l,"patch"),V.el=ee.el,K===null&&kl(l,ee.el),D&&ue(D,g),(H=V.props&&V.props.onVnodeUpdated)&&ue(()=>Ce(H,P,V,F),g),a.NODE_ENV!=="production"&&Or(l),a.NODE_ENV!=="production"&&un()}else{let V;const{el:x,props:D}=u,{bm:P,m:F,parent:K}=l,H=hn(u);if(ft(l,!1),P&&Vt(P),!H&&(V=D&&D.onVnodeBeforeMount)&&Ce(V,K,u),ft(l,!0),x&&Zi){const ee=()=>{a.NODE_ENV!=="production"&&Me(l,"render"),l.subTree=yo(l),a.NODE_ENV!=="production"&&Fe(l,"render"),a.NODE_ENV!=="production"&&Me(l,"hydrate"),Zi(x,l.subTree,l,g,null),a.NODE_ENV!=="production"&&Fe(l,"hydrate")};H?u.type.__asyncLoader().then(()=>!l.isUnmounted&&ee()):ee()}else{a.NODE_ENV!=="production"&&Me(l,"render");const ee=l.subTree=yo(l);a.NODE_ENV!=="production"&&Fe(l,"render"),a.NODE_ENV!=="production"&&Me(l,"patch"),R(null,ee,h,m,l,g,N),a.NODE_ENV!=="production"&&Fe(l,"patch"),u.el=ee.el}if(F&&ue(F,g),!H&&(V=D&&D.onVnodeMounted)){const ee=u;ue(()=>Ce(V,K,ee),g)}(u.shapeFlag&256||K&&hn(K.vnode)&&K.vnode.shapeFlag&256)&&l.a&&ue(l.a,g),l.isMounted=!0,a.NODE_ENV!=="production"&&tl(l),u=h=m=null}},O=l.effect=new Yt(y,J,()=>fn(E),l.scope),E=l.update=()=>{O.dirty&&O.run()};E.i=l,E.id=l.uid,ft(l,!0),a.NODE_ENV!=="production"&&(O.onTrack=l.rtc?V=>Vt(l.rtc,V):void 0,O.onTrigger=l.rtg?V=>Vt(l.rtg,V):void 0),E()},j=(l,u,h)=>{u.component=l;const m=l.vnode.props;l.vnode=u,l.next=null,Ol(l,u.props,m,h),$l(l,u.children,h),Pe(),gr(l),$e()},Se=(l,u,h,m,g,N,w,y,O=!1)=>{const E=l&&l.children,V=l?l.shapeFlag:0,x=u.children,{patchFlag:D,shapeFlag:P}=u;if(D>0){if(D&128){Ht(E,x,h,m,g,N,w,y,O);return}else if(D&256){Ro(E,x,h,m,g,N,w,y,O);return}}P&8?(V&16&&Ut(E,g,N),x!==E&&_(h,x)):V&16?P&16?Ht(E,x,h,m,g,N,w,y,O):Ut(E,g,N,!0):(V&8&&_(h,""),P&16&&se(x,h,m,g,N,w,y,O))},Ro=(l,u,h,m,g,N,w,y,O)=>{l=l||ht,u=u||ht;const E=l.length,V=u.length,x=Math.min(E,V);let D;for(D=0;D<x;D++){const P=u[D]=O?Je(u[D]):be(u[D]);R(l[D],P,h,null,g,N,w,y,O)}E>V?Ut(l,g,N,!0,!1,x):se(u,h,m,g,N,w,y,O,x)},Ht=(l,u,h,m,g,N,w,y,O)=>{let E=0;const V=u.length;let x=l.length-1,D=V-1;for(;E<=x&&E<=D;){const P=l[E],F=u[E]=O?Je(u[E]):be(u[E]);if(Ft(P,F))R(P,F,h,null,g,N,w,y,O);else break;E++}for(;E<=x&&E<=D;){const P=l[x],F=u[D]=O?Je(u[D]):be(u[D]);if(Ft(P,F))R(P,F,h,null,g,N,w,y,O);else break;x--,D--}if(E>x){if(E<=D){const P=D+1,F=P<V?u[P].el:m;for(;E<=D;)R(null,u[E]=O?Je(u[E]):be(u[E]),h,F,g,N,w,y,O),E++}}else if(E>D)for(;E<=x;)Ze(l[E],g,N,!0),E++;else{const P=E,F=E,K=new Map;for(E=F;E<=D;E++){const le=u[E]=O?Je(u[E]):be(u[E]);le.key!=null&&(a.NODE_ENV!=="production"&&K.has(le.key)&&v("Duplicate keys found during update:",JSON.stringify(le.key),"Make sure keys are unique."),K.set(le.key,E))}let H,ee=0;const ve=D-F+1;let yt=!1,Qi=0;const Kt=new Array(ve);for(E=0;E<ve;E++)Kt[E]=0;for(E=P;E<=x;E++){const le=l[E];if(ee>=ve){Ze(le,g,N,!0);continue}let Te;if(le.key!=null)Te=K.get(le.key);else for(H=F;H<=D;H++)if(Kt[H-F]===0&&Ft(le,u[H])){Te=H;break}Te===void 0?Ze(le,g,N,!0):(Kt[Te-F]=E+1,Te>=Qi?Qi=Te:yt=!0,R(le,u[Te],h,null,g,N,w,y,O),ee++)}const es=yt?jl(Kt):ht;for(H=es.length-1,E=ve-1;E>=0;E--){const le=F+E,Te=u[le],ts=le+1<V?u[le+1].el:m;Kt[E]===0?R(null,Te,h,ts,g,N,w,y,O):yt&&(H<0||E!==es[H]?bt(Te,h,ts,2):H--)}}},bt=(l,u,h,m,g=null)=>{const{el:N,type:w,transition:y,children:O,shapeFlag:E}=l;if(E&6){bt(l.component.subTree,u,h,m);return}if(E&128){l.suspense.move(u,h,m);return}if(E&64){w.move(l,u,h,Bt);return}if(w===Ne){o(N,u,h);for(let x=0;x<O.length;x++)bt(O[x],u,h,m);o(l.anchor,u,h);return}if(w===Rt){z(l,u,h);return}if(m!==2&&E&1&&y)if(m===0)y.beforeEnter(N),o(N,u,h),ue(()=>y.enter(N),g);else{const{leave:x,delayLeave:D,afterLeave:P}=y,F=()=>o(N,u,h),K=()=>{x(N,()=>{F(),P&&P()})};D?D(N,F,K):K()}else o(N,u,h)},Ze=(l,u,h,m=!1,g=!1)=>{const{type:N,props:w,ref:y,children:O,dynamicChildren:E,shapeFlag:V,patchFlag:x,dirs:D,cacheIndex:P}=l;if(x===-2&&(g=!1),y!=null&&mo(y,null,h,l,!0),P!=null&&(u.renderCache[P]=void 0),V&256){u.ctx.deactivate(l);return}const F=V&1&&D,K=!hn(l);let H;if(K&&(H=w&&w.onVnodeBeforeUnmount)&&Ce(H,u,l),V&6)Kc(l.component,h,m);else{if(V&128){l.suspense.unmount(h,m);return}F&&ct(l,null,u,"beforeUnmount"),V&64?l.type.remove(l,u,h,Bt,m):E&&!E.hasOnce&&(N!==Ne||x>0&&x&64)?Ut(E,u,h,!1,!0):(N===Ne&&x&384||!g&&V&16)&&Ut(O,u,h),m&&Ao(l)}(K&&(H=w&&w.onVnodeUnmounted)||F)&&ue(()=>{H&&Ce(H,u,l),F&&ct(l,null,u,"unmounted")},h)},Ao=l=>{const{type:u,el:h,anchor:m,transition:g}=l;if(u===Ne){a.NODE_ENV!=="production"&&l.patchFlag>0&&l.patchFlag&2048&&g&&!g.persisted?l.children.forEach(w=>{w.type===he?r(w.el):Ao(w)}):Bc(h,m);return}if(u===Rt){Y(l);return}const N=()=>{r(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(l.shapeFlag&1&&g&&!g.persisted){const{leave:w,delayLeave:y}=g,O=()=>w(h,N);y?y(l.el,N,O):O()}else N()},Bc=(l,u)=>{let h;for(;l!==u;)h=b(l),r(l),l=h;r(u)},Kc=(l,u,h)=>{a.NODE_ENV!=="production"&&l.type.__hmrId&&Ys(l);const{bum:m,scope:g,update:N,subTree:w,um:y,m:O,a:E}=l;ci(O),ci(E),m&&Vt(m),g.stop(),N&&(N.active=!1,Ze(w,l,u,h)),y&&ue(y,u),ue(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve()),a.NODE_ENV!=="production"&&ol(l)},Ut=(l,u,h,m=!1,g=!1,N=0)=>{for(let w=N;w<l.length;w++)Ze(l[w],u,h,m,g)},Pn=l=>{if(l.shapeFlag&6)return Pn(l.component.subTree);if(l.shapeFlag&128)return l.suspense.next();const u=b(l.anchor||l.el),h=u&&u[Il];return h?b(h):u};let Mo=!1;const Yi=(l,u,h)=>{l==null?u._vnode&&Ze(u._vnode,null,null,!0):R(u._vnode||null,l,u,null,null,null,h),Mo||(Mo=!0,gr(),Er(),Mo=!1),u._vnode=l},Bt={p:R,um:Ze,m:bt,r:Ao,mt:Xe,mc:se,pc:Se,pbc:Ye,n:Pn,o:e};let Xi,Zi;return{render:Yi,hydrate:Xi,createApp:Nl(Yi,Xi)}}function No({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function mn(e,t,n=!1){const o=e.children,r=t.children;if(S(o)&&S(r))for(let i=0;i<o.length;i++){const s=o[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Je(r[i]),c.el=s.el),!n&&c.patchFlag!==-2&&mn(s,c)),c.type===Nt&&(c.el=s.el),a.NODE_ENV!=="production"&&c.type===he&&!c.el&&(c.el=s.el)}}function jl(e){const t=e.slice(),n=[0];let o,r,i,s,c;const f=e.length;for(o=0;o<f;o++){const p=e[o];if(p!==0){if(r=n[n.length-1],e[r]<p){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)c=i+s>>1,e[n[c]]<p?i=c+1:s=c;p<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function li(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:li(t)}function ci(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const ui=Symbol.for("v-scx"),fi=()=>{{const e=$t(ui);return e||a.NODE_ENV!=="production"&&v("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},Nn={};function bn(e,t,n){return a.NODE_ENV!=="production"&&!T(t)&&v("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ai(e,t,n)}function ai(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:s,onTrigger:c}=U){if(t&&i){const A=t;t=(...ie)=>{A(...ie),ye()}}a.NODE_ENV!=="production"&&o!==void 0&&typeof o=="number"&&v('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),a.NODE_ENV!=="production"&&!t&&(n!==void 0&&v('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&v('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&v('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const f=A=>{v("Invalid watch source: ",A,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=Q,_=A=>o===!0?A:at(A,o===!1?1:void 0);let d,b=!1,C=!1;if(ne(e)?(d=()=>e.value,b=Re(e)):ot(e)?(d=()=>_(e),b=!0):S(e)?(C=!0,b=e.some(A=>ot(A)||Re(A)),d=()=>e.map(A=>{if(ne(A))return A.value;if(ot(A))return _(A);if(T(A))return Ve(A,p,2);a.NODE_ENV!=="production"&&f(A)})):T(e)?t?d=()=>Ve(e,p,2):d=()=>(I&&I(),pe(e,p,3,[R])):(d=J,a.NODE_ENV!=="production"&&f(e)),t&&o){const A=d;d=()=>at(A())}let I,R=A=>{I=z.onStop=()=>{Ve(A,p,4),I=z.onStop=void 0}},_e;if(Dn)if(R=J,t?n&&pe(t,p,3,[d(),C?[]:void 0,R]):d(),r==="sync"){const A=fi();_e=A.__watcherHandles||(A.__watcherHandles=[])}else return J;let k=C?new Array(e.length).fill(Nn):Nn;const q=()=>{if(!(!z.active||!z.dirty))if(t){const A=z.run();(o||b||(C?A.some((ie,se)=>et(ie,k[se])):et(A,k)))&&(I&&I(),pe(t,p,3,[A,k===Nn?void 0:C&&k[0]===Nn?[]:k,R]),k=A)}else z.run()};q.allowRecurse=!!t;let B;r==="sync"?B=q:r==="post"?B=()=>ue(q,p&&p.suspense):(q.pre=!0,p&&(q.id=p.uid),B=()=>fn(q));const z=new Yt(d,J,B),Y=Uo(),ye=()=>{z.stop(),Y&&$n(Y.effects,z)};return a.NODE_ENV!=="production"&&(z.onTrack=s,z.onTrigger=c),t?n?q():k=z.run():r==="post"?ue(z.run.bind(z),p&&p.suspense):z.run(),_e&&_e.push(ye),ye}function Ll(e,t,n){const o=this.proxy,r=X(e)?e.includes(".")?di(o,e):()=>o[e]:e.bind(o,o);let i;T(t)?i=t:(i=t.handler,n=t);const s=jt(this),c=ai(r,i.bind(o),n);return s(),c}function di(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function at(e,t=1/0,n){if(t<=0||!W(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ne(e))at(e.value,t,n);else if(S(e))for(let o=0;o<e.length;o++)at(e[o],t,n);else if(rs(e)||_t(e))e.forEach(o=>{at(o,t,n)});else if(ss(e)){for(const o in e)at(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&at(e[o],t,n)}return e}const Hl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ge(t)}Modifiers`]||e[`${ce(t)}Modifiers`];function Ul(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||U;if(a.NODE_ENV!=="production"){const{emitsOptions:_,propsOptions:[d]}=e;if(_)if(!(t in _))(!d||!(Be(t)in d))&&v(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Be(t)}" prop.`);else{const b=_[t];T(b)&&(b(...n)||v(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),s=i&&Hl(o,t.slice(7));if(s&&(s.trim&&(r=n.map(_=>X(_)?_.trim():_)),s.number&&(r=n.map(fs))),a.NODE_ENV!=="production"&&sl(e,t,r),a.NODE_ENV!=="production"){const _=t.toLowerCase();_!==t&&o[Be(_)]&&v(`Event "${_}" is emitted in component ${xn(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ce(t)}" instead of "${t}".`)}let c,f=o[c=Be(t)]||o[c=Be(ge(t))];!f&&i&&(f=o[c=Be(ce(t))]),f&&pe(f,e,6,r);const p=o[c+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,pe(p,e,6,r)}}function pi(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let s={},c=!1;if(!T(e)){const f=p=>{const _=pi(p,t,!0);_&&(c=!0,G(s,_))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!c?(W(e)&&o.set(e,null),null):(S(i)?i.forEach(f=>s[f]=null):G(s,i),W(e)&&o.set(e,s),s)}function yn(e,t){return!e||!Ot(t)?!1:(t=t.slice(2).replace(/Once$/,""),M(e,t[0].toLowerCase()+t.slice(1))||M(e,ce(t))||M(e,t))}let bo=!1;function On(){bo=!0}function yo(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:s,attrs:c,emit:f,render:p,renderCache:_,props:d,data:b,setupState:C,ctx:I,inheritAttrs:R}=e,_e=pn(e);let k,q;a.NODE_ENV!=="production"&&(bo=!1);try{if(n.shapeFlag&4){const Y=r||o,ye=a.NODE_ENV!=="production"&&C.__isScriptSetup?new Proxy(Y,{get(A,ie,se){return v(`Property '${String(ie)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(A,ie,se)}}):Y;k=be(p.call(ye,Y,_,a.NODE_ENV!=="production"?me(d):d,C,b,I)),q=c}else{const Y=t;a.NODE_ENV!=="production"&&c===d&&On(),k=be(Y.length>1?Y(a.NODE_ENV!=="production"?me(d):d,a.NODE_ENV!=="production"?{get attrs(){return On(),me(c)},slots:s,emit:f}:{attrs:c,slots:s,emit:f}):Y(a.NODE_ENV!=="production"?me(d):d,null)),q=t.props?c:Bl(c)}}catch(Y){At.length=0,Et(Y,e,1),k=je(he)}let B=k,z;if(a.NODE_ENV!=="production"&&k.patchFlag>0&&k.patchFlag&2048&&([B,z]=hi(k)),q&&R!==!1){const Y=Object.keys(q),{shapeFlag:ye}=B;if(Y.length){if(ye&7)i&&Y.some(Wt)&&(q=Kl(q,i)),B=Le(B,q,!1,!0);else if(a.NODE_ENV!=="production"&&!bo&&B.type!==he){const A=Object.keys(c),ie=[],se=[];for(let Ue=0,Ye=A.length;Ue<Ye;Ue++){const Oe=A[Ue];Ot(Oe)?Wt(Oe)||ie.push(Oe[2].toLowerCase()+Oe.slice(3)):se.push(Oe)}se.length&&v(`Extraneous non-props attributes (${se.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),ie.length&&v(`Extraneous non-emits event listeners (${ie.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(a.NODE_ENV!=="production"&&!_i(B)&&v("Runtime directive used on component with non-element root node. The directives will not function as intended."),B=Le(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(n.dirs):n.dirs),n.transition&&(a.NODE_ENV!=="production"&&!_i(B)&&v("Component inside <Transition> renders non-element root node that cannot be animated."),B.transition=n.transition),a.NODE_ENV!=="production"&&z?z(B):k=B,pn(_e),k}const hi=e=>{const t=e.children,n=e.dynamicChildren,o=Oo(t,!1);if(o){if(a.NODE_ENV!=="production"&&o.patchFlag>0&&o.patchFlag&2048)return hi(o)}else return[e,void 0];const r=t.indexOf(o),i=n?n.indexOf(o):-1,s=c=>{t[r]=c,n&&(i>-1?n[i]=c:c.patchFlag>0&&(e.dynamicChildren=[...n,c]))};return[be(o),s]};function Oo(e,t=!0){let n;for(let o=0;o<e.length;o++){const r=e[o];if(vn(r)){if(r.type!==he||r.children==="v-if"){if(n)return;if(n=r,a.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return Oo(n.children)}}else return}return n}const Bl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ot(n))&&((t||(t={}))[n]=e[n]);return t},Kl=(e,t)=>{const n={};for(const o in e)(!Wt(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},_i=e=>e.shapeFlag&7||e.type===he;function Wl(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:c,patchFlag:f}=t,p=i.emitsOptions;if(a.NODE_ENV!=="production"&&(r||c)&&st||t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return o?gi(o,s,p):!!s;if(f&8){const _=t.dynamicProps;for(let d=0;d<_.length;d++){const b=_[d];if(s[b]!==o[b]&&!yn(p,b))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:o===s?!1:o?s?gi(o,s,p):!0:!!s;return!1}function gi(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!yn(n,i))return!0}return!1}function kl({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const ql=e=>e.__isSuspense;function zl(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):eo(e)}const Ne=Symbol.for("v-fgt"),Nt=Symbol.for("v-txt"),he=Symbol.for("v-cmt"),Rt=Symbol.for("v-stc"),At=[];let de=null;function Ei(e=!1){At.push(de=e?null:[])}function Jl(){At.pop(),de=At[At.length-1]||null}let Mt=1;function vo(e){Mt+=e,e<0&&de&&(de.hasOnce=!0)}function Gl(e){return e.dynamicChildren=Mt>0?de||ht:null,Jl(),Mt>0&&de&&de.push(e),e}function mi(e,t,n,o,r,i){return Gl(wo(e,t,n,o,r,i,!0))}function vn(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){if(a.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=an.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const Yl=(...e)=>bi(...e),Ni=({key:e})=>e??null,wn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?X(e)||ne(e)||T(e)?{i:ae,r:e,k:t,f:!!n}:e:null);function wo(e,t=null,n=null,o=0,r=null,i=e===Ne?0:1,s=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ni(t),ref:t&&wn(t),scopeId:wr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ae};return c?(Vo(f,n),i&128&&e.normalize(f)):n&&(f.shapeFlag|=X(n)?8:16),a.NODE_ENV!=="production"&&f.key!==f.key&&v("VNode created with invalid key (NaN). VNode type:",f.type),Mt>0&&!s&&de&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&de.push(f),f}const je=a.NODE_ENV!=="production"?Yl:bi;function bi(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===cl)&&(a.NODE_ENV!=="production"&&!e&&v(`Invalid vnode type when creating vnode: ${e}.`),e=he),vn(e)){const c=Le(e,t,!0);return n&&Vo(c,n),Mt>0&&!i&&de&&(c.shapeFlag&6?de[de.indexOf(e)]=c:de.push(c)),c.patchFlag=-2,c}if(Ii(e)&&(e=e.__vccOpts),t){t=yi(t);let{class:c,style:f}=t;c&&!X(c)&&(t.class=Gt(c)),W(f)&&(ln(f)&&!S(f)&&(f=G({},f)),t.style=Jt(f))}const s=X(e)?1:ql(e)?128:Rl(e)?64:W(e)?4:T(e)?2:0;return a.NODE_ENV!=="production"&&s&4&&ln(e)&&(e=$(e),v("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
13
13
|
Component that was made reactive: `,e)),wo(e,t,n,o,r,s,i,!0)}function yi(e){return e?ln(e)||Yr(e)?G({},e):e:null}function Le(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:s,children:c,transition:f}=e,p=t?wi(r||{},t):r,_={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Ni(p),ref:t&&t.ref?n&&i?S(i)?i.concat(wn(t)):[i,wn(t)]:wn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a.NODE_ENV!=="production"&&s===-1&&S(c)?c.map(Oi):c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ne?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Le(e.ssContent),ssFallback:e.ssFallback&&Le(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&o&&io(_,f.clone(_)),_}function Oi(e){const t=Le(e);return S(e.children)&&(t.children=e.children.map(Oi)),t}function vi(e=" ",t=0){return je(Nt,null,e,t)}function be(e){return e==null||typeof e=="boolean"?je(he):S(e)?je(Ne,null,e.slice()):typeof e=="object"?Je(e):je(Nt,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Le(e)}function Vo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(S(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Vo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Yr(t)?t._ctx=ae:r===3&&ae&&(ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else T(t)?(t={default:t,_ctx:ae},n=32):(t=String(t),o&64?(n=16,t=[vi(t)]):n=8);e.children=t,e.shapeFlag|=n}function wi(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=Gt([t.class,o.class]));else if(r==="style")t.style=Jt([t.style,o.style]);else if(Ot(r)){const i=t[r],s=o[r];s&&i!==s&&!(S(i)&&i.includes(s))&&(t[r]=i?[].concat(i,s):s)}else r!==""&&(t[r]=o[r])}return t}function Ce(e,t,n,o=null){pe(e,t,7,[n,o])}const Xl=qr();let Zl=0;function Ql(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Xl,i={uid:Zl++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ho(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Zr(o,r),emitsOptions:pi(o,r),emit:null,emitted:null,propsDefaults:U,inheritAttrs:o.inheritAttrs,ctx:U,data:U,props:U,attrs:U,slots:U,refs:U,setupState:U,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.NODE_ENV!=="production"?i.ctx=ul(i):i.ctx={_:i},i.root=t?t.root:i,i.emit=Ul.bind(null,i),e.ce&&e.ce(i),i}let Q=null;const Vi=()=>Q||ae;let Vn,Do;{const e=Mn(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(s=>s(i)):r[0](i)}};Vn=t("__VUE_INSTANCE_SETTERS__",n=>Q=n),Do=t("__VUE_SSR_SETTERS__",n=>Dn=n)}const jt=e=>{const t=Q;return Vn(e),e.scope.on(),()=>{e.scope.off(),Vn(t)}},Di=()=>{Q&&Q.scope.off(),Vn(null)},ec=pt("slot,component");function xo(e,{isNativeTag:t}){(ec(e)||t(e))&&v("Do not use built-in or reserved HTML elements as component id: "+e)}function xi(e){return e.vnode.shapeFlag&4}let Dn=!1;function tc(e,t=!1,n=!1){t&&Do(t);const{props:o,children:r}=e.vnode,i=xi(e);bl(e,o,i,t),Pl(e,r,n);const s=i?nc(e,t):void 0;return t&&Do(!1),s}function nc(e,t){var n;const o=e.type;if(a.NODE_ENV!=="production"){if(o.name&&xo(o.name,e.appContext.config),o.components){const i=Object.keys(o.components);for(let s=0;s<i.length;s++)xo(i[s],e.appContext.config)}if(o.directives){const i=Object.keys(o.directives);for(let s=0;s<i.length;s++)Dr(i[s])}o.compilerOptions&&Si()&&v('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hr),a.NODE_ENV!=="production"&&fl(e);const{setup:r}=o;if(r){const i=e.setupContext=r.length>1?rc(e):null,s=jt(e);Pe();const c=Ve(r,e,0,[a.NODE_ENV!=="production"?me(e.props):e.props,i]);if($e(),s(),In(c)){if(c.then(Di,Di),t)return c.then(f=>{Ci(e,f,t)}).catch(f=>{Et(f,e,0)});if(e.asyncDep=c,a.NODE_ENV!=="production"&&!e.suspense){const f=(n=o.name)!=null?n:"Anonymous";v(`Component <${f}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ci(e,c,t)}else Ti(e,t)}function Ci(e,t,n){T(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:W(t)?(a.NODE_ENV!=="production"&&vn(t)&&v("setup() should not return VNodes directly - return a render function instead."),a.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Jn(t),a.NODE_ENV!=="production"&&al(e)):a.NODE_ENV!=="production"&&t!==void 0&&v(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ti(e,n)}let Co;const Si=()=>!Co;function Ti(e,t,n){const o=e.type;if(!e.render){if(!t&&Co&&!o.render){const r=o.template||po(e).template;if(r){a.NODE_ENV!=="production"&&Me(e,"compile");const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:c,compilerOptions:f}=o,p=G(G({isCustomElement:i,delimiters:c},s),f);o.render=Co(r,p),a.NODE_ENV!=="production"&&Fe(e,"compile")}}e.render=o.render||J}{const r=jt(e);Pe();try{pl(e)}finally{$e(),r()}}a.NODE_ENV!=="production"&&!o.render&&e.render===J&&!t&&(o.template?v('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):v("Component is missing template or render function: ",o))}const Pi=a.NODE_ENV!=="production"?{get(e,t){return On(),te(e,"get",""),e[t]},set(){return v("setupContext.attrs is readonly."),!1},deleteProperty(){return v("setupContext.attrs is readonly."),!1}}:{get(e,t){return te(e,"get",""),e[t]}};function oc(e){return new Proxy(e.slots,{get(t,n){return te(e,"get","$slots"),t[n]}})}function rc(e){const t=n=>{if(a.NODE_ENV!=="production"&&(e.exposed&&v("expose() should be called only once per setup()."),n!=null)){let o=typeof n;o==="object"&&(S(n)?o="array":ne(n)&&(o="ref")),o!=="object"&&v(`expose() should be passed a plain object, received ${o}.`)}e.exposed=n||{}};if(a.NODE_ENV!=="production"){let n,o;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,Pi))},get slots(){return o||(o=oc(e))},get emit(){return(r,...i)=>e.emit(r,...i)},expose:t})}else return{attrs:new Proxy(e.attrs,Pi),slots:e.slots,emit:e.emit,expose:t}}function So(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Jn(fr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ut)return ut[n](e)},has(t,n){return n in t||n in ut}})):e.proxy}const ic=/(?:^|[-_])(\w)/g,sc=e=>e.replace(ic,t=>t.toUpperCase()).replace(/[-_]/g,"");function $i(e,t=!0){return T(e)?e.displayName||e.name:e.name||t&&e.__name}function xn(e,t,n=!1){let o=$i(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=i=>{for(const s in i)if(i[s]===t)return s};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?sc(o):n?"App":"Anonymous"}function Ii(e){return T(e)&&"__vccOpts"in e}const Ri=(e,t)=>{const n=Fs(e,t,Dn);if(a.NODE_ENV!=="production"){const o=Vi();o&&o.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Ai(){if(a.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(d){return W(d)?d.__isVue?["div",e,"VueInstance"]:ne(d)?["div",{},["span",e,_(d)],"<",c(d.value),">"]:ot(d)?["div",{},["span",e,Re(d)?"ShallowReactive":"Reactive"],"<",c(d),`>${Ie(d)?" (readonly)":""}`]:Ie(d)?["div",{},["span",e,Re(d)?"ShallowReadonly":"Readonly"],"<",c(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...i(d.$)]}};function i(d){const b=[];d.type.props&&d.props&&b.push(s("props",$(d.props))),d.setupState!==U&&b.push(s("setup",d.setupState)),d.data!==U&&b.push(s("data",$(d.data)));const C=f(d,"computed");C&&b.push(s("computed",C));const I=f(d,"inject");return I&&b.push(s("injected",I)),b.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),b}function s(d,b){return b=G({},b),Object.keys(b).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(b).map(C=>["div",{},["span",o,C+": "],c(b[C],!1)])]]:["span",{}]}function c(d,b=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",o,d]:W(d)?["object",{object:b?$(d):d}]:["span",n,String(d)]}function f(d,b){const C=d.type;if(T(C))return;const I={};for(const R in d.ctx)p(C,R,b)&&(I[R]=d.ctx[R]);return I}function p(d,b,C){const I=d[C];if(S(I)&&I.includes(b)||W(I)&&b in I||d.extends&&p(d.extends,b,C)||d.mixins&&d.mixins.some(R=>p(R,b,C)))return!0}function _(d){return Re(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const To="3.4.35",Lt=a.NODE_ENV!=="production"?v:J;var Ge={};const lc="http://www.w3.org/2000/svg",cc="http://www.w3.org/1998/Math/MathML",He=typeof document<"u"?document:null,Mi=He&&He.createElement("template"),uc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?He.createElementNS(lc,e):t==="mathml"?He.createElementNS(cc,e):n?He.createElement(e,{is:n}):He.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>He.createTextNode(e),createComment:e=>He.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>He.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Mi.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const c=Mi.content;if(o==="svg"||o==="mathml"){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},fc=Symbol("_vtc");function ac(e,t,n){const o=e[fc];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Fi=Symbol("_vod"),dc=Symbol("_vsh"),pc=Symbol(Ge.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),hc=/(^|;)\s*display\s*:/;function _c(e,t,n){const o=e.style,r=X(n);let i=!1;if(n&&!r){if(t)if(X(t))for(const s of t.split(";")){const c=s.slice(0,s.indexOf(":")).trim();n[c]==null&&Cn(o,c,"")}else for(const s in t)n[s]==null&&Cn(o,s,"");for(const s in n)s==="display"&&(i=!0),Cn(o,s,n[s])}else if(r){if(t!==n){const s=o[pc];s&&(n+=";"+s),o.cssText=n,i=hc.test(n)}}else t&&e.removeAttribute("style");Fi in e&&(e[Fi]=i?o.display:"",e[dc]&&(o.display="none"))}const gc=/[^\\];\s*$/,ji=/\s*!important$/;function Cn(e,t,n){if(S(n))n.forEach(o=>Cn(e,t,o));else if(n==null&&(n=""),Ge.NODE_ENV!=="production"&&gc.test(n)&&Lt(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const o=Ec(e,t);ji.test(n)?e.setProperty(ce(o),n.replace(ji,""),"important"):e[o]=n}}const Li=["Webkit","Moz","ms"],Po={};function Ec(e,t){const n=Po[t];if(n)return n;let o=ge(t);if(o!=="filter"&&o in e)return Po[t]=o;o=wt(o);for(let r=0;r<Li.length;r++){const i=Li[r]+o;if(i in e)return Po[t]=i}return t}const Hi="http://www.w3.org/1999/xlink";function Ui(e,t,n,o,r,i=_s(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Hi,t.slice(6,t.length)):e.setAttributeNS(Hi,t,n):n==null||i&&!Lo(n)?e.removeAttribute(t):e.setAttribute(t,i?"":gt(n)?String(n):n)}function mc(e,t,n,o){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const s=r==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?"":String(n);(s!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Lo(n):n==null&&s==="string"?(n="",i=!0):s==="number"&&(n=0,i=!0)}try{e[t]=n}catch(s){Ge.NODE_ENV!=="production"&&!i&&Lt(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,s)}i&&e.removeAttribute(t)}function Nc(e,t,n,o){e.addEventListener(t,n,o)}function bc(e,t,n,o){e.removeEventListener(t,n,o)}const Bi=Symbol("_vei");function yc(e,t,n,o,r=null){const i=e[Bi]||(e[Bi]={}),s=i[t];if(o&&s)s.value=Ge.NODE_ENV!=="production"?Wi(o,t):o;else{const[c,f]=Oc(t);if(o){const p=i[t]=Vc(Ge.NODE_ENV!=="production"?Wi(o,t):o,r);Nc(e,c,p,f)}else s&&(bc(e,c,s,f),i[t]=void 0)}}const Ki=/(?:Once|Passive|Capture)$/;function Oc(e){let t;if(Ki.test(e)){t={};let o;for(;o=e.match(Ki);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ce(e.slice(2)),t]}let $o=0;const vc=Promise.resolve(),wc=()=>$o||(vc.then(()=>$o=0),$o=Date.now());function Vc(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;pe(Dc(o,n.value),t,5,[o])};return n.value=e,n.attached=wc(),n}function Wi(e,t){return T(e)||S(e)?e:(Lt(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
14
|
-
Expected function or array of functions, received type ${typeof e}.`),J)}function Dc(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const ki=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xc=(e,t,n,o,r,i)=>{const s=r==="svg";t==="class"?ac(e,o,s):t==="style"?_c(e,n,o):Ot(t)?Wt(t)||yc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cc(e,t,o,s))?(mc(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ui(e,t,o,s,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ui(e,t,o,s))};function Cc(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&ki(t)&&T(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ki(t)&&X(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Sc(e,t,n){const o=xr(e,t);class r extends Sn{constructor(s){super(o,s,n)}}return r.def=o,r}const Tc=typeof HTMLElement<"u"?HTMLElement:class{};class Sn extends Tc{constructor(t,n={},o){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(Ge.NODE_ENV!=="production"&&this.shadowRoot&&Lt("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Qn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),Io(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(o=>{for(const r of o)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(o,r=!1)=>{const{props:i,styles:s}=o;let c;if(i&&!S(i))for(const f in i){const p=i[f];(p===Number||p&&p.type===Number)&&(f in this._props&&(this._props[f]=Fo(this._props[f])),(c||(c=Object.create(null)))[ge(f)]=!0)}this._numberProps=c,r&&this._resolveProps(o),this._applyStyles(s),this._update()},n=this._def.__asyncLoader;n?n().then(o=>t(o,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,o=S(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&o.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of o.map(ge))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const o=ge(t);this._numberProps&&this._numberProps[o]&&(n=Fo(n)),this._setProp(o,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),o&&(n===!0?this.setAttribute(ce(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ce(t),n+""):n||this.removeAttribute(ce(t))))}_update(){Io(this._createVNode(),this.shadowRoot)}_createVNode(){const t=je(this._def,G({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,Ge.NODE_ENV!=="production"&&(n.ceReload=i=>{this._styles&&(this._styles.forEach(s=>this.shadowRoot.removeChild(s)),this._styles.length=0),this._applyStyles(i),this._instance=null,this._update()});const o=(i,s)=>{this.dispatchEvent(new CustomEvent(i,{detail:s}))};n.emit=(i,...s)=>{o(i,s),ce(i)!==i&&o(ce(i),s)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof Sn){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const o=document.createElement("style");o.textContent=n,this.shadowRoot.appendChild(o),Ge.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(o)})}}const Pc=G({patchProp:xc},uc);let qi;function $c(){return qi||(qi=si(Pc))}const Io=(...e)=>{$c().render(...e)};var Ic={};function Rc(){Ai()}Ic.NODE_ENV!=="production"&&Rc();const Ac=Object.freeze(Object.defineProperty({__proto__:null,Comment:he,EffectScope:Ho,Fragment:Ne,ReactiveEffect:Yt,Static:Rt,Text:Nt,VueElement:Sn,callWithAsyncErrorHandling:pe,callWithErrorHandling:Ve,camelize:ge,capitalize:wt,cloneVNode:Le,computed:Ri,createElementBlock:mi,createElementVNode:wo,createRenderer:si,createTextVNode:vi,createVNode:je,defineComponent:xr,defineCustomElement:Sc,getCurrentInstance:Vi,getCurrentScope:Uo,guardReactiveProps:yi,handleError:Et,initCustomFormatter:Ai,inject:$t,isProxy:ln,isReactive:ot,isReadonly:Ie,isRef:ne,isRuntimeOnly:Si,isShallow:Re,isVNode:vn,markRaw:fr,mergeProps:wi,nextTick:Qn,normalizeClass:Gt,normalizeStyle:Jt,onActivated:Cr,onBeforeMount:Pr,onBeforeUnmount:Ar,onBeforeUpdate:Ir,onDeactivated:Sr,onErrorCaptured:Lr,onMounted:$r,onRenderTracked:jr,onRenderTriggered:Fr,onServerPrefetch:Mr,onUnmounted:lo,onUpdated:Rr,openBlock:Ei,provide:zr,proxyRefs:Jn,queuePostFlushCb:eo,reactive:rn,readonly:Wn,render:Io,setBlockTracking:vo,setTransitionHooks:io,shallowReactive:ur,shallowReadonly:me,ssrContextKey:ui,toHandlerKey:Be,toRaw:$,unref:dr,useSSRContext:fi,version:To,warn:Lt,watch:bn,withCtx:Vr},Symbol.toStringTag,{value:"Module"})),Mc=".wrapper[data-v-4ab96e22]{width:300px;background:red}",Fc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},jc={},Lc={class:"wrapper"};function Hc(e,t){return Ei(),mi("div",Lc,"Bonjour je suis le bloc de press")}const zi=Fc(jc,[["render",Hc],["styles",[Mc]],["__scopeId","data-v-4ab96e22"]]),Uc=Object.freeze(Object.defineProperty({__proto__:null,default:zi},Symbol.toStringTag,{value:"Module"}));function Ji(e="press"){Promise.resolve().then(()=>Ac).then(({defineCustomElement:t})=>{Promise.resolve().then(()=>Uc).then(({default:n})=>{const o=t(n);customElements.define(e,o)})})}window.register=Ji,Qe.Press=zi,Qe.defineLazyCustomElement=Ji,Object.defineProperty(Qe,Symbol.toStringTag,{value:"Module"})});
|
|
14
|
+
Expected function or array of functions, received type ${typeof e}.`),J)}function Dc(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const ki=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xc=(e,t,n,o,r,i)=>{const s=r==="svg";t==="class"?ac(e,o,s):t==="style"?_c(e,n,o):Ot(t)?Wt(t)||yc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cc(e,t,o,s))?(mc(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ui(e,t,o,s,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ui(e,t,o,s))};function Cc(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&ki(t)&&T(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ki(t)&&X(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Sc(e,t,n){const o=xr(e,t);class r extends Sn{constructor(s){super(o,s,n)}}return r.def=o,r}const Tc=typeof HTMLElement<"u"?HTMLElement:class{};class Sn extends Tc{constructor(t,n={},o){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(Ge.NODE_ENV!=="production"&&this.shadowRoot&&Lt("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Qn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),Io(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(o=>{for(const r of o)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(o,r=!1)=>{const{props:i,styles:s}=o;let c;if(i&&!S(i))for(const f in i){const p=i[f];(p===Number||p&&p.type===Number)&&(f in this._props&&(this._props[f]=Fo(this._props[f])),(c||(c=Object.create(null)))[ge(f)]=!0)}this._numberProps=c,r&&this._resolveProps(o),this._applyStyles(s),this._update()},n=this._def.__asyncLoader;n?n().then(o=>t(o,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,o=S(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&o.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of o.map(ge))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const o=ge(t);this._numberProps&&this._numberProps[o]&&(n=Fo(n)),this._setProp(o,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),o&&(n===!0?this.setAttribute(ce(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ce(t),n+""):n||this.removeAttribute(ce(t))))}_update(){Io(this._createVNode(),this.shadowRoot)}_createVNode(){const t=je(this._def,G({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,Ge.NODE_ENV!=="production"&&(n.ceReload=i=>{this._styles&&(this._styles.forEach(s=>this.shadowRoot.removeChild(s)),this._styles.length=0),this._applyStyles(i),this._instance=null,this._update()});const o=(i,s)=>{this.dispatchEvent(new CustomEvent(i,{detail:s}))};n.emit=(i,...s)=>{o(i,s),ce(i)!==i&&o(ce(i),s)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof Sn){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const o=document.createElement("style");o.textContent=n,this.shadowRoot.appendChild(o),Ge.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(o)})}}const Pc=G({patchProp:xc},uc);let qi;function $c(){return qi||(qi=si(Pc))}const Io=(...e)=>{$c().render(...e)};var Ic={};function Rc(){Ai()}Ic.NODE_ENV!=="production"&&Rc();const Ac=Object.freeze(Object.defineProperty({__proto__:null,Comment:he,EffectScope:Ho,Fragment:Ne,ReactiveEffect:Yt,Static:Rt,Text:Nt,VueElement:Sn,callWithAsyncErrorHandling:pe,callWithErrorHandling:Ve,camelize:ge,capitalize:wt,cloneVNode:Le,computed:Ri,createElementBlock:mi,createElementVNode:wo,createRenderer:si,createTextVNode:vi,createVNode:je,defineComponent:xr,defineCustomElement:Sc,getCurrentInstance:Vi,getCurrentScope:Uo,guardReactiveProps:yi,handleError:Et,initCustomFormatter:Ai,inject:$t,isProxy:ln,isReactive:ot,isReadonly:Ie,isRef:ne,isRuntimeOnly:Si,isShallow:Re,isVNode:vn,markRaw:fr,mergeProps:wi,nextTick:Qn,normalizeClass:Gt,normalizeStyle:Jt,onActivated:Cr,onBeforeMount:Pr,onBeforeUnmount:Ar,onBeforeUpdate:Ir,onDeactivated:Sr,onErrorCaptured:Lr,onMounted:$r,onRenderTracked:jr,onRenderTriggered:Fr,onServerPrefetch:Mr,onUnmounted:lo,onUpdated:Rr,openBlock:Ei,provide:zr,proxyRefs:Jn,queuePostFlushCb:eo,reactive:rn,readonly:Wn,render:Io,setBlockTracking:vo,setTransitionHooks:io,shallowReactive:ur,shallowReadonly:me,ssrContextKey:ui,toHandlerKey:Be,toRaw:$,unref:dr,useSSRContext:fi,version:To,warn:Lt,watch:bn,withCtx:Vr},Symbol.toStringTag,{value:"Module"})),Mc=".wrapper[data-v-4ab96e22]{width:300px;background:red}",Fc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},jc={},Lc={class:"wrapper"};function Hc(e,t){return Ei(),mi("div",Lc,"Bonjour je suis le bloc de press")}const zi=Fc(jc,[["render",Hc],["styles",[Mc]],["__scopeId","data-v-4ab96e22"]]),Uc=Object.freeze(Object.defineProperty({__proto__:null,default:zi},Symbol.toStringTag,{value:"Module"}));function Ji(e="press"){Promise.resolve().then(()=>Ac).then(({defineCustomElement:t})=>{Promise.resolve().then(()=>Uc).then(({default:n})=>{const o=t(n);customElements.define(e,o)})})}typeof window<"u"&&(window.register=Ji),Qe.Press=zi,Qe.defineLazyCustomElement=Ji,Object.defineProperty(Qe,Symbol.toStringTag,{value:"Module"})});
|