@vtj/pro 0.15.1 → 0.16.0
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/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +4 -4
- package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +3 -3
- package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +3 -3
- package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
- package/dist/@vtj/materials/deps/element-plus/index.full.min.js +44 -32
- package/dist/@vtj/materials/deps/element-plus/zh-cn.js +1 -1
- package/dist/__devtools__/assets/{IconTitle.vue_vue_type_script_setup_true_lang-CZMqpyXE.js → IconTitle.vue_vue_type_script_setup_true_lang-CpX2D0eB.js} +1 -1
- package/dist/__devtools__/assets/{SectionBlock-BSuGDm7s.js → SectionBlock-AVyx7eI3.js} +1 -1
- package/dist/__devtools__/assets/{assets-BoMHV8O-.js → assets-DQ5t0Lyv.js} +1 -1
- package/dist/__devtools__/assets/{components-7VuIBWJA.js → components-D5nEERiq.js} +1 -1
- package/dist/__devtools__/assets/{custom-inspector-tab-view-B5LB_kcZ.js → custom-inspector-tab-view--xvNl1tr.js} +1 -1
- package/dist/__devtools__/assets/{custom-tab-view-BZBfeauf.js → custom-tab-view-Dj55ko4k.js} +1 -1
- package/dist/__devtools__/assets/{graph-CyWkycf4.js → graph-OcNja-b1.js} +1 -1
- package/dist/__devtools__/assets/{index-C8hFs1GM.js → index-BSzMGd0T.js} +2 -2
- package/dist/__devtools__/assets/index-DVOrYgP_.css +1 -0
- package/dist/__devtools__/assets/{overview-UGcO1fsl.js → overview-Db00jfdl.js} +1 -1
- package/dist/__devtools__/assets/{pages-CDARBtn3.js → pages-D8jrLM3L.js} +1 -1
- package/dist/__devtools__/assets/{pinia-0IbFM1TZ.js → pinia-CkkNceK-.js} +1 -1
- package/dist/__devtools__/assets/{router-BkwlZeKx.js → router-B_oZ_D-R.js} +1 -1
- package/dist/__devtools__/assets/{settings-CljpRPty.js → settings-CE60W7is.js} +1 -1
- package/dist/__devtools__/assets/{timeline-l7ZovCcC.js → timeline-DLJJg6FW.js} +1 -1
- package/dist/__devtools__/index.html +2 -2
- package/dist/assets/{@element-plus-icons-vue-B8vF-Sga.js → @element-plus-icons-vue-Cpi46I3H.js} +1 -1
- package/dist/assets/{@vueuse-D07nk1O7.js → @vueuse-DBbmvAan.js} +1 -1
- package/dist/assets/{Editor-CXrxSb1D-BV1biGXj.css → Editor-CeRX4KMd-DMkAB_XD.css} +1 -1
- package/dist/assets/Editor-CeRX4KMd-DmEUCrZb.js +655 -0
- package/dist/assets/auth-DYh0lrn6.js +1 -0
- package/dist/assets/element-plus-Cnk22g0r.js +12 -0
- package/dist/assets/element-plus-Mn1i2Uda.css +1 -0
- package/dist/assets/index-CKQ9RJh7.js +2 -0
- package/dist/assets/index-Cziv5DvM.js +1 -0
- package/dist/assets/{mockjs-Bq37pDLb.js → mockjs-D39zwwe_.js} +5 -5
- package/dist/assets/page-CkAPfZ2P.js +2 -0
- package/dist/assets/preview-CftOip2W.js +2 -0
- package/dist/assets/shared-ClTq60Az.js +12 -0
- package/dist/assets/{uni-page-eAjmISBP.js → uni-page-DZxZ96XP.js} +1 -1
- package/dist/assets/utils-CcizdYFq.js +1 -0
- package/dist/assets/{vue-coNYQPXX.js → vue-C7aOYzfv.js} +1 -1
- package/dist/assets/{vue-router-BTytXxkB.js → vue-router-BEDJn_dq.js} +3 -3
- package/dist/assets/{vxe-UXyNshp-.js → vxe-4LaZMynM.js} +4 -4
- package/dist/index.html +10 -10
- package/dist/uni/assets/{@dcloudio-uni-h5-vue-CQcoi6u8.js → @dcloudio-uni-h5-vue-Bz74xAG0.js} +1 -1
- package/dist/uni/assets/{index-wniJ8utL.js → index-KOWVpVRa.js} +26 -26
- package/dist/uni/assets/{vue-router-DfiwASwJ.js → vue-router-JeNoEIlG.js} +1 -1
- package/dist/uni/index.html +3 -3
- package/package.json +11 -11
- package/dist/__devtools__/assets/index-C5qqC9jB.css +0 -1
- package/dist/assets/Editor-CXrxSb1D-B-bVFTyg.js +0 -349
- package/dist/assets/auth-ByoWylQQ.js +0 -1
- package/dist/assets/element-plus-B7XQxB2s.js +0 -12
- package/dist/assets/element-plus-BwqxpCyV.css +0 -1
- package/dist/assets/index-DhG6V9jW.js +0 -1
- package/dist/assets/index-DjGe_h24.js +0 -2
- package/dist/assets/page-B2rOKBiF.js +0 -2
- package/dist/assets/preview-BY-K-XTz.js +0 -2
- package/dist/assets/shared-Bn1t4B45.js +0 -12
- package/dist/assets/utils-C1oWvM_C.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var N=Object.defineProperty;var P=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var C=(o,e,t)=>e in o?N(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,y=(o,e)=>{for(var t in e||(e={}))V.call(e,t)&&C(o,t,e[t]);if(P)for(var t of P(e))W.call(e,t)&&C(o,t,e[t]);return o};var f=(o,e,t)=>new Promise((_,r)=>{var l=n=>{try{i(t.next(n))}catch(p){r(p)}},s=n=>{try{i(t.throw(n))}catch(p){r(p)}},i=n=>n.done?_(n.value):Promise.resolve(n.value).then(l,s);i((t=t.apply(o,e)).next())});import{useRoute as z}from"./vue-router-BTytXxkB.js";import{x as I}from"./@vueuse-D07nk1O7.js";import{M as J,F as K,j as U,R as D,t as E,P as G,d as v}from"./Editor-CXrxSb1D-B-bVFTyg.js";import"./element-plus-B7XQxB2s.js";import"./vxe-UXyNshp-.js";import{E as L,a as S,n as A,l as O}from"./utils-C1oWvM_C.js";import{j as Q,az as B,K as X,n as Y,r as Z,o as ee}from"./vue-coNYQPXX.js";import{_ as te}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./monaco-editor-Bgo-w-Z8.js";import"./@element-plus-icons-vue-B8vF-Sga.js";import"./html2canvas-DNSjNh3_.js";import"./mockjs-Bq37pDLb.js";import"./dayjs-BGdj-UA2.js";import"./marked-Dt4xUbva.js";import"./shared-Bn1t4B45.js";import"./lodash-es-B2U1jVvD.js";const ae=Q({__name:"index",setup(o){return f(this,null,function*(){let e,t;const _=z(),r=Z(),l=new J(K(A)),s=([e,t]=B(()=>l.getExtension().catch(()=>null)),e=yield e,t(),e||{}),i=U({loading:O,notify:A,useTitle:I,alert:S,access:s==null?void 0:s.access}),n=D(y({alert:S},s==null?void 0:s.__ACCESS__)),p=s?([e,t]=B(()=>new L(s).load()),e=yield e,t(),e):{},{__BASE_PATH__:h="/",history:F="hash",base:w="/",pageRouteName:g="page",remote:R,auth:j,checkVersion:k=!0,enhance:T,platform:b="web"}=s||{},q=()=>F==="hash",H=a=>a==="/"?"":(a.startsWith("/")&&(a=a.substring(1)),a.endsWith("/")||(a=a+"/"),a);E.set("Switcher",{props:{onClick:a=>{const u=a.platform==="uniapp",c=location.pathname;let m=c===`${h}__vtj__/`?h:c;const d=a.currentFile;if(d&&d.type==="page"&&a.homepage!==d.id){const M=s.pageBasePath?`/${g}`:"",x=`${H(w)}${u?`pages${M}`:g}/${d.id}`;m=q()?`${m}#/${x}`:`${m}${x}`}window.open(m,"VTJProject")}}}),E.set("Previewer",{props:{path:(a,u)=>{const c=location.pathname;return u.platform==="uniapp"?`${c}uni/#/pages/${a.id}`:`${c}#/preview/${a.id}`}}});const $=new G(y({container:r,service:l,materialPath:h,pageBasePath:w==="/"?"":w,adapter:i,access:n,remote:R,auth:j,checkVersion:k,enhance:T,project:{platform:b}},p));return $.ready(()=>f(null,null,function*(){yield v(300),$.openFile(_.query.id)})),X(()=>_.query.id,a=>f(null,null,function*(){yield v(300),$.openFile(a)})),(a,u)=>(ee(),Y("div",{class:"designer",ref_key:"container",ref:r},null,512))})}}),ge=te(ae,[["__scopeId","data-v-b20f3eda"]]);export{ge as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DhG6V9jW.js","./vue-router-BTytXxkB.js","./vue-coNYQPXX.js","./@vueuse-D07nk1O7.js","./Editor-CXrxSb1D-B-bVFTyg.js","./monaco-editor-Bgo-w-Z8.js","./monaco-editor-C0wzwsn5.css","./element-plus-B7XQxB2s.js","./shared-Bn1t4B45.js","./dayjs-BGdj-UA2.js","./@element-plus-icons-vue-B8vF-Sga.js","./lodash-es-B2U1jVvD.js","./element-plus-BwqxpCyV.css","./vxe-UXyNshp-.js","./vxe-BAb1d5vW.css","./html2canvas-DNSjNh3_.js","./mockjs-Bq37pDLb.js","./marked-Dt4xUbva.js","./Editor-CXrxSb1D-BV1biGXj.css","./utils-C1oWvM_C.js","./_plugin-vue_export-helper-DlAUqK2U.js","./index-Ce7h16Vb.css","./preview-BY-K-XTz.js","./page-B2rOKBiF.js","./uni-page-eAjmISBP.js","./uni-page-Diqmj53r.css","./auth-ByoWylQQ.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{j as _,l as p,u as s,a7 as d,o as m,v as u,aB as f,G as h,ar as v}from"./vue-coNYQPXX.js";import{z as g,c as y}from"./element-plus-B7XQxB2s.js";import{_ as r}from"./monaco-editor-Bgo-w-Z8.js";import{createRouter as E,createWebHashHistory as O}from"./vue-router-BTytXxkB.js";import"./shared-Bn1t4B45.js";import"./dayjs-BGdj-UA2.js";import"./@vueuse-D07nk1O7.js";import"./@element-plus-icons-vue-B8vF-Sga.js";import"./lodash-es-B2U1jVvD.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const a of t.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function i(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();const P=_({__name:"app",setup(l){return(o,n)=>{const i=d("router-view");return m(),p(s(y),{locale:s(g)},{default:u(()=>[(m(),p(f,null,{default:u(()=>[h(i)]),_:1}))]),_:1},8,["locale"])}}}),L=[{path:"/",name:"home",component:()=>r(()=>import("./index-DhG6V9jW.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url)},{path:"/preview/:id",name:"preview",component:()=>r(()=>import("./preview-BY-K-XTz.js"),__vite__mapDeps([22,5,6,1,2,7,8,9,3,10,11,12,13,14,4,15,16,17,18,19]),import.meta.url)},{path:"/page/:id",name:"page",component:()=>r(()=>import("./page-B2rOKBiF.js"),__vite__mapDeps([23,5,6,1,2,7,8,9,3,10,11,12,13,14,4,15,16,17,18,19]),import.meta.url),meta:{pure:!0}},{path:"/pages/:id",name:"pages",component:()=>r(()=>import("./uni-page-eAjmISBP.js"),__vite__mapDeps([24,1,2,20,25]),import.meta.url),meta:{pure:!0}},{path:"/auth",name:"auth",component:()=>r(()=>import("./auth-ByoWylQQ.js"),__vite__mapDeps([26,7,2,8,9,3,10,11,12,13,14,4,5,6,1,15,16,17,18,20]),import.meta.url)}],A=E({history:O(),routes:L}),c=v(P);c.use(A);c.mount("#app");
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-BTytXxkB.js","./vue-coNYQPXX.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var g=Object.defineProperty;var A=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var w=(o,t,e)=>t in o?g(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,v=(o,t)=>{for(var e in t||(t={}))R.call(t,e)&&w(o,e,t[e]);if(A)for(var e of A(t))h.call(t,e)&&w(o,e,t[e]);return o};var c=(o,t,e)=>new Promise((_,s)=>{var u=r=>{try{p(e.next(r))}catch(i){s(i)}},d=r=>{try{p(e.throw(r))}catch(i){s(i)}},p=r=>r.done?_(r.value):Promise.resolve(r.value).then(u,d);p((e=e.apply(o,t)).next())});import{_ as x}from"./monaco-editor-Bgo-w-Z8.js";import{useRoute as P}from"./vue-router-BTytXxkB.js";import"./element-plus-B7XQxB2s.js";import"./vxe-UXyNshp-.js";import{M as V,F as B,j as T,A as j,w as k,Y as D,b as I}from"./Editor-CXrxSb1D-B-bVFTyg.js";import{a as b,n as C,l as F,E as L}from"./utils-C1oWvM_C.js";import{x as M}from"./@vueuse-D07nk1O7.js";import{j as O,az as E,K as S,l as Y,A as z,B as H,r as K,o as N,g as q}from"./vue-coNYQPXX.js";import"./shared-Bn1t4B45.js";import"./dayjs-BGdj-UA2.js";import"./@element-plus-icons-vue-B8vF-Sga.js";import"./lodash-es-B2U1jVvD.js";import"./html2canvas-DNSjNh3_.js";import"./mockjs-Bq37pDLb.js";import"./marked-Dt4xUbva.js";const it=O({__name:"page",setup(o){return c(this,null,function*(){let t,e;const _=new V(B(C)),s=([t,e]=E(()=>_.getExtension().catch(()=>null)),t=yield t,e(),t),u=T({loading:F,notify:C,useTitle:M,alert:b,access:s==null?void 0:s.access}),d=s?([t,e]=E(()=>new L(s).load()),t=yield t,e(),t):{},{__BASE_PATH__:p="/"}=s||{},{provider:r,onReady:i}=j({mode:k.Runtime,service:_,materialPath:p,adapter:v(v({},u),d.adapter),dependencies:{Vue:()=>x(()=>import("./vue-coNYQPXX.js").then(a=>a.aA),[],import.meta.url),VueRouter:()=>x(()=>import("./vue-router-BTytXxkB.js"),__vite__mapDeps([0,1]),import.meta.url)}}),l=P(),f=K(),n=q(),y=a=>c(null,null,function*(){f.value=yield r.getRenderComponent(l.params.id.toString(),m=>{I(a,l,m)})});return i(()=>c(null,null,function*(){const a=n==null?void 0:n.appContext.app;a&&(a.use(D),a.use(r),y(a))})),S(()=>l.params.id,a=>c(null,null,function*(){if(a){const m=n==null?void 0:n.appContext.app;if(!m)return;y(m)}})),(a,m)=>f.value?(N(),Y(z(f.value),{key:0})):H("",!0)})}});export{it as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-BTytXxkB.js","./vue-coNYQPXX.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var C=Object.defineProperty;var w=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var A=(o,e,t)=>e in o?C(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,d=(o,e)=>{for(var t in e||(e={}))R.call(e,t)&&A(o,t,e[t]);if(w)for(var t of w(e))g.call(e,t)&&A(o,t,e[t]);return o};var f=(o,e,t)=>new Promise((c,s)=>{var _=a=>{try{i(t.next(a))}catch(p){s(p)}},n=a=>{try{i(t.throw(a))}catch(p){s(p)}},i=a=>a.done?c(a.value):Promise.resolve(a.value).then(_,n);i((t=t.apply(o,e)).next())});import{_ as E}from"./monaco-editor-Bgo-w-Z8.js";import{useRoute as I}from"./vue-router-BTytXxkB.js";import"./element-plus-B7XQxB2s.js";import"./vxe-UXyNshp-.js";import{M as P,F as V,j as B,A as T,w as j,I as k,Y as D,b}from"./Editor-CXrxSb1D-B-bVFTyg.js";import{a as F,n as h,l as L,E as M}from"./utils-C1oWvM_C.js";import{x as O}from"./@vueuse-D07nk1O7.js";import{j as S,az as x,l as Y,A as z,B as H,r as N,o as q,g as G}from"./vue-coNYQPXX.js";import"./shared-Bn1t4B45.js";import"./dayjs-BGdj-UA2.js";import"./@element-plus-icons-vue-B8vF-Sga.js";import"./lodash-es-B2U1jVvD.js";import"./html2canvas-DNSjNh3_.js";import"./mockjs-Bq37pDLb.js";import"./marked-Dt4xUbva.js";const pe=S({__name:"preview",setup(o){return f(this,null,function*(){let e,t;const c=new P(V(h)),s=([e,t]=x(()=>c.getExtension().catch(()=>null)),e=yield e,t(),e||{}),_=B({loading:L,notify:h,useTitle:O,alert:F,access:s==null?void 0:s.access}),n=s?([e,t]=x(()=>new M(s).load()),e=yield e,t(),e):{},{__BASE_PATH__:i="/"}=s||{},{provider:a,onReady:p}=T({mode:j.Runtime,service:c,materialPath:i,adapter:d(d({},_),n.adapter),dependencies:{Vue:()=>E(()=>import("./vue-coNYQPXX.js").then(m=>m.aA),[],import.meta.url),VueRouter:()=>E(()=>import("./vue-router-BTytXxkB.js"),__vite__mapDeps([0,1]),import.meta.url)}}),v=I(),u=N(),l=G();return p(()=>f(null,null,function*(){const m=yield k(s.enhance),r=l==null?void 0:l.appContext.app;r&&(n.install&&n.install(r),m&&r.use(m,a),r.use(D),r.use(a),u.value=yield a.getRenderComponent(v.params.id.toString(),y=>{b(r,v,y)}))})),(m,r)=>u.value?(q(),Y(z(u.value),{key:0})):H("",!0)})}});export{pe as default};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
var Tr=Object.defineProperty,Dr=Object.defineProperties;var jr=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var gn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable;var hn=(e,t,n)=>t in e?Tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t)=>{for(var n in t||(t={}))gn.call(t,n)&&hn(e,n,t[n]);if(ne)for(var n of ne(t))mn.call(t,n)&&hn(e,n,t[n]);return e},ct=(e,t)=>Dr(e,jr(t));var Ae=(e,t)=>{var n={};for(var r in e)gn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ne)for(var r of ne(e))t.indexOf(r)<0&&mn.call(e,r)&&(n[r]=e[r]);return n};var at=(e,t,n)=>new Promise((r,i)=>{var o=f=>{try{s(n.next(f))}catch(c){i(c)}},a=f=>{try{s(n.throw(f))}catch(c){i(c)}},s=f=>f.done?r(f.value):Promise.resolve(f.value).then(o,a);s((n=n.apply(e,t)).next())});var B="top",G="bottom",Y="right",W="left",We="auto",Gt=[B,G,Y,W],Pt="start",It="end",kr="clippingParents",$n="viewport",Nt="popper",Hr="reference",vn=Gt.reduce(function(e,t){return e.concat([t+"-"+Pt,t+"-"+It])},[]),zn=[].concat(Gt,[We]).reduce(function(e,t){return e.concat([t,t+"-"+Pt,t+"-"+It])},[]),Cr="beforeRead",Lr="read",Nr="afterRead",Br="beforeMain",Wr="main",Vr="afterMain",_r="beforeWrite",Ir="write",$r="afterWrite",zr=[Cr,Lr,Nr,Br,Wr,Vr,_r,Ir,$r];function nt(e){return e?(e.nodeName||"").toLowerCase():null}function Q(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function qt(e){var t=Q(e).Element;return e instanceof t||e instanceof Element}function X(e){var t=Q(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ve(e){if(typeof ShadowRoot=="undefined")return!1;var t=Q(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ur(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!X(o)||!nt(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Xr(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(f,c){return f[c]="",f},{});!X(i)||!nt(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(f){i.removeAttribute(f)}))})}}var Un={name:"applyStyles",enabled:!0,phase:"write",fn:Ur,effect:Xr,requires:["computeStyles"]};function tt(e){return e.split("-")[0]}var wt=Math.max,ue=Math.min,Tt=Math.round;function Dt(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(X(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Tt(n.width)/a||1),o>0&&(i=Tt(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function _e(e){var t=Dt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Xn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ve(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ft(e){return Q(e).getComputedStyle(e)}function Gr(e){return["table","td","th"].indexOf(nt(e))>=0}function ht(e){return((qt(e)?e.ownerDocument:e.document)||window.document).documentElement}function he(e){return nt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ve(e)?e.host:null)||ht(e)}function yn(e){return!X(e)||ft(e).position==="fixed"?null:e.offsetParent}function Yr(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&X(e)){var r=ft(e);if(r.position==="fixed")return null}var i=he(e);for(Ve(i)&&(i=i.host);X(i)&&["html","body"].indexOf(nt(i))<0;){var o=ft(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Yt(e){for(var t=Q(e),n=yn(e);n&&Gr(n)&&ft(n).position==="static";)n=yn(n);return n&&(nt(n)==="html"||nt(n)==="body"&&ft(n).position==="static")?t:n||Yr(e)||t}function Ie(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Wt(e,t,n){return wt(e,ue(t,n))}function Zr(e,t,n){var r=Wt(e,t,n);return r>n?n:r}function Gn(){return{top:0,right:0,bottom:0,left:0}}function Yn(e){return Object.assign({},Gn(),e)}function Zn(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Jr=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Yn(typeof e!="number"?e:Zn(e,Gt))};function Kr(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=tt(n.placement),f=Ie(s),c=[W,Y].indexOf(s)>=0,l=c?"height":"width";if(!(!o||!a)){var h=Jr(i.padding,n),g=_e(o),p=f==="y"?B:W,v=f==="y"?G:Y,u=n.rects.reference[l]+n.rects.reference[f]-a[f]-n.rects.popper[l],y=a[f]-n.rects.reference[f],d=Yt(o),w=d?f==="y"?d.clientHeight||0:d.clientWidth||0:0,m=u/2-y/2,b=h[p],x=w-g[l]-h[v],O=w/2-g[l]/2+m,A=Wt(b,O,x),E=f;n.modifiersData[r]=(t={},t[E]=A,t.centerOffset=A-O,t)}}function Qr(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!Xn(t.elements.popper,i)||(t.elements.arrow=i))}var ti={name:"arrow",enabled:!0,phase:"main",fn:Kr,effect:Qr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jt(e){return e.split("-")[1]}var ei={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ni(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Tt(t*i)/i||0,y:Tt(n*i)/i||0}}function bn(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,f=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,h=e.isFixed,g=a.x,p=g===void 0?0:g,v=a.y,u=v===void 0?0:v,y=typeof l=="function"?l({x:p,y:u}):{x:p,y:u};p=y.x,u=y.y;var d=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),m=W,b=B,x=window;if(c){var O=Yt(n),A="clientHeight",E="clientWidth";if(O===Q(n)&&(O=ht(n),ft(O).position!=="static"&&s==="absolute"&&(A="scrollHeight",E="scrollWidth")),O=O,i===B||(i===W||i===Y)&&o===It){b=G;var P=h&&O===x&&x.visualViewport?x.visualViewport.height:O[A];u-=P-r.height,u*=f?1:-1}if(i===W||(i===B||i===G)&&o===It){m=Y;var q=h&&O===x&&x.visualViewport?x.visualViewport.width:O[E];p-=q-r.width,p*=f?1:-1}}var F=Object.assign({position:s},c&&ei),M=l===!0?ni({x:p,y:u}):{x:p,y:u};if(p=M.x,u=M.y,f){var R;return Object.assign({},F,(R={},R[b]=w?"0":"",R[m]=d?"0":"",R.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+u+"px)":"translate3d("+p+"px, "+u+"px, 0)",R))}return Object.assign({},F,(t={},t[b]=w?u+"px":"",t[m]=d?p+"px":"",t.transform="",t))}function ri(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,f=s===void 0?!0:s,c={placement:tt(t.placement),variation:jt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,bn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,bn(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Jn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ri,data:{}},re={passive:!0};function ii(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,f=Q(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(l){l.addEventListener("scroll",n.update,re)}),s&&f.addEventListener("resize",n.update,re),function(){o&&c.forEach(function(l){l.removeEventListener("scroll",n.update,re)}),s&&f.removeEventListener("resize",n.update,re)}}var Kn={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ii,data:{}},oi={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,function(t){return oi[t]})}var ai={start:"end",end:"start"};function xn(e){return e.replace(/start|end/g,function(t){return ai[t]})}function $e(e){var t=Q(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ze(e){return Dt(ht(e)).left+$e(e).scrollLeft}function si(e){var t=Q(e),n=ht(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+ze(e),y:s}}function fi(e){var t,n=ht(e),r=$e(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=wt(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=wt(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+ze(e),f=-r.scrollTop;return ft(i||n).direction==="rtl"&&(s+=wt(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:f}}function Ue(e){var t=ft(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Qn(e){return["html","body","#document"].indexOf(nt(e))>=0?e.ownerDocument.body:X(e)&&Ue(e)?e:Qn(he(e))}function Vt(e,t){var n;t===void 0&&(t=[]);var r=Qn(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Q(r),a=i?[o].concat(o.visualViewport||[],Ue(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Vt(he(a)))}function qe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ci(e){var t=Dt(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function wn(e,t){return t===$n?qe(si(e)):qt(t)?ci(t):qe(fi(ht(e)))}function ui(e){var t=Vt(he(e)),n=["absolute","fixed"].indexOf(ft(e).position)>=0,r=n&&X(e)?Yt(e):e;return qt(r)?t.filter(function(i){return qt(i)&&Xn(i,r)&&nt(i)!=="body"}):[]}function li(e,t,n){var r=t==="clippingParents"?ui(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(s,f){var c=wn(e,f);return s.top=wt(c.top,s.top),s.right=ue(c.right,s.right),s.bottom=ue(c.bottom,s.bottom),s.left=wt(c.left,s.left),s},wn(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function tr(e){var t=e.reference,n=e.element,r=e.placement,i=r?tt(r):null,o=r?jt(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,f;switch(i){case B:f={x:a,y:t.y-n.height};break;case G:f={x:a,y:t.y+t.height};break;case Y:f={x:t.x+t.width,y:s};break;case W:f={x:t.x-n.width,y:s};break;default:f={x:t.x,y:t.y}}var c=i?Ie(i):null;if(c!=null){var l=c==="y"?"height":"width";switch(o){case Pt:f[c]=f[c]-(t[l]/2-n[l]/2);break;case It:f[c]=f[c]+(t[l]/2-n[l]/2);break}}return f}function $t(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.boundary,a=o===void 0?kr:o,s=n.rootBoundary,f=s===void 0?$n:s,c=n.elementContext,l=c===void 0?Nt:c,h=n.altBoundary,g=h===void 0?!1:h,p=n.padding,v=p===void 0?0:p,u=Yn(typeof v!="number"?v:Zn(v,Gt)),y=l===Nt?Hr:Nt,d=e.rects.popper,w=e.elements[g?y:l],m=li(qt(w)?w:w.contextElement||ht(e.elements.popper),a,f),b=Dt(e.elements.reference),x=tr({reference:b,element:d,placement:i}),O=qe(Object.assign({},d,x)),A=l===Nt?O:b,E={top:m.top-A.top+u.top,bottom:A.bottom-m.bottom+u.bottom,left:m.left-A.left+u.left,right:A.right-m.right+u.right},P=e.modifiersData.offset;if(l===Nt&&P){var q=P[i];Object.keys(E).forEach(function(F){var M=[Y,G].indexOf(F)>=0?1:-1,R=[B,G].indexOf(F)>=0?"y":"x";E[F]+=q[R]*M})}return E}function di(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=f===void 0?zn:f,l=jt(r),h=l?s?vn:vn.filter(function(v){return jt(v)===l}):Gt,g=h.filter(function(v){return c.indexOf(v)>=0});g.length===0&&(g=h);var p=g.reduce(function(v,u){return v[u]=$t(e,{placement:u,boundary:i,rootBoundary:o,padding:a})[tt(u)],v},{});return Object.keys(p).sort(function(v,u){return p[v]-p[u]})}function pi(e){if(tt(e)===We)return[];var t=fe(e);return[xn(e),t,xn(t)]}function hi(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,f=n.fallbackPlacements,c=n.padding,l=n.boundary,h=n.rootBoundary,g=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,u=n.allowedAutoPlacements,y=t.options.placement,d=tt(y),w=d===y,m=f||(w||!v?[fe(y)]:pi(y)),b=[y].concat(m).reduce(function(mt,ot){return mt.concat(tt(ot)===We?di(t,{placement:ot,boundary:l,rootBoundary:h,padding:c,flipVariations:v,allowedAutoPlacements:u}):ot)},[]),x=t.rects.reference,O=t.rects.popper,A=new Map,E=!0,P=b[0],q=0;q<b.length;q++){var F=b[q],M=tt(F),R=jt(F)===Pt,V=[B,G].indexOf(M)>=0,H=V?"width":"height",T=$t(t,{placement:F,boundary:l,rootBoundary:h,altBoundary:g,padding:c}),D=V?R?Y:W:R?G:B;x[H]>O[H]&&(D=fe(D));var N=fe(D),L=[];if(o&&L.push(T[M]<=0),s&&L.push(T[D]<=0,T[N]<=0),L.every(function(mt){return mt})){P=F,E=!1;break}A.set(F,L)}if(E)for(var C=v?3:1,U=function(mt){var ot=b.find(function(te){var Lt=A.get(te);if(Lt)return Lt.slice(0,mt).every(function(St){return St})});if(ot)return P=ot,"break"},gt=C;gt>0;gt--){var Qt=U(gt);if(Qt==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}var gi={name:"flip",enabled:!0,phase:"main",fn:hi,requiresIfExists:["offset"],data:{_skip:!1}};function On(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function An(e){return[B,Y,G,W].some(function(t){return e[t]>=0})}function mi(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=$t(t,{elementContext:"reference"}),s=$t(t,{altBoundary:!0}),f=On(a,r),c=On(s,i,o),l=An(f),h=An(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}var vi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:mi};function yi(e,t,n){var r=tt(e),i=[W,B].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[W,Y].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function bi(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=zn.reduce(function(l,h){return l[h]=yi(h,t.rects,o),l},{}),s=a[t.placement],f=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}var xi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bi};function wi(e){var t=e.state,n=e.name;t.modifiersData[n]=tr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var er={name:"popperOffsets",enabled:!0,phase:"read",fn:wi,data:{}};function Oi(e){return e==="x"?"y":"x"}function Ai(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,f=n.boundary,c=n.rootBoundary,l=n.altBoundary,h=n.padding,g=n.tether,p=g===void 0?!0:g,v=n.tetherOffset,u=v===void 0?0:v,y=$t(t,{boundary:f,rootBoundary:c,padding:h,altBoundary:l}),d=tt(t.placement),w=jt(t.placement),m=!w,b=Ie(d),x=Oi(b),O=t.modifiersData.popperOffsets,A=t.rects.reference,E=t.rects.popper,P=typeof u=="function"?u(Object.assign({},t.rects,{placement:t.placement})):u,q=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(O){if(o){var R,V=b==="y"?B:W,H=b==="y"?G:Y,T=b==="y"?"height":"width",D=O[b],N=D+y[V],L=D-y[H],C=p?-E[T]/2:0,U=w===Pt?A[T]:E[T],gt=w===Pt?-E[T]:-A[T],Qt=t.elements.arrow,mt=p&&Qt?_e(Qt):{width:0,height:0},ot=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Gn(),te=ot[V],Lt=ot[H],St=Wt(0,A[T],mt[T]),Er=m?A[T]/2-C-St-te-q.mainAxis:U-St-te-q.mainAxis,Sr=m?-A[T]/2+C+St+Lt+q.mainAxis:gt+St+Lt+q.mainAxis,we=t.elements.arrow&&Yt(t.elements.arrow),Rr=we?b==="y"?we.clientTop||0:we.clientLeft||0:0,on=(R=F==null?void 0:F[b])!=null?R:0,Fr=D+Er-on-Rr,Mr=D+Sr-on,an=Wt(p?ue(N,Fr):N,D,p?wt(L,Mr):L);O[b]=an,M[b]=an-D}if(s){var sn,Pr=b==="x"?B:W,qr=b==="x"?G:Y,vt=O[x],ee=x==="y"?"height":"width",fn=vt+y[Pr],cn=vt-y[qr],Oe=[B,W].indexOf(d)!==-1,un=(sn=F==null?void 0:F[x])!=null?sn:0,ln=Oe?fn:vt-A[ee]-E[ee]-un+q.altAxis,dn=Oe?vt+A[ee]+E[ee]-un-q.altAxis:cn,pn=p&&Oe?Zr(ln,vt,dn):Wt(p?ln:fn,vt,p?dn:cn);O[x]=pn,M[x]=pn-vt}t.modifiersData[r]=M}}var Ei={name:"preventOverflow",enabled:!0,phase:"main",fn:Ai,requiresIfExists:["offset"]};function Si(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ri(e){return e===Q(e)||!X(e)?$e(e):Si(e)}function Fi(e){var t=e.getBoundingClientRect(),n=Tt(t.width)/e.offsetWidth||1,r=Tt(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Mi(e,t,n){n===void 0&&(n=!1);var r=X(t),i=X(t)&&Fi(t),o=ht(t),a=Dt(e,i),s={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((nt(t)!=="body"||Ue(o))&&(s=Ri(t)),X(t)?(f=Dt(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):o&&(f.x=ze(o))),{x:a.left+s.scrollLeft-f.x,y:a.top+s.scrollTop-f.y,width:a.width,height:a.height}}function Pi(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var f=t.get(s);f&&i(f)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function qi(e){var t=Pi(e);return zr.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Ti(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Di(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var En={placement:"bottom",modifiers:[],strategy:"absolute"};function Sn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Xe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?En:i;return function(a,s,f){f===void 0&&(f=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},En,o),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},l=[],h=!1,g={state:c,setOptions:function(u){var y=typeof u=="function"?u(c.options):u;v(),c.options=Object.assign({},o,c.options,y),c.scrollParents={reference:qt(a)?Vt(a):a.contextElement?Vt(a.contextElement):[],popper:Vt(s)};var d=qi(Di([].concat(r,c.options.modifiers)));return c.orderedModifiers=d.filter(function(w){return w.enabled}),p(),g.update()},forceUpdate:function(){if(!h){var u=c.elements,y=u.reference,d=u.popper;if(Sn(y,d)){c.rects={reference:Mi(y,Yt(d),c.options.strategy==="fixed"),popper:_e(d)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(E){return c.modifiersData[E.name]=Object.assign({},E.data)});for(var w=0;w<c.orderedModifiers.length;w++){if(c.reset===!0){c.reset=!1,w=-1;continue}var m=c.orderedModifiers[w],b=m.fn,x=m.options,O=x===void 0?{}:x,A=m.name;typeof b=="function"&&(c=b({state:c,options:O,name:A,instance:g})||c)}}}},update:Ti(function(){return new Promise(function(u){g.forceUpdate(),u(c)})}),destroy:function(){v(),h=!0}};if(!Sn(a,s))return g;g.setOptions(f).then(function(u){!h&&f.onFirstUpdate&&f.onFirstUpdate(u)});function p(){c.orderedModifiers.forEach(function(u){var y=u.name,d=u.options,w=d===void 0?{}:d,m=u.effect;if(typeof m=="function"){var b=m({state:c,name:y,instance:g,options:w}),x=function(){};l.push(b||x)}})}function v(){l.forEach(function(u){return u()}),l=[]}return g}}Xe();var ji=[Kn,er,Jn,Un];Xe({defaultModifiers:ji});var ki=[Kn,er,Jn,Un,xi,gi,Ei,ti,vi],va=Xe({defaultModifiers:ki});function k(e,t){Hi(e)&&(e="100%");var n=Ci(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ie(e){return Math.min(1,Math.max(0,e))}function Hi(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Ci(e){return typeof e=="string"&&e.indexOf("%")!==-1}function nr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function oe(e){return e<=1?"".concat(Number(e)*100,"%"):e}function bt(e){return e.length===1?"0"+e:String(e)}function Li(e,t,n){return{r:k(e,255)*255,g:k(t,255)*255,b:k(n,255)*255}}function Rn(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var f=r-i;switch(a=s>.5?f/(2-r-i):f/(r+i),r){case e:o=(t-n)/f+(t<n?6:0);break;case t:o=(n-e)/f+2;break;case n:o=(e-t)/f+4;break}o/=6}return{h:o,s:a,l:s}}function Ee(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ni(e,t,n){var r,i,o;if(e=k(e,360),t=k(t,100),n=k(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Ee(s,a,e+1/3),i=Ee(s,a,e),o=Ee(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Fn(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,f=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4;break}o/=6}return{h:o,s:f,v:a}}function Bi(e,t,n){e=k(e,360)*6,t=k(t,100),n=k(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),f=r%6,c=[n,a,o,o,s,n][f],l=[s,n,n,a,o,o][f],h=[o,o,s,n,n,a][f];return{r:c*255,g:l*255,b:h*255}}function Mn(e,t,n,r){var i=[bt(Math.round(e).toString(16)),bt(Math.round(t).toString(16)),bt(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Wi(e,t,n,r,i){var o=[bt(Math.round(e).toString(16)),bt(Math.round(t).toString(16)),bt(Math.round(n).toString(16)),bt(Vi(r))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function Vi(e){return Math.round(parseFloat(e)*255).toString(16)}function Pn(e){return I(e)/255}function I(e){return parseInt(e,16)}function _i(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Te={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ii(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=Ui(e)),typeof e=="object"&&(st(e.r)&&st(e.g)&&st(e.b)?(t=Li(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):st(e.h)&&st(e.s)&&st(e.v)?(r=oe(e.s),i=oe(e.v),t=Bi(e.h,r,i),a=!0,s="hsv"):st(e.h)&&st(e.s)&&st(e.l)&&(r=oe(e.s),o=oe(e.l),t=Ni(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=nr(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var $i="[-\\+]?\\d+%?",zi="[-\\+]?\\d*\\.\\d+%?",lt="(?:".concat(zi,")|(?:").concat($i,")"),Se="[\\s|\\(]+(".concat(lt,")[,|\\s]+(").concat(lt,")[,|\\s]+(").concat(lt,")\\s*\\)?"),Re="[\\s|\\(]+(".concat(lt,")[,|\\s]+(").concat(lt,")[,|\\s]+(").concat(lt,")[,|\\s]+(").concat(lt,")\\s*\\)?"),Z={CSS_UNIT:new RegExp(lt),rgb:new RegExp("rgb"+Se),rgba:new RegExp("rgba"+Re),hsl:new RegExp("hsl"+Se),hsla:new RegExp("hsla"+Re),hsv:new RegExp("hsv"+Se),hsva:new RegExp("hsva"+Re),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ui(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Te[e])e=Te[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Z.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Z.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Z.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Z.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Z.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Z.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Z.hex8.exec(e),n?{r:I(n[1]),g:I(n[2]),b:I(n[3]),a:Pn(n[4]),format:t?"name":"hex8"}:(n=Z.hex6.exec(e),n?{r:I(n[1]),g:I(n[2]),b:I(n[3]),format:t?"name":"hex"}:(n=Z.hex4.exec(e),n?{r:I(n[1]+n[1]),g:I(n[2]+n[2]),b:I(n[3]+n[3]),a:Pn(n[4]+n[4]),format:t?"name":"hex8"}:(n=Z.hex3.exec(e),n?{r:I(n[1]+n[1]),g:I(n[2]+n[2]),b:I(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function st(e){return!!Z.CSS_UNIT.exec(String(e))}var ya=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=_i(t)),this.originalInput=t;var i=Ii(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=nr(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Fn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Fn(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Rn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Rn(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Mn(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Wi(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(k(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(k(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Mn(this.r,this.g,this.b,!1),n=0,r=Object.entries(Te);n<r.length;n++){var i=r[n],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var n=!!t;t=t!=null?t:this.format;var r=!1,i=this.a<1&&this.a>=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=ie(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=ie(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=ie(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=ie(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(r+a*o)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e})();function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xt.apply(this,arguments)}function Xi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,zt(e,t)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function zt(e,t){return zt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},zt(e,t)}function Gi(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ce(e,t,n){return Gi()?ce=Reflect.construct.bind():ce=function(i,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(i,s),c=new f;return a&&zt(c,a.prototype),c},ce.apply(null,arguments)}function Yi(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function je(e){var t=typeof Map=="function"?new Map:void 0;return je=function(r){if(r===null||!Yi(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return ce(r,arguments,De(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),zt(i,r)},je(e)}var Zi=/%[sdj%]/g,Ji=function(){};function ke(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function $(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var a=e.replace(Zi,function(s){if(s==="%%")return"%";if(i>=o)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(f){return"[Circular]"}break;default:return s}});return a}return e}function Ki(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function j(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ki(t)&&typeof e=="string"&&!e)}function Qi(e,t,n){var r=[],i=0,o=e.length;function a(s){r.push.apply(r,s||[]),i++,i===o&&n(r)}e.forEach(function(s){t(s,a)})}function qn(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s<i?t(e[s],o):n([])}o([])}function to(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var Tn=(function(e){Xi(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t})(je(Error));function eo(e,t,n,r,i){if(t.first){var o=new Promise(function(g,p){var v=function(d){return r(d),d.length?p(new Tn(d,ke(d))):g(i)},u=to(e);qn(u,n,v)});return o.catch(function(g){return g}),o}var a=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),f=s.length,c=0,l=[],h=new Promise(function(g,p){var v=function(y){if(l.push.apply(l,y),c++,c===f)return r(l),l.length?p(new Tn(l,ke(l))):g(i)};s.length||(r(l),g(i)),s.forEach(function(u){var y=e[u];a.indexOf(u)!==-1?qn(y,n,v):Qi(y,n,v)})});return h.catch(function(g){return g}),h}function no(e){return!!(e&&e.message!==void 0)}function ro(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function Dn(e,t){return function(n){var r;return e.fullFields?r=ro(t,e.fullFields):r=t[n.field||e.fullField],no(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function jn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=xt({},e[n],r):e[n]=r}}return e}var rr=function(t,n,r,i,o,a){t.required&&(!r.hasOwnProperty(t.field)||j(n,a||t.type))&&i.push($(o.messages.required,t.fullField))},io=function(t,n,r,i,o){(/^\s+$/.test(n)||n==="")&&i.push($(o.messages.whitespace,t.fullField))},ae,oo=(function(){if(ae)return ae;var e="[a-fA-F\\d:]",t=function(b){return b&&b.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=(`
|
|
2
|
-
(?:
|
|
3
|
-
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
4
|
-
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
5
|
-
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
6
|
-
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
7
|
-
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
8
|
-
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
9
|
-
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
10
|
-
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
11
|
-
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
12
|
-
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+i+"$"),f=function(b){return b&&b.exact?o:new RegExp("(?:"+t(b)+n+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};f.v4=function(m){return m&&m.exact?a:new RegExp(""+t(m)+n+t(m),"g")},f.v6=function(m){return m&&m.exact?s:new RegExp(""+t(m)+i+t(m),"g")};var c="(?:(?:[a-z]+:)?//)",l="(?:\\S+(?::\\S*)?@)?",h=f.v4().source,g=f.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",u="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",d='(?:[/?#][^\\s"]*)?',w="(?:"+c+"|www\\.)"+l+"(?:localhost|"+h+"|"+g+"|"+p+v+u+")"+y+d;return ae=new RegExp("(?:^"+w+"$)","i"),ae}),kn={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Bt={integer:function(t){return Bt.number(t)&&parseInt(t,10)===t},float:function(t){return Bt.number(t)&&!Bt.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Bt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(kn.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(oo())},hex:function(t){return typeof t=="string"&&!!t.match(kn.hex)}},ao=function(t,n,r,i,o){if(t.required&&n===void 0){rr(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?Bt[s](n)||i.push($(o.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&i.push($(o.messages.types[s],t.fullField,t.type))},so=function(t,n,r,i,o){var a=typeof t.len=="number",s=typeof t.min=="number",f=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=n,h=null,g=typeof n=="number",p=typeof n=="string",v=Array.isArray(n);if(g?h="number":p?h="string":v&&(h="array"),!h)return!1;v&&(l=n.length),p&&(l=n.replace(c,"_").length),a?l!==t.len&&i.push($(o.messages[h].len,t.fullField,t.len)):s&&!f&&l<t.min?i.push($(o.messages[h].min,t.fullField,t.min)):f&&!s&&l>t.max?i.push($(o.messages[h].max,t.fullField,t.max)):s&&f&&(l<t.min||l>t.max)&&i.push($(o.messages[h].range,t.fullField,t.min,t.max))},Rt="enum",fo=function(t,n,r,i,o){t[Rt]=Array.isArray(t[Rt])?t[Rt]:[],t[Rt].indexOf(n)===-1&&i.push($(o.messages[Rt],t.fullField,t[Rt].join(", ")))},co=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push($(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||i.push($(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},S={required:rr,whitespace:io,type:ao,range:so,enum:fo,pattern:co},uo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n,"string")&&!t.required)return r();S.required(t,n,i,a,o,"string"),j(n,"string")||(S.type(t,n,i,a,o),S.range(t,n,i,a,o),S.pattern(t,n,i,a,o),t.whitespace===!0&&S.whitespace(t,n,i,a,o))}r(a)},lo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o),n!==void 0&&S.type(t,n,i,a,o)}r(a)},po=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),j(n)&&!t.required)return r();S.required(t,n,i,a,o),n!==void 0&&(S.type(t,n,i,a,o),S.range(t,n,i,a,o))}r(a)},ho=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o),n!==void 0&&S.type(t,n,i,a,o)}r(a)},go=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o),j(n)||S.type(t,n,i,a,o)}r(a)},mo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o),n!==void 0&&(S.type(t,n,i,a,o),S.range(t,n,i,a,o))}r(a)},vo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o),n!==void 0&&(S.type(t,n,i,a,o),S.range(t,n,i,a,o))}r(a)},yo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();S.required(t,n,i,a,o,"array"),n!=null&&(S.type(t,n,i,a,o),S.range(t,n,i,a,o))}r(a)},bo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o),n!==void 0&&S.type(t,n,i,a,o)}r(a)},xo="enum",wo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o),n!==void 0&&S[xo](t,n,i,a,o)}r(a)},Oo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n,"string")&&!t.required)return r();S.required(t,n,i,a,o),j(n,"string")||S.pattern(t,n,i,a,o)}r(a)},Ao=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n,"date")&&!t.required)return r();if(S.required(t,n,i,a,o),!j(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),S.type(t,f,i,a,o),f&&S.range(t,f.getTime(),i,a,o)}}r(a)},Eo=function(t,n,r,i,o){var a=[],s=Array.isArray(n)?"array":typeof n;S.required(t,n,i,a,o,s),r(a)},Fe=function(t,n,r,i,o){var a=t.type,s=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(j(n,a)&&!t.required)return r();S.required(t,n,i,s,o,a),j(n,a)||S.type(t,n,i,s,o)}r(s)},So=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(j(n)&&!t.required)return r();S.required(t,n,i,a,o)}r(a)},_t={string:uo,method:lo,number:po,boolean:ho,regexp:go,integer:mo,float:vo,array:yo,object:bo,enum:wo,pattern:Oo,date:Ao,url:Fe,hex:Fe,email:Fe,required:Eo,any:So};function He(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Ce=He(),ge=(function(){function e(n){this.rules=null,this._messages=Ce,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var a=r[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=jn(He(),r)),this._messages},t.validate=function(r,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var s=r,f=i,c=o;if(typeof f=="function"&&(c=f,f={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,s),Promise.resolve(s);function l(u){var y=[],d={};function w(b){if(Array.isArray(b)){var x;y=(x=y).concat.apply(x,b)}else y.push(b)}for(var m=0;m<u.length;m++)w(u[m]);y.length?(d=ke(y),c(y,d)):c(null,s)}if(f.messages){var h=this.messages();h===Ce&&(h=He()),jn(h,f.messages),f.messages=h}else f.messages=this.messages();var g={},p=f.keys||Object.keys(this.rules);p.forEach(function(u){var y=a.rules[u],d=s[u];y.forEach(function(w){var m=w;typeof m.transform=="function"&&(s===r&&(s=xt({},s)),d=s[u]=m.transform(d)),typeof m=="function"?m={validator:m}:m=xt({},m),m.validator=a.getValidationMethod(m),m.validator&&(m.field=u,m.fullField=m.fullField||u,m.type=a.getType(m),g[u]=g[u]||[],g[u].push({rule:m,value:d,source:s,field:u}))})});var v={};return eo(g,f,function(u,y){var d=u.rule,w=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");w=w&&(d.required||!d.required&&u.value),d.field=u.field;function m(O,A){return xt({},A,{fullField:d.fullField+"."+O,fullFields:d.fullFields?[].concat(d.fullFields,[O]):[O]})}function b(O){O===void 0&&(O=[]);var A=Array.isArray(O)?O:[O];!f.suppressWarning&&A.length&&e.warning("async-validator:",A),A.length&&d.message!==void 0&&(A=[].concat(d.message));var E=A.map(Dn(d,s));if(f.first&&E.length)return v[d.field]=1,y(E);if(!w)y(E);else{if(d.required&&!u.value)return d.message!==void 0?E=[].concat(d.message).map(Dn(d,s)):f.error&&(E=[f.error(d,$(f.messages.required,d.field))]),y(E);var P={};d.defaultField&&Object.keys(u.value).map(function(M){P[M]=d.defaultField}),P=xt({},P,u.rule.fields);var q={};Object.keys(P).forEach(function(M){var R=P[M],V=Array.isArray(R)?R:[R];q[M]=V.map(m.bind(null,M))});var F=new e(q);F.messages(f.messages),u.rule.options&&(u.rule.options.messages=f.messages,u.rule.options.error=f.error),F.validate(u.value,u.rule.options||f,function(M){var R=[];E&&E.length&&R.push.apply(R,E),M&&M.length&&R.push.apply(R,M),y(R.length?R:null)})}}var x;if(d.asyncValidator)x=d.asyncValidator(d,u.value,b,u.source,f);else if(d.validator){try{x=d.validator(d,u.value,b,u.source,f)}catch(O){console.error==null||console.error(O),f.suppressValidatorError||setTimeout(function(){throw O},0),b(O.message)}x===!0?b():x===!1?b(typeof d.message=="function"?d.message(d.fullField||d.field):d.message||(d.fullField||d.field)+" fails"):x instanceof Array?b(x):x instanceof Error&&b(x.message)}x&&x.then&&x.then(function(){return b()},function(O){return b(O)})},function(u){l(u)},s)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!_t.hasOwnProperty(r.type))throw new Error($("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var i=Object.keys(r),o=i.indexOf("message");return o!==-1&&i.splice(o,1),i.length===1&&i[0]==="required"?_t.required:_t[this.getType(r)]||void 0},e})();ge.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");_t[t]=n};ge.warning=Ji;ge.messages=Ce;ge.validators=_t;const kt=Math.min,Ot=Math.max,le=Math.round,se=Math.floor,et=e=>({x:e,y:e}),Ro={left:"right",right:"left",bottom:"top",top:"bottom"},Fo={start:"end",end:"start"};function Le(e,t,n){return Ot(e,kt(t,n))}function Zt(e,t){return typeof e=="function"?e(t):e}function At(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function ir(e){return e==="x"?"y":"x"}function Ge(e){return e==="y"?"height":"width"}const Mo=new Set(["top","bottom"]);function dt(e){return Mo.has(At(e))?"y":"x"}function Ye(e){return ir(dt(e))}function Po(e,t,n){n===void 0&&(n=!1);const r=Jt(e),i=Ye(e),o=Ge(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=de(a)),[a,de(a)]}function qo(e){const t=de(e);return[Ne(e),t,Ne(t)]}function Ne(e){return e.replace(/start|end/g,t=>Fo[t])}const Hn=["left","right"],Cn=["right","left"],To=["top","bottom"],Do=["bottom","top"];function jo(e,t,n){switch(e){case"top":case"bottom":return n?t?Cn:Hn:t?Hn:Cn;case"left":case"right":return t?To:Do;default:return[]}}function ko(e,t,n,r){const i=Jt(e);let o=jo(At(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(Ne)))),o}function de(e){return e.replace(/left|right|bottom|top/g,t=>Ro[t])}function Ho(e){return _({top:0,right:0,bottom:0,left:0},e)}function or(e){return typeof e!="number"?Ho(e):{top:e,right:e,bottom:e,left:e}}function pe(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ln(e,t,n){let{reference:r,floating:i}=e;const o=dt(t),a=Ye(t),s=Ge(a),f=At(t),c=o==="y",l=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,g=r[s]/2-i[s]/2;let p;switch(f){case"top":p={x:l,y:r.y-i.height};break;case"bottom":p={x:l,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-i.width,y:h};break;default:p={x:r.x,y:r.y}}switch(Jt(t)){case"start":p[a]-=g*(n&&c?-1:1);break;case"end":p[a]+=g*(n&&c?-1:1);break}return p}const Co=(e,t,n)=>at(null,null,function*(){const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),f=yield a.isRTL==null?void 0:a.isRTL(t);let c=yield a.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:h}=Ln(c,r,f),g=r,p={},v=0;for(let u=0;u<s.length;u++){const{name:y,fn:d}=s[u],{x:w,y:m,data:b,reset:x}=yield d({x:l,y:h,initialPlacement:r,placement:g,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});l=w!=null?w:l,h=m!=null?m:h,p=ct(_({},p),{[y]:_(_({},p[y]),b)}),x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(g=x.placement),x.rects&&(c=x.rects===!0?yield a.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:l,y:h}=Ln(c,g,f)),u=-1)}return{x:l,y:h,placement:g,strategy:i,middlewareData:p}});function Ze(e,t){return at(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:f}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:g=!1,padding:p=0}=Zt(t,e),v=or(p),y=s[g?h==="floating"?"reference":"floating":h],d=pe(yield o.getClippingRect({element:(n=yield o.isElement==null?void 0:o.isElement(y))==null||n?y:y.contextElement||(yield o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:l,strategy:f})),w=h==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,m=yield o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating),b=(yield o.isElement==null?void 0:o.isElement(m))?(yield o.getScale==null?void 0:o.getScale(m))||{x:1,y:1}:{x:1,y:1},x=pe(o.convertOffsetParentRelativeRectToViewportRelativeRect?yield o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:m,strategy:f}):w);return{top:(d.top-x.top+v.top)/b.y,bottom:(x.bottom-d.bottom+v.bottom)/b.y,left:(d.left-x.left+v.left)/b.x,right:(x.right-d.right+v.right)/b.x}})}const Lo=e=>({name:"arrow",options:e,fn(n){return at(this,null,function*(){const{x:r,y:i,placement:o,rects:a,platform:s,elements:f,middlewareData:c}=n,{element:l,padding:h=0}=Zt(e,n)||{};if(l==null)return{};const g=or(h),p={x:r,y:i},v=Ye(o),u=Ge(v),y=yield s.getDimensions(l),d=v==="y",w=d?"top":"left",m=d?"bottom":"right",b=d?"clientHeight":"clientWidth",x=a.reference[u]+a.reference[v]-p[v]-a.floating[u],O=p[v]-a.reference[v],A=yield s.getOffsetParent==null?void 0:s.getOffsetParent(l);let E=A?A[b]:0;(!E||!(yield s.isElement==null?void 0:s.isElement(A)))&&(E=f.floating[b]||a.floating[u]);const P=x/2-O/2,q=E/2-y[u]/2-1,F=kt(g[w],q),M=kt(g[m],q),R=F,V=E-y[u]-M,H=E/2-y[u]/2+P,T=Le(R,H,V),D=!c.arrow&&Jt(o)!=null&&H!==T&&a.reference[u]/2-(H<R?F:M)-y[u]/2<0,N=D?H<R?H-R:H-V:0;return{[v]:p[v]+N,data:_({[v]:T,centerOffset:H-T-N},D&&{alignmentOffset:N}),reset:D}})}}),No=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return at(this,null,function*(){var r,i;const{placement:o,middlewareData:a,rects:s,initialPlacement:f,platform:c,elements:l}=n,H=Zt(e,n),{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:y=!0}=H,d=Ae(H,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const w=At(o),m=dt(f),b=At(f)===f,x=yield c.isRTL==null?void 0:c.isRTL(l.floating),O=p||(b||!y?[de(f)]:qo(f)),A=u!=="none";!p&&A&&O.push(...ko(f,y,u,x));const E=[f,...O],P=yield Ze(n,d),q=[];let F=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&q.push(P[w]),g){const T=Po(o,s,x);q.push(P[T[0]],P[T[1]])}if(F=[...F,{placement:o,overflows:q}],!q.every(T=>T<=0)){var M,R;const T=(((M=a.flip)==null?void 0:M.index)||0)+1,D=E[T];if(D&&(!(g==="alignment"?m!==dt(D):!1)||F.every(C=>dt(C.placement)===m?C.overflows[0]>0:!0)))return{data:{index:T,overflows:F},reset:{placement:D}};let N=(R=F.filter(L=>L.overflows[0]<=0).sort((L,C)=>L.overflows[1]-C.overflows[1])[0])==null?void 0:R.placement;if(!N)switch(v){case"bestFit":{var V;const L=(V=F.filter(C=>{if(A){const U=dt(C.placement);return U===m||U==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(U=>U>0).reduce((U,gt)=>U+gt,0)]).sort((C,U)=>C[1]-U[1])[0])==null?void 0:V[0];L&&(N=L);break}case"initialPlacement":N=f;break}if(o!==N)return{reset:{placement:N}}}return{}})}}},Bo=new Set(["left","top"]);function Wo(e,t){return at(this,null,function*(){const{placement:n,platform:r,elements:i}=e,o=yield r.isRTL==null?void 0:r.isRTL(i.floating),a=At(n),s=Jt(n),f=dt(n)==="y",c=Bo.has(a)?-1:1,l=o&&f?-1:1,h=Zt(t,e);let{mainAxis:g,crossAxis:p,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof v=="number"&&(p=s==="end"?v*-1:v),f?{x:p*l,y:g*c}:{x:g*c,y:p*l}})}const Vo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return at(this,null,function*(){var r,i;const{x:o,y:a,placement:s,middlewareData:f}=n,c=yield Wo(n,e);return s===((r=f.offset)==null?void 0:r.placement)&&(i=f.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:a+c.y,data:ct(_({},c),{placement:s})}})}}},_o=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return at(this,null,function*(){const{x:r,y:i,placement:o}=n,d=Zt(e,n),{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:w=>{let{x:m,y:b}=w;return{x:m,y:b}}}}=d,c=Ae(d,["mainAxis","crossAxis","limiter"]),l={x:r,y:i},h=yield Ze(n,c),g=dt(At(o)),p=ir(g);let v=l[p],u=l[g];if(a){const w=p==="y"?"top":"left",m=p==="y"?"bottom":"right",b=v+h[w],x=v-h[m];v=Le(b,v,x)}if(s){const w=g==="y"?"top":"left",m=g==="y"?"bottom":"right",b=u+h[w],x=u-h[m];u=Le(b,u,x)}const y=f.fn(ct(_({},n),{[p]:v,[g]:u}));return ct(_({},y),{data:{x:y.x-r,y:y.y-i,enabled:{[p]:a,[g]:s}}})})}}};function me(){return typeof window!="undefined"}function Ct(e){return ar(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function it(e){var t;return(t=(ar(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ar(e){return me()?e instanceof Node||e instanceof z(e).Node:!1}function J(e){return me()?e instanceof Element||e instanceof z(e).Element:!1}function rt(e){return me()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function Nn(e){return!me()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}const Io=new Set(["inline","contents"]);function Kt(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Io.has(i)}const $o=new Set(["table","td","th"]);function zo(e){return $o.has(Ct(e))}const Uo=[":popover-open",":modal"];function ve(e){return Uo.some(t=>{try{return e.matches(t)}catch(n){return!1}})}const Xo=["transform","translate","scale","rotate","perspective"],Go=["transform","translate","scale","rotate","perspective","filter"],Yo=["paint","layout","strict","content"];function Je(e){const t=Ke(),n=J(e)?K(e):e;return Xo.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Go.some(r=>(n.willChange||"").includes(r))||Yo.some(r=>(n.contain||"").includes(r))}function Zo(e){let t=pt(e);for(;rt(t)&&!Ht(t);){if(Je(t))return t;if(ve(t))return null;t=pt(t)}return null}function Ke(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Jo=new Set(["html","body","#document"]);function Ht(e){return Jo.has(Ct(e))}function K(e){return z(e).getComputedStyle(e)}function ye(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pt(e){if(Ct(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Nn(e)&&e.host||it(e);return Nn(t)?t.host:t}function sr(e){const t=pt(e);return Ht(t)?e.ownerDocument?e.ownerDocument.body:e.body:rt(t)&&Kt(t)?t:sr(t)}function Ut(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=sr(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=z(i);if(o){const s=Be(a);return t.concat(a,a.visualViewport||[],Kt(i)?i:[],s&&n?Ut(s):[])}return t.concat(i,Ut(i,[],n))}function Be(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fr(e){const t=K(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=rt(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=le(n)!==o||le(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Qe(e){return J(e)?e:e.contextElement}function Ft(e){const t=Qe(e);if(!rt(t))return et(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=fr(t);let a=(o?le(n.width):n.width)/r,s=(o?le(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Ko=et(0);function cr(e){const t=z(e);return!Ke()||!t.visualViewport?Ko:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qo(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function Et(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=Qe(e);let a=et(1);t&&(r?J(r)&&(a=Ft(r)):a=Ft(e));const s=Qo(o,n,r)?cr(o):et(0);let f=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,l=i.width/a.x,h=i.height/a.y;if(o){const g=z(o),p=r&&J(r)?z(r):r;let v=g,u=Be(v);for(;u&&r&&p!==v;){const y=Ft(u),d=u.getBoundingClientRect(),w=K(u),m=d.left+(u.clientLeft+parseFloat(w.paddingLeft))*y.x,b=d.top+(u.clientTop+parseFloat(w.paddingTop))*y.y;f*=y.x,c*=y.y,l*=y.x,h*=y.y,f+=m,c+=b,v=z(u),u=Be(v)}}return pe({width:l,height:h,x:f,y:c})}function be(e,t){const n=ye(e).scrollLeft;return t?t.left+n:Et(it(e)).left+n}function ur(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-be(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function ta(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=it(r),s=t?ve(t.floating):!1;if(r===a||s&&o)return n;let f={scrollLeft:0,scrollTop:0},c=et(1);const l=et(0),h=rt(r);if((h||!h&&!o)&&((Ct(r)!=="body"||Kt(a))&&(f=ye(r)),rt(r))){const p=Et(r);c=Ft(r),l.x=p.x+r.clientLeft,l.y=p.y+r.clientTop}const g=a&&!h&&!o?ur(a,f):et(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+l.x+g.x,y:n.y*c.y-f.scrollTop*c.y+l.y+g.y}}function ea(e){return Array.from(e.getClientRects())}function na(e){const t=it(e),n=ye(e),r=e.ownerDocument.body,i=Ot(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Ot(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+be(e);const s=-n.scrollTop;return K(r).direction==="rtl"&&(a+=Ot(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}const Bn=25;function ra(e,t){const n=z(e),r=it(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,f=0;if(i){o=i.width,a=i.height;const l=Ke();(!l||l&&t==="fixed")&&(s=i.offsetLeft,f=i.offsetTop)}const c=be(r);if(c<=0){const l=r.ownerDocument,h=l.body,g=getComputedStyle(h),p=l.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,v=Math.abs(r.clientWidth-h.clientWidth-p);v<=Bn&&(o-=v)}else c<=Bn&&(o+=c);return{width:o,height:a,x:s,y:f}}const ia=new Set(["absolute","fixed"]);function oa(e,t){const n=Et(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=rt(e)?Ft(e):et(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y,f=i*o.x,c=r*o.y;return{width:a,height:s,x:f,y:c}}function Wn(e,t,n){let r;if(t==="viewport")r=ra(e,n);else if(t==="document")r=na(it(e));else if(J(t))r=oa(t,n);else{const i=cr(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return pe(r)}function lr(e,t){const n=pt(e);return n===t||!J(n)||Ht(n)?!1:K(n).position==="fixed"||lr(n,t)}function aa(e,t){const n=t.get(e);if(n)return n;let r=Ut(e,[],!1).filter(s=>J(s)&&Ct(s)!=="body"),i=null;const o=K(e).position==="fixed";let a=o?pt(e):e;for(;J(a)&&!Ht(a);){const s=K(a),f=Je(a);!f&&s.position==="fixed"&&(i=null),(o?!f&&!i:!f&&s.position==="static"&&!!i&&ia.has(i.position)||Kt(a)&&!f&&lr(e,a))?r=r.filter(l=>l!==a):i=s,a=pt(a)}return t.set(e,r),r}function sa(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?ve(t)?[]:aa(t,this._c):[].concat(n),r],s=a[0],f=a.reduce((c,l)=>{const h=Wn(t,l,i);return c.top=Ot(h.top,c.top),c.right=kt(h.right,c.right),c.bottom=kt(h.bottom,c.bottom),c.left=Ot(h.left,c.left),c},Wn(t,s,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function fa(e){const{width:t,height:n}=fr(e);return{width:t,height:n}}function ca(e,t,n){const r=rt(t),i=it(t),o=n==="fixed",a=Et(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const f=et(0);function c(){f.x=be(i)}if(r||!r&&!o)if((Ct(t)!=="body"||Kt(i))&&(s=ye(t)),r){const p=Et(t,!0,o,t);f.x=p.x+t.clientLeft,f.y=p.y+t.clientTop}else i&&c();o&&!r&&i&&c();const l=i&&!r&&!o?ur(i,s):et(0),h=a.left+s.scrollLeft-f.x-l.x,g=a.top+s.scrollTop-f.y-l.y;return{x:h,y:g,width:a.width,height:a.height}}function Me(e){return K(e).position==="static"}function Vn(e,t){if(!rt(e)||K(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return it(e)===n&&(n=n.ownerDocument.body),n}function dr(e,t){const n=z(e);if(ve(e))return n;if(!rt(e)){let i=pt(e);for(;i&&!Ht(i);){if(J(i)&&!Me(i))return i;i=pt(i)}return n}let r=Vn(e,t);for(;r&&zo(r)&&Me(r);)r=Vn(r,t);return r&&Ht(r)&&Me(r)&&!Je(r)?n:r||Zo(e)||n}const ua=function(e){return at(this,null,function*(){const t=this.getOffsetParent||dr,n=this.getDimensions,r=yield n(e.floating);return{reference:ca(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function la(e){return K(e).direction==="rtl"}const da={convertOffsetParentRelativeRectToViewportRelativeRect:ta,getDocumentElement:it,getClippingRect:sa,getOffsetParent:dr,getElementRects:ua,getClientRects:ea,getDimensions:fa,getScale:Ft,isElement:J,isRTL:la};function pr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function pa(e,t){let n=null,r;const i=it(e);function o(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,f){s===void 0&&(s=!1),f===void 0&&(f=1),o();const c=e.getBoundingClientRect(),{left:l,top:h,width:g,height:p}=c;if(s||t(),!g||!p)return;const v=se(h),u=se(i.clientWidth-(l+g)),y=se(i.clientHeight-(h+p)),d=se(l),m={rootMargin:-v+"px "+-u+"px "+-y+"px "+-d+"px",threshold:Ot(0,kt(1,f))||1};let b=!0;function x(O){const A=O[0].intersectionRatio;if(A!==f){if(!b)return a();A?a(!1,A):r=setTimeout(()=>{a(!1,1e-7)},1e3)}A===1&&!pr(c,e.getBoundingClientRect())&&a(),b=!1}try{n=new IntersectionObserver(x,ct(_({},m),{root:i.ownerDocument}))}catch(O){n=new IntersectionObserver(x,m)}n.observe(e)}return a(!0),o}function ba(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,c=Qe(e),l=i||o?[...c?Ut(c):[],...Ut(t)]:[];l.forEach(d=>{i&&d.addEventListener("scroll",n,{passive:!0}),o&&d.addEventListener("resize",n)});const h=c&&s?pa(c,n):null;let g=-1,p=null;a&&(p=new ResizeObserver(d=>{let[w]=d;w&&w.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),n()}),c&&!f&&p.observe(c),p.observe(t));let v,u=f?Et(e):null;f&&y();function y(){const d=Et(e);u&&!pr(u,d)&&n(),u=d,v=requestAnimationFrame(y)}return n(),()=>{var d;l.forEach(w=>{i&&w.removeEventListener("scroll",n),o&&w.removeEventListener("resize",n)}),h==null||h(),(d=p)==null||d.disconnect(),p=null,f&&cancelAnimationFrame(v)}}const xa=Ze,wa=Vo,Oa=_o,Aa=No,Ea=Lo,Sa=(e,t,n)=>{const r=new Map,i=_({platform:da},n),o=ct(_({},i.platform),{_c:r});return Co(e,t,ct(_({},i),{platform:o}))};var Mt=null,Pe=null,ut=null,_n="z-index-manage",yt=null,In="z-index-style",hr="m",gr="s",Xt={m:1e3,s:1e3};function tn(){return Mt||typeof document!="undefined"&&(Mt=document),Mt}function mr(){return Mt&&!Pe&&(Pe=Mt.body||Mt.getElementsByTagName("body")[0]),Pe}function ha(){var e=0,t=tn();if(t){var n=mr();if(n)for(var r=n.getElementsByTagName("*"),i=0;i<r.length;i++){var o=r[i];if(o&&o.style&&o.nodeType===1){var a=o.style.zIndex;a&&/^\d+$/.test(a)&&(e=Math.max(e,Number(a)))}}}return e}function ga(){if(!yt){var e=tn();e&&(yt=e.getElementById(In),yt||(yt=e.createElement("style"),yt.id=In,e.getElementsByTagName("head")[0].appendChild(yt)))}return yt}function vr(){var e=ga();if(e){var t="--dom-",n="-z-index";e.innerHTML=":root{"+t+"main"+n+":"+xe()+";"+t+"sub"+n+":"+rn()+"}"}}function yr(){if(!ut){var e=tn();if(e&&(ut=e.getElementById(_n),!ut)){var t=mr();t&&(ut=e.createElement("div"),ut.id=_n,ut.style.display="none",t.appendChild(ut),en(Xt.m),nn(Xt.s))}}return ut}function br(e){return function(t){if(t){t=Number(t),Xt[e]=t;var n=yr();n&&(n.dataset?n.dataset[e]=t+"":n.setAttribute("data-"+e,t+""))}return vr(),Xt[e]}}var en=br(hr);function xr(e,t){return function(r){var i,o=yr();if(o){var a=o.dataset?o.dataset[e]:o.getAttribute("data-"+e);a&&(i=Number(a))}return i||(i=Xt[e]),r?Number(r)<i?t():r:i}}var xe=xr(hr,wr);function wr(){return en(xe()+1)}var nn=br(gr),Or=xr(gr,Ar);function rn(){return xe()+Or()}function Ar(){return nn(Or()+1),rn()}var Ra={setCurrent:en,getCurrent:xe,getNext:wr,setSubCurrent:nn,getSubCurrent:rn,getSubNext:Ar,getMax:ha};vr();export{Ra as D,zn as E,ge as S,ya as T,ba as a,Ea as b,Sa as c,xa as d,Aa as f,wa as o,Oa as s,va as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var A=Object.defineProperty;var p=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var S=(t,a,s)=>a in t?A(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,E=(t,a)=>{for(var s in a||(a={}))m.call(a,s)&&S(t,s,a[s]);if(p)for(var s of p(a))u.call(a,s)&&S(t,s,a[s]);return t};var l=(t,a,s)=>S(t,typeof a!="symbol"?a+"":a,s);var g=(t,a,s)=>new Promise((o,n)=>{var e=r=>{try{i(s.next(r))}catch(_){n(_)}},c=r=>{try{i(s.throw(r))}catch(_){n(_)}},i=r=>r.done?o(r.value):Promise.resolve(r.value).then(e,c);i((s=s.apply(t,a)).next())});import{aA as d}from"./vue-coNYQPXX.js";import{z as O,g as I,V,s as f,a as h,c as P,D as b,O as R,$ as D,X as N,P as y,i as M,J as L,K as k,e as B,f as K,B as H,h as x,k as U,U as w,C as G,l as C,m as W,n as Y,S as j,H as J,G as v,o as z,p as F,Z as $,q as X,N as q,r as Z,u as Q,v as aa,x as sa,y as ea,E as ta,L as ra,Q as na,T as ia,W as oa,_ as _a,a0 as la,a1 as Ea,a2 as ca,a3 as Sa,a4 as pa,a5 as ga,a6 as Ta,a7 as Aa,a8 as ma,a9 as ua,aa as da,ab as Oa,ac as Ia,ad as Va,ae as fa,af as ha,ag as Pa,ah as ba,ai as Ra,aj as Da,ak as Na,al as ya,am as Ma,an as La,ao as ka,ap as Ba,aq as Ka,ar as Ha,as as xa,at as Ua,t as wa,au as Ga,av as Ca,aw as Wa,ax as Ya,ay as ja,az as Ja,aA as va,aB as za}from"./Editor-CXrxSb1D-B-bVFTyg.js";import{E as Fa,a as $a,b as Xa}from"./element-plus-B7XQxB2s.js";const qa=Object.freeze(Object.defineProperty({__proto__:null,API_METHOD_TYPES:O,ActionMenu:I,Assets:V,Binder:f,Box:h,CodeIncrementalUpdater:P,DEVTOOLS_DEP:b,Designer:R,EVENT_MODIFIERS:D,Editor:N,Engine:y,EventBinder:M,GET_TOKENS_LINK:L,HOT_KEYS_DEP:k,Icon:B,Item:K,KEYBOARD_EVENT_LIST:H,MAX_TOKENS:x,MOBILE_SIZE:U,MOUSE_EVENT_LIST:w,NAME_REGEX:G,NPM_REGISTRY_URL:C,OpenApi:W,PAD_SIZE:Y,Panel:j,REPORT_API:J,RegionType:v,RegionWrapper:z,Renderer:F,SAVE_BLOCK_FILE_FINISH:$,SESSION_ID_KEY:X,STATE_KEY:q,SetterView:Z,SetterWrapper:Q,Simulator:aa,Skeleton:sa,SkeletonWrapper:ea,SlotsPicker:ta,State:ra,Tabs:na,VERSION_REGEX:ia,VTJ_DESIGNER_VERSION:oa,VUE_DEVTOOLS_FRAME_STATE_KEY:_a,VUE_DEVTOOLS_OVERLAY_PATH:la,VUE_DEVTOOLS_PATH:Ea,VariableBinder:ca,Viewer:Sa,Viewport:pa,WidgetGroup:ga,WidgetWrapper:Ta,alert:Aa,builtInDeps:ma,builtInMaterials:ua,builtInSetters:da,builtInWidgets:Oa,codeIncrementalUpdater:Ia,confirm:Va,createSlotsPicker:fa,defaultSetter:ha,depsManager:Pa,engineKey:ba,expressionValidate:Ra,getClassProperties:Da,loading:Na,message:ya,normalizedStyle:Ma,notify:La,proxyContext:ka,readJsonFile:Ba,regions:Ka,setterManager:Ha,setters:xa,useEngine:Ua,widgetManager:wa,widgets:Ga},Symbol.toStringTag,{value:"Module"}));class es{constructor(a){l(this,"urls",[]);l(this,"library","");l(this,"params",[]);l(this,"__BASE_PATH__","/");this.config=a;const s=E(E(E({},Wa),qa),Ca),o={Vue:d,__VTJ_PRO__:s};for(const[_,T]of Object.entries(o))window[_]=T;const{extension:n,__BASE_PATH__:e="/"}=a||{},{urls:c=[],library:i,params:r=[]}=n||{};i&&(this.urls=c,this.library=i,this.params=r,this.__BASE_PATH__=e)}load(){return g(this,null,function*(){let a={};if(this.library){const s=this.__BASE_PATH__,o=this.urls.filter(e=>Ya(e)).map(e=>`${s}${e}`),n=this.urls.filter(e=>ja(e)).map(e=>`${s}${e}`);if(Ja(o),n.length){const e=yield va(n,this.library).catch(()=>null);e&&typeof e=="function"?a=e.call(e,this.config,...this.params):a=e||{}}}return Object.assign({},this.getEngineOptions(),a)})}getEngineOptions(){const a=["materialPath","pageBasePath","pageRouteName","remote","checkVersion","noMask","auth"];return za(this.config,a)}}function ts(){return Xa.service({lock:!0,text:"Loading",background:"rgba(0, 0, 0, 0.7)"})}function rs(t,a="",s="warning"){$a({title:a,message:t,type:s})}function ns(t,a){return Fa.alert(t,a)}export{es as E,ns as a,ts as l,rs as n};
|