@pksep/yui 0.1.147 → 0.1.151
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/README.md +79 -79
- package/dist/sep-yui.es.ts +63 -63
- package/dist/sep-yui.umd.ts +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/sep-yui.umd.ts
CHANGED
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
<path d="M14.591 6.59094L11.5001 9.68185L8.40918 6.59094" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
524
524
|
`},OC={name:se.qrCode,style:"line",path:`
|
|
525
525
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 19H13V21H11V19ZM19 11H21V13H19V11ZM11 15H13V17H11V15ZM15 11H17V13H15V11ZM4 3H12C12.2652 3 12.5196 3.10536 12.7071 3.29289C12.8946 3.48043 13 3.73478 13 4V12C13 12.2652 12.8946 12.5196 12.7071 12.7071C12.5196 12.8946 12.2652 13 12 13H4C3.73478 13 3.48043 12.8946 3.29289 12.7071C3.10536 12.5196 3 12.2652 3 12V4C3 3.73478 3.10536 3.48043 3.29289 3.29289C3.48043 3.10536 3.73478 3 4 3ZM4.2 4.2V11.8H11.8V4.2H4.2ZM7 7H9V9H7V7ZM16 3H20C20.2652 3 20.5196 3.10536 20.7071 3.29289C20.8946 3.48043 21 3.73478 21 4V8C21 8.26522 20.8946 8.51957 20.7071 8.70711C20.5196 8.89464 20.2652 9 20 9H16C15.7348 9 15.4804 8.89464 15.2929 8.70711C15.1054 8.51957 15 8.26522 15 8V4C15 3.73478 15.1054 3.48043 15.2929 3.29289C15.4804 3.10536 15.7348 3 16 3ZM16.2 7.8H19.8V4.2H16.2V7.8ZM16 15H20C20.2652 15 20.5196 15.1054 20.7071 15.2929C20.8946 15.4804 21 15.7348 21 16V20C21 20.2652 20.8946 20.5196 20.7071 20.7071C20.5196 20.8946 20.2652 21 20 21H16C15.7348 21 15.4804 20.8946 15.2929 20.7071C15.1054 20.5196 15 20.2652 15 20V16C15 15.7348 15.1054 15.4804 15.2929 15.2929C15.4804 15.1054 15.7348 15 16 15ZM16.2 19.8H19.8V16.2H16.2V19.8ZM4 15H8C8.26522 15 8.51957 15.1054 8.70711 15.2929C8.89464 15.4804 9 15.7348 9 16V20C9 20.2652 8.89464 20.5196 8.70711 20.7071C8.51957 20.8946 8.26522 21 8 21H4C3.73478 21 3.48043 20.8946 3.29289 20.7071C3.10536 20.5196 3 20.2652 3 20V16C3 15.7348 3.10536 15.4804 3.29289 15.2929C3.48043 15.1054 3.73478 15 4 15ZM4.2 19.8H7.8V16.2H4.2V19.8Z" fill="currentColor"/>
|
|
526
|
-
`},kh=Object.freeze(Object.defineProperty({__proto__:null,action:$7,addPlus:m7,addUser:EC,alertTriangle:T8,archive:M7,arrowDown:j8,arrowLeft:D8,arrowUp:N8,atSign:CC,baseDetail:f7,baseOfAssemblyUnits:E7,baseOfEquipmentAndInventory:U7,baseProduct:h7,bgNotContent:d7,bookOpen:_7,calendar:gC,chartLine:T7,checkbox:H8,chevronDown:O8,chevronLeft:L8,chevronRight:z8,chevronUp:$8,closeTag:bC,closeVision:p7,company:H7,copy:dC,crossLarge:uC,crossSmall:lC,dark:R8,darkThemeSwitcher:WC,deleteSmall:g7,distrub:DC,document:c7,editing:q7,equipmentBase:A7,exit:U8,exitBig:B8,exitCircle:Y8,exitSmall:V8,externalLink:F8,eye:hC,eyeOff:mC,fileDatabase:I7,fileText:aC,files:nC,filter:u7,folder:sC,gitPullRequest:oC,handSignEmoji:pC,help:P8,info:tC,keyboard:jC,leftBig:q8,leftBigSmall:X8,light:G8,logout:NC,mainPage:W7,marriage:P7,menuArchive:C7,menuClose:x7,menuOpen:S7,message:IC,minus:e7,moonFill:A8,moreHorizontal:iC,moreVertical:rC,move:fC,noDistrub:AC,notification:E8,notificationYes:K8,openDocument:vC,openVision:y7,paint:yC,paperClip:G7,pin:TC,planeRight:SC,plus:Z8,plus16:J8,plusSmall:Q8,printer:v7,production:R7,profile:n7,profileIcon:t7,qrCode:OC,read:PC,remains:MC,reports:X7,reset:cC,rightBig:i7,rightSmall:r7,search:l7,searchNormal:s7,settings:a7,settingsDark:o7,shadedArrowDown:K7,shadedArrowLeft:J7,shadedArrowRight:Q7,shadedArrowUp:Z7,shippingTasks:z7,shopping:O7,sidebar:_C,slashCircle:wC,smile:xC,star:eC,stepArrowDown:W8,stepArrowUp:I8,supplierDatabase:D7,theBaseOfTheTool:j7,theComplaint:F7,theDatabaseOfMaterials:N7,time:kC,trash:b7,trashSmall:w7,uploadCloud:k7,usersGroup:Y7,warehouse:L7,wastes:B7,writeDowns:V7},Symbol.toStringTag,{value:"Module"})),zC=["data-testid","fill","viewBox"],LC=["innerHTML"],$C=l.defineComponent({__name:"Icon",props:{height:{},width:{},name:{},color:{},dataTestid:{default:"Icon"}},setup(e){const t=e,n=l.computed(()=>({color:t.color,width:`${t.width}px`,height:`${t.height}px`})),i=a=>a.replace(/-./g,o=>o[1].toUpperCase()),r=l.computed(()=>kh[i(t.name)]);return(a,o)=>{var s,u,c;return l.openBlock(),l.createElementBlock("svg",{class:"icon-yui-kit","data-testid":t.dataTestid,style:l.normalizeStyle(n.value),fill:(s=l.unref(kh)[i(t.name)])==null?void 0:s.fill,viewBox:((u=l.unref(kh)[i(t.name)])==null?void 0:u.viewbox)||"0 0 24 24"},[l.createElementVNode("g",{innerHTML:(c=r.value)==null?void 0:c.path},null,8,LC)],12,zC)}}}),me=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},we=me($C,[["__scopeId","data-v-ee4d5302"]]),HC=["data-testid"],RC=["data-testid"],BC=l.defineComponent({__name:"Badges",props:{text:{},type:{default:nt.default},choosed:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dataTestid:{default:"Badges"}},emits:["choose"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.reactive({choosed:i.choosed}),o=l.ref(null),s=()=>!!(o.value&&o.value.scrollWidth>o.value.clientWidth),u=l.ref(s()),c=l.computed(()=>({"base-yui-kit":!0,"default-yui-kit":i.type===nt.default,"blue-yui-kit":i.type===nt.blue,"light-blue-yui-kit":i.type===nt.lightBlue,"contrast-blue-yui-kit":i.type===nt.contrastBlue,"green-yui-kit":i.type===nt.green,"orange-yui-kit":i.type===nt.orange,"red-yui-kit":i.type===nt.red,"pink-yui-kit":i.type===nt.pink,"violet-yui-kit":i.type===nt.violet,"yellow-yui-kit":i.type===nt.yellow,"choosed-yui-kit":i.choosed||a.choosed})),f=()=>{r("choose",a.choosed,i.text),i.disabled||(a.choosed=!a.choosed)},h=new ResizeObserver(()=>{u.value=s()});return t({isSpanOverflow:u}),l.onMounted(()=>{o.value&&h.observe(o.value)}),(g,p)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(c.value),onClick:f,"data-testid":i.dataTestid},[l.createElementVNode("span",{ref_key:"spanRef",ref:o,class:"badges-text","data-testid":`${i.dataTestid}-BadgesText`},l.toDisplayString(i.text),9,RC),l.createVNode(we,{class:"close-icon",width:10,height:10,"data-testid":`${i.dataTestid}-Icon`,name:l.unref(se).closeTag,color:"var(--grey6)"},null,8,["data-testid","name"])],10,HC))}}),Ut=me(BC,[["__scopeId","data-v-af5e7a5f"]]),VC=["data-testid"],FC=["data-testid"],UC=["data-testid"],YC=["data-testid"],XC=["data-testid"],qC=["data-testid"],GC=["title","onClick","data-testid"],KC=["data-testid"],QC=["onClick","data-testid"],JC=["data-testid"],Mh=25,Ch=me(l.defineComponent({__name:"BreadCrumbs",props:{items:{},dataTestid:{default:"BreadCrumbs"}},emits:["click"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({items:[],crumbs:l.computed(()=>{const h=n.items.length<4?n.items.length-1:3;let g=[n.items[0],...n.items.slice(-h)];return n.items.length===1&&(g=[n.items[0]]),g.map(p=>(p.isSub=!1,p))}),subCrumbs:l.computed(()=>n.items.slice(1,-3).map(h=>(h.isSub=!0,h))),getClassesLink:l.computed(()=>(h,g=!1)=>({"bread-crumbs-yui-kit__link":!0,"disabled-yui-kit":!h.path,active:g})),getClassesSpan:l.computed(()=>h=>({"checked-yui-kit":h===r.crumbs.length-1})),fullTitle:l.computed(()=>h=>h.title.length>Mh),isShowList:!1}),a=l.computed(()=>({crumbs:{"bread-crumbs-yui-kit__item":!0},subcrumbs:{"bread-subcrumbs-yui-kit__item":!0}})),o=l.computed(()=>({crumbs:{"bread-subcrumbs-yui-kit":!0,"scroll-yui-kit":!0,"active-yui-kit":r.isShowList}})),s=(h,g)=>{g!==r.items.length-1&&(h.isSub&&u(),n.items.forEach(({path:p},y)=>{p===h.path&&i("click",{title:h.title,path:h.path,inx:y+1})}))},u=()=>r.isShowList=!r.isShowList,c=h=>h.title.length>Mh?h.title.slice(0,Mh).trim()+"...":h.title,f=h=>r.items.length>=5&&h===1;return l.onMounted(()=>r.items=r.crumbs.concat(r.subCrumbs)),(h,g)=>(l.openBlock(),l.createElementBlock("ul",{class:"bread-crumbs-yui-kit","data-testid":n.dataTestid},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.items,(p,y)=>(l.openBlock(),l.createElementBlock("li",{class:l.normalizeClass(a.value.crumbs),key:p.path,"data-testid":`${n.dataTestid}-Crumbs${y}`},[f(y)?(l.openBlock(),l.createElementBlock("div",{key:0,"data-testid":`${n.dataTestid}-ShowSubList${y}`},[l.createElementVNode("span",{class:"bread-crumbs-yui-kit--closed",onClick:u,"data-testid":`${n.dataTestid}-Closed${y}`},"...",8,YC),l.createElementVNode("ul",{class:l.normalizeClass(o.value.crumbs),"data-testid":`${n.dataTestid}-Crumbs${y}`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.subCrumbs,(v,k)=>(l.openBlock(),l.createElementBlock("li",{key:v.path,class:l.normalizeClass(a.value.subcrumbs),"data-testid":`${n.dataTestid}-SubCrumbs${k}`},[l.createElementVNode("span",{title:v.title,onClick:w=>s(v,k),class:l.normalizeClass({"disabled-yui-kit":!v.path}),"data-testid":`${n.dataTestid}-SubCrumbs-Title${k}`},l.toDisplayString(c(v)),11,GC)],10,qC))),128))],10,XC)],8,UC)):l.createCommentVNode("",!0),p.isSub?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",{key:1,class:l.normalizeClass(r.getClassesLink(p,y===r.crumbs.length-1)),"data-testid":`${n.dataTestid}-Classes${y}`},[l.createElementVNode("span",{class:l.normalizeClass(r.getClassesSpan(y)),onClick:v=>s(p,y),"data-testid":`${n.dataTestid}-Checked${y}`},[l.createTextVNode(l.toDisplayString(y!==r.crumbs.length-1?c(p):p.title),1),r.fullTitle(p)&&y!==r.crumbs.length-1?(l.openBlock(),l.createElementBlock("span",{key:0,"data-testid":`${n.dataTestid}-FullName`,class:"fullName-yui-kit"},l.toDisplayString(p.title),9,JC)):l.createCommentVNode("",!0)],10,QC),y!==r.crumbs.length-1?(l.openBlock(),l.createBlock(we,{key:0,name:l.unref(se).rightSmall,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"])):l.createCommentVNode("",!0)],10,KC))],10,FC))),128))],8,VC))}}),[["__scopeId","data-v-07b79f0f"]]);var vn=(e=>(e.small="small",e.medium="medium",e.large="large",e.little="little",e))(vn||{}),Qe=(e=>(e.primary="primary",e.outline="outline",e.ghost="ghost",e.secondary="secondary",e.reject="reject",e.minor="minor",e))(Qe||{});const ZC=["disabled","data-testid"],ex=["data-testid"],tx=["data-testid"],nx=l.defineComponent({__name:"Button",props:{disabled:{type:Boolean,default:!1},size:{default:vn.medium},type:{default:Qe.primary},pill:{type:Boolean,default:!1},backgroundColor:{},color:{default:""},dataTestid:{default:"Button"}},emits:["click"],setup(e,{emit:t}){const n=e,i=t,r=l.computed(()=>({"button-yui-kit":!0,[n.size]:!0,"disabled-yui-kit":n.disabled,"pill-yui-kit":n.pill,"primary-yui-kit":n.type===Qe.primary,"secondary-yui-kit":n.type===Qe.secondary,"outline-yui-kit":n.type===Qe.outline,"reject-yui-kit":n.type===Qe.reject,"ghost-yui-kit":n.type===Qe.ghost,"minor-yui-kit":n.type===Qe.minor})),a=l.computed(()=>({backgroundColor:n.backgroundColor})),o=l.computed(()=>({color:n.color==="primary"||n.color==="secondary"?"black":n.color})),s=u=>i("click",u);return(u,c)=>(l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(r.value),disabled:n.disabled,tabindex:"0",style:l.normalizeStyle(a.value),"data-testid":n.dataTestid,onClick:s,onKeyup:l.withKeys(s,["enter"])},[u.$slots["left-icon"]?(l.openBlock(),l.createElementBlock("span",{key:0,style:l.normalizeStyle(o.value),"data-testid":`${n.dataTestid}-LeftIcon`},[l.renderSlot(u.$slots,"left-icon",{},void 0,!0)],12,ex)):l.createCommentVNode("",!0),l.renderSlot(u.$slots,"default",{},void 0,!0),u.$slots["right-icon"]?(l.openBlock(),l.createElementBlock("span",{key:1,style:l.normalizeStyle(o.value),"data-testid":`${n.dataTestid}-RightIcon`},[l.renderSlot(u.$slots,"right-icon",{},void 0,!0)],12,tx)):l.createCommentVNode("",!0)],46,ZC))}}),yt=me(nx,[["__scopeId","data-v-f06809e2"]]),ix=["data-testid"],rx=["data-testid","onClick"],Eu=me(l.defineComponent({__name:"Switch",props:{items:{},defaultValue:{},isIcons:{type:Boolean},disabled:{type:Boolean},theme:{default:"default"},dataTestid:{default:"Switch"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({activeIndex:0}),a=l.computed(()=>[{"switch-yui-kit-list_default":n.theme==="default","switch-yui-kit-list_contrast":n.theme==="contrast","switch-yui-kit-list_disabled":n.disabled}]),o=f=>({"switch-yui-kit-item":!0,"switch-yui-kit-active":r.activeIndex===f,"switch-yui-kit-active_disabled":r.activeIndex===f&&n.disabled,"switch-yui-kit-item_disabled":n.disabled}),s=f=>typeof f=="string"?f:f.label,u=f=>typeof f=="string"?f:f.value,c=f=>{r.activeIndex!==f&&(r.activeIndex=f,i("change",{index:f,value:u(n.items[f])}))};return l.watch(()=>n.defaultValue,()=>{r.activeIndex=n.defaultValue?n.items.findIndex(f=>u(f)===n.defaultValue)??0:0}),l.onMounted(()=>{if(n.defaultValue){const f=n.items.findIndex(h=>u(h)===n.defaultValue);f!==-1&&(r.activeIndex=f)}}),(f,h)=>(l.openBlock(),l.createElementBlock("ul",{class:l.normalizeClass(["switch-yui-kit-list",a.value]),"data-testid":n.dataTestid},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.items,(g,p)=>(l.openBlock(),l.createElementBlock("li",{key:p,class:l.normalizeClass(o(p)),"data-testid":`${n.dataTestid}-Item${p}`,onClick:y=>c(p)},[n.isIcons?(l.openBlock(),l.createBlock(we,{key:0,name:g,"data-testid":`${n.dataTestid}-Item-Icon${p}`},null,8,["name","data-testid"])):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode(l.toDisplayString(s(g)),1)],64))],10,rx))),128))],10,ix))}}),[["__scopeId","data-v-fc3463e0"]]);function Pt(e){return l.getCurrentScope()?(l.onScopeDispose(e),!0):!1}function le(e){return typeof e=="function"?e():l.unref(e)}const pi={mounted:"mounted",updated:"updated",unmounted:"unmounted"},gi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Au=e=>e!=null,ax=Object.prototype.toString,by=e=>ax.call(e)==="[object Object]",Du=()=>+Date.now(),xh=(e,t,n)=>Math.min(n,Math.max(t,e)),Je=()=>{},Nu=ox();function ox(){var e,t;return gi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function zs(e,t){function n(...i){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(r).catch(a)})}return n}const Sh=e=>e();function sx(e,t={}){let n,i,r=Je;const a=s=>{clearTimeout(s),r(),r=Je};return s=>{const u=le(e),c=le(t.maxWait);return n&&a(n),u<=0||c!==void 0&&c<=0?(i&&(a(i),i=null),Promise.resolve(s())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,c&&!i&&(i=setTimeout(()=>{n&&a(n),i=null,f(s())},c)),n=setTimeout(()=>{i&&a(i),i=null,f(s())},u)})}}function wy(...e){let t=0,n,i=!0,r=Je,a,o,s,u,c;!l.isRef(e[0])&&typeof e[0]=="object"?{delay:o,trailing:s=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[o,s=!0,u=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Je)};return g=>{const p=le(o),y=Date.now()-t,v=()=>a=g();return f(),p<=0?(t=Date.now(),v()):(y>p&&(u||!i)?(t=Date.now(),v()):s&&(a=new Promise((k,w)=>{r=c?w:k,n=setTimeout(()=>{t=Date.now(),i=!0,k(v()),f()},Math.max(0,p-y))})),!u&&!n&&(n=setTimeout(()=>i=!0,p)),i=!1,a)}}function lx(e=Sh){const t=l.ref(!0);function n(){t.value=!1}function i(){t.value=!0}const r=(...a)=>{t.value&&e(...a)};return{isActive:l.readonly(t),pause:n,resume:i,eventFilter:r}}function _h(e,t=!1,n="Timeout"){return new Promise((i,r)=>{setTimeout(t?()=>r(n):i,e)})}function ux(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const i=t;t=void 0,i&&await i},n}function dx(e,t,n=!1){return t.reduce((i,r)=>(r in e&&(!n||e[r]!==void 0)&&(i[r]=e[r]),i),{})}function cx(e){return Object.entries(e)}function vy(e){return l.getCurrentInstance()}function ju(...e){if(e.length!==1)return l.toRef(...e);const t=e[0];return typeof t=="function"?l.readonly(l.customRef(()=>({get:t,set:Je}))):l.ref(t)}function ky(e,t=200,n={}){return zs(sx(t,n),e)}function fx(e,t=200,n=!1,i=!0,r=!1){return zs(wy(t,n,i,r),e)}function hx(e,t,n={}){const{eventFilter:i=Sh,...r}=n;return l.watch(e,zs(i,t),r)}function Iu(e,t,n={}){const{eventFilter:i,...r}=n,{eventFilter:a,pause:o,resume:s,isActive:u}=lx(i);return{stop:hx(e,t,{...r,eventFilter:a}),pause:o,resume:s,isActive:u}}function My(e,t,...[n]){const{flush:i="sync",deep:r=!1,immediate:a=!0,direction:o="both",transform:s={}}=n||{},u=[],c="ltr"in s&&s.ltr||(g=>g),f="rtl"in s&&s.rtl||(g=>g);return(o==="both"||o==="ltr")&&u.push(Iu(e,g=>{u.forEach(p=>p.pause()),t.value=c(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),(o==="both"||o==="rtl")&&u.push(Iu(t,g=>{u.forEach(p=>p.pause()),e.value=f(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),()=>{u.forEach(g=>g.stop())}}function Cy(e,t={}){if(!l.isRef(e))return l.toRefs(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const i in e.value)n[i]=l.customRef(()=>({get(){return e.value[i]},set(r){var a;if((a=le(t.replaceRef))!=null?a:!0)if(Array.isArray(e.value)){const s=[...e.value];s[i]=r,e.value=s}else{const s={...e.value,[i]:r};Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}else e.value[i]=r}}));return n}function tr(e,t=!0,n){vy()?l.onMounted(e,n):t?e():l.nextTick(e)}function mx(e,t){vy()&&l.onUnmounted(e,t)}function Th(e,t=!1){function n(h,{flush:g="sync",deep:p=!1,timeout:y,throwOnTimeout:v}={}){let k=null;const M=[new Promise(x=>{k=l.watch(e,_=>{h(_)!==t&&(k?k():l.nextTick(()=>k==null?void 0:k()),x(_))},{flush:g,deep:p,immediate:!0})})];return y!=null&&M.push(_h(y,v).then(()=>le(e)).finally(()=>k==null?void 0:k())),Promise.race(M)}function i(h,g){if(!l.isRef(h))return n(_=>_===h,g);const{flush:p="sync",deep:y=!1,timeout:v,throwOnTimeout:k}=g??{};let w=null;const x=[new Promise(_=>{w=l.watch([e,h],([S,N])=>{t!==(S===N)&&(w?w():l.nextTick(()=>w==null?void 0:w()),_(S))},{flush:p,deep:y,immediate:!0})})];return v!=null&&x.push(_h(v,k).then(()=>le(e)).finally(()=>(w==null||w(),le(e)))),Promise.race(x)}function r(h){return n(g=>!!g,h)}function a(h){return i(null,h)}function o(h){return i(void 0,h)}function s(h){return n(Number.isNaN,h)}function u(h,g){return n(p=>{const y=Array.from(p);return y.includes(h)||y.includes(le(h))},g)}function c(h){return f(1,h)}function f(h=1,g){let p=-1;return n(()=>(p+=1,p>=h),g)}return Array.isArray(le(e))?{toMatch:n,toContains:u,changed:c,changedTimes:f,get not(){return Th(e,!t)}}:{toMatch:n,toBe:i,toBeTruthy:r,toBeNull:a,toBeNaN:s,toBeUndefined:o,changed:c,changedTimes:f,get not(){return Th(e,!t)}}}function Ph(e){return Th(e)}function xy(e,t=1e3,n={}){const{immediate:i=!0,immediateCallback:r=!1}=n;let a=null;const o=l.ref(!1);function s(){a&&(clearInterval(a),a=null)}function u(){o.value=!1,s()}function c(){const f=le(t);f<=0||(o.value=!0,r&&e(),s(),a=setInterval(e,f))}if(i&&gi&&c(),l.isRef(t)||typeof t=="function"){const f=l.watch(t,()=>{o.value&&gi&&c()});Pt(f)}return Pt(u),{isActive:o,pause:u,resume:c}}function px(e,t,n={}){const{immediate:i=!0}=n,r=l.ref(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,o()}function u(...c){o(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},le(t))}return i&&(r.value=!0,gi&&u()),Pt(s),{isPending:l.readonly(r),start:u,stop:s}}function gx(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,r=l.isRef(e),a=l.ref(e);function o(s){if(arguments.length)return a.value=s,a.value;{const u=le(n);return a.value=a.value===u?le(i):u,a.value}}return r?o:[a,o]}const Re=gi?window:void 0,Eh=gi?window.document:void 0,Ls=gi?window.navigator:void 0;function it(e){var t;const n=le(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ye(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=Re):[t,n,i,r]=e,!t)return Je;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],o=()=>{a.forEach(f=>f()),a.length=0},s=(f,h,g,p)=>(f.addEventListener(h,g,p),()=>f.removeEventListener(h,g,p)),u=l.watch(()=>[it(t),le(r)],([f,h])=>{if(o(),!f)return;const g=by(h)?{...h}:h;a.push(...n.flatMap(p=>i.map(y=>s(f,p,y,g))))},{immediate:!0,flush:"post"}),c=()=>{u(),o()};return Pt(c),c}let Sy=!1;function yx(e,t,n={}){const{window:i=Re,ignore:r=[],capture:a=!0,detectIframe:o=!1}=n;if(!i)return Je;Nu&&!Sy&&(Sy=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",Je)),i.document.documentElement.addEventListener("click",Je));let s=!0;const u=p=>le(r).some(y=>{if(typeof y=="string")return Array.from(i.document.querySelectorAll(y)).some(v=>v===p.target||p.composedPath().includes(v));{const v=it(y);return v&&(p.target===v||p.composedPath().includes(v))}}),c=p=>{const y=it(e);if(!(!y||y===p.target||p.composedPath().includes(y))){if(p.detail===0&&(s=!u(p)),!s){s=!0;return}t(p)}};let f=!1;const h=[ye(i,"click",p=>{f||(f=!0,setTimeout(()=>{f=!1},0),c(p))},{passive:!0,capture:a}),ye(i,"pointerdown",p=>{const y=it(e);s=!u(p)&&!!(y&&!p.composedPath().includes(y))},{passive:!0}),o&&ye(i,"blur",p=>{setTimeout(()=>{var y;const v=it(e);((y=i.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(v!=null&&v.contains(i.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>h.forEach(p=>p())}function bx(){const e=l.ref(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function kn(e){const t=bx();return l.computed(()=>(t.value,!!e()))}function _y(e,t,n={}){const{window:i=Re,...r}=n;let a;const o=kn(()=>i&&"MutationObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const g=le(e),p=(Array.isArray(g)?g:[g]).map(it).filter(Au);return new Set(p)}),c=l.watch(()=>u.value,g=>{s(),o.value&&g.size&&(a=new MutationObserver(t),g.forEach(p=>a.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>a==null?void 0:a.takeRecords(),h=()=>{c(),s()};return Pt(h),{isSupported:o,stop:h,takeRecords:f}}function wx(e={}){var t;const{window:n=Re,deep:i=!0,triggerOnRemoval:r=!1}=e,a=(t=e.document)!=null?t:n==null?void 0:n.document,o=()=>{var c;let f=a==null?void 0:a.activeElement;if(i)for(;f!=null&&f.shadowRoot;)f=(c=f==null?void 0:f.shadowRoot)==null?void 0:c.activeElement;return f},s=l.ref(),u=()=>{s.value=o()};return n&&(ye(n,"blur",c=>{c.relatedTarget===null&&u()},!0),ye(n,"focus",u,!0)),r&&_y(a,c=>{c.filter(f=>f.removedNodes.length).map(f=>Array.from(f.removedNodes)).flat().forEach(f=>{f===s.value&&u()})},{childList:!0,subtree:!0}),u(),s}function Ty(e,t={}){const{immediate:n=!0,fpsLimit:i=void 0,window:r=Re}=t,a=l.ref(!1),o=i?1e3/i:null;let s=0,u=null;function c(g){if(!a.value||!r)return;s||(s=g);const p=g-s;if(o&&p<o){u=r.requestAnimationFrame(c);return}s=g,e({delta:p,timestamp:g}),u=r.requestAnimationFrame(c)}function f(){!a.value&&r&&(a.value=!0,s=0,u=r.requestAnimationFrame(c))}function h(){a.value=!1,u!=null&&r&&(r.cancelAnimationFrame(u),u=null)}return n&&f(),Pt(h),{isActive:l.readonly(a),pause:h,resume:f}}function vx(e={}){const{navigator:t=Ls}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],i=kn(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),r=l.ref(!1),a=l.ref(0),o=l.ref(0),s=l.ref(1);let u;function c(){r.value=this.charging,a.value=this.chargingTime||0,o.value=this.dischargingTime||0,s.value=this.level}return i.value&&t.getBattery().then(f=>{u=f,c.call(u),ye(u,n,c,{passive:!0})}),{isSupported:i,charging:r,chargingTime:a,dischargingTime:o,level:s}}function Sr(e,t={}){const{window:n=Re}=t,i=kn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=l.ref(!1),o=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},u=l.watchEffect(()=>{i.value&&(s(),r=n.matchMedia(le(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),a.value=r.matches)});return Pt(()=>{u(),s(),r=void 0}),a}const Py=["hash","host","hostname","href","pathname","port","protocol","search"];function kx(e={}){const{window:t=Re}=e,n=Object.fromEntries(Py.map(a=>[a,l.ref()]));for(const[a,o]of cx(n))l.watch(o,s=>{!(t!=null&&t.location)||t.location[a]===s||(t.location[a]=s)});const i=a=>{var o;const{state:s,length:u}=(t==null?void 0:t.history)||{},{origin:c}=(t==null?void 0:t.location)||{};for(const f of Py)n[f].value=(o=t==null?void 0:t.location)==null?void 0:o[f];return l.reactive({trigger:a,state:s,length:u,origin:c,...n})},r=l.ref(i("load"));return t&&(ye(t,"popstate",()=>r.value=i("popstate"),{passive:!0}),ye(t,"hashchange",()=>r.value=i("hashchange"),{passive:!0})),r}function Ah(e,t={}){const{controls:n=!1,navigator:i=Ls}=t,r=kn(()=>i&&"permissions"in i),a=l.shallowRef(),o=typeof e=="string"?{name:e}:e,s=l.shallowRef(),u=()=>{var f,h;s.value=(h=(f=a.value)==null?void 0:f.state)!=null?h:"prompt"};ye(a,"change",u);const c=ux(async()=>{if(r.value){if(!a.value)try{a.value=await i.permissions.query(o)}catch{a.value=void 0}finally{u()}if(n)return l.toRaw(a.value)}});return c(),n?{state:s,isSupported:r,query:c}:s}function Mx(e={}){const{navigator:t=Ls,read:n=!1,source:i,copiedDuring:r=1500,legacy:a=!1}=e,o=kn(()=>t&&"clipboard"in t),s=Ah("clipboard-read"),u=Ah("clipboard-write"),c=l.computed(()=>o.value||a),f=l.ref(""),h=l.ref(!1),g=px(()=>h.value=!1,r);function p(){o.value&&w(s.value)?t.clipboard.readText().then(M=>{f.value=M}):f.value=k()}c.value&&n&&ye(["copy","cut"],p);async function y(M=le(i)){c.value&&M!=null&&(o.value&&w(u.value)?await t.clipboard.writeText(M):v(M),f.value=M,h.value=!0,g.start())}function v(M){const x=document.createElement("textarea");x.value=M??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function k(){var M,x,_;return(_=(x=(M=document==null?void 0:document.getSelection)==null?void 0:M.call(document))==null?void 0:x.toString())!=null?_:""}function w(M){return M==="granted"||M==="prompt"}return{isSupported:c,text:f,copied:h,copy:y}}const Wu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ou="__vueuse_ssr_handlers__",Cx=xx();function xx(){return Ou in Wu||(Wu[Ou]=Wu[Ou]||{}),Wu[Ou]}function Ey(e,t){return Cx[e]||t}function Dh(e){return Sr("(prefers-color-scheme: dark)",e)}function Sx(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const _x={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ay="vueuse-storage";function Dy(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=Re,eventFilter:g,onError:p=D=>{console.error(D)},initOnMounted:y}=i,v=(f?l.shallowRef:l.ref)(typeof t=="function"?t():t);if(!n)try{n=Ey("getDefaultStorage",()=>{var D;return(D=Re)==null?void 0:D.localStorage})()}catch(D){p(D)}if(!n)return v;const k=le(t),w=Sx(k),M=(r=i.serializer)!=null?r:_x[w],{pause:x,resume:_}=Iu(v,()=>N(v.value),{flush:a,deep:o,eventFilter:g});h&&s&&tr(()=>{n instanceof Storage?ye(h,"storage",I):ye(h,Ay,L),y&&I()}),y||I();function S(D,z){if(h){const H={key:e,oldValue:D,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(Ay,{detail:H}))}}function N(D){try{const z=n.getItem(e);if(D==null)S(z,null),n.removeItem(e);else{const H=M.write(D);z!==H&&(n.setItem(e,H),S(z,H))}}catch(z){p(z)}}function T(D){const z=D?D.newValue:n.getItem(e);if(z==null)return u&&k!=null&&n.setItem(e,M.write(k)),k;if(!D&&c){const H=M.read(z);return typeof c=="function"?c(H,k):w==="object"&&!Array.isArray(H)?{...k,...H}:H}else return typeof z!="string"?z:M.read(z)}function I(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){v.value=k;return}if(!(D&&D.key!==e)){x();try{(D==null?void 0:D.newValue)!==M.write(v.value)&&(v.value=T(D))}catch(z){p(z)}finally{D?l.nextTick(_):_()}}}}function L(D){I(D.detail)}return v}const Tx="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Px(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:r=Re,storage:a,storageKey:o="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:u,emitAuto:c,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Dh({window:r}),p=l.computed(()=>g.value?"dark":"light"),y=u||(o==null?ju(i):Dy(o,i,a,{window:r,listenToStorageChanges:s})),v=l.computed(()=>y.value==="auto"?p.value:y.value),k=Ey("updateHTMLAttrs",(_,S,N)=>{const T=typeof _=="string"?r==null?void 0:r.document.querySelector(_):it(_);if(!T)return;const I=new Set,L=new Set;let D=null;if(S==="class"){const H=N.split(/\s/g);Object.values(h).flatMap(X=>(X||"").split(/\s/g)).filter(Boolean).forEach(X=>{H.includes(X)?I.add(X):L.add(X)})}else D={key:S,value:N};if(I.size===0&&L.size===0&&D===null)return;let z;f&&(z=r.document.createElement("style"),z.appendChild(document.createTextNode(Tx)),r.document.head.appendChild(z));for(const H of I)T.classList.add(H);for(const H of L)T.classList.remove(H);D&&T.setAttribute(D.key,D.value),f&&(r.getComputedStyle(z).opacity,document.head.removeChild(z))});function w(_){var S;k(t,n,(S=h[_])!=null?S:_)}function M(_){e.onChanged?e.onChanged(_,w):w(_)}l.watch(v,M,{flush:"post",immediate:!0}),tr(()=>M(v.value));const x=l.computed({get(){return c?y.value:v.value},set(_){y.value=_}});try{return Object.assign(x,{store:y,system:p,state:v})}catch{return x}}function Ex(e={}){const{valueDark:t="dark",valueLight:n="",window:i=Re}=e,r=Px({...e,onChanged:(s,u)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",u,s):u(s)},modes:{dark:t,light:n}}),a=l.computed(()=>r.system?r.system.value:Dh({window:i}).value?"dark":"light");return l.computed({get(){return r.value==="dark"},set(s){const u=s?"dark":"light";a.value===u?r.value="auto":r.value=u}})}function Ax(e={}){const{window:t=Re,eventFilter:n=Sh}=e,i=l.ref({x:null,y:null,z:null}),r=l.ref({alpha:null,beta:null,gamma:null}),a=l.ref(0),o=l.ref({x:null,y:null,z:null});if(t){const s=zs(n,u=>{i.value=u.acceleration,o.value=u.accelerationIncludingGravity,r.value=u.rotationRate,a.value=u.interval});ye(t,"devicemotion",s)}return{acceleration:i,accelerationIncludingGravity:o,rotationRate:r,interval:a}}function Dx(e={}){const{window:t=Re}=e,n=kn(()=>t&&"DeviceOrientationEvent"in t),i=l.ref(!1),r=l.ref(null),a=l.ref(null),o=l.ref(null);return t&&n.value&&ye(t,"deviceorientation",s=>{i.value=s.absolute,r.value=s.alpha,a.value=s.beta,o.value=s.gamma}),{isSupported:n,isAbsolute:i,alpha:r,beta:a,gamma:o}}function Nx(e={}){const{window:t=Re}=e,n=l.ref(1);if(t){let i=function(){n.value=t.devicePixelRatio,r(),a=t.matchMedia(`(resolution: ${n.value}dppx)`),a.addEventListener("change",i,{once:!0})},r=function(){a==null||a.removeEventListener("change",i)},a;i(),Pt(r)}return{pixelRatio:n}}function jx(e={}){const{navigator:t=Ls,requestPermissions:n=!1,constraints:i={audio:!0,video:!0},onUpdated:r}=e,a=l.ref([]),o=l.computed(()=>a.value.filter(y=>y.kind==="videoinput")),s=l.computed(()=>a.value.filter(y=>y.kind==="audioinput")),u=l.computed(()=>a.value.filter(y=>y.kind==="audiooutput")),c=kn(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=l.ref(!1);let h;async function g(){c.value&&(a.value=await t.mediaDevices.enumerateDevices(),r==null||r(a.value),h&&(h.getTracks().forEach(y=>y.stop()),h=null))}async function p(){if(!c.value)return!1;if(f.value)return!0;const{state:y,query:v}=Ah("camera",{controls:!0});return await v(),y.value!=="granted"&&(h=await t.mediaDevices.getUserMedia(i),g()),f.value=!0,f.value}return c.value&&(n&&p(),ye(t.mediaDevices,"devicechange",g),g()),{devices:a,ensurePermissions:p,permissionGranted:f,videoInputs:o,audioInputs:s,audioOutputs:u,isSupported:c}}function Ix(e={}){const{document:t=Eh}=e;if(!t)return l.ref("visible");const n=l.ref(t.visibilityState);return ye(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Wx(e,t={}){var n,i;const{pointerTypes:r,preventDefault:a,stopPropagation:o,exact:s,onMove:u,onEnd:c,onStart:f,initialValue:h,axis:g="both",draggingElement:p=Re,containerElement:y,handle:v=e,buttons:k=[0]}=t,w=l.ref((n=le(h))!=null?n:{x:0,y:0}),M=l.ref(),x=I=>r?r.includes(I.pointerType):!0,_=I=>{le(a)&&I.preventDefault(),le(o)&&I.stopPropagation()},S=I=>{var L;if(!le(k).includes(I.button)||le(t.disabled)||!x(I)||le(s)&&I.target!==le(e))return;const D=le(y),z=(L=D==null?void 0:D.getBoundingClientRect)==null?void 0:L.call(D),H=le(e).getBoundingClientRect(),X={x:I.clientX-(D?H.left-z.left+D.scrollLeft:H.left),y:I.clientY-(D?H.top-z.top+D.scrollTop:H.top)};(f==null?void 0:f(X,I))!==!1&&(M.value=X,_(I))},N=I=>{if(le(t.disabled)||!x(I)||!M.value)return;const L=le(y),D=le(e).getBoundingClientRect();let{x:z,y:H}=w.value;(g==="x"||g==="both")&&(z=I.clientX-M.value.x,L&&(z=Math.min(Math.max(0,z),L.scrollWidth-D.width))),(g==="y"||g==="both")&&(H=I.clientY-M.value.y,L&&(H=Math.min(Math.max(0,H),L.scrollHeight-D.height))),w.value={x:z,y:H},u==null||u(w.value,I),_(I)},T=I=>{le(t.disabled)||!x(I)||M.value&&(M.value=void 0,c==null||c(w.value,I),_(I))};if(gi){const I={capture:(i=t.capture)!=null?i:!0};ye(v,"pointerdown",S,I),ye(p,"pointermove",N,I),ye(p,"pointerup",T,I)}return{...Cy(w),position:w,isDragging:l.computed(()=>!!M.value),style:l.computed(()=>`left:${w.value.x}px;top:${w.value.y}px;`)}}function Ny(e,t,n={}){const{window:i=Re,...r}=n;let a;const o=kn(()=>i&&"ResizeObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const h=le(e);return Array.isArray(h)?h.map(g=>it(g)):[it(h)]}),c=l.watch(u,h=>{if(s(),o.value&&i){a=new ResizeObserver(t);for(const g of h)g&&a.observe(g,r)}},{immediate:!0,flush:"post"}),f=()=>{s(),c()};return Pt(f),{isSupported:o,stop:f}}function Ox(e,t={}){const{reset:n=!0,windowResize:i=!0,windowScroll:r=!0,immediate:a=!0,updateTiming:o="sync"}=t,s=l.ref(0),u=l.ref(0),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0);function v(){const w=it(e);if(!w){n&&(s.value=0,u.value=0,c.value=0,f.value=0,h.value=0,g.value=0,p.value=0,y.value=0);return}const M=w.getBoundingClientRect();s.value=M.height,u.value=M.bottom,c.value=M.left,f.value=M.right,h.value=M.top,g.value=M.width,p.value=M.x,y.value=M.y}function k(){o==="sync"?v():o==="next-frame"&&requestAnimationFrame(()=>v())}return Ny(e,k),l.watch(()=>it(e),w=>!w&&k()),_y(e,k,{attributeFilter:["style","class"]}),r&&ye("scroll",k,{capture:!0,passive:!0}),i&&ye("resize",k,{passive:!0}),tr(()=>{a&&k()}),{height:s,bottom:u,left:c,right:f,top:h,width:g,x:p,y,update:k}}function jy(e,t={width:0,height:0},n={}){const{window:i=Re,box:r="content-box"}=n,a=l.computed(()=>{var h,g;return(g=(h=it(e))==null?void 0:h.namespaceURI)==null?void 0:g.includes("svg")}),o=l.ref(t.width),s=l.ref(t.height),{stop:u}=Ny(e,([h])=>{const g=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(i&&a.value){const p=it(e);if(p){const y=p.getBoundingClientRect();o.value=y.width,s.value=y.height}}else if(g){const p=Array.isArray(g)?g:[g];o.value=p.reduce((y,{inlineSize:v})=>y+v,0),s.value=p.reduce((y,{blockSize:v})=>y+v,0)}else o.value=h.contentRect.width,s.value=h.contentRect.height},n);tr(()=>{const h=it(e);h&&(o.value="offsetWidth"in h?h.offsetWidth:t.width,s.value="offsetHeight"in h?h.offsetHeight:t.height)});const c=l.watch(()=>it(e),h=>{o.value=h?t.width:0,s.value=h?t.height:0});function f(){u(),c()}return{width:o,height:s,stop:f}}function zx(e,t,n={}){const{root:i,rootMargin:r="0px",threshold:a=0,window:o=Re,immediate:s=!0}=n,u=kn(()=>o&&"IntersectionObserver"in o),c=l.computed(()=>{const y=le(e);return(Array.isArray(y)?y:[y]).map(it).filter(Au)});let f=Je;const h=l.ref(s),g=u.value?l.watch(()=>[c.value,it(i),h.value],([y,v])=>{if(f(),!h.value||!y.length)return;const k=new IntersectionObserver(t,{root:it(v),rootMargin:r,threshold:a});y.forEach(w=>w&&k.observe(w)),f=()=>{k.disconnect(),f=Je}},{immediate:s,flush:"post"}):Je,p=()=>{f(),g(),h.value=!1};return Pt(p),{isSupported:u,isActive:h,pause(){f(),h.value=!1},resume(){h.value=!0},stop:p}}function Lx(e,t={}){const{window:n=Re,scrollTarget:i,threshold:r=0}=t,a=l.ref(!1);return zx(e,o=>{let s=a.value,u=0;for(const c of o)c.time>=u&&(u=c.time,s=c.isIntersecting);a.value=s},{root:i,window:n,threshold:r}),a}function $x(e={}){const{initialValue:t=""}=e,n=kn(()=>typeof window<"u"&&"EyeDropper"in window),i=l.ref(t);async function r(a){if(!n.value)return;const s=await new window.EyeDropper().open(a);return i.value=s.sRGBHex,s}return{isSupported:n,sRGBHex:i,open:r}}const Iy=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Hx(e,t={}){const{document:n=Eh,autoExit:i=!1}=t,r=l.computed(()=>{var w;return(w=it(e))!=null?w:n==null?void 0:n.querySelector("html")}),a=l.ref(!1),o=l.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),s=l.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),u=l.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||r.value&&w in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),f=kn(()=>r.value&&n&&o.value!==void 0&&s.value!==void 0&&u.value!==void 0),h=()=>c?(n==null?void 0:n[c])===r.value:!1,g=()=>{if(u.value){if(n&&n[u.value]!=null)return n[u.value];{const w=r.value;if((w==null?void 0:w[u.value])!=null)return!!w[u.value]}}return!1};async function p(){if(!(!f.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const w=r.value;(w==null?void 0:w[s.value])!=null&&await w[s.value]()}a.value=!1}}async function y(){if(!f.value||a.value)return;g()&&await p();const w=r.value;o.value&&(w==null?void 0:w[o.value])!=null&&(await w[o.value](),a.value=!0)}async function v(){await(a.value?p():y())}const k=()=>{const w=g();(!w||w&&h())&&(a.value=w)};return ye(n,Iy,k,!1),ye(()=>it(r),Iy,k,!1),i&&Pt(p),{isSupported:f,isFullscreen:a,enter:y,exit:p,toggle:v}}function Rx(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:i=27e3,navigator:r=Ls,immediate:a=!0}=e,o=kn(()=>r&&"geolocation"in r),s=l.ref(null),u=l.shallowRef(null),c=l.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(y){s.value=y.timestamp,c.value=y.coords,u.value=null}let h;function g(){o.value&&(h=r.geolocation.watchPosition(f,y=>u.value=y,{enableHighAccuracy:t,maximumAge:n,timeout:i}))}a&&g();function p(){h&&r&&r.geolocation.clearWatch(h)}return Pt(()=>{p()}),{isSupported:o,coords:c,locatedAt:s,error:u,resume:g,pause:p}}const Bx=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Vx=6e4;function Fx(e=Vx,t={}){const{initialState:n=!1,listenForVisibilityChange:i=!0,events:r=Bx,window:a=Re,eventFilter:o=wy(50)}=t,s=l.ref(n),u=l.ref(Du());let c;const f=()=>{s.value=!1,clearTimeout(c),c=setTimeout(()=>s.value=!0,e)},h=zs(o,()=>{u.value=Du(),f()});if(a){const g=a.document;for(const p of r)ye(a,p,h,{passive:!0});i&&ye(g,"visibilitychange",()=>{g.hidden||h()}),f()}return{idle:s,lastActive:u,reset:f}}const Ux={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Wy(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:r={x:0,y:0},window:a=Re,target:o=a,scroll:s=!0,eventFilter:u}=e;let c=null;const f=l.ref(r.x),h=l.ref(r.y),g=l.ref(null),p=typeof t=="function"?t:Ux[t],y=S=>{const N=p(S);c=S,N&&([f.value,h.value]=N,g.value="mouse")},v=S=>{if(S.touches.length>0){const N=p(S.touches[0]);N&&([f.value,h.value]=N,g.value="touch")}},k=()=>{if(!c||!a)return;const S=p(c);c instanceof MouseEvent&&S&&(f.value=S[0]+a.scrollX,h.value=S[1]+a.scrollY)},w=()=>{f.value=r.x,h.value=r.y},M=u?S=>u(()=>y(S),{}):S=>y(S),x=u?S=>u(()=>v(S),{}):S=>v(S),_=u?()=>u(()=>k(),{}):()=>k();if(o){const S={passive:!0};ye(o,["mousemove","dragover"],M,S),n&&t!=="movement"&&(ye(o,["touchstart","touchmove"],x,S),i&&ye(o,"touchend",w,S)),s&&t==="page"&&ye(a,"scroll",_,{passive:!0})}return{x:f,y:h,sourceType:g}}function Yx(e,t={}){const{handleOutside:n=!0,window:i=Re}=t,r=t.type||"page",{x:a,y:o,sourceType:s}=Wy(t),u=l.ref(e??(i==null?void 0:i.document.body)),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0),v=l.ref(!0);let k=()=>{};return i&&(k=l.watch([u,a,o],()=>{const w=it(u);if(!w||!(w instanceof Element))return;const{left:M,top:x,width:_,height:S}=w.getBoundingClientRect();h.value=M+(r==="page"?i.pageXOffset:0),g.value=x+(r==="page"?i.pageYOffset:0),p.value=S,y.value=_;const N=a.value-h.value,T=o.value-g.value;v.value=_===0||S===0||N<0||T<0||N>_||T>S,(n||!v.value)&&(c.value=N,f.value=T)},{immediate:!0}),ye(document,"mouseleave",()=>{v.value=!0})),{x:a,y:o,sourceType:s,elementX:c,elementY:f,elementPositionX:h,elementPositionY:g,elementHeight:p,elementWidth:y,isOutside:v,stop:k}}function Xx(e={}){const{touch:t=!0,drag:n=!0,capture:i=!1,initialValue:r=!1,window:a=Re}=e,o=l.ref(r),s=l.ref(null);if(!a)return{pressed:o,sourceType:s};const u=h=>()=>{o.value=!0,s.value=h},c=()=>{o.value=!1,s.value=null},f=l.computed(()=>it(e.target)||a);return ye(f,"mousedown",u("mouse"),{passive:!0,capture:i}),ye(a,"mouseleave",c,{passive:!0,capture:i}),ye(a,"mouseup",c,{passive:!0,capture:i}),n&&(ye(f,"dragstart",u("mouse"),{passive:!0,capture:i}),ye(a,"drop",c,{passive:!0,capture:i}),ye(a,"dragend",c,{passive:!0,capture:i})),t&&(ye(f,"touchstart",u("touch"),{passive:!0,capture:i}),ye(a,"touchend",c,{passive:!0,capture:i}),ye(a,"touchcancel",c,{passive:!0,capture:i})),{pressed:o,sourceType:s}}function Oy(e={}){const{window:t=Re}=e,n=t==null?void 0:t.navigator,i=kn(()=>n&&"connection"in n),r=l.ref(!0),a=l.ref(!1),o=l.ref(void 0),s=l.ref(void 0),u=l.ref(void 0),c=l.ref(void 0),f=l.ref(void 0),h=l.ref(void 0),g=l.ref("unknown"),p=i.value&&n.connection;function y(){n&&(r.value=n.onLine,o.value=r.value?void 0:Date.now(),s.value=r.value?Date.now():void 0,p&&(u.value=p.downlink,c.value=p.downlinkMax,h.value=p.effectiveType,f.value=p.rtt,a.value=p.saveData,g.value=p.type))}return t&&(ye(t,"offline",()=>{r.value=!1,o.value=Date.now()}),ye(t,"online",()=>{r.value=!0,s.value=Date.now()})),p&&ye(p,"change",y,!1),y(),{isSupported:l.readonly(i),isOnline:l.readonly(r),saveData:l.readonly(a),offlineAt:l.readonly(o),onlineAt:l.readonly(s),downlink:l.readonly(u),downlinkMax:l.readonly(c),effectiveType:l.readonly(h),rtt:l.readonly(f),type:l.readonly(g)}}function zy(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,i=l.ref(new Date),r=()=>i.value=new Date,a=n==="requestAnimationFrame"?Ty(r,{immediate:!0}):xy(r,n,{immediate:!0});return t?{now:i,...a}:i}function qx(e){const t=l.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return l.watch(()=>le(e),i=>{n(),i&&(t.value=URL.createObjectURL(i))},{immediate:!0}),Pt(n),l.readonly(t)}function Ly(e,t,n){if(typeof e=="function"||l.isReadonly(e))return l.computed(()=>xh(le(e),le(t),le(n)));const i=l.ref(e);return l.computed({get(){return i.value=xh(i.value,le(t),le(n))},set(r){i.value=xh(r,le(t),le(n))}})}function Gx(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:i=1,onPageChange:r=Je,onPageSizeChange:a=Je,onPageCountChange:o=Je}=e,s=Ly(n,1,Number.POSITIVE_INFINITY),u=l.computed(()=>Math.max(1,Math.ceil(le(t)/le(s)))),c=Ly(i,1,u),f=l.computed(()=>c.value===1),h=l.computed(()=>c.value===u.value);l.isRef(i)&&My(i,c,{direction:l.isReadonly(i)?"ltr":"both"}),l.isRef(n)&&My(n,s,{direction:l.isReadonly(n)?"ltr":"both"});function g(){c.value--}function p(){c.value++}const y={currentPage:c,currentPageSize:s,pageCount:u,isFirstPage:f,isLastPage:h,prev:g,next:p};return l.watch(c,()=>{r(l.reactive(y))}),l.watch(s,()=>{a(l.reactive(y))}),l.watch(u,()=>{o(l.reactive(y))}),y}function Kx(e={}){const{isOnline:t}=Oy(e);return t}function Qx(e={}){const{window:t=Re}=e,n=l.ref(!1),i=r=>{if(!t)return;r=r||t.event;const a=r.relatedTarget||r.toElement;n.value=!a};return t&&(ye(t,"mouseout",i,{passive:!0}),ye(t.document,"mouseleave",i,{passive:!0}),ye(t.document,"mouseenter",i,{passive:!0})),n}const $y={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Jx=Object.keys($y);function Zx(e={}){const{target:t=Re}=e,n=l.ref(!1),i=l.ref(e.initialValue||{});Object.assign(i.value,$y,i.value);const r=a=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(a.pointerType))&&(i.value=dx(a,Jx,!1))};if(t){const a={passive:!0};ye(t,["pointerdown","pointermove","pointerup"],r,a),ye(t,"pointerleave",()=>n.value=!1,a)}return{...Cy(i),isInside:n}}function eS(e,t={}){const{document:n=Eh}=t,i=kn(()=>n&&"pointerLockElement"in n),r=l.ref(),a=l.ref();let o;i.value&&(ye(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;o&&f===o&&(r.value=n.pointerLockElement,r.value||(o=a.value=null))}),ye(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;if(o&&f===o){const h=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${h} pointer lock.`)}}));async function s(c){var f;if(!i.value)throw new Error("Pointer Lock API is not supported by your browser.");if(a.value=c instanceof Event?c.currentTarget:null,o=c instanceof Event?(f=it(e))!=null?f:a.value:it(c),!o)throw new Error("Target element undefined.");return o.requestPointerLock(),await Ph(r).toBe(o)}async function u(){return r.value?(n.exitPointerLock(),await Ph(r).toBeNull(),!0):!1}return{isSupported:i,element:r,triggerElement:a,lock:s,unlock:u}}function tS(e){const t=Sr("(prefers-color-scheme: light)",e),n=Sr("(prefers-color-scheme: dark)",e);return l.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function nS(e){const t=Sr("(prefers-contrast: more)",e),n=Sr("(prefers-contrast: less)",e),i=Sr("(prefers-contrast: custom)",e);return l.computed(()=>t.value?"more":n.value?"less":i.value?"custom":"no-preference")}function iS(e={}){const{window:t=Re}=e;if(!t)return l.ref(["en"]);const n=t.navigator,i=l.ref(n.languages);return ye(t,"languagechange",()=>{i.value=n.languages}),i}function rS(e){const t=Sr("(prefers-reduced-motion: reduce)",e);return l.computed(()=>t.value?"reduce":"no-preference")}const aS=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],oS={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function sS(e){return e.toISOString().slice(0,10)}function lS(e,t={}){const{controls:n=!1,updateInterval:i=3e4}=t,{now:r,...a}=zy({interval:i,controls:!0}),o=l.computed(()=>uS(new Date(le(e)),t,le(r)));return n?{timeAgo:o,...a}:o}function uS(e,t={},n=Date.now()){var i;const{max:r,messages:a=oS,fullDateFormatter:o=sS,units:s=aS,showSecond:u=!1,rounding:c="round"}=t,f=typeof c=="number"?k=>+k.toFixed(c):Math[c],h=+n-+e,g=Math.abs(h);function p(k,w){return f(Math.abs(k)/w.value)}function y(k,w){const M=p(k,w),x=k>0,_=v(w.name,M,x);return v(x?"past":"future",_,x)}function v(k,w,M){const x=a[k];return typeof x=="function"?x(w,M):x.replace("{0}",w.toString())}if(g<6e4&&!u)return a.justNow;if(typeof r=="number"&&g>r)return o(new Date(e));if(typeof r=="string"){const k=(i=s.find(w=>w.name===r))==null?void 0:i.max;if(k&&g>k)return o(new Date(e))}for(const[k,w]of s.entries()){if(p(h,w)<=0&&s[k-1])return y(h,s[k-1]);if(g<w.max)return y(h,w)}return a.invalid}function dS(e={}){const{controls:t=!1,offset:n=0,immediate:i=!0,interval:r="requestAnimationFrame",callback:a}=e,o=l.ref(Du()+n),s=()=>o.value=Du()+n,u=a?()=>{s(),a(o.value)}:s,c=r==="requestAnimationFrame"?Ty(u,{immediate:i}):xy(u,r,{immediate:i});return t?{timestamp:o,...c}:o}function cS(e,t){const{containerStyle:n,wrapperProps:i,scrollTo:r,calculateRange:a,currentList:o,containerRef:s}="itemHeight"in t?mS(t,e):hS(t,e);return{list:o,scrollTo:r,containerProps:{ref:s,onScroll:()=>{a()},style:n},wrapperProps:i}}function Hy(e){const t=l.ref(null),n=jy(t),i=l.ref([]),r=l.shallowRef(e);return{state:l.ref({start:0,end:10}),source:r,currentList:i,size:n,containerRef:t}}function Ry(e,t,n){return i=>{if(typeof n=="number")return Math.ceil(i/n);const{start:r=0}=e.value;let a=0,o=0;for(let s=r;s<t.value.length;s++){const u=n(s);if(a+=u,o=s,a>i)break}return o-r}}function By(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let i=0,r=0;for(let a=0;a<e.value.length;a++){const o=t(a);if(i+=o,i>=n){r=a;break}}return r+1}}function Vy(e,t,n,i,{containerRef:r,state:a,currentList:o,source:s}){return()=>{const u=r.value;if(u){const c=n(e==="vertical"?u.scrollTop:u.scrollLeft),f=i(e==="vertical"?u.clientHeight:u.clientWidth),h=c-t,g=c+f+t;a.value={start:h<0?0:h,end:g>s.value.length?s.value.length:g},o.value=s.value.slice(a.value.start,a.value.end).map((p,y)=>({data:p,index:y+a.value.start}))}}}function Fy(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((r,a,o)=>r+e(o),0)}function Uy(e,t,n,i){l.watch([e.width,e.height,t,n],()=>{i()})}function Yy(e,t){return l.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,i,r)=>n+e(r),0))}const fS={horizontal:"scrollLeft",vertical:"scrollTop"};function Xy(e,t,n,i){return r=>{i.value&&(i.value[fS[e]]=n(r),t())}}function hS(e,t){const n=Hy(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,h=Ry(i,r,c),g=By(r,c),p=Vy("horizontal",f,g,h,n),y=Fy(c,r),v=l.computed(()=>y(i.value.start)),k=Yy(c,r);Uy(o,t,s,p);const w=Xy("horizontal",p,y,s),M=l.computed(()=>({style:{height:"100%",width:`${k.value-v.value}px`,marginLeft:`${v.value}px`,display:"flex"}}));return{scrollTo:w,calculateRange:p,wrapperProps:M,containerStyle:u,currentList:a,containerRef:s}}function mS(e,t){const n=Hy(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,h=Ry(i,r,c),g=By(r,c),p=Vy("vertical",f,g,h,n),y=Fy(c,r),v=l.computed(()=>y(i.value.start)),k=Yy(c,r);Uy(o,t,s,p);const w=Xy("vertical",p,y,s),M=l.computed(()=>({style:{width:"100%",height:`${k.value-v.value}px`,marginTop:`${v.value}px`}}));return{calculateRange:p,scrollTo:w,containerStyle:u,wrapperProps:M,currentList:a,containerRef:s}}function pS(e={}){const{window:t=Re}=e;if(!t)return l.ref(!1);const n=l.ref(t.document.hasFocus());return ye(t,"blur",()=>{n.value=!1}),ye(t,"focus",()=>{n.value=!0}),n}function gS(e={}){const{window:t=Re,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:a=!0,type:o="inner"}=e,s=l.ref(n),u=l.ref(i),c=()=>{t&&(o==="outer"?(s.value=t.outerWidth,u.value=t.outerHeight):a?(s.value=t.innerWidth,u.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};if(c(),tr(c),ye("resize",c,{passive:!0}),r){const f=Sr("(orientation: portrait)");l.watch(f,()=>c())}return{width:s,height:u}}const yS=l.defineComponent({name:"OnClickOutside",props:["as","options"],emits:["trigger"],setup(e,{slots:t,emit:n}){const i=l.ref();return yx(i,r=>{n("trigger",r)},e.options),()=>{if(t.default)return l.h(e.as||"div",{ref:i},t.default())}}}),Yt=gi?window:void 0;function Et(e){var t;const n=le(e);return(t=n==null?void 0:n.$el)!=null?t:n}function nn(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=Yt):[t,n,i,r]=e,!t)return Je;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],o=()=>{a.forEach(f=>f()),a.length=0},s=(f,h,g,p)=>(f.addEventListener(h,g,p),()=>f.removeEventListener(h,g,p)),u=l.watch(()=>[Et(t),le(r)],([f,h])=>{if(o(),!f)return;const g=by(h)?{...h}:h;a.push(...n.flatMap(p=>i.map(y=>s(f,p,y,g))))},{immediate:!0,flush:"post"}),c=()=>{u(),o()};return Pt(c),c}let qy=!1;function Gy(e,t,n={}){const{window:i=Yt,ignore:r=[],capture:a=!0,detectIframe:o=!1}=n;if(!i)return Je;Nu&&!qy&&(qy=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",Je)),i.document.documentElement.addEventListener("click",Je));let s=!0;const u=p=>le(r).some(y=>{if(typeof y=="string")return Array.from(i.document.querySelectorAll(y)).some(v=>v===p.target||p.composedPath().includes(v));{const v=Et(y);return v&&(p.target===v||p.composedPath().includes(v))}}),c=p=>{const y=Et(e);if(!(!y||y===p.target||p.composedPath().includes(y))){if(p.detail===0&&(s=!u(p)),!s){s=!0;return}t(p)}};let f=!1;const h=[nn(i,"click",p=>{f||(f=!0,setTimeout(()=>{f=!1},0),c(p))},{passive:!0,capture:a}),nn(i,"pointerdown",p=>{const y=Et(e);s=!u(p)&&!!(y&&!p.composedPath().includes(y))},{passive:!0}),o&&nn(i,"blur",p=>{setTimeout(()=>{var y;const v=Et(e);((y=i.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(v!=null&&v.contains(i.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>h.forEach(p=>p())}const vo={[pi.mounted](e,t){const n=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=Gy(e,t.value,{capture:n});else{const[i,r]=t.value;e.__onClickOutside_stop=Gy(e,i,Object.assign({capture:n},r))}},[pi.unmounted](e){e.__onClickOutside_stop()}};function bS(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ky(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Yt,eventName:a="keydown",passive:o=!1,dedupe:s=!1}=i,u=bS(t);return nn(r,a,f=>{f.repeat&&le(s)||u(f)&&n(f)},o)}const wS={[pi.mounted](e,t){var n,i;const r=(i=(n=t.arg)==null?void 0:n.split(","))!=null?i:!0;if(typeof t.value=="function")Ky(r,t.value,{target:e});else{const[a,o]=t.value;Ky(r,a,{target:e,...o})}}},vS=500,kS=10;function Nh(e,t,n){var i,r;const a=l.computed(()=>Et(e));let o,s,u,c=!1;function f(){o&&(clearTimeout(o),o=void 0),s=void 0,u=void 0,c=!1}function h(w){var M,x,_;const[S,N,T]=[u,s,c];if(f(),!(n!=null&&n.onMouseUp)||!N||!S||(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const I=w.x-N.x,L=w.y-N.y,D=Math.sqrt(I*I+L*L);n.onMouseUp(w.timeStamp-S,D,T)}function g(w){var M,x,_,S;(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||(f(),(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation(),s={x:w.x,y:w.y},u=w.timeStamp,o=setTimeout(()=>{c=!0,t(w)},(S=n==null?void 0:n.delay)!=null?S:vS))}function p(w){var M,x,_,S;if((M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||!s||(n==null?void 0:n.distanceThreshold)===!1)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const N=w.x-s.x,T=w.y-s.y;Math.sqrt(N*N+T*T)>=((S=n==null?void 0:n.distanceThreshold)!=null?S:kS)&&f()}const y={capture:(i=n==null?void 0:n.modifiers)==null?void 0:i.capture,once:(r=n==null?void 0:n.modifiers)==null?void 0:r.once},v=[nn(a,"pointerdown",g,y),nn(a,"pointermove",p,y),nn(a,["pointerup","pointerleave"],h,y)];return()=>v.forEach(w=>w())}const MS=l.defineComponent({name:"OnLongPress",props:["as","options"],emits:["trigger"],setup(e,{slots:t,emit:n}){const i=l.ref();return Nh(i,r=>{n("trigger",r)},e.options),()=>{if(t.default)return l.h(e.as||"div",{ref:i},t.default())}}}),Qy={[pi.mounted](e,t){typeof t.value=="function"?Nh(e,t.value,{modifiers:t.modifiers}):Nh(e,...t.value)}},CS=l.defineComponent({name:"UseActiveElement",setup(e,{slots:t}){const n=l.reactive({element:wx()});return()=>{if(t.default)return t.default(n)}}}),xS=l.defineComponent({name:"UseBattery",setup(e,{slots:t}){const n=l.reactive(vx(e));return()=>{if(t.default)return t.default(n)}}}),SS=l.defineComponent({name:"UseBrowserLocation",setup(e,{slots:t}){const n=l.reactive(kx());return()=>{if(t.default)return t.default(n)}}}),_S=l.defineComponent({name:"UseClipboard",props:["source","read","navigator","copiedDuring","legacy"],setup(e,{slots:t}){const n=l.reactive(Mx(e));return()=>{var i;return(i=t.default)==null?void 0:i.call(t,n)}}}),zu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lu="__vueuse_ssr_handlers__",TS=PS();function PS(){return Lu in zu||(zu[Lu]=zu[Lu]||{}),zu[Lu]}function Jy(e,t){return TS[e]||t}function ES(){const e=l.ref(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function $u(e){const t=ES();return l.computed(()=>(t.value,!!e()))}function AS(e,t={}){const{window:n=Yt}=t,i=$u(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=l.ref(!1),o=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},u=l.watchEffect(()=>{i.value&&(s(),r=n.matchMedia(le(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),a.value=r.matches)});return Pt(()=>{u(),s(),r=void 0}),a}function DS(e){return AS("(prefers-color-scheme: dark)",e)}function NS(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const jS={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Zy="vueuse-storage";function IS(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=Yt,eventFilter:g,onError:p=D=>{console.error(D)},initOnMounted:y}=i,v=(f?l.shallowRef:l.ref)(typeof t=="function"?t():t);if(!n)try{n=Jy("getDefaultStorage",()=>{var D;return(D=Yt)==null?void 0:D.localStorage})()}catch(D){p(D)}if(!n)return v;const k=le(t),w=NS(k),M=(r=i.serializer)!=null?r:jS[w],{pause:x,resume:_}=Iu(v,()=>N(v.value),{flush:a,deep:o,eventFilter:g});h&&s&&tr(()=>{n instanceof Storage?nn(h,"storage",I):nn(h,Zy,L),y&&I()}),y||I();function S(D,z){if(h){const H={key:e,oldValue:D,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(Zy,{detail:H}))}}function N(D){try{const z=n.getItem(e);if(D==null)S(z,null),n.removeItem(e);else{const H=M.write(D);z!==H&&(n.setItem(e,H),S(z,H))}}catch(z){p(z)}}function T(D){const z=D?D.newValue:n.getItem(e);if(z==null)return u&&k!=null&&n.setItem(e,M.write(k)),k;if(!D&&c){const H=M.read(z);return typeof c=="function"?c(H,k):w==="object"&&!Array.isArray(H)?{...k,...H}:H}else return typeof z!="string"?z:M.read(z)}function I(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){v.value=k;return}if(!(D&&D.key!==e)){x();try{(D==null?void 0:D.newValue)!==M.write(v.value)&&(v.value=T(D))}catch(z){p(z)}finally{D?l.nextTick(_):_()}}}}function L(D){I(D.detail)}return v}const WS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function OS(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:r=Yt,storage:a,storageKey:o="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:u,emitAuto:c,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=DS({window:r}),p=l.computed(()=>g.value?"dark":"light"),y=u||(o==null?ju(i):IS(o,i,a,{window:r,listenToStorageChanges:s})),v=l.computed(()=>y.value==="auto"?p.value:y.value),k=Jy("updateHTMLAttrs",(_,S,N)=>{const T=typeof _=="string"?r==null?void 0:r.document.querySelector(_):Et(_);if(!T)return;const I=new Set,L=new Set;let D=null;if(S==="class"){const H=N.split(/\s/g);Object.values(h).flatMap(X=>(X||"").split(/\s/g)).filter(Boolean).forEach(X=>{H.includes(X)?I.add(X):L.add(X)})}else D={key:S,value:N};if(I.size===0&&L.size===0&&D===null)return;let z;f&&(z=r.document.createElement("style"),z.appendChild(document.createTextNode(WS)),r.document.head.appendChild(z));for(const H of I)T.classList.add(H);for(const H of L)T.classList.remove(H);D&&T.setAttribute(D.key,D.value),f&&(r.getComputedStyle(z).opacity,document.head.removeChild(z))});function w(_){var S;k(t,n,(S=h[_])!=null?S:_)}function M(_){e.onChanged?e.onChanged(_,w):w(_)}l.watch(v,M,{flush:"post",immediate:!0}),tr(()=>M(v.value));const x=l.computed({get(){return c?y.value:v.value},set(_){y.value=_}});try{return Object.assign(x,{store:y,system:p,state:v})}catch{return x}}const zS=l.defineComponent({name:"UseColorMode",props:["selector","attribute","modes","onChanged","storageKey","storage","emitAuto"],setup(e,{slots:t}){const n=OS(e),i=l.reactive({mode:n,system:n.system,store:n.store});return()=>{if(t.default)return t.default(i)}}}),LS=l.defineComponent({name:"UseDark",props:["selector","attribute","valueDark","valueLight","onChanged","storageKey","storage"],setup(e,{slots:t}){const n=Ex(e),i=l.reactive({isDark:n,toggleDark:gx(n)});return()=>{if(t.default)return t.default(i)}}}),$S=l.defineComponent({name:"UseDeviceMotion",setup(e,{slots:t}){const n=l.reactive(Ax());return()=>{if(t.default)return t.default(n)}}}),HS=l.defineComponent({name:"UseDeviceOrientation",setup(e,{slots:t}){const n=l.reactive(Dx());return()=>{if(t.default)return t.default(n)}}}),RS=l.defineComponent({name:"UseDevicePixelRatio",setup(e,{slots:t}){const n=l.reactive({pixelRatio:Nx()});return()=>{if(t.default)return t.default(n)}}}),BS=l.defineComponent({name:"UseDevicesList",props:["onUpdated","requestPermissions","constraints"],setup(e,{slots:t}){const n=l.reactive(jx(e));return()=>{if(t.default)return t.default(n)}}}),VS=l.defineComponent({name:"UseDocumentVisibility",setup(e,{slots:t}){const n=l.reactive({visibility:Ix()});return()=>{if(t.default)return t.default(n)}}}),FS=l.defineComponent({name:"UseDraggable",props:["storageKey","storageType","initialValue","exact","preventDefault","stopPropagation","pointerTypes","as","handle","axis","onStart","onMove","onEnd","disabled","buttons","containerElement"],setup(e,{slots:t}){const n=l.ref(),i=l.computed(()=>{var f;return(f=e.handle)!=null?f:n.value}),r=l.computed(()=>{var f;return(f=e.containerElement)!=null?f:void 0}),a=l.computed(()=>!!e.disabled),o=e.storageKey&&Dy(e.storageKey,le(e.initialValue)||{x:0,y:0},gi?e.storageType==="session"?sessionStorage:localStorage:void 0),s=o||e.initialValue||{x:0,y:0},u=(f,h)=>{var g;(g=e.onEnd)==null||g.call(e,f,h),o&&(o.value.x=f.x,o.value.y=f.y)},c=l.reactive(Wx(n,{...e,handle:i,initialValue:s,onEnd:u,disabled:a,containerElement:r}));return()=>{if(t.default)return l.h(e.as||"div",{ref:n,style:`touch-action:none;${c.style}`},t.default(c))}}}),US=l.defineComponent({name:"UseElementBounding",props:["box","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Ox(n));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}});function e2(e,t={}){const{delayEnter:n=0,delayLeave:i=0,window:r=Yt}=t,a=l.ref(!1);let o;const s=u=>{const c=u?n:i;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return r&&(nn(e,"mouseenter",()=>s(!0),{passive:!0}),nn(e,"mouseleave",()=>s(!1),{passive:!0})),a}const YS={[pi.mounted](e,t){const n=t.value;if(typeof n=="function"){const i=e2(e);l.watch(i,r=>n(r))}else{const[i,r]=n,a=e2(e,r);l.watch(a,o=>i(o))}}},XS=l.defineComponent({name:"UseElementSize",props:["width","height","box","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(jy(n,{width:e.width,height:e.height},{box:e.box}));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}});function jh(e,t,n={}){const{window:i=Yt,...r}=n;let a;const o=$u(()=>i&&"ResizeObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const h=le(e);return Array.isArray(h)?h.map(g=>Et(g)):[Et(h)]}),c=l.watch(u,h=>{if(s(),o.value&&i){a=new ResizeObserver(t);for(const g of h)g&&a.observe(g,r)}},{immediate:!0,flush:"post"}),f=()=>{s(),c()};return Pt(f),{isSupported:o,stop:f}}function qS(e,t={width:0,height:0},n={}){const{window:i=Yt,box:r="content-box"}=n,a=l.computed(()=>{var h,g;return(g=(h=Et(e))==null?void 0:h.namespaceURI)==null?void 0:g.includes("svg")}),o=l.ref(t.width),s=l.ref(t.height),{stop:u}=jh(e,([h])=>{const g=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(i&&a.value){const p=Et(e);if(p){const y=p.getBoundingClientRect();o.value=y.width,s.value=y.height}}else if(g){const p=Array.isArray(g)?g:[g];o.value=p.reduce((y,{inlineSize:v})=>y+v,0),s.value=p.reduce((y,{blockSize:v})=>y+v,0)}else o.value=h.contentRect.width,s.value=h.contentRect.height},n);tr(()=>{const h=Et(e);h&&(o.value="offsetWidth"in h?h.offsetWidth:t.width,s.value="offsetHeight"in h?h.offsetHeight:t.height)});const c=l.watch(()=>Et(e),h=>{o.value=h?t.width:0,s.value=h?t.height:0});function f(){u(),c()}return{width:o,height:s,stop:f}}const GS={[pi.mounted](e,t){var n;const i=typeof t.value=="function"?t.value:(n=t.value)==null?void 0:n[0],r=typeof t.value=="function"?[]:t.value.slice(1),{width:a,height:o}=qS(e,...r);l.watch([a,o],([s,u])=>i({width:s,height:u}))}},KS=l.defineComponent({name:"UseElementVisibility",props:["as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive({isVisible:Lx(n)});return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}});function Ih(e,t,n={}){const{root:i,rootMargin:r="0px",threshold:a=0,window:o=Yt,immediate:s=!0}=n,u=$u(()=>o&&"IntersectionObserver"in o),c=l.computed(()=>{const y=le(e);return(Array.isArray(y)?y:[y]).map(Et).filter(Au)});let f=Je;const h=l.ref(s),g=u.value?l.watch(()=>[c.value,Et(i),h.value],([y,v])=>{if(f(),!h.value||!y.length)return;const k=new IntersectionObserver(t,{root:Et(v),rootMargin:r,threshold:a});y.forEach(w=>w&&k.observe(w)),f=()=>{k.disconnect(),f=Je}},{immediate:s,flush:"post"}):Je,p=()=>{f(),g(),h.value=!1};return Pt(p),{isSupported:u,isActive:h,pause(){f(),h.value=!1},resume(){h.value=!0},stop:p}}function Wh(e,t={}){const{window:n=Yt,scrollTarget:i,threshold:r=0}=t,a=l.ref(!1);return Ih(e,o=>{let s=a.value,u=0;for(const c of o)c.time>=u&&(u=c.time,s=c.isIntersecting);a.value=s},{root:i,window:n,threshold:r}),a}const QS={[pi.mounted](e,t){if(typeof t.value=="function"){const n=t.value,i=Wh(e);l.watch(i,r=>n(r),{immediate:!0})}else{const[n,i]=t.value,r=Wh(e,i);l.watch(r,a=>n(a),{immediate:!0})}}},JS=l.defineComponent({name:"UseEyeDropper",props:{sRGBHex:String},setup(e,{slots:t}){const n=l.reactive($x());return()=>{if(t.default)return t.default(n)}}}),ZS=l.defineComponent({name:"UseFullscreen",props:["as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Hx(n));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),e_=l.defineComponent({name:"UseGeolocation",props:["enableHighAccuracy","maximumAge","timeout","navigator"],setup(e,{slots:t}){const n=l.reactive(Rx(e));return()=>{if(t.default)return t.default(n)}}}),t_=l.defineComponent({name:"UseIdle",props:["timeout","events","listenForVisibilityChange","initialState"],setup(e,{slots:t}){const n=l.reactive(Fx(e.timeout,e));return()=>{if(t.default)return t.default(n)}}});function n_(e,t,n){const{immediate:i=!0,delay:r=0,onError:a=Je,onSuccess:o=Je,resetOnExecute:s=!0,shallow:u=!0,throwError:c}=n??{},f=u?l.shallowRef(t):l.ref(t),h=l.ref(!1),g=l.ref(!1),p=l.shallowRef(void 0);async function y(w=0,...M){s&&(f.value=t),p.value=void 0,h.value=!1,g.value=!0,w>0&&await _h(w);const x=typeof e=="function"?e(...M):e;try{const _=await x;f.value=_,h.value=!0,o(_)}catch(_){if(p.value=_,a(_),c)throw _}finally{g.value=!1}return f.value}i&&y(r);const v={state:f,isReady:h,isLoading:g,error:p,execute:y};function k(){return new Promise((w,M)=>{Ph(g).toBe(!1).then(()=>w(v)).catch(M)})}return{...v,then(w,M){return k().then(w,M)}}}async function i_(e){return new Promise((t,n)=>{const i=new Image,{src:r,srcset:a,sizes:o,class:s,loading:u,crossorigin:c,referrerPolicy:f}=e;i.src=r,a&&(i.srcset=a),o&&(i.sizes=o),s&&(i.className=s),u&&(i.loading=u),c&&(i.crossOrigin=c),f&&(i.referrerPolicy=f),i.onload=()=>t(i),i.onerror=n})}function r_(e,t={}){const n=n_(()=>i_(le(e)),void 0,{resetOnExecute:!0,...t});return l.watch(()=>le(e),()=>n.execute(t.delay),{deep:!0}),n}const a_=l.defineComponent({name:"UseImage",props:["src","srcset","sizes","as","alt","class","loading","crossorigin","referrerPolicy"],setup(e,{slots:t}){const n=l.reactive(r_(e));return()=>n.isLoading&&t.loading?t.loading(n):n.error&&t.error?t.error(n.error):t.default?t.default(n):l.h(e.as||"img",e)}});function Hu(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const t2=1;function Oh(e,t={}){const{throttle:n=0,idle:i=200,onStop:r=Je,onScroll:a=Je,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:u="auto",window:c=Yt,onError:f=T=>{console.error(T)}}=t,h=l.ref(0),g=l.ref(0),p=l.computed({get(){return h.value},set(T){v(T,void 0)}}),y=l.computed({get(){return g.value},set(T){v(void 0,T)}});function v(T,I){var L,D,z,H;if(!c)return;const X=le(e);if(!X)return;(z=X instanceof Document?c.document.body:X)==null||z.scrollTo({top:(L=le(I))!=null?L:y.value,left:(D=le(T))!=null?D:p.value,behavior:le(u)});const re=((H=X==null?void 0:X.document)==null?void 0:H.documentElement)||(X==null?void 0:X.documentElement)||X;p!=null&&(h.value=re.scrollLeft),y!=null&&(g.value=re.scrollTop)}const k=l.ref(!1),w=l.reactive({left:!0,right:!1,top:!0,bottom:!1}),M=l.reactive({left:!1,right:!1,top:!1,bottom:!1}),x=T=>{k.value&&(k.value=!1,M.left=!1,M.right=!1,M.top=!1,M.bottom=!1,r(T))},_=ky(x,n+i),S=T=>{var I;if(!c)return;const L=((I=T==null?void 0:T.document)==null?void 0:I.documentElement)||(T==null?void 0:T.documentElement)||Et(T),{display:D,flexDirection:z}=getComputedStyle(L),H=L.scrollLeft;M.left=H<h.value,M.right=H>h.value;const X=Math.abs(H)<=(o.left||0),re=Math.abs(H)+L.clientWidth>=L.scrollWidth-(o.right||0)-t2;D==="flex"&&z==="row-reverse"?(w.left=re,w.right=X):(w.left=X,w.right=re),h.value=H;let ee=L.scrollTop;T===c.document&&!ee&&(ee=c.document.body.scrollTop),M.top=ee<g.value,M.bottom=ee>g.value;const q=Math.abs(ee)<=(o.top||0),Z=Math.abs(ee)+L.clientHeight>=L.scrollHeight-(o.bottom||0)-t2;D==="flex"&&z==="column-reverse"?(w.top=Z,w.bottom=q):(w.top=q,w.bottom=Z),g.value=ee},N=T=>{var I;if(!c)return;const L=(I=T.target.documentElement)!=null?I:T.target;S(L),k.value=!0,_(T),a(T)};return nn(e,"scroll",n?fx(N,n,!0,!1):N,s),tr(()=>{try{const T=le(e);if(!T)return;S(T)}catch(T){f(T)}}),nn(e,"scrollend",x,s),{x:p,y,isScrolling:k,arrivedState:w,directions:M,measure(){const T=le(e);c&&T&&S(T)}}}function n2(e,t,n={}){var i;const{direction:r="bottom",interval:a=100,canLoadMore:o=()=>!0}=n,s=l.reactive(Oh(e,{...n,offset:{[r]:(i=n.distance)!=null?i:0,...n.offset}})),u=l.ref(),c=l.computed(()=>!!u.value),f=l.computed(()=>Hu(le(e))),h=Wh(f);function g(){if(s.measure(),!f.value||!h.value||!o(f.value))return;const{scrollHeight:y,clientHeight:v,scrollWidth:k,clientWidth:w}=f.value,M=r==="bottom"||r==="top"?y<=v:k<=w;(s.arrivedState[r]||M)&&(u.value||(u.value=Promise.all([t(s),new Promise(x=>setTimeout(x,a))]).finally(()=>{u.value=null,l.nextTick(()=>g())})))}const p=l.watch(()=>[s.arrivedState[r],h.value],g,{immediate:!0});return mx(p),{isLoading:c,reset(){l.nextTick(()=>g())}}}const o_={[pi.mounted](e,t){typeof t.value=="function"?n2(e,t.value):n2(e,...t.value)}},s_={[pi.mounted](e,t){typeof t.value=="function"?Ih(e,t.value):Ih(e,...t.value)}},l_=l.defineComponent({name:"UseMouse",props:["touch","resetOnTouchEnds","initialValue"],setup(e,{slots:t}){const n=l.reactive(Wy(e));return()=>{if(t.default)return t.default(n)}}}),u_=l.defineComponent({name:"UseMouseElement",props:["handleOutside","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Yx(n,e));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),d_=l.defineComponent({name:"UseMousePressed",props:["touch","initialValue","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Xx({...e,target:n}));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),c_=l.defineComponent({name:"UseNetwork",setup(e,{slots:t}){const n=l.reactive(Oy());return()=>{if(t.default)return t.default(n)}}}),f_=l.defineComponent({name:"UseNow",props:["interval"],setup(e,{slots:t}){const n=l.reactive(zy({...e,controls:!0}));return()=>{if(t.default)return t.default(n)}}}),h_=l.defineComponent({name:"UseObjectUrl",props:["object"],setup(e,{slots:t}){const n=ju(e,"object"),i=qx(n);return()=>{if(t.default&&i.value)return t.default(i)}}}),m_=l.defineComponent({name:"UseOffsetPagination",props:["total","page","pageSize","onPageChange","onPageSizeChange","onPageCountChange"],emits:["page-change","page-size-change","page-count-change"],setup(e,{slots:t,emit:n}){const i=l.reactive(Gx({...e,onPageChange(...r){var a;(a=e.onPageChange)==null||a.call(e,...r),n("page-change",...r)},onPageSizeChange(...r){var a;(a=e.onPageSizeChange)==null||a.call(e,...r),n("page-size-change",...r)},onPageCountChange(...r){var a;(a=e.onPageCountChange)==null||a.call(e,...r),n("page-count-change",...r)}}));return()=>{if(t.default)return t.default(i)}}}),p_=l.defineComponent({name:"UseOnline",setup(e,{slots:t}){const n=l.reactive({isOnline:Kx()});return()=>{if(t.default)return t.default(n)}}}),g_=l.defineComponent({name:"UsePageLeave",setup(e,{slots:t}){const n=l.reactive({isLeft:Qx()});return()=>{if(t.default)return t.default(n)}}}),y_=l.defineComponent({name:"UsePointer",props:["pointerTypes","initialValue","target"],setup(e,{slots:t}){const n=l.ref(null),i=l.reactive(Zx({...e,target:e.target==="self"?n:Yt}));return()=>{if(t.default)return t.default(i,{ref:n})}}}),b_=l.defineComponent({name:"UsePointerLock",props:["as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(eS(n));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),w_=l.defineComponent({name:"UsePreferredColorScheme",setup(e,{slots:t}){const n=l.reactive({colorScheme:tS()});return()=>{if(t.default)return t.default(n)}}}),v_=l.defineComponent({name:"UsePreferredContrast",setup(e,{slots:t}){const n=l.reactive({contrast:nS()});return()=>{if(t.default)return t.default(n)}}}),k_=l.defineComponent({name:"UsePreferredDark",setup(e,{slots:t}){const n=l.reactive({prefersDark:Dh()});return()=>{if(t.default)return t.default(n)}}}),M_=l.defineComponent({name:"UsePreferredLanguages",setup(e,{slots:t}){const n=l.reactive({languages:iS()});return()=>{if(t.default)return t.default(n)}}}),C_=l.defineComponent({name:"UsePreferredReducedMotion",setup(e,{slots:t}){const n=l.reactive({motion:rS()});return()=>{if(t.default)return t.default(n)}}}),x_={[pi.mounted](e,t){typeof t.value=="function"?jh(e,t.value):jh(e,...t.value)}};function S_(e,t,n={}){const{window:i=Yt,...r}=n;let a;const o=$u(()=>i&&"MutationObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const g=le(e),p=(Array.isArray(g)?g:[g]).map(Et).filter(Au);return new Set(p)}),c=l.watch(()=>u.value,g=>{s(),o.value&&g.size&&(a=new MutationObserver(t),g.forEach(p=>a.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>a==null?void 0:a.takeRecords(),h=()=>{c(),s()};return Pt(h),{isSupported:o,stop:h,takeRecords:f}}function Ru(e,t,n={}){const{window:i=Yt,initialValue:r,observe:a=!1}=n,o=l.ref(r),s=l.computed(()=>{var c;return Et(t)||((c=i==null?void 0:i.document)==null?void 0:c.documentElement)});function u(){var c;const f=le(e),h=le(s);if(h&&i&&f){const g=(c=i.getComputedStyle(h).getPropertyValue(f))==null?void 0:c.trim();o.value=g||r}}return a&&S_(s,u,{attributeFilter:["style","class"],window:i}),l.watch([s,()=>le(e)],(c,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),u()},{immediate:!0}),l.watch(o,c=>{var f;const h=le(e);(f=s.value)!=null&&f.style&&h&&(c==null?s.value.style.removeProperty(h):s.value.style.setProperty(h,c))}),o}const i2="--vueuse-safe-area-top",r2="--vueuse-safe-area-right",a2="--vueuse-safe-area-bottom",o2="--vueuse-safe-area-left";function __(){const e=l.ref(""),t=l.ref(""),n=l.ref(""),i=l.ref("");if(gi){const a=Ru(i2),o=Ru(r2),s=Ru(a2),u=Ru(o2);a.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",s.value="env(safe-area-inset-bottom, 0px)",u.value="env(safe-area-inset-left, 0px)",r(),nn("resize",ky(r))}function r(){e.value=Bu(i2),t.value=Bu(r2),n.value=Bu(a2),i.value=Bu(o2)}return{top:e,right:t,bottom:n,left:i,update:r}}function Bu(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}const T_=l.defineComponent({name:"UseScreenSafeArea",props:{top:Boolean,right:Boolean,bottom:Boolean,left:Boolean},setup(e,{slots:t}){const{top:n,right:i,bottom:r,left:a}=__();return()=>{if(t.default)return l.h("div",{style:{paddingTop:e.top?n.value:"",paddingRight:e.right?i.value:"",paddingBottom:e.bottom?r.value:"",paddingLeft:e.left?a.value:"",boxSizing:"border-box",maxHeight:"100vh",maxWidth:"100vw",overflow:"auto"}},t.default())}}}),P_={[pi.mounted](e,t){if(typeof t.value=="function"){const n=t.value,i=Oh(e,{onScroll(){n(i)},onStop(){n(i)}})}else{const[n,i]=t.value,r=Oh(e,{...i,onScroll(a){var o;(o=i.onScroll)==null||o.call(i,a),n(r)},onStop(a){var o;(o=i.onStop)==null||o.call(i,a),n(r)}})}}};function s2(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:s2(n)}}function E_(e){const t=e||window.event,n=t.target;return s2(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zh=new WeakMap;function A_(e,t=!1){const n=l.ref(t);let i=null,r="";l.watch(ju(e),s=>{const u=Hu(le(s));if(u){const c=u;if(zh.get(c)||zh.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const a=()=>{const s=Hu(le(e));!s||n.value||(Nu&&(i=nn(s,"touchmove",u=>{E_(u)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},o=()=>{const s=Hu(le(e));!s||!n.value||(Nu&&(i==null||i()),s.style.overflow=r,zh.delete(s),n.value=!1)};return Pt(o),l.computed({get(){return n.value},set(s){s?a():o()}})}function D_(){let e=!1;const t=l.ref(!1);return(n,i)=>{if(t.value=i.value,e)return;e=!0;const r=A_(n,i.value);l.watch(t,a=>r.value=a)}}const N_=D_(),j_=l.defineComponent({name:"UseTimeAgo",props:["time","updateInterval","max","fullDateFormatter","messages","showSecond"],setup(e,{slots:t}){const n=l.reactive(lS(()=>e.time,{...e,controls:!0}));return()=>{if(t.default)return t.default(n)}}}),I_=l.defineComponent({name:"UseTimestamp",props:["immediate","interval","offset"],setup(e,{slots:t}){const n=l.reactive(dS({...e,controls:!0}));return()=>{if(t.default)return t.default(n)}}}),W_=l.defineComponent({name:"UseVirtualList",props:["list","options","height"],setup(e,{slots:t,expose:n}){const{list:i}=l.toRefs(e),{list:r,containerProps:a,wrapperProps:o,scrollTo:s}=cS(i,e.options);return n({scrollTo:s}),a.style&&typeof a.style=="object"&&!Array.isArray(a.style)&&(a.style.height=e.height||"300px"),()=>l.h("div",{...a},[l.h("div",{...o.value},r.value.map(u=>l.h("div",{style:{overflow:"hidden",height:u.height}},t.default?t.default(u):"Please set content!")))])}}),O_=l.defineComponent({name:"UseWindowFocus",setup(e,{slots:t}){const n=l.reactive({focused:pS()});return()=>{if(t.default)return t.default(n)}}}),z_=l.defineComponent({name:"UseWindowSize",props:["initialWidth","initialHeight"],setup(e,{slots:t}){const n=l.reactive(gS(e));return()=>{if(t.default)return t.default(n)}}}),L_=["data-testid"],$_=["data-testid"],H_=["open","data-testid"],ko=me(l.defineComponent({__name:"SelectList",props:{isOpened:{type:Boolean,default:!1},disableOpen:{type:Boolean},headerClasses:{},optionsClasses:{},disabled:{type:Boolean},dataTestid:{default:"SelectList"}},emits:["change","focusout-options"],setup(e,{emit:t}){const n=e,i=l.reactive({isOpened:!1}),r=l.ref(null),a=l.ref(null),o=t;l.watchEffect(()=>i.isOpened=n.isOpened);const s=()=>{n.disabled||n.disableOpen||(i.isOpened=!i.isOpened,o("change",i.isOpened))},u=()=>{i.isOpened=!1,o("focusout-options"),o("change",i.isOpened)},c=()=>{if(a.value&&r.value&&i.isOpened){const f=a.value.getBoundingClientRect();r.value.style.top=`${f.top+f.height}px`}};return l.watch(()=>n.isOpened,()=>{i.isOpened=n.isOpened}),l.watch(()=>i.isOpened,c),l.onMounted(()=>{window.addEventListener("scroll",c,!0)}),l.onUnmounted(()=>{window.removeEventListener("scroll",c,!0)}),(f,h)=>l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:"select-list-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{ref_key:"currentRef",ref:a,class:l.normalizeClass(["select-list-yui-kit__current",{"active-yui-kit":i.isOpened},{"disabled-yui-kit":n.disabled},n==null?void 0:n.headerClasses]),tabindex:"0",onKeyup:l.withKeys(s,["enter"]),onClick:s,"data-testid":`${n.dataTestid}-Current`},[l.renderSlot(f.$slots,"header",{},void 0,!0)],42,$_),l.withDirectives(l.createElementVNode("ul",{ref_key:"dropdownRef",ref:r,class:l.normalizeClass(["select-list-yui-kit__list",n==null?void 0:n.optionsClasses]),open:i.isOpened,"data-testid":`${n.dataTestid}-OptionsList`},[l.renderSlot(f.$slots,"options",{},void 0,!0)],10,H_),[[l.vShow,i.isOpened]])],8,L_)),[[l.unref(vo),u,void 0,{bubble:!0}]])}}),[["__scopeId","data-v-28eb797a"]]);function $s(e){return e!==null&&typeof e=="object"&&"key"in e}function l2(e){return e!==null&&Array.isArray(e)&&typeof e[0]=="object"&&"key"in e[0]}const Lh=e=>e!==null&&typeof e=="object"&&"hint"in e,Hs=e=>e!==null&&Array.isArray(e)&&Lh(e[0]),R_=["onClick","data-testid"],B_={class:"options__item"},V_={class:"options__value truncate-yui-kit"},F_={key:0,class:"options__used"},$h=me(l.defineComponent({__name:"Options",props:{options:{},defaultOption:{},class:{},disabled:{type:Boolean},dataTestid:{default:"Options"}},emits:["change"],setup(e,{emit:t}){const n=e,i=l.reactive({choosedOption:n.defaultOption??(n.options[0]||""),lengthOption:0});l.watch(()=>n.defaultOption,()=>{n.defaultOption?i.choosedOption=n.defaultOption:i.choosedOption=""},{immediate:!0});const r=t,a=l.computed(()=>({"select-list-yui-kit__item":!0,"truncate-yui-kit":!0})),o=c=>{i.choosedOption=c,$s(i.choosedOption)?r("change",i.choosedOption.key):r("change",i.choosedOption)},s=c=>{let f=!1;return $s(c)?$s(i.choosedOption)?c.value===i.choosedOption.value&&(f=!0):((c.key==="null"||c.key===null)&&i.choosedOption===""&&(f=!0),c.value===i.choosedOption&&(f=!0)):$s(i.choosedOption)?c===i.choosedOption.value&&(f=!0):c===i.choosedOption&&(f=!0),{active:f}},u=c=>Lh(c)?c.hint:$s(c)?c.value:c;return(c,f)=>(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.options,(h,g)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:g},[l.createElementVNode("li",{class:l.normalizeClass([a.value,s(h),n.class]),onClick:()=>o(h),"data-testid":`${n.dataTestid}-${g}`},[l.createElementVNode("div",B_,[l.createElementVNode("div",V_,l.toDisplayString(u(h)),1),typeof h=="object"&&(h!=null&&h.used)?(l.openBlock(),l.createElementBlock("div",F_)):l.createCommentVNode("",!0)]),l.renderSlot(c.$slots,"option",{inx:g},void 0,!0)],10,R_),l.renderSlot(c.$slots,"default",{},void 0,!0)],64))),128))}}),[["__scopeId","data-v-3b9e7c21"]]),U_=["data-testid"],Hh=me(l.defineComponent({__name:"Dropdown",props:{options:{},defaultOption:{},class:{},disabled:{type:Boolean,default:!1},dataTestid:{default:"Dropdown"}},emits:["change"],setup(e,{emit:t}){const n=e,i=l.reactive({choosedOption:n.defaultOption||n.options[0]||"",isOpened:!1}),r=t,a=s=>{i.isOpened=s},o=s=>{let u;if(l2(n.options)){const c=n.options.find(f=>f.key===s);i.choosedOption=(c==null?void 0:c.value)||s,u=c==null?void 0:c.key}else i.choosedOption=s;i.isOpened=!1,r("change",u||s)};return l.watch(()=>n.defaultOption,()=>{n.defaultOption&&(i.choosedOption=n.defaultOption)}),l.onMounted(()=>{l2(n.options)&&(i.choosedOption=n.defaultOption||n.options[0].value)}),(s,u)=>(l.openBlock(),l.createBlock(ko,{onChange:a,"is-opened":i.isOpened,class:l.normalizeClass([n.class,"dropdown-yui-kit"]),disabled:n.disabled,"data-testid":n.dataTestid},{header:l.withCtx(()=>[l.createElementVNode("span",{class:"truncate-yui-kit dropdown-yui-kit__text","data-testid":`${n.dataTestid}-SelectedText`},l.toDisplayString(i.choosedOption),9,U_),i.isOpened?(l.openBlock(),l.createBlock(we,{key:0,name:l.unref(se).chevronUp,"data-testid":`${n.dataTestid}-ArrowUp`},null,8,["name","data-testid"])):l.createCommentVNode("",!0),i.isOpened?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(we,{key:1,name:l.unref(se).chevronDown,"data-testid":`${n.dataTestid}-ArrowDown`},null,8,["name","data-testid"]))]),options:l.withCtx(()=>[l.createVNode($h,{options:n.options,"default-option":n.defaultOption,onChange:o,"data-testid":`${n.dataTestid}-Options`},null,8,["options","default-option","data-testid"])]),_:1},8,["is-opened","class","disabled","data-testid"]))}}),[["__scopeId","data-v-446a42d7"]]);/**
|
|
526
|
+
`},kh=Object.freeze(Object.defineProperty({__proto__:null,action:$7,addPlus:m7,addUser:EC,alertTriangle:T8,archive:M7,arrowDown:j8,arrowLeft:D8,arrowUp:N8,atSign:CC,baseDetail:f7,baseOfAssemblyUnits:E7,baseOfEquipmentAndInventory:U7,baseProduct:h7,bgNotContent:d7,bookOpen:_7,calendar:gC,chartLine:T7,checkbox:H8,chevronDown:O8,chevronLeft:L8,chevronRight:z8,chevronUp:$8,closeTag:bC,closeVision:p7,company:H7,copy:dC,crossLarge:uC,crossSmall:lC,dark:R8,darkThemeSwitcher:WC,deleteSmall:g7,distrub:DC,document:c7,editing:q7,equipmentBase:A7,exit:U8,exitBig:B8,exitCircle:Y8,exitSmall:V8,externalLink:F8,eye:hC,eyeOff:mC,fileDatabase:I7,fileText:aC,files:nC,filter:u7,folder:sC,gitPullRequest:oC,handSignEmoji:pC,help:P8,info:tC,keyboard:jC,leftBig:q8,leftBigSmall:X8,light:G8,logout:NC,mainPage:W7,marriage:P7,menuArchive:C7,menuClose:x7,menuOpen:S7,message:IC,minus:e7,moonFill:A8,moreHorizontal:iC,moreVertical:rC,move:fC,noDistrub:AC,notification:E8,notificationYes:K8,openDocument:vC,openVision:y7,paint:yC,paperClip:G7,pin:TC,planeRight:SC,plus:Z8,plus16:J8,plusSmall:Q8,printer:v7,production:R7,profile:n7,profileIcon:t7,qrCode:OC,read:PC,remains:MC,reports:X7,reset:cC,rightBig:i7,rightSmall:r7,search:l7,searchNormal:s7,settings:a7,settingsDark:o7,shadedArrowDown:K7,shadedArrowLeft:J7,shadedArrowRight:Q7,shadedArrowUp:Z7,shippingTasks:z7,shopping:O7,sidebar:_C,slashCircle:wC,smile:xC,star:eC,stepArrowDown:W8,stepArrowUp:I8,supplierDatabase:D7,theBaseOfTheTool:j7,theComplaint:F7,theDatabaseOfMaterials:N7,time:kC,trash:b7,trashSmall:w7,uploadCloud:k7,usersGroup:Y7,warehouse:L7,wastes:B7,writeDowns:V7},Symbol.toStringTag,{value:"Module"})),zC=["data-testid","fill","viewBox"],LC=["innerHTML"],$C=l.defineComponent({__name:"Icon",props:{height:{},width:{},name:{},color:{},dataTestid:{default:"Icon"}},setup(e){const t=e,n=l.computed(()=>({color:t.color,width:`${t.width}px`,height:`${t.height}px`})),i=a=>a.replace(/-./g,o=>o[1].toUpperCase()),r=l.computed(()=>kh[i(t.name)]);return(a,o)=>{var s,u,c;return l.openBlock(),l.createElementBlock("svg",{class:"icon-yui-kit","data-testid":t.dataTestid,style:l.normalizeStyle(n.value),fill:(s=l.unref(kh)[i(t.name)])==null?void 0:s.fill,viewBox:((u=l.unref(kh)[i(t.name)])==null?void 0:u.viewbox)||"0 0 24 24"},[l.createElementVNode("g",{innerHTML:(c=r.value)==null?void 0:c.path},null,8,LC)],12,zC)}}}),me=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},we=me($C,[["__scopeId","data-v-938d45fe"]]),HC=["data-testid"],RC=["data-testid"],BC=l.defineComponent({__name:"Badges",props:{text:{},type:{default:nt.default},choosed:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dataTestid:{default:"Badges"}},emits:["choose"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.reactive({choosed:i.choosed}),o=l.ref(null),s=()=>!!(o.value&&o.value.scrollWidth>o.value.clientWidth),u=l.ref(s()),c=l.computed(()=>({"base-yui-kit":!0,"default-yui-kit":i.type===nt.default,"blue-yui-kit":i.type===nt.blue,"light-blue-yui-kit":i.type===nt.lightBlue,"contrast-blue-yui-kit":i.type===nt.contrastBlue,"green-yui-kit":i.type===nt.green,"orange-yui-kit":i.type===nt.orange,"red-yui-kit":i.type===nt.red,"pink-yui-kit":i.type===nt.pink,"violet-yui-kit":i.type===nt.violet,"yellow-yui-kit":i.type===nt.yellow,"choosed-yui-kit":i.choosed||a.choosed})),f=()=>{r("choose",a.choosed,i.text),i.disabled||(a.choosed=!a.choosed)},h=new ResizeObserver(()=>{u.value=s()});return t({isSpanOverflow:u}),l.onMounted(()=>{o.value&&h.observe(o.value)}),(g,p)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(c.value),onClick:f,"data-testid":i.dataTestid},[l.createElementVNode("span",{ref_key:"spanRef",ref:o,class:"badges-text","data-testid":`${i.dataTestid}-BadgesText`},l.toDisplayString(i.text),9,RC),l.createVNode(we,{class:"close-icon",width:10,height:10,"data-testid":`${i.dataTestid}-Icon`,name:l.unref(se).closeTag,color:"var(--text-neutral-color)"},null,8,["data-testid","name"])],10,HC))}}),Ut=me(BC,[["__scopeId","data-v-62dad8e1"]]),VC=["data-testid"],FC=["data-testid"],UC=["data-testid"],YC=["data-testid"],XC=["data-testid"],qC=["data-testid"],GC=["title","onClick","data-testid"],KC=["data-testid"],QC=["onClick","data-testid"],JC=["data-testid"],Mh=25,Ch=me(l.defineComponent({__name:"BreadCrumbs",props:{items:{},dataTestid:{default:"BreadCrumbs"}},emits:["click"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({items:[],crumbs:l.computed(()=>{const h=n.items.length<4?n.items.length-1:3;let g=[n.items[0],...n.items.slice(-h)];return n.items.length===1&&(g=[n.items[0]]),g.map(p=>(p.isSub=!1,p))}),subCrumbs:l.computed(()=>n.items.slice(1,-3).map(h=>(h.isSub=!0,h))),getClassesLink:l.computed(()=>(h,g=!1)=>({"bread-crumbs-yui-kit__link":!0,"disabled-yui-kit":!h.path,active:g})),getClassesSpan:l.computed(()=>h=>({"checked-yui-kit":h===r.crumbs.length-1})),fullTitle:l.computed(()=>h=>h.title.length>Mh),isShowList:!1}),a=l.computed(()=>({crumbs:{"bread-crumbs-yui-kit__item":!0},subcrumbs:{"bread-subcrumbs-yui-kit__item":!0}})),o=l.computed(()=>({crumbs:{"bread-subcrumbs-yui-kit":!0,"scroll-yui-kit":!0,"active-yui-kit":r.isShowList}})),s=(h,g)=>{g!==r.items.length-1&&(h.isSub&&u(),n.items.forEach(({path:p},y)=>{p===h.path&&i("click",{title:h.title,path:h.path,inx:y+1})}))},u=()=>r.isShowList=!r.isShowList,c=h=>h.title.length>Mh?h.title.slice(0,Mh).trim()+"...":h.title,f=h=>r.items.length>=5&&h===1;return l.onMounted(()=>r.items=r.crumbs.concat(r.subCrumbs)),(h,g)=>(l.openBlock(),l.createElementBlock("ul",{class:"bread-crumbs-yui-kit","data-testid":n.dataTestid},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.items,(p,y)=>(l.openBlock(),l.createElementBlock("li",{class:l.normalizeClass(a.value.crumbs),key:p.path,"data-testid":`${n.dataTestid}-Crumbs${y}`},[f(y)?(l.openBlock(),l.createElementBlock("div",{key:0,"data-testid":`${n.dataTestid}-ShowSubList${y}`},[l.createElementVNode("span",{class:"bread-crumbs-yui-kit--closed",onClick:u,"data-testid":`${n.dataTestid}-Closed${y}`},"...",8,YC),l.createElementVNode("ul",{class:l.normalizeClass(o.value.crumbs),"data-testid":`${n.dataTestid}-Crumbs${y}`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.subCrumbs,(v,k)=>(l.openBlock(),l.createElementBlock("li",{key:v.path,class:l.normalizeClass(a.value.subcrumbs),"data-testid":`${n.dataTestid}-SubCrumbs${k}`},[l.createElementVNode("span",{title:v.title,onClick:w=>s(v,k),class:l.normalizeClass({"disabled-yui-kit":!v.path}),"data-testid":`${n.dataTestid}-SubCrumbs-Title${k}`},l.toDisplayString(c(v)),11,GC)],10,qC))),128))],10,XC)],8,UC)):l.createCommentVNode("",!0),p.isSub?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",{key:1,class:l.normalizeClass(r.getClassesLink(p,y===r.crumbs.length-1)),"data-testid":`${n.dataTestid}-Classes${y}`},[l.createElementVNode("span",{class:l.normalizeClass(r.getClassesSpan(y)),onClick:v=>s(p,y),"data-testid":`${n.dataTestid}-Checked${y}`},[l.createTextVNode(l.toDisplayString(y!==r.crumbs.length-1?c(p):p.title),1),r.fullTitle(p)&&y!==r.crumbs.length-1?(l.openBlock(),l.createElementBlock("span",{key:0,"data-testid":`${n.dataTestid}-FullName`,class:"fullName-yui-kit"},l.toDisplayString(p.title),9,JC)):l.createCommentVNode("",!0)],10,QC),y!==r.crumbs.length-1?(l.openBlock(),l.createBlock(we,{key:0,name:l.unref(se).rightSmall,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"])):l.createCommentVNode("",!0)],10,KC))],10,FC))),128))],8,VC))}}),[["__scopeId","data-v-6c2ef4f4"]]);var vn=(e=>(e.small="small",e.medium="medium",e.large="large",e.little="little",e))(vn||{}),Qe=(e=>(e.primary="primary",e.outline="outline",e.ghost="ghost",e.secondary="secondary",e.reject="reject",e.minor="minor",e))(Qe||{});const ZC=["disabled","data-testid"],ex=["data-testid"],tx=["data-testid"],nx=l.defineComponent({__name:"Button",props:{disabled:{type:Boolean,default:!1},size:{default:vn.medium},type:{default:Qe.primary},pill:{type:Boolean,default:!1},backgroundColor:{},color:{default:""},dataTestid:{default:"Button"}},emits:["click"],setup(e,{emit:t}){const n=e,i=t,r=l.computed(()=>({"button-yui-kit":!0,[n.size]:!0,"disabled-yui-kit":n.disabled,"pill-yui-kit":n.pill,"primary-yui-kit":n.type===Qe.primary,"secondary-yui-kit":n.type===Qe.secondary,"outline-yui-kit":n.type===Qe.outline,"reject-yui-kit":n.type===Qe.reject,"ghost-yui-kit":n.type===Qe.ghost,"minor-yui-kit":n.type===Qe.minor})),a=l.computed(()=>({backgroundColor:n.backgroundColor})),o=l.computed(()=>({color:n.color==="primary"||n.color==="secondary"?"black":n.color})),s=u=>i("click",u);return(u,c)=>(l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(r.value),disabled:n.disabled,tabindex:"0",style:l.normalizeStyle(a.value),"data-testid":n.dataTestid,onClick:s,onKeyup:l.withKeys(s,["enter"])},[u.$slots["left-icon"]?(l.openBlock(),l.createElementBlock("span",{key:0,style:l.normalizeStyle(o.value),"data-testid":`${n.dataTestid}-LeftIcon`},[l.renderSlot(u.$slots,"left-icon",{},void 0,!0)],12,ex)):l.createCommentVNode("",!0),l.renderSlot(u.$slots,"default",{},void 0,!0),u.$slots["right-icon"]?(l.openBlock(),l.createElementBlock("span",{key:1,style:l.normalizeStyle(o.value),"data-testid":`${n.dataTestid}-RightIcon`},[l.renderSlot(u.$slots,"right-icon",{},void 0,!0)],12,tx)):l.createCommentVNode("",!0)],46,ZC))}}),yt=me(nx,[["__scopeId","data-v-4529c65c"]]),ix=["data-testid"],rx=["data-testid","onClick"],Eu=me(l.defineComponent({__name:"Switch",props:{items:{},defaultValue:{},isIcons:{type:Boolean},disabled:{type:Boolean},theme:{default:"default"},dataTestid:{default:"Switch"}},emits:["change"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({activeIndex:0}),a=l.computed(()=>[{"switch-yui-kit-list_default":n.theme==="default","switch-yui-kit-list_contrast":n.theme==="contrast","switch-yui-kit-list_disabled":n.disabled}]),o=f=>({"switch-yui-kit-item":!0,"switch-yui-kit-active":r.activeIndex===f,"switch-yui-kit-active_disabled":r.activeIndex===f&&n.disabled,"switch-yui-kit-item_disabled":n.disabled}),s=f=>typeof f=="string"?f:f.label,u=f=>typeof f=="string"?f:f.value,c=f=>{r.activeIndex!==f&&(r.activeIndex=f,i("change",{index:f,value:u(n.items[f])}))};return l.watch(()=>n.defaultValue,()=>{r.activeIndex=n.defaultValue?n.items.findIndex(f=>u(f)===n.defaultValue)??0:0}),l.onMounted(()=>{if(n.defaultValue){const f=n.items.findIndex(h=>u(h)===n.defaultValue);f!==-1&&(r.activeIndex=f)}}),(f,h)=>(l.openBlock(),l.createElementBlock("ul",{class:l.normalizeClass(["switch-yui-kit-list",a.value]),"data-testid":n.dataTestid},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.items,(g,p)=>(l.openBlock(),l.createElementBlock("li",{key:p,class:l.normalizeClass(o(p)),"data-testid":`${n.dataTestid}-Item${p}`,onClick:y=>c(p)},[n.isIcons?(l.openBlock(),l.createBlock(we,{key:0,name:g,"data-testid":`${n.dataTestid}-Item-Icon${p}`},null,8,["name","data-testid"])):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode(l.toDisplayString(s(g)),1)],64))],10,rx))),128))],10,ix))}}),[["__scopeId","data-v-cdc0b286"]]);function Pt(e){return l.getCurrentScope()?(l.onScopeDispose(e),!0):!1}function le(e){return typeof e=="function"?e():l.unref(e)}const pi={mounted:"mounted",updated:"updated",unmounted:"unmounted"},gi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Au=e=>e!=null,ax=Object.prototype.toString,by=e=>ax.call(e)==="[object Object]",Du=()=>+Date.now(),xh=(e,t,n)=>Math.min(n,Math.max(t,e)),Je=()=>{},Nu=ox();function ox(){var e,t;return gi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function zs(e,t){function n(...i){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(r).catch(a)})}return n}const Sh=e=>e();function sx(e,t={}){let n,i,r=Je;const a=s=>{clearTimeout(s),r(),r=Je};return s=>{const u=le(e),c=le(t.maxWait);return n&&a(n),u<=0||c!==void 0&&c<=0?(i&&(a(i),i=null),Promise.resolve(s())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,c&&!i&&(i=setTimeout(()=>{n&&a(n),i=null,f(s())},c)),n=setTimeout(()=>{i&&a(i),i=null,f(s())},u)})}}function wy(...e){let t=0,n,i=!0,r=Je,a,o,s,u,c;!l.isRef(e[0])&&typeof e[0]=="object"?{delay:o,trailing:s=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[o,s=!0,u=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Je)};return g=>{const p=le(o),y=Date.now()-t,v=()=>a=g();return f(),p<=0?(t=Date.now(),v()):(y>p&&(u||!i)?(t=Date.now(),v()):s&&(a=new Promise((k,w)=>{r=c?w:k,n=setTimeout(()=>{t=Date.now(),i=!0,k(v()),f()},Math.max(0,p-y))})),!u&&!n&&(n=setTimeout(()=>i=!0,p)),i=!1,a)}}function lx(e=Sh){const t=l.ref(!0);function n(){t.value=!1}function i(){t.value=!0}const r=(...a)=>{t.value&&e(...a)};return{isActive:l.readonly(t),pause:n,resume:i,eventFilter:r}}function _h(e,t=!1,n="Timeout"){return new Promise((i,r)=>{setTimeout(t?()=>r(n):i,e)})}function ux(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const i=t;t=void 0,i&&await i},n}function dx(e,t,n=!1){return t.reduce((i,r)=>(r in e&&(!n||e[r]!==void 0)&&(i[r]=e[r]),i),{})}function cx(e){return Object.entries(e)}function vy(e){return l.getCurrentInstance()}function ju(...e){if(e.length!==1)return l.toRef(...e);const t=e[0];return typeof t=="function"?l.readonly(l.customRef(()=>({get:t,set:Je}))):l.ref(t)}function ky(e,t=200,n={}){return zs(sx(t,n),e)}function fx(e,t=200,n=!1,i=!0,r=!1){return zs(wy(t,n,i,r),e)}function hx(e,t,n={}){const{eventFilter:i=Sh,...r}=n;return l.watch(e,zs(i,t),r)}function Iu(e,t,n={}){const{eventFilter:i,...r}=n,{eventFilter:a,pause:o,resume:s,isActive:u}=lx(i);return{stop:hx(e,t,{...r,eventFilter:a}),pause:o,resume:s,isActive:u}}function My(e,t,...[n]){const{flush:i="sync",deep:r=!1,immediate:a=!0,direction:o="both",transform:s={}}=n||{},u=[],c="ltr"in s&&s.ltr||(g=>g),f="rtl"in s&&s.rtl||(g=>g);return(o==="both"||o==="ltr")&&u.push(Iu(e,g=>{u.forEach(p=>p.pause()),t.value=c(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),(o==="both"||o==="rtl")&&u.push(Iu(t,g=>{u.forEach(p=>p.pause()),e.value=f(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),()=>{u.forEach(g=>g.stop())}}function Cy(e,t={}){if(!l.isRef(e))return l.toRefs(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const i in e.value)n[i]=l.customRef(()=>({get(){return e.value[i]},set(r){var a;if((a=le(t.replaceRef))!=null?a:!0)if(Array.isArray(e.value)){const s=[...e.value];s[i]=r,e.value=s}else{const s={...e.value,[i]:r};Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}else e.value[i]=r}}));return n}function tr(e,t=!0,n){vy()?l.onMounted(e,n):t?e():l.nextTick(e)}function mx(e,t){vy()&&l.onUnmounted(e,t)}function Th(e,t=!1){function n(h,{flush:g="sync",deep:p=!1,timeout:y,throwOnTimeout:v}={}){let k=null;const M=[new Promise(x=>{k=l.watch(e,_=>{h(_)!==t&&(k?k():l.nextTick(()=>k==null?void 0:k()),x(_))},{flush:g,deep:p,immediate:!0})})];return y!=null&&M.push(_h(y,v).then(()=>le(e)).finally(()=>k==null?void 0:k())),Promise.race(M)}function i(h,g){if(!l.isRef(h))return n(_=>_===h,g);const{flush:p="sync",deep:y=!1,timeout:v,throwOnTimeout:k}=g??{};let w=null;const x=[new Promise(_=>{w=l.watch([e,h],([S,N])=>{t!==(S===N)&&(w?w():l.nextTick(()=>w==null?void 0:w()),_(S))},{flush:p,deep:y,immediate:!0})})];return v!=null&&x.push(_h(v,k).then(()=>le(e)).finally(()=>(w==null||w(),le(e)))),Promise.race(x)}function r(h){return n(g=>!!g,h)}function a(h){return i(null,h)}function o(h){return i(void 0,h)}function s(h){return n(Number.isNaN,h)}function u(h,g){return n(p=>{const y=Array.from(p);return y.includes(h)||y.includes(le(h))},g)}function c(h){return f(1,h)}function f(h=1,g){let p=-1;return n(()=>(p+=1,p>=h),g)}return Array.isArray(le(e))?{toMatch:n,toContains:u,changed:c,changedTimes:f,get not(){return Th(e,!t)}}:{toMatch:n,toBe:i,toBeTruthy:r,toBeNull:a,toBeNaN:s,toBeUndefined:o,changed:c,changedTimes:f,get not(){return Th(e,!t)}}}function Ph(e){return Th(e)}function xy(e,t=1e3,n={}){const{immediate:i=!0,immediateCallback:r=!1}=n;let a=null;const o=l.ref(!1);function s(){a&&(clearInterval(a),a=null)}function u(){o.value=!1,s()}function c(){const f=le(t);f<=0||(o.value=!0,r&&e(),s(),a=setInterval(e,f))}if(i&&gi&&c(),l.isRef(t)||typeof t=="function"){const f=l.watch(t,()=>{o.value&&gi&&c()});Pt(f)}return Pt(u),{isActive:o,pause:u,resume:c}}function px(e,t,n={}){const{immediate:i=!0}=n,r=l.ref(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,o()}function u(...c){o(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},le(t))}return i&&(r.value=!0,gi&&u()),Pt(s),{isPending:l.readonly(r),start:u,stop:s}}function gx(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,r=l.isRef(e),a=l.ref(e);function o(s){if(arguments.length)return a.value=s,a.value;{const u=le(n);return a.value=a.value===u?le(i):u,a.value}}return r?o:[a,o]}const Re=gi?window:void 0,Eh=gi?window.document:void 0,Ls=gi?window.navigator:void 0;function it(e){var t;const n=le(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ye(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=Re):[t,n,i,r]=e,!t)return Je;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],o=()=>{a.forEach(f=>f()),a.length=0},s=(f,h,g,p)=>(f.addEventListener(h,g,p),()=>f.removeEventListener(h,g,p)),u=l.watch(()=>[it(t),le(r)],([f,h])=>{if(o(),!f)return;const g=by(h)?{...h}:h;a.push(...n.flatMap(p=>i.map(y=>s(f,p,y,g))))},{immediate:!0,flush:"post"}),c=()=>{u(),o()};return Pt(c),c}let Sy=!1;function yx(e,t,n={}){const{window:i=Re,ignore:r=[],capture:a=!0,detectIframe:o=!1}=n;if(!i)return Je;Nu&&!Sy&&(Sy=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",Je)),i.document.documentElement.addEventListener("click",Je));let s=!0;const u=p=>le(r).some(y=>{if(typeof y=="string")return Array.from(i.document.querySelectorAll(y)).some(v=>v===p.target||p.composedPath().includes(v));{const v=it(y);return v&&(p.target===v||p.composedPath().includes(v))}}),c=p=>{const y=it(e);if(!(!y||y===p.target||p.composedPath().includes(y))){if(p.detail===0&&(s=!u(p)),!s){s=!0;return}t(p)}};let f=!1;const h=[ye(i,"click",p=>{f||(f=!0,setTimeout(()=>{f=!1},0),c(p))},{passive:!0,capture:a}),ye(i,"pointerdown",p=>{const y=it(e);s=!u(p)&&!!(y&&!p.composedPath().includes(y))},{passive:!0}),o&&ye(i,"blur",p=>{setTimeout(()=>{var y;const v=it(e);((y=i.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(v!=null&&v.contains(i.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>h.forEach(p=>p())}function bx(){const e=l.ref(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function kn(e){const t=bx();return l.computed(()=>(t.value,!!e()))}function _y(e,t,n={}){const{window:i=Re,...r}=n;let a;const o=kn(()=>i&&"MutationObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const g=le(e),p=(Array.isArray(g)?g:[g]).map(it).filter(Au);return new Set(p)}),c=l.watch(()=>u.value,g=>{s(),o.value&&g.size&&(a=new MutationObserver(t),g.forEach(p=>a.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>a==null?void 0:a.takeRecords(),h=()=>{c(),s()};return Pt(h),{isSupported:o,stop:h,takeRecords:f}}function wx(e={}){var t;const{window:n=Re,deep:i=!0,triggerOnRemoval:r=!1}=e,a=(t=e.document)!=null?t:n==null?void 0:n.document,o=()=>{var c;let f=a==null?void 0:a.activeElement;if(i)for(;f!=null&&f.shadowRoot;)f=(c=f==null?void 0:f.shadowRoot)==null?void 0:c.activeElement;return f},s=l.ref(),u=()=>{s.value=o()};return n&&(ye(n,"blur",c=>{c.relatedTarget===null&&u()},!0),ye(n,"focus",u,!0)),r&&_y(a,c=>{c.filter(f=>f.removedNodes.length).map(f=>Array.from(f.removedNodes)).flat().forEach(f=>{f===s.value&&u()})},{childList:!0,subtree:!0}),u(),s}function Ty(e,t={}){const{immediate:n=!0,fpsLimit:i=void 0,window:r=Re}=t,a=l.ref(!1),o=i?1e3/i:null;let s=0,u=null;function c(g){if(!a.value||!r)return;s||(s=g);const p=g-s;if(o&&p<o){u=r.requestAnimationFrame(c);return}s=g,e({delta:p,timestamp:g}),u=r.requestAnimationFrame(c)}function f(){!a.value&&r&&(a.value=!0,s=0,u=r.requestAnimationFrame(c))}function h(){a.value=!1,u!=null&&r&&(r.cancelAnimationFrame(u),u=null)}return n&&f(),Pt(h),{isActive:l.readonly(a),pause:h,resume:f}}function vx(e={}){const{navigator:t=Ls}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],i=kn(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),r=l.ref(!1),a=l.ref(0),o=l.ref(0),s=l.ref(1);let u;function c(){r.value=this.charging,a.value=this.chargingTime||0,o.value=this.dischargingTime||0,s.value=this.level}return i.value&&t.getBattery().then(f=>{u=f,c.call(u),ye(u,n,c,{passive:!0})}),{isSupported:i,charging:r,chargingTime:a,dischargingTime:o,level:s}}function Sr(e,t={}){const{window:n=Re}=t,i=kn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=l.ref(!1),o=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},u=l.watchEffect(()=>{i.value&&(s(),r=n.matchMedia(le(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),a.value=r.matches)});return Pt(()=>{u(),s(),r=void 0}),a}const Py=["hash","host","hostname","href","pathname","port","protocol","search"];function kx(e={}){const{window:t=Re}=e,n=Object.fromEntries(Py.map(a=>[a,l.ref()]));for(const[a,o]of cx(n))l.watch(o,s=>{!(t!=null&&t.location)||t.location[a]===s||(t.location[a]=s)});const i=a=>{var o;const{state:s,length:u}=(t==null?void 0:t.history)||{},{origin:c}=(t==null?void 0:t.location)||{};for(const f of Py)n[f].value=(o=t==null?void 0:t.location)==null?void 0:o[f];return l.reactive({trigger:a,state:s,length:u,origin:c,...n})},r=l.ref(i("load"));return t&&(ye(t,"popstate",()=>r.value=i("popstate"),{passive:!0}),ye(t,"hashchange",()=>r.value=i("hashchange"),{passive:!0})),r}function Ah(e,t={}){const{controls:n=!1,navigator:i=Ls}=t,r=kn(()=>i&&"permissions"in i),a=l.shallowRef(),o=typeof e=="string"?{name:e}:e,s=l.shallowRef(),u=()=>{var f,h;s.value=(h=(f=a.value)==null?void 0:f.state)!=null?h:"prompt"};ye(a,"change",u);const c=ux(async()=>{if(r.value){if(!a.value)try{a.value=await i.permissions.query(o)}catch{a.value=void 0}finally{u()}if(n)return l.toRaw(a.value)}});return c(),n?{state:s,isSupported:r,query:c}:s}function Mx(e={}){const{navigator:t=Ls,read:n=!1,source:i,copiedDuring:r=1500,legacy:a=!1}=e,o=kn(()=>t&&"clipboard"in t),s=Ah("clipboard-read"),u=Ah("clipboard-write"),c=l.computed(()=>o.value||a),f=l.ref(""),h=l.ref(!1),g=px(()=>h.value=!1,r);function p(){o.value&&w(s.value)?t.clipboard.readText().then(M=>{f.value=M}):f.value=k()}c.value&&n&&ye(["copy","cut"],p);async function y(M=le(i)){c.value&&M!=null&&(o.value&&w(u.value)?await t.clipboard.writeText(M):v(M),f.value=M,h.value=!0,g.start())}function v(M){const x=document.createElement("textarea");x.value=M??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function k(){var M,x,_;return(_=(x=(M=document==null?void 0:document.getSelection)==null?void 0:M.call(document))==null?void 0:x.toString())!=null?_:""}function w(M){return M==="granted"||M==="prompt"}return{isSupported:c,text:f,copied:h,copy:y}}const Wu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ou="__vueuse_ssr_handlers__",Cx=xx();function xx(){return Ou in Wu||(Wu[Ou]=Wu[Ou]||{}),Wu[Ou]}function Ey(e,t){return Cx[e]||t}function Dh(e){return Sr("(prefers-color-scheme: dark)",e)}function Sx(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const _x={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ay="vueuse-storage";function Dy(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=Re,eventFilter:g,onError:p=D=>{console.error(D)},initOnMounted:y}=i,v=(f?l.shallowRef:l.ref)(typeof t=="function"?t():t);if(!n)try{n=Ey("getDefaultStorage",()=>{var D;return(D=Re)==null?void 0:D.localStorage})()}catch(D){p(D)}if(!n)return v;const k=le(t),w=Sx(k),M=(r=i.serializer)!=null?r:_x[w],{pause:x,resume:_}=Iu(v,()=>N(v.value),{flush:a,deep:o,eventFilter:g});h&&s&&tr(()=>{n instanceof Storage?ye(h,"storage",I):ye(h,Ay,L),y&&I()}),y||I();function S(D,z){if(h){const H={key:e,oldValue:D,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(Ay,{detail:H}))}}function N(D){try{const z=n.getItem(e);if(D==null)S(z,null),n.removeItem(e);else{const H=M.write(D);z!==H&&(n.setItem(e,H),S(z,H))}}catch(z){p(z)}}function T(D){const z=D?D.newValue:n.getItem(e);if(z==null)return u&&k!=null&&n.setItem(e,M.write(k)),k;if(!D&&c){const H=M.read(z);return typeof c=="function"?c(H,k):w==="object"&&!Array.isArray(H)?{...k,...H}:H}else return typeof z!="string"?z:M.read(z)}function I(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){v.value=k;return}if(!(D&&D.key!==e)){x();try{(D==null?void 0:D.newValue)!==M.write(v.value)&&(v.value=T(D))}catch(z){p(z)}finally{D?l.nextTick(_):_()}}}}function L(D){I(D.detail)}return v}const Tx="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Px(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:r=Re,storage:a,storageKey:o="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:u,emitAuto:c,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Dh({window:r}),p=l.computed(()=>g.value?"dark":"light"),y=u||(o==null?ju(i):Dy(o,i,a,{window:r,listenToStorageChanges:s})),v=l.computed(()=>y.value==="auto"?p.value:y.value),k=Ey("updateHTMLAttrs",(_,S,N)=>{const T=typeof _=="string"?r==null?void 0:r.document.querySelector(_):it(_);if(!T)return;const I=new Set,L=new Set;let D=null;if(S==="class"){const H=N.split(/\s/g);Object.values(h).flatMap(X=>(X||"").split(/\s/g)).filter(Boolean).forEach(X=>{H.includes(X)?I.add(X):L.add(X)})}else D={key:S,value:N};if(I.size===0&&L.size===0&&D===null)return;let z;f&&(z=r.document.createElement("style"),z.appendChild(document.createTextNode(Tx)),r.document.head.appendChild(z));for(const H of I)T.classList.add(H);for(const H of L)T.classList.remove(H);D&&T.setAttribute(D.key,D.value),f&&(r.getComputedStyle(z).opacity,document.head.removeChild(z))});function w(_){var S;k(t,n,(S=h[_])!=null?S:_)}function M(_){e.onChanged?e.onChanged(_,w):w(_)}l.watch(v,M,{flush:"post",immediate:!0}),tr(()=>M(v.value));const x=l.computed({get(){return c?y.value:v.value},set(_){y.value=_}});try{return Object.assign(x,{store:y,system:p,state:v})}catch{return x}}function Ex(e={}){const{valueDark:t="dark",valueLight:n="",window:i=Re}=e,r=Px({...e,onChanged:(s,u)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",u,s):u(s)},modes:{dark:t,light:n}}),a=l.computed(()=>r.system?r.system.value:Dh({window:i}).value?"dark":"light");return l.computed({get(){return r.value==="dark"},set(s){const u=s?"dark":"light";a.value===u?r.value="auto":r.value=u}})}function Ax(e={}){const{window:t=Re,eventFilter:n=Sh}=e,i=l.ref({x:null,y:null,z:null}),r=l.ref({alpha:null,beta:null,gamma:null}),a=l.ref(0),o=l.ref({x:null,y:null,z:null});if(t){const s=zs(n,u=>{i.value=u.acceleration,o.value=u.accelerationIncludingGravity,r.value=u.rotationRate,a.value=u.interval});ye(t,"devicemotion",s)}return{acceleration:i,accelerationIncludingGravity:o,rotationRate:r,interval:a}}function Dx(e={}){const{window:t=Re}=e,n=kn(()=>t&&"DeviceOrientationEvent"in t),i=l.ref(!1),r=l.ref(null),a=l.ref(null),o=l.ref(null);return t&&n.value&&ye(t,"deviceorientation",s=>{i.value=s.absolute,r.value=s.alpha,a.value=s.beta,o.value=s.gamma}),{isSupported:n,isAbsolute:i,alpha:r,beta:a,gamma:o}}function Nx(e={}){const{window:t=Re}=e,n=l.ref(1);if(t){let i=function(){n.value=t.devicePixelRatio,r(),a=t.matchMedia(`(resolution: ${n.value}dppx)`),a.addEventListener("change",i,{once:!0})},r=function(){a==null||a.removeEventListener("change",i)},a;i(),Pt(r)}return{pixelRatio:n}}function jx(e={}){const{navigator:t=Ls,requestPermissions:n=!1,constraints:i={audio:!0,video:!0},onUpdated:r}=e,a=l.ref([]),o=l.computed(()=>a.value.filter(y=>y.kind==="videoinput")),s=l.computed(()=>a.value.filter(y=>y.kind==="audioinput")),u=l.computed(()=>a.value.filter(y=>y.kind==="audiooutput")),c=kn(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=l.ref(!1);let h;async function g(){c.value&&(a.value=await t.mediaDevices.enumerateDevices(),r==null||r(a.value),h&&(h.getTracks().forEach(y=>y.stop()),h=null))}async function p(){if(!c.value)return!1;if(f.value)return!0;const{state:y,query:v}=Ah("camera",{controls:!0});return await v(),y.value!=="granted"&&(h=await t.mediaDevices.getUserMedia(i),g()),f.value=!0,f.value}return c.value&&(n&&p(),ye(t.mediaDevices,"devicechange",g),g()),{devices:a,ensurePermissions:p,permissionGranted:f,videoInputs:o,audioInputs:s,audioOutputs:u,isSupported:c}}function Ix(e={}){const{document:t=Eh}=e;if(!t)return l.ref("visible");const n=l.ref(t.visibilityState);return ye(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function Wx(e,t={}){var n,i;const{pointerTypes:r,preventDefault:a,stopPropagation:o,exact:s,onMove:u,onEnd:c,onStart:f,initialValue:h,axis:g="both",draggingElement:p=Re,containerElement:y,handle:v=e,buttons:k=[0]}=t,w=l.ref((n=le(h))!=null?n:{x:0,y:0}),M=l.ref(),x=I=>r?r.includes(I.pointerType):!0,_=I=>{le(a)&&I.preventDefault(),le(o)&&I.stopPropagation()},S=I=>{var L;if(!le(k).includes(I.button)||le(t.disabled)||!x(I)||le(s)&&I.target!==le(e))return;const D=le(y),z=(L=D==null?void 0:D.getBoundingClientRect)==null?void 0:L.call(D),H=le(e).getBoundingClientRect(),X={x:I.clientX-(D?H.left-z.left+D.scrollLeft:H.left),y:I.clientY-(D?H.top-z.top+D.scrollTop:H.top)};(f==null?void 0:f(X,I))!==!1&&(M.value=X,_(I))},N=I=>{if(le(t.disabled)||!x(I)||!M.value)return;const L=le(y),D=le(e).getBoundingClientRect();let{x:z,y:H}=w.value;(g==="x"||g==="both")&&(z=I.clientX-M.value.x,L&&(z=Math.min(Math.max(0,z),L.scrollWidth-D.width))),(g==="y"||g==="both")&&(H=I.clientY-M.value.y,L&&(H=Math.min(Math.max(0,H),L.scrollHeight-D.height))),w.value={x:z,y:H},u==null||u(w.value,I),_(I)},T=I=>{le(t.disabled)||!x(I)||M.value&&(M.value=void 0,c==null||c(w.value,I),_(I))};if(gi){const I={capture:(i=t.capture)!=null?i:!0};ye(v,"pointerdown",S,I),ye(p,"pointermove",N,I),ye(p,"pointerup",T,I)}return{...Cy(w),position:w,isDragging:l.computed(()=>!!M.value),style:l.computed(()=>`left:${w.value.x}px;top:${w.value.y}px;`)}}function Ny(e,t,n={}){const{window:i=Re,...r}=n;let a;const o=kn(()=>i&&"ResizeObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const h=le(e);return Array.isArray(h)?h.map(g=>it(g)):[it(h)]}),c=l.watch(u,h=>{if(s(),o.value&&i){a=new ResizeObserver(t);for(const g of h)g&&a.observe(g,r)}},{immediate:!0,flush:"post"}),f=()=>{s(),c()};return Pt(f),{isSupported:o,stop:f}}function Ox(e,t={}){const{reset:n=!0,windowResize:i=!0,windowScroll:r=!0,immediate:a=!0,updateTiming:o="sync"}=t,s=l.ref(0),u=l.ref(0),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0);function v(){const w=it(e);if(!w){n&&(s.value=0,u.value=0,c.value=0,f.value=0,h.value=0,g.value=0,p.value=0,y.value=0);return}const M=w.getBoundingClientRect();s.value=M.height,u.value=M.bottom,c.value=M.left,f.value=M.right,h.value=M.top,g.value=M.width,p.value=M.x,y.value=M.y}function k(){o==="sync"?v():o==="next-frame"&&requestAnimationFrame(()=>v())}return Ny(e,k),l.watch(()=>it(e),w=>!w&&k()),_y(e,k,{attributeFilter:["style","class"]}),r&&ye("scroll",k,{capture:!0,passive:!0}),i&&ye("resize",k,{passive:!0}),tr(()=>{a&&k()}),{height:s,bottom:u,left:c,right:f,top:h,width:g,x:p,y,update:k}}function jy(e,t={width:0,height:0},n={}){const{window:i=Re,box:r="content-box"}=n,a=l.computed(()=>{var h,g;return(g=(h=it(e))==null?void 0:h.namespaceURI)==null?void 0:g.includes("svg")}),o=l.ref(t.width),s=l.ref(t.height),{stop:u}=Ny(e,([h])=>{const g=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(i&&a.value){const p=it(e);if(p){const y=p.getBoundingClientRect();o.value=y.width,s.value=y.height}}else if(g){const p=Array.isArray(g)?g:[g];o.value=p.reduce((y,{inlineSize:v})=>y+v,0),s.value=p.reduce((y,{blockSize:v})=>y+v,0)}else o.value=h.contentRect.width,s.value=h.contentRect.height},n);tr(()=>{const h=it(e);h&&(o.value="offsetWidth"in h?h.offsetWidth:t.width,s.value="offsetHeight"in h?h.offsetHeight:t.height)});const c=l.watch(()=>it(e),h=>{o.value=h?t.width:0,s.value=h?t.height:0});function f(){u(),c()}return{width:o,height:s,stop:f}}function zx(e,t,n={}){const{root:i,rootMargin:r="0px",threshold:a=0,window:o=Re,immediate:s=!0}=n,u=kn(()=>o&&"IntersectionObserver"in o),c=l.computed(()=>{const y=le(e);return(Array.isArray(y)?y:[y]).map(it).filter(Au)});let f=Je;const h=l.ref(s),g=u.value?l.watch(()=>[c.value,it(i),h.value],([y,v])=>{if(f(),!h.value||!y.length)return;const k=new IntersectionObserver(t,{root:it(v),rootMargin:r,threshold:a});y.forEach(w=>w&&k.observe(w)),f=()=>{k.disconnect(),f=Je}},{immediate:s,flush:"post"}):Je,p=()=>{f(),g(),h.value=!1};return Pt(p),{isSupported:u,isActive:h,pause(){f(),h.value=!1},resume(){h.value=!0},stop:p}}function Lx(e,t={}){const{window:n=Re,scrollTarget:i,threshold:r=0}=t,a=l.ref(!1);return zx(e,o=>{let s=a.value,u=0;for(const c of o)c.time>=u&&(u=c.time,s=c.isIntersecting);a.value=s},{root:i,window:n,threshold:r}),a}function $x(e={}){const{initialValue:t=""}=e,n=kn(()=>typeof window<"u"&&"EyeDropper"in window),i=l.ref(t);async function r(a){if(!n.value)return;const s=await new window.EyeDropper().open(a);return i.value=s.sRGBHex,s}return{isSupported:n,sRGBHex:i,open:r}}const Iy=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Hx(e,t={}){const{document:n=Eh,autoExit:i=!1}=t,r=l.computed(()=>{var w;return(w=it(e))!=null?w:n==null?void 0:n.querySelector("html")}),a=l.ref(!1),o=l.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),s=l.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),u=l.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||r.value&&w in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),f=kn(()=>r.value&&n&&o.value!==void 0&&s.value!==void 0&&u.value!==void 0),h=()=>c?(n==null?void 0:n[c])===r.value:!1,g=()=>{if(u.value){if(n&&n[u.value]!=null)return n[u.value];{const w=r.value;if((w==null?void 0:w[u.value])!=null)return!!w[u.value]}}return!1};async function p(){if(!(!f.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const w=r.value;(w==null?void 0:w[s.value])!=null&&await w[s.value]()}a.value=!1}}async function y(){if(!f.value||a.value)return;g()&&await p();const w=r.value;o.value&&(w==null?void 0:w[o.value])!=null&&(await w[o.value](),a.value=!0)}async function v(){await(a.value?p():y())}const k=()=>{const w=g();(!w||w&&h())&&(a.value=w)};return ye(n,Iy,k,!1),ye(()=>it(r),Iy,k,!1),i&&Pt(p),{isSupported:f,isFullscreen:a,enter:y,exit:p,toggle:v}}function Rx(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:i=27e3,navigator:r=Ls,immediate:a=!0}=e,o=kn(()=>r&&"geolocation"in r),s=l.ref(null),u=l.shallowRef(null),c=l.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(y){s.value=y.timestamp,c.value=y.coords,u.value=null}let h;function g(){o.value&&(h=r.geolocation.watchPosition(f,y=>u.value=y,{enableHighAccuracy:t,maximumAge:n,timeout:i}))}a&&g();function p(){h&&r&&r.geolocation.clearWatch(h)}return Pt(()=>{p()}),{isSupported:o,coords:c,locatedAt:s,error:u,resume:g,pause:p}}const Bx=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Vx=6e4;function Fx(e=Vx,t={}){const{initialState:n=!1,listenForVisibilityChange:i=!0,events:r=Bx,window:a=Re,eventFilter:o=wy(50)}=t,s=l.ref(n),u=l.ref(Du());let c;const f=()=>{s.value=!1,clearTimeout(c),c=setTimeout(()=>s.value=!0,e)},h=zs(o,()=>{u.value=Du(),f()});if(a){const g=a.document;for(const p of r)ye(a,p,h,{passive:!0});i&&ye(g,"visibilitychange",()=>{g.hidden||h()}),f()}return{idle:s,lastActive:u,reset:f}}const Ux={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Wy(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:r={x:0,y:0},window:a=Re,target:o=a,scroll:s=!0,eventFilter:u}=e;let c=null;const f=l.ref(r.x),h=l.ref(r.y),g=l.ref(null),p=typeof t=="function"?t:Ux[t],y=S=>{const N=p(S);c=S,N&&([f.value,h.value]=N,g.value="mouse")},v=S=>{if(S.touches.length>0){const N=p(S.touches[0]);N&&([f.value,h.value]=N,g.value="touch")}},k=()=>{if(!c||!a)return;const S=p(c);c instanceof MouseEvent&&S&&(f.value=S[0]+a.scrollX,h.value=S[1]+a.scrollY)},w=()=>{f.value=r.x,h.value=r.y},M=u?S=>u(()=>y(S),{}):S=>y(S),x=u?S=>u(()=>v(S),{}):S=>v(S),_=u?()=>u(()=>k(),{}):()=>k();if(o){const S={passive:!0};ye(o,["mousemove","dragover"],M,S),n&&t!=="movement"&&(ye(o,["touchstart","touchmove"],x,S),i&&ye(o,"touchend",w,S)),s&&t==="page"&&ye(a,"scroll",_,{passive:!0})}return{x:f,y:h,sourceType:g}}function Yx(e,t={}){const{handleOutside:n=!0,window:i=Re}=t,r=t.type||"page",{x:a,y:o,sourceType:s}=Wy(t),u=l.ref(e??(i==null?void 0:i.document.body)),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0),v=l.ref(!0);let k=()=>{};return i&&(k=l.watch([u,a,o],()=>{const w=it(u);if(!w||!(w instanceof Element))return;const{left:M,top:x,width:_,height:S}=w.getBoundingClientRect();h.value=M+(r==="page"?i.pageXOffset:0),g.value=x+(r==="page"?i.pageYOffset:0),p.value=S,y.value=_;const N=a.value-h.value,T=o.value-g.value;v.value=_===0||S===0||N<0||T<0||N>_||T>S,(n||!v.value)&&(c.value=N,f.value=T)},{immediate:!0}),ye(document,"mouseleave",()=>{v.value=!0})),{x:a,y:o,sourceType:s,elementX:c,elementY:f,elementPositionX:h,elementPositionY:g,elementHeight:p,elementWidth:y,isOutside:v,stop:k}}function Xx(e={}){const{touch:t=!0,drag:n=!0,capture:i=!1,initialValue:r=!1,window:a=Re}=e,o=l.ref(r),s=l.ref(null);if(!a)return{pressed:o,sourceType:s};const u=h=>()=>{o.value=!0,s.value=h},c=()=>{o.value=!1,s.value=null},f=l.computed(()=>it(e.target)||a);return ye(f,"mousedown",u("mouse"),{passive:!0,capture:i}),ye(a,"mouseleave",c,{passive:!0,capture:i}),ye(a,"mouseup",c,{passive:!0,capture:i}),n&&(ye(f,"dragstart",u("mouse"),{passive:!0,capture:i}),ye(a,"drop",c,{passive:!0,capture:i}),ye(a,"dragend",c,{passive:!0,capture:i})),t&&(ye(f,"touchstart",u("touch"),{passive:!0,capture:i}),ye(a,"touchend",c,{passive:!0,capture:i}),ye(a,"touchcancel",c,{passive:!0,capture:i})),{pressed:o,sourceType:s}}function Oy(e={}){const{window:t=Re}=e,n=t==null?void 0:t.navigator,i=kn(()=>n&&"connection"in n),r=l.ref(!0),a=l.ref(!1),o=l.ref(void 0),s=l.ref(void 0),u=l.ref(void 0),c=l.ref(void 0),f=l.ref(void 0),h=l.ref(void 0),g=l.ref("unknown"),p=i.value&&n.connection;function y(){n&&(r.value=n.onLine,o.value=r.value?void 0:Date.now(),s.value=r.value?Date.now():void 0,p&&(u.value=p.downlink,c.value=p.downlinkMax,h.value=p.effectiveType,f.value=p.rtt,a.value=p.saveData,g.value=p.type))}return t&&(ye(t,"offline",()=>{r.value=!1,o.value=Date.now()}),ye(t,"online",()=>{r.value=!0,s.value=Date.now()})),p&&ye(p,"change",y,!1),y(),{isSupported:l.readonly(i),isOnline:l.readonly(r),saveData:l.readonly(a),offlineAt:l.readonly(o),onlineAt:l.readonly(s),downlink:l.readonly(u),downlinkMax:l.readonly(c),effectiveType:l.readonly(h),rtt:l.readonly(f),type:l.readonly(g)}}function zy(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,i=l.ref(new Date),r=()=>i.value=new Date,a=n==="requestAnimationFrame"?Ty(r,{immediate:!0}):xy(r,n,{immediate:!0});return t?{now:i,...a}:i}function qx(e){const t=l.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return l.watch(()=>le(e),i=>{n(),i&&(t.value=URL.createObjectURL(i))},{immediate:!0}),Pt(n),l.readonly(t)}function Ly(e,t,n){if(typeof e=="function"||l.isReadonly(e))return l.computed(()=>xh(le(e),le(t),le(n)));const i=l.ref(e);return l.computed({get(){return i.value=xh(i.value,le(t),le(n))},set(r){i.value=xh(r,le(t),le(n))}})}function Gx(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:i=1,onPageChange:r=Je,onPageSizeChange:a=Je,onPageCountChange:o=Je}=e,s=Ly(n,1,Number.POSITIVE_INFINITY),u=l.computed(()=>Math.max(1,Math.ceil(le(t)/le(s)))),c=Ly(i,1,u),f=l.computed(()=>c.value===1),h=l.computed(()=>c.value===u.value);l.isRef(i)&&My(i,c,{direction:l.isReadonly(i)?"ltr":"both"}),l.isRef(n)&&My(n,s,{direction:l.isReadonly(n)?"ltr":"both"});function g(){c.value--}function p(){c.value++}const y={currentPage:c,currentPageSize:s,pageCount:u,isFirstPage:f,isLastPage:h,prev:g,next:p};return l.watch(c,()=>{r(l.reactive(y))}),l.watch(s,()=>{a(l.reactive(y))}),l.watch(u,()=>{o(l.reactive(y))}),y}function Kx(e={}){const{isOnline:t}=Oy(e);return t}function Qx(e={}){const{window:t=Re}=e,n=l.ref(!1),i=r=>{if(!t)return;r=r||t.event;const a=r.relatedTarget||r.toElement;n.value=!a};return t&&(ye(t,"mouseout",i,{passive:!0}),ye(t.document,"mouseleave",i,{passive:!0}),ye(t.document,"mouseenter",i,{passive:!0})),n}const $y={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Jx=Object.keys($y);function Zx(e={}){const{target:t=Re}=e,n=l.ref(!1),i=l.ref(e.initialValue||{});Object.assign(i.value,$y,i.value);const r=a=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(a.pointerType))&&(i.value=dx(a,Jx,!1))};if(t){const a={passive:!0};ye(t,["pointerdown","pointermove","pointerup"],r,a),ye(t,"pointerleave",()=>n.value=!1,a)}return{...Cy(i),isInside:n}}function eS(e,t={}){const{document:n=Eh}=t,i=kn(()=>n&&"pointerLockElement"in n),r=l.ref(),a=l.ref();let o;i.value&&(ye(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;o&&f===o&&(r.value=n.pointerLockElement,r.value||(o=a.value=null))}),ye(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;if(o&&f===o){const h=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${h} pointer lock.`)}}));async function s(c){var f;if(!i.value)throw new Error("Pointer Lock API is not supported by your browser.");if(a.value=c instanceof Event?c.currentTarget:null,o=c instanceof Event?(f=it(e))!=null?f:a.value:it(c),!o)throw new Error("Target element undefined.");return o.requestPointerLock(),await Ph(r).toBe(o)}async function u(){return r.value?(n.exitPointerLock(),await Ph(r).toBeNull(),!0):!1}return{isSupported:i,element:r,triggerElement:a,lock:s,unlock:u}}function tS(e){const t=Sr("(prefers-color-scheme: light)",e),n=Sr("(prefers-color-scheme: dark)",e);return l.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function nS(e){const t=Sr("(prefers-contrast: more)",e),n=Sr("(prefers-contrast: less)",e),i=Sr("(prefers-contrast: custom)",e);return l.computed(()=>t.value?"more":n.value?"less":i.value?"custom":"no-preference")}function iS(e={}){const{window:t=Re}=e;if(!t)return l.ref(["en"]);const n=t.navigator,i=l.ref(n.languages);return ye(t,"languagechange",()=>{i.value=n.languages}),i}function rS(e){const t=Sr("(prefers-reduced-motion: reduce)",e);return l.computed(()=>t.value?"reduce":"no-preference")}const aS=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],oS={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function sS(e){return e.toISOString().slice(0,10)}function lS(e,t={}){const{controls:n=!1,updateInterval:i=3e4}=t,{now:r,...a}=zy({interval:i,controls:!0}),o=l.computed(()=>uS(new Date(le(e)),t,le(r)));return n?{timeAgo:o,...a}:o}function uS(e,t={},n=Date.now()){var i;const{max:r,messages:a=oS,fullDateFormatter:o=sS,units:s=aS,showSecond:u=!1,rounding:c="round"}=t,f=typeof c=="number"?k=>+k.toFixed(c):Math[c],h=+n-+e,g=Math.abs(h);function p(k,w){return f(Math.abs(k)/w.value)}function y(k,w){const M=p(k,w),x=k>0,_=v(w.name,M,x);return v(x?"past":"future",_,x)}function v(k,w,M){const x=a[k];return typeof x=="function"?x(w,M):x.replace("{0}",w.toString())}if(g<6e4&&!u)return a.justNow;if(typeof r=="number"&&g>r)return o(new Date(e));if(typeof r=="string"){const k=(i=s.find(w=>w.name===r))==null?void 0:i.max;if(k&&g>k)return o(new Date(e))}for(const[k,w]of s.entries()){if(p(h,w)<=0&&s[k-1])return y(h,s[k-1]);if(g<w.max)return y(h,w)}return a.invalid}function dS(e={}){const{controls:t=!1,offset:n=0,immediate:i=!0,interval:r="requestAnimationFrame",callback:a}=e,o=l.ref(Du()+n),s=()=>o.value=Du()+n,u=a?()=>{s(),a(o.value)}:s,c=r==="requestAnimationFrame"?Ty(u,{immediate:i}):xy(u,r,{immediate:i});return t?{timestamp:o,...c}:o}function cS(e,t){const{containerStyle:n,wrapperProps:i,scrollTo:r,calculateRange:a,currentList:o,containerRef:s}="itemHeight"in t?mS(t,e):hS(t,e);return{list:o,scrollTo:r,containerProps:{ref:s,onScroll:()=>{a()},style:n},wrapperProps:i}}function Hy(e){const t=l.ref(null),n=jy(t),i=l.ref([]),r=l.shallowRef(e);return{state:l.ref({start:0,end:10}),source:r,currentList:i,size:n,containerRef:t}}function Ry(e,t,n){return i=>{if(typeof n=="number")return Math.ceil(i/n);const{start:r=0}=e.value;let a=0,o=0;for(let s=r;s<t.value.length;s++){const u=n(s);if(a+=u,o=s,a>i)break}return o-r}}function By(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let i=0,r=0;for(let a=0;a<e.value.length;a++){const o=t(a);if(i+=o,i>=n){r=a;break}}return r+1}}function Vy(e,t,n,i,{containerRef:r,state:a,currentList:o,source:s}){return()=>{const u=r.value;if(u){const c=n(e==="vertical"?u.scrollTop:u.scrollLeft),f=i(e==="vertical"?u.clientHeight:u.clientWidth),h=c-t,g=c+f+t;a.value={start:h<0?0:h,end:g>s.value.length?s.value.length:g},o.value=s.value.slice(a.value.start,a.value.end).map((p,y)=>({data:p,index:y+a.value.start}))}}}function Fy(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((r,a,o)=>r+e(o),0)}function Uy(e,t,n,i){l.watch([e.width,e.height,t,n],()=>{i()})}function Yy(e,t){return l.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,i,r)=>n+e(r),0))}const fS={horizontal:"scrollLeft",vertical:"scrollTop"};function Xy(e,t,n,i){return r=>{i.value&&(i.value[fS[e]]=n(r),t())}}function hS(e,t){const n=Hy(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,h=Ry(i,r,c),g=By(r,c),p=Vy("horizontal",f,g,h,n),y=Fy(c,r),v=l.computed(()=>y(i.value.start)),k=Yy(c,r);Uy(o,t,s,p);const w=Xy("horizontal",p,y,s),M=l.computed(()=>({style:{height:"100%",width:`${k.value-v.value}px`,marginLeft:`${v.value}px`,display:"flex"}}));return{scrollTo:w,calculateRange:p,wrapperProps:M,containerStyle:u,currentList:a,containerRef:s}}function mS(e,t){const n=Hy(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,h=Ry(i,r,c),g=By(r,c),p=Vy("vertical",f,g,h,n),y=Fy(c,r),v=l.computed(()=>y(i.value.start)),k=Yy(c,r);Uy(o,t,s,p);const w=Xy("vertical",p,y,s),M=l.computed(()=>({style:{width:"100%",height:`${k.value-v.value}px`,marginTop:`${v.value}px`}}));return{calculateRange:p,scrollTo:w,containerStyle:u,wrapperProps:M,currentList:a,containerRef:s}}function pS(e={}){const{window:t=Re}=e;if(!t)return l.ref(!1);const n=l.ref(t.document.hasFocus());return ye(t,"blur",()=>{n.value=!1}),ye(t,"focus",()=>{n.value=!0}),n}function gS(e={}){const{window:t=Re,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:a=!0,type:o="inner"}=e,s=l.ref(n),u=l.ref(i),c=()=>{t&&(o==="outer"?(s.value=t.outerWidth,u.value=t.outerHeight):a?(s.value=t.innerWidth,u.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};if(c(),tr(c),ye("resize",c,{passive:!0}),r){const f=Sr("(orientation: portrait)");l.watch(f,()=>c())}return{width:s,height:u}}const yS=l.defineComponent({name:"OnClickOutside",props:["as","options"],emits:["trigger"],setup(e,{slots:t,emit:n}){const i=l.ref();return yx(i,r=>{n("trigger",r)},e.options),()=>{if(t.default)return l.h(e.as||"div",{ref:i},t.default())}}}),Yt=gi?window:void 0;function Et(e){var t;const n=le(e);return(t=n==null?void 0:n.$el)!=null?t:n}function nn(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=Yt):[t,n,i,r]=e,!t)return Je;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],o=()=>{a.forEach(f=>f()),a.length=0},s=(f,h,g,p)=>(f.addEventListener(h,g,p),()=>f.removeEventListener(h,g,p)),u=l.watch(()=>[Et(t),le(r)],([f,h])=>{if(o(),!f)return;const g=by(h)?{...h}:h;a.push(...n.flatMap(p=>i.map(y=>s(f,p,y,g))))},{immediate:!0,flush:"post"}),c=()=>{u(),o()};return Pt(c),c}let qy=!1;function Gy(e,t,n={}){const{window:i=Yt,ignore:r=[],capture:a=!0,detectIframe:o=!1}=n;if(!i)return Je;Nu&&!qy&&(qy=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",Je)),i.document.documentElement.addEventListener("click",Je));let s=!0;const u=p=>le(r).some(y=>{if(typeof y=="string")return Array.from(i.document.querySelectorAll(y)).some(v=>v===p.target||p.composedPath().includes(v));{const v=Et(y);return v&&(p.target===v||p.composedPath().includes(v))}}),c=p=>{const y=Et(e);if(!(!y||y===p.target||p.composedPath().includes(y))){if(p.detail===0&&(s=!u(p)),!s){s=!0;return}t(p)}};let f=!1;const h=[nn(i,"click",p=>{f||(f=!0,setTimeout(()=>{f=!1},0),c(p))},{passive:!0,capture:a}),nn(i,"pointerdown",p=>{const y=Et(e);s=!u(p)&&!!(y&&!p.composedPath().includes(y))},{passive:!0}),o&&nn(i,"blur",p=>{setTimeout(()=>{var y;const v=Et(e);((y=i.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!(v!=null&&v.contains(i.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>h.forEach(p=>p())}const vo={[pi.mounted](e,t){const n=!t.modifiers.bubble;if(typeof t.value=="function")e.__onClickOutside_stop=Gy(e,t.value,{capture:n});else{const[i,r]=t.value;e.__onClickOutside_stop=Gy(e,i,Object.assign({capture:n},r))}},[pi.unmounted](e){e.__onClickOutside_stop()}};function bS(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ky(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Yt,eventName:a="keydown",passive:o=!1,dedupe:s=!1}=i,u=bS(t);return nn(r,a,f=>{f.repeat&&le(s)||u(f)&&n(f)},o)}const wS={[pi.mounted](e,t){var n,i;const r=(i=(n=t.arg)==null?void 0:n.split(","))!=null?i:!0;if(typeof t.value=="function")Ky(r,t.value,{target:e});else{const[a,o]=t.value;Ky(r,a,{target:e,...o})}}},vS=500,kS=10;function Nh(e,t,n){var i,r;const a=l.computed(()=>Et(e));let o,s,u,c=!1;function f(){o&&(clearTimeout(o),o=void 0),s=void 0,u=void 0,c=!1}function h(w){var M,x,_;const[S,N,T]=[u,s,c];if(f(),!(n!=null&&n.onMouseUp)||!N||!S||(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const I=w.x-N.x,L=w.y-N.y,D=Math.sqrt(I*I+L*L);n.onMouseUp(w.timeStamp-S,D,T)}function g(w){var M,x,_,S;(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||(f(),(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation(),s={x:w.x,y:w.y},u=w.timeStamp,o=setTimeout(()=>{c=!0,t(w)},(S=n==null?void 0:n.delay)!=null?S:vS))}function p(w){var M,x,_,S;if((M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||!s||(n==null?void 0:n.distanceThreshold)===!1)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const N=w.x-s.x,T=w.y-s.y;Math.sqrt(N*N+T*T)>=((S=n==null?void 0:n.distanceThreshold)!=null?S:kS)&&f()}const y={capture:(i=n==null?void 0:n.modifiers)==null?void 0:i.capture,once:(r=n==null?void 0:n.modifiers)==null?void 0:r.once},v=[nn(a,"pointerdown",g,y),nn(a,"pointermove",p,y),nn(a,["pointerup","pointerleave"],h,y)];return()=>v.forEach(w=>w())}const MS=l.defineComponent({name:"OnLongPress",props:["as","options"],emits:["trigger"],setup(e,{slots:t,emit:n}){const i=l.ref();return Nh(i,r=>{n("trigger",r)},e.options),()=>{if(t.default)return l.h(e.as||"div",{ref:i},t.default())}}}),Qy={[pi.mounted](e,t){typeof t.value=="function"?Nh(e,t.value,{modifiers:t.modifiers}):Nh(e,...t.value)}},CS=l.defineComponent({name:"UseActiveElement",setup(e,{slots:t}){const n=l.reactive({element:wx()});return()=>{if(t.default)return t.default(n)}}}),xS=l.defineComponent({name:"UseBattery",setup(e,{slots:t}){const n=l.reactive(vx(e));return()=>{if(t.default)return t.default(n)}}}),SS=l.defineComponent({name:"UseBrowserLocation",setup(e,{slots:t}){const n=l.reactive(kx());return()=>{if(t.default)return t.default(n)}}}),_S=l.defineComponent({name:"UseClipboard",props:["source","read","navigator","copiedDuring","legacy"],setup(e,{slots:t}){const n=l.reactive(Mx(e));return()=>{var i;return(i=t.default)==null?void 0:i.call(t,n)}}}),zu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lu="__vueuse_ssr_handlers__",TS=PS();function PS(){return Lu in zu||(zu[Lu]=zu[Lu]||{}),zu[Lu]}function Jy(e,t){return TS[e]||t}function ES(){const e=l.ref(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function $u(e){const t=ES();return l.computed(()=>(t.value,!!e()))}function AS(e,t={}){const{window:n=Yt}=t,i=$u(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=l.ref(!1),o=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},u=l.watchEffect(()=>{i.value&&(s(),r=n.matchMedia(le(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),a.value=r.matches)});return Pt(()=>{u(),s(),r=void 0}),a}function DS(e){return AS("(prefers-color-scheme: dark)",e)}function NS(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const jS={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Zy="vueuse-storage";function IS(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=Yt,eventFilter:g,onError:p=D=>{console.error(D)},initOnMounted:y}=i,v=(f?l.shallowRef:l.ref)(typeof t=="function"?t():t);if(!n)try{n=Jy("getDefaultStorage",()=>{var D;return(D=Yt)==null?void 0:D.localStorage})()}catch(D){p(D)}if(!n)return v;const k=le(t),w=NS(k),M=(r=i.serializer)!=null?r:jS[w],{pause:x,resume:_}=Iu(v,()=>N(v.value),{flush:a,deep:o,eventFilter:g});h&&s&&tr(()=>{n instanceof Storage?nn(h,"storage",I):nn(h,Zy,L),y&&I()}),y||I();function S(D,z){if(h){const H={key:e,oldValue:D,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(Zy,{detail:H}))}}function N(D){try{const z=n.getItem(e);if(D==null)S(z,null),n.removeItem(e);else{const H=M.write(D);z!==H&&(n.setItem(e,H),S(z,H))}}catch(z){p(z)}}function T(D){const z=D?D.newValue:n.getItem(e);if(z==null)return u&&k!=null&&n.setItem(e,M.write(k)),k;if(!D&&c){const H=M.read(z);return typeof c=="function"?c(H,k):w==="object"&&!Array.isArray(H)?{...k,...H}:H}else return typeof z!="string"?z:M.read(z)}function I(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){v.value=k;return}if(!(D&&D.key!==e)){x();try{(D==null?void 0:D.newValue)!==M.write(v.value)&&(v.value=T(D))}catch(z){p(z)}finally{D?l.nextTick(_):_()}}}}function L(D){I(D.detail)}return v}const WS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function OS(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:r=Yt,storage:a,storageKey:o="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:u,emitAuto:c,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=DS({window:r}),p=l.computed(()=>g.value?"dark":"light"),y=u||(o==null?ju(i):IS(o,i,a,{window:r,listenToStorageChanges:s})),v=l.computed(()=>y.value==="auto"?p.value:y.value),k=Jy("updateHTMLAttrs",(_,S,N)=>{const T=typeof _=="string"?r==null?void 0:r.document.querySelector(_):Et(_);if(!T)return;const I=new Set,L=new Set;let D=null;if(S==="class"){const H=N.split(/\s/g);Object.values(h).flatMap(X=>(X||"").split(/\s/g)).filter(Boolean).forEach(X=>{H.includes(X)?I.add(X):L.add(X)})}else D={key:S,value:N};if(I.size===0&&L.size===0&&D===null)return;let z;f&&(z=r.document.createElement("style"),z.appendChild(document.createTextNode(WS)),r.document.head.appendChild(z));for(const H of I)T.classList.add(H);for(const H of L)T.classList.remove(H);D&&T.setAttribute(D.key,D.value),f&&(r.getComputedStyle(z).opacity,document.head.removeChild(z))});function w(_){var S;k(t,n,(S=h[_])!=null?S:_)}function M(_){e.onChanged?e.onChanged(_,w):w(_)}l.watch(v,M,{flush:"post",immediate:!0}),tr(()=>M(v.value));const x=l.computed({get(){return c?y.value:v.value},set(_){y.value=_}});try{return Object.assign(x,{store:y,system:p,state:v})}catch{return x}}const zS=l.defineComponent({name:"UseColorMode",props:["selector","attribute","modes","onChanged","storageKey","storage","emitAuto"],setup(e,{slots:t}){const n=OS(e),i=l.reactive({mode:n,system:n.system,store:n.store});return()=>{if(t.default)return t.default(i)}}}),LS=l.defineComponent({name:"UseDark",props:["selector","attribute","valueDark","valueLight","onChanged","storageKey","storage"],setup(e,{slots:t}){const n=Ex(e),i=l.reactive({isDark:n,toggleDark:gx(n)});return()=>{if(t.default)return t.default(i)}}}),$S=l.defineComponent({name:"UseDeviceMotion",setup(e,{slots:t}){const n=l.reactive(Ax());return()=>{if(t.default)return t.default(n)}}}),HS=l.defineComponent({name:"UseDeviceOrientation",setup(e,{slots:t}){const n=l.reactive(Dx());return()=>{if(t.default)return t.default(n)}}}),RS=l.defineComponent({name:"UseDevicePixelRatio",setup(e,{slots:t}){const n=l.reactive({pixelRatio:Nx()});return()=>{if(t.default)return t.default(n)}}}),BS=l.defineComponent({name:"UseDevicesList",props:["onUpdated","requestPermissions","constraints"],setup(e,{slots:t}){const n=l.reactive(jx(e));return()=>{if(t.default)return t.default(n)}}}),VS=l.defineComponent({name:"UseDocumentVisibility",setup(e,{slots:t}){const n=l.reactive({visibility:Ix()});return()=>{if(t.default)return t.default(n)}}}),FS=l.defineComponent({name:"UseDraggable",props:["storageKey","storageType","initialValue","exact","preventDefault","stopPropagation","pointerTypes","as","handle","axis","onStart","onMove","onEnd","disabled","buttons","containerElement"],setup(e,{slots:t}){const n=l.ref(),i=l.computed(()=>{var f;return(f=e.handle)!=null?f:n.value}),r=l.computed(()=>{var f;return(f=e.containerElement)!=null?f:void 0}),a=l.computed(()=>!!e.disabled),o=e.storageKey&&Dy(e.storageKey,le(e.initialValue)||{x:0,y:0},gi?e.storageType==="session"?sessionStorage:localStorage:void 0),s=o||e.initialValue||{x:0,y:0},u=(f,h)=>{var g;(g=e.onEnd)==null||g.call(e,f,h),o&&(o.value.x=f.x,o.value.y=f.y)},c=l.reactive(Wx(n,{...e,handle:i,initialValue:s,onEnd:u,disabled:a,containerElement:r}));return()=>{if(t.default)return l.h(e.as||"div",{ref:n,style:`touch-action:none;${c.style}`},t.default(c))}}}),US=l.defineComponent({name:"UseElementBounding",props:["box","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Ox(n));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}});function e2(e,t={}){const{delayEnter:n=0,delayLeave:i=0,window:r=Yt}=t,a=l.ref(!1);let o;const s=u=>{const c=u?n:i;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return r&&(nn(e,"mouseenter",()=>s(!0),{passive:!0}),nn(e,"mouseleave",()=>s(!1),{passive:!0})),a}const YS={[pi.mounted](e,t){const n=t.value;if(typeof n=="function"){const i=e2(e);l.watch(i,r=>n(r))}else{const[i,r]=n,a=e2(e,r);l.watch(a,o=>i(o))}}},XS=l.defineComponent({name:"UseElementSize",props:["width","height","box","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(jy(n,{width:e.width,height:e.height},{box:e.box}));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}});function jh(e,t,n={}){const{window:i=Yt,...r}=n;let a;const o=$u(()=>i&&"ResizeObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const h=le(e);return Array.isArray(h)?h.map(g=>Et(g)):[Et(h)]}),c=l.watch(u,h=>{if(s(),o.value&&i){a=new ResizeObserver(t);for(const g of h)g&&a.observe(g,r)}},{immediate:!0,flush:"post"}),f=()=>{s(),c()};return Pt(f),{isSupported:o,stop:f}}function qS(e,t={width:0,height:0},n={}){const{window:i=Yt,box:r="content-box"}=n,a=l.computed(()=>{var h,g;return(g=(h=Et(e))==null?void 0:h.namespaceURI)==null?void 0:g.includes("svg")}),o=l.ref(t.width),s=l.ref(t.height),{stop:u}=jh(e,([h])=>{const g=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(i&&a.value){const p=Et(e);if(p){const y=p.getBoundingClientRect();o.value=y.width,s.value=y.height}}else if(g){const p=Array.isArray(g)?g:[g];o.value=p.reduce((y,{inlineSize:v})=>y+v,0),s.value=p.reduce((y,{blockSize:v})=>y+v,0)}else o.value=h.contentRect.width,s.value=h.contentRect.height},n);tr(()=>{const h=Et(e);h&&(o.value="offsetWidth"in h?h.offsetWidth:t.width,s.value="offsetHeight"in h?h.offsetHeight:t.height)});const c=l.watch(()=>Et(e),h=>{o.value=h?t.width:0,s.value=h?t.height:0});function f(){u(),c()}return{width:o,height:s,stop:f}}const GS={[pi.mounted](e,t){var n;const i=typeof t.value=="function"?t.value:(n=t.value)==null?void 0:n[0],r=typeof t.value=="function"?[]:t.value.slice(1),{width:a,height:o}=qS(e,...r);l.watch([a,o],([s,u])=>i({width:s,height:u}))}},KS=l.defineComponent({name:"UseElementVisibility",props:["as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive({isVisible:Lx(n)});return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}});function Ih(e,t,n={}){const{root:i,rootMargin:r="0px",threshold:a=0,window:o=Yt,immediate:s=!0}=n,u=$u(()=>o&&"IntersectionObserver"in o),c=l.computed(()=>{const y=le(e);return(Array.isArray(y)?y:[y]).map(Et).filter(Au)});let f=Je;const h=l.ref(s),g=u.value?l.watch(()=>[c.value,Et(i),h.value],([y,v])=>{if(f(),!h.value||!y.length)return;const k=new IntersectionObserver(t,{root:Et(v),rootMargin:r,threshold:a});y.forEach(w=>w&&k.observe(w)),f=()=>{k.disconnect(),f=Je}},{immediate:s,flush:"post"}):Je,p=()=>{f(),g(),h.value=!1};return Pt(p),{isSupported:u,isActive:h,pause(){f(),h.value=!1},resume(){h.value=!0},stop:p}}function Wh(e,t={}){const{window:n=Yt,scrollTarget:i,threshold:r=0}=t,a=l.ref(!1);return Ih(e,o=>{let s=a.value,u=0;for(const c of o)c.time>=u&&(u=c.time,s=c.isIntersecting);a.value=s},{root:i,window:n,threshold:r}),a}const QS={[pi.mounted](e,t){if(typeof t.value=="function"){const n=t.value,i=Wh(e);l.watch(i,r=>n(r),{immediate:!0})}else{const[n,i]=t.value,r=Wh(e,i);l.watch(r,a=>n(a),{immediate:!0})}}},JS=l.defineComponent({name:"UseEyeDropper",props:{sRGBHex:String},setup(e,{slots:t}){const n=l.reactive($x());return()=>{if(t.default)return t.default(n)}}}),ZS=l.defineComponent({name:"UseFullscreen",props:["as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Hx(n));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),e_=l.defineComponent({name:"UseGeolocation",props:["enableHighAccuracy","maximumAge","timeout","navigator"],setup(e,{slots:t}){const n=l.reactive(Rx(e));return()=>{if(t.default)return t.default(n)}}}),t_=l.defineComponent({name:"UseIdle",props:["timeout","events","listenForVisibilityChange","initialState"],setup(e,{slots:t}){const n=l.reactive(Fx(e.timeout,e));return()=>{if(t.default)return t.default(n)}}});function n_(e,t,n){const{immediate:i=!0,delay:r=0,onError:a=Je,onSuccess:o=Je,resetOnExecute:s=!0,shallow:u=!0,throwError:c}=n??{},f=u?l.shallowRef(t):l.ref(t),h=l.ref(!1),g=l.ref(!1),p=l.shallowRef(void 0);async function y(w=0,...M){s&&(f.value=t),p.value=void 0,h.value=!1,g.value=!0,w>0&&await _h(w);const x=typeof e=="function"?e(...M):e;try{const _=await x;f.value=_,h.value=!0,o(_)}catch(_){if(p.value=_,a(_),c)throw _}finally{g.value=!1}return f.value}i&&y(r);const v={state:f,isReady:h,isLoading:g,error:p,execute:y};function k(){return new Promise((w,M)=>{Ph(g).toBe(!1).then(()=>w(v)).catch(M)})}return{...v,then(w,M){return k().then(w,M)}}}async function i_(e){return new Promise((t,n)=>{const i=new Image,{src:r,srcset:a,sizes:o,class:s,loading:u,crossorigin:c,referrerPolicy:f}=e;i.src=r,a&&(i.srcset=a),o&&(i.sizes=o),s&&(i.className=s),u&&(i.loading=u),c&&(i.crossOrigin=c),f&&(i.referrerPolicy=f),i.onload=()=>t(i),i.onerror=n})}function r_(e,t={}){const n=n_(()=>i_(le(e)),void 0,{resetOnExecute:!0,...t});return l.watch(()=>le(e),()=>n.execute(t.delay),{deep:!0}),n}const a_=l.defineComponent({name:"UseImage",props:["src","srcset","sizes","as","alt","class","loading","crossorigin","referrerPolicy"],setup(e,{slots:t}){const n=l.reactive(r_(e));return()=>n.isLoading&&t.loading?t.loading(n):n.error&&t.error?t.error(n.error):t.default?t.default(n):l.h(e.as||"img",e)}});function Hu(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const t2=1;function Oh(e,t={}){const{throttle:n=0,idle:i=200,onStop:r=Je,onScroll:a=Je,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:u="auto",window:c=Yt,onError:f=T=>{console.error(T)}}=t,h=l.ref(0),g=l.ref(0),p=l.computed({get(){return h.value},set(T){v(T,void 0)}}),y=l.computed({get(){return g.value},set(T){v(void 0,T)}});function v(T,I){var L,D,z,H;if(!c)return;const X=le(e);if(!X)return;(z=X instanceof Document?c.document.body:X)==null||z.scrollTo({top:(L=le(I))!=null?L:y.value,left:(D=le(T))!=null?D:p.value,behavior:le(u)});const re=((H=X==null?void 0:X.document)==null?void 0:H.documentElement)||(X==null?void 0:X.documentElement)||X;p!=null&&(h.value=re.scrollLeft),y!=null&&(g.value=re.scrollTop)}const k=l.ref(!1),w=l.reactive({left:!0,right:!1,top:!0,bottom:!1}),M=l.reactive({left:!1,right:!1,top:!1,bottom:!1}),x=T=>{k.value&&(k.value=!1,M.left=!1,M.right=!1,M.top=!1,M.bottom=!1,r(T))},_=ky(x,n+i),S=T=>{var I;if(!c)return;const L=((I=T==null?void 0:T.document)==null?void 0:I.documentElement)||(T==null?void 0:T.documentElement)||Et(T),{display:D,flexDirection:z}=getComputedStyle(L),H=L.scrollLeft;M.left=H<h.value,M.right=H>h.value;const X=Math.abs(H)<=(o.left||0),re=Math.abs(H)+L.clientWidth>=L.scrollWidth-(o.right||0)-t2;D==="flex"&&z==="row-reverse"?(w.left=re,w.right=X):(w.left=X,w.right=re),h.value=H;let ee=L.scrollTop;T===c.document&&!ee&&(ee=c.document.body.scrollTop),M.top=ee<g.value,M.bottom=ee>g.value;const q=Math.abs(ee)<=(o.top||0),Z=Math.abs(ee)+L.clientHeight>=L.scrollHeight-(o.bottom||0)-t2;D==="flex"&&z==="column-reverse"?(w.top=Z,w.bottom=q):(w.top=q,w.bottom=Z),g.value=ee},N=T=>{var I;if(!c)return;const L=(I=T.target.documentElement)!=null?I:T.target;S(L),k.value=!0,_(T),a(T)};return nn(e,"scroll",n?fx(N,n,!0,!1):N,s),tr(()=>{try{const T=le(e);if(!T)return;S(T)}catch(T){f(T)}}),nn(e,"scrollend",x,s),{x:p,y,isScrolling:k,arrivedState:w,directions:M,measure(){const T=le(e);c&&T&&S(T)}}}function n2(e,t,n={}){var i;const{direction:r="bottom",interval:a=100,canLoadMore:o=()=>!0}=n,s=l.reactive(Oh(e,{...n,offset:{[r]:(i=n.distance)!=null?i:0,...n.offset}})),u=l.ref(),c=l.computed(()=>!!u.value),f=l.computed(()=>Hu(le(e))),h=Wh(f);function g(){if(s.measure(),!f.value||!h.value||!o(f.value))return;const{scrollHeight:y,clientHeight:v,scrollWidth:k,clientWidth:w}=f.value,M=r==="bottom"||r==="top"?y<=v:k<=w;(s.arrivedState[r]||M)&&(u.value||(u.value=Promise.all([t(s),new Promise(x=>setTimeout(x,a))]).finally(()=>{u.value=null,l.nextTick(()=>g())})))}const p=l.watch(()=>[s.arrivedState[r],h.value],g,{immediate:!0});return mx(p),{isLoading:c,reset(){l.nextTick(()=>g())}}}const o_={[pi.mounted](e,t){typeof t.value=="function"?n2(e,t.value):n2(e,...t.value)}},s_={[pi.mounted](e,t){typeof t.value=="function"?Ih(e,t.value):Ih(e,...t.value)}},l_=l.defineComponent({name:"UseMouse",props:["touch","resetOnTouchEnds","initialValue"],setup(e,{slots:t}){const n=l.reactive(Wy(e));return()=>{if(t.default)return t.default(n)}}}),u_=l.defineComponent({name:"UseMouseElement",props:["handleOutside","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Yx(n,e));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),d_=l.defineComponent({name:"UseMousePressed",props:["touch","initialValue","as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(Xx({...e,target:n}));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),c_=l.defineComponent({name:"UseNetwork",setup(e,{slots:t}){const n=l.reactive(Oy());return()=>{if(t.default)return t.default(n)}}}),f_=l.defineComponent({name:"UseNow",props:["interval"],setup(e,{slots:t}){const n=l.reactive(zy({...e,controls:!0}));return()=>{if(t.default)return t.default(n)}}}),h_=l.defineComponent({name:"UseObjectUrl",props:["object"],setup(e,{slots:t}){const n=ju(e,"object"),i=qx(n);return()=>{if(t.default&&i.value)return t.default(i)}}}),m_=l.defineComponent({name:"UseOffsetPagination",props:["total","page","pageSize","onPageChange","onPageSizeChange","onPageCountChange"],emits:["page-change","page-size-change","page-count-change"],setup(e,{slots:t,emit:n}){const i=l.reactive(Gx({...e,onPageChange(...r){var a;(a=e.onPageChange)==null||a.call(e,...r),n("page-change",...r)},onPageSizeChange(...r){var a;(a=e.onPageSizeChange)==null||a.call(e,...r),n("page-size-change",...r)},onPageCountChange(...r){var a;(a=e.onPageCountChange)==null||a.call(e,...r),n("page-count-change",...r)}}));return()=>{if(t.default)return t.default(i)}}}),p_=l.defineComponent({name:"UseOnline",setup(e,{slots:t}){const n=l.reactive({isOnline:Kx()});return()=>{if(t.default)return t.default(n)}}}),g_=l.defineComponent({name:"UsePageLeave",setup(e,{slots:t}){const n=l.reactive({isLeft:Qx()});return()=>{if(t.default)return t.default(n)}}}),y_=l.defineComponent({name:"UsePointer",props:["pointerTypes","initialValue","target"],setup(e,{slots:t}){const n=l.ref(null),i=l.reactive(Zx({...e,target:e.target==="self"?n:Yt}));return()=>{if(t.default)return t.default(i,{ref:n})}}}),b_=l.defineComponent({name:"UsePointerLock",props:["as"],setup(e,{slots:t}){const n=l.ref(),i=l.reactive(eS(n));return()=>{if(t.default)return l.h(e.as||"div",{ref:n},t.default(i))}}}),w_=l.defineComponent({name:"UsePreferredColorScheme",setup(e,{slots:t}){const n=l.reactive({colorScheme:tS()});return()=>{if(t.default)return t.default(n)}}}),v_=l.defineComponent({name:"UsePreferredContrast",setup(e,{slots:t}){const n=l.reactive({contrast:nS()});return()=>{if(t.default)return t.default(n)}}}),k_=l.defineComponent({name:"UsePreferredDark",setup(e,{slots:t}){const n=l.reactive({prefersDark:Dh()});return()=>{if(t.default)return t.default(n)}}}),M_=l.defineComponent({name:"UsePreferredLanguages",setup(e,{slots:t}){const n=l.reactive({languages:iS()});return()=>{if(t.default)return t.default(n)}}}),C_=l.defineComponent({name:"UsePreferredReducedMotion",setup(e,{slots:t}){const n=l.reactive({motion:rS()});return()=>{if(t.default)return t.default(n)}}}),x_={[pi.mounted](e,t){typeof t.value=="function"?jh(e,t.value):jh(e,...t.value)}};function S_(e,t,n={}){const{window:i=Yt,...r}=n;let a;const o=$u(()=>i&&"MutationObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const g=le(e),p=(Array.isArray(g)?g:[g]).map(Et).filter(Au);return new Set(p)}),c=l.watch(()=>u.value,g=>{s(),o.value&&g.size&&(a=new MutationObserver(t),g.forEach(p=>a.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>a==null?void 0:a.takeRecords(),h=()=>{c(),s()};return Pt(h),{isSupported:o,stop:h,takeRecords:f}}function Ru(e,t,n={}){const{window:i=Yt,initialValue:r,observe:a=!1}=n,o=l.ref(r),s=l.computed(()=>{var c;return Et(t)||((c=i==null?void 0:i.document)==null?void 0:c.documentElement)});function u(){var c;const f=le(e),h=le(s);if(h&&i&&f){const g=(c=i.getComputedStyle(h).getPropertyValue(f))==null?void 0:c.trim();o.value=g||r}}return a&&S_(s,u,{attributeFilter:["style","class"],window:i}),l.watch([s,()=>le(e)],(c,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),u()},{immediate:!0}),l.watch(o,c=>{var f;const h=le(e);(f=s.value)!=null&&f.style&&h&&(c==null?s.value.style.removeProperty(h):s.value.style.setProperty(h,c))}),o}const i2="--vueuse-safe-area-top",r2="--vueuse-safe-area-right",a2="--vueuse-safe-area-bottom",o2="--vueuse-safe-area-left";function __(){const e=l.ref(""),t=l.ref(""),n=l.ref(""),i=l.ref("");if(gi){const a=Ru(i2),o=Ru(r2),s=Ru(a2),u=Ru(o2);a.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",s.value="env(safe-area-inset-bottom, 0px)",u.value="env(safe-area-inset-left, 0px)",r(),nn("resize",ky(r))}function r(){e.value=Bu(i2),t.value=Bu(r2),n.value=Bu(a2),i.value=Bu(o2)}return{top:e,right:t,bottom:n,left:i,update:r}}function Bu(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}const T_=l.defineComponent({name:"UseScreenSafeArea",props:{top:Boolean,right:Boolean,bottom:Boolean,left:Boolean},setup(e,{slots:t}){const{top:n,right:i,bottom:r,left:a}=__();return()=>{if(t.default)return l.h("div",{style:{paddingTop:e.top?n.value:"",paddingRight:e.right?i.value:"",paddingBottom:e.bottom?r.value:"",paddingLeft:e.left?a.value:"",boxSizing:"border-box",maxHeight:"100vh",maxWidth:"100vw",overflow:"auto"}},t.default())}}}),P_={[pi.mounted](e,t){if(typeof t.value=="function"){const n=t.value,i=Oh(e,{onScroll(){n(i)},onStop(){n(i)}})}else{const[n,i]=t.value,r=Oh(e,{...i,onScroll(a){var o;(o=i.onScroll)==null||o.call(i,a),n(r)},onStop(a){var o;(o=i.onStop)==null||o.call(i,a),n(r)}})}}};function s2(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:s2(n)}}function E_(e){const t=e||window.event,n=t.target;return s2(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zh=new WeakMap;function A_(e,t=!1){const n=l.ref(t);let i=null,r="";l.watch(ju(e),s=>{const u=Hu(le(s));if(u){const c=u;if(zh.get(c)||zh.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const a=()=>{const s=Hu(le(e));!s||n.value||(Nu&&(i=nn(s,"touchmove",u=>{E_(u)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},o=()=>{const s=Hu(le(e));!s||!n.value||(Nu&&(i==null||i()),s.style.overflow=r,zh.delete(s),n.value=!1)};return Pt(o),l.computed({get(){return n.value},set(s){s?a():o()}})}function D_(){let e=!1;const t=l.ref(!1);return(n,i)=>{if(t.value=i.value,e)return;e=!0;const r=A_(n,i.value);l.watch(t,a=>r.value=a)}}const N_=D_(),j_=l.defineComponent({name:"UseTimeAgo",props:["time","updateInterval","max","fullDateFormatter","messages","showSecond"],setup(e,{slots:t}){const n=l.reactive(lS(()=>e.time,{...e,controls:!0}));return()=>{if(t.default)return t.default(n)}}}),I_=l.defineComponent({name:"UseTimestamp",props:["immediate","interval","offset"],setup(e,{slots:t}){const n=l.reactive(dS({...e,controls:!0}));return()=>{if(t.default)return t.default(n)}}}),W_=l.defineComponent({name:"UseVirtualList",props:["list","options","height"],setup(e,{slots:t,expose:n}){const{list:i}=l.toRefs(e),{list:r,containerProps:a,wrapperProps:o,scrollTo:s}=cS(i,e.options);return n({scrollTo:s}),a.style&&typeof a.style=="object"&&!Array.isArray(a.style)&&(a.style.height=e.height||"300px"),()=>l.h("div",{...a},[l.h("div",{...o.value},r.value.map(u=>l.h("div",{style:{overflow:"hidden",height:u.height}},t.default?t.default(u):"Please set content!")))])}}),O_=l.defineComponent({name:"UseWindowFocus",setup(e,{slots:t}){const n=l.reactive({focused:pS()});return()=>{if(t.default)return t.default(n)}}}),z_=l.defineComponent({name:"UseWindowSize",props:["initialWidth","initialHeight"],setup(e,{slots:t}){const n=l.reactive(gS(e));return()=>{if(t.default)return t.default(n)}}}),L_=["data-testid"],$_=["data-testid"],H_=["open","data-testid"],ko=me(l.defineComponent({__name:"SelectList",props:{isOpened:{type:Boolean,default:!1},disableOpen:{type:Boolean},headerClasses:{},optionsClasses:{},disabled:{type:Boolean},dataTestid:{default:"SelectList"}},emits:["change","focusout-options"],setup(e,{emit:t}){const n=e,i=l.reactive({isOpened:!1}),r=l.ref(null),a=l.ref(null),o=t;l.watchEffect(()=>i.isOpened=n.isOpened);const s=()=>{n.disabled||n.disableOpen||(i.isOpened=!i.isOpened,o("change",i.isOpened))},u=()=>{i.isOpened=!1,o("focusout-options"),o("change",i.isOpened)},c=()=>{if(a.value&&r.value&&i.isOpened){const f=a.value.getBoundingClientRect();r.value.style.top=`${f.top+f.height}px`}};return l.watch(()=>n.isOpened,()=>{i.isOpened=n.isOpened}),l.watch(()=>i.isOpened,c),l.onMounted(()=>{window.addEventListener("scroll",c,!0)}),l.onUnmounted(()=>{window.removeEventListener("scroll",c,!0)}),(f,h)=>l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:"select-list-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{ref_key:"currentRef",ref:a,class:l.normalizeClass(["select-list-yui-kit__current",{"active-yui-kit":i.isOpened},{"disabled-yui-kit":n.disabled},n==null?void 0:n.headerClasses]),tabindex:"0",onKeyup:l.withKeys(s,["enter"]),onClick:s,"data-testid":`${n.dataTestid}-Current`},[l.renderSlot(f.$slots,"header",{},void 0,!0)],42,$_),l.withDirectives(l.createElementVNode("ul",{ref_key:"dropdownRef",ref:r,class:l.normalizeClass(["select-list-yui-kit__list",n==null?void 0:n.optionsClasses]),open:i.isOpened,"data-testid":`${n.dataTestid}-OptionsList`},[l.renderSlot(f.$slots,"options",{},void 0,!0)],10,H_),[[l.vShow,i.isOpened]])],8,L_)),[[l.unref(vo),u,void 0,{bubble:!0}]])}}),[["__scopeId","data-v-c982466d"]]);function $s(e){return e!==null&&typeof e=="object"&&"key"in e}function l2(e){return e!==null&&Array.isArray(e)&&typeof e[0]=="object"&&"key"in e[0]}const Lh=e=>e!==null&&typeof e=="object"&&"hint"in e,Hs=e=>e!==null&&Array.isArray(e)&&Lh(e[0]),R_=["onClick","data-testid"],B_={class:"options__item"},V_={class:"options__value truncate-yui-kit"},F_={key:0,class:"options__used"},$h=me(l.defineComponent({__name:"Options",props:{options:{},defaultOption:{},class:{},disabled:{type:Boolean},dataTestid:{default:"Options"}},emits:["change"],setup(e,{emit:t}){const n=e,i=l.reactive({choosedOption:n.defaultOption??(n.options[0]||""),lengthOption:0});l.watch(()=>n.defaultOption,()=>{n.defaultOption?i.choosedOption=n.defaultOption:i.choosedOption=""},{immediate:!0});const r=t,a=l.computed(()=>({"select-list-yui-kit__item":!0,"truncate-yui-kit":!0})),o=c=>{i.choosedOption=c,$s(i.choosedOption)?r("change",i.choosedOption.key):r("change",i.choosedOption)},s=c=>{let f=!1;return $s(c)?$s(i.choosedOption)?c.value===i.choosedOption.value&&(f=!0):((c.key==="null"||c.key===null)&&i.choosedOption===""&&(f=!0),c.value===i.choosedOption&&(f=!0)):$s(i.choosedOption)?c===i.choosedOption.value&&(f=!0):c===i.choosedOption&&(f=!0),{active:f}},u=c=>Lh(c)?c.hint:$s(c)?c.value:c;return(c,f)=>(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.options,(h,g)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:g},[l.createElementVNode("li",{class:l.normalizeClass([a.value,s(h),n.class]),onClick:()=>o(h),"data-testid":`${n.dataTestid}-${g}`},[l.createElementVNode("div",B_,[l.createElementVNode("div",V_,l.toDisplayString(u(h)),1),typeof h=="object"&&(h!=null&&h.used)?(l.openBlock(),l.createElementBlock("div",F_)):l.createCommentVNode("",!0)]),l.renderSlot(c.$slots,"option",{inx:g},void 0,!0)],10,R_),l.renderSlot(c.$slots,"default",{},void 0,!0)],64))),128))}}),[["__scopeId","data-v-582a9d39"]]),U_=["data-testid"],Hh=me(l.defineComponent({__name:"Dropdown",props:{options:{},defaultOption:{},class:{},disabled:{type:Boolean,default:!1},dataTestid:{default:"Dropdown"}},emits:["change"],setup(e,{emit:t}){const n=e,i=l.reactive({choosedOption:n.defaultOption||n.options[0]||"",isOpened:!1}),r=t,a=s=>{i.isOpened=s},o=s=>{let u;if(l2(n.options)){const c=n.options.find(f=>f.key===s);i.choosedOption=(c==null?void 0:c.value)||s,u=c==null?void 0:c.key}else i.choosedOption=s;i.isOpened=!1,r("change",u||s)};return l.watch(()=>n.defaultOption,()=>{n.defaultOption&&(i.choosedOption=n.defaultOption)}),l.onMounted(()=>{l2(n.options)&&(i.choosedOption=n.defaultOption||n.options[0].value)}),(s,u)=>(l.openBlock(),l.createBlock(ko,{onChange:a,"is-opened":i.isOpened,class:l.normalizeClass([n.class,"dropdown-yui-kit"]),disabled:n.disabled,"data-testid":n.dataTestid},{header:l.withCtx(()=>[l.createElementVNode("span",{class:"truncate-yui-kit dropdown-yui-kit__text","data-testid":`${n.dataTestid}-SelectedText`},l.toDisplayString(i.choosedOption),9,U_),i.isOpened?(l.openBlock(),l.createBlock(we,{key:0,name:l.unref(se).chevronUp,"data-testid":`${n.dataTestid}-ArrowUp`},null,8,["name","data-testid"])):l.createCommentVNode("",!0),i.isOpened?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(we,{key:1,name:l.unref(se).chevronDown,"data-testid":`${n.dataTestid}-ArrowDown`},null,8,["name","data-testid"]))]),options:l.withCtx(()=>[l.createVNode($h,{options:n.options,"default-option":n.defaultOption,onChange:o,"data-testid":`${n.dataTestid}-Options`},null,8,["options","default-option","data-testid"])]),_:1},8,["is-opened","class","disabled","data-testid"]))}}),[["__scopeId","data-v-08af0925"]]);/**
|
|
527
527
|
* @license
|
|
528
528
|
* Copyright 2019 Google LLC
|
|
529
529
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
@change-date=${this.handleDateSelected}
|
|
1276
1276
|
></col-cal-dates>
|
|
1277
1277
|
</div>
|
|
1278
|
-
`}};rr([fe({type:Object})],zi.prototype,"date",2),rr([fe({type:Object})],zi.prototype,"minDate",2),rr([fe({type:Object})],zi.prototype,"maxDate",2),rr([fe({type:String})],zi.prototype,"locale",2),rr([fe({type:Number})],zi.prototype,"firstDayOfWeek",2),rr([fe({type:Array})],zi.prototype,"disabledDates",2),rr([fe({type:Array})],zi.prototype,"events",2),rr([qu()],zi.prototype,"_date",2),zi=rr([_a("col-cal")],zi);const u3e=["data-testid"],d3e=["data-testid"],c3e=["data-testid"],f3e=me(l.defineComponent({__name:"DataPickerChoose",props:{value:{},isActive:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerChoose"}},emits:["clear","click"],setup(e,{emit:t}){const n=e,i=l.reactive({defaultValue:"-- -- ----",value:"",isActive:!1}),r=t;l.watchEffect(()=>i.isActive=n.isActive),l.watchEffect(()=>i.value=n.value);const a=()=>{r("clear")},o=()=>{r("click")},s=u=>{if(!u)return null;const c=u.indexOf(" "),f=c===-1?3:Math.min(c,3);return`${u.charAt(0).toUpperCase()}${u.slice(1,f)}${u.slice(c)}`};return(u,c)=>(l.openBlock(),l.createElementBlock("button",{onClick:o,class:l.normalizeClass(["date-picker-yui-kit__header-btn",{"date-picker-yui-kit__header-btn_table-view":n.isSmall},{"date-picker-yui-kit__header-btn_range-view":n.isRange},{"date-disable-yui-kit":n.disabled},{"date-active-yui-kit":i.isActive}]),"data-testid":`${n.dataTestid}-HeaderBtn-Trigger`},[l.createVNode(we,{name:l.unref(se).calendar,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"]),i.value?(l.openBlock(),l.createElementBlock("span",{key:0,"data-testid":`${n.dataTestid}-Value-Display`},l.toDisplayString(s(i.value)),9,d3e)):(l.openBlock(),l.createElementBlock("span",{key:1,class:"date-picker-yui-kit__header-btn__dash","data-testid":`${n.dataTestid}-HeaderBtnDash-Placeholder`},l.toDisplayString(i.defaultValue),9,c3e)),i.value?(l.openBlock(),l.createBlock(yt,{key:2,size:l.unref(vn).small,type:l.unref(Qe).ghost,disabled:n.disabled,onClick:l.withModifiers(a,["stop"]),class:"date-picker-close-yui-kit","data-testid":`${n.dataTestid}-Button-Clear`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).crossSmall,"data-testid":`${n.dataTestid}-ButtonClose-Icon`},null,8,["name","data-testid"])]),_:1},8,["size","type","disabled","data-testid"])):l.createCommentVNode("",!0)],10,u3e))}}),[["__scopeId","data-v-8e63d7ec"]]),dw=["top","right","bottom","left"],cw=["start","end"],fw=dw.reduce((e,t)=>e.concat(t,t+"-"+cw[0],t+"-"+cw[1]),[]),wi=Math.min,qt=Math.max,hd=Math.round,md=Math.floor,Li=e=>({x:e,y:e}),h3e={left:"right",right:"left",bottom:"top",top:"bottom"},m3e={start:"end",end:"start"};function $m(e,t,n){return qt(e,wi(t,n))}function vi(e,t){return typeof e=="function"?e(t):e}function On(e){return e.split("-")[0]}function ki(e){return e.split("-")[1]}function Hm(e){return e==="x"?"y":"x"}function Rm(e){return e==="y"?"height":"width"}const p3e=new Set(["top","bottom"]);function Mi(e){return p3e.has(On(e))?"y":"x"}function Bm(e){return Hm(Mi(e))}function hw(e,t,n){n===void 0&&(n=!1);const i=ki(e),r=Bm(e),a=Rm(r);let o=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=gd(o)),[o,gd(o)]}function g3e(e){const t=gd(e);return[pd(e),t,pd(t)]}function pd(e){return e.replace(/start|end/g,t=>m3e[t])}const mw=["left","right"],pw=["right","left"],y3e=["top","bottom"],b3e=["bottom","top"];function w3e(e,t,n){switch(e){case"top":case"bottom":return n?t?pw:mw:t?mw:pw;case"left":case"right":return t?y3e:b3e;default:return[]}}function v3e(e,t,n,i){const r=ki(e);let a=w3e(On(e),n==="start",i);return r&&(a=a.map(o=>o+"-"+r),t&&(a=a.concat(a.map(pd)))),a}function gd(e){return e.replace(/left|right|bottom|top/g,t=>h3e[t])}function k3e(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vm(e){return typeof e!="number"?k3e(e):{top:e,right:e,bottom:e,left:e}}function Io(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function gw(e,t,n){let{reference:i,floating:r}=e;const a=Mi(t),o=Bm(t),s=Rm(o),u=On(t),c=a==="y",f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,g=i[s]/2-r[s]/2;let p;switch(u){case"top":p={x:f,y:i.y-r.height};break;case"bottom":p={x:f,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:h};break;case"left":p={x:i.x-r.width,y:h};break;default:p={x:i.x,y:i.y}}switch(ki(t)){case"start":p[o]-=g*(n&&c?-1:1);break;case"end":p[o]+=g*(n&&c?-1:1);break}return p}const M3e=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:h}=gw(c,i,u),g=i,p={},y=0;for(let v=0;v<s.length;v++){const{name:k,fn:w}=s[v],{x:M,y:x,data:_,reset:S}=await w({x:f,y:h,initialPlacement:i,placement:g,strategy:r,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});f=M??f,h=x??h,p={...p,[k]:{...p[k],..._}},S&&y<=50&&(y++,typeof S=="object"&&(S.placement&&(g=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:f,y:h}=gw(c,g,u)),v=-1)}return{x:f,y:h,placement:g,strategy:r,middlewareData:p}};async function Wa(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:a,rects:o,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:p=0}=vi(t,e),y=Vm(p),k=s[g?h==="floating"?"reference":"floating":h],w=Io(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(k)))==null||n?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:u})),M=h==="floating"?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),_=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Io(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:M,offsetParent:x,strategy:u}):M);return{top:(w.top-S.top+y.top)/_.y,bottom:(S.bottom-w.bottom+y.bottom)/_.y,left:(w.left-S.left+y.left)/_.x,right:(S.right-w.right+y.right)/_.x}}const C3e=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:a,platform:o,elements:s,middlewareData:u}=t,{element:c,padding:f=0}=vi(e,t)||{};if(c==null)return{};const h=Vm(f),g={x:n,y:i},p=Bm(r),y=Rm(p),v=await o.getDimensions(c),k=p==="y",w=k?"top":"left",M=k?"bottom":"right",x=k?"clientHeight":"clientWidth",_=a.reference[y]+a.reference[p]-g[p]-a.floating[y],S=g[p]-a.reference[p],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let T=N?N[x]:0;(!T||!await(o.isElement==null?void 0:o.isElement(N)))&&(T=s.floating[x]||a.floating[y]);const I=_/2-S/2,L=T/2-v[y]/2-1,D=wi(h[w],L),z=wi(h[M],L),H=D,X=T-v[y]-z,re=T/2-v[y]/2+I,ee=$m(H,re,X),q=!u.arrow&&ki(r)!=null&&re!==ee&&a.reference[y]/2-(re<H?D:z)-v[y]/2<0,Z=q?re<H?re-H:re-X:0;return{[p]:g[p]+Z,data:{[p]:ee,centerOffset:re-ee-Z,...q&&{alignmentOffset:Z}},reset:q}}});function x3e(e,t,n){return(e?[...n.filter(r=>ki(r)===e),...n.filter(r=>ki(r)!==e)]:n.filter(r=>On(r)===r)).filter(r=>e?ki(r)===e||(t?pd(r)!==r:!1):!0)}const S3e=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,r;const{rects:a,middlewareData:o,placement:s,platform:u,elements:c}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:g=fw,autoAlignment:p=!0,...y}=vi(e,t),v=h!==void 0||g===fw?x3e(h||null,p,g):g,k=await Wa(t,y),w=((n=o.autoPlacement)==null?void 0:n.index)||0,M=v[w];if(M==null)return{};const x=hw(M,a,await(u.isRTL==null?void 0:u.isRTL(c.floating)));if(s!==M)return{reset:{placement:v[0]}};const _=[k[On(M)],k[x[0]],k[x[1]]],S=[...((i=o.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:_}],N=v[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};const T=S.map(D=>{const z=ki(D.placement);return[D.placement,z&&f?D.overflows.slice(0,2).reduce((H,X)=>H+X,0):D.overflows[0],D.overflows]}).sort((D,z)=>D[1]-z[1]),L=((r=T.filter(D=>D[2].slice(0,ki(D[0])?2:3).every(z=>z<=0))[0])==null?void 0:r[0])||T[0][0];return L!==s?{data:{index:w+1,overflows:S},reset:{placement:L}}:{}}}},_3e=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:a,rects:o,initialPlacement:s,platform:u,elements:c}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...k}=vi(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const w=On(r),M=Mi(s),x=On(s)===s,_=await(u.isRTL==null?void 0:u.isRTL(c.floating)),S=g||(x||!v?[gd(s)]:g3e(s)),N=y!=="none";!g&&N&&S.push(...v3e(s,v,y,_));const T=[s,...S],I=await Wa(t,k),L=[];let D=((i=a.flip)==null?void 0:i.overflows)||[];if(f&&L.push(I[w]),h){const re=hw(r,o,_);L.push(I[re[0]],I[re[1]])}if(D=[...D,{placement:r,overflows:L}],!L.every(re=>re<=0)){var z,H;const re=(((z=a.flip)==null?void 0:z.index)||0)+1,ee=T[re];if(ee&&(!(h==="alignment"?M!==Mi(ee):!1)||D.every(de=>Mi(de.placement)===M?de.overflows[0]>0:!0)))return{data:{index:re,overflows:D},reset:{placement:ee}};let q=(H=D.filter(Z=>Z.overflows[0]<=0).sort((Z,de)=>Z.overflows[1]-de.overflows[1])[0])==null?void 0:H.placement;if(!q)switch(p){case"bestFit":{var X;const Z=(X=D.filter(de=>{if(N){const Ae=Mi(de.placement);return Ae===M||Ae==="y"}return!0}).map(de=>[de.placement,de.overflows.filter(Ae=>Ae>0).reduce((Ae,at)=>Ae+at,0)]).sort((de,Ae)=>de[1]-Ae[1])[0])==null?void 0:X[0];Z&&(q=Z);break}case"initialPlacement":q=s;break}if(r!==q)return{reset:{placement:q}}}return{}}}};function yw(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bw(e){return dw.some(t=>e[t]>=0)}const T3e=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:i="referenceHidden",...r}=vi(e,t);switch(i){case"referenceHidden":{const a=await Wa(t,{...r,elementContext:"reference"}),o=yw(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:bw(o)}}}case"escaped":{const a=await Wa(t,{...r,altBoundary:!0}),o=yw(a,n.floating);return{data:{escapedOffsets:o,escaped:bw(o)}}}default:return{}}}}};function ww(e){const t=wi(...e.map(a=>a.left)),n=wi(...e.map(a=>a.top)),i=qt(...e.map(a=>a.right)),r=qt(...e.map(a=>a.bottom));return{x:t,y:n,width:i-t,height:r-n}}function P3e(e){const t=e.slice().sort((r,a)=>r.y-a.y),n=[];let i=null;for(let r=0;r<t.length;r++){const a=t[r];!i||a.y-i.y>i.height/2?n.push([a]):n[n.length-1].push(a),i=a}return n.map(r=>Io(ww(r)))}const E3e=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:i,rects:r,platform:a,strategy:o}=t,{padding:s=2,x:u,y:c}=vi(e,t),f=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(i.reference))||[]),h=P3e(f),g=Io(ww(f)),p=Vm(s);function y(){if(h.length===2&&h[0].left>h[1].right&&u!=null&&c!=null)return h.find(k=>u>k.left-p.left&&u<k.right+p.right&&c>k.top-p.top&&c<k.bottom+p.bottom)||g;if(h.length>=2){if(Mi(n)==="y"){const D=h[0],z=h[h.length-1],H=On(n)==="top",X=D.top,re=z.bottom,ee=H?D.left:z.left,q=H?D.right:z.right,Z=q-ee,de=re-X;return{top:X,bottom:re,left:ee,right:q,width:Z,height:de,x:ee,y:X}}const k=On(n)==="left",w=qt(...h.map(D=>D.right)),M=wi(...h.map(D=>D.left)),x=h.filter(D=>k?D.left===M:D.right===w),_=x[0].top,S=x[x.length-1].bottom,N=M,T=w,I=T-N,L=S-_;return{top:_,bottom:S,left:N,right:T,width:I,height:L,x:N,y:_}}return g}const v=await a.getElementRects({reference:{getBoundingClientRect:y},floating:i.floating,strategy:o});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},vw=new Set(["left","top"]);async function A3e(e,t){const{placement:n,platform:i,elements:r}=e,a=await(i.isRTL==null?void 0:i.isRTL(r.floating)),o=On(n),s=ki(n),u=Mi(n)==="y",c=vw.has(o)?-1:1,f=a&&u?-1:1,h=vi(t,e);let{mainAxis:g,crossAxis:p,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof y=="number"&&(p=s==="end"?y*-1:y),u?{x:p*f,y:g*c}:{x:g*c,y:p*f}}const D3e=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:r,y:a,placement:o,middlewareData:s}=t,u=await A3e(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(i=s.arrow)!=null&&i.alignmentOffset?{}:{x:r+u.x,y:a+u.y,data:{...u,placement:o}}}}},N3e=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:k=>{let{x:w,y:M}=k;return{x:w,y:M}}},...u}=vi(e,t),c={x:n,y:i},f=await Wa(t,u),h=Mi(On(r)),g=Hm(h);let p=c[g],y=c[h];if(a){const k=g==="y"?"top":"left",w=g==="y"?"bottom":"right",M=p+f[k],x=p-f[w];p=$m(M,p,x)}if(o){const k=h==="y"?"top":"left",w=h==="y"?"bottom":"right",M=y+f[k],x=y-f[w];y=$m(M,y,x)}const v=s.fn({...t,[g]:p,[h]:y});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[g]:a,[h]:o}}}}}},j3e=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:r,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:u=!0,crossAxis:c=!0}=vi(e,t),f={x:n,y:i},h=Mi(r),g=Hm(h);let p=f[g],y=f[h];const v=vi(s,t),k=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const x=g==="y"?"height":"width",_=a.reference[g]-a.floating[x]+k.mainAxis,S=a.reference[g]+a.reference[x]-k.mainAxis;p<_?p=_:p>S&&(p=S)}if(c){var w,M;const x=g==="y"?"width":"height",_=vw.has(On(r)),S=a.reference[h]-a.floating[x]+(_&&((w=o.offset)==null?void 0:w[h])||0)+(_?0:k.crossAxis),N=a.reference[h]+a.reference[x]+(_?0:((M=o.offset)==null?void 0:M[h])||0)-(_?k.crossAxis:0);y<S?y=S:y>N&&(y=N)}return{[g]:p,[h]:y}}}},I3e=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:r,rects:a,platform:o,elements:s}=t,{apply:u=()=>{},...c}=vi(e,t),f=await Wa(t,c),h=On(r),g=ki(r),p=Mi(r)==="y",{width:y,height:v}=a.floating;let k,w;h==="top"||h==="bottom"?(k=h,w=g===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(w=h,k=g==="end"?"top":"bottom");const M=v-f.top-f.bottom,x=y-f.left-f.right,_=wi(v-f[k],M),S=wi(y-f[w],x),N=!t.middlewareData.shift;let T=_,I=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=x),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(T=M),N&&!g){const D=qt(f.left,0),z=qt(f.right,0),H=qt(f.top,0),X=qt(f.bottom,0);p?I=y-2*(D!==0||z!==0?D+z:qt(f.left,f.right)):T=v-2*(H!==0||X!==0?H+X:qt(f.top,f.bottom))}await u({...t,availableWidth:I,availableHeight:T});const L=await o.getDimensions(s.floating);return y!==L.width||v!==L.height?{reset:{rects:!0}}:{}}}};function yd(){return typeof window<"u"}function Oa(e){return Fm(e)?(e.nodeName||"").toLowerCase():"#document"}function zn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $i(e){var t;return(t=(Fm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fm(e){return yd()?e instanceof Node||e instanceof zn(e).Node:!1}function Ci(e){return yd()?e instanceof Element||e instanceof zn(e).Element:!1}function Hi(e){return yd()?e instanceof HTMLElement||e instanceof zn(e).HTMLElement:!1}function kw(e){return!yd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof zn(e).ShadowRoot}const W3e=new Set(["inline","contents"]);function al(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=xi(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!W3e.has(r)}const O3e=new Set(["table","td","th"]);function z3e(e){return O3e.has(Oa(e))}const L3e=[":popover-open",":modal"];function bd(e){return L3e.some(t=>{try{return e.matches(t)}catch{return!1}})}const $3e=["transform","translate","scale","rotate","perspective"],H3e=["transform","translate","scale","rotate","perspective","filter"],R3e=["paint","layout","strict","content"];function Um(e){const t=Ym(),n=Ci(e)?xi(e):e;return $3e.some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||H3e.some(i=>(n.willChange||"").includes(i))||R3e.some(i=>(n.contain||"").includes(i))}function B3e(e){let t=Lr(e);for(;Hi(t)&&!Wo(t);){if(Um(t))return t;if(bd(t))return null;t=Lr(t)}return null}function Ym(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const V3e=new Set(["html","body","#document"]);function Wo(e){return V3e.has(Oa(e))}function xi(e){return zn(e).getComputedStyle(e)}function wd(e){return Ci(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lr(e){if(Oa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kw(e)&&e.host||$i(e);return kw(t)?t.host:t}function Mw(e){const t=Lr(e);return Wo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hi(t)&&al(t)?t:Mw(t)}function Oo(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Mw(e),a=r===((i=e.ownerDocument)==null?void 0:i.body),o=zn(r);if(a){const s=Xm(o);return t.concat(o,o.visualViewport||[],al(r)?r:[],s&&n?Oo(s):[])}return t.concat(r,Oo(r,[],n))}function Xm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cw(e){const t=xi(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=Hi(e),a=r?e.offsetWidth:n,o=r?e.offsetHeight:i,s=hd(n)!==a||hd(i)!==o;return s&&(n=a,i=o),{width:n,height:i,$:s}}function qm(e){return Ci(e)?e:e.contextElement}function zo(e){const t=qm(e);if(!Hi(t))return Li(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:a}=Cw(t);let o=(a?hd(n.width):n.width)/i,s=(a?hd(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const F3e=Li(0);function xw(e){const t=zn(e);return!Ym()||!t.visualViewport?F3e:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function U3e(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==zn(e)?!1:t}function za(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),a=qm(e);let o=Li(1);t&&(i?Ci(i)&&(o=zo(i)):o=zo(e));const s=U3e(a,n,i)?xw(a):Li(0);let u=(r.left+s.x)/o.x,c=(r.top+s.y)/o.y,f=r.width/o.x,h=r.height/o.y;if(a){const g=zn(a),p=i&&Ci(i)?zn(i):i;let y=g,v=Xm(y);for(;v&&i&&p!==y;){const k=zo(v),w=v.getBoundingClientRect(),M=xi(v),x=w.left+(v.clientLeft+parseFloat(M.paddingLeft))*k.x,_=w.top+(v.clientTop+parseFloat(M.paddingTop))*k.y;u*=k.x,c*=k.y,f*=k.x,h*=k.y,u+=x,c+=_,y=zn(v),v=Xm(y)}}return Io({width:f,height:h,x:u,y:c})}function Gm(e,t){const n=wd(e).scrollLeft;return t?t.left+n:za($i(e)).left+n}function Sw(e,t,n){n===void 0&&(n=!1);const i=e.getBoundingClientRect(),r=i.left+t.scrollLeft-(n?0:Gm(e,i)),a=i.top+t.scrollTop;return{x:r,y:a}}function Y3e(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e;const a=r==="fixed",o=$i(i),s=t?bd(t.floating):!1;if(i===o||s&&a)return n;let u={scrollLeft:0,scrollTop:0},c=Li(1);const f=Li(0),h=Hi(i);if((h||!h&&!a)&&((Oa(i)!=="body"||al(o))&&(u=wd(i)),Hi(i))){const p=za(i);c=zo(i),f.x=p.x+i.clientLeft,f.y=p.y+i.clientTop}const g=o&&!h&&!a?Sw(o,u,!0):Li(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+f.x+g.x,y:n.y*c.y-u.scrollTop*c.y+f.y+g.y}}function X3e(e){return Array.from(e.getClientRects())}function q3e(e){const t=$i(e),n=wd(e),i=e.ownerDocument.body,r=qt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=qt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let o=-n.scrollLeft+Gm(e);const s=-n.scrollTop;return xi(i).direction==="rtl"&&(o+=qt(t.clientWidth,i.clientWidth)-r),{width:r,height:a,x:o,y:s}}function G3e(e,t){const n=zn(e),i=$i(e),r=n.visualViewport;let a=i.clientWidth,o=i.clientHeight,s=0,u=0;if(r){a=r.width,o=r.height;const c=Ym();(!c||c&&t==="fixed")&&(s=r.offsetLeft,u=r.offsetTop)}return{width:a,height:o,x:s,y:u}}const K3e=new Set(["absolute","fixed"]);function Q3e(e,t){const n=za(e,!0,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft,a=Hi(e)?zo(e):Li(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,u=r*a.x,c=i*a.y;return{width:o,height:s,x:u,y:c}}function _w(e,t,n){let i;if(t==="viewport")i=G3e(e,n);else if(t==="document")i=q3e($i(e));else if(Ci(t))i=Q3e(t,n);else{const r=xw(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Io(i)}function Tw(e,t){const n=Lr(e);return n===t||!Ci(n)||Wo(n)?!1:xi(n).position==="fixed"||Tw(n,t)}function J3e(e,t){const n=t.get(e);if(n)return n;let i=Oo(e,[],!1).filter(s=>Ci(s)&&Oa(s)!=="body"),r=null;const a=xi(e).position==="fixed";let o=a?Lr(e):e;for(;Ci(o)&&!Wo(o);){const s=xi(o),u=Um(o);!u&&s.position==="fixed"&&(r=null),(a?!u&&!r:!u&&s.position==="static"&&!!r&&K3e.has(r.position)||al(o)&&!u&&Tw(e,o))?i=i.filter(f=>f!==o):r=s,o=Lr(o)}return t.set(e,i),i}function Z3e(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const o=[...n==="clippingAncestors"?bd(t)?[]:J3e(t,this._c):[].concat(n),i],s=o[0],u=o.reduce((c,f)=>{const h=_w(t,f,r);return c.top=qt(h.top,c.top),c.right=wi(h.right,c.right),c.bottom=wi(h.bottom,c.bottom),c.left=qt(h.left,c.left),c},_w(t,s,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function e4e(e){const{width:t,height:n}=Cw(e);return{width:t,height:n}}function t4e(e,t,n){const i=Hi(t),r=$i(t),a=n==="fixed",o=za(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const u=Li(0);function c(){u.x=Gm(r)}if(i||!i&&!a)if((Oa(t)!=="body"||al(r))&&(s=wd(t)),i){const p=za(t,!0,a,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else r&&c();a&&!i&&r&&c();const f=r&&!i&&!a?Sw(r,s):Li(0),h=o.left+s.scrollLeft-u.x-f.x,g=o.top+s.scrollTop-u.y-f.y;return{x:h,y:g,width:o.width,height:o.height}}function Km(e){return xi(e).position==="static"}function Pw(e,t){if(!Hi(e)||xi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return $i(e)===n&&(n=n.ownerDocument.body),n}function Ew(e,t){const n=zn(e);if(bd(e))return n;if(!Hi(e)){let r=Lr(e);for(;r&&!Wo(r);){if(Ci(r)&&!Km(r))return r;r=Lr(r)}return n}let i=Pw(e,t);for(;i&&z3e(i)&&Km(i);)i=Pw(i,t);return i&&Wo(i)&&Km(i)&&!Um(i)?n:i||B3e(e)||n}const n4e=async function(e){const t=this.getOffsetParent||Ew,n=this.getDimensions,i=await n(e.floating);return{reference:t4e(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function i4e(e){return xi(e).direction==="rtl"}const Aw={convertOffsetParentRelativeRectToViewportRelativeRect:Y3e,getDocumentElement:$i,getClippingRect:Z3e,getOffsetParent:Ew,getElementRects:n4e,getClientRects:X3e,getDimensions:e4e,getScale:zo,isElement:Ci,isRTL:i4e};function Dw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function r4e(e,t){let n=null,i;const r=$i(e);function a(){var s;clearTimeout(i),(s=n)==null||s.disconnect(),n=null}function o(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),a();const c=e.getBoundingClientRect(),{left:f,top:h,width:g,height:p}=c;if(s||t(),!g||!p)return;const y=md(h),v=md(r.clientWidth-(f+g)),k=md(r.clientHeight-(h+p)),w=md(f),x={rootMargin:-y+"px "+-v+"px "+-k+"px "+-w+"px",threshold:qt(0,wi(1,u))||1};let _=!0;function S(N){const T=N[0].intersectionRatio;if(T!==u){if(!_)return o();T?o(!1,T):i=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!Dw(c,e.getBoundingClientRect())&&o(),_=!1}try{n=new IntersectionObserver(S,{...x,root:r.ownerDocument})}catch{n=new IntersectionObserver(S,x)}n.observe(e)}return o(!0),a}function Nw(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=i,c=qm(e),f=r||a?[...c?Oo(c):[],...Oo(t)]:[];f.forEach(w=>{r&&w.addEventListener("scroll",n,{passive:!0}),a&&w.addEventListener("resize",n)});const h=c&&s?r4e(c,n):null;let g=-1,p=null;o&&(p=new ResizeObserver(w=>{let[M]=w;M&&M.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let y,v=u?za(e):null;u&&k();function k(){const w=za(e);v&&!Dw(v,w)&&n(),v=w,y=requestAnimationFrame(k)}return n(),()=>{var w;f.forEach(M=>{r&&M.removeEventListener("scroll",n),a&&M.removeEventListener("resize",n)}),h==null||h(),(w=p)==null||w.disconnect(),p=null,u&&cancelAnimationFrame(y)}}const a4e=Wa,jw=D3e,Iw=S3e,o4e=N3e,s4e=_3e,l4e=I3e,u4e=T3e,d4e=C3e,c4e=E3e,f4e=j3e,Ww=(e,t,n)=>{const i=new Map,r={platform:Aw,...n},a={...r.platform,_c:i};return M3e(e,t,{...r,platform:a})};function h4e(e){return e!=null&&typeof e=="object"&&"$el"in e}function Qm(e){if(h4e(e)){const t=e.$el;return Fm(t)&&Oa(t)==="#comment"?null:t}return e}function Lo(e){return typeof e=="function"?e():l.unref(e)}function m4e(e){return{name:"arrow",options:e,fn(t){const n=Qm(Lo(e.element));return n==null?{}:d4e({element:n,padding:e.padding}).fn(t)}}}function Ow(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zw(e,t){const n=Ow(e);return Math.round(t*n)/n}function Lw(e,t,n){n===void 0&&(n={});const i=n.whileElementsMounted,r=l.computed(()=>{var T;return(T=Lo(n.open))!=null?T:!0}),a=l.computed(()=>Lo(n.middleware)),o=l.computed(()=>{var T;return(T=Lo(n.placement))!=null?T:"bottom"}),s=l.computed(()=>{var T;return(T=Lo(n.strategy))!=null?T:"absolute"}),u=l.computed(()=>{var T;return(T=Lo(n.transform))!=null?T:!0}),c=l.computed(()=>Qm(e.value)),f=l.computed(()=>Qm(t.value)),h=l.ref(0),g=l.ref(0),p=l.ref(s.value),y=l.ref(o.value),v=l.shallowRef({}),k=l.ref(!1),w=l.computed(()=>{const T={position:p.value,left:"0",top:"0"};if(!f.value)return T;const I=zw(f.value,h.value),L=zw(f.value,g.value);return u.value?{...T,transform:"translate("+I+"px, "+L+"px)",...Ow(f.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:I+"px",top:L+"px"}});let M;function x(){if(c.value==null||f.value==null)return;const T=r.value;Ww(c.value,f.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(I=>{h.value=I.x,g.value=I.y,p.value=I.strategy,y.value=I.placement,v.value=I.middlewareData,k.value=T!==!1})}function _(){typeof M=="function"&&(M(),M=void 0)}function S(){if(_(),i===void 0){x();return}if(c.value!=null&&f.value!=null){M=i(c.value,f.value,x);return}}function N(){r.value||(k.value=!1)}return l.watch([a,o,s,r],x,{flush:"sync"}),l.watch([c,f],S,{flush:"sync"}),l.watch(r,N,{flush:"sync"}),l.getCurrentScope()&&l.onScopeDispose(_),{x:l.shallowReadonly(h),y:l.shallowReadonly(g),strategy:l.shallowReadonly(p),placement:l.shallowReadonly(y),middlewareData:l.shallowReadonly(v),isPositioned:l.shallowReadonly(k),floatingStyles:w,update:x}}const p4e=me(l.defineComponent({__name:"PopoverWrapper",props:{placement:{default:"bottom-start"},open:{type:Boolean,default:!1}},emits:["unmount-close"],setup(e,{emit:t}){const n=e,i=t,r=l.ref(null),a=l.ref(null),o=l.ref(null),{floatingStyles:s}=Lw(a,o,{middleware:[jw(10),Iw({crossAxis:!0,allowedPlacements:["top-start","bottom-start"]})],placement:n.placement,whileElementsMounted:Nw}),u=()=>{i("unmount-close")},c=f=>{r.value&&!r.value.contains(f.target)&&u()};return l.onBeforeUnmount(()=>{document.removeEventListener("click",c)}),l.onMounted(()=>{document.addEventListener("click",c)}),(f,h)=>(l.openBlock(),l.createElementBlock("div",{class:"popover-wrapper",ref_key:"popoverWrapper",ref:r},[l.createElementVNode("div",{class:"popover-trigger",ref_key:"popoverTrigger",ref:a},[l.renderSlot(f.$slots,"trigger",{},void 0,!0)],512),n.open?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"popoverContent",ref:o,class:l.normalizeClass(["popover-content",[`popover-${e.placement}`,{"popover-show":n.open}]]),style:l.normalizeStyle(l.unref(s))},[l.renderSlot(f.$slots,"default",{},void 0,!0)],6)):l.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-e686f30e"]]),$w=e=>e instanceof Date&&!isNaN(e.getTime()),vd=e=>{const t=$w(e)&&e!==null?e:new Date;return new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999))},Hw=e=>{const t=$w(e)&&e!==null?e:new Date,n={year:t.getFullYear(),month:t.getMonth(),day:t.getDate()};return new Date(Date.UTC(n.year,n.month,n.day))},g4e=(e,t)=>{if(!e)return"";t!=="ru-RU"&&(t="en-US");const n=new Date(e),i=cd(t),r=n.getDate().toString().padStart(2,"0"),a=n.getFullYear().toString();return`${i[n.getMonth()]} ${r}, ${a}`},y4e=["data-testid"],b4e=[".date",".minDate",".maxDate","locale","data-testid"],Jm=l.defineComponent({__name:"DatePicker",props:l.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePicker"}},{modelValue:{},modelModifiers:{}}),emits:l.mergeModels(["clear","change"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const i=e,r=l.reactive({isActive:!1,isOpen:{months:!1,years:!1},isNotClear:!0,startDate:null,endDate:null}),a=n,o=l.useModel(e,"modelValue"),s=()=>{r.isNotClear=!1,o.value=null,a("clear"),setTimeout(()=>r.isNotClear=!0,1),u({detail:{date:null}})},u=({detail:w})=>{w&&(o.value=w.date,r.isActive=!1,a("change",w.date))},c=()=>{r.isOpen.months=!0},f=()=>{r.isOpen.years=!0},h=()=>{r.isOpen.months=!1},g=()=>{r.isOpen.years=!1},p=()=>{r.isActive=!1,h(),g()};l.watchEffect(()=>r.startDate=i.startDate??null),l.watchEffect(()=>r.endDate=i.endDate??null);const y=()=>{const w=r.startDate??new Date;if(i.startDate){const M=o.value??new Date;if(w.valueOf()<=M.valueOf())return w;if(w!=null)return w}return null},v=()=>{const w=r.endDate??new Date;if(i.endDate){const M=o.value??new Date;if(w.valueOf()>=M.valueOf())return w;if(w!=null)return w}return null},k=()=>{r.isActive=!0};return l.watch(()=>o.value,()=>{o.value||(r.isNotClear=!1,o.value=null,setTimeout(()=>r.isNotClear=!0,1))}),t({clearChoose:s}),(w,M)=>(l.openBlock(),l.createElementBlock("div",{class:"date-picker-yui-kit__wrapper","data-testid":`${i.dataTestid}-Wrapper`},[l.createVNode(p4e,{open:!i.disabled&&r.isActive,onUnmountClose:p},{trigger:l.withCtx(()=>[l.createVNode(f3e,{onClick:k,onClear:s,"is-active":r.isActive,"is-small":i.isSmall,"is-range":i.isRange,disabled:i.disabled,"data-testid":`${i.dataTestid}-Choose`,value:l.unref(g4e)(o.value||null,i.locale)},null,8,["is-active","is-small","is-range","disabled","data-testid","value"])]),default:l.withCtx(()=>[l.createElementVNode("col-cal",{".date":o.value,".minDate":y(),".maxDate":v(),locale:i.locale??"ru-RU","data-testid":`${i.dataTestid}-Component`,onShowMonths:c,onShowYears:f,onHideMonths:h,onHideYears:g,onChangeDate:u,class:"date-picker-yui-kit"},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Object.keys(r.isOpen),x=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:x},[r.isOpen[x]?(l.openBlock(),l.createBlock(we,{key:0,name:l.unref(se).chevronUp,width:16,height:16,class:"open-popup",slot:`${x}-popup-icon`},null,8,["name","slot"])):(l.openBlock(),l.createBlock(we,{key:1,name:l.unref(se).chevronDown,width:16,height:16,slot:`${x}-popup-icon`},null,8,["name","slot"]))],64))),128)),l.createVNode(we,{slot:"icon-left-button",name:l.unref(se).chevronLeft,width:16,height:16},null,8,["name"]),l.createVNode(we,{slot:"icon-right-button",name:l.unref(se).chevronRight,width:16,height:16},null,8,["name"]),l.createVNode(we,{slot:"years-icon-left",name:l.unref(se).chevronLeft,width:16,height:16},null,8,["name"]),l.createVNode(we,{slot:"years-icon-right",name:l.unref(se).chevronRight,width:16,height:16},null,8,["name"])],40,b4e)]),_:1},8,["open"])],8,y4e))}});var La=(e=>(e.start="start",e.end="end",e))(La||{});const w4e=["data-testid"],v4e=["data-testid"],k4e=me(l.defineComponent({__name:"DatePickerRange",props:l.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerRange"}},{startDate:{},startDateModifiers:{},endDate:{},endDateModifiers:{}}),emits:l.mergeModels(["change"],["update:startDate","update:endDate"]),setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.reactive({date:{start:null,end:null},isActive:!1}),o=l.useModel(e,"startDate"),s=l.useModel(e,"endDate"),u=(g,p)=>{p===La.start&&(a.date[p]=g),p===La.end&&(a.date[p]=i.toLastTime&&g!==null?vd(g):g),r("change",a.date)},c=g=>{a.date[g]=null},f=()=>{Object.keys(a.date).forEach(g=>{a.date[g]=null})},h=()=>{(o.value||s.value)&&(a.date={start:o.value,end:i.toLastTime?vd(s.value):s.value})};return l.watch([()=>o.value,()=>s.value],()=>{h()}),l.onMounted(()=>{h()}),t({clear:f}),(g,p)=>{var y,v;return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["date-picker-yui-kit__header",{"date-disable-yui-kit":i.disabled},{"date-active-yui-kit":a.isActive}]),"data-testid":`${i.dataTestid}-Header`},[l.createVNode(Jm,{modelValue:a.date.start,"onUpdate:modelValue":p[0]||(p[0]=k=>a.date.start=k),locale:i.locale,"is-range":"",disabled:i.disabled,"end-date":(y=a.date)==null?void 0:y.end,onChange:p[1]||(p[1]=k=>u(k,l.unref(La).start)),onClear:p[2]||(p[2]=k=>c(l.unref(La).start)),"data-testid":`${i.dataTestid}-Component-Start`},null,8,["modelValue","locale","disabled","end-date","data-testid"]),l.createElementVNode("div",{class:"date-picker-yui-kit__header__dash","data-testid":`${i.dataTestid}-Header-Dash`},null,8,v4e),l.createVNode(Jm,{modelValue:a.date.end,"onUpdate:modelValue":p[3]||(p[3]=k=>a.date.end=k),locale:i.locale,"is-range":"",disabled:i.disabled,"start-date":(v=a.date)==null?void 0:v.start,onChange:p[4]||(p[4]=k=>u(k,l.unref(La).end)),onClear:p[5]||(p[5]=k=>c(l.unref(La).end)),"data-testid":`${i.dataTestid}-Component-End`},null,8,["modelValue","locale","disabled","start-date","data-testid"])],10,w4e)}}}),[["__scopeId","data-v-75e1e357"]]),Zm=l.defineComponent({__name:"Calendar",props:{range:{},locale:{},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"Calendar"}},emits:["change","click"],setup(e,{emit:t}){const n=e,i=l.reactive({date:null,dateObject:{start:null,end:null}}),r=t,a=l.ref(),o=u=>{r("change",u)};l.watchEffect(()=>i.date=n.setDate||null);const s=()=>{var u,c;return{start:n.fromTodayTime?new Date(Date.now()):((u=n.range)==null?void 0:u.start)??null,end:((c=n.range)==null?void 0:c.end)??null}};return l.watch([()=>{var u;return(u=n.range)==null?void 0:u.start},()=>{var u;return(u=n.range)==null?void 0:u.end}],()=>{var u,c,f;i.dateObject=s(),((u=n.range)==null?void 0:u.start)===null&&((c=n.range)==null?void 0:c.end)===null&&((f=a.value)==null||f.clear())}),l.onMounted(()=>{if(n.isRange){i.dateObject=s();return}n.setDate&&(i.date=n.setDate??null)}),(u,c)=>n.isRange?(l.openBlock(),l.createBlock(k4e,{key:0,ref_key:"datePickerRangeRef",ref:a,"to-last-time":n.toLastTime,"start-date":i.dateObject.start,"onUpdate:startDate":c[0]||(c[0]=f=>i.dateObject.start=f),"end-date":i.dateObject.end,"onUpdate:endDate":c[1]||(c[1]=f=>i.dateObject.end=f),disabled:n.disabled,locale:n.locale,onClick:c[2]||(c[2]=f=>r("click")),onChange:o,"data-testid":`${n.dataTestid}-DataPickerRange`},null,8,["to-last-time","start-date","end-date","disabled","locale","data-testid"])):(l.openBlock(),l.createBlock(Jm,{key:1,modelValue:i.date,"onUpdate:modelValue":c[3]||(c[3]=f=>i.date=f),disabled:n.disabled,locale:n.locale,"is-small":n.isSmall,"data-testid":`${n.dataTestid}-DataPicker`,onClick:c[4]||(c[4]=f=>r("click")),onChange:o},null,8,["modelValue","disabled","locale","is-small","data-testid"]))}});function Rw(e,t){var n;const i=l.shallowRef();return l.watchEffect(()=>{i.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!=null?n:"sync"}),l.readonly(i)}function e1(e,t){let n,i,r;const a=l.ref(!0),o=()=>{a.value=!0,r()};l.watch(e,o,{flush:"sync"});const s=typeof t=="function"?t:t.get,u=typeof t=="function"?void 0:t.set,c=l.customRef((f,h)=>(i=f,r=h,{get(){return a.value&&(n=s(n),a.value=!1),i(),n},set(g){u==null||u(g)}}));return Object.isExtensible(c)&&(c.trigger=o),c}function Oe(e){return l.getCurrentScope()?(l.onScopeDispose(e),!0):!1}function dn(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const a=()=>t(r);return Oe(a),{off:a}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(a=>a(...r)))}}function M4e(e){let t=!1,n;const i=l.effectScope(!0);return(...r)=>(t||(n=i.run(()=>e(...r)),t=!0),n)}const $o=new WeakMap,Bw=(e,t)=>{var n;const i=(n=l.getCurrentInstance())==null?void 0:n.proxy;if(i==null)throw new Error("provideLocal must be called in setup");$o.has(i)||$o.set(i,Object.create(null));const r=$o.get(i);r[e]=t,l.provide(e,t)},Vw=(...e)=>{var t;const n=e[0],i=(t=l.getCurrentInstance())==null?void 0:t.proxy;if(i==null)throw new Error("injectLocal must be called in setup");return $o.has(i)&&n in $o.get(i)?$o.get(i)[n]:l.inject(...e)};function C4e(e,t){const n=(t==null?void 0:t.injectionKey)||Symbol(e.name||"InjectionState"),i=t==null?void 0:t.defaultValue;return[(...o)=>{const s=e(...o);return Bw(n,s),s},()=>Vw(n,i)]}function x4e(e){let t=0,n,i;const r=()=>{t-=1,i&&t<=0&&(i.stop(),n=void 0,i=void 0)};return(...a)=>(t+=1,i||(i=l.effectScope(!0),n=i.run(()=>e(...a))),Oe(r),n)}function Fw(e,t,{enumerable:n=!1,unwrap:i=!0}={}){for(const[r,a]of Object.entries(t))r!=="value"&&(l.isRef(a)&&i?Object.defineProperty(e,r,{get(){return a.value},set(o){a.value=o},enumerable:n}):Object.defineProperty(e,r,{value:a,enumerable:n}));return e}function S4e(e,t){return t==null?l.unref(e):l.unref(e)[t]}function _4e(e){return l.unref(e)!=null}function Uw(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let i=0;return{next:()=>({value:t[i++],done:i>t.length})}}}),n}else return Object.assign([...t],e)}function B(e){return typeof e=="function"?e():l.unref(e)}const T4e=B;function t1(e,t){const n=(t==null?void 0:t.computedGetter)===!1?l.unref:B;return function(...i){return l.computed(()=>e.apply(this,i.map(r=>n(r))))}}function P4e(e,t={}){let n=[],i;if(Array.isArray(t))n=t;else{i=t;const{includeOwnProperties:r=!0}=t;n.push(...Object.keys(e)),r&&n.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(n.map(r=>{const a=e[r];return[r,typeof a=="function"?t1(a.bind(e),i):a]}))}function Yw(e){if(!l.isRef(e))return l.reactive(e);const t=new Proxy({},{get(n,i,r){return l.unref(Reflect.get(e.value,i,r))},set(n,i,r){return l.isRef(e.value[i])&&!l.isRef(r)?e.value[i].value=r:e.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(e.value,i)},has(n,i){return Reflect.has(e.value,i)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return l.reactive(t)}function n1(e){return Yw(l.computed(e))}function E4e(e,...t){const n=t.flat(),i=n[0];return n1(()=>Object.fromEntries(typeof i=="function"?Object.entries(l.toRefs(e)).filter(([r,a])=>!i(B(a),r)):Object.entries(l.toRefs(e)).filter(r=>!n.includes(r[0]))))}const Nt=typeof window<"u"&&typeof document<"u",Xw=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,qw=e=>typeof e<"u",kd=e=>e!=null,A4e=(e,...t)=>{e||console.warn(...t)},D4e=Object.prototype.toString,ol=e=>D4e.call(e)==="[object Object]",N4e=()=>Date.now(),$a=()=>+Date.now(),Md=(e,t,n)=>Math.min(n,Math.max(t,e)),Ve=()=>{},j4e=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),Gw=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Cd=I4e();function I4e(){var e,t;return Nt&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ha(e,t){function n(...i){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(r).catch(a)})}return n}const sl=e=>e();function xd(e,t={}){let n,i,r=Ve;const a=s=>{clearTimeout(s),r(),r=Ve};return s=>{const u=B(e),c=B(t.maxWait);return n&&a(n),u<=0||c!==void 0&&c<=0?(i&&(a(i),i=null),Promise.resolve(s())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,c&&!i&&(i=setTimeout(()=>{n&&a(n),i=null,f(s())},c)),n=setTimeout(()=>{i&&a(i),i=null,f(s())},u)})}}function ll(...e){let t=0,n,i=!0,r=Ve,a,o,s,u,c;!l.isRef(e[0])&&typeof e[0]=="object"?{delay:o,trailing:s=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[o,s=!0,u=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Ve)};return g=>{const p=B(o),y=Date.now()-t,v=()=>a=g();return f(),p<=0?(t=Date.now(),v()):(y>p&&(u||!i)?(t=Date.now(),v()):s&&(a=new Promise((k,w)=>{r=c?w:k,n=setTimeout(()=>{t=Date.now(),i=!0,k(v()),f()},Math.max(0,p-y))})),!u&&!n&&(n=setTimeout(()=>i=!0,p)),i=!1,a)}}function i1(e=sl){const t=l.ref(!0);function n(){t.value=!1}function i(){t.value=!0}const r=(...a)=>{t.value&&e(...a)};return{isActive:l.readonly(t),pause:n,resume:i,eventFilter:r}}const W4e={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Kw(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const O4e=/\B([A-Z])/g,z4e=Kw(e=>e.replace(O4e,"-$1").toLowerCase()),L4e=/-(\w)/g,Qw=Kw(e=>e.replace(L4e,(t,n)=>n?n.toUpperCase():""));function ul(e,t=!1,n="Timeout"){return new Promise((i,r)=>{setTimeout(t?()=>r(n):i,e)})}function r1(e){return e}function Jw(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const i=t;t=void 0,i&&await i},n}function $4e(e){return e()}function a1(e,...t){return t.some(n=>n in e)}function Zw(e,t){var n;if(typeof e=="number")return e+t;const i=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",r=e.slice(i.length),a=Number.parseFloat(i)+t;return Number.isNaN(a)?e:a+r}function ev(e,t,n=!1){return t.reduce((i,r)=>(r in e&&(!n||e[r]!==void 0)&&(i[r]=e[r]),i),{})}function tv(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([i,r])=>(!n||r!==void 0)&&!t.includes(i)))}function nv(e){return Object.entries(e)}function dl(e){return e||l.getCurrentInstance()}function Mt(...e){if(e.length!==1)return l.toRef(...e);const t=e[0];return typeof t=="function"?l.readonly(l.customRef(()=>({get:t,set:Ve}))):l.ref(t)}const H4e=Mt;function R4e(e,...t){const n=t.flat(),i=n[0];return n1(()=>Object.fromEntries(typeof i=="function"?Object.entries(l.toRefs(e)).filter(([r,a])=>i(B(a),r)):n.map(r=>[r,Mt(e,r)])))}function iv(e,t=1e4){return l.customRef((n,i)=>{let r=B(e),a;const o=()=>setTimeout(()=>{r=B(e),i()},B(t));return Oe(()=>{clearTimeout(a)}),{get(){return n(),r},set(s){r=s,i(),clearTimeout(a),a=o()}}})}function Sd(e,t=200,n={}){return Ha(xd(t,n),e)}function o1(e,t=200,n={}){const i=l.ref(e.value),r=Sd(()=>{i.value=e.value},t,n);return l.watch(e,()=>r()),i}function B4e(e,t){return l.computed({get(){var n;return(n=e.value)!=null?n:t},set(n){e.value=n}})}function s1(e,t=200,n=!1,i=!0,r=!1){return Ha(ll(t,n,i,r),e)}function l1(e,t=200,n=!0,i=!0){if(t<=0)return e;const r=l.ref(e.value),a=s1(()=>{r.value=e.value},t,n,i);return l.watch(e,()=>a()),r}function rv(e,t={}){let n=e,i,r;const a=l.customRef((g,p)=>(i=g,r=p,{get(){return o()},set(y){s(y)}}));function o(g=!0){return g&&i(),n}function s(g,p=!0){var y,v;if(g===n)return;const k=n;((y=t.onBeforeChange)==null?void 0:y.call(t,g,k))!==!1&&(n=g,(v=t.onChanged)==null||v.call(t,g,k),p&&r())}return Fw(a,{get:o,set:s,untrackedGet:()=>o(!1),silentSet:g=>s(g,!1),peek:()=>o(!1),lay:g=>s(g,!1)},{enumerable:!0})}const V4e=rv;function F4e(...e){if(e.length===2){const[t,n]=e;t.value=n}if(e.length===3){const[t,n,i]=e;t[n]=i}}function Ho(e,t,n={}){const{eventFilter:i=sl,...r}=n;return l.watch(e,Ha(i,t),r)}function Ro(e,t,n={}){const{eventFilter:i,...r}=n,{eventFilter:a,pause:o,resume:s,isActive:u}=i1(i);return{stop:Ho(e,t,{...r,eventFilter:a}),pause:o,resume:s,isActive:u}}function u1(e,t,...[n]){const{flush:i="sync",deep:r=!1,immediate:a=!0,direction:o="both",transform:s={}}=n||{},u=[],c="ltr"in s&&s.ltr||(g=>g),f="rtl"in s&&s.rtl||(g=>g);return(o==="both"||o==="ltr")&&u.push(Ro(e,g=>{u.forEach(p=>p.pause()),t.value=c(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),(o==="both"||o==="rtl")&&u.push(Ro(t,g=>{u.forEach(p=>p.pause()),e.value=f(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),()=>{u.forEach(g=>g.stop())}}function U4e(e,t,n={}){const{flush:i="sync",deep:r=!1,immediate:a=!0}=n;return Array.isArray(t)||(t=[t]),l.watch(e,o=>t.forEach(s=>s.value=o),{flush:i,deep:r,immediate:a})}function d1(e,t={}){if(!l.isRef(e))return l.toRefs(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const i in e.value)n[i]=l.customRef(()=>({get(){return e.value[i]},set(r){var a;if((a=B(t.replaceRef))!=null?a:!0)if(Array.isArray(e.value)){const s=[...e.value];s[i]=r,e.value=s}else{const s={...e.value,[i]:r};Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}else e.value[i]=r}}));return n}function Y4e(e,t=!0,n){dl(n)?l.onBeforeMount(e,n):t?e():l.nextTick(e)}function av(e,t){dl(t)&&l.onBeforeUnmount(e,t)}function jt(e,t=!0,n){dl()?l.onMounted(e,n):t?e():l.nextTick(e)}function ov(e,t){dl(t)&&l.onUnmounted(e,t)}function c1(e,t=!1){function n(h,{flush:g="sync",deep:p=!1,timeout:y,throwOnTimeout:v}={}){let k=null;const M=[new Promise(x=>{k=l.watch(e,_=>{h(_)!==t&&(k?k():l.nextTick(()=>k==null?void 0:k()),x(_))},{flush:g,deep:p,immediate:!0})})];return y!=null&&M.push(ul(y,v).then(()=>B(e)).finally(()=>k==null?void 0:k())),Promise.race(M)}function i(h,g){if(!l.isRef(h))return n(_=>_===h,g);const{flush:p="sync",deep:y=!1,timeout:v,throwOnTimeout:k}=g??{};let w=null;const x=[new Promise(_=>{w=l.watch([e,h],([S,N])=>{t!==(S===N)&&(w?w():l.nextTick(()=>w==null?void 0:w()),_(S))},{flush:p,deep:y,immediate:!0})})];return v!=null&&x.push(ul(v,k).then(()=>B(e)).finally(()=>(w==null||w(),B(e)))),Promise.race(x)}function r(h){return n(g=>!!g,h)}function a(h){return i(null,h)}function o(h){return i(void 0,h)}function s(h){return n(Number.isNaN,h)}function u(h,g){return n(p=>{const y=Array.from(p);return y.includes(h)||y.includes(B(h))},g)}function c(h){return f(1,h)}function f(h=1,g){let p=-1;return n(()=>(p+=1,p>=h),g)}return Array.isArray(B(e))?{toMatch:n,toContains:u,changed:c,changedTimes:f,get not(){return c1(e,!t)}}:{toMatch:n,toBe:i,toBeTruthy:r,toBeNull:a,toBeNaN:s,toBeUndefined:o,changed:c,changedTimes:f,get not(){return c1(e,!t)}}}function cl(e){return c1(e)}function X4e(e,t){return e===t}function q4e(...e){var t;const n=e[0],i=e[1];let r=(t=e[2])!=null?t:X4e;if(typeof r=="string"){const a=r;r=(o,s)=>o[a]===s[a]}return l.computed(()=>B(n).filter(a=>B(i).findIndex(o=>r(a,o))===-1))}function G4e(e,t){return l.computed(()=>B(e).every((n,i,r)=>t(B(n),i,r)))}function K4e(e,t){return l.computed(()=>B(e).map(n=>B(n)).filter(t))}function Q4e(e,t){return l.computed(()=>B(B(e).find((n,i,r)=>t(B(n),i,r))))}function J4e(e,t){return l.computed(()=>B(e).findIndex((n,i,r)=>t(B(n),i,r)))}function Z4e(e,t){let n=e.length;for(;n-- >0;)if(t(e[n],n,e))return e[n]}function eke(e,t){return l.computed(()=>B(Array.prototype.findLast?B(e).findLast((n,i,r)=>t(B(n),i,r)):Z4e(B(e),(n,i,r)=>t(B(n),i,r))))}function tke(e){return ol(e)&&a1(e,"formIndex","comparator")}function nke(...e){var t;const n=e[0],i=e[1];let r=e[2],a=0;if(tke(r)&&(a=(t=r.fromIndex)!=null?t:0,r=r.comparator),typeof r=="string"){const o=r;r=(s,u)=>s[o]===B(u)}return r=r??((o,s)=>o===B(s)),l.computed(()=>B(n).slice(a).some((o,s,u)=>r(B(o),B(i),s,B(u))))}function ike(e,t){return l.computed(()=>B(e).map(n=>B(n)).join(B(t)))}function rke(e,t){return l.computed(()=>B(e).map(n=>B(n)).map(t))}function ake(e,t,...n){const i=(r,a,o)=>t(B(r),B(a),o);return l.computed(()=>{const r=B(e);return n.length?r.reduce(i,B(n[0])):r.reduce(i)})}function oke(e,t){return l.computed(()=>B(e).some((n,i,r)=>t(B(n),i,r)))}function ske(e){return Array.from(new Set(e))}function lke(e,t){return e.reduce((n,i)=>(n.some(r=>t(i,r,e))||n.push(i),n),[])}function uke(e,t){return l.computed(()=>{const n=B(e).map(i=>B(i));return t?lke(n,t):ske(n)})}function dke(e=0,t={}){let n=l.unref(e);const i=l.ref(e),{max:r=Number.POSITIVE_INFINITY,min:a=Number.NEGATIVE_INFINITY}=t,o=(h=1)=>i.value=Math.max(Math.min(r,i.value+h),a),s=(h=1)=>i.value=Math.min(Math.max(a,i.value-h),r),u=()=>i.value,c=h=>i.value=Math.max(a,Math.min(r,h));return{count:i,inc:o,dec:s,get:u,set:c,reset:(h=n)=>(n=h,c(h))}}const cke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,fke=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function hke(e,t,n,i){let r=e<12?"AM":"PM";return i&&(r=r.split("").reduce((a,o)=>a+=`${o}.`,"")),n?r.toLowerCase():r}function Ra(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function sv(e,t,n={}){var i;const r=e.getFullYear(),a=e.getMonth(),o=e.getDate(),s=e.getHours(),u=e.getMinutes(),c=e.getSeconds(),f=e.getMilliseconds(),h=e.getDay(),g=(i=n.customMeridiem)!=null?i:hke,p={Yo:()=>Ra(r),YY:()=>String(r).slice(-2),YYYY:()=>r,M:()=>a+1,Mo:()=>Ra(a+1),MM:()=>`${a+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(B(n.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(B(n.locales),{month:"long"}),D:()=>String(o),Do:()=>Ra(o),DD:()=>`${o}`.padStart(2,"0"),H:()=>String(s),Ho:()=>Ra(s),HH:()=>`${s}`.padStart(2,"0"),h:()=>`${s%12||12}`.padStart(1,"0"),ho:()=>Ra(s%12||12),hh:()=>`${s%12||12}`.padStart(2,"0"),m:()=>String(u),mo:()=>Ra(u),mm:()=>`${u}`.padStart(2,"0"),s:()=>String(c),so:()=>Ra(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${f}`.padStart(3,"0"),d:()=>h,dd:()=>e.toLocaleDateString(B(n.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(B(n.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(B(n.locales),{weekday:"long"}),A:()=>g(s,u),AA:()=>g(s,u,!1,!0),a:()=>g(s,u,!0),aa:()=>g(s,u,!0,!0)};return t.replace(fke,(y,v)=>{var k,w;return(w=v??((k=p[y])==null?void 0:k.call(p)))!=null?w:y})}function lv(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(cke);if(t){const n=t[2]-1||0,i=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,i)}}return new Date(e)}function mke(e,t="HH:mm:ss",n={}){return l.computed(()=>sv(lv(B(e)),B(t),n))}function $r(e,t=1e3,n={}){const{immediate:i=!0,immediateCallback:r=!1}=n;let a=null;const o=l.ref(!1);function s(){a&&(clearInterval(a),a=null)}function u(){o.value=!1,s()}function c(){const f=B(t);f<=0||(o.value=!0,r&&e(),s(),a=setInterval(e,f))}if(i&&Nt&&c(),l.isRef(t)||typeof t=="function"){const f=l.watch(t,()=>{o.value&&Nt&&c()});Oe(f)}return Oe(u),{isActive:o,pause:u,resume:c}}function pke(e=1e3,t={}){const{controls:n=!1,immediate:i=!0,callback:r}=t,a=l.ref(0),o=()=>a.value+=1,s=()=>{a.value=0},u=$r(r?()=>{o(),r(a.value)}:o,e,{immediate:i});return n?{counter:a,reset:s,...u}:a}function gke(e,t={}){var n;const i=l.ref((n=t.initialValue)!=null?n:null);return l.watch(e,()=>i.value=$a(),t),i}function Bo(e,t,n={}){const{immediate:i=!0}=n,r=l.ref(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,o()}function u(...c){o(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},B(t))}return i&&(r.value=!0,Nt&&u()),Oe(s),{isPending:l.readonly(r),start:u,stop:s}}function yke(e=1e3,t={}){const{controls:n=!1,callback:i}=t,r=Bo(i??Ve,e,t),a=l.computed(()=>!r.isPending.value);return n?{ready:a,...r}:a}function bke(e,t={}){const{method:n="parseFloat",radix:i,nanToZero:r}=t;return l.computed(()=>{let a=B(e);return typeof a=="string"&&(a=Number[n](a,i)),r&&Number.isNaN(a)&&(a=0),a})}function wke(e){return l.computed(()=>`${B(e)}`)}function vke(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,r=l.isRef(e),a=l.ref(e);function o(s){if(arguments.length)return a.value=s,a.value;{const u=B(n);return a.value=a.value===u?B(i):u,a.value}}return r?o:[a,o]}function kke(e,t,n){let i=n!=null&&n.immediate?[]:[...e instanceof Function?e():Array.isArray(e)?e:B(e)];return l.watch(e,(r,a,o)=>{const s=Array.from({length:i.length}),u=[];for(const f of r){let h=!1;for(let g=0;g<i.length;g++)if(!s[g]&&f===i[g]){s[g]=!0,h=!0;break}h||u.push(f)}const c=i.filter((f,h)=>!s[h]);t(r,i,u,c,o),i=[...r]},n)}function Mke(e,t,n){const{count:i,...r}=n,a=l.ref(0),o=Ho(e,(...s)=>{a.value+=1,a.value>=B(i)&&l.nextTick(()=>o()),t(...s)},r);return{count:a,stop:o}}function uv(e,t,n={}){const{debounce:i=0,maxWait:r=void 0,...a}=n;return Ho(e,t,{...a,eventFilter:xd(i,{maxWait:r})})}function Cke(e,t,n){return l.watch(e,t,{...n,deep:!0})}function Vo(e,t,n={}){const{eventFilter:i=sl,...r}=n,a=Ha(i,t);let o,s,u;if(r.flush==="sync"){const c=l.ref(!1);s=()=>{},o=f=>{c.value=!0,f(),c.value=!1},u=l.watch(e,(...f)=>{c.value||a(...f)},r)}else{const c=[],f=l.ref(0),h=l.ref(0);s=()=>{f.value=h.value},c.push(l.watch(e,()=>{h.value++},{...r,flush:"sync"})),o=g=>{const p=h.value;g(),f.value+=h.value-p},c.push(l.watch(e,(...g)=>{const p=f.value>0&&f.value===h.value;f.value=0,h.value=0,!p&&a(...g)},r)),u=()=>{c.forEach(g=>g())}}return{stop:u,ignoreUpdates:o,ignorePrevAsyncUpdates:s}}function xke(e,t,n){return l.watch(e,t,{...n,immediate:!0})}function Ske(e,t,n){const i=l.watch(e,(...r)=>(l.nextTick(()=>i()),t(...r)),n);return i}function dv(e,t,n={}){const{throttle:i=0,trailing:r=!0,leading:a=!0,...o}=n;return Ho(e,t,{...o,eventFilter:ll(i,r,a)})}function _ke(e,t,n={}){let i;function r(){if(!i)return;const f=i;i=void 0,f()}function a(f){i=f}const o=(f,h)=>(r(),t(f,h,a)),s=Vo(e,o,n),{ignoreUpdates:u}=s;return{...s,trigger:()=>{let f;return u(()=>{f=o(Tke(e),Pke(e))}),f}}}function Tke(e){return l.isReactive(e)?e:Array.isArray(e)?e.map(t=>B(t)):B(e)}function Pke(e){return Array.isArray(e)?e.map(()=>{}):void 0}function cv(e,t,n){const i=l.watch(e,(r,a,o)=>{r&&(n!=null&&n.once&&l.nextTick(()=>i()),t(r,a,o))},{...n,once:!1});return i}function fv(e,t,n){let i;l.isRef(n)?i={evaluating:n}:i=n||{};const{lazy:r=!1,evaluating:a=void 0,shallow:o=!0,onError:s=Ve}=i,u=l.ref(!r),c=o?l.shallowRef(t):l.ref(t);let f=0;return l.watchEffect(async h=>{if(!u.value)return;f++;const g=f;let p=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const y=await e(v=>{h(()=>{a&&(a.value=!1),p||v()})});g===f&&(c.value=y)}catch(y){s(y)}finally{a&&g===f&&(a.value=!1),p=!0}}),r?l.computed(()=>(u.value=!0,c.value)):c}function Eke(e,t,n,i){let r=l.inject(e);return n&&(r=l.inject(e,n)),i&&(r=l.inject(e,n,i)),typeof t=="function"?l.computed(a=>t(r,a)):l.computed({get:a=>t.get(r,a),set:t.set})}function Ake(e={}){const{inheritAttrs:t=!0}=e,n=l.shallowRef(),i=l.defineComponent({setup(a,{slots:o}){return()=>{n.value=o.default}}}),r=l.defineComponent({inheritAttrs:t,setup(a,{attrs:o,slots:s}){return()=>{var u;if(!n.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const c=(u=n.value)==null?void 0:u.call(n,{...Dke(o),$slots:s});return t&&(c==null?void 0:c.length)===1?c[0]:c}}});return Uw({define:i,reuse:r},[i,r])}function Dke(e){const t={};for(const n in e)t[Qw(n)]=e[n];return t}function Nke(e={}){let t=0;const n=l.ref([]);function i(...o){const s=l.shallowReactive({key:t++,args:o,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(s),s.promise=new Promise((u,c)=>{s.resolve=f=>(s.isResolving=!0,u(f)),s.reject=c}).finally(()=>{s.promise=void 0;const u=n.value.indexOf(s);u!==-1&&n.value.splice(u,1)}),s.promise}function r(...o){return e.singleton&&n.value.length>0?n.value[0].promise:i(...o)}const a=l.defineComponent((o,{slots:s})=>{const u=()=>n.value.map(c=>{var f;return l.h(l.Fragment,{key:c.key},(f=s.default)==null?void 0:f.call(s,c))});return e.transition?()=>l.h(l.TransitionGroup,e.transition,u):u});return a.start=r,a}function jke(e){return function(...t){return e.apply(this,t.map(n=>B(n)))}}function Ie(e){var t;const n=B(e);return(t=n==null?void 0:n.$el)!=null?t:n}const pe=Nt?window:void 0,cn=Nt?window.document:void 0,Cn=Nt?window.navigator:void 0,Ike=Nt?window.location:void 0;function K(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=pe):[t,n,i,r]=e,!t)return Ve;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],o=()=>{a.forEach(f=>f()),a.length=0},s=(f,h,g,p)=>(f.addEventListener(h,g,p),()=>f.removeEventListener(h,g,p)),u=l.watch(()=>[Ie(t),B(r)],([f,h])=>{if(o(),!f)return;const g=ol(h)?{...h}:h;a.push(...n.flatMap(p=>i.map(y=>s(f,p,y,g))))},{immediate:!0,flush:"post"}),c=()=>{u(),o()};return Oe(c),c}let hv=!1;function Wke(e,t,n={}){const{window:i=pe,ignore:r=[],capture:a=!0,detectIframe:o=!1}=n;if(!i)return Ve;Cd&&!hv&&(hv=!0,Array.from(i.document.body.children).forEach(g=>g.addEventListener("click",Ve)),i.document.documentElement.addEventListener("click",Ve));let s=!0;const u=g=>r.some(p=>{if(typeof p=="string")return Array.from(i.document.querySelectorAll(p)).some(y=>y===g.target||g.composedPath().includes(y));{const y=Ie(p);return y&&(g.target===y||g.composedPath().includes(y))}}),f=[K(i,"click",g=>{const p=Ie(e);if(!(!p||p===g.target||g.composedPath().includes(p))){if(g.detail===0&&(s=!u(g)),!s){s=!0;return}t(g)}},{passive:!0,capture:a}),K(i,"pointerdown",g=>{const p=Ie(e);s=!u(g)&&!!(p&&!g.composedPath().includes(p))},{passive:!0}),o&&K(i,"blur",g=>{setTimeout(()=>{var p;const y=Ie(e);((p=i.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(y!=null&&y.contains(i.document.activeElement))&&t(g)},0)})].filter(Boolean);return()=>f.forEach(g=>g())}function Oke(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function _d(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=pe,eventName:a="keydown",passive:o=!1,dedupe:s=!1}=i,u=Oke(t);return K(r,a,f=>{f.repeat&&B(s)||u(f)&&n(f)},o)}function zke(e,t,n={}){return _d(e,t,{...n,eventName:"keydown"})}function Lke(e,t,n={}){return _d(e,t,{...n,eventName:"keypress"})}function $ke(e,t,n={}){return _d(e,t,{...n,eventName:"keyup"})}const Hke=500,Rke=10;function Bke(e,t,n){var i,r;const a=l.computed(()=>Ie(e));let o,s,u,c=!1;function f(){o&&(clearTimeout(o),o=void 0),s=void 0,u=void 0,c=!1}function h(w){var M,x,_;const[S,N,T]=[u,s,c];if(f(),!(n!=null&&n.onMouseUp)||!N||!S||(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const I=w.x-N.x,L=w.y-N.y,D=Math.sqrt(I*I+L*L);n.onMouseUp(w.timeStamp-S,D,T)}function g(w){var M,x,_,S;(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||(f(),(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation(),s={x:w.x,y:w.y},u=w.timeStamp,o=setTimeout(()=>{c=!0,t(w)},(S=n==null?void 0:n.delay)!=null?S:Hke))}function p(w){var M,x,_,S;if((M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||!s||(n==null?void 0:n.distanceThreshold)===!1)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const N=w.x-s.x,T=w.y-s.y;Math.sqrt(N*N+T*T)>=((S=n==null?void 0:n.distanceThreshold)!=null?S:Rke)&&f()}const y={capture:(i=n==null?void 0:n.modifiers)==null?void 0:i.capture,once:(r=n==null?void 0:n.modifiers)==null?void 0:r.once},v=[K(a,"pointerdown",g,y),K(a,"pointermove",p,y),K(a,["pointerup","pointerleave"],h,y)];return()=>v.forEach(w=>w())}function Vke(){const{activeElement:e,body:t}=document;if(!e||e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")}function Fke({keyCode:e,metaKey:t,ctrlKey:n,altKey:i}){return t||n||i?!1:e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function Uke(e,t={}){const{document:n=cn}=t;n&&K(n,"keydown",r=>{!Vke()&&Fke(r)&&e(r)},{passive:!0})}function Yke(e,t=null){const n=l.getCurrentInstance();let i=()=>{};const r=l.customRef((a,o)=>(i=o,{get(){var s,u;return a(),(u=(s=n==null?void 0:n.proxy)==null?void 0:s.$refs[e])!=null?u:t},set(){}}));return jt(i),l.onUpdated(i),r}function mv(){const e=l.ref(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function Le(e){const t=mv();return l.computed(()=>(t.value,!!e()))}function Fo(e,t,n={}){const{window:i=pe,...r}=n;let a;const o=Le(()=>i&&"MutationObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const g=B(e),p=(Array.isArray(g)?g:[g]).map(Ie).filter(kd);return new Set(p)}),c=l.watch(()=>u.value,g=>{s(),o.value&&g.size&&(a=new MutationObserver(t),g.forEach(p=>a.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>a==null?void 0:a.takeRecords(),h=()=>{c(),s()};return Oe(h),{isSupported:o,stop:h,takeRecords:f}}function pv(e={}){var t;const{window:n=pe,deep:i=!0,triggerOnRemoval:r=!1}=e,a=(t=e.document)!=null?t:n==null?void 0:n.document,o=()=>{var c;let f=a==null?void 0:a.activeElement;if(i)for(;f!=null&&f.shadowRoot;)f=(c=f==null?void 0:f.shadowRoot)==null?void 0:c.activeElement;return f},s=l.ref(),u=()=>{s.value=o()};return n&&(K(n,"blur",c=>{c.relatedTarget===null&&u()},!0),K(n,"focus",u,!0)),r&&Fo(a,c=>{c.filter(f=>f.removedNodes.length).map(f=>Array.from(f.removedNodes)).flat().forEach(f=>{f===s.value&&u()})},{childList:!0,subtree:!0}),u(),s}function Ba(e,t={}){const{immediate:n=!0,fpsLimit:i=void 0,window:r=pe}=t,a=l.ref(!1),o=i?1e3/i:null;let s=0,u=null;function c(g){if(!a.value||!r)return;s||(s=g);const p=g-s;if(o&&p<o){u=r.requestAnimationFrame(c);return}s=g,e({delta:p,timestamp:g}),u=r.requestAnimationFrame(c)}function f(){!a.value&&r&&(a.value=!0,s=0,u=r.requestAnimationFrame(c))}function h(){a.value=!1,u!=null&&r&&(r.cancelAnimationFrame(u),u=null)}return n&&f(),Oe(h),{isActive:l.readonly(a),pause:h,resume:f}}function Xke(e,t,n){let i,r;ol(n)?(i=n,r=tv(n,["window","immediate","commitStyles","persist","onReady","onError"])):(i={duration:n},r=n);const{window:a=pe,immediate:o=!0,commitStyles:s,persist:u,playbackRate:c=1,onReady:f,onError:h=q=>{console.error(q)}}=i,g=Le(()=>a&&HTMLElement&&"animate"in HTMLElement.prototype),p=l.shallowRef(void 0),y=l.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:c,pending:!1,playState:o?"idle":"paused",replaceState:"active"}),v=l.computed(()=>y.pending),k=l.computed(()=>y.playState),w=l.computed(()=>y.replaceState),M=l.computed({get(){return y.startTime},set(q){y.startTime=q,p.value&&(p.value.startTime=q)}}),x=l.computed({get(){return y.currentTime},set(q){y.currentTime=q,p.value&&(p.value.currentTime=q,re())}}),_=l.computed({get(){return y.timeline},set(q){y.timeline=q,p.value&&(p.value.timeline=q)}}),S=l.computed({get(){return y.playbackRate},set(q){y.playbackRate=q,p.value&&(p.value.playbackRate=q)}}),N=()=>{if(p.value)try{p.value.play(),re()}catch(q){ee(),h(q)}else z()},T=()=>{var q;try{(q=p.value)==null||q.pause(),ee()}catch(Z){h(Z)}},I=()=>{var q;p.value||z();try{(q=p.value)==null||q.reverse(),re()}catch(Z){ee(),h(Z)}},L=()=>{var q;try{(q=p.value)==null||q.finish(),ee()}catch(Z){h(Z)}},D=()=>{var q;try{(q=p.value)==null||q.cancel(),ee()}catch(Z){h(Z)}};l.watch(()=>Ie(e),q=>{q&&z()}),l.watch(()=>t,q=>{p.value&&z(),!Ie(e)&&p.value&&(p.value.effect=new KeyframeEffect(Ie(e),B(q),r))},{deep:!0}),jt(()=>z(!0),!1),Oe(D);function z(q){const Z=Ie(e);!g.value||!Z||(p.value||(p.value=Z.animate(B(t),r)),u&&p.value.persist(),c!==1&&(p.value.playbackRate=c),q&&!o?p.value.pause():re(),f==null||f(p.value))}K(p,["cancel","finish","remove"],ee),K(p,"finish",()=>{var q;s&&((q=p.value)==null||q.commitStyles())});const{resume:H,pause:X}=Ba(()=>{p.value&&(y.pending=p.value.pending,y.playState=p.value.playState,y.replaceState=p.value.replaceState,y.startTime=p.value.startTime,y.currentTime=p.value.currentTime,y.timeline=p.value.timeline,y.playbackRate=p.value.playbackRate)},{immediate:!1});function re(){g.value&&H()}function ee(){g.value&&a&&a.requestAnimationFrame(X)}return{isSupported:g,animate:p,play:N,pause:T,reverse:I,finish:L,cancel:D,pending:v,playState:k,replaceState:w,startTime:M,currentTime:x,timeline:_,playbackRate:S}}function qke(e,t){const{interrupt:n=!0,onError:i=Ve,onFinished:r=Ve,signal:a}=t||{},o={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},s=Array.from(Array.from({length:e.length}),()=>({state:o.pending,data:null})),u=l.reactive(s),c=l.ref(-1);if(!e||e.length===0)return r(),{activeIndex:c,result:u};function f(h,g){c.value++,u[c.value].data=g,u[c.value].state=h}return e.reduce((h,g)=>h.then(p=>{var y;if(a!=null&&a.aborted){f(o.aborted,new Error("aborted"));return}if(((y=u[c.value])==null?void 0:y.state)===o.rejected&&n){r();return}const v=g(p).then(k=>(f(o.fulfilled,k),c.value===e.length-1&&r(),k));return a?Promise.race([v,Gke(a)]):v}).catch(p=>a!=null&&a.aborted?(f(o.aborted,p),p):(f(o.rejected,p),i(),p)),Promise.resolve()),{activeIndex:c,result:u}}function Gke(e){return new Promise((t,n)=>{const i=new Error("aborted");e.aborted?n(i):e.addEventListener("abort",()=>n(i),{once:!0})})}function gv(e,t,n){const{immediate:i=!0,delay:r=0,onError:a=Ve,onSuccess:o=Ve,resetOnExecute:s=!0,shallow:u=!0,throwError:c}=n??{},f=u?l.shallowRef(t):l.ref(t),h=l.ref(!1),g=l.ref(!1),p=l.shallowRef(void 0);async function y(w=0,...M){s&&(f.value=t),p.value=void 0,h.value=!1,g.value=!0,w>0&&await ul(w);const x=typeof e=="function"?e(...M):e;try{const _=await x;f.value=_,h.value=!0,o(_)}catch(_){if(p.value=_,a(_),c)throw _}finally{g.value=!1}return f.value}i&&y(r);const v={state:f,isReady:h,isLoading:g,error:p,execute:y};function k(){return new Promise((w,M)=>{cl(g).toBe(!1).then(()=>w(v)).catch(M)})}return{...v,then(w,M){return k().then(w,M)}}}const fl={array:e=>JSON.stringify(e),object:e=>JSON.stringify(e),set:e=>JSON.stringify(Array.from(e)),map:e=>JSON.stringify(Object.fromEntries(e)),null:()=>""};function Kke(e){return e?e instanceof Map?fl.map:e instanceof Set?fl.set:Array.isArray(e)?fl.array:fl.object:fl.null}function Qke(e,t){const n=l.ref(""),i=l.ref();function r(){if(Nt)return i.value=new Promise((a,o)=>{try{const s=B(e);if(s==null)a("");else if(typeof s=="string")a(f1(new Blob([s],{type:"text/plain"})));else if(s instanceof Blob)a(f1(s));else if(s instanceof ArrayBuffer)a(window.btoa(String.fromCharCode(...new Uint8Array(s))));else if(s instanceof HTMLCanvasElement)a(s.toDataURL(t==null?void 0:t.type,t==null?void 0:t.quality));else if(s instanceof HTMLImageElement){const u=s.cloneNode(!1);u.crossOrigin="Anonymous",Jke(u).then(()=>{const c=document.createElement("canvas"),f=c.getContext("2d");c.width=u.width,c.height=u.height,f.drawImage(u,0,0,c.width,c.height),a(c.toDataURL(t==null?void 0:t.type,t==null?void 0:t.quality))}).catch(o)}else if(typeof s=="object"){const c=((t==null?void 0:t.serializer)||Kke(s))(s);return a(f1(new Blob([c],{type:"application/json"})))}else o(new Error("target is unsupported types"))}catch(s){o(s)}}),i.value.then(a=>n.value=a),i.value}return l.isRef(e)||typeof e=="function"?l.watch(e,r,{immediate:!0}):r(),{base64:n,promise:i,execute:r}}function Jke(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function f1(e){return new Promise((t,n)=>{const i=new FileReader;i.onload=r=>{t(r.target.result)},i.onerror=n,i.readAsDataURL(e)})}function Zke(e={}){const{navigator:t=Cn}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],i=Le(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),r=l.ref(!1),a=l.ref(0),o=l.ref(0),s=l.ref(1);let u;function c(){r.value=this.charging,a.value=this.chargingTime||0,o.value=this.dischargingTime||0,s.value=this.level}return i.value&&t.getBattery().then(f=>{u=f,c.call(u),K(u,n,c,{passive:!0})}),{isSupported:i,charging:r,chargingTime:a,dischargingTime:o,level:s}}function e6e(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n=void 0,optionalServices:i=void 0,navigator:r=Cn}=e||{},a=Le(()=>r&&"bluetooth"in r),o=l.shallowRef(void 0),s=l.shallowRef(null);l.watch(o,()=>{h()});async function u(){if(a.value){s.value=null,n&&n.length>0&&(t=!1);try{o.value=await(r==null?void 0:r.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:i}))}catch(g){s.value=g}}}const c=l.ref(),f=l.computed(()=>{var g;return((g=c.value)==null?void 0:g.connected)||!1});async function h(){if(s.value=null,o.value&&o.value.gatt){o.value.addEventListener("gattserverdisconnected",()=>{});try{c.value=await o.value.gatt.connect()}catch(g){s.value=g}}}return jt(()=>{var g;o.value&&((g=o.value.gatt)==null||g.connect())}),Oe(()=>{var g;o.value&&((g=o.value.gatt)==null||g.disconnect())}),{isSupported:a,isConnected:f,device:o,requestDevice:u,server:c,error:s}}function xn(e,t={}){const{window:n=pe}=t,i=Le(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=l.ref(!1),o=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},u=l.watchEffect(()=>{i.value&&(s(),r=n.matchMedia(B(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),a.value=r.matches)});return Oe(()=>{u(),s(),r=void 0}),a}const t6e={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},n6e={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},yv={xs:0,sm:600,md:960,lg:1264,xl:1904},i6e={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},r6e=yv,a6e={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},o6e={xs:0,sm:600,md:1024,lg:1440,xl:1920},s6e={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},l6e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},u6e={sm:576,md:768,lg:992,xl:1200};function d6e(e,t={}){function n(f,h){let g=B(e[B(f)]);return h!=null&&(g=Zw(g,h)),typeof g=="number"&&(g=`${g}px`),g}const{window:i=pe,strategy:r="min-width"}=t;function a(f){return i?i.matchMedia(f).matches:!1}const o=f=>xn(()=>`(min-width: ${n(f)})`,t),s=f=>xn(()=>`(max-width: ${n(f)})`,t),u=Object.keys(e).reduce((f,h)=>(Object.defineProperty(f,h,{get:()=>r==="min-width"?o(h):s(h),enumerable:!0,configurable:!0}),f),{});function c(){const f=Object.keys(e).map(h=>[h,o(h)]);return l.computed(()=>f.filter(([,h])=>h.value).map(([h])=>h))}return Object.assign(u,{greaterOrEqual:o,smallerOrEqual:s,greater(f){return xn(()=>`(min-width: ${n(f,.1)})`,t)},smaller(f){return xn(()=>`(max-width: ${n(f,-.1)})`,t)},between(f,h){return xn(()=>`(min-width: ${n(f)}) and (max-width: ${n(h,-.1)})`,t)},isGreater(f){return a(`(min-width: ${n(f,.1)})`)},isGreaterOrEqual(f){return a(`(min-width: ${n(f)})`)},isSmaller(f){return a(`(max-width: ${n(f,-.1)})`)},isSmallerOrEqual(f){return a(`(max-width: ${n(f)})`)},isInBetween(f,h){return a(`(min-width: ${n(f)}) and (max-width: ${n(h,-.1)})`)},current:c,active(){const f=c();return l.computed(()=>f.value.length===0?"":f.value.at(-1))}})}function c6e(e){const{name:t,window:n=pe}=e,i=Le(()=>n&&"BroadcastChannel"in n),r=l.ref(!1),a=l.ref(),o=l.ref(),s=l.shallowRef(null),u=f=>{a.value&&a.value.postMessage(f)},c=()=>{a.value&&a.value.close(),r.value=!0};return i.value&&jt(()=>{s.value=null,a.value=new BroadcastChannel(t),a.value.addEventListener("message",f=>{o.value=f.data},{passive:!0}),a.value.addEventListener("messageerror",f=>{s.value=f},{passive:!0}),a.value.addEventListener("close",()=>{r.value=!0})}),Oe(()=>{c()}),{isSupported:i,channel:a,data:o,post:u,close:c,error:s,isClosed:r}}const bv=["hash","host","hostname","href","pathname","port","protocol","search"];function f6e(e={}){const{window:t=pe}=e,n=Object.fromEntries(bv.map(a=>[a,l.ref()]));for(const[a,o]of nv(n))l.watch(o,s=>{!(t!=null&&t.location)||t.location[a]===s||(t.location[a]=s)});const i=a=>{var o;const{state:s,length:u}=(t==null?void 0:t.history)||{},{origin:c}=(t==null?void 0:t.location)||{};for(const f of bv)n[f].value=(o=t==null?void 0:t.location)==null?void 0:o[f];return l.reactive({trigger:a,state:s,length:u,origin:c,...n})},r=l.ref(i("load"));return t&&(K(t,"popstate",()=>r.value=i("popstate"),{passive:!0}),K(t,"hashchange",()=>r.value=i("hashchange"),{passive:!0})),r}function h6e(e,t=(i,r)=>i===r,n){const i=l.ref(e.value);return l.watch(()=>e.value,r=>{t(r,i.value)||(i.value=r)},n),i}function Td(e,t={}){const{controls:n=!1,navigator:i=Cn}=t,r=Le(()=>i&&"permissions"in i),a=l.shallowRef(),o=typeof e=="string"?{name:e}:e,s=l.shallowRef(),u=()=>{var f,h;s.value=(h=(f=a.value)==null?void 0:f.state)!=null?h:"prompt"};K(a,"change",u);const c=Jw(async()=>{if(r.value){if(!a.value)try{a.value=await i.permissions.query(o)}catch{a.value=void 0}finally{u()}if(n)return l.toRaw(a.value)}});return c(),n?{state:s,isSupported:r,query:c}:s}function m6e(e={}){const{navigator:t=Cn,read:n=!1,source:i,copiedDuring:r=1500,legacy:a=!1}=e,o=Le(()=>t&&"clipboard"in t),s=Td("clipboard-read"),u=Td("clipboard-write"),c=l.computed(()=>o.value||a),f=l.ref(""),h=l.ref(!1),g=Bo(()=>h.value=!1,r);function p(){o.value&&w(s.value)?t.clipboard.readText().then(M=>{f.value=M}):f.value=k()}c.value&&n&&K(["copy","cut"],p);async function y(M=B(i)){c.value&&M!=null&&(o.value&&w(u.value)?await t.clipboard.writeText(M):v(M),f.value=M,h.value=!0,g.start())}function v(M){const x=document.createElement("textarea");x.value=M??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function k(){var M,x,_;return(_=(x=(M=document==null?void 0:document.getSelection)==null?void 0:M.call(document))==null?void 0:x.toString())!=null?_:""}function w(M){return M==="granted"||M==="prompt"}return{isSupported:c,text:f,copied:h,copy:y}}function p6e(e={}){const{navigator:t=Cn,read:n=!1,source:i,copiedDuring:r=1500}=e,a=Le(()=>t&&"clipboard"in t),o=l.ref([]),s=l.ref(!1),u=Bo(()=>s.value=!1,r);function c(){a.value&&t.clipboard.read().then(h=>{o.value=h})}a.value&&n&&K(["copy","cut"],c);async function f(h=B(i)){a.value&&h!=null&&(await t.clipboard.write(h),o.value=h,s.value=!0,u.start())}return{isSupported:a,content:o,copied:s,copy:f}}function hl(e){return JSON.parse(JSON.stringify(e))}function g6e(e,t={}){const n=l.ref({}),{manual:i,clone:r=hl,deep:a=!0,immediate:o=!0}=t;function s(){n.value=r(B(e))}return!i&&(l.isRef(e)||typeof e=="function")?l.watch(e,s,{...t,deep:a,immediate:o}):s(),{cloned:n,sync:s}}const Pd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ed="__vueuse_ssr_handlers__",wv=y6e();function y6e(){return Ed in Pd||(Pd[Ed]=Pd[Ed]||{}),Pd[Ed]}function Ad(e,t){return wv[e]||t}function b6e(e,t){wv[e]=t}function vv(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const h1={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},m1="vueuse-storage";function Dd(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=pe,eventFilter:g,onError:p=D=>{console.error(D)},initOnMounted:y}=i,v=(f?l.shallowRef:l.ref)(typeof t=="function"?t():t);if(!n)try{n=Ad("getDefaultStorage",()=>{var D;return(D=pe)==null?void 0:D.localStorage})()}catch(D){p(D)}if(!n)return v;const k=B(t),w=vv(k),M=(r=i.serializer)!=null?r:h1[w],{pause:x,resume:_}=Ro(v,()=>N(v.value),{flush:a,deep:o,eventFilter:g});h&&s&&jt(()=>{n instanceof Storage?K(h,"storage",I):K(h,m1,L),y&&I()}),y||I();function S(D,z){if(h){const H={key:e,oldValue:D,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(m1,{detail:H}))}}function N(D){try{const z=n.getItem(e);if(D==null)S(z,null),n.removeItem(e);else{const H=M.write(D);z!==H&&(n.setItem(e,H),S(z,H))}}catch(z){p(z)}}function T(D){const z=D?D.newValue:n.getItem(e);if(z==null)return u&&k!=null&&n.setItem(e,M.write(k)),k;if(!D&&c){const H=M.read(z);return typeof c=="function"?c(H,k):w==="object"&&!Array.isArray(H)?{...k,...H}:H}else return typeof z!="string"?z:M.read(z)}function I(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){v.value=k;return}if(!(D&&D.key!==e)){x();try{(D==null?void 0:D.newValue)!==M.write(v.value)&&(v.value=T(D))}catch(z){p(z)}finally{D?l.nextTick(_):_()}}}}function L(D){I(D.detail)}return v}function p1(e){return xn("(prefers-color-scheme: dark)",e)}const w6e="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function kv(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:r=pe,storage:a,storageKey:o="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:u,emitAuto:c,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=p1({window:r}),p=l.computed(()=>g.value?"dark":"light"),y=u||(o==null?Mt(i):Dd(o,i,a,{window:r,listenToStorageChanges:s})),v=l.computed(()=>y.value==="auto"?p.value:y.value),k=Ad("updateHTMLAttrs",(_,S,N)=>{const T=typeof _=="string"?r==null?void 0:r.document.querySelector(_):Ie(_);if(!T)return;const I=new Set,L=new Set;let D=null;if(S==="class"){const H=N.split(/\s/g);Object.values(h).flatMap(X=>(X||"").split(/\s/g)).filter(Boolean).forEach(X=>{H.includes(X)?I.add(X):L.add(X)})}else D={key:S,value:N};if(I.size===0&&L.size===0&&D===null)return;let z;f&&(z=r.document.createElement("style"),z.appendChild(document.createTextNode(w6e)),r.document.head.appendChild(z));for(const H of I)T.classList.add(H);for(const H of L)T.classList.remove(H);D&&T.setAttribute(D.key,D.value),f&&(r.getComputedStyle(z).opacity,document.head.removeChild(z))});function w(_){var S;k(t,n,(S=h[_])!=null?S:_)}function M(_){e.onChanged?e.onChanged(_,w):w(_)}l.watch(v,M,{flush:"post",immediate:!0}),jt(()=>M(v.value));const x=l.computed({get(){return c?y.value:v.value},set(_){y.value=_}});try{return Object.assign(x,{store:y,system:p,state:v})}catch{return x}}function v6e(e=l.ref(!1)){const t=dn(),n=dn(),i=dn();let r=Ve;const a=u=>(i.trigger(u),e.value=!0,new Promise(c=>{r=c})),o=u=>{e.value=!1,t.trigger(u),r({data:u,isCanceled:!1})},s=u=>{e.value=!1,n.trigger(u),r({data:u,isCanceled:!0})};return{isRevealed:l.computed(()=>e.value),reveal:a,confirm:o,cancel:s,onReveal:i.on,onConfirm:t.on,onCancel:n.on}}function ml(e,t,n={}){const{window:i=pe,initialValue:r,observe:a=!1}=n,o=l.ref(r),s=l.computed(()=>{var c;return Ie(t)||((c=i==null?void 0:i.document)==null?void 0:c.documentElement)});function u(){var c;const f=B(e),h=B(s);if(h&&i&&f){const g=(c=i.getComputedStyle(h).getPropertyValue(f))==null?void 0:c.trim();o.value=g||r}}return a&&Fo(s,u,{attributeFilter:["style","class"],window:i}),l.watch([s,()=>B(e)],(c,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),u()},{immediate:!0}),l.watch(o,c=>{var f;const h=B(e);(f=s.value)!=null&&f.style&&h&&(c==null?s.value.style.removeProperty(h):s.value.style.setProperty(h,c))}),o}function Mv(e){const t=l.getCurrentInstance(),n=e1(()=>null,()=>e?Ie(e):t.proxy.$el);return l.onUpdated(n.trigger),l.onMounted(n.trigger),n}function k6e(e,t){const n=l.shallowRef(c()),i=Mt(e),r=l.computed({get(){var f;const h=i.value;let g=t!=null&&t.getIndexOf?t.getIndexOf(n.value,h):h.indexOf(n.value);return g<0&&(g=(f=t==null?void 0:t.fallbackIndex)!=null?f:0),g},set(f){a(f)}});function a(f){const h=i.value,g=h.length,p=(f%g+g)%g,y=h[p];return n.value=y,y}function o(f=1){return a(r.value+f)}function s(f=1){return o(f)}function u(f=1){return o(-f)}function c(){var f,h;return(h=B((f=t==null?void 0:t.initialValue)!=null?f:B(e)[0]))!=null?h:void 0}return l.watch(i,()=>a(r.value)),{state:n,index:r,next:s,prev:u,go:a}}function M6e(e={}){const{valueDark:t="dark",valueLight:n="",window:i=pe}=e,r=kv({...e,onChanged:(s,u)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",u,s):u(s)},modes:{dark:t,light:n}}),a=l.computed(()=>r.system?r.system.value:p1({window:i}).value?"dark":"light");return l.computed({get(){return r.value==="dark"},set(s){const u=s?"dark":"light";a.value===u?r.value="auto":r.value=u}})}function Cv(e){return e}function C6e(e,t){return e.value=t}function x6e(e){return e?typeof e=="function"?e:hl:Cv}function S6e(e){return e?typeof e=="function"?e:hl:Cv}function xv(e,t={}){const{clone:n=!1,dump:i=x6e(n),parse:r=S6e(n),setSource:a=C6e}=t;function o(){return l.markRaw({snapshot:i(e.value),timestamp:$a()})}const s=l.ref(o()),u=l.ref([]),c=l.ref([]),f=x=>{a(e,r(x.snapshot)),s.value=x},h=()=>{u.value.unshift(s.value),s.value=o(),t.capacity&&u.value.length>t.capacity&&u.value.splice(t.capacity,Number.POSITIVE_INFINITY),c.value.length&&c.value.splice(0,c.value.length)},g=()=>{u.value.splice(0,u.value.length),c.value.splice(0,c.value.length)},p=()=>{const x=u.value.shift();x&&(c.value.unshift(s.value),f(x))},y=()=>{const x=c.value.shift();x&&(u.value.unshift(s.value),f(x))},v=()=>{f(s.value)},k=l.computed(()=>[s.value,...u.value]),w=l.computed(()=>u.value.length>0),M=l.computed(()=>c.value.length>0);return{source:e,undoStack:u,redoStack:c,last:s,history:k,canUndo:w,canRedo:M,clear:g,commit:h,reset:v,undo:p,redo:y}}function g1(e,t={}){const{deep:n=!1,flush:i="pre",eventFilter:r}=t,{eventFilter:a,pause:o,resume:s,isActive:u}=i1(r),{ignoreUpdates:c,ignorePrevAsyncUpdates:f,stop:h}=Vo(e,k,{deep:n,flush:i,eventFilter:a});function g(_,S){f(),c(()=>{_.value=S})}const p=xv(e,{...t,clone:t.clone||n,setSource:g}),{clear:y,commit:v}=p;function k(){f(),v()}function w(_){s(),_&&k()}function M(_){let S=!1;const N=()=>S=!0;c(()=>{_(N)}),S||k()}function x(){h(),y()}return{...p,isTracking:u,pause:o,resume:w,commit:k,batch:M,dispose:x}}function _6e(e,t={}){const n=t.debounce?xd(t.debounce):void 0;return{...g1(e,{...t,eventFilter:n})}}function T6e(e={}){const{window:t=pe,eventFilter:n=sl}=e,i=l.ref({x:null,y:null,z:null}),r=l.ref({alpha:null,beta:null,gamma:null}),a=l.ref(0),o=l.ref({x:null,y:null,z:null});if(t){const s=Ha(n,u=>{i.value=u.acceleration,o.value=u.accelerationIncludingGravity,r.value=u.rotationRate,a.value=u.interval});K(t,"devicemotion",s)}return{acceleration:i,accelerationIncludingGravity:o,rotationRate:r,interval:a}}function Sv(e={}){const{window:t=pe}=e,n=Le(()=>t&&"DeviceOrientationEvent"in t),i=l.ref(!1),r=l.ref(null),a=l.ref(null),o=l.ref(null);return t&&n.value&&K(t,"deviceorientation",s=>{i.value=s.absolute,r.value=s.alpha,a.value=s.beta,o.value=s.gamma}),{isSupported:n,isAbsolute:i,alpha:r,beta:a,gamma:o}}function P6e(e={}){const{window:t=pe}=e,n=l.ref(1);if(t){let i=function(){n.value=t.devicePixelRatio,r(),a=t.matchMedia(`(resolution: ${n.value}dppx)`),a.addEventListener("change",i,{once:!0})},r=function(){a==null||a.removeEventListener("change",i)},a;i(),Oe(r)}return{pixelRatio:n}}function E6e(e={}){const{navigator:t=Cn,requestPermissions:n=!1,constraints:i={audio:!0,video:!0},onUpdated:r}=e,a=l.ref([]),o=l.computed(()=>a.value.filter(y=>y.kind==="videoinput")),s=l.computed(()=>a.value.filter(y=>y.kind==="audioinput")),u=l.computed(()=>a.value.filter(y=>y.kind==="audiooutput")),c=Le(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=l.ref(!1);let h;async function g(){c.value&&(a.value=await t.mediaDevices.enumerateDevices(),r==null||r(a.value),h&&(h.getTracks().forEach(y=>y.stop()),h=null))}async function p(){if(!c.value)return!1;if(f.value)return!0;const{state:y,query:v}=Td("camera",{controls:!0});return await v(),y.value!=="granted"&&(h=await t.mediaDevices.getUserMedia(i),g()),f.value=!0,f.value}return c.value&&(n&&p(),K(t.mediaDevices,"devicechange",g),g()),{devices:a,ensurePermissions:p,permissionGranted:f,videoInputs:o,audioInputs:s,audioOutputs:u,isSupported:c}}function A6e(e={}){var t;const n=l.ref((t=e.enabled)!=null?t:!1),i=e.video,r=e.audio,{navigator:a=Cn}=e,o=Le(()=>{var p;return(p=a==null?void 0:a.mediaDevices)==null?void 0:p.getDisplayMedia}),s={audio:r,video:i},u=l.shallowRef();async function c(){var p;if(!(!o.value||u.value))return u.value=await a.mediaDevices.getDisplayMedia(s),(p=u.value)==null||p.getTracks().forEach(y=>y.addEventListener("ended",h)),u.value}async function f(){var p;(p=u.value)==null||p.getTracks().forEach(y=>y.stop()),u.value=void 0}function h(){f(),n.value=!1}async function g(){return await c(),u.value&&(n.value=!0),u.value}return l.watch(n,p=>{p?c():f()},{immediate:!0}),{isSupported:o,stream:u,start:g,stop:h,enabled:n}}function _v(e={}){const{document:t=cn}=e;if(!t)return l.ref("visible");const n=l.ref(t.visibilityState);return K(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function D6e(e,t={}){var n,i;const{pointerTypes:r,preventDefault:a,stopPropagation:o,exact:s,onMove:u,onEnd:c,onStart:f,initialValue:h,axis:g="both",draggingElement:p=pe,containerElement:y,handle:v=e,buttons:k=[0]}=t,w=l.ref((n=B(h))!=null?n:{x:0,y:0}),M=l.ref(),x=I=>r?r.includes(I.pointerType):!0,_=I=>{B(a)&&I.preventDefault(),B(o)&&I.stopPropagation()},S=I=>{var L;if(!B(k).includes(I.button)||B(t.disabled)||!x(I)||B(s)&&I.target!==B(e))return;const D=B(y),z=(L=D==null?void 0:D.getBoundingClientRect)==null?void 0:L.call(D),H=B(e).getBoundingClientRect(),X={x:I.clientX-(D?H.left-z.left+D.scrollLeft:H.left),y:I.clientY-(D?H.top-z.top+D.scrollTop:H.top)};(f==null?void 0:f(X,I))!==!1&&(M.value=X,_(I))},N=I=>{if(B(t.disabled)||!x(I)||!M.value)return;const L=B(y),D=B(e).getBoundingClientRect();let{x:z,y:H}=w.value;(g==="x"||g==="both")&&(z=I.clientX-M.value.x,L&&(z=Math.min(Math.max(0,z),L.scrollWidth-D.width))),(g==="y"||g==="both")&&(H=I.clientY-M.value.y,L&&(H=Math.min(Math.max(0,H),L.scrollHeight-D.height))),w.value={x:z,y:H},u==null||u(w.value,I),_(I)},T=I=>{B(t.disabled)||!x(I)||M.value&&(M.value=void 0,c==null||c(w.value,I),_(I))};if(Nt){const I={capture:(i=t.capture)!=null?i:!0};K(v,"pointerdown",S,I),K(p,"pointermove",N,I),K(p,"pointerup",T,I)}return{...d1(w),position:w,isDragging:l.computed(()=>!!M.value),style:l.computed(()=>`left:${w.value.x}px;top:${w.value.y}px;`)}}function N6e(e,t={}){const n=l.ref(!1),i=l.shallowRef(null);let r=0,a=!0;if(Nt){const o=typeof t=="function"?{onDrop:t}:t,s=u=>{var c,f;const h=Array.from((f=(c=u.dataTransfer)==null?void 0:c.files)!=null?f:[]);return i.value=h.length===0?null:h};K(e,"dragenter",u=>{var c,f;const h=Array.from(((c=u==null?void 0:u.dataTransfer)==null?void 0:c.items)||[]).map(p=>p.kind==="file"?p.type:null).filter(kd);if(o.dataTypes&&u.dataTransfer){const p=l.unref(o.dataTypes);if(a=typeof p=="function"?p(h):p?p.some(y=>h.includes(y)):!0,!a)return}u.preventDefault(),r+=1,n.value=!0;const g=s(u);(f=o.onEnter)==null||f.call(o,g,u)}),K(e,"dragover",u=>{var c;if(!a)return;u.preventDefault();const f=s(u);(c=o.onOver)==null||c.call(o,f,u)}),K(e,"dragleave",u=>{var c;if(!a)return;u.preventDefault(),r-=1,r===0&&(n.value=!1);const f=s(u);(c=o.onLeave)==null||c.call(o,f,u)}),K(e,"drop",u=>{var c;u.preventDefault(),r=0,n.value=!1;const f=s(u);(c=o.onDrop)==null||c.call(o,f,u)})}return{files:i,isOverDropZone:n}}function Nd(e,t,n={}){const{window:i=pe,...r}=n;let a;const o=Le(()=>i&&"ResizeObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const h=B(e);return Array.isArray(h)?h.map(g=>Ie(g)):[Ie(h)]}),c=l.watch(u,h=>{if(s(),o.value&&i){a=new ResizeObserver(t);for(const g of h)g&&a.observe(g,r)}},{immediate:!0,flush:"post"}),f=()=>{s(),c()};return Oe(f),{isSupported:o,stop:f}}function j6e(e,t={}){const{reset:n=!0,windowResize:i=!0,windowScroll:r=!0,immediate:a=!0,updateTiming:o="sync"}=t,s=l.ref(0),u=l.ref(0),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0);function v(){const w=Ie(e);if(!w){n&&(s.value=0,u.value=0,c.value=0,f.value=0,h.value=0,g.value=0,p.value=0,y.value=0);return}const M=w.getBoundingClientRect();s.value=M.height,u.value=M.bottom,c.value=M.left,f.value=M.right,h.value=M.top,g.value=M.width,p.value=M.x,y.value=M.y}function k(){o==="sync"?v():o==="next-frame"&&requestAnimationFrame(()=>v())}return Nd(e,k),l.watch(()=>Ie(e),w=>!w&&k()),Fo(e,k,{attributeFilter:["style","class"]}),r&&K("scroll",k,{capture:!0,passive:!0}),i&&K("resize",k,{passive:!0}),jt(()=>{a&&k()}),{height:s,bottom:u,left:c,right:f,top:h,width:g,x:p,y,update:k}}function I6e(e){const{x:t,y:n,document:i=cn,multiple:r,interval:a="requestAnimationFrame",immediate:o=!0}=e,s=Le(()=>B(r)?i&&"elementsFromPoint"in i:i&&"elementFromPoint"in i),u=l.ref(null),c=()=>{var h,g;u.value=B(r)?(h=i==null?void 0:i.elementsFromPoint(B(t),B(n)))!=null?h:[]:(g=i==null?void 0:i.elementFromPoint(B(t),B(n)))!=null?g:null},f=a==="requestAnimationFrame"?Ba(c,{immediate:o}):$r(c,a,{immediate:o});return{isSupported:s,element:u,...f}}function W6e(e,t={}){const{delayEnter:n=0,delayLeave:i=0,window:r=pe}=t,a=l.ref(!1);let o;const s=u=>{const c=u?n:i;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return r&&(K(e,"mouseenter",()=>s(!0),{passive:!0}),K(e,"mouseleave",()=>s(!1),{passive:!0})),a}function Tv(e,t={width:0,height:0},n={}){const{window:i=pe,box:r="content-box"}=n,a=l.computed(()=>{var h,g;return(g=(h=Ie(e))==null?void 0:h.namespaceURI)==null?void 0:g.includes("svg")}),o=l.ref(t.width),s=l.ref(t.height),{stop:u}=Nd(e,([h])=>{const g=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(i&&a.value){const p=Ie(e);if(p){const y=p.getBoundingClientRect();o.value=y.width,s.value=y.height}}else if(g){const p=Array.isArray(g)?g:[g];o.value=p.reduce((y,{inlineSize:v})=>y+v,0),s.value=p.reduce((y,{blockSize:v})=>y+v,0)}else o.value=h.contentRect.width,s.value=h.contentRect.height},n);jt(()=>{const h=Ie(e);h&&(o.value="offsetWidth"in h?h.offsetWidth:t.width,s.value="offsetHeight"in h?h.offsetHeight:t.height)});const c=l.watch(()=>Ie(e),h=>{o.value=h?t.width:0,s.value=h?t.height:0});function f(){u(),c()}return{width:o,height:s,stop:f}}function Pv(e,t,n={}){const{root:i,rootMargin:r="0px",threshold:a=0,window:o=pe,immediate:s=!0}=n,u=Le(()=>o&&"IntersectionObserver"in o),c=l.computed(()=>{const y=B(e);return(Array.isArray(y)?y:[y]).map(Ie).filter(kd)});let f=Ve;const h=l.ref(s),g=u.value?l.watch(()=>[c.value,Ie(i),h.value],([y,v])=>{if(f(),!h.value||!y.length)return;const k=new IntersectionObserver(t,{root:Ie(v),rootMargin:r,threshold:a});y.forEach(w=>w&&k.observe(w)),f=()=>{k.disconnect(),f=Ve}},{immediate:s,flush:"post"}):Ve,p=()=>{f(),g(),h.value=!1};return Oe(p),{isSupported:u,isActive:h,pause(){f(),h.value=!1},resume(){h.value=!0},stop:p}}function Ev(e,t={}){const{window:n=pe,scrollTarget:i,threshold:r=0}=t,a=l.ref(!1);return Pv(e,o=>{let s=a.value,u=0;for(const c of o)c.time>=u&&(u=c.time,s=c.isIntersecting);a.value=s},{root:i,window:n,threshold:r}),a}const pl=new Map;function O6e(e){const t=l.getCurrentScope();function n(s){var u;const c=pl.get(e)||new Set;c.add(s),pl.set(e,c);const f=()=>r(s);return(u=t==null?void 0:t.cleanups)==null||u.push(f),f}function i(s){function u(...c){r(u),s(...c)}return n(u)}function r(s){const u=pl.get(e);u&&(u.delete(s),u.size||a())}function a(){pl.delete(e)}function o(s,u){var c;(c=pl.get(e))==null||c.forEach(f=>f(s,u))}return{on:n,once:i,off:r,emit:o,reset:a}}function z6e(e){return e===!0?{}:e}function L6e(e,t=[],n={}){const i=l.ref(null),r=l.ref(null),a=l.ref("CONNECTING"),o=l.ref(null),s=l.shallowRef(null),u=Mt(e),c=l.shallowRef(null);let f=!1,h=0;const{withCredentials:g=!1,immediate:p=!0}=n,y=()=>{Nt&&o.value&&(o.value.close(),o.value=null,a.value="CLOSED",f=!0)},v=()=>{if(f||typeof u.value>"u")return;const w=new EventSource(u.value,{withCredentials:g});a.value="CONNECTING",o.value=w,w.onopen=()=>{a.value="OPEN",s.value=null},w.onerror=M=>{if(a.value="CLOSED",s.value=M,w.readyState===2&&!f&&n.autoReconnect){w.close();const{retries:x=-1,delay:_=1e3,onFailed:S}=z6e(n.autoReconnect);h+=1,typeof x=="number"&&(x<0||h<x)||typeof x=="function"&&x()?setTimeout(v,_):S==null||S()}},w.onmessage=M=>{i.value=null,r.value=M.data,c.value=M.lastEventId};for(const M of t)K(w,M,x=>{i.value=M,r.value=x.data||null})},k=()=>{Nt&&(y(),f=!1,h=0,v())};return p&&l.watch(u,k,{immediate:!0}),Oe(y),{eventSource:o,event:i,data:r,status:a,error:s,open:k,close:y,lastEventId:c}}function $6e(e={}){const{initialValue:t=""}=e,n=Le(()=>typeof window<"u"&&"EyeDropper"in window),i=l.ref(t);async function r(a){if(!n.value)return;const s=await new window.EyeDropper().open(a);return i.value=s.sRGBHex,s}return{isSupported:n,sRGBHex:i,open:r}}function H6e(e=null,t={}){const{baseUrl:n="",rel:i="icon",document:r=cn}=t,a=Mt(e),o=s=>{const u=r==null?void 0:r.head.querySelectorAll(`link[rel*="${i}"]`);if(!u||u.length===0){const c=r==null?void 0:r.createElement("link");c&&(c.rel=i,c.href=`${n}${s}`,c.type=`image/${s.split(".").pop()}`,r==null||r.head.append(c));return}u==null||u.forEach(c=>c.href=`${n}${s}`)};return l.watch(a,(s,u)=>{typeof s=="string"&&s!==u&&o(s)},{immediate:!0}),a}const R6e={json:"application/json",text:"text/plain"};function jd(e){return e&&a1(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const B6e=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function V6e(e){return B6e.test(e)}function gl(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function Uo(e,...t){return e==="overwrite"?async n=>{const i=t[t.length-1];return i?{...n,...await i(n)}:n}:async n=>{for(const i of t)i&&(n={...n,...await i(n)});return n}}function F6e(e={}){const t=e.combination||"chain",n=e.options||{},i=e.fetchOptions||{};function r(a,...o){const s=l.computed(()=>{const f=B(e.baseUrl),h=B(a);return f&&!V6e(h)?U6e(f,h):h});let u=n,c=i;return o.length>0&&(jd(o[0])?u={...u,...o[0],beforeFetch:Uo(t,n.beforeFetch,o[0].beforeFetch),afterFetch:Uo(t,n.afterFetch,o[0].afterFetch),onFetchError:Uo(t,n.onFetchError,o[0].onFetchError)}:c={...c,...o[0],headers:{...gl(c.headers)||{},...gl(o[0].headers)||{}}}),o.length>1&&jd(o[1])&&(u={...u,...o[1],beforeFetch:Uo(t,n.beforeFetch,o[1].beforeFetch),afterFetch:Uo(t,n.afterFetch,o[1].afterFetch),onFetchError:Uo(t,n.onFetchError,o[1].onFetchError)}),Av(s,c,u)}return r}function Av(e,...t){var n;const i=typeof AbortController=="function";let r={},a={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const o={method:"GET",type:"text",payload:void 0};t.length>0&&(jd(t[0])?a={...a,...t[0]}:r=t[0]),t.length>1&&jd(t[1])&&(a={...a,...t[1]});const{fetch:s=(n=pe)==null?void 0:n.fetch,initialData:u,timeout:c}=a,f=dn(),h=dn(),g=dn(),p=l.ref(!1),y=l.ref(!1),v=l.ref(!1),k=l.ref(null),w=l.shallowRef(null),M=l.shallowRef(null),x=l.shallowRef(u||null),_=l.computed(()=>i&&y.value);let S,N;const T=()=>{i&&(S==null||S.abort(),S=new AbortController,S.signal.onabort=()=>v.value=!0,r={...r,signal:S.signal})},I=q=>{y.value=q,p.value=!q};c&&(N=Bo(T,c,{immediate:!1}));let L=0;const D=async(q=!1)=>{var Z,de;T(),I(!0),M.value=null,k.value=null,v.value=!1,L+=1;const Ae=L,at={method:o.method,headers:{}};if(o.payload){const qe=gl(at.headers),ot=B(o.payload);!o.payloadType&&ot&&Object.getPrototypeOf(ot)===Object.prototype&&!(ot instanceof FormData)&&(o.payloadType="json"),o.payloadType&&(qe["Content-Type"]=(Z=R6e[o.payloadType])!=null?Z:o.payloadType),at.body=o.payloadType==="json"?JSON.stringify(ot):ot}let Tt=!1;const Jt={url:B(e),options:{...at,...r},cancel:()=>{Tt=!0}};if(a.beforeFetch&&Object.assign(Jt,await a.beforeFetch(Jt)),Tt||!s)return I(!1),Promise.resolve(null);let Bt=null;return N&&N.start(),s(Jt.url,{...at,...Jt.options,headers:{...gl(at.headers),...gl((de=Jt.options)==null?void 0:de.headers)}}).then(async qe=>{if(w.value=qe,k.value=qe.status,Bt=await qe.clone()[o.type](),!qe.ok)throw x.value=u||null,new Error(qe.statusText);return a.afterFetch&&({data:Bt}=await a.afterFetch({data:Bt,response:qe})),x.value=Bt,f.trigger(qe),qe}).catch(async qe=>{let ot=qe.message||qe.name;if(a.onFetchError&&({error:ot,data:Bt}=await a.onFetchError({data:Bt,error:qe,response:w.value})),M.value=ot,a.updateDataOnError&&(x.value=Bt),h.trigger(qe),q)throw qe;return null}).finally(()=>{Ae===L&&I(!1),N&&N.stop(),g.trigger(null)})},z=Mt(a.refetch);l.watch([z,Mt(e)],([q])=>q&&D(),{deep:!0});const H={isFinished:l.readonly(p),isFetching:l.readonly(y),statusCode:k,response:w,error:M,data:x,canAbort:_,aborted:v,abort:T,execute:D,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:g.on,get:X("GET"),put:X("PUT"),post:X("POST"),delete:X("DELETE"),patch:X("PATCH"),head:X("HEAD"),options:X("OPTIONS"),json:ee("json"),text:ee("text"),blob:ee("blob"),arrayBuffer:ee("arrayBuffer"),formData:ee("formData")};function X(q){return(Z,de)=>{if(!y.value)return o.method=q,o.payload=Z,o.payloadType=de,l.isRef(o.payload)&&l.watch([z,Mt(o.payload)],([Ae])=>Ae&&D(),{deep:!0}),{...H,then(Ae,at){return re().then(Ae,at)}}}}function re(){return new Promise((q,Z)=>{cl(p).toBe(!0).then(()=>q(H)).catch(de=>Z(de))})}function ee(q){return()=>{if(!y.value)return o.type=q,{...H,then(Z,de){return re().then(Z,de)}}}}return a.immediate&&Promise.resolve().then(()=>D()),{...H,then(q,Z){return re().then(q,Z)}}}function U6e(e,t){return!e.endsWith("/")&&!t.startsWith("/")?`${e}/${t}`:`${e}${t}`}const Y6e={multiple:!0,accept:"*",reset:!1,directory:!1};function X6e(e={}){const{document:t=cn}=e,n=l.ref(null),{on:i,trigger:r}=dn();let a;t&&(a=t.createElement("input"),a.type="file",a.onchange=u=>{const c=u.target;n.value=c.files,r(n.value)});const o=()=>{n.value=null,a&&a.value&&(a.value="",r(null))},s=u=>{if(!a)return;const c={...Y6e,...e,...u};a.multiple=c.multiple,a.accept=c.accept,a.webkitdirectory=c.directory,Gw(c,"capture")&&(a.capture=c.capture),c.reset&&o(),a.click()};return{files:l.readonly(n),open:s,reset:o,onChange:i}}function q6e(e={}){const{window:t=pe,dataType:n="Text"}=e,i=t,r=Le(()=>i&&"showSaveFilePicker"in i&&"showOpenFilePicker"in i),a=l.ref(),o=l.ref(),s=l.ref(),u=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.name)!=null?x:""}),c=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.type)!=null?x:""}),f=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.size)!=null?x:0}),h=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.lastModified)!=null?x:0});async function g(M={}){if(!r.value)return;const[x]=await i.showOpenFilePicker({...B(e),...M});a.value=x,await w()}async function p(M={}){r.value&&(a.value=await i.showSaveFilePicker({...e,...M}),o.value=void 0,await w())}async function y(M={}){if(r.value){if(!a.value)return v(M);if(o.value){const x=await a.value.createWritable();await x.write(o.value),await x.close()}await k()}}async function v(M={}){if(r.value){if(a.value=await i.showSaveFilePicker({...e,...M}),o.value){const x=await a.value.createWritable();await x.write(o.value),await x.close()}await k()}}async function k(){var M;s.value=await((M=a.value)==null?void 0:M.getFile())}async function w(){var M,x;await k();const _=B(n);_==="Text"?o.value=await((M=s.value)==null?void 0:M.text()):_==="ArrayBuffer"?o.value=await((x=s.value)==null?void 0:x.arrayBuffer()):_==="Blob"&&(o.value=s.value)}return l.watch(()=>B(n),w),{isSupported:r,data:o,file:s,fileName:u,fileMIME:c,fileSize:f,fileLastModified:h,open:g,create:p,save:y,saveAs:v,updateData:w}}function G6e(e,t={}){const{initialValue:n=!1,focusVisible:i=!1,preventScroll:r=!1}=t,a=l.ref(!1),o=l.computed(()=>Ie(e));K(o,"focus",u=>{var c,f;(!i||(f=(c=u.target).matches)!=null&&f.call(c,":focus-visible"))&&(a.value=!0)}),K(o,"blur",()=>a.value=!1);const s=l.computed({get:()=>a.value,set(u){var c,f;!u&&a.value?(c=o.value)==null||c.blur():u&&!a.value&&((f=o.value)==null||f.focus({preventScroll:r}))}});return l.watch(o,()=>{s.value=n},{immediate:!0,flush:"post"}),{focused:s}}function K6e(e,t={}){const n=pv(t),i=l.computed(()=>Ie(e));return{focused:l.computed(()=>i.value&&n.value?i.value.contains(n.value):!1)}}function Q6e(e){var t;const n=l.ref(0);if(typeof performance>"u")return n;const i=(t=e==null?void 0:e.every)!=null?t:10;let r=performance.now(),a=0;return Ba(()=>{if(a+=1,a>=i){const o=performance.now(),s=o-r;n.value=Math.round(1e3/(s/a)),r=o,a=0}}),n}const Dv=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function J6e(e,t={}){const{document:n=cn,autoExit:i=!1}=t,r=l.computed(()=>{var w;return(w=Ie(e))!=null?w:n==null?void 0:n.querySelector("html")}),a=l.ref(!1),o=l.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),s=l.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),u=l.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||r.value&&w in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),f=Le(()=>r.value&&n&&o.value!==void 0&&s.value!==void 0&&u.value!==void 0),h=()=>c?(n==null?void 0:n[c])===r.value:!1,g=()=>{if(u.value){if(n&&n[u.value]!=null)return n[u.value];{const w=r.value;if((w==null?void 0:w[u.value])!=null)return!!w[u.value]}}return!1};async function p(){if(!(!f.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const w=r.value;(w==null?void 0:w[s.value])!=null&&await w[s.value]()}a.value=!1}}async function y(){if(!f.value||a.value)return;g()&&await p();const w=r.value;o.value&&(w==null?void 0:w[o.value])!=null&&(await w[o.value](),a.value=!0)}async function v(){await(a.value?p():y())}const k=()=>{const w=g();(!w||w&&h())&&(a.value=w)};return K(n,Dv,k,!1),K(()=>Ie(r),Dv,k,!1),i&&Oe(p),{isSupported:f,isFullscreen:a,enter:y,exit:p,toggle:v}}function Z6e(e){return l.computed(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)}function e5e(e={}){const{navigator:t=Cn}=e,n=Le(()=>t&&"getGamepads"in t),i=l.ref([]),r=dn(),a=dn(),o=p=>{const y=[],v="vibrationActuator"in p?p.vibrationActuator:null;return v&&y.push(v),p.hapticActuators&&y.push(...p.hapticActuators),{id:p.id,index:p.index,connected:p.connected,mapping:p.mapping,timestamp:p.timestamp,vibrationActuator:p.vibrationActuator,hapticActuators:y,axes:p.axes.map(k=>k),buttons:p.buttons.map(k=>({pressed:k.pressed,touched:k.touched,value:k.value}))}},s=()=>{const p=(t==null?void 0:t.getGamepads())||[];for(const y of p)y&&i.value[y.index]&&(i.value[y.index]=o(y))},{isActive:u,pause:c,resume:f}=Ba(s),h=p=>{i.value.some(({index:y})=>y===p.index)||(i.value.push(o(p)),r.trigger(p.index)),f()},g=p=>{i.value=i.value.filter(y=>y.index!==p.index),a.trigger(p.index)};return K("gamepadconnected",p=>h(p.gamepad)),K("gamepaddisconnected",p=>g(p.gamepad)),jt(()=>{const p=(t==null?void 0:t.getGamepads())||[];for(const y of p)y&&i.value[y.index]&&h(y)}),c(),{isSupported:n,onConnected:r.on,onDisconnected:a.on,gamepads:i,pause:c,resume:f,isActive:u}}function t5e(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:i=27e3,navigator:r=Cn,immediate:a=!0}=e,o=Le(()=>r&&"geolocation"in r),s=l.ref(null),u=l.shallowRef(null),c=l.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(y){s.value=y.timestamp,c.value=y.coords,u.value=null}let h;function g(){o.value&&(h=r.geolocation.watchPosition(f,y=>u.value=y,{enableHighAccuracy:t,maximumAge:n,timeout:i}))}a&&g();function p(){h&&r&&r.geolocation.clearWatch(h)}return Oe(()=>{p()}),{isSupported:o,coords:c,locatedAt:s,error:u,resume:g,pause:p}}const n5e=["mousemove","mousedown","resize","keydown","touchstart","wheel"],i5e=6e4;function r5e(e=i5e,t={}){const{initialState:n=!1,listenForVisibilityChange:i=!0,events:r=n5e,window:a=pe,eventFilter:o=ll(50)}=t,s=l.ref(n),u=l.ref($a());let c;const f=()=>{s.value=!1,clearTimeout(c),c=setTimeout(()=>s.value=!0,e)},h=Ha(o,()=>{u.value=$a(),f()});if(a){const g=a.document;for(const p of r)K(a,p,h,{passive:!0});i&&K(g,"visibilitychange",()=>{g.hidden||h()}),f()}return{idle:s,lastActive:u,reset:f}}async function a5e(e){return new Promise((t,n)=>{const i=new Image,{src:r,srcset:a,sizes:o,class:s,loading:u,crossorigin:c,referrerPolicy:f}=e;i.src=r,a&&(i.srcset=a),o&&(i.sizes=o),s&&(i.className=s),u&&(i.loading=u),c&&(i.crossOrigin=c),f&&(i.referrerPolicy=f),i.onload=()=>t(i),i.onerror=n})}function o5e(e,t={}){const n=gv(()=>a5e(B(e)),void 0,{resetOnExecute:!0,...t});return l.watch(()=>B(e),()=>n.execute(t.delay),{deep:!0}),n}const Nv=1;function jv(e,t={}){const{throttle:n=0,idle:i=200,onStop:r=Ve,onScroll:a=Ve,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:u="auto",window:c=pe,onError:f=T=>{console.error(T)}}=t,h=l.ref(0),g=l.ref(0),p=l.computed({get(){return h.value},set(T){v(T,void 0)}}),y=l.computed({get(){return g.value},set(T){v(void 0,T)}});function v(T,I){var L,D,z,H;if(!c)return;const X=B(e);if(!X)return;(z=X instanceof Document?c.document.body:X)==null||z.scrollTo({top:(L=B(I))!=null?L:y.value,left:(D=B(T))!=null?D:p.value,behavior:B(u)});const re=((H=X==null?void 0:X.document)==null?void 0:H.documentElement)||(X==null?void 0:X.documentElement)||X;p!=null&&(h.value=re.scrollLeft),y!=null&&(g.value=re.scrollTop)}const k=l.ref(!1),w=l.reactive({left:!0,right:!1,top:!0,bottom:!1}),M=l.reactive({left:!1,right:!1,top:!1,bottom:!1}),x=T=>{k.value&&(k.value=!1,M.left=!1,M.right=!1,M.top=!1,M.bottom=!1,r(T))},_=Sd(x,n+i),S=T=>{var I;if(!c)return;const L=((I=T==null?void 0:T.document)==null?void 0:I.documentElement)||(T==null?void 0:T.documentElement)||Ie(T),{display:D,flexDirection:z}=getComputedStyle(L),H=L.scrollLeft;M.left=H<h.value,M.right=H>h.value;const X=Math.abs(H)<=(o.left||0),re=Math.abs(H)+L.clientWidth>=L.scrollWidth-(o.right||0)-Nv;D==="flex"&&z==="row-reverse"?(w.left=re,w.right=X):(w.left=X,w.right=re),h.value=H;let ee=L.scrollTop;T===c.document&&!ee&&(ee=c.document.body.scrollTop),M.top=ee<g.value,M.bottom=ee>g.value;const q=Math.abs(ee)<=(o.top||0),Z=Math.abs(ee)+L.clientHeight>=L.scrollHeight-(o.bottom||0)-Nv;D==="flex"&&z==="column-reverse"?(w.top=Z,w.bottom=q):(w.top=q,w.bottom=Z),g.value=ee},N=T=>{var I;if(!c)return;const L=(I=T.target.documentElement)!=null?I:T.target;S(L),k.value=!0,_(T),a(T)};return K(e,"scroll",n?s1(N,n,!0,!1):N,s),jt(()=>{try{const T=B(e);if(!T)return;S(T)}catch(T){f(T)}}),K(e,"scrollend",x,s),{x:p,y,isScrolling:k,arrivedState:w,directions:M,measure(){const T=B(e);c&&T&&S(T)}}}function Id(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function s5e(e,t,n={}){var i;const{direction:r="bottom",interval:a=100,canLoadMore:o=()=>!0}=n,s=l.reactive(jv(e,{...n,offset:{[r]:(i=n.distance)!=null?i:0,...n.offset}})),u=l.ref(),c=l.computed(()=>!!u.value),f=l.computed(()=>Id(B(e))),h=Ev(f);function g(){if(s.measure(),!f.value||!h.value||!o(f.value))return;const{scrollHeight:p,clientHeight:y,scrollWidth:v,clientWidth:k}=f.value,w=r==="bottom"||r==="top"?p<=y:v<=k;(s.arrivedState[r]||w)&&(u.value||(u.value=Promise.all([t(s),new Promise(M=>setTimeout(M,a))]).finally(()=>{u.value=null,l.nextTick(()=>g())})))}return l.watch(()=>[s.arrivedState[r],h.value],g,{immediate:!0}),{isLoading:c,reset(){l.nextTick(()=>g())}}}const l5e=["mousedown","mouseup","keydown","keyup"];function u5e(e,t={}){const{events:n=l5e,document:i=cn,initial:r=null}=t,a=l.ref(r);return i&&n.forEach(o=>{K(i,o,s=>{typeof s.getModifierState=="function"&&(a.value=s.getModifierState(e))})}),a}function d5e(e,t,n={}){const{window:i=pe}=n;return Dd(e,t,i==null?void 0:i.localStorage,n)}const Iv={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function c5e(e={}){const{reactive:t=!1,target:n=pe,aliasMap:i=Iv,passive:r=!0,onEventFired:a=Ve}=e,o=l.reactive(new Set),s={toJSON(){return{}},current:o},u=t?l.reactive(s):s,c=new Set,f=new Set;function h(v,k){v in u&&(t?u[v]=k:u[v].value=k)}function g(){o.clear();for(const v of f)h(v,!1)}function p(v,k){var w,M;const x=(w=v.key)==null?void 0:w.toLowerCase(),S=[(M=v.code)==null?void 0:M.toLowerCase(),x].filter(Boolean);x&&(k?o.add(x):o.delete(x));for(const N of S)f.add(N),h(N,k);x==="meta"&&!k?(c.forEach(N=>{o.delete(N),h(N,!1)}),c.clear()):typeof v.getModifierState=="function"&&v.getModifierState("Meta")&&k&&[...o,...S].forEach(N=>c.add(N))}K(n,"keydown",v=>(p(v,!0),a(v)),{passive:r}),K(n,"keyup",v=>(p(v,!1),a(v)),{passive:r}),K("blur",g,{passive:!0}),K("focus",g,{passive:!0});const y=new Proxy(u,{get(v,k,w){if(typeof k!="string")return Reflect.get(v,k,w);if(k=k.toLowerCase(),k in i&&(k=i[k]),!(k in u))if(/[+_-]/.test(k)){const x=k.split(/[+_-]/g).map(_=>_.trim());u[k]=l.computed(()=>x.every(_=>B(y[_])))}else u[k]=l.ref(!1);const M=Reflect.get(v,k,w);return t?B(M):M}});return y}function y1(e,t){B(e)&&t(B(e))}function f5e(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function b1(e){return Array.from(e).map(({label:t,kind:n,language:i,mode:r,activeCues:a,cues:o,inBandMetadataTrackDispatchType:s},u)=>({id:u,label:t,kind:n,language:i,mode:r,activeCues:a,cues:o,inBandMetadataTrackDispatchType:s}))}const h5e={src:"",tracks:[]};function m5e(e,t={}){e=Mt(e),t={...h5e,...t};const{document:n=cn}=t,i=l.ref(0),r=l.ref(0),a=l.ref(!1),o=l.ref(1),s=l.ref(!1),u=l.ref(!1),c=l.ref(!1),f=l.ref(1),h=l.ref(!1),g=l.ref([]),p=l.ref([]),y=l.ref(-1),v=l.ref(!1),k=l.ref(!1),w=n&&"pictureInPictureEnabled"in n,M=dn(),x=D=>{y1(e,z=>{if(D){const H=typeof D=="number"?D:D.id;z.textTracks[H].mode="disabled"}else for(let H=0;H<z.textTracks.length;++H)z.textTracks[H].mode="disabled";y.value=-1})},_=(D,z=!0)=>{y1(e,H=>{const X=typeof D=="number"?D:D.id;z&&x(),H.textTracks[X].mode="showing",y.value=X})},S=()=>new Promise((D,z)=>{y1(e,async H=>{w&&(v.value?n.exitPictureInPicture().then(D).catch(z):H.requestPictureInPicture().then(D).catch(z))})});l.watchEffect(()=>{if(!n)return;const D=B(e);if(!D)return;const z=B(t.src);let H=[];z&&(typeof z=="string"?H=[{src:z}]:Array.isArray(z)?H=z:ol(z)&&(H=[z]),D.querySelectorAll("source").forEach(X=>{X.removeEventListener("error",M.trigger),X.remove()}),H.forEach(({src:X,type:re})=>{const ee=n.createElement("source");ee.setAttribute("src",X),ee.setAttribute("type",re||""),ee.addEventListener("error",M.trigger),D.appendChild(ee)}),D.load())}),Oe(()=>{const D=B(e);D&&D.querySelectorAll("source").forEach(z=>z.removeEventListener("error",M.trigger))}),l.watch([e,o],()=>{const D=B(e);D&&(D.volume=o.value)}),l.watch([e,k],()=>{const D=B(e);D&&(D.muted=k.value)}),l.watch([e,f],()=>{const D=B(e);D&&(D.playbackRate=f.value)}),l.watchEffect(()=>{if(!n)return;const D=B(t.tracks),z=B(e);!D||!D.length||!z||(z.querySelectorAll("track").forEach(H=>H.remove()),D.forEach(({default:H,kind:X,label:re,src:ee,srcLang:q},Z)=>{const de=n.createElement("track");de.default=H||!1,de.kind=X,de.label=re,de.src=ee,de.srclang=q,de.default&&(y.value=Z),z.appendChild(de)}))});const{ignoreUpdates:N}=Vo(i,D=>{const z=B(e);z&&(z.currentTime=D)}),{ignoreUpdates:T}=Vo(c,D=>{const z=B(e);z&&(D?z.play():z.pause())});K(e,"timeupdate",()=>N(()=>i.value=B(e).currentTime)),K(e,"durationchange",()=>r.value=B(e).duration),K(e,"progress",()=>g.value=f5e(B(e).buffered)),K(e,"seeking",()=>a.value=!0),K(e,"seeked",()=>a.value=!1),K(e,["waiting","loadstart"],()=>{s.value=!0,T(()=>c.value=!1)}),K(e,"loadeddata",()=>s.value=!1),K(e,"playing",()=>{s.value=!1,u.value=!1,T(()=>c.value=!0)}),K(e,"ratechange",()=>f.value=B(e).playbackRate),K(e,"stalled",()=>h.value=!0),K(e,"ended",()=>u.value=!0),K(e,"pause",()=>T(()=>c.value=!1)),K(e,"play",()=>T(()=>c.value=!0)),K(e,"enterpictureinpicture",()=>v.value=!0),K(e,"leavepictureinpicture",()=>v.value=!1),K(e,"volumechange",()=>{const D=B(e);D&&(o.value=D.volume,k.value=D.muted)});const I=[],L=l.watch([e],()=>{const D=B(e);D&&(L(),I[0]=K(D.textTracks,"addtrack",()=>p.value=b1(D.textTracks)),I[1]=K(D.textTracks,"removetrack",()=>p.value=b1(D.textTracks)),I[2]=K(D.textTracks,"change",()=>p.value=b1(D.textTracks)))});return Oe(()=>I.forEach(D=>D())),{currentTime:i,duration:r,waiting:s,seeking:a,ended:u,stalled:h,buffered:g,playing:c,rate:f,volume:o,muted:k,tracks:p,selectedTrack:y,enableTrack:_,disableTrack:x,supportsPictureInPicture:w,togglePictureInPicture:S,isPictureInPicture:v,onSourceError:M.on}}function p5e(e,t){const i=t!=null&&t.cache?l.shallowReactive(t.cache):l.shallowReactive(new Map),r=(...f)=>t!=null&&t.getKey?t.getKey(...f):JSON.stringify(f),a=(f,...h)=>(i.set(f,e(...h)),i.get(f)),o=(...f)=>a(r(...f),...f),s=(...f)=>{i.delete(r(...f))},u=()=>{i.clear()},c=(...f)=>{const h=r(...f);return i.has(h)?i.get(h):a(h,...f)};return c.load=o,c.delete=s,c.clear=u,c.generateKey=r,c.cache=i,c}function g5e(e={}){const t=l.ref(),n=Le(()=>typeof performance<"u"&&"memory"in performance);if(n.value){const{interval:i=1e3}=e;$r(()=>{t.value=performance.memory},i,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}const y5e={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Wv(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:r={x:0,y:0},window:a=pe,target:o=a,scroll:s=!0,eventFilter:u}=e;let c=null;const f=l.ref(r.x),h=l.ref(r.y),g=l.ref(null),p=typeof t=="function"?t:y5e[t],y=S=>{const N=p(S);c=S,N&&([f.value,h.value]=N,g.value="mouse")},v=S=>{if(S.touches.length>0){const N=p(S.touches[0]);N&&([f.value,h.value]=N,g.value="touch")}},k=()=>{if(!c||!a)return;const S=p(c);c instanceof MouseEvent&&S&&(f.value=S[0]+a.scrollX,h.value=S[1]+a.scrollY)},w=()=>{f.value=r.x,h.value=r.y},M=u?S=>u(()=>y(S),{}):S=>y(S),x=u?S=>u(()=>v(S),{}):S=>v(S),_=u?()=>u(()=>k(),{}):()=>k();if(o){const S={passive:!0};K(o,["mousemove","dragover"],M,S),n&&t!=="movement"&&(K(o,["touchstart","touchmove"],x,S),i&&K(o,"touchend",w,S)),s&&t==="page"&&K(a,"scroll",_,{passive:!0})}return{x:f,y:h,sourceType:g}}function Ov(e,t={}){const{handleOutside:n=!0,window:i=pe}=t,r=t.type||"page",{x:a,y:o,sourceType:s}=Wv(t),u=l.ref(e??(i==null?void 0:i.document.body)),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0),v=l.ref(!0);let k=()=>{};return i&&(k=l.watch([u,a,o],()=>{const w=Ie(u);if(!w||!(w instanceof HTMLElement))return;const{left:M,top:x,width:_,height:S}=w.getBoundingClientRect();h.value=M+(r==="page"?i.pageXOffset:0),g.value=x+(r==="page"?i.pageYOffset:0),p.value=S,y.value=_;const N=a.value-h.value,T=o.value-g.value;v.value=_===0||S===0||N<0||T<0||N>_||T>S,(n||!v.value)&&(c.value=N,f.value=T)},{immediate:!0}),K(document,"mouseleave",()=>{v.value=!0})),{x:a,y:o,sourceType:s,elementX:c,elementY:f,elementPositionX:h,elementPositionY:g,elementHeight:p,elementWidth:y,isOutside:v,stop:k}}function b5e(e={}){const{touch:t=!0,drag:n=!0,capture:i=!1,initialValue:r=!1,window:a=pe}=e,o=l.ref(r),s=l.ref(null);if(!a)return{pressed:o,sourceType:s};const u=h=>()=>{o.value=!0,s.value=h},c=()=>{o.value=!1,s.value=null},f=l.computed(()=>Ie(e.target)||a);return K(f,"mousedown",u("mouse"),{passive:!0,capture:i}),K(a,"mouseleave",c,{passive:!0,capture:i}),K(a,"mouseup",c,{passive:!0,capture:i}),n&&(K(f,"dragstart",u("mouse"),{passive:!0,capture:i}),K(a,"drop",c,{passive:!0,capture:i}),K(a,"dragend",c,{passive:!0,capture:i})),t&&(K(f,"touchstart",u("touch"),{passive:!0,capture:i}),K(a,"touchend",c,{passive:!0,capture:i}),K(a,"touchcancel",c,{passive:!0,capture:i})),{pressed:o,sourceType:s}}function w5e(e={}){const{window:t=pe}=e,n=t==null?void 0:t.navigator,i=Le(()=>n&&"language"in n),r=l.ref(n==null?void 0:n.language);return K(t,"languagechange",()=>{n&&(r.value=n.language)}),{isSupported:i,language:r}}function zv(e={}){const{window:t=pe}=e,n=t==null?void 0:t.navigator,i=Le(()=>n&&"connection"in n),r=l.ref(!0),a=l.ref(!1),o=l.ref(void 0),s=l.ref(void 0),u=l.ref(void 0),c=l.ref(void 0),f=l.ref(void 0),h=l.ref(void 0),g=l.ref("unknown"),p=i.value&&n.connection;function y(){n&&(r.value=n.onLine,o.value=r.value?void 0:Date.now(),s.value=r.value?Date.now():void 0,p&&(u.value=p.downlink,c.value=p.downlinkMax,h.value=p.effectiveType,f.value=p.rtt,a.value=p.saveData,g.value=p.type))}return t&&(K(t,"offline",()=>{r.value=!1,o.value=Date.now()}),K(t,"online",()=>{r.value=!0,s.value=Date.now()})),p&&K(p,"change",y,!1),y(),{isSupported:i,isOnline:r,saveData:a,offlineAt:o,onlineAt:s,downlink:u,downlinkMax:c,effectiveType:h,rtt:f,type:g}}function Lv(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,i=l.ref(new Date),r=()=>i.value=new Date,a=n==="requestAnimationFrame"?Ba(r,{immediate:!0}):$r(r,n,{immediate:!0});return t?{now:i,...a}:i}function v5e(e){const t=l.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return l.watch(()=>B(e),i=>{n(),i&&(t.value=URL.createObjectURL(i))},{immediate:!0}),Oe(n),l.readonly(t)}function $v(e,t,n){if(typeof e=="function"||l.isReadonly(e))return l.computed(()=>Md(B(e),B(t),B(n)));const i=l.ref(e);return l.computed({get(){return i.value=Md(i.value,B(t),B(n))},set(r){i.value=Md(r,B(t),B(n))}})}function k5e(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:i=1,onPageChange:r=Ve,onPageSizeChange:a=Ve,onPageCountChange:o=Ve}=e,s=$v(n,1,Number.POSITIVE_INFINITY),u=l.computed(()=>Math.max(1,Math.ceil(B(t)/B(s)))),c=$v(i,1,u),f=l.computed(()=>c.value===1),h=l.computed(()=>c.value===u.value);l.isRef(i)&&u1(i,c,{direction:l.isReadonly(i)?"ltr":"both"}),l.isRef(n)&&u1(n,s,{direction:l.isReadonly(n)?"ltr":"both"});function g(){c.value--}function p(){c.value++}const y={currentPage:c,currentPageSize:s,pageCount:u,isFirstPage:f,isLastPage:h,prev:g,next:p};return l.watch(c,()=>{r(l.reactive(y))}),l.watch(s,()=>{a(l.reactive(y))}),l.watch(u,()=>{o(l.reactive(y))}),y}function M5e(e={}){const{isOnline:t}=zv(e);return t}function C5e(e={}){const{window:t=pe}=e,n=l.ref(!1),i=r=>{if(!t)return;r=r||t.event;const a=r.relatedTarget||r.toElement;n.value=!a};return t&&(K(t,"mouseout",i,{passive:!0}),K(t.document,"mouseleave",i,{passive:!0}),K(t.document,"mouseenter",i,{passive:!0})),n}function Hv(e={}){const{window:t=pe}=e,n=Le(()=>t&&"screen"in t&&"orientation"in t.screen),i=n.value?t.screen.orientation:{},r=l.ref(i.type),a=l.ref(i.angle||0);return n.value&&K(t,"orientationchange",()=>{r.value=i.type,a.value=i.angle}),{isSupported:n,orientation:r,angle:a,lockOrientation:u=>n.value&&typeof i.lock=="function"?i.lock(u):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&typeof i.unlock=="function"&&i.unlock()}}}function x5e(e,t={}){const{deviceOrientationTiltAdjust:n=k=>k,deviceOrientationRollAdjust:i=k=>k,mouseTiltAdjust:r=k=>k,mouseRollAdjust:a=k=>k,window:o=pe}=t,s=l.reactive(Sv({window:o})),u=l.reactive(Hv({window:o})),{elementX:c,elementY:f,elementWidth:h,elementHeight:g}=Ov(e,{handleOutside:!1,window:o}),p=l.computed(()=>s.isSupported&&(s.alpha!=null&&s.alpha!==0||s.gamma!=null&&s.gamma!==0)?"deviceOrientation":"mouse"),y=l.computed(()=>{if(p.value==="deviceOrientation"){let k;switch(u.orientation){case"landscape-primary":k=s.gamma/90;break;case"landscape-secondary":k=-s.gamma/90;break;case"portrait-primary":k=-s.beta/90;break;case"portrait-secondary":k=s.beta/90;break;default:k=-s.beta/90}return i(k)}else{const k=-(f.value-g.value/2)/g.value;return a(k)}}),v=l.computed(()=>{if(p.value==="deviceOrientation"){let k;switch(u.orientation){case"landscape-primary":k=s.beta/90;break;case"landscape-secondary":k=-s.beta/90;break;case"portrait-primary":k=s.gamma/90;break;case"portrait-secondary":k=-s.gamma/90;break;default:k=s.gamma/90}return n(k)}else{const k=(c.value-h.value/2)/h.value;return r(k)}});return{roll:y,tilt:v,source:p}}function S5e(e=Mv()){const t=l.shallowRef(),n=()=>{const i=Ie(e);i&&(t.value=i.parentElement)};return jt(n),l.watch(()=>B(e),n),t}function _5e(e,t){const{window:n=pe,immediate:i=!0,...r}=e,a=Le(()=>n&&"PerformanceObserver"in n);let o;const s=()=>{o==null||o.disconnect()},u=()=>{a.value&&(s(),o=new PerformanceObserver(t),o.observe(r))};return Oe(s),i&&u(),{isSupported:a,start:u,stop:s}}const Rv={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},T5e=Object.keys(Rv);function P5e(e={}){const{target:t=pe}=e,n=l.ref(!1),i=l.ref(e.initialValue||{});Object.assign(i.value,Rv,i.value);const r=a=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(a.pointerType))&&(i.value=ev(a,T5e,!1))};if(t){const a={passive:!0};K(t,["pointerdown","pointermove","pointerup"],r,a),K(t,"pointerleave",()=>n.value=!1,a)}return{...d1(i),isInside:n}}function E5e(e,t={}){const{document:n=cn}=t,i=Le(()=>n&&"pointerLockElement"in n),r=l.ref(),a=l.ref();let o;i.value&&(K(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;o&&f===o&&(r.value=n.pointerLockElement,r.value||(o=a.value=null))}),K(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;if(o&&f===o){const h=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${h} pointer lock.`)}}));async function s(c){var f;if(!i.value)throw new Error("Pointer Lock API is not supported by your browser.");if(a.value=c instanceof Event?c.currentTarget:null,o=c instanceof Event?(f=Ie(e))!=null?f:a.value:Ie(c),!o)throw new Error("Target element undefined.");return o.requestPointerLock(),await cl(r).toBe(o)}async function u(){return r.value?(n.exitPointerLock(),await cl(r).toBeNull(),!0):!1}return{isSupported:i,element:r,triggerElement:a,lock:s,unlock:u}}function A5e(e,t={}){const n=Mt(e),{threshold:i=50,onSwipe:r,onSwipeEnd:a,onSwipeStart:o,disableTextSelect:s=!1}=t,u=l.reactive({x:0,y:0}),c=(T,I)=>{u.x=T,u.y=I},f=l.reactive({x:0,y:0}),h=(T,I)=>{f.x=T,f.y=I},g=l.computed(()=>u.x-f.x),p=l.computed(()=>u.y-f.y),{max:y,abs:v}=Math,k=l.computed(()=>y(v(g.value),v(p.value))>=i),w=l.ref(!1),M=l.ref(!1),x=l.computed(()=>k.value?v(g.value)>v(p.value)?g.value>0?"left":"right":p.value>0?"up":"down":"none"),_=T=>{var I,L,D;const z=T.buttons===0,H=T.buttons===1;return(D=(L=(I=t.pointerTypes)==null?void 0:I.includes(T.pointerType))!=null?L:z||H)!=null?D:!0},S=[K(e,"pointerdown",T=>{if(!_(T))return;M.value=!0;const I=T.target;I==null||I.setPointerCapture(T.pointerId);const{clientX:L,clientY:D}=T;c(L,D),h(L,D),o==null||o(T)}),K(e,"pointermove",T=>{if(!_(T)||!M.value)return;const{clientX:I,clientY:L}=T;h(I,L),!w.value&&k.value&&(w.value=!0),w.value&&(r==null||r(T))}),K(e,"pointerup",T=>{_(T)&&(w.value&&(a==null||a(T,x.value)),M.value=!1,w.value=!1)})];jt(()=>{var T,I,L,D,z,H,X,re;(I=(T=n.value)==null?void 0:T.style)==null||I.setProperty("touch-action","none"),s&&((D=(L=n.value)==null?void 0:L.style)==null||D.setProperty("-webkit-user-select","none"),(H=(z=n.value)==null?void 0:z.style)==null||H.setProperty("-ms-user-select","none"),(re=(X=n.value)==null?void 0:X.style)==null||re.setProperty("user-select","none"))});const N=()=>S.forEach(T=>T());return{isSwiping:l.readonly(w),direction:l.readonly(x),posStart:l.readonly(u),posEnd:l.readonly(f),distanceX:g,distanceY:p,stop:N}}function D5e(e){const t=xn("(prefers-color-scheme: light)",e),n=xn("(prefers-color-scheme: dark)",e);return l.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function N5e(e){const t=xn("(prefers-contrast: more)",e),n=xn("(prefers-contrast: less)",e),i=xn("(prefers-contrast: custom)",e);return l.computed(()=>t.value?"more":n.value?"less":i.value?"custom":"no-preference")}function j5e(e={}){const{window:t=pe}=e;if(!t)return l.ref(["en"]);const n=t.navigator,i=l.ref(n.languages);return K(t,"languagechange",()=>{i.value=n.languages}),i}function I5e(e){const t=xn("(prefers-reduced-motion: reduce)",e);return l.computed(()=>t.value?"reduce":"no-preference")}function W5e(e,t){const n=l.shallowRef(t);return l.watch(Mt(e),(i,r)=>{n.value=r},{flush:"sync"}),l.readonly(n)}const Bv="--vueuse-safe-area-top",Vv="--vueuse-safe-area-right",Fv="--vueuse-safe-area-bottom",Uv="--vueuse-safe-area-left";function O5e(){const e=l.ref(""),t=l.ref(""),n=l.ref(""),i=l.ref("");if(Nt){const a=ml(Bv),o=ml(Vv),s=ml(Fv),u=ml(Uv);a.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",s.value="env(safe-area-inset-bottom, 0px)",u.value="env(safe-area-inset-left, 0px)",r(),K("resize",Sd(r))}function r(){e.value=Wd(Bv),t.value=Wd(Vv),n.value=Wd(Fv),i.value=Wd(Uv)}return{top:e,right:t,bottom:n,left:i,update:r}}function Wd(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function z5e(e,t=Ve,n={}){const{immediate:i=!0,manual:r=!1,type:a="text/javascript",async:o=!0,crossOrigin:s,referrerPolicy:u,noModule:c,defer:f,document:h=cn,attrs:g={}}=n,p=l.ref(null);let y=null;const v=M=>new Promise((x,_)=>{const S=I=>(p.value=I,x(I),I);if(!h){x(!1);return}let N=!1,T=h.querySelector(`script[src="${B(e)}"]`);T?T.hasAttribute("data-loaded")&&S(T):(T=h.createElement("script"),T.type=a,T.async=o,T.src=B(e),f&&(T.defer=f),s&&(T.crossOrigin=s),c&&(T.noModule=c),u&&(T.referrerPolicy=u),Object.entries(g).forEach(([I,L])=>T==null?void 0:T.setAttribute(I,L)),N=!0),T.addEventListener("error",I=>_(I)),T.addEventListener("abort",I=>_(I)),T.addEventListener("load",()=>{T.setAttribute("data-loaded","true"),t(T),S(T)}),N&&(T=h.head.appendChild(T)),M||S(T)}),k=(M=!0)=>(y||(y=v(M)),y),w=()=>{if(!h)return;y=null,p.value&&(p.value=null);const M=h.querySelector(`script[src="${B(e)}"]`);M&&h.head.removeChild(M)};return i&&!r&&jt(k),r||ov(w),{scriptTag:p,load:k,unload:w}}function Yv(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:Yv(n)}}function L5e(e){const t=e||window.event,n=t.target;return Yv(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const w1=new WeakMap;function $5e(e,t=!1){const n=l.ref(t);let i=null,r="";l.watch(Mt(e),s=>{const u=Id(B(s));if(u){const c=u;if(w1.get(c)||w1.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const a=()=>{const s=Id(B(e));!s||n.value||(Cd&&(i=K(s,"touchmove",u=>{L5e(u)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},o=()=>{const s=Id(B(e));!s||!n.value||(Cd&&(i==null||i()),s.style.overflow=r,w1.delete(s),n.value=!1)};return Oe(o),l.computed({get(){return n.value},set(s){s?a():o()}})}function H5e(e,t,n={}){const{window:i=pe}=n;return Dd(e,t,i==null?void 0:i.sessionStorage,n)}function R5e(e={},t={}){const{navigator:n=Cn}=t,i=n,r=Le(()=>i&&"canShare"in i);return{isSupported:r,share:async(o={})=>{if(r.value){const s={...B(e),...B(o)};let u=!0;if(s.files&&i.canShare&&(u=i.canShare({files:s.files})),u)return i.share(s)}}}}const B5e=(e,t)=>e.sort(t),Od=(e,t)=>e-t;function V5e(...e){var t,n,i,r;const[a]=e;let o=Od,s={};e.length===2?typeof e[1]=="object"?(s=e[1],o=(t=s.compareFn)!=null?t:Od):o=(n=e[1])!=null?n:Od:e.length>2&&(o=(i=e[1])!=null?i:Od,s=(r=e[2])!=null?r:{});const{dirty:u=!1,sortFn:c=B5e}=s;return u?(l.watchEffect(()=>{const f=c(B(a),o);l.isRef(a)?a.value=f:a.splice(0,a.length,...f)}),a):l.computed(()=>c([...B(a)],o))}function F5e(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:i=1,window:r=pe}=e,a=Mt(e.lang||"en-US"),o=l.ref(!1),s=l.ref(!1),u=l.ref(""),c=l.shallowRef(void 0),f=(k=!o.value)=>{o.value=k},h=()=>{o.value=!0},g=()=>{o.value=!1},p=r&&(r.SpeechRecognition||r.webkitSpeechRecognition),y=Le(()=>p);let v;return y.value&&(v=new p,v.continuous=n,v.interimResults=t,v.lang=B(a),v.maxAlternatives=i,v.onstart=()=>{s.value=!1},l.watch(a,k=>{v&&!o.value&&(v.lang=k)}),v.onresult=k=>{const w=k.results[k.resultIndex],{transcript:M}=w[0];s.value=w.isFinal,u.value=M,c.value=void 0},v.onerror=k=>{c.value=k},v.onend=()=>{o.value=!1,v.lang=B(a)},l.watch(o,()=>{o.value?v.start():v.stop()})),Oe(()=>{o.value=!1}),{isSupported:y,isListening:o,isFinal:s,recognition:v,result:u,error:c,toggle:f,start:h,stop:g}}function U5e(e,t={}){const{pitch:n=1,rate:i=1,volume:r=1,window:a=pe}=t,o=a&&a.speechSynthesis,s=Le(()=>o),u=l.ref(!1),c=l.ref("init"),f=Mt(e||""),h=Mt(t.lang||"en-US"),g=l.shallowRef(void 0),p=(M=!u.value)=>{u.value=M},y=M=>{M.lang=B(h),M.voice=B(t.voice)||null,M.pitch=B(n),M.rate=B(i),M.volume=r,M.onstart=()=>{u.value=!0,c.value="play"},M.onpause=()=>{u.value=!1,c.value="pause"},M.onresume=()=>{u.value=!0,c.value="play"},M.onend=()=>{u.value=!1,c.value="end"},M.onerror=x=>{g.value=x}},v=l.computed(()=>{u.value=!1,c.value="init";const M=new SpeechSynthesisUtterance(f.value);return y(M),M}),k=()=>{o.cancel(),v&&o.speak(v.value)},w=()=>{o.cancel(),u.value=!1};return s.value&&(y(v.value),l.watch(h,M=>{v.value&&!u.value&&(v.value.lang=M)}),t.voice&&l.watch(t.voice,()=>{o.cancel()}),l.watch(u,()=>{u.value?o.resume():o.pause()})),Oe(()=>{u.value=!1}),{isSupported:s,isPlaying:u,status:c,utterance:v,error:g,stop:w,toggle:p,speak:k}}function Y5e(e,t){const n=l.ref(e),i=l.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),r=l.ref(i.value.indexOf(t??i.value[0])),a=l.computed(()=>f(r.value)),o=l.computed(()=>r.value===0),s=l.computed(()=>r.value===i.value.length-1),u=l.computed(()=>i.value[r.value+1]),c=l.computed(()=>i.value[r.value-1]);function f(S){return Array.isArray(n.value)?n.value[S]:n.value[i.value[S]]}function h(S){if(i.value.includes(S))return f(i.value.indexOf(S))}function g(S){i.value.includes(S)&&(r.value=i.value.indexOf(S))}function p(){s.value||r.value++}function y(){o.value||r.value--}function v(S){_(S)&&g(S)}function k(S){return i.value.indexOf(S)===r.value+1}function w(S){return i.value.indexOf(S)===r.value-1}function M(S){return i.value.indexOf(S)===r.value}function x(S){return r.value<i.value.indexOf(S)}function _(S){return r.value>i.value.indexOf(S)}return{steps:n,stepNames:i,index:r,current:a,next:u,previous:c,isFirst:o,isLast:s,at:f,get:h,goTo:g,goToNext:p,goToPrevious:y,goBackTo:v,isNext:k,isPrevious:w,isCurrent:M,isBefore:x,isAfter:_}}function X5e(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=pe,eventFilter:g,onError:p=x=>{console.error(x)}}=i,y=B(t),v=vv(y),k=(f?l.shallowRef:l.ref)(t),w=(r=i.serializer)!=null?r:h1[v];if(!n)try{n=Ad("getDefaultStorageAsync",()=>{var x;return(x=pe)==null?void 0:x.localStorage})()}catch(x){p(x)}async function M(x){if(!(!n||x&&x.key!==e))try{const _=x?x.newValue:await n.getItem(e);if(_==null)k.value=y,u&&y!==null&&await n.setItem(e,await w.write(y));else if(c){const S=await w.read(_);typeof c=="function"?k.value=c(S,y):v==="object"&&!Array.isArray(S)?k.value={...y,...S}:k.value=S}else k.value=await w.read(_)}catch(_){p(_)}}return M(),h&&s&&K(h,"storage",x=>Promise.resolve().then(()=>M(x))),n&&Ho(k,async()=>{try{k.value==null?await n.removeItem(e):await n.setItem(e,await w.write(k.value))}catch(x){p(x)}},{flush:a,deep:o,eventFilter:g}),k}let q5e=0;function G5e(e,t={}){const n=l.ref(!1),{document:i=cn,immediate:r=!0,manual:a=!1,id:o=`vueuse_styletag_${++q5e}`}=t,s=l.ref(e);let u=()=>{};const c=()=>{if(!i)return;const h=i.getElementById(o)||i.createElement("style");h.isConnected||(h.id=o,t.media&&(h.media=t.media),i.head.appendChild(h)),!n.value&&(u=l.watch(s,g=>{h.textContent=g},{immediate:!0}),n.value=!0)},f=()=>{!i||!n.value||(u(),i.head.removeChild(i.getElementById(o)),n.value=!1)};return r&&!a&&jt(c),a||Oe(f),{id:o,css:s,unload:f,load:c,isLoaded:l.readonly(n)}}function K5e(e,t={}){const{threshold:n=50,onSwipe:i,onSwipeEnd:r,onSwipeStart:a,passive:o=!0,window:s=pe}=t,u=l.reactive({x:0,y:0}),c=l.reactive({x:0,y:0}),f=l.computed(()=>u.x-c.x),h=l.computed(()=>u.y-c.y),{max:g,abs:p}=Math,y=l.computed(()=>g(p(f.value),p(h.value))>=n),v=l.ref(!1),k=l.computed(()=>y.value?p(f.value)>p(h.value)?f.value>0?"left":"right":h.value>0?"up":"down":"none"),w=L=>[L.touches[0].clientX,L.touches[0].clientY],M=(L,D)=>{u.x=L,u.y=D},x=(L,D)=>{c.x=L,c.y=D};let _;const S=Q5e(s==null?void 0:s.document);o?_=S?{passive:!0}:{capture:!1}:_=S?{passive:!1,capture:!0}:{capture:!0};const N=L=>{v.value&&(r==null||r(L,k.value)),v.value=!1},T=[K(e,"touchstart",L=>{if(L.touches.length!==1)return;_.capture&&!_.passive&&L.preventDefault();const[D,z]=w(L);M(D,z),x(D,z),a==null||a(L)},_),K(e,"touchmove",L=>{if(L.touches.length!==1)return;const[D,z]=w(L);x(D,z),!v.value&&y.value&&(v.value=!0),v.value&&(i==null||i(L))},_),K(e,["touchend","touchcancel"],N,_)];return{isPassiveEventSupported:S,isSwiping:v,direction:k,coordsStart:u,coordsEnd:c,lengthX:f,lengthY:h,stop:()=>T.forEach(L=>L())}}function Q5e(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",Ve,n),e.removeEventListener("x",Ve),t}function J5e(){const e=l.ref([]);return e.value.set=t=>{t&&e.value.push(t)},l.onBeforeUpdate(()=>{e.value.length=0}),e}function Z5e(e={}){const{document:t=cn,selector:n="html",observe:i=!1,initialValue:r="ltr"}=e;function a(){var s,u;return(u=(s=t==null?void 0:t.querySelector(n))==null?void 0:s.getAttribute("dir"))!=null?u:r}const o=l.ref(a());return jt(()=>o.value=a()),i&&t&&Fo(t.querySelector(n),()=>o.value=a(),{attributes:!0}),l.computed({get(){return o.value},set(s){var u,c;o.value=s,t&&(o.value?(u=t.querySelector(n))==null||u.setAttribute("dir",o.value):(c=t.querySelector(n))==null||c.removeAttribute("dir"))}})}function eMe(e){var t;const n=(t=e.rangeCount)!=null?t:0;return Array.from({length:n},(i,r)=>e.getRangeAt(r))}function tMe(e={}){const{window:t=pe}=e,n=l.ref(null),i=l.computed(()=>{var s,u;return(u=(s=n.value)==null?void 0:s.toString())!=null?u:""}),r=l.computed(()=>n.value?eMe(n.value):[]),a=l.computed(()=>r.value.map(s=>s.getBoundingClientRect()));function o(){n.value=null,t&&(n.value=t.getSelection())}return t&&K(t.document,"selectionchange",o),{text:i,rects:a,ranges:r,selection:n}}function nMe(e){var t;const n=l.ref(e==null?void 0:e.element),i=l.ref(e==null?void 0:e.input),r=(t=e==null?void 0:e.styleProp)!=null?t:"height",a=l.ref(1),o=l.ref(0);function s(){var u;if(!n.value)return;let c="";n.value.style[r]="1px",a.value=(u=n.value)==null?void 0:u.scrollHeight;const f=B(e==null?void 0:e.styleTarget);f?f.style[r]=`${a.value}px`:c=`${a.value}px`,n.value.style[r]=c}return l.watch([i,n],()=>l.nextTick(s),{immediate:!0}),l.watch(a,()=>{var u;return(u=e==null?void 0:e.onResize)==null?void 0:u.call(e)}),Nd(n,([{contentRect:u}])=>{o.value!==u.width&&(o.value=u.width,s())}),e!=null&&e.watch&&l.watch(e.watch,s,{immediate:!0,deep:!0}),{textarea:n,input:i,triggerResize:s}}function iMe(e,t={}){const{throttle:n=200,trailing:i=!0}=t,r=ll(n,i);return{...g1(e,{...t,eventFilter:r})}}const rMe=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],aMe={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function oMe(e){return e.toISOString().slice(0,10)}function sMe(e,t={}){const{controls:n=!1,updateInterval:i=3e4}=t,{now:r,...a}=Lv({interval:i,controls:!0}),o=l.computed(()=>Xv(new Date(B(e)),t,B(r)));return n?{timeAgo:o,...a}:o}function Xv(e,t={},n=Date.now()){var i;const{max:r,messages:a=aMe,fullDateFormatter:o=oMe,units:s=rMe,showSecond:u=!1,rounding:c="round"}=t,f=typeof c=="number"?k=>+k.toFixed(c):Math[c],h=+n-+e,g=Math.abs(h);function p(k,w){return f(Math.abs(k)/w.value)}function y(k,w){const M=p(k,w),x=k>0,_=v(w.name,M,x);return v(x?"past":"future",_,x)}function v(k,w,M){const x=a[k];return typeof x=="function"?x(w,M):x.replace("{0}",w.toString())}if(g<6e4&&!u)return a.justNow;if(typeof r=="number"&&g>r)return o(new Date(e));if(typeof r=="string"){const k=(i=s.find(w=>w.name===r))==null?void 0:i.max;if(k&&g>k)return o(new Date(e))}for(const[k,w]of s.entries()){if(p(h,w)<=0&&s[k-1])return y(h,s[k-1]);if(g<w.max)return y(h,w)}return a.invalid}function lMe(e,t,n){const{start:i}=Bo(a,t,{immediate:!1}),r=l.ref(!1);async function a(){r.value&&(await e(),i())}function o(){r.value||(r.value=!0,a())}function s(){r.value=!1}return n!=null&&n.immediate&&o(),Oe(s),{isActive:r,pause:s,resume:o}}function uMe(e={}){const{controls:t=!1,offset:n=0,immediate:i=!0,interval:r="requestAnimationFrame",callback:a}=e,o=l.ref($a()+n),s=()=>o.value=$a()+n,u=a?()=>{s(),a(o.value)}:s,c=r==="requestAnimationFrame"?Ba(u,{immediate:i}):$r(u,r,{immediate:i});return t?{timestamp:o,...c}:o}function dMe(e=null,t={}){var n,i,r;const{document:a=cn,restoreOnUnmount:o=h=>h}=t,s=(n=a==null?void 0:a.title)!=null?n:"",u=Mt((i=e??(a==null?void 0:a.title))!=null?i:null),c=e&&typeof e=="function";function f(h){if(!("titleTemplate"in t))return h;const g=t.titleTemplate||"%s";return typeof g=="function"?g(h):B(g).replace(/%s/g,h)}return l.watch(u,(h,g)=>{h!==g&&a&&(a.title=f(typeof h=="string"?h:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&a&&!c&&Fo((r=a.head)==null?void 0:r.querySelector("title"),()=>{a&&a.title!==u.value&&(u.value=f(a.title))},{childList:!0}),av(()=>{if(o){const h=o(s,u.value||"");h!=null&&a&&(a.title=h)}}),u}const cMe=Object.assign({},{linear:r1},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function fMe([e,t,n,i]){const r=(f,h)=>1-3*h+3*f,a=(f,h)=>3*h-6*f,o=f=>3*f,s=(f,h,g)=>((r(h,g)*f+a(h,g))*f+o(h))*f,u=(f,h,g)=>3*r(h,g)*f*f+2*a(h,g)*f+o(h),c=f=>{let h=f;for(let g=0;g<4;++g){const p=u(h,e,n);if(p===0)return h;const y=s(h,e,n)-f;h-=y/p}return h};return f=>e===t&&n===i?f:s(c(f),t,i)}function qv(e,t,n){return e+n*(t-e)}function v1(e){return(typeof e=="number"?[e]:e)||[]}function Gv(e,t,n,i={}){var r,a;const o=B(t),s=B(n),u=v1(o),c=v1(s),f=(r=B(i.duration))!=null?r:1e3,h=Date.now(),g=Date.now()+f,p=typeof i.transition=="function"?i.transition:(a=B(i.transition))!=null?a:r1,y=typeof p=="function"?p:fMe(p);return new Promise(v=>{e.value=o;const k=()=>{var w;if((w=i.abort)!=null&&w.call(i)){v();return}const M=Date.now(),x=y((M-h)/f),_=v1(e.value).map((S,N)=>qv(u[N],c[N],x));Array.isArray(e.value)?e.value=_.map((S,N)=>{var T,I;return qv((T=u[N])!=null?T:0,(I=c[N])!=null?I:0,x)}):typeof e.value=="number"&&(e.value=_[0]),M<g?requestAnimationFrame(k):(e.value=s,v())};k()})}function hMe(e,t={}){let n=0;const i=()=>{const a=B(e);return typeof a=="number"?a:a.map(B)},r=l.ref(i());return l.watch(i,async a=>{var o,s;if(B(t.disabled))return;const u=++n;if(t.delay&&await ul(B(t.delay)),u!==n)return;const c=Array.isArray(a)?a.map(B):B(a);(o=t.onStarted)==null||o.call(t),await Gv(r,r.value,c,{...t,abort:()=>{var f;return u!==n||((f=t.abort)==null?void 0:f.call(t))}}),(s=t.onFinished)==null||s.call(t)},{deep:!0}),l.watch(()=>B(t.disabled),a=>{a&&(n++,r.value=i())}),Oe(()=>{n++}),l.computed(()=>B(t.disabled)?i():r.value)}function mMe(e="history",t={}){const{initialValue:n={},removeNullishValues:i=!0,removeFalsyValues:r=!1,write:a=!0,window:o=pe}=t;if(!o)return l.reactive(n);const s=l.reactive({});function u(){if(e==="history")return o.location.search||"";if(e==="hash"){const w=o.location.hash||"",M=w.indexOf("?");return M>0?w.slice(M):""}else return(o.location.hash||"").replace(/^#/,"")}function c(w){const M=w.toString();if(e==="history")return`${M?`?${M}`:""}${o.location.hash||""}`;if(e==="hash-params")return`${o.location.search||""}${M?`#${M}`:""}`;const x=o.location.hash||"#",_=x.indexOf("?");return _>0?`${x.slice(0,_)}${M?`?${M}`:""}`:`${x}${M?`?${M}`:""}`}function f(){return new URLSearchParams(u())}function h(w){const M=new Set(Object.keys(s));for(const x of w.keys()){const _=w.getAll(x);s[x]=_.length>1?_:w.get(x)||"",M.delete(x)}Array.from(M).forEach(x=>delete s[x])}const{pause:g,resume:p}=Ro(s,()=>{const w=new URLSearchParams("");Object.keys(s).forEach(M=>{const x=s[M];Array.isArray(x)?x.forEach(_=>w.append(M,_)):i&&x==null||r&&!x?w.delete(M):w.set(M,x)}),y(w)},{deep:!0});function y(w,M){g(),M&&h(w),o.history.replaceState(o.history.state,o.document.title,o.location.pathname+c(w)),p()}function v(){a&&y(f(),!0)}K(o,"popstate",v,!1),e!=="history"&&K(o,"hashchange",v,!1);const k=f();return k.keys().next().value?h(k):Object.assign(s,n),s}function pMe(e={}){var t,n;const i=l.ref((t=e.enabled)!=null?t:!1),r=l.ref((n=e.autoSwitch)!=null?n:!0),a=l.ref(e.constraints),{navigator:o=Cn}=e,s=Le(()=>{var v;return(v=o==null?void 0:o.mediaDevices)==null?void 0:v.getUserMedia}),u=l.shallowRef();function c(v){switch(v){case"video":{if(a.value)return a.value.video||!1;break}case"audio":{if(a.value)return a.value.audio||!1;break}}}async function f(){if(!(!s.value||u.value))return u.value=await o.mediaDevices.getUserMedia({video:c("video"),audio:c("audio")}),u.value}function h(){var v;(v=u.value)==null||v.getTracks().forEach(k=>k.stop()),u.value=void 0}function g(){h(),i.value=!1}async function p(){return await f(),u.value&&(i.value=!0),u.value}async function y(){return h(),await p()}return l.watch(i,v=>{v?f():h()},{immediate:!0}),l.watch(a,()=>{r.value&&u.value&&y()},{immediate:!0}),Oe(()=>{g()}),{isSupported:s,stream:u,start:p,stop:g,restart:y,constraints:a,enabled:i,autoSwitch:r}}function Kv(e,t,n,i={}){var r,a,o;const{clone:s=!1,passive:u=!1,eventName:c,deep:f=!1,defaultValue:h,shouldEmit:g}=i,p=l.getCurrentInstance(),y=n||(p==null?void 0:p.emit)||((r=p==null?void 0:p.$emit)==null?void 0:r.bind(p))||((o=(a=p==null?void 0:p.proxy)==null?void 0:a.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let v=c;t||(t="modelValue"),v=v||`update:${t.toString()}`;const k=x=>s?typeof s=="function"?s(x):hl(x):x,w=()=>qw(e[t])?k(e[t]):h,M=x=>{g?g(x)&&y(v,x):y(v,x)};if(u){const x=w(),_=l.ref(x);let S=!1;return l.watch(()=>e[t],N=>{S||(S=!0,_.value=k(N),l.nextTick(()=>S=!1))}),l.watch(_,N=>{!S&&(N!==e[t]||f)&&M(N)},{deep:f}),_}else return l.computed({get(){return w()},set(x){M(x)}})}function gMe(e,t,n={}){const i={};for(const r in e)i[r]=Kv(e,r,t,n);return i}function yMe(e){const{pattern:t=[],interval:n=0,navigator:i=Cn}=e||{},r=Le(()=>typeof i<"u"&&"vibrate"in i),a=Mt(t);let o;const s=(c=a.value)=>{r.value&&i.vibrate(c)},u=()=>{r.value&&i.vibrate(0),o==null||o.pause()};return n>0&&(o=$r(s,n,{immediate:!1,immediateCallback:!1})),{isSupported:r,pattern:t,intervalControls:o,vibrate:s,stop:u}}function bMe(e,t){const{containerStyle:n,wrapperProps:i,scrollTo:r,calculateRange:a,currentList:o,containerRef:s}="itemHeight"in t?kMe(t,e):vMe(t,e);return{list:o,scrollTo:r,containerProps:{ref:s,onScroll:()=>{a()},style:n},wrapperProps:i}}function Qv(e){const t=l.ref(null),n=Tv(t),i=l.ref([]),r=l.shallowRef(e);return{state:l.ref({start:0,end:10}),source:r,currentList:i,size:n,containerRef:t}}function Jv(e,t,n){return i=>{if(typeof n=="number")return Math.ceil(i/n);const{start:r=0}=e.value;let a=0,o=0;for(let s=r;s<t.value.length;s++){const u=n(s);if(a+=u,o=s,a>i)break}return o-r}}function Zv(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let i=0,r=0;for(let a=0;a<e.value.length;a++){const o=t(a);if(i+=o,i>=n){r=a;break}}return r+1}}function e3(e,t,n,i,{containerRef:r,state:a,currentList:o,source:s}){return()=>{const u=r.value;if(u){const c=n(e==="vertical"?u.scrollTop:u.scrollLeft),f=i(e==="vertical"?u.clientHeight:u.clientWidth),h=c-t,g=c+f+t;a.value={start:h<0?0:h,end:g>s.value.length?s.value.length:g},o.value=s.value.slice(a.value.start,a.value.end).map((p,y)=>({data:p,index:y+a.value.start}))}}}function t3(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((r,a,o)=>r+e(o),0)}function n3(e,t,n,i){l.watch([e.width,e.height,t,n],()=>{i()})}function i3(e,t){return l.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,i,r)=>n+e(r),0))}const wMe={horizontal:"scrollLeft",vertical:"scrollTop"};function r3(e,t,n,i){return r=>{i.value&&(i.value[wMe[e]]=n(r),t())}}function vMe(e,t){const n=Qv(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,h=Jv(i,r,c),g=Zv(r,c),p=e3("horizontal",f,g,h,n),y=t3(c,r),v=l.computed(()=>y(i.value.start)),k=i3(c,r);n3(o,t,s,p);const w=r3("horizontal",p,y,s),M=l.computed(()=>({style:{height:"100%",width:`${k.value-v.value}px`,marginLeft:`${v.value}px`,display:"flex"}}));return{scrollTo:w,calculateRange:p,wrapperProps:M,containerStyle:u,currentList:a,containerRef:s}}function kMe(e,t){const n=Qv(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,h=Jv(i,r,c),g=Zv(r,c),p=e3("vertical",f,g,h,n),y=t3(c,r),v=l.computed(()=>y(i.value.start)),k=i3(c,r);n3(o,t,s,p);const w=r3("vertical",p,y,s),M=l.computed(()=>({style:{width:"100%",height:`${k.value-v.value}px`,marginTop:`${v.value}px`}}));return{calculateRange:p,scrollTo:w,containerStyle:u,wrapperProps:M,currentList:a,containerRef:s}}function MMe(e={}){const{navigator:t=Cn,document:n=cn}=e,i=l.ref(!1),r=l.shallowRef(null),a=_v({document:n}),o=Le(()=>t&&"wakeLock"in t),s=l.computed(()=>!!r.value&&a.value==="visible");o.value&&(K(r,"release",()=>{var h,g;i.value=(g=(h=r.value)==null?void 0:h.type)!=null?g:!1}),cv(()=>a.value==="visible"&&(n==null?void 0:n.visibilityState)==="visible"&&i.value,h=>{i.value=!1,u(h)}));async function u(h){var g;await((g=r.value)==null?void 0:g.release()),r.value=o.value?await t.wakeLock.request(h):null}async function c(h){a.value==="visible"?await u(h):i.value=h}async function f(){i.value=!1;const h=r.value;r.value=null,await(h==null?void 0:h.release())}return{sentinel:r,isSupported:o,isActive:s,request:c,forceRequest:u,release:f}}function CMe(e={}){const{window:t=pe,requestPermissions:n=!0}=e,i=e,r=Le(()=>{if(!t||!("Notification"in t))return!1;try{new Notification("")}catch{return!1}return!0}),a=l.ref(r.value&&"permission"in Notification&&Notification.permission==="granted"),o=l.ref(null),s=async()=>{if(r.value)return!a.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(a.value=!0),a.value},{on:u,trigger:c}=dn(),{on:f,trigger:h}=dn(),{on:g,trigger:p}=dn(),{on:y,trigger:v}=dn(),k=async M=>{if(!r.value||!a.value)return;const x=Object.assign({},i,M);return o.value=new Notification(x.title||"",x),o.value.onclick=c,o.value.onshow=h,o.value.onerror=p,o.value.onclose=v,o.value},w=()=>{o.value&&o.value.close(),o.value=null};if(n&&jt(s),Oe(w),r.value&&t){const M=t.document;K(M,"visibilitychange",x=>{x.preventDefault(),M.visibilityState==="visible"&&w()})}return{isSupported:r,notification:o,ensurePermissions:s,permissionGranted:a,show:k,close:w,onClick:u,onShow:f,onError:g,onClose:y}}const a3="ping";function k1(e){return e===!0?{}:e}function xMe(e,t={}){const{onConnected:n,onDisconnected:i,onError:r,onMessage:a,immediate:o=!0,autoClose:s=!0,protocols:u=[]}=t,c=l.ref(null),f=l.ref("CLOSED"),h=l.ref(),g=Mt(e);let p,y,v=!1,k=0,w=[],M;const x=()=>{if(w.length&&h.value&&f.value==="OPEN"){for(const L of w)h.value.send(L);w=[]}},_=()=>{clearTimeout(M),M=void 0},S=(L=1e3,D)=>{!Nt||!h.value||(v=!0,_(),p==null||p(),h.value.close(L,D),h.value=void 0)},N=(L,D=!0)=>!h.value||f.value!=="OPEN"?(D&&w.push(L),!1):(x(),h.value.send(L),!0),T=()=>{if(v||typeof g.value>"u")return;const L=new WebSocket(g.value,u);h.value=L,f.value="CONNECTING",L.onopen=()=>{f.value="OPEN",k=0,n==null||n(L),y==null||y(),x()},L.onclose=D=>{if(f.value="CLOSED",i==null||i(L,D),!v&&t.autoReconnect&&L===h.value){const{retries:z=-1,delay:H=1e3,onFailed:X}=k1(t.autoReconnect);typeof z=="number"&&(z<0||k<z)?(k+=1,setTimeout(T,H)):typeof z=="function"&&z()?setTimeout(T,H):X==null||X()}},L.onerror=D=>{r==null||r(L,D)},L.onmessage=D=>{if(t.heartbeat){_();const{message:z=a3,responseMessage:H=z}=k1(t.heartbeat);if(D.data===H)return}c.value=D.data,a==null||a(L,D)}};if(t.heartbeat){const{message:L=a3,interval:D=1e3,pongTimeout:z=1e3}=k1(t.heartbeat),{pause:H,resume:X}=$r(()=>{N(L,!1),M==null&&(M=setTimeout(()=>{S(),v=!1},z))},D,{immediate:!1});p=H,y=X}s&&(Nt&&K("beforeunload",()=>S()),Oe(S));const I=()=>{!Nt&&!Xw||(S(),v=!1,k=0,T())};return o&&I(),l.watch(g,I),{data:c,status:f,close:S,send:N,open:I,ws:h}}function SMe(e,t,n){const{window:i=pe}=n??{},r=l.ref(null),a=l.shallowRef(),o=(...u)=>{a.value&&a.value.postMessage(...u)},s=function(){a.value&&a.value.terminate()};return i&&(typeof e=="string"?a.value=new Worker(e,t):typeof e=="function"?a.value=e():a.value=e,a.value.onmessage=u=>{r.value=u.data},Oe(()=>{a.value&&a.value.terminate()})),{data:r,post:o,terminate:s,worker:a}}function _Me(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(i=>{postMessage(["SUCCESS",i])}).catch(i=>{postMessage(["ERROR",i])})}}function TMe(e,t){if(e.length===0&&t.length===0)return"";const n=e.map(a=>`'${a}'`).toString(),i=t.filter(a=>typeof a=="function").map(a=>{const o=a.toString();return o.trim().startsWith("function")?o:`const ${a.name} = ${o}`}).join(";"),r=`importScripts(${n});`;return`${n.trim()===""?"":r} ${i}`}function PMe(e,t,n){const i=`${TMe(t,n)}; onmessage=(${_Me})(${e})`,r=new Blob([i],{type:"text/javascript"});return URL.createObjectURL(r)}function EMe(e,t={}){const{dependencies:n=[],localDependencies:i=[],timeout:r,window:a=pe}=t,o=l.ref(),s=l.ref("PENDING"),u=l.ref({}),c=l.ref(),f=(y="PENDING")=>{o.value&&o.value._url&&a&&(o.value.terminate(),URL.revokeObjectURL(o.value._url),u.value={},o.value=void 0,a.clearTimeout(c.value),s.value=y)};f(),Oe(f);const h=()=>{const y=PMe(e,n,i),v=new Worker(y);return v._url=y,v.onmessage=k=>{const{resolve:w=()=>{},reject:M=()=>{}}=u.value,[x,_]=k.data;switch(x){case"SUCCESS":w(_),f(x);break;default:M(_),f("ERROR");break}},v.onerror=k=>{const{reject:w=()=>{}}=u.value;k.preventDefault(),w(k),f("ERROR")},r&&(c.value=setTimeout(()=>f("TIMEOUT_EXPIRED"),r)),v},g=(...y)=>new Promise((v,k)=>{var w;u.value={resolve:v,reject:k},(w=o.value)==null||w.postMessage([[...y]]),s.value="RUNNING"});return{workerFn:(...y)=>s.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(o.value=h(),g(...y)),workerStatus:s,workerTerminate:f}}function AMe(e={}){const{window:t=pe}=e;if(!t)return l.ref(!1);const n=l.ref(t.document.hasFocus());return K(t,"blur",()=>{n.value=!1}),K(t,"focus",()=>{n.value=!0}),n}function DMe(e={}){const{window:t=pe,behavior:n="auto"}=e;if(!t)return{x:l.ref(0),y:l.ref(0)};const i=l.ref(t.scrollX),r=l.ref(t.scrollY),a=l.computed({get(){return i.value},set(s){scrollTo({left:s,behavior:n})}}),o=l.computed({get(){return r.value},set(s){scrollTo({top:s,behavior:n})}});return K(t,"scroll",()=>{i.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:o}}function NMe(e={}){const{window:t=pe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:a=!0,type:o="inner"}=e,s=l.ref(n),u=l.ref(i),c=()=>{t&&(o==="outer"?(s.value=t.outerWidth,u.value=t.outerHeight):a?(s.value=t.innerWidth,u.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};if(c(),jt(c),K("resize",c,{passive:!0}),r){const f=xn("(orientation: portrait)");l.watch(f,()=>c())}return{width:s,height:u}}const jMe=Object.freeze(Object.defineProperty({__proto__:null,DefaultMagicKeysAliasMap:Iv,StorageSerializers:h1,TransitionPresets:cMe,assert:A4e,asyncComputed:fv,autoResetRef:iv,breakpointsAntDesign:a6e,breakpointsBootstrapV5:n6e,breakpointsMasterCss:l6e,breakpointsPrimeFlex:u6e,breakpointsQuasar:o6e,breakpointsSematic:s6e,breakpointsTailwind:t6e,breakpointsVuetify:r6e,breakpointsVuetifyV2:yv,breakpointsVuetifyV3:i6e,bypassFilter:sl,camelize:Qw,clamp:Md,cloneFnJSON:hl,computedAsync:fv,computedEager:Rw,computedInject:Eke,computedWithControl:e1,containsProp:a1,controlledComputed:e1,controlledRef:V4e,createEventHook:dn,createFetch:F6e,createFilterWrapper:Ha,createGlobalState:M4e,createInjectionState:C4e,createReactiveFn:t1,createReusableTemplate:Ake,createSharedComposable:x4e,createSingletonPromise:Jw,createTemplatePromise:Nke,createUnrefFn:jke,customStorageEventName:m1,debounceFilter:xd,debouncedRef:o1,debouncedWatch:uv,defaultDocument:cn,defaultLocation:Ike,defaultNavigator:Cn,defaultWindow:pe,directiveHooks:W4e,eagerComputed:Rw,executeTransition:Gv,extendRef:Fw,formatDate:sv,formatTimeAgo:Xv,get:S4e,getLifeCycleTarget:dl,getSSRHandler:Ad,hasOwn:Gw,hyphenate:z4e,identity:r1,ignorableWatch:Vo,increaseWithUnit:Zw,injectLocal:Vw,invoke:$4e,isClient:Nt,isDef:qw,isDefined:_4e,isIOS:Cd,isObject:ol,isWorker:Xw,makeDestructurable:Uw,mapGamepadToXbox360Controller:Z6e,noop:Ve,normalizeDate:lv,notNullish:kd,now:N4e,objectEntries:nv,objectOmit:tv,objectPick:ev,onClickOutside:Wke,onKeyDown:zke,onKeyPressed:Lke,onKeyStroke:_d,onKeyUp:$ke,onLongPress:Bke,onStartTyping:Uke,pausableFilter:i1,pausableWatch:Ro,promiseTimeout:ul,provideLocal:Bw,rand:j4e,reactify:t1,reactifyObject:P4e,reactiveComputed:n1,reactiveOmit:E4e,reactivePick:R4e,refAutoReset:iv,refDebounced:o1,refDefault:B4e,refThrottled:l1,refWithControl:rv,resolveRef:H4e,resolveUnref:T4e,set:F4e,setSSRHandler:b6e,syncRef:u1,syncRefs:U4e,templateRef:Yke,throttleFilter:ll,throttledRef:l1,throttledWatch:dv,timestamp:$a,toReactive:Yw,toRef:Mt,toRefs:d1,toValue:B,tryOnBeforeMount:Y4e,tryOnBeforeUnmount:av,tryOnMounted:jt,tryOnScopeDispose:Oe,tryOnUnmounted:ov,unrefElement:Ie,until:cl,useActiveElement:pv,useAnimate:Xke,useArrayDifference:q4e,useArrayEvery:G4e,useArrayFilter:K4e,useArrayFind:Q4e,useArrayFindIndex:J4e,useArrayFindLast:eke,useArrayIncludes:nke,useArrayJoin:ike,useArrayMap:rke,useArrayReduce:ake,useArraySome:oke,useArrayUnique:uke,useAsyncQueue:qke,useAsyncState:gv,useBase64:Qke,useBattery:Zke,useBluetooth:e6e,useBreakpoints:d6e,useBroadcastChannel:c6e,useBrowserLocation:f6e,useCached:h6e,useClipboard:m6e,useClipboardItems:p6e,useCloned:g6e,useColorMode:kv,useConfirmDialog:v6e,useCounter:dke,useCssVar:ml,useCurrentElement:Mv,useCycleList:k6e,useDark:M6e,useDateFormat:mke,useDebounce:o1,useDebounceFn:Sd,useDebouncedRefHistory:_6e,useDeviceMotion:T6e,useDeviceOrientation:Sv,useDevicePixelRatio:P6e,useDevicesList:E6e,useDisplayMedia:A6e,useDocumentVisibility:_v,useDraggable:D6e,useDropZone:N6e,useElementBounding:j6e,useElementByPoint:I6e,useElementHover:W6e,useElementSize:Tv,useElementVisibility:Ev,useEventBus:O6e,useEventListener:K,useEventSource:L6e,useEyeDropper:$6e,useFavicon:H6e,useFetch:Av,useFileDialog:X6e,useFileSystemAccess:q6e,useFocus:G6e,useFocusWithin:K6e,useFps:Q6e,useFullscreen:J6e,useGamepad:e5e,useGeolocation:t5e,useIdle:r5e,useImage:o5e,useInfiniteScroll:s5e,useIntersectionObserver:Pv,useInterval:pke,useIntervalFn:$r,useKeyModifier:u5e,useLastChanged:gke,useLocalStorage:d5e,useMagicKeys:c5e,useManualRefHistory:xv,useMediaControls:m5e,useMediaQuery:xn,useMemoize:p5e,useMemory:g5e,useMounted:mv,useMouse:Wv,useMouseInElement:Ov,useMousePressed:b5e,useMutationObserver:Fo,useNavigatorLanguage:w5e,useNetwork:zv,useNow:Lv,useObjectUrl:v5e,useOffsetPagination:k5e,useOnline:M5e,usePageLeave:C5e,useParallax:x5e,useParentElement:S5e,usePerformanceObserver:_5e,usePermission:Td,usePointer:P5e,usePointerLock:E5e,usePointerSwipe:A5e,usePreferredColorScheme:D5e,usePreferredContrast:N5e,usePreferredDark:p1,usePreferredLanguages:j5e,usePreferredReducedMotion:I5e,usePrevious:W5e,useRafFn:Ba,useRefHistory:g1,useResizeObserver:Nd,useScreenOrientation:Hv,useScreenSafeArea:O5e,useScriptTag:z5e,useScroll:jv,useScrollLock:$5e,useSessionStorage:H5e,useShare:R5e,useSorted:V5e,useSpeechRecognition:F5e,useSpeechSynthesis:U5e,useStepper:Y5e,useStorage:Dd,useStorageAsync:X5e,useStyleTag:G5e,useSupported:Le,useSwipe:K5e,useTemplateRefsList:J5e,useTextDirection:Z5e,useTextSelection:tMe,useTextareaAutosize:nMe,useThrottle:l1,useThrottleFn:s1,useThrottledRefHistory:iMe,useTimeAgo:sMe,useTimeout:yke,useTimeoutFn:Bo,useTimeoutPoll:lMe,useTimestamp:uMe,useTitle:dMe,useToNumber:bke,useToString:wke,useToggle:vke,useTransition:hMe,useUrlSearchParams:mMe,useUserMedia:pMe,useVModel:Kv,useVModels:gMe,useVibrate:yMe,useVirtualList:bMe,useWakeLock:MMe,useWebNotification:CMe,useWebSocket:xMe,useWebWorker:SMe,useWebWorkerFn:EMe,useWindowFocus:AMe,useWindowScroll:DMe,useWindowSize:NMe,watchArray:kke,watchAtMost:Mke,watchDebounced:uv,watchDeep:Cke,watchIgnorable:Vo,watchImmediate:xke,watchOnce:Ske,watchPausable:Ro,watchThrottled:dv,watchTriggerable:_ke,watchWithFilter:Ho,whenever:cv},Symbol.toStringTag,{value:"Module"})),IMe=["data-testid"],WMe=["data-testid"],zd=me(l.defineComponent({__name:"Dialog",props:{open:{type:Boolean},width:{},height:{},noClose:{type:Boolean},dataTestid:{default:"Dialog"}},emits:["close"],setup(e,{emit:t}){const n=e,i=l.ref(null),r=l.useAttrs(),a=l.ref(!1),o=l.computed(()=>({width:n.width,height:n.height})),s=t,u=()=>{var f;(f=i.value)==null||f.close(),s("close")},c=()=>{var f;return n.open?(f=i.value)==null?void 0:f.showModal():u()};return K(i,"mousedown",f=>{!n.noClose&&f.target===i.value&&u()}),K(i,"keydown",f=>{(f.key==="Escape"||f.key==="Esc")&&(n.noClose||u())}),l.onMounted(()=>{l.watchEffect(()=>{n.open!==a.value&&(c(),a.value=n.open)})}),(f,h)=>(l.openBlock(),l.createElementBlock("dialog",l.mergeProps({ref_key:"dialog",ref:i},l.unref(r),{class:"dialog-yui-kit","data-testid":n.dataTestid}),[l.createElementVNode("div",{"data-testid":`${n.dataTestid}-Content`,class:"dialog-yui-kit__dialog-content",style:l.normalizeStyle(o.value)},[l.renderSlot(f.$slots,"default",{},void 0,!0)],12,WMe)],16,IMe))}}),[["__scopeId","data-v-626a3449"]]),OMe=["data-testid"],zMe=["data-testid"],M1=me(l.defineComponent({__name:"Accordion",props:{dataTestid:{default:"Accordion"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("details",{class:"accordion-yui-kit","data-testid":t.dataTestid},[l.createElementVNode("summary",{class:"accordion-yui-kit__summary","data-testid":`${t.dataTestid}-Summary`},[l.renderSlot(n.$slots,"summary",{},void 0,!0),l.createVNode(we,{name:l.unref(se).chevronUp,class:"chevron-up","stroke-width":"2","data-testid":`${t.dataTestid}-ChevronUp`},null,8,["name","data-testid"]),l.createVNode(we,{name:l.unref(se).chevronDown,class:"chevron-down","stroke-width":"2","data-testid":`${t.dataTestid}-ChevronDown`},null,8,["name","data-testid"])],8,zMe),l.renderSlot(n.$slots,"default",{},void 0,!0)],8,OMe))}}),[["__scopeId","data-v-0e900f78"]]),LMe=["data-testid"],$Me=["data-testid"],HMe=["data-testid"],RMe=["data-testid","multiple"],C1=me(l.defineComponent({__name:"DragAndDrop",props:{singleFileMode:{type:Boolean,default:!1},title:{default:"Кликните или перенесите файлы"},dataTestid:{default:"DragAndDrop"}},emits:["fileDropped"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isPressed:!1}),a=l.ref(null),o=p=>{const y=p.target;g(y.files)},s=()=>{a.value&&(a.value.value="")},u=p=>{var v;p.preventDefault();const y=(v=p.currentTarget)==null?void 0:v.children[0];y.classList.contains("active")||y.classList.add("active")},c=p=>{p.currentTarget.children[0].classList.remove("active")},f=p=>{var v;p.preventDefault(),g(((v=p.dataTransfer)==null?void 0:v.files)||null),p.currentTarget.children[0].classList.remove("active")},h=()=>{r.isPressed=!r.isPressed},g=p=>{r.isPressed=!1,i("fileDropped",p)};return l.onMounted(()=>{var p;(p=a.value)==null||p.addEventListener("cancel",()=>{r.isPressed=!1})}),(p,y)=>(l.openBlock(),l.createElementBlock("div",{onDragover:u,onDragleave:c,onDrop:f,class:"dnd-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("label",{for:"docsFileSelected",class:l.normalizeClass(["dnd-yui-kit__label",{"is-pressed":r.isPressed}]),onClick:h,"data-testid":`${n.dataTestid}-Label`},[l.createVNode(we,{name:l.unref(se).paperClip,"stroke-width":"2","data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"]),l.createElementVNode("span",{class:"dnd-yui-kit__span","data-testid":`${n.dataTestid}-Title`},l.toDisplayString(n.title),9,HMe)],10,$Me),l.createElementVNode("input",{id:"docsFileSelected",onChange:o,onClick:s,type:"file",style:{display:"none"},"data-testid":`${n.dataTestid}-Input`,required:"",multiple:!n.singleFileMode,ref_key:"fileInputRef",ref:a},null,40,RMe)],40,LMe))}}),[["__scopeId","data-v-acbc6bd8"]]),BMe=["data-testid"],VMe=["data-testid"],x1=me(l.defineComponent({__name:"Card",props:{dataTestid:{default:"Card"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("div",{class:"card-yui-kit","data-testid":t.dataTestid},[n.$slots.left?(l.openBlock(),l.createElementBlock("div",{key:0,class:"card-yui-kit__left","data-testid":`${t.dataTestid}-Left`},[l.renderSlot(n.$slots,"left",{},void 0,!0)],8,VMe)):l.createCommentVNode("",!0),l.renderSlot(n.$slots,"default",{},void 0,!0)],8,BMe))}}),[["__scopeId","data-v-3b3e60e3"]]),FMe=(e,t=33)=>e.length>t?e.slice(0,t-3)+"...":e,UMe=["data-testid"],YMe=["data-testid"],XMe=["data-testid"],qMe=["data-testid"],GMe=["onClick","data-testid"],KMe=["data-testid"],QMe=me(l.defineComponent({__name:"History",props:{modelValue:{},defaultValue:{},placeholder:{},showHistory:{type:Boolean},global:{type:Boolean},options:{},globalResultsFunction:{},isShowList:{type:Boolean},isShowButtonHistory:{type:Boolean},searchValue:{},width:{},height:{},dataTestid:{default:"History"}},emits:["choosePost","unmount-remove"],setup(e,{emit:t}){const n=e,i=l.reactive({isShowList:n.isShowList,isShowButtonHistory:n.isShowButtonHistory}),r=t,a=l.computed(()=>({"history-yui-kit__list":!0,"history-yui-kit__list--opened":i.isShowList,"history-yui-kit__list--scroll":n.modelValue&&n.modelValue.length>=5&&i.isShowList})),o=()=>{i.isShowList=!0,i.isShowButtonHistory=!1},s=c=>{r("unmount-remove",c)},u=c=>{r("choosePost",c)};return(c,f)=>{var h;return n.showHistory?(l.openBlock(),l.createElementBlock("div",{key:0,class:"search-yui-kit__history history-yui-kit","data-testid":n.dataTestid},[i.isShowButtonHistory?(l.openBlock(),l.createBlock(yt,{key:0,type:l.unref(Qe).outline,onClick:o,class:l.normalizeClass("history-yui-kit__button-text show-result"),"data-testid":`${n.dataTestid}-ShowResult`},{default:l.withCtx(()=>[l.createElementVNode("span",{"data-testid":`${n.dataTestid}-ShowResult-Title`}," Просмотреть историю запросов ",8,YMe)]),_:1},8,["type","data-testid"])):l.createCommentVNode("",!0),(h=n.modelValue)!=null&&h.length?(l.openBlock(),l.createElementBlock("ul",{key:1,class:l.normalizeClass(a.value),"data-testid":`${n.dataTestid}-ShowResult-List`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.modelValue,(g,p)=>(l.openBlock(),l.createElementBlock("li",{class:"history-yui-kit__item",key:g,"data-testid":`${n.dataTestid}-ShowResult-Title${p}`},[l.createElementVNode("span",{onClick:y=>u(g),"data-testid":`${n.dataTestid}-HandleChoosePost-Title${p}`},l.toDisplayString(l.unref(FMe)(g)),9,GMe),l.createVNode(yt,{type:l.unref(Qe).ghost,onClick:y=>s(g),"data-testid":`${n.dataTestid}-ButtonItem-Remove${p}`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).exitSmall,width:16,"data-testid":`${n.dataTestid}-ButtonItem-RemoveIcon${p}`},null,8,["name","data-testid"])]),_:2},1032,["type","onClick","data-testid"])],8,qMe))),128))],10,XMe)):i.isShowButtonHistory?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(yt,{key:2,type:l.unref(Qe).outline,class:l.normalizeClass("history-yui-kit__button-text"),"data-testid":`${n.dataTestid}-ButtonTypeEnum-RemoveButton`},{default:l.withCtx(()=>[l.createElementVNode("span",{"data-testid":`${n.dataTestid}-ButtonTypeEnum-EmptyContent`,class:"empty-content"},"По вашему запросу ничего не найдено",8,KMe)]),_:1},8,["type","data-testid"]))],8,UMe)):l.createCommentVNode("",!0)}}}),[["__scopeId","data-v-f1c6a579"]]),JMe=["data-testid"],ZMe=["data-testid"],e9e=["data-testid","onClick"],t9e=["data-testid"],n9e=["data-testid"],i9e=["data-testid"],r9e=["data-testid"],a9e=["data-testid"],o9e=["data-testid"],s9e=me(l.defineComponent({__name:"SearchResult",props:{defaultValue:{},placeholder:{},showHistory:{type:Boolean},global:{type:Boolean},options:{},globalResultsFunction:{default:()=>[]},isShowList:{type:Boolean},isShowButtonHistory:{type:Boolean},searchValue:{default:""},width:{},height:{},modelValue:{},dataTestid:{default:"SearchResult"}},emits:["choose-result","scroll-paginate"],setup(e,{emit:t}){const n=e,i=t,r=l.ref(null),a=s=>{i("choose-result",s)},o=s=>{const u=s.target,{scrollTop:c,scrollHeight:f,clientHeight:h}=u;f-c-h<5&&i("scroll-paginate")};return l.watch(()=>n.searchValue,()=>{r.value&&(r.value.scrollTop=0)}),(s,u)=>(l.openBlock(),l.createElementBlock("div",{class:"search-yui-kit__result result-yui-kit","data-testid":n.dataTestid},[n.globalResultsFunction.length>0?(l.openBlock(),l.createElementBlock("ul",{key:0,class:"result-yui-kit__list","data-testid":`${n.dataTestid}-List`,onScroll:o,ref_key:"resultContentRef",ref:r},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.globalResultsFunction,(c,f)=>(l.openBlock(),l.createElementBlock("li",{class:"result-yui-kit__list__item",key:f,"data-testid":`${n.dataTestid}-List-Items${f}`,onClick:h=>a(c)},[l.createVNode(we,{name:c.icon||l.unref(se).document,"data-testid":`${n.dataTestid}-Items-Icon${f}`,width:16,height:16,class:"result-yui-kit__list__item__icon"},null,8,["name","data-testid"]),l.createElementVNode("span",{"data-testid":`${n.dataTestid}-Result-NameArea${f}`},l.toDisplayString(c.nameArea),9,t9e),l.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${n.dataTestid}-Result-Slash${f}`},"/",8,n9e),l.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${n.dataTestid}-Result-SearchResult${f}`},l.toDisplayString(c.searchResult),9,i9e)],8,e9e))),128))],40,ZMe)):n.searchValue?(l.openBlock(),l.createElementBlock("ul",{key:1,class:"result-yui-kit__list result-yui-kit__empty","data-testid":`${n.dataTestid}-Nothing-List`},[l.createElementVNode("li",{class:"result-yui-kit__empty__item","data-testid":`${n.dataTestid}-Nothing-Items`},[l.createElementVNode("p",{"data-testid":`${n.dataTestid}-Nothing-Text`}," По вашему запросу ничего не найдено ",8,o9e)],8,a9e)],8,r9e)):l.createCommentVNode("",!0)],8,JMe))}}),[["__scopeId","data-v-0bd12f80"]]),o3=()=>{const e=l.ref(localStorage.getItem("historySearch")?JSON.parse(localStorage.getItem("historySearch")):[]);return{getHistorySearch:e,addHistorySearch:i=>{i&&(e.value=e.value.filter(r=>r!==i),e.value.unshift(i),e.value.length>10&&e.value.pop(),localStorage.setItem("historySearch",JSON.stringify(e.value)))},removeHistorySearch:i=>{e.value=e.value.filter(r=>r!==i),localStorage.setItem("historySearch",JSON.stringify(e.value))}}},l9e=["data-testid"],u9e=["data-testid"],d9e=["data-testid"],c9e=["placeholder","data-testid"],yl=me(l.defineComponent({__name:"Search",props:{defaultValue:{},placeholder:{default:"Поиск"},showHistory:{type:Boolean},global:{type:Boolean,default:!1},options:{},globalResultsFunction:{default:()=>[]},isShowList:{type:Boolean},isShowButtonHistory:{type:Boolean},searchValue:{},width:{},height:{default:"42px"},modelValue:{default:""},dataTestid:{default:"Search"}},emits:["enter","input","update:modelValue","choose-result","scroll-paginate","choosed"],setup(e,{emit:t}){const n=e,i=t,{getHistorySearch:r,removeHistorySearch:a,addHistorySearch:o}=o3(),s=l.reactive({isShowList:!1,isShowButtonHistory:n.showHistory??!1,searchValue:n.modelValue,placeholder:n.placeholder??"",focused:!1}),u={position:"relative",width:"100%",height:n.height},c=_=>{s.searchValue=_.trim(),s.isShowList=!1,i("input",_),i("update:modelValue",s.searchValue),i("choosed",s.searchValue),i("enter",s.searchValue)},f=_=>{s.isShowList=!1,i("choose-result",_)},h=()=>{i("scroll-paginate")},g=l.computed(()=>({"search-yui-kit__icon-wrapper":!0})),p=()=>{s.focused=!0},y=()=>{setTimeout(()=>{s.focused=!1},500)},v=()=>{s.isShowList=!1,s.isShowButtonHistory=!1},k=()=>{s.isShowButtonHistory=!0,s.isShowButtonHistory||(s.isShowList=!0)},w=()=>{i("enter",s.searchValue.trim()),n.showHistory&&s.searchValue&&o(s.searchValue.trim())},M=()=>{const _=s.searchValue.trim();i("input",_),i("update:modelValue",_)},x=()=>{s.searchValue&&(s.searchValue="",M(),w())};return l.onMounted(()=>{n.defaultValue&&(s.searchValue=n.defaultValue)}),l.watch(()=>n.modelValue,_=>{s.searchValue=_}),(_,S)=>(l.openBlock(),l.createElementBlock("div",{class:"search-yui-kit",style:u,onMousemove:k,onMouseleave:v,"data-testid":n.dataTestid},[l.createElementVNode("div",{class:l.normalizeClass(g.value),"data-testid":`${n.dataTestid}-Dropdown-Wrapper`},[l.createElementVNode("div",{class:"search-yui-kit__dropdown","data-testid":`${n.dataTestid}-Dropdown`},[l.withDirectives(l.createElementVNode("input",{type:"text",class:"search-yui-kit__input","onUpdate:modelValue":S[0]||(S[0]=N=>s.searchValue=N),placeholder:n.placeholder,onKeydown:l.withKeys(w,["enter"]),onInput:M,onFocus:p,onBlur:y,"data-testid":`${n.dataTestid}-Dropdown-Input`},null,40,c9e),[[l.vModelText,s.searchValue]]),l.createVNode(we,{class:"search-icon",name:l.unref(se).searchNormal},null,8,["name"]),s.searchValue?(l.openBlock(),l.createBlock(yt,{key:0,class:"clear-button",type:l.unref(Qe).ghost,onClick:x,"data-testid":`${n.dataTestid}-Clear-Button`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).exitSmall,color:"var(--grey4)","data-testid":`${n.dataTestid}-Clear-Button-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","data-testid"])):l.createCommentVNode("",!0)],8,d9e)],10,u9e),!n.global&&n.showHistory?(l.openBlock(),l.createBlock(QMe,{key:0,"show-history":n.showHistory,"is-show-button-history":s.isShowButtonHistory,"is-show-list":s.isShowList,"model-value":l.unref(r),onUnmountRemove:l.unref(a),onChoosePost:c,"data-testid":`${n.dataTestid}-Dropdown-History`},null,8,["show-history","is-show-button-history","is-show-list","model-value","onUnmountRemove","data-testid"])):l.createCommentVNode("",!0),n.global&&s.focused?(l.openBlock(),l.createBlock(s9e,{key:1,"global-results-function":n.globalResultsFunction,"search-value":s.searchValue,"data-testid":`${n.dataTestid}-Dropdown-SearchResult`,onChooseResult:f,onScrollPaginate:h},null,8,["global-results-function","search-value","data-testid"])):l.createCommentVNode("",!0)],40,l9e))}}),[["__scopeId","data-v-8a012073"]]);var bl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ld={exports:{}};/**
|
|
1278
|
+
`}};rr([fe({type:Object})],zi.prototype,"date",2),rr([fe({type:Object})],zi.prototype,"minDate",2),rr([fe({type:Object})],zi.prototype,"maxDate",2),rr([fe({type:String})],zi.prototype,"locale",2),rr([fe({type:Number})],zi.prototype,"firstDayOfWeek",2),rr([fe({type:Array})],zi.prototype,"disabledDates",2),rr([fe({type:Array})],zi.prototype,"events",2),rr([qu()],zi.prototype,"_date",2),zi=rr([_a("col-cal")],zi);const u3e=["data-testid"],d3e=["data-testid"],c3e=["data-testid"],f3e=me(l.defineComponent({__name:"DataPickerChoose",props:{value:{},isActive:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerChoose"}},emits:["clear","click"],setup(e,{emit:t}){const n=e,i=l.reactive({defaultValue:"-- -- ----",value:"",isActive:!1}),r=t;l.watchEffect(()=>i.isActive=n.isActive),l.watchEffect(()=>i.value=n.value);const a=()=>{r("clear")},o=()=>{r("click")},s=u=>{if(!u)return null;const c=u.indexOf(" "),f=c===-1?3:Math.min(c,3);return`${u.charAt(0).toUpperCase()}${u.slice(1,f)}${u.slice(c)}`};return(u,c)=>(l.openBlock(),l.createElementBlock("button",{onClick:o,class:l.normalizeClass(["date-picker-yui-kit__header-btn",{"date-picker-yui-kit__header-btn_table-view":n.isSmall},{"date-picker-yui-kit__header-btn_range-view":n.isRange},{"date-disable-yui-kit":n.disabled},{"date-active-yui-kit":i.isActive}]),"data-testid":`${n.dataTestid}-HeaderBtn-Trigger`},[l.createVNode(we,{name:l.unref(se).calendar,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"]),i.value?(l.openBlock(),l.createElementBlock("span",{key:0,"data-testid":`${n.dataTestid}-Value-Display`},l.toDisplayString(s(i.value)),9,d3e)):(l.openBlock(),l.createElementBlock("span",{key:1,class:"date-picker-yui-kit__header-btn__dash","data-testid":`${n.dataTestid}-HeaderBtnDash-Placeholder`},l.toDisplayString(i.defaultValue),9,c3e)),i.value?(l.openBlock(),l.createBlock(yt,{key:2,size:l.unref(vn).small,type:l.unref(Qe).ghost,disabled:n.disabled,onClick:l.withModifiers(a,["stop"]),class:"date-picker-close-yui-kit","data-testid":`${n.dataTestid}-Button-Clear`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).crossSmall,"data-testid":`${n.dataTestid}-ButtonClose-Icon`},null,8,["name","data-testid"])]),_:1},8,["size","type","disabled","data-testid"])):l.createCommentVNode("",!0)],10,u3e))}}),[["__scopeId","data-v-89bfe000"]]),dw=["top","right","bottom","left"],cw=["start","end"],fw=dw.reduce((e,t)=>e.concat(t,t+"-"+cw[0],t+"-"+cw[1]),[]),wi=Math.min,qt=Math.max,hd=Math.round,md=Math.floor,Li=e=>({x:e,y:e}),h3e={left:"right",right:"left",bottom:"top",top:"bottom"},m3e={start:"end",end:"start"};function $m(e,t,n){return qt(e,wi(t,n))}function vi(e,t){return typeof e=="function"?e(t):e}function On(e){return e.split("-")[0]}function ki(e){return e.split("-")[1]}function Hm(e){return e==="x"?"y":"x"}function Rm(e){return e==="y"?"height":"width"}const p3e=new Set(["top","bottom"]);function Mi(e){return p3e.has(On(e))?"y":"x"}function Bm(e){return Hm(Mi(e))}function hw(e,t,n){n===void 0&&(n=!1);const i=ki(e),r=Bm(e),a=Rm(r);let o=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=gd(o)),[o,gd(o)]}function g3e(e){const t=gd(e);return[pd(e),t,pd(t)]}function pd(e){return e.replace(/start|end/g,t=>m3e[t])}const mw=["left","right"],pw=["right","left"],y3e=["top","bottom"],b3e=["bottom","top"];function w3e(e,t,n){switch(e){case"top":case"bottom":return n?t?pw:mw:t?mw:pw;case"left":case"right":return t?y3e:b3e;default:return[]}}function v3e(e,t,n,i){const r=ki(e);let a=w3e(On(e),n==="start",i);return r&&(a=a.map(o=>o+"-"+r),t&&(a=a.concat(a.map(pd)))),a}function gd(e){return e.replace(/left|right|bottom|top/g,t=>h3e[t])}function k3e(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vm(e){return typeof e!="number"?k3e(e):{top:e,right:e,bottom:e,left:e}}function Io(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function gw(e,t,n){let{reference:i,floating:r}=e;const a=Mi(t),o=Bm(t),s=Rm(o),u=On(t),c=a==="y",f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,g=i[s]/2-r[s]/2;let p;switch(u){case"top":p={x:f,y:i.y-r.height};break;case"bottom":p={x:f,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:h};break;case"left":p={x:i.x-r.width,y:h};break;default:p={x:i.x,y:i.y}}switch(ki(t)){case"start":p[o]-=g*(n&&c?-1:1);break;case"end":p[o]+=g*(n&&c?-1:1);break}return p}const M3e=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:f,y:h}=gw(c,i,u),g=i,p={},y=0;for(let v=0;v<s.length;v++){const{name:k,fn:w}=s[v],{x:M,y:x,data:_,reset:S}=await w({x:f,y:h,initialPlacement:i,placement:g,strategy:r,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});f=M??f,h=x??h,p={...p,[k]:{...p[k],..._}},S&&y<=50&&(y++,typeof S=="object"&&(S.placement&&(g=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:f,y:h}=gw(c,g,u)),v=-1)}return{x:f,y:h,placement:g,strategy:r,middlewareData:p}};async function Wa(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:a,rects:o,elements:s,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:p=0}=vi(t,e),y=Vm(p),k=s[g?h==="floating"?"reference":"floating":h],w=Io(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(k)))==null||n?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:u})),M=h==="floating"?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),_=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Io(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:M,offsetParent:x,strategy:u}):M);return{top:(w.top-S.top+y.top)/_.y,bottom:(S.bottom-w.bottom+y.bottom)/_.y,left:(w.left-S.left+y.left)/_.x,right:(S.right-w.right+y.right)/_.x}}const C3e=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:a,platform:o,elements:s,middlewareData:u}=t,{element:c,padding:f=0}=vi(e,t)||{};if(c==null)return{};const h=Vm(f),g={x:n,y:i},p=Bm(r),y=Rm(p),v=await o.getDimensions(c),k=p==="y",w=k?"top":"left",M=k?"bottom":"right",x=k?"clientHeight":"clientWidth",_=a.reference[y]+a.reference[p]-g[p]-a.floating[y],S=g[p]-a.reference[p],N=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let T=N?N[x]:0;(!T||!await(o.isElement==null?void 0:o.isElement(N)))&&(T=s.floating[x]||a.floating[y]);const I=_/2-S/2,L=T/2-v[y]/2-1,D=wi(h[w],L),z=wi(h[M],L),H=D,X=T-v[y]-z,re=T/2-v[y]/2+I,ee=$m(H,re,X),q=!u.arrow&&ki(r)!=null&&re!==ee&&a.reference[y]/2-(re<H?D:z)-v[y]/2<0,Z=q?re<H?re-H:re-X:0;return{[p]:g[p]+Z,data:{[p]:ee,centerOffset:re-ee-Z,...q&&{alignmentOffset:Z}},reset:q}}});function x3e(e,t,n){return(e?[...n.filter(r=>ki(r)===e),...n.filter(r=>ki(r)!==e)]:n.filter(r=>On(r)===r)).filter(r=>e?ki(r)===e||(t?pd(r)!==r:!1):!0)}const S3e=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,r;const{rects:a,middlewareData:o,placement:s,platform:u,elements:c}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:g=fw,autoAlignment:p=!0,...y}=vi(e,t),v=h!==void 0||g===fw?x3e(h||null,p,g):g,k=await Wa(t,y),w=((n=o.autoPlacement)==null?void 0:n.index)||0,M=v[w];if(M==null)return{};const x=hw(M,a,await(u.isRTL==null?void 0:u.isRTL(c.floating)));if(s!==M)return{reset:{placement:v[0]}};const _=[k[On(M)],k[x[0]],k[x[1]]],S=[...((i=o.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:_}],N=v[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};const T=S.map(D=>{const z=ki(D.placement);return[D.placement,z&&f?D.overflows.slice(0,2).reduce((H,X)=>H+X,0):D.overflows[0],D.overflows]}).sort((D,z)=>D[1]-z[1]),L=((r=T.filter(D=>D[2].slice(0,ki(D[0])?2:3).every(z=>z<=0))[0])==null?void 0:r[0])||T[0][0];return L!==s?{data:{index:w+1,overflows:S},reset:{placement:L}}:{}}}},_3e=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:a,rects:o,initialPlacement:s,platform:u,elements:c}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...k}=vi(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const w=On(r),M=Mi(s),x=On(s)===s,_=await(u.isRTL==null?void 0:u.isRTL(c.floating)),S=g||(x||!v?[gd(s)]:g3e(s)),N=y!=="none";!g&&N&&S.push(...v3e(s,v,y,_));const T=[s,...S],I=await Wa(t,k),L=[];let D=((i=a.flip)==null?void 0:i.overflows)||[];if(f&&L.push(I[w]),h){const re=hw(r,o,_);L.push(I[re[0]],I[re[1]])}if(D=[...D,{placement:r,overflows:L}],!L.every(re=>re<=0)){var z,H;const re=(((z=a.flip)==null?void 0:z.index)||0)+1,ee=T[re];if(ee&&(!(h==="alignment"?M!==Mi(ee):!1)||D.every(de=>Mi(de.placement)===M?de.overflows[0]>0:!0)))return{data:{index:re,overflows:D},reset:{placement:ee}};let q=(H=D.filter(Z=>Z.overflows[0]<=0).sort((Z,de)=>Z.overflows[1]-de.overflows[1])[0])==null?void 0:H.placement;if(!q)switch(p){case"bestFit":{var X;const Z=(X=D.filter(de=>{if(N){const Ae=Mi(de.placement);return Ae===M||Ae==="y"}return!0}).map(de=>[de.placement,de.overflows.filter(Ae=>Ae>0).reduce((Ae,at)=>Ae+at,0)]).sort((de,Ae)=>de[1]-Ae[1])[0])==null?void 0:X[0];Z&&(q=Z);break}case"initialPlacement":q=s;break}if(r!==q)return{reset:{placement:q}}}return{}}}};function yw(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bw(e){return dw.some(t=>e[t]>=0)}const T3e=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:i="referenceHidden",...r}=vi(e,t);switch(i){case"referenceHidden":{const a=await Wa(t,{...r,elementContext:"reference"}),o=yw(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:bw(o)}}}case"escaped":{const a=await Wa(t,{...r,altBoundary:!0}),o=yw(a,n.floating);return{data:{escapedOffsets:o,escaped:bw(o)}}}default:return{}}}}};function ww(e){const t=wi(...e.map(a=>a.left)),n=wi(...e.map(a=>a.top)),i=qt(...e.map(a=>a.right)),r=qt(...e.map(a=>a.bottom));return{x:t,y:n,width:i-t,height:r-n}}function P3e(e){const t=e.slice().sort((r,a)=>r.y-a.y),n=[];let i=null;for(let r=0;r<t.length;r++){const a=t[r];!i||a.y-i.y>i.height/2?n.push([a]):n[n.length-1].push(a),i=a}return n.map(r=>Io(ww(r)))}const E3e=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:i,rects:r,platform:a,strategy:o}=t,{padding:s=2,x:u,y:c}=vi(e,t),f=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(i.reference))||[]),h=P3e(f),g=Io(ww(f)),p=Vm(s);function y(){if(h.length===2&&h[0].left>h[1].right&&u!=null&&c!=null)return h.find(k=>u>k.left-p.left&&u<k.right+p.right&&c>k.top-p.top&&c<k.bottom+p.bottom)||g;if(h.length>=2){if(Mi(n)==="y"){const D=h[0],z=h[h.length-1],H=On(n)==="top",X=D.top,re=z.bottom,ee=H?D.left:z.left,q=H?D.right:z.right,Z=q-ee,de=re-X;return{top:X,bottom:re,left:ee,right:q,width:Z,height:de,x:ee,y:X}}const k=On(n)==="left",w=qt(...h.map(D=>D.right)),M=wi(...h.map(D=>D.left)),x=h.filter(D=>k?D.left===M:D.right===w),_=x[0].top,S=x[x.length-1].bottom,N=M,T=w,I=T-N,L=S-_;return{top:_,bottom:S,left:N,right:T,width:I,height:L,x:N,y:_}}return g}const v=await a.getElementRects({reference:{getBoundingClientRect:y},floating:i.floating,strategy:o});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},vw=new Set(["left","top"]);async function A3e(e,t){const{placement:n,platform:i,elements:r}=e,a=await(i.isRTL==null?void 0:i.isRTL(r.floating)),o=On(n),s=ki(n),u=Mi(n)==="y",c=vw.has(o)?-1:1,f=a&&u?-1:1,h=vi(t,e);let{mainAxis:g,crossAxis:p,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof y=="number"&&(p=s==="end"?y*-1:y),u?{x:p*f,y:g*c}:{x:g*c,y:p*f}}const D3e=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:r,y:a,placement:o,middlewareData:s}=t,u=await A3e(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(i=s.arrow)!=null&&i.alignmentOffset?{}:{x:r+u.x,y:a+u.y,data:{...u,placement:o}}}}},N3e=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:k=>{let{x:w,y:M}=k;return{x:w,y:M}}},...u}=vi(e,t),c={x:n,y:i},f=await Wa(t,u),h=Mi(On(r)),g=Hm(h);let p=c[g],y=c[h];if(a){const k=g==="y"?"top":"left",w=g==="y"?"bottom":"right",M=p+f[k],x=p-f[w];p=$m(M,p,x)}if(o){const k=h==="y"?"top":"left",w=h==="y"?"bottom":"right",M=y+f[k],x=y-f[w];y=$m(M,y,x)}const v=s.fn({...t,[g]:p,[h]:y});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[g]:a,[h]:o}}}}}},j3e=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:r,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:u=!0,crossAxis:c=!0}=vi(e,t),f={x:n,y:i},h=Mi(r),g=Hm(h);let p=f[g],y=f[h];const v=vi(s,t),k=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const x=g==="y"?"height":"width",_=a.reference[g]-a.floating[x]+k.mainAxis,S=a.reference[g]+a.reference[x]-k.mainAxis;p<_?p=_:p>S&&(p=S)}if(c){var w,M;const x=g==="y"?"width":"height",_=vw.has(On(r)),S=a.reference[h]-a.floating[x]+(_&&((w=o.offset)==null?void 0:w[h])||0)+(_?0:k.crossAxis),N=a.reference[h]+a.reference[x]+(_?0:((M=o.offset)==null?void 0:M[h])||0)-(_?k.crossAxis:0);y<S?y=S:y>N&&(y=N)}return{[g]:p,[h]:y}}}},I3e=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:r,rects:a,platform:o,elements:s}=t,{apply:u=()=>{},...c}=vi(e,t),f=await Wa(t,c),h=On(r),g=ki(r),p=Mi(r)==="y",{width:y,height:v}=a.floating;let k,w;h==="top"||h==="bottom"?(k=h,w=g===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(w=h,k=g==="end"?"top":"bottom");const M=v-f.top-f.bottom,x=y-f.left-f.right,_=wi(v-f[k],M),S=wi(y-f[w],x),N=!t.middlewareData.shift;let T=_,I=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=x),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(T=M),N&&!g){const D=qt(f.left,0),z=qt(f.right,0),H=qt(f.top,0),X=qt(f.bottom,0);p?I=y-2*(D!==0||z!==0?D+z:qt(f.left,f.right)):T=v-2*(H!==0||X!==0?H+X:qt(f.top,f.bottom))}await u({...t,availableWidth:I,availableHeight:T});const L=await o.getDimensions(s.floating);return y!==L.width||v!==L.height?{reset:{rects:!0}}:{}}}};function yd(){return typeof window<"u"}function Oa(e){return Fm(e)?(e.nodeName||"").toLowerCase():"#document"}function zn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $i(e){var t;return(t=(Fm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fm(e){return yd()?e instanceof Node||e instanceof zn(e).Node:!1}function Ci(e){return yd()?e instanceof Element||e instanceof zn(e).Element:!1}function Hi(e){return yd()?e instanceof HTMLElement||e instanceof zn(e).HTMLElement:!1}function kw(e){return!yd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof zn(e).ShadowRoot}const W3e=new Set(["inline","contents"]);function al(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=xi(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!W3e.has(r)}const O3e=new Set(["table","td","th"]);function z3e(e){return O3e.has(Oa(e))}const L3e=[":popover-open",":modal"];function bd(e){return L3e.some(t=>{try{return e.matches(t)}catch{return!1}})}const $3e=["transform","translate","scale","rotate","perspective"],H3e=["transform","translate","scale","rotate","perspective","filter"],R3e=["paint","layout","strict","content"];function Um(e){const t=Ym(),n=Ci(e)?xi(e):e;return $3e.some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||H3e.some(i=>(n.willChange||"").includes(i))||R3e.some(i=>(n.contain||"").includes(i))}function B3e(e){let t=Lr(e);for(;Hi(t)&&!Wo(t);){if(Um(t))return t;if(bd(t))return null;t=Lr(t)}return null}function Ym(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const V3e=new Set(["html","body","#document"]);function Wo(e){return V3e.has(Oa(e))}function xi(e){return zn(e).getComputedStyle(e)}function wd(e){return Ci(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lr(e){if(Oa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kw(e)&&e.host||$i(e);return kw(t)?t.host:t}function Mw(e){const t=Lr(e);return Wo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hi(t)&&al(t)?t:Mw(t)}function Oo(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Mw(e),a=r===((i=e.ownerDocument)==null?void 0:i.body),o=zn(r);if(a){const s=Xm(o);return t.concat(o,o.visualViewport||[],al(r)?r:[],s&&n?Oo(s):[])}return t.concat(r,Oo(r,[],n))}function Xm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cw(e){const t=xi(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=Hi(e),a=r?e.offsetWidth:n,o=r?e.offsetHeight:i,s=hd(n)!==a||hd(i)!==o;return s&&(n=a,i=o),{width:n,height:i,$:s}}function qm(e){return Ci(e)?e:e.contextElement}function zo(e){const t=qm(e);if(!Hi(t))return Li(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:a}=Cw(t);let o=(a?hd(n.width):n.width)/i,s=(a?hd(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const F3e=Li(0);function xw(e){const t=zn(e);return!Ym()||!t.visualViewport?F3e:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function U3e(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==zn(e)?!1:t}function za(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),a=qm(e);let o=Li(1);t&&(i?Ci(i)&&(o=zo(i)):o=zo(e));const s=U3e(a,n,i)?xw(a):Li(0);let u=(r.left+s.x)/o.x,c=(r.top+s.y)/o.y,f=r.width/o.x,h=r.height/o.y;if(a){const g=zn(a),p=i&&Ci(i)?zn(i):i;let y=g,v=Xm(y);for(;v&&i&&p!==y;){const k=zo(v),w=v.getBoundingClientRect(),M=xi(v),x=w.left+(v.clientLeft+parseFloat(M.paddingLeft))*k.x,_=w.top+(v.clientTop+parseFloat(M.paddingTop))*k.y;u*=k.x,c*=k.y,f*=k.x,h*=k.y,u+=x,c+=_,y=zn(v),v=Xm(y)}}return Io({width:f,height:h,x:u,y:c})}function Gm(e,t){const n=wd(e).scrollLeft;return t?t.left+n:za($i(e)).left+n}function Sw(e,t,n){n===void 0&&(n=!1);const i=e.getBoundingClientRect(),r=i.left+t.scrollLeft-(n?0:Gm(e,i)),a=i.top+t.scrollTop;return{x:r,y:a}}function Y3e(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e;const a=r==="fixed",o=$i(i),s=t?bd(t.floating):!1;if(i===o||s&&a)return n;let u={scrollLeft:0,scrollTop:0},c=Li(1);const f=Li(0),h=Hi(i);if((h||!h&&!a)&&((Oa(i)!=="body"||al(o))&&(u=wd(i)),Hi(i))){const p=za(i);c=zo(i),f.x=p.x+i.clientLeft,f.y=p.y+i.clientTop}const g=o&&!h&&!a?Sw(o,u,!0):Li(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+f.x+g.x,y:n.y*c.y-u.scrollTop*c.y+f.y+g.y}}function X3e(e){return Array.from(e.getClientRects())}function q3e(e){const t=$i(e),n=wd(e),i=e.ownerDocument.body,r=qt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=qt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let o=-n.scrollLeft+Gm(e);const s=-n.scrollTop;return xi(i).direction==="rtl"&&(o+=qt(t.clientWidth,i.clientWidth)-r),{width:r,height:a,x:o,y:s}}function G3e(e,t){const n=zn(e),i=$i(e),r=n.visualViewport;let a=i.clientWidth,o=i.clientHeight,s=0,u=0;if(r){a=r.width,o=r.height;const c=Ym();(!c||c&&t==="fixed")&&(s=r.offsetLeft,u=r.offsetTop)}return{width:a,height:o,x:s,y:u}}const K3e=new Set(["absolute","fixed"]);function Q3e(e,t){const n=za(e,!0,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft,a=Hi(e)?zo(e):Li(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,u=r*a.x,c=i*a.y;return{width:o,height:s,x:u,y:c}}function _w(e,t,n){let i;if(t==="viewport")i=G3e(e,n);else if(t==="document")i=q3e($i(e));else if(Ci(t))i=Q3e(t,n);else{const r=xw(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Io(i)}function Tw(e,t){const n=Lr(e);return n===t||!Ci(n)||Wo(n)?!1:xi(n).position==="fixed"||Tw(n,t)}function J3e(e,t){const n=t.get(e);if(n)return n;let i=Oo(e,[],!1).filter(s=>Ci(s)&&Oa(s)!=="body"),r=null;const a=xi(e).position==="fixed";let o=a?Lr(e):e;for(;Ci(o)&&!Wo(o);){const s=xi(o),u=Um(o);!u&&s.position==="fixed"&&(r=null),(a?!u&&!r:!u&&s.position==="static"&&!!r&&K3e.has(r.position)||al(o)&&!u&&Tw(e,o))?i=i.filter(f=>f!==o):r=s,o=Lr(o)}return t.set(e,i),i}function Z3e(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const o=[...n==="clippingAncestors"?bd(t)?[]:J3e(t,this._c):[].concat(n),i],s=o[0],u=o.reduce((c,f)=>{const h=_w(t,f,r);return c.top=qt(h.top,c.top),c.right=wi(h.right,c.right),c.bottom=wi(h.bottom,c.bottom),c.left=qt(h.left,c.left),c},_w(t,s,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function e4e(e){const{width:t,height:n}=Cw(e);return{width:t,height:n}}function t4e(e,t,n){const i=Hi(t),r=$i(t),a=n==="fixed",o=za(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const u=Li(0);function c(){u.x=Gm(r)}if(i||!i&&!a)if((Oa(t)!=="body"||al(r))&&(s=wd(t)),i){const p=za(t,!0,a,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else r&&c();a&&!i&&r&&c();const f=r&&!i&&!a?Sw(r,s):Li(0),h=o.left+s.scrollLeft-u.x-f.x,g=o.top+s.scrollTop-u.y-f.y;return{x:h,y:g,width:o.width,height:o.height}}function Km(e){return xi(e).position==="static"}function Pw(e,t){if(!Hi(e)||xi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return $i(e)===n&&(n=n.ownerDocument.body),n}function Ew(e,t){const n=zn(e);if(bd(e))return n;if(!Hi(e)){let r=Lr(e);for(;r&&!Wo(r);){if(Ci(r)&&!Km(r))return r;r=Lr(r)}return n}let i=Pw(e,t);for(;i&&z3e(i)&&Km(i);)i=Pw(i,t);return i&&Wo(i)&&Km(i)&&!Um(i)?n:i||B3e(e)||n}const n4e=async function(e){const t=this.getOffsetParent||Ew,n=this.getDimensions,i=await n(e.floating);return{reference:t4e(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function i4e(e){return xi(e).direction==="rtl"}const Aw={convertOffsetParentRelativeRectToViewportRelativeRect:Y3e,getDocumentElement:$i,getClippingRect:Z3e,getOffsetParent:Ew,getElementRects:n4e,getClientRects:X3e,getDimensions:e4e,getScale:zo,isElement:Ci,isRTL:i4e};function Dw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function r4e(e,t){let n=null,i;const r=$i(e);function a(){var s;clearTimeout(i),(s=n)==null||s.disconnect(),n=null}function o(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),a();const c=e.getBoundingClientRect(),{left:f,top:h,width:g,height:p}=c;if(s||t(),!g||!p)return;const y=md(h),v=md(r.clientWidth-(f+g)),k=md(r.clientHeight-(h+p)),w=md(f),x={rootMargin:-y+"px "+-v+"px "+-k+"px "+-w+"px",threshold:qt(0,wi(1,u))||1};let _=!0;function S(N){const T=N[0].intersectionRatio;if(T!==u){if(!_)return o();T?o(!1,T):i=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!Dw(c,e.getBoundingClientRect())&&o(),_=!1}try{n=new IntersectionObserver(S,{...x,root:r.ownerDocument})}catch{n=new IntersectionObserver(S,x)}n.observe(e)}return o(!0),a}function Nw(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=i,c=qm(e),f=r||a?[...c?Oo(c):[],...Oo(t)]:[];f.forEach(w=>{r&&w.addEventListener("scroll",n,{passive:!0}),a&&w.addEventListener("resize",n)});const h=c&&s?r4e(c,n):null;let g=-1,p=null;o&&(p=new ResizeObserver(w=>{let[M]=w;M&&M.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let y,v=u?za(e):null;u&&k();function k(){const w=za(e);v&&!Dw(v,w)&&n(),v=w,y=requestAnimationFrame(k)}return n(),()=>{var w;f.forEach(M=>{r&&M.removeEventListener("scroll",n),a&&M.removeEventListener("resize",n)}),h==null||h(),(w=p)==null||w.disconnect(),p=null,u&&cancelAnimationFrame(y)}}const a4e=Wa,jw=D3e,Iw=S3e,o4e=N3e,s4e=_3e,l4e=I3e,u4e=T3e,d4e=C3e,c4e=E3e,f4e=j3e,Ww=(e,t,n)=>{const i=new Map,r={platform:Aw,...n},a={...r.platform,_c:i};return M3e(e,t,{...r,platform:a})};function h4e(e){return e!=null&&typeof e=="object"&&"$el"in e}function Qm(e){if(h4e(e)){const t=e.$el;return Fm(t)&&Oa(t)==="#comment"?null:t}return e}function Lo(e){return typeof e=="function"?e():l.unref(e)}function m4e(e){return{name:"arrow",options:e,fn(t){const n=Qm(Lo(e.element));return n==null?{}:d4e({element:n,padding:e.padding}).fn(t)}}}function Ow(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zw(e,t){const n=Ow(e);return Math.round(t*n)/n}function Lw(e,t,n){n===void 0&&(n={});const i=n.whileElementsMounted,r=l.computed(()=>{var T;return(T=Lo(n.open))!=null?T:!0}),a=l.computed(()=>Lo(n.middleware)),o=l.computed(()=>{var T;return(T=Lo(n.placement))!=null?T:"bottom"}),s=l.computed(()=>{var T;return(T=Lo(n.strategy))!=null?T:"absolute"}),u=l.computed(()=>{var T;return(T=Lo(n.transform))!=null?T:!0}),c=l.computed(()=>Qm(e.value)),f=l.computed(()=>Qm(t.value)),h=l.ref(0),g=l.ref(0),p=l.ref(s.value),y=l.ref(o.value),v=l.shallowRef({}),k=l.ref(!1),w=l.computed(()=>{const T={position:p.value,left:"0",top:"0"};if(!f.value)return T;const I=zw(f.value,h.value),L=zw(f.value,g.value);return u.value?{...T,transform:"translate("+I+"px, "+L+"px)",...Ow(f.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:I+"px",top:L+"px"}});let M;function x(){if(c.value==null||f.value==null)return;const T=r.value;Ww(c.value,f.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(I=>{h.value=I.x,g.value=I.y,p.value=I.strategy,y.value=I.placement,v.value=I.middlewareData,k.value=T!==!1})}function _(){typeof M=="function"&&(M(),M=void 0)}function S(){if(_(),i===void 0){x();return}if(c.value!=null&&f.value!=null){M=i(c.value,f.value,x);return}}function N(){r.value||(k.value=!1)}return l.watch([a,o,s,r],x,{flush:"sync"}),l.watch([c,f],S,{flush:"sync"}),l.watch(r,N,{flush:"sync"}),l.getCurrentScope()&&l.onScopeDispose(_),{x:l.shallowReadonly(h),y:l.shallowReadonly(g),strategy:l.shallowReadonly(p),placement:l.shallowReadonly(y),middlewareData:l.shallowReadonly(v),isPositioned:l.shallowReadonly(k),floatingStyles:w,update:x}}const p4e=me(l.defineComponent({__name:"PopoverWrapper",props:{placement:{default:"bottom-start"},open:{type:Boolean,default:!1}},emits:["unmount-close"],setup(e,{emit:t}){const n=e,i=t,r=l.ref(null),a=l.ref(null),o=l.ref(null),{floatingStyles:s}=Lw(a,o,{middleware:[jw(10),Iw({crossAxis:!0,allowedPlacements:["top-start","bottom-start"]})],placement:n.placement,whileElementsMounted:Nw}),u=()=>{i("unmount-close")},c=f=>{r.value&&!r.value.contains(f.target)&&u()};return l.onBeforeUnmount(()=>{document.removeEventListener("click",c)}),l.onMounted(()=>{document.addEventListener("click",c)}),(f,h)=>(l.openBlock(),l.createElementBlock("div",{class:"popover-wrapper",ref_key:"popoverWrapper",ref:r},[l.createElementVNode("div",{class:"popover-trigger",ref_key:"popoverTrigger",ref:a},[l.renderSlot(f.$slots,"trigger",{},void 0,!0)],512),n.open?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"popoverContent",ref:o,class:l.normalizeClass(["popover-content",[`popover-${e.placement}`,{"popover-show":n.open}]]),style:l.normalizeStyle(l.unref(s))},[l.renderSlot(f.$slots,"default",{},void 0,!0)],6)):l.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-de3b58b0"]]),$w=e=>e instanceof Date&&!isNaN(e.getTime()),vd=e=>{const t=$w(e)&&e!==null?e:new Date;return new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999))},Hw=e=>{const t=$w(e)&&e!==null?e:new Date,n={year:t.getFullYear(),month:t.getMonth(),day:t.getDate()};return new Date(Date.UTC(n.year,n.month,n.day))},g4e=(e,t)=>{if(!e)return"";t!=="ru-RU"&&(t="en-US");const n=new Date(e),i=cd(t),r=n.getDate().toString().padStart(2,"0"),a=n.getFullYear().toString();return`${i[n.getMonth()]} ${r}, ${a}`},y4e=["data-testid"],b4e=[".date",".minDate",".maxDate","locale","data-testid"],Jm=l.defineComponent({__name:"DatePicker",props:l.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePicker"}},{modelValue:{},modelModifiers:{}}),emits:l.mergeModels(["clear","change"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const i=e,r=l.reactive({isActive:!1,isOpen:{months:!1,years:!1},isNotClear:!0,startDate:null,endDate:null}),a=n,o=l.useModel(e,"modelValue"),s=()=>{r.isNotClear=!1,o.value=null,a("clear"),setTimeout(()=>r.isNotClear=!0,1),u({detail:{date:null}})},u=({detail:w})=>{w&&(o.value=w.date,r.isActive=!1,a("change",w.date))},c=()=>{r.isOpen.months=!0},f=()=>{r.isOpen.years=!0},h=()=>{r.isOpen.months=!1},g=()=>{r.isOpen.years=!1},p=()=>{r.isActive=!1,h(),g()};l.watchEffect(()=>r.startDate=i.startDate??null),l.watchEffect(()=>r.endDate=i.endDate??null);const y=()=>{const w=r.startDate??new Date;if(i.startDate){const M=o.value??new Date;if(w.valueOf()<=M.valueOf())return w;if(w!=null)return w}return null},v=()=>{const w=r.endDate??new Date;if(i.endDate){const M=o.value??new Date;if(w.valueOf()>=M.valueOf())return w;if(w!=null)return w}return null},k=()=>{r.isActive=!0};return l.watch(()=>o.value,()=>{o.value||(r.isNotClear=!1,o.value=null,setTimeout(()=>r.isNotClear=!0,1))}),t({clearChoose:s}),(w,M)=>(l.openBlock(),l.createElementBlock("div",{class:"date-picker-yui-kit__wrapper","data-testid":`${i.dataTestid}-Wrapper`},[l.createVNode(p4e,{open:!i.disabled&&r.isActive,onUnmountClose:p},{trigger:l.withCtx(()=>[l.createVNode(f3e,{onClick:k,onClear:s,"is-active":r.isActive,"is-small":i.isSmall,"is-range":i.isRange,disabled:i.disabled,"data-testid":`${i.dataTestid}-Choose`,value:l.unref(g4e)(o.value||null,i.locale)},null,8,["is-active","is-small","is-range","disabled","data-testid","value"])]),default:l.withCtx(()=>[l.createElementVNode("col-cal",{".date":o.value,".minDate":y(),".maxDate":v(),locale:i.locale??"ru-RU","data-testid":`${i.dataTestid}-Component`,onShowMonths:c,onShowYears:f,onHideMonths:h,onHideYears:g,onChangeDate:u,class:"date-picker-yui-kit"},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Object.keys(r.isOpen),x=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:x},[r.isOpen[x]?(l.openBlock(),l.createBlock(we,{key:0,name:l.unref(se).chevronUp,width:16,height:16,class:"open-popup",slot:`${x}-popup-icon`},null,8,["name","slot"])):(l.openBlock(),l.createBlock(we,{key:1,name:l.unref(se).chevronDown,width:16,height:16,slot:`${x}-popup-icon`},null,8,["name","slot"]))],64))),128)),l.createVNode(we,{slot:"icon-left-button",name:l.unref(se).chevronLeft,width:16,height:16},null,8,["name"]),l.createVNode(we,{slot:"icon-right-button",name:l.unref(se).chevronRight,width:16,height:16},null,8,["name"]),l.createVNode(we,{slot:"years-icon-left",name:l.unref(se).chevronLeft,width:16,height:16},null,8,["name"]),l.createVNode(we,{slot:"years-icon-right",name:l.unref(se).chevronRight,width:16,height:16},null,8,["name"])],40,b4e)]),_:1},8,["open"])],8,y4e))}});var La=(e=>(e.start="start",e.end="end",e))(La||{});const w4e=["data-testid"],v4e=["data-testid"],k4e=me(l.defineComponent({__name:"DatePickerRange",props:l.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerRange"}},{startDate:{},startDateModifiers:{},endDate:{},endDateModifiers:{}}),emits:l.mergeModels(["change"],["update:startDate","update:endDate"]),setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.reactive({date:{start:null,end:null},isActive:!1}),o=l.useModel(e,"startDate"),s=l.useModel(e,"endDate"),u=(g,p)=>{p===La.start&&(a.date[p]=g),p===La.end&&(a.date[p]=i.toLastTime&&g!==null?vd(g):g),r("change",a.date)},c=g=>{a.date[g]=null},f=()=>{Object.keys(a.date).forEach(g=>{a.date[g]=null})},h=()=>{(o.value||s.value)&&(a.date={start:o.value,end:i.toLastTime?vd(s.value):s.value})};return l.watch([()=>o.value,()=>s.value],()=>{h()}),l.onMounted(()=>{h()}),t({clear:f}),(g,p)=>{var y,v;return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["date-picker-yui-kit__header",{"date-disable-yui-kit":i.disabled},{"date-active-yui-kit":a.isActive}]),"data-testid":`${i.dataTestid}-Header`},[l.createVNode(Jm,{modelValue:a.date.start,"onUpdate:modelValue":p[0]||(p[0]=k=>a.date.start=k),locale:i.locale,"is-range":"",disabled:i.disabled,"end-date":(y=a.date)==null?void 0:y.end,onChange:p[1]||(p[1]=k=>u(k,l.unref(La).start)),onClear:p[2]||(p[2]=k=>c(l.unref(La).start)),"data-testid":`${i.dataTestid}-Component-Start`},null,8,["modelValue","locale","disabled","end-date","data-testid"]),l.createElementVNode("div",{class:"date-picker-yui-kit__header__dash","data-testid":`${i.dataTestid}-Header-Dash`},null,8,v4e),l.createVNode(Jm,{modelValue:a.date.end,"onUpdate:modelValue":p[3]||(p[3]=k=>a.date.end=k),locale:i.locale,"is-range":"",disabled:i.disabled,"start-date":(v=a.date)==null?void 0:v.start,onChange:p[4]||(p[4]=k=>u(k,l.unref(La).end)),onClear:p[5]||(p[5]=k=>c(l.unref(La).end)),"data-testid":`${i.dataTestid}-Component-End`},null,8,["modelValue","locale","disabled","start-date","data-testid"])],10,w4e)}}}),[["__scopeId","data-v-cf826676"]]),Zm=l.defineComponent({__name:"Calendar",props:{range:{},locale:{},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"Calendar"}},emits:["change","click"],setup(e,{emit:t}){const n=e,i=l.reactive({date:null,dateObject:{start:null,end:null}}),r=t,a=l.ref(),o=u=>{r("change",u)};l.watchEffect(()=>i.date=n.setDate||null);const s=()=>{var u,c;return{start:n.fromTodayTime?new Date(Date.now()):((u=n.range)==null?void 0:u.start)??null,end:((c=n.range)==null?void 0:c.end)??null}};return l.watch([()=>{var u;return(u=n.range)==null?void 0:u.start},()=>{var u;return(u=n.range)==null?void 0:u.end}],()=>{var u,c,f;i.dateObject=s(),((u=n.range)==null?void 0:u.start)===null&&((c=n.range)==null?void 0:c.end)===null&&((f=a.value)==null||f.clear())}),l.onMounted(()=>{if(n.isRange){i.dateObject=s();return}n.setDate&&(i.date=n.setDate??null)}),(u,c)=>n.isRange?(l.openBlock(),l.createBlock(k4e,{key:0,ref_key:"datePickerRangeRef",ref:a,"to-last-time":n.toLastTime,"start-date":i.dateObject.start,"onUpdate:startDate":c[0]||(c[0]=f=>i.dateObject.start=f),"end-date":i.dateObject.end,"onUpdate:endDate":c[1]||(c[1]=f=>i.dateObject.end=f),disabled:n.disabled,locale:n.locale,onClick:c[2]||(c[2]=f=>r("click")),onChange:o,"data-testid":`${n.dataTestid}-DataPickerRange`},null,8,["to-last-time","start-date","end-date","disabled","locale","data-testid"])):(l.openBlock(),l.createBlock(Jm,{key:1,modelValue:i.date,"onUpdate:modelValue":c[3]||(c[3]=f=>i.date=f),disabled:n.disabled,locale:n.locale,"is-small":n.isSmall,"data-testid":`${n.dataTestid}-DataPicker`,onClick:c[4]||(c[4]=f=>r("click")),onChange:o},null,8,["modelValue","disabled","locale","is-small","data-testid"]))}});function Rw(e,t){var n;const i=l.shallowRef();return l.watchEffect(()=>{i.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!=null?n:"sync"}),l.readonly(i)}function e1(e,t){let n,i,r;const a=l.ref(!0),o=()=>{a.value=!0,r()};l.watch(e,o,{flush:"sync"});const s=typeof t=="function"?t:t.get,u=typeof t=="function"?void 0:t.set,c=l.customRef((f,h)=>(i=f,r=h,{get(){return a.value&&(n=s(n),a.value=!1),i(),n},set(g){u==null||u(g)}}));return Object.isExtensible(c)&&(c.trigger=o),c}function Oe(e){return l.getCurrentScope()?(l.onScopeDispose(e),!0):!1}function dn(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const a=()=>t(r);return Oe(a),{off:a}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(a=>a(...r)))}}function M4e(e){let t=!1,n;const i=l.effectScope(!0);return(...r)=>(t||(n=i.run(()=>e(...r)),t=!0),n)}const $o=new WeakMap,Bw=(e,t)=>{var n;const i=(n=l.getCurrentInstance())==null?void 0:n.proxy;if(i==null)throw new Error("provideLocal must be called in setup");$o.has(i)||$o.set(i,Object.create(null));const r=$o.get(i);r[e]=t,l.provide(e,t)},Vw=(...e)=>{var t;const n=e[0],i=(t=l.getCurrentInstance())==null?void 0:t.proxy;if(i==null)throw new Error("injectLocal must be called in setup");return $o.has(i)&&n in $o.get(i)?$o.get(i)[n]:l.inject(...e)};function C4e(e,t){const n=(t==null?void 0:t.injectionKey)||Symbol(e.name||"InjectionState"),i=t==null?void 0:t.defaultValue;return[(...o)=>{const s=e(...o);return Bw(n,s),s},()=>Vw(n,i)]}function x4e(e){let t=0,n,i;const r=()=>{t-=1,i&&t<=0&&(i.stop(),n=void 0,i=void 0)};return(...a)=>(t+=1,i||(i=l.effectScope(!0),n=i.run(()=>e(...a))),Oe(r),n)}function Fw(e,t,{enumerable:n=!1,unwrap:i=!0}={}){for(const[r,a]of Object.entries(t))r!=="value"&&(l.isRef(a)&&i?Object.defineProperty(e,r,{get(){return a.value},set(o){a.value=o},enumerable:n}):Object.defineProperty(e,r,{value:a,enumerable:n}));return e}function S4e(e,t){return t==null?l.unref(e):l.unref(e)[t]}function _4e(e){return l.unref(e)!=null}function Uw(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let i=0;return{next:()=>({value:t[i++],done:i>t.length})}}}),n}else return Object.assign([...t],e)}function B(e){return typeof e=="function"?e():l.unref(e)}const T4e=B;function t1(e,t){const n=(t==null?void 0:t.computedGetter)===!1?l.unref:B;return function(...i){return l.computed(()=>e.apply(this,i.map(r=>n(r))))}}function P4e(e,t={}){let n=[],i;if(Array.isArray(t))n=t;else{i=t;const{includeOwnProperties:r=!0}=t;n.push(...Object.keys(e)),r&&n.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(n.map(r=>{const a=e[r];return[r,typeof a=="function"?t1(a.bind(e),i):a]}))}function Yw(e){if(!l.isRef(e))return l.reactive(e);const t=new Proxy({},{get(n,i,r){return l.unref(Reflect.get(e.value,i,r))},set(n,i,r){return l.isRef(e.value[i])&&!l.isRef(r)?e.value[i].value=r:e.value[i]=r,!0},deleteProperty(n,i){return Reflect.deleteProperty(e.value,i)},has(n,i){return Reflect.has(e.value,i)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return l.reactive(t)}function n1(e){return Yw(l.computed(e))}function E4e(e,...t){const n=t.flat(),i=n[0];return n1(()=>Object.fromEntries(typeof i=="function"?Object.entries(l.toRefs(e)).filter(([r,a])=>!i(B(a),r)):Object.entries(l.toRefs(e)).filter(r=>!n.includes(r[0]))))}const Nt=typeof window<"u"&&typeof document<"u",Xw=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,qw=e=>typeof e<"u",kd=e=>e!=null,A4e=(e,...t)=>{e||console.warn(...t)},D4e=Object.prototype.toString,ol=e=>D4e.call(e)==="[object Object]",N4e=()=>Date.now(),$a=()=>+Date.now(),Md=(e,t,n)=>Math.min(n,Math.max(t,e)),Ve=()=>{},j4e=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),Gw=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Cd=I4e();function I4e(){var e,t;return Nt&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ha(e,t){function n(...i){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(r).catch(a)})}return n}const sl=e=>e();function xd(e,t={}){let n,i,r=Ve;const a=s=>{clearTimeout(s),r(),r=Ve};return s=>{const u=B(e),c=B(t.maxWait);return n&&a(n),u<=0||c!==void 0&&c<=0?(i&&(a(i),i=null),Promise.resolve(s())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,c&&!i&&(i=setTimeout(()=>{n&&a(n),i=null,f(s())},c)),n=setTimeout(()=>{i&&a(i),i=null,f(s())},u)})}}function ll(...e){let t=0,n,i=!0,r=Ve,a,o,s,u,c;!l.isRef(e[0])&&typeof e[0]=="object"?{delay:o,trailing:s=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[o,s=!0,u=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Ve)};return g=>{const p=B(o),y=Date.now()-t,v=()=>a=g();return f(),p<=0?(t=Date.now(),v()):(y>p&&(u||!i)?(t=Date.now(),v()):s&&(a=new Promise((k,w)=>{r=c?w:k,n=setTimeout(()=>{t=Date.now(),i=!0,k(v()),f()},Math.max(0,p-y))})),!u&&!n&&(n=setTimeout(()=>i=!0,p)),i=!1,a)}}function i1(e=sl){const t=l.ref(!0);function n(){t.value=!1}function i(){t.value=!0}const r=(...a)=>{t.value&&e(...a)};return{isActive:l.readonly(t),pause:n,resume:i,eventFilter:r}}const W4e={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Kw(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const O4e=/\B([A-Z])/g,z4e=Kw(e=>e.replace(O4e,"-$1").toLowerCase()),L4e=/-(\w)/g,Qw=Kw(e=>e.replace(L4e,(t,n)=>n?n.toUpperCase():""));function ul(e,t=!1,n="Timeout"){return new Promise((i,r)=>{setTimeout(t?()=>r(n):i,e)})}function r1(e){return e}function Jw(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const i=t;t=void 0,i&&await i},n}function $4e(e){return e()}function a1(e,...t){return t.some(n=>n in e)}function Zw(e,t){var n;if(typeof e=="number")return e+t;const i=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",r=e.slice(i.length),a=Number.parseFloat(i)+t;return Number.isNaN(a)?e:a+r}function ev(e,t,n=!1){return t.reduce((i,r)=>(r in e&&(!n||e[r]!==void 0)&&(i[r]=e[r]),i),{})}function tv(e,t,n=!1){return Object.fromEntries(Object.entries(e).filter(([i,r])=>(!n||r!==void 0)&&!t.includes(i)))}function nv(e){return Object.entries(e)}function dl(e){return e||l.getCurrentInstance()}function Mt(...e){if(e.length!==1)return l.toRef(...e);const t=e[0];return typeof t=="function"?l.readonly(l.customRef(()=>({get:t,set:Ve}))):l.ref(t)}const H4e=Mt;function R4e(e,...t){const n=t.flat(),i=n[0];return n1(()=>Object.fromEntries(typeof i=="function"?Object.entries(l.toRefs(e)).filter(([r,a])=>i(B(a),r)):n.map(r=>[r,Mt(e,r)])))}function iv(e,t=1e4){return l.customRef((n,i)=>{let r=B(e),a;const o=()=>setTimeout(()=>{r=B(e),i()},B(t));return Oe(()=>{clearTimeout(a)}),{get(){return n(),r},set(s){r=s,i(),clearTimeout(a),a=o()}}})}function Sd(e,t=200,n={}){return Ha(xd(t,n),e)}function o1(e,t=200,n={}){const i=l.ref(e.value),r=Sd(()=>{i.value=e.value},t,n);return l.watch(e,()=>r()),i}function B4e(e,t){return l.computed({get(){var n;return(n=e.value)!=null?n:t},set(n){e.value=n}})}function s1(e,t=200,n=!1,i=!0,r=!1){return Ha(ll(t,n,i,r),e)}function l1(e,t=200,n=!0,i=!0){if(t<=0)return e;const r=l.ref(e.value),a=s1(()=>{r.value=e.value},t,n,i);return l.watch(e,()=>a()),r}function rv(e,t={}){let n=e,i,r;const a=l.customRef((g,p)=>(i=g,r=p,{get(){return o()},set(y){s(y)}}));function o(g=!0){return g&&i(),n}function s(g,p=!0){var y,v;if(g===n)return;const k=n;((y=t.onBeforeChange)==null?void 0:y.call(t,g,k))!==!1&&(n=g,(v=t.onChanged)==null||v.call(t,g,k),p&&r())}return Fw(a,{get:o,set:s,untrackedGet:()=>o(!1),silentSet:g=>s(g,!1),peek:()=>o(!1),lay:g=>s(g,!1)},{enumerable:!0})}const V4e=rv;function F4e(...e){if(e.length===2){const[t,n]=e;t.value=n}if(e.length===3){const[t,n,i]=e;t[n]=i}}function Ho(e,t,n={}){const{eventFilter:i=sl,...r}=n;return l.watch(e,Ha(i,t),r)}function Ro(e,t,n={}){const{eventFilter:i,...r}=n,{eventFilter:a,pause:o,resume:s,isActive:u}=i1(i);return{stop:Ho(e,t,{...r,eventFilter:a}),pause:o,resume:s,isActive:u}}function u1(e,t,...[n]){const{flush:i="sync",deep:r=!1,immediate:a=!0,direction:o="both",transform:s={}}=n||{},u=[],c="ltr"in s&&s.ltr||(g=>g),f="rtl"in s&&s.rtl||(g=>g);return(o==="both"||o==="ltr")&&u.push(Ro(e,g=>{u.forEach(p=>p.pause()),t.value=c(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),(o==="both"||o==="rtl")&&u.push(Ro(t,g=>{u.forEach(p=>p.pause()),e.value=f(g),u.forEach(p=>p.resume())},{flush:i,deep:r,immediate:a})),()=>{u.forEach(g=>g.stop())}}function U4e(e,t,n={}){const{flush:i="sync",deep:r=!1,immediate:a=!0}=n;return Array.isArray(t)||(t=[t]),l.watch(e,o=>t.forEach(s=>s.value=o),{flush:i,deep:r,immediate:a})}function d1(e,t={}){if(!l.isRef(e))return l.toRefs(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const i in e.value)n[i]=l.customRef(()=>({get(){return e.value[i]},set(r){var a;if((a=B(t.replaceRef))!=null?a:!0)if(Array.isArray(e.value)){const s=[...e.value];s[i]=r,e.value=s}else{const s={...e.value,[i]:r};Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}else e.value[i]=r}}));return n}function Y4e(e,t=!0,n){dl(n)?l.onBeforeMount(e,n):t?e():l.nextTick(e)}function av(e,t){dl(t)&&l.onBeforeUnmount(e,t)}function jt(e,t=!0,n){dl()?l.onMounted(e,n):t?e():l.nextTick(e)}function ov(e,t){dl(t)&&l.onUnmounted(e,t)}function c1(e,t=!1){function n(h,{flush:g="sync",deep:p=!1,timeout:y,throwOnTimeout:v}={}){let k=null;const M=[new Promise(x=>{k=l.watch(e,_=>{h(_)!==t&&(k?k():l.nextTick(()=>k==null?void 0:k()),x(_))},{flush:g,deep:p,immediate:!0})})];return y!=null&&M.push(ul(y,v).then(()=>B(e)).finally(()=>k==null?void 0:k())),Promise.race(M)}function i(h,g){if(!l.isRef(h))return n(_=>_===h,g);const{flush:p="sync",deep:y=!1,timeout:v,throwOnTimeout:k}=g??{};let w=null;const x=[new Promise(_=>{w=l.watch([e,h],([S,N])=>{t!==(S===N)&&(w?w():l.nextTick(()=>w==null?void 0:w()),_(S))},{flush:p,deep:y,immediate:!0})})];return v!=null&&x.push(ul(v,k).then(()=>B(e)).finally(()=>(w==null||w(),B(e)))),Promise.race(x)}function r(h){return n(g=>!!g,h)}function a(h){return i(null,h)}function o(h){return i(void 0,h)}function s(h){return n(Number.isNaN,h)}function u(h,g){return n(p=>{const y=Array.from(p);return y.includes(h)||y.includes(B(h))},g)}function c(h){return f(1,h)}function f(h=1,g){let p=-1;return n(()=>(p+=1,p>=h),g)}return Array.isArray(B(e))?{toMatch:n,toContains:u,changed:c,changedTimes:f,get not(){return c1(e,!t)}}:{toMatch:n,toBe:i,toBeTruthy:r,toBeNull:a,toBeNaN:s,toBeUndefined:o,changed:c,changedTimes:f,get not(){return c1(e,!t)}}}function cl(e){return c1(e)}function X4e(e,t){return e===t}function q4e(...e){var t;const n=e[0],i=e[1];let r=(t=e[2])!=null?t:X4e;if(typeof r=="string"){const a=r;r=(o,s)=>o[a]===s[a]}return l.computed(()=>B(n).filter(a=>B(i).findIndex(o=>r(a,o))===-1))}function G4e(e,t){return l.computed(()=>B(e).every((n,i,r)=>t(B(n),i,r)))}function K4e(e,t){return l.computed(()=>B(e).map(n=>B(n)).filter(t))}function Q4e(e,t){return l.computed(()=>B(B(e).find((n,i,r)=>t(B(n),i,r))))}function J4e(e,t){return l.computed(()=>B(e).findIndex((n,i,r)=>t(B(n),i,r)))}function Z4e(e,t){let n=e.length;for(;n-- >0;)if(t(e[n],n,e))return e[n]}function eke(e,t){return l.computed(()=>B(Array.prototype.findLast?B(e).findLast((n,i,r)=>t(B(n),i,r)):Z4e(B(e),(n,i,r)=>t(B(n),i,r))))}function tke(e){return ol(e)&&a1(e,"formIndex","comparator")}function nke(...e){var t;const n=e[0],i=e[1];let r=e[2],a=0;if(tke(r)&&(a=(t=r.fromIndex)!=null?t:0,r=r.comparator),typeof r=="string"){const o=r;r=(s,u)=>s[o]===B(u)}return r=r??((o,s)=>o===B(s)),l.computed(()=>B(n).slice(a).some((o,s,u)=>r(B(o),B(i),s,B(u))))}function ike(e,t){return l.computed(()=>B(e).map(n=>B(n)).join(B(t)))}function rke(e,t){return l.computed(()=>B(e).map(n=>B(n)).map(t))}function ake(e,t,...n){const i=(r,a,o)=>t(B(r),B(a),o);return l.computed(()=>{const r=B(e);return n.length?r.reduce(i,B(n[0])):r.reduce(i)})}function oke(e,t){return l.computed(()=>B(e).some((n,i,r)=>t(B(n),i,r)))}function ske(e){return Array.from(new Set(e))}function lke(e,t){return e.reduce((n,i)=>(n.some(r=>t(i,r,e))||n.push(i),n),[])}function uke(e,t){return l.computed(()=>{const n=B(e).map(i=>B(i));return t?lke(n,t):ske(n)})}function dke(e=0,t={}){let n=l.unref(e);const i=l.ref(e),{max:r=Number.POSITIVE_INFINITY,min:a=Number.NEGATIVE_INFINITY}=t,o=(h=1)=>i.value=Math.max(Math.min(r,i.value+h),a),s=(h=1)=>i.value=Math.min(Math.max(a,i.value-h),r),u=()=>i.value,c=h=>i.value=Math.max(a,Math.min(r,h));return{count:i,inc:o,dec:s,get:u,set:c,reset:(h=n)=>(n=h,c(h))}}const cke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,fke=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function hke(e,t,n,i){let r=e<12?"AM":"PM";return i&&(r=r.split("").reduce((a,o)=>a+=`${o}.`,"")),n?r.toLowerCase():r}function Ra(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function sv(e,t,n={}){var i;const r=e.getFullYear(),a=e.getMonth(),o=e.getDate(),s=e.getHours(),u=e.getMinutes(),c=e.getSeconds(),f=e.getMilliseconds(),h=e.getDay(),g=(i=n.customMeridiem)!=null?i:hke,p={Yo:()=>Ra(r),YY:()=>String(r).slice(-2),YYYY:()=>r,M:()=>a+1,Mo:()=>Ra(a+1),MM:()=>`${a+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(B(n.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(B(n.locales),{month:"long"}),D:()=>String(o),Do:()=>Ra(o),DD:()=>`${o}`.padStart(2,"0"),H:()=>String(s),Ho:()=>Ra(s),HH:()=>`${s}`.padStart(2,"0"),h:()=>`${s%12||12}`.padStart(1,"0"),ho:()=>Ra(s%12||12),hh:()=>`${s%12||12}`.padStart(2,"0"),m:()=>String(u),mo:()=>Ra(u),mm:()=>`${u}`.padStart(2,"0"),s:()=>String(c),so:()=>Ra(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${f}`.padStart(3,"0"),d:()=>h,dd:()=>e.toLocaleDateString(B(n.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(B(n.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(B(n.locales),{weekday:"long"}),A:()=>g(s,u),AA:()=>g(s,u,!1,!0),a:()=>g(s,u,!0),aa:()=>g(s,u,!0,!0)};return t.replace(fke,(y,v)=>{var k,w;return(w=v??((k=p[y])==null?void 0:k.call(p)))!=null?w:y})}function lv(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(cke);if(t){const n=t[2]-1||0,i=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,i)}}return new Date(e)}function mke(e,t="HH:mm:ss",n={}){return l.computed(()=>sv(lv(B(e)),B(t),n))}function $r(e,t=1e3,n={}){const{immediate:i=!0,immediateCallback:r=!1}=n;let a=null;const o=l.ref(!1);function s(){a&&(clearInterval(a),a=null)}function u(){o.value=!1,s()}function c(){const f=B(t);f<=0||(o.value=!0,r&&e(),s(),a=setInterval(e,f))}if(i&&Nt&&c(),l.isRef(t)||typeof t=="function"){const f=l.watch(t,()=>{o.value&&Nt&&c()});Oe(f)}return Oe(u),{isActive:o,pause:u,resume:c}}function pke(e=1e3,t={}){const{controls:n=!1,immediate:i=!0,callback:r}=t,a=l.ref(0),o=()=>a.value+=1,s=()=>{a.value=0},u=$r(r?()=>{o(),r(a.value)}:o,e,{immediate:i});return n?{counter:a,reset:s,...u}:a}function gke(e,t={}){var n;const i=l.ref((n=t.initialValue)!=null?n:null);return l.watch(e,()=>i.value=$a(),t),i}function Bo(e,t,n={}){const{immediate:i=!0}=n,r=l.ref(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,o()}function u(...c){o(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},B(t))}return i&&(r.value=!0,Nt&&u()),Oe(s),{isPending:l.readonly(r),start:u,stop:s}}function yke(e=1e3,t={}){const{controls:n=!1,callback:i}=t,r=Bo(i??Ve,e,t),a=l.computed(()=>!r.isPending.value);return n?{ready:a,...r}:a}function bke(e,t={}){const{method:n="parseFloat",radix:i,nanToZero:r}=t;return l.computed(()=>{let a=B(e);return typeof a=="string"&&(a=Number[n](a,i)),r&&Number.isNaN(a)&&(a=0),a})}function wke(e){return l.computed(()=>`${B(e)}`)}function vke(e=!1,t={}){const{truthyValue:n=!0,falsyValue:i=!1}=t,r=l.isRef(e),a=l.ref(e);function o(s){if(arguments.length)return a.value=s,a.value;{const u=B(n);return a.value=a.value===u?B(i):u,a.value}}return r?o:[a,o]}function kke(e,t,n){let i=n!=null&&n.immediate?[]:[...e instanceof Function?e():Array.isArray(e)?e:B(e)];return l.watch(e,(r,a,o)=>{const s=Array.from({length:i.length}),u=[];for(const f of r){let h=!1;for(let g=0;g<i.length;g++)if(!s[g]&&f===i[g]){s[g]=!0,h=!0;break}h||u.push(f)}const c=i.filter((f,h)=>!s[h]);t(r,i,u,c,o),i=[...r]},n)}function Mke(e,t,n){const{count:i,...r}=n,a=l.ref(0),o=Ho(e,(...s)=>{a.value+=1,a.value>=B(i)&&l.nextTick(()=>o()),t(...s)},r);return{count:a,stop:o}}function uv(e,t,n={}){const{debounce:i=0,maxWait:r=void 0,...a}=n;return Ho(e,t,{...a,eventFilter:xd(i,{maxWait:r})})}function Cke(e,t,n){return l.watch(e,t,{...n,deep:!0})}function Vo(e,t,n={}){const{eventFilter:i=sl,...r}=n,a=Ha(i,t);let o,s,u;if(r.flush==="sync"){const c=l.ref(!1);s=()=>{},o=f=>{c.value=!0,f(),c.value=!1},u=l.watch(e,(...f)=>{c.value||a(...f)},r)}else{const c=[],f=l.ref(0),h=l.ref(0);s=()=>{f.value=h.value},c.push(l.watch(e,()=>{h.value++},{...r,flush:"sync"})),o=g=>{const p=h.value;g(),f.value+=h.value-p},c.push(l.watch(e,(...g)=>{const p=f.value>0&&f.value===h.value;f.value=0,h.value=0,!p&&a(...g)},r)),u=()=>{c.forEach(g=>g())}}return{stop:u,ignoreUpdates:o,ignorePrevAsyncUpdates:s}}function xke(e,t,n){return l.watch(e,t,{...n,immediate:!0})}function Ske(e,t,n){const i=l.watch(e,(...r)=>(l.nextTick(()=>i()),t(...r)),n);return i}function dv(e,t,n={}){const{throttle:i=0,trailing:r=!0,leading:a=!0,...o}=n;return Ho(e,t,{...o,eventFilter:ll(i,r,a)})}function _ke(e,t,n={}){let i;function r(){if(!i)return;const f=i;i=void 0,f()}function a(f){i=f}const o=(f,h)=>(r(),t(f,h,a)),s=Vo(e,o,n),{ignoreUpdates:u}=s;return{...s,trigger:()=>{let f;return u(()=>{f=o(Tke(e),Pke(e))}),f}}}function Tke(e){return l.isReactive(e)?e:Array.isArray(e)?e.map(t=>B(t)):B(e)}function Pke(e){return Array.isArray(e)?e.map(()=>{}):void 0}function cv(e,t,n){const i=l.watch(e,(r,a,o)=>{r&&(n!=null&&n.once&&l.nextTick(()=>i()),t(r,a,o))},{...n,once:!1});return i}function fv(e,t,n){let i;l.isRef(n)?i={evaluating:n}:i=n||{};const{lazy:r=!1,evaluating:a=void 0,shallow:o=!0,onError:s=Ve}=i,u=l.ref(!r),c=o?l.shallowRef(t):l.ref(t);let f=0;return l.watchEffect(async h=>{if(!u.value)return;f++;const g=f;let p=!1;a&&Promise.resolve().then(()=>{a.value=!0});try{const y=await e(v=>{h(()=>{a&&(a.value=!1),p||v()})});g===f&&(c.value=y)}catch(y){s(y)}finally{a&&g===f&&(a.value=!1),p=!0}}),r?l.computed(()=>(u.value=!0,c.value)):c}function Eke(e,t,n,i){let r=l.inject(e);return n&&(r=l.inject(e,n)),i&&(r=l.inject(e,n,i)),typeof t=="function"?l.computed(a=>t(r,a)):l.computed({get:a=>t.get(r,a),set:t.set})}function Ake(e={}){const{inheritAttrs:t=!0}=e,n=l.shallowRef(),i=l.defineComponent({setup(a,{slots:o}){return()=>{n.value=o.default}}}),r=l.defineComponent({inheritAttrs:t,setup(a,{attrs:o,slots:s}){return()=>{var u;if(!n.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const c=(u=n.value)==null?void 0:u.call(n,{...Dke(o),$slots:s});return t&&(c==null?void 0:c.length)===1?c[0]:c}}});return Uw({define:i,reuse:r},[i,r])}function Dke(e){const t={};for(const n in e)t[Qw(n)]=e[n];return t}function Nke(e={}){let t=0;const n=l.ref([]);function i(...o){const s=l.shallowReactive({key:t++,args:o,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(s),s.promise=new Promise((u,c)=>{s.resolve=f=>(s.isResolving=!0,u(f)),s.reject=c}).finally(()=>{s.promise=void 0;const u=n.value.indexOf(s);u!==-1&&n.value.splice(u,1)}),s.promise}function r(...o){return e.singleton&&n.value.length>0?n.value[0].promise:i(...o)}const a=l.defineComponent((o,{slots:s})=>{const u=()=>n.value.map(c=>{var f;return l.h(l.Fragment,{key:c.key},(f=s.default)==null?void 0:f.call(s,c))});return e.transition?()=>l.h(l.TransitionGroup,e.transition,u):u});return a.start=r,a}function jke(e){return function(...t){return e.apply(this,t.map(n=>B(n)))}}function Ie(e){var t;const n=B(e);return(t=n==null?void 0:n.$el)!=null?t:n}const pe=Nt?window:void 0,cn=Nt?window.document:void 0,Cn=Nt?window.navigator:void 0,Ike=Nt?window.location:void 0;function K(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,r]=e,t=pe):[t,n,i,r]=e,!t)return Ve;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],o=()=>{a.forEach(f=>f()),a.length=0},s=(f,h,g,p)=>(f.addEventListener(h,g,p),()=>f.removeEventListener(h,g,p)),u=l.watch(()=>[Ie(t),B(r)],([f,h])=>{if(o(),!f)return;const g=ol(h)?{...h}:h;a.push(...n.flatMap(p=>i.map(y=>s(f,p,y,g))))},{immediate:!0,flush:"post"}),c=()=>{u(),o()};return Oe(c),c}let hv=!1;function Wke(e,t,n={}){const{window:i=pe,ignore:r=[],capture:a=!0,detectIframe:o=!1}=n;if(!i)return Ve;Cd&&!hv&&(hv=!0,Array.from(i.document.body.children).forEach(g=>g.addEventListener("click",Ve)),i.document.documentElement.addEventListener("click",Ve));let s=!0;const u=g=>r.some(p=>{if(typeof p=="string")return Array.from(i.document.querySelectorAll(p)).some(y=>y===g.target||g.composedPath().includes(y));{const y=Ie(p);return y&&(g.target===y||g.composedPath().includes(y))}}),f=[K(i,"click",g=>{const p=Ie(e);if(!(!p||p===g.target||g.composedPath().includes(p))){if(g.detail===0&&(s=!u(g)),!s){s=!0;return}t(g)}},{passive:!0,capture:a}),K(i,"pointerdown",g=>{const p=Ie(e);s=!u(g)&&!!(p&&!g.composedPath().includes(p))},{passive:!0}),o&&K(i,"blur",g=>{setTimeout(()=>{var p;const y=Ie(e);((p=i.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(y!=null&&y.contains(i.document.activeElement))&&t(g)},0)})].filter(Boolean);return()=>f.forEach(g=>g())}function Oke(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function _d(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=pe,eventName:a="keydown",passive:o=!1,dedupe:s=!1}=i,u=Oke(t);return K(r,a,f=>{f.repeat&&B(s)||u(f)&&n(f)},o)}function zke(e,t,n={}){return _d(e,t,{...n,eventName:"keydown"})}function Lke(e,t,n={}){return _d(e,t,{...n,eventName:"keypress"})}function $ke(e,t,n={}){return _d(e,t,{...n,eventName:"keyup"})}const Hke=500,Rke=10;function Bke(e,t,n){var i,r;const a=l.computed(()=>Ie(e));let o,s,u,c=!1;function f(){o&&(clearTimeout(o),o=void 0),s=void 0,u=void 0,c=!1}function h(w){var M,x,_;const[S,N,T]=[u,s,c];if(f(),!(n!=null&&n.onMouseUp)||!N||!S||(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const I=w.x-N.x,L=w.y-N.y,D=Math.sqrt(I*I+L*L);n.onMouseUp(w.timeStamp-S,D,T)}function g(w){var M,x,_,S;(M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||(f(),(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation(),s={x:w.x,y:w.y},u=w.timeStamp,o=setTimeout(()=>{c=!0,t(w)},(S=n==null?void 0:n.delay)!=null?S:Hke))}function p(w){var M,x,_,S;if((M=n==null?void 0:n.modifiers)!=null&&M.self&&w.target!==a.value||!s||(n==null?void 0:n.distanceThreshold)===!1)return;(x=n==null?void 0:n.modifiers)!=null&&x.prevent&&w.preventDefault(),(_=n==null?void 0:n.modifiers)!=null&&_.stop&&w.stopPropagation();const N=w.x-s.x,T=w.y-s.y;Math.sqrt(N*N+T*T)>=((S=n==null?void 0:n.distanceThreshold)!=null?S:Rke)&&f()}const y={capture:(i=n==null?void 0:n.modifiers)==null?void 0:i.capture,once:(r=n==null?void 0:n.modifiers)==null?void 0:r.once},v=[K(a,"pointerdown",g,y),K(a,"pointermove",p,y),K(a,["pointerup","pointerleave"],h,y)];return()=>v.forEach(w=>w())}function Vke(){const{activeElement:e,body:t}=document;if(!e||e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")}function Fke({keyCode:e,metaKey:t,ctrlKey:n,altKey:i}){return t||n||i?!1:e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function Uke(e,t={}){const{document:n=cn}=t;n&&K(n,"keydown",r=>{!Vke()&&Fke(r)&&e(r)},{passive:!0})}function Yke(e,t=null){const n=l.getCurrentInstance();let i=()=>{};const r=l.customRef((a,o)=>(i=o,{get(){var s,u;return a(),(u=(s=n==null?void 0:n.proxy)==null?void 0:s.$refs[e])!=null?u:t},set(){}}));return jt(i),l.onUpdated(i),r}function mv(){const e=l.ref(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function Le(e){const t=mv();return l.computed(()=>(t.value,!!e()))}function Fo(e,t,n={}){const{window:i=pe,...r}=n;let a;const o=Le(()=>i&&"MutationObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const g=B(e),p=(Array.isArray(g)?g:[g]).map(Ie).filter(kd);return new Set(p)}),c=l.watch(()=>u.value,g=>{s(),o.value&&g.size&&(a=new MutationObserver(t),g.forEach(p=>a.observe(p,r)))},{immediate:!0,flush:"post"}),f=()=>a==null?void 0:a.takeRecords(),h=()=>{c(),s()};return Oe(h),{isSupported:o,stop:h,takeRecords:f}}function pv(e={}){var t;const{window:n=pe,deep:i=!0,triggerOnRemoval:r=!1}=e,a=(t=e.document)!=null?t:n==null?void 0:n.document,o=()=>{var c;let f=a==null?void 0:a.activeElement;if(i)for(;f!=null&&f.shadowRoot;)f=(c=f==null?void 0:f.shadowRoot)==null?void 0:c.activeElement;return f},s=l.ref(),u=()=>{s.value=o()};return n&&(K(n,"blur",c=>{c.relatedTarget===null&&u()},!0),K(n,"focus",u,!0)),r&&Fo(a,c=>{c.filter(f=>f.removedNodes.length).map(f=>Array.from(f.removedNodes)).flat().forEach(f=>{f===s.value&&u()})},{childList:!0,subtree:!0}),u(),s}function Ba(e,t={}){const{immediate:n=!0,fpsLimit:i=void 0,window:r=pe}=t,a=l.ref(!1),o=i?1e3/i:null;let s=0,u=null;function c(g){if(!a.value||!r)return;s||(s=g);const p=g-s;if(o&&p<o){u=r.requestAnimationFrame(c);return}s=g,e({delta:p,timestamp:g}),u=r.requestAnimationFrame(c)}function f(){!a.value&&r&&(a.value=!0,s=0,u=r.requestAnimationFrame(c))}function h(){a.value=!1,u!=null&&r&&(r.cancelAnimationFrame(u),u=null)}return n&&f(),Oe(h),{isActive:l.readonly(a),pause:h,resume:f}}function Xke(e,t,n){let i,r;ol(n)?(i=n,r=tv(n,["window","immediate","commitStyles","persist","onReady","onError"])):(i={duration:n},r=n);const{window:a=pe,immediate:o=!0,commitStyles:s,persist:u,playbackRate:c=1,onReady:f,onError:h=q=>{console.error(q)}}=i,g=Le(()=>a&&HTMLElement&&"animate"in HTMLElement.prototype),p=l.shallowRef(void 0),y=l.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:c,pending:!1,playState:o?"idle":"paused",replaceState:"active"}),v=l.computed(()=>y.pending),k=l.computed(()=>y.playState),w=l.computed(()=>y.replaceState),M=l.computed({get(){return y.startTime},set(q){y.startTime=q,p.value&&(p.value.startTime=q)}}),x=l.computed({get(){return y.currentTime},set(q){y.currentTime=q,p.value&&(p.value.currentTime=q,re())}}),_=l.computed({get(){return y.timeline},set(q){y.timeline=q,p.value&&(p.value.timeline=q)}}),S=l.computed({get(){return y.playbackRate},set(q){y.playbackRate=q,p.value&&(p.value.playbackRate=q)}}),N=()=>{if(p.value)try{p.value.play(),re()}catch(q){ee(),h(q)}else z()},T=()=>{var q;try{(q=p.value)==null||q.pause(),ee()}catch(Z){h(Z)}},I=()=>{var q;p.value||z();try{(q=p.value)==null||q.reverse(),re()}catch(Z){ee(),h(Z)}},L=()=>{var q;try{(q=p.value)==null||q.finish(),ee()}catch(Z){h(Z)}},D=()=>{var q;try{(q=p.value)==null||q.cancel(),ee()}catch(Z){h(Z)}};l.watch(()=>Ie(e),q=>{q&&z()}),l.watch(()=>t,q=>{p.value&&z(),!Ie(e)&&p.value&&(p.value.effect=new KeyframeEffect(Ie(e),B(q),r))},{deep:!0}),jt(()=>z(!0),!1),Oe(D);function z(q){const Z=Ie(e);!g.value||!Z||(p.value||(p.value=Z.animate(B(t),r)),u&&p.value.persist(),c!==1&&(p.value.playbackRate=c),q&&!o?p.value.pause():re(),f==null||f(p.value))}K(p,["cancel","finish","remove"],ee),K(p,"finish",()=>{var q;s&&((q=p.value)==null||q.commitStyles())});const{resume:H,pause:X}=Ba(()=>{p.value&&(y.pending=p.value.pending,y.playState=p.value.playState,y.replaceState=p.value.replaceState,y.startTime=p.value.startTime,y.currentTime=p.value.currentTime,y.timeline=p.value.timeline,y.playbackRate=p.value.playbackRate)},{immediate:!1});function re(){g.value&&H()}function ee(){g.value&&a&&a.requestAnimationFrame(X)}return{isSupported:g,animate:p,play:N,pause:T,reverse:I,finish:L,cancel:D,pending:v,playState:k,replaceState:w,startTime:M,currentTime:x,timeline:_,playbackRate:S}}function qke(e,t){const{interrupt:n=!0,onError:i=Ve,onFinished:r=Ve,signal:a}=t||{},o={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},s=Array.from(Array.from({length:e.length}),()=>({state:o.pending,data:null})),u=l.reactive(s),c=l.ref(-1);if(!e||e.length===0)return r(),{activeIndex:c,result:u};function f(h,g){c.value++,u[c.value].data=g,u[c.value].state=h}return e.reduce((h,g)=>h.then(p=>{var y;if(a!=null&&a.aborted){f(o.aborted,new Error("aborted"));return}if(((y=u[c.value])==null?void 0:y.state)===o.rejected&&n){r();return}const v=g(p).then(k=>(f(o.fulfilled,k),c.value===e.length-1&&r(),k));return a?Promise.race([v,Gke(a)]):v}).catch(p=>a!=null&&a.aborted?(f(o.aborted,p),p):(f(o.rejected,p),i(),p)),Promise.resolve()),{activeIndex:c,result:u}}function Gke(e){return new Promise((t,n)=>{const i=new Error("aborted");e.aborted?n(i):e.addEventListener("abort",()=>n(i),{once:!0})})}function gv(e,t,n){const{immediate:i=!0,delay:r=0,onError:a=Ve,onSuccess:o=Ve,resetOnExecute:s=!0,shallow:u=!0,throwError:c}=n??{},f=u?l.shallowRef(t):l.ref(t),h=l.ref(!1),g=l.ref(!1),p=l.shallowRef(void 0);async function y(w=0,...M){s&&(f.value=t),p.value=void 0,h.value=!1,g.value=!0,w>0&&await ul(w);const x=typeof e=="function"?e(...M):e;try{const _=await x;f.value=_,h.value=!0,o(_)}catch(_){if(p.value=_,a(_),c)throw _}finally{g.value=!1}return f.value}i&&y(r);const v={state:f,isReady:h,isLoading:g,error:p,execute:y};function k(){return new Promise((w,M)=>{cl(g).toBe(!1).then(()=>w(v)).catch(M)})}return{...v,then(w,M){return k().then(w,M)}}}const fl={array:e=>JSON.stringify(e),object:e=>JSON.stringify(e),set:e=>JSON.stringify(Array.from(e)),map:e=>JSON.stringify(Object.fromEntries(e)),null:()=>""};function Kke(e){return e?e instanceof Map?fl.map:e instanceof Set?fl.set:Array.isArray(e)?fl.array:fl.object:fl.null}function Qke(e,t){const n=l.ref(""),i=l.ref();function r(){if(Nt)return i.value=new Promise((a,o)=>{try{const s=B(e);if(s==null)a("");else if(typeof s=="string")a(f1(new Blob([s],{type:"text/plain"})));else if(s instanceof Blob)a(f1(s));else if(s instanceof ArrayBuffer)a(window.btoa(String.fromCharCode(...new Uint8Array(s))));else if(s instanceof HTMLCanvasElement)a(s.toDataURL(t==null?void 0:t.type,t==null?void 0:t.quality));else if(s instanceof HTMLImageElement){const u=s.cloneNode(!1);u.crossOrigin="Anonymous",Jke(u).then(()=>{const c=document.createElement("canvas"),f=c.getContext("2d");c.width=u.width,c.height=u.height,f.drawImage(u,0,0,c.width,c.height),a(c.toDataURL(t==null?void 0:t.type,t==null?void 0:t.quality))}).catch(o)}else if(typeof s=="object"){const c=((t==null?void 0:t.serializer)||Kke(s))(s);return a(f1(new Blob([c],{type:"application/json"})))}else o(new Error("target is unsupported types"))}catch(s){o(s)}}),i.value.then(a=>n.value=a),i.value}return l.isRef(e)||typeof e=="function"?l.watch(e,r,{immediate:!0}):r(),{base64:n,promise:i,execute:r}}function Jke(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function f1(e){return new Promise((t,n)=>{const i=new FileReader;i.onload=r=>{t(r.target.result)},i.onerror=n,i.readAsDataURL(e)})}function Zke(e={}){const{navigator:t=Cn}=e,n=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],i=Le(()=>t&&"getBattery"in t&&typeof t.getBattery=="function"),r=l.ref(!1),a=l.ref(0),o=l.ref(0),s=l.ref(1);let u;function c(){r.value=this.charging,a.value=this.chargingTime||0,o.value=this.dischargingTime||0,s.value=this.level}return i.value&&t.getBattery().then(f=>{u=f,c.call(u),K(u,n,c,{passive:!0})}),{isSupported:i,charging:r,chargingTime:a,dischargingTime:o,level:s}}function e6e(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n=void 0,optionalServices:i=void 0,navigator:r=Cn}=e||{},a=Le(()=>r&&"bluetooth"in r),o=l.shallowRef(void 0),s=l.shallowRef(null);l.watch(o,()=>{h()});async function u(){if(a.value){s.value=null,n&&n.length>0&&(t=!1);try{o.value=await(r==null?void 0:r.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:i}))}catch(g){s.value=g}}}const c=l.ref(),f=l.computed(()=>{var g;return((g=c.value)==null?void 0:g.connected)||!1});async function h(){if(s.value=null,o.value&&o.value.gatt){o.value.addEventListener("gattserverdisconnected",()=>{});try{c.value=await o.value.gatt.connect()}catch(g){s.value=g}}}return jt(()=>{var g;o.value&&((g=o.value.gatt)==null||g.connect())}),Oe(()=>{var g;o.value&&((g=o.value.gatt)==null||g.disconnect())}),{isSupported:a,isConnected:f,device:o,requestDevice:u,server:c,error:s}}function xn(e,t={}){const{window:n=pe}=t,i=Le(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=l.ref(!1),o=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},u=l.watchEffect(()=>{i.value&&(s(),r=n.matchMedia(B(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),a.value=r.matches)});return Oe(()=>{u(),s(),r=void 0}),a}const t6e={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},n6e={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},yv={xs:0,sm:600,md:960,lg:1264,xl:1904},i6e={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},r6e=yv,a6e={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},o6e={xs:0,sm:600,md:1024,lg:1440,xl:1920},s6e={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},l6e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},u6e={sm:576,md:768,lg:992,xl:1200};function d6e(e,t={}){function n(f,h){let g=B(e[B(f)]);return h!=null&&(g=Zw(g,h)),typeof g=="number"&&(g=`${g}px`),g}const{window:i=pe,strategy:r="min-width"}=t;function a(f){return i?i.matchMedia(f).matches:!1}const o=f=>xn(()=>`(min-width: ${n(f)})`,t),s=f=>xn(()=>`(max-width: ${n(f)})`,t),u=Object.keys(e).reduce((f,h)=>(Object.defineProperty(f,h,{get:()=>r==="min-width"?o(h):s(h),enumerable:!0,configurable:!0}),f),{});function c(){const f=Object.keys(e).map(h=>[h,o(h)]);return l.computed(()=>f.filter(([,h])=>h.value).map(([h])=>h))}return Object.assign(u,{greaterOrEqual:o,smallerOrEqual:s,greater(f){return xn(()=>`(min-width: ${n(f,.1)})`,t)},smaller(f){return xn(()=>`(max-width: ${n(f,-.1)})`,t)},between(f,h){return xn(()=>`(min-width: ${n(f)}) and (max-width: ${n(h,-.1)})`,t)},isGreater(f){return a(`(min-width: ${n(f,.1)})`)},isGreaterOrEqual(f){return a(`(min-width: ${n(f)})`)},isSmaller(f){return a(`(max-width: ${n(f,-.1)})`)},isSmallerOrEqual(f){return a(`(max-width: ${n(f)})`)},isInBetween(f,h){return a(`(min-width: ${n(f)}) and (max-width: ${n(h,-.1)})`)},current:c,active(){const f=c();return l.computed(()=>f.value.length===0?"":f.value.at(-1))}})}function c6e(e){const{name:t,window:n=pe}=e,i=Le(()=>n&&"BroadcastChannel"in n),r=l.ref(!1),a=l.ref(),o=l.ref(),s=l.shallowRef(null),u=f=>{a.value&&a.value.postMessage(f)},c=()=>{a.value&&a.value.close(),r.value=!0};return i.value&&jt(()=>{s.value=null,a.value=new BroadcastChannel(t),a.value.addEventListener("message",f=>{o.value=f.data},{passive:!0}),a.value.addEventListener("messageerror",f=>{s.value=f},{passive:!0}),a.value.addEventListener("close",()=>{r.value=!0})}),Oe(()=>{c()}),{isSupported:i,channel:a,data:o,post:u,close:c,error:s,isClosed:r}}const bv=["hash","host","hostname","href","pathname","port","protocol","search"];function f6e(e={}){const{window:t=pe}=e,n=Object.fromEntries(bv.map(a=>[a,l.ref()]));for(const[a,o]of nv(n))l.watch(o,s=>{!(t!=null&&t.location)||t.location[a]===s||(t.location[a]=s)});const i=a=>{var o;const{state:s,length:u}=(t==null?void 0:t.history)||{},{origin:c}=(t==null?void 0:t.location)||{};for(const f of bv)n[f].value=(o=t==null?void 0:t.location)==null?void 0:o[f];return l.reactive({trigger:a,state:s,length:u,origin:c,...n})},r=l.ref(i("load"));return t&&(K(t,"popstate",()=>r.value=i("popstate"),{passive:!0}),K(t,"hashchange",()=>r.value=i("hashchange"),{passive:!0})),r}function h6e(e,t=(i,r)=>i===r,n){const i=l.ref(e.value);return l.watch(()=>e.value,r=>{t(r,i.value)||(i.value=r)},n),i}function Td(e,t={}){const{controls:n=!1,navigator:i=Cn}=t,r=Le(()=>i&&"permissions"in i),a=l.shallowRef(),o=typeof e=="string"?{name:e}:e,s=l.shallowRef(),u=()=>{var f,h;s.value=(h=(f=a.value)==null?void 0:f.state)!=null?h:"prompt"};K(a,"change",u);const c=Jw(async()=>{if(r.value){if(!a.value)try{a.value=await i.permissions.query(o)}catch{a.value=void 0}finally{u()}if(n)return l.toRaw(a.value)}});return c(),n?{state:s,isSupported:r,query:c}:s}function m6e(e={}){const{navigator:t=Cn,read:n=!1,source:i,copiedDuring:r=1500,legacy:a=!1}=e,o=Le(()=>t&&"clipboard"in t),s=Td("clipboard-read"),u=Td("clipboard-write"),c=l.computed(()=>o.value||a),f=l.ref(""),h=l.ref(!1),g=Bo(()=>h.value=!1,r);function p(){o.value&&w(s.value)?t.clipboard.readText().then(M=>{f.value=M}):f.value=k()}c.value&&n&&K(["copy","cut"],p);async function y(M=B(i)){c.value&&M!=null&&(o.value&&w(u.value)?await t.clipboard.writeText(M):v(M),f.value=M,h.value=!0,g.start())}function v(M){const x=document.createElement("textarea");x.value=M??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function k(){var M,x,_;return(_=(x=(M=document==null?void 0:document.getSelection)==null?void 0:M.call(document))==null?void 0:x.toString())!=null?_:""}function w(M){return M==="granted"||M==="prompt"}return{isSupported:c,text:f,copied:h,copy:y}}function p6e(e={}){const{navigator:t=Cn,read:n=!1,source:i,copiedDuring:r=1500}=e,a=Le(()=>t&&"clipboard"in t),o=l.ref([]),s=l.ref(!1),u=Bo(()=>s.value=!1,r);function c(){a.value&&t.clipboard.read().then(h=>{o.value=h})}a.value&&n&&K(["copy","cut"],c);async function f(h=B(i)){a.value&&h!=null&&(await t.clipboard.write(h),o.value=h,s.value=!0,u.start())}return{isSupported:a,content:o,copied:s,copy:f}}function hl(e){return JSON.parse(JSON.stringify(e))}function g6e(e,t={}){const n=l.ref({}),{manual:i,clone:r=hl,deep:a=!0,immediate:o=!0}=t;function s(){n.value=r(B(e))}return!i&&(l.isRef(e)||typeof e=="function")?l.watch(e,s,{...t,deep:a,immediate:o}):s(),{cloned:n,sync:s}}const Pd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ed="__vueuse_ssr_handlers__",wv=y6e();function y6e(){return Ed in Pd||(Pd[Ed]=Pd[Ed]||{}),Pd[Ed]}function Ad(e,t){return wv[e]||t}function b6e(e,t){wv[e]=t}function vv(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const h1={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},m1="vueuse-storage";function Dd(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=pe,eventFilter:g,onError:p=D=>{console.error(D)},initOnMounted:y}=i,v=(f?l.shallowRef:l.ref)(typeof t=="function"?t():t);if(!n)try{n=Ad("getDefaultStorage",()=>{var D;return(D=pe)==null?void 0:D.localStorage})()}catch(D){p(D)}if(!n)return v;const k=B(t),w=vv(k),M=(r=i.serializer)!=null?r:h1[w],{pause:x,resume:_}=Ro(v,()=>N(v.value),{flush:a,deep:o,eventFilter:g});h&&s&&jt(()=>{n instanceof Storage?K(h,"storage",I):K(h,m1,L),y&&I()}),y||I();function S(D,z){if(h){const H={key:e,oldValue:D,newValue:z,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(m1,{detail:H}))}}function N(D){try{const z=n.getItem(e);if(D==null)S(z,null),n.removeItem(e);else{const H=M.write(D);z!==H&&(n.setItem(e,H),S(z,H))}}catch(z){p(z)}}function T(D){const z=D?D.newValue:n.getItem(e);if(z==null)return u&&k!=null&&n.setItem(e,M.write(k)),k;if(!D&&c){const H=M.read(z);return typeof c=="function"?c(H,k):w==="object"&&!Array.isArray(H)?{...k,...H}:H}else return typeof z!="string"?z:M.read(z)}function I(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){v.value=k;return}if(!(D&&D.key!==e)){x();try{(D==null?void 0:D.newValue)!==M.write(v.value)&&(v.value=T(D))}catch(z){p(z)}finally{D?l.nextTick(_):_()}}}}function L(D){I(D.detail)}return v}function p1(e){return xn("(prefers-color-scheme: dark)",e)}const w6e="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function kv(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:r=pe,storage:a,storageKey:o="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:u,emitAuto:c,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=p1({window:r}),p=l.computed(()=>g.value?"dark":"light"),y=u||(o==null?Mt(i):Dd(o,i,a,{window:r,listenToStorageChanges:s})),v=l.computed(()=>y.value==="auto"?p.value:y.value),k=Ad("updateHTMLAttrs",(_,S,N)=>{const T=typeof _=="string"?r==null?void 0:r.document.querySelector(_):Ie(_);if(!T)return;const I=new Set,L=new Set;let D=null;if(S==="class"){const H=N.split(/\s/g);Object.values(h).flatMap(X=>(X||"").split(/\s/g)).filter(Boolean).forEach(X=>{H.includes(X)?I.add(X):L.add(X)})}else D={key:S,value:N};if(I.size===0&&L.size===0&&D===null)return;let z;f&&(z=r.document.createElement("style"),z.appendChild(document.createTextNode(w6e)),r.document.head.appendChild(z));for(const H of I)T.classList.add(H);for(const H of L)T.classList.remove(H);D&&T.setAttribute(D.key,D.value),f&&(r.getComputedStyle(z).opacity,document.head.removeChild(z))});function w(_){var S;k(t,n,(S=h[_])!=null?S:_)}function M(_){e.onChanged?e.onChanged(_,w):w(_)}l.watch(v,M,{flush:"post",immediate:!0}),jt(()=>M(v.value));const x=l.computed({get(){return c?y.value:v.value},set(_){y.value=_}});try{return Object.assign(x,{store:y,system:p,state:v})}catch{return x}}function v6e(e=l.ref(!1)){const t=dn(),n=dn(),i=dn();let r=Ve;const a=u=>(i.trigger(u),e.value=!0,new Promise(c=>{r=c})),o=u=>{e.value=!1,t.trigger(u),r({data:u,isCanceled:!1})},s=u=>{e.value=!1,n.trigger(u),r({data:u,isCanceled:!0})};return{isRevealed:l.computed(()=>e.value),reveal:a,confirm:o,cancel:s,onReveal:i.on,onConfirm:t.on,onCancel:n.on}}function ml(e,t,n={}){const{window:i=pe,initialValue:r,observe:a=!1}=n,o=l.ref(r),s=l.computed(()=>{var c;return Ie(t)||((c=i==null?void 0:i.document)==null?void 0:c.documentElement)});function u(){var c;const f=B(e),h=B(s);if(h&&i&&f){const g=(c=i.getComputedStyle(h).getPropertyValue(f))==null?void 0:c.trim();o.value=g||r}}return a&&Fo(s,u,{attributeFilter:["style","class"],window:i}),l.watch([s,()=>B(e)],(c,f)=>{f[0]&&f[1]&&f[0].style.removeProperty(f[1]),u()},{immediate:!0}),l.watch(o,c=>{var f;const h=B(e);(f=s.value)!=null&&f.style&&h&&(c==null?s.value.style.removeProperty(h):s.value.style.setProperty(h,c))}),o}function Mv(e){const t=l.getCurrentInstance(),n=e1(()=>null,()=>e?Ie(e):t.proxy.$el);return l.onUpdated(n.trigger),l.onMounted(n.trigger),n}function k6e(e,t){const n=l.shallowRef(c()),i=Mt(e),r=l.computed({get(){var f;const h=i.value;let g=t!=null&&t.getIndexOf?t.getIndexOf(n.value,h):h.indexOf(n.value);return g<0&&(g=(f=t==null?void 0:t.fallbackIndex)!=null?f:0),g},set(f){a(f)}});function a(f){const h=i.value,g=h.length,p=(f%g+g)%g,y=h[p];return n.value=y,y}function o(f=1){return a(r.value+f)}function s(f=1){return o(f)}function u(f=1){return o(-f)}function c(){var f,h;return(h=B((f=t==null?void 0:t.initialValue)!=null?f:B(e)[0]))!=null?h:void 0}return l.watch(i,()=>a(r.value)),{state:n,index:r,next:s,prev:u,go:a}}function M6e(e={}){const{valueDark:t="dark",valueLight:n="",window:i=pe}=e,r=kv({...e,onChanged:(s,u)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",u,s):u(s)},modes:{dark:t,light:n}}),a=l.computed(()=>r.system?r.system.value:p1({window:i}).value?"dark":"light");return l.computed({get(){return r.value==="dark"},set(s){const u=s?"dark":"light";a.value===u?r.value="auto":r.value=u}})}function Cv(e){return e}function C6e(e,t){return e.value=t}function x6e(e){return e?typeof e=="function"?e:hl:Cv}function S6e(e){return e?typeof e=="function"?e:hl:Cv}function xv(e,t={}){const{clone:n=!1,dump:i=x6e(n),parse:r=S6e(n),setSource:a=C6e}=t;function o(){return l.markRaw({snapshot:i(e.value),timestamp:$a()})}const s=l.ref(o()),u=l.ref([]),c=l.ref([]),f=x=>{a(e,r(x.snapshot)),s.value=x},h=()=>{u.value.unshift(s.value),s.value=o(),t.capacity&&u.value.length>t.capacity&&u.value.splice(t.capacity,Number.POSITIVE_INFINITY),c.value.length&&c.value.splice(0,c.value.length)},g=()=>{u.value.splice(0,u.value.length),c.value.splice(0,c.value.length)},p=()=>{const x=u.value.shift();x&&(c.value.unshift(s.value),f(x))},y=()=>{const x=c.value.shift();x&&(u.value.unshift(s.value),f(x))},v=()=>{f(s.value)},k=l.computed(()=>[s.value,...u.value]),w=l.computed(()=>u.value.length>0),M=l.computed(()=>c.value.length>0);return{source:e,undoStack:u,redoStack:c,last:s,history:k,canUndo:w,canRedo:M,clear:g,commit:h,reset:v,undo:p,redo:y}}function g1(e,t={}){const{deep:n=!1,flush:i="pre",eventFilter:r}=t,{eventFilter:a,pause:o,resume:s,isActive:u}=i1(r),{ignoreUpdates:c,ignorePrevAsyncUpdates:f,stop:h}=Vo(e,k,{deep:n,flush:i,eventFilter:a});function g(_,S){f(),c(()=>{_.value=S})}const p=xv(e,{...t,clone:t.clone||n,setSource:g}),{clear:y,commit:v}=p;function k(){f(),v()}function w(_){s(),_&&k()}function M(_){let S=!1;const N=()=>S=!0;c(()=>{_(N)}),S||k()}function x(){h(),y()}return{...p,isTracking:u,pause:o,resume:w,commit:k,batch:M,dispose:x}}function _6e(e,t={}){const n=t.debounce?xd(t.debounce):void 0;return{...g1(e,{...t,eventFilter:n})}}function T6e(e={}){const{window:t=pe,eventFilter:n=sl}=e,i=l.ref({x:null,y:null,z:null}),r=l.ref({alpha:null,beta:null,gamma:null}),a=l.ref(0),o=l.ref({x:null,y:null,z:null});if(t){const s=Ha(n,u=>{i.value=u.acceleration,o.value=u.accelerationIncludingGravity,r.value=u.rotationRate,a.value=u.interval});K(t,"devicemotion",s)}return{acceleration:i,accelerationIncludingGravity:o,rotationRate:r,interval:a}}function Sv(e={}){const{window:t=pe}=e,n=Le(()=>t&&"DeviceOrientationEvent"in t),i=l.ref(!1),r=l.ref(null),a=l.ref(null),o=l.ref(null);return t&&n.value&&K(t,"deviceorientation",s=>{i.value=s.absolute,r.value=s.alpha,a.value=s.beta,o.value=s.gamma}),{isSupported:n,isAbsolute:i,alpha:r,beta:a,gamma:o}}function P6e(e={}){const{window:t=pe}=e,n=l.ref(1);if(t){let i=function(){n.value=t.devicePixelRatio,r(),a=t.matchMedia(`(resolution: ${n.value}dppx)`),a.addEventListener("change",i,{once:!0})},r=function(){a==null||a.removeEventListener("change",i)},a;i(),Oe(r)}return{pixelRatio:n}}function E6e(e={}){const{navigator:t=Cn,requestPermissions:n=!1,constraints:i={audio:!0,video:!0},onUpdated:r}=e,a=l.ref([]),o=l.computed(()=>a.value.filter(y=>y.kind==="videoinput")),s=l.computed(()=>a.value.filter(y=>y.kind==="audioinput")),u=l.computed(()=>a.value.filter(y=>y.kind==="audiooutput")),c=Le(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=l.ref(!1);let h;async function g(){c.value&&(a.value=await t.mediaDevices.enumerateDevices(),r==null||r(a.value),h&&(h.getTracks().forEach(y=>y.stop()),h=null))}async function p(){if(!c.value)return!1;if(f.value)return!0;const{state:y,query:v}=Td("camera",{controls:!0});return await v(),y.value!=="granted"&&(h=await t.mediaDevices.getUserMedia(i),g()),f.value=!0,f.value}return c.value&&(n&&p(),K(t.mediaDevices,"devicechange",g),g()),{devices:a,ensurePermissions:p,permissionGranted:f,videoInputs:o,audioInputs:s,audioOutputs:u,isSupported:c}}function A6e(e={}){var t;const n=l.ref((t=e.enabled)!=null?t:!1),i=e.video,r=e.audio,{navigator:a=Cn}=e,o=Le(()=>{var p;return(p=a==null?void 0:a.mediaDevices)==null?void 0:p.getDisplayMedia}),s={audio:r,video:i},u=l.shallowRef();async function c(){var p;if(!(!o.value||u.value))return u.value=await a.mediaDevices.getDisplayMedia(s),(p=u.value)==null||p.getTracks().forEach(y=>y.addEventListener("ended",h)),u.value}async function f(){var p;(p=u.value)==null||p.getTracks().forEach(y=>y.stop()),u.value=void 0}function h(){f(),n.value=!1}async function g(){return await c(),u.value&&(n.value=!0),u.value}return l.watch(n,p=>{p?c():f()},{immediate:!0}),{isSupported:o,stream:u,start:g,stop:h,enabled:n}}function _v(e={}){const{document:t=cn}=e;if(!t)return l.ref("visible");const n=l.ref(t.visibilityState);return K(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function D6e(e,t={}){var n,i;const{pointerTypes:r,preventDefault:a,stopPropagation:o,exact:s,onMove:u,onEnd:c,onStart:f,initialValue:h,axis:g="both",draggingElement:p=pe,containerElement:y,handle:v=e,buttons:k=[0]}=t,w=l.ref((n=B(h))!=null?n:{x:0,y:0}),M=l.ref(),x=I=>r?r.includes(I.pointerType):!0,_=I=>{B(a)&&I.preventDefault(),B(o)&&I.stopPropagation()},S=I=>{var L;if(!B(k).includes(I.button)||B(t.disabled)||!x(I)||B(s)&&I.target!==B(e))return;const D=B(y),z=(L=D==null?void 0:D.getBoundingClientRect)==null?void 0:L.call(D),H=B(e).getBoundingClientRect(),X={x:I.clientX-(D?H.left-z.left+D.scrollLeft:H.left),y:I.clientY-(D?H.top-z.top+D.scrollTop:H.top)};(f==null?void 0:f(X,I))!==!1&&(M.value=X,_(I))},N=I=>{if(B(t.disabled)||!x(I)||!M.value)return;const L=B(y),D=B(e).getBoundingClientRect();let{x:z,y:H}=w.value;(g==="x"||g==="both")&&(z=I.clientX-M.value.x,L&&(z=Math.min(Math.max(0,z),L.scrollWidth-D.width))),(g==="y"||g==="both")&&(H=I.clientY-M.value.y,L&&(H=Math.min(Math.max(0,H),L.scrollHeight-D.height))),w.value={x:z,y:H},u==null||u(w.value,I),_(I)},T=I=>{B(t.disabled)||!x(I)||M.value&&(M.value=void 0,c==null||c(w.value,I),_(I))};if(Nt){const I={capture:(i=t.capture)!=null?i:!0};K(v,"pointerdown",S,I),K(p,"pointermove",N,I),K(p,"pointerup",T,I)}return{...d1(w),position:w,isDragging:l.computed(()=>!!M.value),style:l.computed(()=>`left:${w.value.x}px;top:${w.value.y}px;`)}}function N6e(e,t={}){const n=l.ref(!1),i=l.shallowRef(null);let r=0,a=!0;if(Nt){const o=typeof t=="function"?{onDrop:t}:t,s=u=>{var c,f;const h=Array.from((f=(c=u.dataTransfer)==null?void 0:c.files)!=null?f:[]);return i.value=h.length===0?null:h};K(e,"dragenter",u=>{var c,f;const h=Array.from(((c=u==null?void 0:u.dataTransfer)==null?void 0:c.items)||[]).map(p=>p.kind==="file"?p.type:null).filter(kd);if(o.dataTypes&&u.dataTransfer){const p=l.unref(o.dataTypes);if(a=typeof p=="function"?p(h):p?p.some(y=>h.includes(y)):!0,!a)return}u.preventDefault(),r+=1,n.value=!0;const g=s(u);(f=o.onEnter)==null||f.call(o,g,u)}),K(e,"dragover",u=>{var c;if(!a)return;u.preventDefault();const f=s(u);(c=o.onOver)==null||c.call(o,f,u)}),K(e,"dragleave",u=>{var c;if(!a)return;u.preventDefault(),r-=1,r===0&&(n.value=!1);const f=s(u);(c=o.onLeave)==null||c.call(o,f,u)}),K(e,"drop",u=>{var c;u.preventDefault(),r=0,n.value=!1;const f=s(u);(c=o.onDrop)==null||c.call(o,f,u)})}return{files:i,isOverDropZone:n}}function Nd(e,t,n={}){const{window:i=pe,...r}=n;let a;const o=Le(()=>i&&"ResizeObserver"in i),s=()=>{a&&(a.disconnect(),a=void 0)},u=l.computed(()=>{const h=B(e);return Array.isArray(h)?h.map(g=>Ie(g)):[Ie(h)]}),c=l.watch(u,h=>{if(s(),o.value&&i){a=new ResizeObserver(t);for(const g of h)g&&a.observe(g,r)}},{immediate:!0,flush:"post"}),f=()=>{s(),c()};return Oe(f),{isSupported:o,stop:f}}function j6e(e,t={}){const{reset:n=!0,windowResize:i=!0,windowScroll:r=!0,immediate:a=!0,updateTiming:o="sync"}=t,s=l.ref(0),u=l.ref(0),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0);function v(){const w=Ie(e);if(!w){n&&(s.value=0,u.value=0,c.value=0,f.value=0,h.value=0,g.value=0,p.value=0,y.value=0);return}const M=w.getBoundingClientRect();s.value=M.height,u.value=M.bottom,c.value=M.left,f.value=M.right,h.value=M.top,g.value=M.width,p.value=M.x,y.value=M.y}function k(){o==="sync"?v():o==="next-frame"&&requestAnimationFrame(()=>v())}return Nd(e,k),l.watch(()=>Ie(e),w=>!w&&k()),Fo(e,k,{attributeFilter:["style","class"]}),r&&K("scroll",k,{capture:!0,passive:!0}),i&&K("resize",k,{passive:!0}),jt(()=>{a&&k()}),{height:s,bottom:u,left:c,right:f,top:h,width:g,x:p,y,update:k}}function I6e(e){const{x:t,y:n,document:i=cn,multiple:r,interval:a="requestAnimationFrame",immediate:o=!0}=e,s=Le(()=>B(r)?i&&"elementsFromPoint"in i:i&&"elementFromPoint"in i),u=l.ref(null),c=()=>{var h,g;u.value=B(r)?(h=i==null?void 0:i.elementsFromPoint(B(t),B(n)))!=null?h:[]:(g=i==null?void 0:i.elementFromPoint(B(t),B(n)))!=null?g:null},f=a==="requestAnimationFrame"?Ba(c,{immediate:o}):$r(c,a,{immediate:o});return{isSupported:s,element:u,...f}}function W6e(e,t={}){const{delayEnter:n=0,delayLeave:i=0,window:r=pe}=t,a=l.ref(!1);let o;const s=u=>{const c=u?n:i;o&&(clearTimeout(o),o=void 0),c?o=setTimeout(()=>a.value=u,c):a.value=u};return r&&(K(e,"mouseenter",()=>s(!0),{passive:!0}),K(e,"mouseleave",()=>s(!1),{passive:!0})),a}function Tv(e,t={width:0,height:0},n={}){const{window:i=pe,box:r="content-box"}=n,a=l.computed(()=>{var h,g;return(g=(h=Ie(e))==null?void 0:h.namespaceURI)==null?void 0:g.includes("svg")}),o=l.ref(t.width),s=l.ref(t.height),{stop:u}=Nd(e,([h])=>{const g=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(i&&a.value){const p=Ie(e);if(p){const y=p.getBoundingClientRect();o.value=y.width,s.value=y.height}}else if(g){const p=Array.isArray(g)?g:[g];o.value=p.reduce((y,{inlineSize:v})=>y+v,0),s.value=p.reduce((y,{blockSize:v})=>y+v,0)}else o.value=h.contentRect.width,s.value=h.contentRect.height},n);jt(()=>{const h=Ie(e);h&&(o.value="offsetWidth"in h?h.offsetWidth:t.width,s.value="offsetHeight"in h?h.offsetHeight:t.height)});const c=l.watch(()=>Ie(e),h=>{o.value=h?t.width:0,s.value=h?t.height:0});function f(){u(),c()}return{width:o,height:s,stop:f}}function Pv(e,t,n={}){const{root:i,rootMargin:r="0px",threshold:a=0,window:o=pe,immediate:s=!0}=n,u=Le(()=>o&&"IntersectionObserver"in o),c=l.computed(()=>{const y=B(e);return(Array.isArray(y)?y:[y]).map(Ie).filter(kd)});let f=Ve;const h=l.ref(s),g=u.value?l.watch(()=>[c.value,Ie(i),h.value],([y,v])=>{if(f(),!h.value||!y.length)return;const k=new IntersectionObserver(t,{root:Ie(v),rootMargin:r,threshold:a});y.forEach(w=>w&&k.observe(w)),f=()=>{k.disconnect(),f=Ve}},{immediate:s,flush:"post"}):Ve,p=()=>{f(),g(),h.value=!1};return Oe(p),{isSupported:u,isActive:h,pause(){f(),h.value=!1},resume(){h.value=!0},stop:p}}function Ev(e,t={}){const{window:n=pe,scrollTarget:i,threshold:r=0}=t,a=l.ref(!1);return Pv(e,o=>{let s=a.value,u=0;for(const c of o)c.time>=u&&(u=c.time,s=c.isIntersecting);a.value=s},{root:i,window:n,threshold:r}),a}const pl=new Map;function O6e(e){const t=l.getCurrentScope();function n(s){var u;const c=pl.get(e)||new Set;c.add(s),pl.set(e,c);const f=()=>r(s);return(u=t==null?void 0:t.cleanups)==null||u.push(f),f}function i(s){function u(...c){r(u),s(...c)}return n(u)}function r(s){const u=pl.get(e);u&&(u.delete(s),u.size||a())}function a(){pl.delete(e)}function o(s,u){var c;(c=pl.get(e))==null||c.forEach(f=>f(s,u))}return{on:n,once:i,off:r,emit:o,reset:a}}function z6e(e){return e===!0?{}:e}function L6e(e,t=[],n={}){const i=l.ref(null),r=l.ref(null),a=l.ref("CONNECTING"),o=l.ref(null),s=l.shallowRef(null),u=Mt(e),c=l.shallowRef(null);let f=!1,h=0;const{withCredentials:g=!1,immediate:p=!0}=n,y=()=>{Nt&&o.value&&(o.value.close(),o.value=null,a.value="CLOSED",f=!0)},v=()=>{if(f||typeof u.value>"u")return;const w=new EventSource(u.value,{withCredentials:g});a.value="CONNECTING",o.value=w,w.onopen=()=>{a.value="OPEN",s.value=null},w.onerror=M=>{if(a.value="CLOSED",s.value=M,w.readyState===2&&!f&&n.autoReconnect){w.close();const{retries:x=-1,delay:_=1e3,onFailed:S}=z6e(n.autoReconnect);h+=1,typeof x=="number"&&(x<0||h<x)||typeof x=="function"&&x()?setTimeout(v,_):S==null||S()}},w.onmessage=M=>{i.value=null,r.value=M.data,c.value=M.lastEventId};for(const M of t)K(w,M,x=>{i.value=M,r.value=x.data||null})},k=()=>{Nt&&(y(),f=!1,h=0,v())};return p&&l.watch(u,k,{immediate:!0}),Oe(y),{eventSource:o,event:i,data:r,status:a,error:s,open:k,close:y,lastEventId:c}}function $6e(e={}){const{initialValue:t=""}=e,n=Le(()=>typeof window<"u"&&"EyeDropper"in window),i=l.ref(t);async function r(a){if(!n.value)return;const s=await new window.EyeDropper().open(a);return i.value=s.sRGBHex,s}return{isSupported:n,sRGBHex:i,open:r}}function H6e(e=null,t={}){const{baseUrl:n="",rel:i="icon",document:r=cn}=t,a=Mt(e),o=s=>{const u=r==null?void 0:r.head.querySelectorAll(`link[rel*="${i}"]`);if(!u||u.length===0){const c=r==null?void 0:r.createElement("link");c&&(c.rel=i,c.href=`${n}${s}`,c.type=`image/${s.split(".").pop()}`,r==null||r.head.append(c));return}u==null||u.forEach(c=>c.href=`${n}${s}`)};return l.watch(a,(s,u)=>{typeof s=="string"&&s!==u&&o(s)},{immediate:!0}),a}const R6e={json:"application/json",text:"text/plain"};function jd(e){return e&&a1(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const B6e=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function V6e(e){return B6e.test(e)}function gl(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries(e.entries()):e}function Uo(e,...t){return e==="overwrite"?async n=>{const i=t[t.length-1];return i?{...n,...await i(n)}:n}:async n=>{for(const i of t)i&&(n={...n,...await i(n)});return n}}function F6e(e={}){const t=e.combination||"chain",n=e.options||{},i=e.fetchOptions||{};function r(a,...o){const s=l.computed(()=>{const f=B(e.baseUrl),h=B(a);return f&&!V6e(h)?U6e(f,h):h});let u=n,c=i;return o.length>0&&(jd(o[0])?u={...u,...o[0],beforeFetch:Uo(t,n.beforeFetch,o[0].beforeFetch),afterFetch:Uo(t,n.afterFetch,o[0].afterFetch),onFetchError:Uo(t,n.onFetchError,o[0].onFetchError)}:c={...c,...o[0],headers:{...gl(c.headers)||{},...gl(o[0].headers)||{}}}),o.length>1&&jd(o[1])&&(u={...u,...o[1],beforeFetch:Uo(t,n.beforeFetch,o[1].beforeFetch),afterFetch:Uo(t,n.afterFetch,o[1].afterFetch),onFetchError:Uo(t,n.onFetchError,o[1].onFetchError)}),Av(s,c,u)}return r}function Av(e,...t){var n;const i=typeof AbortController=="function";let r={},a={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const o={method:"GET",type:"text",payload:void 0};t.length>0&&(jd(t[0])?a={...a,...t[0]}:r=t[0]),t.length>1&&jd(t[1])&&(a={...a,...t[1]});const{fetch:s=(n=pe)==null?void 0:n.fetch,initialData:u,timeout:c}=a,f=dn(),h=dn(),g=dn(),p=l.ref(!1),y=l.ref(!1),v=l.ref(!1),k=l.ref(null),w=l.shallowRef(null),M=l.shallowRef(null),x=l.shallowRef(u||null),_=l.computed(()=>i&&y.value);let S,N;const T=()=>{i&&(S==null||S.abort(),S=new AbortController,S.signal.onabort=()=>v.value=!0,r={...r,signal:S.signal})},I=q=>{y.value=q,p.value=!q};c&&(N=Bo(T,c,{immediate:!1}));let L=0;const D=async(q=!1)=>{var Z,de;T(),I(!0),M.value=null,k.value=null,v.value=!1,L+=1;const Ae=L,at={method:o.method,headers:{}};if(o.payload){const qe=gl(at.headers),ot=B(o.payload);!o.payloadType&&ot&&Object.getPrototypeOf(ot)===Object.prototype&&!(ot instanceof FormData)&&(o.payloadType="json"),o.payloadType&&(qe["Content-Type"]=(Z=R6e[o.payloadType])!=null?Z:o.payloadType),at.body=o.payloadType==="json"?JSON.stringify(ot):ot}let Tt=!1;const Jt={url:B(e),options:{...at,...r},cancel:()=>{Tt=!0}};if(a.beforeFetch&&Object.assign(Jt,await a.beforeFetch(Jt)),Tt||!s)return I(!1),Promise.resolve(null);let Bt=null;return N&&N.start(),s(Jt.url,{...at,...Jt.options,headers:{...gl(at.headers),...gl((de=Jt.options)==null?void 0:de.headers)}}).then(async qe=>{if(w.value=qe,k.value=qe.status,Bt=await qe.clone()[o.type](),!qe.ok)throw x.value=u||null,new Error(qe.statusText);return a.afterFetch&&({data:Bt}=await a.afterFetch({data:Bt,response:qe})),x.value=Bt,f.trigger(qe),qe}).catch(async qe=>{let ot=qe.message||qe.name;if(a.onFetchError&&({error:ot,data:Bt}=await a.onFetchError({data:Bt,error:qe,response:w.value})),M.value=ot,a.updateDataOnError&&(x.value=Bt),h.trigger(qe),q)throw qe;return null}).finally(()=>{Ae===L&&I(!1),N&&N.stop(),g.trigger(null)})},z=Mt(a.refetch);l.watch([z,Mt(e)],([q])=>q&&D(),{deep:!0});const H={isFinished:l.readonly(p),isFetching:l.readonly(y),statusCode:k,response:w,error:M,data:x,canAbort:_,aborted:v,abort:T,execute:D,onFetchResponse:f.on,onFetchError:h.on,onFetchFinally:g.on,get:X("GET"),put:X("PUT"),post:X("POST"),delete:X("DELETE"),patch:X("PATCH"),head:X("HEAD"),options:X("OPTIONS"),json:ee("json"),text:ee("text"),blob:ee("blob"),arrayBuffer:ee("arrayBuffer"),formData:ee("formData")};function X(q){return(Z,de)=>{if(!y.value)return o.method=q,o.payload=Z,o.payloadType=de,l.isRef(o.payload)&&l.watch([z,Mt(o.payload)],([Ae])=>Ae&&D(),{deep:!0}),{...H,then(Ae,at){return re().then(Ae,at)}}}}function re(){return new Promise((q,Z)=>{cl(p).toBe(!0).then(()=>q(H)).catch(de=>Z(de))})}function ee(q){return()=>{if(!y.value)return o.type=q,{...H,then(Z,de){return re().then(Z,de)}}}}return a.immediate&&Promise.resolve().then(()=>D()),{...H,then(q,Z){return re().then(q,Z)}}}function U6e(e,t){return!e.endsWith("/")&&!t.startsWith("/")?`${e}/${t}`:`${e}${t}`}const Y6e={multiple:!0,accept:"*",reset:!1,directory:!1};function X6e(e={}){const{document:t=cn}=e,n=l.ref(null),{on:i,trigger:r}=dn();let a;t&&(a=t.createElement("input"),a.type="file",a.onchange=u=>{const c=u.target;n.value=c.files,r(n.value)});const o=()=>{n.value=null,a&&a.value&&(a.value="",r(null))},s=u=>{if(!a)return;const c={...Y6e,...e,...u};a.multiple=c.multiple,a.accept=c.accept,a.webkitdirectory=c.directory,Gw(c,"capture")&&(a.capture=c.capture),c.reset&&o(),a.click()};return{files:l.readonly(n),open:s,reset:o,onChange:i}}function q6e(e={}){const{window:t=pe,dataType:n="Text"}=e,i=t,r=Le(()=>i&&"showSaveFilePicker"in i&&"showOpenFilePicker"in i),a=l.ref(),o=l.ref(),s=l.ref(),u=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.name)!=null?x:""}),c=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.type)!=null?x:""}),f=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.size)!=null?x:0}),h=l.computed(()=>{var M,x;return(x=(M=s.value)==null?void 0:M.lastModified)!=null?x:0});async function g(M={}){if(!r.value)return;const[x]=await i.showOpenFilePicker({...B(e),...M});a.value=x,await w()}async function p(M={}){r.value&&(a.value=await i.showSaveFilePicker({...e,...M}),o.value=void 0,await w())}async function y(M={}){if(r.value){if(!a.value)return v(M);if(o.value){const x=await a.value.createWritable();await x.write(o.value),await x.close()}await k()}}async function v(M={}){if(r.value){if(a.value=await i.showSaveFilePicker({...e,...M}),o.value){const x=await a.value.createWritable();await x.write(o.value),await x.close()}await k()}}async function k(){var M;s.value=await((M=a.value)==null?void 0:M.getFile())}async function w(){var M,x;await k();const _=B(n);_==="Text"?o.value=await((M=s.value)==null?void 0:M.text()):_==="ArrayBuffer"?o.value=await((x=s.value)==null?void 0:x.arrayBuffer()):_==="Blob"&&(o.value=s.value)}return l.watch(()=>B(n),w),{isSupported:r,data:o,file:s,fileName:u,fileMIME:c,fileSize:f,fileLastModified:h,open:g,create:p,save:y,saveAs:v,updateData:w}}function G6e(e,t={}){const{initialValue:n=!1,focusVisible:i=!1,preventScroll:r=!1}=t,a=l.ref(!1),o=l.computed(()=>Ie(e));K(o,"focus",u=>{var c,f;(!i||(f=(c=u.target).matches)!=null&&f.call(c,":focus-visible"))&&(a.value=!0)}),K(o,"blur",()=>a.value=!1);const s=l.computed({get:()=>a.value,set(u){var c,f;!u&&a.value?(c=o.value)==null||c.blur():u&&!a.value&&((f=o.value)==null||f.focus({preventScroll:r}))}});return l.watch(o,()=>{s.value=n},{immediate:!0,flush:"post"}),{focused:s}}function K6e(e,t={}){const n=pv(t),i=l.computed(()=>Ie(e));return{focused:l.computed(()=>i.value&&n.value?i.value.contains(n.value):!1)}}function Q6e(e){var t;const n=l.ref(0);if(typeof performance>"u")return n;const i=(t=e==null?void 0:e.every)!=null?t:10;let r=performance.now(),a=0;return Ba(()=>{if(a+=1,a>=i){const o=performance.now(),s=o-r;n.value=Math.round(1e3/(s/a)),r=o,a=0}}),n}const Dv=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function J6e(e,t={}){const{document:n=cn,autoExit:i=!1}=t,r=l.computed(()=>{var w;return(w=Ie(e))!=null?w:n==null?void 0:n.querySelector("html")}),a=l.ref(!1),o=l.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),s=l.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||r.value&&w in r.value)),u=l.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||r.value&&w in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),f=Le(()=>r.value&&n&&o.value!==void 0&&s.value!==void 0&&u.value!==void 0),h=()=>c?(n==null?void 0:n[c])===r.value:!1,g=()=>{if(u.value){if(n&&n[u.value]!=null)return n[u.value];{const w=r.value;if((w==null?void 0:w[u.value])!=null)return!!w[u.value]}}return!1};async function p(){if(!(!f.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const w=r.value;(w==null?void 0:w[s.value])!=null&&await w[s.value]()}a.value=!1}}async function y(){if(!f.value||a.value)return;g()&&await p();const w=r.value;o.value&&(w==null?void 0:w[o.value])!=null&&(await w[o.value](),a.value=!0)}async function v(){await(a.value?p():y())}const k=()=>{const w=g();(!w||w&&h())&&(a.value=w)};return K(n,Dv,k,!1),K(()=>Ie(r),Dv,k,!1),i&&Oe(p),{isSupported:f,isFullscreen:a,enter:y,exit:p,toggle:v}}function Z6e(e){return l.computed(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)}function e5e(e={}){const{navigator:t=Cn}=e,n=Le(()=>t&&"getGamepads"in t),i=l.ref([]),r=dn(),a=dn(),o=p=>{const y=[],v="vibrationActuator"in p?p.vibrationActuator:null;return v&&y.push(v),p.hapticActuators&&y.push(...p.hapticActuators),{id:p.id,index:p.index,connected:p.connected,mapping:p.mapping,timestamp:p.timestamp,vibrationActuator:p.vibrationActuator,hapticActuators:y,axes:p.axes.map(k=>k),buttons:p.buttons.map(k=>({pressed:k.pressed,touched:k.touched,value:k.value}))}},s=()=>{const p=(t==null?void 0:t.getGamepads())||[];for(const y of p)y&&i.value[y.index]&&(i.value[y.index]=o(y))},{isActive:u,pause:c,resume:f}=Ba(s),h=p=>{i.value.some(({index:y})=>y===p.index)||(i.value.push(o(p)),r.trigger(p.index)),f()},g=p=>{i.value=i.value.filter(y=>y.index!==p.index),a.trigger(p.index)};return K("gamepadconnected",p=>h(p.gamepad)),K("gamepaddisconnected",p=>g(p.gamepad)),jt(()=>{const p=(t==null?void 0:t.getGamepads())||[];for(const y of p)y&&i.value[y.index]&&h(y)}),c(),{isSupported:n,onConnected:r.on,onDisconnected:a.on,gamepads:i,pause:c,resume:f,isActive:u}}function t5e(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:i=27e3,navigator:r=Cn,immediate:a=!0}=e,o=Le(()=>r&&"geolocation"in r),s=l.ref(null),u=l.shallowRef(null),c=l.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function f(y){s.value=y.timestamp,c.value=y.coords,u.value=null}let h;function g(){o.value&&(h=r.geolocation.watchPosition(f,y=>u.value=y,{enableHighAccuracy:t,maximumAge:n,timeout:i}))}a&&g();function p(){h&&r&&r.geolocation.clearWatch(h)}return Oe(()=>{p()}),{isSupported:o,coords:c,locatedAt:s,error:u,resume:g,pause:p}}const n5e=["mousemove","mousedown","resize","keydown","touchstart","wheel"],i5e=6e4;function r5e(e=i5e,t={}){const{initialState:n=!1,listenForVisibilityChange:i=!0,events:r=n5e,window:a=pe,eventFilter:o=ll(50)}=t,s=l.ref(n),u=l.ref($a());let c;const f=()=>{s.value=!1,clearTimeout(c),c=setTimeout(()=>s.value=!0,e)},h=Ha(o,()=>{u.value=$a(),f()});if(a){const g=a.document;for(const p of r)K(a,p,h,{passive:!0});i&&K(g,"visibilitychange",()=>{g.hidden||h()}),f()}return{idle:s,lastActive:u,reset:f}}async function a5e(e){return new Promise((t,n)=>{const i=new Image,{src:r,srcset:a,sizes:o,class:s,loading:u,crossorigin:c,referrerPolicy:f}=e;i.src=r,a&&(i.srcset=a),o&&(i.sizes=o),s&&(i.className=s),u&&(i.loading=u),c&&(i.crossOrigin=c),f&&(i.referrerPolicy=f),i.onload=()=>t(i),i.onerror=n})}function o5e(e,t={}){const n=gv(()=>a5e(B(e)),void 0,{resetOnExecute:!0,...t});return l.watch(()=>B(e),()=>n.execute(t.delay),{deep:!0}),n}const Nv=1;function jv(e,t={}){const{throttle:n=0,idle:i=200,onStop:r=Ve,onScroll:a=Ve,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:u="auto",window:c=pe,onError:f=T=>{console.error(T)}}=t,h=l.ref(0),g=l.ref(0),p=l.computed({get(){return h.value},set(T){v(T,void 0)}}),y=l.computed({get(){return g.value},set(T){v(void 0,T)}});function v(T,I){var L,D,z,H;if(!c)return;const X=B(e);if(!X)return;(z=X instanceof Document?c.document.body:X)==null||z.scrollTo({top:(L=B(I))!=null?L:y.value,left:(D=B(T))!=null?D:p.value,behavior:B(u)});const re=((H=X==null?void 0:X.document)==null?void 0:H.documentElement)||(X==null?void 0:X.documentElement)||X;p!=null&&(h.value=re.scrollLeft),y!=null&&(g.value=re.scrollTop)}const k=l.ref(!1),w=l.reactive({left:!0,right:!1,top:!0,bottom:!1}),M=l.reactive({left:!1,right:!1,top:!1,bottom:!1}),x=T=>{k.value&&(k.value=!1,M.left=!1,M.right=!1,M.top=!1,M.bottom=!1,r(T))},_=Sd(x,n+i),S=T=>{var I;if(!c)return;const L=((I=T==null?void 0:T.document)==null?void 0:I.documentElement)||(T==null?void 0:T.documentElement)||Ie(T),{display:D,flexDirection:z}=getComputedStyle(L),H=L.scrollLeft;M.left=H<h.value,M.right=H>h.value;const X=Math.abs(H)<=(o.left||0),re=Math.abs(H)+L.clientWidth>=L.scrollWidth-(o.right||0)-Nv;D==="flex"&&z==="row-reverse"?(w.left=re,w.right=X):(w.left=X,w.right=re),h.value=H;let ee=L.scrollTop;T===c.document&&!ee&&(ee=c.document.body.scrollTop),M.top=ee<g.value,M.bottom=ee>g.value;const q=Math.abs(ee)<=(o.top||0),Z=Math.abs(ee)+L.clientHeight>=L.scrollHeight-(o.bottom||0)-Nv;D==="flex"&&z==="column-reverse"?(w.top=Z,w.bottom=q):(w.top=q,w.bottom=Z),g.value=ee},N=T=>{var I;if(!c)return;const L=(I=T.target.documentElement)!=null?I:T.target;S(L),k.value=!0,_(T),a(T)};return K(e,"scroll",n?s1(N,n,!0,!1):N,s),jt(()=>{try{const T=B(e);if(!T)return;S(T)}catch(T){f(T)}}),K(e,"scrollend",x,s),{x:p,y,isScrolling:k,arrivedState:w,directions:M,measure(){const T=B(e);c&&T&&S(T)}}}function Id(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function s5e(e,t,n={}){var i;const{direction:r="bottom",interval:a=100,canLoadMore:o=()=>!0}=n,s=l.reactive(jv(e,{...n,offset:{[r]:(i=n.distance)!=null?i:0,...n.offset}})),u=l.ref(),c=l.computed(()=>!!u.value),f=l.computed(()=>Id(B(e))),h=Ev(f);function g(){if(s.measure(),!f.value||!h.value||!o(f.value))return;const{scrollHeight:p,clientHeight:y,scrollWidth:v,clientWidth:k}=f.value,w=r==="bottom"||r==="top"?p<=y:v<=k;(s.arrivedState[r]||w)&&(u.value||(u.value=Promise.all([t(s),new Promise(M=>setTimeout(M,a))]).finally(()=>{u.value=null,l.nextTick(()=>g())})))}return l.watch(()=>[s.arrivedState[r],h.value],g,{immediate:!0}),{isLoading:c,reset(){l.nextTick(()=>g())}}}const l5e=["mousedown","mouseup","keydown","keyup"];function u5e(e,t={}){const{events:n=l5e,document:i=cn,initial:r=null}=t,a=l.ref(r);return i&&n.forEach(o=>{K(i,o,s=>{typeof s.getModifierState=="function"&&(a.value=s.getModifierState(e))})}),a}function d5e(e,t,n={}){const{window:i=pe}=n;return Dd(e,t,i==null?void 0:i.localStorage,n)}const Iv={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function c5e(e={}){const{reactive:t=!1,target:n=pe,aliasMap:i=Iv,passive:r=!0,onEventFired:a=Ve}=e,o=l.reactive(new Set),s={toJSON(){return{}},current:o},u=t?l.reactive(s):s,c=new Set,f=new Set;function h(v,k){v in u&&(t?u[v]=k:u[v].value=k)}function g(){o.clear();for(const v of f)h(v,!1)}function p(v,k){var w,M;const x=(w=v.key)==null?void 0:w.toLowerCase(),S=[(M=v.code)==null?void 0:M.toLowerCase(),x].filter(Boolean);x&&(k?o.add(x):o.delete(x));for(const N of S)f.add(N),h(N,k);x==="meta"&&!k?(c.forEach(N=>{o.delete(N),h(N,!1)}),c.clear()):typeof v.getModifierState=="function"&&v.getModifierState("Meta")&&k&&[...o,...S].forEach(N=>c.add(N))}K(n,"keydown",v=>(p(v,!0),a(v)),{passive:r}),K(n,"keyup",v=>(p(v,!1),a(v)),{passive:r}),K("blur",g,{passive:!0}),K("focus",g,{passive:!0});const y=new Proxy(u,{get(v,k,w){if(typeof k!="string")return Reflect.get(v,k,w);if(k=k.toLowerCase(),k in i&&(k=i[k]),!(k in u))if(/[+_-]/.test(k)){const x=k.split(/[+_-]/g).map(_=>_.trim());u[k]=l.computed(()=>x.every(_=>B(y[_])))}else u[k]=l.ref(!1);const M=Reflect.get(v,k,w);return t?B(M):M}});return y}function y1(e,t){B(e)&&t(B(e))}function f5e(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function b1(e){return Array.from(e).map(({label:t,kind:n,language:i,mode:r,activeCues:a,cues:o,inBandMetadataTrackDispatchType:s},u)=>({id:u,label:t,kind:n,language:i,mode:r,activeCues:a,cues:o,inBandMetadataTrackDispatchType:s}))}const h5e={src:"",tracks:[]};function m5e(e,t={}){e=Mt(e),t={...h5e,...t};const{document:n=cn}=t,i=l.ref(0),r=l.ref(0),a=l.ref(!1),o=l.ref(1),s=l.ref(!1),u=l.ref(!1),c=l.ref(!1),f=l.ref(1),h=l.ref(!1),g=l.ref([]),p=l.ref([]),y=l.ref(-1),v=l.ref(!1),k=l.ref(!1),w=n&&"pictureInPictureEnabled"in n,M=dn(),x=D=>{y1(e,z=>{if(D){const H=typeof D=="number"?D:D.id;z.textTracks[H].mode="disabled"}else for(let H=0;H<z.textTracks.length;++H)z.textTracks[H].mode="disabled";y.value=-1})},_=(D,z=!0)=>{y1(e,H=>{const X=typeof D=="number"?D:D.id;z&&x(),H.textTracks[X].mode="showing",y.value=X})},S=()=>new Promise((D,z)=>{y1(e,async H=>{w&&(v.value?n.exitPictureInPicture().then(D).catch(z):H.requestPictureInPicture().then(D).catch(z))})});l.watchEffect(()=>{if(!n)return;const D=B(e);if(!D)return;const z=B(t.src);let H=[];z&&(typeof z=="string"?H=[{src:z}]:Array.isArray(z)?H=z:ol(z)&&(H=[z]),D.querySelectorAll("source").forEach(X=>{X.removeEventListener("error",M.trigger),X.remove()}),H.forEach(({src:X,type:re})=>{const ee=n.createElement("source");ee.setAttribute("src",X),ee.setAttribute("type",re||""),ee.addEventListener("error",M.trigger),D.appendChild(ee)}),D.load())}),Oe(()=>{const D=B(e);D&&D.querySelectorAll("source").forEach(z=>z.removeEventListener("error",M.trigger))}),l.watch([e,o],()=>{const D=B(e);D&&(D.volume=o.value)}),l.watch([e,k],()=>{const D=B(e);D&&(D.muted=k.value)}),l.watch([e,f],()=>{const D=B(e);D&&(D.playbackRate=f.value)}),l.watchEffect(()=>{if(!n)return;const D=B(t.tracks),z=B(e);!D||!D.length||!z||(z.querySelectorAll("track").forEach(H=>H.remove()),D.forEach(({default:H,kind:X,label:re,src:ee,srcLang:q},Z)=>{const de=n.createElement("track");de.default=H||!1,de.kind=X,de.label=re,de.src=ee,de.srclang=q,de.default&&(y.value=Z),z.appendChild(de)}))});const{ignoreUpdates:N}=Vo(i,D=>{const z=B(e);z&&(z.currentTime=D)}),{ignoreUpdates:T}=Vo(c,D=>{const z=B(e);z&&(D?z.play():z.pause())});K(e,"timeupdate",()=>N(()=>i.value=B(e).currentTime)),K(e,"durationchange",()=>r.value=B(e).duration),K(e,"progress",()=>g.value=f5e(B(e).buffered)),K(e,"seeking",()=>a.value=!0),K(e,"seeked",()=>a.value=!1),K(e,["waiting","loadstart"],()=>{s.value=!0,T(()=>c.value=!1)}),K(e,"loadeddata",()=>s.value=!1),K(e,"playing",()=>{s.value=!1,u.value=!1,T(()=>c.value=!0)}),K(e,"ratechange",()=>f.value=B(e).playbackRate),K(e,"stalled",()=>h.value=!0),K(e,"ended",()=>u.value=!0),K(e,"pause",()=>T(()=>c.value=!1)),K(e,"play",()=>T(()=>c.value=!0)),K(e,"enterpictureinpicture",()=>v.value=!0),K(e,"leavepictureinpicture",()=>v.value=!1),K(e,"volumechange",()=>{const D=B(e);D&&(o.value=D.volume,k.value=D.muted)});const I=[],L=l.watch([e],()=>{const D=B(e);D&&(L(),I[0]=K(D.textTracks,"addtrack",()=>p.value=b1(D.textTracks)),I[1]=K(D.textTracks,"removetrack",()=>p.value=b1(D.textTracks)),I[2]=K(D.textTracks,"change",()=>p.value=b1(D.textTracks)))});return Oe(()=>I.forEach(D=>D())),{currentTime:i,duration:r,waiting:s,seeking:a,ended:u,stalled:h,buffered:g,playing:c,rate:f,volume:o,muted:k,tracks:p,selectedTrack:y,enableTrack:_,disableTrack:x,supportsPictureInPicture:w,togglePictureInPicture:S,isPictureInPicture:v,onSourceError:M.on}}function p5e(e,t){const i=t!=null&&t.cache?l.shallowReactive(t.cache):l.shallowReactive(new Map),r=(...f)=>t!=null&&t.getKey?t.getKey(...f):JSON.stringify(f),a=(f,...h)=>(i.set(f,e(...h)),i.get(f)),o=(...f)=>a(r(...f),...f),s=(...f)=>{i.delete(r(...f))},u=()=>{i.clear()},c=(...f)=>{const h=r(...f);return i.has(h)?i.get(h):a(h,...f)};return c.load=o,c.delete=s,c.clear=u,c.generateKey=r,c.cache=i,c}function g5e(e={}){const t=l.ref(),n=Le(()=>typeof performance<"u"&&"memory"in performance);if(n.value){const{interval:i=1e3}=e;$r(()=>{t.value=performance.memory},i,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}const y5e={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Wv(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:r={x:0,y:0},window:a=pe,target:o=a,scroll:s=!0,eventFilter:u}=e;let c=null;const f=l.ref(r.x),h=l.ref(r.y),g=l.ref(null),p=typeof t=="function"?t:y5e[t],y=S=>{const N=p(S);c=S,N&&([f.value,h.value]=N,g.value="mouse")},v=S=>{if(S.touches.length>0){const N=p(S.touches[0]);N&&([f.value,h.value]=N,g.value="touch")}},k=()=>{if(!c||!a)return;const S=p(c);c instanceof MouseEvent&&S&&(f.value=S[0]+a.scrollX,h.value=S[1]+a.scrollY)},w=()=>{f.value=r.x,h.value=r.y},M=u?S=>u(()=>y(S),{}):S=>y(S),x=u?S=>u(()=>v(S),{}):S=>v(S),_=u?()=>u(()=>k(),{}):()=>k();if(o){const S={passive:!0};K(o,["mousemove","dragover"],M,S),n&&t!=="movement"&&(K(o,["touchstart","touchmove"],x,S),i&&K(o,"touchend",w,S)),s&&t==="page"&&K(a,"scroll",_,{passive:!0})}return{x:f,y:h,sourceType:g}}function Ov(e,t={}){const{handleOutside:n=!0,window:i=pe}=t,r=t.type||"page",{x:a,y:o,sourceType:s}=Wv(t),u=l.ref(e??(i==null?void 0:i.document.body)),c=l.ref(0),f=l.ref(0),h=l.ref(0),g=l.ref(0),p=l.ref(0),y=l.ref(0),v=l.ref(!0);let k=()=>{};return i&&(k=l.watch([u,a,o],()=>{const w=Ie(u);if(!w||!(w instanceof HTMLElement))return;const{left:M,top:x,width:_,height:S}=w.getBoundingClientRect();h.value=M+(r==="page"?i.pageXOffset:0),g.value=x+(r==="page"?i.pageYOffset:0),p.value=S,y.value=_;const N=a.value-h.value,T=o.value-g.value;v.value=_===0||S===0||N<0||T<0||N>_||T>S,(n||!v.value)&&(c.value=N,f.value=T)},{immediate:!0}),K(document,"mouseleave",()=>{v.value=!0})),{x:a,y:o,sourceType:s,elementX:c,elementY:f,elementPositionX:h,elementPositionY:g,elementHeight:p,elementWidth:y,isOutside:v,stop:k}}function b5e(e={}){const{touch:t=!0,drag:n=!0,capture:i=!1,initialValue:r=!1,window:a=pe}=e,o=l.ref(r),s=l.ref(null);if(!a)return{pressed:o,sourceType:s};const u=h=>()=>{o.value=!0,s.value=h},c=()=>{o.value=!1,s.value=null},f=l.computed(()=>Ie(e.target)||a);return K(f,"mousedown",u("mouse"),{passive:!0,capture:i}),K(a,"mouseleave",c,{passive:!0,capture:i}),K(a,"mouseup",c,{passive:!0,capture:i}),n&&(K(f,"dragstart",u("mouse"),{passive:!0,capture:i}),K(a,"drop",c,{passive:!0,capture:i}),K(a,"dragend",c,{passive:!0,capture:i})),t&&(K(f,"touchstart",u("touch"),{passive:!0,capture:i}),K(a,"touchend",c,{passive:!0,capture:i}),K(a,"touchcancel",c,{passive:!0,capture:i})),{pressed:o,sourceType:s}}function w5e(e={}){const{window:t=pe}=e,n=t==null?void 0:t.navigator,i=Le(()=>n&&"language"in n),r=l.ref(n==null?void 0:n.language);return K(t,"languagechange",()=>{n&&(r.value=n.language)}),{isSupported:i,language:r}}function zv(e={}){const{window:t=pe}=e,n=t==null?void 0:t.navigator,i=Le(()=>n&&"connection"in n),r=l.ref(!0),a=l.ref(!1),o=l.ref(void 0),s=l.ref(void 0),u=l.ref(void 0),c=l.ref(void 0),f=l.ref(void 0),h=l.ref(void 0),g=l.ref("unknown"),p=i.value&&n.connection;function y(){n&&(r.value=n.onLine,o.value=r.value?void 0:Date.now(),s.value=r.value?Date.now():void 0,p&&(u.value=p.downlink,c.value=p.downlinkMax,h.value=p.effectiveType,f.value=p.rtt,a.value=p.saveData,g.value=p.type))}return t&&(K(t,"offline",()=>{r.value=!1,o.value=Date.now()}),K(t,"online",()=>{r.value=!0,s.value=Date.now()})),p&&K(p,"change",y,!1),y(),{isSupported:i,isOnline:r,saveData:a,offlineAt:o,onlineAt:s,downlink:u,downlinkMax:c,effectiveType:h,rtt:f,type:g}}function Lv(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,i=l.ref(new Date),r=()=>i.value=new Date,a=n==="requestAnimationFrame"?Ba(r,{immediate:!0}):$r(r,n,{immediate:!0});return t?{now:i,...a}:i}function v5e(e){const t=l.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return l.watch(()=>B(e),i=>{n(),i&&(t.value=URL.createObjectURL(i))},{immediate:!0}),Oe(n),l.readonly(t)}function $v(e,t,n){if(typeof e=="function"||l.isReadonly(e))return l.computed(()=>Md(B(e),B(t),B(n)));const i=l.ref(e);return l.computed({get(){return i.value=Md(i.value,B(t),B(n))},set(r){i.value=Md(r,B(t),B(n))}})}function k5e(e){const{total:t=Number.POSITIVE_INFINITY,pageSize:n=10,page:i=1,onPageChange:r=Ve,onPageSizeChange:a=Ve,onPageCountChange:o=Ve}=e,s=$v(n,1,Number.POSITIVE_INFINITY),u=l.computed(()=>Math.max(1,Math.ceil(B(t)/B(s)))),c=$v(i,1,u),f=l.computed(()=>c.value===1),h=l.computed(()=>c.value===u.value);l.isRef(i)&&u1(i,c,{direction:l.isReadonly(i)?"ltr":"both"}),l.isRef(n)&&u1(n,s,{direction:l.isReadonly(n)?"ltr":"both"});function g(){c.value--}function p(){c.value++}const y={currentPage:c,currentPageSize:s,pageCount:u,isFirstPage:f,isLastPage:h,prev:g,next:p};return l.watch(c,()=>{r(l.reactive(y))}),l.watch(s,()=>{a(l.reactive(y))}),l.watch(u,()=>{o(l.reactive(y))}),y}function M5e(e={}){const{isOnline:t}=zv(e);return t}function C5e(e={}){const{window:t=pe}=e,n=l.ref(!1),i=r=>{if(!t)return;r=r||t.event;const a=r.relatedTarget||r.toElement;n.value=!a};return t&&(K(t,"mouseout",i,{passive:!0}),K(t.document,"mouseleave",i,{passive:!0}),K(t.document,"mouseenter",i,{passive:!0})),n}function Hv(e={}){const{window:t=pe}=e,n=Le(()=>t&&"screen"in t&&"orientation"in t.screen),i=n.value?t.screen.orientation:{},r=l.ref(i.type),a=l.ref(i.angle||0);return n.value&&K(t,"orientationchange",()=>{r.value=i.type,a.value=i.angle}),{isSupported:n,orientation:r,angle:a,lockOrientation:u=>n.value&&typeof i.lock=="function"?i.lock(u):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{n.value&&typeof i.unlock=="function"&&i.unlock()}}}function x5e(e,t={}){const{deviceOrientationTiltAdjust:n=k=>k,deviceOrientationRollAdjust:i=k=>k,mouseTiltAdjust:r=k=>k,mouseRollAdjust:a=k=>k,window:o=pe}=t,s=l.reactive(Sv({window:o})),u=l.reactive(Hv({window:o})),{elementX:c,elementY:f,elementWidth:h,elementHeight:g}=Ov(e,{handleOutside:!1,window:o}),p=l.computed(()=>s.isSupported&&(s.alpha!=null&&s.alpha!==0||s.gamma!=null&&s.gamma!==0)?"deviceOrientation":"mouse"),y=l.computed(()=>{if(p.value==="deviceOrientation"){let k;switch(u.orientation){case"landscape-primary":k=s.gamma/90;break;case"landscape-secondary":k=-s.gamma/90;break;case"portrait-primary":k=-s.beta/90;break;case"portrait-secondary":k=s.beta/90;break;default:k=-s.beta/90}return i(k)}else{const k=-(f.value-g.value/2)/g.value;return a(k)}}),v=l.computed(()=>{if(p.value==="deviceOrientation"){let k;switch(u.orientation){case"landscape-primary":k=s.beta/90;break;case"landscape-secondary":k=-s.beta/90;break;case"portrait-primary":k=s.gamma/90;break;case"portrait-secondary":k=-s.gamma/90;break;default:k=s.gamma/90}return n(k)}else{const k=(c.value-h.value/2)/h.value;return r(k)}});return{roll:y,tilt:v,source:p}}function S5e(e=Mv()){const t=l.shallowRef(),n=()=>{const i=Ie(e);i&&(t.value=i.parentElement)};return jt(n),l.watch(()=>B(e),n),t}function _5e(e,t){const{window:n=pe,immediate:i=!0,...r}=e,a=Le(()=>n&&"PerformanceObserver"in n);let o;const s=()=>{o==null||o.disconnect()},u=()=>{a.value&&(s(),o=new PerformanceObserver(t),o.observe(r))};return Oe(s),i&&u(),{isSupported:a,start:u,stop:s}}const Rv={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},T5e=Object.keys(Rv);function P5e(e={}){const{target:t=pe}=e,n=l.ref(!1),i=l.ref(e.initialValue||{});Object.assign(i.value,Rv,i.value);const r=a=>{n.value=!0,!(e.pointerTypes&&!e.pointerTypes.includes(a.pointerType))&&(i.value=ev(a,T5e,!1))};if(t){const a={passive:!0};K(t,["pointerdown","pointermove","pointerup"],r,a),K(t,"pointerleave",()=>n.value=!1,a)}return{...d1(i),isInside:n}}function E5e(e,t={}){const{document:n=cn}=t,i=Le(()=>n&&"pointerLockElement"in n),r=l.ref(),a=l.ref();let o;i.value&&(K(n,"pointerlockchange",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;o&&f===o&&(r.value=n.pointerLockElement,r.value||(o=a.value=null))}),K(n,"pointerlockerror",()=>{var c;const f=(c=n.pointerLockElement)!=null?c:r.value;if(o&&f===o){const h=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${h} pointer lock.`)}}));async function s(c){var f;if(!i.value)throw new Error("Pointer Lock API is not supported by your browser.");if(a.value=c instanceof Event?c.currentTarget:null,o=c instanceof Event?(f=Ie(e))!=null?f:a.value:Ie(c),!o)throw new Error("Target element undefined.");return o.requestPointerLock(),await cl(r).toBe(o)}async function u(){return r.value?(n.exitPointerLock(),await cl(r).toBeNull(),!0):!1}return{isSupported:i,element:r,triggerElement:a,lock:s,unlock:u}}function A5e(e,t={}){const n=Mt(e),{threshold:i=50,onSwipe:r,onSwipeEnd:a,onSwipeStart:o,disableTextSelect:s=!1}=t,u=l.reactive({x:0,y:0}),c=(T,I)=>{u.x=T,u.y=I},f=l.reactive({x:0,y:0}),h=(T,I)=>{f.x=T,f.y=I},g=l.computed(()=>u.x-f.x),p=l.computed(()=>u.y-f.y),{max:y,abs:v}=Math,k=l.computed(()=>y(v(g.value),v(p.value))>=i),w=l.ref(!1),M=l.ref(!1),x=l.computed(()=>k.value?v(g.value)>v(p.value)?g.value>0?"left":"right":p.value>0?"up":"down":"none"),_=T=>{var I,L,D;const z=T.buttons===0,H=T.buttons===1;return(D=(L=(I=t.pointerTypes)==null?void 0:I.includes(T.pointerType))!=null?L:z||H)!=null?D:!0},S=[K(e,"pointerdown",T=>{if(!_(T))return;M.value=!0;const I=T.target;I==null||I.setPointerCapture(T.pointerId);const{clientX:L,clientY:D}=T;c(L,D),h(L,D),o==null||o(T)}),K(e,"pointermove",T=>{if(!_(T)||!M.value)return;const{clientX:I,clientY:L}=T;h(I,L),!w.value&&k.value&&(w.value=!0),w.value&&(r==null||r(T))}),K(e,"pointerup",T=>{_(T)&&(w.value&&(a==null||a(T,x.value)),M.value=!1,w.value=!1)})];jt(()=>{var T,I,L,D,z,H,X,re;(I=(T=n.value)==null?void 0:T.style)==null||I.setProperty("touch-action","none"),s&&((D=(L=n.value)==null?void 0:L.style)==null||D.setProperty("-webkit-user-select","none"),(H=(z=n.value)==null?void 0:z.style)==null||H.setProperty("-ms-user-select","none"),(re=(X=n.value)==null?void 0:X.style)==null||re.setProperty("user-select","none"))});const N=()=>S.forEach(T=>T());return{isSwiping:l.readonly(w),direction:l.readonly(x),posStart:l.readonly(u),posEnd:l.readonly(f),distanceX:g,distanceY:p,stop:N}}function D5e(e){const t=xn("(prefers-color-scheme: light)",e),n=xn("(prefers-color-scheme: dark)",e);return l.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function N5e(e){const t=xn("(prefers-contrast: more)",e),n=xn("(prefers-contrast: less)",e),i=xn("(prefers-contrast: custom)",e);return l.computed(()=>t.value?"more":n.value?"less":i.value?"custom":"no-preference")}function j5e(e={}){const{window:t=pe}=e;if(!t)return l.ref(["en"]);const n=t.navigator,i=l.ref(n.languages);return K(t,"languagechange",()=>{i.value=n.languages}),i}function I5e(e){const t=xn("(prefers-reduced-motion: reduce)",e);return l.computed(()=>t.value?"reduce":"no-preference")}function W5e(e,t){const n=l.shallowRef(t);return l.watch(Mt(e),(i,r)=>{n.value=r},{flush:"sync"}),l.readonly(n)}const Bv="--vueuse-safe-area-top",Vv="--vueuse-safe-area-right",Fv="--vueuse-safe-area-bottom",Uv="--vueuse-safe-area-left";function O5e(){const e=l.ref(""),t=l.ref(""),n=l.ref(""),i=l.ref("");if(Nt){const a=ml(Bv),o=ml(Vv),s=ml(Fv),u=ml(Uv);a.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",s.value="env(safe-area-inset-bottom, 0px)",u.value="env(safe-area-inset-left, 0px)",r(),K("resize",Sd(r))}function r(){e.value=Wd(Bv),t.value=Wd(Vv),n.value=Wd(Fv),i.value=Wd(Uv)}return{top:e,right:t,bottom:n,left:i,update:r}}function Wd(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function z5e(e,t=Ve,n={}){const{immediate:i=!0,manual:r=!1,type:a="text/javascript",async:o=!0,crossOrigin:s,referrerPolicy:u,noModule:c,defer:f,document:h=cn,attrs:g={}}=n,p=l.ref(null);let y=null;const v=M=>new Promise((x,_)=>{const S=I=>(p.value=I,x(I),I);if(!h){x(!1);return}let N=!1,T=h.querySelector(`script[src="${B(e)}"]`);T?T.hasAttribute("data-loaded")&&S(T):(T=h.createElement("script"),T.type=a,T.async=o,T.src=B(e),f&&(T.defer=f),s&&(T.crossOrigin=s),c&&(T.noModule=c),u&&(T.referrerPolicy=u),Object.entries(g).forEach(([I,L])=>T==null?void 0:T.setAttribute(I,L)),N=!0),T.addEventListener("error",I=>_(I)),T.addEventListener("abort",I=>_(I)),T.addEventListener("load",()=>{T.setAttribute("data-loaded","true"),t(T),S(T)}),N&&(T=h.head.appendChild(T)),M||S(T)}),k=(M=!0)=>(y||(y=v(M)),y),w=()=>{if(!h)return;y=null,p.value&&(p.value=null);const M=h.querySelector(`script[src="${B(e)}"]`);M&&h.head.removeChild(M)};return i&&!r&&jt(k),r||ov(w),{scriptTag:p,load:k,unload:w}}function Yv(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:Yv(n)}}function L5e(e){const t=e||window.event,n=t.target;return Yv(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const w1=new WeakMap;function $5e(e,t=!1){const n=l.ref(t);let i=null,r="";l.watch(Mt(e),s=>{const u=Id(B(s));if(u){const c=u;if(w1.get(c)||w1.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(r=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const a=()=>{const s=Id(B(e));!s||n.value||(Cd&&(i=K(s,"touchmove",u=>{L5e(u)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},o=()=>{const s=Id(B(e));!s||!n.value||(Cd&&(i==null||i()),s.style.overflow=r,w1.delete(s),n.value=!1)};return Oe(o),l.computed({get(){return n.value},set(s){s?a():o()}})}function H5e(e,t,n={}){const{window:i=pe}=n;return Dd(e,t,i==null?void 0:i.sessionStorage,n)}function R5e(e={},t={}){const{navigator:n=Cn}=t,i=n,r=Le(()=>i&&"canShare"in i);return{isSupported:r,share:async(o={})=>{if(r.value){const s={...B(e),...B(o)};let u=!0;if(s.files&&i.canShare&&(u=i.canShare({files:s.files})),u)return i.share(s)}}}}const B5e=(e,t)=>e.sort(t),Od=(e,t)=>e-t;function V5e(...e){var t,n,i,r;const[a]=e;let o=Od,s={};e.length===2?typeof e[1]=="object"?(s=e[1],o=(t=s.compareFn)!=null?t:Od):o=(n=e[1])!=null?n:Od:e.length>2&&(o=(i=e[1])!=null?i:Od,s=(r=e[2])!=null?r:{});const{dirty:u=!1,sortFn:c=B5e}=s;return u?(l.watchEffect(()=>{const f=c(B(a),o);l.isRef(a)?a.value=f:a.splice(0,a.length,...f)}),a):l.computed(()=>c([...B(a)],o))}function F5e(e={}){const{interimResults:t=!0,continuous:n=!0,maxAlternatives:i=1,window:r=pe}=e,a=Mt(e.lang||"en-US"),o=l.ref(!1),s=l.ref(!1),u=l.ref(""),c=l.shallowRef(void 0),f=(k=!o.value)=>{o.value=k},h=()=>{o.value=!0},g=()=>{o.value=!1},p=r&&(r.SpeechRecognition||r.webkitSpeechRecognition),y=Le(()=>p);let v;return y.value&&(v=new p,v.continuous=n,v.interimResults=t,v.lang=B(a),v.maxAlternatives=i,v.onstart=()=>{s.value=!1},l.watch(a,k=>{v&&!o.value&&(v.lang=k)}),v.onresult=k=>{const w=k.results[k.resultIndex],{transcript:M}=w[0];s.value=w.isFinal,u.value=M,c.value=void 0},v.onerror=k=>{c.value=k},v.onend=()=>{o.value=!1,v.lang=B(a)},l.watch(o,()=>{o.value?v.start():v.stop()})),Oe(()=>{o.value=!1}),{isSupported:y,isListening:o,isFinal:s,recognition:v,result:u,error:c,toggle:f,start:h,stop:g}}function U5e(e,t={}){const{pitch:n=1,rate:i=1,volume:r=1,window:a=pe}=t,o=a&&a.speechSynthesis,s=Le(()=>o),u=l.ref(!1),c=l.ref("init"),f=Mt(e||""),h=Mt(t.lang||"en-US"),g=l.shallowRef(void 0),p=(M=!u.value)=>{u.value=M},y=M=>{M.lang=B(h),M.voice=B(t.voice)||null,M.pitch=B(n),M.rate=B(i),M.volume=r,M.onstart=()=>{u.value=!0,c.value="play"},M.onpause=()=>{u.value=!1,c.value="pause"},M.onresume=()=>{u.value=!0,c.value="play"},M.onend=()=>{u.value=!1,c.value="end"},M.onerror=x=>{g.value=x}},v=l.computed(()=>{u.value=!1,c.value="init";const M=new SpeechSynthesisUtterance(f.value);return y(M),M}),k=()=>{o.cancel(),v&&o.speak(v.value)},w=()=>{o.cancel(),u.value=!1};return s.value&&(y(v.value),l.watch(h,M=>{v.value&&!u.value&&(v.value.lang=M)}),t.voice&&l.watch(t.voice,()=>{o.cancel()}),l.watch(u,()=>{u.value?o.resume():o.pause()})),Oe(()=>{u.value=!1}),{isSupported:s,isPlaying:u,status:c,utterance:v,error:g,stop:w,toggle:p,speak:k}}function Y5e(e,t){const n=l.ref(e),i=l.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),r=l.ref(i.value.indexOf(t??i.value[0])),a=l.computed(()=>f(r.value)),o=l.computed(()=>r.value===0),s=l.computed(()=>r.value===i.value.length-1),u=l.computed(()=>i.value[r.value+1]),c=l.computed(()=>i.value[r.value-1]);function f(S){return Array.isArray(n.value)?n.value[S]:n.value[i.value[S]]}function h(S){if(i.value.includes(S))return f(i.value.indexOf(S))}function g(S){i.value.includes(S)&&(r.value=i.value.indexOf(S))}function p(){s.value||r.value++}function y(){o.value||r.value--}function v(S){_(S)&&g(S)}function k(S){return i.value.indexOf(S)===r.value+1}function w(S){return i.value.indexOf(S)===r.value-1}function M(S){return i.value.indexOf(S)===r.value}function x(S){return r.value<i.value.indexOf(S)}function _(S){return r.value>i.value.indexOf(S)}return{steps:n,stepNames:i,index:r,current:a,next:u,previous:c,isFirst:o,isLast:s,at:f,get:h,goTo:g,goToNext:p,goToPrevious:y,goBackTo:v,isNext:k,isPrevious:w,isCurrent:M,isBefore:x,isAfter:_}}function X5e(e,t,n,i={}){var r;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:f,window:h=pe,eventFilter:g,onError:p=x=>{console.error(x)}}=i,y=B(t),v=vv(y),k=(f?l.shallowRef:l.ref)(t),w=(r=i.serializer)!=null?r:h1[v];if(!n)try{n=Ad("getDefaultStorageAsync",()=>{var x;return(x=pe)==null?void 0:x.localStorage})()}catch(x){p(x)}async function M(x){if(!(!n||x&&x.key!==e))try{const _=x?x.newValue:await n.getItem(e);if(_==null)k.value=y,u&&y!==null&&await n.setItem(e,await w.write(y));else if(c){const S=await w.read(_);typeof c=="function"?k.value=c(S,y):v==="object"&&!Array.isArray(S)?k.value={...y,...S}:k.value=S}else k.value=await w.read(_)}catch(_){p(_)}}return M(),h&&s&&K(h,"storage",x=>Promise.resolve().then(()=>M(x))),n&&Ho(k,async()=>{try{k.value==null?await n.removeItem(e):await n.setItem(e,await w.write(k.value))}catch(x){p(x)}},{flush:a,deep:o,eventFilter:g}),k}let q5e=0;function G5e(e,t={}){const n=l.ref(!1),{document:i=cn,immediate:r=!0,manual:a=!1,id:o=`vueuse_styletag_${++q5e}`}=t,s=l.ref(e);let u=()=>{};const c=()=>{if(!i)return;const h=i.getElementById(o)||i.createElement("style");h.isConnected||(h.id=o,t.media&&(h.media=t.media),i.head.appendChild(h)),!n.value&&(u=l.watch(s,g=>{h.textContent=g},{immediate:!0}),n.value=!0)},f=()=>{!i||!n.value||(u(),i.head.removeChild(i.getElementById(o)),n.value=!1)};return r&&!a&&jt(c),a||Oe(f),{id:o,css:s,unload:f,load:c,isLoaded:l.readonly(n)}}function K5e(e,t={}){const{threshold:n=50,onSwipe:i,onSwipeEnd:r,onSwipeStart:a,passive:o=!0,window:s=pe}=t,u=l.reactive({x:0,y:0}),c=l.reactive({x:0,y:0}),f=l.computed(()=>u.x-c.x),h=l.computed(()=>u.y-c.y),{max:g,abs:p}=Math,y=l.computed(()=>g(p(f.value),p(h.value))>=n),v=l.ref(!1),k=l.computed(()=>y.value?p(f.value)>p(h.value)?f.value>0?"left":"right":h.value>0?"up":"down":"none"),w=L=>[L.touches[0].clientX,L.touches[0].clientY],M=(L,D)=>{u.x=L,u.y=D},x=(L,D)=>{c.x=L,c.y=D};let _;const S=Q5e(s==null?void 0:s.document);o?_=S?{passive:!0}:{capture:!1}:_=S?{passive:!1,capture:!0}:{capture:!0};const N=L=>{v.value&&(r==null||r(L,k.value)),v.value=!1},T=[K(e,"touchstart",L=>{if(L.touches.length!==1)return;_.capture&&!_.passive&&L.preventDefault();const[D,z]=w(L);M(D,z),x(D,z),a==null||a(L)},_),K(e,"touchmove",L=>{if(L.touches.length!==1)return;const[D,z]=w(L);x(D,z),!v.value&&y.value&&(v.value=!0),v.value&&(i==null||i(L))},_),K(e,["touchend","touchcancel"],N,_)];return{isPassiveEventSupported:S,isSwiping:v,direction:k,coordsStart:u,coordsEnd:c,lengthX:f,lengthY:h,stop:()=>T.forEach(L=>L())}}function Q5e(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",Ve,n),e.removeEventListener("x",Ve),t}function J5e(){const e=l.ref([]);return e.value.set=t=>{t&&e.value.push(t)},l.onBeforeUpdate(()=>{e.value.length=0}),e}function Z5e(e={}){const{document:t=cn,selector:n="html",observe:i=!1,initialValue:r="ltr"}=e;function a(){var s,u;return(u=(s=t==null?void 0:t.querySelector(n))==null?void 0:s.getAttribute("dir"))!=null?u:r}const o=l.ref(a());return jt(()=>o.value=a()),i&&t&&Fo(t.querySelector(n),()=>o.value=a(),{attributes:!0}),l.computed({get(){return o.value},set(s){var u,c;o.value=s,t&&(o.value?(u=t.querySelector(n))==null||u.setAttribute("dir",o.value):(c=t.querySelector(n))==null||c.removeAttribute("dir"))}})}function eMe(e){var t;const n=(t=e.rangeCount)!=null?t:0;return Array.from({length:n},(i,r)=>e.getRangeAt(r))}function tMe(e={}){const{window:t=pe}=e,n=l.ref(null),i=l.computed(()=>{var s,u;return(u=(s=n.value)==null?void 0:s.toString())!=null?u:""}),r=l.computed(()=>n.value?eMe(n.value):[]),a=l.computed(()=>r.value.map(s=>s.getBoundingClientRect()));function o(){n.value=null,t&&(n.value=t.getSelection())}return t&&K(t.document,"selectionchange",o),{text:i,rects:a,ranges:r,selection:n}}function nMe(e){var t;const n=l.ref(e==null?void 0:e.element),i=l.ref(e==null?void 0:e.input),r=(t=e==null?void 0:e.styleProp)!=null?t:"height",a=l.ref(1),o=l.ref(0);function s(){var u;if(!n.value)return;let c="";n.value.style[r]="1px",a.value=(u=n.value)==null?void 0:u.scrollHeight;const f=B(e==null?void 0:e.styleTarget);f?f.style[r]=`${a.value}px`:c=`${a.value}px`,n.value.style[r]=c}return l.watch([i,n],()=>l.nextTick(s),{immediate:!0}),l.watch(a,()=>{var u;return(u=e==null?void 0:e.onResize)==null?void 0:u.call(e)}),Nd(n,([{contentRect:u}])=>{o.value!==u.width&&(o.value=u.width,s())}),e!=null&&e.watch&&l.watch(e.watch,s,{immediate:!0,deep:!0}),{textarea:n,input:i,triggerResize:s}}function iMe(e,t={}){const{throttle:n=200,trailing:i=!0}=t,r=ll(n,i);return{...g1(e,{...t,eventFilter:r})}}const rMe=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],aMe={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function oMe(e){return e.toISOString().slice(0,10)}function sMe(e,t={}){const{controls:n=!1,updateInterval:i=3e4}=t,{now:r,...a}=Lv({interval:i,controls:!0}),o=l.computed(()=>Xv(new Date(B(e)),t,B(r)));return n?{timeAgo:o,...a}:o}function Xv(e,t={},n=Date.now()){var i;const{max:r,messages:a=aMe,fullDateFormatter:o=oMe,units:s=rMe,showSecond:u=!1,rounding:c="round"}=t,f=typeof c=="number"?k=>+k.toFixed(c):Math[c],h=+n-+e,g=Math.abs(h);function p(k,w){return f(Math.abs(k)/w.value)}function y(k,w){const M=p(k,w),x=k>0,_=v(w.name,M,x);return v(x?"past":"future",_,x)}function v(k,w,M){const x=a[k];return typeof x=="function"?x(w,M):x.replace("{0}",w.toString())}if(g<6e4&&!u)return a.justNow;if(typeof r=="number"&&g>r)return o(new Date(e));if(typeof r=="string"){const k=(i=s.find(w=>w.name===r))==null?void 0:i.max;if(k&&g>k)return o(new Date(e))}for(const[k,w]of s.entries()){if(p(h,w)<=0&&s[k-1])return y(h,s[k-1]);if(g<w.max)return y(h,w)}return a.invalid}function lMe(e,t,n){const{start:i}=Bo(a,t,{immediate:!1}),r=l.ref(!1);async function a(){r.value&&(await e(),i())}function o(){r.value||(r.value=!0,a())}function s(){r.value=!1}return n!=null&&n.immediate&&o(),Oe(s),{isActive:r,pause:s,resume:o}}function uMe(e={}){const{controls:t=!1,offset:n=0,immediate:i=!0,interval:r="requestAnimationFrame",callback:a}=e,o=l.ref($a()+n),s=()=>o.value=$a()+n,u=a?()=>{s(),a(o.value)}:s,c=r==="requestAnimationFrame"?Ba(u,{immediate:i}):$r(u,r,{immediate:i});return t?{timestamp:o,...c}:o}function dMe(e=null,t={}){var n,i,r;const{document:a=cn,restoreOnUnmount:o=h=>h}=t,s=(n=a==null?void 0:a.title)!=null?n:"",u=Mt((i=e??(a==null?void 0:a.title))!=null?i:null),c=e&&typeof e=="function";function f(h){if(!("titleTemplate"in t))return h;const g=t.titleTemplate||"%s";return typeof g=="function"?g(h):B(g).replace(/%s/g,h)}return l.watch(u,(h,g)=>{h!==g&&a&&(a.title=f(typeof h=="string"?h:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&a&&!c&&Fo((r=a.head)==null?void 0:r.querySelector("title"),()=>{a&&a.title!==u.value&&(u.value=f(a.title))},{childList:!0}),av(()=>{if(o){const h=o(s,u.value||"");h!=null&&a&&(a.title=h)}}),u}const cMe=Object.assign({},{linear:r1},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function fMe([e,t,n,i]){const r=(f,h)=>1-3*h+3*f,a=(f,h)=>3*h-6*f,o=f=>3*f,s=(f,h,g)=>((r(h,g)*f+a(h,g))*f+o(h))*f,u=(f,h,g)=>3*r(h,g)*f*f+2*a(h,g)*f+o(h),c=f=>{let h=f;for(let g=0;g<4;++g){const p=u(h,e,n);if(p===0)return h;const y=s(h,e,n)-f;h-=y/p}return h};return f=>e===t&&n===i?f:s(c(f),t,i)}function qv(e,t,n){return e+n*(t-e)}function v1(e){return(typeof e=="number"?[e]:e)||[]}function Gv(e,t,n,i={}){var r,a;const o=B(t),s=B(n),u=v1(o),c=v1(s),f=(r=B(i.duration))!=null?r:1e3,h=Date.now(),g=Date.now()+f,p=typeof i.transition=="function"?i.transition:(a=B(i.transition))!=null?a:r1,y=typeof p=="function"?p:fMe(p);return new Promise(v=>{e.value=o;const k=()=>{var w;if((w=i.abort)!=null&&w.call(i)){v();return}const M=Date.now(),x=y((M-h)/f),_=v1(e.value).map((S,N)=>qv(u[N],c[N],x));Array.isArray(e.value)?e.value=_.map((S,N)=>{var T,I;return qv((T=u[N])!=null?T:0,(I=c[N])!=null?I:0,x)}):typeof e.value=="number"&&(e.value=_[0]),M<g?requestAnimationFrame(k):(e.value=s,v())};k()})}function hMe(e,t={}){let n=0;const i=()=>{const a=B(e);return typeof a=="number"?a:a.map(B)},r=l.ref(i());return l.watch(i,async a=>{var o,s;if(B(t.disabled))return;const u=++n;if(t.delay&&await ul(B(t.delay)),u!==n)return;const c=Array.isArray(a)?a.map(B):B(a);(o=t.onStarted)==null||o.call(t),await Gv(r,r.value,c,{...t,abort:()=>{var f;return u!==n||((f=t.abort)==null?void 0:f.call(t))}}),(s=t.onFinished)==null||s.call(t)},{deep:!0}),l.watch(()=>B(t.disabled),a=>{a&&(n++,r.value=i())}),Oe(()=>{n++}),l.computed(()=>B(t.disabled)?i():r.value)}function mMe(e="history",t={}){const{initialValue:n={},removeNullishValues:i=!0,removeFalsyValues:r=!1,write:a=!0,window:o=pe}=t;if(!o)return l.reactive(n);const s=l.reactive({});function u(){if(e==="history")return o.location.search||"";if(e==="hash"){const w=o.location.hash||"",M=w.indexOf("?");return M>0?w.slice(M):""}else return(o.location.hash||"").replace(/^#/,"")}function c(w){const M=w.toString();if(e==="history")return`${M?`?${M}`:""}${o.location.hash||""}`;if(e==="hash-params")return`${o.location.search||""}${M?`#${M}`:""}`;const x=o.location.hash||"#",_=x.indexOf("?");return _>0?`${x.slice(0,_)}${M?`?${M}`:""}`:`${x}${M?`?${M}`:""}`}function f(){return new URLSearchParams(u())}function h(w){const M=new Set(Object.keys(s));for(const x of w.keys()){const _=w.getAll(x);s[x]=_.length>1?_:w.get(x)||"",M.delete(x)}Array.from(M).forEach(x=>delete s[x])}const{pause:g,resume:p}=Ro(s,()=>{const w=new URLSearchParams("");Object.keys(s).forEach(M=>{const x=s[M];Array.isArray(x)?x.forEach(_=>w.append(M,_)):i&&x==null||r&&!x?w.delete(M):w.set(M,x)}),y(w)},{deep:!0});function y(w,M){g(),M&&h(w),o.history.replaceState(o.history.state,o.document.title,o.location.pathname+c(w)),p()}function v(){a&&y(f(),!0)}K(o,"popstate",v,!1),e!=="history"&&K(o,"hashchange",v,!1);const k=f();return k.keys().next().value?h(k):Object.assign(s,n),s}function pMe(e={}){var t,n;const i=l.ref((t=e.enabled)!=null?t:!1),r=l.ref((n=e.autoSwitch)!=null?n:!0),a=l.ref(e.constraints),{navigator:o=Cn}=e,s=Le(()=>{var v;return(v=o==null?void 0:o.mediaDevices)==null?void 0:v.getUserMedia}),u=l.shallowRef();function c(v){switch(v){case"video":{if(a.value)return a.value.video||!1;break}case"audio":{if(a.value)return a.value.audio||!1;break}}}async function f(){if(!(!s.value||u.value))return u.value=await o.mediaDevices.getUserMedia({video:c("video"),audio:c("audio")}),u.value}function h(){var v;(v=u.value)==null||v.getTracks().forEach(k=>k.stop()),u.value=void 0}function g(){h(),i.value=!1}async function p(){return await f(),u.value&&(i.value=!0),u.value}async function y(){return h(),await p()}return l.watch(i,v=>{v?f():h()},{immediate:!0}),l.watch(a,()=>{r.value&&u.value&&y()},{immediate:!0}),Oe(()=>{g()}),{isSupported:s,stream:u,start:p,stop:g,restart:y,constraints:a,enabled:i,autoSwitch:r}}function Kv(e,t,n,i={}){var r,a,o;const{clone:s=!1,passive:u=!1,eventName:c,deep:f=!1,defaultValue:h,shouldEmit:g}=i,p=l.getCurrentInstance(),y=n||(p==null?void 0:p.emit)||((r=p==null?void 0:p.$emit)==null?void 0:r.bind(p))||((o=(a=p==null?void 0:p.proxy)==null?void 0:a.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let v=c;t||(t="modelValue"),v=v||`update:${t.toString()}`;const k=x=>s?typeof s=="function"?s(x):hl(x):x,w=()=>qw(e[t])?k(e[t]):h,M=x=>{g?g(x)&&y(v,x):y(v,x)};if(u){const x=w(),_=l.ref(x);let S=!1;return l.watch(()=>e[t],N=>{S||(S=!0,_.value=k(N),l.nextTick(()=>S=!1))}),l.watch(_,N=>{!S&&(N!==e[t]||f)&&M(N)},{deep:f}),_}else return l.computed({get(){return w()},set(x){M(x)}})}function gMe(e,t,n={}){const i={};for(const r in e)i[r]=Kv(e,r,t,n);return i}function yMe(e){const{pattern:t=[],interval:n=0,navigator:i=Cn}=e||{},r=Le(()=>typeof i<"u"&&"vibrate"in i),a=Mt(t);let o;const s=(c=a.value)=>{r.value&&i.vibrate(c)},u=()=>{r.value&&i.vibrate(0),o==null||o.pause()};return n>0&&(o=$r(s,n,{immediate:!1,immediateCallback:!1})),{isSupported:r,pattern:t,intervalControls:o,vibrate:s,stop:u}}function bMe(e,t){const{containerStyle:n,wrapperProps:i,scrollTo:r,calculateRange:a,currentList:o,containerRef:s}="itemHeight"in t?kMe(t,e):vMe(t,e);return{list:o,scrollTo:r,containerProps:{ref:s,onScroll:()=>{a()},style:n},wrapperProps:i}}function Qv(e){const t=l.ref(null),n=Tv(t),i=l.ref([]),r=l.shallowRef(e);return{state:l.ref({start:0,end:10}),source:r,currentList:i,size:n,containerRef:t}}function Jv(e,t,n){return i=>{if(typeof n=="number")return Math.ceil(i/n);const{start:r=0}=e.value;let a=0,o=0;for(let s=r;s<t.value.length;s++){const u=n(s);if(a+=u,o=s,a>i)break}return o-r}}function Zv(e,t){return n=>{if(typeof t=="number")return Math.floor(n/t)+1;let i=0,r=0;for(let a=0;a<e.value.length;a++){const o=t(a);if(i+=o,i>=n){r=a;break}}return r+1}}function e3(e,t,n,i,{containerRef:r,state:a,currentList:o,source:s}){return()=>{const u=r.value;if(u){const c=n(e==="vertical"?u.scrollTop:u.scrollLeft),f=i(e==="vertical"?u.clientHeight:u.clientWidth),h=c-t,g=c+f+t;a.value={start:h<0?0:h,end:g>s.value.length?s.value.length:g},o.value=s.value.slice(a.value.start,a.value.end).map((p,y)=>({data:p,index:y+a.value.start}))}}}function t3(e,t){return n=>typeof e=="number"?n*e:t.value.slice(0,n).reduce((r,a,o)=>r+e(o),0)}function n3(e,t,n,i){l.watch([e.width,e.height,t,n],()=>{i()})}function i3(e,t){return l.computed(()=>typeof e=="number"?t.value.length*e:t.value.reduce((n,i,r)=>n+e(r),0))}const wMe={horizontal:"scrollLeft",vertical:"scrollTop"};function r3(e,t,n,i){return r=>{i.value&&(i.value[wMe[e]]=n(r),t())}}function vMe(e,t){const n=Qv(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowX:"auto"},{itemWidth:c,overscan:f=5}=e,h=Jv(i,r,c),g=Zv(r,c),p=e3("horizontal",f,g,h,n),y=t3(c,r),v=l.computed(()=>y(i.value.start)),k=i3(c,r);n3(o,t,s,p);const w=r3("horizontal",p,y,s),M=l.computed(()=>({style:{height:"100%",width:`${k.value-v.value}px`,marginLeft:`${v.value}px`,display:"flex"}}));return{scrollTo:w,calculateRange:p,wrapperProps:M,containerStyle:u,currentList:a,containerRef:s}}function kMe(e,t){const n=Qv(t),{state:i,source:r,currentList:a,size:o,containerRef:s}=n,u={overflowY:"auto"},{itemHeight:c,overscan:f=5}=e,h=Jv(i,r,c),g=Zv(r,c),p=e3("vertical",f,g,h,n),y=t3(c,r),v=l.computed(()=>y(i.value.start)),k=i3(c,r);n3(o,t,s,p);const w=r3("vertical",p,y,s),M=l.computed(()=>({style:{width:"100%",height:`${k.value-v.value}px`,marginTop:`${v.value}px`}}));return{calculateRange:p,scrollTo:w,containerStyle:u,wrapperProps:M,currentList:a,containerRef:s}}function MMe(e={}){const{navigator:t=Cn,document:n=cn}=e,i=l.ref(!1),r=l.shallowRef(null),a=_v({document:n}),o=Le(()=>t&&"wakeLock"in t),s=l.computed(()=>!!r.value&&a.value==="visible");o.value&&(K(r,"release",()=>{var h,g;i.value=(g=(h=r.value)==null?void 0:h.type)!=null?g:!1}),cv(()=>a.value==="visible"&&(n==null?void 0:n.visibilityState)==="visible"&&i.value,h=>{i.value=!1,u(h)}));async function u(h){var g;await((g=r.value)==null?void 0:g.release()),r.value=o.value?await t.wakeLock.request(h):null}async function c(h){a.value==="visible"?await u(h):i.value=h}async function f(){i.value=!1;const h=r.value;r.value=null,await(h==null?void 0:h.release())}return{sentinel:r,isSupported:o,isActive:s,request:c,forceRequest:u,release:f}}function CMe(e={}){const{window:t=pe,requestPermissions:n=!0}=e,i=e,r=Le(()=>{if(!t||!("Notification"in t))return!1;try{new Notification("")}catch{return!1}return!0}),a=l.ref(r.value&&"permission"in Notification&&Notification.permission==="granted"),o=l.ref(null),s=async()=>{if(r.value)return!a.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(a.value=!0),a.value},{on:u,trigger:c}=dn(),{on:f,trigger:h}=dn(),{on:g,trigger:p}=dn(),{on:y,trigger:v}=dn(),k=async M=>{if(!r.value||!a.value)return;const x=Object.assign({},i,M);return o.value=new Notification(x.title||"",x),o.value.onclick=c,o.value.onshow=h,o.value.onerror=p,o.value.onclose=v,o.value},w=()=>{o.value&&o.value.close(),o.value=null};if(n&&jt(s),Oe(w),r.value&&t){const M=t.document;K(M,"visibilitychange",x=>{x.preventDefault(),M.visibilityState==="visible"&&w()})}return{isSupported:r,notification:o,ensurePermissions:s,permissionGranted:a,show:k,close:w,onClick:u,onShow:f,onError:g,onClose:y}}const a3="ping";function k1(e){return e===!0?{}:e}function xMe(e,t={}){const{onConnected:n,onDisconnected:i,onError:r,onMessage:a,immediate:o=!0,autoClose:s=!0,protocols:u=[]}=t,c=l.ref(null),f=l.ref("CLOSED"),h=l.ref(),g=Mt(e);let p,y,v=!1,k=0,w=[],M;const x=()=>{if(w.length&&h.value&&f.value==="OPEN"){for(const L of w)h.value.send(L);w=[]}},_=()=>{clearTimeout(M),M=void 0},S=(L=1e3,D)=>{!Nt||!h.value||(v=!0,_(),p==null||p(),h.value.close(L,D),h.value=void 0)},N=(L,D=!0)=>!h.value||f.value!=="OPEN"?(D&&w.push(L),!1):(x(),h.value.send(L),!0),T=()=>{if(v||typeof g.value>"u")return;const L=new WebSocket(g.value,u);h.value=L,f.value="CONNECTING",L.onopen=()=>{f.value="OPEN",k=0,n==null||n(L),y==null||y(),x()},L.onclose=D=>{if(f.value="CLOSED",i==null||i(L,D),!v&&t.autoReconnect&&L===h.value){const{retries:z=-1,delay:H=1e3,onFailed:X}=k1(t.autoReconnect);typeof z=="number"&&(z<0||k<z)?(k+=1,setTimeout(T,H)):typeof z=="function"&&z()?setTimeout(T,H):X==null||X()}},L.onerror=D=>{r==null||r(L,D)},L.onmessage=D=>{if(t.heartbeat){_();const{message:z=a3,responseMessage:H=z}=k1(t.heartbeat);if(D.data===H)return}c.value=D.data,a==null||a(L,D)}};if(t.heartbeat){const{message:L=a3,interval:D=1e3,pongTimeout:z=1e3}=k1(t.heartbeat),{pause:H,resume:X}=$r(()=>{N(L,!1),M==null&&(M=setTimeout(()=>{S(),v=!1},z))},D,{immediate:!1});p=H,y=X}s&&(Nt&&K("beforeunload",()=>S()),Oe(S));const I=()=>{!Nt&&!Xw||(S(),v=!1,k=0,T())};return o&&I(),l.watch(g,I),{data:c,status:f,close:S,send:N,open:I,ws:h}}function SMe(e,t,n){const{window:i=pe}=n??{},r=l.ref(null),a=l.shallowRef(),o=(...u)=>{a.value&&a.value.postMessage(...u)},s=function(){a.value&&a.value.terminate()};return i&&(typeof e=="string"?a.value=new Worker(e,t):typeof e=="function"?a.value=e():a.value=e,a.value.onmessage=u=>{r.value=u.data},Oe(()=>{a.value&&a.value.terminate()})),{data:r,post:o,terminate:s,worker:a}}function _Me(e){return t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(i=>{postMessage(["SUCCESS",i])}).catch(i=>{postMessage(["ERROR",i])})}}function TMe(e,t){if(e.length===0&&t.length===0)return"";const n=e.map(a=>`'${a}'`).toString(),i=t.filter(a=>typeof a=="function").map(a=>{const o=a.toString();return o.trim().startsWith("function")?o:`const ${a.name} = ${o}`}).join(";"),r=`importScripts(${n});`;return`${n.trim()===""?"":r} ${i}`}function PMe(e,t,n){const i=`${TMe(t,n)}; onmessage=(${_Me})(${e})`,r=new Blob([i],{type:"text/javascript"});return URL.createObjectURL(r)}function EMe(e,t={}){const{dependencies:n=[],localDependencies:i=[],timeout:r,window:a=pe}=t,o=l.ref(),s=l.ref("PENDING"),u=l.ref({}),c=l.ref(),f=(y="PENDING")=>{o.value&&o.value._url&&a&&(o.value.terminate(),URL.revokeObjectURL(o.value._url),u.value={},o.value=void 0,a.clearTimeout(c.value),s.value=y)};f(),Oe(f);const h=()=>{const y=PMe(e,n,i),v=new Worker(y);return v._url=y,v.onmessage=k=>{const{resolve:w=()=>{},reject:M=()=>{}}=u.value,[x,_]=k.data;switch(x){case"SUCCESS":w(_),f(x);break;default:M(_),f("ERROR");break}},v.onerror=k=>{const{reject:w=()=>{}}=u.value;k.preventDefault(),w(k),f("ERROR")},r&&(c.value=setTimeout(()=>f("TIMEOUT_EXPIRED"),r)),v},g=(...y)=>new Promise((v,k)=>{var w;u.value={resolve:v,reject:k},(w=o.value)==null||w.postMessage([[...y]]),s.value="RUNNING"});return{workerFn:(...y)=>s.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(o.value=h(),g(...y)),workerStatus:s,workerTerminate:f}}function AMe(e={}){const{window:t=pe}=e;if(!t)return l.ref(!1);const n=l.ref(t.document.hasFocus());return K(t,"blur",()=>{n.value=!1}),K(t,"focus",()=>{n.value=!0}),n}function DMe(e={}){const{window:t=pe,behavior:n="auto"}=e;if(!t)return{x:l.ref(0),y:l.ref(0)};const i=l.ref(t.scrollX),r=l.ref(t.scrollY),a=l.computed({get(){return i.value},set(s){scrollTo({left:s,behavior:n})}}),o=l.computed({get(){return r.value},set(s){scrollTo({top:s,behavior:n})}});return K(t,"scroll",()=>{i.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:o}}function NMe(e={}){const{window:t=pe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:a=!0,type:o="inner"}=e,s=l.ref(n),u=l.ref(i),c=()=>{t&&(o==="outer"?(s.value=t.outerWidth,u.value=t.outerHeight):a?(s.value=t.innerWidth,u.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};if(c(),jt(c),K("resize",c,{passive:!0}),r){const f=xn("(orientation: portrait)");l.watch(f,()=>c())}return{width:s,height:u}}const jMe=Object.freeze(Object.defineProperty({__proto__:null,DefaultMagicKeysAliasMap:Iv,StorageSerializers:h1,TransitionPresets:cMe,assert:A4e,asyncComputed:fv,autoResetRef:iv,breakpointsAntDesign:a6e,breakpointsBootstrapV5:n6e,breakpointsMasterCss:l6e,breakpointsPrimeFlex:u6e,breakpointsQuasar:o6e,breakpointsSematic:s6e,breakpointsTailwind:t6e,breakpointsVuetify:r6e,breakpointsVuetifyV2:yv,breakpointsVuetifyV3:i6e,bypassFilter:sl,camelize:Qw,clamp:Md,cloneFnJSON:hl,computedAsync:fv,computedEager:Rw,computedInject:Eke,computedWithControl:e1,containsProp:a1,controlledComputed:e1,controlledRef:V4e,createEventHook:dn,createFetch:F6e,createFilterWrapper:Ha,createGlobalState:M4e,createInjectionState:C4e,createReactiveFn:t1,createReusableTemplate:Ake,createSharedComposable:x4e,createSingletonPromise:Jw,createTemplatePromise:Nke,createUnrefFn:jke,customStorageEventName:m1,debounceFilter:xd,debouncedRef:o1,debouncedWatch:uv,defaultDocument:cn,defaultLocation:Ike,defaultNavigator:Cn,defaultWindow:pe,directiveHooks:W4e,eagerComputed:Rw,executeTransition:Gv,extendRef:Fw,formatDate:sv,formatTimeAgo:Xv,get:S4e,getLifeCycleTarget:dl,getSSRHandler:Ad,hasOwn:Gw,hyphenate:z4e,identity:r1,ignorableWatch:Vo,increaseWithUnit:Zw,injectLocal:Vw,invoke:$4e,isClient:Nt,isDef:qw,isDefined:_4e,isIOS:Cd,isObject:ol,isWorker:Xw,makeDestructurable:Uw,mapGamepadToXbox360Controller:Z6e,noop:Ve,normalizeDate:lv,notNullish:kd,now:N4e,objectEntries:nv,objectOmit:tv,objectPick:ev,onClickOutside:Wke,onKeyDown:zke,onKeyPressed:Lke,onKeyStroke:_d,onKeyUp:$ke,onLongPress:Bke,onStartTyping:Uke,pausableFilter:i1,pausableWatch:Ro,promiseTimeout:ul,provideLocal:Bw,rand:j4e,reactify:t1,reactifyObject:P4e,reactiveComputed:n1,reactiveOmit:E4e,reactivePick:R4e,refAutoReset:iv,refDebounced:o1,refDefault:B4e,refThrottled:l1,refWithControl:rv,resolveRef:H4e,resolveUnref:T4e,set:F4e,setSSRHandler:b6e,syncRef:u1,syncRefs:U4e,templateRef:Yke,throttleFilter:ll,throttledRef:l1,throttledWatch:dv,timestamp:$a,toReactive:Yw,toRef:Mt,toRefs:d1,toValue:B,tryOnBeforeMount:Y4e,tryOnBeforeUnmount:av,tryOnMounted:jt,tryOnScopeDispose:Oe,tryOnUnmounted:ov,unrefElement:Ie,until:cl,useActiveElement:pv,useAnimate:Xke,useArrayDifference:q4e,useArrayEvery:G4e,useArrayFilter:K4e,useArrayFind:Q4e,useArrayFindIndex:J4e,useArrayFindLast:eke,useArrayIncludes:nke,useArrayJoin:ike,useArrayMap:rke,useArrayReduce:ake,useArraySome:oke,useArrayUnique:uke,useAsyncQueue:qke,useAsyncState:gv,useBase64:Qke,useBattery:Zke,useBluetooth:e6e,useBreakpoints:d6e,useBroadcastChannel:c6e,useBrowserLocation:f6e,useCached:h6e,useClipboard:m6e,useClipboardItems:p6e,useCloned:g6e,useColorMode:kv,useConfirmDialog:v6e,useCounter:dke,useCssVar:ml,useCurrentElement:Mv,useCycleList:k6e,useDark:M6e,useDateFormat:mke,useDebounce:o1,useDebounceFn:Sd,useDebouncedRefHistory:_6e,useDeviceMotion:T6e,useDeviceOrientation:Sv,useDevicePixelRatio:P6e,useDevicesList:E6e,useDisplayMedia:A6e,useDocumentVisibility:_v,useDraggable:D6e,useDropZone:N6e,useElementBounding:j6e,useElementByPoint:I6e,useElementHover:W6e,useElementSize:Tv,useElementVisibility:Ev,useEventBus:O6e,useEventListener:K,useEventSource:L6e,useEyeDropper:$6e,useFavicon:H6e,useFetch:Av,useFileDialog:X6e,useFileSystemAccess:q6e,useFocus:G6e,useFocusWithin:K6e,useFps:Q6e,useFullscreen:J6e,useGamepad:e5e,useGeolocation:t5e,useIdle:r5e,useImage:o5e,useInfiniteScroll:s5e,useIntersectionObserver:Pv,useInterval:pke,useIntervalFn:$r,useKeyModifier:u5e,useLastChanged:gke,useLocalStorage:d5e,useMagicKeys:c5e,useManualRefHistory:xv,useMediaControls:m5e,useMediaQuery:xn,useMemoize:p5e,useMemory:g5e,useMounted:mv,useMouse:Wv,useMouseInElement:Ov,useMousePressed:b5e,useMutationObserver:Fo,useNavigatorLanguage:w5e,useNetwork:zv,useNow:Lv,useObjectUrl:v5e,useOffsetPagination:k5e,useOnline:M5e,usePageLeave:C5e,useParallax:x5e,useParentElement:S5e,usePerformanceObserver:_5e,usePermission:Td,usePointer:P5e,usePointerLock:E5e,usePointerSwipe:A5e,usePreferredColorScheme:D5e,usePreferredContrast:N5e,usePreferredDark:p1,usePreferredLanguages:j5e,usePreferredReducedMotion:I5e,usePrevious:W5e,useRafFn:Ba,useRefHistory:g1,useResizeObserver:Nd,useScreenOrientation:Hv,useScreenSafeArea:O5e,useScriptTag:z5e,useScroll:jv,useScrollLock:$5e,useSessionStorage:H5e,useShare:R5e,useSorted:V5e,useSpeechRecognition:F5e,useSpeechSynthesis:U5e,useStepper:Y5e,useStorage:Dd,useStorageAsync:X5e,useStyleTag:G5e,useSupported:Le,useSwipe:K5e,useTemplateRefsList:J5e,useTextDirection:Z5e,useTextSelection:tMe,useTextareaAutosize:nMe,useThrottle:l1,useThrottleFn:s1,useThrottledRefHistory:iMe,useTimeAgo:sMe,useTimeout:yke,useTimeoutFn:Bo,useTimeoutPoll:lMe,useTimestamp:uMe,useTitle:dMe,useToNumber:bke,useToString:wke,useToggle:vke,useTransition:hMe,useUrlSearchParams:mMe,useUserMedia:pMe,useVModel:Kv,useVModels:gMe,useVibrate:yMe,useVirtualList:bMe,useWakeLock:MMe,useWebNotification:CMe,useWebSocket:xMe,useWebWorker:SMe,useWebWorkerFn:EMe,useWindowFocus:AMe,useWindowScroll:DMe,useWindowSize:NMe,watchArray:kke,watchAtMost:Mke,watchDebounced:uv,watchDeep:Cke,watchIgnorable:Vo,watchImmediate:xke,watchOnce:Ske,watchPausable:Ro,watchThrottled:dv,watchTriggerable:_ke,watchWithFilter:Ho,whenever:cv},Symbol.toStringTag,{value:"Module"})),IMe=["data-testid"],WMe=["data-testid"],zd=me(l.defineComponent({__name:"Dialog",props:{open:{type:Boolean},width:{},height:{},noClose:{type:Boolean},dataTestid:{default:"Dialog"}},emits:["close"],setup(e,{emit:t}){const n=e,i=l.ref(null),r=l.useAttrs(),a=l.ref(!1),o=l.computed(()=>({width:n.width,height:n.height})),s=t,u=()=>{var f;(f=i.value)==null||f.close(),s("close")},c=()=>{var f;return n.open?(f=i.value)==null?void 0:f.showModal():u()};return K(i,"mousedown",f=>{!n.noClose&&f.target===i.value&&u()}),K(i,"keydown",f=>{(f.key==="Escape"||f.key==="Esc")&&(n.noClose||u())}),l.onMounted(()=>{l.watchEffect(()=>{n.open!==a.value&&(c(),a.value=n.open)})}),(f,h)=>(l.openBlock(),l.createElementBlock("dialog",l.mergeProps({ref_key:"dialog",ref:i},l.unref(r),{class:"dialog-yui-kit","data-testid":n.dataTestid}),[l.createElementVNode("div",{"data-testid":`${n.dataTestid}-Content`,class:"dialog-yui-kit__dialog-content",style:l.normalizeStyle(o.value)},[l.renderSlot(f.$slots,"default",{},void 0,!0)],12,WMe)],16,IMe))}}),[["__scopeId","data-v-406eddb7"]]),OMe=["data-testid"],zMe=["data-testid"],M1=me(l.defineComponent({__name:"Accordion",props:{dataTestid:{default:"Accordion"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("details",{class:"accordion-yui-kit","data-testid":t.dataTestid},[l.createElementVNode("summary",{class:"accordion-yui-kit__summary","data-testid":`${t.dataTestid}-Summary`},[l.renderSlot(n.$slots,"summary",{},void 0,!0),l.createVNode(we,{name:l.unref(se).chevronUp,class:"chevron-up","stroke-width":"2","data-testid":`${t.dataTestid}-ChevronUp`},null,8,["name","data-testid"]),l.createVNode(we,{name:l.unref(se).chevronDown,class:"chevron-down","stroke-width":"2","data-testid":`${t.dataTestid}-ChevronDown`},null,8,["name","data-testid"])],8,zMe),l.renderSlot(n.$slots,"default",{},void 0,!0)],8,OMe))}}),[["__scopeId","data-v-477127da"]]),LMe=["data-testid"],$Me=["data-testid"],HMe=["data-testid"],RMe=["data-testid","multiple"],C1=me(l.defineComponent({__name:"DragAndDrop",props:{singleFileMode:{type:Boolean,default:!1},title:{default:"Кликните или перенесите файлы"},dataTestid:{default:"DragAndDrop"}},emits:["fileDropped"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isPressed:!1}),a=l.ref(null),o=p=>{const y=p.target;g(y.files)},s=()=>{a.value&&(a.value.value="")},u=p=>{var v;p.preventDefault();const y=(v=p.currentTarget)==null?void 0:v.children[0];y.classList.contains("active")||y.classList.add("active")},c=p=>{p.currentTarget.children[0].classList.remove("active")},f=p=>{var v;p.preventDefault(),g(((v=p.dataTransfer)==null?void 0:v.files)||null),p.currentTarget.children[0].classList.remove("active")},h=()=>{r.isPressed=!r.isPressed},g=p=>{r.isPressed=!1,i("fileDropped",p)};return l.onMounted(()=>{var p;(p=a.value)==null||p.addEventListener("cancel",()=>{r.isPressed=!1})}),(p,y)=>(l.openBlock(),l.createElementBlock("div",{onDragover:u,onDragleave:c,onDrop:f,class:"dnd-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("label",{for:"docsFileSelected",class:l.normalizeClass(["dnd-yui-kit__label",{"is-pressed":r.isPressed}]),onClick:h,"data-testid":`${n.dataTestid}-Label`},[l.createVNode(we,{name:l.unref(se).paperClip,"stroke-width":"2","data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"]),l.createElementVNode("span",{class:"dnd-yui-kit__span","data-testid":`${n.dataTestid}-Title`},l.toDisplayString(n.title),9,HMe)],10,$Me),l.createElementVNode("input",{id:"docsFileSelected",onChange:o,onClick:s,type:"file",style:{display:"none"},"data-testid":`${n.dataTestid}-Input`,required:"",multiple:!n.singleFileMode,ref_key:"fileInputRef",ref:a},null,40,RMe)],40,LMe))}}),[["__scopeId","data-v-c92fde7e"]]),BMe=["data-testid"],VMe=["data-testid"],x1=me(l.defineComponent({__name:"Card",props:{dataTestid:{default:"Card"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("div",{class:"card-yui-kit","data-testid":t.dataTestid},[n.$slots.left?(l.openBlock(),l.createElementBlock("div",{key:0,class:"card-yui-kit__left","data-testid":`${t.dataTestid}-Left`},[l.renderSlot(n.$slots,"left",{},void 0,!0)],8,VMe)):l.createCommentVNode("",!0),l.renderSlot(n.$slots,"default",{},void 0,!0)],8,BMe))}}),[["__scopeId","data-v-b2c9de76"]]),FMe=(e,t=33)=>e.length>t?e.slice(0,t-3)+"...":e,UMe=["data-testid"],YMe=["data-testid"],XMe=["data-testid"],qMe=["data-testid"],GMe=["onClick","data-testid"],KMe=["data-testid"],QMe=me(l.defineComponent({__name:"History",props:{modelValue:{},defaultValue:{},placeholder:{},showHistory:{type:Boolean},global:{type:Boolean},options:{},globalResultsFunction:{},isShowList:{type:Boolean},isShowButtonHistory:{type:Boolean},searchValue:{},width:{},height:{},dataTestid:{default:"History"}},emits:["choosePost","unmount-remove"],setup(e,{emit:t}){const n=e,i=l.reactive({isShowList:n.isShowList,isShowButtonHistory:n.isShowButtonHistory}),r=t,a=l.computed(()=>({"history-yui-kit__list":!0,"history-yui-kit__list--opened":i.isShowList,"history-yui-kit__list--scroll":n.modelValue&&n.modelValue.length>=5&&i.isShowList})),o=()=>{i.isShowList=!0,i.isShowButtonHistory=!1},s=c=>{r("unmount-remove",c)},u=c=>{r("choosePost",c)};return(c,f)=>{var h;return n.showHistory?(l.openBlock(),l.createElementBlock("div",{key:0,class:"search-yui-kit__history history-yui-kit","data-testid":n.dataTestid},[i.isShowButtonHistory?(l.openBlock(),l.createBlock(yt,{key:0,type:l.unref(Qe).outline,onClick:o,class:l.normalizeClass("history-yui-kit__button-text show-result"),"data-testid":`${n.dataTestid}-ShowResult`},{default:l.withCtx(()=>[l.createElementVNode("span",{"data-testid":`${n.dataTestid}-ShowResult-Title`}," Просмотреть историю запросов ",8,YMe)]),_:1},8,["type","data-testid"])):l.createCommentVNode("",!0),(h=n.modelValue)!=null&&h.length?(l.openBlock(),l.createElementBlock("ul",{key:1,class:l.normalizeClass(a.value),"data-testid":`${n.dataTestid}-ShowResult-List`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.modelValue,(g,p)=>(l.openBlock(),l.createElementBlock("li",{class:"history-yui-kit__item",key:g,"data-testid":`${n.dataTestid}-ShowResult-Title${p}`},[l.createElementVNode("span",{onClick:y=>u(g),"data-testid":`${n.dataTestid}-HandleChoosePost-Title${p}`},l.toDisplayString(l.unref(FMe)(g)),9,GMe),l.createVNode(yt,{type:l.unref(Qe).ghost,onClick:y=>s(g),"data-testid":`${n.dataTestid}-ButtonItem-Remove${p}`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).exitSmall,width:16,"data-testid":`${n.dataTestid}-ButtonItem-RemoveIcon${p}`},null,8,["name","data-testid"])]),_:2},1032,["type","onClick","data-testid"])],8,qMe))),128))],10,XMe)):i.isShowButtonHistory?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(yt,{key:2,type:l.unref(Qe).outline,class:l.normalizeClass("history-yui-kit__button-text"),"data-testid":`${n.dataTestid}-ButtonTypeEnum-RemoveButton`},{default:l.withCtx(()=>[l.createElementVNode("span",{"data-testid":`${n.dataTestid}-ButtonTypeEnum-EmptyContent`,class:"empty-content"},"По вашему запросу ничего не найдено",8,KMe)]),_:1},8,["type","data-testid"]))],8,UMe)):l.createCommentVNode("",!0)}}}),[["__scopeId","data-v-f99e5491"]]),JMe=["data-testid"],ZMe=["data-testid"],e9e=["data-testid","onClick"],t9e=["data-testid"],n9e=["data-testid"],i9e=["data-testid"],r9e=["data-testid"],a9e=["data-testid"],o9e=["data-testid"],s9e=me(l.defineComponent({__name:"SearchResult",props:{defaultValue:{},placeholder:{},showHistory:{type:Boolean},global:{type:Boolean},options:{},globalResultsFunction:{default:()=>[]},isShowList:{type:Boolean},isShowButtonHistory:{type:Boolean},searchValue:{default:""},width:{},height:{},modelValue:{},dataTestid:{default:"SearchResult"}},emits:["choose-result","scroll-paginate"],setup(e,{emit:t}){const n=e,i=t,r=l.ref(null),a=s=>{i("choose-result",s)},o=s=>{const u=s.target,{scrollTop:c,scrollHeight:f,clientHeight:h}=u;f-c-h<5&&i("scroll-paginate")};return l.watch(()=>n.searchValue,()=>{r.value&&(r.value.scrollTop=0)}),(s,u)=>(l.openBlock(),l.createElementBlock("div",{class:"search-yui-kit__result result-yui-kit","data-testid":n.dataTestid},[n.globalResultsFunction.length>0?(l.openBlock(),l.createElementBlock("ul",{key:0,class:"result-yui-kit__list","data-testid":`${n.dataTestid}-List`,onScroll:o,ref_key:"resultContentRef",ref:r},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.globalResultsFunction,(c,f)=>(l.openBlock(),l.createElementBlock("li",{class:"result-yui-kit__list__item",key:f,"data-testid":`${n.dataTestid}-List-Items${f}`,onClick:h=>a(c)},[l.createVNode(we,{name:c.icon||l.unref(se).document,"data-testid":`${n.dataTestid}-Items-Icon${f}`,width:16,height:16,class:"result-yui-kit__list__item__icon"},null,8,["name","data-testid"]),l.createElementVNode("span",{"data-testid":`${n.dataTestid}-Result-NameArea${f}`},l.toDisplayString(c.nameArea),9,t9e),l.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${n.dataTestid}-Result-Slash${f}`},"/",8,n9e),l.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${n.dataTestid}-Result-SearchResult${f}`},l.toDisplayString(c.searchResult),9,i9e)],8,e9e))),128))],40,ZMe)):n.searchValue?(l.openBlock(),l.createElementBlock("ul",{key:1,class:"result-yui-kit__list result-yui-kit__empty","data-testid":`${n.dataTestid}-Nothing-List`},[l.createElementVNode("li",{class:"result-yui-kit__empty__item","data-testid":`${n.dataTestid}-Nothing-Items`},[l.createElementVNode("p",{"data-testid":`${n.dataTestid}-Nothing-Text`}," По вашему запросу ничего не найдено ",8,o9e)],8,a9e)],8,r9e)):l.createCommentVNode("",!0)],8,JMe))}}),[["__scopeId","data-v-2eb7100d"]]),o3=()=>{const e=l.ref(localStorage.getItem("historySearch")?JSON.parse(localStorage.getItem("historySearch")):[]);return{getHistorySearch:e,addHistorySearch:i=>{i&&(e.value=e.value.filter(r=>r!==i),e.value.unshift(i),e.value.length>10&&e.value.pop(),localStorage.setItem("historySearch",JSON.stringify(e.value)))},removeHistorySearch:i=>{e.value=e.value.filter(r=>r!==i),localStorage.setItem("historySearch",JSON.stringify(e.value))}}},l9e=["data-testid"],u9e=["data-testid"],d9e=["data-testid"],c9e=["placeholder","data-testid"],yl=me(l.defineComponent({__name:"Search",props:{defaultValue:{},placeholder:{default:"Поиск"},showHistory:{type:Boolean},global:{type:Boolean,default:!1},options:{},globalResultsFunction:{default:()=>[]},isShowList:{type:Boolean},isShowButtonHistory:{type:Boolean},searchValue:{},width:{},height:{default:"42px"},modelValue:{default:""},dataTestid:{default:"Search"}},emits:["enter","input","update:modelValue","choose-result","scroll-paginate","choosed"],setup(e,{emit:t}){const n=e,i=t,{getHistorySearch:r,removeHistorySearch:a,addHistorySearch:o}=o3(),s=l.reactive({isShowList:!1,isShowButtonHistory:n.showHistory??!1,searchValue:n.modelValue,placeholder:n.placeholder??"",focused:!1}),u={position:"relative",width:"100%",height:n.height},c=_=>{s.searchValue=_.trim(),s.isShowList=!1,i("input",_),i("update:modelValue",s.searchValue),i("choosed",s.searchValue),i("enter",s.searchValue)},f=_=>{s.isShowList=!1,i("choose-result",_)},h=()=>{i("scroll-paginate")},g=l.computed(()=>({"search-yui-kit__icon-wrapper":!0})),p=()=>{s.focused=!0},y=()=>{setTimeout(()=>{s.focused=!1},500)},v=()=>{s.isShowList=!1,s.isShowButtonHistory=!1},k=()=>{s.isShowButtonHistory=!0,s.isShowButtonHistory||(s.isShowList=!0)},w=()=>{i("enter",s.searchValue.trim()),n.showHistory&&s.searchValue&&o(s.searchValue.trim())},M=()=>{const _=s.searchValue.trim();i("input",_),i("update:modelValue",_)},x=()=>{s.searchValue&&(s.searchValue="",M(),w())};return l.onMounted(()=>{n.defaultValue&&(s.searchValue=n.defaultValue)}),l.watch(()=>n.modelValue,_=>{s.searchValue=_}),(_,S)=>(l.openBlock(),l.createElementBlock("div",{class:"search-yui-kit",style:u,onMousemove:k,onMouseleave:v,"data-testid":n.dataTestid},[l.createElementVNode("div",{class:l.normalizeClass(g.value),"data-testid":`${n.dataTestid}-Dropdown-Wrapper`},[l.createElementVNode("div",{class:"search-yui-kit__dropdown","data-testid":`${n.dataTestid}-Dropdown`},[l.withDirectives(l.createElementVNode("input",{type:"text",class:"search-yui-kit__input","onUpdate:modelValue":S[0]||(S[0]=N=>s.searchValue=N),placeholder:n.placeholder,onKeydown:l.withKeys(w,["enter"]),onInput:M,onFocus:p,onBlur:y,"data-testid":`${n.dataTestid}-Dropdown-Input`},null,40,c9e),[[l.vModelText,s.searchValue]]),l.createVNode(we,{class:"search-icon",name:l.unref(se).searchNormal},null,8,["name"]),s.searchValue?(l.openBlock(),l.createBlock(yt,{key:0,class:"clear-button",type:l.unref(Qe).ghost,onClick:x,"data-testid":`${n.dataTestid}-Clear-Button`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).exitSmall,color:"var(--text-light-color)","data-testid":`${n.dataTestid}-Clear-Button-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","data-testid"])):l.createCommentVNode("",!0)],8,d9e)],10,u9e),!n.global&&n.showHistory?(l.openBlock(),l.createBlock(QMe,{key:0,"show-history":n.showHistory,"is-show-button-history":s.isShowButtonHistory,"is-show-list":s.isShowList,"model-value":l.unref(r),onUnmountRemove:l.unref(a),onChoosePost:c,"data-testid":`${n.dataTestid}-Dropdown-History`},null,8,["show-history","is-show-button-history","is-show-list","model-value","onUnmountRemove","data-testid"])):l.createCommentVNode("",!0),n.global&&s.focused?(l.openBlock(),l.createBlock(s9e,{key:1,"global-results-function":n.globalResultsFunction,"search-value":s.searchValue,"data-testid":`${n.dataTestid}-Dropdown-SearchResult`,onChooseResult:f,onScrollPaginate:h},null,8,["global-results-function","search-value","data-testid"])):l.createCommentVNode("",!0)],40,l9e))}}),[["__scopeId","data-v-88f376ec"]]);var bl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ld={exports:{}};/**
|
|
1279
1279
|
* @license
|
|
1280
1280
|
* Lodash <https://lodash.com/>
|
|
1281
1281
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -1301,12 +1301,12 @@ __p += '`),ze&&(te+=`' +
|
|
|
1301
1301
|
function print() { __p += __j.call(arguments, '') }
|
|
1302
1302
|
`:`;
|
|
1303
1303
|
`)+te+`return __p
|
|
1304
|
-
}`;var De=w8(function(){return $e(W,he+"return "+te).apply(n,$)});if(De.source=te,ay(De))throw De;return De}function E$e(d){return He(d).toLowerCase()}function A$e(d){return He(d).toUpperCase()}function D$e(d,m,b){if(d=He(d),d&&(b||m===n))return PM(d);if(!d||!(m=Fn(m)))return d;var C=Pi(d),A=Pi(m),W=EM(C,A),$=AM(C,A)+1;return wa(C,W,$).join("")}function N$e(d,m,b){if(d=He(d),d&&(b||m===n))return d.slice(0,NM(d)+1);if(!d||!(m=Fn(m)))return d;var C=Pi(d),A=AM(C,Pi(m))+1;return wa(C,0,A).join("")}function j$e(d,m,b){if(d=He(d),d&&(b||m===n))return d.replace(a0,"");if(!d||!(m=Fn(m)))return d;var C=Pi(d),A=EM(C,Pi(m));return wa(C,A).join("")}function I$e(d,m){var b=D,C=z;if(dt(m)){var A="separator"in m?m.separator:A;b="length"in m?Te(m.length):b,C="omission"in m?Fn(m.omission):C}d=He(d);var W=d.length;if(xs(d)){var $=Pi(d);W=$.length}if(b>=W)return d;var R=b-Ss(C);if(R<1)return C;var F=$?wa($,0,R).join(""):d.slice(0,R);if(A===n)return F+C;if($&&(R+=F.length-R),oy(A)){if(d.slice(R).search(A)){var Q,J=F;for(A.global||(A=M0(A.source,He(K5.exec(A))+"g")),A.lastIndex=0;Q=A.exec(J);)var te=Q.index;F=F.slice(0,te===n?R:te)}}else if(d.indexOf(Fn(A),R)!=R){var oe=F.lastIndexOf(A);oe>-1&&(F=F.slice(0,oe))}return F+C}function W$e(d){return d=He(d),d&&YNe.test(d)?d.replace(X5,dIe):d}var O$e=Ns(function(d,m,b){return d+(b?" ":"")+m.toUpperCase()}),uy=v9("toUpperCase");function b8(d,m,b){return d=He(d),m=b?n:m,m===n?aIe(d)?hIe(d):Kje(d):d.match(m)||[]}var w8=Ne(function(d,m){try{return Bn(d,n,m)}catch(b){return ay(b)?b:new xe(b)}}),z$e=vr(function(d,m){return li(m,function(b){b=er(b),br(d,b,iy(d[b],d))}),d});function L$e(d){var m=d==null?0:d.length,b=ve();return d=m?st(d,function(C){if(typeof C[1]!="function")throw new ui(o);return[b(C[0]),C[1]]}):[],Ne(function(C){for(var A=-1;++A<m;){var W=d[A];if(Bn(W[0],this,C))return Bn(W[1],this,C)}})}function $$e(d){return dWe(ci(d,h))}function dy(d){return function(){return d}}function H$e(d,m){return d==null||d!==d?m:d}var R$e=M9(),B$e=M9(!0);function jn(d){return d}function cy(d){return JM(typeof d=="function"?d:ci(d,h))}function V$e(d){return e9(ci(d,h))}function F$e(d,m){return t9(d,ci(m,h))}var U$e=Ne(function(d,m){return function(b){return Mu(b,d,m)}}),Y$e=Ne(function(d,m){return function(b){return Mu(d,b,m)}});function fy(d,m,b){var C=Lt(m),A=th(m,C);b==null&&!(dt(m)&&(A.length||!C.length))&&(b=m,m=d,d=this,A=th(m,Lt(m)));var W=!(dt(b)&&"chain"in b)||!!b.chain,$=Mr(d);return li(A,function(R){var F=m[R];d[R]=F,$&&(d.prototype[R]=function(){var Q=this.__chain__;if(W||Q){var J=d(this.__wrapped__),te=J.__actions__=An(this.__actions__);return te.push({func:F,args:arguments,thisArg:d}),J.__chain__=Q,J}return F.apply(d,ha([this.value()],arguments))})}),d}function X$e(){return Vt._===this&&(Vt._=wIe),this}function hy(){}function q$e(d){return d=Te(d),Ne(function(m){return n9(m,d)})}var G$e=F0(st),K$e=F0(CM),Q$e=F0(p0);function v8(d){return Q0(d)?g0(er(d)):TWe(d)}function J$e(d){return function(m){return d==null?n:go(d,m)}}var Z$e=x9(),eHe=x9(!0);function my(){return[]}function py(){return!1}function tHe(){return{}}function nHe(){return""}function iHe(){return!0}function rHe(d,m){if(d=Te(d),d<1||d>de)return[];var b=Tt,C=en(d,Tt);m=ve(m),d-=Tt;for(var A=w0(C,m);++b<d;)m(b);return A}function aHe(d){return Se(d)?st(d,er):Un(d)?[d]:An(H9(He(d)))}function oHe(d){var m=++yIe;return He(d)+m}var sHe=sh(function(d,m){return d+m},0),lHe=U0("ceil"),uHe=sh(function(d,m){return d/m},1),dHe=U0("floor");function cHe(d){return d&&d.length?eh(d,jn,A0):n}function fHe(d,m){return d&&d.length?eh(d,ve(m,2),A0):n}function hHe(d){return _M(d,jn)}function mHe(d,m){return _M(d,ve(m,2))}function pHe(d){return d&&d.length?eh(d,jn,I0):n}function gHe(d,m){return d&&d.length?eh(d,ve(m,2),I0):n}var yHe=sh(function(d,m){return d*m},1),bHe=U0("round"),wHe=sh(function(d,m){return d-m},0);function vHe(d){return d&&d.length?b0(d,jn):0}function kHe(d,m){return d&&d.length?b0(d,ve(m,2)):0}return j.after=Vze,j.ary=Q9,j.assign=ALe,j.assignIn=c8,j.assignInWith=vh,j.assignWith=DLe,j.at=NLe,j.before=J9,j.bind=iy,j.bindAll=z$e,j.bindKey=Z9,j.castArray=tLe,j.chain=q9,j.chunk=dOe,j.compact=cOe,j.concat=fOe,j.cond=L$e,j.conforms=$$e,j.constant=dy,j.countBy=vze,j.create=jLe,j.curry=e8,j.curryRight=t8,j.debounce=n8,j.defaults=ILe,j.defaultsDeep=WLe,j.defer=Fze,j.delay=Uze,j.difference=hOe,j.differenceBy=mOe,j.differenceWith=pOe,j.drop=gOe,j.dropRight=yOe,j.dropRightWhile=bOe,j.dropWhile=wOe,j.fill=vOe,j.filter=Mze,j.flatMap=Sze,j.flatMapDeep=_ze,j.flatMapDepth=Tze,j.flatten=F9,j.flattenDeep=kOe,j.flattenDepth=MOe,j.flip=Yze,j.flow=R$e,j.flowRight=B$e,j.fromPairs=COe,j.functions=BLe,j.functionsIn=VLe,j.groupBy=Pze,j.initial=SOe,j.intersection=_Oe,j.intersectionBy=TOe,j.intersectionWith=POe,j.invert=ULe,j.invertBy=YLe,j.invokeMap=Aze,j.iteratee=cy,j.keyBy=Dze,j.keys=Lt,j.keysIn=Nn,j.map=mh,j.mapKeys=qLe,j.mapValues=GLe,j.matches=V$e,j.matchesProperty=F$e,j.memoize=gh,j.merge=KLe,j.mergeWith=f8,j.method=U$e,j.methodOf=Y$e,j.mixin=fy,j.negate=yh,j.nthArg=q$e,j.omit=QLe,j.omitBy=JLe,j.once=Xze,j.orderBy=Nze,j.over=G$e,j.overArgs=qze,j.overEvery=K$e,j.overSome=Q$e,j.partial=ry,j.partialRight=i8,j.partition=jze,j.pick=ZLe,j.pickBy=h8,j.property=v8,j.propertyOf=J$e,j.pull=NOe,j.pullAll=Y9,j.pullAllBy=jOe,j.pullAllWith=IOe,j.pullAt=WOe,j.range=Z$e,j.rangeRight=eHe,j.rearg=Gze,j.reject=Oze,j.remove=OOe,j.rest=Kze,j.reverse=ty,j.sampleSize=Lze,j.set=t$e,j.setWith=n$e,j.shuffle=$ze,j.slice=zOe,j.sortBy=Bze,j.sortedUniq=FOe,j.sortedUniqBy=UOe,j.split=S$e,j.spread=Qze,j.tail=YOe,j.take=XOe,j.takeRight=qOe,j.takeRightWhile=GOe,j.takeWhile=KOe,j.tap=cze,j.throttle=Jze,j.thru=hh,j.toArray=l8,j.toPairs=m8,j.toPairsIn=p8,j.toPath=aHe,j.toPlainObject=d8,j.transform=i$e,j.unary=Zze,j.union=QOe,j.unionBy=JOe,j.unionWith=ZOe,j.uniq=eze,j.uniqBy=tze,j.uniqWith=nze,j.unset=r$e,j.unzip=ny,j.unzipWith=X9,j.update=a$e,j.updateWith=o$e,j.values=Ws,j.valuesIn=s$e,j.without=ize,j.words=b8,j.wrap=eLe,j.xor=rze,j.xorBy=aze,j.xorWith=oze,j.zip=sze,j.zipObject=lze,j.zipObjectDeep=uze,j.zipWith=dze,j.entries=m8,j.entriesIn=p8,j.extend=c8,j.extendWith=vh,fy(j,j),j.add=sHe,j.attempt=w8,j.camelCase=c$e,j.capitalize=g8,j.ceil=lHe,j.clamp=l$e,j.clone=nLe,j.cloneDeep=rLe,j.cloneDeepWith=aLe,j.cloneWith=iLe,j.conformsTo=oLe,j.deburr=y8,j.defaultTo=H$e,j.divide=uHe,j.endsWith=f$e,j.eq=Ai,j.escape=h$e,j.escapeRegExp=m$e,j.every=kze,j.find=Cze,j.findIndex=B9,j.findKey=OLe,j.findLast=xze,j.findLastIndex=V9,j.findLastKey=zLe,j.floor=dHe,j.forEach=G9,j.forEachRight=K9,j.forIn=LLe,j.forInRight=$Le,j.forOwn=HLe,j.forOwnRight=RLe,j.get=sy,j.gt=sLe,j.gte=lLe,j.has=FLe,j.hasIn=ly,j.head=U9,j.identity=jn,j.includes=Eze,j.indexOf=xOe,j.inRange=u$e,j.invoke=XLe,j.isArguments=wo,j.isArray=Se,j.isArrayBuffer=uLe,j.isArrayLike=Dn,j.isArrayLikeObject=wt,j.isBoolean=dLe,j.isBuffer=va,j.isDate=cLe,j.isElement=fLe,j.isEmpty=hLe,j.isEqual=mLe,j.isEqualWith=pLe,j.isError=ay,j.isFinite=gLe,j.isFunction=Mr,j.isInteger=r8,j.isLength=bh,j.isMap=a8,j.isMatch=yLe,j.isMatchWith=bLe,j.isNaN=wLe,j.isNative=vLe,j.isNil=MLe,j.isNull=kLe,j.isNumber=o8,j.isObject=dt,j.isObjectLike=gt,j.isPlainObject=Pu,j.isRegExp=oy,j.isSafeInteger=CLe,j.isSet=s8,j.isString=wh,j.isSymbol=Un,j.isTypedArray=Is,j.isUndefined=xLe,j.isWeakMap=SLe,j.isWeakSet=_Le,j.join=EOe,j.kebabCase=p$e,j.last=hi,j.lastIndexOf=AOe,j.lowerCase=g$e,j.lowerFirst=y$e,j.lt=TLe,j.lte=PLe,j.max=cHe,j.maxBy=fHe,j.mean=hHe,j.meanBy=mHe,j.min=pHe,j.minBy=gHe,j.stubArray=my,j.stubFalse=py,j.stubObject=tHe,j.stubString=nHe,j.stubTrue=iHe,j.multiply=yHe,j.nth=DOe,j.noConflict=X$e,j.noop=hy,j.now=ph,j.pad=b$e,j.padEnd=w$e,j.padStart=v$e,j.parseInt=k$e,j.random=d$e,j.reduce=Ize,j.reduceRight=Wze,j.repeat=M$e,j.replace=C$e,j.result=e$e,j.round=bHe,j.runInContext=V,j.sample=zze,j.size=Hze,j.snakeCase=x$e,j.some=Rze,j.sortedIndex=LOe,j.sortedIndexBy=$Oe,j.sortedIndexOf=HOe,j.sortedLastIndex=ROe,j.sortedLastIndexBy=BOe,j.sortedLastIndexOf=VOe,j.startCase=_$e,j.startsWith=T$e,j.subtract=wHe,j.sum=vHe,j.sumBy=kHe,j.template=P$e,j.times=rHe,j.toFinite=Cr,j.toInteger=Te,j.toLength=u8,j.toLower=E$e,j.toNumber=mi,j.toSafeInteger=ELe,j.toString=He,j.toUpper=A$e,j.trim=D$e,j.trimEnd=N$e,j.trimStart=j$e,j.truncate=I$e,j.unescape=W$e,j.uniqueId=oHe,j.upperCase=O$e,j.upperFirst=uy,j.each=G9,j.eachRight=K9,j.first=U9,fy(j,function(){var d={};return Ji(j,function(m,b){Ue.call(j.prototype,b)||(d[b]=m)}),d}(),{chain:!1}),j.VERSION=i,li(["bind","bindKey","curry","curryRight","partial","partialRight"],function(d){j[d].placeholder=j}),li(["drop","take"],function(d,m){We.prototype[d]=function(b){b=b===n?1:Dt(Te(b),0);var C=this.__filtered__&&!m?new We(this):this.clone();return C.__filtered__?C.__takeCount__=en(b,C.__takeCount__):C.__views__.push({size:en(b,Tt),type:d+(C.__dir__<0?"Right":"")}),C},We.prototype[d+"Right"]=function(b){return this.reverse()[d](b).reverse()}}),li(["filter","map","takeWhile"],function(d,m){var b=m+1,C=b==re||b==q;We.prototype[d]=function(A){var W=this.clone();return W.__iteratees__.push({iteratee:ve(A,3),type:b}),W.__filtered__=W.__filtered__||C,W}}),li(["head","last"],function(d,m){var b="take"+(m?"Right":"");We.prototype[d]=function(){return this[b](1).value()[0]}}),li(["initial","tail"],function(d,m){var b="drop"+(m?"":"Right");We.prototype[d]=function(){return this.__filtered__?new We(this):this[b](1)}}),We.prototype.compact=function(){return this.filter(jn)},We.prototype.find=function(d){return this.filter(d).head()},We.prototype.findLast=function(d){return this.reverse().find(d)},We.prototype.invokeMap=Ne(function(d,m){return typeof d=="function"?new We(this):this.map(function(b){return Mu(b,d,m)})}),We.prototype.reject=function(d){return this.filter(yh(ve(d)))},We.prototype.slice=function(d,m){d=Te(d);var b=this;return b.__filtered__&&(d>0||m<0)?new We(b):(d<0?b=b.takeRight(-d):d&&(b=b.drop(d)),m!==n&&(m=Te(m),b=m<0?b.dropRight(-m):b.take(m-d)),b)},We.prototype.takeRightWhile=function(d){return this.reverse().takeWhile(d).reverse()},We.prototype.toArray=function(){return this.take(Tt)},Ji(We.prototype,function(d,m){var b=/^(?:filter|find|map|reject)|While$/.test(m),C=/^(?:head|last)$/.test(m),A=j[C?"take"+(m=="last"?"Right":""):m],W=C||/^find/.test(m);A&&(j.prototype[m]=function(){var $=this.__wrapped__,R=C?[1]:arguments,F=$ instanceof We,Q=R[0],J=F||Se($),te=function(je){var ze=A.apply(j,ha([je],R));return C&&oe?ze[0]:ze};J&&b&&typeof Q=="function"&&Q.length!=1&&(F=J=!1);var oe=this.__chain__,he=!!this.__actions__.length,ke=W&&!oe,De=F&&!he;if(!W&&J){$=De?$:new We(this);var Me=d.apply($,R);return Me.__actions__.push({func:hh,args:[te],thisArg:n}),new di(Me,oe)}return ke&&De?d.apply(this,R):(Me=this.thru(te),ke?C?Me.value()[0]:Me.value():Me)})}),li(["pop","push","shift","sort","splice","unshift"],function(d){var m=$f[d],b=/^(?:push|sort|unshift)$/.test(d)?"tap":"thru",C=/^(?:pop|shift)$/.test(d);j.prototype[d]=function(){var A=arguments;if(C&&!this.__chain__){var W=this.value();return m.apply(Se(W)?W:[],A)}return this[b](function($){return m.apply(Se($)?$:[],A)})}}),Ji(We.prototype,function(d,m){var b=j[m];if(b){var C=b.name+"";Ue.call(Es,C)||(Es[C]=[]),Es[C].push({name:m,func:b})}}),Es[oh(n,w).name]=[{name:"wrapper",func:n}],We.prototype.clone=WIe,We.prototype.reverse=OIe,We.prototype.value=zIe,j.prototype.at=fze,j.prototype.chain=hze,j.prototype.commit=mze,j.prototype.next=pze,j.prototype.plant=yze,j.prototype.reverse=bze,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=wze,j.prototype.first=j.prototype.head,pu&&(j.prototype[pu]=gze),j},_s=mIe();co?((co.exports=_s)._=_s,c0._=_s):Vt._=_s}).call(bl)}(Ld,Ld.exports);var Ri=Ld.exports;const f9e=["data-testid"],h9e=["data-testid"],m9e=["data-testid"],p9e=["data-testid"],g9e=["data-testid"],y9e=["data-testid"],b9e=["data-testid"],w9e=["data-testid"],v9e=["data-testid"],k9e=["data-testid"],M9e=["data-testid"],C9e=["data-testid"],x9e=["data-testid"],S9e=["data-testid"],_9e=["data-testid"],T9e=["data-testid"],P9e=["onClick","data-testid"],E9e=l.defineComponent({__name:"Filter",props:{title:{},iconName:{default:se.filter},multiselect:{type:Boolean,default:!1},options:{},defaultValue:{},closeOnSelect:{type:Boolean},searchable:{type:Boolean},dataTestid:{default:"Filter"}},emits:["scroll"],setup(e,{emit:t}){const n=e,i=l.reactive({options:[],isShow:!1,searchString:"",choosenStatus:!1,searchItems:[]}),r=t,a=l.computed(()=>({"filter-yui-kit__counter":!0,"counter-yui-kit":!0,"counter-yui-kit--search":n.searchable})),o=l.computed(()=>({"filter-yui-kit__select-list":!0,"selected-yui-kit":!0,"selected-yui-kit--search":n.searchable,"border-none-yui-kit":n.searchable&&y.value.length<2})),s=l.computed(()=>({"filter-yui-kit__wrapper":!0,"active-yui-kit":i.isShow,"filter-yui-kit--search":n.searchable})),u=l.computed(()=>{var S,N;return y.value.length>1&&n.searchable?(S=y.value[1])==null?void 0:S.value:(N=y.value[0])==null?void 0:N.value}),c=Object.values(nt),f=S=>{i.searchString=S.trim()},h=S=>{setTimeout(()=>{i.searchString=S},1e3)},g=()=>i.isShow=!i.isShow,p=S=>{S.stopPropagation(),i.options.forEach((N,T)=>w(N,T)),i.isShow=!1},y=l.computed(()=>{let S=i.options.filter(N=>N.choose);return n.searchable&&S.length>1&&(S=S.filter(N=>N.type!==nt.default)),S}),v=l.computed(()=>i.options.filter(S=>{let N=!0;return i.searchString&&(N=S.value.toLowerCase().includes(i.searchString.toLowerCase()),N)?S:!S.choose&&N})),k=S=>{n.multiselect||i.options.forEach(N=>N!==S&&(N.choose=!1)),S.choose=!S.choose,y.value.length||i.options.forEach((N,T)=>{w(N,T)})},w=(S,N)=>{typeof n.defaultValue=="string"&&S.value===n.defaultValue?S.choose=!0:Ri.isArray(n.defaultValue)?n.defaultValue.forEach(I=>I===S.value&&(S.choose=!0)):S.choose=N===0},M=()=>{i.isShow=!1,i.searchString&&(i.searchString="")},x=S=>{const N=S.target;N.scrollHeight-N.scrollTop===N.clientHeight&&r("scroll",!0)},_=l.computed(()=>{var S,N,T;return y.value.length<=1&&n.searchable?((S=y.value[0])==null?void 0:S.type)===nt.default||(N=y.value[0])==null?void 0:N.type:(T=y.value[0])==null?void 0:T.type});return l.onMounted(()=>{i.options=n.options.map((S,N)=>{const T={value:typeof S=="string"?S:S.value,type:typeof S=="string"?"blue":S.type,choose:!1};return w(T,N),n.searchable&&T.type===nt.default&&(T.value="Не выбрано"),T})}),(S,N)=>(l.openBlock(),l.createElementBlock("div",{class:"filter-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{class:l.normalizeClass(s.value),onClick:g,"data-testid":`${n.dataTestid}-Wrapper`},[l.createVNode(we,{name:n.iconName,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"]),l.createElementVNode("span",{"data-testid":`${n.dataTestid}-Title`},l.toDisplayString(n.title),9,m9e),l.createVNode(Ut,{disabled:!0,type:_.value??l.unref(nt).default,text:u.value,style:"margin:0 3px;","data-testid":`${n.dataTestid}-Badges`},null,8,["type","text","data-testid"]),l.createElementVNode("div",{class:l.normalizeClass(a.value),"data-testid":`${n.dataTestid}-Counter`},[y.value.length>1?(l.openBlock(),l.createElementBlock("span",{key:0,class:"counter-yui-kit__value","data-testid":`${n.dataTestid}-Counter-Value`},l.toDisplayString("+"+y.value.length),9,g9e)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"counter-yui-kit__list","data-testid":`${n.dataTestid}-Counter-List`},[l.createElementVNode("div",{class:"counter-yui-kit__list-wrapper","data-testid":`${n.dataTestid}-CounterList-Wrapper`},[l.createElementVNode("ul",{class:"filter-yui-kit__select-list select-yui-kit-counter",style:"padding: 2px; gap: 2px","data-testid":`${n.dataTestid}-SelectListCounter-Counter`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(y.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,"data-testid":`${n.dataTestid}-SelectList-SelectItem${I}`},[l.createVNode(Ut,{type:n.searchable?l.unref(nt).blue:l.unref(c)[I],disabled:!0,text:T.value,"data-testid":`${n.dataTestid}-SelectList-BadgesTypeEnum${I}`},null,8,["type","text","data-testid"])],8,v9e))),128))],8,w9e)],8,b9e)],8,y9e)],10,p9e),l.createElementVNode("button",{type:"button",class:"filter-yui-kit__close",onClick:l.withModifiers(p,["stop"]),"data-testid":`${n.dataTestid}-SelectList-ClearFilter`},[l.createVNode(we,{name:l.unref(se).exitBig},null,8,["name"])],8,k9e)],10,h9e),i.isShow?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter-yui-kit__select-wrapper",onMouseleave:M,"data-testid":`${n.dataTestid}-SelectList-SelectWrapper`},[l.createElementVNode("ul",{class:l.normalizeClass(o.value),"data-testid":`${n.dataTestid}-Select-List`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(y.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,"data-testid":`${n.dataTestid}-Select-ListItem${I}`},[l.createVNode(Ut,{disabled:!0,choosed:T.choose,type:n.searchable?l.unref(nt).blue:l.unref(c)[I],onClick:L=>k(T),text:T.value,"data-testid":`${n.dataTestid}-Select-Badges${I}`},null,8,["choosed","type","onClick","text","data-testid"])],8,x9e))),128))],10,C9e),n.searchable?(l.openBlock(),l.createBlock(yl,{key:0,modelValue:i.searchString,"onUpdate:modelValue":N[0]||(N[0]=T=>i.searchString=T),onEnter:f,onInput:h,style:{margin:"5px 0"},"data-testid":`${n.dataTestid}-Search`},null,8,["modelValue","data-testid"])):l.createCommentVNode("",!0),i.isShow&&!n.searchable?(l.openBlock(),l.createElementBlock("ul",{key:1,class:"filter-yui-kit__select-list","data-testid":`${n.dataTestid}-SelectList-NoSearch`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(v.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,style:l.normalizeStyle(I===0?{paddingTop:"10px"}:""),"data-testid":`${n.dataTestid}-SelectList-Item`},[T.choose?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(Ut,{key:0,disabled:!0,choosed:T.choose,type:l.unref(c)[I],text:T.value,onClick:L=>k(T),"data-testid":`${n.dataTestid}-SelectList-Badges`},null,8,["choosed","type","text","onClick","data-testid"]))],12,_9e))),128))],8,S9e)):l.createCommentVNode("",!0),i.isShow&&n.searchable?(l.openBlock(),l.createElementBlock("ul",{key:2,class:"filter-yui-kit__select-list filter-yui-kit__select-list--search",onScroll:x,"data-testid":`${n.dataTestid}-SelectList-Search`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(v.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,onClick:L=>k(T),"data-testid":`${n.dataTestid}-SelectList-Items${I}`},l.toDisplayString(T.value),9,P9e))),128))],40,T9e)):l.createCommentVNode("",!0)],40,M9e)):l.createCommentVNode("",!0)],8,f9e))}}),S1=me(E9e,[["__scopeId","data-v-9ecc65fb"]]),A9e=["placeholder","data-testid"],_1=me(l.defineComponent({__name:"Combobox",props:{options:{},placeholder:{},disableOpen:{type:Boolean},defaultOption:{},class:{},disabled:{type:Boolean,default:!1},dataTestid:{default:"Combobox"}},emits:["change","error","focusout-option"],setup(e,{emit:t}){const n=t,i=e,r=l.reactive({isOpened:!1,placeholder:i.placeholder,values:i.options,searchValue:""}),a=()=>{n("focusout-option")},o=c=>{var f;(((f=r.values)==null?void 0:f.length)!=0||!i.disableOpen)&&(r.isOpened=c,!r.isOpened&&r.searchValue!=""&&n("error"))};l.watchEffect(()=>r.values=i.options),l.watchEffect(()=>r.searchValue=i.defaultOption||""),l.watch(()=>r.searchValue,()=>{r.searchValue==""&&(r.values=i.options)});const s=()=>{var c;r.isOpened=!0,r.values=i.options.filter(f=>r.searchValue.toLowerCase().split(" ").every(h=>f.toLowerCase().includes(h))),n("change",r.searchValue),((c=r.values)==null?void 0:c.length)==0&&(r.isOpened=!1)},u=c=>{r.searchValue=c,r.isOpened=!1,n("change",c)};return(c,f)=>{var h;return l.openBlock(),l.createBlock(ko,{onChange:o,"is-opened":r.isOpened,"disable-open":((h=r.values)==null?void 0:h.length)==0,class:l.normalizeClass(i.class),disabled:i.disabled,onFocusoutOptions:a,"header-classes":"filter__header","options-classes":"filter__options","data-testid":i.dataTestid},{header:l.withCtx(()=>[l.withDirectives(l.createElementVNode("input",{type:"search",class:"combobox__input","onUpdate:modelValue":f[0]||(f[0]=g=>r.searchValue=g),placeholder:r.placeholder,onKeydown:l.withKeys(s,["enter"]),onInput:s,"data-testid":`${i.dataTestid}-Input`},null,40,A9e),[[l.vModelText,r.searchValue]])]),options:l.withCtx(()=>[l.createVNode($h,{"default-option":r.searchValue,options:r.values,onChange:u,"data-testid":`${i.dataTestid}-Options`},null,8,["default-option","options","data-testid"])]),_:1},8,["is-opened","disable-open","class","disabled","data-testid"])}}}),[["__scopeId","data-v-3d8641f6"]]);var T1=(e=>(e.initial="initial",e.error="error",e.warning="warning",e.success="success",e.disabled="disabled",e.ordinary="ordinary",e.minor="minor",e))(T1||{}),$d=(e=>(e.text="text",e.email="email",e.password="password",e.tel="tel",e.url="url",e.week="week",e))($d||{});const D9e=["data-testid"],N9e=["data-testid"],j9e=["data-testid"],I9e=["type","autocomplete","placeholder","required","data-testid"],W9e=l.defineComponent({__name:"Input",props:{placeholder:{},inputMessage:{default:""},type:{default:$d.text},required:{type:Boolean,default:!1},modelValue:{default:""},hideClearButton:{type:Boolean,default:!1},autocomplete:{},modelModifiers:{default:()=>({})},dataTestid:{default:"Input"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,i=e,r=l.reactive({isPressed:!1,inputElement:i.modelValue}),a=l.ref(null),o=()=>{var f;r.inputElement="",(f=a.value)==null||f.focus(),n("update:modelValue","")},s=()=>{n("update:modelValue",r.inputElement)},u=()=>{r.isPressed=!0},c=()=>{r.isPressed=!1};return l.watch(()=>i.modelValue,f=>{r.inputElement=f}),l.watch(()=>r.inputElement,f=>{i.modelValue!=f&&(r.isPressed=(f==null?void 0:f.length)>0,r.inputElement=f)}),(f,h)=>(l.openBlock(),l.createElementBlock("fieldset",{class:l.normalizeClass(["input-yui-kit",{pressed:r.isPressed}]),onFocusout:c,"data-testid":i.dataTestid},[i.inputMessage?(l.openBlock(),l.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${i.dataTestid}-Legend`},[l.createTextVNode(l.toDisplayString(i.inputMessage),1),i.required?(l.openBlock(),l.createElementBlock("sup",{key:0,"data-testid":`${i.dataTestid}-Star`,class:"input-yui-kit__star"},"*",8,j9e)):l.createCommentVNode("",!0)],8,N9e)):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("input",{ref_key:"inputRef",ref:a,"onUpdate:modelValue":h[0]||(h[0]=g=>r.inputElement=g),onFocus:u,onInput:s,type:i.type,autocomplete:i.autocomplete,class:"input-yui-kit__input",placeholder:i.placeholder,required:i.required,"data-testid":`${i.dataTestid}-Input`},null,40,I9e),[[l.vModelDynamic,r.inputElement]]),!i.hideClearButton&&r.isPressed&&r.inputElement?(l.openBlock(),l.createBlock(yt,{key:1,type:l.unref(Qe).ghost,class:"input-yui-kit__close","data-testid":`${i.dataTestid}-Button`,onMousedown:l.withModifiers(o,["prevent"]),tabindex:"-1"},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).exitSmall,color:"currentColor","data-testid":`${i.dataTestid}-Button-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","data-testid"])):l.createCommentVNode("",!0)],42,D9e))}}),P1=me(W9e,[["__scopeId","data-v-ccb65917"]]),O9e=["data-testid"],z9e=["data-testid"],L9e=["data-testid"],$9e=["required","data-testid"],H9e=["data-testid"],R9e=["data-testid","disabled"],B9e=["data-testid","disabled"],V9e=l.defineComponent({__name:"InputNumber",props:{inputMessage:{},modelValue:{default:0},required:{type:Boolean},isInteger:{type:Boolean,default:!1},min:{default:0},max:{default:1/0},size:{default:vn.medium},zeroPad:{type:Boolean,default:!1},modelModifiers:{default:()=>({})},dataTestid:{default:"InputNumber"}},emits:["update:modelValue","focused"],setup(e,{emit:t}){const n=t,i=e,r=l.reactive({isPressed:!1,inputElement:i.modelValue||(i.min>0?i.min:0),prevValue:""}),a=/^-?\d{0,10}(\.\d{0,7})?$/,o=l.ref(null);function s(M,x=2){return i.zeroPad&&!isNaN(+M)?String(M).padStart(x,"0"):String(M)}l.watch(()=>i.isInteger,()=>{i.isInteger&&(r.inputElement=c(r.inputElement.toString()),f(r.inputElement))}),l.watch([()=>i.min,()=>i.max],()=>{g(),h()}),l.watch(()=>i.modelValue,(M,x)=>{r.inputElement=i.zeroPad&&(!r.isPressed||Number(x)===0)?s(M):M});const u=M=>{let x=M.target.value;i.zeroPad&&x==="00"||(x=c(x)),f(x),!isNaN(+r.inputElement)&&Number(r.inputElement)<=i.max&&Number(r.inputElement)>=i.min&&n("update:modelValue",r.inputElement)},c=M=>{let x=M.replace(",",".");return i.isInteger&&x.includes(".")&&(x=x.replace(".","")),x==="."?x="0"+x:x==="-."&&(x="-0."+x.slice(2)),/[^\d.]/.test(x)&&(x=x.replace(i.min>=0?/[^0-9.]/g:/[^0-9.-]/g,"")),x.includes("-")&&(x=(x.startsWith("-")?"-":"")+x.replace(/-/g,"")),x.startsWith("0")&&x.length>1&&!x.startsWith("0.")&&(x=x.replace(/^0+/,"")),x.startsWith("-0")&&x.length>2&&!x.startsWith("-0.")&&(x="-"+x.slice(2).replace(/^0+/,"")),(x.match(/\./g)||[]).length>1&&(x=x.slice(0,x.lastIndexOf("."))+x.slice(x.lastIndexOf(".")+1)),x},f=M=>{Number(M)>i.max?r.inputElement=i.max:r.inputElement=M,r.inputElement!==""&&!a.test(`${r.inputElement}`)&&(r.inputElement=r.prevValue)},h=()=>{Number(r.inputElement)<i.min&&(r.inputElement=i.min,n("update:modelValue",+r.inputElement))},g=()=>{Number(r.inputElement)>i.max&&(r.inputElement=i.max,n("update:modelValue",+r.inputElement))},p=M=>{r.prevValue=r.inputElement,M.key==="ArrowUp"&&k(),M.key==="ArrowDown"&&w()},y=M=>{r.isPressed=!0,n("focused",M)},v=()=>{(r.inputElement===""||r.inputElement===null||isNaN(+r.inputElement))&&(r.inputElement=i.min>0?i.min:0),isNaN(+r.inputElement)&&(r.inputElement=Math.max(i.min,0)),Number(r.inputElement)>i.max?r.inputElement=i.max:Number(r.inputElement)<i.min&&(r.inputElement=i.min),r.inputElement=`${r.inputElement}`.replace(/(\.\d*?[1-9])0+$/,"$1").replace(/\.0+$/,""),r.inputElement=s(r.inputElement),n("update:modelValue",r.inputElement),r.isPressed=!1},k=()=>{var M;+r.inputElement+1<i.max?r.inputElement=+r.inputElement+1:i.max!==1/0?r.inputElement=i.max:r.inputElement=0,a.test(`${r.inputElement}`)?(r.inputElement=s(r.inputElement),n("update:modelValue",r.inputElement)):r.inputElement=r.prevValue,(M=o.value)==null||M.focus()},w=()=>{var M;+r.inputElement-1>i.min?r.inputElement=+r.inputElement-1:i.min!==-1/0?r.inputElement=i.min:r.inputElement=0,r.inputElement=s(r.inputElement),n("update:modelValue",+r.inputElement),(M=o.value)==null||M.focus()};return l.onMounted(()=>{g(),h()}),(M,x)=>(l.openBlock(),l.createElementBlock("fieldset",{class:l.normalizeClass(["input-yui-kit input-yui-kit_number initial",{pressed:r.isPressed,[i.size]:!0}]),"data-testid":i.dataTestid,onFocusout:v},[i.inputMessage?(l.openBlock(),l.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${i.dataTestid}-Legend`},[l.createTextVNode(l.toDisplayString(i.inputMessage),1),i.required?(l.openBlock(),l.createElementBlock("sup",{key:0,class:"input-yui-kit__star","data-testid":`${i.dataTestid}-Star`},"*",8,L9e)):l.createCommentVNode("",!0)],8,z9e)):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("input",{ref_key:"inputNumberRef",ref:o,"onUpdate:modelValue":x[0]||(x[0]=_=>r.inputElement=_),onFocus:y,onInput:u,onKeydown:p,class:"input-yui-kit__input",required:i.required,"data-testid":`${i.dataTestid}-Input`,type:"text"},null,40,$9e),[[l.vModelText,r.inputElement]]),l.createElementVNode("div",{class:"input-yui-kit__buttons","data-testid":`${i.dataTestid}-Buttons`},[l.createElementVNode("button",{class:"input-yui-kit__button-up","data-testid":`${i.dataTestid}-UpButton`,onMousedown:l.withModifiers(k,["prevent"]),disabled:+r.inputElement>=i.max},[l.createVNode(we,{name:l.unref(se).chevronUp,"data-testid":`${i.dataTestid}-Icon`},null,8,["name","data-testid"])],40,R9e),l.createElementVNode("button",{class:"input-yui-kit__button-down","data-testid":`${i.dataTestid}-DownButton`,onMousedown:l.withModifiers(w,["prevent"]),disabled:+r.inputElement<=i.min},[l.createVNode(we,{name:l.unref(se).chevronDown,"data-testid":`${i.dataTestid}-Icon`},null,8,["name","data-testid"])],40,B9e)],8,H9e)],42,O9e))}}),wl=me(V9e,[["__scopeId","data-v-fcbd447b"]]),s3="data:image/svg+xml,%3csvg%20width='147'%20height='111'%20viewBox='0%200%20147%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.938%2087.875C132.938%2090.3283%20131.871%2092.681%20129.973%2094.4157C128.074%2096.1504%20125.499%2097.125%20122.814%2097.125H31.6978C29.0128%2097.125%2026.4377%2096.1504%2024.5391%2094.4157C22.6405%2092.681%2021.5738%2090.3283%2021.5738%2087.875V37C21.5738%2034.5467%2022.6405%2032.194%2024.5391%2030.4593C26.4377%2028.7246%2029.0128%2027.75%2031.6978%2027.75H51.9459L62.0699%2013.875H92.4419L102.566%2027.75H122.814C125.499%2027.75%20128.074%2028.7246%20129.973%2030.4593C131.871%2032.194%20132.938%2034.5467%20132.938%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M77.2559%2078.625C88.4386%2078.625%2097.5039%2070.3423%2097.5039%2060.125C97.5039%2049.9077%2088.4386%2041.625%2077.2559%2041.625C66.0732%2041.625%2057.0079%2049.9077%2057.0079%2060.125C57.0079%2070.3423%2066.0732%2078.625%2077.2559%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2026L138.699%2097.4178'%20stroke='%23A6A3AD'%20stroke-width='10'%20stroke-linecap='round'/%3e%3c/svg%3e";var Hd=(e=>(e.jpg="jpg",e.png="png",e.jpeg="jpeg",e.webp="webp",e.svg="svg",e.pdf="pdf",e))(Hd||{}),Rd=(e=>(e.mp4="mp4",e.mp3="mp3",e.avif="avif",e))(Rd||{});const F9e=["data-testid"],U9e=["data-testid"],Y9e=["disabled","data-testid"],X9e=["data-testid"],q9e=["data-testid"],G9e=["data-testid"],K9e=["data-testid"],Q9e=["data-testid"],J9e=["src","data-testid"],Z9e=["data-testid"],e8e=["src"],t8e=["disabled","data-testid"],Bd="slider-yui-kit__full-size",E1=me(l.defineComponent({__name:"Slider",props:{items:{},defaultIndex:{},dataTestid:{default:"Slider"}},setup(e,{expose:t}){const n=e,i=l.reactive({files:n.items.length?n.items:[],file:null,currentIndex:n.defaultIndex||0,extension:null}),r=l.ref(null),a=l.ref(null),o=()=>{var w;return(w=n.items)!=null&&w.length?i.currentIndex===n.items.length-1:!0},s=w=>{if(!w)return null;const M=w.split("?")[0],x=/\.\w+$/,_=M.match(x);return i.extension=_?_[0].replace(".",""):null,i.extension},u=w=>{const M=s(w);return M?Object.values(Hd).includes(M.toLowerCase()):!1},c=w=>{const M=s(w);return M?Object.values(Rd).includes(M):!1},f=w=>{w instanceof KeyboardEvent&&w.key==="Escape"&&a.value&&a.value.classList.contains(Bd)&&(a.value.classList.remove(Bd),document.body.style.overflow="auto")},h=w=>{if(w.type==="click"){const M=w.target;M.classList.toggle(Bd),M.classList.contains(Bd)?(window.addEventListener("keydown",f),r.value&&(r.value.style.cursor="zoom-out")):(window.removeEventListener("keydown",f),r.value&&(r.value.style.cursor="zoom-in"))}},g=()=>{i.currentIndex--,i.file=i.files[i.currentIndex]},p=()=>{i.currentIndex++,i.file=i.files[i.currentIndex]},y=()=>i.files.length===0,v=()=>{var w,M;return u(((w=i.file)==null?void 0:w.path)??null)==!1&&c(((M=i.file)==null?void 0:M.path)??null)==!1&&i.files.length>0};l.onMounted(()=>{if(!n.items)return 0;i.files=n.items,n.defaultIndex&&(i.file=i.files[i.currentIndex]),i.file=i.files[i.currentIndex]});const k=w=>{w>=0&&w<i.files.length&&(i.currentIndex=w,i.file=i.files[i.currentIndex])};return l.watch(()=>n.items,()=>{i.files=n.items},{deep:!0}),t({setSlide:k}),(w,M)=>{var x,_,S,N;return l.openBlock(),l.createElementBlock("div",{class:"slider-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{class:"slider-yui-kit__wrapper",ref:"slider-yui-kitWrapperRef","data-testid":`${n.dataTestid}-Wrapper`},[l.createElementVNode("button",{class:"slider-yui-kit__button slider-yui-kit__button--prev",onClick:g,disabled:i.currentIndex===0,"data-testid":`${n.dataTestid}-Prev-Button`},[l.createVNode(we,{name:l.unref(se).leftBig,"data-testid":`${n.dataTestid}-Prev-Icon`},null,8,["name","data-testid"])],8,Y9e),l.createElementVNode("div",{class:"slider-yui-kit__slides","data-testid":`${n.dataTestid}-Slides-Container`},[y()?(l.openBlock(),l.createElementBlock("div",{key:0,class:"placeholder-yui-kit no-content","data-testid":`${n.dataTestid}-NoContent-Placeholder`},[l.createElementVNode("img",{src:s3,alt:"",width:"111px",height:"111px","data-testid":`${n.dataTestid}-NoContent-Image`},null,8,G9e),l.createElementVNode("p",{"data-testid":`${n.dataTestid}-NoContent-Paragrpah`}," Контент отсутствует ",8,K9e)],8,q9e)):v()?(l.openBlock(),l.createElementBlock("div",{key:1,class:"placeholder-yui-kit","data-testid":`${n.dataTestid}-Invalid-Extension-Placeholder`},[M[2]||(M[2]=l.createElementVNode("img",{src:s3,alt:"",width:"111px",height:"111px"},null,-1)),l.createElementVNode("p",null,"."+l.toDisplayString(i.extension),1)],8,Q9e)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:2},[u(((x=i.file)==null?void 0:x.path)??"")?(l.openBlock(),l.createElementBlock("img",{key:0,onClick:M[0]||(M[0]=T=>h(T)),src:((_=i.file)==null?void 0:_.path)??"",ref_key:"fullsizeImageRef",ref:a,"data-testid":`${n.dataTestid}-Image`},null,8,J9e)):l.createCommentVNode("",!0),c(((S=i.file)==null?void 0:S.path)??"")?(l.openBlock(),l.createElementBlock("video",{key:1,onClick:M[1]||(M[1]=T=>h(T)),controls:"","data-testid":`${n.dataTestid}-Video`},[l.createElementVNode("source",{src:((N=i.file)==null?void 0:N.path)??""},null,8,e8e)],8,Z9e)):l.createCommentVNode("",!0)],64))],8,X9e),l.createElementVNode("button",{class:"slider-yui-kit__button slider-yui-kit__button--next",onClick:p,disabled:o(),"data-testid":`${n.dataTestid}-Next-Button`},[l.createVNode(we,{name:l.unref(se).rightBig,"data-testid":`${n.dataTestid}-Next-Icon`},null,8,["name","data-testid"])],8,t8e)],8,U9e)],8,F9e)}}}),[["__scopeId","data-v-6cd087a4"]]),n8e=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function i8e(e){return n8e.test(e)}function l3(){var e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.split(/[:\/]/g).pop().toLowerCase()}l3.valid=i8e;const r8e=(e="")=>e+l3();var vl=(e=>(e.small="small",e.medium="medium",e.big="big",e.large="large",e))(vl||{});const a8e=["disabled","data-testid"],o8e=["id","disabled","data-testid"],s8e=["for","data-testid"],l8e=l.defineComponent({__name:"Toggle",props:l.mergeModels({disabled:{type:Boolean,default:!1},backgroundColor:{},type:{default:vl.small},dataTestid:{default:"Toggle"}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:l.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const n=e,i=t,r=l.useModel(e,"modelValue"),a=r8e(),o=l.computed(()=>({"toggle-yui-kit":!0,"toggle-yui-kit_small":n.type===vl.small,"toggle-yui-kit_medium":n.type===vl.medium,"toggle-yui-kit_large":n.type===vl.large})),s=l.computed(()=>({backgroundColor:n.backgroundColor})),u=()=>i("change",!!r.value);return(c,f)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(o.value),disabled:n.disabled,style:l.normalizeStyle(s.value),"data-testid":`${n.dataTestid}-Toggle`},[l.withDirectives(l.createElementVNode("input",{class:"toggle-yui-kit-input",id:l.unref(a),type:"checkbox",disabled:e.disabled,"onUpdate:modelValue":f[0]||(f[0]=h=>r.value=h),onChange:u,"data-testid":`${n.dataTestid}-Input`},null,40,o8e),[[l.vModelCheckbox,r.value]]),l.createElementVNode("label",{class:"toggle-yui-kit-label",for:l.unref(a),"data-testid":`${n.dataTestid}-Label`},null,8,s8e)],14,a8e))}}),Vd=me(l8e,[["__scopeId","data-v-80a4bd95"]]);/*!
|
|
1304
|
+
}`;var De=w8(function(){return $e(W,he+"return "+te).apply(n,$)});if(De.source=te,ay(De))throw De;return De}function E$e(d){return He(d).toLowerCase()}function A$e(d){return He(d).toUpperCase()}function D$e(d,m,b){if(d=He(d),d&&(b||m===n))return PM(d);if(!d||!(m=Fn(m)))return d;var C=Pi(d),A=Pi(m),W=EM(C,A),$=AM(C,A)+1;return wa(C,W,$).join("")}function N$e(d,m,b){if(d=He(d),d&&(b||m===n))return d.slice(0,NM(d)+1);if(!d||!(m=Fn(m)))return d;var C=Pi(d),A=AM(C,Pi(m))+1;return wa(C,0,A).join("")}function j$e(d,m,b){if(d=He(d),d&&(b||m===n))return d.replace(a0,"");if(!d||!(m=Fn(m)))return d;var C=Pi(d),A=EM(C,Pi(m));return wa(C,A).join("")}function I$e(d,m){var b=D,C=z;if(dt(m)){var A="separator"in m?m.separator:A;b="length"in m?Te(m.length):b,C="omission"in m?Fn(m.omission):C}d=He(d);var W=d.length;if(xs(d)){var $=Pi(d);W=$.length}if(b>=W)return d;var R=b-Ss(C);if(R<1)return C;var F=$?wa($,0,R).join(""):d.slice(0,R);if(A===n)return F+C;if($&&(R+=F.length-R),oy(A)){if(d.slice(R).search(A)){var Q,J=F;for(A.global||(A=M0(A.source,He(K5.exec(A))+"g")),A.lastIndex=0;Q=A.exec(J);)var te=Q.index;F=F.slice(0,te===n?R:te)}}else if(d.indexOf(Fn(A),R)!=R){var oe=F.lastIndexOf(A);oe>-1&&(F=F.slice(0,oe))}return F+C}function W$e(d){return d=He(d),d&&YNe.test(d)?d.replace(X5,dIe):d}var O$e=Ns(function(d,m,b){return d+(b?" ":"")+m.toUpperCase()}),uy=v9("toUpperCase");function b8(d,m,b){return d=He(d),m=b?n:m,m===n?aIe(d)?hIe(d):Kje(d):d.match(m)||[]}var w8=Ne(function(d,m){try{return Bn(d,n,m)}catch(b){return ay(b)?b:new xe(b)}}),z$e=vr(function(d,m){return li(m,function(b){b=er(b),br(d,b,iy(d[b],d))}),d});function L$e(d){var m=d==null?0:d.length,b=ve();return d=m?st(d,function(C){if(typeof C[1]!="function")throw new ui(o);return[b(C[0]),C[1]]}):[],Ne(function(C){for(var A=-1;++A<m;){var W=d[A];if(Bn(W[0],this,C))return Bn(W[1],this,C)}})}function $$e(d){return dWe(ci(d,h))}function dy(d){return function(){return d}}function H$e(d,m){return d==null||d!==d?m:d}var R$e=M9(),B$e=M9(!0);function jn(d){return d}function cy(d){return JM(typeof d=="function"?d:ci(d,h))}function V$e(d){return e9(ci(d,h))}function F$e(d,m){return t9(d,ci(m,h))}var U$e=Ne(function(d,m){return function(b){return Mu(b,d,m)}}),Y$e=Ne(function(d,m){return function(b){return Mu(d,b,m)}});function fy(d,m,b){var C=Lt(m),A=th(m,C);b==null&&!(dt(m)&&(A.length||!C.length))&&(b=m,m=d,d=this,A=th(m,Lt(m)));var W=!(dt(b)&&"chain"in b)||!!b.chain,$=Mr(d);return li(A,function(R){var F=m[R];d[R]=F,$&&(d.prototype[R]=function(){var Q=this.__chain__;if(W||Q){var J=d(this.__wrapped__),te=J.__actions__=An(this.__actions__);return te.push({func:F,args:arguments,thisArg:d}),J.__chain__=Q,J}return F.apply(d,ha([this.value()],arguments))})}),d}function X$e(){return Vt._===this&&(Vt._=wIe),this}function hy(){}function q$e(d){return d=Te(d),Ne(function(m){return n9(m,d)})}var G$e=F0(st),K$e=F0(CM),Q$e=F0(p0);function v8(d){return Q0(d)?g0(er(d)):TWe(d)}function J$e(d){return function(m){return d==null?n:go(d,m)}}var Z$e=x9(),eHe=x9(!0);function my(){return[]}function py(){return!1}function tHe(){return{}}function nHe(){return""}function iHe(){return!0}function rHe(d,m){if(d=Te(d),d<1||d>de)return[];var b=Tt,C=en(d,Tt);m=ve(m),d-=Tt;for(var A=w0(C,m);++b<d;)m(b);return A}function aHe(d){return Se(d)?st(d,er):Un(d)?[d]:An(H9(He(d)))}function oHe(d){var m=++yIe;return He(d)+m}var sHe=sh(function(d,m){return d+m},0),lHe=U0("ceil"),uHe=sh(function(d,m){return d/m},1),dHe=U0("floor");function cHe(d){return d&&d.length?eh(d,jn,A0):n}function fHe(d,m){return d&&d.length?eh(d,ve(m,2),A0):n}function hHe(d){return _M(d,jn)}function mHe(d,m){return _M(d,ve(m,2))}function pHe(d){return d&&d.length?eh(d,jn,I0):n}function gHe(d,m){return d&&d.length?eh(d,ve(m,2),I0):n}var yHe=sh(function(d,m){return d*m},1),bHe=U0("round"),wHe=sh(function(d,m){return d-m},0);function vHe(d){return d&&d.length?b0(d,jn):0}function kHe(d,m){return d&&d.length?b0(d,ve(m,2)):0}return j.after=Vze,j.ary=Q9,j.assign=ALe,j.assignIn=c8,j.assignInWith=vh,j.assignWith=DLe,j.at=NLe,j.before=J9,j.bind=iy,j.bindAll=z$e,j.bindKey=Z9,j.castArray=tLe,j.chain=q9,j.chunk=dOe,j.compact=cOe,j.concat=fOe,j.cond=L$e,j.conforms=$$e,j.constant=dy,j.countBy=vze,j.create=jLe,j.curry=e8,j.curryRight=t8,j.debounce=n8,j.defaults=ILe,j.defaultsDeep=WLe,j.defer=Fze,j.delay=Uze,j.difference=hOe,j.differenceBy=mOe,j.differenceWith=pOe,j.drop=gOe,j.dropRight=yOe,j.dropRightWhile=bOe,j.dropWhile=wOe,j.fill=vOe,j.filter=Mze,j.flatMap=Sze,j.flatMapDeep=_ze,j.flatMapDepth=Tze,j.flatten=F9,j.flattenDeep=kOe,j.flattenDepth=MOe,j.flip=Yze,j.flow=R$e,j.flowRight=B$e,j.fromPairs=COe,j.functions=BLe,j.functionsIn=VLe,j.groupBy=Pze,j.initial=SOe,j.intersection=_Oe,j.intersectionBy=TOe,j.intersectionWith=POe,j.invert=ULe,j.invertBy=YLe,j.invokeMap=Aze,j.iteratee=cy,j.keyBy=Dze,j.keys=Lt,j.keysIn=Nn,j.map=mh,j.mapKeys=qLe,j.mapValues=GLe,j.matches=V$e,j.matchesProperty=F$e,j.memoize=gh,j.merge=KLe,j.mergeWith=f8,j.method=U$e,j.methodOf=Y$e,j.mixin=fy,j.negate=yh,j.nthArg=q$e,j.omit=QLe,j.omitBy=JLe,j.once=Xze,j.orderBy=Nze,j.over=G$e,j.overArgs=qze,j.overEvery=K$e,j.overSome=Q$e,j.partial=ry,j.partialRight=i8,j.partition=jze,j.pick=ZLe,j.pickBy=h8,j.property=v8,j.propertyOf=J$e,j.pull=NOe,j.pullAll=Y9,j.pullAllBy=jOe,j.pullAllWith=IOe,j.pullAt=WOe,j.range=Z$e,j.rangeRight=eHe,j.rearg=Gze,j.reject=Oze,j.remove=OOe,j.rest=Kze,j.reverse=ty,j.sampleSize=Lze,j.set=t$e,j.setWith=n$e,j.shuffle=$ze,j.slice=zOe,j.sortBy=Bze,j.sortedUniq=FOe,j.sortedUniqBy=UOe,j.split=S$e,j.spread=Qze,j.tail=YOe,j.take=XOe,j.takeRight=qOe,j.takeRightWhile=GOe,j.takeWhile=KOe,j.tap=cze,j.throttle=Jze,j.thru=hh,j.toArray=l8,j.toPairs=m8,j.toPairsIn=p8,j.toPath=aHe,j.toPlainObject=d8,j.transform=i$e,j.unary=Zze,j.union=QOe,j.unionBy=JOe,j.unionWith=ZOe,j.uniq=eze,j.uniqBy=tze,j.uniqWith=nze,j.unset=r$e,j.unzip=ny,j.unzipWith=X9,j.update=a$e,j.updateWith=o$e,j.values=Ws,j.valuesIn=s$e,j.without=ize,j.words=b8,j.wrap=eLe,j.xor=rze,j.xorBy=aze,j.xorWith=oze,j.zip=sze,j.zipObject=lze,j.zipObjectDeep=uze,j.zipWith=dze,j.entries=m8,j.entriesIn=p8,j.extend=c8,j.extendWith=vh,fy(j,j),j.add=sHe,j.attempt=w8,j.camelCase=c$e,j.capitalize=g8,j.ceil=lHe,j.clamp=l$e,j.clone=nLe,j.cloneDeep=rLe,j.cloneDeepWith=aLe,j.cloneWith=iLe,j.conformsTo=oLe,j.deburr=y8,j.defaultTo=H$e,j.divide=uHe,j.endsWith=f$e,j.eq=Ai,j.escape=h$e,j.escapeRegExp=m$e,j.every=kze,j.find=Cze,j.findIndex=B9,j.findKey=OLe,j.findLast=xze,j.findLastIndex=V9,j.findLastKey=zLe,j.floor=dHe,j.forEach=G9,j.forEachRight=K9,j.forIn=LLe,j.forInRight=$Le,j.forOwn=HLe,j.forOwnRight=RLe,j.get=sy,j.gt=sLe,j.gte=lLe,j.has=FLe,j.hasIn=ly,j.head=U9,j.identity=jn,j.includes=Eze,j.indexOf=xOe,j.inRange=u$e,j.invoke=XLe,j.isArguments=wo,j.isArray=Se,j.isArrayBuffer=uLe,j.isArrayLike=Dn,j.isArrayLikeObject=wt,j.isBoolean=dLe,j.isBuffer=va,j.isDate=cLe,j.isElement=fLe,j.isEmpty=hLe,j.isEqual=mLe,j.isEqualWith=pLe,j.isError=ay,j.isFinite=gLe,j.isFunction=Mr,j.isInteger=r8,j.isLength=bh,j.isMap=a8,j.isMatch=yLe,j.isMatchWith=bLe,j.isNaN=wLe,j.isNative=vLe,j.isNil=MLe,j.isNull=kLe,j.isNumber=o8,j.isObject=dt,j.isObjectLike=gt,j.isPlainObject=Pu,j.isRegExp=oy,j.isSafeInteger=CLe,j.isSet=s8,j.isString=wh,j.isSymbol=Un,j.isTypedArray=Is,j.isUndefined=xLe,j.isWeakMap=SLe,j.isWeakSet=_Le,j.join=EOe,j.kebabCase=p$e,j.last=hi,j.lastIndexOf=AOe,j.lowerCase=g$e,j.lowerFirst=y$e,j.lt=TLe,j.lte=PLe,j.max=cHe,j.maxBy=fHe,j.mean=hHe,j.meanBy=mHe,j.min=pHe,j.minBy=gHe,j.stubArray=my,j.stubFalse=py,j.stubObject=tHe,j.stubString=nHe,j.stubTrue=iHe,j.multiply=yHe,j.nth=DOe,j.noConflict=X$e,j.noop=hy,j.now=ph,j.pad=b$e,j.padEnd=w$e,j.padStart=v$e,j.parseInt=k$e,j.random=d$e,j.reduce=Ize,j.reduceRight=Wze,j.repeat=M$e,j.replace=C$e,j.result=e$e,j.round=bHe,j.runInContext=V,j.sample=zze,j.size=Hze,j.snakeCase=x$e,j.some=Rze,j.sortedIndex=LOe,j.sortedIndexBy=$Oe,j.sortedIndexOf=HOe,j.sortedLastIndex=ROe,j.sortedLastIndexBy=BOe,j.sortedLastIndexOf=VOe,j.startCase=_$e,j.startsWith=T$e,j.subtract=wHe,j.sum=vHe,j.sumBy=kHe,j.template=P$e,j.times=rHe,j.toFinite=Cr,j.toInteger=Te,j.toLength=u8,j.toLower=E$e,j.toNumber=mi,j.toSafeInteger=ELe,j.toString=He,j.toUpper=A$e,j.trim=D$e,j.trimEnd=N$e,j.trimStart=j$e,j.truncate=I$e,j.unescape=W$e,j.uniqueId=oHe,j.upperCase=O$e,j.upperFirst=uy,j.each=G9,j.eachRight=K9,j.first=U9,fy(j,function(){var d={};return Ji(j,function(m,b){Ue.call(j.prototype,b)||(d[b]=m)}),d}(),{chain:!1}),j.VERSION=i,li(["bind","bindKey","curry","curryRight","partial","partialRight"],function(d){j[d].placeholder=j}),li(["drop","take"],function(d,m){We.prototype[d]=function(b){b=b===n?1:Dt(Te(b),0);var C=this.__filtered__&&!m?new We(this):this.clone();return C.__filtered__?C.__takeCount__=en(b,C.__takeCount__):C.__views__.push({size:en(b,Tt),type:d+(C.__dir__<0?"Right":"")}),C},We.prototype[d+"Right"]=function(b){return this.reverse()[d](b).reverse()}}),li(["filter","map","takeWhile"],function(d,m){var b=m+1,C=b==re||b==q;We.prototype[d]=function(A){var W=this.clone();return W.__iteratees__.push({iteratee:ve(A,3),type:b}),W.__filtered__=W.__filtered__||C,W}}),li(["head","last"],function(d,m){var b="take"+(m?"Right":"");We.prototype[d]=function(){return this[b](1).value()[0]}}),li(["initial","tail"],function(d,m){var b="drop"+(m?"":"Right");We.prototype[d]=function(){return this.__filtered__?new We(this):this[b](1)}}),We.prototype.compact=function(){return this.filter(jn)},We.prototype.find=function(d){return this.filter(d).head()},We.prototype.findLast=function(d){return this.reverse().find(d)},We.prototype.invokeMap=Ne(function(d,m){return typeof d=="function"?new We(this):this.map(function(b){return Mu(b,d,m)})}),We.prototype.reject=function(d){return this.filter(yh(ve(d)))},We.prototype.slice=function(d,m){d=Te(d);var b=this;return b.__filtered__&&(d>0||m<0)?new We(b):(d<0?b=b.takeRight(-d):d&&(b=b.drop(d)),m!==n&&(m=Te(m),b=m<0?b.dropRight(-m):b.take(m-d)),b)},We.prototype.takeRightWhile=function(d){return this.reverse().takeWhile(d).reverse()},We.prototype.toArray=function(){return this.take(Tt)},Ji(We.prototype,function(d,m){var b=/^(?:filter|find|map|reject)|While$/.test(m),C=/^(?:head|last)$/.test(m),A=j[C?"take"+(m=="last"?"Right":""):m],W=C||/^find/.test(m);A&&(j.prototype[m]=function(){var $=this.__wrapped__,R=C?[1]:arguments,F=$ instanceof We,Q=R[0],J=F||Se($),te=function(je){var ze=A.apply(j,ha([je],R));return C&&oe?ze[0]:ze};J&&b&&typeof Q=="function"&&Q.length!=1&&(F=J=!1);var oe=this.__chain__,he=!!this.__actions__.length,ke=W&&!oe,De=F&&!he;if(!W&&J){$=De?$:new We(this);var Me=d.apply($,R);return Me.__actions__.push({func:hh,args:[te],thisArg:n}),new di(Me,oe)}return ke&&De?d.apply(this,R):(Me=this.thru(te),ke?C?Me.value()[0]:Me.value():Me)})}),li(["pop","push","shift","sort","splice","unshift"],function(d){var m=$f[d],b=/^(?:push|sort|unshift)$/.test(d)?"tap":"thru",C=/^(?:pop|shift)$/.test(d);j.prototype[d]=function(){var A=arguments;if(C&&!this.__chain__){var W=this.value();return m.apply(Se(W)?W:[],A)}return this[b](function($){return m.apply(Se($)?$:[],A)})}}),Ji(We.prototype,function(d,m){var b=j[m];if(b){var C=b.name+"";Ue.call(Es,C)||(Es[C]=[]),Es[C].push({name:m,func:b})}}),Es[oh(n,w).name]=[{name:"wrapper",func:n}],We.prototype.clone=WIe,We.prototype.reverse=OIe,We.prototype.value=zIe,j.prototype.at=fze,j.prototype.chain=hze,j.prototype.commit=mze,j.prototype.next=pze,j.prototype.plant=yze,j.prototype.reverse=bze,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=wze,j.prototype.first=j.prototype.head,pu&&(j.prototype[pu]=gze),j},_s=mIe();co?((co.exports=_s)._=_s,c0._=_s):Vt._=_s}).call(bl)}(Ld,Ld.exports);var Ri=Ld.exports;const f9e=["data-testid"],h9e=["data-testid"],m9e=["data-testid"],p9e=["data-testid"],g9e=["data-testid"],y9e=["data-testid"],b9e=["data-testid"],w9e=["data-testid"],v9e=["data-testid"],k9e=["data-testid"],M9e=["data-testid"],C9e=["data-testid"],x9e=["data-testid"],S9e=["data-testid"],_9e=["data-testid"],T9e=["data-testid"],P9e=["onClick","data-testid"],E9e=l.defineComponent({__name:"Filter",props:{title:{},iconName:{default:se.filter},multiselect:{type:Boolean,default:!1},options:{},defaultValue:{},closeOnSelect:{type:Boolean},searchable:{type:Boolean},dataTestid:{default:"Filter"}},emits:["scroll"],setup(e,{emit:t}){const n=e,i=l.reactive({options:[],isShow:!1,searchString:"",choosenStatus:!1,searchItems:[]}),r=t,a=l.computed(()=>({"filter-yui-kit__counter":!0,"counter-yui-kit":!0,"counter-yui-kit--search":n.searchable})),o=l.computed(()=>({"filter-yui-kit__select-list":!0,"selected-yui-kit":!0,"selected-yui-kit--search":n.searchable,"border-none-yui-kit":n.searchable&&y.value.length<2})),s=l.computed(()=>({"filter-yui-kit__wrapper":!0,"active-yui-kit":i.isShow,"filter-yui-kit--search":n.searchable})),u=l.computed(()=>{var S,N;return y.value.length>1&&n.searchable?(S=y.value[1])==null?void 0:S.value:(N=y.value[0])==null?void 0:N.value}),c=Object.values(nt),f=S=>{i.searchString=S.trim()},h=S=>{setTimeout(()=>{i.searchString=S},1e3)},g=()=>i.isShow=!i.isShow,p=S=>{S.stopPropagation(),i.options.forEach((N,T)=>w(N,T)),i.isShow=!1},y=l.computed(()=>{let S=i.options.filter(N=>N.choose);return n.searchable&&S.length>1&&(S=S.filter(N=>N.type!==nt.default)),S}),v=l.computed(()=>i.options.filter(S=>{let N=!0;return i.searchString&&(N=S.value.toLowerCase().includes(i.searchString.toLowerCase()),N)?S:!S.choose&&N})),k=S=>{n.multiselect||i.options.forEach(N=>N!==S&&(N.choose=!1)),S.choose=!S.choose,y.value.length||i.options.forEach((N,T)=>{w(N,T)})},w=(S,N)=>{typeof n.defaultValue=="string"&&S.value===n.defaultValue?S.choose=!0:Ri.isArray(n.defaultValue)?n.defaultValue.forEach(I=>I===S.value&&(S.choose=!0)):S.choose=N===0},M=()=>{i.isShow=!1,i.searchString&&(i.searchString="")},x=S=>{const N=S.target;N.scrollHeight-N.scrollTop===N.clientHeight&&r("scroll",!0)},_=l.computed(()=>{var S,N,T;return y.value.length<=1&&n.searchable?((S=y.value[0])==null?void 0:S.type)===nt.default||(N=y.value[0])==null?void 0:N.type:(T=y.value[0])==null?void 0:T.type});return l.onMounted(()=>{i.options=n.options.map((S,N)=>{const T={value:typeof S=="string"?S:S.value,type:typeof S=="string"?"blue":S.type,choose:!1};return w(T,N),n.searchable&&T.type===nt.default&&(T.value="Не выбрано"),T})}),(S,N)=>(l.openBlock(),l.createElementBlock("div",{class:"filter-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{class:l.normalizeClass(s.value),onClick:g,"data-testid":`${n.dataTestid}-Wrapper`},[l.createVNode(we,{name:n.iconName,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"]),l.createElementVNode("span",{"data-testid":`${n.dataTestid}-Title`},l.toDisplayString(n.title),9,m9e),l.createVNode(Ut,{disabled:!0,type:_.value??l.unref(nt).default,text:u.value,style:"margin:0 3px;","data-testid":`${n.dataTestid}-Badges`},null,8,["type","text","data-testid"]),l.createElementVNode("div",{class:l.normalizeClass(a.value),"data-testid":`${n.dataTestid}-Counter`},[y.value.length>1?(l.openBlock(),l.createElementBlock("span",{key:0,class:"counter-yui-kit__value","data-testid":`${n.dataTestid}-Counter-Value`},l.toDisplayString("+"+y.value.length),9,g9e)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"counter-yui-kit__list","data-testid":`${n.dataTestid}-Counter-List`},[l.createElementVNode("div",{class:"counter-yui-kit__list-wrapper","data-testid":`${n.dataTestid}-CounterList-Wrapper`},[l.createElementVNode("ul",{class:"filter-yui-kit__select-list select-yui-kit-counter",style:"padding: 2px; gap: 2px","data-testid":`${n.dataTestid}-SelectListCounter-Counter`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(y.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,"data-testid":`${n.dataTestid}-SelectList-SelectItem${I}`},[l.createVNode(Ut,{type:n.searchable?l.unref(nt).blue:l.unref(c)[I],disabled:!0,text:T.value,"data-testid":`${n.dataTestid}-SelectList-BadgesTypeEnum${I}`},null,8,["type","text","data-testid"])],8,v9e))),128))],8,w9e)],8,b9e)],8,y9e)],10,p9e),l.createElementVNode("button",{type:"button",class:"filter-yui-kit__close",onClick:l.withModifiers(p,["stop"]),"data-testid":`${n.dataTestid}-SelectList-ClearFilter`},[l.createVNode(we,{name:l.unref(se).exitBig},null,8,["name"])],8,k9e)],10,h9e),i.isShow?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter-yui-kit__select-wrapper",onMouseleave:M,"data-testid":`${n.dataTestid}-SelectList-SelectWrapper`},[l.createElementVNode("ul",{class:l.normalizeClass(o.value),"data-testid":`${n.dataTestid}-Select-List`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(y.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,"data-testid":`${n.dataTestid}-Select-ListItem${I}`},[l.createVNode(Ut,{disabled:!0,choosed:T.choose,type:n.searchable?l.unref(nt).blue:l.unref(c)[I],onClick:L=>k(T),text:T.value,"data-testid":`${n.dataTestid}-Select-Badges${I}`},null,8,["choosed","type","onClick","text","data-testid"])],8,x9e))),128))],10,C9e),n.searchable?(l.openBlock(),l.createBlock(yl,{key:0,modelValue:i.searchString,"onUpdate:modelValue":N[0]||(N[0]=T=>i.searchString=T),onEnter:f,onInput:h,style:{margin:"5px 0"},"data-testid":`${n.dataTestid}-Search`},null,8,["modelValue","data-testid"])):l.createCommentVNode("",!0),i.isShow&&!n.searchable?(l.openBlock(),l.createElementBlock("ul",{key:1,class:"filter-yui-kit__select-list","data-testid":`${n.dataTestid}-SelectList-NoSearch`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(v.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,style:l.normalizeStyle(I===0?{paddingTop:"10px"}:""),"data-testid":`${n.dataTestid}-SelectList-Item`},[T.choose?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(Ut,{key:0,disabled:!0,choosed:T.choose,type:l.unref(c)[I],text:T.value,onClick:L=>k(T),"data-testid":`${n.dataTestid}-SelectList-Badges`},null,8,["choosed","type","text","onClick","data-testid"]))],12,_9e))),128))],8,S9e)):l.createCommentVNode("",!0),i.isShow&&n.searchable?(l.openBlock(),l.createElementBlock("ul",{key:2,class:"filter-yui-kit__select-list filter-yui-kit__select-list--search",onScroll:x,"data-testid":`${n.dataTestid}-SelectList-Search`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(v.value,(T,I)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:T.value,onClick:L=>k(T),"data-testid":`${n.dataTestid}-SelectList-Items${I}`},l.toDisplayString(T.value),9,P9e))),128))],40,T9e)):l.createCommentVNode("",!0)],40,M9e)):l.createCommentVNode("",!0)],8,f9e))}}),S1=me(E9e,[["__scopeId","data-v-73a715d8"]]),A9e=["placeholder","data-testid"],_1=me(l.defineComponent({__name:"Combobox",props:{options:{},placeholder:{},disableOpen:{type:Boolean},defaultOption:{},class:{},disabled:{type:Boolean,default:!1},dataTestid:{default:"Combobox"}},emits:["change","error","focusout-option"],setup(e,{emit:t}){const n=t,i=e,r=l.reactive({isOpened:!1,placeholder:i.placeholder,values:i.options,searchValue:""}),a=()=>{n("focusout-option")},o=c=>{var f;(((f=r.values)==null?void 0:f.length)!=0||!i.disableOpen)&&(r.isOpened=c,!r.isOpened&&r.searchValue!=""&&n("error"))};l.watchEffect(()=>r.values=i.options),l.watchEffect(()=>r.searchValue=i.defaultOption||""),l.watch(()=>r.searchValue,()=>{r.searchValue==""&&(r.values=i.options)});const s=()=>{var c;r.isOpened=!0,r.values=i.options.filter(f=>r.searchValue.toLowerCase().split(" ").every(h=>f.toLowerCase().includes(h))),n("change",r.searchValue),((c=r.values)==null?void 0:c.length)==0&&(r.isOpened=!1)},u=c=>{r.searchValue=c,r.isOpened=!1,n("change",c)};return(c,f)=>{var h;return l.openBlock(),l.createBlock(ko,{onChange:o,"is-opened":r.isOpened,"disable-open":((h=r.values)==null?void 0:h.length)==0,class:l.normalizeClass(i.class),disabled:i.disabled,onFocusoutOptions:a,"header-classes":"filter__header","options-classes":"filter__options","data-testid":i.dataTestid},{header:l.withCtx(()=>[l.withDirectives(l.createElementVNode("input",{type:"search",class:"combobox__input","onUpdate:modelValue":f[0]||(f[0]=g=>r.searchValue=g),placeholder:r.placeholder,onKeydown:l.withKeys(s,["enter"]),onInput:s,"data-testid":`${i.dataTestid}-Input`},null,40,A9e),[[l.vModelText,r.searchValue]])]),options:l.withCtx(()=>[l.createVNode($h,{"default-option":r.searchValue,options:r.values,onChange:u,"data-testid":`${i.dataTestid}-Options`},null,8,["default-option","options","data-testid"])]),_:1},8,["is-opened","disable-open","class","disabled","data-testid"])}}}),[["__scopeId","data-v-30fd6d9e"]]);var T1=(e=>(e.initial="initial",e.error="error",e.warning="warning",e.success="success",e.disabled="disabled",e.ordinary="ordinary",e.minor="minor",e))(T1||{}),$d=(e=>(e.text="text",e.email="email",e.password="password",e.tel="tel",e.url="url",e.week="week",e))($d||{});const D9e=["data-testid"],N9e=["data-testid"],j9e=["data-testid"],I9e=["type","autocomplete","placeholder","required","data-testid"],W9e=l.defineComponent({__name:"Input",props:{placeholder:{},inputMessage:{default:""},type:{default:$d.text},required:{type:Boolean,default:!1},modelValue:{default:""},hideClearButton:{type:Boolean,default:!1},autocomplete:{},modelModifiers:{default:()=>({})},dataTestid:{default:"Input"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,i=e,r=l.reactive({isPressed:!1,inputElement:i.modelValue}),a=l.ref(null),o=()=>{var f;r.inputElement="",(f=a.value)==null||f.focus(),n("update:modelValue","")},s=()=>{n("update:modelValue",r.inputElement)},u=()=>{r.isPressed=!0},c=()=>{r.isPressed=!1};return l.watch(()=>i.modelValue,f=>{r.inputElement=f}),l.watch(()=>r.inputElement,f=>{i.modelValue!=f&&(r.isPressed=(f==null?void 0:f.length)>0,r.inputElement=f)}),(f,h)=>(l.openBlock(),l.createElementBlock("fieldset",{class:l.normalizeClass(["input-yui-kit",{pressed:r.isPressed}]),onFocusout:c,"data-testid":i.dataTestid},[i.inputMessage?(l.openBlock(),l.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${i.dataTestid}-Legend`},[l.createTextVNode(l.toDisplayString(i.inputMessage),1),i.required?(l.openBlock(),l.createElementBlock("sup",{key:0,"data-testid":`${i.dataTestid}-Star`,class:"input-yui-kit__star"},"*",8,j9e)):l.createCommentVNode("",!0)],8,N9e)):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("input",{ref_key:"inputRef",ref:a,"onUpdate:modelValue":h[0]||(h[0]=g=>r.inputElement=g),onFocus:u,onInput:s,type:i.type,autocomplete:i.autocomplete,class:"input-yui-kit__input",placeholder:i.placeholder,required:i.required,"data-testid":`${i.dataTestid}-Input`},null,40,I9e),[[l.vModelDynamic,r.inputElement]]),!i.hideClearButton&&r.isPressed&&r.inputElement?(l.openBlock(),l.createBlock(yt,{key:1,type:l.unref(Qe).ghost,class:"input-yui-kit__close","data-testid":`${i.dataTestid}-Button`,onMousedown:l.withModifiers(o,["prevent"]),tabindex:"-1"},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).exitSmall,color:"currentColor","data-testid":`${i.dataTestid}-Button-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","data-testid"])):l.createCommentVNode("",!0)],42,D9e))}}),P1=me(W9e,[["__scopeId","data-v-5b05a751"]]),O9e=["data-testid"],z9e=["data-testid"],L9e=["data-testid"],$9e=["required","data-testid"],H9e=["data-testid"],R9e=["data-testid","disabled"],B9e=["data-testid","disabled"],V9e=l.defineComponent({__name:"InputNumber",props:{inputMessage:{},modelValue:{default:0},required:{type:Boolean},isInteger:{type:Boolean,default:!1},min:{default:0},max:{default:1/0},size:{default:vn.medium},zeroPad:{type:Boolean,default:!1},modelModifiers:{default:()=>({})},dataTestid:{default:"InputNumber"}},emits:["update:modelValue","focused"],setup(e,{emit:t}){const n=t,i=e,r=l.reactive({isPressed:!1,inputElement:i.modelValue||(i.min>0?i.min:0),prevValue:""}),a=/^-?\d{0,10}(\.\d{0,7})?$/,o=l.ref(null);function s(M,x=2){return i.zeroPad&&!isNaN(+M)?String(M).padStart(x,"0"):String(M)}l.watch(()=>i.isInteger,()=>{i.isInteger&&(r.inputElement=c(r.inputElement.toString()),f(r.inputElement))}),l.watch([()=>i.min,()=>i.max],()=>{g(),h()}),l.watch(()=>i.modelValue,(M,x)=>{r.inputElement=i.zeroPad&&(!r.isPressed||Number(x)===0)?s(M):M});const u=M=>{let x=M.target.value;i.zeroPad&&x==="00"||(x=c(x)),f(x),!isNaN(+r.inputElement)&&Number(r.inputElement)<=i.max&&Number(r.inputElement)>=i.min&&n("update:modelValue",r.inputElement)},c=M=>{let x=M.replace(",",".");return i.isInteger&&x.includes(".")&&(x=x.replace(".","")),x==="."?x="0"+x:x==="-."&&(x="-0."+x.slice(2)),/[^\d.]/.test(x)&&(x=x.replace(i.min>=0?/[^0-9.]/g:/[^0-9.-]/g,"")),x.includes("-")&&(x=(x.startsWith("-")?"-":"")+x.replace(/-/g,"")),x.startsWith("0")&&x.length>1&&!x.startsWith("0.")&&(x=x.replace(/^0+/,"")),x.startsWith("-0")&&x.length>2&&!x.startsWith("-0.")&&(x="-"+x.slice(2).replace(/^0+/,"")),(x.match(/\./g)||[]).length>1&&(x=x.slice(0,x.lastIndexOf("."))+x.slice(x.lastIndexOf(".")+1)),x},f=M=>{Number(M)>i.max?r.inputElement=i.max:r.inputElement=M,r.inputElement!==""&&!a.test(`${r.inputElement}`)&&(r.inputElement=r.prevValue)},h=()=>{Number(r.inputElement)<i.min&&(r.inputElement=i.min,n("update:modelValue",+r.inputElement))},g=()=>{Number(r.inputElement)>i.max&&(r.inputElement=i.max,n("update:modelValue",+r.inputElement))},p=M=>{r.prevValue=r.inputElement,M.key==="ArrowUp"&&k(),M.key==="ArrowDown"&&w()},y=M=>{r.isPressed=!0,n("focused",M)},v=()=>{(r.inputElement===""||r.inputElement===null||isNaN(+r.inputElement))&&(r.inputElement=i.min>0?i.min:0),isNaN(+r.inputElement)&&(r.inputElement=Math.max(i.min,0)),Number(r.inputElement)>i.max?r.inputElement=i.max:Number(r.inputElement)<i.min&&(r.inputElement=i.min),r.inputElement=`${r.inputElement}`.replace(/(\.\d*?[1-9])0+$/,"$1").replace(/\.0+$/,""),r.inputElement=s(r.inputElement),n("update:modelValue",r.inputElement),r.isPressed=!1},k=()=>{var M;+r.inputElement+1<i.max?r.inputElement=+r.inputElement+1:i.max!==1/0?r.inputElement=i.max:r.inputElement=0,a.test(`${r.inputElement}`)?(r.inputElement=s(r.inputElement),n("update:modelValue",r.inputElement)):r.inputElement=r.prevValue,(M=o.value)==null||M.focus()},w=()=>{var M;+r.inputElement-1>i.min?r.inputElement=+r.inputElement-1:i.min!==-1/0?r.inputElement=i.min:r.inputElement=0,r.inputElement=s(r.inputElement),n("update:modelValue",+r.inputElement),(M=o.value)==null||M.focus()};return l.onMounted(()=>{g(),h()}),(M,x)=>(l.openBlock(),l.createElementBlock("fieldset",{class:l.normalizeClass(["input-yui-kit input-yui-kit_number initial",{pressed:r.isPressed,[i.size]:!0}]),"data-testid":i.dataTestid,onFocusout:v},[i.inputMessage?(l.openBlock(),l.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${i.dataTestid}-Legend`},[l.createTextVNode(l.toDisplayString(i.inputMessage),1),i.required?(l.openBlock(),l.createElementBlock("sup",{key:0,class:"input-yui-kit__star","data-testid":`${i.dataTestid}-Star`},"*",8,L9e)):l.createCommentVNode("",!0)],8,z9e)):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("input",{ref_key:"inputNumberRef",ref:o,"onUpdate:modelValue":x[0]||(x[0]=_=>r.inputElement=_),onFocus:y,onInput:u,onKeydown:p,class:"input-yui-kit__input",required:i.required,"data-testid":`${i.dataTestid}-Input`,type:"text"},null,40,$9e),[[l.vModelText,r.inputElement]]),l.createElementVNode("div",{class:"input-yui-kit__buttons","data-testid":`${i.dataTestid}-Buttons`},[l.createElementVNode("button",{class:"input-yui-kit__button-up","data-testid":`${i.dataTestid}-UpButton`,onMousedown:l.withModifiers(k,["prevent"]),disabled:+r.inputElement>=i.max},[l.createVNode(we,{name:l.unref(se).chevronUp,"data-testid":`${i.dataTestid}-Icon`},null,8,["name","data-testid"])],40,R9e),l.createElementVNode("button",{class:"input-yui-kit__button-down","data-testid":`${i.dataTestid}-DownButton`,onMousedown:l.withModifiers(w,["prevent"]),disabled:+r.inputElement<=i.min},[l.createVNode(we,{name:l.unref(se).chevronDown,"data-testid":`${i.dataTestid}-Icon`},null,8,["name","data-testid"])],40,B9e)],8,H9e)],42,O9e))}}),wl=me(V9e,[["__scopeId","data-v-2b033e0d"]]),s3="data:image/svg+xml,%3csvg%20width='147'%20height='111'%20viewBox='0%200%20147%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.938%2087.875C132.938%2090.3283%20131.871%2092.681%20129.973%2094.4157C128.074%2096.1504%20125.499%2097.125%20122.814%2097.125H31.6978C29.0128%2097.125%2026.4377%2096.1504%2024.5391%2094.4157C22.6405%2092.681%2021.5738%2090.3283%2021.5738%2087.875V37C21.5738%2034.5467%2022.6405%2032.194%2024.5391%2030.4593C26.4377%2028.7246%2029.0128%2027.75%2031.6978%2027.75H51.9459L62.0699%2013.875H92.4419L102.566%2027.75H122.814C125.499%2027.75%20128.074%2028.7246%20129.973%2030.4593C131.871%2032.194%20132.938%2034.5467%20132.938%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M77.2559%2078.625C88.4386%2078.625%2097.5039%2070.3423%2097.5039%2060.125C97.5039%2049.9077%2088.4386%2041.625%2077.2559%2041.625C66.0732%2041.625%2057.0079%2049.9077%2057.0079%2060.125C57.0079%2070.3423%2066.0732%2078.625%2077.2559%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2026L138.699%2097.4178'%20stroke='%23A6A3AD'%20stroke-width='10'%20stroke-linecap='round'/%3e%3c/svg%3e";var Hd=(e=>(e.jpg="jpg",e.png="png",e.jpeg="jpeg",e.webp="webp",e.svg="svg",e.pdf="pdf",e))(Hd||{}),Rd=(e=>(e.mp4="mp4",e.mp3="mp3",e.avif="avif",e))(Rd||{});const F9e=["data-testid"],U9e=["data-testid"],Y9e=["disabled","data-testid"],X9e=["data-testid"],q9e=["data-testid"],G9e=["data-testid"],K9e=["data-testid"],Q9e=["data-testid"],J9e=["src","data-testid"],Z9e=["data-testid"],e8e=["src"],t8e=["disabled","data-testid"],Bd="slider-yui-kit__full-size",E1=me(l.defineComponent({__name:"Slider",props:{items:{},defaultIndex:{},dataTestid:{default:"Slider"}},setup(e,{expose:t}){const n=e,i=l.reactive({files:n.items.length?n.items:[],file:null,currentIndex:n.defaultIndex||0,extension:null}),r=l.ref(null),a=l.ref(null),o=()=>{var w;return(w=n.items)!=null&&w.length?i.currentIndex===n.items.length-1:!0},s=w=>{if(!w)return null;const M=w.split("?")[0],x=/\.\w+$/,_=M.match(x);return i.extension=_?_[0].replace(".",""):null,i.extension},u=w=>{const M=s(w);return M?Object.values(Hd).includes(M.toLowerCase()):!1},c=w=>{const M=s(w);return M?Object.values(Rd).includes(M):!1},f=w=>{w instanceof KeyboardEvent&&w.key==="Escape"&&a.value&&a.value.classList.contains(Bd)&&(a.value.classList.remove(Bd),document.body.style.overflow="auto")},h=w=>{if(w.type==="click"){const M=w.target;M.classList.toggle(Bd),M.classList.contains(Bd)?(window.addEventListener("keydown",f),r.value&&(r.value.style.cursor="zoom-out")):(window.removeEventListener("keydown",f),r.value&&(r.value.style.cursor="zoom-in"))}},g=()=>{i.currentIndex--,i.file=i.files[i.currentIndex]},p=()=>{i.currentIndex++,i.file=i.files[i.currentIndex]},y=()=>i.files.length===0,v=()=>{var w,M;return u(((w=i.file)==null?void 0:w.path)??null)==!1&&c(((M=i.file)==null?void 0:M.path)??null)==!1&&i.files.length>0};l.onMounted(()=>{if(!n.items)return 0;i.files=n.items,n.defaultIndex&&(i.file=i.files[i.currentIndex]),i.file=i.files[i.currentIndex]});const k=w=>{w>=0&&w<i.files.length&&(i.currentIndex=w,i.file=i.files[i.currentIndex])};return l.watch(()=>n.items,()=>{i.files=n.items},{deep:!0}),t({setSlide:k}),(w,M)=>{var x,_,S,N;return l.openBlock(),l.createElementBlock("div",{class:"slider-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{class:"slider-yui-kit__wrapper",ref:"slider-yui-kitWrapperRef","data-testid":`${n.dataTestid}-Wrapper`},[l.createElementVNode("button",{class:"slider-yui-kit__button slider-yui-kit__button--prev",onClick:g,disabled:i.currentIndex===0,"data-testid":`${n.dataTestid}-Prev-Button`},[l.createVNode(we,{name:l.unref(se).leftBig,"data-testid":`${n.dataTestid}-Prev-Icon`},null,8,["name","data-testid"])],8,Y9e),l.createElementVNode("div",{class:"slider-yui-kit__slides","data-testid":`${n.dataTestid}-Slides-Container`},[y()?(l.openBlock(),l.createElementBlock("div",{key:0,class:"placeholder-yui-kit no-content","data-testid":`${n.dataTestid}-NoContent-Placeholder`},[l.createElementVNode("img",{src:s3,alt:"",width:"111px",height:"111px","data-testid":`${n.dataTestid}-NoContent-Image`},null,8,G9e),l.createElementVNode("p",{"data-testid":`${n.dataTestid}-NoContent-Paragrpah`}," Контент отсутствует ",8,K9e)],8,q9e)):v()?(l.openBlock(),l.createElementBlock("div",{key:1,class:"placeholder-yui-kit","data-testid":`${n.dataTestid}-Invalid-Extension-Placeholder`},[M[2]||(M[2]=l.createElementVNode("img",{src:s3,alt:"",width:"111px",height:"111px"},null,-1)),l.createElementVNode("p",null,"."+l.toDisplayString(i.extension),1)],8,Q9e)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:2},[u(((x=i.file)==null?void 0:x.path)??"")?(l.openBlock(),l.createElementBlock("img",{key:0,onClick:M[0]||(M[0]=T=>h(T)),src:((_=i.file)==null?void 0:_.path)??"",ref_key:"fullsizeImageRef",ref:a,"data-testid":`${n.dataTestid}-Image`},null,8,J9e)):l.createCommentVNode("",!0),c(((S=i.file)==null?void 0:S.path)??"")?(l.openBlock(),l.createElementBlock("video",{key:1,onClick:M[1]||(M[1]=T=>h(T)),controls:"","data-testid":`${n.dataTestid}-Video`},[l.createElementVNode("source",{src:((N=i.file)==null?void 0:N.path)??""},null,8,e8e)],8,Z9e)):l.createCommentVNode("",!0)],64))],8,X9e),l.createElementVNode("button",{class:"slider-yui-kit__button slider-yui-kit__button--next",onClick:p,disabled:o(),"data-testid":`${n.dataTestid}-Next-Button`},[l.createVNode(we,{name:l.unref(se).rightBig,"data-testid":`${n.dataTestid}-Next-Icon`},null,8,["name","data-testid"])],8,t8e)],8,U9e)],8,F9e)}}}),[["__scopeId","data-v-82444e64"]]),n8e=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function i8e(e){return n8e.test(e)}function l3(){var e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.split(/[:\/]/g).pop().toLowerCase()}l3.valid=i8e;const r8e=(e="")=>e+l3();var vl=(e=>(e.small="small",e.medium="medium",e.big="big",e.large="large",e))(vl||{});const a8e=["disabled","data-testid"],o8e=["id","disabled","data-testid"],s8e=["for","data-testid"],l8e=l.defineComponent({__name:"Toggle",props:l.mergeModels({disabled:{type:Boolean,default:!1},backgroundColor:{},type:{default:vl.small},dataTestid:{default:"Toggle"}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:l.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const n=e,i=t,r=l.useModel(e,"modelValue"),a=r8e(),o=l.computed(()=>({"toggle-yui-kit":!0,"toggle-yui-kit_small":n.type===vl.small,"toggle-yui-kit_medium":n.type===vl.medium,"toggle-yui-kit_large":n.type===vl.large})),s=l.computed(()=>({backgroundColor:n.backgroundColor})),u=()=>i("change",!!r.value);return(c,f)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(o.value),disabled:n.disabled,style:l.normalizeStyle(s.value),"data-testid":`${n.dataTestid}-Toggle`},[l.withDirectives(l.createElementVNode("input",{class:"toggle-yui-kit-input",id:l.unref(a),type:"checkbox",disabled:e.disabled,"onUpdate:modelValue":f[0]||(f[0]=h=>r.value=h),onChange:u,"data-testid":`${n.dataTestid}-Input`},null,40,o8e),[[l.vModelCheckbox,r.value]]),l.createElementVNode("label",{class:"toggle-yui-kit-label",for:l.unref(a),"data-testid":`${n.dataTestid}-Label`},null,8,s8e)],14,a8e))}}),Vd=me(l8e,[["__scopeId","data-v-38cc7c65"]]);/*!
|
|
1305
1305
|
* perfect-scrollbar v1.5.3
|
|
1306
1306
|
* Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
|
|
1307
1307
|
* Licensed under MIT
|
|
1308
|
-
*/function Bi(e){return getComputedStyle(e)}function Sn(e,t){for(var n in t){var i=t[n];typeof i=="number"&&(i=i+"px"),e.style[n]=i}return e}function Fd(e){var t=document.createElement("div");return t.className=e,t}var u3=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Hr(e,t){if(!u3)throw new Error("No element matching method supported");return u3.call(e,t)}function Yo(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function d3(e,t){return Array.prototype.filter.call(e.children,function(n){return Hr(n,t)})}var Ct={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},c3={x:null,y:null};function f3(e,t){var n=e.element.classList,i=Ct.state.scrolling(t);n.contains(i)?clearTimeout(c3[t]):n.add(i)}function h3(e,t){c3[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(Ct.state.scrolling(t))},e.settings.scrollingThreshold)}function u8e(e,t){f3(e,t),h3(e,t)}var kl=function(t){this.element=t,this.handlers={}},m3={isEmpty:{configurable:!0}};kl.prototype.bind=function(t,n){typeof this.handlers[t]>"u"&&(this.handlers[t]=[]),this.handlers[t].push(n),this.element.addEventListener(t,n,!1)},kl.prototype.unbind=function(t,n){var i=this;this.handlers[t]=this.handlers[t].filter(function(r){return n&&r!==n?!0:(i.element.removeEventListener(t,r,!1),!1)})},kl.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},m3.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return e.handlers[t].length===0})},Object.defineProperties(kl.prototype,m3);var Xo=function(){this.eventElements=[]};Xo.prototype.eventElement=function(t){var n=this.eventElements.filter(function(i){return i.element===t})[0];return n||(n=new kl(t),this.eventElements.push(n)),n},Xo.prototype.bind=function(t,n,i){this.eventElement(t).bind(n,i)},Xo.prototype.unbind=function(t,n,i){var r=this.eventElement(t);r.unbind(n,i),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},Xo.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},Xo.prototype.once=function(t,n,i){var r=this.eventElement(t),a=function(o){r.unbind(n,a),i(o)};r.bind(n,a)};function Ud(e){if(typeof window.CustomEvent=="function")return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function Yd(e,t,n,i,r){i===void 0&&(i=!0),r===void 0&&(r=!1);var a;if(t==="top")a=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(t==="left")a=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");d8e(e,n,a,i,r)}function d8e(e,t,n,i,r){var a=n[0],o=n[1],s=n[2],u=n[3],c=n[4],f=n[5];i===void 0&&(i=!0),r===void 0&&(r=!1);var h=e.element;e.reach[u]=null,h[s]<1&&(e.reach[u]="start"),h[s]>e[a]-e[o]-1&&(e.reach[u]="end"),t&&(h.dispatchEvent(Ud("ps-scroll-"+u)),t<0?h.dispatchEvent(Ud("ps-scroll-"+c)):t>0&&h.dispatchEvent(Ud("ps-scroll-"+f)),i&&u8e(e,u)),e.reach[u]&&(t||r)&&h.dispatchEvent(Ud("ps-"+u+"-reach-"+e.reach[u]))}function lt(e){return parseInt(e,10)||0}function c8e(e){return Hr(e,"input,[contenteditable]")||Hr(e,"select,[contenteditable]")||Hr(e,"textarea,[contenteditable]")||Hr(e,"button,[contenteditable]")}function f8e(e){var t=Bi(e);return lt(t.width)+lt(t.paddingLeft)+lt(t.paddingRight)+lt(t.borderLeftWidth)+lt(t.borderRightWidth)}var qo={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function ar(e){var t=e.element,n=Math.floor(t.scrollTop),i=t.getBoundingClientRect();e.containerWidth=Math.round(i.width),e.containerHeight=Math.round(i.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(d3(t,Ct.element.rail("x")).forEach(function(r){return Yo(r)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(d3(t,Ct.element.rail("y")).forEach(function(r){return Yo(r)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=p3(e,lt(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=lt((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=p3(e,lt(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=lt(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),h8e(t,e),e.scrollbarXActive?t.classList.add(Ct.state.active("x")):(t.classList.remove(Ct.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=e.isRtl===!0?e.contentWidth:0),e.scrollbarYActive?t.classList.add(Ct.state.active("y")):(t.classList.remove(Ct.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function p3(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function h8e(e,t){var n={width:t.railXWidth},i=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-i:n.top=t.scrollbarXTop+i,Sn(t.scrollbarXRail,n);var r={top:i,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?r.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:r.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?r.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth*2-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:r.left=t.scrollbarYLeft+e.scrollLeft,Sn(t.scrollbarYRail,r),Sn(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),Sn(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}function m8e(e){e.element,e.event.bind(e.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top,i=n>e.scrollbarYTop?1:-1;e.element.scrollTop+=i*e.containerHeight,ar(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left,i=n>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=i*e.containerWidth,ar(e),t.stopPropagation()})}function p8e(e){g3(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),g3(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function g3(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],u=t[6],c=t[7],f=t[8],h=e.element,g=null,p=null,y=null;function v(M){M.touches&&M.touches[0]&&(M[r]=M.touches[0].pageY),h[u]=g+y*(M[r]-p),f3(e,c),ar(e),M.stopPropagation(),M.type.startsWith("touch")&&M.changedTouches.length>1&&M.preventDefault()}function k(){h3(e,c),e[f].classList.remove(Ct.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",v)}function w(M,x){g=h[u],x&&M.touches&&(M[r]=M.touches[0].pageY),p=M[r],y=(e[i]-e[n])/(e[a]-e[s]),x?e.event.bind(e.ownerDocument,"touchmove",v):(e.event.bind(e.ownerDocument,"mousemove",v),e.event.once(e.ownerDocument,"mouseup",k),M.preventDefault()),e[f].classList.add(Ct.state.clicking),M.stopPropagation()}e.event.bind(e[o],"mousedown",function(M){w(M)}),e.event.bind(e[o],"touchstart",function(M){w(M,!0)})}function g8e(e){var t=e.element,n=function(){return Hr(t,":hover")},i=function(){return Hr(e.scrollbarX,":focus")||Hr(e.scrollbarY,":focus")};function r(a,o){var s=Math.floor(t.scrollTop);if(a===0){if(!e.scrollbarYActive)return!1;if(s===0&&o>0||s>=e.contentHeight-e.containerHeight&&o<0)return!e.settings.wheelPropagation}var u=t.scrollLeft;if(o===0){if(!e.scrollbarXActive)return!1;if(u===0&&a<0||u>=e.contentWidth-e.containerWidth&&a>0)return!e.settings.wheelPropagation}return!0}e.event.bind(e.ownerDocument,"keydown",function(a){if(!(a.isDefaultPrevented&&a.isDefaultPrevented()||a.defaultPrevented)&&!(!n()&&!i())){var o=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(o){if(o.tagName==="IFRAME")o=o.contentDocument.activeElement;else for(;o.shadowRoot;)o=o.shadowRoot.activeElement;if(c8e(o))return}var s=0,u=0;switch(a.which){case 37:a.metaKey?s=-e.contentWidth:a.altKey?s=-e.containerWidth:s=-30;break;case 38:a.metaKey?u=e.contentHeight:a.altKey?u=e.containerHeight:u=30;break;case 39:a.metaKey?s=e.contentWidth:a.altKey?s=e.containerWidth:s=30;break;case 40:a.metaKey?u=-e.contentHeight:a.altKey?u=-e.containerHeight:u=-30;break;case 32:a.shiftKey?u=e.containerHeight:u=-e.containerHeight;break;case 33:u=e.containerHeight;break;case 34:u=-e.containerHeight;break;case 36:u=e.contentHeight;break;case 35:u=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&s!==0||e.settings.suppressScrollY&&u!==0||(t.scrollTop-=u,t.scrollLeft+=s,ar(e),r(s,u)&&a.preventDefault())}})}function y8e(e){var t=e.element;function n(o,s){var u=Math.floor(t.scrollTop),c=t.scrollTop===0,f=u+t.offsetHeight===t.scrollHeight,h=t.scrollLeft===0,g=t.scrollLeft+t.offsetWidth===t.scrollWidth,p;return Math.abs(s)>Math.abs(o)?p=c||f:p=h||g,p?!e.settings.wheelPropagation:!0}function i(o){var s=o.deltaX,u=-1*o.deltaY;return(typeof s>"u"||typeof u>"u")&&(s=-1*o.wheelDeltaX/6,u=o.wheelDeltaY/6),o.deltaMode&&o.deltaMode===1&&(s*=10,u*=10),s!==s&&u!==u&&(s=0,u=o.wheelDelta),o.shiftKey?[-u,-s]:[s,u]}function r(o,s,u){if(!qo.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(o))return!1;for(var c=o;c&&c!==t;){if(c.classList.contains(Ct.element.consuming))return!0;var f=Bi(c);if(u&&f.overflowY.match(/(scroll|auto)/)){var h=c.scrollHeight-c.clientHeight;if(h>0&&(c.scrollTop>0&&u<0||c.scrollTop<h&&u>0))return!0}if(s&&f.overflowX.match(/(scroll|auto)/)){var g=c.scrollWidth-c.clientWidth;if(g>0&&(c.scrollLeft>0&&s<0||c.scrollLeft<g&&s>0))return!0}c=c.parentNode}return!1}function a(o){var s=i(o),u=s[0],c=s[1];if(!r(o.target,u,c)){var f=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(c?t.scrollTop-=c*e.settings.wheelSpeed:t.scrollTop+=u*e.settings.wheelSpeed,f=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(u?t.scrollLeft+=u*e.settings.wheelSpeed:t.scrollLeft-=c*e.settings.wheelSpeed,f=!0):(t.scrollTop-=c*e.settings.wheelSpeed,t.scrollLeft+=u*e.settings.wheelSpeed),ar(e),f=f||n(u,c),f&&!o.ctrlKey&&(o.stopPropagation(),o.preventDefault())}}typeof window.onwheel<"u"?e.event.bind(t,"wheel",a):typeof window.onmousewheel<"u"&&e.event.bind(t,"mousewheel",a)}function b8e(e){if(!qo.supportsTouch&&!qo.supportsIePointer)return;var t=e.element;function n(y,v){var k=Math.floor(t.scrollTop),w=t.scrollLeft,M=Math.abs(y),x=Math.abs(v);if(x>M){if(v<0&&k===e.contentHeight-e.containerHeight||v>0&&k===0)return window.scrollY===0&&v>0&&qo.isChrome}else if(M>x&&(y<0&&w===e.contentWidth-e.containerWidth||y>0&&w===0))return!0;return!0}function i(y,v){t.scrollTop-=v,t.scrollLeft-=y,ar(e)}var r={},a=0,o={},s=null;function u(y){return y.targetTouches?y.targetTouches[0]:y}function c(y){return y.pointerType&&y.pointerType==="pen"&&y.buttons===0?!1:!!(y.targetTouches&&y.targetTouches.length===1||y.pointerType&&y.pointerType!=="mouse"&&y.pointerType!==y.MSPOINTER_TYPE_MOUSE)}function f(y){if(c(y)){var v=u(y);r.pageX=v.pageX,r.pageY=v.pageY,a=new Date().getTime(),s!==null&&clearInterval(s)}}function h(y,v,k){if(!t.contains(y))return!1;for(var w=y;w&&w!==t;){if(w.classList.contains(Ct.element.consuming))return!0;var M=Bi(w);if(k&&M.overflowY.match(/(scroll|auto)/)){var x=w.scrollHeight-w.clientHeight;if(x>0&&(w.scrollTop>0&&k<0||w.scrollTop<x&&k>0))return!0}if(v&&M.overflowX.match(/(scroll|auto)/)){var _=w.scrollWidth-w.clientWidth;if(_>0&&(w.scrollLeft>0&&v<0||w.scrollLeft<_&&v>0))return!0}w=w.parentNode}return!1}function g(y){if(c(y)){var v=u(y),k={pageX:v.pageX,pageY:v.pageY},w=k.pageX-r.pageX,M=k.pageY-r.pageY;if(h(y.target,w,M))return;i(w,M),r=k;var x=new Date().getTime(),_=x-a;_>0&&(o.x=w/_,o.y=M/_,a=x),n(w,M)&&y.preventDefault()}}function p(){e.settings.swipeEasing&&(clearInterval(s),s=setInterval(function(){if(e.isInitialized){clearInterval(s);return}if(!o.x&&!o.y){clearInterval(s);return}if(Math.abs(o.x)<.01&&Math.abs(o.y)<.01){clearInterval(s);return}if(!e.element){clearInterval(s);return}i(o.x*30,o.y*30),o.x*=.8,o.y*=.8},10))}qo.supportsTouch?(e.event.bind(t,"touchstart",f),e.event.bind(t,"touchmove",g),e.event.bind(t,"touchend",p)):qo.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",f),e.event.bind(t,"pointermove",g),e.event.bind(t,"pointerup",p)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",f),e.event.bind(t,"MSPointerMove",g),e.event.bind(t,"MSPointerUp",p)))}var w8e=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},v8e={"click-rail":m8e,"drag-thumb":p8e,keyboard:g8e,wheel:y8e,touch:b8e},Ml=function(t,n){var i=this;if(n===void 0&&(n={}),typeof t=="string"&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=t,t.classList.add(Ct.main),this.settings=w8e();for(var r in n)this.settings[r]=n[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var a=function(){return t.classList.add(Ct.state.focus)},o=function(){return t.classList.remove(Ct.state.focus)};this.isRtl=Bi(t).direction==="rtl",this.isRtl===!0&&t.classList.add(Ct.rtl),this.isNegativeScroll=function(){var c=t.scrollLeft,f=null;return t.scrollLeft=-1,f=t.scrollLeft<0,t.scrollLeft=c,f}(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new Xo,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=Fd(Ct.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=Fd(Ct.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",o),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var s=Bi(this.scrollbarXRail);this.scrollbarXBottom=parseInt(s.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=lt(s.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=lt(s.borderLeftWidth)+lt(s.borderRightWidth),Sn(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=lt(s.marginLeft)+lt(s.marginRight),Sn(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Fd(Ct.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=Fd(Ct.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",o),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=Bi(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=lt(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?f8e(this.scrollbarY):null,this.railBorderYWidth=lt(u.borderTopWidth)+lt(u.borderBottomWidth),Sn(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=lt(u.marginTop)+lt(u.marginBottom),Sn(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(c){return v8e[c](i)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(c){return i.onScroll(c)}),ar(this)};Ml.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Sn(this.scrollbarXRail,{display:"block"}),Sn(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=lt(Bi(this.scrollbarXRail).marginLeft)+lt(Bi(this.scrollbarXRail).marginRight),this.railYMarginHeight=lt(Bi(this.scrollbarYRail).marginTop)+lt(Bi(this.scrollbarYRail).marginBottom),Sn(this.scrollbarXRail,{display:"none"}),Sn(this.scrollbarYRail,{display:"none"}),ar(this),Yd(this,"top",0,!1,!0),Yd(this,"left",0,!1,!0),Sn(this.scrollbarXRail,{display:""}),Sn(this.scrollbarYRail,{display:""}))},Ml.prototype.onScroll=function(t){this.isAlive&&(ar(this),Yd(this,"top",this.element.scrollTop-this.lastScrollTop),Yd(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ml.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),Yo(this.scrollbarX),Yo(this.scrollbarY),Yo(this.scrollbarXRail),Yo(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ml.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};const k8e=l.defineComponent({__name:"PerfectScrollbar",props:{tag:{default:"div"},options:{default:()=>({})}},emits:["scroll","ps-scroll-y","ps-scroll-x","ps-scroll-up","ps-scroll-down","ps-scroll-left","ps-scroll-right","ps-y-reach-start","ps-y-reach-end","ps-x-reach-start","ps-x-reach-end"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.ref(null),o=l.ref(null);l.watch(()=>i.options,()=>{u(),s()},{deep:!0}),l.onMounted(()=>{a.value&&s()}),l.onBeforeUnmount(()=>{u()});function s(){a.value&&(o.value=new Ml(a.value,i.options),h())}function u(){o.value&&(h(!1),o.value.destroy(),o.value=null)}const c={scroll:f("scroll"),"ps-scroll-y":f("ps-scroll-y"),"ps-scroll-x":f("ps-scroll-x"),"ps-scroll-up":f("ps-scroll-up"),"ps-scroll-down":f("ps-scroll-down"),"ps-scroll-left":f("ps-scroll-left"),"ps-scroll-right":f("ps-scroll-right"),"ps-y-reach-start":f("ps-y-reach-start"),"ps-y-reach-end":f("ps-y-reach-end"),"ps-x-reach-start":f("ps-x-reach-start"),"ps-x-reach-end":f("ps-x-reach-end")};function f(g){return function(p){r(g,p)}}function h(g=!0){var p;(p=o.value)!=null&&p.element&&Object.entries(c).forEach(([y,v])=>{var k,w;g?(k=o.value)==null||k.element.addEventListener(y,v):(w=o.value)==null||w.element.removeEventListener(y,v)})}return t({ps:o}),(g,p)=>(l.openBlock(),l.createBlock(l.resolveDynamicComponent(g.tag),{ref_key:"scrollbar",ref:a,class:"ps"},{default:l.withCtx(()=>[l.renderSlot(g.$slots,"default")]),_:3},512))}}),M8e=["data-testid"],A1=l.defineComponent({__name:"Scrollbar",props:{options:{},tag:{},class:{},style:{},thrumbStyle:{},railStyle:{},dataTestid:{default:"ScrollBar"}},emits:["scroll","ps-scroll-y","ps-scroll-x","ps-scroll-up","ps-scroll-down","ps-scroll-left","ps-scroll-right","ps-y-reach-start","ps-y-reach-end","ps-x-reach-start","ps-x-reach-end"],setup(e,{expose:t,emit:n}){const i=e,r=l.ref(null),a=n,o=h=>{a("scroll",h)},s={attributes:!0,attributeFilter:["style"]},u=(h,g)=>p=>{for(const y of p)y.type==="attributes"&&y.attributeName==="style"&&h.style.right!==g&&(h.style.right=g)},c=()=>{var w,M,x,_,S,N,T,I,L,D,z,H,X,re,ee,q,Z,de,Ae,at,Tt,Jt,Bt,qe;if(!r.value)return;const h=r.value.querySelector(".ps__thumb-y"),g=r.value.querySelector(".ps__thumb-x"),p=r.value.querySelector(".ps__rail-y"),y=r.value.querySelector(".ps__rail-x");h.style.background=((M=(w=i.thrumbStyle)==null?void 0:w.y)==null?void 0:M.background)||"#77a6ff",h.style.width=((_=(x=i.thrumbStyle)==null?void 0:x.y)==null?void 0:_.width)||"6px",h.style.right="0px",g.style.background=((N=(S=i.thrumbStyle)==null?void 0:S.x)==null?void 0:N.background)||"#77a6ff",g.style.width=((I=(T=i.thrumbStyle)==null?void 0:T.x)==null?void 0:I.width)||"6px",g.style.right="0px",p.style.background=((D=(L=i.railStyle)==null?void 0:L.y)==null?void 0:D.background)||"#F5F5F5",p.style.width=((H=(z=i.thrumbStyle)==null?void 0:z.y)==null?void 0:H.width)||"6px",p.style.right=((re=(X=i.railStyle)==null?void 0:X.y)==null?void 0:re.right)||"0px",y.style.background=((q=(ee=i.railStyle)==null?void 0:ee.x)==null?void 0:q.background)||"#F5F5F5",y.style.width=((de=(Z=i.thrumbStyle)==null?void 0:Z.x)==null?void 0:de.width)||"6px",y.style.right=((at=(Ae=i.railStyle)==null?void 0:Ae.x)==null?void 0:at.right)||"0px";const v=new MutationObserver(u(p,((Jt=(Tt=i.railStyle)==null?void 0:Tt.y)==null?void 0:Jt.right)||"0px")),k=new MutationObserver(u(y,((qe=(Bt=i.railStyle)==null?void 0:Bt.x)==null?void 0:qe.right)||"0px"));v.observe(p,s),k.observe(y,s)};return l.watch(()=>i,()=>{c()},{immediate:!0}),t({scrollToTop:()=>{r.value&&(r.value.children[0].scrollTop=0)}}),l.onMounted(()=>{c()}),(h,g)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"scrollbar",ref:r,"data-testid":i.dataTestid},[l.createVNode(l.unref(k8e),{onScroll:o,options:i.options,tag:i.tag,class:l.normalizeClass(i.class),style:l.normalizeStyle(i.style),"data-testid":`${i.dataTestid}-Scroll`,ref_key:"scrollbar",ref:r},{default:l.withCtx(()=>[l.renderSlot(h.$slots,"default")]),_:3},8,["options","tag","class","style","data-testid"])],8,M8e))}});function bt(e,t=document.documentElement){for(const[n,i]of Object.entries(e))t.style.setProperty(n,String(i))}const C8e=()=>{const e=l.ref(0),t=l.ref([]),n=l.ref(null),i=u=>{t.value.push(u),a(u),o()},r=()=>{t.value.pop(),s(),t.value.length?a(t.value[t.value.length-1]):n.value=null},a=u=>{n.value=u},o=()=>{e.value+=1},s=()=>{e.value>0&&(e.value-=1)};return{countOpenedModal:e,openedModals:t,lastOpenedModal:n,addOpenedModal:i,reduceOpenedModal:r,setLastOpenedModal:a,incrementCountModal:o,decrementCountModal:s}},x8e=["data-testid"],S8e=["data-testid"],_8e=me(l.defineComponent({__name:"Modal",props:{open:{type:Boolean},position:{default:"right"},width:{},height:{},dataTestid:{default:"Modal"}},emits:["close","unmounted"],setup(e,{expose:t,emit:n}){const{lastOpenedModal:i,addOpenedModal:r,reduceOpenedModal:a}=C8e(),o=e,s=l.ref(null),u=l.useAttrs(),c=l.ref(!1),f=l.computed(()=>({width:o.width,height:o.height})),h=n;let g=0;const p=()=>{g=Date.now(),s.value&&(o.open?(s.value.showModal(),r(s.value)):y())},y=()=>{Date.now()-g<300||(a(),h("close"))},v=()=>{var _;(_=s.value)==null||_.close(),document.documentElement.focus(),M()},k=_=>{_.key==="Escape"&&i.value===s.value&&y()},w=()=>{if(document.querySelectorAll(".modal-yui-kit").length===1)return window.innerWidth-document.documentElement.clientWidth;{const S=document.body.style.paddingRight;return Number(S.replace(/\D/g,""))||0}},M=()=>{document.querySelectorAll(".modal-yui-kit").length===0&&bt({overflow:"","padding-right":""},document.body)},x=_=>{_.target===s.value&&y()};return t({closeDialog:v}),l.onMounted(()=>{l.watchEffect(()=>{o.open!==c.value&&(p(),c.value=o.open)}),s.value&&s.value.addEventListener("cancel",S=>{S.preventDefault()});const _=w();bt({overflow:"hidden","padding-right":`${_}px`},document.body),document.addEventListener("keydown",k)}),l.onUnmounted(()=>{M(),document.removeEventListener("keydown",k),h("unmounted")}),(_,S)=>(l.openBlock(),l.createElementBlock("dialog",l.mergeProps({ref_key:"dialog",ref:s},l.unref(u),{class:["modal-yui-kit",`modal-yui-kit_${o.position}`],"data-testid":o.dataTestid,onClick:l.withModifiers(x,["self","left"])}),[l.createElementVNode("div",{class:"modal-yui-kit__modal-content",style:l.normalizeStyle(f.value),"data-testid":`${o.dataTestid}-ModalContent`},[l.renderSlot(_.$slots,"default",{},void 0,!0)],12,S8e)],16,x8e))}}),[["__scopeId","data-v-3750bc76"]]);var y3=(e=>(e.slideTop="slide-top",e.slideLeft="slide-left",e.fadeAndScale="fade-and-scale",e.fade="fade",e))(y3||{});const Xd=me(l.defineComponent({__name:"ModalAnimated",props:{animateType:{},open:{type:Boolean},position:{default:"right"},width:{},height:{},dataTestid:{default:"Modal"}},emits:["close","unmounted","end-animation"],setup(e,{emit:t}){const n=e,i=t,r=l.computed(()=>n.animateType===y3.fade?"fade":n.position==="bottom"?"slide-bottom":n.position==="right"?"slide-left":"fade-and-scale"),a=l.ref(null),o=l.reactive({function:()=>{}}),s=()=>{h()},u=()=>{i("unmounted")},c=()=>{h()},f=()=>{o.function(),i("end-animation")},h=()=>{var p;a.value&&(o.function=(p=a.value)==null?void 0:p.closeDialog)},g=()=>{h(),i("close")};return(p,y)=>(l.openBlock(),l.createBlock(l.Transition,{name:r.value,onAfterLeave:f,onBeforeLeave:c,onAfterEnter:s},{default:l.withCtx(()=>[n.open?(l.openBlock(),l.createBlock(_8e,{key:0,ref_key:"modalRef",ref:a,open:n.open,position:n.position,width:n.width,height:n.height,"data-testid":n.dataTestid,onClose:g,onUnmounted:u},{default:l.withCtx(()=>[l.renderSlot(p.$slots,"default",{},void 0,!0)]),_:3},8,["open","position","width","height","data-testid"])):l.createCommentVNode("",!0)]),_:3},8,["name"]))}}),[["__scopeId","data-v-b0e210a3"]]);var qd=(e=>(e.small="small",e.medium="medium",e.big="big",e))(qd||{}),b3=(e=>(e.circled="circled",e.rounded="rounded",e))(b3||{}),w3=(e=>(e.blue="blue",e.red="red",e))(w3||{});const T8e=["data-testid","checked","disabled"],P8e=l.defineComponent({__name:"Checkbox",props:{size:{default:qd.medium},circular:{default:b3.rounded},color:{default:w3.blue},checked:{type:Boolean},modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dataTestid:{default:"Checkbox"}},emits:["change","update:modelValue"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isChecked:n.modelValue});l.watchEffect(()=>{r.isChecked=n.modelValue});const a=()=>{r.isChecked=!r.isChecked,i("change",r.isChecked),i("update:modelValue",r.isChecked)};return(o,s)=>(l.openBlock(),l.createElementBlock("input",{type:"checkbox",class:l.normalizeClass(`checkbox-yui-kit checkbox-yui-kit_${n.size} checkbox-yui-kit_${n.circular} checkbox-yui-kit_${n.color}`),"data-testid":`${n.dataTestid}`,tabindex:"0",onChange:a,checked:r.isChecked,disabled:n.disabled,onKeyup:l.withKeys(a,["enter"])},null,42,T8e))}}),D1=me(P8e,[["__scopeId","data-v-77e5e5df"]]),E8e=["data-testid"],A8e=["src","alt"],D8e=["src"],N8e={key:1,class:"avatar-yui-kit__text"},Gd=me(l.defineComponent({__name:"Avatar",props:{initials:{},url:{},isIcon:{type:Boolean},alt:{},defaultImage:{},dataTestid:{}},setup(e){const t=e,n=l.ref(!1),i=l.ref(!1);l.watch(()=>t.url,()=>{n.value=!1,i.value=!1});const r=()=>t.initials?t.initials.charAt(0):"";return(a,o)=>(l.openBlock(),l.createElementBlock("div",{"data-testid":t.dataTestid,class:"avatar-yui-kit"},[t.url&&!n.value?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.url,alt:t.alt,class:"avatar-yui-kit__image",style:l.normalizeStyle({visibility:i.value?"visible":"hidden"}),onLoad:o[0]||(o[0]=s=>i.value=!0),onError:o[1]||(o[1]=s=>n.value=!0)},null,44,A8e)):l.createCommentVNode("",!0),n.value||!t.url?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.defaultImage?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.defaultImage,class:"avatar-yui-kit__image"},null,8,D8e)):(l.openBlock(),l.createElementBlock("div",N8e,l.toDisplayString(r()),1))],64)):l.createCommentVNode("",!0)],8,E8e))}}),[["__scopeId","data-v-4406755f"]]),j8e=["data-testid","aria-label"],I8e=["data-testid"],Cl=me(l.defineComponent({name:"Tooltip",__name:"Tooltip",props:{hint:{},isShow:{type:Boolean,default:!1},isCanShow:{type:Boolean,default:!0},position:{default:"bottom-center"},size:{default:"small"},type:{default:"black"},hintGap:{},hintClass:{default:""},dataTestid:{default:"Tooltip"}},setup(e){const t=e,n=CSS.supports("top","anchor(bottom)"),i=l.useId(),r=l.computed(()=>`--anchor-tooltip-${i}`),a=l.ref(null),o=l.ref(null),s=l.computed(()=>[{"tooltip-yui-kit__hint_show":t.isShow||c.isShow,"tooltip-yui-kit__hint_bottom-center":t.position==="bottom-center","tooltip-yui-kit__hint_bottom-left":t.position==="bottom-left","tooltip-yui-kit__hint_bottom-right":t.position==="bottom-right","tooltip-yui-kit__hint_top-center":t.position==="top-center","tooltip-yui-kit__hint_top-left":t.position==="top-left","tooltip-yui-kit__hint_top-right":t.position==="top-right","tooltip-yui-kit__hint_left-top":t.position==="left-top","tooltip-yui-kit__hint_left-center":t.position==="left-center","tooltip-yui-kit__hint_left-bottom":t.position==="left-bottom","tooltip-yui-kit__hint_right-top":t.position==="right-top","tooltip-yui-kit__hint_right-center":t.position==="right-center","tooltip-yui-kit__hint_right-bottom":t.position==="right-bottom","tooltip-yui-kit__hint_small":t.size==="small","tooltip-yui-kit__hint_medium":t.size==="medium","tooltip-yui-kit__hint_large":t.size==="large","tooltip-yui-kit__hint_black":t.type==="black","tooltip-yui-kit__hint_blue":t.type==="blue","tooltip-yui-kit__hint_white":t.type==="white",[t.hintClass]:!0}]),u=l.computed(()=>{var N;const S=(N=a.value)==null?void 0:N.closest("dialog");return S||"body"}),c=l.reactive({isShow:!1}),f=()=>{k()},h=()=>{w()},g=()=>{p()},p=()=>{requestAnimationFrame(()=>{if(!a.value||!o.value||!c.isShow&&!t.isShow)return;const S={"--hint-top":"anchor(top)","--hint-left":"anchor(left)","--hint-width":"0","--hint-height":"0","--tooltip-width":"0","--tooltip-height":"0","--hint-visibility":"visible"};n||(S["--hint-top"]="0",S["--hint-left"]="0");const N=a.value.getBoundingClientRect(),T=o.value.getBoundingClientRect(),I=window.pageYOffset||document.documentElement.scrollTop,L=window.pageXOffset||document.documentElement.scrollLeft;let D=N.top+I,z=N.left+L;const H=a.value.closest("dialog");if(H){const Z=H.getBoundingClientRect();D=N.top-Z.top,z=N.left-Z.left;const de=H.scrollTop,Ae=H.scrollLeft;D+=de,z+=Ae}const X=N.width,re=N.height,ee=T.width,q=T.height;n||(S["--hint-top"]=`${D}px`,S["--hint-left"]=`${z}px`),S["--tooltip-width"]=`${X}px`,S["--tooltip-height"]=`${re}px`,S["--hint-width"]=`${ee}px`,S["--hint-height"]=`${q}px`,o.value&&bt(S,o.value)})},y=()=>{requestAnimationFrame(()=>{!o.value||t.hintGap===void 0||bt({"--tooltip-hint-gap":t.hintGap},o.value)})},v=()=>{o.value&&(bt({"position-anchor":`${r.value}`},o.value),p())};l.watch(()=>t.hintGap,y,{immediate:!0}),l.watch(()=>t.isCanShow,()=>{l.nextTick(()=>{v()})});const k=()=>{c.isShow=!0},w=()=>{c.isShow=!1},M=new MutationObserver(()=>{p()}),x=new ResizeObserver(()=>{var S;(c.isShow||t.isShow)&&!((S=a.value)!=null&&S.matches(":hover"))?w():p()}),_=S=>{M.observe(S,{childList:!0,attributes:!0,characterData:!0}),x.observe(S)};return l.onMounted(()=>{a.value&&bt({"anchor-name":`${r.value}`},a.value),v(),o.value&&_(o.value),a.value&&_(a.value),n||(window.addEventListener("scroll",p,!0),window.addEventListener("resize",p))}),l.onUnmounted(()=>{x.disconnect(),M.disconnect(),window.removeEventListener("scroll",p,!0),window.removeEventListener("resize",p)}),(S,N)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"tooltipRef",ref:a,class:"tooltip-yui-kit","data-testid":t.dataTestid,"aria-label":e.hint,onMouseenter:f,onMouseleave:h},[l.renderSlot(S.$slots,"default",{},void 0,!0),e.isCanShow?(l.openBlock(),l.createBlock(l.Teleport,{key:0,to:u.value},[l.createVNode(l.Transition,{name:"hint-animate",onEnter:g},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{ref_key:"hintRef",ref:o,class:l.normalizeClass(["tooltip-yui-kit__hint",s.value]),"data-testid":t.dataTestid},l.toDisplayString(e.hint),11,I8e),[[l.vShow,e.isShow||c.isShow]])]),_:1})],8,["to"])):l.createCommentVNode("",!0)],40,j8e))}}),[["__scopeId","data-v-0080a212"]]),W8e=["data-testid"],O8e=["data-testid"],z8e=["data-testid"],L8e=["onClick","data-testid"],$8e=l.defineComponent({__name:"Popover",props:{isShow:{type:Boolean},iconName:{default:se.moreVertical},options:{default:()=>[]},tooltip:{default:""},tooltipPosition:{default:"top-left"},isWCUse:{type:Boolean},translateY:{default:"0"},dataTestid:{default:"Popover"}},emits:["close"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isShow:!1}),a=l.computed(()=>{var I;const T=(I=c.value)==null?void 0:I.closest("dialog");return T||"body"}),o=CSS.supports("top","anchor(bottom)"),s=l.useId(),u=l.computed(()=>`--anchor-popover-${s}`),c=l.ref(null),f=l.ref(null),h=l.ref(null),g=l.computed(()=>({"popover-yui-kit__wrapper":!0,"active-yui-kit":r.isShow,"empty-yui-kit":n.options.length===0})),p=()=>r.isShow=!r.isShow,y=()=>{r.isShow=!1,i("close")},v=T=>{T.function(),y()},k=()=>{requestAnimationFrame(()=>{if(!c.value||!f.value||!r.isShow)return;const T={},I=c.value.getBoundingClientRect(),L=window.pageYOffset||document.documentElement.scrollTop,D=window.pageXOffset||document.documentElement.scrollLeft;let z=I.bottom+L,H=I.left+D;const X=c.value.closest("dialog");if(X){const ee=X.getBoundingClientRect();z=I.top-ee.top,H=I.left-ee.left;const q=X.scrollTop,Z=X.scrollLeft;z+=q,H+=Z,z+=10}z+=10,T["--popover-top"]=`${z}px`,o||(T["--popover-left"]=`${H}px`),bt(T,f.value),(()=>{if(!f.value)return;const ee=f.value.getBoundingClientRect();ee.right>window.innerWidth&&(o?T["--popover-right"]="anchor(right) ":T["--popover-right"]=`${I.right-ee.width}px`)})(),T["--popover-right"]&&(T.left="auto",bt(T,f.value))})},w=T=>{const I=T.getBoundingClientRect(),L=document.elementFromPoint(I.left,I.top),D=document.elementFromPoint(I.right,I.bottom);!(L&&T.contains(L))&&!(D&&T.contains(D))&&y()},M=new IntersectionObserver(T=>{T.forEach(I=>{I.isIntersecting||y()})}),x=()=>{c.value&&f.value&&(window.addEventListener("scroll",k,!0),window.addEventListener("resize",k))},_=()=>{c.value&&f.value&&(window.removeEventListener("scroll",k,!0),window.removeEventListener("resize",k))},S=()=>{c.value&&window.addEventListener("scroll",w.bind(null,c.value),!0)},N=()=>{c.value&&window.removeEventListener("scroll",w.bind(null,c.value),!0)};return l.watch(()=>n.isShow,()=>r.isShow=n.isShow),l.watch(()=>r.isShow,()=>{r.isShow?(k(),S()):N(),!o&&(r.isShow?x():_())}),l.onMounted(()=>{c.value&&bt({"anchor-name":`${u.value}`},c.value),f.value&&bt({"position-anchor":`${u.value}`},f.value),h.value&&M.observe(h.value),o||k()}),l.onUnmounted(()=>{M.disconnect(),N(),o||_()}),(T,I)=>(l.openBlock(),l.createBlock(Cl,{hint:n.tooltip,size:"small",type:"black",position:n.tooltipPosition,"data-testid":n.dataTestid,"is-can-show":!!n.tooltip&&!r.isShow&&n.options.length>0},{default:l.withCtx(()=>[l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:"popover-yui-kit",ref_key:"popover",ref:h,"data-testid":`${n.dataTestid}-Popover`},[l.createElementVNode("div",{ref_key:"reference",ref:c,class:l.normalizeClass(g.value),"data-testid":`${n.dataTestid}-PopoverShow`,onClick:p},[l.renderSlot(T.$slots,"trigger",{},()=>[l.createVNode(we,{class:"popover-yui-kit__icon",name:n.iconName,"data-testid":`${n.dataTestid}-PopoverShow-Icon`},null,8,["name","data-testid"])],!0)],10,O8e),(l.openBlock(),l.createBlock(l.Teleport,{to:a.value,disabled:n.isWCUse},[l.createVNode(l.Transition,{name:"popover-animate"},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:"popover-yui-kit__content",style:l.normalizeStyle({transform:`translateY(${n.translateY})`}),ref_key:"floating",ref:f},[l.renderSlot(T.$slots,"default",{},()=>{var L;return[(L=n.options)!=null&&L.length?(l.openBlock(),l.createElementBlock("div",{key:0,class:"popover-yui-kit__options","data-testid":`${n.dataTestid}-PopoverShow-Options`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.options,(D,z)=>(l.openBlock(),l.createElementBlock("div",{class:"popover-yui-kit__options__item",key:z,style:l.normalizeStyle(D.style),onClick:l.withModifiers(H=>v(D),["stop"]),"data-testid":`${n.dataTestid}-Item${z}`},l.toDisplayString(D.value),13,L8e))),128))],8,z8e)):l.createCommentVNode("",!0)]},!0)],4),[[l.vShow,r.isShow]])]),_:3})],8,["to","disabled"]))],8,W8e)),[[l.unref(vo),y,void 0,{bubble:!0}]])]),_:3},8,["hint","position","data-testid","is-can-show"]))}}),Go=me($8e,[["__scopeId","data-v-21b94369"]]),H8e=["data-testid"],R8e={class:"list-yui-kit__item-text"},B8e=me(l.defineComponent({__name:"MenuItem",props:{active:{type:Boolean},disabled:{type:Boolean},dataTestid:{},iconName:{},text:{},menuType:{}},emits:["click"],setup(e,{emit:t}){const n=t,i=()=>{e.disabled||n("click",e.menuType)};return(r,a)=>(l.openBlock(),l.createElementBlock("li",{class:l.normalizeClass(["list-yui-kit__item",{"list-yui-kit__item--disabled":e.disabled,"list-yui-kit__item--active":e.active}]),onClick:i,"data-testid":e.dataTestid},[l.createVNode(we,{name:e.iconName},null,8,["name"]),l.createElementVNode("span",R8e,l.toDisplayString(e.text),1),l.renderSlot(r.$slots,"default",{},void 0,!0)],10,H8e))}}),[["__scopeId","data-v-2617a6b9"]]);var rt=(e=>(e.profile="profile",e.theme="theme",e.options="options",e.exit="exit",e.qrAuth="qr-auth",e.help="help",e))(rt||{});const V8e={class:"menu-yui-kit__list"},F8e={class:"list-yui-kit"},U8e=me(l.defineComponent({__name:"UserMenuList",props:{closeAfterClick:{type:Boolean},menuOpen:{type:Boolean},categories:{},texts:{},user:{},languages:{},isBlackTheme:{type:Boolean},dataTestid:{default:"UserMenuList"}},emits:["click","unmount-qr-auth","themeChange","languageSwitch"],setup(e,{emit:t}){const n=e,i=t,r=l.ref(null);l.watch(()=>n.menuOpen,g=>{g||(r.value=null)});const a=g=>{if(r.value=g,g===rt.qrAuth){i("unmount-qr-auth");return}i("click",g)},o=g=>{i("languageSwitch",g)},s=()=>!1,u=g=>({[rt.profile]:"Profile",[rt.qrAuth]:"Auth with QR",[rt.theme]:"Theme",[rt.options]:"Settings",[rt.exit]:"Log Out",[rt.help]:"Help"})[g]??"",c=g=>({[rt.profile]:se.profile,[rt.qrAuth]:se.qrCode,[rt.theme]:se.darkThemeSwitcher,[rt.options]:se.settings,[rt.exit]:se.logout,[rt.help]:se.help})[g]??se.profile,f=g=>({[rt.profile]:"Profile",[rt.qrAuth]:"QR",[rt.theme]:"Theme",[rt.options]:"Settings",[rt.exit]:"Exit",[rt.help]:"Help"})[g]??g,h=g=>g===rt.theme;return(g,p)=>{var y,v,k;return l.openBlock(),l.createElementBlock("div",V8e,[l.createElementVNode("ul",F8e,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.categories,w=>{var M;return l.openBlock(),l.createBlock(B8e,{key:w,"data-testid":`${n.dataTestid}-${f(w)}-Item`,iconName:c(w),text:((M=n.texts)==null?void 0:M[w])??u(w),menuType:w,disabled:h(w),active:r.value===w,onClick:()=>a(w)},{default:l.withCtx(()=>[w===l.unref(rt).theme?(l.openBlock(),l.createBlock(Vd,{key:0,disabled:"",onChange:s})):l.createCommentVNode("",!0)]),_:2},1032,["data-testid","iconName","text","menuType","disabled","active","onClick"])}),128))]),(y=n.languages)!=null&&y.items?(l.openBlock(),l.createBlock(Eu,{key:0,items:(v=n.languages)==null?void 0:v.items,"default-value":(k=n.languages)==null?void 0:k.defaultValue,onChange:o,"data-testid":`${n.dataTestid}-Language-Switch`},null,8,["items","default-value","data-testid"])):l.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-f2c557cf"]]),Y8e=["data-testid"],X8e={class:"menu-yui-kit__wrapper"},q8e={class:"menu-yui-kit__names"},G8e={class:"menu-yui-kit__name"},K8e={class:"menu-yui-kit__role"},N1=me(l.defineComponent({__name:"UserMenu",props:{closeAfterClick:{type:Boolean},menuOpen:{type:Boolean},categories:{},texts:{},user:{},languages:{},isBlackTheme:{type:Boolean},dataTestid:{default:"UserMenu"}},emits:["click","unmount-qr-auth","themeChange","languageSwitch"],setup(e,{emit:t}){const n=e,i=l.reactive({isShow:!1,isBlackTheme:n.isBlackTheme??!1}),r=t,a=l.computed(()=>({"menu-yui-kit__heading":!0,"active-yui-kit":i.isShow}));function o(g){r("click",g),n.closeAfterClick&&(i.isShow=!1)}const s=l.computed(()=>i.isShow?se.chevronUp:se.chevronDown),u=()=>{i.isShow=!i.isShow};function c(g){n.closeAfterClick&&(i.isShow=!1),r("themeChange",g),i.isBlackTheme=g}const f=g=>{n.closeAfterClick&&(i.isShow=!1),r("languageSwitch",g)},h=()=>{n.closeAfterClick&&(i.isShow=!1),r("unmount-qr-auth")};return(g,p)=>(l.openBlock(),l.createElementBlock("div",{class:"menu-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",X8e,[l.createVNode(Go,{open:i.isShow,onClose:p[0]||(p[0]=y=>i.isShow=!1),placement:"bottom-start","data-testid":`${n.dataTestid}-Popover`},{trigger:l.withCtx(()=>{var y,v,k;return[l.createElementVNode("div",{class:l.normalizeClass(a.value),onClick:u},[l.createVNode(Gd,{class:"menu-yui-kit__avatar",url:(y=n.user)==null?void 0:y.avatar,alt:"user-avatar","data-testid":`${n.dataTestid}-Avatar`},null,8,["url","data-testid"]),l.createElementVNode("div",q8e,[l.createElementVNode("p",G8e,l.toDisplayString((v=n.user)==null?void 0:v.name),1),l.createElementVNode("p",K8e,l.toDisplayString((k=n.user)==null?void 0:k.role),1)]),l.createVNode(yt,{type:l.unref(Qe).ghost,class:"menu-yui-kit__button","data-testid":`${n.dataTestid}-Toggle`},{default:l.withCtx(()=>[l.createVNode(we,{class:"menu-yui-kit__button-icon",name:s.value},null,8,["name"])]),_:1},8,["type","data-testid"])],2)]}),default:l.withCtx(()=>[l.createVNode(U8e,{"data-testid":`${n.dataTestid}-List`,"is-black-theme":i.isBlackTheme,"menu-open":i.isShow,languages:n.languages,categories:n.categories,texts:n.texts,onClick:o,onThemeChange:c,onLanguageSwitch:f,onUnmountQrAuth:h},null,8,["data-testid","is-black-theme","menu-open","languages","categories","texts"])]),_:1},8,["open","data-testid"])])],8,Y8e))}}),[["__scopeId","data-v-38df3478"]]);var Kd=(e=>(e.default="default",e.minor="minor",e))(Kd||{});const Q8e=["data-testid"],J8e=["data-testid"],Z8e=["data-testid"],e7e=["data-testid","placeholder","required","maxlength","readonly"],t7e=l.defineComponent({__name:"Textarea",props:{placeholder:{},inputMessage:{},required:{type:Boolean,default:!1},maxlength:{},modelValue:{default:""},readonly:{type:Boolean,default:!1},type:{default:Kd.default},modelModifiers:{default:()=>({})},dataTestid:{default:"Textarea"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isPressed:!1,inputElement:n.modelValue}),a=l.computed(()=>[{pressed:r.isPressed,readonly:n.readonly,[n.type]:!0}]),o=()=>{i("update:modelValue",r.inputElement)},s=()=>{n.readonly||(r.isPressed=!0)},u=()=>{r.isPressed=!1};return l.watch(()=>n.modelValue,c=>{r.inputElement=c}),(c,f)=>(l.openBlock(),l.createElementBlock("fieldset",{class:l.normalizeClass(["input-yui-kit",a.value]),onFocusout:u,"data-testid":n.dataTestid},[n.inputMessage?(l.openBlock(),l.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${n.dataTestid}-Legend`},[l.createTextVNode(l.toDisplayString(n.inputMessage)+" ",1),n.required?(l.openBlock(),l.createElementBlock("sup",{key:0,class:"input-yui-kit__star","data-testid":`${n.dataTestid}-Legend-Star`},"*",8,Z8e)):l.createCommentVNode("",!0)],8,J8e)):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("textarea",{"onUpdate:modelValue":f[0]||(f[0]=h=>r.inputElement=h),onFocus:s,onInput:o,"data-testid":`${n.dataTestid}-Textarea`,class:"input-yui-kit__input",placeholder:n.placeholder,required:n.required,maxlength:n.maxlength,readonly:n.readonly},null,40,e7e),[[l.vModelText,r.inputElement]])],42,Q8e))}}),j1=me(t7e,[["__scopeId","data-v-d71a57d3"]]);var v3=(e=>(e.img="img",e.pdf="pdf",e.docx="docx",e))(v3||{});const n7e=["data-testid"],i7e=["data-testid"],r7e=["src","alt","data-testid"],a7e=["data-testid"],o7e=["data-testid"],s7e=["data-testid"],I1=me(l.defineComponent({__name:"Picture",props:{type:{},alt:{},url:{},caption:{},dataTestid:{default:"Picture"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("figure",{class:"picture-yui-kit","data-testid":t.dataTestid},[t.type==l.unref(v3).img?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("picture",{class:"picture-yui-kit__picture","data-testid":`${t.dataTestid}-Picture`},[l.createElementVNode("img",{class:"picture-yui-kit__picture__image",src:t.url,alt:t.alt,"data-testid":`${t.dataTestid}-Picture-Img`},null,8,r7e)],8,i7e),l.createElementVNode("figcaption",{class:"picture-yui-kit__picture__caption","data-testid":`${t.dataTestid}-Caption`},l.toDisplayString(t.caption),9,a7e)],64)):(l.openBlock(),l.createElementBlock("div",{key:1,class:"picture-yui-kit__caption","data-testid":`${t.dataTestid}-Caption-Box`},[l.createElementVNode("h4",{class:"picture-yui-kit__caption__title","data-testid":`${t.dataTestid}-Caption-Title`},l.toDisplayString(t.caption),9,s7e)],8,o7e))],8,n7e))}}),[["__scopeId","data-v-b6eba94c"]]);var k3=(e=>(e.success="success",e.warning="warning",e.error="error",e.info="info",e))(k3||{}),M3=(e=>(e.success="Успешно",e.warning="Предупреждение",e.error="Ошибка",e.info="Уведомление",e))(M3||{}),C3=(e=>(e[e.success=se.checkbox]="success",e[e.warning=se.alertTriangle]="warning",e[e.error=se.exitCircle]="error",e[e.info=se.info]="info",e))(C3||{});const l7e=["id","data-testid"],u7e=["data-testid"],d7e=["data-testid"],c7e=["data-testid"],f7e=["data-testid"],h7e=l.defineComponent({__name:"Notification",props:{type:{default:k3.info},title:{},pushKey:{},description:{default:""},timeout:{default:3},showPopover:{type:Boolean,default:!0},dataTestid:{default:"Notification"}},emits:["close"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.ref(null);K(a,"toggle",()=>{i.timeout>0&&setTimeout(()=>{var c;return(c=a.value)==null?void 0:c.hidePopover()},i.timeout*1e3)});const o=()=>(r("close"),"hide"),s=()=>{var c;(c=a.value)==null||c.showPopover()},u=l.reactive({message:{icon:C3[i.type],title:i.title||M3[i.type],description:i.description}});return l.onMounted(()=>{var c;i.showPopover&&((c=a.value)==null||c.showPopover())}),t({showPopover:s}),(c,f)=>(l.openBlock(),l.createElementBlock("div",{popover:"manual",id:i.pushKey.toString(),class:l.normalizeClass(`push-notification-yui-kit push-notification-yui-kit_${i.type}`),"data-testid":i.dataTestid,ref_key:"popover",ref:a},[l.createElementVNode("div",{class:"notification-yui-kit","data-testid":`${i.dataTestid}-Notification`},[l.createElementVNode("div",{class:"notification-yui-kit__block","data-testid":`${i.dataTestid}-Notification-Block`},[l.createVNode(we,{name:u.message.icon,class:"notification-yui-kit__block-icon","data-testid":`${i.dataTestid}-Notification-Icon`},null,8,["name","data-testid"]),l.createElementVNode("h4",{class:"notification-yui-kit__block-title","data-testid":`${i.dataTestid}-Notification-Title`},l.toDisplayString(u.message.title),9,c7e),l.createElementVNode("span",{class:"notification-yui-kit__block-text","data-testid":`${i.dataTestid}-Notification-Description`},l.toDisplayString(u.message.description),9,f7e)],8,d7e),l.createVNode(yt,{class:"notification-yui-kit__exit",type:l.unref(Qe).ghost,popovertarget:i.pushKey.toString(),popovertargetaction:o,"data-testid":`${i.dataTestid}-Notification-Button`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).crossSmall,"data-testid":`${i.dataTestid}-Notification-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","popovertarget","data-testid"])],8,u7e)],10,l7e))}}),W1=me(h7e,[["__scopeId","data-v-51a00a13"]]),O1=l.defineComponent({__name:"CopyIcon",props:{content:{default:""},dataTestid:{default:"CopyIcon"}},setup(e){const t=e,n=()=>{const i=t.content,r=document.createElement("textarea");r.value=i;const a=document.querySelectorAll("dialog[open]"),o=a.length?a[a.length-1]:null;o?o.append(r):document.body.append(r),r.select(),r.setSelectionRange(0,99999),document.execCommand("copy"),r.remove()};return(i,r)=>(l.openBlock(),l.createBlock(we,{class:"copy-icon-yui-kit",name:l.unref(se).copy,"data-testid":t.dataTestid,onClick:n},null,8,["name","data-testid"]))}}),m7e=["data-testid"],p7e=["data-testid"],g7e=["data-testid"],y7e=["data-testid"],b7e=["data-testid"],z1=me(l.defineComponent({__name:"Loader",props:{title:{default:"Загрузка..."},dataTestid:{default:"Loader"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("div",{class:"loader","data-testid":t.dataTestid},[l.createElementVNode("div",{class:"loader__area","data-testid":`${t.dataTestid}-Area`},[l.createElementVNode("div",{class:"loader__circle loader__circle--light-blue","data-testid":`${t.dataTestid}-Loader-LightBlue1`},null,8,g7e),l.createElementVNode("div",{class:"loader__circle loader__circle--blue","data-testid":`${t.dataTestid}-Loader-LightBlue2`},null,8,y7e)],8,p7e),t.title?(l.openBlock(),l.createElementBlock("span",{key:0,class:"loader__span","data-testid":`${t.dataTestid}-Loader-Title`},l.toDisplayString(t.title),9,b7e)):l.createCommentVNode("",!0)],8,m7e))}}),[["__scopeId","data-v-12d4e463"]]),w7e=["data-testid"],v7e=["data-testid"],k7e=["data-testid"],M7e=["data-testid"],C7e=["data-testid"],x7e=["data-testid"],S7e=["data-testid"],_7e=["data-testid"],T7e=["data-testid"],P7e=["data-testid"],E7e=["data-testid"],A7e=["data-testid"],D7e=["data-testid"],N7e=["data-testid"],j7e=l.defineComponent({__name:"FilterTag",props:{title:{},iconName:{default:se.filter},options:{default:()=>[]},selectedValues:{default:()=>[]},multiply:{type:Boolean,default:!0},maxShowCount:{default:5},showClearButton:{type:Boolean,default:!1},disallowNull:{type:Boolean,default:!1},dataTestid:{default:"FilterTag"}},emits:["change"],setup(e,{emit:t}){const n=e,i=l.reactive({isShow:!1,options:[]}),r=t,a=l.computed(()=>({"filter-yui-kit__wrapper":!0,"active-yui-kit":i.isShow})),o=()=>i.isShow=!i.isShow,s=()=>{i.isShow=!1},u=l.computed(()=>i.options.filter(p=>p.chose)),c=l.computed(()=>i.options.filter(p=>!p.chose)),f=p=>{n.disallowNull&&p.chose||(p.chose=!p.chose,n.multiply||(i.options=i.options.map(y=>({...y,chose:p.value===y.value&&p.chose}))),i.options.every(y=>y.chose)&&(i.options=i.options.map(y=>({...y,chose:!1}))),r("change",u.value.map(y=>y.value)),i.isShow=!1)},h=()=>{i.options=i.options.map(p=>({...p,chose:!1})),i.isShow=!1,r("change",[])},g=()=>{i.options=n.options.map(p=>({...p,chose:n.selectedValues.includes(p.value)})),i.options.every(p=>p.chose)&&(i.options=i.options.map(p=>({...p,chose:!1})))};return l.watch(()=>[n.options,n.selectedValues],g),l.watch(()=>n.selectedValues,g),l.onMounted(g),(p,y)=>l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:"filter-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{class:l.normalizeClass(a.value),onClick:o,"data-testid":`${n.dataTestid}-Wrapper`},[n.iconName?(l.openBlock(),l.createBlock(we,{key:0,name:n.iconName,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"])):l.createCommentVNode("",!0),n.title?(l.openBlock(),l.createElementBlock("span",{key:1,"data-testid":`${n.dataTestid}-Title`},l.toDisplayString(n.title),9,k7e)):l.createCommentVNode("",!0),!u.value.length&&!n.disallowNull?(l.openBlock(),l.createBlock(Ut,{key:2,disabled:"",text:"Все","data-testid":`${n.dataTestid}-Badges-All`},null,8,["data-testid"])):(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:3},l.renderList(u.value.filter((v,k)=>k<n.maxShowCount),(v,k)=>(l.openBlock(),l.createBlock(Ut,{key:v.value,type:v.type,disabled:"","data-testid":`${n.dataTestid}-Badges${k}`,text:v.label},null,8,["type","data-testid","text"]))),128)),n.maxShowCount<u.value.length?(l.openBlock(),l.createElementBlock("div",{key:4,class:"filter-yui-kit__counter","data-testid":`${n.dataTestid}-MaxShowCount-Counter`},[l.createTextVNode(" +"+l.toDisplayString(u.value.length-n.maxShowCount)+" ",1),l.createElementVNode("div",{class:"filter-yui-kit__counter-content","data-testid":`${n.dataTestid}-MaxShowCount-Content`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(u.value.filter((v,k)=>k>=n.maxShowCount),(v,k)=>(l.openBlock(),l.createBlock(Ut,{key:v.value,type:v.type,disabled:"",text:v.label,"data-testid":`${n.dataTestid}-MaxShow-Badges${k}`},null,8,["type","text","data-testid"]))),128))],8,C7e)],8,M7e)):l.createCommentVNode("",!0),n.showClearButton&&u.value.length>0?(l.openBlock(),l.createElementBlock("button",{key:5,type:"button",class:"filter-yui-kit__close",onClick:l.withModifiers(h,["stop"]),"data-testid":`${n.dataTestid}-Filter-CloseButton`},[l.createVNode(we,{name:l.unref(se).crossSmall,"data-testid":`${n.dataTestid}-CloseButton-Icon`},null,8,["name","data-testid"])],8,x7e)):l.createCommentVNode("",!0)],10,v7e),i.isShow?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter-yui-kit__select-wrapper","data-testid":`${n.dataTestid}-Select-Wrapper`},[l.createElementVNode("ul",{class:"filter-yui-kit__select-list selected-yui-kit","data-testid":`${n.dataTestid}-Select-List`},[u.value.length?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("li",{key:0,class:"filter-yui-kit__select-item","data-testid":`${n.dataTestid}-Select-Item`},[l.createVNode(Ut,{disabled:"",text:"Все","data-testid":`${n.dataTestid}-Select-Badges`},null,8,["data-testid"])],8,T7e)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(u.value,(v,k)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:v.value,"data-testid":`${n.dataTestid}-Select-Item${k}`},[l.createVNode(Ut,{disabled:!0,choosed:!n.disallowNull&&v.chose,type:v.type,onClick:w=>f(v),text:v.label,"data-testid":`${n.dataTestid}-Select-Badges${k}`},null,8,["choosed","type","onClick","text","data-testid"])],8,P7e))),128))],8,_7e),l.createElementVNode("div",{class:"filter-yui-kit__select__divider","data-testid":`${n.dataTestid}-Select-Divider`},null,8,E7e),i.isShow?(l.openBlock(),l.createElementBlock("ul",{key:0,class:"filter-yui-kit__select-list","data-testid":`${n.dataTestid}-Select-List`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(c.value,(v,k)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:v.value,"data-testid":`${n.dataTestid}-Select-List${k}`},[l.createVNode(Ut,{disabled:!0,choosed:!1,type:v.type,text:v.label,"data-testid":`${n.dataTestid}-Select-Badges${k}`,onClick:w=>f(v)},null,8,["type","text","data-testid","onClick"])],8,D7e))),128)),e.disallowNull?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("li",{key:0,class:"filter-yui-kit__select-item","data-testid":`${n.dataTestid}-Select-Item`},[u.value.length?(l.openBlock(),l.createBlock(Ut,{key:0,disabled:"","data-testid":`${n.dataTestid}-Select-Badges`,text:"Все",onClick:h},null,8,["data-testid"])):l.createCommentVNode("",!0)],8,N7e))],8,A7e)):l.createCommentVNode("",!0)],8,S7e)):l.createCommentVNode("",!0)],8,w7e)),[[l.unref(vo),s,void 0,{bubble:!0}]])}}),L1=me(j7e,[["__scopeId","data-v-41d2f43b"]]),I7e=["data-testid"],W7e=["data-testid"],O7e=["data-testid"],z7e=["data-testid"],$1=me(l.defineComponent({__name:"CircularProgress",props:{percent:{},dataTestid:{default:"CircularProgress"}},setup(e){const t=e,n=()=>{const i=Math.min(Math.max(t.percent,0),100),r=i/100*360;if(i<=25)return`polygon(50% 50%, 50% 0%, calc(50% + 50% * cos(${r-90}deg)) 0,calc(50% + 50% * cos(${r-90}deg)) calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`;if(i<=50)return`polygon(50% 50%, 50% 0%, 100% 0%, 100% calc(50% + 50% * sin(${r-90}deg)), calc(50% + 50% * cos(${r-90}deg)) calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`;if(i<=75)return`polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%,
|
|
1309
|
-
calc(50% + 50% * cos(${r-90}deg)) 100%, calc(50% + 50% * cos(${r-90}deg)) calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`;if(i<=100)return`polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%,0% 100%, 0% calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`};return(i,r)=>t.percent<100?(l.openBlock(),l.createElementBlock("div",{key:0,class:"pie-chart","data-testid":`${t.dataTestid}-PieChart`},[l.createElementVNode("div",{class:"pie-chart-border",style:l.normalizeStyle({"border-color":t.percent<50?"#ef9b8f":"#ffcc00"}),"data-testid":`${t.dataTestid}-PieChart-Border`},[l.createElementVNode("div",{class:"sector",style:l.normalizeStyle({clipPath:n(),"background-color":t.percent<50?"#ef9b8f":"#ffcc00"}),"data-testid":`${t.dataTestid}-PieChart-Sector`},null,12,O7e)],12,W7e)],8,I7e)):(l.openBlock(),l.createElementBlock("svg",{key:1,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","data-testid":`${t.dataTestid}-Icon`,xmlns:"http://www.w3.org/2000/svg"},[...r[0]||(r[0]=[l.createElementVNode("path",{d:"M8 1C4.136 1 1 4.136 1 8C1 11.864 4.136 15 8 15C11.864 15 15 11.864 15 8C15 4.136 11.864 1 8 1ZM8 13.6C4.906 13.6 2.4 11.094 2.4 8C2.4 4.906 4.906 2.4 8 2.4C11.094 2.4 13.6 4.906 13.6 8C13.6 11.094 11.094 13.6 8 13.6Z",fill:"#3BC648"},null,-1),l.createElementVNode("circle",{cx:"8",cy:"8",r:"4",transform:"rotate(-180 8 8)",fill:"#3BC648"},null,-1),l.createElementVNode("path",{d:"M10 6L7.5 9.83935L6 8.5",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],8,z7e))}}),[["__scopeId","data-v-03d46e7b"]]),L7e=["colspan","rowspan","data-testid"],Ko=me(l.defineComponent({name:"TableTh",__name:"TableTh",props:{colspan:{default:1},rowspan:{default:1},dataTestid:{default:"DataHeader"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("th",{colspan:e.colspan,rowspan:e.rowspan,"data-testid":t.dataTestid,class:"table-th"},[l.renderSlot(n.$slots,"default",{},void 0,!0)],8,L7e))}}),[["__scopeId","data-v-273b8b5e"]]),$7e=["data-testid"],xl=me(l.defineComponent({name:"HeadTableRow",__name:"HeadTableRow",props:{dataTestid:{default:"TableRow"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("tr",{class:"head-table-row","data-testid":t.dataTestid},[l.renderSlot(n.$slots,"default",{},void 0,!0)],8,$7e))}}),[["__scopeId","data-v-e226d64f"]]),x3=(e,t,n,i)=>{const r=l.ref(!1),a=l.ref(100);let o=0,s=0;const u=l.computed(()=>[{"scroll-wrapper__track_hide":a.value===100,"scroll-wrapper__track_drag":r.value}]),c=l.computed(()=>a.value<100),f=()=>{if(e.value){const w=e.value.clientWidth,M=e.value.scrollWidth;return w>=M?100:w/M*100}return 100},h=()=>{if(!e.value||!t.value||!n.value||!i.value)return;const{scrollLeft:w,scrollWidth:M,clientWidth:x}=e.value,_=M-x;if(_<=0)return;const S=w/_,N=i.value.clientWidth,T=n.value.clientWidth,I=N-T,L=S*I;requestAnimationFrame(()=>{t.value&&bt({"--scroll-bar-left-position":`${L}px`},t.value)})},g=w=>{!e.value||!t.value||(r.value=!0,o=w.clientX,s=e.value.scrollLeft,document.addEventListener("pointermove",p),document.addEventListener("pointerup",y,!0))},p=w=>{if(r.value&&e.value&&n.value){const M=w.clientX-o,x=(e.value.scrollWidth-e.value.clientWidth)/(e.value.clientWidth-n.value.clientWidth);e.value.scrollLeft=s+M*x,h()}},y=()=>{r.value=!1,document.removeEventListener("pointermove",p),document.removeEventListener("pointerup",y,!0)};return{onDrag:p,onTrackClick:w=>{if(e.value&&n.value){const M=w.currentTarget.getBoundingClientRect(),x=w.clientX-M.left,_=n.value.clientWidth,S=M.width;let N=(x-_/2)*((e.value.scrollWidth-e.value.clientWidth)/(S-_));N=Math.max(0,Math.min(N,e.value.scrollWidth-e.value.clientWidth)),e.value.scrollLeft=N,h()}},startDrag:g,getPercentHorizontalView:f,changeBarPosition:h,isDragging:r,scrollHorizontalWidthPercent:a,setHorizontalBarWidth:()=>{if(!e.value||!t.value)return;const w=f();a.value=w,bt({"--scroll-horizontal-bar-width":`${w}%`},t.value)},horizontalTrackClass:u,isExistHorizontalTrack:c}},S3=(e,t,n,i)=>{const r=l.ref(!1),a=l.ref(100);let o=0,s=0;const u=l.computed(()=>[{"scroll-wrapper__track_hide":a.value===100,"scroll-wrapper__track_drag":r.value}]),c=l.computed(()=>a.value<100),f=()=>{if(e.value){const w=e.value.clientHeight,M=e.value.scrollHeight;if(w>=M)return 100;if(w<M)return w/M*100}return 100},h=()=>{if(!e.value||!t.value||!n.value||!i.value)return;const{scrollTop:w,scrollHeight:M,clientHeight:x}=e.value,_=M-x;if(_<=0)return;const S=w/_,N=i.value.clientHeight,T=n.value.clientHeight,I=N-T,L=S*I;requestAnimationFrame(()=>{t.value&&bt({"--scroll-bar-top-postion":`${L}px`},t.value)})},g=w=>{!e.value||!t.value||(r.value=!0,o=w.clientY,s=e.value.scrollTop,document.addEventListener("pointermove",p),document.addEventListener("pointerup",y))},p=w=>{if(r.value&&e.value&&n.value){const M=w.clientY-o,x=(e.value.scrollHeight-e.value.clientHeight)/(e.value.clientHeight-n.value.clientHeight);e.value.scrollTop=s+M*x,h()}},y=()=>{r.value=!1,document.removeEventListener("pointermove",p),document.removeEventListener("pointerup",y)};return{onDrag:p,onTrackClick:w=>{if(e.value&&n.value){const M=w.currentTarget.getBoundingClientRect(),x=w.clientY-M.top,_=n.value.clientHeight,S=M.height;let N=(x-_/2)*((e.value.scrollHeight-e.value.clientHeight)/(S-_));N=Math.max(0,Math.min(N,e.value.scrollHeight-e.value.clientHeight)),e.value.scrollTop=N,h()}},startDrag:g,getProcentVerticalView:f,changeBarPosition:h,isDragging:r,scrollVerticalHeightProcent:a,setVerticalBarHeight:()=>{if(!e.value||!t.value)return;const w=f();a.value=w,bt({"--scroll-vertical-bar-height":`${w}%`},t.value)},verticalTrackClass:u,isExistVerticalTrack:c}},H7e={class:"scroll-wrapper__vertical-wrapper"},R7e={class:"scroll-wrapper__horizont-wrapper"},Sl=me(l.defineComponent({name:"ScrollWrapper",__name:"ScrollWrapper",props:{isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate","on-mounted"],setup(e,{expose:t,emit:n}){const i=n,r=l.ref(null),a=l.ref(null),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),{onTrackClick:f,startDrag:h,changeBarPosition:g,setVerticalBarHeight:p,verticalTrackClass:y,isExistVerticalTrack:v}=S3(r,a,s,o),{changeBarPosition:k,startDrag:w,onTrackClick:M,setHorizontalBarWidth:x,horizontalTrackClass:_,isExistHorizontalTrack:S}=x3(r,a,c,u),N=q=>{g(),k(),i("unmount-scroll",q)},T=()=>{requestAnimationFrame(()=>{I(),L()})},I=()=>{if(!r.value||!a.value)return;const q=getComputedStyle(a.value),Z=a.value.style.minHeight||q.minHeight,de=a.value.style.maxHeight||q.maxHeight,Ae=a.value.style.height;bt({"--scroll-wrapper-height":`${Ae}`,"--scroll-wrapper-max-height":`${de}`,"--scroll-wrapper-min-height":`${Z}`},a.value)},L=()=>{p(),x(),g(),k()},D=()=>{r.value&&r.value.addEventListener("scroll",N)},z=()=>{r.value&&(r.value.scrollTop=0)},H=()=>{r.value&&(r.value.scrollHeight<=r.value.clientHeight?i("unmount-paginate",!0):i("unmount-paginate",!1))},X=new MutationObserver(()=>{T(),H()}),re=new ResizeObserver(()=>{T(),H()}),ee=q=>{X.observe(q,{childList:!0,subtree:!0,attributes:!0}),re.observe(q)};return t({scrollToTop:z,setHeightSlot:I}),l.onMounted(()=>{T(),D(),a.value&&ee(a.value),o.value&&ee(o.value),window.addEventListener("resize",T),i("on-mounted")}),l.onUnmounted(()=>{window.removeEventListener("resize",T)}),(q,Z)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"scrollWrapperRef",ref:a,class:"scroll-wrapper"},[l.createElementVNode("div",H7e,[l.createElementVNode("div",R7e,[l.createElementVNode("div",{ref_key:"slotRef",ref:r,class:"scroll-wrapper__slot"},[l.renderSlot(q.$slots,"default",{},void 0,!0)],512),l.unref(S)||e.isShowHorizontalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"horizontTrackRef",ref:u,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_horizont",l.unref(_)]),onClick:Z[1]||(Z[1]=l.withModifiers((...de)=>l.unref(M)&&l.unref(M)(...de),["self","prevent","left"]))},[l.createElementVNode("div",{ref_key:"horizontBarRef",ref:c,class:"scroll-wrapper__bar",onPointerdown:Z[0]||(Z[0]=l.withModifiers((...de)=>l.unref(w)&&l.unref(w)(...de),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)]),l.unref(v)||e.isShowVerticalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"verticalTrackRef",ref:o,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_vertical",l.unref(y)]),onClick:Z[3]||(Z[3]=l.withModifiers((...de)=>l.unref(f)&&l.unref(f)(...de),["self","prevent","left"]))},[l.createElementVNode("div",{ref_key:"verticalBarRef",ref:s,class:"scroll-wrapper__bar",onPointerdown:Z[2]||(Z[2]=l.withModifiers((...de)=>l.unref(h)&&l.unref(h)(...de),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)])],512))}}),[["__scopeId","data-v-a4798f10"]]),B7e=["id","data-testid"],V7e=["id","data-testid"],F7e=["id","data-testid"],H1=me(l.defineComponent({name:"TableNew",__name:"Table",props:{tableId:{},search:{},tbodyId:{},theadId:{},columnCount:{},dataTestid:{default:"Table"},isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate"],setup(e,{expose:t,emit:n}){var x;const i=e,r=n,a=l.reactive({headHeight:0,maxColumnCount:0}),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),f=l.ref(null),h=_=>{r("unmount-scroll",_)},g=_=>r("unmount-paginate",_),p=()=>{if(!o.value||!f.value)return;const _=o.value.querySelector("thead");if(!_)return;const S=_.getBoundingClientRect().height;a.headHeight=S,bt({"--scroll-track-margin-top":`${S}px`},f.value.$el)},y=()=>{f.value&&f.value.scrollToTop()},v=()=>{if(f.value&&c.value){const _=getComputedStyle(f.value.$el),S=Number(_.minHeight.replace(/\D/g,""));if(S&&S>0)return;bt({"min-height":`${a.headHeight+108}px`},f.value.$el)}},k=()=>{let _=1;if(s.value){for(let S=0;S<s.value.children.length;S++)_=Math.max(s.value.children[S].children.length,_);a.maxColumnCount=_}},w=new MutationObserver(()=>{k()}),M=new ResizeObserver(()=>{p()});return t({scrollToTop:y,setHeightSlot:(x=f.value)==null?void 0:x.setHeightSlot,tbodyRef:u,tableRef:o,theadRef:s}),l.onMounted(()=>{p(),k(),window.addEventListener("resize",p),o.value&&M.observe(o.value),s.value&&w.observe(s.value,{childList:!0,subtree:!0}),v()}),(_,S)=>(l.openBlock(),l.createBlock(Sl,{ref_key:"scrollWrapperRef",ref:f,class:"table",onUnmountScroll:h,onUnmountPaginate:g,"is-show-vertical-scroll":i.isShowVerticalScroll,"is-show-horizontal-scroll":i.isShowHorizontalScroll,"data-testid":`${i.dataTestid}-ScrollWrapper`},{default:l.withCtx(()=>[l.createElementVNode("table",{ref_key:"tableRef",ref:o,id:i.tableId,class:"table__table","data-testid":`${i.dataTestid}`},[l.renderSlot(_.$slots,"default",{},()=>{var N;return[l.createElementVNode("colgroup",null,[l.renderSlot(_.$slots,"colspan",{},void 0,!0)]),_.$slots.head?(l.openBlock(),l.createElementBlock("thead",{key:0,ref_key:"theadRef",ref:s,id:i.theadId,class:"table__head","data-testid":`${i.dataTestid}-Thead`},[l.renderSlot(_.$slots,"head",{},void 0,!0),_.$slots.search?(l.openBlock(),l.createBlock(xl,{key:0,class:"table__search-tr",id:(N=i.search)==null?void 0:N.rowId,ref_key:"searchRowRef",ref:c,"data-testid":`${i.dataTestid}-Search-Row`},{default:l.withCtx(()=>{var T;return[l.createVNode(Ko,{colspan:i.columnCount||a.maxColumnCount,class:"table__search-th",id:(T=i.search)==null?void 0:T.headId,"data-testid":`${i.dataTestid}-SearchRow-Search`},{default:l.withCtx(()=>[l.renderSlot(_.$slots,"search",{},void 0,!0)]),_:3},8,["colspan","id","data-testid"])]}),_:3},8,["id","data-testid"])):l.createCommentVNode("",!0)],8,V7e)):l.createCommentVNode("",!0),l.renderSlot(_.$slots,"body-group",{},()=>[_.$slots.body?(l.openBlock(),l.createElementBlock("tbody",{key:0,id:i.tbodyId,ref_key:"tbodyRef",ref:u,class:"table__body","data-testid":`${i.dataTestid}-Tbody`},[l.renderSlot(_.$slots,"body",{},void 0,!0)],8,F7e)):l.createCommentVNode("",!0)],!0)]},!0)],8,B7e)]),_:3},8,["is-show-vertical-scroll","is-show-horizontal-scroll","data-testid"]))}}),[["__scopeId","data-v-58c866b5"]]),U7e=["data-testid"],Qd=me(l.defineComponent({name:"TableRow",__name:"TableRow",props:{type:{default:"default"},dataTestid:{}},setup(e){const t=e,n=l.computed(()=>[{"table-row_active":t.type==="selected"}]);return(i,r)=>(l.openBlock(),l.createElementBlock("tr",{class:l.normalizeClass(["table-row",n.value]),"data-testid":t.dataTestid},[l.renderSlot(i.$slots,"default",{},void 0,!0)],10,U7e))}}),[["__scopeId","data-v-a57d78ee"]]),Y7e=["rowspan","colspan","data-testid"],Jd=l.defineComponent({name:"TableTd",__name:"TableTd",props:{colspan:{default:1},rowspan:{default:1},dataTestid:{default:"DataCell"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("td",{rowspan:e.rowspan,colspan:e.colspan,class:"table-td","data-testid":t.dataTestid},[l.renderSlot(n.$slots,"default")],8,Y7e))}}),R1=me(l.defineComponent({name:"SectionTableRow",__name:"SectionTableRow",props:{colspan:{},dataTestid:{default:"SectionTableRow"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createBlock(Qd,{class:"section-table-row","data-testid":t.dataTestid},{default:l.withCtx(()=>[l.createVNode(Jd,{colspan:e.colspan,class:"section-table-row__td","data-testid":`${t.dataTestid}-DataCell`},{default:l.withCtx(()=>[l.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["colspan","data-testid"])]),_:3},8,["data-testid"]))}}),[["__scopeId","data-v-e4d9fcd4"]]),X7e=["disabled","name","value","data-testid"],B1=me(l.defineComponent({name:"Radio",__name:"Radio",props:l.mergeModels({name:{},value:{},disabled:{type:Boolean,default:!1},dataTestid:{default:"Radio"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=l.useModel(e,"modelValue");return(i,r)=>l.withDirectives((l.openBlock(),l.createElementBlock("input",{"onUpdate:modelValue":r[0]||(r[0]=a=>n.value=a),type:"radio",disabled:e.disabled,name:e.name,value:e.value,class:"radio","data-testid":t.dataTestid},null,8,X7e)),[[l.vModelRadio,n.value]])}}),[["__scopeId","data-v-5fca4dd8"]]),q7e=["data-testid"],G7e=["data-testid"],_3=me(l.defineComponent({name:"ChoosenMiniOptions",__name:"ChoosenMiniOptions",props:{options:{},dataTestid:{default:"ChoosenMiniOptions"}},emits:["remove"],setup(e,{emit:t}){const n=e,i=t,r=a=>{i("remove",a)};return(a,o)=>(l.openBlock(),l.createElementBlock("div",{class:"choosen-mini-options","data-testid":n.dataTestid},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.options,(s,u)=>(l.openBlock(),l.createElementBlock("div",{key:s.key,class:"choosen-mini-options__option","data-testid":`${n.dataTestid}-Option-Item${u}`},[l.createVNode(Ut,{"data-testid":`${n.dataTestid}-Badge${u}`,type:l.unref(nt).blue,text:l.unref(Lh)(s)?s.hint:s.value,class:"choosen-mini-options__badges",disabled:""},null,8,["data-testid","type","text"]),l.createVNode(we,{"data-testid":`${n.dataTestid}-Icon${u}`,name:l.unref(se).crossLarge,width:10,height:10,class:"choosen-mini-options__cross",onClick:c=>r(s.key)},null,8,["data-testid","name","onClick"])],8,G7e))),128))],8,q7e))}}),[["__scopeId","data-v-b99473c0"]]),K7e=["data-testid"],Q7e=["data-testid"],J7e=["data-testid"],Z7e=["data-testid"],eCe=["data-testid"],tCe=["data-testid"],V1=me(l.defineComponent({name:"BaseFilter",__name:"BaseFilter",props:l.mergeModels({options:{},title:{},isSearch:{type:Boolean,default:!1},isPosibleToClear:{type:Boolean,default:!1},isShowMiniOptions:{type:Boolean,default:!1},isOpened:{type:Boolean,default:!1},tooltipPosition:{default:"top-center"},onUnmountPagination:{},defaultOption:{default:"Выберите значение"},class:{},disabled:{type:Boolean},dataTestid:{default:"BaseFilter"}},{modelValue:{},modelModifiers:{}}),emits:l.mergeModels(["change","unmount-open","unmount-search","unmount-search-enter","unmount-pagination"],["update:modelValue"]),setup(e,{emit:t}){const n=e,i=l.reactive({isHovered:!1}),r=t,a=l.ref(null),o=l.ref(null),s=l.useModel(e,"modelValue"),u=l.ref(n.isOpened);l.watch(u,()=>r("unmount-open",u.value)),l.watch(()=>n.isOpened,()=>{u.value=n.isOpened}),l.watch(()=>n.onUnmountPagination,()=>{L()});const c=l.ref(""),f=l.computed(()=>{let D=[];return c.value?(Hs(n.options)?D=n.options.filter(z=>{var H;return z.value.toLowerCase().includes(c.value.toLowerCase())||((H=z==null?void 0:z.hint)==null?void 0:H.toLowerCase().includes(c.value.toLowerCase()))}):D=n.options.filter(z=>z.value.toLowerCase().includes(c.value.toLowerCase())),D):(Hs(n.options),D=n.options,D)}),h=l.computed(()=>{var z;return((z=n.options.find(H=>Ri.isArray(s.value)?s.value.includes(H.key):H.key===String(s.value)))==null?void 0:z.value)||n.defaultOption}),g=l.computed(()=>n.options.filter(D=>Ri.isArray(s.value)?s.value.includes(D.key)&&D.value!==h.value:D.key===String(s.value))),p=l.computed(()=>n.options.filter(D=>Ri.isArray(s.value)?s.value.includes(D.key)&&D.value===h.value:D.key===String(s.value))),y=l.computed(()=>{var H,X,re;const D=n.options;let z;return Ri.isArray(s.value)?Hs(D)?z=(H=D.find(ee=>ee.value===h.value))==null?void 0:H.hint:z=(X=D.find(ee=>ee.value===h.value))==null?void 0:X.value:z=(re=D.find(ee=>ee.key===String(s.value)))==null?void 0:re.value,z||""}),v=()=>{i.isHovered=!0},k=()=>{i.isHovered=!1},w=l.computed(()=>{var D;return Hs(n.options)?i.isHovered&&!!y.value:((D=a.value)==null?void 0:D.isSpanOverflow)||!1}),M=l.computed(()=>Ri.isArray(s.value)?n.isPosibleToClear&&s.value.length>0:n.isPosibleToClear&&s.value),x=l.computed(()=>Ri.isArray(s.value)&&s.value.length>1),_=l.computed(()=>Ri.isArray(s.value)?s.value.length:null),S=async D=>{if(Ri.isArray(s.value))s.value.includes(D)?s.value=s.value.filter(z=>z!==D):s.value=[...s.value,D];else{let z=n.options.find(H=>H.key===D);!z&&Hs(n.options)&&(z=n.options.find(H=>H.hint===D)),s.value=(z==null?void 0:z.key)||"",u.value=!1}await l.nextTick(),r("change",String(s.value))},N=D=>{u.value=D},T=async()=>{Ri.isArray(s.value)?s.value=[]:s.value="",await l.nextTick(),r("change",s.value)},I=new IntersectionObserver(D=>{D.forEach(z=>{z.isIntersecting&&r("unmount-pagination")})}),L=()=>{o.value&&n.onUnmountPagination&&(I.unobserve(o.value),I.observe(o.value))};return l.onMounted(()=>{L()}),l.onUnmounted(()=>{I.disconnect()}),(D,z)=>(l.openBlock(),l.createBlock(ko,{onChange:N,"is-opened":u.value,class:l.normalizeClass(n.class),"header-classes":"filter__header","options-classes":"filter__options","data-testid":n.dataTestid},{header:l.withCtx(()=>[l.createElementVNode("span",{class:l.normalizeClass(["filter__header-title",{"filter__header-title__active":u.value}]),"data-testid":`${n.dataTestid}-Title`},l.toDisplayString(e.title),11,K7e),l.createVNode(Cl,{position:e.tooltipPosition,type:"blue","is-can-show":w.value&&!(x.value&&e.isShowMiniOptions),hint:y.value,"hint-gap":28,class:"filter__header-tooltip","data-testid":`${n.dataTestid}-Tooltip`},{default:l.withCtx(()=>[l.createVNode(Ut,{ref_key:"badgesRef",ref:a,type:h.value===n.defaultOption?l.unref(nt).default:l.unref(nt).blue,class:"filter__options-badge","data-testid":`${n.dataTestid}-Badge`,text:h.value,onMouseenter:v,onMouseleave:k,disabled:""},null,8,["type","data-testid","text"]),x.value&&e.isShowMiniOptions?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter__values","data-testid":`${n.dataTestid}-Filter-Value`},[l.createVNode(_3,{"data-testid":`${n.dataTestid}-Filter-Value-MiniOptions`,onClick:z[0]||(z[0]=l.withModifiers(()=>{},["stop"])),options:p.value,onRemove:S},null,8,["data-testid","options"])],8,Q7e)):l.createCommentVNode("",!0)]),_:1},8,["position","is-can-show","hint","data-testid"]),_.value&&_.value>1?(l.openBlock(),l.createElementBlock("span",{key:0,class:"filter__count","data-testid":`${n.dataTestid}-Filter-Count`},[l.createTextVNode(" +"+l.toDisplayString(_.value-1)+" ",1),x.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter__values","data-testid":`${n.dataTestid}-Filter-Values`},[l.createVNode(_3,{onClick:z[1]||(z[1]=l.withModifiers(()=>{},["stop"])),options:g.value,onRemove:S,"data-testid":`${n.dataTestid}-MiniOptions`},null,8,["options","data-testid"])],8,Z7e)):l.createCommentVNode("",!0)],8,J7e)):l.createCommentVNode("",!0),M.value?(l.openBlock(),l.createElementBlock("span",{key:1,class:"filter__cross",onClick:l.withModifiers(T,["stop"]),"data-testid":`${n.dataTestid}-Filter-Cross`},[l.createVNode(we,{name:l.unref(se).crossLarge,width:16,height:16},null,8,["name"])],8,eCe)):l.createCommentVNode("",!0)]),options:l.withCtx(()=>[e.isSearch?(l.openBlock(),l.createBlock(yl,{key:0,modelValue:c.value,"onUpdate:modelValue":z[2]||(z[2]=H=>c.value=H),"show-history":!1,"data-testid":`${n.dataTestid}-Search`,onInput:z[3]||(z[3]=H=>D.$emit("unmount-search",H)),onEnter:z[4]||(z[4]=H=>D.$emit("unmount-search-enter",H))},null,8,["modelValue","data-testid"])):l.createCommentVNode("",!0),l.createVNode($h,{"data-testid":`${n.dataTestid}-Options`,class:"filter__options-option",options:f.value,"default-option":h.value,onChange:S},{default:l.withCtx(()=>[l.createElementVNode("li",{class:"filter__options-underline","data-testid":`${n.dataTestid}-Underline`},[...z[5]||(z[5]=[l.createElementVNode("hr",{class:"filter__options-underline-hr"},null,-1)])],8,tCe)]),_:1},8,["data-testid","options","default-option"]),l.withDirectives(l.createElementVNode("div",{ref_key:"lastOptionRef",ref:o,class:"filter__last-option"},null,512),[[l.vShow,e.onUnmountPagination]])]),_:1},8,["is-opened","class","data-testid"]))}}),[["__scopeId","data-v-0b671aa1"]]),nCe=["data-testid"],Zd=me(l.defineComponent({name:"Range",__name:"Range",props:l.mergeModels({min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},dataTestid:{default:"Range"}},{modelValue:{default:0},modelModifiers:{}}),emits:l.mergeModels(["unmount-change","unmount-input"],["update:modelValue"]),setup(e,{emit:t}){const n=e,i=t,r=l.useModel(e,"modelValue"),a=l.ref(null);l.watch(r,()=>{s()});const o=()=>(r.value-n.min)/(n.max-n.min)*100,s=()=>{requestAnimationFrame(()=>{a.value&&bt({"--progress":o()+"%"},a.value)})},u=f=>{const h=f.target;h&&i("unmount-change",Number(h.value))},c=f=>{const h=f.target;h&&i("unmount-change",Number(h.value))};return l.onMounted(()=>{s()}),(f,h)=>l.withDirectives((l.openBlock(),l.createElementBlock("input",l.mergeProps({ref_key:"input",ref:a,type:"range"},n,{class:"range","onUpdate:modelValue":h[0]||(h[0]=g=>r.value=g),onChange:u,onInput:c,"data-testid":n.dataTestid}),null,16,nCe)),[[l.vModelText,r.value]])}}),[["__scopeId","data-v-4c8abd39"]]),iCe=["id","data-testid"],rCe=["data-testid"],aCe=["data-testid"],F1=me(l.defineComponent({name:"TableNew",__name:"TableNew",props:{tableId:{},search:{},tbodyId:{},theadId:{},columnCount:{},dataTestid:{default:"Table"},isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate"],setup(e,{expose:t,emit:n}){var M;const i=e,r=n,a=l.reactive({headHeight:0,maxColumnCount:0}),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),f=l.ref(null),h=x=>{r("unmount-scroll",x)},g=()=>{if(!o.value||!f.value)return;const x=o.value.querySelector("thead");if(!x)return;const _=x.getBoundingClientRect().height;a.headHeight=_,bt({"--scroll-track-margin-top":`${_}px`},f.value.$el)},p=()=>{f.value&&f.value.scrollToTop()},y=()=>{if(f.value&&c.value){const x=getComputedStyle(f.value.$el),_=Number(x.minHeight.replace(/\D/g,""));if(_&&_>0)return;bt({"min-height":`${a.headHeight+108}px`},f.value.$el)}},v=()=>{let x=1;if(s.value){for(let _=0;_<s.value.children.length;_++)x=Math.max(s.value.children[_].children.length,x);a.maxColumnCount=x}},k=new MutationObserver(()=>{v()}),w=new ResizeObserver(()=>{g()});return t({scrollToTop:p,setHeightSlot:(M=f.value)==null?void 0:M.setHeightSlot,tbodyRef:u,tableRef:o,theadRef:s}),l.onMounted(()=>{g(),v(),window.addEventListener("resize",g),o.value&&w.observe(o.value),s.value&&k.observe(s.value,{childList:!0,subtree:!0}),y()}),(x,_)=>(l.openBlock(),l.createBlock(Sl,{ref_key:"scrollWrapperRef",ref:f,class:"table",onUnmountScroll:h,"is-show-vertical-scroll":i.isShowVerticalScroll,"is-show-horizontal-scroll":i.isShowHorizontalScroll,"data-testid":`${i.dataTestid}-ScrollWrapper`},{default:l.withCtx(()=>[l.createElementVNode("table",{ref_key:"tableRef",ref:o,id:i.tableId,class:"table__table","data-testid":`${i.dataTestid}`},[l.renderSlot(x.$slots,"default",{},()=>[l.createElementVNode("colgroup",null,[l.renderSlot(x.$slots,"colspan",{},void 0,!0)]),x.$slots.head?(l.openBlock(),l.createElementBlock("thead",{key:0,ref_key:"theadRef",ref:s,class:"table__head","data-testid":`${i.dataTestid}-Thead`},[l.renderSlot(x.$slots,"head",{},void 0,!0),x.$slots.search?(l.openBlock(),l.createBlock(xl,{key:0,class:"table__search-tr",ref_key:"searchRowRef",ref:c,"data-testid":`${i.dataTestid}-Search-Row`},{default:l.withCtx(()=>[l.createVNode(Ko,{colspan:a.maxColumnCount,class:"table__search-th","data-testid":`${i.dataTestid}-SearchRow-Search`},{default:l.withCtx(()=>[l.renderSlot(x.$slots,"search",{},void 0,!0)]),_:3},8,["colspan","data-testid"])]),_:3},8,["data-testid"])):l.createCommentVNode("",!0)],8,rCe)):l.createCommentVNode("",!0),l.renderSlot(x.$slots,"body-group",{},()=>[x.$slots.body?(l.openBlock(),l.createElementBlock("tbody",{key:0,ref_key:"tbodyRef",ref:u,class:"table__body","data-testid":`${i.dataTestid}-Tbody`},[l.renderSlot(x.$slots,"body",{},void 0,!0)],8,aCe)):l.createCommentVNode("",!0)],!0)],!0)],8,iCe)]),_:3},8,["is-show-vertical-scroll","is-show-horizontal-scroll","data-testid"]))}}),[["__scopeId","data-v-7bc532c5"]]),oCe=["data-testid"],U1=me(l.defineComponent({name:"TableRow",__name:"TableRowNew",props:{type:{default:"default"},dataTestid:{}},setup(e){const t=e,n=l.computed(()=>[{"table-row_active":t.type==="selected"}]);return(i,r)=>(l.openBlock(),l.createElementBlock("tr",{class:l.normalizeClass(["table-row",n.value]),"data-testid":t.dataTestid},[l.renderSlot(i.$slots,"default",{},void 0,!0)],10,oCe))}}),[["__scopeId","data-v-a1577458"]]),sCe=["data-testid"],ec=me(l.defineComponent({name:"HeadTableRow",__name:"HeadTableRowNew",props:{dataTestid:{default:"TableRow"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("tr",{class:"head-table-row","data-testid":t.dataTestid},[l.renderSlot(n.$slots,"default",{},void 0,!0)],8,sCe))}}),[["__scopeId","data-v-9e5765d8"]]),lCe={class:"scroll-wrapper__vertical-wrapper"},uCe={class:"scroll-wrapper__horizont-wrapper"},dCe=me(l.defineComponent({name:"ScrollWrapper",__name:"ScrollWrapperNew",props:{isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate","on-mounted"],setup(e,{expose:t,emit:n}){const i=n,r=l.ref(null),a=l.ref(null),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),{onTrackClick:f,startDrag:h,changeBarPosition:g,setVerticalBarHeight:p,verticalTrackClass:y,isExistVerticalTrack:v}=S3(r,a,s,o),{changeBarPosition:k,startDrag:w,onTrackClick:M,setHorizontalBarWidth:x,horizontalTrackClass:_,isExistHorizontalTrack:S}=x3(r,a,c,u),N=ee=>{g(),k(),i("unmount-scroll",ee)},T=()=>{requestAnimationFrame(()=>{I(),L()})},I=()=>{if(!r.value||!a.value)return;const ee=getComputedStyle(a.value),q=a.value.style.minHeight||ee.minHeight,Z=a.value.style.maxHeight||ee.maxHeight,de=a.value.style.height;bt({"--scroll-wrapper-height":`${de}`,"--scroll-wrapper-max-height":`${Z}`,"--scroll-wrapper-min-height":`${q}`},a.value)},L=()=>{p(),x(),g(),k()},D=()=>{r.value&&r.value.addEventListener("scroll",N)},z=()=>{r.value&&(r.value.scrollTop=0)},H=new MutationObserver(()=>{T()}),X=new ResizeObserver(()=>{T()}),re=ee=>{H.observe(ee,{childList:!0,subtree:!0,attributes:!0}),X.observe(ee)};return t({scrollToTop:z,setHeightSlot:I}),l.onMounted(()=>{T(),D(),a.value&&re(a.value),o.value&&re(o.value),window.addEventListener("resize",T),i("on-mounted")}),l.onUnmounted(()=>{window.removeEventListener("resize",T)}),(ee,q)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"scrollWrapperRef",ref:a,class:"scroll-wrapper"},[l.createElementVNode("div",lCe,[l.createElementVNode("div",uCe,[l.createElementVNode("div",{ref_key:"slotRef",ref:r,class:"scroll-wrapper__slot"},[l.renderSlot(ee.$slots,"default",{},void 0,!0)],512),l.unref(S)||e.isShowHorizontalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"horizontTrackRef",ref:u,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_horizont",l.unref(_)]),onClick:q[1]||(q[1]=l.withModifiers((...Z)=>l.unref(M)&&l.unref(M)(...Z),["prevent","left"]))},[l.createElementVNode("div",{ref_key:"horizontBarRef",ref:c,class:"scroll-wrapper__bar",onMousedown:q[0]||(q[0]=l.withModifiers((...Z)=>l.unref(w)&&l.unref(w)(...Z),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)]),l.unref(v)||e.isShowVerticalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"verticalTrackRef",ref:o,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_vertical",l.unref(y)]),onClick:q[3]||(q[3]=l.withModifiers((...Z)=>l.unref(f)&&l.unref(f)(...Z),["prevent","left"]))},[l.createElementVNode("div",{ref_key:"verticalBarRef",ref:s,class:"scroll-wrapper__bar",onMousedown:q[2]||(q[2]=l.withModifiers((...Z)=>l.unref(h)&&l.unref(h)(...Z),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)])],512))}}),[["__scopeId","data-v-acb87209"]]),cCe=["data-testid"],fCe=["data-testid"],hCe=["data-testid"],Y1=me(l.defineComponent({name:"TableSimple",__name:"TableSimple",props:{dataTestid:{default:"TableSimple"}},setup(e,{expose:t}){const n=e,i=l.ref(null),r=l.ref(null),a=l.ref(null),o=l.ref(null),s=l.computed(()=>{let u=1;if(r.value)for(let c=0;c<r.value.children.length;c++)u=Math.max(r.value.children[c].children.length,u);return u});return t({tbodyRef:a,tableRef:i,theadRef:r}),(u,c)=>(l.openBlock(),l.createElementBlock("table",{ref_key:"tableRef",ref:i,class:"simple-table-yui-kit","data-testid":`${n.dataTestid}`},[l.renderSlot(u.$slots,"default",{},()=>[l.renderSlot(u.$slots,"colspan",{},void 0,!0),u.$slots.head?(l.openBlock(),l.createElementBlock("thead",{key:0,ref_key:"theadRef",ref:r,class:"simple-table-yui-kit__head","data-testid":`${n.dataTestid}-Thead`},[l.renderSlot(u.$slots,"head",{},void 0,!0),u.$slots.search?(l.openBlock(),l.createBlock(ec,{key:0,class:"table-new-yui-kit__search",ref_key:"searchRowRef",ref:o,"data-testid":`${n.dataTestid}-Search-Row`},{default:l.withCtx(()=>[l.createVNode(Ko,{colspan:s.value,class:"table-new-yui-kit__th","data-testid":`${n.dataTestid}-SearchRow-Search`},{default:l.withCtx(()=>[l.renderSlot(u.$slots,"search",{},void 0,!0)]),_:3},8,["colspan","data-testid"])]),_:3},8,["data-testid"])):l.createCommentVNode("",!0)],8,fCe)):l.createCommentVNode("",!0),l.renderSlot(u.$slots,"body-group",{},()=>[u.$slots.body?(l.openBlock(),l.createElementBlock("tbody",{key:0,ref_key:"tbodyRef",ref:a,class:"simple-table-yui-kit__body","data-testid":`${n.dataTestid}-Tbody`},[l.renderSlot(u.$slots,"body",{},void 0,!0)],8,hCe)):l.createCommentVNode("",!0)],!0)],!0)],8,cCe))}}),[["__scopeId","data-v-532e43bc"]]),mCe=["data-testid"],pCe=["data-testid"],gCe=["onClick","data-testid"],yCe=["data-testid"],X1=me(l.defineComponent({name:"Tabs",__name:"Tabs",props:{defaultActiveTabId:{},tabCount:{},dataTestid:{default:"Tabs"}},emits:["unmount-tab"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({activeTab:1}),a=s=>Array.from({length:s},(u,c)=>c+1);l.watch(()=>n.defaultActiveTabId,()=>{n.defaultActiveTabId&&(r.activeTab=n.defaultActiveTabId)},{immediate:!0});const o=s=>{r.activeTab=s,i("unmount-tab",s)};return(s,u)=>(l.openBlock(),l.createElementBlock("div",{"data-testid":n.dataTestid,class:"tabs"},[l.createElementVNode("nav",{class:"tabs__navigation","data-testid":`${n.dataTestid}-Navigation`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(a(n.tabCount),c=>(l.openBlock(),l.createElementBlock("button",{key:c,onClick:f=>o(c),class:l.normalizeClass(["tabs__navigation-button",{active:r.activeTab===c}]),"data-testid":`${n.dataTestid}-Navigation-Button`},[l.renderSlot(s.$slots,`header${c}`,{},void 0,!0)],10,gCe))),128))],8,pCe),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(a(n.tabCount),c=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:c},[r.activeTab===c?(l.openBlock(),l.createElementBlock("article",{key:0,"data-testid":`${n.dataTestid}-Content`,class:"tabs__navigation-content"},[l.renderSlot(s.$slots,`tab${c}`,{},void 0,!0)],8,yCe)):l.createCommentVNode("",!0)],64))),128))],8,mCe))}}),[["__scopeId","data-v-0e453d9a"]]);function $t(e){this.content=e}$t.prototype={constructor:$t,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var i=n&&n!=e?this.remove(n):this,r=i.find(e),a=i.content.slice();return r==-1?a.push(n||e,t):(a[r+1]=t,n&&(a[r]=n)),new $t(a)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new $t(n)},addToStart:function(e,t){return new $t([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new $t(n)},addBefore:function(e,t,n){var i=this.remove(t),r=i.content.slice(),a=i.find(e);return r.splice(a==-1?r.length:a,0,t,n),new $t(r)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=$t.from(e),e.size?new $t(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=$t.from(e),e.size?new $t(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=$t.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},$t.from=function(e){if(e instanceof $t)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new $t(t)};function T3(e,t,n){for(let i=0;;i++){if(i==e.childCount||i==t.childCount)return e.childCount==t.childCount?null:n;let r=e.child(i),a=t.child(i);if(r==a){n+=r.nodeSize;continue}if(!r.sameMarkup(a))return n;if(r.isText&&r.text!=a.text){for(let o=0;r.text[o]==a.text[o];o++)n++;return n}if(r.content.size||a.content.size){let o=T3(r.content,a.content,n+1);if(o!=null)return o}n+=r.nodeSize}}function P3(e,t,n,i){for(let r=e.childCount,a=t.childCount;;){if(r==0||a==0)return r==a?null:{a:n,b:i};let o=e.child(--r),s=t.child(--a),u=o.nodeSize;if(o==s){n-=u,i-=u;continue}if(!o.sameMarkup(s))return{a:n,b:i};if(o.isText&&o.text!=s.text){let c=0,f=Math.min(o.text.length,s.text.length);for(;c<f&&o.text[o.text.length-c-1]==s.text[s.text.length-c-1];)c++,n--,i--;return{a:n,b:i}}if(o.content.size||s.content.size){let c=P3(o.content,s.content,n-1,i-1);if(c)return c}n-=u,i-=u}}class ne{constructor(t,n){if(this.content=t,this.size=n||0,n==null)for(let i=0;i<t.length;i++)this.size+=t[i].nodeSize}nodesBetween(t,n,i,r=0,a){for(let o=0,s=0;s<n;o++){let u=this.content[o],c=s+u.nodeSize;if(c>t&&i(u,r+s,a||null,o)!==!1&&u.content.size){let f=s+1;u.nodesBetween(Math.max(0,t-f),Math.min(u.content.size,n-f),i,r+f)}s=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,i,r){let a="",o=!0;return this.nodesBetween(t,n,(s,u)=>{let c=s.isText?s.text.slice(Math.max(t,u)-u,n-u):s.isLeaf?r?typeof r=="function"?r(s):r:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&c||s.isTextblock)&&i&&(o?o=!1:a+=i),a+=c},0),a}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,i=t.firstChild,r=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(i)&&(r[r.length-1]=n.withText(n.text+i.text),a=1);a<t.content.length;a++)r.push(t.content[a]);return new ne(r,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let i=[],r=0;if(n>t)for(let a=0,o=0;o<n;a++){let s=this.content[a],u=o+s.nodeSize;u>t&&((o<t||u>n)&&(s.isText?s=s.cut(Math.max(0,t-o),Math.min(s.text.length,n-o)):s=s.cut(Math.max(0,t-o-1),Math.min(s.content.size,n-o-1))),i.push(s),r+=s.nodeSize),o=u}return new ne(i,r)}cutByIndex(t,n){return t==n?ne.empty:t==0&&n==this.content.length?this:new ne(this.content.slice(t,n))}replaceChild(t,n){let i=this.content[t];if(i==n)return this;let r=this.content.slice(),a=this.size+n.nodeSize-i.nodeSize;return r[t]=n,new ne(r,a)}addToStart(t){return new ne([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new ne(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(t.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let n=this.content[t];if(!n)throw new RangeError("Index "+t+" out of range for "+this);return n}maybeChild(t){return this.content[t]||null}forEach(t){for(let n=0,i=0;n<this.content.length;n++){let r=this.content[n];t(r,i,n),i+=r.nodeSize}}findDiffStart(t,n=0){return T3(this,t,n)}findDiffEnd(t,n=this.size,i=t.size){return P3(this,t,n,i)}findIndex(t){if(t==0)return tc(0,t);if(t==this.size)return tc(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,i=0;;n++){let r=this.child(n),a=i+r.nodeSize;if(a>=t)return a==t?tc(n+1,a):tc(n,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return ne.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new ne(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return ne.empty;let n,i=0;for(let r=0;r<t.length;r++){let a=t[r];i+=a.nodeSize,r&&a.isText&&t[r-1].sameMarkup(a)?(n||(n=t.slice(0,r)),n[n.length-1]=a.withText(n[n.length-1].text+a.text)):n&&n.push(a)}return new ne(n||t,i)}static from(t){if(!t)return ne.empty;if(t instanceof ne)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new ne([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}ne.empty=new ne([],0);const q1={index:0,offset:0};function tc(e,t){return q1.index=e,q1.offset=t,q1}function nc(e,t){if(e===t)return!0;if(!(e&&typeof e=="object")||!(t&&typeof t=="object"))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let i=0;i<e.length;i++)if(!nc(e[i],t[i]))return!1}else{for(let i in e)if(!(i in t)||!nc(e[i],t[i]))return!1;for(let i in t)if(!(i in e))return!1}return!0}let Ge=class gy{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,i=!1;for(let r=0;r<t.length;r++){let a=t[r];if(this.eq(a))return t;if(this.type.excludes(a.type))n||(n=t.slice(0,r));else{if(a.type.excludes(this.type))return t;!i&&a.type.rank>this.type.rank&&(n||(n=t.slice(0,r)),n.push(this),i=!0),n&&n.push(a)}}return n||(n=t.slice()),i||n.push(this),n}removeFromSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return t.slice(0,n).concat(t.slice(n+1));return t}isInSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return!0;return!1}eq(t){return this==t||this.type==t.type&&nc(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let i=t.marks[n.type];if(!i)throw new RangeError(`There is no mark type ${n.type} in this schema`);let r=i.create(n.attrs);return i.checkAttrs(r.attrs),r}static sameSet(t,n){if(t==n)return!0;if(t.length!=n.length)return!1;for(let i=0;i<t.length;i++)if(!t[i].eq(n[i]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return gy.none;if(t instanceof gy)return[t];let n=t.slice();return n.sort((i,r)=>i.type.rank-r.type.rank),n}};Ge.none=[];class ic extends Error{}class ue{constructor(t,n,i){this.content=t,this.openStart=n,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let i=A3(this.content,t+this.openStart,n);return i&&new ue(i,this.openStart,this.openEnd)}removeBetween(t,n){return new ue(E3(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return ue.empty;let i=n.openStart||0,r=n.openEnd||0;if(typeof i!="number"||typeof r!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new ue(ne.fromJSON(t,n.content),i,r)}static maxOpen(t,n=!0){let i=0,r=0;for(let a=t.firstChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.firstChild)i++;for(let a=t.lastChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.lastChild)r++;return new ue(t,i,r)}}ue.empty=new ue(ne.empty,0,0);function E3(e,t,n){let{index:i,offset:r}=e.findIndex(t),a=e.maybeChild(i),{index:o,offset:s}=e.findIndex(n);if(r==t||a.isText){if(s!=n&&!e.child(o).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(i!=o)throw new RangeError("Removing non-flat range");return e.replaceChild(i,a.copy(E3(a.content,t-r-1,n-r-1)))}function A3(e,t,n,i){let{index:r,offset:a}=e.findIndex(t),o=e.maybeChild(r);if(a==t||o.isText)return i&&!i.canReplace(r,r,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=A3(o.content,t-a-1,n,o);return s&&e.replaceChild(r,o.copy(s))}function bCe(e,t,n){if(n.openStart>e.depth)throw new ic("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new ic("Inconsistent open depths");return D3(e,t,n,0)}function D3(e,t,n,i){let r=e.index(i),a=e.node(i);if(r==t.index(i)&&i<e.depth-n.openStart){let o=D3(e,t,n,i+1);return a.copy(a.content.replaceChild(r,o))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&e.depth==i&&t.depth==i){let o=e.parent,s=o.content;return Fa(o,s.cut(0,e.parentOffset).append(n.content).append(s.cut(t.parentOffset)))}else{let{start:o,end:s}=wCe(n,e);return Fa(a,j3(e,o,s,t,i))}else return Fa(a,rc(e,t,i))}function N3(e,t){if(!t.type.compatibleContent(e.type))throw new ic("Cannot join "+t.type.name+" onto "+e.type.name)}function G1(e,t,n){let i=e.node(n);return N3(i,t.node(n)),i}function Va(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function _l(e,t,n,i){let r=(t||e).node(n),a=0,o=t?t.index(n):r.childCount;e&&(a=e.index(n),e.depth>n?a++:e.textOffset&&(Va(e.nodeAfter,i),a++));for(let s=a;s<o;s++)Va(r.child(s),i);t&&t.depth==n&&t.textOffset&&Va(t.nodeBefore,i)}function Fa(e,t){return e.type.checkContent(t),e.copy(t)}function j3(e,t,n,i,r){let a=e.depth>r&&G1(e,t,r+1),o=i.depth>r&&G1(n,i,r+1),s=[];return _l(null,e,r,s),a&&o&&t.index(r)==n.index(r)?(N3(a,o),Va(Fa(a,j3(e,t,n,i,r+1)),s)):(a&&Va(Fa(a,rc(e,t,r+1)),s),_l(t,n,r,s),o&&Va(Fa(o,rc(n,i,r+1)),s)),_l(i,null,r,s),new ne(s)}function rc(e,t,n){let i=[];if(_l(null,e,n,i),e.depth>n){let r=G1(e,t,n+1);Va(Fa(r,rc(e,t,n+1)),i)}return _l(t,null,n,i),new ne(i)}function wCe(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let a=n-1;a>=0;a--)r=t.node(a).copy(ne.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}class Tl{constructor(t,n,i){this.pos=t,this.path=n,this.parentOffset=i,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let i=this.pos-this.path[this.path.length-1],r=t.child(n);return i?t.child(n).cut(i):r}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let i=this.path[n*3],r=n==0?0:this.path[n*3-1]+1;for(let a=0;a<t;a++)r+=i.child(a).nodeSize;return r}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return Ge.none;if(this.textOffset)return t.child(n).marks;let i=t.maybeChild(n-1),r=t.maybeChild(n);if(!i){let s=i;i=r,r=s}let a=i.marks;for(var o=0;o<a.length;o++)a[o].type.spec.inclusive===!1&&(!r||!a[o].isInSet(r.marks))&&(a=a[o--].removeFromSet(a));return a}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let i=n.marks,r=t.parent.maybeChild(t.index());for(var a=0;a<i.length;a++)i[a].type.spec.inclusive===!1&&(!r||!i[a].isInSet(r.marks))&&(i=i[a--].removeFromSet(i));return i}sharedDepth(t){for(let n=this.depth;n>0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos<this.pos)return t.blockRange(this);for(let i=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);i>=0;i--)if(t.pos<=this.end(i)&&(!n||n(this.node(i))))return new ac(this,t,i);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let n=1;n<=this.depth;n++)t+=(t?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return t+":"+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let i=[],r=0,a=n;for(let o=t;;){let{index:s,offset:u}=o.content.findIndex(a),c=a-u;if(i.push(o,s,r+u),!c||(o=o.child(s),o.isText))break;a=c-1,r+=u+1}return new Tl(n,i,a)}static resolveCached(t,n){let i=I3.get(t);if(i)for(let a=0;a<i.elts.length;a++){let o=i.elts[a];if(o.pos==n)return o}else I3.set(t,i=new vCe);let r=i.elts[i.i]=Tl.resolve(t,n);return i.i=(i.i+1)%kCe,r}}class vCe{constructor(){this.elts=[],this.i=0}}const kCe=12,I3=new WeakMap;class ac{constructor(t,n,i){this.$from=t,this.$to=n,this.depth=i}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const MCe=Object.create(null);let Rr=class yy{constructor(t,n,i,r=Ge.none){this.type=t,this.attrs=n,this.marks=r,this.content=i||ne.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,n,i,r=0){this.content.nodesBetween(t,n,i,r,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,n,i,r){return this.content.textBetween(t,n,i,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,n,i){return this.type==t&&nc(this.attrs,n||t.defaultAttrs||MCe)&&Ge.sameSet(this.marks,i||Ge.none)}copy(t=null){return t==this.content?this:new yy(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new yy(this.type,this.attrs,this.content,t)}cut(t,n=this.content.size){return t==0&&n==this.content.size?this:this.copy(this.content.cut(t,n))}slice(t,n=this.content.size,i=!1){if(t==n)return ue.empty;let r=this.resolve(t),a=this.resolve(n),o=i?0:r.sharedDepth(n),s=r.start(o),c=r.node(o).content.cut(r.pos-s,a.pos-s);return new ue(c,r.depth-o,a.depth-o)}replace(t,n,i){return bCe(this.resolve(t),this.resolve(n),i)}nodeAt(t){for(let n=this;;){let{index:i,offset:r}=n.content.findIndex(t);if(n=n.maybeChild(i),!n)return null;if(r==t||n.isText)return n;t-=r+1}}childAfter(t){let{index:n,offset:i}=this.content.findIndex(t);return{node:this.content.maybeChild(n),index:n,offset:i}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:n,offset:i}=this.content.findIndex(t);if(i<t)return{node:this.content.child(n),index:n,offset:i};let r=this.content.child(n-1);return{node:r,index:n-1,offset:i-r.nodeSize}}resolve(t){return Tl.resolveCached(this,t)}resolveNoCache(t){return Tl.resolve(this,t)}rangeHasMark(t,n,i){let r=!1;return n>t&&this.nodesBetween(t,n,a=>(i.isInSet(a.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),W3(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,i=ne.empty,r=0,a=i.childCount){let o=this.contentMatchAt(t).matchFragment(i,r,a),s=o&&o.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let u=r;u<a;u++)if(!this.type.allowsMarks(i.child(u).marks))return!1;return!0}canReplaceWith(t,n,i,r){if(r&&!this.type.allowsMarks(r))return!1;let a=this.contentMatchAt(t).matchType(i),o=a&&a.matchFragment(this.content,n);return o?o.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=Ge.none;for(let n=0;n<this.marks.length;n++){let i=this.marks[n];i.type.checkAttrs(i.attrs),t=i.addToSet(t)}if(!Ge.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let i;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,i)}let r=ne.fromJSON(t,n.content),a=t.nodeType(n.type).create(n.attrs,r,i);return a.type.checkAttrs(a.attrs),a}};Rr.prototype.text=void 0;class oc extends Rr{constructor(t,n,i,r){if(super(t,n,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):W3(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new oc(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new oc(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function W3(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Ua{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let i=new CCe(t,n);if(i.next==null)return Ua.empty;let r=O3(i);i.next&&i.err("Unexpected trailing text");let a=ACe(ECe(r));return DCe(a,i),a}matchType(t){for(let n=0;n<this.next.length;n++)if(this.next[n].type==t)return this.next[n].next;return null}matchFragment(t,n=0,i=t.childCount){let r=this;for(let a=n;r&&a<i;a++)r=r.matchType(t.child(a).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:n}=this.next[t];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(t){for(let n=0;n<this.next.length;n++)for(let i=0;i<t.next.length;i++)if(this.next[n].type==t.next[i].type)return!0;return!1}fillBefore(t,n=!1,i=0){let r=[this];function a(o,s){let u=o.matchFragment(t,i);if(u&&(!n||u.validEnd))return ne.from(s.map(c=>c.createAndFill()));for(let c=0;c<o.next.length;c++){let{type:f,next:h}=o.next[c];if(!(f.isText||f.hasRequiredAttrs())&&r.indexOf(h)==-1){r.push(h);let g=a(h,s.concat(f));if(g)return g}}return null}return a(this,[])}findWrapping(t){for(let i=0;i<this.wrapCache.length;i+=2)if(this.wrapCache[i]==t)return this.wrapCache[i+1];let n=this.computeWrapping(t);return this.wrapCache.push(t,n),n}computeWrapping(t){let n=Object.create(null),i=[{match:this,type:null,via:null}];for(;i.length;){let r=i.shift(),a=r.match;if(a.matchType(t)){let o=[];for(let s=r;s.type;s=s.via)o.push(s.type);return o.reverse()}for(let o=0;o<a.next.length;o++){let{type:s,next:u}=a.next[o];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!r.type||u.validEnd)&&(i.push({match:s.contentMatch,type:s,via:r}),n[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(i){t.push(i);for(let r=0;r<i.next.length;r++)t.indexOf(i.next[r].next)==-1&&n(i.next[r].next)}return n(this),t.map((i,r)=>{let a=r+(i.validEnd?"*":" ")+" ";for(let o=0;o<i.next.length;o++)a+=(o?", ":"")+i.next[o].type.name+"->"+t.indexOf(i.next[o].next);return a}).join(`
|
|
1308
|
+
*/function Bi(e){return getComputedStyle(e)}function Sn(e,t){for(var n in t){var i=t[n];typeof i=="number"&&(i=i+"px"),e.style[n]=i}return e}function Fd(e){var t=document.createElement("div");return t.className=e,t}var u3=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Hr(e,t){if(!u3)throw new Error("No element matching method supported");return u3.call(e,t)}function Yo(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function d3(e,t){return Array.prototype.filter.call(e.children,function(n){return Hr(n,t)})}var Ct={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},c3={x:null,y:null};function f3(e,t){var n=e.element.classList,i=Ct.state.scrolling(t);n.contains(i)?clearTimeout(c3[t]):n.add(i)}function h3(e,t){c3[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(Ct.state.scrolling(t))},e.settings.scrollingThreshold)}function u8e(e,t){f3(e,t),h3(e,t)}var kl=function(t){this.element=t,this.handlers={}},m3={isEmpty:{configurable:!0}};kl.prototype.bind=function(t,n){typeof this.handlers[t]>"u"&&(this.handlers[t]=[]),this.handlers[t].push(n),this.element.addEventListener(t,n,!1)},kl.prototype.unbind=function(t,n){var i=this;this.handlers[t]=this.handlers[t].filter(function(r){return n&&r!==n?!0:(i.element.removeEventListener(t,r,!1),!1)})},kl.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},m3.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return e.handlers[t].length===0})},Object.defineProperties(kl.prototype,m3);var Xo=function(){this.eventElements=[]};Xo.prototype.eventElement=function(t){var n=this.eventElements.filter(function(i){return i.element===t})[0];return n||(n=new kl(t),this.eventElements.push(n)),n},Xo.prototype.bind=function(t,n,i){this.eventElement(t).bind(n,i)},Xo.prototype.unbind=function(t,n,i){var r=this.eventElement(t);r.unbind(n,i),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},Xo.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},Xo.prototype.once=function(t,n,i){var r=this.eventElement(t),a=function(o){r.unbind(n,a),i(o)};r.bind(n,a)};function Ud(e){if(typeof window.CustomEvent=="function")return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function Yd(e,t,n,i,r){i===void 0&&(i=!0),r===void 0&&(r=!1);var a;if(t==="top")a=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(t==="left")a=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");d8e(e,n,a,i,r)}function d8e(e,t,n,i,r){var a=n[0],o=n[1],s=n[2],u=n[3],c=n[4],f=n[5];i===void 0&&(i=!0),r===void 0&&(r=!1);var h=e.element;e.reach[u]=null,h[s]<1&&(e.reach[u]="start"),h[s]>e[a]-e[o]-1&&(e.reach[u]="end"),t&&(h.dispatchEvent(Ud("ps-scroll-"+u)),t<0?h.dispatchEvent(Ud("ps-scroll-"+c)):t>0&&h.dispatchEvent(Ud("ps-scroll-"+f)),i&&u8e(e,u)),e.reach[u]&&(t||r)&&h.dispatchEvent(Ud("ps-"+u+"-reach-"+e.reach[u]))}function lt(e){return parseInt(e,10)||0}function c8e(e){return Hr(e,"input,[contenteditable]")||Hr(e,"select,[contenteditable]")||Hr(e,"textarea,[contenteditable]")||Hr(e,"button,[contenteditable]")}function f8e(e){var t=Bi(e);return lt(t.width)+lt(t.paddingLeft)+lt(t.paddingRight)+lt(t.borderLeftWidth)+lt(t.borderRightWidth)}var qo={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function ar(e){var t=e.element,n=Math.floor(t.scrollTop),i=t.getBoundingClientRect();e.containerWidth=Math.round(i.width),e.containerHeight=Math.round(i.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(d3(t,Ct.element.rail("x")).forEach(function(r){return Yo(r)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(d3(t,Ct.element.rail("y")).forEach(function(r){return Yo(r)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=p3(e,lt(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=lt((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=p3(e,lt(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=lt(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),h8e(t,e),e.scrollbarXActive?t.classList.add(Ct.state.active("x")):(t.classList.remove(Ct.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=e.isRtl===!0?e.contentWidth:0),e.scrollbarYActive?t.classList.add(Ct.state.active("y")):(t.classList.remove(Ct.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function p3(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function h8e(e,t){var n={width:t.railXWidth},i=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-i:n.top=t.scrollbarXTop+i,Sn(t.scrollbarXRail,n);var r={top:i,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?r.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:r.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?r.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth*2-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:r.left=t.scrollbarYLeft+e.scrollLeft,Sn(t.scrollbarYRail,r),Sn(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),Sn(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}function m8e(e){e.element,e.event.bind(e.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top,i=n>e.scrollbarYTop?1:-1;e.element.scrollTop+=i*e.containerHeight,ar(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left,i=n>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=i*e.containerWidth,ar(e),t.stopPropagation()})}function p8e(e){g3(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),g3(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function g3(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],u=t[6],c=t[7],f=t[8],h=e.element,g=null,p=null,y=null;function v(M){M.touches&&M.touches[0]&&(M[r]=M.touches[0].pageY),h[u]=g+y*(M[r]-p),f3(e,c),ar(e),M.stopPropagation(),M.type.startsWith("touch")&&M.changedTouches.length>1&&M.preventDefault()}function k(){h3(e,c),e[f].classList.remove(Ct.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",v)}function w(M,x){g=h[u],x&&M.touches&&(M[r]=M.touches[0].pageY),p=M[r],y=(e[i]-e[n])/(e[a]-e[s]),x?e.event.bind(e.ownerDocument,"touchmove",v):(e.event.bind(e.ownerDocument,"mousemove",v),e.event.once(e.ownerDocument,"mouseup",k),M.preventDefault()),e[f].classList.add(Ct.state.clicking),M.stopPropagation()}e.event.bind(e[o],"mousedown",function(M){w(M)}),e.event.bind(e[o],"touchstart",function(M){w(M,!0)})}function g8e(e){var t=e.element,n=function(){return Hr(t,":hover")},i=function(){return Hr(e.scrollbarX,":focus")||Hr(e.scrollbarY,":focus")};function r(a,o){var s=Math.floor(t.scrollTop);if(a===0){if(!e.scrollbarYActive)return!1;if(s===0&&o>0||s>=e.contentHeight-e.containerHeight&&o<0)return!e.settings.wheelPropagation}var u=t.scrollLeft;if(o===0){if(!e.scrollbarXActive)return!1;if(u===0&&a<0||u>=e.contentWidth-e.containerWidth&&a>0)return!e.settings.wheelPropagation}return!0}e.event.bind(e.ownerDocument,"keydown",function(a){if(!(a.isDefaultPrevented&&a.isDefaultPrevented()||a.defaultPrevented)&&!(!n()&&!i())){var o=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(o){if(o.tagName==="IFRAME")o=o.contentDocument.activeElement;else for(;o.shadowRoot;)o=o.shadowRoot.activeElement;if(c8e(o))return}var s=0,u=0;switch(a.which){case 37:a.metaKey?s=-e.contentWidth:a.altKey?s=-e.containerWidth:s=-30;break;case 38:a.metaKey?u=e.contentHeight:a.altKey?u=e.containerHeight:u=30;break;case 39:a.metaKey?s=e.contentWidth:a.altKey?s=e.containerWidth:s=30;break;case 40:a.metaKey?u=-e.contentHeight:a.altKey?u=-e.containerHeight:u=-30;break;case 32:a.shiftKey?u=e.containerHeight:u=-e.containerHeight;break;case 33:u=e.containerHeight;break;case 34:u=-e.containerHeight;break;case 36:u=e.contentHeight;break;case 35:u=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&s!==0||e.settings.suppressScrollY&&u!==0||(t.scrollTop-=u,t.scrollLeft+=s,ar(e),r(s,u)&&a.preventDefault())}})}function y8e(e){var t=e.element;function n(o,s){var u=Math.floor(t.scrollTop),c=t.scrollTop===0,f=u+t.offsetHeight===t.scrollHeight,h=t.scrollLeft===0,g=t.scrollLeft+t.offsetWidth===t.scrollWidth,p;return Math.abs(s)>Math.abs(o)?p=c||f:p=h||g,p?!e.settings.wheelPropagation:!0}function i(o){var s=o.deltaX,u=-1*o.deltaY;return(typeof s>"u"||typeof u>"u")&&(s=-1*o.wheelDeltaX/6,u=o.wheelDeltaY/6),o.deltaMode&&o.deltaMode===1&&(s*=10,u*=10),s!==s&&u!==u&&(s=0,u=o.wheelDelta),o.shiftKey?[-u,-s]:[s,u]}function r(o,s,u){if(!qo.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(o))return!1;for(var c=o;c&&c!==t;){if(c.classList.contains(Ct.element.consuming))return!0;var f=Bi(c);if(u&&f.overflowY.match(/(scroll|auto)/)){var h=c.scrollHeight-c.clientHeight;if(h>0&&(c.scrollTop>0&&u<0||c.scrollTop<h&&u>0))return!0}if(s&&f.overflowX.match(/(scroll|auto)/)){var g=c.scrollWidth-c.clientWidth;if(g>0&&(c.scrollLeft>0&&s<0||c.scrollLeft<g&&s>0))return!0}c=c.parentNode}return!1}function a(o){var s=i(o),u=s[0],c=s[1];if(!r(o.target,u,c)){var f=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(c?t.scrollTop-=c*e.settings.wheelSpeed:t.scrollTop+=u*e.settings.wheelSpeed,f=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(u?t.scrollLeft+=u*e.settings.wheelSpeed:t.scrollLeft-=c*e.settings.wheelSpeed,f=!0):(t.scrollTop-=c*e.settings.wheelSpeed,t.scrollLeft+=u*e.settings.wheelSpeed),ar(e),f=f||n(u,c),f&&!o.ctrlKey&&(o.stopPropagation(),o.preventDefault())}}typeof window.onwheel<"u"?e.event.bind(t,"wheel",a):typeof window.onmousewheel<"u"&&e.event.bind(t,"mousewheel",a)}function b8e(e){if(!qo.supportsTouch&&!qo.supportsIePointer)return;var t=e.element;function n(y,v){var k=Math.floor(t.scrollTop),w=t.scrollLeft,M=Math.abs(y),x=Math.abs(v);if(x>M){if(v<0&&k===e.contentHeight-e.containerHeight||v>0&&k===0)return window.scrollY===0&&v>0&&qo.isChrome}else if(M>x&&(y<0&&w===e.contentWidth-e.containerWidth||y>0&&w===0))return!0;return!0}function i(y,v){t.scrollTop-=v,t.scrollLeft-=y,ar(e)}var r={},a=0,o={},s=null;function u(y){return y.targetTouches?y.targetTouches[0]:y}function c(y){return y.pointerType&&y.pointerType==="pen"&&y.buttons===0?!1:!!(y.targetTouches&&y.targetTouches.length===1||y.pointerType&&y.pointerType!=="mouse"&&y.pointerType!==y.MSPOINTER_TYPE_MOUSE)}function f(y){if(c(y)){var v=u(y);r.pageX=v.pageX,r.pageY=v.pageY,a=new Date().getTime(),s!==null&&clearInterval(s)}}function h(y,v,k){if(!t.contains(y))return!1;for(var w=y;w&&w!==t;){if(w.classList.contains(Ct.element.consuming))return!0;var M=Bi(w);if(k&&M.overflowY.match(/(scroll|auto)/)){var x=w.scrollHeight-w.clientHeight;if(x>0&&(w.scrollTop>0&&k<0||w.scrollTop<x&&k>0))return!0}if(v&&M.overflowX.match(/(scroll|auto)/)){var _=w.scrollWidth-w.clientWidth;if(_>0&&(w.scrollLeft>0&&v<0||w.scrollLeft<_&&v>0))return!0}w=w.parentNode}return!1}function g(y){if(c(y)){var v=u(y),k={pageX:v.pageX,pageY:v.pageY},w=k.pageX-r.pageX,M=k.pageY-r.pageY;if(h(y.target,w,M))return;i(w,M),r=k;var x=new Date().getTime(),_=x-a;_>0&&(o.x=w/_,o.y=M/_,a=x),n(w,M)&&y.preventDefault()}}function p(){e.settings.swipeEasing&&(clearInterval(s),s=setInterval(function(){if(e.isInitialized){clearInterval(s);return}if(!o.x&&!o.y){clearInterval(s);return}if(Math.abs(o.x)<.01&&Math.abs(o.y)<.01){clearInterval(s);return}if(!e.element){clearInterval(s);return}i(o.x*30,o.y*30),o.x*=.8,o.y*=.8},10))}qo.supportsTouch?(e.event.bind(t,"touchstart",f),e.event.bind(t,"touchmove",g),e.event.bind(t,"touchend",p)):qo.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",f),e.event.bind(t,"pointermove",g),e.event.bind(t,"pointerup",p)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",f),e.event.bind(t,"MSPointerMove",g),e.event.bind(t,"MSPointerUp",p)))}var w8e=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},v8e={"click-rail":m8e,"drag-thumb":p8e,keyboard:g8e,wheel:y8e,touch:b8e},Ml=function(t,n){var i=this;if(n===void 0&&(n={}),typeof t=="string"&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=t,t.classList.add(Ct.main),this.settings=w8e();for(var r in n)this.settings[r]=n[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var a=function(){return t.classList.add(Ct.state.focus)},o=function(){return t.classList.remove(Ct.state.focus)};this.isRtl=Bi(t).direction==="rtl",this.isRtl===!0&&t.classList.add(Ct.rtl),this.isNegativeScroll=function(){var c=t.scrollLeft,f=null;return t.scrollLeft=-1,f=t.scrollLeft<0,t.scrollLeft=c,f}(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new Xo,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=Fd(Ct.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=Fd(Ct.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",o),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var s=Bi(this.scrollbarXRail);this.scrollbarXBottom=parseInt(s.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=lt(s.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=lt(s.borderLeftWidth)+lt(s.borderRightWidth),Sn(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=lt(s.marginLeft)+lt(s.marginRight),Sn(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Fd(Ct.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=Fd(Ct.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",o),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var u=Bi(this.scrollbarYRail);this.scrollbarYRight=parseInt(u.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=lt(u.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?f8e(this.scrollbarY):null,this.railBorderYWidth=lt(u.borderTopWidth)+lt(u.borderBottomWidth),Sn(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=lt(u.marginTop)+lt(u.marginBottom),Sn(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(c){return v8e[c](i)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(c){return i.onScroll(c)}),ar(this)};Ml.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Sn(this.scrollbarXRail,{display:"block"}),Sn(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=lt(Bi(this.scrollbarXRail).marginLeft)+lt(Bi(this.scrollbarXRail).marginRight),this.railYMarginHeight=lt(Bi(this.scrollbarYRail).marginTop)+lt(Bi(this.scrollbarYRail).marginBottom),Sn(this.scrollbarXRail,{display:"none"}),Sn(this.scrollbarYRail,{display:"none"}),ar(this),Yd(this,"top",0,!1,!0),Yd(this,"left",0,!1,!0),Sn(this.scrollbarXRail,{display:""}),Sn(this.scrollbarYRail,{display:""}))},Ml.prototype.onScroll=function(t){this.isAlive&&(ar(this),Yd(this,"top",this.element.scrollTop-this.lastScrollTop),Yd(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ml.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),Yo(this.scrollbarX),Yo(this.scrollbarY),Yo(this.scrollbarXRail),Yo(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ml.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};const k8e=l.defineComponent({__name:"PerfectScrollbar",props:{tag:{default:"div"},options:{default:()=>({})}},emits:["scroll","ps-scroll-y","ps-scroll-x","ps-scroll-up","ps-scroll-down","ps-scroll-left","ps-scroll-right","ps-y-reach-start","ps-y-reach-end","ps-x-reach-start","ps-x-reach-end"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.ref(null),o=l.ref(null);l.watch(()=>i.options,()=>{u(),s()},{deep:!0}),l.onMounted(()=>{a.value&&s()}),l.onBeforeUnmount(()=>{u()});function s(){a.value&&(o.value=new Ml(a.value,i.options),h())}function u(){o.value&&(h(!1),o.value.destroy(),o.value=null)}const c={scroll:f("scroll"),"ps-scroll-y":f("ps-scroll-y"),"ps-scroll-x":f("ps-scroll-x"),"ps-scroll-up":f("ps-scroll-up"),"ps-scroll-down":f("ps-scroll-down"),"ps-scroll-left":f("ps-scroll-left"),"ps-scroll-right":f("ps-scroll-right"),"ps-y-reach-start":f("ps-y-reach-start"),"ps-y-reach-end":f("ps-y-reach-end"),"ps-x-reach-start":f("ps-x-reach-start"),"ps-x-reach-end":f("ps-x-reach-end")};function f(g){return function(p){r(g,p)}}function h(g=!0){var p;(p=o.value)!=null&&p.element&&Object.entries(c).forEach(([y,v])=>{var k,w;g?(k=o.value)==null||k.element.addEventListener(y,v):(w=o.value)==null||w.element.removeEventListener(y,v)})}return t({ps:o}),(g,p)=>(l.openBlock(),l.createBlock(l.resolveDynamicComponent(g.tag),{ref_key:"scrollbar",ref:a,class:"ps"},{default:l.withCtx(()=>[l.renderSlot(g.$slots,"default")]),_:3},512))}}),M8e=["data-testid"],A1=l.defineComponent({__name:"Scrollbar",props:{options:{},tag:{},class:{},style:{},thrumbStyle:{},railStyle:{},dataTestid:{default:"ScrollBar"}},emits:["scroll","ps-scroll-y","ps-scroll-x","ps-scroll-up","ps-scroll-down","ps-scroll-left","ps-scroll-right","ps-y-reach-start","ps-y-reach-end","ps-x-reach-start","ps-x-reach-end"],setup(e,{expose:t,emit:n}){const i=e,r=l.ref(null),a=n,o=h=>{a("scroll",h)},s={attributes:!0,attributeFilter:["style"]},u=(h,g)=>p=>{for(const y of p)y.type==="attributes"&&y.attributeName==="style"&&h.style.right!==g&&(h.style.right=g)},c=()=>{var w,M,x,_,S,N,T,I,L,D,z,H,X,re,ee,q,Z,de,Ae,at,Tt,Jt,Bt,qe;if(!r.value)return;const h=r.value.querySelector(".ps__thumb-y"),g=r.value.querySelector(".ps__thumb-x"),p=r.value.querySelector(".ps__rail-y"),y=r.value.querySelector(".ps__rail-x");h.style.background=((M=(w=i.thrumbStyle)==null?void 0:w.y)==null?void 0:M.background)||"var(--primary-color)",h.style.width=((_=(x=i.thrumbStyle)==null?void 0:x.y)==null?void 0:_.width)||"6px",h.style.right="0px",g.style.background=((N=(S=i.thrumbStyle)==null?void 0:S.x)==null?void 0:N.background)||"var(--primary-color)",g.style.width=((I=(T=i.thrumbStyle)==null?void 0:T.x)==null?void 0:I.width)||"6px",g.style.right="0px",p.style.background=((D=(L=i.railStyle)==null?void 0:L.y)==null?void 0:D.background)||"var(--button-neutral-color)",p.style.width=((H=(z=i.thrumbStyle)==null?void 0:z.y)==null?void 0:H.width)||"6px",p.style.right=((re=(X=i.railStyle)==null?void 0:X.y)==null?void 0:re.right)||"0px",y.style.background=((q=(ee=i.railStyle)==null?void 0:ee.x)==null?void 0:q.background)||"var(--button-neutral-color)",y.style.width=((de=(Z=i.thrumbStyle)==null?void 0:Z.x)==null?void 0:de.width)||"6px",y.style.right=((at=(Ae=i.railStyle)==null?void 0:Ae.x)==null?void 0:at.right)||"0px";const v=new MutationObserver(u(p,((Jt=(Tt=i.railStyle)==null?void 0:Tt.y)==null?void 0:Jt.right)||"0px")),k=new MutationObserver(u(y,((qe=(Bt=i.railStyle)==null?void 0:Bt.x)==null?void 0:qe.right)||"0px"));v.observe(p,s),k.observe(y,s)};return l.watch(()=>i,()=>{c()},{immediate:!0}),t({scrollToTop:()=>{r.value&&(r.value.children[0].scrollTop=0)}}),l.onMounted(()=>{c()}),(h,g)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"scrollbar",ref:r,"data-testid":i.dataTestid},[l.createVNode(l.unref(k8e),{onScroll:o,options:i.options,tag:i.tag,class:l.normalizeClass(i.class),style:l.normalizeStyle(i.style),"data-testid":`${i.dataTestid}-Scroll`,ref_key:"scrollbar",ref:r},{default:l.withCtx(()=>[l.renderSlot(h.$slots,"default")]),_:3},8,["options","tag","class","style","data-testid"])],8,M8e))}});function bt(e,t=document.documentElement){for(const[n,i]of Object.entries(e))t.style.setProperty(n,String(i))}const C8e=()=>{const e=l.ref(0),t=l.ref([]),n=l.ref(null),i=u=>{t.value.push(u),a(u),o()},r=()=>{t.value.pop(),s(),t.value.length?a(t.value[t.value.length-1]):n.value=null},a=u=>{n.value=u},o=()=>{e.value+=1},s=()=>{e.value>0&&(e.value-=1)};return{countOpenedModal:e,openedModals:t,lastOpenedModal:n,addOpenedModal:i,reduceOpenedModal:r,setLastOpenedModal:a,incrementCountModal:o,decrementCountModal:s}},x8e=["data-testid"],S8e=["data-testid"],_8e=me(l.defineComponent({__name:"Modal",props:{open:{type:Boolean},position:{default:"right"},width:{},height:{},dataTestid:{default:"Modal"}},emits:["close","unmounted"],setup(e,{expose:t,emit:n}){const{lastOpenedModal:i,addOpenedModal:r,reduceOpenedModal:a}=C8e(),o=e,s=l.ref(null),u=l.useAttrs(),c=l.ref(!1),f=l.computed(()=>({width:o.width,height:o.height})),h=n;let g=0;const p=()=>{g=Date.now(),s.value&&(o.open?(s.value.showModal(),r(s.value)):y())},y=()=>{Date.now()-g<300||(a(),h("close"))},v=()=>{var _;(_=s.value)==null||_.close(),document.documentElement.focus(),M()},k=_=>{_.key==="Escape"&&i.value===s.value&&y()},w=()=>{if(document.querySelectorAll(".modal-yui-kit").length===1)return window.innerWidth-document.documentElement.clientWidth;{const S=document.body.style.paddingRight;return Number(S.replace(/\D/g,""))||0}},M=()=>{document.querySelectorAll(".modal-yui-kit").length===0&&bt({overflow:"","padding-right":""},document.body)},x=_=>{_.target===s.value&&y()};return t({closeDialog:v}),l.onMounted(()=>{l.watchEffect(()=>{o.open!==c.value&&(p(),c.value=o.open)}),s.value&&s.value.addEventListener("cancel",S=>{S.preventDefault()});const _=w();bt({overflow:"hidden","padding-right":`${_}px`},document.body),document.addEventListener("keydown",k)}),l.onUnmounted(()=>{M(),document.removeEventListener("keydown",k),h("unmounted")}),(_,S)=>(l.openBlock(),l.createElementBlock("dialog",l.mergeProps({ref_key:"dialog",ref:s},l.unref(u),{class:["modal-yui-kit",`modal-yui-kit_${o.position}`],"data-testid":o.dataTestid,onClick:l.withModifiers(x,["self","left"])}),[l.createElementVNode("div",{class:"modal-yui-kit__modal-content",style:l.normalizeStyle(f.value),"data-testid":`${o.dataTestid}-ModalContent`},[l.renderSlot(_.$slots,"default",{},void 0,!0)],12,S8e)],16,x8e))}}),[["__scopeId","data-v-58136e08"]]);var y3=(e=>(e.slideTop="slide-top",e.slideLeft="slide-left",e.fadeAndScale="fade-and-scale",e.fade="fade",e))(y3||{});const Xd=me(l.defineComponent({__name:"ModalAnimated",props:{animateType:{},open:{type:Boolean},position:{default:"right"},width:{},height:{},dataTestid:{default:"Modal"}},emits:["close","unmounted","end-animation"],setup(e,{emit:t}){const n=e,i=t,r=l.computed(()=>n.animateType===y3.fade?"fade":n.position==="bottom"?"slide-bottom":n.position==="right"?"slide-left":"fade-and-scale"),a=l.ref(null),o=l.reactive({function:()=>{}}),s=()=>{h()},u=()=>{i("unmounted")},c=()=>{h()},f=()=>{o.function(),i("end-animation")},h=()=>{var p;a.value&&(o.function=(p=a.value)==null?void 0:p.closeDialog)},g=()=>{h(),i("close")};return(p,y)=>(l.openBlock(),l.createBlock(l.Transition,{name:r.value,onAfterLeave:f,onBeforeLeave:c,onAfterEnter:s},{default:l.withCtx(()=>[n.open?(l.openBlock(),l.createBlock(_8e,{key:0,ref_key:"modalRef",ref:a,open:n.open,position:n.position,width:n.width,height:n.height,"data-testid":n.dataTestid,onClose:g,onUnmounted:u},{default:l.withCtx(()=>[l.renderSlot(p.$slots,"default",{},void 0,!0)]),_:3},8,["open","position","width","height","data-testid"])):l.createCommentVNode("",!0)]),_:3},8,["name"]))}}),[["__scopeId","data-v-78ba860d"]]);var qd=(e=>(e.small="small",e.medium="medium",e.big="big",e))(qd||{}),b3=(e=>(e.circled="circled",e.rounded="rounded",e))(b3||{}),w3=(e=>(e.blue="blue",e.red="red",e))(w3||{});const T8e=["data-testid","checked","disabled"],P8e=l.defineComponent({__name:"Checkbox",props:{size:{default:qd.medium},circular:{default:b3.rounded},color:{default:w3.blue},checked:{type:Boolean},modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dataTestid:{default:"Checkbox"}},emits:["change","update:modelValue"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isChecked:n.modelValue});l.watchEffect(()=>{r.isChecked=n.modelValue});const a=()=>{r.isChecked=!r.isChecked,i("change",r.isChecked),i("update:modelValue",r.isChecked)};return(o,s)=>(l.openBlock(),l.createElementBlock("input",{type:"checkbox",class:l.normalizeClass(`checkbox-yui-kit checkbox-yui-kit_${n.size} checkbox-yui-kit_${n.circular} checkbox-yui-kit_${n.color}`),"data-testid":`${n.dataTestid}`,tabindex:"0",onChange:a,checked:r.isChecked,disabled:n.disabled,onKeyup:l.withKeys(a,["enter"])},null,42,T8e))}}),D1=me(P8e,[["__scopeId","data-v-7ec339ee"]]),E8e=["data-testid"],A8e=["src","alt"],D8e=["src"],N8e={key:1,class:"avatar-yui-kit__text"},Gd=me(l.defineComponent({__name:"Avatar",props:{initials:{},url:{},isIcon:{type:Boolean},alt:{},defaultImage:{},dataTestid:{}},setup(e){const t=e,n=l.ref(!1),i=l.ref(!1);l.watch(()=>t.url,()=>{n.value=!1,i.value=!1});const r=()=>t.initials?t.initials.charAt(0):"";return(a,o)=>(l.openBlock(),l.createElementBlock("div",{"data-testid":t.dataTestid,class:"avatar-yui-kit"},[t.url&&!n.value?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.url,alt:t.alt,class:"avatar-yui-kit__image",style:l.normalizeStyle({visibility:i.value?"visible":"hidden"}),onLoad:o[0]||(o[0]=s=>i.value=!0),onError:o[1]||(o[1]=s=>n.value=!0)},null,44,A8e)):l.createCommentVNode("",!0),n.value||!t.url?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.defaultImage?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.defaultImage,class:"avatar-yui-kit__image"},null,8,D8e)):(l.openBlock(),l.createElementBlock("div",N8e,l.toDisplayString(r()),1))],64)):l.createCommentVNode("",!0)],8,E8e))}}),[["__scopeId","data-v-1e4912fd"]]),j8e=["data-testid","aria-label"],I8e=["data-testid"],Cl=me(l.defineComponent({name:"Tooltip",__name:"Tooltip",props:{hint:{},isShow:{type:Boolean,default:!1},isCanShow:{type:Boolean,default:!0},position:{default:"bottom-center"},size:{default:"small"},type:{default:"black"},hintGap:{},hintClass:{default:""},dataTestid:{default:"Tooltip"}},setup(e){const t=e,n=CSS.supports("top","anchor(bottom)"),i=l.useId(),r=l.computed(()=>`--anchor-tooltip-${i}`),a=l.ref(null),o=l.ref(null),s=l.computed(()=>[{"tooltip-yui-kit__hint_show":t.isShow||c.isShow,"tooltip-yui-kit__hint_bottom-center":t.position==="bottom-center","tooltip-yui-kit__hint_bottom-left":t.position==="bottom-left","tooltip-yui-kit__hint_bottom-right":t.position==="bottom-right","tooltip-yui-kit__hint_top-center":t.position==="top-center","tooltip-yui-kit__hint_top-left":t.position==="top-left","tooltip-yui-kit__hint_top-right":t.position==="top-right","tooltip-yui-kit__hint_left-top":t.position==="left-top","tooltip-yui-kit__hint_left-center":t.position==="left-center","tooltip-yui-kit__hint_left-bottom":t.position==="left-bottom","tooltip-yui-kit__hint_right-top":t.position==="right-top","tooltip-yui-kit__hint_right-center":t.position==="right-center","tooltip-yui-kit__hint_right-bottom":t.position==="right-bottom","tooltip-yui-kit__hint_small":t.size==="small","tooltip-yui-kit__hint_medium":t.size==="medium","tooltip-yui-kit__hint_large":t.size==="large","tooltip-yui-kit__hint_black":t.type==="black","tooltip-yui-kit__hint_blue":t.type==="blue","tooltip-yui-kit__hint_white":t.type==="white",[t.hintClass]:!0}]),u=l.computed(()=>{var N;const S=(N=a.value)==null?void 0:N.closest("dialog");return S||"body"}),c=l.reactive({isShow:!1}),f=()=>{k()},h=()=>{w()},g=()=>{p()},p=()=>{requestAnimationFrame(()=>{if(!a.value||!o.value||!c.isShow&&!t.isShow)return;const S={"--hint-top":"anchor(top)","--hint-left":"anchor(left)","--hint-width":"0","--hint-height":"0","--tooltip-width":"0","--tooltip-height":"0","--hint-visibility":"visible"};n||(S["--hint-top"]="0",S["--hint-left"]="0");const N=a.value.getBoundingClientRect(),T=o.value.getBoundingClientRect(),I=window.pageYOffset||document.documentElement.scrollTop,L=window.pageXOffset||document.documentElement.scrollLeft;let D=N.top+I,z=N.left+L;const H=a.value.closest("dialog");if(H){const Z=H.getBoundingClientRect();D=N.top-Z.top,z=N.left-Z.left;const de=H.scrollTop,Ae=H.scrollLeft;D+=de,z+=Ae}const X=N.width,re=N.height,ee=T.width,q=T.height;n||(S["--hint-top"]=`${D}px`,S["--hint-left"]=`${z}px`),S["--tooltip-width"]=`${X}px`,S["--tooltip-height"]=`${re}px`,S["--hint-width"]=`${ee}px`,S["--hint-height"]=`${q}px`,o.value&&bt(S,o.value)})},y=()=>{requestAnimationFrame(()=>{!o.value||t.hintGap===void 0||bt({"--tooltip-hint-gap":t.hintGap},o.value)})},v=()=>{o.value&&(bt({"position-anchor":`${r.value}`},o.value),p())};l.watch(()=>t.hintGap,y,{immediate:!0}),l.watch(()=>t.isCanShow,()=>{l.nextTick(()=>{v()})});const k=()=>{c.isShow=!0},w=()=>{c.isShow=!1},M=new MutationObserver(()=>{p()}),x=new ResizeObserver(()=>{var S;(c.isShow||t.isShow)&&!((S=a.value)!=null&&S.matches(":hover"))?w():p()}),_=S=>{M.observe(S,{childList:!0,attributes:!0,characterData:!0}),x.observe(S)};return l.onMounted(()=>{a.value&&bt({"anchor-name":`${r.value}`},a.value),v(),o.value&&_(o.value),a.value&&_(a.value),n||(window.addEventListener("scroll",p,!0),window.addEventListener("resize",p))}),l.onUnmounted(()=>{x.disconnect(),M.disconnect(),window.removeEventListener("scroll",p,!0),window.removeEventListener("resize",p)}),(S,N)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"tooltipRef",ref:a,class:"tooltip-yui-kit","data-testid":t.dataTestid,"aria-label":e.hint,onMouseenter:f,onMouseleave:h},[l.renderSlot(S.$slots,"default",{},void 0,!0),e.isCanShow?(l.openBlock(),l.createBlock(l.Teleport,{key:0,to:u.value},[l.createVNode(l.Transition,{name:"hint-animate",onEnter:g},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{ref_key:"hintRef",ref:o,class:l.normalizeClass(["tooltip-yui-kit__hint",s.value]),"data-testid":t.dataTestid},l.toDisplayString(e.hint),11,I8e),[[l.vShow,e.isShow||c.isShow]])]),_:1})],8,["to"])):l.createCommentVNode("",!0)],40,j8e))}}),[["__scopeId","data-v-92266ed5"]]),W8e=["data-testid"],O8e=["data-testid"],z8e=["data-testid"],L8e=["onClick","data-testid"],$8e=l.defineComponent({__name:"Popover",props:{isShow:{type:Boolean},iconName:{default:se.moreVertical},options:{default:()=>[]},tooltip:{default:""},tooltipPosition:{default:"top-left"},isWCUse:{type:Boolean},translateY:{default:"0"},dataTestid:{default:"Popover"}},emits:["close"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isShow:!1}),a=l.computed(()=>{var I;const T=(I=c.value)==null?void 0:I.closest("dialog");return T||"body"}),o=CSS.supports("top","anchor(bottom)"),s=l.useId(),u=l.computed(()=>`--anchor-popover-${s}`),c=l.ref(null),f=l.ref(null),h=l.ref(null),g=l.computed(()=>({"popover-yui-kit__wrapper":!0,"active-yui-kit":r.isShow,"empty-yui-kit":n.options.length===0})),p=()=>r.isShow=!r.isShow,y=()=>{r.isShow=!1,i("close")},v=T=>{T.function(),y()},k=()=>{requestAnimationFrame(()=>{if(!c.value||!f.value||!r.isShow)return;const T={},I=c.value.getBoundingClientRect(),L=window.pageYOffset||document.documentElement.scrollTop,D=window.pageXOffset||document.documentElement.scrollLeft;let z=I.bottom+L,H=I.left+D;const X=c.value.closest("dialog");if(X){const ee=X.getBoundingClientRect();z=I.top-ee.top,H=I.left-ee.left;const q=X.scrollTop,Z=X.scrollLeft;z+=q,H+=Z,z+=10}z+=10,T["--popover-top"]=`${z}px`,o||(T["--popover-left"]=`${H}px`),bt(T,f.value),(()=>{if(!f.value)return;const ee=f.value.getBoundingClientRect();ee.right>window.innerWidth&&(o?T["--popover-right"]="anchor(right) ":T["--popover-right"]=`${I.right-ee.width}px`)})(),T["--popover-right"]&&(T.left="auto",bt(T,f.value))})},w=T=>{const I=T.getBoundingClientRect(),L=document.elementFromPoint(I.left,I.top),D=document.elementFromPoint(I.right,I.bottom);!(L&&T.contains(L))&&!(D&&T.contains(D))&&y()},M=new IntersectionObserver(T=>{T.forEach(I=>{I.isIntersecting||y()})}),x=()=>{c.value&&f.value&&(window.addEventListener("scroll",k,!0),window.addEventListener("resize",k))},_=()=>{c.value&&f.value&&(window.removeEventListener("scroll",k,!0),window.removeEventListener("resize",k))},S=()=>{c.value&&window.addEventListener("scroll",w.bind(null,c.value),!0)},N=()=>{c.value&&window.removeEventListener("scroll",w.bind(null,c.value),!0)};return l.watch(()=>n.isShow,()=>r.isShow=n.isShow),l.watch(()=>r.isShow,()=>{r.isShow?(k(),S()):N(),!o&&(r.isShow?x():_())}),l.onMounted(()=>{c.value&&bt({"anchor-name":`${u.value}`},c.value),f.value&&bt({"position-anchor":`${u.value}`},f.value),h.value&&M.observe(h.value),o||k()}),l.onUnmounted(()=>{M.disconnect(),N(),o||_()}),(T,I)=>(l.openBlock(),l.createBlock(Cl,{hint:n.tooltip,size:"small",type:"black",position:n.tooltipPosition,"data-testid":n.dataTestid,"is-can-show":!!n.tooltip&&!r.isShow&&n.options.length>0},{default:l.withCtx(()=>[l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:"popover-yui-kit",ref_key:"popover",ref:h,"data-testid":`${n.dataTestid}-Popover`},[l.createElementVNode("div",{ref_key:"reference",ref:c,class:l.normalizeClass(g.value),"data-testid":`${n.dataTestid}-PopoverShow`,onClick:p},[l.renderSlot(T.$slots,"trigger",{},()=>[l.createVNode(we,{class:"popover-yui-kit__icon",name:n.iconName,"data-testid":`${n.dataTestid}-PopoverShow-Icon`},null,8,["name","data-testid"])],!0)],10,O8e),(l.openBlock(),l.createBlock(l.Teleport,{to:a.value,disabled:n.isWCUse},[l.createVNode(l.Transition,{name:"popover-animate"},{default:l.withCtx(()=>[l.withDirectives(l.createElementVNode("div",{class:"popover-yui-kit__content",style:l.normalizeStyle({transform:`translateY(${n.translateY})`}),ref_key:"floating",ref:f},[l.renderSlot(T.$slots,"default",{},()=>{var L;return[(L=n.options)!=null&&L.length?(l.openBlock(),l.createElementBlock("div",{key:0,class:"popover-yui-kit__options","data-testid":`${n.dataTestid}-PopoverShow-Options`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.options,(D,z)=>(l.openBlock(),l.createElementBlock("div",{class:"popover-yui-kit__options__item",key:z,style:l.normalizeStyle(D.style),onClick:l.withModifiers(H=>v(D),["stop"]),"data-testid":`${n.dataTestid}-Item${z}`},l.toDisplayString(D.value),13,L8e))),128))],8,z8e)):l.createCommentVNode("",!0)]},!0)],4),[[l.vShow,r.isShow]])]),_:3})],8,["to","disabled"]))],8,W8e)),[[l.unref(vo),y,void 0,{bubble:!0}]])]),_:3},8,["hint","position","data-testid","is-can-show"]))}}),Go=me($8e,[["__scopeId","data-v-8aabde8d"]]),H8e=["data-testid"],R8e={class:"list-yui-kit__item-text"},B8e=me(l.defineComponent({__name:"MenuItem",props:{active:{type:Boolean},disabled:{type:Boolean},dataTestid:{},iconName:{},text:{},menuType:{}},emits:["click"],setup(e,{emit:t}){const n=t,i=()=>{e.disabled||n("click",e.menuType)};return(r,a)=>(l.openBlock(),l.createElementBlock("li",{class:l.normalizeClass(["list-yui-kit__item",{"list-yui-kit__item--disabled":e.disabled,"list-yui-kit__item--active":e.active}]),onClick:i,"data-testid":e.dataTestid},[l.createVNode(we,{name:e.iconName},null,8,["name"]),l.createElementVNode("span",R8e,l.toDisplayString(e.text),1),l.renderSlot(r.$slots,"default",{},void 0,!0)],10,H8e))}}),[["__scopeId","data-v-6b345661"]]);var rt=(e=>(e.profile="profile",e.theme="theme",e.options="options",e.exit="exit",e.qrAuth="qr-auth",e.help="help",e))(rt||{});const V8e={class:"menu-yui-kit__list"},F8e={class:"list-yui-kit"},U8e=me(l.defineComponent({__name:"UserMenuList",props:{closeAfterClick:{type:Boolean},menuOpen:{type:Boolean},categories:{},texts:{},user:{},languages:{},isBlackTheme:{type:Boolean},dataTestid:{default:"UserMenuList"}},emits:["click","unmount-qr-auth","themeChange","languageSwitch"],setup(e,{emit:t}){const n=e,i=t,r=l.ref(null);l.watch(()=>n.menuOpen,g=>{g||(r.value=null)});const a=g=>{if(r.value=g,g===rt.qrAuth){i("unmount-qr-auth");return}i("click",g)},o=g=>{i("languageSwitch",g)},s=()=>!1,u=g=>({[rt.profile]:"Profile",[rt.qrAuth]:"Auth with QR",[rt.theme]:"Theme",[rt.options]:"Settings",[rt.exit]:"Log Out",[rt.help]:"Help"})[g]??"",c=g=>({[rt.profile]:se.profile,[rt.qrAuth]:se.qrCode,[rt.theme]:se.darkThemeSwitcher,[rt.options]:se.settings,[rt.exit]:se.logout,[rt.help]:se.help})[g]??se.profile,f=g=>({[rt.profile]:"Profile",[rt.qrAuth]:"QR",[rt.theme]:"Theme",[rt.options]:"Settings",[rt.exit]:"Exit",[rt.help]:"Help"})[g]??g,h=g=>g===rt.theme;return(g,p)=>{var y,v,k;return l.openBlock(),l.createElementBlock("div",V8e,[l.createElementVNode("ul",F8e,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.categories,w=>{var M;return l.openBlock(),l.createBlock(B8e,{key:w,"data-testid":`${n.dataTestid}-${f(w)}-Item`,iconName:c(w),text:((M=n.texts)==null?void 0:M[w])??u(w),menuType:w,disabled:h(w),active:r.value===w,onClick:()=>a(w)},{default:l.withCtx(()=>[w===l.unref(rt).theme?(l.openBlock(),l.createBlock(Vd,{key:0,disabled:"",onChange:s})):l.createCommentVNode("",!0)]),_:2},1032,["data-testid","iconName","text","menuType","disabled","active","onClick"])}),128))]),(y=n.languages)!=null&&y.items?(l.openBlock(),l.createBlock(Eu,{key:0,items:(v=n.languages)==null?void 0:v.items,"default-value":(k=n.languages)==null?void 0:k.defaultValue,onChange:o,"data-testid":`${n.dataTestid}-Language-Switch`},null,8,["items","default-value","data-testid"])):l.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-20f135bc"]]),Y8e=["data-testid"],X8e={class:"menu-yui-kit__wrapper"},q8e={class:"menu-yui-kit__names"},G8e={class:"menu-yui-kit__name"},K8e={class:"menu-yui-kit__role"},N1=me(l.defineComponent({__name:"UserMenu",props:{closeAfterClick:{type:Boolean},menuOpen:{type:Boolean},categories:{},texts:{},user:{},languages:{},isBlackTheme:{type:Boolean},dataTestid:{default:"UserMenu"}},emits:["click","unmount-qr-auth","themeChange","languageSwitch"],setup(e,{emit:t}){const n=e,i=l.reactive({isShow:!1,isBlackTheme:n.isBlackTheme??!1}),r=t,a=l.computed(()=>({"menu-yui-kit__heading":!0,"active-yui-kit":i.isShow}));function o(g){r("click",g),n.closeAfterClick&&(i.isShow=!1)}const s=l.computed(()=>i.isShow?se.chevronUp:se.chevronDown),u=()=>{i.isShow=!i.isShow};function c(g){n.closeAfterClick&&(i.isShow=!1),r("themeChange",g),i.isBlackTheme=g}const f=g=>{n.closeAfterClick&&(i.isShow=!1),r("languageSwitch",g)},h=()=>{n.closeAfterClick&&(i.isShow=!1),r("unmount-qr-auth")};return(g,p)=>(l.openBlock(),l.createElementBlock("div",{class:"menu-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",X8e,[l.createVNode(Go,{open:i.isShow,onClose:p[0]||(p[0]=y=>i.isShow=!1),placement:"bottom-start","data-testid":`${n.dataTestid}-Popover`},{trigger:l.withCtx(()=>{var y,v,k;return[l.createElementVNode("div",{class:l.normalizeClass(a.value),onClick:u},[l.createVNode(Gd,{class:"menu-yui-kit__avatar",url:(y=n.user)==null?void 0:y.avatar,alt:"user-avatar","data-testid":`${n.dataTestid}-Avatar`},null,8,["url","data-testid"]),l.createElementVNode("div",q8e,[l.createElementVNode("p",G8e,l.toDisplayString((v=n.user)==null?void 0:v.name),1),l.createElementVNode("p",K8e,l.toDisplayString((k=n.user)==null?void 0:k.role),1)]),l.createVNode(yt,{type:l.unref(Qe).ghost,class:"menu-yui-kit__button","data-testid":`${n.dataTestid}-Toggle`},{default:l.withCtx(()=>[l.createVNode(we,{class:"menu-yui-kit__button-icon",name:s.value},null,8,["name"])]),_:1},8,["type","data-testid"])],2)]}),default:l.withCtx(()=>[l.createVNode(U8e,{"data-testid":`${n.dataTestid}-List`,"is-black-theme":i.isBlackTheme,"menu-open":i.isShow,languages:n.languages,categories:n.categories,texts:n.texts,onClick:o,onThemeChange:c,onLanguageSwitch:f,onUnmountQrAuth:h},null,8,["data-testid","is-black-theme","menu-open","languages","categories","texts"])]),_:1},8,["open","data-testid"])])],8,Y8e))}}),[["__scopeId","data-v-976c86fb"]]);var Kd=(e=>(e.default="default",e.minor="minor",e))(Kd||{});const Q8e=["data-testid"],J8e=["data-testid"],Z8e=["data-testid"],e7e=["data-testid","placeholder","required","maxlength","readonly"],t7e=l.defineComponent({__name:"Textarea",props:{placeholder:{},inputMessage:{},required:{type:Boolean,default:!1},maxlength:{},modelValue:{default:""},readonly:{type:Boolean,default:!1},type:{default:Kd.default},modelModifiers:{default:()=>({})},dataTestid:{default:"Textarea"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({isPressed:!1,inputElement:n.modelValue}),a=l.computed(()=>[{pressed:r.isPressed,readonly:n.readonly,[n.type]:!0}]),o=()=>{i("update:modelValue",r.inputElement)},s=()=>{n.readonly||(r.isPressed=!0)},u=()=>{r.isPressed=!1};return l.watch(()=>n.modelValue,c=>{r.inputElement=c}),(c,f)=>(l.openBlock(),l.createElementBlock("fieldset",{class:l.normalizeClass(["input-yui-kit",a.value]),onFocusout:u,"data-testid":n.dataTestid},[n.inputMessage?(l.openBlock(),l.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${n.dataTestid}-Legend`},[l.createTextVNode(l.toDisplayString(n.inputMessage)+" ",1),n.required?(l.openBlock(),l.createElementBlock("sup",{key:0,class:"input-yui-kit__star","data-testid":`${n.dataTestid}-Legend-Star`},"*",8,Z8e)):l.createCommentVNode("",!0)],8,J8e)):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("textarea",{"onUpdate:modelValue":f[0]||(f[0]=h=>r.inputElement=h),onFocus:s,onInput:o,"data-testid":`${n.dataTestid}-Textarea`,class:"input-yui-kit__input",placeholder:n.placeholder,required:n.required,maxlength:n.maxlength,readonly:n.readonly},null,40,e7e),[[l.vModelText,r.inputElement]])],42,Q8e))}}),j1=me(t7e,[["__scopeId","data-v-ac7acfbd"]]);var v3=(e=>(e.img="img",e.pdf="pdf",e.docx="docx",e))(v3||{});const n7e=["data-testid"],i7e=["data-testid"],r7e=["src","alt","data-testid"],a7e=["data-testid"],o7e=["data-testid"],s7e=["data-testid"],I1=me(l.defineComponent({__name:"Picture",props:{type:{},alt:{},url:{},caption:{},dataTestid:{default:"Picture"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("figure",{class:"picture-yui-kit","data-testid":t.dataTestid},[t.type==l.unref(v3).img?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("picture",{class:"picture-yui-kit__picture","data-testid":`${t.dataTestid}-Picture`},[l.createElementVNode("img",{class:"picture-yui-kit__picture__image",src:t.url,alt:t.alt,"data-testid":`${t.dataTestid}-Picture-Img`},null,8,r7e)],8,i7e),l.createElementVNode("figcaption",{class:"picture-yui-kit__picture__caption","data-testid":`${t.dataTestid}-Caption`},l.toDisplayString(t.caption),9,a7e)],64)):(l.openBlock(),l.createElementBlock("div",{key:1,class:"picture-yui-kit__caption","data-testid":`${t.dataTestid}-Caption-Box`},[l.createElementVNode("h4",{class:"picture-yui-kit__caption__title","data-testid":`${t.dataTestid}-Caption-Title`},l.toDisplayString(t.caption),9,s7e)],8,o7e))],8,n7e))}}),[["__scopeId","data-v-98e54c68"]]);var k3=(e=>(e.success="success",e.warning="warning",e.error="error",e.info="info",e))(k3||{}),M3=(e=>(e.success="Успешно",e.warning="Предупреждение",e.error="Ошибка",e.info="Уведомление",e))(M3||{}),C3=(e=>(e[e.success=se.checkbox]="success",e[e.warning=se.alertTriangle]="warning",e[e.error=se.exitCircle]="error",e[e.info=se.info]="info",e))(C3||{});const l7e=["id","data-testid"],u7e=["data-testid"],d7e=["data-testid"],c7e=["data-testid"],f7e=["data-testid"],h7e=l.defineComponent({__name:"Notification",props:{type:{default:k3.info},title:{},pushKey:{},description:{default:""},timeout:{default:3},showPopover:{type:Boolean,default:!0},dataTestid:{default:"Notification"}},emits:["close"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.ref(null);K(a,"toggle",()=>{i.timeout>0&&setTimeout(()=>{var c;return(c=a.value)==null?void 0:c.hidePopover()},i.timeout*1e3)});const o=()=>(r("close"),"hide"),s=()=>{var c;(c=a.value)==null||c.showPopover()},u=l.reactive({message:{icon:C3[i.type],title:i.title||M3[i.type],description:i.description}});return l.onMounted(()=>{var c;i.showPopover&&((c=a.value)==null||c.showPopover())}),t({showPopover:s}),(c,f)=>(l.openBlock(),l.createElementBlock("div",{popover:"manual",id:i.pushKey.toString(),class:l.normalizeClass(`push-notification-yui-kit push-notification-yui-kit_${i.type}`),"data-testid":i.dataTestid,ref_key:"popover",ref:a},[l.createElementVNode("div",{class:"notification-yui-kit","data-testid":`${i.dataTestid}-Notification`},[l.createElementVNode("div",{class:"notification-yui-kit__block","data-testid":`${i.dataTestid}-Notification-Block`},[l.createVNode(we,{name:u.message.icon,class:"notification-yui-kit__block-icon","data-testid":`${i.dataTestid}-Notification-Icon`},null,8,["name","data-testid"]),l.createElementVNode("h4",{class:"notification-yui-kit__block-title","data-testid":`${i.dataTestid}-Notification-Title`},l.toDisplayString(u.message.title),9,c7e),l.createElementVNode("span",{class:"notification-yui-kit__block-text","data-testid":`${i.dataTestid}-Notification-Description`},l.toDisplayString(u.message.description),9,f7e)],8,d7e),l.createVNode(yt,{class:"notification-yui-kit__exit",type:l.unref(Qe).ghost,popovertarget:i.pushKey.toString(),popovertargetaction:o,"data-testid":`${i.dataTestid}-Notification-Button`},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).crossSmall,"data-testid":`${i.dataTestid}-Notification-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","popovertarget","data-testid"])],8,u7e)],10,l7e))}}),W1=me(h7e,[["__scopeId","data-v-934d2cab"]]),O1=l.defineComponent({__name:"CopyIcon",props:{content:{default:""},dataTestid:{default:"CopyIcon"}},setup(e){const t=e,n=()=>{const i=t.content,r=document.createElement("textarea");r.value=i;const a=document.querySelectorAll("dialog[open]"),o=a.length?a[a.length-1]:null;o?o.append(r):document.body.append(r),r.select(),r.setSelectionRange(0,99999),document.execCommand("copy"),r.remove()};return(i,r)=>(l.openBlock(),l.createBlock(we,{class:"copy-icon-yui-kit",name:l.unref(se).copy,"data-testid":t.dataTestid,onClick:n},null,8,["name","data-testid"]))}}),m7e=["data-testid"],p7e=["data-testid"],g7e=["data-testid"],y7e=["data-testid"],b7e=["data-testid"],z1=me(l.defineComponent({__name:"Loader",props:{title:{default:"Загрузка..."},dataTestid:{default:"Loader"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("div",{class:"loader","data-testid":t.dataTestid},[l.createElementVNode("div",{class:"loader__area","data-testid":`${t.dataTestid}-Area`},[l.createElementVNode("div",{class:"loader__circle loader__circle--light-blue","data-testid":`${t.dataTestid}-Loader-LightBlue1`},null,8,g7e),l.createElementVNode("div",{class:"loader__circle loader__circle--blue","data-testid":`${t.dataTestid}-Loader-LightBlue2`},null,8,y7e)],8,p7e),t.title?(l.openBlock(),l.createElementBlock("span",{key:0,class:"loader__span","data-testid":`${t.dataTestid}-Loader-Title`},l.toDisplayString(t.title),9,b7e)):l.createCommentVNode("",!0)],8,m7e))}}),[["__scopeId","data-v-4086dc15"]]),w7e=["data-testid"],v7e=["data-testid"],k7e=["data-testid"],M7e=["data-testid"],C7e=["data-testid"],x7e=["data-testid"],S7e=["data-testid"],_7e=["data-testid"],T7e=["data-testid"],P7e=["data-testid"],E7e=["data-testid"],A7e=["data-testid"],D7e=["data-testid"],N7e=["data-testid"],j7e=l.defineComponent({__name:"FilterTag",props:{title:{},iconName:{default:se.filter},options:{default:()=>[]},selectedValues:{default:()=>[]},multiply:{type:Boolean,default:!0},maxShowCount:{default:5},showClearButton:{type:Boolean,default:!1},disallowNull:{type:Boolean,default:!1},dataTestid:{default:"FilterTag"}},emits:["change"],setup(e,{emit:t}){const n=e,i=l.reactive({isShow:!1,options:[]}),r=t,a=l.computed(()=>({"filter-yui-kit__wrapper":!0,"active-yui-kit":i.isShow})),o=()=>i.isShow=!i.isShow,s=()=>{i.isShow=!1},u=l.computed(()=>i.options.filter(p=>p.chose)),c=l.computed(()=>i.options.filter(p=>!p.chose)),f=p=>{n.disallowNull&&p.chose||(p.chose=!p.chose,n.multiply||(i.options=i.options.map(y=>({...y,chose:p.value===y.value&&p.chose}))),i.options.every(y=>y.chose)&&(i.options=i.options.map(y=>({...y,chose:!1}))),r("change",u.value.map(y=>y.value)),i.isShow=!1)},h=()=>{i.options=i.options.map(p=>({...p,chose:!1})),i.isShow=!1,r("change",[])},g=()=>{i.options=n.options.map(p=>({...p,chose:n.selectedValues.includes(p.value)})),i.options.every(p=>p.chose)&&(i.options=i.options.map(p=>({...p,chose:!1})))};return l.watch(()=>[n.options,n.selectedValues],g),l.watch(()=>n.selectedValues,g),l.onMounted(g),(p,y)=>l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:"filter-yui-kit","data-testid":n.dataTestid},[l.createElementVNode("div",{class:l.normalizeClass(a.value),onClick:o,"data-testid":`${n.dataTestid}-Wrapper`},[n.iconName?(l.openBlock(),l.createBlock(we,{key:0,name:n.iconName,"data-testid":`${n.dataTestid}-Icon`},null,8,["name","data-testid"])):l.createCommentVNode("",!0),n.title?(l.openBlock(),l.createElementBlock("span",{key:1,"data-testid":`${n.dataTestid}-Title`},l.toDisplayString(n.title),9,k7e)):l.createCommentVNode("",!0),!u.value.length&&!n.disallowNull?(l.openBlock(),l.createBlock(Ut,{key:2,disabled:"",text:"Все","data-testid":`${n.dataTestid}-Badges-All`},null,8,["data-testid"])):(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:3},l.renderList(u.value.filter((v,k)=>k<n.maxShowCount),(v,k)=>(l.openBlock(),l.createBlock(Ut,{key:v.value,type:v.type,disabled:"","data-testid":`${n.dataTestid}-Badges${k}`,text:v.label},null,8,["type","data-testid","text"]))),128)),n.maxShowCount<u.value.length?(l.openBlock(),l.createElementBlock("div",{key:4,class:"filter-yui-kit__counter","data-testid":`${n.dataTestid}-MaxShowCount-Counter`},[l.createTextVNode(" +"+l.toDisplayString(u.value.length-n.maxShowCount)+" ",1),l.createElementVNode("div",{class:"filter-yui-kit__counter-content","data-testid":`${n.dataTestid}-MaxShowCount-Content`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(u.value.filter((v,k)=>k>=n.maxShowCount),(v,k)=>(l.openBlock(),l.createBlock(Ut,{key:v.value,type:v.type,disabled:"",text:v.label,"data-testid":`${n.dataTestid}-MaxShow-Badges${k}`},null,8,["type","text","data-testid"]))),128))],8,C7e)],8,M7e)):l.createCommentVNode("",!0),n.showClearButton&&u.value.length>0?(l.openBlock(),l.createElementBlock("button",{key:5,type:"button",class:"filter-yui-kit__close",onClick:l.withModifiers(h,["stop"]),"data-testid":`${n.dataTestid}-Filter-CloseButton`},[l.createVNode(we,{name:l.unref(se).crossSmall,"data-testid":`${n.dataTestid}-CloseButton-Icon`},null,8,["name","data-testid"])],8,x7e)):l.createCommentVNode("",!0)],10,v7e),i.isShow?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter-yui-kit__select-wrapper","data-testid":`${n.dataTestid}-Select-Wrapper`},[l.createElementVNode("ul",{class:"filter-yui-kit__select-list selected-yui-kit","data-testid":`${n.dataTestid}-Select-List`},[u.value.length?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("li",{key:0,class:"filter-yui-kit__select-item","data-testid":`${n.dataTestid}-Select-Item`},[l.createVNode(Ut,{disabled:"",text:"Все","data-testid":`${n.dataTestid}-Select-Badges`},null,8,["data-testid"])],8,T7e)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(u.value,(v,k)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:v.value,"data-testid":`${n.dataTestid}-Select-Item${k}`},[l.createVNode(Ut,{disabled:!0,choosed:!n.disallowNull&&v.chose,type:v.type,onClick:w=>f(v),text:v.label,"data-testid":`${n.dataTestid}-Select-Badges${k}`},null,8,["choosed","type","onClick","text","data-testid"])],8,P7e))),128))],8,_7e),l.createElementVNode("div",{class:"filter-yui-kit__select__divider","data-testid":`${n.dataTestid}-Select-Divider`},null,8,E7e),i.isShow?(l.openBlock(),l.createElementBlock("ul",{key:0,class:"filter-yui-kit__select-list","data-testid":`${n.dataTestid}-Select-List`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(c.value,(v,k)=>(l.openBlock(),l.createElementBlock("li",{class:"filter-yui-kit__select-item",key:v.value,"data-testid":`${n.dataTestid}-Select-List${k}`},[l.createVNode(Ut,{disabled:!0,choosed:!1,type:v.type,text:v.label,"data-testid":`${n.dataTestid}-Select-Badges${k}`,onClick:w=>f(v)},null,8,["type","text","data-testid","onClick"])],8,D7e))),128)),e.disallowNull?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("li",{key:0,class:"filter-yui-kit__select-item","data-testid":`${n.dataTestid}-Select-Item`},[u.value.length?(l.openBlock(),l.createBlock(Ut,{key:0,disabled:"","data-testid":`${n.dataTestid}-Select-Badges`,text:"Все",onClick:h},null,8,["data-testid"])):l.createCommentVNode("",!0)],8,N7e))],8,A7e)):l.createCommentVNode("",!0)],8,S7e)):l.createCommentVNode("",!0)],8,w7e)),[[l.unref(vo),s,void 0,{bubble:!0}]])}}),L1=me(j7e,[["__scopeId","data-v-c0eed368"]]),I7e=["data-testid"],W7e=["data-testid"],O7e=["data-testid"],z7e=["data-testid"],$1=me(l.defineComponent({__name:"CircularProgress",props:{percent:{},dataTestid:{default:"CircularProgress"}},setup(e){const t=e,n=()=>{const i=Math.min(Math.max(t.percent,0),100),r=i/100*360;if(i<=25)return`polygon(50% 50%, 50% 0%, calc(50% + 50% * cos(${r-90}deg)) 0,calc(50% + 50% * cos(${r-90}deg)) calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`;if(i<=50)return`polygon(50% 50%, 50% 0%, 100% 0%, 100% calc(50% + 50% * sin(${r-90}deg)), calc(50% + 50% * cos(${r-90}deg)) calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`;if(i<=75)return`polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%,
|
|
1309
|
+
calc(50% + 50% * cos(${r-90}deg)) 100%, calc(50% + 50% * cos(${r-90}deg)) calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`;if(i<=100)return`polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%,0% 100%, 0% calc(50% + 50% * sin(${r-90}deg)), 50% 50%)`};return(i,r)=>t.percent<100?(l.openBlock(),l.createElementBlock("div",{key:0,class:"pie-chart","data-testid":`${t.dataTestid}-PieChart`},[l.createElementVNode("div",{class:"pie-chart-border",style:l.normalizeStyle({"border-color":t.percent<50?"var(--error-light-color)":"var(--orange-color)"}),"data-testid":`${t.dataTestid}-PieChart-Border`},[l.createElementVNode("div",{class:"sector",style:l.normalizeStyle({clipPath:n(),"background-color":t.percent<50?"var(--error-light-color)":"var(--orange-color)"}),"data-testid":`${t.dataTestid}-PieChart-Sector`},null,12,O7e)],12,W7e)],8,I7e)):(l.openBlock(),l.createElementBlock("svg",{key:1,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","data-testid":`${t.dataTestid}-Icon`,xmlns:"http://www.w3.org/2000/svg"},[...r[0]||(r[0]=[l.createElementVNode("path",{d:"M8 1C4.136 1 1 4.136 1 8C1 11.864 4.136 15 8 15C11.864 15 15 11.864 15 8C15 4.136 11.864 1 8 1ZM8 13.6C4.906 13.6 2.4 11.094 2.4 8C2.4 4.906 4.906 2.4 8 2.4C11.094 2.4 13.6 4.906 13.6 8C13.6 11.094 11.094 13.6 8 13.6Z",fill:"#3BC648"},null,-1),l.createElementVNode("circle",{cx:"8",cy:"8",r:"4",transform:"rotate(-180 8 8)",fill:"#3BC648"},null,-1),l.createElementVNode("path",{d:"M10 6L7.5 9.83935L6 8.5",stroke:"white","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],8,z7e))}}),[["__scopeId","data-v-393c7314"]]),L7e=["colspan","rowspan","data-testid"],Ko=me(l.defineComponent({name:"TableTh",__name:"TableTh",props:{colspan:{default:1},rowspan:{default:1},dataTestid:{default:"DataHeader"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("th",{colspan:e.colspan,rowspan:e.rowspan,"data-testid":t.dataTestid,class:"table-th"},[l.renderSlot(n.$slots,"default",{},void 0,!0)],8,L7e))}}),[["__scopeId","data-v-0411515d"]]),$7e=["data-testid"],xl=me(l.defineComponent({name:"HeadTableRow",__name:"HeadTableRow",props:{dataTestid:{default:"TableRow"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("tr",{class:"head-table-row","data-testid":t.dataTestid},[l.renderSlot(n.$slots,"default",{},void 0,!0)],8,$7e))}}),[["__scopeId","data-v-1c6483fb"]]),x3=(e,t,n,i)=>{const r=l.ref(!1),a=l.ref(100);let o=0,s=0;const u=l.computed(()=>[{"scroll-wrapper__track_hide":a.value===100,"scroll-wrapper__track_drag":r.value}]),c=l.computed(()=>a.value<100),f=()=>{if(e.value){const w=e.value.clientWidth,M=e.value.scrollWidth;return w>=M?100:w/M*100}return 100},h=()=>{if(!e.value||!t.value||!n.value||!i.value)return;const{scrollLeft:w,scrollWidth:M,clientWidth:x}=e.value,_=M-x;if(_<=0)return;const S=w/_,N=i.value.clientWidth,T=n.value.clientWidth,I=N-T,L=S*I;requestAnimationFrame(()=>{t.value&&bt({"--scroll-bar-left-position":`${L}px`},t.value)})},g=w=>{!e.value||!t.value||(r.value=!0,o=w.clientX,s=e.value.scrollLeft,document.addEventListener("pointermove",p),document.addEventListener("pointerup",y,!0))},p=w=>{if(r.value&&e.value&&n.value){const M=w.clientX-o,x=(e.value.scrollWidth-e.value.clientWidth)/(e.value.clientWidth-n.value.clientWidth);e.value.scrollLeft=s+M*x,h()}},y=()=>{r.value=!1,document.removeEventListener("pointermove",p),document.removeEventListener("pointerup",y,!0)};return{onDrag:p,onTrackClick:w=>{if(e.value&&n.value){const M=w.currentTarget.getBoundingClientRect(),x=w.clientX-M.left,_=n.value.clientWidth,S=M.width;let N=(x-_/2)*((e.value.scrollWidth-e.value.clientWidth)/(S-_));N=Math.max(0,Math.min(N,e.value.scrollWidth-e.value.clientWidth)),e.value.scrollLeft=N,h()}},startDrag:g,getPercentHorizontalView:f,changeBarPosition:h,isDragging:r,scrollHorizontalWidthPercent:a,setHorizontalBarWidth:()=>{if(!e.value||!t.value)return;const w=f();a.value=w,bt({"--scroll-horizontal-bar-width":`${w}%`},t.value)},horizontalTrackClass:u,isExistHorizontalTrack:c}},S3=(e,t,n,i)=>{const r=l.ref(!1),a=l.ref(100);let o=0,s=0;const u=l.computed(()=>[{"scroll-wrapper__track_hide":a.value===100,"scroll-wrapper__track_drag":r.value}]),c=l.computed(()=>a.value<100),f=()=>{if(e.value){const w=e.value.clientHeight,M=e.value.scrollHeight;if(w>=M)return 100;if(w<M)return w/M*100}return 100},h=()=>{if(!e.value||!t.value||!n.value||!i.value)return;const{scrollTop:w,scrollHeight:M,clientHeight:x}=e.value,_=M-x;if(_<=0)return;const S=w/_,N=i.value.clientHeight,T=n.value.clientHeight,I=N-T,L=S*I;requestAnimationFrame(()=>{t.value&&bt({"--scroll-bar-top-postion":`${L}px`},t.value)})},g=w=>{!e.value||!t.value||(r.value=!0,o=w.clientY,s=e.value.scrollTop,document.addEventListener("pointermove",p),document.addEventListener("pointerup",y))},p=w=>{if(r.value&&e.value&&n.value){const M=w.clientY-o,x=(e.value.scrollHeight-e.value.clientHeight)/(e.value.clientHeight-n.value.clientHeight);e.value.scrollTop=s+M*x,h()}},y=()=>{r.value=!1,document.removeEventListener("pointermove",p),document.removeEventListener("pointerup",y)};return{onDrag:p,onTrackClick:w=>{if(e.value&&n.value){const M=w.currentTarget.getBoundingClientRect(),x=w.clientY-M.top,_=n.value.clientHeight,S=M.height;let N=(x-_/2)*((e.value.scrollHeight-e.value.clientHeight)/(S-_));N=Math.max(0,Math.min(N,e.value.scrollHeight-e.value.clientHeight)),e.value.scrollTop=N,h()}},startDrag:g,getProcentVerticalView:f,changeBarPosition:h,isDragging:r,scrollVerticalHeightProcent:a,setVerticalBarHeight:()=>{if(!e.value||!t.value)return;const w=f();a.value=w,bt({"--scroll-vertical-bar-height":`${w}%`},t.value)},verticalTrackClass:u,isExistVerticalTrack:c}},H7e={class:"scroll-wrapper__vertical-wrapper"},R7e={class:"scroll-wrapper__horizont-wrapper"},Sl=me(l.defineComponent({name:"ScrollWrapper",__name:"ScrollWrapper",props:{isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate","on-mounted"],setup(e,{expose:t,emit:n}){const i=n,r=l.ref(null),a=l.ref(null),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),{onTrackClick:f,startDrag:h,changeBarPosition:g,setVerticalBarHeight:p,verticalTrackClass:y,isExistVerticalTrack:v}=S3(r,a,s,o),{changeBarPosition:k,startDrag:w,onTrackClick:M,setHorizontalBarWidth:x,horizontalTrackClass:_,isExistHorizontalTrack:S}=x3(r,a,c,u),N=q=>{g(),k(),i("unmount-scroll",q)},T=()=>{requestAnimationFrame(()=>{I(),L()})},I=()=>{if(!r.value||!a.value)return;const q=getComputedStyle(a.value),Z=a.value.style.minHeight||q.minHeight,de=a.value.style.maxHeight||q.maxHeight,Ae=a.value.style.height;bt({"--scroll-wrapper-height":`${Ae}`,"--scroll-wrapper-max-height":`${de}`,"--scroll-wrapper-min-height":`${Z}`},a.value)},L=()=>{p(),x(),g(),k()},D=()=>{r.value&&r.value.addEventListener("scroll",N)},z=()=>{r.value&&(r.value.scrollTop=0)},H=()=>{r.value&&(r.value.scrollHeight<=r.value.clientHeight?i("unmount-paginate",!0):i("unmount-paginate",!1))},X=new MutationObserver(()=>{T(),H()}),re=new ResizeObserver(()=>{T(),H()}),ee=q=>{X.observe(q,{childList:!0,subtree:!0,attributes:!0}),re.observe(q)};return t({scrollToTop:z,setHeightSlot:I}),l.onMounted(()=>{T(),D(),a.value&&ee(a.value),o.value&&ee(o.value),window.addEventListener("resize",T),i("on-mounted")}),l.onUnmounted(()=>{window.removeEventListener("resize",T)}),(q,Z)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"scrollWrapperRef",ref:a,class:"scroll-wrapper"},[l.createElementVNode("div",H7e,[l.createElementVNode("div",R7e,[l.createElementVNode("div",{ref_key:"slotRef",ref:r,class:"scroll-wrapper__slot"},[l.renderSlot(q.$slots,"default",{},void 0,!0)],512),l.unref(S)||e.isShowHorizontalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"horizontTrackRef",ref:u,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_horizont",l.unref(_)]),onClick:Z[1]||(Z[1]=l.withModifiers((...de)=>l.unref(M)&&l.unref(M)(...de),["self","prevent","left"]))},[l.createElementVNode("div",{ref_key:"horizontBarRef",ref:c,class:"scroll-wrapper__bar",onPointerdown:Z[0]||(Z[0]=l.withModifiers((...de)=>l.unref(w)&&l.unref(w)(...de),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)]),l.unref(v)||e.isShowVerticalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"verticalTrackRef",ref:o,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_vertical",l.unref(y)]),onClick:Z[3]||(Z[3]=l.withModifiers((...de)=>l.unref(f)&&l.unref(f)(...de),["self","prevent","left"]))},[l.createElementVNode("div",{ref_key:"verticalBarRef",ref:s,class:"scroll-wrapper__bar",onPointerdown:Z[2]||(Z[2]=l.withModifiers((...de)=>l.unref(h)&&l.unref(h)(...de),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)])],512))}}),[["__scopeId","data-v-0368a565"]]),B7e=["id","data-testid"],V7e=["id","data-testid"],F7e=["id","data-testid"],H1=me(l.defineComponent({name:"TableNew",__name:"Table",props:{tableId:{},search:{},tbodyId:{},theadId:{},columnCount:{},dataTestid:{default:"Table"},isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate"],setup(e,{expose:t,emit:n}){var x;const i=e,r=n,a=l.reactive({headHeight:0,maxColumnCount:0}),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),f=l.ref(null),h=_=>{r("unmount-scroll",_)},g=_=>r("unmount-paginate",_),p=()=>{if(!o.value||!f.value)return;const _=o.value.querySelector("thead");if(!_)return;const S=_.getBoundingClientRect().height;a.headHeight=S,bt({"--scroll-track-margin-top":`${S}px`},f.value.$el)},y=()=>{f.value&&f.value.scrollToTop()},v=()=>{if(f.value&&c.value){const _=getComputedStyle(f.value.$el),S=Number(_.minHeight.replace(/\D/g,""));if(S&&S>0)return;bt({"min-height":`${a.headHeight+108}px`},f.value.$el)}},k=()=>{let _=1;if(s.value){for(let S=0;S<s.value.children.length;S++)_=Math.max(s.value.children[S].children.length,_);a.maxColumnCount=_}},w=new MutationObserver(()=>{k()}),M=new ResizeObserver(()=>{p()});return t({scrollToTop:y,setHeightSlot:(x=f.value)==null?void 0:x.setHeightSlot,tbodyRef:u,tableRef:o,theadRef:s}),l.onMounted(()=>{p(),k(),window.addEventListener("resize",p),o.value&&M.observe(o.value),s.value&&w.observe(s.value,{childList:!0,subtree:!0}),v()}),(_,S)=>(l.openBlock(),l.createBlock(Sl,{ref_key:"scrollWrapperRef",ref:f,class:"table",onUnmountScroll:h,onUnmountPaginate:g,"is-show-vertical-scroll":i.isShowVerticalScroll,"is-show-horizontal-scroll":i.isShowHorizontalScroll,"data-testid":`${i.dataTestid}-ScrollWrapper`},{default:l.withCtx(()=>[l.createElementVNode("table",{ref_key:"tableRef",ref:o,id:i.tableId,class:"table__table","data-testid":`${i.dataTestid}`},[l.renderSlot(_.$slots,"default",{},()=>{var N;return[l.createElementVNode("colgroup",null,[l.renderSlot(_.$slots,"colspan",{},void 0,!0)]),_.$slots.head?(l.openBlock(),l.createElementBlock("thead",{key:0,ref_key:"theadRef",ref:s,id:i.theadId,class:"table__head","data-testid":`${i.dataTestid}-Thead`},[l.renderSlot(_.$slots,"head",{},void 0,!0),_.$slots.search?(l.openBlock(),l.createBlock(xl,{key:0,class:"table__search-tr",id:(N=i.search)==null?void 0:N.rowId,ref_key:"searchRowRef",ref:c,"data-testid":`${i.dataTestid}-Search-Row`},{default:l.withCtx(()=>{var T;return[l.createVNode(Ko,{colspan:i.columnCount||a.maxColumnCount,class:"table__search-th",id:(T=i.search)==null?void 0:T.headId,"data-testid":`${i.dataTestid}-SearchRow-Search`},{default:l.withCtx(()=>[l.renderSlot(_.$slots,"search",{},void 0,!0)]),_:3},8,["colspan","id","data-testid"])]}),_:3},8,["id","data-testid"])):l.createCommentVNode("",!0)],8,V7e)):l.createCommentVNode("",!0),l.renderSlot(_.$slots,"body-group",{},()=>[_.$slots.body?(l.openBlock(),l.createElementBlock("tbody",{key:0,id:i.tbodyId,ref_key:"tbodyRef",ref:u,class:"table__body","data-testid":`${i.dataTestid}-Tbody`},[l.renderSlot(_.$slots,"body",{},void 0,!0)],8,F7e)):l.createCommentVNode("",!0)],!0)]},!0)],8,B7e)]),_:3},8,["is-show-vertical-scroll","is-show-horizontal-scroll","data-testid"]))}}),[["__scopeId","data-v-79da35b2"]]),U7e=["data-testid"],Qd=me(l.defineComponent({name:"TableRow",__name:"TableRow",props:{type:{default:"default"},dataTestid:{}},setup(e){const t=e,n=l.computed(()=>[{"table-row_active":t.type==="selected"}]);return(i,r)=>(l.openBlock(),l.createElementBlock("tr",{class:l.normalizeClass(["table-row",n.value]),"data-testid":t.dataTestid},[l.renderSlot(i.$slots,"default",{},void 0,!0)],10,U7e))}}),[["__scopeId","data-v-19e6cf9d"]]),Y7e=["rowspan","colspan","data-testid"],Jd=l.defineComponent({name:"TableTd",__name:"TableTd",props:{colspan:{default:1},rowspan:{default:1},dataTestid:{default:"DataCell"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("td",{rowspan:e.rowspan,colspan:e.colspan,class:"table-td","data-testid":t.dataTestid},[l.renderSlot(n.$slots,"default")],8,Y7e))}}),R1=me(l.defineComponent({name:"SectionTableRow",__name:"SectionTableRow",props:{colspan:{},dataTestid:{default:"SectionTableRow"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createBlock(Qd,{class:"section-table-row","data-testid":t.dataTestid},{default:l.withCtx(()=>[l.createVNode(Jd,{colspan:e.colspan,class:"section-table-row__td","data-testid":`${t.dataTestid}-DataCell`},{default:l.withCtx(()=>[l.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["colspan","data-testid"])]),_:3},8,["data-testid"]))}}),[["__scopeId","data-v-35b23188"]]),X7e=["disabled","name","value","data-testid"],B1=me(l.defineComponent({name:"Radio",__name:"Radio",props:l.mergeModels({name:{},value:{},disabled:{type:Boolean,default:!1},dataTestid:{default:"Radio"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=l.useModel(e,"modelValue");return(i,r)=>l.withDirectives((l.openBlock(),l.createElementBlock("input",{"onUpdate:modelValue":r[0]||(r[0]=a=>n.value=a),type:"radio",disabled:e.disabled,name:e.name,value:e.value,class:"radio","data-testid":t.dataTestid},null,8,X7e)),[[l.vModelRadio,n.value]])}}),[["__scopeId","data-v-3db64c64"]]),q7e=["data-testid"],G7e=["data-testid"],_3=me(l.defineComponent({name:"ChoosenMiniOptions",__name:"ChoosenMiniOptions",props:{options:{},dataTestid:{default:"ChoosenMiniOptions"}},emits:["remove"],setup(e,{emit:t}){const n=e,i=t,r=a=>{i("remove",a)};return(a,o)=>(l.openBlock(),l.createElementBlock("div",{class:"choosen-mini-options","data-testid":n.dataTestid},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.options,(s,u)=>(l.openBlock(),l.createElementBlock("div",{key:s.key,class:"choosen-mini-options__option","data-testid":`${n.dataTestid}-Option-Item${u}`},[l.createVNode(Ut,{"data-testid":`${n.dataTestid}-Badge${u}`,type:l.unref(nt).blue,text:l.unref(Lh)(s)?s.hint:s.value,class:"choosen-mini-options__badges",disabled:""},null,8,["data-testid","type","text"]),l.createVNode(we,{"data-testid":`${n.dataTestid}-Icon${u}`,name:l.unref(se).crossLarge,width:10,height:10,class:"choosen-mini-options__cross",onClick:c=>r(s.key)},null,8,["data-testid","name","onClick"])],8,G7e))),128))],8,q7e))}}),[["__scopeId","data-v-03762d05"]]),K7e=["data-testid"],Q7e=["data-testid"],J7e=["data-testid"],Z7e=["data-testid"],eCe=["data-testid"],tCe=["data-testid"],V1=me(l.defineComponent({name:"BaseFilter",__name:"BaseFilter",props:l.mergeModels({options:{},title:{},isSearch:{type:Boolean,default:!1},isPosibleToClear:{type:Boolean,default:!1},isShowMiniOptions:{type:Boolean,default:!1},isOpened:{type:Boolean,default:!1},tooltipPosition:{default:"top-center"},onUnmountPagination:{},defaultOption:{default:"Выберите значение"},class:{},disabled:{type:Boolean},dataTestid:{default:"BaseFilter"}},{modelValue:{},modelModifiers:{}}),emits:l.mergeModels(["change","unmount-open","unmount-search","unmount-search-enter","unmount-pagination"],["update:modelValue"]),setup(e,{emit:t}){const n=e,i=l.reactive({isHovered:!1}),r=t,a=l.ref(null),o=l.ref(null),s=l.useModel(e,"modelValue"),u=l.ref(n.isOpened);l.watch(u,()=>r("unmount-open",u.value)),l.watch(()=>n.isOpened,()=>{u.value=n.isOpened}),l.watch(()=>n.onUnmountPagination,()=>{L()});const c=l.ref(""),f=l.computed(()=>{let D=[];return c.value?(Hs(n.options)?D=n.options.filter(z=>{var H;return z.value.toLowerCase().includes(c.value.toLowerCase())||((H=z==null?void 0:z.hint)==null?void 0:H.toLowerCase().includes(c.value.toLowerCase()))}):D=n.options.filter(z=>z.value.toLowerCase().includes(c.value.toLowerCase())),D):(Hs(n.options),D=n.options,D)}),h=l.computed(()=>{var z;return((z=n.options.find(H=>Ri.isArray(s.value)?s.value.includes(H.key):H.key===String(s.value)))==null?void 0:z.value)||n.defaultOption}),g=l.computed(()=>n.options.filter(D=>Ri.isArray(s.value)?s.value.includes(D.key)&&D.value!==h.value:D.key===String(s.value))),p=l.computed(()=>n.options.filter(D=>Ri.isArray(s.value)?s.value.includes(D.key)&&D.value===h.value:D.key===String(s.value))),y=l.computed(()=>{var H,X,re;const D=n.options;let z;return Ri.isArray(s.value)?Hs(D)?z=(H=D.find(ee=>ee.value===h.value))==null?void 0:H.hint:z=(X=D.find(ee=>ee.value===h.value))==null?void 0:X.value:z=(re=D.find(ee=>ee.key===String(s.value)))==null?void 0:re.value,z||""}),v=()=>{i.isHovered=!0},k=()=>{i.isHovered=!1},w=l.computed(()=>{var D;return Hs(n.options)?i.isHovered&&!!y.value:((D=a.value)==null?void 0:D.isSpanOverflow)||!1}),M=l.computed(()=>Ri.isArray(s.value)?n.isPosibleToClear&&s.value.length>0:n.isPosibleToClear&&s.value),x=l.computed(()=>Ri.isArray(s.value)&&s.value.length>1),_=l.computed(()=>Ri.isArray(s.value)?s.value.length:null),S=async D=>{if(Ri.isArray(s.value))s.value.includes(D)?s.value=s.value.filter(z=>z!==D):s.value=[...s.value,D];else{let z=n.options.find(H=>H.key===D);!z&&Hs(n.options)&&(z=n.options.find(H=>H.hint===D)),s.value=(z==null?void 0:z.key)||"",u.value=!1}await l.nextTick(),r("change",String(s.value))},N=D=>{u.value=D},T=async()=>{Ri.isArray(s.value)?s.value=[]:s.value="",await l.nextTick(),r("change",s.value)},I=new IntersectionObserver(D=>{D.forEach(z=>{z.isIntersecting&&r("unmount-pagination")})}),L=()=>{o.value&&n.onUnmountPagination&&(I.unobserve(o.value),I.observe(o.value))};return l.onMounted(()=>{L()}),l.onUnmounted(()=>{I.disconnect()}),(D,z)=>(l.openBlock(),l.createBlock(ko,{onChange:N,"is-opened":u.value,class:l.normalizeClass(n.class),"header-classes":"filter__header","options-classes":"filter__options","data-testid":n.dataTestid},{header:l.withCtx(()=>[l.createElementVNode("span",{class:l.normalizeClass(["filter__header-title",{"filter__header-title__active":u.value}]),"data-testid":`${n.dataTestid}-Title`},l.toDisplayString(e.title),11,K7e),l.createVNode(Cl,{position:e.tooltipPosition,type:"blue","is-can-show":w.value&&!(x.value&&e.isShowMiniOptions),hint:y.value,"hint-gap":28,class:"filter__header-tooltip","data-testid":`${n.dataTestid}-Tooltip`},{default:l.withCtx(()=>[l.createVNode(Ut,{ref_key:"badgesRef",ref:a,type:h.value===n.defaultOption?l.unref(nt).default:l.unref(nt).blue,class:"filter__options-badge","data-testid":`${n.dataTestid}-Badge`,text:h.value,onMouseenter:v,onMouseleave:k,disabled:""},null,8,["type","data-testid","text"]),x.value&&e.isShowMiniOptions?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter__values","data-testid":`${n.dataTestid}-Filter-Value`},[l.createVNode(_3,{"data-testid":`${n.dataTestid}-Filter-Value-MiniOptions`,onClick:z[0]||(z[0]=l.withModifiers(()=>{},["stop"])),options:p.value,onRemove:S},null,8,["data-testid","options"])],8,Q7e)):l.createCommentVNode("",!0)]),_:1},8,["position","is-can-show","hint","data-testid"]),_.value&&_.value>1?(l.openBlock(),l.createElementBlock("span",{key:0,class:"filter__count","data-testid":`${n.dataTestid}-Filter-Count`},[l.createTextVNode(" +"+l.toDisplayString(_.value-1)+" ",1),x.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"filter__values","data-testid":`${n.dataTestid}-Filter-Values`},[l.createVNode(_3,{onClick:z[1]||(z[1]=l.withModifiers(()=>{},["stop"])),options:g.value,onRemove:S,"data-testid":`${n.dataTestid}-MiniOptions`},null,8,["options","data-testid"])],8,Z7e)):l.createCommentVNode("",!0)],8,J7e)):l.createCommentVNode("",!0),M.value?(l.openBlock(),l.createElementBlock("span",{key:1,class:"filter__cross",onClick:l.withModifiers(T,["stop"]),"data-testid":`${n.dataTestid}-Filter-Cross`},[l.createVNode(we,{name:l.unref(se).crossLarge,width:16,height:16},null,8,["name"])],8,eCe)):l.createCommentVNode("",!0)]),options:l.withCtx(()=>[e.isSearch?(l.openBlock(),l.createBlock(yl,{key:0,modelValue:c.value,"onUpdate:modelValue":z[2]||(z[2]=H=>c.value=H),"show-history":!1,"data-testid":`${n.dataTestid}-Search`,onInput:z[3]||(z[3]=H=>D.$emit("unmount-search",H)),onEnter:z[4]||(z[4]=H=>D.$emit("unmount-search-enter",H))},null,8,["modelValue","data-testid"])):l.createCommentVNode("",!0),l.createVNode($h,{"data-testid":`${n.dataTestid}-Options`,class:"filter__options-option",options:f.value,"default-option":h.value,onChange:S},{default:l.withCtx(()=>[l.createElementVNode("li",{class:"filter__options-underline","data-testid":`${n.dataTestid}-Underline`},[...z[5]||(z[5]=[l.createElementVNode("hr",{class:"filter__options-underline-hr"},null,-1)])],8,tCe)]),_:1},8,["data-testid","options","default-option"]),l.withDirectives(l.createElementVNode("div",{ref_key:"lastOptionRef",ref:o,class:"filter__last-option"},null,512),[[l.vShow,e.onUnmountPagination]])]),_:1},8,["is-opened","class","data-testid"]))}}),[["__scopeId","data-v-11f83b83"]]),nCe=["data-testid"],Zd=me(l.defineComponent({name:"Range",__name:"Range",props:l.mergeModels({min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},dataTestid:{default:"Range"}},{modelValue:{default:0},modelModifiers:{}}),emits:l.mergeModels(["unmount-change","unmount-input"],["update:modelValue"]),setup(e,{emit:t}){const n=e,i=t,r=l.useModel(e,"modelValue"),a=l.ref(null);l.watch(r,()=>{s()});const o=()=>(r.value-n.min)/(n.max-n.min)*100,s=()=>{requestAnimationFrame(()=>{a.value&&bt({"--progress":o()+"%"},a.value)})},u=f=>{const h=f.target;h&&i("unmount-change",Number(h.value))},c=f=>{const h=f.target;h&&i("unmount-change",Number(h.value))};return l.onMounted(()=>{s()}),(f,h)=>l.withDirectives((l.openBlock(),l.createElementBlock("input",l.mergeProps({ref_key:"input",ref:a,type:"range"},n,{class:"range","onUpdate:modelValue":h[0]||(h[0]=g=>r.value=g),onChange:u,onInput:c,"data-testid":n.dataTestid}),null,16,nCe)),[[l.vModelText,r.value]])}}),[["__scopeId","data-v-50ada1b8"]]),iCe=["id","data-testid"],rCe=["data-testid"],aCe=["data-testid"],F1=me(l.defineComponent({name:"TableNew",__name:"TableNew",props:{tableId:{},search:{},tbodyId:{},theadId:{},columnCount:{},dataTestid:{default:"Table"},isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate"],setup(e,{expose:t,emit:n}){var M;const i=e,r=n,a=l.reactive({headHeight:0,maxColumnCount:0}),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),f=l.ref(null),h=x=>{r("unmount-scroll",x)},g=()=>{if(!o.value||!f.value)return;const x=o.value.querySelector("thead");if(!x)return;const _=x.getBoundingClientRect().height;a.headHeight=_,bt({"--scroll-track-margin-top":`${_}px`},f.value.$el)},p=()=>{f.value&&f.value.scrollToTop()},y=()=>{if(f.value&&c.value){const x=getComputedStyle(f.value.$el),_=Number(x.minHeight.replace(/\D/g,""));if(_&&_>0)return;bt({"min-height":`${a.headHeight+108}px`},f.value.$el)}},v=()=>{let x=1;if(s.value){for(let _=0;_<s.value.children.length;_++)x=Math.max(s.value.children[_].children.length,x);a.maxColumnCount=x}},k=new MutationObserver(()=>{v()}),w=new ResizeObserver(()=>{g()});return t({scrollToTop:p,setHeightSlot:(M=f.value)==null?void 0:M.setHeightSlot,tbodyRef:u,tableRef:o,theadRef:s}),l.onMounted(()=>{g(),v(),window.addEventListener("resize",g),o.value&&w.observe(o.value),s.value&&k.observe(s.value,{childList:!0,subtree:!0}),y()}),(x,_)=>(l.openBlock(),l.createBlock(Sl,{ref_key:"scrollWrapperRef",ref:f,class:"table",onUnmountScroll:h,"is-show-vertical-scroll":i.isShowVerticalScroll,"is-show-horizontal-scroll":i.isShowHorizontalScroll,"data-testid":`${i.dataTestid}-ScrollWrapper`},{default:l.withCtx(()=>[l.createElementVNode("table",{ref_key:"tableRef",ref:o,id:i.tableId,class:"table__table","data-testid":`${i.dataTestid}`},[l.renderSlot(x.$slots,"default",{},()=>[l.createElementVNode("colgroup",null,[l.renderSlot(x.$slots,"colspan",{},void 0,!0)]),x.$slots.head?(l.openBlock(),l.createElementBlock("thead",{key:0,ref_key:"theadRef",ref:s,class:"table__head","data-testid":`${i.dataTestid}-Thead`},[l.renderSlot(x.$slots,"head",{},void 0,!0),x.$slots.search?(l.openBlock(),l.createBlock(xl,{key:0,class:"table__search-tr",ref_key:"searchRowRef",ref:c,"data-testid":`${i.dataTestid}-Search-Row`},{default:l.withCtx(()=>[l.createVNode(Ko,{colspan:a.maxColumnCount,class:"table__search-th","data-testid":`${i.dataTestid}-SearchRow-Search`},{default:l.withCtx(()=>[l.renderSlot(x.$slots,"search",{},void 0,!0)]),_:3},8,["colspan","data-testid"])]),_:3},8,["data-testid"])):l.createCommentVNode("",!0)],8,rCe)):l.createCommentVNode("",!0),l.renderSlot(x.$slots,"body-group",{},()=>[x.$slots.body?(l.openBlock(),l.createElementBlock("tbody",{key:0,ref_key:"tbodyRef",ref:u,class:"table__body","data-testid":`${i.dataTestid}-Tbody`},[l.renderSlot(x.$slots,"body",{},void 0,!0)],8,aCe)):l.createCommentVNode("",!0)],!0)],!0)],8,iCe)]),_:3},8,["is-show-vertical-scroll","is-show-horizontal-scroll","data-testid"]))}}),[["__scopeId","data-v-30a389ed"]]),oCe=["data-testid"],U1=me(l.defineComponent({name:"TableRow",__name:"TableRowNew",props:{type:{default:"default"},dataTestid:{}},setup(e){const t=e,n=l.computed(()=>[{"table-row_active":t.type==="selected"}]);return(i,r)=>(l.openBlock(),l.createElementBlock("tr",{class:l.normalizeClass(["table-row",n.value]),"data-testid":t.dataTestid},[l.renderSlot(i.$slots,"default",{},void 0,!0)],10,oCe))}}),[["__scopeId","data-v-c22d3f55"]]),sCe=["data-testid"],ec=me(l.defineComponent({name:"HeadTableRow",__name:"HeadTableRowNew",props:{dataTestid:{default:"TableRow"}},setup(e){const t=e;return(n,i)=>(l.openBlock(),l.createElementBlock("tr",{class:"head-table-row","data-testid":t.dataTestid},[l.renderSlot(n.$slots,"default",{},void 0,!0)],8,sCe))}}),[["__scopeId","data-v-45b56a2a"]]),lCe={class:"scroll-wrapper__vertical-wrapper"},uCe={class:"scroll-wrapper__horizont-wrapper"},dCe=me(l.defineComponent({name:"ScrollWrapper",__name:"ScrollWrapperNew",props:{isShowVerticalScroll:{type:Boolean,default:!1},isShowHorizontalScroll:{type:Boolean,default:!1}},emits:["unmount-scroll","unmount-paginate","on-mounted"],setup(e,{expose:t,emit:n}){const i=n,r=l.ref(null),a=l.ref(null),o=l.ref(null),s=l.ref(null),u=l.ref(null),c=l.ref(null),{onTrackClick:f,startDrag:h,changeBarPosition:g,setVerticalBarHeight:p,verticalTrackClass:y,isExistVerticalTrack:v}=S3(r,a,s,o),{changeBarPosition:k,startDrag:w,onTrackClick:M,setHorizontalBarWidth:x,horizontalTrackClass:_,isExistHorizontalTrack:S}=x3(r,a,c,u),N=ee=>{g(),k(),i("unmount-scroll",ee)},T=()=>{requestAnimationFrame(()=>{I(),L()})},I=()=>{if(!r.value||!a.value)return;const ee=getComputedStyle(a.value),q=a.value.style.minHeight||ee.minHeight,Z=a.value.style.maxHeight||ee.maxHeight,de=a.value.style.height;bt({"--scroll-wrapper-height":`${de}`,"--scroll-wrapper-max-height":`${Z}`,"--scroll-wrapper-min-height":`${q}`},a.value)},L=()=>{p(),x(),g(),k()},D=()=>{r.value&&r.value.addEventListener("scroll",N)},z=()=>{r.value&&(r.value.scrollTop=0)},H=new MutationObserver(()=>{T()}),X=new ResizeObserver(()=>{T()}),re=ee=>{H.observe(ee,{childList:!0,subtree:!0,attributes:!0}),X.observe(ee)};return t({scrollToTop:z,setHeightSlot:I}),l.onMounted(()=>{T(),D(),a.value&&re(a.value),o.value&&re(o.value),window.addEventListener("resize",T),i("on-mounted")}),l.onUnmounted(()=>{window.removeEventListener("resize",T)}),(ee,q)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"scrollWrapperRef",ref:a,class:"scroll-wrapper"},[l.createElementVNode("div",lCe,[l.createElementVNode("div",uCe,[l.createElementVNode("div",{ref_key:"slotRef",ref:r,class:"scroll-wrapper__slot"},[l.renderSlot(ee.$slots,"default",{},void 0,!0)],512),l.unref(S)||e.isShowHorizontalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"horizontTrackRef",ref:u,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_horizont",l.unref(_)]),onClick:q[1]||(q[1]=l.withModifiers((...Z)=>l.unref(M)&&l.unref(M)(...Z),["prevent","left"]))},[l.createElementVNode("div",{ref_key:"horizontBarRef",ref:c,class:"scroll-wrapper__bar",onMousedown:q[0]||(q[0]=l.withModifiers((...Z)=>l.unref(w)&&l.unref(w)(...Z),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)]),l.unref(v)||e.isShowVerticalScroll?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"verticalTrackRef",ref:o,class:l.normalizeClass(["scroll-wrapper__track scroll-wrapper__track_vertical",l.unref(y)]),onClick:q[3]||(q[3]=l.withModifiers((...Z)=>l.unref(f)&&l.unref(f)(...Z),["prevent","left"]))},[l.createElementVNode("div",{ref_key:"verticalBarRef",ref:s,class:"scroll-wrapper__bar",onMousedown:q[2]||(q[2]=l.withModifiers((...Z)=>l.unref(h)&&l.unref(h)(...Z),["prevent","left"]))},null,544)],2)):l.createCommentVNode("",!0)])],512))}}),[["__scopeId","data-v-411a6b7a"]]),cCe=["data-testid"],fCe=["data-testid"],hCe=["data-testid"],Y1=me(l.defineComponent({name:"TableSimple",__name:"TableSimple",props:{dataTestid:{default:"TableSimple"}},setup(e,{expose:t}){const n=e,i=l.ref(null),r=l.ref(null),a=l.ref(null),o=l.ref(null),s=l.computed(()=>{let u=1;if(r.value)for(let c=0;c<r.value.children.length;c++)u=Math.max(r.value.children[c].children.length,u);return u});return t({tbodyRef:a,tableRef:i,theadRef:r}),(u,c)=>(l.openBlock(),l.createElementBlock("table",{ref_key:"tableRef",ref:i,class:"simple-table-yui-kit","data-testid":`${n.dataTestid}`},[l.renderSlot(u.$slots,"default",{},()=>[l.renderSlot(u.$slots,"colspan",{},void 0,!0),u.$slots.head?(l.openBlock(),l.createElementBlock("thead",{key:0,ref_key:"theadRef",ref:r,class:"simple-table-yui-kit__head","data-testid":`${n.dataTestid}-Thead`},[l.renderSlot(u.$slots,"head",{},void 0,!0),u.$slots.search?(l.openBlock(),l.createBlock(ec,{key:0,class:"table-new-yui-kit__search",ref_key:"searchRowRef",ref:o,"data-testid":`${n.dataTestid}-Search-Row`},{default:l.withCtx(()=>[l.createVNode(Ko,{colspan:s.value,class:"table-new-yui-kit__th","data-testid":`${n.dataTestid}-SearchRow-Search`},{default:l.withCtx(()=>[l.renderSlot(u.$slots,"search",{},void 0,!0)]),_:3},8,["colspan","data-testid"])]),_:3},8,["data-testid"])):l.createCommentVNode("",!0)],8,fCe)):l.createCommentVNode("",!0),l.renderSlot(u.$slots,"body-group",{},()=>[u.$slots.body?(l.openBlock(),l.createElementBlock("tbody",{key:0,ref_key:"tbodyRef",ref:a,class:"simple-table-yui-kit__body","data-testid":`${n.dataTestid}-Tbody`},[l.renderSlot(u.$slots,"body",{},void 0,!0)],8,hCe)):l.createCommentVNode("",!0)],!0)],!0)],8,cCe))}}),[["__scopeId","data-v-eaeafe5b"]]),mCe=["data-testid"],pCe=["data-testid"],gCe=["onClick","data-testid"],yCe=["data-testid"],X1=me(l.defineComponent({name:"Tabs",__name:"Tabs",props:{defaultActiveTabId:{},tabCount:{},dataTestid:{default:"Tabs"}},emits:["unmount-tab"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({activeTab:1}),a=s=>Array.from({length:s},(u,c)=>c+1);l.watch(()=>n.defaultActiveTabId,()=>{n.defaultActiveTabId&&(r.activeTab=n.defaultActiveTabId)},{immediate:!0});const o=s=>{r.activeTab=s,i("unmount-tab",s)};return(s,u)=>(l.openBlock(),l.createElementBlock("div",{"data-testid":n.dataTestid,class:"tabs"},[l.createElementVNode("nav",{class:"tabs__navigation","data-testid":`${n.dataTestid}-Navigation`},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(a(n.tabCount),c=>(l.openBlock(),l.createElementBlock("button",{key:c,onClick:f=>o(c),class:l.normalizeClass(["tabs__navigation-button",{active:r.activeTab===c}]),"data-testid":`${n.dataTestid}-Navigation-Button`},[l.renderSlot(s.$slots,`header${c}`,{},void 0,!0)],10,gCe))),128))],8,pCe),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(a(n.tabCount),c=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:c},[r.activeTab===c?(l.openBlock(),l.createElementBlock("article",{key:0,"data-testid":`${n.dataTestid}-Content`,class:"tabs__navigation-content"},[l.renderSlot(s.$slots,`tab${c}`,{},void 0,!0)],8,yCe)):l.createCommentVNode("",!0)],64))),128))],8,mCe))}}),[["__scopeId","data-v-9a94dd67"]]);function $t(e){this.content=e}$t.prototype={constructor:$t,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var i=n&&n!=e?this.remove(n):this,r=i.find(e),a=i.content.slice();return r==-1?a.push(n||e,t):(a[r+1]=t,n&&(a[r]=n)),new $t(a)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new $t(n)},addToStart:function(e,t){return new $t([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new $t(n)},addBefore:function(e,t,n){var i=this.remove(t),r=i.content.slice(),a=i.find(e);return r.splice(a==-1?r.length:a,0,t,n),new $t(r)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=$t.from(e),e.size?new $t(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=$t.from(e),e.size?new $t(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=$t.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},$t.from=function(e){if(e instanceof $t)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new $t(t)};function T3(e,t,n){for(let i=0;;i++){if(i==e.childCount||i==t.childCount)return e.childCount==t.childCount?null:n;let r=e.child(i),a=t.child(i);if(r==a){n+=r.nodeSize;continue}if(!r.sameMarkup(a))return n;if(r.isText&&r.text!=a.text){for(let o=0;r.text[o]==a.text[o];o++)n++;return n}if(r.content.size||a.content.size){let o=T3(r.content,a.content,n+1);if(o!=null)return o}n+=r.nodeSize}}function P3(e,t,n,i){for(let r=e.childCount,a=t.childCount;;){if(r==0||a==0)return r==a?null:{a:n,b:i};let o=e.child(--r),s=t.child(--a),u=o.nodeSize;if(o==s){n-=u,i-=u;continue}if(!o.sameMarkup(s))return{a:n,b:i};if(o.isText&&o.text!=s.text){let c=0,f=Math.min(o.text.length,s.text.length);for(;c<f&&o.text[o.text.length-c-1]==s.text[s.text.length-c-1];)c++,n--,i--;return{a:n,b:i}}if(o.content.size||s.content.size){let c=P3(o.content,s.content,n-1,i-1);if(c)return c}n-=u,i-=u}}class ne{constructor(t,n){if(this.content=t,this.size=n||0,n==null)for(let i=0;i<t.length;i++)this.size+=t[i].nodeSize}nodesBetween(t,n,i,r=0,a){for(let o=0,s=0;s<n;o++){let u=this.content[o],c=s+u.nodeSize;if(c>t&&i(u,r+s,a||null,o)!==!1&&u.content.size){let f=s+1;u.nodesBetween(Math.max(0,t-f),Math.min(u.content.size,n-f),i,r+f)}s=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,i,r){let a="",o=!0;return this.nodesBetween(t,n,(s,u)=>{let c=s.isText?s.text.slice(Math.max(t,u)-u,n-u):s.isLeaf?r?typeof r=="function"?r(s):r:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&c||s.isTextblock)&&i&&(o?o=!1:a+=i),a+=c},0),a}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,i=t.firstChild,r=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(i)&&(r[r.length-1]=n.withText(n.text+i.text),a=1);a<t.content.length;a++)r.push(t.content[a]);return new ne(r,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let i=[],r=0;if(n>t)for(let a=0,o=0;o<n;a++){let s=this.content[a],u=o+s.nodeSize;u>t&&((o<t||u>n)&&(s.isText?s=s.cut(Math.max(0,t-o),Math.min(s.text.length,n-o)):s=s.cut(Math.max(0,t-o-1),Math.min(s.content.size,n-o-1))),i.push(s),r+=s.nodeSize),o=u}return new ne(i,r)}cutByIndex(t,n){return t==n?ne.empty:t==0&&n==this.content.length?this:new ne(this.content.slice(t,n))}replaceChild(t,n){let i=this.content[t];if(i==n)return this;let r=this.content.slice(),a=this.size+n.nodeSize-i.nodeSize;return r[t]=n,new ne(r,a)}addToStart(t){return new ne([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new ne(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(t.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let n=this.content[t];if(!n)throw new RangeError("Index "+t+" out of range for "+this);return n}maybeChild(t){return this.content[t]||null}forEach(t){for(let n=0,i=0;n<this.content.length;n++){let r=this.content[n];t(r,i,n),i+=r.nodeSize}}findDiffStart(t,n=0){return T3(this,t,n)}findDiffEnd(t,n=this.size,i=t.size){return P3(this,t,n,i)}findIndex(t){if(t==0)return tc(0,t);if(t==this.size)return tc(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,i=0;;n++){let r=this.child(n),a=i+r.nodeSize;if(a>=t)return a==t?tc(n+1,a):tc(n,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return ne.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new ne(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return ne.empty;let n,i=0;for(let r=0;r<t.length;r++){let a=t[r];i+=a.nodeSize,r&&a.isText&&t[r-1].sameMarkup(a)?(n||(n=t.slice(0,r)),n[n.length-1]=a.withText(n[n.length-1].text+a.text)):n&&n.push(a)}return new ne(n||t,i)}static from(t){if(!t)return ne.empty;if(t instanceof ne)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new ne([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}ne.empty=new ne([],0);const q1={index:0,offset:0};function tc(e,t){return q1.index=e,q1.offset=t,q1}function nc(e,t){if(e===t)return!0;if(!(e&&typeof e=="object")||!(t&&typeof t=="object"))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let i=0;i<e.length;i++)if(!nc(e[i],t[i]))return!1}else{for(let i in e)if(!(i in t)||!nc(e[i],t[i]))return!1;for(let i in t)if(!(i in e))return!1}return!0}let Ge=class gy{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,i=!1;for(let r=0;r<t.length;r++){let a=t[r];if(this.eq(a))return t;if(this.type.excludes(a.type))n||(n=t.slice(0,r));else{if(a.type.excludes(this.type))return t;!i&&a.type.rank>this.type.rank&&(n||(n=t.slice(0,r)),n.push(this),i=!0),n&&n.push(a)}}return n||(n=t.slice()),i||n.push(this),n}removeFromSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return t.slice(0,n).concat(t.slice(n+1));return t}isInSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return!0;return!1}eq(t){return this==t||this.type==t.type&&nc(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let i=t.marks[n.type];if(!i)throw new RangeError(`There is no mark type ${n.type} in this schema`);let r=i.create(n.attrs);return i.checkAttrs(r.attrs),r}static sameSet(t,n){if(t==n)return!0;if(t.length!=n.length)return!1;for(let i=0;i<t.length;i++)if(!t[i].eq(n[i]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return gy.none;if(t instanceof gy)return[t];let n=t.slice();return n.sort((i,r)=>i.type.rank-r.type.rank),n}};Ge.none=[];class ic extends Error{}class ue{constructor(t,n,i){this.content=t,this.openStart=n,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let i=A3(this.content,t+this.openStart,n);return i&&new ue(i,this.openStart,this.openEnd)}removeBetween(t,n){return new ue(E3(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return ue.empty;let i=n.openStart||0,r=n.openEnd||0;if(typeof i!="number"||typeof r!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new ue(ne.fromJSON(t,n.content),i,r)}static maxOpen(t,n=!0){let i=0,r=0;for(let a=t.firstChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.firstChild)i++;for(let a=t.lastChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.lastChild)r++;return new ue(t,i,r)}}ue.empty=new ue(ne.empty,0,0);function E3(e,t,n){let{index:i,offset:r}=e.findIndex(t),a=e.maybeChild(i),{index:o,offset:s}=e.findIndex(n);if(r==t||a.isText){if(s!=n&&!e.child(o).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(i!=o)throw new RangeError("Removing non-flat range");return e.replaceChild(i,a.copy(E3(a.content,t-r-1,n-r-1)))}function A3(e,t,n,i){let{index:r,offset:a}=e.findIndex(t),o=e.maybeChild(r);if(a==t||o.isText)return i&&!i.canReplace(r,r,n)?null:e.cut(0,t).append(n).append(e.cut(t));let s=A3(o.content,t-a-1,n,o);return s&&e.replaceChild(r,o.copy(s))}function bCe(e,t,n){if(n.openStart>e.depth)throw new ic("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new ic("Inconsistent open depths");return D3(e,t,n,0)}function D3(e,t,n,i){let r=e.index(i),a=e.node(i);if(r==t.index(i)&&i<e.depth-n.openStart){let o=D3(e,t,n,i+1);return a.copy(a.content.replaceChild(r,o))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&e.depth==i&&t.depth==i){let o=e.parent,s=o.content;return Fa(o,s.cut(0,e.parentOffset).append(n.content).append(s.cut(t.parentOffset)))}else{let{start:o,end:s}=wCe(n,e);return Fa(a,j3(e,o,s,t,i))}else return Fa(a,rc(e,t,i))}function N3(e,t){if(!t.type.compatibleContent(e.type))throw new ic("Cannot join "+t.type.name+" onto "+e.type.name)}function G1(e,t,n){let i=e.node(n);return N3(i,t.node(n)),i}function Va(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function _l(e,t,n,i){let r=(t||e).node(n),a=0,o=t?t.index(n):r.childCount;e&&(a=e.index(n),e.depth>n?a++:e.textOffset&&(Va(e.nodeAfter,i),a++));for(let s=a;s<o;s++)Va(r.child(s),i);t&&t.depth==n&&t.textOffset&&Va(t.nodeBefore,i)}function Fa(e,t){return e.type.checkContent(t),e.copy(t)}function j3(e,t,n,i,r){let a=e.depth>r&&G1(e,t,r+1),o=i.depth>r&&G1(n,i,r+1),s=[];return _l(null,e,r,s),a&&o&&t.index(r)==n.index(r)?(N3(a,o),Va(Fa(a,j3(e,t,n,i,r+1)),s)):(a&&Va(Fa(a,rc(e,t,r+1)),s),_l(t,n,r,s),o&&Va(Fa(o,rc(n,i,r+1)),s)),_l(i,null,r,s),new ne(s)}function rc(e,t,n){let i=[];if(_l(null,e,n,i),e.depth>n){let r=G1(e,t,n+1);Va(Fa(r,rc(e,t,n+1)),i)}return _l(t,null,n,i),new ne(i)}function wCe(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let a=n-1;a>=0;a--)r=t.node(a).copy(ne.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}class Tl{constructor(t,n,i){this.pos=t,this.path=n,this.parentOffset=i,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let i=this.pos-this.path[this.path.length-1],r=t.child(n);return i?t.child(n).cut(i):r}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let i=this.path[n*3],r=n==0?0:this.path[n*3-1]+1;for(let a=0;a<t;a++)r+=i.child(a).nodeSize;return r}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return Ge.none;if(this.textOffset)return t.child(n).marks;let i=t.maybeChild(n-1),r=t.maybeChild(n);if(!i){let s=i;i=r,r=s}let a=i.marks;for(var o=0;o<a.length;o++)a[o].type.spec.inclusive===!1&&(!r||!a[o].isInSet(r.marks))&&(a=a[o--].removeFromSet(a));return a}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let i=n.marks,r=t.parent.maybeChild(t.index());for(var a=0;a<i.length;a++)i[a].type.spec.inclusive===!1&&(!r||!i[a].isInSet(r.marks))&&(i=i[a--].removeFromSet(i));return i}sharedDepth(t){for(let n=this.depth;n>0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos<this.pos)return t.blockRange(this);for(let i=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);i>=0;i--)if(t.pos<=this.end(i)&&(!n||n(this.node(i))))return new ac(this,t,i);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let n=1;n<=this.depth;n++)t+=(t?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return t+":"+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let i=[],r=0,a=n;for(let o=t;;){let{index:s,offset:u}=o.content.findIndex(a),c=a-u;if(i.push(o,s,r+u),!c||(o=o.child(s),o.isText))break;a=c-1,r+=u+1}return new Tl(n,i,a)}static resolveCached(t,n){let i=I3.get(t);if(i)for(let a=0;a<i.elts.length;a++){let o=i.elts[a];if(o.pos==n)return o}else I3.set(t,i=new vCe);let r=i.elts[i.i]=Tl.resolve(t,n);return i.i=(i.i+1)%kCe,r}}class vCe{constructor(){this.elts=[],this.i=0}}const kCe=12,I3=new WeakMap;class ac{constructor(t,n,i){this.$from=t,this.$to=n,this.depth=i}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const MCe=Object.create(null);let Rr=class yy{constructor(t,n,i,r=Ge.none){this.type=t,this.attrs=n,this.marks=r,this.content=i||ne.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,n,i,r=0){this.content.nodesBetween(t,n,i,r,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,n,i,r){return this.content.textBetween(t,n,i,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,n,i){return this.type==t&&nc(this.attrs,n||t.defaultAttrs||MCe)&&Ge.sameSet(this.marks,i||Ge.none)}copy(t=null){return t==this.content?this:new yy(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new yy(this.type,this.attrs,this.content,t)}cut(t,n=this.content.size){return t==0&&n==this.content.size?this:this.copy(this.content.cut(t,n))}slice(t,n=this.content.size,i=!1){if(t==n)return ue.empty;let r=this.resolve(t),a=this.resolve(n),o=i?0:r.sharedDepth(n),s=r.start(o),c=r.node(o).content.cut(r.pos-s,a.pos-s);return new ue(c,r.depth-o,a.depth-o)}replace(t,n,i){return bCe(this.resolve(t),this.resolve(n),i)}nodeAt(t){for(let n=this;;){let{index:i,offset:r}=n.content.findIndex(t);if(n=n.maybeChild(i),!n)return null;if(r==t||n.isText)return n;t-=r+1}}childAfter(t){let{index:n,offset:i}=this.content.findIndex(t);return{node:this.content.maybeChild(n),index:n,offset:i}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:n,offset:i}=this.content.findIndex(t);if(i<t)return{node:this.content.child(n),index:n,offset:i};let r=this.content.child(n-1);return{node:r,index:n-1,offset:i-r.nodeSize}}resolve(t){return Tl.resolveCached(this,t)}resolveNoCache(t){return Tl.resolve(this,t)}rangeHasMark(t,n,i){let r=!1;return n>t&&this.nodesBetween(t,n,a=>(i.isInSet(a.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),W3(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,i=ne.empty,r=0,a=i.childCount){let o=this.contentMatchAt(t).matchFragment(i,r,a),s=o&&o.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let u=r;u<a;u++)if(!this.type.allowsMarks(i.child(u).marks))return!1;return!0}canReplaceWith(t,n,i,r){if(r&&!this.type.allowsMarks(r))return!1;let a=this.contentMatchAt(t).matchType(i),o=a&&a.matchFragment(this.content,n);return o?o.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=Ge.none;for(let n=0;n<this.marks.length;n++){let i=this.marks[n];i.type.checkAttrs(i.attrs),t=i.addToSet(t)}if(!Ge.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let i;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,i)}let r=ne.fromJSON(t,n.content),a=t.nodeType(n.type).create(n.attrs,r,i);return a.type.checkAttrs(a.attrs),a}};Rr.prototype.text=void 0;class oc extends Rr{constructor(t,n,i,r){if(super(t,n,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):W3(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new oc(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new oc(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function W3(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Ua{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let i=new CCe(t,n);if(i.next==null)return Ua.empty;let r=O3(i);i.next&&i.err("Unexpected trailing text");let a=ACe(ECe(r));return DCe(a,i),a}matchType(t){for(let n=0;n<this.next.length;n++)if(this.next[n].type==t)return this.next[n].next;return null}matchFragment(t,n=0,i=t.childCount){let r=this;for(let a=n;r&&a<i;a++)r=r.matchType(t.child(a).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:n}=this.next[t];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(t){for(let n=0;n<this.next.length;n++)for(let i=0;i<t.next.length;i++)if(this.next[n].type==t.next[i].type)return!0;return!1}fillBefore(t,n=!1,i=0){let r=[this];function a(o,s){let u=o.matchFragment(t,i);if(u&&(!n||u.validEnd))return ne.from(s.map(c=>c.createAndFill()));for(let c=0;c<o.next.length;c++){let{type:f,next:h}=o.next[c];if(!(f.isText||f.hasRequiredAttrs())&&r.indexOf(h)==-1){r.push(h);let g=a(h,s.concat(f));if(g)return g}}return null}return a(this,[])}findWrapping(t){for(let i=0;i<this.wrapCache.length;i+=2)if(this.wrapCache[i]==t)return this.wrapCache[i+1];let n=this.computeWrapping(t);return this.wrapCache.push(t,n),n}computeWrapping(t){let n=Object.create(null),i=[{match:this,type:null,via:null}];for(;i.length;){let r=i.shift(),a=r.match;if(a.matchType(t)){let o=[];for(let s=r;s.type;s=s.via)o.push(s.type);return o.reverse()}for(let o=0;o<a.next.length;o++){let{type:s,next:u}=a.next[o];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!r.type||u.validEnd)&&(i.push({match:s.contentMatch,type:s,via:r}),n[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(i){t.push(i);for(let r=0;r<i.next.length;r++)t.indexOf(i.next[r].next)==-1&&n(i.next[r].next)}return n(this),t.map((i,r)=>{let a=r+(i.validEnd?"*":" ")+" ";for(let o=0;o<i.next.length;o++)a+=(o?", ":"")+i.next[o].type.name+"->"+t.indexOf(i.next[o].next);return a}).join(`
|
|
1310
1310
|
`)}}Ua.empty=new Ua(!0);class CCe{constructor(t,n){this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function O3(e){let t=[];do t.push(xCe(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function xCe(e){let t=[];do t.push(SCe(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function SCe(e){let t=PCe(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=_Ce(e,t);else break;return t}function z3(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function _Ce(e,t){let n=z3(e),i=n;return e.eat(",")&&(e.next!="}"?i=z3(e):i=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:t}}function TCe(e,t){let n=e.nodeTypes,i=n[t];if(i)return[i];let r=[];for(let a in n){let o=n[a];o.isInGroup(t)&&r.push(o)}return r.length==0&&e.err("No node type or group '"+t+"' found"),r}function PCe(e){if(e.eat("(")){let t=O3(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=TCe(e,e.next).map(n=>(e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function ECe(e){let t=[[]];return r(a(e,0),n()),t;function n(){return t.push([])-1}function i(o,s,u){let c={term:u,to:s};return t[o].push(c),c}function r(o,s){o.forEach(u=>u.to=s)}function a(o,s){if(o.type=="choice")return o.exprs.reduce((u,c)=>u.concat(a(c,s)),[]);if(o.type=="seq")for(let u=0;;u++){let c=a(o.exprs[u],s);if(u==o.exprs.length-1)return c;r(c,s=n())}else if(o.type=="star"){let u=n();return i(s,u),r(a(o.expr,u),u),[i(u)]}else if(o.type=="plus"){let u=n();return r(a(o.expr,s),u),r(a(o.expr,u),u),[i(u)]}else{if(o.type=="opt")return[i(s)].concat(a(o.expr,s));if(o.type=="range"){let u=s;for(let c=0;c<o.min;c++){let f=n();r(a(o.expr,u),f),u=f}if(o.max==-1)r(a(o.expr,u),u);else for(let c=o.min;c<o.max;c++){let f=n();i(u,f),r(a(o.expr,u),f),u=f}return[i(u)]}else{if(o.type=="name")return[i(s,void 0,o.value)];throw new Error("Unknown expr type")}}}}function L3(e,t){return t-e}function $3(e,t){let n=[];return i(t),n.sort(L3);function i(r){let a=e[r];if(a.length==1&&!a[0].term)return i(a[0].to);n.push(r);for(let o=0;o<a.length;o++){let{term:s,to:u}=a[o];!s&&n.indexOf(u)==-1&&i(u)}}}function ACe(e){let t=Object.create(null);return n($3(e,0));function n(i){let r=[];i.forEach(o=>{e[o].forEach(({term:s,to:u})=>{if(!s)return;let c;for(let f=0;f<r.length;f++)r[f][0]==s&&(c=r[f][1]);$3(e,u).forEach(f=>{c||r.push([s,c=[]]),c.indexOf(f)==-1&&c.push(f)})})});let a=t[i.join(",")]=new Ua(i.indexOf(e.length-1)>-1);for(let o=0;o<r.length;o++){let s=r[o][1].sort(L3);a.next.push({type:r[o][0],next:t[s.join(",")]||n(s)})}return a}}function DCe(e,t){for(let n=0,i=[e];n<i.length;n++){let r=i[n],a=!r.validEnd,o=[];for(let s=0;s<r.next.length;s++){let{type:u,next:c}=r.next[s];o.push(u.name),a&&!(u.isText||u.hasRequiredAttrs())&&(a=!1),i.indexOf(c)==-1&&i.push(c)}a&&t.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function H3(e){let t=Object.create(null);for(let n in e){let i=e[n];if(!i.hasDefault)return null;t[n]=i.default}return t}function R3(e,t){let n=Object.create(null);for(let i in e){let r=t&&t[i];if(r===void 0){let a=e[i];if(a.hasDefault)r=a.default;else throw new RangeError("No value supplied for attribute "+i)}n[i]=r}return n}function B3(e,t,n,i){for(let r in t)if(!(r in e))throw new RangeError(`Unsupported attribute ${r} for ${n} of type ${r}`);for(let r in e){let a=e[r];a.validate&&a.validate(t[r])}}function V3(e,t){let n=Object.create(null);if(t)for(let i in t)n[i]=new jCe(e,i,t[i]);return n}let F3=class C8{constructor(t,n,i){this.name=t,this.schema=n,this.spec=i,this.markSet=null,this.groups=i.group?i.group.split(" "):[],this.attrs=V3(t,i.attrs),this.defaultAttrs=H3(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(i.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Ua.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(t){return this.groups.indexOf(t)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:R3(this.attrs,t)}create(t=null,n,i){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Rr(this,this.computeAttrs(t),ne.from(n),Ge.setFrom(i))}createChecked(t=null,n,i){return n=ne.from(n),this.checkContent(n),new Rr(this,this.computeAttrs(t),n,Ge.setFrom(i))}createAndFill(t=null,n,i){if(t=this.computeAttrs(t),n=ne.from(n),n.size){let o=this.contentMatch.fillBefore(n);if(!o)return null;n=o.append(n)}let r=this.contentMatch.matchFragment(n),a=r&&r.fillBefore(ne.empty,!0);return a?new Rr(this,t,n.append(a),Ge.setFrom(i)):null}validContent(t){let n=this.contentMatch.matchFragment(t);if(!n||!n.validEnd)return!1;for(let i=0;i<t.childCount;i++)if(!this.allowsMarks(t.child(i).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){B3(this.attrs,t,"node",this.name)}allowsMarkType(t){return this.markSet==null||this.markSet.indexOf(t)>-1}allowsMarks(t){if(this.markSet==null)return!0;for(let n=0;n<t.length;n++)if(!this.allowsMarkType(t[n].type))return!1;return!0}allowedMarks(t){if(this.markSet==null)return t;let n;for(let i=0;i<t.length;i++)this.allowsMarkType(t[i].type)?n&&n.push(t[i]):n||(n=t.slice(0,i));return n?n.length?n:Ge.none:t}static compile(t,n){let i=Object.create(null);t.forEach((a,o)=>i[a]=new C8(a,n,o));let r=n.spec.topNode||"doc";if(!i[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!i.text)throw new RangeError("Every schema needs a 'text' type");for(let a in i.text.attrs)throw new RangeError("The text node type should not have attributes");return i}};function NCe(e,t,n){let i=n.split("|");return r=>{let a=r===null?"null":typeof r;if(i.indexOf(a)<0)throw new RangeError(`Expected value of type ${i} for attribute ${t} on type ${e}, got ${a}`)}}class jCe{constructor(t,n,i){this.hasDefault=Object.prototype.hasOwnProperty.call(i,"default"),this.default=i.default,this.validate=typeof i.validate=="string"?NCe(t,n,i.validate):i.validate}get isRequired(){return!this.hasDefault}}class sc{constructor(t,n,i,r){this.name=t,this.rank=n,this.schema=i,this.spec=r,this.attrs=V3(t,r.attrs),this.excluded=null;let a=H3(this.attrs);this.instance=a?new Ge(this,a):null}create(t=null){return!t&&this.instance?this.instance:new Ge(this,R3(this.attrs,t))}static compile(t,n){let i=Object.create(null),r=0;return t.forEach((a,o)=>i[a]=new sc(a,r++,n,o)),i}removeFromSet(t){for(var n=0;n<t.length;n++)t[n].type==this&&(t=t.slice(0,n).concat(t.slice(n+1)),n--);return t}isInSet(t){for(let n=0;n<t.length;n++)if(t[n].type==this)return t[n]}checkAttrs(t){B3(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}class U3{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let r in t)n[r]=t[r];n.nodes=$t.from(t.nodes),n.marks=$t.from(t.marks||{}),this.nodes=F3.compile(this.spec.nodes,this),this.marks=sc.compile(this.spec.marks,this);let i=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let a=this.nodes[r],o=a.spec.content||"",s=a.spec.marks;if(a.contentMatch=i[o]||(i[o]=Ua.parse(o,this.nodes)),a.inlineContent=a.contentMatch.inlineContent,a.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!a.isInline||!a.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=a}a.markSet=s=="_"?null:s?Y3(this,s.split(" ")):s==""||!a.inlineContent?[]:null}for(let r in this.marks){let a=this.marks[r],o=a.spec.excludes;a.excluded=o==null?[a]:o==""?[]:Y3(this,o.split(" "))}this.nodeFromJSON=r=>Rr.fromJSON(this,r),this.markFromJSON=r=>Ge.fromJSON(this,r),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,n=null,i,r){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof F3){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(n,i,r)}text(t,n){let i=this.nodes.text;return new oc(i,i.defaultAttrs,t,Ge.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function Y3(e,t){let n=[];for(let i=0;i<t.length;i++){let r=t[i],a=e.marks[r],o=a;if(a)n.push(a);else for(let s in e.marks){let u=e.marks[s];(r=="_"||u.spec.group&&u.spec.group.split(" ").indexOf(r)>-1)&&n.push(o=u)}if(!o)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return n}function ICe(e){return e.tag!=null}function WCe(e){return e.style!=null}class Br{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[];let i=this.matchedStyles=[];n.forEach(r=>{if(ICe(r))this.tags.push(r);else if(WCe(r)){let a=/[^=]*/.exec(r.style)[0];i.indexOf(a)<0&&i.push(a),this.styles.push(r)}}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let a=t.nodes[r.node];return a.contentMatch.matchType(a)})}parse(t,n={}){let i=new K3(this,n,!1);return i.addAll(t,Ge.none,n.from,n.to),i.finish()}parseSlice(t,n={}){let i=new K3(this,n,!0);return i.addAll(t,Ge.none,n.from,n.to),ue.maxOpen(i.finish())}matchTag(t,n,i){for(let r=i?this.tags.indexOf(i)+1:0;r<this.tags.length;r++){let a=this.tags[r];if(LCe(t,a.tag)&&(a.namespace===void 0||t.namespaceURI==a.namespace)&&(!a.context||n.matchesContext(a.context))){if(a.getAttrs){let o=a.getAttrs(t);if(o===!1)continue;a.attrs=o||void 0}return a}}}matchStyle(t,n,i,r){for(let a=r?this.styles.indexOf(r)+1:0;a<this.styles.length;a++){let o=this.styles[a],s=o.style;if(!(s.indexOf(t)!=0||o.context&&!i.matchesContext(o.context)||s.length>t.length&&(s.charCodeAt(t.length)!=61||s.slice(t.length+1)!=n))){if(o.getAttrs){let u=o.getAttrs(n);if(u===!1)continue;o.attrs=u||void 0}return o}}}static schemaRules(t){let n=[];function i(r){let a=r.priority==null?50:r.priority,o=0;for(;o<n.length;o++){let s=n[o];if((s.priority==null?50:s.priority)<a)break}n.splice(o,0,r)}for(let r in t.marks){let a=t.marks[r].spec.parseDOM;a&&a.forEach(o=>{i(o=Q3(o)),o.mark||o.ignore||o.clearMark||(o.mark=r)})}for(let r in t.nodes){let a=t.nodes[r].spec.parseDOM;a&&a.forEach(o=>{i(o=Q3(o)),o.node||o.ignore||o.mark||(o.node=r)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new Br(t,Br.schemaRules(t)))}}const X3={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},OCe={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},q3={ol:!0,ul:!0},Pl=1,K1=2,El=4;function G3(e,t,n){return t!=null?(t?Pl:0)|(t==="full"?K1:0):e&&e.whitespace=="pre"?Pl|K1:n&~El}class lc{constructor(t,n,i,r,a,o){this.type=t,this.attrs=n,this.marks=i,this.solid=r,this.options=o,this.content=[],this.activeMarks=Ge.none,this.match=a||(o&El?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(ne.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let i=this.type.contentMatch,r;return(r=i.findWrapping(t.type))?(this.match=i,r):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&Pl)){let i=this.content[this.content.length-1],r;if(i&&i.isText&&(r=/[ \t\r\n\u000c]+$/.exec(i.text))){let a=i;i.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=a.withText(a.text.slice(0,a.text.length-r[0].length))}}let n=ne.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(ne.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!X3.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class K3{constructor(t,n,i){this.parser=t,this.options=n,this.isOpen=i,this.open=0,this.localPreserveWS=!1;let r=n.topNode,a,o=G3(null,n.preserveWhitespace,0)|(i?El:0);r?a=new lc(r.type,r.attrs,Ge.none,!0,n.topMatch||r.type.contentMatch,o):i?a=new lc(null,null,Ge.none,!0,null,o):a=new lc(t.schema.topNodeType,null,Ge.none,!0,null,o),this.nodes=[a],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,n){t.nodeType==3?this.addTextNode(t,n):t.nodeType==1&&this.addElement(t,n)}addTextNode(t,n){let i=t.nodeValue,r=this.top,a=r.options&K1?"full":this.localPreserveWS||(r.options&Pl)>0;if(a==="full"||r.inlineContext(t)||/[^ \t\r\n\u000c]/.test(i)){if(a)a!=="full"?i=i.replace(/\r?\n|\r/g," "):i=i.replace(/\r\n?/g,`
|
|
1311
1311
|
`);else if(i=i.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(i)&&this.open==this.nodes.length-1){let o=r.content[r.content.length-1],s=t.previousSibling;(!o||s&&s.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.text))&&(i=i.slice(1))}i&&this.insertNode(this.parser.schema.text(i),n,!/\S/.test(i)),this.findInText(t)}else this.findInside(t)}addElement(t,n,i){let r=this.localPreserveWS,a=this.top;(t.tagName=="PRE"||/pre/.test(t.style&&t.style.whiteSpace))&&(this.localPreserveWS=!0);let o=t.nodeName.toLowerCase(),s;q3.hasOwnProperty(o)&&this.parser.normalizeLists&&zCe(t);let u=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(s=this.parser.matchTag(t,this,i));e:if(u?u.ignore:OCe.hasOwnProperty(o))this.findInside(t),this.ignoreFallback(t,n);else if(!u||u.skip||u.closeParent){u&&u.closeParent?this.open=Math.max(0,this.open-1):u&&u.skip.nodeType&&(t=u.skip);let c,f=this.needsBlock;if(X3.hasOwnProperty(o))a.content.length&&a.content[0].isInline&&this.open&&(this.open--,a=this.top),c=!0,a.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,n);break e}let h=u&&u.skip?n:this.readStyles(t,n);h&&this.addAll(t,h),c&&this.sync(a),this.needsBlock=f}else{let c=this.readStyles(t,n);c&&this.addElementByRule(t,u,c,u.consuming===!1?s:void 0)}this.localPreserveWS=r}leafFallback(t,n){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
|
|
1312
1312
|
`),n)}ignoreFallback(t,n){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n,!0)}readStyles(t,n){let i=t.style;if(i&&i.length)for(let r=0;r<this.parser.matchedStyles.length;r++){let a=this.parser.matchedStyles[r],o=i.getPropertyValue(a);if(o)for(let s=void 0;;){let u=this.parser.matchStyle(a,o,this,s);if(!u)break;if(u.ignore)return null;if(u.clearMark?n=n.filter(c=>!u.clearMark(c)):n=n.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)s=u;else break}}return n}addElementByRule(t,n,i,r){let a,o;if(n.node)if(o=this.parser.schema.nodes[n.node],o.isLeaf)this.insertNode(o.create(n.attrs),i,t.nodeName=="BR")||this.leafFallback(t,i);else{let u=this.enter(o,n.attrs||null,i,n.preserveWhitespace);u&&(a=!0,i=u)}else{let u=this.parser.schema.marks[n.mark];i=i.concat(u.create(n.attrs))}let s=this.top;if(o&&o.isLeaf)this.findInside(t);else if(r)this.addElement(t,i,r);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(u=>this.insertNode(u,i,!1));else{let u=t;typeof n.contentElement=="string"?u=t.querySelector(n.contentElement):typeof n.contentElement=="function"?u=n.contentElement(t):n.contentElement&&(u=n.contentElement),this.findAround(t,u,!0),this.addAll(u,i),this.findAround(t,u,!1)}a&&this.sync(s)&&this.open--}addAll(t,n,i,r){let a=i||0;for(let o=i?t.childNodes[i]:t.firstChild,s=r==null?null:t.childNodes[r];o!=s;o=o.nextSibling,++a)this.findAtPoint(t,a),this.addDOM(o,n);this.findAtPoint(t,a)}findPlace(t,n,i){let r,a;for(let o=this.open,s=0;o>=0;o--){let u=this.nodes[o],c=u.findWrapping(t);if(c&&(!r||r.length>c.length+s)&&(r=c,a=u,!c.length))break;if(u.solid){if(i)break;s+=2}}if(!r)return null;this.sync(a);for(let o=0;o<r.length;o++)n=this.enterInner(r[o],null,n,!1);return n}insertNode(t,n,i){if(t.isInline&&this.needsBlock&&!this.top.type){let a=this.textblockFromContext();a&&(n=this.enterInner(a,null,n))}let r=this.findPlace(t,n,i);if(r){this.closeExtra();let a=this.top;a.match&&(a.match=a.match.matchType(t.type));let o=Ge.none;for(let s of r.concat(t.marks))(a.type?a.type.allowsMarkType(s.type):J3(s.type,t.type))&&(o=s.addToSet(o));return a.content.push(t.mark(o)),!0}return!1}enter(t,n,i,r){let a=this.findPlace(t.create(n),i,!1);return a&&(a=this.enterInner(t,n,i,!0,r)),a}enterInner(t,n,i,r=!1,a){this.closeExtra();let o=this.top;o.match=o.match&&o.match.matchType(t);let s=G3(t,a,o.options);o.options&El&&o.content.length==0&&(s|=El);let u=Ge.none;return i=i.filter(c=>(o.type?o.type.allowsMarkType(c.type):J3(c.type,t))?(u=c.addToSet(u),!1):!0),this.nodes.push(new lc(t,n,u,r,null,s)),this.open++,i}closeExtra(t=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(t){for(let n=this.open;n>=0;n--){if(this.nodes[n]==t)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=Pl)}return!1}get currentPos(){this.closeExtra();let t=0;for(let n=this.open;n>=0;n--){let i=this.nodes[n].content;for(let r=i.length-1;r>=0;r--)t+=i[r].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let i=0;i<this.find.length;i++)this.find[i].node==t&&this.find[i].offset==n&&(this.find[i].pos=this.currentPos)}findInside(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&t.nodeType==1&&t.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(t,n,i){if(t!=n&&this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&t.nodeType==1&&t.contains(this.find[r].node)&&n.compareDocumentPosition(this.find[r].node)&(i?2:4)&&(this.find[r].pos=this.currentPos)}findInText(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&(this.find[n].pos=this.currentPos-(t.nodeValue.length-this.find[n].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),i=this.options.context,r=!this.isOpen&&(!i||i.parent.type==this.nodes[0].type),a=-(i?i.depth+1:0)+(r?0:1),o=(s,u)=>{for(;s>=0;s--){let c=n[s];if(c==""){if(s==n.length-1||s==0)continue;for(;u>=a;u--)if(o(s-1,u))return!0;return!1}else{let f=u>0||u==0&&r?this.nodes[u].type:i&&u>=a?i.node(u-a).type:null;if(!f||f.name!=c&&!f.isInGroup(c))return!1;u--}}return!0};return o(n.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let n=t.depth;n>=0;n--){let i=t.node(n).contentMatchAt(t.indexAfter(n)).defaultType;if(i&&i.isTextblock&&i.defaultAttrs)return i}for(let n in this.parser.schema.nodes){let i=this.parser.schema.nodes[n];if(i.isTextblock&&i.defaultAttrs)return i}}}function zCe(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let i=t.nodeType==1?t.nodeName.toLowerCase():null;i&&q3.hasOwnProperty(i)&&n?(n.appendChild(t),t=n):i=="li"?n=t:i&&(n=null)}}function LCe(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Q3(e){let t={};for(let n in e)t[n]=e[n];return t}function J3(e,t){let n=t.schema.nodes;for(let i in n){let r=n[i];if(!r.allowsMarkType(e))continue;let a=[],o=s=>{a.push(s);for(let u=0;u<s.edgeCount;u++){let{type:c,next:f}=s.edge(u);if(c==t||a.indexOf(f)<0&&o(f))return!0}};if(o(r.contentMatch))return!0}}class Ya{constructor(t,n){this.nodes=t,this.marks=n}serializeFragment(t,n={},i){i||(i=Q1(n).createDocumentFragment());let r=i,a=[];return t.forEach(o=>{if(a.length||o.marks.length){let s=0,u=0;for(;s<a.length&&u<o.marks.length;){let c=o.marks[u];if(!this.marks[c.type.name]){u++;continue}if(!c.eq(a[s][0])||c.type.spec.spanning===!1)break;s++,u++}for(;s<a.length;)r=a.pop()[1];for(;u<o.marks.length;){let c=o.marks[u++],f=this.serializeMark(c,o.isInline,n);f&&(a.push([c,r]),r.appendChild(f.dom),r=f.contentDOM||f.dom)}}r.appendChild(this.serializeNodeInner(o,n))}),i}serializeNodeInner(t,n){let{dom:i,contentDOM:r}=uc(Q1(n),this.nodes[t.type.name](t),null,t.attrs);if(r){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,n,r)}return i}serializeNode(t,n={}){let i=this.serializeNodeInner(t,n);for(let r=t.marks.length-1;r>=0;r--){let a=this.serializeMark(t.marks[r],t.isInline,n);a&&((a.contentDOM||a.dom).appendChild(i),i=a.dom)}return i}serializeMark(t,n,i={}){let r=this.marks[t.type.name];return r&&uc(Q1(i),r(t,n),null,t.attrs)}static renderSpec(t,n,i=null,r){return uc(t,n,i,r)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Ya(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=Z3(t.nodes);return n.text||(n.text=i=>i.text),n}static marksFromSchema(t){return Z3(t.marks)}}function Z3(e){let t={};for(let n in e){let i=e[n].spec.toDOM;i&&(t[n]=i)}return t}function Q1(e){return e.document||window.document}const e4=new WeakMap;function $Ce(e){let t=e4.get(e);return t===void 0&&e4.set(e,t=HCe(e)),t}function HCe(e){let t=null;function n(i){if(i&&typeof i=="object")if(Array.isArray(i))if(typeof i[0]=="string")t||(t=[]),t.push(i);else for(let r=0;r<i.length;r++)n(i[r]);else for(let r in i)n(i[r])}return n(e),t}function uc(e,t,n,i){if(typeof t=="string")return{dom:e.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let r=t[0],a;if(typeof r!="string")throw new RangeError("Invalid array passed to renderSpec");if(i&&(a=$Ce(i))&&a.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=r.indexOf(" ");o>0&&(n=r.slice(0,o),r=r.slice(o+1));let s,u=n?e.createElementNS(n,r):e.createElement(r),c=t[1],f=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){f=2;for(let h in c)if(c[h]!=null){let g=h.indexOf(" ");g>0?u.setAttributeNS(h.slice(0,g),h.slice(g+1),c[h]):h=="style"&&u.style?u.style.cssText=c[h]:u.setAttribute(h,c[h])}}for(let h=f;h<t.length;h++){let g=t[h];if(g===0){if(h<t.length-1||h>f)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:p,contentDOM:y}=uc(e,g,n,i);if(u.appendChild(p),y){if(s)throw new RangeError("Multiple content holes");s=y}}}return{dom:u,contentDOM:s}}const t4=65535,n4=Math.pow(2,16);function RCe(e,t){return e+t*n4}function i4(e){return e&t4}function BCe(e){return(e-(e&t4))/n4}const r4=1,a4=2,dc=4,o4=8;class J1{constructor(t,n,i){this.pos=t,this.delInfo=n,this.recover=i}get deleted(){return(this.delInfo&o4)>0}get deletedBefore(){return(this.delInfo&(r4|dc))>0}get deletedAfter(){return(this.delInfo&(a4|dc))>0}get deletedAcross(){return(this.delInfo&dc)>0}}class Ln{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&Ln.empty)return Ln.empty}recover(t){let n=0,i=i4(t);if(!this.inverted)for(let r=0;r<i;r++)n+=this.ranges[r*3+2]-this.ranges[r*3+1];return this.ranges[i*3]+n+BCe(t)}mapResult(t,n=1){return this._map(t,n,!1)}map(t,n=1){return this._map(t,n,!0)}_map(t,n,i){let r=0,a=this.inverted?2:1,o=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let u=this.ranges[s]-(this.inverted?r:0);if(u>t)break;let c=this.ranges[s+a],f=this.ranges[s+o],h=u+c;if(t<=h){let g=c?t==u?-1:t==h?1:n:n,p=u+r+(g<0?0:f);if(i)return p;let y=t==(n<0?u:h)?null:RCe(s/3,t-u),v=t==u?a4:t==h?r4:dc;return(n<0?t!=u:t!=h)&&(v|=o4),new J1(p,v,y)}r+=f-c}return i?t+r:new J1(t+r,0,null)}touches(t,n){let i=0,r=i4(n),a=this.inverted?2:1,o=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let u=this.ranges[s]-(this.inverted?i:0);if(u>t)break;let c=this.ranges[s+a],f=u+c;if(t<=f&&s==r*3)return!0;i+=this.ranges[s+o]-c}return!1}forEach(t){let n=this.inverted?2:1,i=this.inverted?1:2;for(let r=0,a=0;r<this.ranges.length;r+=3){let o=this.ranges[r],s=o-(this.inverted?a:0),u=o+(this.inverted?0:a),c=this.ranges[r+n],f=this.ranges[r+i];t(s,s+c,u,u+f),a+=f-c}}invert(){return new Ln(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return t==0?Ln.empty:new Ln(t<0?[0,-t,0]:[0,0,t])}}Ln.empty=new Ln([]);class Al{constructor(t,n,i=0,r=t?t.length:0){this.mirror=n,this.from=i,this.to=r,this._maps=t||[],this.ownData=!(t||n)}get maps(){return this._maps}slice(t=0,n=this.maps.length){return new Al(this._maps,this.mirror,t,n)}appendMap(t,n){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(t),n!=null&&this.setMirror(this._maps.length-1,n)}appendMapping(t){for(let n=0,i=this._maps.length;n<t._maps.length;n++){let r=t.getMirror(n);this.appendMap(t._maps[n],r!=null&&r<n?i+r:void 0)}}getMirror(t){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==t)return this.mirror[n+(n%2?-1:1)]}}setMirror(t,n){this.mirror||(this.mirror=[]),this.mirror.push(t,n)}appendMappingInverted(t){for(let n=t.maps.length-1,i=this._maps.length+t._maps.length;n>=0;n--){let r=t.getMirror(n);this.appendMap(t._maps[n].invert(),r!=null&&r>n?i-r-1:void 0)}}invert(){let t=new Al;return t.appendMappingInverted(this),t}map(t,n=1){if(this.mirror)return this._map(t,n,!0);for(let i=this.from;i<this.to;i++)t=this._maps[i].map(t,n);return t}mapResult(t,n=1){return this._map(t,n,!1)}_map(t,n,i){let r=0;for(let a=this.from;a<this.to;a++){let o=this._maps[a],s=o.mapResult(t,n);if(s.recover!=null){let u=this.getMirror(a);if(u!=null&&u>a&&u<this.to){a=u,t=this._maps[u].recover(s.recover);continue}}r|=s.delInfo,t=s.pos}return i?t:new J1(t,r,null)}}const Z1=Object.create(null);class Gt{getMap(){return Ln.empty}merge(t){return null}static fromJSON(t,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let i=Z1[n.stepType];if(!i)throw new RangeError(`No step type ${n.stepType} defined`);return i.fromJSON(t,n)}static jsonID(t,n){if(t in Z1)throw new RangeError("Duplicate use of step JSON ID "+t);return Z1[t]=n,n.prototype.jsonID=t,n}}class xt{constructor(t,n){this.doc=t,this.failed=n}static ok(t){return new xt(t,null)}static fail(t){return new xt(null,t)}static fromReplace(t,n,i,r){try{return xt.ok(t.replace(n,i,r))}catch(a){if(a instanceof ic)return xt.fail(a.message);throw a}}}function ep(e,t,n){let i=[];for(let r=0;r<e.childCount;r++){let a=e.child(r);a.content.size&&(a=a.copy(ep(a.content,t,a))),a.isInline&&(a=t(a,n,r)),i.push(a)}return ne.fromArray(i)}class Vr extends Gt{constructor(t,n,i){super(),this.from=t,this.to=n,this.mark=i}apply(t){let n=t.slice(this.from,this.to),i=t.resolve(this.from),r=i.node(i.sharedDepth(this.to)),a=new ue(ep(n.content,(o,s)=>!o.isAtom||!s.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),r),n.openStart,n.openEnd);return xt.fromReplace(t,this.from,this.to,a)}invert(){return new Si(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new Vr(n.pos,i.pos,this.mark)}merge(t){return t instanceof Vr&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Vr(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Vr(n.from,n.to,t.markFromJSON(n.mark))}}Gt.jsonID("addMark",Vr);class Si extends Gt{constructor(t,n,i){super(),this.from=t,this.to=n,this.mark=i}apply(t){let n=t.slice(this.from,this.to),i=new ue(ep(n.content,r=>r.mark(this.mark.removeFromSet(r.marks)),t),n.openStart,n.openEnd);return xt.fromReplace(t,this.from,this.to,i)}invert(){return new Vr(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return n.deleted&&i.deleted||n.pos>=i.pos?null:new Si(n.pos,i.pos,this.mark)}merge(t){return t instanceof Si&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Si(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Si(n.from,n.to,t.markFromJSON(n.mark))}}Gt.jsonID("removeMark",Si);class Fr extends Gt{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return xt.fail("No node at mark step's position");let i=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return xt.fromReplace(t,this.pos,this.pos+1,new ue(ne.from(i),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let i=this.mark.addToSet(n.marks);if(i.length==n.marks.length){for(let r=0;r<n.marks.length;r++)if(!n.marks[r].isInSet(i))return new Fr(this.pos,n.marks[r]);return new Fr(this.pos,this.mark)}}return new Xa(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new Fr(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Fr(n.pos,t.markFromJSON(n.mark))}}Gt.jsonID("addNodeMark",Fr);class Xa extends Gt{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return xt.fail("No node at mark step's position");let i=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return xt.fromReplace(t,this.pos,this.pos+1,new ue(ne.from(i),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new Fr(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new Xa(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new Xa(n.pos,t.markFromJSON(n.mark))}}Gt.jsonID("removeNodeMark",Xa);class It extends Gt{constructor(t,n,i,r=!1){super(),this.from=t,this.to=n,this.slice=i,this.structure=r}apply(t){return this.structure&&tp(t,this.from,this.to)?xt.fail("Structure replace would overwrite content"):xt.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new Ln([this.from,this.to-this.from,this.slice.size])}invert(t){return new It(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return n.deletedAcross&&i.deletedAcross?null:new It(n.pos,Math.max(n.pos,i.pos),this.slice,this.structure)}merge(t){if(!(t instanceof It)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let n=this.slice.size+t.slice.size==0?ue.empty:new ue(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new It(this.from,this.to+(t.to-t.from),n,this.structure)}else if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let n=this.slice.size+t.slice.size==0?ue.empty:new ue(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new It(t.from,this.to,n,this.structure)}else return null}toJSON(){let t={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new It(n.from,n.to,ue.fromJSON(t,n.slice),!!n.structure)}}Gt.jsonID("replace",It);class Wt extends Gt{constructor(t,n,i,r,a,o,s=!1){super(),this.from=t,this.to=n,this.gapFrom=i,this.gapTo=r,this.slice=a,this.insert=o,this.structure=s}apply(t){if(this.structure&&(tp(t,this.from,this.gapFrom)||tp(t,this.gapTo,this.to)))return xt.fail("Structure gap-replace would overwrite content");let n=t.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return xt.fail("Gap is not a flat range");let i=this.slice.insertAt(this.insert,n.content);return i?xt.fromReplace(t,this.from,this.to,i):xt.fail("Content does not fit in gap")}getMap(){return new Ln([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let n=this.gapTo-this.gapFrom;return new Wt(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let n=t.mapResult(this.from,1),i=t.mapResult(this.to,-1),r=this.from==this.gapFrom?n.pos:t.map(this.gapFrom,-1),a=this.to==this.gapTo?i.pos:t.map(this.gapTo,1);return n.deletedAcross&&i.deletedAcross||r<n.pos||a>i.pos?null:new Wt(n.pos,i.pos,r,a,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Wt(n.from,n.to,n.gapFrom,n.gapTo,ue.fromJSON(t,n.slice),n.insert,!!n.structure)}}Gt.jsonID("replaceAround",Wt);function tp(e,t,n){let i=e.resolve(t),r=n-t,a=i.depth;for(;r>0&&a>0&&i.indexAfter(a)==i.node(a).childCount;)a--,r--;if(r>0){let o=i.node(a).maybeChild(i.indexAfter(a));for(;r>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,r--}}return!1}function VCe(e,t,n,i){let r=[],a=[],o,s;e.doc.nodesBetween(t,n,(u,c,f)=>{if(!u.isInline)return;let h=u.marks;if(!i.isInSet(h)&&f.type.allowsMarkType(i.type)){let g=Math.max(c,t),p=Math.min(c+u.nodeSize,n),y=i.addToSet(h);for(let v=0;v<h.length;v++)h[v].isInSet(y)||(o&&o.to==g&&o.mark.eq(h[v])?o.to=p:r.push(o=new Si(g,p,h[v])));s&&s.to==g?s.to=p:a.push(s=new Vr(g,p,i))}}),r.forEach(u=>e.step(u)),a.forEach(u=>e.step(u))}function FCe(e,t,n,i){let r=[],a=0;e.doc.nodesBetween(t,n,(o,s)=>{if(!o.isInline)return;a++;let u=null;if(i instanceof sc){let c=o.marks,f;for(;f=i.isInSet(c);)(u||(u=[])).push(f),c=f.removeFromSet(c)}else i?i.isInSet(o.marks)&&(u=[i]):u=o.marks;if(u&&u.length){let c=Math.min(s+o.nodeSize,n);for(let f=0;f<u.length;f++){let h=u[f],g;for(let p=0;p<r.length;p++){let y=r[p];y.step==a-1&&h.eq(r[p].style)&&(g=y)}g?(g.to=c,g.step=a):r.push({style:h,from:Math.max(s,t),to:c,step:a})}}}),r.forEach(o=>e.step(new Si(o.from,o.to,o.style)))}function np(e,t,n,i=n.contentMatch,r=!0){let a=e.doc.nodeAt(t),o=[],s=t+1;for(let u=0;u<a.childCount;u++){let c=a.child(u),f=s+c.nodeSize,h=i.matchType(c.type);if(!h)o.push(new It(s,f,ue.empty));else{i=h;for(let g=0;g<c.marks.length;g++)n.allowsMarkType(c.marks[g].type)||e.step(new Si(s,f,c.marks[g]));if(r&&c.isText&&n.whitespace!="pre"){let g,p=/\r?\n|\r/g,y;for(;g=p.exec(c.text);)y||(y=new ue(ne.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),o.push(new It(s+g.index,s+g.index+g[0].length,y))}}s=f}if(!i.validEnd){let u=i.fillBefore(ne.empty,!0);e.replace(s,s,new ue(u,0,0))}for(let u=o.length-1;u>=0;u--)e.step(o[u])}function UCe(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function Qo(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let i=e.depth;;--i){let r=e.$from.node(i),a=e.$from.index(i),o=e.$to.indexAfter(i);if(i<e.depth&&r.canReplace(a,o,n))return i;if(i==0||r.type.spec.isolating||!UCe(r,a,o))break}return null}function YCe(e,t,n){let{$from:i,$to:r,depth:a}=t,o=i.before(a+1),s=r.after(a+1),u=o,c=s,f=ne.empty,h=0;for(let y=a,v=!1;y>n;y--)v||i.index(y)>0?(v=!0,f=ne.from(i.node(y).copy(f)),h++):u--;let g=ne.empty,p=0;for(let y=a,v=!1;y>n;y--)v||r.after(y+1)<r.end(y)?(v=!0,g=ne.from(r.node(y).copy(g)),p++):c++;e.step(new Wt(u,c,o,s,new ue(f.append(g),h,p),f.size-h,!0))}function ip(e,t,n=null,i=e){let r=XCe(e,t),a=r&&qCe(i,t);return a?r.map(s4).concat({type:t,attrs:n}).concat(a.map(s4)):null}function s4(e){return{type:e,attrs:null}}function XCe(e,t){let{parent:n,startIndex:i,endIndex:r}=e,a=n.contentMatchAt(i).findWrapping(t);if(!a)return null;let o=a.length?a[0]:t;return n.canReplaceWith(i,r,o)?a:null}function qCe(e,t){let{parent:n,startIndex:i,endIndex:r}=e,a=n.child(i),o=t.contentMatch.findWrapping(a.type);if(!o)return null;let u=(o.length?o[o.length-1]:t).contentMatch;for(let c=i;u&&c<r;c++)u=u.matchType(n.child(c).type);return!u||!u.validEnd?null:o}function GCe(e,t,n){let i=ne.empty;for(let o=n.length-1;o>=0;o--){if(i.size){let s=n[o].type.contentMatch.matchFragment(i);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=ne.from(n[o].type.create(n[o].attrs,i))}let r=t.start,a=t.end;e.step(new Wt(r,a,r,a,new ue(i,0,0),n.length,!0))}function KCe(e,t,n,i,r){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let a=e.steps.length;e.doc.nodesBetween(t,n,(o,s)=>{let u=typeof r=="function"?r(o):r;if(o.isTextblock&&!o.hasMarkup(i,u)&&QCe(e.doc,e.mapping.slice(a).map(s),i)){let c=null;if(i.schema.linebreakReplacement){let p=i.whitespace=="pre",y=!!i.contentMatch.matchType(i.schema.linebreakReplacement);p&&!y?c=!1:!p&&y&&(c=!0)}c===!1&&u4(e,o,s,a),np(e,e.mapping.slice(a).map(s,1),i,void 0,c===null);let f=e.mapping.slice(a),h=f.map(s,1),g=f.map(s+o.nodeSize,1);return e.step(new Wt(h,g,h+1,g-1,new ue(ne.from(i.create(u,null,o.marks)),0,0),1,!0)),c===!0&&l4(e,o,s,a),!1}})}function l4(e,t,n,i){t.forEach((r,a)=>{if(r.isText){let o,s=/\r?\n|\r/g;for(;o=s.exec(r.text);){let u=e.mapping.slice(i).map(n+1+a+o.index);e.replaceWith(u,u+1,t.type.schema.linebreakReplacement.create())}}})}function u4(e,t,n,i){t.forEach((r,a)=>{if(r.type==r.type.schema.linebreakReplacement){let o=e.mapping.slice(i).map(n+1+a);e.replaceWith(o,o+1,t.type.schema.text(`
|
|
@@ -1409,4 +1409,4 @@ img.ProseMirror-separator {
|
|
|
1409
1409
|
`,XPe="️",qPe="",gg="";let mf=null,pf=null;function GPe(e=[]){const t={};Tn.groups=t;const n=new Tn;mf==null&&(mf=L6(RPe)),pf==null&&(pf=L6(BPe)),ie(n,"'",tf),ie(n,"{",Gl),ie(n,"}",Kl),ie(n,"[",Hc),ie(n,"]",Rc),ie(n,"(",Bc),ie(n,")",Vc),ie(n,"<",Fc),ie(n,">",Uc),ie(n,"(",Yc),ie(n,")",Xc),ie(n,"「",qc),ie(n,"」",Gc),ie(n,"『",Kc),ie(n,"』",Qc),ie(n,"<",Jc),ie(n,">",Zc),ie(n,"&",ef),ie(n,"*",nf),ie(n,"@",na),ie(n,"`",af),ie(n,"^",of),ie(n,":",ia),ie(n,",",ug),ie(n,"$",sf),ie(n,".",Ui),ie(n,"=",lf),ie(n,"!",dg),ie(n,"-",ti),ie(n,"%",Ql),ie(n,"|",uf),ie(n,"+",df),ie(n,"#",cf),ie(n,"?",Jl),ie(n,'"',cg),ie(n,"/",Yi),ie(n,";",fg),ie(n,"~",Zl),ie(n,"_",ff),ie(n,"\\",rf),ie(n,"・",j6);const i=mt(n,hr,og,{[Jp]:!0});mt(i,hr,i);const r=mt(i,fr,D6,{[Yl]:!0}),a=mt(i,eu,N6,{[Xl]:!0}),o=mt(n,fr,cr,{[Zp]:!0});mt(o,hr,r),mt(o,fr,o),mt(r,hr,r),mt(r,fr,r);const s=mt(n,eu,ig,{[eg]:!0});mt(s,fr),mt(s,hr,a),mt(s,eu,s),mt(a,hr,a),mt(a,fr),mt(a,eu,a);const u=ie(n,pg,lg,{[ng]:!0}),c=ie(n,O6,sg,{[ng]:!0}),f=mt(n,mg,sg,{[ng]:!0});ie(n,gg,f),ie(c,pg,u),ie(c,gg,f),mt(c,mg,f),ie(f,O6),ie(f,pg),mt(f,mg,f),ie(f,gg,f);const h=mt(n,hg,I6,{[E6]:!0});ie(h,"#"),mt(h,hg,h),ie(h,XPe,h);const g=ie(h,qPe);ie(g,"#"),mt(g,hg,h);const p=[[fr,o],[hr,r]],y=[[fr,null],[eu,s],[hr,a]];for(let v=0;v<mf.length;v++)ra(n,mf[v],rg,cr,p);for(let v=0;v<pf.length;v++)ra(n,pf[v],ag,ig,y);ro(rg,{tld:!0,ascii:!0},t),ro(ag,{utld:!0,alpha:!0},t),ra(n,"file",$c,cr,p),ra(n,"mailto",$c,cr,p),ra(n,"http",hs,cr,p),ra(n,"https",hs,cr,p),ra(n,"ftp",hs,cr,p),ra(n,"ftps",hs,cr,p),ro($c,{scheme:!0,ascii:!0},t),ro(hs,{slashscheme:!0,ascii:!0},t),e=e.sort((v,k)=>v[0]>k[0]?1:-1);for(let v=0;v<e.length;v++){const k=e[v][0],M=e[v][1]?{[VPe]:!0}:{[FPe]:!0};k.indexOf("-")>=0?M[tg]=!0:fr.test(k)?hr.test(k)?M[Yl]=!0:M[Zp]=!0:M[Jp]=!0,A6(n,k,k,M)}return A6(n,"localhost",ql,{ascii:!0}),n.jd=new Tn(hf),{start:n,tokens:Object.assign({groups:t},W6)}}function z6(e,t){const n=KPe(t.replace(/[A-Z]/g,s=>s.toLowerCase())),i=n.length,r=[];let a=0,o=0;for(;o<i;){let s=e,u=null,c=0,f=null,h=-1,g=-1;for(;o<i&&(u=s.go(n[o]));)s=u,s.accepts()?(h=0,g=0,f=s):h>=0&&(h+=n[o].length,g++),c+=n[o].length,a+=n[o].length,o++;a-=h,o-=g,c-=h,r.push({t:f.t,v:t.slice(a-c,a),s:a-c,e:a})}return r}function KPe(e){const t=[],n=e.length;let i=0;for(;i<n;){let r=e.charCodeAt(i),a,o=r<55296||r>56319||i+1===n||(a=e.charCodeAt(i+1))<56320||a>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}function ra(e,t,n,i,r){let a;const o=t.length;for(let s=0;s<o-1;s++){const u=t[s];e.j[u]?a=e.j[u]:(a=new Tn(i),a.jr=r.slice(),e.j[u]=a),e=a}return a=new Tn(n),a.jr=r.slice(),e.j[t[o-1]]=a,a}function L6(e){const t=[],n=[];let i=0,r="0123456789";for(;i<e.length;){let a=0;for(;r.indexOf(e[i+a])>=0;)a++;if(a>0){t.push(n.join(""));for(let o=parseInt(e.substring(i,i+a),10);o>0;o--)n.pop();i+=a}else n.push(e[i]),i++}return t}const tu={defaultProtocol:"http",events:null,format:$6,formatHref:$6,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function yg(e,t=null){let n=Object.assign({},tu);e&&(n=Object.assign(n,e instanceof yg?e.o:e));const i=n.ignoreTags,r=[];for(let a=0;a<i.length;a++)r.push(i[a].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=r}yg.prototype={o:tu,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const i=t!=null;let r=this.o[e];return r&&(typeof r=="object"?(r=n.t in r?r[n.t]:tu[e],typeof r=="function"&&i&&(r=r(t,n))):typeof r=="function"&&i&&(r=r(t,n.t,n)),r)},getObj(e,t,n){let i=this.o[e];return typeof i=="function"&&t!=null&&(i=i(t,n.t,n)),i},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function $6(e){return e}function H6(e,t){this.t="token",this.v=e,this.tk=t}H6.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=tu.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",n,this),r=e.get("tagName",n,t),a=this.toFormattedString(e),o={},s=e.get("className",n,t),u=e.get("target",n,t),c=e.get("rel",n,t),f=e.getObj("attributes",n,t),h=e.getObj("events",n,t);return o.href=i,s&&(o.class=s),u&&(o.target=u),c&&(o.rel=c),f&&Object.assign(o,f),{tagName:r,attributes:o,content:a,eventListeners:h}}};function gf(e,t){class n extends H6{constructor(r,a){super(r,a),this.t=e}}for(const i in t)n.prototype[i]=t[i];return n.t=e,n}const R6=gf("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),B6=gf("text"),QPe=gf("nl"),yf=gf("url",{isLink:!0,toHref(e=tu.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==ql&&e[1].t===ia}}),ni=e=>new Tn(e);function JPe({groups:e}){const t=e.domain.concat([ef,nf,na,rf,af,of,sf,lf,ti,og,Ql,uf,df,cf,Yi,hf,Zl,ff]),n=[tf,ia,ug,Ui,dg,Ql,Jl,cg,fg,Fc,Uc,Gl,Kl,Rc,Hc,Bc,Vc,Yc,Xc,qc,Gc,Kc,Qc,Jc,Zc],i=[ef,tf,nf,rf,af,of,sf,lf,ti,Gl,Kl,Ql,uf,df,cf,Jl,Yi,hf,Zl,ff],r=ni(),a=ie(r,Zl);Ee(a,i,a),Ee(a,e.domain,a);const o=ni(),s=ni(),u=ni();Ee(r,e.domain,o),Ee(r,e.scheme,s),Ee(r,e.slashscheme,u),Ee(o,i,a),Ee(o,e.domain,o);const c=ie(o,na);ie(a,na,c),ie(s,na,c),ie(u,na,c);const f=ie(a,Ui);Ee(f,i,a),Ee(f,e.domain,a);const h=ni();Ee(c,e.domain,h),Ee(h,e.domain,h);const g=ie(h,Ui);Ee(g,e.domain,h);const p=ni(R6);Ee(g,e.tld,p),Ee(g,e.utld,p),ie(c,ql,p);const y=ie(h,ti);ie(y,ti,y),Ee(y,e.domain,h),Ee(p,e.domain,h),ie(p,Ui,g),ie(p,ti,y);const v=ie(p,ia);Ee(v,e.numeric,R6);const k=ie(o,ti),w=ie(o,Ui);ie(k,ti,k),Ee(k,e.domain,o),Ee(w,i,a),Ee(w,e.domain,o);const M=ni(yf);Ee(w,e.tld,M),Ee(w,e.utld,M),Ee(M,e.domain,o),Ee(M,i,a),ie(M,Ui,w),ie(M,ti,k),ie(M,na,c);const x=ie(M,ia),_=ni(yf);Ee(x,e.numeric,_);const S=ni(yf),N=ni();Ee(S,t,S),Ee(S,n,N),Ee(N,t,S),Ee(N,n,N),ie(M,Yi,S),ie(_,Yi,S);const T=ie(s,ia),I=ie(u,ia),L=ie(I,Yi),D=ie(L,Yi);Ee(s,e.domain,o),ie(s,Ui,w),ie(s,ti,k),Ee(u,e.domain,o),ie(u,Ui,w),ie(u,ti,k),Ee(T,e.domain,S),ie(T,Yi,S),ie(T,Jl,S),Ee(D,e.domain,S),Ee(D,t,S),ie(D,Yi,S);const z=[[Gl,Kl],[Hc,Rc],[Bc,Vc],[Fc,Uc],[Yc,Xc],[qc,Gc],[Kc,Qc],[Jc,Zc]];for(let H=0;H<z.length;H++){const[X,re]=z[H],ee=ie(S,X);ie(N,X,ee),ie(ee,re,S);const q=ni(yf);Ee(ee,t,q);const Z=ni();Ee(ee,n),Ee(q,t,q),Ee(q,n,Z),Ee(Z,t,q),Ee(Z,n,Z),ie(q,re,S),ie(Z,re,S)}return ie(r,ql,M),ie(r,lg,QPe),{start:r,tokens:W6}}function ZPe(e,t,n){let i=n.length,r=0,a=[],o=[];for(;r<i;){let s=e,u=null,c=null,f=0,h=null,g=-1;for(;r<i&&!(u=s.go(n[r].t));)o.push(n[r++]);for(;r<i&&(c=u||s.go(n[r].t));)u=null,s=c,s.accepts()?(g=0,h=s):g>=0&&g++,r++,f++;if(g<0)r-=f,r<i&&(o.push(n[r]),r++);else{o.length>0&&(a.push(bg(B6,t,o)),o=[]),r-=g,f-=g;const p=h.t,y=n.slice(r-f,r);a.push(bg(p,t,y))}}return o.length>0&&a.push(bg(B6,t,o)),a}function bg(e,t,n){const i=n[0].s,r=n[n.length-1].e,a=t.slice(i,r);return new e(a,n)}const eEe=typeof console<"u"&&console&&console.warn||(()=>{}),tEe="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",et={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function nEe(){return Tn.groups={},et.scanner=null,et.parser=null,et.tokenQueue=[],et.pluginQueue=[],et.customSchemes=[],et.initialized=!1,et}function V6(e,t=!1){if(et.initialized&&eEe(`linkifyjs: already initialized - will not register custom scheme "${e}" ${tEe}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error(`linkifyjs: incorrect scheme format.
|
|
1410
1410
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
1411
1411
|
2. Cannot start or end with "-"
|
|
1412
|
-
3. "-" cannot repeat`);et.customSchemes.push([e,t])}function iEe(){et.scanner=GPe(et.customSchemes);for(let e=0;e<et.tokenQueue.length;e++)et.tokenQueue[e][1]({scanner:et.scanner});et.parser=JPe(et.scanner.tokens);for(let e=0;e<et.pluginQueue.length;e++)et.pluginQueue[e][1]({scanner:et.scanner,parser:et.parser});return et.initialized=!0,et}function wg(e){return et.initialized||iEe(),ZPe(et.parser.start,e,z6(et.scanner.start,e))}wg.scan=z6;function F6(e,t=null,n=null){if(t&&typeof t=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const i=new yg(n),r=wg(e),a=[];for(let o=0;o<r.length;o++){const s=r[o];s.isLink&&(!t||s.t===t)&&i.check(s)&&a.push(s.toFormattedObject(i))}return a}var vg="[\0- -\u2029 ]",rEe=new RegExp(vg),aEe=new RegExp(`${vg}$`),oEe=new RegExp(vg,"g");function sEe(e){return e.length===1?e[0].isLink:e.length===3&&e[1].isLink?["()","[]"].includes(e[0].value+e[2].value):!1}function lEe(e){return new ft({key:new Ot("autolink"),appendTransaction:(t,n,i)=>{const r=t.some(c=>c.docChanged)&&!n.doc.eq(i.doc),a=t.some(c=>c.getMeta("preventAutolink"));if(!r||a)return;const{tr:o}=i,s=Xk(n.doc,[...t]);if(r6(s).forEach(({newRange:c})=>{const f=A_e(i.doc,c,p=>p.isTextblock);let h,g;if(f.length>1)h=f[0],g=i.doc.textBetween(h.pos,h.pos+h.node.nodeSize,void 0," ");else if(f.length){const p=i.doc.textBetween(c.from,c.to," "," ");if(!aEe.test(p))return;h=f[0],g=i.doc.textBetween(h.pos,c.to,void 0," ")}if(h&&g){const p=g.split(rEe).filter(Boolean);if(p.length<=0)return!1;const y=p[p.length-1],v=h.pos+g.lastIndexOf(y);if(!y)return!1;const k=wg(y).map(w=>w.toObject(e.defaultProtocol));if(!sEe(k))return!1;k.filter(w=>w.isLink).map(w=>({...w,from:v+w.start+1,to:v+w.end+1})).filter(w=>i.schema.marks.code?!i.doc.rangeHasMark(w.from,w.to,i.schema.marks.code):!0).filter(w=>e.validate(w.value)).filter(w=>e.shouldAutoLink(w.value)).forEach(w=>{Fp(w.from,w.to,i.doc).some(M=>M.mark.type===e.type)||o.addMark(w.from,w.to,e.type.create({href:w.href}))})}}),!!o.steps.length)return o}})}function uEe(e){return new ft({key:new Ot("handleClickLink"),props:{handleClick:(t,n,i)=>{var r,a;if(i.button!==0||!t.editable)return!1;let o=null;if(i.target instanceof HTMLAnchorElement)o=i.target;else{let f=i.target;const h=[];for(;f.nodeName!=="DIV";)h.push(f),f=f.parentNode;o=h.find(g=>g.nodeName==="A")}if(!o)return!1;const s=i6(t.state,e.type.name),u=(r=o==null?void 0:o.href)!=null?r:s.href,c=(a=o==null?void 0:o.target)!=null?a:s.target;return e.enableClickSelection&&e.editor.commands.extendMarkRange(e.type.name),o&&u?(window.open(u,c),!0):!1}}})}function dEe(e){return new ft({key:new Ot("handlePasteLink"),props:{handlePaste:(t,n,i)=>{const{state:r}=t,{selection:a}=r,{empty:o}=a;if(o)return!1;let s="";i.content.forEach(c=>{s+=c.textContent});const u=F6(s,{defaultProtocol:e.defaultProtocol}).find(c=>c.isLink&&c.value===s);return!s||!u?!1:e.editor.commands.setMark(e.type,{href:u.href})}}})}function ao(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(i=>{const r=typeof i=="string"?i:i.scheme;r&&n.push(r)}),!e||e.replace(oEe,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var U6=no.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{if(typeof e=="string"){V6(e);return}V6(e.scheme,e.optionalSlashes)})},onDestroy(){nEe()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!ao(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!t||!this.options.isAllowedUri(t,{defaultValidate:n=>!!ao(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:t=>!!ao(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",ht(this.options.HTMLAttributes,e),0]:["a",ht(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:i=>!!ao(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().setMark(this.name,e).setMeta("preventAutolink",!0).run():!1},toggleLink:e=>({chain:t})=>{const{href:n}=e||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:i=>!!ao(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[io({find:e=>{const t=[];if(e){const{protocols:n,defaultProtocol:i}=this.options,r=F6(e).filter(a=>a.isLink&&this.options.isAllowedUri(a.value,{defaultValidate:o=>!!ao(o,n),protocols:n,defaultProtocol:i}));r.length&&r.forEach(a=>t.push({text:a.value,data:{href:a.href},index:a.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:(t=e.data)==null?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(lEe({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:i=>this.options.isAllowedUri(i,{defaultValidate:r=>!!ao(r,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&e.push(uEe({type:this.type,editor:this.editor,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&e.push(dEe({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}}),cEe=U6,fEe=Object.defineProperty,hEe=(e,t)=>{for(var n in t)fEe(e,n,{get:t[n],enumerable:!0})},mEe="listItem",Y6="textStyle",X6=/^\s*([-+*])\s$/,q6=gn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:e}){return["ul",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(mEe,this.editor.getAttributes(Y6)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=fs({find:X6,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=fs({find:X6,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Y6),editor:this.editor})),[e]}}),G6=gn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",ht(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),pEe={};hEe(pEe,{findListItemPos:()=>nu,getNextListDepth:()=>kg,handleBackspace:()=>Mg,handleDelete:()=>Cg,hasListBefore:()=>K6,hasListItemAfter:()=>gEe,hasListItemBefore:()=>Q6,listItemHasSubList:()=>J6,nextListIsDeeper:()=>Z6,nextListIsHigher:()=>e5});var nu=(e,t)=>{const{$from:n}=t.selection,i=St(e,t.schema);let r=null,a=n.depth,o=n.pos,s=null;for(;a>0&&s===null;)r=n.node(a),r.type===i?s=a:(a-=1,o-=1);return s===null?null:{$pos:t.doc.resolve(o),depth:s}},kg=(e,t)=>{const n=nu(e,t);if(!n)return!1;const[,i]=H_e(t,e,n.$pos.pos+4);return i},K6=(e,t,n)=>{const{$anchor:i}=e.selection,r=Math.max(0,i.pos-2),a=e.doc.resolve(r).node();return!(!a||!n.includes(a.type.name))},Q6=(e,t)=>{var n;const{$anchor:i}=t.selection,r=t.doc.resolve(i.pos-2);return!(r.index()===0||((n=r.nodeBefore)==null?void 0:n.type.name)!==e)},J6=(e,t,n)=>{if(!n)return!1;const i=St(e,t.schema);let r=!1;return n.descendants(a=>{a.type===i&&(r=!0)}),r},Mg=(e,t,n)=>{if(e.commands.undoInputRule())return!0;if(e.state.selection.from!==e.state.selection.to)return!1;if(!ta(e.state,t)&&K6(e.state,t,n)){const{$anchor:s}=e.state.selection,u=e.state.doc.resolve(s.before()-1),c=[];u.node().descendants((g,p)=>{g.type.name===t&&c.push({node:g,pos:p})});const f=c.at(-1);if(!f)return!1;const h=e.state.doc.resolve(u.start()+f.pos+1);return e.chain().cut({from:s.start()-1,to:s.end()+1},h.end()).joinForward().run()}if(!ta(e.state,t)||!F_e(e.state))return!1;const i=nu(t,e.state);if(!i)return!1;const a=e.state.doc.resolve(i.$pos.pos-2).node(i.depth),o=J6(t,e.state,a);return Q6(t,e.state)&&!o?e.commands.joinItemBackward():e.chain().liftListItem(t).run()},Z6=(e,t)=>{const n=kg(e,t),i=nu(e,t);return!i||!n?!1:n>i.depth},e5=(e,t)=>{const n=kg(e,t),i=nu(e,t);return!i||!n?!1:n<i.depth},Cg=(e,t)=>{if(!ta(e.state,t)||!V_e(e.state,t))return!1;const{selection:n}=e.state,{$from:i,$to:r}=n;return!n.empty&&i.sameParent(r)?!1:Z6(t,e.state)?e.chain().focus(e.state.selection.from+4).lift(t).joinBackward().run():e5(t,e.state)?e.chain().joinForward().joinBackward().run():e.commands.joinItemForward()},gEe=(e,t)=>{var n;const{$anchor:i}=t.selection,r=t.doc.resolve(i.pos-i.parentOffset-2);return!(r.index()===r.parent.childCount-1||((n=r.nodeAfter)==null?void 0:n.type.name)!==e)},t5=_t.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&Cg(e,n)&&(t=!0)}),t},"Mod-Delete":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&Cg(e,n)&&(t=!0)}),t},Backspace:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:i})=>{e.state.schema.nodes[n]!==void 0&&Mg(e,n,i)&&(t=!0)}),t},"Mod-Backspace":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:i})=>{e.state.schema.nodes[n]!==void 0&&Mg(e,n,i)&&(t=!0)}),t}}}}),yEe="listItem",n5="textStyle",i5=/^(\d+)\.\s$/,r5=gn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return t===1?["ol",ht(this.options.HTMLAttributes,n),0]:["ol",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(yEe,this.editor.getAttributes(n5)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=fs({find:i5,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=fs({find:i5,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(n5)}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1],editor:this.editor})),[e]}}),bEe=/^\s*(\[([( |x])?\])\s$/,wEe=gn.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{const t=e.getAttribute("data-checked");return t===""||t==="true"},renderHTML:e=>({"data-checked":e.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",ht(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:i})=>{const r=document.createElement("li"),a=document.createElement("label"),o=document.createElement("span"),s=document.createElement("input"),u=document.createElement("div"),c=f=>{var h,g;s.ariaLabel=((g=(h=this.options.a11y)==null?void 0:h.checkboxLabel)==null?void 0:g.call(h,f,s.checked))||`Task item checkbox for ${f.textContent||"empty task item"}`};return c(e),a.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",f=>f.preventDefault()),s.addEventListener("change",f=>{if(!i.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}const{checked:h}=f.target;i.isEditable&&typeof n=="function"&&i.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:g})=>{const p=n();if(typeof p!="number")return!1;const y=g.doc.nodeAt(p);return g.setNodeMarkup(p,void 0,{...y==null?void 0:y.attrs,checked:h}),!0}).run(),!i.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,h)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([f,h])=>{r.setAttribute(f,h)}),r.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,a.append(s,o),r.append(a,u),Object.entries(t).forEach(([f,h])=>{r.setAttribute(f,h)}),{dom:r,contentDOM:u,update:f=>f.type!==this.type?!1:(r.dataset.checked=f.attrs.checked,s.checked=f.attrs.checked,c(f),!0)}}},addInputRules(){return[fs({find:bEe,type:this.type,getAttributes:e=>({checked:e[e.length-1]==="x"})})]}}),vEe=gn.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",ht(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});_t.create({name:"listKit",addExtensions(){const e=[];return this.options.bulletList!==!1&&e.push(q6.configure(this.options.bulletList)),this.options.listItem!==!1&&e.push(G6.configure(this.options.listItem)),this.options.listKeymap!==!1&&e.push(t5.configure(this.options.listKeymap)),this.options.orderedList!==!1&&e.push(r5.configure(this.options.orderedList)),this.options.taskItem!==!1&&e.push(wEe.configure(this.options.taskItem)),this.options.taskList!==!1&&e.push(vEe.configure(this.options.taskList)),e}});var kEe=gn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:e}){return["p",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),MEe=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,CEe=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,xEe=no.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["s",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[cs({find:MEe,type:this.type})]},addPasteRules(){return[io({find:CEe,type:this.type})]}}),SEe=gn.create({name:"text",group:"inline"}),_Ee=no.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function TEe(e={}){return new ft({view(t){return new PEe(t,e)}})}class PEe{constructor(t,n){var i;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(i=n.width)!==null&&i!==void 0?i:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let a=o=>{this[r](o)};return t.dom.addEventListener(r,a),{name:r,handler:a}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,i,r=this.editorView.dom,a=r.getBoundingClientRect(),o=a.width/r.offsetWidth,s=a.height/r.offsetHeight;if(n){let h=t.nodeBefore,g=t.nodeAfter;if(h||g){let p=this.editorView.nodeDOM(this.cursorPos-(h?h.nodeSize:0));if(p){let y=p.getBoundingClientRect(),v=h?y.bottom:y.top;h&&g&&(v=(v+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let k=this.width/2*s;i={left:y.left,right:y.right,top:v-k,bottom:v+k}}}}if(!i){let h=this.editorView.coordsAtPos(this.cursorPos),g=this.width/2*o;i={left:h.left-g,right:h.left+g,top:h.top,bottom:h.bottom}}let u=this.editorView.dom.offsetParent;this.element||(this.element=u.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let c,f;if(!u||u==document.body&&getComputedStyle(u).position=="static")c=-pageXOffset,f=-pageYOffset;else{let h=u.getBoundingClientRect(),g=h.width/u.offsetWidth,p=h.height/u.offsetHeight;c=h.left-u.scrollLeft*g,f=h.top-u.scrollTop*p}this.element.style.left=(i.left-c)/o+"px",this.element.style.top=(i.top-f)/s+"px",this.element.style.width=(i.right-i.left)/o+"px",this.element.style.height=(i.bottom-i.top)/s+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),i=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),r=i&&i.type.spec.disableDropCursor,a=typeof r=="function"?r(this.editorView,n,t):r;if(n&&!a){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=c4(this.editorView.state.doc,o,this.editorView.dragging.slice);s!=null&&(o=s)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){this.editorView.dom.contains(t.relatedTarget)||this.setCursor(null)}}class pt extends Pe{constructor(t){super(t,t)}map(t,n){let i=t.resolve(n.map(this.head));return pt.valid(i)?new pt(i):Pe.near(i)}content(){return ue.empty}eq(t){return t instanceof pt&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new pt(t.resolve(n.pos))}getBookmark(){return new xg(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!EEe(t)||!AEe(t))return!1;let i=n.type.spec.allowGapCursor;if(i!=null)return i;let r=n.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,n,i=!1){e:for(;;){if(!i&&pt.valid(t))return t;let r=t.pos,a=null;for(let o=t.depth;;o--){let s=t.node(o);if(n>0?t.indexAfter(o)<s.childCount:t.index(o)>0){a=s.child(n>0?t.indexAfter(o):t.index(o)-1);break}else if(o==0)return null;r+=n;let u=t.doc.resolve(r);if(pt.valid(u))return u}for(;;){let o=n>0?a.firstChild:a.lastChild;if(!o){if(a.isAtom&&!a.isText&&!be.isSelectable(a)){t=t.doc.resolve(r+a.nodeSize*n),i=!1;continue e}break}a=o,r+=n;let s=t.doc.resolve(r);if(pt.valid(s))return s}return null}}}pt.prototype.visible=!1,pt.findFrom=pt.findGapCursorFrom,Pe.jsonID("gapcursor",pt);class xg{constructor(t){this.pos=t}map(t){return new xg(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return pt.valid(n)?new pt(n):Pe.near(n)}}function EEe(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),i=e.node(t);if(n==0){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n-1);;r=r.lastChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function AEe(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),i=e.node(t);if(n==i.childCount){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n);;r=r.firstChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function DEe(){return new ft({props:{decorations:WEe,createSelectionBetween(e,t,n){return t.pos==n.pos&&pt.valid(n)?new pt(n):null},handleClick:jEe,handleKeyDown:NEe,handleDOMEvents:{beforeinput:IEe}}})}const NEe=Lk({ArrowLeft:bf("horiz",-1),ArrowRight:bf("horiz",1),ArrowUp:bf("vert",-1),ArrowDown:bf("vert",1)});function bf(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(i,r,a){let o=i.selection,s=t>0?o.$to:o.$from,u=o.empty;if(o instanceof Ce){if(!a.endOfTextblock(n)||s.depth==0)return!1;u=!1,s=i.doc.resolve(t>0?s.after():s.before())}let c=pt.findGapCursorFrom(s,t,u);return c?(r&&r(i.tr.setSelection(new pt(c))),!0):!1}}function jEe(e,t,n){if(!e||!e.editable)return!1;let i=e.state.doc.resolve(t);if(!pt.valid(i))return!1;let r=e.posAtCoords({left:n.clientX,top:n.clientY});return r&&r.inside>-1&&be.isSelectable(e.state.doc.nodeAt(r.inside))?!1:(e.dispatch(e.state.tr.setSelection(new pt(i))),!0)}function IEe(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof pt))return!1;let{$from:n}=e.state.selection,i=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!i)return!1;let r=ne.empty;for(let o=i.length-1;o>=0;o--)r=ne.from(i[o].createAndFill(null,r));let a=e.state.tr.replace(n.pos,n.pos,new ue(r,0,0));return a.setSelection(Ce.near(a.doc.resolve(n.pos+1))),e.dispatch(a),!1}function WEe(e){if(!(e.selection instanceof pt))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",ut.create(e.doc,[pn.widget(e.selection.head,t,{key:"gapcursor"})])}var wf=200,zt=function(){};zt.prototype.append=function(t){return t.length?(t=zt.from(t),!this.length&&t||t.length<wf&&this.leafAppend(t)||this.length<wf&&t.leafPrepend(this)||this.appendInner(t)):this},zt.prototype.prepend=function(t){return t.length?zt.from(t).append(this):this},zt.prototype.appendInner=function(t){return new OEe(this,t)},zt.prototype.slice=function(t,n){return t===void 0&&(t=0),n===void 0&&(n=this.length),t>=n?zt.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))},zt.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},zt.prototype.forEach=function(t,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length),n<=i?this.forEachInner(t,n,i,0):this.forEachInvertedInner(t,n,i,0)},zt.prototype.map=function(t,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length);var r=[];return this.forEach(function(a,o){return r.push(t(a,o))},n,i),r},zt.from=function(t){return t instanceof zt?t:t&&t.length?new a5(t):zt.empty};var a5=function(e){function t(i){e.call(this),this.values=i}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,a){return r==0&&a==this.length?this:new t(this.values.slice(r,a))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,a,o,s){for(var u=a;u<o;u++)if(r(this.values[u],s+u)===!1)return!1},t.prototype.forEachInvertedInner=function(r,a,o,s){for(var u=a-1;u>=o;u--)if(r(this.values[u],s+u)===!1)return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=wf)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=wf)return new t(r.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(zt);zt.empty=new a5([]);var OEe=function(e){function t(n,i){e.call(this),this.left=n,this.right=i,this.length=n.length+i.length,this.depth=Math.max(n.depth,i.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(i){return i<this.left.length?this.left.get(i):this.right.get(i-this.left.length)},t.prototype.forEachInner=function(i,r,a,o){var s=this.left.length;if(r<s&&this.left.forEachInner(i,r,Math.min(a,s),o)===!1||a>s&&this.right.forEachInner(i,Math.max(r-s,0),Math.min(this.length,a)-s,o+s)===!1)return!1},t.prototype.forEachInvertedInner=function(i,r,a,o){var s=this.left.length;if(r>s&&this.right.forEachInvertedInner(i,r-s,Math.max(a,s)-s,o+s)===!1||a<s&&this.left.forEachInvertedInner(i,Math.min(r,s),a,o)===!1)return!1},t.prototype.sliceInner=function(i,r){if(i==0&&r==this.length)return this;var a=this.left.length;return r<=a?this.left.slice(i,r):i>=a?this.right.slice(i-a,r-a):this.left.slice(i,a).append(this.right.slice(0,r-a))},t.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new t(r,this.right)},t.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new t(this.left,new t(this.right,i)):new t(this,i)},t}(zt);const zEe=500;class _i{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}let r,a;n&&(r=this.remapping(i,this.items.length),a=r.maps.length);let o=t.tr,s,u,c=[],f=[];return this.items.forEach((h,g)=>{if(!h.step){r||(r=this.remapping(i,g+1),a=r.maps.length),a--,f.push(h);return}if(r){f.push(new Xi(h.map));let p=h.step.map(r.slice(a)),y;p&&o.maybeStep(p).doc&&(y=o.mapping.maps[o.mapping.maps.length-1],c.push(new Xi(y,void 0,void 0,c.length+f.length))),a--,y&&r.appendMap(y,a)}else o.maybeStep(h.step);if(h.selection)return s=r?h.selection.map(r.slice(a)):h.selection,u=new _i(this.items.slice(0,i).append(f.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:o,selection:s}}addTransform(t,n,i,r){let a=[],o=this.eventCount,s=this.items,u=!r&&s.length?s.get(s.length-1):null;for(let f=0;f<t.steps.length;f++){let h=t.steps[f].invert(t.docs[f]),g=new Xi(t.mapping.maps[f],h,n),p;(p=u&&u.merge(g))&&(g=p,f?a.pop():s=s.slice(0,s.length-1)),a.push(g),n&&(o++,n=void 0),r||(u=g)}let c=o-i.depth;return c>$Ee&&(s=LEe(s,c),o-=c),new _i(s.append(a),o)}remapping(t,n){let i=new Al;return this.items.forEach((r,a)=>{let o=r.mirrorOffset!=null&&a-r.mirrorOffset>=t?i.maps.length-r.mirrorOffset:void 0;i.appendMap(r.map,o)},t,n),i}addMaps(t){return this.eventCount==0?this:new _i(this.items.append(t.map(n=>new Xi(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-n),a=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach(g=>{g.selection&&s--},r);let u=n;this.items.forEach(g=>{let p=a.getMirror(--u);if(p==null)return;o=Math.min(o,p);let y=a.maps[p];if(g.step){let v=t.steps[p].invert(t.docs[p]),k=g.selection&&g.selection.map(a.slice(u+1,p));k&&s++,i.push(new Xi(y,v,k))}else i.push(new Xi(y))},r);let c=[];for(let g=n;g<o;g++)c.push(new Xi(a.maps[g]));let f=this.items.slice(0,r).append(c).append(i),h=new _i(f,s);return h.emptyItemCount()>zEe&&(h=h.compress(this.items.length-i.length)),h}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),i=n.maps.length,r=[],a=0;return this.items.forEach((o,s)=>{if(s>=t)r.push(o),o.selection&&a++;else if(o.step){let u=o.step.map(n.slice(i)),c=u&&u.getMap();if(i--,c&&n.appendMap(c,i),u){let f=o.selection&&o.selection.map(n.slice(i));f&&a++;let h=new Xi(c.invert(),u,f),g,p=r.length-1;(g=r.length&&r[p].merge(h))?r[p]=g:r.push(h)}}else o.map&&i--},this.items.length,0),new _i(zt.from(r.reverse()),a)}}_i.empty=new _i(zt.empty,0);function LEe(e,t){let n;return e.forEach((i,r)=>{if(i.selection&&t--==0)return n=r,!1}),e.slice(n)}class Xi{constructor(t,n,i,r){this.map=t,this.step=n,this.selection=i,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Xi(n.getMap().invert(),n,this.selection)}}}class aa{constructor(t,n,i,r,a){this.done=t,this.undone=n,this.prevRanges=i,this.prevTime=r,this.prevComposition=a}}const $Ee=20;function HEe(e,t,n,i){let r=n.getMeta(oo),a;if(r)return r.historyState;n.getMeta(VEe)&&(e=new aa(e.done,e.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(o&&o.getMeta(oo))return o.getMeta(oo).redo?new aa(e.done.addTransform(n,void 0,i,vf(t)),e.undone,o5(n.mapping.maps),e.prevTime,e.prevComposition):new aa(e.done,e.undone.addTransform(n,void 0,i,vf(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),u=e.prevTime==0||!o&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-i.newGroupDelay||!REe(n,e.prevRanges)),c=o?Sg(e.prevRanges,n.mapping):o5(n.mapping.maps);return new aa(e.done.addTransform(n,u?t.selection.getBookmark():void 0,i,vf(t)),_i.empty,c,n.time,s??e.prevComposition)}else return(a=n.getMeta("rebased"))?new aa(e.done.rebased(n,a),e.undone.rebased(n,a),Sg(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new aa(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Sg(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function REe(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((i,r)=>{for(let a=0;a<t.length;a+=2)i<=t[a+1]&&r>=t[a]&&(n=!0)}),n}function o5(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((i,r,a,o)=>t.push(a,o));return t}function Sg(e,t){if(!e)return null;let n=[];for(let i=0;i<e.length;i+=2){let r=t.map(e[i],1),a=t.map(e[i+1],-1);r<=a&&n.push(r,a)}return n}function BEe(e,t,n){let i=vf(t),r=oo.get(t).spec.config,a=(n?e.undone:e.done).popEvent(t,i);if(!a)return null;let o=a.selection.resolve(a.transform.doc),s=(n?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),r,i),u=new aa(n?s:a.remaining,n?a.remaining:s,null,0,-1);return a.transform.setSelection(o).setMeta(oo,{redo:n,historyState:u})}let _g=!1,s5=null;function vf(e){let t=e.plugins;if(s5!=t){_g=!1,s5=t;for(let n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){_g=!0;break}}return _g}const oo=new Ot("history"),VEe=new Ot("closeHistory");function FEe(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new ft({key:oo,state:{init(){return new aa(_i.empty,_i.empty,null,0,-1)},apply(t,n,i){return HEe(n,i,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(t,n){let i=n.inputType,r=i=="historyUndo"?u5:i=="historyRedo"?d5:null;return r?(n.preventDefault(),r(t.state,t.dispatch)):!1}}}})}function l5(e,t){return(n,i)=>{let r=oo.getState(n);if(!r||(e?r.undone:r.done).eventCount==0)return!1;if(i){let a=BEe(r,n,e);a&&i(t?a.scrollIntoView():a)}return!0}}const u5=l5(!1,!0),d5=l5(!0,!0);_t.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:e=>e.length,wordCounter:e=>e.split(" ").filter(t=>t!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc;if(((e==null?void 0:e.mode)||this.options.mode)==="textSize"){const i=t.textBetween(0,t.content.size,void 0," ");return this.options.textCounter(i)}return t.nodeSize},this.storage.words=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc,n=t.textBetween(0,t.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new ft({key:new Ot("characterCount"),appendTransaction:(t,n,i)=>{if(e)return;const r=this.options.limit;if(r==null||r===0){e=!0;return}const a=this.storage.characters({node:i.doc});if(a>r){const o=a-r,s=0,u=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${r} characters. Content was automatically trimmed.`);const c=i.tr.deleteRange(s,u);return e=!0,c}e=!0},filterTransaction:(t,n)=>{const i=this.options.limit;if(!t.docChanged||i===0||i===null||i===void 0)return!0;const r=this.storage.characters({node:n.doc}),a=this.storage.characters({node:t.doc});if(a<=i||r>i&&a>i&&a<=r)return!0;if(r>i&&a>i&&a>r||!t.getMeta("paste"))return!1;const s=t.selection.$head.pos,u=a-i,c=s-u,f=s;return t.deleteRange(c,f),!(this.storage.characters({node:t.doc})>i)}})]}});var UEe=_t.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[TEe(this.options)]}});_t.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new ft({key:new Ot("focus"),props:{decorations:({doc:e,selection:t})=>{const{isEditable:n,isFocused:i}=this.editor,{anchor:r}=t,a=[];if(!n||!i)return ut.create(e,[]);let o=0;this.options.mode==="deepest"&&e.descendants((u,c)=>{if(u.isText)return;if(!(r>=c&&r<=c+u.nodeSize-1))return!1;o+=1});let s=0;return e.descendants((u,c)=>{if(u.isText||!(r>=c&&r<=c+u.nodeSize-1))return!1;if(s+=1,this.options.mode==="deepest"&&o-s>0||this.options.mode==="shallowest"&&s>1)return this.options.mode==="deepest";a.push(pn.node(c,c+u.nodeSize,{class:this.options.className}))}),ut.create(e,a)}}})]}});var YEe=_t.create({name:"gapCursor",addProseMirrorPlugins(){return[DEe()]},extendNodeSchema(e){var t;const n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:(t=Fe(ge(e,"allowGapCursor",n)))!=null?t:null}}}),XEe=_t.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new ft({key:new Ot("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=t,r=[];if(!n)return null;const a=this.editor.isEmpty;return e.descendants((o,s)=>{const u=i>=s&&i<=s+o.nodeSize,c=!o.isLeaf&&Nc(o);if((u||!this.options.showOnlyCurrent)&&c){const f=[this.options.emptyNodeClass];a&&f.push(this.options.emptyEditorClass);const h=pn.node(s,s+o.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:o,pos:s,hasAnchor:u}):this.options.placeholder});r.push(h)}return this.options.includeChildren}),ut.create(e,r)}}})]}});_t.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:e,options:t}=this;return[new ft({key:new Ot("selection"),props:{decorations(n){return n.selection.empty||e.isFocused||!e.isEditable||u6(n.selection)||e.view.dragging?null:ut.create(n.doc,[pn.inline(n.selection.from,n.selection.to,{class:t.className})])}}})]}});function c5({types:e,node:t}){return t&&Array.isArray(e)&&e.includes(t.type)||(t==null?void 0:t.type)===e}var qEe=_t.create({name:"trailingNode",addOptions(){return{node:"paragraph",notAfter:[]}},addProseMirrorPlugins(){const e=new Ot(this.name),t=Object.entries(this.editor.schema.nodes).map(([,n])=>n).filter(n=>(this.options.notAfter||[]).concat(this.options.node).includes(n.name));return[new ft({key:e,appendTransaction:(n,i,r)=>{const{doc:a,tr:o,schema:s}=r,u=e.getState(r),c=a.content.size,f=s.nodes[this.options.node];if(u)return o.insert(c,f.create())},state:{init:(n,i)=>{const r=i.tr.doc.lastChild;return!c5({node:r,types:t})},apply:(n,i)=>{if(!n.docChanged)return i;const r=n.doc.lastChild;return!c5({node:r,types:t})}}})]}}),GEe=_t.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>u5(e,t),redo:()=>({state:e,dispatch:t})=>d5(e,t)}},addProseMirrorPlugins(){return[FEe(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),KEe=_t.create({name:"starterKit",addExtensions(){var e,t,n,i;const r=[];return this.options.bold!==!1&&r.push(SPe.configure(this.options.bold)),this.options.blockquote!==!1&&r.push(vPe.configure(this.options.blockquote)),this.options.bulletList!==!1&&r.push(q6.configure(this.options.bulletList)),this.options.code!==!1&&r.push(PPe.configure(this.options.code)),this.options.codeBlock!==!1&&r.push(DPe.configure(this.options.codeBlock)),this.options.document!==!1&&r.push(NPe.configure(this.options.document)),this.options.dropcursor!==!1&&r.push(UEe.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&r.push(YEe.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&r.push(jPe.configure(this.options.hardBreak)),this.options.heading!==!1&&r.push(IPe.configure(this.options.heading)),this.options.undoRedo!==!1&&r.push(GEe.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&r.push(WPe.configure(this.options.horizontalRule)),this.options.italic!==!1&&r.push(HPe.configure(this.options.italic)),this.options.listItem!==!1&&r.push(G6.configure(this.options.listItem)),this.options.listKeymap!==!1&&r.push(t5.configure((e=this.options)==null?void 0:e.listKeymap)),this.options.link!==!1&&r.push(U6.configure((t=this.options)==null?void 0:t.link)),this.options.orderedList!==!1&&r.push(r5.configure(this.options.orderedList)),this.options.paragraph!==!1&&r.push(kEe.configure(this.options.paragraph)),this.options.strike!==!1&&r.push(xEe.configure(this.options.strike)),this.options.text!==!1&&r.push(SEe.configure(this.options.text)),this.options.underline!==!1&&r.push(_Ee.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&r.push(qEe.configure((i=this.options)==null?void 0:i.trailingNode)),r}}),QEe=KEe,JEe=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,ZEe=gn.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){return["img",ht(this.options.HTMLAttributes,e)]},addCommands(){return{setImage:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e})}},addInputRules(){return[T6({find:JEe,type:this.type,getAttributes:e=>{const[,,t,n,i]=e;return{src:n,alt:t,title:i}}})]}}),eAe=ZEe,tAe=XEe;const f5="https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64",h5={recent:"Recently used",smileys_people:"Smiles & People",animals_nature:"Animals & Nature",food_drink:"Food & Drink",activities:"Activities",travel_places:"Travel places",objects:"Objects",symbols:"Symbols",flags:"Flags"},m5="u",kf="n",Mf="v",iu="r",nAe={[kf]:["grinning face","grinning"],[m5]:"1f600",[iu]:"1f600"},Cf="neutral",iAe=[Cf,"1f3fb","1f3fc","1f3fd","1f3fe","1f3ff"],rAe={placeholder:"Search emoji",skinTone:"Skin tone"},aAe=["light","dark","auto"];var oAe={smileys_people:[{n:["grinning face","grinning"],u:"1f600"},{n:["grinning face with smiling eyes","grin"],u:"1f601"},{n:["face with tears of joy","joy"],u:"1f602"},{n:["rolling on the floor laughing","rolling_on_the_floor_laughing"],u:"1f923"},{n:["smiling face with open mouth","smiley"],u:"1f603"},{n:["smiling face with open mouth and smiling eyes","smile"],u:"1f604"},{n:["smiling face with open mouth and cold sweat","sweat_smile"],u:"1f605"},{n:["smiling face with open mouth and tightly-closed eyes","laughing","satisfied"],u:"1f606"},{n:["winking face","wink"],u:"1f609"},{n:["smiling face with smiling eyes","blush"],u:"1f60a"},{n:["face savouring delicious food","yum"],u:"1f60b"},{n:["smiling face with sunglasses","sunglasses"],u:"1f60e"},{n:["smiling face with heart-shaped eyes","heart_eyes"],u:"1f60d"},{n:["face throwing a kiss","kissing_heart"],u:"1f618"},{n:["kissing face","kissing"],u:"1f617"},{n:["kissing face with smiling eyes","kissing_smiling_eyes"],u:"1f619"},{n:["kissing face with closed eyes","kissing_closed_eyes"],u:"1f61a"},{n:["white smiling face","relaxed"],u:"263a-fe0f"},{n:["slightly smiling face","slightly_smiling_face"],u:"1f642"},{n:["hugging face","hugging_face"],u:"1f917"},{n:["grinning face with star eyes","star-struck","grinning_face_with_star_eyes"],u:"1f929"},{n:["thinking face","thinking_face"],u:"1f914"},{n:["face with one eyebrow raised","face_with_raised_eyebrow","face_with_one_eyebrow_raised"],u:"1f928"},{n:["neutral face","neutral_face"],u:"1f610"},{n:["expressionless face","expressionless"],u:"1f611"},{n:["face without mouth","no_mouth"],u:"1f636"},{n:["face with rolling eyes","face_with_rolling_eyes"],u:"1f644"},{n:["smirking face","smirk"],u:"1f60f"},{n:["persevering face","persevere"],u:"1f623"},{n:["disappointed but relieved face","disappointed_relieved"],u:"1f625"},{n:["face with open mouth","open_mouth"],u:"1f62e"},{n:["zipper-mouth face","zipper_mouth_face"],u:"1f910"},{n:["hushed face","hushed"],u:"1f62f"},{n:["sleepy face","sleepy"],u:"1f62a"},{n:["tired face","tired_face"],u:"1f62b"},{n:["sleeping face","sleeping"],u:"1f634"},{n:["relieved face","relieved"],u:"1f60c"},{n:["face with stuck-out tongue","stuck_out_tongue"],u:"1f61b"},{n:["face with stuck-out tongue and winking eye","stuck_out_tongue_winking_eye"],u:"1f61c"},{n:["face with stuck-out tongue and tightly-closed eyes","stuck_out_tongue_closed_eyes"],u:"1f61d"},{n:["drooling face","drooling_face"],u:"1f924"},{n:["unamused face","unamused"],u:"1f612"},{n:["face with cold sweat","sweat"],u:"1f613"},{n:["pensive face","pensive"],u:"1f614"},{n:["confused face","confused"],u:"1f615"},{n:["upside-down face","upside_down_face"],u:"1f643"},{n:["money-mouth face","money_mouth_face"],u:"1f911"},{n:["astonished face","astonished"],u:"1f632"},{n:["white_frowning_face"],u:"2639-fe0f"},{n:["slightly frowning face","slightly_frowning_face"],u:"1f641"},{n:["confounded face","confounded"],u:"1f616"},{n:["disappointed face","disappointed"],u:"1f61e"},{n:["worried face","worried"],u:"1f61f"},{n:["face with look of triumph","triumph"],u:"1f624"},{n:["crying face","cry"],u:"1f622"},{n:["loudly crying face","sob"],u:"1f62d"},{n:["frowning face with open mouth","frowning"],u:"1f626"},{n:["anguished face","anguished"],u:"1f627"},{n:["fearful face","fearful"],u:"1f628"},{n:["weary face","weary"],u:"1f629"},{n:["shocked face with exploding head","exploding_head","shocked_face_with_exploding_head"],u:"1f92f"},{n:["grimacing face","grimacing"],u:"1f62c"},{n:["face with open mouth and cold sweat","cold_sweat"],u:"1f630"},{n:["face screaming in fear","scream"],u:"1f631"},{n:["flushed face","flushed"],u:"1f633"},{n:["grinning face with one large and one small eye","zany_face","grinning_face_with_one_large_and_one_small_eye"],u:"1f92a"},{n:["dizzy face","dizzy_face"],u:"1f635"},{n:["pouting face","rage"],u:"1f621"},{n:["angry face","angry"],u:"1f620"},{n:["serious face with symbols covering mouth","face_with_symbols_on_mouth","serious_face_with_symbols_covering_mouth"],u:"1f92c"},{n:["face with medical mask","mask"],u:"1f637"},{n:["face with thermometer","face_with_thermometer"],u:"1f912"},{n:["face with head-bandage","face_with_head_bandage"],u:"1f915"},{n:["nauseated face","nauseated_face"],u:"1f922"},{n:["face with open mouth vomiting","face_vomiting","face_with_open_mouth_vomiting"],u:"1f92e"},{n:["sneezing face","sneezing_face"],u:"1f927"},{n:["smiling face with halo","innocent"],u:"1f607"},{n:["face with cowboy hat","face_with_cowboy_hat"],u:"1f920"},{n:["clown face","clown_face"],u:"1f921"},{n:["lying face","lying_face"],u:"1f925"},{n:["face with finger covering closed lips","shushing_face","face_with_finger_covering_closed_lips"],u:"1f92b"},{n:["smiling face with smiling eyes and hand covering mouth","face_with_hand_over_mouth","smiling_face_with_smiling_eyes_and_hand_covering_mouth"],u:"1f92d"},{n:["face with monocle","face_with_monocle"],u:"1f9d0"},{n:["nerd face","nerd_face"],u:"1f913"},{n:["smiling face with horns","smiling_imp"],u:"1f608"},{n:["imp"],u:"1f47f"},{n:["japanese ogre","japanese_ogre"],u:"1f479"},{n:["japanese goblin","japanese_goblin"],u:"1f47a"},{n:["skull"],u:"1f480"},{n:["skull_and_crossbones"],u:"2620-fe0f"},{n:["ghost"],u:"1f47b"},{n:["extraterrestrial alien","alien"],u:"1f47d"},{n:["alien monster","space_invader"],u:"1f47e"},{n:["robot face","robot_face"],u:"1f916"},{n:["pile of poo","hankey","poop","shit"],u:"1f4a9"},{n:["smiling cat face with open mouth","smiley_cat"],u:"1f63a"},{n:["grinning cat face with smiling eyes","smile_cat"],u:"1f638"},{n:["cat face with tears of joy","joy_cat"],u:"1f639"},{n:["smiling cat face with heart-shaped eyes","heart_eyes_cat"],u:"1f63b"},{n:["cat face with wry smile","smirk_cat"],u:"1f63c"},{n:["kissing cat face with closed eyes","kissing_cat"],u:"1f63d"},{n:["weary cat face","scream_cat"],u:"1f640"},{n:["crying cat face","crying_cat_face"],u:"1f63f"},{n:["pouting cat face","pouting_cat"],u:"1f63e"},{n:["see-no-evil monkey","see_no_evil"],u:"1f648"},{n:["hear-no-evil monkey","hear_no_evil"],u:"1f649"},{n:["speak-no-evil monkey","speak_no_evil"],u:"1f64a"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"]},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"]},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"]},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"]},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"]},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"]},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"]},{n:["older adult","older_adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"]},{n:["older man","older_man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"]},{n:["older woman","older_woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"]},{n:["male-doctor"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"]},{n:["female-doctor"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"]},{n:["male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"]},{n:["female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"]},{n:["male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"]},{n:["female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"]},{n:["male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"]},{n:["female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"]},{n:["male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"]},{n:["female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"]},{n:["male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"]},{n:["female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"]},{n:["male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"]},{n:["female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"]},{n:["male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"]},{n:["female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"]},{n:["male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"]},{n:["female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"]},{n:["male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"]},{n:["female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"]},{n:["male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"]},{n:["female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"]},{n:["male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"]},{n:["female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"]},{n:["male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"]},{n:["female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"]},{n:["male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"]},{n:["female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"]},{n:["male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"]},{n:["female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"]},{n:["male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"]},{n:["female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"]},{n:["police officer","cop"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"]},{n:["male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"]},{n:["female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"]},{n:["sleuth_or_spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"]},{n:["male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"]},{n:["female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"]},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"]},{n:["male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"]},{n:["female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"]},{n:["construction worker","construction_worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"]},{n:["male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"]},{n:["female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"]},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"]},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"]},{n:["man with turban","man_with_turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"]},{n:["man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"]},{n:["woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"]},{n:["man with gua pi mao","man_with_gua_pi_mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"]},{n:["person with headscarf","person_with_headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"]},{n:["bearded person","bearded_person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"]},{n:["person with blond hair","person_with_blond_hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"]},{n:["blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"]},{n:["blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"]},{n:["man in tuxedo","man_in_tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"]},{n:["bride with veil","bride_with_veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"]},{n:["pregnant woman","pregnant_woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"]},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"]},{n:["baby angel","angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"]},{n:["father christmas","santa"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"]},{n:["mother christmas","mrs_claus","mother_christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"]},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"]},{n:["female_mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"]},{n:["male_mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"]},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"]},{n:["female_fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"]},{n:["male_fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"]},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"]},{n:["female_vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"]},{n:["male_vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"]},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"]},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"]},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"]},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"]},{n:["female_elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"]},{n:["male_elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"]},{n:["genie"],u:"1f9de"},{n:["female_genie"],u:"1f9de-200d-2640-fe0f"},{n:["male_genie"],u:"1f9de-200d-2642-fe0f"},{n:["zombie"],u:"1f9df"},{n:["female_zombie"],u:"1f9df-200d-2640-fe0f"},{n:["male_zombie"],u:"1f9df-200d-2642-fe0f"},{n:["person frowning","person_frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"]},{n:["man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"]},{n:["woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"]},{n:["person with pouting face","person_with_pouting_face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"]},{n:["man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"]},{n:["woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"]},{n:["face with no good gesture","no_good"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"]},{n:["man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"]},{n:["woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"]},{n:["face with ok gesture","ok_woman"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"]},{n:["man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"]},{n:["woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"]},{n:["information desk person","information_desk_person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"]},{n:["man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"]},{n:["woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"]},{n:["happy person raising one hand","raising_hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"]},{n:["man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"]},{n:["woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"]},{n:["person bowing deeply","bow"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"]},{n:["man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"]},{n:["woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"]},{n:["face palm","face_palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"]},{n:["man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"]},{n:["woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"]},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"]},{n:["man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"]},{n:["woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"]},{n:["face massage","massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"]},{n:["man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"]},{n:["woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"]},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"]},{n:["man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"]},{n:["woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"]},{n:["pedestrian","walking"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"]},{n:["man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"]},{n:["woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"]},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"]},{n:["man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"]},{n:["woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"]},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"]},{n:["man dancing","man_dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"]},{n:["woman with bunny ears","dancers"],u:"1f46f"},{n:["man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f"},{n:["woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f"},{n:["person in steamy room","person_in_steamy_room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"]},{n:["woman_in_steamy_room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"]},{n:["man_in_steamy_room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"]},{n:["person climbing","person_climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"]},{n:["woman_climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"]},{n:["man_climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"]},{n:["person in lotus position","person_in_lotus_position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"]},{n:["woman_in_lotus_position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"]},{n:["man_in_lotus_position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"]},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"]},{n:["sleeping accommodation","sleeping_accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"]},{n:["man_in_business_suit_levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"]},{n:["speaking_head_in_silhouette"],u:"1f5e3-fe0f"},{n:["bust in silhouette","bust_in_silhouette"],u:"1f464"},{n:["busts in silhouette","busts_in_silhouette"],u:"1f465"},{n:["fencer"],u:"1f93a"},{n:["horse racing","horse_racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"]},{n:["skier"],u:"26f7-fe0f"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"]},{n:["golfer"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"]},{n:["man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"]},{n:["woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"]},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"]},{n:["man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"]},{n:["woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"]},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"]},{n:["man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"]},{n:["woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"]},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"]},{n:["man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"]},{n:["woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"]},{n:["person_with_ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"]},{n:["man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"]},{n:["woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"]},{n:["weight_lifter"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"]},{n:["man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"]},{n:["woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"]},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"]},{n:["man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"]},{n:["woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"]},{n:["mountain bicyclist","mountain_bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"]},{n:["man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"]},{n:["woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"]},{n:["racing_car"],u:"1f3ce-fe0f"},{n:["racing_motorcycle"],u:"1f3cd-fe0f"},{n:["person doing cartwheel","person_doing_cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"]},{n:["man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"]},{n:["woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"]},{n:["wrestlers"],u:"1f93c"},{n:["man-wrestling"],u:"1f93c-200d-2642-fe0f"},{n:["woman-wrestling"],u:"1f93c-200d-2640-fe0f"},{n:["water polo","water_polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"]},{n:["man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"]},{n:["woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"]},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"]},{n:["man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"]},{n:["woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"]},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"]},{n:["man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"]},{n:["woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"]},{n:["man and woman holding hands","couple","man_and_woman_holding_hands"],u:"1f46b"},{n:["two men holding hands","two_men_holding_hands"],u:"1f46c"},{n:["two women holding hands","two_women_holding_hands"],u:"1f46d"},{n:["kiss","couplekiss"],u:"1f48f"},{n:["woman-kiss-man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468"},{n:["man-kiss-man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468"},{n:["woman-kiss-woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469"},{n:["couple with heart","couple_with_heart"],u:"1f491"},{n:["woman-heart-man"],u:"1f469-200d-2764-fe0f-200d-1f468"},{n:["man-heart-man"],u:"1f468-200d-2764-fe0f-200d-1f468"},{n:["woman-heart-woman"],u:"1f469-200d-2764-fe0f-200d-1f469"},{n:["family","man-woman-boy"],u:"1f46a"},{n:["man-woman-boy","family"],u:"1f468-200d-1f469-200d-1f466"},{n:["man-woman-girl"],u:"1f468-200d-1f469-200d-1f467"},{n:["man-woman-girl-boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466"},{n:["man-woman-boy-boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466"},{n:["man-woman-girl-girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467"},{n:["man-man-boy"],u:"1f468-200d-1f468-200d-1f466"},{n:["man-man-girl"],u:"1f468-200d-1f468-200d-1f467"},{n:["man-man-girl-boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466"},{n:["man-man-boy-boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466"},{n:["man-man-girl-girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467"},{n:["woman-woman-boy"],u:"1f469-200d-1f469-200d-1f466"},{n:["woman-woman-girl"],u:"1f469-200d-1f469-200d-1f467"},{n:["woman-woman-girl-boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466"},{n:["woman-woman-boy-boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466"},{n:["woman-woman-girl-girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467"},{n:["man-boy"],u:"1f468-200d-1f466"},{n:["man-boy-boy"],u:"1f468-200d-1f466-200d-1f466"},{n:["man-girl"],u:"1f468-200d-1f467"},{n:["man-girl-boy"],u:"1f468-200d-1f467-200d-1f466"},{n:["man-girl-girl"],u:"1f468-200d-1f467-200d-1f467"},{n:["woman-boy"],u:"1f469-200d-1f466"},{n:["woman-boy-boy"],u:"1f469-200d-1f466-200d-1f466"},{n:["woman-girl"],u:"1f469-200d-1f467"},{n:["woman-girl-boy"],u:"1f469-200d-1f467-200d-1f466"},{n:["woman-girl-girl"],u:"1f469-200d-1f467-200d-1f467"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"]},{n:["flexed biceps","muscle"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"]},{n:["white left pointing backhand index","point_left"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"]},{n:["white right pointing backhand index","point_right"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"]},{n:["white up pointing index","point_up"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"]},{n:["white up pointing backhand index","point_up_2"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"]},{n:["reversed hand with middle finger extended","middle_finger","reversed_hand_with_middle_finger_extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"]},{n:["white down pointing backhand index","point_down"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"]},{n:["victory hand","v"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"]},{n:["hand with index and middle fingers crossed","crossed_fingers","hand_with_index_and_middle_fingers_crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"]},{n:["raised hand with part between middle and ring fingers","spock-hand"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"]},{n:["sign of the horns","the_horns","sign_of_the_horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"]},{n:["call me hand","call_me_hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"]},{n:["raised_hand_with_fingers_splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"]},{n:["raised hand","hand","raised_hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"]},{n:["ok hand sign","ok_hand"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"]},{n:["thumbs up sign","+1","thumbsup"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"]},{n:["thumbs down sign","-1","thumbsdown"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"]},{n:["raised fist","fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"]},{n:["fisted hand sign","facepunch","punch"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"]},{n:["left-facing fist","left-facing_fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"]},{n:["right-facing fist","right-facing_fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"]},{n:["raised back of hand","raised_back_of_hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"]},{n:["waving hand sign","wave"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"]},{n:["i love you hand sign","i_love_you_hand_sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"]},{n:["writing_hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"]},{n:["clapping hands sign","clap"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"]},{n:["open hands sign","open_hands"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"]},{n:["person raising both hands in celebration","raised_hands"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"]},{n:["palms up together","palms_up_together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"]},{n:["person with folded hands","pray"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"]},{n:["handshake"],u:"1f91d"},{n:["nail polish","nail_care"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"]},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"]},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"]},{n:["footprints"],u:"1f463"},{n:["eyes"],u:"1f440"},{n:["eye"],u:"1f441-fe0f"},{n:["eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f"},{n:["brain"],u:"1f9e0"},{n:["tongue"],u:"1f445"},{n:["mouth","lips"],u:"1f444"},{n:["kiss mark","kiss"],u:"1f48b"},{n:["heart with arrow","cupid"],u:"1f498"},{n:["heavy black heart","heart"],u:"2764-fe0f"},{n:["beating heart","heartbeat"],u:"1f493"},{n:["broken heart","broken_heart"],u:"1f494"},{n:["two hearts","two_hearts"],u:"1f495"},{n:["sparkling heart","sparkling_heart"],u:"1f496"},{n:["growing heart","heartpulse"],u:"1f497"},{n:["blue heart","blue_heart"],u:"1f499"},{n:["green heart","green_heart"],u:"1f49a"},{n:["yellow heart","yellow_heart"],u:"1f49b"},{n:["orange heart","orange_heart"],u:"1f9e1"},{n:["purple heart","purple_heart"],u:"1f49c"},{n:["black heart","black_heart"],u:"1f5a4"},{n:["heart with ribbon","gift_heart"],u:"1f49d"},{n:["revolving hearts","revolving_hearts"],u:"1f49e"},{n:["heart decoration","heart_decoration"],u:"1f49f"},{n:["heavy_heart_exclamation_mark_ornament"],u:"2763-fe0f"},{n:["love letter","love_letter"],u:"1f48c"},{n:["sleeping symbol","zzz"],u:"1f4a4"},{n:["anger symbol","anger"],u:"1f4a2"},{n:["bomb"],u:"1f4a3"},{n:["collision symbol","boom","collision"],u:"1f4a5"},{n:["splashing sweat symbol","sweat_drops"],u:"1f4a6"},{n:["dash symbol","dash"],u:"1f4a8"},{n:["dizzy symbol","dizzy"],u:"1f4ab"},{n:["speech balloon","speech_balloon"],u:"1f4ac"},{n:["left_speech_bubble"],u:"1f5e8-fe0f"},{n:["right_anger_bubble"],u:"1f5ef-fe0f"},{n:["thought balloon","thought_balloon"],u:"1f4ad"},{n:["hole"],u:"1f573-fe0f"},{n:["eyeglasses"],u:"1f453"},{n:["dark_sunglasses"],u:"1f576-fe0f"},{n:["necktie"],u:"1f454"},{n:["t-shirt","shirt","tshirt"],u:"1f455"},{n:["jeans"],u:"1f456"},{n:["scarf"],u:"1f9e3"},{n:["gloves"],u:"1f9e4"},{n:["coat"],u:"1f9e5"},{n:["socks"],u:"1f9e6"},{n:["dress"],u:"1f457"},{n:["kimono"],u:"1f458"},{n:["bikini"],u:"1f459"},{n:["womans clothes","womans_clothes"],u:"1f45a"},{n:["purse"],u:"1f45b"},{n:["handbag"],u:"1f45c"},{n:["pouch"],u:"1f45d"},{n:["shopping_bags"],u:"1f6cd-fe0f"},{n:["school satchel","school_satchel"],u:"1f392"},{n:["mans shoe","mans_shoe","shoe"],u:"1f45e"},{n:["athletic shoe","athletic_shoe"],u:"1f45f"},{n:["high-heeled shoe","high_heel"],u:"1f460"},{n:["womans sandal","sandal"],u:"1f461"},{n:["womans boots","boot"],u:"1f462"},{n:["crown"],u:"1f451"},{n:["womans hat","womans_hat"],u:"1f452"},{n:["top hat","tophat"],u:"1f3a9"},{n:["graduation cap","mortar_board"],u:"1f393"},{n:["billed cap","billed_cap"],u:"1f9e2"},{n:["helmet_with_white_cross"],u:"26d1-fe0f"},{n:["prayer beads","prayer_beads"],u:"1f4ff"},{n:["lipstick"],u:"1f484"},{n:["ring"],u:"1f48d"},{n:["gem stone","gem"],u:"1f48e"}],animals_nature:[{n:["monkey face","monkey_face"],u:"1f435"},{n:["monkey"],u:"1f412"},{n:["gorilla"],u:"1f98d"},{n:["dog face","dog"],u:"1f436"},{n:["dog","dog2"],u:"1f415"},{n:["poodle"],u:"1f429"},{n:["wolf face","wolf"],u:"1f43a"},{n:["fox face","fox_face"],u:"1f98a"},{n:["cat face","cat"],u:"1f431"},{n:["cat","cat2"],u:"1f408"},{n:["lion face","lion_face"],u:"1f981"},{n:["tiger face","tiger"],u:"1f42f"},{n:["tiger","tiger2"],u:"1f405"},{n:["leopard"],u:"1f406"},{n:["horse face","horse"],u:"1f434"},{n:["horse","racehorse"],u:"1f40e"},{n:["unicorn face","unicorn_face"],u:"1f984"},{n:["zebra face","zebra_face"],u:"1f993"},{n:["deer"],u:"1f98c"},{n:["cow face","cow"],u:"1f42e"},{n:["ox"],u:"1f402"},{n:["water buffalo","water_buffalo"],u:"1f403"},{n:["cow","cow2"],u:"1f404"},{n:["pig face","pig"],u:"1f437"},{n:["pig","pig2"],u:"1f416"},{n:["boar"],u:"1f417"},{n:["pig nose","pig_nose"],u:"1f43d"},{n:["ram"],u:"1f40f"},{n:["sheep"],u:"1f411"},{n:["goat"],u:"1f410"},{n:["dromedary camel","dromedary_camel"],u:"1f42a"},{n:["bactrian camel","camel"],u:"1f42b"},{n:["giraffe face","giraffe_face"],u:"1f992"},{n:["elephant"],u:"1f418"},{n:["rhinoceros"],u:"1f98f"},{n:["mouse face","mouse"],u:"1f42d"},{n:["mouse","mouse2"],u:"1f401"},{n:["rat"],u:"1f400"},{n:["hamster face","hamster"],u:"1f439"},{n:["rabbit face","rabbit"],u:"1f430"},{n:["rabbit","rabbit2"],u:"1f407"},{n:["chipmunk"],u:"1f43f-fe0f"},{n:["hedgehog"],u:"1f994"},{n:["bat"],u:"1f987"},{n:["bear face","bear"],u:"1f43b"},{n:["koala"],u:"1f428"},{n:["panda face","panda_face"],u:"1f43c"},{n:["paw prints","feet","paw_prints"],u:"1f43e"},{n:["turkey"],u:"1f983"},{n:["chicken"],u:"1f414"},{n:["rooster"],u:"1f413"},{n:["hatching chick","hatching_chick"],u:"1f423"},{n:["baby chick","baby_chick"],u:"1f424"},{n:["front-facing baby chick","hatched_chick"],u:"1f425"},{n:["bird"],u:"1f426"},{n:["penguin"],u:"1f427"},{n:["dove_of_peace"],u:"1f54a-fe0f"},{n:["eagle"],u:"1f985"},{n:["duck"],u:"1f986"},{n:["owl"],u:"1f989"},{n:["frog face","frog"],u:"1f438"},{n:["crocodile"],u:"1f40a"},{n:["turtle"],u:"1f422"},{n:["lizard"],u:"1f98e"},{n:["snake"],u:"1f40d"},{n:["dragon face","dragon_face"],u:"1f432"},{n:["dragon"],u:"1f409"},{n:["sauropod"],u:"1f995"},{n:["t-rex"],u:"1f996"},{n:["spouting whale","whale"],u:"1f433"},{n:["whale","whale2"],u:"1f40b"},{n:["dolphin","flipper"],u:"1f42c"},{n:["fish"],u:"1f41f"},{n:["tropical fish","tropical_fish"],u:"1f420"},{n:["blowfish"],u:"1f421"},{n:["shark"],u:"1f988"},{n:["octopus"],u:"1f419"},{n:["spiral shell","shell"],u:"1f41a"},{n:["crab"],u:"1f980"},{n:["shrimp"],u:"1f990"},{n:["squid"],u:"1f991"},{n:["snail"],u:"1f40c"},{n:["butterfly"],u:"1f98b"},{n:["bug"],u:"1f41b"},{n:["ant"],u:"1f41c"},{n:["honeybee","bee"],u:"1f41d"},{n:["lady beetle","beetle"],u:"1f41e"},{n:["cricket"],u:"1f997"},{n:["spider"],u:"1f577-fe0f"},{n:["spider_web"],u:"1f578-fe0f"},{n:["scorpion"],u:"1f982"},{n:["bouquet"],u:"1f490"},{n:["cherry blossom","cherry_blossom"],u:"1f338"},{n:["white flower","white_flower"],u:"1f4ae"},{n:["rosette"],u:"1f3f5-fe0f"},{n:["rose"],u:"1f339"},{n:["wilted flower","wilted_flower"],u:"1f940"},{n:["hibiscus"],u:"1f33a"},{n:["sunflower"],u:"1f33b"},{n:["blossom"],u:"1f33c"},{n:["tulip"],u:"1f337"},{n:["seedling"],u:"1f331"},{n:["evergreen tree","evergreen_tree"],u:"1f332"},{n:["deciduous tree","deciduous_tree"],u:"1f333"},{n:["palm tree","palm_tree"],u:"1f334"},{n:["cactus"],u:"1f335"},{n:["ear of rice","ear_of_rice"],u:"1f33e"},{n:["herb"],u:"1f33f"},{n:["shamrock"],u:"2618-fe0f"},{n:["four leaf clover","four_leaf_clover"],u:"1f340"},{n:["maple leaf","maple_leaf"],u:"1f341"},{n:["fallen leaf","fallen_leaf"],u:"1f342"},{n:["leaf fluttering in wind","leaves"],u:"1f343"}],food_drink:[{n:["grapes"],u:"1f347"},{n:["melon"],u:"1f348"},{n:["watermelon"],u:"1f349"},{n:["tangerine"],u:"1f34a"},{n:["lemon"],u:"1f34b"},{n:["banana"],u:"1f34c"},{n:["pineapple"],u:"1f34d"},{n:["red apple","apple"],u:"1f34e"},{n:["green apple","green_apple"],u:"1f34f"},{n:["pear"],u:"1f350"},{n:["peach"],u:"1f351"},{n:["cherries"],u:"1f352"},{n:["strawberry"],u:"1f353"},{n:["kiwifruit"],u:"1f95d"},{n:["tomato"],u:"1f345"},{n:["coconut"],u:"1f965"},{n:["avocado"],u:"1f951"},{n:["aubergine","eggplant"],u:"1f346"},{n:["potato"],u:"1f954"},{n:["carrot"],u:"1f955"},{n:["ear of maize","corn"],u:"1f33d"},{n:["hot_pepper"],u:"1f336-fe0f"},{n:["cucumber"],u:"1f952"},{n:["broccoli"],u:"1f966"},{n:["mushroom"],u:"1f344"},{n:["peanuts"],u:"1f95c"},{n:["chestnut"],u:"1f330"},{n:["bread"],u:"1f35e"},{n:["croissant"],u:"1f950"},{n:["baguette bread","baguette_bread"],u:"1f956"},{n:["pretzel"],u:"1f968"},{n:["pancakes"],u:"1f95e"},{n:["cheese wedge","cheese_wedge"],u:"1f9c0"},{n:["meat on bone","meat_on_bone"],u:"1f356"},{n:["poultry leg","poultry_leg"],u:"1f357"},{n:["cut of meat","cut_of_meat"],u:"1f969"},{n:["bacon"],u:"1f953"},{n:["hamburger"],u:"1f354"},{n:["french fries","fries"],u:"1f35f"},{n:["slice of pizza","pizza"],u:"1f355"},{n:["hot dog","hotdog"],u:"1f32d"},{n:["sandwich"],u:"1f96a"},{n:["taco"],u:"1f32e"},{n:["burrito"],u:"1f32f"},{n:["stuffed flatbread","stuffed_flatbread"],u:"1f959"},{n:["egg"],u:"1f95a"},{n:["cooking","fried_egg"],u:"1f373"},{n:["shallow pan of food","shallow_pan_of_food"],u:"1f958"},{n:["pot of food","stew"],u:"1f372"},{n:["bowl with spoon","bowl_with_spoon"],u:"1f963"},{n:["green salad","green_salad"],u:"1f957"},{n:["popcorn"],u:"1f37f"},{n:["canned food","canned_food"],u:"1f96b"},{n:["bento box","bento"],u:"1f371"},{n:["rice cracker","rice_cracker"],u:"1f358"},{n:["rice ball","rice_ball"],u:"1f359"},{n:["cooked rice","rice"],u:"1f35a"},{n:["curry and rice","curry"],u:"1f35b"},{n:["steaming bowl","ramen"],u:"1f35c"},{n:["spaghetti"],u:"1f35d"},{n:["roasted sweet potato","sweet_potato"],u:"1f360"},{n:["oden"],u:"1f362"},{n:["sushi"],u:"1f363"},{n:["fried shrimp","fried_shrimp"],u:"1f364"},{n:["fish cake with swirl design","fish_cake"],u:"1f365"},{n:["dango"],u:"1f361"},{n:["dumpling"],u:"1f95f"},{n:["fortune cookie","fortune_cookie"],u:"1f960"},{n:["takeout box","takeout_box"],u:"1f961"},{n:["soft ice cream","icecream"],u:"1f366"},{n:["shaved ice","shaved_ice"],u:"1f367"},{n:["ice cream","ice_cream"],u:"1f368"},{n:["doughnut"],u:"1f369"},{n:["cookie"],u:"1f36a"},{n:["birthday cake","birthday"],u:"1f382"},{n:["shortcake","cake"],u:"1f370"},{n:["pie"],u:"1f967"},{n:["chocolate bar","chocolate_bar"],u:"1f36b"},{n:["candy"],u:"1f36c"},{n:["lollipop"],u:"1f36d"},{n:["custard"],u:"1f36e"},{n:["honey pot","honey_pot"],u:"1f36f"},{n:["baby bottle","baby_bottle"],u:"1f37c"},{n:["glass of milk","glass_of_milk"],u:"1f95b"},{n:["hot beverage","coffee"],u:"2615"},{n:["teacup without handle","tea"],u:"1f375"},{n:["sake bottle and cup","sake"],u:"1f376"},{n:["bottle with popping cork","champagne"],u:"1f37e"},{n:["wine glass","wine_glass"],u:"1f377"},{n:["cocktail glass","cocktail"],u:"1f378"},{n:["tropical drink","tropical_drink"],u:"1f379"},{n:["beer mug","beer"],u:"1f37a"},{n:["clinking beer mugs","beers"],u:"1f37b"},{n:["clinking glasses","clinking_glasses"],u:"1f942"},{n:["tumbler glass","tumbler_glass"],u:"1f943"},{n:["cup with straw","cup_with_straw"],u:"1f964"},{n:["chopsticks"],u:"1f962"},{n:["knife_fork_plate"],u:"1f37d-fe0f"},{n:["fork and knife","fork_and_knife"],u:"1f374"},{n:["spoon"],u:"1f944"},{n:["hocho","knife"],u:"1f52a"},{n:["amphora"],u:"1f3fa"}],activities:[{n:["jack-o-lantern","jack_o_lantern"],u:"1f383"},{n:["christmas tree","christmas_tree"],u:"1f384"},{n:["fireworks"],u:"1f386"},{n:["firework sparkler","sparkler"],u:"1f387"},{n:["sparkles"],u:"2728"},{n:["balloon"],u:"1f388"},{n:["party popper","tada"],u:"1f389"},{n:["confetti ball","confetti_ball"],u:"1f38a"},{n:["tanabata tree","tanabata_tree"],u:"1f38b"},{n:["pine decoration","bamboo"],u:"1f38d"},{n:["japanese dolls","dolls"],u:"1f38e"},{n:["carp streamer","flags"],u:"1f38f"},{n:["wind chime","wind_chime"],u:"1f390"},{n:["moon viewing ceremony","rice_scene"],u:"1f391"},{n:["ribbon"],u:"1f380"},{n:["wrapped present","gift"],u:"1f381"},{n:["reminder_ribbon"],u:"1f397-fe0f"},{n:["admission_tickets"],u:"1f39f-fe0f"},{n:["ticket"],u:"1f3ab"},{n:["medal"],u:"1f396-fe0f"},{n:["trophy"],u:"1f3c6"},{n:["sports medal","sports_medal"],u:"1f3c5"},{n:["first place medal","first_place_medal"],u:"1f947"},{n:["second place medal","second_place_medal"],u:"1f948"},{n:["third place medal","third_place_medal"],u:"1f949"},{n:["soccer ball","soccer"],u:"26bd"},{n:["baseball"],u:"26be"},{n:["basketball and hoop","basketball"],u:"1f3c0"},{n:["volleyball"],u:"1f3d0"},{n:["american football","football"],u:"1f3c8"},{n:["rugby football","rugby_football"],u:"1f3c9"},{n:["tennis racquet and ball","tennis"],u:"1f3be"},{n:["billiards","8ball"],u:"1f3b1"},{n:["bowling"],u:"1f3b3"},{n:["cricket bat and ball","cricket_bat_and_ball"],u:"1f3cf"},{n:["field hockey stick and ball","field_hockey_stick_and_ball"],u:"1f3d1"},{n:["ice hockey stick and puck","ice_hockey_stick_and_puck"],u:"1f3d2"},{n:["table tennis paddle and ball","table_tennis_paddle_and_ball"],u:"1f3d3"},{n:["badminton racquet and shuttlecock","badminton_racquet_and_shuttlecock"],u:"1f3f8"},{n:["boxing glove","boxing_glove"],u:"1f94a"},{n:["martial arts uniform","martial_arts_uniform"],u:"1f94b"},{n:["goal net","goal_net"],u:"1f945"},{n:["direct hit","dart"],u:"1f3af"},{n:["flag in hole","golf"],u:"26f3"},{n:["ice_skate"],u:"26f8-fe0f"},{n:["fishing pole and fish","fishing_pole_and_fish"],u:"1f3a3"},{n:["running shirt with sash","running_shirt_with_sash"],u:"1f3bd"},{n:["ski and ski boot","ski"],u:"1f3bf"},{n:["sled"],u:"1f6f7"},{n:["curling stone","curling_stone"],u:"1f94c"},{n:["video game","video_game"],u:"1f3ae"},{n:["joystick"],u:"1f579-fe0f"},{n:["game die","game_die"],u:"1f3b2"},{n:["black spade suit","spades"],u:"2660-fe0f"},{n:["black heart suit","hearts"],u:"2665-fe0f"},{n:["black diamond suit","diamonds"],u:"2666-fe0f"},{n:["black club suit","clubs"],u:"2663-fe0f"},{n:["playing card black joker","black_joker"],u:"1f0cf"},{n:["mahjong tile red dragon","mahjong"],u:"1f004"},{n:["flower playing cards","flower_playing_cards"],u:"1f3b4"}],travel_places:[{n:["earth globe europe-africa","earth_africa"],u:"1f30d"},{n:["earth globe americas","earth_americas"],u:"1f30e"},{n:["earth globe asia-australia","earth_asia"],u:"1f30f"},{n:["globe with meridians","globe_with_meridians"],u:"1f310"},{n:["world_map"],u:"1f5fa-fe0f"},{n:["silhouette of japan","japan"],u:"1f5fe"},{n:["snow_capped_mountain"],u:"1f3d4-fe0f"},{n:["mountain"],u:"26f0-fe0f"},{n:["volcano"],u:"1f30b"},{n:["mount fuji","mount_fuji"],u:"1f5fb"},{n:["camping"],u:"1f3d5-fe0f"},{n:["beach_with_umbrella"],u:"1f3d6-fe0f"},{n:["desert"],u:"1f3dc-fe0f"},{n:["desert_island"],u:"1f3dd-fe0f"},{n:["national_park"],u:"1f3de-fe0f"},{n:["stadium"],u:"1f3df-fe0f"},{n:["classical_building"],u:"1f3db-fe0f"},{n:["building_construction"],u:"1f3d7-fe0f"},{n:["house_buildings"],u:"1f3d8-fe0f"},{n:["cityscape"],u:"1f3d9-fe0f"},{n:["derelict_house_building"],u:"1f3da-fe0f"},{n:["house building","house"],u:"1f3e0"},{n:["house with garden","house_with_garden"],u:"1f3e1"},{n:["office building","office"],u:"1f3e2"},{n:["japanese post office","post_office"],u:"1f3e3"},{n:["european post office","european_post_office"],u:"1f3e4"},{n:["hospital"],u:"1f3e5"},{n:["bank"],u:"1f3e6"},{n:["hotel"],u:"1f3e8"},{n:["love hotel","love_hotel"],u:"1f3e9"},{n:["convenience store","convenience_store"],u:"1f3ea"},{n:["school"],u:"1f3eb"},{n:["department store","department_store"],u:"1f3ec"},{n:["factory"],u:"1f3ed"},{n:["japanese castle","japanese_castle"],u:"1f3ef"},{n:["european castle","european_castle"],u:"1f3f0"},{n:["wedding"],u:"1f492"},{n:["tokyo tower","tokyo_tower"],u:"1f5fc"},{n:["statue of liberty","statue_of_liberty"],u:"1f5fd"},{n:["church"],u:"26ea"},{n:["mosque"],u:"1f54c"},{n:["synagogue"],u:"1f54d"},{n:["shinto_shrine"],u:"26e9-fe0f"},{n:["kaaba"],u:"1f54b"},{n:["fountain"],u:"26f2"},{n:["tent"],u:"26fa"},{n:["foggy"],u:"1f301"},{n:["night with stars","night_with_stars"],u:"1f303"},{n:["sunrise over mountains","sunrise_over_mountains"],u:"1f304"},{n:["sunrise"],u:"1f305"},{n:["cityscape at dusk","city_sunset"],u:"1f306"},{n:["sunset over buildings","city_sunrise"],u:"1f307"},{n:["bridge at night","bridge_at_night"],u:"1f309"},{n:["hot springs","hotsprings"],u:"2668-fe0f"},{n:["milky way","milky_way"],u:"1f30c"},{n:["carousel horse","carousel_horse"],u:"1f3a0"},{n:["ferris wheel","ferris_wheel"],u:"1f3a1"},{n:["roller coaster","roller_coaster"],u:"1f3a2"},{n:["barber pole","barber"],u:"1f488"},{n:["circus tent","circus_tent"],u:"1f3aa"},{n:["performing arts","performing_arts"],u:"1f3ad"},{n:["frame_with_picture"],u:"1f5bc-fe0f"},{n:["artist palette","art"],u:"1f3a8"},{n:["slot machine","slot_machine"],u:"1f3b0"},{n:["steam locomotive","steam_locomotive"],u:"1f682"},{n:["railway car","railway_car"],u:"1f683"},{n:["high-speed train","bullettrain_side"],u:"1f684"},{n:["high-speed train with bullet nose","bullettrain_front"],u:"1f685"},{n:["train","train2"],u:"1f686"},{n:["metro"],u:"1f687"},{n:["light rail","light_rail"],u:"1f688"},{n:["station"],u:"1f689"},{n:["tram"],u:"1f68a"},{n:["monorail"],u:"1f69d"},{n:["mountain railway","mountain_railway"],u:"1f69e"},{n:["tram car","train"],u:"1f68b"},{n:["bus"],u:"1f68c"},{n:["oncoming bus","oncoming_bus"],u:"1f68d"},{n:["trolleybus"],u:"1f68e"},{n:["minibus"],u:"1f690"},{n:["ambulance"],u:"1f691"},{n:["fire engine","fire_engine"],u:"1f692"},{n:["police car","police_car"],u:"1f693"},{n:["oncoming police car","oncoming_police_car"],u:"1f694"},{n:["taxi"],u:"1f695"},{n:["oncoming taxi","oncoming_taxi"],u:"1f696"},{n:["automobile","car","red_car"],u:"1f697"},{n:["oncoming automobile","oncoming_automobile"],u:"1f698"},{n:["recreational vehicle","blue_car"],u:"1f699"},{n:["delivery truck","truck"],u:"1f69a"},{n:["articulated lorry","articulated_lorry"],u:"1f69b"},{n:["tractor"],u:"1f69c"},{n:["bicycle","bike"],u:"1f6b2"},{n:["scooter"],u:"1f6f4"},{n:["motor scooter","motor_scooter"],u:"1f6f5"},{n:["bus stop","busstop"],u:"1f68f"},{n:["motorway"],u:"1f6e3-fe0f"},{n:["railway_track"],u:"1f6e4-fe0f"},{n:["fuel pump","fuelpump"],u:"26fd"},{n:["police cars revolving light","rotating_light"],u:"1f6a8"},{n:["horizontal traffic light","traffic_light"],u:"1f6a5"},{n:["vertical traffic light","vertical_traffic_light"],u:"1f6a6"},{n:["construction sign","construction"],u:"1f6a7"},{n:["octagonal sign","octagonal_sign"],u:"1f6d1"},{n:["anchor"],u:"2693"},{n:["sailboat","boat"],u:"26f5"},{n:["canoe"],u:"1f6f6"},{n:["speedboat"],u:"1f6a4"},{n:["passenger_ship"],u:"1f6f3-fe0f"},{n:["ferry"],u:"26f4-fe0f"},{n:["motor_boat"],u:"1f6e5-fe0f"},{n:["ship"],u:"1f6a2"},{n:["airplane"],u:"2708-fe0f"},{n:["small_airplane"],u:"1f6e9-fe0f"},{n:["airplane departure","airplane_departure"],u:"1f6eb"},{n:["airplane arriving","airplane_arriving"],u:"1f6ec"},{n:["seat"],u:"1f4ba"},{n:["helicopter"],u:"1f681"},{n:["suspension railway","suspension_railway"],u:"1f69f"},{n:["mountain cableway","mountain_cableway"],u:"1f6a0"},{n:["aerial tramway","aerial_tramway"],u:"1f6a1"},{n:["satellite"],u:"1f6f0-fe0f"},{n:["rocket"],u:"1f680"},{n:["flying saucer","flying_saucer"],u:"1f6f8"},{n:["bellhop_bell"],u:"1f6ce-fe0f"},{n:["door"],u:"1f6aa"},{n:["bed"],u:"1f6cf-fe0f"},{n:["couch_and_lamp"],u:"1f6cb-fe0f"},{n:["toilet"],u:"1f6bd"},{n:["shower"],u:"1f6bf"},{n:["bathtub"],u:"1f6c1"},{n:["hourglass"],u:"231b"},{n:["hourglass with flowing sand","hourglass_flowing_sand"],u:"23f3"},{n:["watch"],u:"231a"},{n:["alarm clock","alarm_clock"],u:"23f0"},{n:["stopwatch"],u:"23f1-fe0f"},{n:["timer_clock"],u:"23f2-fe0f"},{n:["mantelpiece_clock"],u:"1f570-fe0f"},{n:["clock face twelve oclock","clock12"],u:"1f55b"},{n:["clock face twelve-thirty","clock1230"],u:"1f567"},{n:["clock face one oclock","clock1"],u:"1f550"},{n:["clock face one-thirty","clock130"],u:"1f55c"},{n:["clock face two oclock","clock2"],u:"1f551"},{n:["clock face two-thirty","clock230"],u:"1f55d"},{n:["clock face three oclock","clock3"],u:"1f552"},{n:["clock face three-thirty","clock330"],u:"1f55e"},{n:["clock face four oclock","clock4"],u:"1f553"},{n:["clock face four-thirty","clock430"],u:"1f55f"},{n:["clock face five oclock","clock5"],u:"1f554"},{n:["clock face five-thirty","clock530"],u:"1f560"},{n:["clock face six oclock","clock6"],u:"1f555"},{n:["clock face six-thirty","clock630"],u:"1f561"},{n:["clock face seven oclock","clock7"],u:"1f556"},{n:["clock face seven-thirty","clock730"],u:"1f562"},{n:["clock face eight oclock","clock8"],u:"1f557"},{n:["clock face eight-thirty","clock830"],u:"1f563"},{n:["clock face nine oclock","clock9"],u:"1f558"},{n:["clock face nine-thirty","clock930"],u:"1f564"},{n:["clock face ten oclock","clock10"],u:"1f559"},{n:["clock face ten-thirty","clock1030"],u:"1f565"},{n:["clock face eleven oclock","clock11"],u:"1f55a"},{n:["clock face eleven-thirty","clock1130"],u:"1f566"},{n:["new moon symbol","new_moon"],u:"1f311"},{n:["waxing crescent moon symbol","waxing_crescent_moon"],u:"1f312"},{n:["first quarter moon symbol","first_quarter_moon"],u:"1f313"},{n:["waxing gibbous moon symbol","moon","waxing_gibbous_moon"],u:"1f314"},{n:["full moon symbol","full_moon"],u:"1f315"},{n:["waning gibbous moon symbol","waning_gibbous_moon"],u:"1f316"},{n:["last quarter moon symbol","last_quarter_moon"],u:"1f317"},{n:["waning crescent moon symbol","waning_crescent_moon"],u:"1f318"},{n:["crescent moon","crescent_moon"],u:"1f319"},{n:["new moon with face","new_moon_with_face"],u:"1f31a"},{n:["first quarter moon with face","first_quarter_moon_with_face"],u:"1f31b"},{n:["last quarter moon with face","last_quarter_moon_with_face"],u:"1f31c"},{n:["thermometer"],u:"1f321-fe0f"},{n:["black sun with rays","sunny"],u:"2600-fe0f"},{n:["full moon with face","full_moon_with_face"],u:"1f31d"},{n:["sun with face","sun_with_face"],u:"1f31e"},{n:["white medium star","star"],u:"2b50"},{n:["glowing star","star2"],u:"1f31f"},{n:["shooting star","stars"],u:"1f320"},{n:["cloud"],u:"2601-fe0f"},{n:["sun behind cloud","partly_sunny"],u:"26c5"},{n:["thunder_cloud_and_rain"],u:"26c8-fe0f"},{n:["mostly_sunny","sun_small_cloud"],u:"1f324-fe0f"},{n:["barely_sunny","sun_behind_cloud"],u:"1f325-fe0f"},{n:["partly_sunny_rain","sun_behind_rain_cloud"],u:"1f326-fe0f"},{n:["rain_cloud"],u:"1f327-fe0f"},{n:["snow_cloud"],u:"1f328-fe0f"},{n:["lightning","lightning_cloud"],u:"1f329-fe0f"},{n:["tornado","tornado_cloud"],u:"1f32a-fe0f"},{n:["fog"],u:"1f32b-fe0f"},{n:["wind_blowing_face"],u:"1f32c-fe0f"},{n:["cyclone"],u:"1f300"},{n:["rainbow"],u:"1f308"},{n:["closed umbrella","closed_umbrella"],u:"1f302"},{n:["umbrella"],u:"2602-fe0f"},{n:["umbrella with rain drops","umbrella_with_rain_drops"],u:"2614"},{n:["umbrella_on_ground"],u:"26f1-fe0f"},{n:["high voltage sign","zap"],u:"26a1"},{n:["snowflake"],u:"2744-fe0f"},{n:["snowman"],u:"2603-fe0f"},{n:["snowman without snow","snowman_without_snow"],u:"26c4"},{n:["comet"],u:"2604-fe0f"},{n:["fire"],u:"1f525"},{n:["droplet"],u:"1f4a7"},{n:["water wave","ocean"],u:"1f30a"}],objects:[{n:["speaker with cancellation stroke","mute"],u:"1f507"},{n:["speaker"],u:"1f508"},{n:["speaker with one sound wave","sound"],u:"1f509"},{n:["speaker with three sound waves","loud_sound"],u:"1f50a"},{n:["public address loudspeaker","loudspeaker"],u:"1f4e2"},{n:["cheering megaphone","mega"],u:"1f4e3"},{n:["postal horn","postal_horn"],u:"1f4ef"},{n:["bell"],u:"1f514"},{n:["bell with cancellation stroke","no_bell"],u:"1f515"},{n:["musical score","musical_score"],u:"1f3bc"},{n:["musical note","musical_note"],u:"1f3b5"},{n:["multiple musical notes","notes"],u:"1f3b6"},{n:["studio_microphone"],u:"1f399-fe0f"},{n:["level_slider"],u:"1f39a-fe0f"},{n:["control_knobs"],u:"1f39b-fe0f"},{n:["microphone"],u:"1f3a4"},{n:["headphone","headphones"],u:"1f3a7"},{n:["radio"],u:"1f4fb"},{n:["saxophone"],u:"1f3b7"},{n:["guitar"],u:"1f3b8"},{n:["musical keyboard","musical_keyboard"],u:"1f3b9"},{n:["trumpet"],u:"1f3ba"},{n:["violin"],u:"1f3bb"},{n:["drum with drumsticks","drum_with_drumsticks"],u:"1f941"},{n:["mobile phone","iphone"],u:"1f4f1"},{n:["mobile phone with rightwards arrow at left","calling"],u:"1f4f2"},{n:["black telephone","phone","telephone"],u:"260e-fe0f"},{n:["telephone receiver","telephone_receiver"],u:"1f4de"},{n:["pager"],u:"1f4df"},{n:["fax machine","fax"],u:"1f4e0"},{n:["battery"],u:"1f50b"},{n:["electric plug","electric_plug"],u:"1f50c"},{n:["personal computer","computer"],u:"1f4bb"},{n:["desktop_computer"],u:"1f5a5-fe0f"},{n:["printer"],u:"1f5a8-fe0f"},{n:["keyboard"],u:"2328-fe0f"},{n:["three_button_mouse"],u:"1f5b1-fe0f"},{n:["trackball"],u:"1f5b2-fe0f"},{n:["minidisc"],u:"1f4bd"},{n:["floppy disk","floppy_disk"],u:"1f4be"},{n:["optical disc","cd"],u:"1f4bf"},{n:["dvd"],u:"1f4c0"},{n:["movie camera","movie_camera"],u:"1f3a5"},{n:["film_frames"],u:"1f39e-fe0f"},{n:["film_projector"],u:"1f4fd-fe0f"},{n:["clapper board","clapper"],u:"1f3ac"},{n:["television","tv"],u:"1f4fa"},{n:["camera"],u:"1f4f7"},{n:["camera with flash","camera_with_flash"],u:"1f4f8"},{n:["video camera","video_camera"],u:"1f4f9"},{n:["videocassette","vhs"],u:"1f4fc"},{n:["left-pointing magnifying glass","mag"],u:"1f50d"},{n:["right-pointing magnifying glass","mag_right"],u:"1f50e"},{n:["microscope"],u:"1f52c"},{n:["telescope"],u:"1f52d"},{n:["satellite antenna","satellite_antenna"],u:"1f4e1"},{n:["candle"],u:"1f56f-fe0f"},{n:["electric light bulb","bulb"],u:"1f4a1"},{n:["electric torch","flashlight"],u:"1f526"},{n:["izakaya lantern","izakaya_lantern","lantern"],u:"1f3ee"},{n:["notebook with decorative cover","notebook_with_decorative_cover"],u:"1f4d4"},{n:["closed book","closed_book"],u:"1f4d5"},{n:["open book","book","open_book"],u:"1f4d6"},{n:["green book","green_book"],u:"1f4d7"},{n:["blue book","blue_book"],u:"1f4d8"},{n:["orange book","orange_book"],u:"1f4d9"},{n:["books"],u:"1f4da"},{n:["notebook"],u:"1f4d3"},{n:["ledger"],u:"1f4d2"},{n:["page with curl","page_with_curl"],u:"1f4c3"},{n:["scroll"],u:"1f4dc"},{n:["page facing up","page_facing_up"],u:"1f4c4"},{n:["newspaper"],u:"1f4f0"},{n:["rolled_up_newspaper"],u:"1f5de-fe0f"},{n:["bookmark tabs","bookmark_tabs"],u:"1f4d1"},{n:["bookmark"],u:"1f516"},{n:["label"],u:"1f3f7-fe0f"},{n:["money bag","moneybag"],u:"1f4b0"},{n:["banknote with yen sign","yen"],u:"1f4b4"},{n:["banknote with dollar sign","dollar"],u:"1f4b5"},{n:["banknote with euro sign","euro"],u:"1f4b6"},{n:["banknote with pound sign","pound"],u:"1f4b7"},{n:["money with wings","money_with_wings"],u:"1f4b8"},{n:["credit card","credit_card"],u:"1f4b3"},{n:["chart with upwards trend and yen sign","chart"],u:"1f4b9"},{n:["currency exchange","currency_exchange"],u:"1f4b1"},{n:["heavy dollar sign","heavy_dollar_sign"],u:"1f4b2"},{n:["envelope","email"],u:"2709-fe0f"},{n:["e-mail symbol","e-mail"],u:"1f4e7"},{n:["incoming envelope","incoming_envelope"],u:"1f4e8"},{n:["envelope with downwards arrow above","envelope_with_arrow"],u:"1f4e9"},{n:["outbox tray","outbox_tray"],u:"1f4e4"},{n:["inbox tray","inbox_tray"],u:"1f4e5"},{n:["package"],u:"1f4e6"},{n:["closed mailbox with raised flag","mailbox"],u:"1f4eb"},{n:["closed mailbox with lowered flag","mailbox_closed"],u:"1f4ea"},{n:["open mailbox with raised flag","mailbox_with_mail"],u:"1f4ec"},{n:["open mailbox with lowered flag","mailbox_with_no_mail"],u:"1f4ed"},{n:["postbox"],u:"1f4ee"},{n:["ballot_box_with_ballot"],u:"1f5f3-fe0f"},{n:["pencil","pencil2"],u:"270f-fe0f"},{n:["black nib","black_nib"],u:"2712-fe0f"},{n:["lower_left_fountain_pen"],u:"1f58b-fe0f"},{n:["lower_left_ballpoint_pen"],u:"1f58a-fe0f"},{n:["lower_left_paintbrush"],u:"1f58c-fe0f"},{n:["lower_left_crayon"],u:"1f58d-fe0f"},{n:["memo","pencil"],u:"1f4dd"},{n:["briefcase"],u:"1f4bc"},{n:["file folder","file_folder"],u:"1f4c1"},{n:["open file folder","open_file_folder"],u:"1f4c2"},{n:["card_index_dividers"],u:"1f5c2-fe0f"},{n:["calendar","date"],u:"1f4c5"},{n:["tear-off calendar","calendar"],u:"1f4c6"},{n:["spiral_note_pad"],u:"1f5d2-fe0f"},{n:["spiral_calendar_pad"],u:"1f5d3-fe0f"},{n:["card index","card_index"],u:"1f4c7"},{n:["chart with upwards trend","chart_with_upwards_trend"],u:"1f4c8"},{n:["chart with downwards trend","chart_with_downwards_trend"],u:"1f4c9"},{n:["bar chart","bar_chart"],u:"1f4ca"},{n:["clipboard"],u:"1f4cb"},{n:["pushpin"],u:"1f4cc"},{n:["round pushpin","round_pushpin"],u:"1f4cd"},{n:["paperclip"],u:"1f4ce"},{n:["linked_paperclips"],u:"1f587-fe0f"},{n:["straight ruler","straight_ruler"],u:"1f4cf"},{n:["triangular ruler","triangular_ruler"],u:"1f4d0"},{n:["black scissors","scissors"],u:"2702-fe0f"},{n:["card_file_box"],u:"1f5c3-fe0f"},{n:["file_cabinet"],u:"1f5c4-fe0f"},{n:["wastebasket"],u:"1f5d1-fe0f"},{n:["lock"],u:"1f512"},{n:["open lock","unlock"],u:"1f513"},{n:["lock with ink pen","lock_with_ink_pen"],u:"1f50f"},{n:["closed lock with key","closed_lock_with_key"],u:"1f510"},{n:["key"],u:"1f511"},{n:["old_key"],u:"1f5dd-fe0f"},{n:["hammer"],u:"1f528"},{n:["pick"],u:"26cf-fe0f"},{n:["hammer_and_pick"],u:"2692-fe0f"},{n:["hammer_and_wrench"],u:"1f6e0-fe0f"},{n:["dagger_knife"],u:"1f5e1-fe0f"},{n:["crossed_swords"],u:"2694-fe0f"},{n:["pistol","gun"],u:"1f52b"},{n:["bow and arrow","bow_and_arrow"],u:"1f3f9"},{n:["shield"],u:"1f6e1-fe0f"},{n:["wrench"],u:"1f527"},{n:["nut and bolt","nut_and_bolt"],u:"1f529"},{n:["gear"],u:"2699-fe0f"},{n:["compression"],u:"1f5dc-fe0f"},{n:["alembic"],u:"2697-fe0f"},{n:["scales"],u:"2696-fe0f"},{n:["link symbol","link"],u:"1f517"},{n:["chains"],u:"26d3-fe0f"},{n:["syringe"],u:"1f489"},{n:["pill"],u:"1f48a"},{n:["smoking symbol","smoking"],u:"1f6ac"},{n:["coffin"],u:"26b0-fe0f"},{n:["funeral_urn"],u:"26b1-fe0f"},{n:["moyai"],u:"1f5ff"},{n:["oil_drum"],u:"1f6e2-fe0f"},{n:["crystal ball","crystal_ball"],u:"1f52e"},{n:["shopping trolley","shopping_trolley"],u:"1f6d2"}],symbols:[{n:["automated teller machine","atm"],u:"1f3e7"},{n:["put litter in its place symbol","put_litter_in_its_place"],u:"1f6ae"},{n:["potable water symbol","potable_water"],u:"1f6b0"},{n:["wheelchair symbol","wheelchair"],u:"267f"},{n:["mens symbol","mens"],u:"1f6b9"},{n:["womens symbol","womens"],u:"1f6ba"},{n:["restroom"],u:"1f6bb"},{n:["baby symbol","baby_symbol"],u:"1f6bc"},{n:["water closet","wc"],u:"1f6be"},{n:["passport control","passport_control"],u:"1f6c2"},{n:["customs"],u:"1f6c3"},{n:["baggage claim","baggage_claim"],u:"1f6c4"},{n:["left luggage","left_luggage"],u:"1f6c5"},{n:["warning sign","warning"],u:"26a0-fe0f"},{n:["children crossing","children_crossing"],u:"1f6b8"},{n:["no entry","no_entry"],u:"26d4"},{n:["no entry sign","no_entry_sign"],u:"1f6ab"},{n:["no bicycles","no_bicycles"],u:"1f6b3"},{n:["no smoking symbol","no_smoking"],u:"1f6ad"},{n:["do not litter symbol","do_not_litter"],u:"1f6af"},{n:["non-potable water symbol","non-potable_water"],u:"1f6b1"},{n:["no pedestrians","no_pedestrians"],u:"1f6b7"},{n:["no mobile phones","no_mobile_phones"],u:"1f4f5"},{n:["no one under eighteen symbol","underage"],u:"1f51e"},{n:["radioactive_sign"],u:"2622-fe0f"},{n:["biohazard_sign"],u:"2623-fe0f"},{n:["upwards black arrow","arrow_up"],u:"2b06-fe0f"},{n:["north east arrow","arrow_upper_right"],u:"2197-fe0f"},{n:["black rightwards arrow","arrow_right"],u:"27a1-fe0f"},{n:["south east arrow","arrow_lower_right"],u:"2198-fe0f"},{n:["downwards black arrow","arrow_down"],u:"2b07-fe0f"},{n:["south west arrow","arrow_lower_left"],u:"2199-fe0f"},{n:["leftwards black arrow","arrow_left"],u:"2b05-fe0f"},{n:["north west arrow","arrow_upper_left"],u:"2196-fe0f"},{n:["up down arrow","arrow_up_down"],u:"2195-fe0f"},{n:["left right arrow","left_right_arrow"],u:"2194-fe0f"},{n:["leftwards arrow with hook","leftwards_arrow_with_hook"],u:"21a9-fe0f"},{n:["rightwards arrow with hook","arrow_right_hook"],u:"21aa-fe0f"},{n:["arrow pointing rightwards then curving upwards","arrow_heading_up"],u:"2934-fe0f"},{n:["arrow pointing rightwards then curving downwards","arrow_heading_down"],u:"2935-fe0f"},{n:["clockwise downwards and upwards open circle arrows","arrows_clockwise"],u:"1f503"},{n:["anticlockwise downwards and upwards open circle arrows","arrows_counterclockwise"],u:"1f504"},{n:["back with leftwards arrow above","back"],u:"1f519"},{n:["end with leftwards arrow above","end"],u:"1f51a"},{n:["on with exclamation mark with left right arrow above","on"],u:"1f51b"},{n:["soon with rightwards arrow above","soon"],u:"1f51c"},{n:["top with upwards arrow above","top"],u:"1f51d"},{n:["place of worship","place_of_worship"],u:"1f6d0"},{n:["atom_symbol"],u:"269b-fe0f"},{n:["om_symbol"],u:"1f549-fe0f"},{n:["star_of_david"],u:"2721-fe0f"},{n:["wheel_of_dharma"],u:"2638-fe0f"},{n:["yin_yang"],u:"262f-fe0f"},{n:["latin_cross"],u:"271d-fe0f"},{n:["orthodox_cross"],u:"2626-fe0f"},{n:["star_and_crescent"],u:"262a-fe0f"},{n:["peace_symbol"],u:"262e-fe0f"},{n:["menorah with nine branches","menorah_with_nine_branches"],u:"1f54e"},{n:["six pointed star with middle dot","six_pointed_star"],u:"1f52f"},{n:["aries"],u:"2648"},{n:["taurus"],u:"2649"},{n:["gemini"],u:"264a"},{n:["cancer"],u:"264b"},{n:["leo"],u:"264c"},{n:["virgo"],u:"264d"},{n:["libra"],u:"264e"},{n:["scorpius"],u:"264f"},{n:["sagittarius"],u:"2650"},{n:["capricorn"],u:"2651"},{n:["aquarius"],u:"2652"},{n:["pisces"],u:"2653"},{n:["ophiuchus"],u:"26ce"},{n:["twisted rightwards arrows","twisted_rightwards_arrows"],u:"1f500"},{n:["clockwise rightwards and leftwards open circle arrows","repeat"],u:"1f501"},{n:["clockwise rightwards and leftwards open circle arrows with circled one overlay","repeat_one"],u:"1f502"},{n:["black right-pointing triangle","arrow_forward"],u:"25b6-fe0f"},{n:["black right-pointing double triangle","fast_forward"],u:"23e9"},{n:["black_right_pointing_double_triangle_with_vertical_bar"],u:"23ed-fe0f"},{n:["black_right_pointing_triangle_with_double_vertical_bar"],u:"23ef-fe0f"},{n:["black left-pointing triangle","arrow_backward"],u:"25c0-fe0f"},{n:["black left-pointing double triangle","rewind"],u:"23ea"},{n:["black_left_pointing_double_triangle_with_vertical_bar"],u:"23ee-fe0f"},{n:["up-pointing small red triangle","arrow_up_small"],u:"1f53c"},{n:["black up-pointing double triangle","arrow_double_up"],u:"23eb"},{n:["down-pointing small red triangle","arrow_down_small"],u:"1f53d"},{n:["black down-pointing double triangle","arrow_double_down"],u:"23ec"},{n:["double_vertical_bar"],u:"23f8-fe0f"},{n:["black_square_for_stop"],u:"23f9-fe0f"},{n:["black_circle_for_record"],u:"23fa-fe0f"},{n:["eject"],u:"23cf-fe0f"},{n:["cinema"],u:"1f3a6"},{n:["low brightness symbol","low_brightness"],u:"1f505"},{n:["high brightness symbol","high_brightness"],u:"1f506"},{n:["antenna with bars","signal_strength"],u:"1f4f6"},{n:["vibration mode","vibration_mode"],u:"1f4f3"},{n:["mobile phone off","mobile_phone_off"],u:"1f4f4"},{n:["female_sign"],u:"2640-fe0f"},{n:["male_sign"],u:"2642-fe0f"},{n:["medical_symbol","staff_of_aesculapius"],u:"2695-fe0f"},{n:["black universal recycling symbol","recycle"],u:"267b-fe0f"},{n:["fleur_de_lis"],u:"269c-fe0f"},{n:["trident emblem","trident"],u:"1f531"},{n:["name badge","name_badge"],u:"1f4db"},{n:["japanese symbol for beginner","beginner"],u:"1f530"},{n:["heavy large circle","o"],u:"2b55"},{n:["white heavy check mark","white_check_mark"],u:"2705"},{n:["ballot box with check","ballot_box_with_check"],u:"2611-fe0f"},{n:["heavy check mark","heavy_check_mark"],u:"2714-fe0f"},{n:["heavy multiplication x","heavy_multiplication_x"],u:"2716-fe0f"},{n:["cross mark","x"],u:"274c"},{n:["negative squared cross mark","negative_squared_cross_mark"],u:"274e"},{n:["heavy plus sign","heavy_plus_sign"],u:"2795"},{n:["heavy minus sign","heavy_minus_sign"],u:"2796"},{n:["heavy division sign","heavy_division_sign"],u:"2797"},{n:["curly loop","curly_loop"],u:"27b0"},{n:["double curly loop","loop"],u:"27bf"},{n:["part alternation mark","part_alternation_mark"],u:"303d-fe0f"},{n:["eight spoked asterisk","eight_spoked_asterisk"],u:"2733-fe0f"},{n:["eight pointed black star","eight_pointed_black_star"],u:"2734-fe0f"},{n:["sparkle"],u:"2747-fe0f"},{n:["double exclamation mark","bangbang"],u:"203c-fe0f"},{n:["exclamation question mark","interrobang"],u:"2049-fe0f"},{n:["black question mark ornament","question"],u:"2753"},{n:["white question mark ornament","grey_question"],u:"2754"},{n:["white exclamation mark ornament","grey_exclamation"],u:"2755"},{n:["heavy exclamation mark symbol","exclamation","heavy_exclamation_mark"],u:"2757"},{n:["wavy dash","wavy_dash"],u:"3030-fe0f"},{n:["copyright sign","copyright"],u:"00a9-fe0f"},{n:["registered sign","registered"],u:"00ae-fe0f"},{n:["trade mark sign","tm"],u:"2122-fe0f"},{n:["hash key","hash"],u:"0023-fe0f-20e3"},{n:["keycap_star"],u:"002a-fe0f-20e3"},{n:["keycap 0","zero"],u:"0030-fe0f-20e3"},{n:["keycap 1","one"],u:"0031-fe0f-20e3"},{n:["keycap 2","two"],u:"0032-fe0f-20e3"},{n:["keycap 3","three"],u:"0033-fe0f-20e3"},{n:["keycap 4","four"],u:"0034-fe0f-20e3"},{n:["keycap 5","five"],u:"0035-fe0f-20e3"},{n:["keycap 6","six"],u:"0036-fe0f-20e3"},{n:["keycap 7","seven"],u:"0037-fe0f-20e3"},{n:["keycap 8","eight"],u:"0038-fe0f-20e3"},{n:["keycap 9","nine"],u:"0039-fe0f-20e3"},{n:["keycap ten","keycap_ten"],u:"1f51f"},{n:["hundred points symbol","100"],u:"1f4af"},{n:["input symbol for latin capital letters","capital_abcd"],u:"1f520"},{n:["input symbol for latin small letters","abcd"],u:"1f521"},{n:["input symbol for numbers","1234"],u:"1f522"},{n:["input symbol for symbols","symbols"],u:"1f523"},{n:["input symbol for latin letters","abc"],u:"1f524"},{n:["negative squared latin capital letter a","a"],u:"1f170-fe0f"},{n:["negative squared ab","ab"],u:"1f18e"},{n:["negative squared latin capital letter b","b"],u:"1f171-fe0f"},{n:["squared cl","cl"],u:"1f191"},{n:["squared cool","cool"],u:"1f192"},{n:["squared free","free"],u:"1f193"},{n:["information source","information_source"],u:"2139-fe0f"},{n:["squared id","id"],u:"1f194"},{n:["circled latin capital letter m","m"],u:"24c2-fe0f"},{n:["squared new","new"],u:"1f195"},{n:["squared ng","ng"],u:"1f196"},{n:["negative squared latin capital letter o","o2"],u:"1f17e-fe0f"},{n:["squared ok","ok"],u:"1f197"},{n:["negative squared latin capital letter p","parking"],u:"1f17f-fe0f"},{n:["squared sos","sos"],u:"1f198"},{n:["squared up with exclamation mark","up"],u:"1f199"},{n:["squared vs","vs"],u:"1f19a"},{n:["squared katakana koko","koko"],u:"1f201"},{n:["squared katakana sa","sa"],u:"1f202-fe0f"},{n:["squared cjk unified ideograph-6708","u6708"],u:"1f237-fe0f"},{n:["squared cjk unified ideograph-6709","u6709"],u:"1f236"},{n:["squared cjk unified ideograph-6307","u6307"],u:"1f22f"},{n:["circled ideograph advantage","ideograph_advantage"],u:"1f250"},{n:["squared cjk unified ideograph-5272","u5272"],u:"1f239"},{n:["squared cjk unified ideograph-7121","u7121"],u:"1f21a"},{n:["squared cjk unified ideograph-7981","u7981"],u:"1f232"},{n:["circled ideograph accept","accept"],u:"1f251"},{n:["squared cjk unified ideograph-7533","u7533"],u:"1f238"},{n:["squared cjk unified ideograph-5408","u5408"],u:"1f234"},{n:["squared cjk unified ideograph-7a7a","u7a7a"],u:"1f233"},{n:["circled ideograph congratulation","congratulations"],u:"3297-fe0f"},{n:["circled ideograph secret","secret"],u:"3299-fe0f"},{n:["squared cjk unified ideograph-55b6","u55b6"],u:"1f23a"},{n:["squared cjk unified ideograph-6e80","u6e80"],u:"1f235"},{n:["black small square","black_small_square"],u:"25aa-fe0f"},{n:["white small square","white_small_square"],u:"25ab-fe0f"},{n:["white medium square","white_medium_square"],u:"25fb-fe0f"},{n:["black medium square","black_medium_square"],u:"25fc-fe0f"},{n:["white medium small square","white_medium_small_square"],u:"25fd"},{n:["black medium small square","black_medium_small_square"],u:"25fe"},{n:["black large square","black_large_square"],u:"2b1b"},{n:["white large square","white_large_square"],u:"2b1c"},{n:["large orange diamond","large_orange_diamond"],u:"1f536"},{n:["large blue diamond","large_blue_diamond"],u:"1f537"},{n:["small orange diamond","small_orange_diamond"],u:"1f538"},{n:["small blue diamond","small_blue_diamond"],u:"1f539"},{n:["up-pointing red triangle","small_red_triangle"],u:"1f53a"},{n:["down-pointing red triangle","small_red_triangle_down"],u:"1f53b"},{n:["diamond shape with a dot inside","diamond_shape_with_a_dot_inside"],u:"1f4a0"},{n:["radio button","radio_button"],u:"1f518"},{n:["black square button","black_square_button"],u:"1f532"},{n:["white square button","white_square_button"],u:"1f533"},{n:["medium white circle","white_circle"],u:"26aa"},{n:["medium black circle","black_circle"],u:"26ab"},{n:["large red circle","red_circle"],u:"1f534"},{n:["large blue circle","large_blue_circle"],u:"1f535"}],flags:[{n:["chequered flag","checkered_flag"],u:"1f3c1"},{n:["triangular flag on post","triangular_flag_on_post"],u:"1f6a9"},{n:["crossed flags","crossed_flags"],u:"1f38c"},{n:["waving black flag","waving_black_flag"],u:"1f3f4"},{n:["waving_white_flag"],u:"1f3f3-fe0f"},{n:["rainbow-flag"],u:"1f3f3-fe0f-200d-1f308"},{n:["ascension island flag","flag-ac"],u:"1f1e6-1f1e8"},{n:["andorra flag","flag-ad"],u:"1f1e6-1f1e9"},{n:["united arab emirates flag","flag-ae"],u:"1f1e6-1f1ea"},{n:["afghanistan flag","flag-af"],u:"1f1e6-1f1eb"},{n:["antigua & barbuda flag","flag-ag"],u:"1f1e6-1f1ec"},{n:["anguilla flag","flag-ai"],u:"1f1e6-1f1ee"},{n:["albania flag","flag-al"],u:"1f1e6-1f1f1"},{n:["armenia flag","flag-am"],u:"1f1e6-1f1f2"},{n:["angola flag","flag-ao"],u:"1f1e6-1f1f4"},{n:["antarctica flag","flag-aq"],u:"1f1e6-1f1f6"},{n:["argentina flag","flag-ar"],u:"1f1e6-1f1f7"},{n:["american samoa flag","flag-as"],u:"1f1e6-1f1f8"},{n:["austria flag","flag-at"],u:"1f1e6-1f1f9"},{n:["australia flag","flag-au"],u:"1f1e6-1f1fa"},{n:["aruba flag","flag-aw"],u:"1f1e6-1f1fc"},{n:["åland islands flag","flag-ax"],u:"1f1e6-1f1fd"},{n:["azerbaijan flag","flag-az"],u:"1f1e6-1f1ff"},{n:["bosnia & herzegovina flag","flag-ba"],u:"1f1e7-1f1e6"},{n:["barbados flag","flag-bb"],u:"1f1e7-1f1e7"},{n:["bangladesh flag","flag-bd"],u:"1f1e7-1f1e9"},{n:["belgium flag","flag-be"],u:"1f1e7-1f1ea"},{n:["burkina faso flag","flag-bf"],u:"1f1e7-1f1eb"},{n:["bulgaria flag","flag-bg"],u:"1f1e7-1f1ec"},{n:["bahrain flag","flag-bh"],u:"1f1e7-1f1ed"},{n:["burundi flag","flag-bi"],u:"1f1e7-1f1ee"},{n:["benin flag","flag-bj"],u:"1f1e7-1f1ef"},{n:["st. barthélemy flag","flag-bl"],u:"1f1e7-1f1f1"},{n:["bermuda flag","flag-bm"],u:"1f1e7-1f1f2"},{n:["brunei flag","flag-bn"],u:"1f1e7-1f1f3"},{n:["bolivia flag","flag-bo"],u:"1f1e7-1f1f4"},{n:["caribbean netherlands flag","flag-bq"],u:"1f1e7-1f1f6"},{n:["brazil flag","flag-br"],u:"1f1e7-1f1f7"},{n:["bahamas flag","flag-bs"],u:"1f1e7-1f1f8"},{n:["bhutan flag","flag-bt"],u:"1f1e7-1f1f9"},{n:["bouvet island flag","flag-bv"],u:"1f1e7-1f1fb"},{n:["botswana flag","flag-bw"],u:"1f1e7-1f1fc"},{n:["belarus flag","flag-by"],u:"1f1e7-1f1fe"},{n:["belize flag","flag-bz"],u:"1f1e7-1f1ff"},{n:["canada flag","flag-ca"],u:"1f1e8-1f1e6"},{n:["cocos (keeling) islands flag","flag-cc"],u:"1f1e8-1f1e8"},{n:["congo - kinshasa flag","flag-cd"],u:"1f1e8-1f1e9"},{n:["central african republic flag","flag-cf"],u:"1f1e8-1f1eb"},{n:["congo - brazzaville flag","flag-cg"],u:"1f1e8-1f1ec"},{n:["switzerland flag","flag-ch"],u:"1f1e8-1f1ed"},{n:["côte d’ivoire flag","flag-ci"],u:"1f1e8-1f1ee"},{n:["cook islands flag","flag-ck"],u:"1f1e8-1f1f0"},{n:["chile flag","flag-cl"],u:"1f1e8-1f1f1"},{n:["cameroon flag","flag-cm"],u:"1f1e8-1f1f2"},{n:["china flag","cn","flag-cn"],u:"1f1e8-1f1f3"},{n:["colombia flag","flag-co"],u:"1f1e8-1f1f4"},{n:["clipperton island flag","flag-cp"],u:"1f1e8-1f1f5"},{n:["costa rica flag","flag-cr"],u:"1f1e8-1f1f7"},{n:["cuba flag","flag-cu"],u:"1f1e8-1f1fa"},{n:["cape verde flag","flag-cv"],u:"1f1e8-1f1fb"},{n:["curaçao flag","flag-cw"],u:"1f1e8-1f1fc"},{n:["christmas island flag","flag-cx"],u:"1f1e8-1f1fd"},{n:["cyprus flag","flag-cy"],u:"1f1e8-1f1fe"},{n:["czechia flag","flag-cz"],u:"1f1e8-1f1ff"},{n:["germany flag","de","flag-de"],u:"1f1e9-1f1ea"},{n:["diego garcia flag","flag-dg"],u:"1f1e9-1f1ec"},{n:["djibouti flag","flag-dj"],u:"1f1e9-1f1ef"},{n:["denmark flag","flag-dk"],u:"1f1e9-1f1f0"},{n:["dominica flag","flag-dm"],u:"1f1e9-1f1f2"},{n:["dominican republic flag","flag-do"],u:"1f1e9-1f1f4"},{n:["algeria flag","flag-dz"],u:"1f1e9-1f1ff"},{n:["ceuta & melilla flag","flag-ea"],u:"1f1ea-1f1e6"},{n:["ecuador flag","flag-ec"],u:"1f1ea-1f1e8"},{n:["estonia flag","flag-ee"],u:"1f1ea-1f1ea"},{n:["egypt flag","flag-eg"],u:"1f1ea-1f1ec"},{n:["western sahara flag","flag-eh"],u:"1f1ea-1f1ed"},{n:["eritrea flag","flag-er"],u:"1f1ea-1f1f7"},{n:["spain flag","es","flag-es"],u:"1f1ea-1f1f8"},{n:["ethiopia flag","flag-et"],u:"1f1ea-1f1f9"},{n:["european union flag","flag-eu"],u:"1f1ea-1f1fa"},{n:["finland flag","flag-fi"],u:"1f1eb-1f1ee"},{n:["fiji flag","flag-fj"],u:"1f1eb-1f1ef"},{n:["falkland islands flag","flag-fk"],u:"1f1eb-1f1f0"},{n:["micronesia flag","flag-fm"],u:"1f1eb-1f1f2"},{n:["faroe islands flag","flag-fo"],u:"1f1eb-1f1f4"},{n:["france flag","fr","flag-fr"],u:"1f1eb-1f1f7"},{n:["gabon flag","flag-ga"],u:"1f1ec-1f1e6"},{n:["united kingdom flag","gb","uk","flag-gb"],u:"1f1ec-1f1e7"},{n:["grenada flag","flag-gd"],u:"1f1ec-1f1e9"},{n:["georgia flag","flag-ge"],u:"1f1ec-1f1ea"},{n:["french guiana flag","flag-gf"],u:"1f1ec-1f1eb"},{n:["guernsey flag","flag-gg"],u:"1f1ec-1f1ec"},{n:["ghana flag","flag-gh"],u:"1f1ec-1f1ed"},{n:["gibraltar flag","flag-gi"],u:"1f1ec-1f1ee"},{n:["greenland flag","flag-gl"],u:"1f1ec-1f1f1"},{n:["gambia flag","flag-gm"],u:"1f1ec-1f1f2"},{n:["guinea flag","flag-gn"],u:"1f1ec-1f1f3"},{n:["guadeloupe flag","flag-gp"],u:"1f1ec-1f1f5"},{n:["equatorial guinea flag","flag-gq"],u:"1f1ec-1f1f6"},{n:["greece flag","flag-gr"],u:"1f1ec-1f1f7"},{n:["south georgia & south sandwich islands flag","flag-gs"],u:"1f1ec-1f1f8"},{n:["guatemala flag","flag-gt"],u:"1f1ec-1f1f9"},{n:["guam flag","flag-gu"],u:"1f1ec-1f1fa"},{n:["guinea-bissau flag","flag-gw"],u:"1f1ec-1f1fc"},{n:["guyana flag","flag-gy"],u:"1f1ec-1f1fe"},{n:["hong kong sar china flag","flag-hk"],u:"1f1ed-1f1f0"},{n:["heard & mcdonald islands flag","flag-hm"],u:"1f1ed-1f1f2"},{n:["honduras flag","flag-hn"],u:"1f1ed-1f1f3"},{n:["croatia flag","flag-hr"],u:"1f1ed-1f1f7"},{n:["haiti flag","flag-ht"],u:"1f1ed-1f1f9"},{n:["hungary flag","flag-hu"],u:"1f1ed-1f1fa"},{n:["canary islands flag","flag-ic"],u:"1f1ee-1f1e8"},{n:["indonesia flag","flag-id"],u:"1f1ee-1f1e9"},{n:["ireland flag","flag-ie"],u:"1f1ee-1f1ea"},{n:["israel flag","flag-il"],u:"1f1ee-1f1f1"},{n:["isle of man flag","flag-im"],u:"1f1ee-1f1f2"},{n:["india flag","flag-in"],u:"1f1ee-1f1f3"},{n:["british indian ocean territory flag","flag-io"],u:"1f1ee-1f1f4"},{n:["iraq flag","flag-iq"],u:"1f1ee-1f1f6"},{n:["iran flag","flag-ir"],u:"1f1ee-1f1f7"},{n:["iceland flag","flag-is"],u:"1f1ee-1f1f8"},{n:["italy flag","it","flag-it"],u:"1f1ee-1f1f9"},{n:["jersey flag","flag-je"],u:"1f1ef-1f1ea"},{n:["jamaica flag","flag-jm"],u:"1f1ef-1f1f2"},{n:["jordan flag","flag-jo"],u:"1f1ef-1f1f4"},{n:["japan flag","jp","flag-jp"],u:"1f1ef-1f1f5"},{n:["kenya flag","flag-ke"],u:"1f1f0-1f1ea"},{n:["kyrgyzstan flag","flag-kg"],u:"1f1f0-1f1ec"},{n:["cambodia flag","flag-kh"],u:"1f1f0-1f1ed"},{n:["kiribati flag","flag-ki"],u:"1f1f0-1f1ee"},{n:["comoros flag","flag-km"],u:"1f1f0-1f1f2"},{n:["st. kitts & nevis flag","flag-kn"],u:"1f1f0-1f1f3"},{n:["north korea flag","flag-kp"],u:"1f1f0-1f1f5"},{n:["south korea flag","kr","flag-kr"],u:"1f1f0-1f1f7"},{n:["kuwait flag","flag-kw"],u:"1f1f0-1f1fc"},{n:["cayman islands flag","flag-ky"],u:"1f1f0-1f1fe"},{n:["kazakhstan flag","flag-kz"],u:"1f1f0-1f1ff"},{n:["laos flag","flag-la"],u:"1f1f1-1f1e6"},{n:["lebanon flag","flag-lb"],u:"1f1f1-1f1e7"},{n:["st. lucia flag","flag-lc"],u:"1f1f1-1f1e8"},{n:["liechtenstein flag","flag-li"],u:"1f1f1-1f1ee"},{n:["sri lanka flag","flag-lk"],u:"1f1f1-1f1f0"},{n:["liberia flag","flag-lr"],u:"1f1f1-1f1f7"},{n:["lesotho flag","flag-ls"],u:"1f1f1-1f1f8"},{n:["lithuania flag","flag-lt"],u:"1f1f1-1f1f9"},{n:["luxembourg flag","flag-lu"],u:"1f1f1-1f1fa"},{n:["latvia flag","flag-lv"],u:"1f1f1-1f1fb"},{n:["libya flag","flag-ly"],u:"1f1f1-1f1fe"},{n:["morocco flag","flag-ma"],u:"1f1f2-1f1e6"},{n:["monaco flag","flag-mc"],u:"1f1f2-1f1e8"},{n:["moldova flag","flag-md"],u:"1f1f2-1f1e9"},{n:["montenegro flag","flag-me"],u:"1f1f2-1f1ea"},{n:["st. martin flag","flag-mf"],u:"1f1f2-1f1eb"},{n:["madagascar flag","flag-mg"],u:"1f1f2-1f1ec"},{n:["marshall islands flag","flag-mh"],u:"1f1f2-1f1ed"},{n:["macedonia flag","flag-mk"],u:"1f1f2-1f1f0"},{n:["mali flag","flag-ml"],u:"1f1f2-1f1f1"},{n:["myanmar (burma) flag","flag-mm"],u:"1f1f2-1f1f2"},{n:["mongolia flag","flag-mn"],u:"1f1f2-1f1f3"},{n:["macau sar china flag","flag-mo"],u:"1f1f2-1f1f4"},{n:["northern mariana islands flag","flag-mp"],u:"1f1f2-1f1f5"},{n:["martinique flag","flag-mq"],u:"1f1f2-1f1f6"},{n:["mauritania flag","flag-mr"],u:"1f1f2-1f1f7"},{n:["montserrat flag","flag-ms"],u:"1f1f2-1f1f8"},{n:["malta flag","flag-mt"],u:"1f1f2-1f1f9"},{n:["mauritius flag","flag-mu"],u:"1f1f2-1f1fa"},{n:["maldives flag","flag-mv"],u:"1f1f2-1f1fb"},{n:["malawi flag","flag-mw"],u:"1f1f2-1f1fc"},{n:["mexico flag","flag-mx"],u:"1f1f2-1f1fd"},{n:["malaysia flag","flag-my"],u:"1f1f2-1f1fe"},{n:["mozambique flag","flag-mz"],u:"1f1f2-1f1ff"},{n:["namibia flag","flag-na"],u:"1f1f3-1f1e6"},{n:["new caledonia flag","flag-nc"],u:"1f1f3-1f1e8"},{n:["niger flag","flag-ne"],u:"1f1f3-1f1ea"},{n:["norfolk island flag","flag-nf"],u:"1f1f3-1f1eb"},{n:["nigeria flag","flag-ng"],u:"1f1f3-1f1ec"},{n:["nicaragua flag","flag-ni"],u:"1f1f3-1f1ee"},{n:["netherlands flag","flag-nl"],u:"1f1f3-1f1f1"},{n:["norway flag","flag-no"],u:"1f1f3-1f1f4"},{n:["nepal flag","flag-np"],u:"1f1f3-1f1f5"},{n:["nauru flag","flag-nr"],u:"1f1f3-1f1f7"},{n:["niue flag","flag-nu"],u:"1f1f3-1f1fa"},{n:["new zealand flag","flag-nz"],u:"1f1f3-1f1ff"},{n:["oman flag","flag-om"],u:"1f1f4-1f1f2"},{n:["panama flag","flag-pa"],u:"1f1f5-1f1e6"},{n:["peru flag","flag-pe"],u:"1f1f5-1f1ea"},{n:["french polynesia flag","flag-pf"],u:"1f1f5-1f1eb"},{n:["papua new guinea flag","flag-pg"],u:"1f1f5-1f1ec"},{n:["philippines flag","flag-ph"],u:"1f1f5-1f1ed"},{n:["pakistan flag","flag-pk"],u:"1f1f5-1f1f0"},{n:["poland flag","flag-pl"],u:"1f1f5-1f1f1"},{n:["st. pierre & miquelon flag","flag-pm"],u:"1f1f5-1f1f2"},{n:["pitcairn islands flag","flag-pn"],u:"1f1f5-1f1f3"},{n:["puerto rico flag","flag-pr"],u:"1f1f5-1f1f7"},{n:["palestinian territories flag","flag-ps"],u:"1f1f5-1f1f8"},{n:["portugal flag","flag-pt"],u:"1f1f5-1f1f9"},{n:["palau flag","flag-pw"],u:"1f1f5-1f1fc"},{n:["paraguay flag","flag-py"],u:"1f1f5-1f1fe"},{n:["qatar flag","flag-qa"],u:"1f1f6-1f1e6"},{n:["réunion flag","flag-re"],u:"1f1f7-1f1ea"},{n:["romania flag","flag-ro"],u:"1f1f7-1f1f4"},{n:["serbia flag","flag-rs"],u:"1f1f7-1f1f8"},{n:["russia flag","ru","flag-ru"],u:"1f1f7-1f1fa"},{n:["rwanda flag","flag-rw"],u:"1f1f7-1f1fc"},{n:["saudi arabia flag","flag-sa"],u:"1f1f8-1f1e6"},{n:["solomon islands flag","flag-sb"],u:"1f1f8-1f1e7"},{n:["seychelles flag","flag-sc"],u:"1f1f8-1f1e8"},{n:["sudan flag","flag-sd"],u:"1f1f8-1f1e9"},{n:["sweden flag","flag-se"],u:"1f1f8-1f1ea"},{n:["singapore flag","flag-sg"],u:"1f1f8-1f1ec"},{n:["st. helena flag","flag-sh"],u:"1f1f8-1f1ed"},{n:["slovenia flag","flag-si"],u:"1f1f8-1f1ee"},{n:["svalbard & jan mayen flag","flag-sj"],u:"1f1f8-1f1ef"},{n:["slovakia flag","flag-sk"],u:"1f1f8-1f1f0"},{n:["sierra leone flag","flag-sl"],u:"1f1f8-1f1f1"},{n:["san marino flag","flag-sm"],u:"1f1f8-1f1f2"},{n:["senegal flag","flag-sn"],u:"1f1f8-1f1f3"},{n:["somalia flag","flag-so"],u:"1f1f8-1f1f4"},{n:["suriname flag","flag-sr"],u:"1f1f8-1f1f7"},{n:["south sudan flag","flag-ss"],u:"1f1f8-1f1f8"},{n:["são tomé & príncipe flag","flag-st"],u:"1f1f8-1f1f9"},{n:["el salvador flag","flag-sv"],u:"1f1f8-1f1fb"},{n:["sint maarten flag","flag-sx"],u:"1f1f8-1f1fd"},{n:["syria flag","flag-sy"],u:"1f1f8-1f1fe"},{n:["swaziland flag","flag-sz"],u:"1f1f8-1f1ff"},{n:["tristan da cunha flag","flag-ta"],u:"1f1f9-1f1e6"},{n:["turks & caicos islands flag","flag-tc"],u:"1f1f9-1f1e8"},{n:["chad flag","flag-td"],u:"1f1f9-1f1e9"},{n:["french southern territories flag","flag-tf"],u:"1f1f9-1f1eb"},{n:["togo flag","flag-tg"],u:"1f1f9-1f1ec"},{n:["thailand flag","flag-th"],u:"1f1f9-1f1ed"},{n:["tajikistan flag","flag-tj"],u:"1f1f9-1f1ef"},{n:["tokelau flag","flag-tk"],u:"1f1f9-1f1f0"},{n:["timor-leste flag","flag-tl"],u:"1f1f9-1f1f1"},{n:["turkmenistan flag","flag-tm"],u:"1f1f9-1f1f2"},{n:["tunisia flag","flag-tn"],u:"1f1f9-1f1f3"},{n:["tonga flag","flag-to"],u:"1f1f9-1f1f4"},{n:["turkey flag","flag-tr"],u:"1f1f9-1f1f7"},{n:["trinidad & tobago flag","flag-tt"],u:"1f1f9-1f1f9"},{n:["tuvalu flag","flag-tv"],u:"1f1f9-1f1fb"},{n:["taiwan flag","flag-tw"],u:"1f1f9-1f1fc"},{n:["tanzania flag","flag-tz"],u:"1f1f9-1f1ff"},{n:["ukraine flag","flag-ua"],u:"1f1fa-1f1e6"},{n:["uganda flag","flag-ug"],u:"1f1fa-1f1ec"},{n:["u.s. outlying islands flag","flag-um"],u:"1f1fa-1f1f2"},{n:["united nations flag","flag-un"],u:"1f1fa-1f1f3"},{n:["united states flag","us","flag-us"],u:"1f1fa-1f1f8"},{n:["uruguay flag","flag-uy"],u:"1f1fa-1f1fe"},{n:["uzbekistan flag","flag-uz"],u:"1f1fa-1f1ff"},{n:["vatican city flag","flag-va"],u:"1f1fb-1f1e6"},{n:["st. vincent & grenadines flag","flag-vc"],u:"1f1fb-1f1e8"},{n:["venezuela flag","flag-ve"],u:"1f1fb-1f1ea"},{n:["british virgin islands flag","flag-vg"],u:"1f1fb-1f1ec"},{n:["u.s. virgin islands flag","flag-vi"],u:"1f1fb-1f1ee"},{n:["vietnam flag","flag-vn"],u:"1f1fb-1f1f3"},{n:["vanuatu flag","flag-vu"],u:"1f1fb-1f1fa"},{n:["wallis & futuna flag","flag-wf"],u:"1f1fc-1f1eb"},{n:["samoa flag","flag-ws"],u:"1f1fc-1f1f8"},{n:["kosovo flag","flag-xk"],u:"1f1fd-1f1f0"},{n:["yemen flag","flag-ye"],u:"1f1fe-1f1ea"},{n:["mayotte flag","flag-yt"],u:"1f1fe-1f1f9"},{n:["south africa flag","flag-za"],u:"1f1ff-1f1e6"},{n:["zambia flag","flag-zm"],u:"1f1ff-1f1f2"},{n:["zimbabwe flag","flag-zw"],u:"1f1ff-1f1fc"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"}]},p5=[{key:"recent",title:"Recently Used",u:"1f551"},{key:"smileys_people",title:"Smiles & People",u:"1f600"},{key:"animals_nature",title:"Animals & Nature",u:"1F431"},{key:"food_drink",title:"Food & Drink",u:"2615"},{key:"activities",title:"Activities",u:"26BD"},{key:"travel_places",title:"Travel & Places",u:"1F697"},{key:"objects",title:"Objects",u:"1F4A1"},{key:"symbols",title:"Symbols",u:"1f4af"},{key:"flags",title:"Flags",u:"1f3f3-fe0f"}];const sAe=(e,t)=>t.some(n=>e instanceof n);let g5,y5;function lAe(){return g5||(g5=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function uAe(){return y5||(y5=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const b5=new WeakMap,Tg=new WeakMap,w5=new WeakMap,Pg=new WeakMap,Eg=new WeakMap;function dAe(e){const t=new Promise((n,i)=>{const r=()=>{e.removeEventListener("success",a),e.removeEventListener("error",o)},a=()=>{n(oa(e.result)),r()},o=()=>{i(e.error),r()};e.addEventListener("success",a),e.addEventListener("error",o)});return t.then(n=>{n instanceof IDBCursor&&b5.set(n,e)}).catch(()=>{}),Eg.set(t,e),t}function cAe(e){if(Tg.has(e))return;const t=new Promise((n,i)=>{const r=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",o),e.removeEventListener("abort",o)},a=()=>{n(),r()},o=()=>{i(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",a),e.addEventListener("error",o),e.addEventListener("abort",o)});Tg.set(e,t)}let Ag={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Tg.get(e);if(t==="objectStoreNames")return e.objectStoreNames||w5.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return oa(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function fAe(e){Ag=e(Ag)}function hAe(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(Dg(this),t,...n);return w5.set(i,t.sort?t.sort():[t]),oa(i)}:uAe().includes(e)?function(...t){return e.apply(Dg(this),t),oa(b5.get(this))}:function(...t){return oa(e.apply(Dg(this),t))}}function mAe(e){return typeof e=="function"?hAe(e):(e instanceof IDBTransaction&&cAe(e),sAe(e,lAe())?new Proxy(e,Ag):e)}function oa(e){if(e instanceof IDBRequest)return dAe(e);if(Pg.has(e))return Pg.get(e);const t=mAe(e);return t!==e&&(Pg.set(e,t),Eg.set(t,e)),t}const Dg=e=>Eg.get(e);function Ng(e,t,{blocked:n,upgrade:i,blocking:r,terminated:a}={}){const o=indexedDB.open(e,t),s=oa(o);return i&&o.addEventListener("upgradeneeded",u=>{i(oa(o.result),u.oldVersion,u.newVersion,oa(o.transaction),u)}),n&&o.addEventListener("blocked",u=>n(u.oldVersion,u.newVersion,u)),s.then(u=>{a&&u.addEventListener("close",()=>a()),r&&u.addEventListener("versionchange",c=>r(c.oldVersion,c.newVersion,c))}).catch(()=>{}),s}const pAe=["get","getKey","getAll","getAllKeys","count"],gAe=["put","add","delete","clear"],jg=new Map;function v5(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(jg.get(t))return jg.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,r=gAe.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(r||pAe.includes(n)))return;const a=async function(o,...s){const u=this.transaction(o,r?"readwrite":"readonly");let c=u.store;return i&&(c=c.index(s.shift())),(await Promise.all([c[n](...s),r&&u.done]))[0]};return jg.set(t,a),a}fAe(e=>({...e,get:(t,n,i)=>v5(t,n)||e.get(t,n,i),has:(t,n)=>!!v5(t,n)||e.has(t,n)}));const Ig="EMJ",ms="emojis",Wg=3;async function yAe(){(await Ng(Ig,Wg,{upgrade(t,n){t.objectStoreNames.contains(ms)||t.createObjectStore(ms,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0})}})).close()}yAe();const bAe={native:!1,hideSearch:!0,hideGroupIcons:!1,hideGroupNames:!1,staticTexts:{},disabledGroups:[],groupNames:{},displayRecent:!1,additionalGroups:{},groupOrder:[],groupIcons:{}};async function wAe(){return await(await Ng(Ig,Wg)).transaction(ms,"readonly").objectStore(ms).getAll()}function vAe(){const e=l.reactive({search:"",emoji:nAe,activeGroup:"",skinTone:Cf,options:bAe,additionalGroups:{},recent:[],get emojis(){return{recent:this.recent,...this.options.additionalGroups,...oAe}},get disabled(){let h=Array.isArray(this.options.disabledGroups)?this.options.disabledGroups:[];return this.options.displayRecent||(h=["recent",...h]),h},get groups(){return p5.filter(h=>!this.disabled.includes(h.key))},get orderedGroupKeys(){const h=[...this.options.groupOrder,...Object.keys(this.options.additionalGroups),...p5.map(g=>g.key)];return[...new Set(h)].filter(g=>!this.disabled.includes(g))}});function t(){e.options.displayRecent&&i()}async function n(){var h;let g=await wAe();return Array.isArray(g)&&g.length?g=JSON.parse(((h=g[0])==null?void 0:h.value)||""):g=[],g}function i(){n().then(h=>{e.recent=h,c()})}const r=h=>{e.search=h},a=h=>{e.emoji=h},o=h=>{e.activeGroup=h},s=(h=Cf)=>{e.skinTone=h},u=h=>{e.options=Object.assign({},e.options,h),t()};async function c(){(await Ng(Ig,Wg)).transaction(ms,"readwrite").objectStore(ms).put({id:0,value:JSON.stringify(e.recent)})}const f=h=>{if(e.options.displayRecent!==!0)return;const g=e.recent.findIndex(y=>y.u===h.u);if(g>0&&e.recent.splice(g,1),g===0)return;const p={u:h.u,n:l.toRaw(h.n)};e.recent=[p,...e.recent],e.recent.length>24&&(e.recent.length=24),c()};return{state:l.readonly(e),updateSearch:r,updateEmoji:a,updateActiveGroup:o,updateSkinTone:s,updateOptions:u,updateSelect:f}}var Pn="top",ii="bottom",ri="right",En="left",Og="auto",ru=[Pn,ii,ri,En],ps="start",au="end",kAe="clippingParents",k5="viewport",ou="popper",MAe="reference",M5=ru.reduce(function(e,t){return e.concat([t+"-"+ps,t+"-"+au])},[]),C5=[].concat(ru,[Og]).reduce(function(e,t){return e.concat([t,t+"-"+ps,t+"-"+au])},[]),CAe="beforeRead",xAe="read",SAe="afterRead",_Ae="beforeMain",TAe="main",PAe="afterMain",EAe="beforeWrite",AAe="write",DAe="afterWrite",NAe=[CAe,xAe,SAe,_Ae,TAe,PAe,EAe,AAe,DAe];function qi(e){return e?(e.nodeName||"").toLowerCase():null}function Ti(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gs(e){var t=Ti(e).Element;return e instanceof t||e instanceof Element}function ai(e){var t=Ti(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function x5(e){if(typeof ShadowRoot>"u")return!1;var t=Ti(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function jAe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},r=t.attributes[n]||{},a=t.elements[n];!ai(a)||!qi(a)||(Object.assign(a.style,i),Object.keys(r).forEach(function(o){var s=r[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function IAe(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(i){var r=t.elements[i],a=t.attributes[i]||{},o=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),s=o.reduce(function(u,c){return u[c]="",u},{});!ai(r)||!qi(r)||(Object.assign(r.style,s),Object.keys(a).forEach(function(u){r.removeAttribute(u)}))})}}var WAe={name:"applyStyles",enabled:!0,phase:"write",fn:jAe,effect:IAe,requires:["computeStyles"]};function Gi(e){return e.split("-")[0]}var so=Math.max,xf=Math.min,ys=Math.round;function bs(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),i=1,r=1;if(ai(e)&&t){var a=e.offsetHeight,o=e.offsetWidth;o>0&&(i=ys(n.width)/o||1),a>0&&(r=ys(n.height)/a||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function zg(e){var t=bs(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function S5(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&x5(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ki(e){return Ti(e).getComputedStyle(e)}function OAe(e){return["table","td","th"].indexOf(qi(e))>=0}function sa(e){return((gs(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sf(e){return qi(e)==="html"?e:e.assignedSlot||e.parentNode||(x5(e)?e.host:null)||sa(e)}function _5(e){return!ai(e)||Ki(e).position==="fixed"?null:e.offsetParent}function zAe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&ai(e)){var i=Ki(e);if(i.position==="fixed")return null}for(var r=Sf(e);ai(r)&&["html","body"].indexOf(qi(r))<0;){var a=Ki(r);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return r;r=r.parentNode}return null}function su(e){for(var t=Ti(e),n=_5(e);n&&OAe(n)&&Ki(n).position==="static";)n=_5(n);return n&&(qi(n)==="html"||qi(n)==="body"&&Ki(n).position==="static")?t:n||zAe(e)||t}function Lg(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lu(e,t,n){return so(e,xf(t,n))}function LAe(e,t,n){var i=lu(e,t,n);return i>n?n:i}function T5(){return{top:0,right:0,bottom:0,left:0}}function P5(e){return Object.assign({},T5(),e)}function E5(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var $Ae=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,P5(typeof t!="number"?t:E5(t,ru))};function HAe(e){var t,n=e.state,i=e.name,r=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Gi(n.placement),u=Lg(s),c=[En,ri].indexOf(s)>=0,f=c?"height":"width";if(!(!a||!o)){var h=$Ae(r.padding,n),g=zg(a),p=u==="y"?Pn:En,y=u==="y"?ii:ri,v=n.rects.reference[f]+n.rects.reference[u]-o[u]-n.rects.popper[f],k=o[u]-n.rects.reference[u],w=su(a),M=w?u==="y"?w.clientHeight||0:w.clientWidth||0:0,x=v/2-k/2,_=h[p],S=M-g[f]-h[y],N=M/2-g[f]/2+x,T=lu(_,N,S),I=u;n.modifiersData[i]=(t={},t[I]=T,t.centerOffset=T-N,t)}}function RAe(e){var t=e.state,n=e.options,i=n.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||S5(t.elements.popper,r)&&(t.elements.arrow=r))}var BAe={name:"arrow",enabled:!0,phase:"main",fn:HAe,effect:RAe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ws(e){return e.split("-")[1]}var VAe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function FAe(e){var t=e.x,n=e.y,i=window,r=i.devicePixelRatio||1;return{x:ys(t*r)/r||0,y:ys(n*r)/r||0}}function A5(e){var t,n=e.popper,i=e.popperRect,r=e.placement,a=e.variation,o=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,h=e.isFixed,g=f===!0?FAe(o):typeof f=="function"?f(o):o,p=g.x,y=p===void 0?0:p,v=g.y,k=v===void 0?0:v,w=o.hasOwnProperty("x"),M=o.hasOwnProperty("y"),x=En,_=Pn,S=window;if(c){var N=su(n),T="clientHeight",I="clientWidth";if(N===Ti(n)&&(N=sa(n),Ki(N).position!=="static"&&s==="absolute"&&(T="scrollHeight",I="scrollWidth")),N=N,r===Pn||(r===En||r===ri)&&a===au){_=ii;var L=h&&S.visualViewport?S.visualViewport.height:N[T];k-=L-i.height,k*=u?1:-1}if(r===En||(r===Pn||r===ii)&&a===au){x=ri;var D=h&&S.visualViewport?S.visualViewport.width:N[I];y-=D-i.width,y*=u?1:-1}}var z=Object.assign({position:s},c&&VAe);if(u){var H;return Object.assign({},z,(H={},H[_]=M?"0":"",H[x]=w?"0":"",H.transform=(S.devicePixelRatio||1)<=1?"translate("+y+"px, "+k+"px)":"translate3d("+y+"px, "+k+"px, 0)",H))}return Object.assign({},z,(t={},t[_]=M?k+"px":"",t[x]=w?y+"px":"",t.transform="",t))}function UAe(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=i===void 0?!0:i,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,u=s===void 0?!0:s,c={placement:Gi(t.placement),variation:ws(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,A5(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,A5(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var YAe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UAe,data:{}},_f={passive:!0};function XAe(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,a=r===void 0?!0:r,o=i.resize,s=o===void 0?!0:o,u=Ti(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(f){f.addEventListener("scroll",n.update,_f)}),s&&u.addEventListener("resize",n.update,_f),function(){a&&c.forEach(function(f){f.removeEventListener("scroll",n.update,_f)}),s&&u.removeEventListener("resize",n.update,_f)}}var qAe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:XAe,data:{}},GAe={left:"right",right:"left",bottom:"top",top:"bottom"};function Tf(e){return e.replace(/left|right|bottom|top/g,function(t){return GAe[t]})}var KAe={start:"end",end:"start"};function D5(e){return e.replace(/start|end/g,function(t){return KAe[t]})}function $g(e){var t=Ti(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Hg(e){return bs(sa(e)).left+$g(e).scrollLeft}function QAe(e){var t=Ti(e),n=sa(e),i=t.visualViewport,r=n.clientWidth,a=n.clientHeight,o=0,s=0;return i&&(r=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,s=i.offsetTop)),{width:r,height:a,x:o+Hg(e),y:s}}function JAe(e){var t,n=sa(e),i=$g(e),r=(t=e.ownerDocument)==null?void 0:t.body,a=so(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=so(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+Hg(e),u=-i.scrollTop;return Ki(r||n).direction==="rtl"&&(s+=so(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:o,x:s,y:u}}function Rg(e){var t=Ki(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function N5(e){return["html","body","#document"].indexOf(qi(e))>=0?e.ownerDocument.body:ai(e)&&Rg(e)?e:N5(Sf(e))}function uu(e,t){var n;t===void 0&&(t=[]);var i=N5(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),a=Ti(i),o=r?[a].concat(a.visualViewport||[],Rg(i)?i:[]):i,s=t.concat(o);return r?s:s.concat(uu(Sf(o)))}function Bg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ZAe(e){var t=bs(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 j5(e,t){return t===k5?Bg(QAe(e)):gs(t)?ZAe(t):Bg(JAe(sa(e)))}function eDe(e){var t=uu(Sf(e)),n=["absolute","fixed"].indexOf(Ki(e).position)>=0,i=n&&ai(e)?su(e):e;return gs(i)?t.filter(function(r){return gs(r)&&S5(r,i)&&qi(r)!=="body"&&(n?Ki(r).position!=="static":!0)}):[]}function tDe(e,t,n){var i=t==="clippingParents"?eDe(e):[].concat(t),r=[].concat(i,[n]),a=r[0],o=r.reduce(function(s,u){var c=j5(e,u);return s.top=so(c.top,s.top),s.right=xf(c.right,s.right),s.bottom=xf(c.bottom,s.bottom),s.left=so(c.left,s.left),s},j5(e,a));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function I5(e){var t=e.reference,n=e.element,i=e.placement,r=i?Gi(i):null,a=i?ws(i):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,u;switch(r){case Pn:u={x:o,y:t.y-n.height};break;case ii:u={x:o,y:t.y+t.height};break;case ri:u={x:t.x+t.width,y:s};break;case En:u={x:t.x-n.width,y:s};break;default:u={x:t.x,y:t.y}}var c=r?Lg(r):null;if(c!=null){var f=c==="y"?"height":"width";switch(a){case ps:u[c]=u[c]-(t[f]/2-n[f]/2);break;case au:u[c]=u[c]+(t[f]/2-n[f]/2);break}}return u}function du(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=i===void 0?e.placement:i,a=n.boundary,o=a===void 0?kAe:a,s=n.rootBoundary,u=s===void 0?k5:s,c=n.elementContext,f=c===void 0?ou:c,h=n.altBoundary,g=h===void 0?!1:h,p=n.padding,y=p===void 0?0:p,v=P5(typeof y!="number"?y:E5(y,ru)),k=f===ou?MAe:ou,w=e.rects.popper,M=e.elements[g?k:f],x=tDe(gs(M)?M:M.contextElement||sa(e.elements.popper),o,u),_=bs(e.elements.reference),S=I5({reference:_,element:w,strategy:"absolute",placement:r}),N=Bg(Object.assign({},w,S)),T=f===ou?N:_,I={top:x.top-T.top+v.top,bottom:T.bottom-x.bottom+v.bottom,left:x.left-T.left+v.left,right:T.right-x.right+v.right},L=e.modifiersData.offset;if(f===ou&&L){var D=L[r];Object.keys(I).forEach(function(z){var H=[ri,ii].indexOf(z)>=0?1:-1,X=[Pn,ii].indexOf(z)>=0?"y":"x";I[z]+=D[X]*H})}return I}function nDe(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?C5:u,f=ws(i),h=f?s?M5:M5.filter(function(y){return ws(y)===f}):ru,g=h.filter(function(y){return c.indexOf(y)>=0});g.length===0&&(g=h);var p=g.reduce(function(y,v){return y[v]=du(e,{placement:v,boundary:r,rootBoundary:a,padding:o})[Gi(v)],y},{});return Object.keys(p).sort(function(y,v){return p[y]-p[v]})}function iDe(e){if(Gi(e)===Og)return[];var t=Tf(e);return[D5(e),t,D5(t)]}function rDe(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,a=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!0:o,u=n.fallbackPlacements,c=n.padding,f=n.boundary,h=n.rootBoundary,g=n.altBoundary,p=n.flipVariations,y=p===void 0?!0:p,v=n.allowedAutoPlacements,k=t.options.placement,w=Gi(k),M=w===k,x=u||(M||!y?[Tf(k)]:iDe(k)),_=[k].concat(x).reduce(function(qe,ot){return qe.concat(Gi(ot)===Og?nDe(t,{placement:ot,boundary:f,rootBoundary:h,padding:c,flipVariations:y,allowedAutoPlacements:v}):ot)},[]),S=t.rects.reference,N=t.rects.popper,T=new Map,I=!0,L=_[0],D=0;D<_.length;D++){var z=_[D],H=Gi(z),X=ws(z)===ps,re=[Pn,ii].indexOf(H)>=0,ee=re?"width":"height",q=du(t,{placement:z,boundary:f,rootBoundary:h,altBoundary:g,padding:c}),Z=re?X?ri:En:X?ii:Pn;S[ee]>N[ee]&&(Z=Tf(Z));var de=Tf(Z),Ae=[];if(a&&Ae.push(q[H]<=0),s&&Ae.push(q[Z]<=0,q[de]<=0),Ae.every(function(qe){return qe})){L=z,I=!1;break}T.set(z,Ae)}if(I)for(var at=y?3:1,Tt=function(ot){var Qi=_.find(function(vs){var $n=T.get(vs);if($n)return $n.slice(0,ot).every(function(mr){return mr})});if(Qi)return L=Qi,"break"},Jt=at;Jt>0;Jt--){var Bt=Tt(Jt);if(Bt==="break")break}t.placement!==L&&(t.modifiersData[i]._skip=!0,t.placement=L,t.reset=!0)}}var aDe={name:"flip",enabled:!0,phase:"main",fn:rDe,requiresIfExists:["offset"],data:{_skip:!1}};function W5(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 O5(e){return[Pn,ri,ii,En].some(function(t){return e[t]>=0})}function oDe(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,o=du(t,{elementContext:"reference"}),s=du(t,{altBoundary:!0}),u=W5(o,i),c=W5(s,r,a),f=O5(u),h=O5(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var sDe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:oDe};function lDe(e,t,n){var i=Gi(e),r=[En,Pn].indexOf(i)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*r,[En,ri].indexOf(i)>=0?{x:s,y:o}:{x:o,y:s}}function uDe(e){var t=e.state,n=e.options,i=e.name,r=n.offset,a=r===void 0?[0,0]:r,o=C5.reduce(function(f,h){return f[h]=lDe(h,t.rects,a),f},{}),s=o[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}var dDe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uDe};function cDe(e){var t=e.state,n=e.name;t.modifiersData[n]=I5({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var fDe={name:"popperOffsets",enabled:!0,phase:"read",fn:cDe,data:{}};function hDe(e){return e==="x"?"y":"x"}function mDe(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,a=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!1:o,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,h=n.padding,g=n.tether,p=g===void 0?!0:g,y=n.tetherOffset,v=y===void 0?0:y,k=du(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:f}),w=Gi(t.placement),M=ws(t.placement),x=!M,_=Lg(w),S=hDe(_),N=t.modifiersData.popperOffsets,T=t.rects.reference,I=t.rects.popper,L=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,D=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(N){if(a){var X,re=_==="y"?Pn:En,ee=_==="y"?ii:ri,q=_==="y"?"height":"width",Z=N[_],de=Z+k[re],Ae=Z-k[ee],at=p?-I[q]/2:0,Tt=M===ps?T[q]:I[q],Jt=M===ps?-I[q]:-T[q],Bt=t.elements.arrow,qe=p&&Bt?zg(Bt):{width:0,height:0},ot=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:T5(),Qi=ot[re],vs=ot[ee],$n=lu(0,T[q],qe[q]),mr=x?T[q]/2-at-$n-Qi-D.mainAxis:Tt-$n-Qi-D.mainAxis,Xg=x?-T[q]/2+at+$n+vs+D.mainAxis:Jt+$n+vs+D.mainAxis,la=t.elements.arrow&&su(t.elements.arrow),ks=la?_==="y"?la.clientTop||0:la.clientLeft||0:0,fu=(X=z==null?void 0:z[_])!=null?X:0,Hn=Z+mr-fu-ks,lo=Z+Xg-fu,Af=lu(p?xf(de,Hn):de,Z,p?so(Ae,lo):Ae);N[_]=Af,H[_]=Af-Z}if(s){var oi,Df=_==="x"?Pn:En,qg=_==="x"?ii:ri,Rn=N[S],Zt=S==="y"?"height":"width",ua=Rn+k[Df],uo=Rn-k[qg],hu=[Pn,En].indexOf(w)!==-1,da=(oi=z==null?void 0:z[S])!=null?oi:0,Nf=hu?ua:Rn-T[Zt]-I[Zt]-da+D.altAxis,ca=hu?Rn+T[Zt]+I[Zt]-da-D.altAxis:uo,pr=p&&hu?LAe(Nf,Rn,ca):lu(p?Nf:ua,Rn,p?ca:uo);N[S]=pr,H[S]=pr-Rn}t.modifiersData[i]=H}}var pDe={name:"preventOverflow",enabled:!0,phase:"main",fn:mDe,requiresIfExists:["offset"]};function gDe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yDe(e){return e===Ti(e)||!ai(e)?$g(e):gDe(e)}function bDe(e){var t=e.getBoundingClientRect(),n=ys(t.width)/e.offsetWidth||1,i=ys(t.height)/e.offsetHeight||1;return n!==1||i!==1}function wDe(e,t,n){n===void 0&&(n=!1);var i=ai(t),r=ai(t)&&bDe(t),a=sa(t),o=bs(e,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&((qi(t)!=="body"||Rg(a))&&(s=yDe(t)),ai(t)?(u=bs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Hg(a))),{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function vDe(e){var t=new Map,n=new Set,i=[];e.forEach(function(a){t.set(a.name,a)});function r(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var u=t.get(s);u&&r(u)}}),i.push(a)}return e.forEach(function(a){n.has(a.name)||r(a)}),i}function kDe(e){var t=vDe(e);return NAe.reduce(function(n,i){return n.concat(t.filter(function(r){return r.phase===i}))},[])}function MDe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function CDe(e){var t=e.reduce(function(n,i){var r=n[i.name];return n[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var z5={placement:"bottom",modifiers:[],strategy:"absolute"};function L5(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function xDe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,r=t.defaultOptions,a=r===void 0?z5:r;return function(s,u,c){c===void 0&&(c=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},z5,a),modifiersData:{},elements:{reference:s,popper:u},attributes:{},styles:{}},h=[],g=!1,p={state:f,setOptions:function(w){var M=typeof w=="function"?w(f.options):w;v(),f.options=Object.assign({},a,f.options,M),f.scrollParents={reference:gs(s)?uu(s):s.contextElement?uu(s.contextElement):[],popper:uu(u)};var x=kDe(CDe([].concat(i,f.options.modifiers)));return f.orderedModifiers=x.filter(function(_){return _.enabled}),y(),p.update()},forceUpdate:function(){if(!g){var w=f.elements,M=w.reference,x=w.popper;if(L5(M,x)){f.rects={reference:wDe(M,su(x),f.options.strategy==="fixed"),popper:zg(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(D){return f.modifiersData[D.name]=Object.assign({},D.data)});for(var _=0;_<f.orderedModifiers.length;_++){if(f.reset===!0){f.reset=!1,_=-1;continue}var S=f.orderedModifiers[_],N=S.fn,T=S.options,I=T===void 0?{}:T,L=S.name;typeof N=="function"&&(f=N({state:f,options:I,name:L,instance:p})||f)}}}},update:MDe(function(){return new Promise(function(k){p.forceUpdate(),k(f)})}),destroy:function(){v(),g=!0}};if(!L5(s,u))return p;p.setOptions(c).then(function(k){!g&&c.onFirstUpdate&&c.onFirstUpdate(k)});function y(){f.orderedModifiers.forEach(function(k){var w=k.name,M=k.options,x=M===void 0?{}:M,_=k.effect;if(typeof _=="function"){var S=_({state:f,name:w,instance:p,options:x}),N=function(){};h.push(S||N)}})}function v(){h.forEach(function(k){return k()}),h=[]}return p}}var SDe=[qAe,fDe,YAe,WAe,dDe,aDe,pDe,BAe,sDe],_De=xDe({defaultModifiers:SDe}),$5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";function Pf(e){return e.split("-").map(t=>parseInt(t,16)).map(t=>String.fromCodePoint(t)).join("")}function TDe(e,t,n,i=[]){const r={};return Object.keys(e).forEach(a=>{if(i.includes(a))return;const o=[];e[a].forEach(s=>{var u;if(s[kf][0].includes(t.toLocaleLowerCase())){let c=s[m5];if(n!==Cf&&Array.isArray(s[Mf])){const f=((u=s[Mf])==null?void 0:u.findIndex(h=>h.includes(n)))||-1;f!==-1&&s[Mf]&&(c=s[Mf][f])}return o.push({...s,[iu]:c})}}),o.length&&(r[a]=o)}),r}function H5(){var e;return(((e=navigator==null?void 0:navigator.userAgentData)==null?void 0:e.platform)||(navigator==null?void 0:navigator.platform)||"unknown").toUpperCase().indexOf("MAC")!==-1}function R5(e){return e.replace(/^_*(.)|_+(.)/g,(t,n,i)=>n?n.toUpperCase():" "+i.toUpperCase())}var cu=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n};const PDe=l.defineComponent({name:"Body",emits:{select:e=>!0},setup(){const{state:e,updateEmoji:t,updateSelect:n}=l.inject("store"),i=l.ref(null),r=l.computed(()=>TDe(e.emojis,e.search,e.skinTone,e.options.disabledGroups)),a=l.getCurrentInstance(),o=l.computed(()=>!e.options.hideGroupNames),s=l.computed(()=>!e.options.disableStickyGroupNames),u=l.toRaw(e.options.groupNames),c=e.orderedGroupKeys;e.options.additionalGroups&&Object.keys(e.options.additionalGroups).map(y=>{e.options.groupNames[y]?u[y]=e.options.groupNames[y]:u[y]=R5(y)});const f=H5()?"is-mac":"";function h(y){t(y)}function g(y){n(y),a==null||a.emit("select",{...y,t:e.skinTone,i:Pf(y.r)})}function p(y,v){var k;const w=(k=y==null?void 0:y.target)==null?void 0:k.closest("button");w&&(w.innerHTML=`<span>${Pf(v)}</span>`)}return l.watch(()=>e.activeGroup,()=>{var y;const v=(y=i.value)==null?void 0:y.querySelector("#"+e.activeGroup);v&&(v.parentNode.scrollTop=v.offsetTop-v.parentNode.offsetTop)}),{emojis:r,bodyInner:i,EMOJI_REMOTE_SRC:f5,GROUP_NAMES:h5,handleClick:g,handleError:p,handleMouseEnter:h,native:e.options.native,unicodeToEmoji:Pf,EMOJI_RESULT_KEY:iu,EMOJI_NAME_KEY:kf,hasGroupNames:o,isSticky:s,platform:f,groupNames:u,orderedKeys:c}}}),EDe={class:"v3-body"},ADe=["id"],DDe={class:"v3-emojis"},NDe=["onMouseenter","onClick"],jDe={key:0},IDe=["src","alt","onError"],WDe={key:1,class:"v3-no-result"};function ODe(e,t,n,i,r,a){return l.openBlock(),l.createElementBlock("div",EDe,[l.createElementVNode("div",{ref:"bodyInner",class:l.normalizeClass([e.platform,"v3-body-inner"])},[e.orderedKeys.length?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(e.orderedKeys,o=>(l.openBlock(),l.createElementBlock("div",{id:o,key:o,class:"v3-group"},[e.hasGroupNames?l.withDirectives((l.openBlock(),l.createElementBlock("h5",{key:0,class:l.normalizeClass(e.isSticky?"v3-sticky":"")},l.toDisplayString(e.groupNames[o]),3)),[[l.vShow,e.emojis[o]]]):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("div",DDe,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.emojis[o],s=>(l.openBlock(),l.createElementBlock("button",{key:s.r,type:"button",onMouseenter:u=>e.handleMouseEnter(s),onClick:u=>e.handleClick(s)},[e.native?(l.openBlock(),l.createElementBlock("span",jDe,l.toDisplayString(e.unicodeToEmoji(s.r)),1)):(l.openBlock(),l.createElementBlock("img",{key:1,src:e.EMOJI_REMOTE_SRC+`/${s.r}.png`,alt:s.n[0],onError:u=>e.handleError(u,s.r)},null,40,IDe))],40,NDe))),128))],512),[[l.vShow,e.emojis[o]]])],8,ADe))),128)):(l.openBlock(),l.createElementBlock("span",WDe," No emoji has been found! "))],2)])}var zDe=cu(PDe,[["render",ODe]]),LDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3NSAxMi41NjI1IEMgMjIuNjg3NSAxMS43MzQzNzUgMjMgMTAuNjYwMTU2IDIzIDkuNSBDIDIzIDguMzM5ODQ0IDIyLjY4NzUgNy4yNjU2MjUgMjIuMDkzNzUgNi40Mzc1IEMgMjEuNSA1LjYwOTM3NSAyMC41NzAzMTMgNSAxOS41IDUgQyAxOC40Mjk2ODggNSAxNy41IDUuNjA5Mzc1IDE2LjkwNjI1IDYuNDM3NSBDIDE2LjMxMjUgNy4yNjU2MjUgMTYgOC4zMzk4NDQgMTYgOS41IFogTSAxMi41IDcgQyAxMi44MTI1IDcgMTMuMTU2MjUgNy4xNTYyNSAxMy40Njg3NSA3LjU5Mzc1IEMgMTMuNzgxMjUgOC4wMzEyNSAxNCA4LjcyNjU2MyAxNCA5LjUgQyAxNCAxMC4yNzM0MzggMTMuNzgxMjUgMTAuOTY4NzUgMTMuNDY4NzUgMTEuNDA2MjUgQyAxMy4xNTYyNSAxMS44NDM3NSAxMi44MTI1IDEyIDEyLjUgMTIgQyAxMi4xODc1IDEyIDExLjg0Mzc1IDExLjg0Mzc1IDExLjUzMTI1IDExLjQwNjI1IEMgMTEuMjE4NzUgMTAuOTY4NzUgMTEgMTAuMjczNDM4IDExIDkuNSBDIDExIDguNzI2NTYzIDExLjIxODc1IDguMDMxMjUgMTEuNTMxMjUgNy41OTM3NSBDIDExLjg0Mzc1IDcuMTU2MjUgMTIuMTg3NSA3IDEyLjUgNyBaIE0gMTkuNSA3IEMgMTkuODEyNSA3IDIwLjE1NjI1IDcuMTU2MjUgMjAuNDY4NzUgNy41OTM3NSBDIDIwLjc4MTI1IDguMDMxMjUgMjEgOC43MjY1NjMgMjEgOS41IEMgMjEgMTAuMjczNDM4IDIwLjc4MTI1IDEwLjk2ODc1IDIwLjQ2ODc1IDExLjQwNjI1IEMgMjAuMTU2MjUgMTEuODQzNzUgMTkuODEyNSAxMiAxOS41IDEyIEMgMTkuMTg3NSAxMiAxOC44NDM3NSAxMS44NDM3NSAxOC41MzEyNSAxMS40MDYyNSBDIDE4LjIxODc1IDEwLjk2ODc1IDE4IDEwLjI3MzQzOCAxOCA5LjUgQyAxOCA4LjcyNjU2MyAxOC4yMTg3NSA4LjAzMTI1IDE4LjUzMTI1IDcuNTkzNzUgQyAxOC44NDM3NSA3LjE1NjI1IDE5LjE4NzUgNyAxOS41IDcgWiBNIDcuNSAxMiBDIDYuNDI5Njg4IDEyIDUuNSAxMi42MDkzNzUgNC45MDYyNSAxMy40Mzc1IEMgNC4zMTI1IDE0LjI2NTYyNSA0IDE1LjMzOTg0NCA0IDE2LjUgQyA0IDE3LjY2MDE1NiA0LjMxMjUgMTguNzM0Mzc1IDQuOTA2MjUgMTkuNTYyNSBDIDUuNSAyMC4zOTA2MjUgNi40Mjk2ODggMjEgNy41IDIxIEMgOC41NzAzMTMgMjEgOS41IDIwLjM5MDYyNSAxMC4wOTM3NSAxOS41NjI1IEMgMTAuNjg3NSAxOC43MzQzNzUgMTEgMTcuNjYwMTU2IDExIDE2LjUgQyAxMSAxNS4zMzk4NDQgMTAuNjg3NSAxNC4yNjU2MjUgMTAuMDkzNzUgMTMuNDM3NSBDIDkuNSAxMi42MDkzNzUgOC41NzAzMTMgMTIgNy41IDEyIFogTSAyNC41IDEyIEMgMjMuNDI5Njg4IDEyIDIyLjUgMTIuNjA5Mzc1IDIxLjkwNjI1IDEzLjQzNzUgQyAyMS4zMTI1IDE0LjI2NTYyNSAyMSAxNS4zMzk4NDQgMjEgMTYuNSBDIDIxIDE3LjY2MDE1NiAyMS4zMTI1IDE4LjczNDM3NSAyMS45MDYyNSAxOS41NjI1IEMgMjIuNSAyMC4zOTA2MjUgMjMuNDI5Njg4IDIxIDI0LjUgMjEgQyAyNS41NzAzMTMgMjEgMjYuNSAyMC4zOTA2MjUgMjcuMDkzNzUgMTkuNTYyNSBDIDI3LjY4NzUgMTguNzM0Mzc1IDI4IDE3LjY2MDE1NiAyOCAxNi41IEMgMjggMTUuMzM5ODQ0IDI3LjY4NzUgMTQuMjY1NjI1IDI3LjA5Mzc1IDEzLjQzNzUgQyAyNi41IDEyLjYwOTM3NSAyNS41NzAzMTMgMTIgMjQuNSAxMiBaIE0gNy41IDE0IEMgNy44MTI1IDE0IDguMTU2MjUgMTQuMTU2MjUgOC40Njg3NSAxNC41OTM3NSBDIDguNzgxMjUgMTUuMDMxMjUgOSAxNS43MjY1NjMgOSAxNi41IEMgOSAxNy4yNzM0MzggOC43ODEyNSAxNy45Njg3NSA4LjQ2ODc1IDE4LjQwNjI1IEMgOC4xNTYyNSAxOC44NDM3NSA3LjgxMjUgMTkgNy41IDE5IEMgNy4xODc1IDE5IDYuODQzNzUgMTguODQzNzUgNi41MzEyNSAxOC40MDYyNSBDIDYuMjE4NzUgMTcuOTY4NzUgNiAxNy4yNzM0MzggNiAxNi41IEMgNiAxNS43MjY1NjMgNi4yMTg3NSAxNS4wMzEyNSA2LjUzMTI1IDE0LjU5Mzc1IEMgNi44NDM3NSAxNC4xNTYyNSA3LjE4NzUgMTQgNy41IDE0IFogTSAyNC41IDE0IEMgMjQuODEyNSAxNCAyNS4xNTYyNSAxNC4xNTYyNSAyNS40Njg3NSAxNC41OTM3NSBDIDI1Ljc4MTI1IDE1LjAzMTI1IDI2IDE1LjcyNjU2MyAyNiAxNi41IEMgMjYgMTcuMjczNDM4IDI1Ljc4MTI1IDE3Ljk2ODc1IDI1LjQ2ODc1IDE4LjQwNjI1IEMgMjUuMTU2MjUgMTguODQzNzUgMjQuODEyNSAxOSAyNC41IDE5IEMgMjQuMTg3NSAxOSAyMy44NDM3NSAxOC44NDM3NSAyMy41MzEyNSAxOC40MDYyNSBDIDIzLjIxODc1IDE3Ljk2ODc1IDIzIDE3LjI3MzQzOCAyMyAxNi41IEMgMjMgMTUuNzI2NTYzIDIzLjIxODc1IDE1LjAzMTI1IDIzLjUzMTI1IDE0LjU5Mzc1IEMgMjMuODQzNzUgMTQuMTU2MjUgMjQuMTg3NSAxNCAyNC41IDE0IFogTSAxNiAxNiBDIDE0LjY2Nzk2OSAxNiAxMy43MzgyODEgMTYuODY3MTg4IDEzLjI4MTI1IDE3LjYyNSBDIDEyLjgyNDIxOSAxOC4zODI4MTMgMTIuNTQ2ODc1IDE5LjAxNTYyNSAxMi4yODEyNSAxOS4yODEyNSBDIDEyLjEyNSAxOS40Mzc1IDExLjE2MDE1NiAxOS44MDA3ODEgMTAuMTU2MjUgMjAuMzEyNSBDIDkuNjUyMzQ0IDIwLjU3MDMxMyA5LjE0NDUzMSAyMC45MTQwNjMgOC43MTg3NSAyMS40Mzc1IEMgOC4yOTI5NjkgMjEuOTYwOTM4IDggMjIuNjg3NSA4IDIzLjUgQyA4IDI1LjQyMTg3NSA5LjU3ODEyNSAyNyAxMS41IDI3IEMgMTIuMzY3MTg4IDI3IDEzLjI2OTUzMSAyNi43MjI2NTYgMTQuMTU2MjUgMjYuNDY4NzUgQyAxNS4wNDI5NjkgMjYuMjE0ODQ0IDE2IDI2IDE2IDI2IEMgMTYgMjYgMTYuOTU3MDMxIDI2LjIxNDg0NCAxNy44NDM3NSAyNi40Njg3NSBDIDE4LjczMDQ2OSAyNi43MjI2NTYgMTkuNjMyODEzIDI3IDIwLjUgMjcgQyAyMi40MjE4NzUgMjcgMjQgMjUuNDIxODc1IDI0IDIzLjUgQyAyNCAyMi43MDcwMzEgMjMuNzA3MDMxIDIxLjk4MDQ2OSAyMy4yODEyNSAyMS40Njg3NSBDIDIyLjg1NTQ2OSAyMC45NTcwMzEgMjIuMzQzNzUgMjAuNjQwNjI1IDIxLjg0Mzc1IDIwLjM3NSBDIDIwLjg0Mzc1IDE5Ljg0Mzc1IDE5Ljg1OTM3NSAxOS40MjE4NzUgMTkuNzE4NzUgMTkuMjgxMjUgQyAxOS40ODA0NjkgMTkuMDQyOTY5IDE5LjIxMDkzOCAxOC4zOTA2MjUgMTguNzUgMTcuNjI1IEMgMTguMjg5MDYzIDE2Ljg1OTM3NSAxNy4zMzk4NDQgMTYgMTYgMTYgWiBNIDE2IDE4IEMgMTYuNjYwMTU2IDE4IDE2LjczNDM3NSAxOC4xNjAxNTYgMTcuMDMxMjUgMTguNjU2MjUgQyAxNy4zMjgxMjUgMTkuMTUyMzQ0IDE3LjU1NDY4OCAxOS45OTIxODggMTguMjgxMjUgMjAuNzE4NzUgQyAxOS4xMDU0NjkgMjEuNTQyOTY5IDIwLjE0ODQzOCAyMS43MjI2NTYgMjAuOTA2MjUgMjIuMTI1IEMgMjEuMjg1MTU2IDIyLjMyODEyNSAyMS41NzgxMjUgMjIuNTQyOTY5IDIxLjc1IDIyLjc1IEMgMjEuOTIxODc1IDIyLjk1NzAzMSAyMiAyMy4xNDg0MzggMjIgMjMuNSBDIDIyIDI0LjMzOTg0NCAyMS4zMzk4NDQgMjUgMjAuNSAyNSBDIDIwLjIxMDkzOCAyNSAxOS4yNzczNDQgMjQuNzc3MzQ0IDE4LjQwNjI1IDI0LjUzMTI1IEMgMTcuNTM1MTU2IDI0LjI4NTE1NiAxNi44MTY0MDYgMjQgMTYgMjQgQyAxNS4xODM1OTQgMjQgMTQuNDY0ODQ0IDI0LjI4NTE1NiAxMy41OTM3NSAyNC41MzEyNSBDIDEyLjcyMjY1NiAyNC43NzczNDQgMTEuNzg5MDYzIDI1IDExLjUgMjUgQyAxMC42NjAxNTYgMjUgMTAgMjQuMzM5ODQ0IDEwIDIzLjUgQyAxMCAyMy4wOTc2NTYgMTAuMDgyMDMxIDIyLjg5MDYyNSAxMC4yNSAyMi42ODc1IEMgMTAuNDE3OTY5IDIyLjQ4NDM3NSAxMC43MjI2NTYgMjIuMjg1MTU2IDExLjA5Mzc1IDIyLjA5Mzc1IEMgMTEuODM5ODQ0IDIxLjcxNDg0NCAxMi44NzUgMjEuNTYyNSAxMy43MTg3NSAyMC43MTg3NSBDIDE0LjQ1MzEyNSAxOS45ODQzNzUgMTQuNjc1NzgxIDE5LjExNzE4OCAxNC45Njg3NSAxOC42MjUgQyAxNS4yNjE3MTkgMTguMTMyODEzIDE1LjMzMjAzMSAxOCAxNiAxOCBaIi8+PC9zdmc+",$De="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSAzIEwgMTEgNyBMIDEzIDcgTCAxMyAzIFogTSAxNSA0IEwgMTUgNyBMIDE3IDcgTCAxNyA0IFogTSA0Ljg3NSA4IEwgNSA5LjA5Mzc1IEwgNi44MTI1IDI2LjMxMjUgQyA2Ljk3MjY1NiAyNy44MzIwMzEgOC4yODUxNTYgMjkgOS44MTI1IDI5IEwgMTkuMTg3NSAyOSBDIDIwLjcxNDg0NCAyOSAyMi4wMjczNDQgMjcuODMyMDMxIDIyLjE4NzUgMjYuMzEyNSBMIDIyLjY1NjI1IDIyIEwgMjUgMjIgQyAyNi42NDQ1MzEgMjIgMjggMjAuNjQ0NTMxIDI4IDE5IEwgMjggMTYgQyAyOCAxNC4zNTU0NjkgMjYuNjQ0NTMxIDEzIDI1IDEzIEwgMjMuNTkzNzUgMTMgTCAyNCA5LjA5Mzc1IEwgMjQuMTI1IDggWiBNIDcuMTI1IDEwIEwgMjEuODc1IDEwIEwgMjAuMTg3NSAyNi4wOTM3NSBDIDIwLjEzMjgxMyAyNi42MTMyODEgMTkuNzA3MDMxIDI3IDE5LjE4NzUgMjcgTCA5LjgxMjUgMjcgQyA5LjI5Mjk2OSAyNyA4Ljg2NzE4OCAyNi42MTMyODEgOC44MTI1IDI2LjA5Mzc1IFogTSAyMy4zNzUgMTUgTCAyNSAxNSBDIDI1LjU2NjQwNiAxNSAyNiAxNS40MzM1OTQgMjYgMTYgTCAyNiAxOSBDIDI2IDE5LjU2NjQwNiAyNS41NjY0MDYgMjAgMjUgMjAgTCAyMi44NDM3NSAyMCBaIi8+PC9zdmc+",HDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiAzIEMgOC44MzIwMzEgMyAzIDguODMyMDMxIDMgMTYgQyAzIDIzLjE2Nzk2OSA4LjgzMjAzMSAyOSAxNiAyOSBDIDIzLjE2Nzk2OSAyOSAyOSAyMy4xNjc5NjkgMjkgMTYgQyAyOSA4LjgzMjAzMSAyMy4xNjc5NjkgMyAxNiAzIFogTSAxNiA1IEMgMTYuNjAxNTYzIDUgMTcuMTc1NzgxIDUuMDYyNSAxNy43NSA1LjE1NjI1IEwgMTYgNi40MDYyNSBMIDE0LjI1IDUuMTU2MjUgQyAxNC44MjAzMTMgNS4wNjY0MDYgMTUuNDAyMzQ0IDUgMTYgNSBaIE0gMTEuODEyNSA1Ljg0Mzc1IEwgMTUuNDA2MjUgOC40Njg3NSBMIDE2IDguOTA2MjUgTCAxNi41OTM3NSA4LjQ2ODc1IEwgMjAuMTg3NSA1Ljg0Mzc1IEMgMjEuNzg1MTU2IDYuNTA3ODEzIDIzLjE5NTMxMyA3LjUyMzQzOCAyNC4zMTI1IDguODEyNSBMIDIyLjkzNzUgMTMuMDkzNzUgTCAyMi43MTg3NSAxMy43ODEyNSBMIDIzLjMxMjUgMTQuMTg3NSBMIDI2LjkzNzUgMTYuODQzNzUgQyAyNi44MDQ2ODggMTguNjA1NDY5IDI2LjI2NTYyNSAyMC4yNTc4MTMgMjUuNDA2MjUgMjEuNjg3NSBMIDIwLjEyNSAyMS42ODc1IEwgMTkuOTA2MjUgMjIuMzc1IEwgMTguNSAyNi43MTg3NSBDIDE3LjY5OTIxOSAyNi45MDYyNSAxNi44NTkzNzUgMjcgMTYgMjcgQyAxNS4xMDU0NjkgMjcgMTQuMjM4MjgxIDI2Ljg4NjcxOSAxMy40MDYyNSAyNi42ODc1IEwgMTIuMDMxMjUgMjIuNDA2MjUgTCAxMS44MTI1IDIxLjcxODc1IEwgNi41OTM3NSAyMS43MTg3NSBDIDUuNzE4NzUgMjAuMjgxMjUgNS4xOTkyMTkgMTguNjIxMDk0IDUuMDYyNSAxNi44NDM3NSBMIDguNjU2MjUgMTQuMjE4NzUgTCA5LjI1IDEzLjgxMjUgTCA5LjAzMTI1IDEzLjEyNSBMIDcuNjI1IDguODc1IEMgOC43NSA3LjU1NDY4OCAxMC4xODM1OTQgNi41MTU2MjUgMTEuODEyNSA1Ljg0Mzc1IFogTSAxNiAxMC4wOTM3NSBMIDE1LjQwNjI1IDEwLjUzMTI1IEwgMTAuODQzNzUgMTMuODQzNzUgTCAxMC4yODEyNSAxNC4yODEyNSBMIDEwLjUgMTQuOTY4NzUgTCAxMi4yNSAyMC4zMTI1IEwgMTIuNDY4NzUgMjEgTCAxOS41MzEyNSAyMSBMIDE5Ljc1IDIwLjMxMjUgTCAyMS41IDE0Ljk2ODc1IEwgMjEuNzE4NzUgMTQuMjgxMjUgTCAyMS4xNTYyNSAxMy44NDM3NSBMIDE2LjU5Mzc1IDEwLjUzMTI1IFogTSAyNS43NSAxMC45MDYyNSBDIDI2LjI5Njg3NSAxMS45NTMxMjUgMjYuNjU2MjUgMTMuMTAxNTYzIDI2Ljg0Mzc1IDE0LjMxMjUgTCAyNS4wNjI1IDEzLjAzMTI1IFogTSA2LjIxODc1IDEwLjk2ODc1IEwgNi45MDYyNSAxMy4wMzEyNSBMIDUuMTU2MjUgMTQuMzEyNSBDIDUuMzM5ODQ0IDEzLjEyNSA1LjY4NzUgMTIgNi4yMTg3NSAxMC45Njg3NSBaIE0gMTYgMTIuNTkzNzUgTCAxOS4zNzUgMTUuMDMxMjUgTCAxOC4wOTM3NSAxOSBMIDEzLjkwNjI1IDE5IEwgMTIuNjI1IDE1LjAzMTI1IFogTSAyMS41OTM3NSAyMy42ODc1IEwgMjMuODQzNzUgMjMuNjg3NSBDIDIyLjk5MjE4OCAyNC41NjY0MDYgMjIuMDExNzE5IDI1LjI5Mjk2OSAyMC45MDYyNSAyNS44NDM3NSBaIE0gOC4xNTYyNSAyMy43MTg3NSBMIDEwLjM0Mzc1IDIzLjcxODc1IEwgMTEuMDMxMjUgMjUuODEyNSBDIDkuOTYwOTM4IDI1LjI2OTUzMSA4Ljk4ODI4MSAyNC41NjI1IDguMTU2MjUgMjMuNzE4NzUgWiIvPjwvc3ZnPg==",RDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5LjUgNiBDIDguMTc5Njg4IDYgNy4wMDM5MDYgNi44NTkzNzUgNi42MjUgOC4xMjUgTCA1LjI1IDEyLjcxODc1IEwgMy4zMTI1IDEyLjA2MjUgTCAyLjY4NzUgMTMuOTM3NSBMIDQuNjU2MjUgMTQuNTkzNzUgTCA0LjAzMTI1IDE2LjcxODc1IEMgNC4wMDc4MTMgMTYuODA4NTk0IDMuOTk2MDk0IDE2LjkwNjI1IDQgMTcgTCA0IDI0IEMgNCAyNC4wMzEyNSA0IDI0LjA2MjUgNCAyNC4wOTM3NSBMIDQgMjUgQyA0IDI1LjU1MDc4MSA0LjQ0OTIxOSAyNiA1IDI2IEwgOCAyNiBMIDguMzQzNzUgMjUgTCAyMy42NTYyNSAyNSBMIDI0IDI2IEwgMjcgMjYgQyAyNy41NTA3ODEgMjYgMjggMjUuNTUwNzgxIDI4IDI1IEwgMjggMjQuMTU2MjUgQyAyOC4wMDM5MDYgMjQuMTA1NDY5IDI4LjAwMzkwNiAyNC4wNTA3ODEgMjggMjQgTCAyOCAxNyBDIDI4LjAwMzkwNiAxNi45MDYyNSAyNy45OTIxODggMTYuODA4NTk0IDI3Ljk2ODc1IDE2LjcxODc1IEwgMjcuMzQzNzUgMTQuNTkzNzUgTCAyOS4zMTI1IDEzLjkzNzUgTCAyOC42ODc1IDEyLjA2MjUgTCAyNi43NSAxMi43MTg3NSBMIDI1LjM3NSA4LjEyNSBDIDI0Ljk5NjA5NCA2Ljg1OTM3NSAyMy44MjAzMTMgNiAyMi41IDYgWiBNIDkuNSA4IEwgMjIuNSA4IEMgMjIuOTQ1MzEzIDggMjMuMzM5ODQ0IDguMjkyOTY5IDIzLjQ2ODc1IDguNzE4NzUgTCAyNC43NSAxMyBMIDcuMjUgMTMgTCA4LjUzMTI1IDguNzE4NzUgQyA4LjY2MDE1NiA4LjI4OTA2MyA5LjA1NDY4OCA4IDkuNSA4IFogTSA2LjY1NjI1IDE1IEwgMjUuMzQzNzUgMTUgTCAyNiAxNy4xODc1IEwgMjYgMjMgTCA2IDIzIEwgNiAxNy4xODc1IFogTSA4LjUgMTYgQyA3LjY3MTg3NSAxNiA3IDE2LjY3MTg3NSA3IDE3LjUgQyA3IDE4LjMyODEyNSA3LjY3MTg3NSAxOSA4LjUgMTkgQyA5LjMyODEyNSAxOSAxMCAxOC4zMjgxMjUgMTAgMTcuNSBDIDEwIDE2LjY3MTg3NSA5LjMyODEyNSAxNiA4LjUgMTYgWiBNIDIzLjUgMTYgQyAyMi42NzE4NzUgMTYgMjIgMTYuNjcxODc1IDIyIDE3LjUgQyAyMiAxOC4zMjgxMjUgMjIuNjcxODc1IDE5IDIzLjUgMTkgQyAyNC4zMjgxMjUgMTkgMjUgMTguMzI4MTI1IDI1IDE3LjUgQyAyNSAxNi42NzE4NzUgMjQuMzI4MTI1IDE2IDIzLjUgMTYgWiBNIDEyIDE5IEwgMTAuNzUgMjIgTCAxMi45MDYyNSAyMiBMIDEzLjM0Mzc1IDIxIEwgMTguNjU2MjUgMjEgTCAxOS4wOTM3NSAyMiBMIDIxLjI1IDIyIEwgMjAgMTkgWiIvPjwvc3ZnPg==",BDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuMDQyOTY5IDQgNyA4LjA0Mjk2OSA3IDEzIEMgNyAxNC45MTc5NjkgNy44NDM3NSAxNi45MDYyNSA5IDE4LjY4NzUgQyA5Ljg1OTM3NSAyMC4wMTE3MTkgMTAuODg2NzE5IDIxLjIzMDQ2OSAxMiAyMi4xNTYyNSBMIDEyIDI1IEMgMTIgMjYuMDkzNzUgMTIuOTA2MjUgMjcgMTQgMjcgTCAxNSAyOCBMIDE3IDI4IEwgMTggMjcgQyAxOS4wOTM3NSAyNyAyMCAyNi4wOTM3NSAyMCAyNSBMIDIwIDIyLjE1NjI1IEMgMjEuMTEzMjgxIDIxLjIzMDQ2OSAyMi4xNDA2MjUgMjAuMDExNzE5IDIzIDE4LjY4NzUgQyAyNC4xNTYyNSAxNi45MDYyNSAyNSAxNC45MTc5NjkgMjUgMTMgQyAyNSA4LjA0Mjk2OSAyMC45NTcwMzEgNCAxNiA0IFogTSAxNiA2IEMgMTkuODc4OTA2IDYgMjMgOS4xMjEwOTQgMjMgMTMgQyAyMyAxNC4zMDg1OTQgMjIuMzU1NDY5IDE2LjAzNTE1NiAyMS4zNDM3NSAxNy41OTM3NSBDIDIwLjQ0MTQwNiAxOC45ODQzNzUgMTkuMjUzOTA2IDIwLjIyMjY1NiAxOC4xNTYyNSAyMSBMIDEzLjg0Mzc1IDIxIEMgMTIuNzQ2MDk0IDIwLjIyMjY1NiAxMS41NTg1OTQgMTguOTg0Mzc1IDEwLjY1NjI1IDE3LjU5Mzc1IEMgOS42NDQ1MzEgMTYuMDM1MTU2IDkgMTQuMzA4NTk0IDkgMTMgQyA5IDkuMTIxMDk0IDEyLjEyMTA5NCA2IDE2IDYgWiBNIDE0LjI1IDIzIEwgMTcuNzUgMjMgQyAxNy44MjgxMjUgMjMuMDU0Njg4IDE3LjkxMDE1NiAyMy4wOTM3NSAxOCAyMy4xMjUgTCAxOCAyNSBMIDE0IDI1IEwgMTQgMjMuMTI1IEMgMTQuMDg5ODQ0IDIzLjA5Mzc1IDE0LjE3MTg3NSAyMy4wNTQ2ODggMTQuMjUgMjMgWiIvPjwvc3ZnPg==",VDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSA1IEwgMTEgMTEgTCA1IDExIEwgNSAxMyBMIDExIDEzIEwgMTEgMTkgTCA1IDE5IEwgNSAyMSBMIDExIDIxIEwgMTEgMjcgTCAxMyAyNyBMIDEzIDIxIEwgMTkgMjEgTCAxOSAyNyBMIDIxIDI3IEwgMjEgMjEgTCAyNyAyMSBMIDI3IDE5IEwgMjEgMTkgTCAyMSAxMyBMIDI3IDEzIEwgMjcgMTEgTCAyMSAxMSBMIDIxIDUgTCAxOSA1IEwgMTkgMTEgTCAxMyAxMSBMIDEzIDUgWiBNIDEzIDEzIEwgMTkgMTMgTCAxOSAxOSBMIDEzIDE5IFoiLz48L3N2Zz4=",FDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5IDQgQyA3LjM0NiA0IDYgNS4zNDYgNiA3IEMgNiA4LjMwMTYwOTQgNi44Mzg3NDg2IDkuNDAyMTM5MSA4IDkuODE2NDA2MiBMIDggMTEuMzA0Njg4IEwgOCAyMy4yMDcwMzEgTCA4IDI3LjAyMzQzOCBDIDggMjcuNTYzNDM4IDguNDM2NTYyNSAyOCA4Ljk3NjU2MjUgMjggTCA5LjAyMzQzNzUgMjggQyA5LjU2MzQzNzUgMjggMTAgMjcuNTYzNDM3IDEwIDI3LjAyMzQzOCBMIDEwIDIyLjIyODUxNiBDIDEwLjMzNDcwNyAyMS44Mzk3NTYgMTEuMTM4NDIzIDIxLjA0Njg3NSAxMy40NDUzMTIgMjEuMDQ2ODc1IEMgMTQuNjY5MzEzIDIxLjA0Njg3NSAxNS42NzA0MjIgMjEuNDczNzgxIDE2LjczMjQyMiAyMS45MjU3ODEgQyAxNy43Njk0MjIgMjIuMzY3NzgxIDE4Ljg0MTg5MSAyMi44MjQyMTkgMjAuMDg3ODkxIDIyLjgyNDIxOSBDIDIyLjQ0Njg5MSAyMi44MjQyMTkgMjQuMDQ5Mzc1IDIxLjU4NDY4OCAyNC43MzQzNzUgMjEuMDU0Njg4IEwgMjQuODg2NzE5IDIwLjkzOTQ1MyBDIDI1LjQzNzcxOSAyMC41NDA0NTMgMjYgMTkuOTk2IDI2IDE5IEwgMjYgMTAuNjc1NzgxIEMgMjYgOS43Njc3ODEyIDI1LjIyMTgyOCA5IDI0LjI5ODgyOCA5IEMgMjMuODAzODI4IDkgMjMuNDQwNDA2IDkuMjg2NTkzNyAyMi45NDE0MDYgOS42ODM1OTM4IEMgMjIuMjc5NDA2IDEwLjIwNzU5NCAyMS4yODA4OTEgMTEgMjAuMDg3ODkxIDExIEMgMTkuMjcyODkxIDExIDE4LjQ3NzY4OCAxMC42MTk3MzQgMTcuNTU0Njg4IDEwLjE3NzczNCBDIDE2LjQwMzY4NyA5LjYyNTczNDQgMTUuMDk4MzU5IDkgMTMuNDQzMzU5IDkgQyAxMi4zMDgyNTcgOSAxMS40MjE2ODcgOS4xODgzMzkzIDEwLjcxMjg5MSA5LjQ1NzAzMTIgQyAxMS40ODkwNzEgOC45MTQxODI0IDEyIDguMDE2NzgwMiAxMiA3IEMgMTIgNS4zNDYgMTAuNjU0IDQgOSA0IHogTSA5IDYgQyA5LjU1MiA2IDEwIDYuNDQ5IDEwIDcgQyAxMCA3LjU1MSA5LjU1MiA4IDkgOCBDIDguNDQ4IDggOCA3LjU1MSA4IDcgQyA4IDYuNDQ5IDguNDQ4IDYgOSA2IHogTSAxMy40NDMzNTkgMTEgQyAxNC42NDUzNTkgMTEgMTUuNjM4NDA2IDExLjQ3NjQ2OSAxNi42OTE0MDYgMTEuOTgwNDY5IEMgMTcuNzM2NDA2IDEyLjQ4MjQ2OSAxOC44MTc4OTEgMTMgMjAuMDg3ODkxIDEzIEMgMjEuODQyODkxIDEzIDIzLjE1ODA0NyAxMi4wNTQ0ODQgMjMuOTk4MDQ3IDExLjM5NjQ4NCBMIDIzLjk5ODA0NyAxOS4wNjY0MDYgQyAyMy45OTcwNDcgMTkuMDcwNDA2IDIzLjk1Mjk4NCAxOS4xNDUyNjYgMjMuNzA4OTg0IDE5LjMyMjI2NiBMIDIzLjUwOTc2NiAxOS40NzQ2MDkgQyAyMi45NDI3NjYgMTkuOTEyNjA5IDIxLjc2Mjg5MSAyMC44MjQyMTkgMjAuMDg3ODkxIDIwLjgyNDIxOSBDIDE5LjI0OTg5MSAyMC44MjQyMTkgMTguNDQ2NjI1IDIwLjQ4MjkzNyAxNy41MTU2MjUgMjAuMDg1OTM4IEMgMTYuMzcyNjI1IDE5LjU5NzkzOCAxNS4wNzYzNTkgMTkuMDQ0OTIyIDEzLjQ0MzM1OSAxOS4wNDQ5MjIgQyAxMS44OTEzNTkgMTkuMDQ0OTIyIDEwLjc4NiAxOS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==",UDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";const YDe=l.defineComponent({name:"Header",setup(e){const{state:t,updateSearch:n,updateActiveGroup:i}=l.inject("store"),r=l.computed(()=>!t.options.hideSearch),a=l.computed(()=>!t.options.hideGroupIcons),o=JSON.parse(JSON.stringify(t.orderedGroupKeys)),s=l.computed(()=>t.options.staticTexts.placeholder||""),u=l.computed({get:()=>t.search,set:h=>n(h)}),c=[...t.groups,...Object.keys(t.options.additionalGroups).map(h=>({key:h,title:t.options.groupNames[h]?t.options.groupNames[h]:R5(h)}))],f=[];return o.forEach(h=>{const g=c.findIndex(p=>p.key===h);g!==-1&&(f.push(c[g]),c.splice(g,1))}),{orderedGroups:f,orderedKeys:o,searchValue:u,updateActiveGroup:i,hasSearch:r,hasGroupIcons:a,placeholder:s,icons:{smileys_people:$5,animals_nature:LDe,food_drink:$De,activities:HDe,travel_places:RDe,objects:BDe,symbols:VDe,flags:FDe,...t.options.groupIcons,recent:UDe}}}}),XDe={key:0,class:"v3-header"},qDe={key:0,class:"v3-groups"},GDe=["onClick"],KDe=["title"],QDe=["src"],JDe={key:1,class:"v3-spacing"},ZDe={key:2,class:"v3-search"},eNe=["placeholder"];function tNe(e,t,n,i,r,a){return e.hasGroupIcons||e.hasSearch?(l.openBlock(),l.createElementBlock("div",XDe,[e.hasGroupIcons?(l.openBlock(),l.createElementBlock("div",qDe,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.orderedGroups,o=>(l.openBlock(),l.createElementBlock("button",{key:o.key,type:"button",class:l.normalizeClass(["v3-group",{"v3-is-hidden":!e.icons[o.key]}]),onClick:s=>e.updateActiveGroup(o.key)},[l.createElementVNode("span",{title:o.title,class:"v3-icon"},[l.createElementVNode("img",{src:e.icons[o.key],alt:""},null,8,QDe)],8,KDe)],10,GDe))),128))])):l.createCommentVNode("",!0),e.hasGroupIcons&&e.hasSearch?(l.openBlock(),l.createElementBlock("div",JDe)):l.createCommentVNode("",!0),e.hasSearch?(l.openBlock(),l.createElementBlock("div",ZDe,[l.withDirectives(l.createElementVNode("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>e.searchValue=o),type:"text",placeholder:e.placeholder},null,8,eNe),[[l.vModelText,e.searchValue]])])):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)}var nNe=cu(YDe,[["render",tNe]]);const iNe=l.defineComponent({name:"Header",setup(){const{state:e,updateSkinTone:t}=l.inject("store"),n=l.ref(!1),i=l.ref(!1),r=l.computed(()=>e.skinTone),a=l.computed(()=>e.options.staticTexts.skinTone||"Skin tone"),o=l.computed(()=>!e.options.disableSkinTones),s=H5()?"is-mac":"",u=l.computed(()=>({...e.emoji,src:f5+"/"+e.emoji[iu]+".png"}));function c(g=!0){n.value=g}function f(){n.value=!n.value}function h(g){t(g),c(!1)}return l.watch(()=>e.emoji,()=>{i.value=!1}),{emoji:u,SKIN_TONES:iAe,updateSkinToneState:c,skinTone:n,stateSkinTone:r,selectSkinTone:h,toggleSkinToneState:f,EMOJI_RESULT_KEY:iu,EMOJI_NAME_KEY:kf,skinToneText:a,hasSkinTones:o,native:e.options.native,unicodeToEmoji:Pf,platform:s,hasError:i}}}),rNe={class:"v3-foot-left"},aNe={key:0},oNe=["alt","src"],sNe={class:"v3-text"},lNe={class:"v3-text"},uNe=["onClick"];function dNe(e,t,n,i,r,a){return l.openBlock(),l.createElementBlock("div",{class:"v3-footer",onMouseleave:t[2]||(t[2]=o=>e.updateSkinToneState(!1))},[l.createElementVNode("div",rNe,[l.createElementVNode("span",{class:l.normalizeClass([e.platform,"v3-icon"])},[e.native||e.hasError?(l.openBlock(),l.createElementBlock("span",aNe,l.toDisplayString(e.unicodeToEmoji(e.emoji.r)),1)):(l.openBlock(),l.createElementBlock("img",{key:1,alt:e.unicodeToEmoji(e.emoji.r),src:e.emoji.src,onError:t[0]||(t[0]=o=>e.hasError=!0)},null,40,oNe))],2),l.createElementVNode("span",sNe," :"+l.toDisplayString(e.emoji[e.EMOJI_NAME_KEY][1]||e.emoji[e.EMOJI_NAME_KEY][0])+": ",1)]),e.hasSkinTones?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("button",{type:"button",class:"v3-tone",onClick:t[1]||(t[1]=(...o)=>e.toggleSkinToneState&&e.toggleSkinToneState(...o))},[l.createElementVNode("span",lNe,l.toDisplayString(e.skinToneText),1),l.createElementVNode("span",{class:l.normalizeClass(`v3-icon v3-tone-${e.stateSkinTone}`)},null,2)]),l.createElementVNode("div",{class:l.normalizeClass([e.skinTone?"v3-is-open":"","v3-skin-tones"])},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.SKIN_TONES,o=>(l.openBlock(),l.createElementBlock("button",{key:o,type:"button",class:l.normalizeClass(["v3-skin-tone-"+o,"v3-skin-tone"]),onClick:s=>e.selectSkinTone(o)},null,10,uNe))),128))],2)],64)):l.createCommentVNode("",!0)],32)}var cNe=cu(iNe,[["render",dNe]]);const fNe=l.defineComponent({name:"PickerRoot",components:{Header:nNe,Body:zDe,Footer:cNe},props:{type:{type:String,default:""},text:{type:String,default:""},additionalGroups:{type:Object,default:()=>({})},groupOrder:{type:Array,default:()=>[]},groupIcons:{type:Object,default:()=>({})},groupNames:{type:Object,default:()=>({})}},emits:{select:e=>!0,"update:text":e=>!0},setup(e,{emit:t}){const n=l.ref(),i=l.ref(),r=l.ref(),a=l.ref(!1),o=l.ref(e.text),s=e.type==="input"||e.type==="textarea";let u=-1;const{state:c}=l.inject("store"),f=l.computed(()=>c.options.colorTheme);function h(k){if(s){const w=c.options.mode;w==="prepend"?o.value=k.i+o.value:w==="insert"&&u!==-1?(o.value=`${o.value.slice(0,u)}${k.i}${o.value.slice(u)}`,u+=k.i.length):o.value+=k.i,t("update:text",o.value)}t("select",k)}function g(){var k;n.value&&(u=((k=n.value)==null?void 0:k.selectionEnd)||-1)}function p(k){var w;!((w=k.target)!=null&&w.closest(".v3-input-picker-wrap"))&&a.value&&(a.value=!1)}function y(){if(i.value&&r.value&&s){let k=c.options.offset;typeof k!="number"&&(k=6),_De(i.value,r.value,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,k]}}]}),document.body.addEventListener("click",p)}}function v(k){o.value=k.target.value||"",t("update:text",o.value)}return l.onMounted(()=>{y()}),l.onBeforeUnmount(()=>{document.body.removeEventListener("click",p)}),{face:$5,open:a,onSelect:h,input:o,elem:n,updateCursor:g,button:i,picker:r,isInputType:s,onChangeText:v,colorTheme:f}}}),hNe={key:0,class:"v3-input-emoji-picker"},mNe={class:"v3-input-picker-root"},pNe=["value"],gNe=["value"],yNe=["src"];function bNe(e,t,n,i,r,a){const o=l.resolveComponent("Header"),s=l.resolveComponent("Body"),u=l.resolveComponent("Footer");return e.isInputType?(l.openBlock(),l.createElementBlock("div",hNe,[l.createElementVNode("div",mNe,[e.type==="input"?(l.openBlock(),l.createElementBlock("input",{key:0,ref:"elem",value:e.input,type:"text",class:"v3-emoji-picker-input",onInput:t[0]||(t[0]=(...c)=>e.onChangeText&&e.onChangeText(...c)),onBlur:t[1]||(t[1]=(...c)=>e.updateCursor&&e.updateCursor(...c))},null,40,pNe)):(l.openBlock(),l.createElementBlock("textarea",{key:1,ref:"elem",value:e.input,class:"v3-emoji-picker-textarea",onInput:t[2]||(t[2]=(...c)=>e.onChangeText&&e.onChangeText(...c)),onBlur:t[3]||(t[3]=(...c)=>e.updateCursor&&e.updateCursor(...c))},null,40,gNe)),l.createElementVNode("div",{class:l.normalizeClass(["v3-input-picker-wrap",e.open?"v3-picker-is-open":""])},[l.createElementVNode("button",{ref:"button",type:"button",class:"v3-input-picker-icon",onClick:t[4]||(t[4]=c=>e.open=!e.open)},[l.createElementVNode("img",{src:e.face,alt:""},null,8,yNe)],512),l.createElementVNode("div",{ref:"picker",class:l.normalizeClass(["v3-emoji-picker","v3-color-theme-"+e.colorTheme])},[l.createVNode(o),l.createVNode(s,{onSelect:e.onSelect},null,8,["onSelect"]),l.createVNode(u)],2)],2)])])):(l.openBlock(),l.createElementBlock("div",{key:1,class:l.normalizeClass(["v3-emoji-picker","v3-color-theme-"+e.colorTheme])},[l.createVNode(o),l.createVNode(s,{onSelect:e.onSelect},null,8,["onSelect"]),l.createVNode(u)],2))}var wNe=cu(fNe,[["render",bNe]]);const vNe=l.defineComponent({name:"Picker",components:{PickerRoot:wNe},props:{native:{type:Boolean,default:!1},hideSearch:{type:Boolean,default:!1},hideGroupIcons:{type:Boolean,default:!1},hideGroupNames:{type:Boolean,default:!1},staticTexts:{type:Object,default:()=>({})},disableStickyGroupNames:{type:Boolean,default:!1},disabledGroups:{type:Array,default:()=>[]},groupNames:{type:Object,default:()=>({})},disableSkinTones:{type:Boolean,default:!1},text:{type:String,default:""},mode:{type:String,default:"insert"},offset:{type:Number,default:6},additionalGroups:{type:Object,default:()=>({})},groupOrder:{type:Array,default:()=>[]},groupIcons:{type:Object,default:()=>({})},pickerType:{type:String,default:""},displayRecent:{type:Boolean,default:!1},theme:{type:String,default:"light"}},emits:{"update:text":e=>!0,select:e=>!0},setup(e,{emit:t}){const n=l.ref(e.text);function i(a){n.value=a||"",t("update:text",n.value)}const r=vAe();return r.updateOptions({native:e.native,hideSearch:e.hideSearch,hideGroupIcons:e.hideGroupIcons,hideGroupNames:e.hideGroupNames,staticTexts:{...rAe,...e.staticTexts},disableStickyGroupNames:e.disableStickyGroupNames,disabledGroups:e.disabledGroups,groupNames:{...h5,...e.groupNames},disableSkinTones:e.disableSkinTones,displayRecent:e.displayRecent,additionalGroups:e.additionalGroups,mode:e.mode,offset:e.offset,groupOrder:e.groupOrder,groupIcons:e.groupIcons,colorTheme:aAe.includes(e.theme)?e.theme:"light"}),l.provide("store",r),{type:e.pickerType,input:n,onChangeText:i}}});function kNe(e,t,n,i,r,a){const o=l.resolveComponent("picker-root");return l.openBlock(),l.createBlock(o,{type:e.type,text:e.input,onSelect:t[0]||(t[0]=s=>e.$emit("select",s)),"onUpdate:text":e.onChangeText},null,8,["type","text","onUpdate:text"])}var B5=cu(vNe,[["render",kNe]]),Ef=(e=>(e.primary="primary",e.secondary="secondary",e.red="red",e.green="green",e.yellow="yellow",e.blue="blue",e.white="white",e.black="black",e))(Ef||{});const MNe={class:"editor-component"},CNe={class:"right-buttons"},xNe={class:"toolbar"},Vg=l.defineComponent({__name:"ContentEditor",props:l.mergeModels({activeAttachFile:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:l.mergeModels(["unmount-send","unmount-attach-file"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const i=e,r=l.useModel(e,"modelValue"),a=l.ref(!1),o=l.ref({vertical:"bottom",horizontal:"left"}),s=n,u=l.computed(()=>{var S;return["emoji-picker",`emoji-picker-${o.value.vertical}`,`emoji-picker-${o.value.horizontal}`,(S=h.value)!=null&&S.isEmpty?"":"translateX"]}),c=l.ref(null),f=gn.create({name:"spanNode",inline:!0,group:"inline",atom:!0,selectable:!1,addAttributes(){return{class:{default:"link"},content:{default:""}}},parseHTML(){return[{tag:"span[data-span]"}]},renderHTML({node:S,HTMLAttributes:N}){return["span",ht(N,{"data-span":"",contenteditable:"false",class:S==null?void 0:S.attrs.class}),S==null?void 0:S.attrs.content]}}),h=bPe({extensions:[QEe.configure({link:!1}),cEe.configure({openOnClick:!1,HTMLAttributes:{class:"link"}}),eAe,tAe.configure({placeholder:"Начните печатать...",emptyEditorClass:"is-editor-empty"}),f],content:r.value,onUpdate:({editor:S})=>{r.value=S.getHTML()},parseOptions:{preserveWhitespace:!0}});l.watch(r,S=>{h!=null&&h.value&&S!==h.value.getHTML()&&h.value.commands.setContent(S??"",{parseOptions:{preserveWhitespace:!0}})});const g=S=>{h!=null&&h.value&&h.value.chain().focus().insertContent(S.i).run()},p=(S=!1)=>{if(!(h!=null&&h.value))return;const N=document.createElement("input");N.type="file",N.multiple=!0,S&&(N.accept="image/*,video/*"),N.onchange=()=>{N!=null&&N.files&&s("unmount-attach-file",N.files,S)},N.click()},y=()=>{h!=null&&h.value&&s("unmount-send",{content:h.value.getHTML()})},v=S=>{h!=null&&h.value&&h.value.chain().focus().insertContent({type:"spanNode",attrs:{content:S+",",class:"link"}}).run()},k=(S,N=300,T=260)=>{if(!S)return;const I=S.getBoundingClientRect(),L=window.innerWidth,D=window.innerHeight;o.value.vertical=I.bottom+T>D?"top":"bottom",o.value.horizontal=I.left+N>L?"right":"left"},w=S=>{if(a.value=!a.value,a.value){const N=S.currentTarget;l.nextTick(()=>{k(N)})}},M=()=>{a.value=!1},x=()=>{const S=document.querySelector(".toolbar-button.smile-button");a.value&&S&&k(S)},_=S=>{S.key==="Enter"&&!(S.shiftKey||S.ctrlKey||S.metaKey)&&(S.preventDefault(),S.stopPropagation(),y())};return l.onMounted(()=>{var S,N;(N=(S=h==null?void 0:h.value)==null?void 0:S.view)!=null&&N.dom&&(c.value=h.value.view.dom,window.addEventListener("resize",x),window.addEventListener("scroll",x,!0),c.value.addEventListener("keydown",_,{capture:!0}))}),l.onBeforeUnmount(()=>{var S;(S=h==null?void 0:h.value)==null||S.destroy(),c.value&&c.value.removeEventListener("keydown",_,{capture:!0}),window.removeEventListener("resize",x),window.removeEventListener("scroll",x,!0)}),t({addSpanLink:v}),(S,N)=>{var T,I;return l.openBlock(),l.createElementBlock("div",MNe,[l.createVNode(Go,{isWCUse:"",disabled:!i.activeAttachFile,options:[{value:"Фото или видео",function:()=>p(!0)},{value:"Файл",function:()=>p(!1)}],translateY:"-115px",class:"mobile-item"},{trigger:l.withCtx(()=>[l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button attach-file-button mobile-buttons",disabled:!i.activeAttachFile},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).paperClip},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),l.createVNode(l.unref(yPe),{class:"editor-content",editor:l.unref(h)},null,8,["editor"]),l.createElementVNode("div",CNe,[l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button mobile-buttons smile-button",onClick:l.withModifiers(w,["stop"])},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).smile},null,8,["name"]),l.withDirectives(l.createElementVNode("div",{onClick:N[0]||(N[0]=l.withModifiers(()=>{},["stop"])),class:l.normalizeClass(u.value)},[l.createVNode(l.unref(B5),{native:!0,onSelect:g})],2),[[l.vShow,a.value]])]),_:1},8,["type","size"]),l.withDirectives(l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button right mobile-buttons",onClick:y},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).planeRight,width:21,height:21},null,8,["name"])]),_:1},8,["type","size"]),[[l.vShow,!((T=l.unref(h))!=null&&T.isEmpty)]])]),l.createElementVNode("div",xNe,[l.createVNode(Go,{isWCUse:"",disabled:!i.activeAttachFile,options:[{value:"Фото или видео",function:()=>p(!0)},{value:"Файл",function:()=>p(!1)}],translateY:"-115px"},{trigger:l.withCtx(()=>[l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button attach-file-button",disabled:!i.activeAttachFile},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).paperClip,width:16,height:16},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),l.createCommentVNode("",!0),l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button smile-button",onClick:l.withModifiers(w,["stop"])},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).smile,width:16,height:16},null,8,["name"]),l.withDirectives(l.createElementVNode("div",{onClick:N[1]||(N[1]=l.withModifiers(()=>{},["stop"])),class:l.normalizeClass(u.value)},[l.withDirectives(l.createVNode(l.unref(B5),{native:!0,onSelect:g},null,512),[[l.unref(vo),M,void 0,{bubble:!0}]])],2),[[l.vShow,a.value]])]),_:1},8,["type","size"]),l.createVNode(yt,{disabled:(I=l.unref(h))==null?void 0:I.isEmpty,class:"toolbar-button right",size:l.unref(vn).small,onClick:y},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).planeRight,color:l.unref(Ef).white,width:16,height:16},null,8,["name","color"])]),_:1},8,["disabled","size"])])])}}}),SNe=["data-testid"],_Ne=["data-testid"],TNe=me(l.defineComponent({name:"BaseCropper",__name:"BaseCropper",props:{image:{},max:{default:3},min:{default:1},step:{default:.5}},emits:["unmount-scale"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.useTemplateRef("canvas"),o=l.useTemplateRef("container"),s=l.reactive({ctx:null,image:null,id:l.useId(),scale:1,position:{x:0,y:0},isDragging:!1,startX:0,startY:0,minScale:i.min,maxScale:i.max,stepScale:i.step});l.watch(()=>i.image,()=>{i.image&&h(i.image)});const u=()=>{a.value&&(s.ctx=a.value.getContext("2d")),c(),window.addEventListener("resize",c)},c=()=>{if(o.value){const{width:N,height:T}=o.value.getBoundingClientRect();a.value&&(a.value.width=N,a.value.height=T),s.image&&f()}},f=()=>{if(s.image){const N=s.ctx,T=a.value;N&&T&&(N.clearRect(0,0,T.width,T.height),N.drawImage(s.image,s.position.x,s.position.y,s.image.width*s.scale,s.image.height*s.scale))}},h=N=>{const T=new FileReader;T.onload=async I=>{var L;typeof((L=I.target)==null?void 0:L.result)=="string"&&(s.image=new Image,s.image.src=I.target.result,s.image.onload=async()=>{if(await l.nextTick(),a.value&&s.image){const D=a.value.width,z=a.value.height,H=s.image.width/s.image.height,X=D/z;H>X?(s.image.width=D,s.image.height=D/H):(s.image.height=z,s.image.width=z*H),c(),s.position.x=(a.value.width-s.image.width)/2,s.position.y=(a.value.height-s.image.height)/2,f()}})},T.readAsDataURL(N)},g=N=>{s.isDragging=!0,s.startX=N.clientX-s.position.x,s.startY=N.clientY-s.position.y,window.addEventListener("mousemove",p),window.addEventListener("mouseup",y)},p=N=>{if(!s.isDragging&&!a.value)return;let T=N.clientX-s.startX,I=N.clientY-s.startY;if(a.value&&s.image){const L=a.value.width-s.image.width*s.scale;s.image.width*s.scale<a.value.width?T=Math.min(Math.max(T,0),a.value.width-s.image.width*s.scale):(T>0&&(T=0),T<L&&(T=L));const D=a.value.height-s.image.height*s.scale;s.image.height*s.scale<a.value.height?I=Math.min(Math.max(I,0),a.value.height-s.image.height*s.scale):(I>0&&(I=0),I<D&&(I=D)),s.position.x=T,s.position.y=I}f()},y=()=>{s.isDragging=!1,window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",y)},v=N=>Math.max(s.minScale,Math.min(N,s.maxScale)),k=N=>{if(a.value){const T=a.value.width/2,I=a.value.height/2;s.position.x=T-(T-s.position.x)*N,s.position.y=I-(I-s.position.y)*N}},w=N=>{const T=s.scale,I=s.scale+N.deltaY*-.001;if(T===v(I))return;s.scale=v(I);const L=I/T;k(L),r("unmount-scale",s.scale),f()};return t({cropImage:()=>{if(o.value){const{width:N,height:T}=o.value.getBoundingClientRect(),I=document.createElement("canvas");I.width=N,I.height=T;const L=I.getContext("2d");L&&s.image&&L.drawImage(s.image,s.position.x,s.position.y,s.image.width*s.scale,s.image.height*s.scale);const D=I.toDataURL("image/png"),z=atob(D.split(",")[1]),H=new ArrayBuffer(z.length),X=new Uint8Array(H);for(let ee=0;ee<z.length;ee++)X[ee]=z.charCodeAt(ee);const re=new Blob([X],{type:"image/png"});return i.image?new File([re],i.image.name,{type:"image/png"}):null}return null},scalePlus:()=>{const N=s.scale+s.stepScale;s.scale=v(N),f()},scaleMinus:()=>{const N=s.scale-s.stepScale;s.scale=v(N),f()},setScale:N=>{const T=s.scale,L=N/T;s.scale=v(N),k(L),f()},startMove:g,scaleImage:w}),l.onMounted(()=>{u(),i.image&&h(i.image)}),(N,T)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"container",ref:o,class:"base-cropper","data-testid":`BaseCropper-${s.id}`},[l.createElementVNode("canvas",{ref_key:"canvas",ref:a,class:"base-cropper__canvas","data-testid":`BaseCropper-${s.id}-canvas`,onMousedown:g,onWheel:l.withModifiers(w,["prevent"])},null,40,_Ne)],8,SNe))}}),[["__scopeId","data-v-96931847"]]),PNe=e=>{const t=l.ref(e==null?void 0:e.defaultValue),n=e==null?void 0:e.min,i=e==null?void 0:e.max,r=e==null?void 0:e.step;l.watch(t,o=>{t.value=a(o)});const a=o=>Math.max(n,Math.min(o,i));return{value:t,min:n,max:i,step:r,getCorrectValue:a}},ENe=(e,t)=>new File([e],t,{type:e.type}),ANe=["data-testid"],DNe=["data-testid"],NNe=["data-testid"],jNe=["data-testid"],INe=["data-testid"],WNe=["data-testid"],Fg=me(l.defineComponent({name:"ModalCroppedAvatar",__name:"ModalCroppedAvatar",props:{image:{},open:{type:Boolean},position:{default:"center"},width:{default:"650px"},height:{default:"auto"},dataTestid:{}},emits:["unmount-close","unmount-save"],setup(e,{emit:t}){const n=e,i=t,{max:r,min:a,step:o,value:s}=PNe({defaultValue:1,max:3,min:1,step:.1}),u=l.useId(),c=l.useTemplateRef("cropper"),f=l.reactive({openModal:!1});l.watch(s,()=>{c.value&&c.value.setScale(s.value)});const h=()=>{f.openModal=!1,i("unmount-close")},g=k=>{s.value=k},p=()=>{s.value=s.value-o},y=()=>{s.value=s.value+o},v=()=>{if(c.value){const k=c.value.cropImage();if(k){const w=k.name,M=ENe(k,w);i("unmount-save",M),h()}}};return l.onUnmounted(()=>{h()}),l.onMounted(()=>{n.open===void 0&&(f.openModal=n.open)}),(k,w)=>(l.openBlock(),l.createBlock(Xd,l.mergeProps(n,{class:"modal-cropped-avatar","data-testid":`ModalCroppedAvatar-${l.unref(u)}`,onClose:h}),{default:l.withCtx(()=>[l.createElementVNode("div",{class:"modal-cropped-avatar__content","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content`},[l.createElementVNode("div",{class:"modal-cropped-avatar__title","data-testid":`ModalCroppedAvatar-${l.unref(u)}-title`}," Изменение фото профиля ",8,DNe),l.createElementVNode("div",{class:"modal-cropped-avatar__main","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-main`},[l.createElementVNode("div",{class:"modal-cropped-avatar__cropped","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-main-cropped`},[l.createVNode(TNe,{ref_key:"cropper",ref:c,image:e.image,max:l.unref(r),min:l.unref(a),step:l.unref(o),class:"modal-cropped-avatar__cropper",onUnmountScale:g},null,8,["image","max","min","step"]),l.createElementVNode("div",{class:"modal-cropped-avatar__tools","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-tools`},[l.createVNode(we,{name:l.unref(se).minus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-iconMinus`,onClick:p},null,8,["name","data-testid"]),l.createVNode(Zd,{max:l.unref(r),min:l.unref(a),step:l.unref(o),modelValue:l.unref(s),"onUpdate:modelValue":w[0]||(w[0]=M=>l.isRef(s)?s.value=M:null),"data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-Range`},null,8,["max","min","step","modelValue","data-testid"]),l.createVNode(we,{name:l.unref(se).plus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-IconPlus`,onClick:y},null,8,["name","data-testid"])],8,INe)],8,jNe),l.createElementVNode("div",{class:"modal-cropped-avatar__buttons","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-buttons`},[l.createVNode(yt,{type:l.unref(Qe).outline,class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-ButtonCancel`,onClick:h},{default:l.withCtx(()=>[...w[1]||(w[1]=[l.createTextVNode(" Отменить ",-1)])]),_:1},8,["type","data-testid"]),l.createVNode(yt,{class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-buttonSave`,onClick:v},{default:l.withCtx(()=>[...w[2]||(w[2]=[l.createTextVNode(" Сохранить ",-1)])]),_:1},8,["data-testid"])],8,WNe)],8,NNe)],8,ANe)]),_:1},16,["data-testid"]))}}),[["__scopeId","data-v-8913c4c8"]]),ONe={class:"time-picker-dialog-content"},zNe={class:"time-picker-header"},LNe={key:0,class:"clock-face"},$Ne={key:1,class:"clock-face"},HNe={key:0,class:"clock-number__dot"},RNe={class:"time-picker-actions"},Ug=me(l.defineComponent({__name:"TimePicker",props:{modelValue:{},disabled:{type:Boolean},hideClearButton:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({openModal:!1,hours:void 0,minutes:void 0,editingValue:"hour",openClock:!1,localHours:void 0,localMinutes:void 0}),a=l.ref(null);l.watch(()=>n.modelValue,_=>{if(_){const S=new Date(_);r.localHours=S.getHours(),r.localMinutes=S.getMinutes()}else r.localHours=void 0,r.localMinutes=void 0},{immediate:!0}),l.watch(()=>r.openModal,_=>{_&&(r.hours=Number(r.localHours)||0,r.minutes=Number(r.localMinutes)||0)});const o=l.computed(()=>r.localHours!==void 0&&r.localMinutes!==void 0?`${String(r.localHours).padStart(2,"0")}:${String(r.localMinutes).padStart(2,"0")}`:"-- --"),s=l.computed(()=>({transform:`rotate(${(r.hours??0)%12*30}deg)`})),u=l.computed(()=>({transform:`rotate(${(r.minutes??0)*6}deg)`}));function c(_,S=100){const N=_%12/12*360,T=S*Math.sin(N*Math.PI/180),I=-S*Math.cos(N*Math.PI/180);return{left:`calc(50% + ${T}px - 24.5px)`,top:`calc(50% + ${I}px - 23.5px)`}}function f(_){var L;const S=(L=a.value)==null?void 0:L.getBoundingClientRect();if(!S)return 0;const N=_.clientX-(S.left+S.width/2),T=_.clientY-(S.top+S.height/2);return(Math.atan2(T,N)*(180/Math.PI)+90+360)%360}function h(_){const S=f(_);if(r.editingValue==="hour"){const T=Math.hypot(_.clientX-(a.value.getBoundingClientRect().left+128),_.clientY-(a.value.getBoundingClientRect().top+128))<90,I=Math.round(S/30)%12||12;r.hours=(T?I+12:I)%24}else r.minutes=Math.round(S/6)%60}function g(_){h(_)}function p(_){h(_),document.addEventListener("mousemove",y),document.addEventListener("mouseup",v)}function y(_){h(_)}function v(){document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",v)}l.onBeforeUnmount(()=>v());function k(){r.openModal=!1}function w(){r.editingValue="hour",r.openModal=!0}function M(){if(r.hours===void 0||r.minutes===void 0)return;const _=n.modelValue?new Date(n.modelValue):new Date,S=new Date(_.getFullYear(),_.getMonth(),_.getDate(),+r.hours,+r.minutes,0,0),N=new Date(S.getTime()).toISOString();i("update:modelValue",N),r.localHours=r.hours,r.localMinutes=r.minutes,k()}function x(){r.hours=void 0,r.minutes=void 0,r.localHours=void 0,r.localMinutes=void 0,i("update:modelValue",null)}return(_,S)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("div",{class:l.normalizeClass({"time-picker-select":!0,disabled:n.disabled})},[l.createElementVNode("div",{class:"time-picker-select-content",onClick:w},[l.createVNode(we,{name:l.unref(se).time},null,8,["name"]),l.createElementVNode("span",null,l.toDisplayString(o.value),1),!n.hideClearButton&&(r.localHours!==void 0||r.localMinutes!==void 0)?(l.openBlock(),l.createElementBlock("div",{key:0,class:"time-picker-select-clear",onClick:l.withModifiers(x,["stop"])},[l.createVNode(we,{name:l.unref(se).closeTag,width:16,height:16},null,8,["name"])])):l.createCommentVNode("",!0)])],2),l.createVNode(zd,{open:r.openModal,onClose:k,class:"time-picker-dialog",width:"328px"},{default:l.withCtx(()=>[l.createElementVNode("div",ONe,[S[11]||(S[11]=l.createElementVNode("h3",null,"Установка времени",-1)),l.createElementVNode("div",zNe,[l.createElementVNode("div",null,[l.createVNode(wl,{"model-value":r.hours,"onUpdate:modelValue":S[0]||(S[0]=N=>r.hours=+N),min:0,max:23,class:l.normalizeClass({"time-picker-input":!0,pressed:r.editingValue==="hour"}),"input-message":"","is-integer":"","zero-pad":"",onClick:S[1]||(S[1]=N=>r.editingValue="hour")},null,8,["model-value","class"]),S[5]||(S[5]=l.createElementVNode("span",null,"Часы",-1))]),S[7]||(S[7]=l.createElementVNode("span",{class:"time-picker-separator"},":",-1)),l.createElementVNode("div",null,[l.createVNode(wl,{"model-value":r.minutes,"onUpdate:modelValue":S[2]||(S[2]=N=>r.minutes=+N),min:0,max:59,class:l.normalizeClass({"time-picker-input":!0,pressed:r.editingValue==="minute"}),"input-message":"","is-integer":"","zero-pad":"",onClick:S[3]||(S[3]=N=>r.editingValue="minute")},null,8,["model-value","class"]),S[6]||(S[6]=l.createElementVNode("span",null,"Минуты",-1))])]),r.openClock?(l.openBlock(),l.createElementBlock("div",{key:0,class:"time-picker-clock",ref_key:"clockRef",ref:a,onMousedown:p,onClick:g},[r.editingValue==="hour"?(l.openBlock(),l.createElementBlock("div",LNe,[l.createElementVNode("div",{class:"clock-hand",style:l.normalizeStyle(s.value)},null,4),(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(12,N=>l.createElementVNode("div",{key:"outer-"+N,class:l.normalizeClass({"clock-number":!0,active:N===Number(r.hours)}),style:l.normalizeStyle(c(N,100))},l.toDisplayString(N),7)),64)),(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(12,N=>l.createElementVNode("div",{key:"inner-"+N,class:l.normalizeClass({"clock-number":!0,active:N+12===(Number(r.hours)||24)}),style:l.normalizeStyle(c(N+12,70))},l.toDisplayString(N+12),7)),64))])):(l.openBlock(),l.createElementBlock("div",$Ne,[l.createElementVNode("div",{class:"clock-hand",style:l.normalizeStyle(u.value)},null,4),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Array.from({length:60},(N,T)=>T),N=>(l.openBlock(),l.createElementBlock("div",{key:N,class:l.normalizeClass({"clock-number":!0,active:N===Number(r.minutes||0)}),style:l.normalizeStyle(c(N/5,100))},[N===Number(r.minutes)&&N%5?(l.openBlock(),l.createElementBlock("div",HNe)):l.createCommentVNode("",!0),l.createTextVNode(" "+l.toDisplayString(N%5?"":N%60),1)],6))),128))])),S[8]||(S[8]=l.createElementVNode("div",{class:"clock-hand-center"},null,-1))],544)):l.createCommentVNode("",!0),l.createElementVNode("div",RNe,[l.createElementVNode("div",{class:"time-picker-actions__switch",onClick:S[4]||(S[4]=N=>r.openClock=!r.openClock)},[l.createVNode(we,{name:r.openClock?l.unref(se).keyboard:l.unref(se).time},null,8,["name"])]),l.createVNode(yt,{size:l.unref(vn).little,type:l.unref(Qe).ghost,onClick:k},{default:l.withCtx(()=>[...S[9]||(S[9]=[l.createTextVNode("Отменить ",-1)])]),_:1},8,["size","type"]),l.createVNode(yt,{size:l.unref(vn).little,type:l.unref(Qe).primary,onClick:M},{default:l.withCtx(()=>[...S[10]||(S[10]=[l.createTextVNode("Сохранить ",-1)])]),_:1},8,["size","type"])])])]),_:1},8,["open"])],64))}}),[["__scopeId","data-v-f2fea77d"]]),Yg={install(e,t={enabled:!0}){if(!(t.enabled??!1)){console.info("[removeDataTestidPlugin] Plugin is disabled.");return}const i=r=>{r.removeAttribute("data-testid"),Array.from(r.children).forEach(i)};e.mixin({mounted(){i(this.$el)}})}},V5={Accordion:M1,Badges:Ut,BreadCrumbs:Ch,Dialog:zd,DragAndDrop:C1,Card:x1,Combobox:_1,Calendar:Zm,Button:yt,Switch:Eu,SelectList:ko,Dropdown:Hh,Textarea:j1,Filter:S1,Icon:we,Input:P1,InputNumber:wl,Picture:I1,PushNotification:W1,Scroll:A1,Search:yl,Modal:Xd,Slider:E1,Checkbox:D1,Toggle:Vd,UserMenu:N1,CopyIcon:O1,Loader:z1,FilterTag:L1,CircularProgress:$1,Popover:Go,Table:H1,TableNew:F1,TableSimple:Y1,TableRow:Qd,TableRowNew:U1,TableTd:Jd,TableTh:Ko,SectionTableRow:R1,HeadTableRow:xl,HeadTableRowNew:ec,ScrollWrapper:Sl,ScrollWrapperNew:dCe,Radio:B1,Tooltip:Cl,BaseFilter:V1,Range:Zd,Tabs:X1,ContentEditor:Vg,ModalCroppedAvatar:Fg,Avatar:Gd,TimePicker:Ug},F5=Object.freeze(Object.defineProperty({__proto__:null,Accordion:M1,Avatar:Gd,Badges:Ut,BadgesTypeEnum:nt,BaseFilter:V1,BreadCrumbs:Ch,Button:yt,ButtonTypeEnum:Qe,Calendar:Zm,Card:x1,Checkbox:D1,CheckboxSizeEnum:qd,CircularProgress:$1,ColorsEnum:Ef,Combobox:_1,ContentEditor:Vg,CopyIcon:O1,Dialog:zd,DragAndDrop:C1,Dropdown:Hh,Filter:S1,FilterTag:L1,HeadTableRow:xl,HeadTableRowNew:ec,Icon:we,IconNameEnum:se,ImageExtensionsEnum:Hd,Input:P1,InputNumber:wl,InputTypeEnum:T1,Loader:z1,MenuTypeEnum:rt,Modal:Xd,ModalCroppedAvatar:Fg,Picture:I1,Popover:Go,PushNotification:W1,Radio:B1,Range:Zd,Scroll:A1,ScrollWrapper:Sl,Search:yl,SectionTableRow:R1,SelectList:ko,SizesEnum:vn,Slider:E1,Switch:Eu,Table:H1,TableNew:F1,TableRow:Qd,TableRowNew:U1,TableSimple:Y1,TableTd:Jd,TableTh:Ko,Tabs:X1,TextFieldEnum:$d,Textarea:j1,TextareaTypeEnum:Kd,TimePicker:Ug,Toggle:Vd,Tooltip:Cl,UserMenu:N1,VideoExtensionsEnum:Rd,default:{install:e=>{Object.keys(V5).forEach(t=>{e.component("Y"+t,V5[t])})}},getFirstTime:Hw,getLastTime:vd,vuePluginRemoveTestid:Yg},Symbol.toStringTag,{value:"Module"})),BNe={install(e){for(const t in F5){const n=F5[t];e.use(n).use(Yg,{enabled:!1})}}};U.Accordion=M1,U.Avatar=Gd,U.Badges=Ut,U.BadgesTypeEnum=nt,U.BaseFilter=V1,U.BreadCrumbs=Ch,U.Button=yt,U.ButtonTypeEnum=Qe,U.Calendar=Zm,U.Card=x1,U.Checkbox=D1,U.CheckboxSizeEnum=qd,U.CircularProgress=$1,U.ColorsEnum=Ef,U.Combobox=_1,U.ContentEditor=Vg,U.CopyIcon=O1,U.Dialog=zd,U.DragAndDrop=C1,U.Dropdown=Hh,U.Filter=S1,U.FilterTag=L1,U.HeadTableRow=xl,U.HeadTableRowNew=ec,U.Icon=we,U.IconNameEnum=se,U.ImageExtensionsEnum=Hd,U.Input=P1,U.InputNumber=wl,U.InputTypeEnum=T1,U.Loader=z1,U.MenuTypeEnum=rt,U.Modal=Xd,U.ModalCroppedAvatar=Fg,U.OnClickOutside=yS,U.OnLongPress=MS,U.Picture=I1,U.Popover=Go,U.PushNotification=W1,U.Radio=B1,U.Range=Zd,U.Scroll=A1,U.ScrollWrapper=Sl,U.Search=yl,U.SectionTableRow=R1,U.SelectList=ko,U.SizesEnum=vn,U.Slider=E1,U.Switch=Eu,U.Table=H1,U.TableNew=F1,U.TableRow=Qd,U.TableRowNew=U1,U.TableSimple=Y1,U.TableTd=Jd,U.TableTh=Ko,U.Tabs=X1,U.TextFieldEnum=$d,U.Textarea=j1,U.TextareaTypeEnum=Kd,U.TimePicker=Ug,U.Toggle=Vd,U.Tooltip=Cl,U.UseActiveElement=CS,U.UseBattery=xS,U.UseBrowserLocation=SS,U.UseClipboard=_S,U.UseColorMode=zS,U.UseDark=LS,U.UseDeviceMotion=$S,U.UseDeviceOrientation=HS,U.UseDevicePixelRatio=RS,U.UseDevicesList=BS,U.UseDocumentVisibility=VS,U.UseDraggable=FS,U.UseElementBounding=US,U.UseElementSize=XS,U.UseElementVisibility=KS,U.UseEyeDropper=JS,U.UseFullscreen=ZS,U.UseGeolocation=e_,U.UseIdle=t_,U.UseImage=a_,U.UseMouse=l_,U.UseMouseInElement=u_,U.UseMousePressed=d_,U.UseNetwork=c_,U.UseNow=f_,U.UseObjectUrl=h_,U.UseOffsetPagination=m_,U.UseOnline=p_,U.UsePageLeave=g_,U.UsePointer=y_,U.UsePointerLock=b_,U.UsePreferredColorScheme=w_,U.UsePreferredContrast=v_,U.UsePreferredDark=k_,U.UsePreferredLanguages=M_,U.UsePreferredReducedMotion=C_,U.UseScreenSafeArea=T_,U.UseTimeAgo=j_,U.UseTimestamp=I_,U.UseVirtualList=W_,U.UseWindowFocus=O_,U.UseWindowSize=z_,U.UserMenu=N1,U.VOnClickOutside=vo,U.VOnLongPress=Qy,U.VideoExtensionsEnum=Rd,U.VueToolsCore=jMe,U.arrow=m4e,U.autoPlacement=Iw,U.autoUpdate=Nw,U.computePosition=Ww,U.default=BNe,U.detectOverflow=a4e,U.flip=s4e,U.getFirstTime=Hw,U.getLastTime=vd,U.getOverflowAncestors=Oo,U.hide=u4e,U.inline=c4e,U.limitShift=f4e,U.offset=jw,U.platform=Aw,U.shift=o4e,U.size=l4e,U.useFloating=Lw,U.useSearch=o3,U.vElementHover=YS,U.vElementSize=GS,U.vElementVisibility=QS,U.vInfiniteScroll=o_,U.vIntersectionObserver=s_,U.vOnClickOutside=vo,U.vOnKeyStroke=wS,U.vOnLongPress=Qy,U.vResizeObserver=x_,U.vScroll=P_,U.vScrollLock=N_,U.vuePluginRemoveTestid=Yg,Object.defineProperties(U,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1412
|
+
3. "-" cannot repeat`);et.customSchemes.push([e,t])}function iEe(){et.scanner=GPe(et.customSchemes);for(let e=0;e<et.tokenQueue.length;e++)et.tokenQueue[e][1]({scanner:et.scanner});et.parser=JPe(et.scanner.tokens);for(let e=0;e<et.pluginQueue.length;e++)et.pluginQueue[e][1]({scanner:et.scanner,parser:et.parser});return et.initialized=!0,et}function wg(e){return et.initialized||iEe(),ZPe(et.parser.start,e,z6(et.scanner.start,e))}wg.scan=z6;function F6(e,t=null,n=null){if(t&&typeof t=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const i=new yg(n),r=wg(e),a=[];for(let o=0;o<r.length;o++){const s=r[o];s.isLink&&(!t||s.t===t)&&i.check(s)&&a.push(s.toFormattedObject(i))}return a}var vg="[\0- -\u2029 ]",rEe=new RegExp(vg),aEe=new RegExp(`${vg}$`),oEe=new RegExp(vg,"g");function sEe(e){return e.length===1?e[0].isLink:e.length===3&&e[1].isLink?["()","[]"].includes(e[0].value+e[2].value):!1}function lEe(e){return new ft({key:new Ot("autolink"),appendTransaction:(t,n,i)=>{const r=t.some(c=>c.docChanged)&&!n.doc.eq(i.doc),a=t.some(c=>c.getMeta("preventAutolink"));if(!r||a)return;const{tr:o}=i,s=Xk(n.doc,[...t]);if(r6(s).forEach(({newRange:c})=>{const f=A_e(i.doc,c,p=>p.isTextblock);let h,g;if(f.length>1)h=f[0],g=i.doc.textBetween(h.pos,h.pos+h.node.nodeSize,void 0," ");else if(f.length){const p=i.doc.textBetween(c.from,c.to," "," ");if(!aEe.test(p))return;h=f[0],g=i.doc.textBetween(h.pos,c.to,void 0," ")}if(h&&g){const p=g.split(rEe).filter(Boolean);if(p.length<=0)return!1;const y=p[p.length-1],v=h.pos+g.lastIndexOf(y);if(!y)return!1;const k=wg(y).map(w=>w.toObject(e.defaultProtocol));if(!sEe(k))return!1;k.filter(w=>w.isLink).map(w=>({...w,from:v+w.start+1,to:v+w.end+1})).filter(w=>i.schema.marks.code?!i.doc.rangeHasMark(w.from,w.to,i.schema.marks.code):!0).filter(w=>e.validate(w.value)).filter(w=>e.shouldAutoLink(w.value)).forEach(w=>{Fp(w.from,w.to,i.doc).some(M=>M.mark.type===e.type)||o.addMark(w.from,w.to,e.type.create({href:w.href}))})}}),!!o.steps.length)return o}})}function uEe(e){return new ft({key:new Ot("handleClickLink"),props:{handleClick:(t,n,i)=>{var r,a;if(i.button!==0||!t.editable)return!1;let o=null;if(i.target instanceof HTMLAnchorElement)o=i.target;else{let f=i.target;const h=[];for(;f.nodeName!=="DIV";)h.push(f),f=f.parentNode;o=h.find(g=>g.nodeName==="A")}if(!o)return!1;const s=i6(t.state,e.type.name),u=(r=o==null?void 0:o.href)!=null?r:s.href,c=(a=o==null?void 0:o.target)!=null?a:s.target;return e.enableClickSelection&&e.editor.commands.extendMarkRange(e.type.name),o&&u?(window.open(u,c),!0):!1}}})}function dEe(e){return new ft({key:new Ot("handlePasteLink"),props:{handlePaste:(t,n,i)=>{const{state:r}=t,{selection:a}=r,{empty:o}=a;if(o)return!1;let s="";i.content.forEach(c=>{s+=c.textContent});const u=F6(s,{defaultProtocol:e.defaultProtocol}).find(c=>c.isLink&&c.value===s);return!s||!u?!1:e.editor.commands.setMark(e.type,{href:u.href})}}})}function ao(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(i=>{const r=typeof i=="string"?i:i.scheme;r&&n.push(r)}),!e||e.replace(oEe,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var U6=no.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{if(typeof e=="string"){V6(e);return}V6(e.scheme,e.optionalSlashes)})},onDestroy(){nEe()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!ao(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!t||!this.options.isAllowedUri(t,{defaultValidate:n=>!!ao(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:t=>!!ao(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",ht(this.options.HTMLAttributes,e),0]:["a",ht(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:i=>!!ao(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().setMark(this.name,e).setMeta("preventAutolink",!0).run():!1},toggleLink:e=>({chain:t})=>{const{href:n}=e||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:i=>!!ao(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[io({find:e=>{const t=[];if(e){const{protocols:n,defaultProtocol:i}=this.options,r=F6(e).filter(a=>a.isLink&&this.options.isAllowedUri(a.value,{defaultValidate:o=>!!ao(o,n),protocols:n,defaultProtocol:i}));r.length&&r.forEach(a=>t.push({text:a.value,data:{href:a.href},index:a.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:(t=e.data)==null?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(lEe({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:i=>this.options.isAllowedUri(i,{defaultValidate:r=>!!ao(r,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&e.push(uEe({type:this.type,editor:this.editor,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&e.push(dEe({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}}),cEe=U6,fEe=Object.defineProperty,hEe=(e,t)=>{for(var n in t)fEe(e,n,{get:t[n],enumerable:!0})},mEe="listItem",Y6="textStyle",X6=/^\s*([-+*])\s$/,q6=gn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:e}){return["ul",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(mEe,this.editor.getAttributes(Y6)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=fs({find:X6,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=fs({find:X6,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Y6),editor:this.editor})),[e]}}),G6=gn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",ht(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),pEe={};hEe(pEe,{findListItemPos:()=>nu,getNextListDepth:()=>kg,handleBackspace:()=>Mg,handleDelete:()=>Cg,hasListBefore:()=>K6,hasListItemAfter:()=>gEe,hasListItemBefore:()=>Q6,listItemHasSubList:()=>J6,nextListIsDeeper:()=>Z6,nextListIsHigher:()=>e5});var nu=(e,t)=>{const{$from:n}=t.selection,i=St(e,t.schema);let r=null,a=n.depth,o=n.pos,s=null;for(;a>0&&s===null;)r=n.node(a),r.type===i?s=a:(a-=1,o-=1);return s===null?null:{$pos:t.doc.resolve(o),depth:s}},kg=(e,t)=>{const n=nu(e,t);if(!n)return!1;const[,i]=H_e(t,e,n.$pos.pos+4);return i},K6=(e,t,n)=>{const{$anchor:i}=e.selection,r=Math.max(0,i.pos-2),a=e.doc.resolve(r).node();return!(!a||!n.includes(a.type.name))},Q6=(e,t)=>{var n;const{$anchor:i}=t.selection,r=t.doc.resolve(i.pos-2);return!(r.index()===0||((n=r.nodeBefore)==null?void 0:n.type.name)!==e)},J6=(e,t,n)=>{if(!n)return!1;const i=St(e,t.schema);let r=!1;return n.descendants(a=>{a.type===i&&(r=!0)}),r},Mg=(e,t,n)=>{if(e.commands.undoInputRule())return!0;if(e.state.selection.from!==e.state.selection.to)return!1;if(!ta(e.state,t)&&K6(e.state,t,n)){const{$anchor:s}=e.state.selection,u=e.state.doc.resolve(s.before()-1),c=[];u.node().descendants((g,p)=>{g.type.name===t&&c.push({node:g,pos:p})});const f=c.at(-1);if(!f)return!1;const h=e.state.doc.resolve(u.start()+f.pos+1);return e.chain().cut({from:s.start()-1,to:s.end()+1},h.end()).joinForward().run()}if(!ta(e.state,t)||!F_e(e.state))return!1;const i=nu(t,e.state);if(!i)return!1;const a=e.state.doc.resolve(i.$pos.pos-2).node(i.depth),o=J6(t,e.state,a);return Q6(t,e.state)&&!o?e.commands.joinItemBackward():e.chain().liftListItem(t).run()},Z6=(e,t)=>{const n=kg(e,t),i=nu(e,t);return!i||!n?!1:n>i.depth},e5=(e,t)=>{const n=kg(e,t),i=nu(e,t);return!i||!n?!1:n<i.depth},Cg=(e,t)=>{if(!ta(e.state,t)||!V_e(e.state,t))return!1;const{selection:n}=e.state,{$from:i,$to:r}=n;return!n.empty&&i.sameParent(r)?!1:Z6(t,e.state)?e.chain().focus(e.state.selection.from+4).lift(t).joinBackward().run():e5(t,e.state)?e.chain().joinForward().joinBackward().run():e.commands.joinItemForward()},gEe=(e,t)=>{var n;const{$anchor:i}=t.selection,r=t.doc.resolve(i.pos-i.parentOffset-2);return!(r.index()===r.parent.childCount-1||((n=r.nodeAfter)==null?void 0:n.type.name)!==e)},t5=_t.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&Cg(e,n)&&(t=!0)}),t},"Mod-Delete":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{e.state.schema.nodes[n]!==void 0&&Cg(e,n)&&(t=!0)}),t},Backspace:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:i})=>{e.state.schema.nodes[n]!==void 0&&Mg(e,n,i)&&(t=!0)}),t},"Mod-Backspace":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:i})=>{e.state.schema.nodes[n]!==void 0&&Mg(e,n,i)&&(t=!0)}),t}}}}),yEe="listItem",n5="textStyle",i5=/^(\d+)\.\s$/,r5=gn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return t===1?["ol",ht(this.options.HTMLAttributes,n),0]:["ol",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(yEe,this.editor.getAttributes(n5)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=fs({find:i5,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=fs({find:i5,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(n5)}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1],editor:this.editor})),[e]}}),bEe=/^\s*(\[([( |x])?\])\s$/,wEe=gn.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{const t=e.getAttribute("data-checked");return t===""||t==="true"},renderHTML:e=>({"data-checked":e.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",ht(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:i})=>{const r=document.createElement("li"),a=document.createElement("label"),o=document.createElement("span"),s=document.createElement("input"),u=document.createElement("div"),c=f=>{var h,g;s.ariaLabel=((g=(h=this.options.a11y)==null?void 0:h.checkboxLabel)==null?void 0:g.call(h,f,s.checked))||`Task item checkbox for ${f.textContent||"empty task item"}`};return c(e),a.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",f=>f.preventDefault()),s.addEventListener("change",f=>{if(!i.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}const{checked:h}=f.target;i.isEditable&&typeof n=="function"&&i.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:g})=>{const p=n();if(typeof p!="number")return!1;const y=g.doc.nodeAt(p);return g.setNodeMarkup(p,void 0,{...y==null?void 0:y.attrs,checked:h}),!0}).run(),!i.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,h)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([f,h])=>{r.setAttribute(f,h)}),r.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,a.append(s,o),r.append(a,u),Object.entries(t).forEach(([f,h])=>{r.setAttribute(f,h)}),{dom:r,contentDOM:u,update:f=>f.type!==this.type?!1:(r.dataset.checked=f.attrs.checked,s.checked=f.attrs.checked,c(f),!0)}}},addInputRules(){return[fs({find:bEe,type:this.type,getAttributes:e=>({checked:e[e.length-1]==="x"})})]}}),vEe=gn.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",ht(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});_t.create({name:"listKit",addExtensions(){const e=[];return this.options.bulletList!==!1&&e.push(q6.configure(this.options.bulletList)),this.options.listItem!==!1&&e.push(G6.configure(this.options.listItem)),this.options.listKeymap!==!1&&e.push(t5.configure(this.options.listKeymap)),this.options.orderedList!==!1&&e.push(r5.configure(this.options.orderedList)),this.options.taskItem!==!1&&e.push(wEe.configure(this.options.taskItem)),this.options.taskList!==!1&&e.push(vEe.configure(this.options.taskList)),e}});var kEe=gn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:e}){return["p",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),MEe=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,CEe=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,xEe=no.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["s",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[cs({find:MEe,type:this.type})]},addPasteRules(){return[io({find:CEe,type:this.type})]}}),SEe=gn.create({name:"text",group:"inline"}),_Ee=no.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",ht(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function TEe(e={}){return new ft({view(t){return new PEe(t,e)}})}class PEe{constructor(t,n){var i;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(i=n.width)!==null&&i!==void 0?i:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let a=o=>{this[r](o)};return t.dom.addEventListener(r,a),{name:r,handler:a}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,i,r=this.editorView.dom,a=r.getBoundingClientRect(),o=a.width/r.offsetWidth,s=a.height/r.offsetHeight;if(n){let h=t.nodeBefore,g=t.nodeAfter;if(h||g){let p=this.editorView.nodeDOM(this.cursorPos-(h?h.nodeSize:0));if(p){let y=p.getBoundingClientRect(),v=h?y.bottom:y.top;h&&g&&(v=(v+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let k=this.width/2*s;i={left:y.left,right:y.right,top:v-k,bottom:v+k}}}}if(!i){let h=this.editorView.coordsAtPos(this.cursorPos),g=this.width/2*o;i={left:h.left-g,right:h.left+g,top:h.top,bottom:h.bottom}}let u=this.editorView.dom.offsetParent;this.element||(this.element=u.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let c,f;if(!u||u==document.body&&getComputedStyle(u).position=="static")c=-pageXOffset,f=-pageYOffset;else{let h=u.getBoundingClientRect(),g=h.width/u.offsetWidth,p=h.height/u.offsetHeight;c=h.left-u.scrollLeft*g,f=h.top-u.scrollTop*p}this.element.style.left=(i.left-c)/o+"px",this.element.style.top=(i.top-f)/s+"px",this.element.style.width=(i.right-i.left)/o+"px",this.element.style.height=(i.bottom-i.top)/s+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),i=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),r=i&&i.type.spec.disableDropCursor,a=typeof r=="function"?r(this.editorView,n,t):r;if(n&&!a){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=c4(this.editorView.state.doc,o,this.editorView.dragging.slice);s!=null&&(o=s)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){this.editorView.dom.contains(t.relatedTarget)||this.setCursor(null)}}class pt extends Pe{constructor(t){super(t,t)}map(t,n){let i=t.resolve(n.map(this.head));return pt.valid(i)?new pt(i):Pe.near(i)}content(){return ue.empty}eq(t){return t instanceof pt&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new pt(t.resolve(n.pos))}getBookmark(){return new xg(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!EEe(t)||!AEe(t))return!1;let i=n.type.spec.allowGapCursor;if(i!=null)return i;let r=n.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,n,i=!1){e:for(;;){if(!i&&pt.valid(t))return t;let r=t.pos,a=null;for(let o=t.depth;;o--){let s=t.node(o);if(n>0?t.indexAfter(o)<s.childCount:t.index(o)>0){a=s.child(n>0?t.indexAfter(o):t.index(o)-1);break}else if(o==0)return null;r+=n;let u=t.doc.resolve(r);if(pt.valid(u))return u}for(;;){let o=n>0?a.firstChild:a.lastChild;if(!o){if(a.isAtom&&!a.isText&&!be.isSelectable(a)){t=t.doc.resolve(r+a.nodeSize*n),i=!1;continue e}break}a=o,r+=n;let s=t.doc.resolve(r);if(pt.valid(s))return s}return null}}}pt.prototype.visible=!1,pt.findFrom=pt.findGapCursorFrom,Pe.jsonID("gapcursor",pt);class xg{constructor(t){this.pos=t}map(t){return new xg(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return pt.valid(n)?new pt(n):Pe.near(n)}}function EEe(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),i=e.node(t);if(n==0){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n-1);;r=r.lastChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function AEe(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),i=e.node(t);if(n==i.childCount){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n);;r=r.firstChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function DEe(){return new ft({props:{decorations:WEe,createSelectionBetween(e,t,n){return t.pos==n.pos&&pt.valid(n)?new pt(n):null},handleClick:jEe,handleKeyDown:NEe,handleDOMEvents:{beforeinput:IEe}}})}const NEe=Lk({ArrowLeft:bf("horiz",-1),ArrowRight:bf("horiz",1),ArrowUp:bf("vert",-1),ArrowDown:bf("vert",1)});function bf(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(i,r,a){let o=i.selection,s=t>0?o.$to:o.$from,u=o.empty;if(o instanceof Ce){if(!a.endOfTextblock(n)||s.depth==0)return!1;u=!1,s=i.doc.resolve(t>0?s.after():s.before())}let c=pt.findGapCursorFrom(s,t,u);return c?(r&&r(i.tr.setSelection(new pt(c))),!0):!1}}function jEe(e,t,n){if(!e||!e.editable)return!1;let i=e.state.doc.resolve(t);if(!pt.valid(i))return!1;let r=e.posAtCoords({left:n.clientX,top:n.clientY});return r&&r.inside>-1&&be.isSelectable(e.state.doc.nodeAt(r.inside))?!1:(e.dispatch(e.state.tr.setSelection(new pt(i))),!0)}function IEe(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof pt))return!1;let{$from:n}=e.state.selection,i=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!i)return!1;let r=ne.empty;for(let o=i.length-1;o>=0;o--)r=ne.from(i[o].createAndFill(null,r));let a=e.state.tr.replace(n.pos,n.pos,new ue(r,0,0));return a.setSelection(Ce.near(a.doc.resolve(n.pos+1))),e.dispatch(a),!1}function WEe(e){if(!(e.selection instanceof pt))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",ut.create(e.doc,[pn.widget(e.selection.head,t,{key:"gapcursor"})])}var wf=200,zt=function(){};zt.prototype.append=function(t){return t.length?(t=zt.from(t),!this.length&&t||t.length<wf&&this.leafAppend(t)||this.length<wf&&t.leafPrepend(this)||this.appendInner(t)):this},zt.prototype.prepend=function(t){return t.length?zt.from(t).append(this):this},zt.prototype.appendInner=function(t){return new OEe(this,t)},zt.prototype.slice=function(t,n){return t===void 0&&(t=0),n===void 0&&(n=this.length),t>=n?zt.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))},zt.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},zt.prototype.forEach=function(t,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length),n<=i?this.forEachInner(t,n,i,0):this.forEachInvertedInner(t,n,i,0)},zt.prototype.map=function(t,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length);var r=[];return this.forEach(function(a,o){return r.push(t(a,o))},n,i),r},zt.from=function(t){return t instanceof zt?t:t&&t.length?new a5(t):zt.empty};var a5=function(e){function t(i){e.call(this),this.values=i}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,a){return r==0&&a==this.length?this:new t(this.values.slice(r,a))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,a,o,s){for(var u=a;u<o;u++)if(r(this.values[u],s+u)===!1)return!1},t.prototype.forEachInvertedInner=function(r,a,o,s){for(var u=a-1;u>=o;u--)if(r(this.values[u],s+u)===!1)return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=wf)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=wf)return new t(r.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(zt);zt.empty=new a5([]);var OEe=function(e){function t(n,i){e.call(this),this.left=n,this.right=i,this.length=n.length+i.length,this.depth=Math.max(n.depth,i.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(i){return i<this.left.length?this.left.get(i):this.right.get(i-this.left.length)},t.prototype.forEachInner=function(i,r,a,o){var s=this.left.length;if(r<s&&this.left.forEachInner(i,r,Math.min(a,s),o)===!1||a>s&&this.right.forEachInner(i,Math.max(r-s,0),Math.min(this.length,a)-s,o+s)===!1)return!1},t.prototype.forEachInvertedInner=function(i,r,a,o){var s=this.left.length;if(r>s&&this.right.forEachInvertedInner(i,r-s,Math.max(a,s)-s,o+s)===!1||a<s&&this.left.forEachInvertedInner(i,Math.min(r,s),a,o)===!1)return!1},t.prototype.sliceInner=function(i,r){if(i==0&&r==this.length)return this;var a=this.left.length;return r<=a?this.left.slice(i,r):i>=a?this.right.slice(i-a,r-a):this.left.slice(i,a).append(this.right.slice(0,r-a))},t.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new t(r,this.right)},t.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new t(this.left,new t(this.right,i)):new t(this,i)},t}(zt);const zEe=500;class _i{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}let r,a;n&&(r=this.remapping(i,this.items.length),a=r.maps.length);let o=t.tr,s,u,c=[],f=[];return this.items.forEach((h,g)=>{if(!h.step){r||(r=this.remapping(i,g+1),a=r.maps.length),a--,f.push(h);return}if(r){f.push(new Xi(h.map));let p=h.step.map(r.slice(a)),y;p&&o.maybeStep(p).doc&&(y=o.mapping.maps[o.mapping.maps.length-1],c.push(new Xi(y,void 0,void 0,c.length+f.length))),a--,y&&r.appendMap(y,a)}else o.maybeStep(h.step);if(h.selection)return s=r?h.selection.map(r.slice(a)):h.selection,u=new _i(this.items.slice(0,i).append(f.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:o,selection:s}}addTransform(t,n,i,r){let a=[],o=this.eventCount,s=this.items,u=!r&&s.length?s.get(s.length-1):null;for(let f=0;f<t.steps.length;f++){let h=t.steps[f].invert(t.docs[f]),g=new Xi(t.mapping.maps[f],h,n),p;(p=u&&u.merge(g))&&(g=p,f?a.pop():s=s.slice(0,s.length-1)),a.push(g),n&&(o++,n=void 0),r||(u=g)}let c=o-i.depth;return c>$Ee&&(s=LEe(s,c),o-=c),new _i(s.append(a),o)}remapping(t,n){let i=new Al;return this.items.forEach((r,a)=>{let o=r.mirrorOffset!=null&&a-r.mirrorOffset>=t?i.maps.length-r.mirrorOffset:void 0;i.appendMap(r.map,o)},t,n),i}addMaps(t){return this.eventCount==0?this:new _i(this.items.append(t.map(n=>new Xi(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-n),a=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach(g=>{g.selection&&s--},r);let u=n;this.items.forEach(g=>{let p=a.getMirror(--u);if(p==null)return;o=Math.min(o,p);let y=a.maps[p];if(g.step){let v=t.steps[p].invert(t.docs[p]),k=g.selection&&g.selection.map(a.slice(u+1,p));k&&s++,i.push(new Xi(y,v,k))}else i.push(new Xi(y))},r);let c=[];for(let g=n;g<o;g++)c.push(new Xi(a.maps[g]));let f=this.items.slice(0,r).append(c).append(i),h=new _i(f,s);return h.emptyItemCount()>zEe&&(h=h.compress(this.items.length-i.length)),h}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),i=n.maps.length,r=[],a=0;return this.items.forEach((o,s)=>{if(s>=t)r.push(o),o.selection&&a++;else if(o.step){let u=o.step.map(n.slice(i)),c=u&&u.getMap();if(i--,c&&n.appendMap(c,i),u){let f=o.selection&&o.selection.map(n.slice(i));f&&a++;let h=new Xi(c.invert(),u,f),g,p=r.length-1;(g=r.length&&r[p].merge(h))?r[p]=g:r.push(h)}}else o.map&&i--},this.items.length,0),new _i(zt.from(r.reverse()),a)}}_i.empty=new _i(zt.empty,0);function LEe(e,t){let n;return e.forEach((i,r)=>{if(i.selection&&t--==0)return n=r,!1}),e.slice(n)}class Xi{constructor(t,n,i,r){this.map=t,this.step=n,this.selection=i,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Xi(n.getMap().invert(),n,this.selection)}}}class aa{constructor(t,n,i,r,a){this.done=t,this.undone=n,this.prevRanges=i,this.prevTime=r,this.prevComposition=a}}const $Ee=20;function HEe(e,t,n,i){let r=n.getMeta(oo),a;if(r)return r.historyState;n.getMeta(VEe)&&(e=new aa(e.done,e.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(o&&o.getMeta(oo))return o.getMeta(oo).redo?new aa(e.done.addTransform(n,void 0,i,vf(t)),e.undone,o5(n.mapping.maps),e.prevTime,e.prevComposition):new aa(e.done,e.undone.addTransform(n,void 0,i,vf(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),u=e.prevTime==0||!o&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-i.newGroupDelay||!REe(n,e.prevRanges)),c=o?Sg(e.prevRanges,n.mapping):o5(n.mapping.maps);return new aa(e.done.addTransform(n,u?t.selection.getBookmark():void 0,i,vf(t)),_i.empty,c,n.time,s??e.prevComposition)}else return(a=n.getMeta("rebased"))?new aa(e.done.rebased(n,a),e.undone.rebased(n,a),Sg(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new aa(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),Sg(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function REe(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((i,r)=>{for(let a=0;a<t.length;a+=2)i<=t[a+1]&&r>=t[a]&&(n=!0)}),n}function o5(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((i,r,a,o)=>t.push(a,o));return t}function Sg(e,t){if(!e)return null;let n=[];for(let i=0;i<e.length;i+=2){let r=t.map(e[i],1),a=t.map(e[i+1],-1);r<=a&&n.push(r,a)}return n}function BEe(e,t,n){let i=vf(t),r=oo.get(t).spec.config,a=(n?e.undone:e.done).popEvent(t,i);if(!a)return null;let o=a.selection.resolve(a.transform.doc),s=(n?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),r,i),u=new aa(n?s:a.remaining,n?a.remaining:s,null,0,-1);return a.transform.setSelection(o).setMeta(oo,{redo:n,historyState:u})}let _g=!1,s5=null;function vf(e){let t=e.plugins;if(s5!=t){_g=!1,s5=t;for(let n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){_g=!0;break}}return _g}const oo=new Ot("history"),VEe=new Ot("closeHistory");function FEe(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new ft({key:oo,state:{init(){return new aa(_i.empty,_i.empty,null,0,-1)},apply(t,n,i){return HEe(n,i,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(t,n){let i=n.inputType,r=i=="historyUndo"?u5:i=="historyRedo"?d5:null;return r?(n.preventDefault(),r(t.state,t.dispatch)):!1}}}})}function l5(e,t){return(n,i)=>{let r=oo.getState(n);if(!r||(e?r.undone:r.done).eventCount==0)return!1;if(i){let a=BEe(r,n,e);a&&i(t?a.scrollIntoView():a)}return!0}}const u5=l5(!1,!0),d5=l5(!0,!0);_t.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:e=>e.length,wordCounter:e=>e.split(" ").filter(t=>t!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc;if(((e==null?void 0:e.mode)||this.options.mode)==="textSize"){const i=t.textBetween(0,t.content.size,void 0," ");return this.options.textCounter(i)}return t.nodeSize},this.storage.words=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc,n=t.textBetween(0,t.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new ft({key:new Ot("characterCount"),appendTransaction:(t,n,i)=>{if(e)return;const r=this.options.limit;if(r==null||r===0){e=!0;return}const a=this.storage.characters({node:i.doc});if(a>r){const o=a-r,s=0,u=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${r} characters. Content was automatically trimmed.`);const c=i.tr.deleteRange(s,u);return e=!0,c}e=!0},filterTransaction:(t,n)=>{const i=this.options.limit;if(!t.docChanged||i===0||i===null||i===void 0)return!0;const r=this.storage.characters({node:n.doc}),a=this.storage.characters({node:t.doc});if(a<=i||r>i&&a>i&&a<=r)return!0;if(r>i&&a>i&&a>r||!t.getMeta("paste"))return!1;const s=t.selection.$head.pos,u=a-i,c=s-u,f=s;return t.deleteRange(c,f),!(this.storage.characters({node:t.doc})>i)}})]}});var UEe=_t.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[TEe(this.options)]}});_t.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new ft({key:new Ot("focus"),props:{decorations:({doc:e,selection:t})=>{const{isEditable:n,isFocused:i}=this.editor,{anchor:r}=t,a=[];if(!n||!i)return ut.create(e,[]);let o=0;this.options.mode==="deepest"&&e.descendants((u,c)=>{if(u.isText)return;if(!(r>=c&&r<=c+u.nodeSize-1))return!1;o+=1});let s=0;return e.descendants((u,c)=>{if(u.isText||!(r>=c&&r<=c+u.nodeSize-1))return!1;if(s+=1,this.options.mode==="deepest"&&o-s>0||this.options.mode==="shallowest"&&s>1)return this.options.mode==="deepest";a.push(pn.node(c,c+u.nodeSize,{class:this.options.className}))}),ut.create(e,a)}}})]}});var YEe=_t.create({name:"gapCursor",addProseMirrorPlugins(){return[DEe()]},extendNodeSchema(e){var t;const n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:(t=Fe(ge(e,"allowGapCursor",n)))!=null?t:null}}}),XEe=_t.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new ft({key:new Ot("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=t,r=[];if(!n)return null;const a=this.editor.isEmpty;return e.descendants((o,s)=>{const u=i>=s&&i<=s+o.nodeSize,c=!o.isLeaf&&Nc(o);if((u||!this.options.showOnlyCurrent)&&c){const f=[this.options.emptyNodeClass];a&&f.push(this.options.emptyEditorClass);const h=pn.node(s,s+o.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:o,pos:s,hasAnchor:u}):this.options.placeholder});r.push(h)}return this.options.includeChildren}),ut.create(e,r)}}})]}});_t.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:e,options:t}=this;return[new ft({key:new Ot("selection"),props:{decorations(n){return n.selection.empty||e.isFocused||!e.isEditable||u6(n.selection)||e.view.dragging?null:ut.create(n.doc,[pn.inline(n.selection.from,n.selection.to,{class:t.className})])}}})]}});function c5({types:e,node:t}){return t&&Array.isArray(e)&&e.includes(t.type)||(t==null?void 0:t.type)===e}var qEe=_t.create({name:"trailingNode",addOptions(){return{node:"paragraph",notAfter:[]}},addProseMirrorPlugins(){const e=new Ot(this.name),t=Object.entries(this.editor.schema.nodes).map(([,n])=>n).filter(n=>(this.options.notAfter||[]).concat(this.options.node).includes(n.name));return[new ft({key:e,appendTransaction:(n,i,r)=>{const{doc:a,tr:o,schema:s}=r,u=e.getState(r),c=a.content.size,f=s.nodes[this.options.node];if(u)return o.insert(c,f.create())},state:{init:(n,i)=>{const r=i.tr.doc.lastChild;return!c5({node:r,types:t})},apply:(n,i)=>{if(!n.docChanged)return i;const r=n.doc.lastChild;return!c5({node:r,types:t})}}})]}}),GEe=_t.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>u5(e,t),redo:()=>({state:e,dispatch:t})=>d5(e,t)}},addProseMirrorPlugins(){return[FEe(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),KEe=_t.create({name:"starterKit",addExtensions(){var e,t,n,i;const r=[];return this.options.bold!==!1&&r.push(SPe.configure(this.options.bold)),this.options.blockquote!==!1&&r.push(vPe.configure(this.options.blockquote)),this.options.bulletList!==!1&&r.push(q6.configure(this.options.bulletList)),this.options.code!==!1&&r.push(PPe.configure(this.options.code)),this.options.codeBlock!==!1&&r.push(DPe.configure(this.options.codeBlock)),this.options.document!==!1&&r.push(NPe.configure(this.options.document)),this.options.dropcursor!==!1&&r.push(UEe.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&r.push(YEe.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&r.push(jPe.configure(this.options.hardBreak)),this.options.heading!==!1&&r.push(IPe.configure(this.options.heading)),this.options.undoRedo!==!1&&r.push(GEe.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&r.push(WPe.configure(this.options.horizontalRule)),this.options.italic!==!1&&r.push(HPe.configure(this.options.italic)),this.options.listItem!==!1&&r.push(G6.configure(this.options.listItem)),this.options.listKeymap!==!1&&r.push(t5.configure((e=this.options)==null?void 0:e.listKeymap)),this.options.link!==!1&&r.push(U6.configure((t=this.options)==null?void 0:t.link)),this.options.orderedList!==!1&&r.push(r5.configure(this.options.orderedList)),this.options.paragraph!==!1&&r.push(kEe.configure(this.options.paragraph)),this.options.strike!==!1&&r.push(xEe.configure(this.options.strike)),this.options.text!==!1&&r.push(SEe.configure(this.options.text)),this.options.underline!==!1&&r.push(_Ee.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&r.push(qEe.configure((i=this.options)==null?void 0:i.trailingNode)),r}}),QEe=KEe,JEe=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,ZEe=gn.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){return["img",ht(this.options.HTMLAttributes,e)]},addCommands(){return{setImage:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e})}},addInputRules(){return[T6({find:JEe,type:this.type,getAttributes:e=>{const[,,t,n,i]=e;return{src:n,alt:t,title:i}}})]}}),eAe=ZEe,tAe=XEe;const f5="https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64",h5={recent:"Recently used",smileys_people:"Smiles & People",animals_nature:"Animals & Nature",food_drink:"Food & Drink",activities:"Activities",travel_places:"Travel places",objects:"Objects",symbols:"Symbols",flags:"Flags"},m5="u",kf="n",Mf="v",iu="r",nAe={[kf]:["grinning face","grinning"],[m5]:"1f600",[iu]:"1f600"},Cf="neutral",iAe=[Cf,"1f3fb","1f3fc","1f3fd","1f3fe","1f3ff"],rAe={placeholder:"Search emoji",skinTone:"Skin tone"},aAe=["light","dark","auto"];var oAe={smileys_people:[{n:["grinning face","grinning"],u:"1f600"},{n:["grinning face with smiling eyes","grin"],u:"1f601"},{n:["face with tears of joy","joy"],u:"1f602"},{n:["rolling on the floor laughing","rolling_on_the_floor_laughing"],u:"1f923"},{n:["smiling face with open mouth","smiley"],u:"1f603"},{n:["smiling face with open mouth and smiling eyes","smile"],u:"1f604"},{n:["smiling face with open mouth and cold sweat","sweat_smile"],u:"1f605"},{n:["smiling face with open mouth and tightly-closed eyes","laughing","satisfied"],u:"1f606"},{n:["winking face","wink"],u:"1f609"},{n:["smiling face with smiling eyes","blush"],u:"1f60a"},{n:["face savouring delicious food","yum"],u:"1f60b"},{n:["smiling face with sunglasses","sunglasses"],u:"1f60e"},{n:["smiling face with heart-shaped eyes","heart_eyes"],u:"1f60d"},{n:["face throwing a kiss","kissing_heart"],u:"1f618"},{n:["kissing face","kissing"],u:"1f617"},{n:["kissing face with smiling eyes","kissing_smiling_eyes"],u:"1f619"},{n:["kissing face with closed eyes","kissing_closed_eyes"],u:"1f61a"},{n:["white smiling face","relaxed"],u:"263a-fe0f"},{n:["slightly smiling face","slightly_smiling_face"],u:"1f642"},{n:["hugging face","hugging_face"],u:"1f917"},{n:["grinning face with star eyes","star-struck","grinning_face_with_star_eyes"],u:"1f929"},{n:["thinking face","thinking_face"],u:"1f914"},{n:["face with one eyebrow raised","face_with_raised_eyebrow","face_with_one_eyebrow_raised"],u:"1f928"},{n:["neutral face","neutral_face"],u:"1f610"},{n:["expressionless face","expressionless"],u:"1f611"},{n:["face without mouth","no_mouth"],u:"1f636"},{n:["face with rolling eyes","face_with_rolling_eyes"],u:"1f644"},{n:["smirking face","smirk"],u:"1f60f"},{n:["persevering face","persevere"],u:"1f623"},{n:["disappointed but relieved face","disappointed_relieved"],u:"1f625"},{n:["face with open mouth","open_mouth"],u:"1f62e"},{n:["zipper-mouth face","zipper_mouth_face"],u:"1f910"},{n:["hushed face","hushed"],u:"1f62f"},{n:["sleepy face","sleepy"],u:"1f62a"},{n:["tired face","tired_face"],u:"1f62b"},{n:["sleeping face","sleeping"],u:"1f634"},{n:["relieved face","relieved"],u:"1f60c"},{n:["face with stuck-out tongue","stuck_out_tongue"],u:"1f61b"},{n:["face with stuck-out tongue and winking eye","stuck_out_tongue_winking_eye"],u:"1f61c"},{n:["face with stuck-out tongue and tightly-closed eyes","stuck_out_tongue_closed_eyes"],u:"1f61d"},{n:["drooling face","drooling_face"],u:"1f924"},{n:["unamused face","unamused"],u:"1f612"},{n:["face with cold sweat","sweat"],u:"1f613"},{n:["pensive face","pensive"],u:"1f614"},{n:["confused face","confused"],u:"1f615"},{n:["upside-down face","upside_down_face"],u:"1f643"},{n:["money-mouth face","money_mouth_face"],u:"1f911"},{n:["astonished face","astonished"],u:"1f632"},{n:["white_frowning_face"],u:"2639-fe0f"},{n:["slightly frowning face","slightly_frowning_face"],u:"1f641"},{n:["confounded face","confounded"],u:"1f616"},{n:["disappointed face","disappointed"],u:"1f61e"},{n:["worried face","worried"],u:"1f61f"},{n:["face with look of triumph","triumph"],u:"1f624"},{n:["crying face","cry"],u:"1f622"},{n:["loudly crying face","sob"],u:"1f62d"},{n:["frowning face with open mouth","frowning"],u:"1f626"},{n:["anguished face","anguished"],u:"1f627"},{n:["fearful face","fearful"],u:"1f628"},{n:["weary face","weary"],u:"1f629"},{n:["shocked face with exploding head","exploding_head","shocked_face_with_exploding_head"],u:"1f92f"},{n:["grimacing face","grimacing"],u:"1f62c"},{n:["face with open mouth and cold sweat","cold_sweat"],u:"1f630"},{n:["face screaming in fear","scream"],u:"1f631"},{n:["flushed face","flushed"],u:"1f633"},{n:["grinning face with one large and one small eye","zany_face","grinning_face_with_one_large_and_one_small_eye"],u:"1f92a"},{n:["dizzy face","dizzy_face"],u:"1f635"},{n:["pouting face","rage"],u:"1f621"},{n:["angry face","angry"],u:"1f620"},{n:["serious face with symbols covering mouth","face_with_symbols_on_mouth","serious_face_with_symbols_covering_mouth"],u:"1f92c"},{n:["face with medical mask","mask"],u:"1f637"},{n:["face with thermometer","face_with_thermometer"],u:"1f912"},{n:["face with head-bandage","face_with_head_bandage"],u:"1f915"},{n:["nauseated face","nauseated_face"],u:"1f922"},{n:["face with open mouth vomiting","face_vomiting","face_with_open_mouth_vomiting"],u:"1f92e"},{n:["sneezing face","sneezing_face"],u:"1f927"},{n:["smiling face with halo","innocent"],u:"1f607"},{n:["face with cowboy hat","face_with_cowboy_hat"],u:"1f920"},{n:["clown face","clown_face"],u:"1f921"},{n:["lying face","lying_face"],u:"1f925"},{n:["face with finger covering closed lips","shushing_face","face_with_finger_covering_closed_lips"],u:"1f92b"},{n:["smiling face with smiling eyes and hand covering mouth","face_with_hand_over_mouth","smiling_face_with_smiling_eyes_and_hand_covering_mouth"],u:"1f92d"},{n:["face with monocle","face_with_monocle"],u:"1f9d0"},{n:["nerd face","nerd_face"],u:"1f913"},{n:["smiling face with horns","smiling_imp"],u:"1f608"},{n:["imp"],u:"1f47f"},{n:["japanese ogre","japanese_ogre"],u:"1f479"},{n:["japanese goblin","japanese_goblin"],u:"1f47a"},{n:["skull"],u:"1f480"},{n:["skull_and_crossbones"],u:"2620-fe0f"},{n:["ghost"],u:"1f47b"},{n:["extraterrestrial alien","alien"],u:"1f47d"},{n:["alien monster","space_invader"],u:"1f47e"},{n:["robot face","robot_face"],u:"1f916"},{n:["pile of poo","hankey","poop","shit"],u:"1f4a9"},{n:["smiling cat face with open mouth","smiley_cat"],u:"1f63a"},{n:["grinning cat face with smiling eyes","smile_cat"],u:"1f638"},{n:["cat face with tears of joy","joy_cat"],u:"1f639"},{n:["smiling cat face with heart-shaped eyes","heart_eyes_cat"],u:"1f63b"},{n:["cat face with wry smile","smirk_cat"],u:"1f63c"},{n:["kissing cat face with closed eyes","kissing_cat"],u:"1f63d"},{n:["weary cat face","scream_cat"],u:"1f640"},{n:["crying cat face","crying_cat_face"],u:"1f63f"},{n:["pouting cat face","pouting_cat"],u:"1f63e"},{n:["see-no-evil monkey","see_no_evil"],u:"1f648"},{n:["hear-no-evil monkey","hear_no_evil"],u:"1f649"},{n:["speak-no-evil monkey","speak_no_evil"],u:"1f64a"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"]},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"]},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"]},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"]},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"]},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"]},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"]},{n:["older adult","older_adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"]},{n:["older man","older_man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"]},{n:["older woman","older_woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"]},{n:["male-doctor"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"]},{n:["female-doctor"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"]},{n:["male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"]},{n:["female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"]},{n:["male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"]},{n:["female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"]},{n:["male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"]},{n:["female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"]},{n:["male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"]},{n:["female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"]},{n:["male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"]},{n:["female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"]},{n:["male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"]},{n:["female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"]},{n:["male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"]},{n:["female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"]},{n:["male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"]},{n:["female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"]},{n:["male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"]},{n:["female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"]},{n:["male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"]},{n:["female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"]},{n:["male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"]},{n:["female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"]},{n:["male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"]},{n:["female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"]},{n:["male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"]},{n:["female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"]},{n:["male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"]},{n:["female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"]},{n:["male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"]},{n:["female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"]},{n:["police officer","cop"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"]},{n:["male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"]},{n:["female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"]},{n:["sleuth_or_spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"]},{n:["male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"]},{n:["female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"]},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"]},{n:["male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"]},{n:["female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"]},{n:["construction worker","construction_worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"]},{n:["male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"]},{n:["female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"]},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"]},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"]},{n:["man with turban","man_with_turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"]},{n:["man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"]},{n:["woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"]},{n:["man with gua pi mao","man_with_gua_pi_mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"]},{n:["person with headscarf","person_with_headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"]},{n:["bearded person","bearded_person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"]},{n:["person with blond hair","person_with_blond_hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"]},{n:["blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"]},{n:["blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"]},{n:["man in tuxedo","man_in_tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"]},{n:["bride with veil","bride_with_veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"]},{n:["pregnant woman","pregnant_woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"]},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"]},{n:["baby angel","angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"]},{n:["father christmas","santa"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"]},{n:["mother christmas","mrs_claus","mother_christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"]},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"]},{n:["female_mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"]},{n:["male_mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"]},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"]},{n:["female_fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"]},{n:["male_fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"]},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"]},{n:["female_vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"]},{n:["male_vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"]},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"]},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"]},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"]},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"]},{n:["female_elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"]},{n:["male_elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"]},{n:["genie"],u:"1f9de"},{n:["female_genie"],u:"1f9de-200d-2640-fe0f"},{n:["male_genie"],u:"1f9de-200d-2642-fe0f"},{n:["zombie"],u:"1f9df"},{n:["female_zombie"],u:"1f9df-200d-2640-fe0f"},{n:["male_zombie"],u:"1f9df-200d-2642-fe0f"},{n:["person frowning","person_frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"]},{n:["man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"]},{n:["woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"]},{n:["person with pouting face","person_with_pouting_face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"]},{n:["man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"]},{n:["woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"]},{n:["face with no good gesture","no_good"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"]},{n:["man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"]},{n:["woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"]},{n:["face with ok gesture","ok_woman"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"]},{n:["man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"]},{n:["woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"]},{n:["information desk person","information_desk_person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"]},{n:["man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"]},{n:["woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"]},{n:["happy person raising one hand","raising_hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"]},{n:["man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"]},{n:["woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"]},{n:["person bowing deeply","bow"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"]},{n:["man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"]},{n:["woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"]},{n:["face palm","face_palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"]},{n:["man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"]},{n:["woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"]},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"]},{n:["man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"]},{n:["woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"]},{n:["face massage","massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"]},{n:["man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"]},{n:["woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"]},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"]},{n:["man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"]},{n:["woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"]},{n:["pedestrian","walking"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"]},{n:["man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"]},{n:["woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"]},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"]},{n:["man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"]},{n:["woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"]},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"]},{n:["man dancing","man_dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"]},{n:["woman with bunny ears","dancers"],u:"1f46f"},{n:["man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f"},{n:["woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f"},{n:["person in steamy room","person_in_steamy_room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"]},{n:["woman_in_steamy_room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"]},{n:["man_in_steamy_room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"]},{n:["person climbing","person_climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"]},{n:["woman_climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"]},{n:["man_climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"]},{n:["person in lotus position","person_in_lotus_position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"]},{n:["woman_in_lotus_position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"]},{n:["man_in_lotus_position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"]},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"]},{n:["sleeping accommodation","sleeping_accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"]},{n:["man_in_business_suit_levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"]},{n:["speaking_head_in_silhouette"],u:"1f5e3-fe0f"},{n:["bust in silhouette","bust_in_silhouette"],u:"1f464"},{n:["busts in silhouette","busts_in_silhouette"],u:"1f465"},{n:["fencer"],u:"1f93a"},{n:["horse racing","horse_racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"]},{n:["skier"],u:"26f7-fe0f"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"]},{n:["golfer"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"]},{n:["man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"]},{n:["woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"]},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"]},{n:["man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"]},{n:["woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"]},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"]},{n:["man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"]},{n:["woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"]},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"]},{n:["man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"]},{n:["woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"]},{n:["person_with_ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"]},{n:["man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"]},{n:["woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"]},{n:["weight_lifter"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"]},{n:["man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"]},{n:["woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"]},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"]},{n:["man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"]},{n:["woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"]},{n:["mountain bicyclist","mountain_bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"]},{n:["man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"]},{n:["woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"]},{n:["racing_car"],u:"1f3ce-fe0f"},{n:["racing_motorcycle"],u:"1f3cd-fe0f"},{n:["person doing cartwheel","person_doing_cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"]},{n:["man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"]},{n:["woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"]},{n:["wrestlers"],u:"1f93c"},{n:["man-wrestling"],u:"1f93c-200d-2642-fe0f"},{n:["woman-wrestling"],u:"1f93c-200d-2640-fe0f"},{n:["water polo","water_polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"]},{n:["man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"]},{n:["woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"]},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"]},{n:["man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"]},{n:["woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"]},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"]},{n:["man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"]},{n:["woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"]},{n:["man and woman holding hands","couple","man_and_woman_holding_hands"],u:"1f46b"},{n:["two men holding hands","two_men_holding_hands"],u:"1f46c"},{n:["two women holding hands","two_women_holding_hands"],u:"1f46d"},{n:["kiss","couplekiss"],u:"1f48f"},{n:["woman-kiss-man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468"},{n:["man-kiss-man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468"},{n:["woman-kiss-woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469"},{n:["couple with heart","couple_with_heart"],u:"1f491"},{n:["woman-heart-man"],u:"1f469-200d-2764-fe0f-200d-1f468"},{n:["man-heart-man"],u:"1f468-200d-2764-fe0f-200d-1f468"},{n:["woman-heart-woman"],u:"1f469-200d-2764-fe0f-200d-1f469"},{n:["family","man-woman-boy"],u:"1f46a"},{n:["man-woman-boy","family"],u:"1f468-200d-1f469-200d-1f466"},{n:["man-woman-girl"],u:"1f468-200d-1f469-200d-1f467"},{n:["man-woman-girl-boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466"},{n:["man-woman-boy-boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466"},{n:["man-woman-girl-girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467"},{n:["man-man-boy"],u:"1f468-200d-1f468-200d-1f466"},{n:["man-man-girl"],u:"1f468-200d-1f468-200d-1f467"},{n:["man-man-girl-boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466"},{n:["man-man-boy-boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466"},{n:["man-man-girl-girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467"},{n:["woman-woman-boy"],u:"1f469-200d-1f469-200d-1f466"},{n:["woman-woman-girl"],u:"1f469-200d-1f469-200d-1f467"},{n:["woman-woman-girl-boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466"},{n:["woman-woman-boy-boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466"},{n:["woman-woman-girl-girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467"},{n:["man-boy"],u:"1f468-200d-1f466"},{n:["man-boy-boy"],u:"1f468-200d-1f466-200d-1f466"},{n:["man-girl"],u:"1f468-200d-1f467"},{n:["man-girl-boy"],u:"1f468-200d-1f467-200d-1f466"},{n:["man-girl-girl"],u:"1f468-200d-1f467-200d-1f467"},{n:["woman-boy"],u:"1f469-200d-1f466"},{n:["woman-boy-boy"],u:"1f469-200d-1f466-200d-1f466"},{n:["woman-girl"],u:"1f469-200d-1f467"},{n:["woman-girl-boy"],u:"1f469-200d-1f467-200d-1f466"},{n:["woman-girl-girl"],u:"1f469-200d-1f467-200d-1f467"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"]},{n:["flexed biceps","muscle"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"]},{n:["white left pointing backhand index","point_left"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"]},{n:["white right pointing backhand index","point_right"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"]},{n:["white up pointing index","point_up"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"]},{n:["white up pointing backhand index","point_up_2"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"]},{n:["reversed hand with middle finger extended","middle_finger","reversed_hand_with_middle_finger_extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"]},{n:["white down pointing backhand index","point_down"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"]},{n:["victory hand","v"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"]},{n:["hand with index and middle fingers crossed","crossed_fingers","hand_with_index_and_middle_fingers_crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"]},{n:["raised hand with part between middle and ring fingers","spock-hand"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"]},{n:["sign of the horns","the_horns","sign_of_the_horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"]},{n:["call me hand","call_me_hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"]},{n:["raised_hand_with_fingers_splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"]},{n:["raised hand","hand","raised_hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"]},{n:["ok hand sign","ok_hand"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"]},{n:["thumbs up sign","+1","thumbsup"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"]},{n:["thumbs down sign","-1","thumbsdown"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"]},{n:["raised fist","fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"]},{n:["fisted hand sign","facepunch","punch"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"]},{n:["left-facing fist","left-facing_fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"]},{n:["right-facing fist","right-facing_fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"]},{n:["raised back of hand","raised_back_of_hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"]},{n:["waving hand sign","wave"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"]},{n:["i love you hand sign","i_love_you_hand_sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"]},{n:["writing_hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"]},{n:["clapping hands sign","clap"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"]},{n:["open hands sign","open_hands"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"]},{n:["person raising both hands in celebration","raised_hands"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"]},{n:["palms up together","palms_up_together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"]},{n:["person with folded hands","pray"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"]},{n:["handshake"],u:"1f91d"},{n:["nail polish","nail_care"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"]},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"]},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"]},{n:["footprints"],u:"1f463"},{n:["eyes"],u:"1f440"},{n:["eye"],u:"1f441-fe0f"},{n:["eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f"},{n:["brain"],u:"1f9e0"},{n:["tongue"],u:"1f445"},{n:["mouth","lips"],u:"1f444"},{n:["kiss mark","kiss"],u:"1f48b"},{n:["heart with arrow","cupid"],u:"1f498"},{n:["heavy black heart","heart"],u:"2764-fe0f"},{n:["beating heart","heartbeat"],u:"1f493"},{n:["broken heart","broken_heart"],u:"1f494"},{n:["two hearts","two_hearts"],u:"1f495"},{n:["sparkling heart","sparkling_heart"],u:"1f496"},{n:["growing heart","heartpulse"],u:"1f497"},{n:["blue heart","blue_heart"],u:"1f499"},{n:["green heart","green_heart"],u:"1f49a"},{n:["yellow heart","yellow_heart"],u:"1f49b"},{n:["orange heart","orange_heart"],u:"1f9e1"},{n:["purple heart","purple_heart"],u:"1f49c"},{n:["black heart","black_heart"],u:"1f5a4"},{n:["heart with ribbon","gift_heart"],u:"1f49d"},{n:["revolving hearts","revolving_hearts"],u:"1f49e"},{n:["heart decoration","heart_decoration"],u:"1f49f"},{n:["heavy_heart_exclamation_mark_ornament"],u:"2763-fe0f"},{n:["love letter","love_letter"],u:"1f48c"},{n:["sleeping symbol","zzz"],u:"1f4a4"},{n:["anger symbol","anger"],u:"1f4a2"},{n:["bomb"],u:"1f4a3"},{n:["collision symbol","boom","collision"],u:"1f4a5"},{n:["splashing sweat symbol","sweat_drops"],u:"1f4a6"},{n:["dash symbol","dash"],u:"1f4a8"},{n:["dizzy symbol","dizzy"],u:"1f4ab"},{n:["speech balloon","speech_balloon"],u:"1f4ac"},{n:["left_speech_bubble"],u:"1f5e8-fe0f"},{n:["right_anger_bubble"],u:"1f5ef-fe0f"},{n:["thought balloon","thought_balloon"],u:"1f4ad"},{n:["hole"],u:"1f573-fe0f"},{n:["eyeglasses"],u:"1f453"},{n:["dark_sunglasses"],u:"1f576-fe0f"},{n:["necktie"],u:"1f454"},{n:["t-shirt","shirt","tshirt"],u:"1f455"},{n:["jeans"],u:"1f456"},{n:["scarf"],u:"1f9e3"},{n:["gloves"],u:"1f9e4"},{n:["coat"],u:"1f9e5"},{n:["socks"],u:"1f9e6"},{n:["dress"],u:"1f457"},{n:["kimono"],u:"1f458"},{n:["bikini"],u:"1f459"},{n:["womans clothes","womans_clothes"],u:"1f45a"},{n:["purse"],u:"1f45b"},{n:["handbag"],u:"1f45c"},{n:["pouch"],u:"1f45d"},{n:["shopping_bags"],u:"1f6cd-fe0f"},{n:["school satchel","school_satchel"],u:"1f392"},{n:["mans shoe","mans_shoe","shoe"],u:"1f45e"},{n:["athletic shoe","athletic_shoe"],u:"1f45f"},{n:["high-heeled shoe","high_heel"],u:"1f460"},{n:["womans sandal","sandal"],u:"1f461"},{n:["womans boots","boot"],u:"1f462"},{n:["crown"],u:"1f451"},{n:["womans hat","womans_hat"],u:"1f452"},{n:["top hat","tophat"],u:"1f3a9"},{n:["graduation cap","mortar_board"],u:"1f393"},{n:["billed cap","billed_cap"],u:"1f9e2"},{n:["helmet_with_white_cross"],u:"26d1-fe0f"},{n:["prayer beads","prayer_beads"],u:"1f4ff"},{n:["lipstick"],u:"1f484"},{n:["ring"],u:"1f48d"},{n:["gem stone","gem"],u:"1f48e"}],animals_nature:[{n:["monkey face","monkey_face"],u:"1f435"},{n:["monkey"],u:"1f412"},{n:["gorilla"],u:"1f98d"},{n:["dog face","dog"],u:"1f436"},{n:["dog","dog2"],u:"1f415"},{n:["poodle"],u:"1f429"},{n:["wolf face","wolf"],u:"1f43a"},{n:["fox face","fox_face"],u:"1f98a"},{n:["cat face","cat"],u:"1f431"},{n:["cat","cat2"],u:"1f408"},{n:["lion face","lion_face"],u:"1f981"},{n:["tiger face","tiger"],u:"1f42f"},{n:["tiger","tiger2"],u:"1f405"},{n:["leopard"],u:"1f406"},{n:["horse face","horse"],u:"1f434"},{n:["horse","racehorse"],u:"1f40e"},{n:["unicorn face","unicorn_face"],u:"1f984"},{n:["zebra face","zebra_face"],u:"1f993"},{n:["deer"],u:"1f98c"},{n:["cow face","cow"],u:"1f42e"},{n:["ox"],u:"1f402"},{n:["water buffalo","water_buffalo"],u:"1f403"},{n:["cow","cow2"],u:"1f404"},{n:["pig face","pig"],u:"1f437"},{n:["pig","pig2"],u:"1f416"},{n:["boar"],u:"1f417"},{n:["pig nose","pig_nose"],u:"1f43d"},{n:["ram"],u:"1f40f"},{n:["sheep"],u:"1f411"},{n:["goat"],u:"1f410"},{n:["dromedary camel","dromedary_camel"],u:"1f42a"},{n:["bactrian camel","camel"],u:"1f42b"},{n:["giraffe face","giraffe_face"],u:"1f992"},{n:["elephant"],u:"1f418"},{n:["rhinoceros"],u:"1f98f"},{n:["mouse face","mouse"],u:"1f42d"},{n:["mouse","mouse2"],u:"1f401"},{n:["rat"],u:"1f400"},{n:["hamster face","hamster"],u:"1f439"},{n:["rabbit face","rabbit"],u:"1f430"},{n:["rabbit","rabbit2"],u:"1f407"},{n:["chipmunk"],u:"1f43f-fe0f"},{n:["hedgehog"],u:"1f994"},{n:["bat"],u:"1f987"},{n:["bear face","bear"],u:"1f43b"},{n:["koala"],u:"1f428"},{n:["panda face","panda_face"],u:"1f43c"},{n:["paw prints","feet","paw_prints"],u:"1f43e"},{n:["turkey"],u:"1f983"},{n:["chicken"],u:"1f414"},{n:["rooster"],u:"1f413"},{n:["hatching chick","hatching_chick"],u:"1f423"},{n:["baby chick","baby_chick"],u:"1f424"},{n:["front-facing baby chick","hatched_chick"],u:"1f425"},{n:["bird"],u:"1f426"},{n:["penguin"],u:"1f427"},{n:["dove_of_peace"],u:"1f54a-fe0f"},{n:["eagle"],u:"1f985"},{n:["duck"],u:"1f986"},{n:["owl"],u:"1f989"},{n:["frog face","frog"],u:"1f438"},{n:["crocodile"],u:"1f40a"},{n:["turtle"],u:"1f422"},{n:["lizard"],u:"1f98e"},{n:["snake"],u:"1f40d"},{n:["dragon face","dragon_face"],u:"1f432"},{n:["dragon"],u:"1f409"},{n:["sauropod"],u:"1f995"},{n:["t-rex"],u:"1f996"},{n:["spouting whale","whale"],u:"1f433"},{n:["whale","whale2"],u:"1f40b"},{n:["dolphin","flipper"],u:"1f42c"},{n:["fish"],u:"1f41f"},{n:["tropical fish","tropical_fish"],u:"1f420"},{n:["blowfish"],u:"1f421"},{n:["shark"],u:"1f988"},{n:["octopus"],u:"1f419"},{n:["spiral shell","shell"],u:"1f41a"},{n:["crab"],u:"1f980"},{n:["shrimp"],u:"1f990"},{n:["squid"],u:"1f991"},{n:["snail"],u:"1f40c"},{n:["butterfly"],u:"1f98b"},{n:["bug"],u:"1f41b"},{n:["ant"],u:"1f41c"},{n:["honeybee","bee"],u:"1f41d"},{n:["lady beetle","beetle"],u:"1f41e"},{n:["cricket"],u:"1f997"},{n:["spider"],u:"1f577-fe0f"},{n:["spider_web"],u:"1f578-fe0f"},{n:["scorpion"],u:"1f982"},{n:["bouquet"],u:"1f490"},{n:["cherry blossom","cherry_blossom"],u:"1f338"},{n:["white flower","white_flower"],u:"1f4ae"},{n:["rosette"],u:"1f3f5-fe0f"},{n:["rose"],u:"1f339"},{n:["wilted flower","wilted_flower"],u:"1f940"},{n:["hibiscus"],u:"1f33a"},{n:["sunflower"],u:"1f33b"},{n:["blossom"],u:"1f33c"},{n:["tulip"],u:"1f337"},{n:["seedling"],u:"1f331"},{n:["evergreen tree","evergreen_tree"],u:"1f332"},{n:["deciduous tree","deciduous_tree"],u:"1f333"},{n:["palm tree","palm_tree"],u:"1f334"},{n:["cactus"],u:"1f335"},{n:["ear of rice","ear_of_rice"],u:"1f33e"},{n:["herb"],u:"1f33f"},{n:["shamrock"],u:"2618-fe0f"},{n:["four leaf clover","four_leaf_clover"],u:"1f340"},{n:["maple leaf","maple_leaf"],u:"1f341"},{n:["fallen leaf","fallen_leaf"],u:"1f342"},{n:["leaf fluttering in wind","leaves"],u:"1f343"}],food_drink:[{n:["grapes"],u:"1f347"},{n:["melon"],u:"1f348"},{n:["watermelon"],u:"1f349"},{n:["tangerine"],u:"1f34a"},{n:["lemon"],u:"1f34b"},{n:["banana"],u:"1f34c"},{n:["pineapple"],u:"1f34d"},{n:["red apple","apple"],u:"1f34e"},{n:["green apple","green_apple"],u:"1f34f"},{n:["pear"],u:"1f350"},{n:["peach"],u:"1f351"},{n:["cherries"],u:"1f352"},{n:["strawberry"],u:"1f353"},{n:["kiwifruit"],u:"1f95d"},{n:["tomato"],u:"1f345"},{n:["coconut"],u:"1f965"},{n:["avocado"],u:"1f951"},{n:["aubergine","eggplant"],u:"1f346"},{n:["potato"],u:"1f954"},{n:["carrot"],u:"1f955"},{n:["ear of maize","corn"],u:"1f33d"},{n:["hot_pepper"],u:"1f336-fe0f"},{n:["cucumber"],u:"1f952"},{n:["broccoli"],u:"1f966"},{n:["mushroom"],u:"1f344"},{n:["peanuts"],u:"1f95c"},{n:["chestnut"],u:"1f330"},{n:["bread"],u:"1f35e"},{n:["croissant"],u:"1f950"},{n:["baguette bread","baguette_bread"],u:"1f956"},{n:["pretzel"],u:"1f968"},{n:["pancakes"],u:"1f95e"},{n:["cheese wedge","cheese_wedge"],u:"1f9c0"},{n:["meat on bone","meat_on_bone"],u:"1f356"},{n:["poultry leg","poultry_leg"],u:"1f357"},{n:["cut of meat","cut_of_meat"],u:"1f969"},{n:["bacon"],u:"1f953"},{n:["hamburger"],u:"1f354"},{n:["french fries","fries"],u:"1f35f"},{n:["slice of pizza","pizza"],u:"1f355"},{n:["hot dog","hotdog"],u:"1f32d"},{n:["sandwich"],u:"1f96a"},{n:["taco"],u:"1f32e"},{n:["burrito"],u:"1f32f"},{n:["stuffed flatbread","stuffed_flatbread"],u:"1f959"},{n:["egg"],u:"1f95a"},{n:["cooking","fried_egg"],u:"1f373"},{n:["shallow pan of food","shallow_pan_of_food"],u:"1f958"},{n:["pot of food","stew"],u:"1f372"},{n:["bowl with spoon","bowl_with_spoon"],u:"1f963"},{n:["green salad","green_salad"],u:"1f957"},{n:["popcorn"],u:"1f37f"},{n:["canned food","canned_food"],u:"1f96b"},{n:["bento box","bento"],u:"1f371"},{n:["rice cracker","rice_cracker"],u:"1f358"},{n:["rice ball","rice_ball"],u:"1f359"},{n:["cooked rice","rice"],u:"1f35a"},{n:["curry and rice","curry"],u:"1f35b"},{n:["steaming bowl","ramen"],u:"1f35c"},{n:["spaghetti"],u:"1f35d"},{n:["roasted sweet potato","sweet_potato"],u:"1f360"},{n:["oden"],u:"1f362"},{n:["sushi"],u:"1f363"},{n:["fried shrimp","fried_shrimp"],u:"1f364"},{n:["fish cake with swirl design","fish_cake"],u:"1f365"},{n:["dango"],u:"1f361"},{n:["dumpling"],u:"1f95f"},{n:["fortune cookie","fortune_cookie"],u:"1f960"},{n:["takeout box","takeout_box"],u:"1f961"},{n:["soft ice cream","icecream"],u:"1f366"},{n:["shaved ice","shaved_ice"],u:"1f367"},{n:["ice cream","ice_cream"],u:"1f368"},{n:["doughnut"],u:"1f369"},{n:["cookie"],u:"1f36a"},{n:["birthday cake","birthday"],u:"1f382"},{n:["shortcake","cake"],u:"1f370"},{n:["pie"],u:"1f967"},{n:["chocolate bar","chocolate_bar"],u:"1f36b"},{n:["candy"],u:"1f36c"},{n:["lollipop"],u:"1f36d"},{n:["custard"],u:"1f36e"},{n:["honey pot","honey_pot"],u:"1f36f"},{n:["baby bottle","baby_bottle"],u:"1f37c"},{n:["glass of milk","glass_of_milk"],u:"1f95b"},{n:["hot beverage","coffee"],u:"2615"},{n:["teacup without handle","tea"],u:"1f375"},{n:["sake bottle and cup","sake"],u:"1f376"},{n:["bottle with popping cork","champagne"],u:"1f37e"},{n:["wine glass","wine_glass"],u:"1f377"},{n:["cocktail glass","cocktail"],u:"1f378"},{n:["tropical drink","tropical_drink"],u:"1f379"},{n:["beer mug","beer"],u:"1f37a"},{n:["clinking beer mugs","beers"],u:"1f37b"},{n:["clinking glasses","clinking_glasses"],u:"1f942"},{n:["tumbler glass","tumbler_glass"],u:"1f943"},{n:["cup with straw","cup_with_straw"],u:"1f964"},{n:["chopsticks"],u:"1f962"},{n:["knife_fork_plate"],u:"1f37d-fe0f"},{n:["fork and knife","fork_and_knife"],u:"1f374"},{n:["spoon"],u:"1f944"},{n:["hocho","knife"],u:"1f52a"},{n:["amphora"],u:"1f3fa"}],activities:[{n:["jack-o-lantern","jack_o_lantern"],u:"1f383"},{n:["christmas tree","christmas_tree"],u:"1f384"},{n:["fireworks"],u:"1f386"},{n:["firework sparkler","sparkler"],u:"1f387"},{n:["sparkles"],u:"2728"},{n:["balloon"],u:"1f388"},{n:["party popper","tada"],u:"1f389"},{n:["confetti ball","confetti_ball"],u:"1f38a"},{n:["tanabata tree","tanabata_tree"],u:"1f38b"},{n:["pine decoration","bamboo"],u:"1f38d"},{n:["japanese dolls","dolls"],u:"1f38e"},{n:["carp streamer","flags"],u:"1f38f"},{n:["wind chime","wind_chime"],u:"1f390"},{n:["moon viewing ceremony","rice_scene"],u:"1f391"},{n:["ribbon"],u:"1f380"},{n:["wrapped present","gift"],u:"1f381"},{n:["reminder_ribbon"],u:"1f397-fe0f"},{n:["admission_tickets"],u:"1f39f-fe0f"},{n:["ticket"],u:"1f3ab"},{n:["medal"],u:"1f396-fe0f"},{n:["trophy"],u:"1f3c6"},{n:["sports medal","sports_medal"],u:"1f3c5"},{n:["first place medal","first_place_medal"],u:"1f947"},{n:["second place medal","second_place_medal"],u:"1f948"},{n:["third place medal","third_place_medal"],u:"1f949"},{n:["soccer ball","soccer"],u:"26bd"},{n:["baseball"],u:"26be"},{n:["basketball and hoop","basketball"],u:"1f3c0"},{n:["volleyball"],u:"1f3d0"},{n:["american football","football"],u:"1f3c8"},{n:["rugby football","rugby_football"],u:"1f3c9"},{n:["tennis racquet and ball","tennis"],u:"1f3be"},{n:["billiards","8ball"],u:"1f3b1"},{n:["bowling"],u:"1f3b3"},{n:["cricket bat and ball","cricket_bat_and_ball"],u:"1f3cf"},{n:["field hockey stick and ball","field_hockey_stick_and_ball"],u:"1f3d1"},{n:["ice hockey stick and puck","ice_hockey_stick_and_puck"],u:"1f3d2"},{n:["table tennis paddle and ball","table_tennis_paddle_and_ball"],u:"1f3d3"},{n:["badminton racquet and shuttlecock","badminton_racquet_and_shuttlecock"],u:"1f3f8"},{n:["boxing glove","boxing_glove"],u:"1f94a"},{n:["martial arts uniform","martial_arts_uniform"],u:"1f94b"},{n:["goal net","goal_net"],u:"1f945"},{n:["direct hit","dart"],u:"1f3af"},{n:["flag in hole","golf"],u:"26f3"},{n:["ice_skate"],u:"26f8-fe0f"},{n:["fishing pole and fish","fishing_pole_and_fish"],u:"1f3a3"},{n:["running shirt with sash","running_shirt_with_sash"],u:"1f3bd"},{n:["ski and ski boot","ski"],u:"1f3bf"},{n:["sled"],u:"1f6f7"},{n:["curling stone","curling_stone"],u:"1f94c"},{n:["video game","video_game"],u:"1f3ae"},{n:["joystick"],u:"1f579-fe0f"},{n:["game die","game_die"],u:"1f3b2"},{n:["black spade suit","spades"],u:"2660-fe0f"},{n:["black heart suit","hearts"],u:"2665-fe0f"},{n:["black diamond suit","diamonds"],u:"2666-fe0f"},{n:["black club suit","clubs"],u:"2663-fe0f"},{n:["playing card black joker","black_joker"],u:"1f0cf"},{n:["mahjong tile red dragon","mahjong"],u:"1f004"},{n:["flower playing cards","flower_playing_cards"],u:"1f3b4"}],travel_places:[{n:["earth globe europe-africa","earth_africa"],u:"1f30d"},{n:["earth globe americas","earth_americas"],u:"1f30e"},{n:["earth globe asia-australia","earth_asia"],u:"1f30f"},{n:["globe with meridians","globe_with_meridians"],u:"1f310"},{n:["world_map"],u:"1f5fa-fe0f"},{n:["silhouette of japan","japan"],u:"1f5fe"},{n:["snow_capped_mountain"],u:"1f3d4-fe0f"},{n:["mountain"],u:"26f0-fe0f"},{n:["volcano"],u:"1f30b"},{n:["mount fuji","mount_fuji"],u:"1f5fb"},{n:["camping"],u:"1f3d5-fe0f"},{n:["beach_with_umbrella"],u:"1f3d6-fe0f"},{n:["desert"],u:"1f3dc-fe0f"},{n:["desert_island"],u:"1f3dd-fe0f"},{n:["national_park"],u:"1f3de-fe0f"},{n:["stadium"],u:"1f3df-fe0f"},{n:["classical_building"],u:"1f3db-fe0f"},{n:["building_construction"],u:"1f3d7-fe0f"},{n:["house_buildings"],u:"1f3d8-fe0f"},{n:["cityscape"],u:"1f3d9-fe0f"},{n:["derelict_house_building"],u:"1f3da-fe0f"},{n:["house building","house"],u:"1f3e0"},{n:["house with garden","house_with_garden"],u:"1f3e1"},{n:["office building","office"],u:"1f3e2"},{n:["japanese post office","post_office"],u:"1f3e3"},{n:["european post office","european_post_office"],u:"1f3e4"},{n:["hospital"],u:"1f3e5"},{n:["bank"],u:"1f3e6"},{n:["hotel"],u:"1f3e8"},{n:["love hotel","love_hotel"],u:"1f3e9"},{n:["convenience store","convenience_store"],u:"1f3ea"},{n:["school"],u:"1f3eb"},{n:["department store","department_store"],u:"1f3ec"},{n:["factory"],u:"1f3ed"},{n:["japanese castle","japanese_castle"],u:"1f3ef"},{n:["european castle","european_castle"],u:"1f3f0"},{n:["wedding"],u:"1f492"},{n:["tokyo tower","tokyo_tower"],u:"1f5fc"},{n:["statue of liberty","statue_of_liberty"],u:"1f5fd"},{n:["church"],u:"26ea"},{n:["mosque"],u:"1f54c"},{n:["synagogue"],u:"1f54d"},{n:["shinto_shrine"],u:"26e9-fe0f"},{n:["kaaba"],u:"1f54b"},{n:["fountain"],u:"26f2"},{n:["tent"],u:"26fa"},{n:["foggy"],u:"1f301"},{n:["night with stars","night_with_stars"],u:"1f303"},{n:["sunrise over mountains","sunrise_over_mountains"],u:"1f304"},{n:["sunrise"],u:"1f305"},{n:["cityscape at dusk","city_sunset"],u:"1f306"},{n:["sunset over buildings","city_sunrise"],u:"1f307"},{n:["bridge at night","bridge_at_night"],u:"1f309"},{n:["hot springs","hotsprings"],u:"2668-fe0f"},{n:["milky way","milky_way"],u:"1f30c"},{n:["carousel horse","carousel_horse"],u:"1f3a0"},{n:["ferris wheel","ferris_wheel"],u:"1f3a1"},{n:["roller coaster","roller_coaster"],u:"1f3a2"},{n:["barber pole","barber"],u:"1f488"},{n:["circus tent","circus_tent"],u:"1f3aa"},{n:["performing arts","performing_arts"],u:"1f3ad"},{n:["frame_with_picture"],u:"1f5bc-fe0f"},{n:["artist palette","art"],u:"1f3a8"},{n:["slot machine","slot_machine"],u:"1f3b0"},{n:["steam locomotive","steam_locomotive"],u:"1f682"},{n:["railway car","railway_car"],u:"1f683"},{n:["high-speed train","bullettrain_side"],u:"1f684"},{n:["high-speed train with bullet nose","bullettrain_front"],u:"1f685"},{n:["train","train2"],u:"1f686"},{n:["metro"],u:"1f687"},{n:["light rail","light_rail"],u:"1f688"},{n:["station"],u:"1f689"},{n:["tram"],u:"1f68a"},{n:["monorail"],u:"1f69d"},{n:["mountain railway","mountain_railway"],u:"1f69e"},{n:["tram car","train"],u:"1f68b"},{n:["bus"],u:"1f68c"},{n:["oncoming bus","oncoming_bus"],u:"1f68d"},{n:["trolleybus"],u:"1f68e"},{n:["minibus"],u:"1f690"},{n:["ambulance"],u:"1f691"},{n:["fire engine","fire_engine"],u:"1f692"},{n:["police car","police_car"],u:"1f693"},{n:["oncoming police car","oncoming_police_car"],u:"1f694"},{n:["taxi"],u:"1f695"},{n:["oncoming taxi","oncoming_taxi"],u:"1f696"},{n:["automobile","car","red_car"],u:"1f697"},{n:["oncoming automobile","oncoming_automobile"],u:"1f698"},{n:["recreational vehicle","blue_car"],u:"1f699"},{n:["delivery truck","truck"],u:"1f69a"},{n:["articulated lorry","articulated_lorry"],u:"1f69b"},{n:["tractor"],u:"1f69c"},{n:["bicycle","bike"],u:"1f6b2"},{n:["scooter"],u:"1f6f4"},{n:["motor scooter","motor_scooter"],u:"1f6f5"},{n:["bus stop","busstop"],u:"1f68f"},{n:["motorway"],u:"1f6e3-fe0f"},{n:["railway_track"],u:"1f6e4-fe0f"},{n:["fuel pump","fuelpump"],u:"26fd"},{n:["police cars revolving light","rotating_light"],u:"1f6a8"},{n:["horizontal traffic light","traffic_light"],u:"1f6a5"},{n:["vertical traffic light","vertical_traffic_light"],u:"1f6a6"},{n:["construction sign","construction"],u:"1f6a7"},{n:["octagonal sign","octagonal_sign"],u:"1f6d1"},{n:["anchor"],u:"2693"},{n:["sailboat","boat"],u:"26f5"},{n:["canoe"],u:"1f6f6"},{n:["speedboat"],u:"1f6a4"},{n:["passenger_ship"],u:"1f6f3-fe0f"},{n:["ferry"],u:"26f4-fe0f"},{n:["motor_boat"],u:"1f6e5-fe0f"},{n:["ship"],u:"1f6a2"},{n:["airplane"],u:"2708-fe0f"},{n:["small_airplane"],u:"1f6e9-fe0f"},{n:["airplane departure","airplane_departure"],u:"1f6eb"},{n:["airplane arriving","airplane_arriving"],u:"1f6ec"},{n:["seat"],u:"1f4ba"},{n:["helicopter"],u:"1f681"},{n:["suspension railway","suspension_railway"],u:"1f69f"},{n:["mountain cableway","mountain_cableway"],u:"1f6a0"},{n:["aerial tramway","aerial_tramway"],u:"1f6a1"},{n:["satellite"],u:"1f6f0-fe0f"},{n:["rocket"],u:"1f680"},{n:["flying saucer","flying_saucer"],u:"1f6f8"},{n:["bellhop_bell"],u:"1f6ce-fe0f"},{n:["door"],u:"1f6aa"},{n:["bed"],u:"1f6cf-fe0f"},{n:["couch_and_lamp"],u:"1f6cb-fe0f"},{n:["toilet"],u:"1f6bd"},{n:["shower"],u:"1f6bf"},{n:["bathtub"],u:"1f6c1"},{n:["hourglass"],u:"231b"},{n:["hourglass with flowing sand","hourglass_flowing_sand"],u:"23f3"},{n:["watch"],u:"231a"},{n:["alarm clock","alarm_clock"],u:"23f0"},{n:["stopwatch"],u:"23f1-fe0f"},{n:["timer_clock"],u:"23f2-fe0f"},{n:["mantelpiece_clock"],u:"1f570-fe0f"},{n:["clock face twelve oclock","clock12"],u:"1f55b"},{n:["clock face twelve-thirty","clock1230"],u:"1f567"},{n:["clock face one oclock","clock1"],u:"1f550"},{n:["clock face one-thirty","clock130"],u:"1f55c"},{n:["clock face two oclock","clock2"],u:"1f551"},{n:["clock face two-thirty","clock230"],u:"1f55d"},{n:["clock face three oclock","clock3"],u:"1f552"},{n:["clock face three-thirty","clock330"],u:"1f55e"},{n:["clock face four oclock","clock4"],u:"1f553"},{n:["clock face four-thirty","clock430"],u:"1f55f"},{n:["clock face five oclock","clock5"],u:"1f554"},{n:["clock face five-thirty","clock530"],u:"1f560"},{n:["clock face six oclock","clock6"],u:"1f555"},{n:["clock face six-thirty","clock630"],u:"1f561"},{n:["clock face seven oclock","clock7"],u:"1f556"},{n:["clock face seven-thirty","clock730"],u:"1f562"},{n:["clock face eight oclock","clock8"],u:"1f557"},{n:["clock face eight-thirty","clock830"],u:"1f563"},{n:["clock face nine oclock","clock9"],u:"1f558"},{n:["clock face nine-thirty","clock930"],u:"1f564"},{n:["clock face ten oclock","clock10"],u:"1f559"},{n:["clock face ten-thirty","clock1030"],u:"1f565"},{n:["clock face eleven oclock","clock11"],u:"1f55a"},{n:["clock face eleven-thirty","clock1130"],u:"1f566"},{n:["new moon symbol","new_moon"],u:"1f311"},{n:["waxing crescent moon symbol","waxing_crescent_moon"],u:"1f312"},{n:["first quarter moon symbol","first_quarter_moon"],u:"1f313"},{n:["waxing gibbous moon symbol","moon","waxing_gibbous_moon"],u:"1f314"},{n:["full moon symbol","full_moon"],u:"1f315"},{n:["waning gibbous moon symbol","waning_gibbous_moon"],u:"1f316"},{n:["last quarter moon symbol","last_quarter_moon"],u:"1f317"},{n:["waning crescent moon symbol","waning_crescent_moon"],u:"1f318"},{n:["crescent moon","crescent_moon"],u:"1f319"},{n:["new moon with face","new_moon_with_face"],u:"1f31a"},{n:["first quarter moon with face","first_quarter_moon_with_face"],u:"1f31b"},{n:["last quarter moon with face","last_quarter_moon_with_face"],u:"1f31c"},{n:["thermometer"],u:"1f321-fe0f"},{n:["black sun with rays","sunny"],u:"2600-fe0f"},{n:["full moon with face","full_moon_with_face"],u:"1f31d"},{n:["sun with face","sun_with_face"],u:"1f31e"},{n:["white medium star","star"],u:"2b50"},{n:["glowing star","star2"],u:"1f31f"},{n:["shooting star","stars"],u:"1f320"},{n:["cloud"],u:"2601-fe0f"},{n:["sun behind cloud","partly_sunny"],u:"26c5"},{n:["thunder_cloud_and_rain"],u:"26c8-fe0f"},{n:["mostly_sunny","sun_small_cloud"],u:"1f324-fe0f"},{n:["barely_sunny","sun_behind_cloud"],u:"1f325-fe0f"},{n:["partly_sunny_rain","sun_behind_rain_cloud"],u:"1f326-fe0f"},{n:["rain_cloud"],u:"1f327-fe0f"},{n:["snow_cloud"],u:"1f328-fe0f"},{n:["lightning","lightning_cloud"],u:"1f329-fe0f"},{n:["tornado","tornado_cloud"],u:"1f32a-fe0f"},{n:["fog"],u:"1f32b-fe0f"},{n:["wind_blowing_face"],u:"1f32c-fe0f"},{n:["cyclone"],u:"1f300"},{n:["rainbow"],u:"1f308"},{n:["closed umbrella","closed_umbrella"],u:"1f302"},{n:["umbrella"],u:"2602-fe0f"},{n:["umbrella with rain drops","umbrella_with_rain_drops"],u:"2614"},{n:["umbrella_on_ground"],u:"26f1-fe0f"},{n:["high voltage sign","zap"],u:"26a1"},{n:["snowflake"],u:"2744-fe0f"},{n:["snowman"],u:"2603-fe0f"},{n:["snowman without snow","snowman_without_snow"],u:"26c4"},{n:["comet"],u:"2604-fe0f"},{n:["fire"],u:"1f525"},{n:["droplet"],u:"1f4a7"},{n:["water wave","ocean"],u:"1f30a"}],objects:[{n:["speaker with cancellation stroke","mute"],u:"1f507"},{n:["speaker"],u:"1f508"},{n:["speaker with one sound wave","sound"],u:"1f509"},{n:["speaker with three sound waves","loud_sound"],u:"1f50a"},{n:["public address loudspeaker","loudspeaker"],u:"1f4e2"},{n:["cheering megaphone","mega"],u:"1f4e3"},{n:["postal horn","postal_horn"],u:"1f4ef"},{n:["bell"],u:"1f514"},{n:["bell with cancellation stroke","no_bell"],u:"1f515"},{n:["musical score","musical_score"],u:"1f3bc"},{n:["musical note","musical_note"],u:"1f3b5"},{n:["multiple musical notes","notes"],u:"1f3b6"},{n:["studio_microphone"],u:"1f399-fe0f"},{n:["level_slider"],u:"1f39a-fe0f"},{n:["control_knobs"],u:"1f39b-fe0f"},{n:["microphone"],u:"1f3a4"},{n:["headphone","headphones"],u:"1f3a7"},{n:["radio"],u:"1f4fb"},{n:["saxophone"],u:"1f3b7"},{n:["guitar"],u:"1f3b8"},{n:["musical keyboard","musical_keyboard"],u:"1f3b9"},{n:["trumpet"],u:"1f3ba"},{n:["violin"],u:"1f3bb"},{n:["drum with drumsticks","drum_with_drumsticks"],u:"1f941"},{n:["mobile phone","iphone"],u:"1f4f1"},{n:["mobile phone with rightwards arrow at left","calling"],u:"1f4f2"},{n:["black telephone","phone","telephone"],u:"260e-fe0f"},{n:["telephone receiver","telephone_receiver"],u:"1f4de"},{n:["pager"],u:"1f4df"},{n:["fax machine","fax"],u:"1f4e0"},{n:["battery"],u:"1f50b"},{n:["electric plug","electric_plug"],u:"1f50c"},{n:["personal computer","computer"],u:"1f4bb"},{n:["desktop_computer"],u:"1f5a5-fe0f"},{n:["printer"],u:"1f5a8-fe0f"},{n:["keyboard"],u:"2328-fe0f"},{n:["three_button_mouse"],u:"1f5b1-fe0f"},{n:["trackball"],u:"1f5b2-fe0f"},{n:["minidisc"],u:"1f4bd"},{n:["floppy disk","floppy_disk"],u:"1f4be"},{n:["optical disc","cd"],u:"1f4bf"},{n:["dvd"],u:"1f4c0"},{n:["movie camera","movie_camera"],u:"1f3a5"},{n:["film_frames"],u:"1f39e-fe0f"},{n:["film_projector"],u:"1f4fd-fe0f"},{n:["clapper board","clapper"],u:"1f3ac"},{n:["television","tv"],u:"1f4fa"},{n:["camera"],u:"1f4f7"},{n:["camera with flash","camera_with_flash"],u:"1f4f8"},{n:["video camera","video_camera"],u:"1f4f9"},{n:["videocassette","vhs"],u:"1f4fc"},{n:["left-pointing magnifying glass","mag"],u:"1f50d"},{n:["right-pointing magnifying glass","mag_right"],u:"1f50e"},{n:["microscope"],u:"1f52c"},{n:["telescope"],u:"1f52d"},{n:["satellite antenna","satellite_antenna"],u:"1f4e1"},{n:["candle"],u:"1f56f-fe0f"},{n:["electric light bulb","bulb"],u:"1f4a1"},{n:["electric torch","flashlight"],u:"1f526"},{n:["izakaya lantern","izakaya_lantern","lantern"],u:"1f3ee"},{n:["notebook with decorative cover","notebook_with_decorative_cover"],u:"1f4d4"},{n:["closed book","closed_book"],u:"1f4d5"},{n:["open book","book","open_book"],u:"1f4d6"},{n:["green book","green_book"],u:"1f4d7"},{n:["blue book","blue_book"],u:"1f4d8"},{n:["orange book","orange_book"],u:"1f4d9"},{n:["books"],u:"1f4da"},{n:["notebook"],u:"1f4d3"},{n:["ledger"],u:"1f4d2"},{n:["page with curl","page_with_curl"],u:"1f4c3"},{n:["scroll"],u:"1f4dc"},{n:["page facing up","page_facing_up"],u:"1f4c4"},{n:["newspaper"],u:"1f4f0"},{n:["rolled_up_newspaper"],u:"1f5de-fe0f"},{n:["bookmark tabs","bookmark_tabs"],u:"1f4d1"},{n:["bookmark"],u:"1f516"},{n:["label"],u:"1f3f7-fe0f"},{n:["money bag","moneybag"],u:"1f4b0"},{n:["banknote with yen sign","yen"],u:"1f4b4"},{n:["banknote with dollar sign","dollar"],u:"1f4b5"},{n:["banknote with euro sign","euro"],u:"1f4b6"},{n:["banknote with pound sign","pound"],u:"1f4b7"},{n:["money with wings","money_with_wings"],u:"1f4b8"},{n:["credit card","credit_card"],u:"1f4b3"},{n:["chart with upwards trend and yen sign","chart"],u:"1f4b9"},{n:["currency exchange","currency_exchange"],u:"1f4b1"},{n:["heavy dollar sign","heavy_dollar_sign"],u:"1f4b2"},{n:["envelope","email"],u:"2709-fe0f"},{n:["e-mail symbol","e-mail"],u:"1f4e7"},{n:["incoming envelope","incoming_envelope"],u:"1f4e8"},{n:["envelope with downwards arrow above","envelope_with_arrow"],u:"1f4e9"},{n:["outbox tray","outbox_tray"],u:"1f4e4"},{n:["inbox tray","inbox_tray"],u:"1f4e5"},{n:["package"],u:"1f4e6"},{n:["closed mailbox with raised flag","mailbox"],u:"1f4eb"},{n:["closed mailbox with lowered flag","mailbox_closed"],u:"1f4ea"},{n:["open mailbox with raised flag","mailbox_with_mail"],u:"1f4ec"},{n:["open mailbox with lowered flag","mailbox_with_no_mail"],u:"1f4ed"},{n:["postbox"],u:"1f4ee"},{n:["ballot_box_with_ballot"],u:"1f5f3-fe0f"},{n:["pencil","pencil2"],u:"270f-fe0f"},{n:["black nib","black_nib"],u:"2712-fe0f"},{n:["lower_left_fountain_pen"],u:"1f58b-fe0f"},{n:["lower_left_ballpoint_pen"],u:"1f58a-fe0f"},{n:["lower_left_paintbrush"],u:"1f58c-fe0f"},{n:["lower_left_crayon"],u:"1f58d-fe0f"},{n:["memo","pencil"],u:"1f4dd"},{n:["briefcase"],u:"1f4bc"},{n:["file folder","file_folder"],u:"1f4c1"},{n:["open file folder","open_file_folder"],u:"1f4c2"},{n:["card_index_dividers"],u:"1f5c2-fe0f"},{n:["calendar","date"],u:"1f4c5"},{n:["tear-off calendar","calendar"],u:"1f4c6"},{n:["spiral_note_pad"],u:"1f5d2-fe0f"},{n:["spiral_calendar_pad"],u:"1f5d3-fe0f"},{n:["card index","card_index"],u:"1f4c7"},{n:["chart with upwards trend","chart_with_upwards_trend"],u:"1f4c8"},{n:["chart with downwards trend","chart_with_downwards_trend"],u:"1f4c9"},{n:["bar chart","bar_chart"],u:"1f4ca"},{n:["clipboard"],u:"1f4cb"},{n:["pushpin"],u:"1f4cc"},{n:["round pushpin","round_pushpin"],u:"1f4cd"},{n:["paperclip"],u:"1f4ce"},{n:["linked_paperclips"],u:"1f587-fe0f"},{n:["straight ruler","straight_ruler"],u:"1f4cf"},{n:["triangular ruler","triangular_ruler"],u:"1f4d0"},{n:["black scissors","scissors"],u:"2702-fe0f"},{n:["card_file_box"],u:"1f5c3-fe0f"},{n:["file_cabinet"],u:"1f5c4-fe0f"},{n:["wastebasket"],u:"1f5d1-fe0f"},{n:["lock"],u:"1f512"},{n:["open lock","unlock"],u:"1f513"},{n:["lock with ink pen","lock_with_ink_pen"],u:"1f50f"},{n:["closed lock with key","closed_lock_with_key"],u:"1f510"},{n:["key"],u:"1f511"},{n:["old_key"],u:"1f5dd-fe0f"},{n:["hammer"],u:"1f528"},{n:["pick"],u:"26cf-fe0f"},{n:["hammer_and_pick"],u:"2692-fe0f"},{n:["hammer_and_wrench"],u:"1f6e0-fe0f"},{n:["dagger_knife"],u:"1f5e1-fe0f"},{n:["crossed_swords"],u:"2694-fe0f"},{n:["pistol","gun"],u:"1f52b"},{n:["bow and arrow","bow_and_arrow"],u:"1f3f9"},{n:["shield"],u:"1f6e1-fe0f"},{n:["wrench"],u:"1f527"},{n:["nut and bolt","nut_and_bolt"],u:"1f529"},{n:["gear"],u:"2699-fe0f"},{n:["compression"],u:"1f5dc-fe0f"},{n:["alembic"],u:"2697-fe0f"},{n:["scales"],u:"2696-fe0f"},{n:["link symbol","link"],u:"1f517"},{n:["chains"],u:"26d3-fe0f"},{n:["syringe"],u:"1f489"},{n:["pill"],u:"1f48a"},{n:["smoking symbol","smoking"],u:"1f6ac"},{n:["coffin"],u:"26b0-fe0f"},{n:["funeral_urn"],u:"26b1-fe0f"},{n:["moyai"],u:"1f5ff"},{n:["oil_drum"],u:"1f6e2-fe0f"},{n:["crystal ball","crystal_ball"],u:"1f52e"},{n:["shopping trolley","shopping_trolley"],u:"1f6d2"}],symbols:[{n:["automated teller machine","atm"],u:"1f3e7"},{n:["put litter in its place symbol","put_litter_in_its_place"],u:"1f6ae"},{n:["potable water symbol","potable_water"],u:"1f6b0"},{n:["wheelchair symbol","wheelchair"],u:"267f"},{n:["mens symbol","mens"],u:"1f6b9"},{n:["womens symbol","womens"],u:"1f6ba"},{n:["restroom"],u:"1f6bb"},{n:["baby symbol","baby_symbol"],u:"1f6bc"},{n:["water closet","wc"],u:"1f6be"},{n:["passport control","passport_control"],u:"1f6c2"},{n:["customs"],u:"1f6c3"},{n:["baggage claim","baggage_claim"],u:"1f6c4"},{n:["left luggage","left_luggage"],u:"1f6c5"},{n:["warning sign","warning"],u:"26a0-fe0f"},{n:["children crossing","children_crossing"],u:"1f6b8"},{n:["no entry","no_entry"],u:"26d4"},{n:["no entry sign","no_entry_sign"],u:"1f6ab"},{n:["no bicycles","no_bicycles"],u:"1f6b3"},{n:["no smoking symbol","no_smoking"],u:"1f6ad"},{n:["do not litter symbol","do_not_litter"],u:"1f6af"},{n:["non-potable water symbol","non-potable_water"],u:"1f6b1"},{n:["no pedestrians","no_pedestrians"],u:"1f6b7"},{n:["no mobile phones","no_mobile_phones"],u:"1f4f5"},{n:["no one under eighteen symbol","underage"],u:"1f51e"},{n:["radioactive_sign"],u:"2622-fe0f"},{n:["biohazard_sign"],u:"2623-fe0f"},{n:["upwards black arrow","arrow_up"],u:"2b06-fe0f"},{n:["north east arrow","arrow_upper_right"],u:"2197-fe0f"},{n:["black rightwards arrow","arrow_right"],u:"27a1-fe0f"},{n:["south east arrow","arrow_lower_right"],u:"2198-fe0f"},{n:["downwards black arrow","arrow_down"],u:"2b07-fe0f"},{n:["south west arrow","arrow_lower_left"],u:"2199-fe0f"},{n:["leftwards black arrow","arrow_left"],u:"2b05-fe0f"},{n:["north west arrow","arrow_upper_left"],u:"2196-fe0f"},{n:["up down arrow","arrow_up_down"],u:"2195-fe0f"},{n:["left right arrow","left_right_arrow"],u:"2194-fe0f"},{n:["leftwards arrow with hook","leftwards_arrow_with_hook"],u:"21a9-fe0f"},{n:["rightwards arrow with hook","arrow_right_hook"],u:"21aa-fe0f"},{n:["arrow pointing rightwards then curving upwards","arrow_heading_up"],u:"2934-fe0f"},{n:["arrow pointing rightwards then curving downwards","arrow_heading_down"],u:"2935-fe0f"},{n:["clockwise downwards and upwards open circle arrows","arrows_clockwise"],u:"1f503"},{n:["anticlockwise downwards and upwards open circle arrows","arrows_counterclockwise"],u:"1f504"},{n:["back with leftwards arrow above","back"],u:"1f519"},{n:["end with leftwards arrow above","end"],u:"1f51a"},{n:["on with exclamation mark with left right arrow above","on"],u:"1f51b"},{n:["soon with rightwards arrow above","soon"],u:"1f51c"},{n:["top with upwards arrow above","top"],u:"1f51d"},{n:["place of worship","place_of_worship"],u:"1f6d0"},{n:["atom_symbol"],u:"269b-fe0f"},{n:["om_symbol"],u:"1f549-fe0f"},{n:["star_of_david"],u:"2721-fe0f"},{n:["wheel_of_dharma"],u:"2638-fe0f"},{n:["yin_yang"],u:"262f-fe0f"},{n:["latin_cross"],u:"271d-fe0f"},{n:["orthodox_cross"],u:"2626-fe0f"},{n:["star_and_crescent"],u:"262a-fe0f"},{n:["peace_symbol"],u:"262e-fe0f"},{n:["menorah with nine branches","menorah_with_nine_branches"],u:"1f54e"},{n:["six pointed star with middle dot","six_pointed_star"],u:"1f52f"},{n:["aries"],u:"2648"},{n:["taurus"],u:"2649"},{n:["gemini"],u:"264a"},{n:["cancer"],u:"264b"},{n:["leo"],u:"264c"},{n:["virgo"],u:"264d"},{n:["libra"],u:"264e"},{n:["scorpius"],u:"264f"},{n:["sagittarius"],u:"2650"},{n:["capricorn"],u:"2651"},{n:["aquarius"],u:"2652"},{n:["pisces"],u:"2653"},{n:["ophiuchus"],u:"26ce"},{n:["twisted rightwards arrows","twisted_rightwards_arrows"],u:"1f500"},{n:["clockwise rightwards and leftwards open circle arrows","repeat"],u:"1f501"},{n:["clockwise rightwards and leftwards open circle arrows with circled one overlay","repeat_one"],u:"1f502"},{n:["black right-pointing triangle","arrow_forward"],u:"25b6-fe0f"},{n:["black right-pointing double triangle","fast_forward"],u:"23e9"},{n:["black_right_pointing_double_triangle_with_vertical_bar"],u:"23ed-fe0f"},{n:["black_right_pointing_triangle_with_double_vertical_bar"],u:"23ef-fe0f"},{n:["black left-pointing triangle","arrow_backward"],u:"25c0-fe0f"},{n:["black left-pointing double triangle","rewind"],u:"23ea"},{n:["black_left_pointing_double_triangle_with_vertical_bar"],u:"23ee-fe0f"},{n:["up-pointing small red triangle","arrow_up_small"],u:"1f53c"},{n:["black up-pointing double triangle","arrow_double_up"],u:"23eb"},{n:["down-pointing small red triangle","arrow_down_small"],u:"1f53d"},{n:["black down-pointing double triangle","arrow_double_down"],u:"23ec"},{n:["double_vertical_bar"],u:"23f8-fe0f"},{n:["black_square_for_stop"],u:"23f9-fe0f"},{n:["black_circle_for_record"],u:"23fa-fe0f"},{n:["eject"],u:"23cf-fe0f"},{n:["cinema"],u:"1f3a6"},{n:["low brightness symbol","low_brightness"],u:"1f505"},{n:["high brightness symbol","high_brightness"],u:"1f506"},{n:["antenna with bars","signal_strength"],u:"1f4f6"},{n:["vibration mode","vibration_mode"],u:"1f4f3"},{n:["mobile phone off","mobile_phone_off"],u:"1f4f4"},{n:["female_sign"],u:"2640-fe0f"},{n:["male_sign"],u:"2642-fe0f"},{n:["medical_symbol","staff_of_aesculapius"],u:"2695-fe0f"},{n:["black universal recycling symbol","recycle"],u:"267b-fe0f"},{n:["fleur_de_lis"],u:"269c-fe0f"},{n:["trident emblem","trident"],u:"1f531"},{n:["name badge","name_badge"],u:"1f4db"},{n:["japanese symbol for beginner","beginner"],u:"1f530"},{n:["heavy large circle","o"],u:"2b55"},{n:["white heavy check mark","white_check_mark"],u:"2705"},{n:["ballot box with check","ballot_box_with_check"],u:"2611-fe0f"},{n:["heavy check mark","heavy_check_mark"],u:"2714-fe0f"},{n:["heavy multiplication x","heavy_multiplication_x"],u:"2716-fe0f"},{n:["cross mark","x"],u:"274c"},{n:["negative squared cross mark","negative_squared_cross_mark"],u:"274e"},{n:["heavy plus sign","heavy_plus_sign"],u:"2795"},{n:["heavy minus sign","heavy_minus_sign"],u:"2796"},{n:["heavy division sign","heavy_division_sign"],u:"2797"},{n:["curly loop","curly_loop"],u:"27b0"},{n:["double curly loop","loop"],u:"27bf"},{n:["part alternation mark","part_alternation_mark"],u:"303d-fe0f"},{n:["eight spoked asterisk","eight_spoked_asterisk"],u:"2733-fe0f"},{n:["eight pointed black star","eight_pointed_black_star"],u:"2734-fe0f"},{n:["sparkle"],u:"2747-fe0f"},{n:["double exclamation mark","bangbang"],u:"203c-fe0f"},{n:["exclamation question mark","interrobang"],u:"2049-fe0f"},{n:["black question mark ornament","question"],u:"2753"},{n:["white question mark ornament","grey_question"],u:"2754"},{n:["white exclamation mark ornament","grey_exclamation"],u:"2755"},{n:["heavy exclamation mark symbol","exclamation","heavy_exclamation_mark"],u:"2757"},{n:["wavy dash","wavy_dash"],u:"3030-fe0f"},{n:["copyright sign","copyright"],u:"00a9-fe0f"},{n:["registered sign","registered"],u:"00ae-fe0f"},{n:["trade mark sign","tm"],u:"2122-fe0f"},{n:["hash key","hash"],u:"0023-fe0f-20e3"},{n:["keycap_star"],u:"002a-fe0f-20e3"},{n:["keycap 0","zero"],u:"0030-fe0f-20e3"},{n:["keycap 1","one"],u:"0031-fe0f-20e3"},{n:["keycap 2","two"],u:"0032-fe0f-20e3"},{n:["keycap 3","three"],u:"0033-fe0f-20e3"},{n:["keycap 4","four"],u:"0034-fe0f-20e3"},{n:["keycap 5","five"],u:"0035-fe0f-20e3"},{n:["keycap 6","six"],u:"0036-fe0f-20e3"},{n:["keycap 7","seven"],u:"0037-fe0f-20e3"},{n:["keycap 8","eight"],u:"0038-fe0f-20e3"},{n:["keycap 9","nine"],u:"0039-fe0f-20e3"},{n:["keycap ten","keycap_ten"],u:"1f51f"},{n:["hundred points symbol","100"],u:"1f4af"},{n:["input symbol for latin capital letters","capital_abcd"],u:"1f520"},{n:["input symbol for latin small letters","abcd"],u:"1f521"},{n:["input symbol for numbers","1234"],u:"1f522"},{n:["input symbol for symbols","symbols"],u:"1f523"},{n:["input symbol for latin letters","abc"],u:"1f524"},{n:["negative squared latin capital letter a","a"],u:"1f170-fe0f"},{n:["negative squared ab","ab"],u:"1f18e"},{n:["negative squared latin capital letter b","b"],u:"1f171-fe0f"},{n:["squared cl","cl"],u:"1f191"},{n:["squared cool","cool"],u:"1f192"},{n:["squared free","free"],u:"1f193"},{n:["information source","information_source"],u:"2139-fe0f"},{n:["squared id","id"],u:"1f194"},{n:["circled latin capital letter m","m"],u:"24c2-fe0f"},{n:["squared new","new"],u:"1f195"},{n:["squared ng","ng"],u:"1f196"},{n:["negative squared latin capital letter o","o2"],u:"1f17e-fe0f"},{n:["squared ok","ok"],u:"1f197"},{n:["negative squared latin capital letter p","parking"],u:"1f17f-fe0f"},{n:["squared sos","sos"],u:"1f198"},{n:["squared up with exclamation mark","up"],u:"1f199"},{n:["squared vs","vs"],u:"1f19a"},{n:["squared katakana koko","koko"],u:"1f201"},{n:["squared katakana sa","sa"],u:"1f202-fe0f"},{n:["squared cjk unified ideograph-6708","u6708"],u:"1f237-fe0f"},{n:["squared cjk unified ideograph-6709","u6709"],u:"1f236"},{n:["squared cjk unified ideograph-6307","u6307"],u:"1f22f"},{n:["circled ideograph advantage","ideograph_advantage"],u:"1f250"},{n:["squared cjk unified ideograph-5272","u5272"],u:"1f239"},{n:["squared cjk unified ideograph-7121","u7121"],u:"1f21a"},{n:["squared cjk unified ideograph-7981","u7981"],u:"1f232"},{n:["circled ideograph accept","accept"],u:"1f251"},{n:["squared cjk unified ideograph-7533","u7533"],u:"1f238"},{n:["squared cjk unified ideograph-5408","u5408"],u:"1f234"},{n:["squared cjk unified ideograph-7a7a","u7a7a"],u:"1f233"},{n:["circled ideograph congratulation","congratulations"],u:"3297-fe0f"},{n:["circled ideograph secret","secret"],u:"3299-fe0f"},{n:["squared cjk unified ideograph-55b6","u55b6"],u:"1f23a"},{n:["squared cjk unified ideograph-6e80","u6e80"],u:"1f235"},{n:["black small square","black_small_square"],u:"25aa-fe0f"},{n:["white small square","white_small_square"],u:"25ab-fe0f"},{n:["white medium square","white_medium_square"],u:"25fb-fe0f"},{n:["black medium square","black_medium_square"],u:"25fc-fe0f"},{n:["white medium small square","white_medium_small_square"],u:"25fd"},{n:["black medium small square","black_medium_small_square"],u:"25fe"},{n:["black large square","black_large_square"],u:"2b1b"},{n:["white large square","white_large_square"],u:"2b1c"},{n:["large orange diamond","large_orange_diamond"],u:"1f536"},{n:["large blue diamond","large_blue_diamond"],u:"1f537"},{n:["small orange diamond","small_orange_diamond"],u:"1f538"},{n:["small blue diamond","small_blue_diamond"],u:"1f539"},{n:["up-pointing red triangle","small_red_triangle"],u:"1f53a"},{n:["down-pointing red triangle","small_red_triangle_down"],u:"1f53b"},{n:["diamond shape with a dot inside","diamond_shape_with_a_dot_inside"],u:"1f4a0"},{n:["radio button","radio_button"],u:"1f518"},{n:["black square button","black_square_button"],u:"1f532"},{n:["white square button","white_square_button"],u:"1f533"},{n:["medium white circle","white_circle"],u:"26aa"},{n:["medium black circle","black_circle"],u:"26ab"},{n:["large red circle","red_circle"],u:"1f534"},{n:["large blue circle","large_blue_circle"],u:"1f535"}],flags:[{n:["chequered flag","checkered_flag"],u:"1f3c1"},{n:["triangular flag on post","triangular_flag_on_post"],u:"1f6a9"},{n:["crossed flags","crossed_flags"],u:"1f38c"},{n:["waving black flag","waving_black_flag"],u:"1f3f4"},{n:["waving_white_flag"],u:"1f3f3-fe0f"},{n:["rainbow-flag"],u:"1f3f3-fe0f-200d-1f308"},{n:["ascension island flag","flag-ac"],u:"1f1e6-1f1e8"},{n:["andorra flag","flag-ad"],u:"1f1e6-1f1e9"},{n:["united arab emirates flag","flag-ae"],u:"1f1e6-1f1ea"},{n:["afghanistan flag","flag-af"],u:"1f1e6-1f1eb"},{n:["antigua & barbuda flag","flag-ag"],u:"1f1e6-1f1ec"},{n:["anguilla flag","flag-ai"],u:"1f1e6-1f1ee"},{n:["albania flag","flag-al"],u:"1f1e6-1f1f1"},{n:["armenia flag","flag-am"],u:"1f1e6-1f1f2"},{n:["angola flag","flag-ao"],u:"1f1e6-1f1f4"},{n:["antarctica flag","flag-aq"],u:"1f1e6-1f1f6"},{n:["argentina flag","flag-ar"],u:"1f1e6-1f1f7"},{n:["american samoa flag","flag-as"],u:"1f1e6-1f1f8"},{n:["austria flag","flag-at"],u:"1f1e6-1f1f9"},{n:["australia flag","flag-au"],u:"1f1e6-1f1fa"},{n:["aruba flag","flag-aw"],u:"1f1e6-1f1fc"},{n:["åland islands flag","flag-ax"],u:"1f1e6-1f1fd"},{n:["azerbaijan flag","flag-az"],u:"1f1e6-1f1ff"},{n:["bosnia & herzegovina flag","flag-ba"],u:"1f1e7-1f1e6"},{n:["barbados flag","flag-bb"],u:"1f1e7-1f1e7"},{n:["bangladesh flag","flag-bd"],u:"1f1e7-1f1e9"},{n:["belgium flag","flag-be"],u:"1f1e7-1f1ea"},{n:["burkina faso flag","flag-bf"],u:"1f1e7-1f1eb"},{n:["bulgaria flag","flag-bg"],u:"1f1e7-1f1ec"},{n:["bahrain flag","flag-bh"],u:"1f1e7-1f1ed"},{n:["burundi flag","flag-bi"],u:"1f1e7-1f1ee"},{n:["benin flag","flag-bj"],u:"1f1e7-1f1ef"},{n:["st. barthélemy flag","flag-bl"],u:"1f1e7-1f1f1"},{n:["bermuda flag","flag-bm"],u:"1f1e7-1f1f2"},{n:["brunei flag","flag-bn"],u:"1f1e7-1f1f3"},{n:["bolivia flag","flag-bo"],u:"1f1e7-1f1f4"},{n:["caribbean netherlands flag","flag-bq"],u:"1f1e7-1f1f6"},{n:["brazil flag","flag-br"],u:"1f1e7-1f1f7"},{n:["bahamas flag","flag-bs"],u:"1f1e7-1f1f8"},{n:["bhutan flag","flag-bt"],u:"1f1e7-1f1f9"},{n:["bouvet island flag","flag-bv"],u:"1f1e7-1f1fb"},{n:["botswana flag","flag-bw"],u:"1f1e7-1f1fc"},{n:["belarus flag","flag-by"],u:"1f1e7-1f1fe"},{n:["belize flag","flag-bz"],u:"1f1e7-1f1ff"},{n:["canada flag","flag-ca"],u:"1f1e8-1f1e6"},{n:["cocos (keeling) islands flag","flag-cc"],u:"1f1e8-1f1e8"},{n:["congo - kinshasa flag","flag-cd"],u:"1f1e8-1f1e9"},{n:["central african republic flag","flag-cf"],u:"1f1e8-1f1eb"},{n:["congo - brazzaville flag","flag-cg"],u:"1f1e8-1f1ec"},{n:["switzerland flag","flag-ch"],u:"1f1e8-1f1ed"},{n:["côte d’ivoire flag","flag-ci"],u:"1f1e8-1f1ee"},{n:["cook islands flag","flag-ck"],u:"1f1e8-1f1f0"},{n:["chile flag","flag-cl"],u:"1f1e8-1f1f1"},{n:["cameroon flag","flag-cm"],u:"1f1e8-1f1f2"},{n:["china flag","cn","flag-cn"],u:"1f1e8-1f1f3"},{n:["colombia flag","flag-co"],u:"1f1e8-1f1f4"},{n:["clipperton island flag","flag-cp"],u:"1f1e8-1f1f5"},{n:["costa rica flag","flag-cr"],u:"1f1e8-1f1f7"},{n:["cuba flag","flag-cu"],u:"1f1e8-1f1fa"},{n:["cape verde flag","flag-cv"],u:"1f1e8-1f1fb"},{n:["curaçao flag","flag-cw"],u:"1f1e8-1f1fc"},{n:["christmas island flag","flag-cx"],u:"1f1e8-1f1fd"},{n:["cyprus flag","flag-cy"],u:"1f1e8-1f1fe"},{n:["czechia flag","flag-cz"],u:"1f1e8-1f1ff"},{n:["germany flag","de","flag-de"],u:"1f1e9-1f1ea"},{n:["diego garcia flag","flag-dg"],u:"1f1e9-1f1ec"},{n:["djibouti flag","flag-dj"],u:"1f1e9-1f1ef"},{n:["denmark flag","flag-dk"],u:"1f1e9-1f1f0"},{n:["dominica flag","flag-dm"],u:"1f1e9-1f1f2"},{n:["dominican republic flag","flag-do"],u:"1f1e9-1f1f4"},{n:["algeria flag","flag-dz"],u:"1f1e9-1f1ff"},{n:["ceuta & melilla flag","flag-ea"],u:"1f1ea-1f1e6"},{n:["ecuador flag","flag-ec"],u:"1f1ea-1f1e8"},{n:["estonia flag","flag-ee"],u:"1f1ea-1f1ea"},{n:["egypt flag","flag-eg"],u:"1f1ea-1f1ec"},{n:["western sahara flag","flag-eh"],u:"1f1ea-1f1ed"},{n:["eritrea flag","flag-er"],u:"1f1ea-1f1f7"},{n:["spain flag","es","flag-es"],u:"1f1ea-1f1f8"},{n:["ethiopia flag","flag-et"],u:"1f1ea-1f1f9"},{n:["european union flag","flag-eu"],u:"1f1ea-1f1fa"},{n:["finland flag","flag-fi"],u:"1f1eb-1f1ee"},{n:["fiji flag","flag-fj"],u:"1f1eb-1f1ef"},{n:["falkland islands flag","flag-fk"],u:"1f1eb-1f1f0"},{n:["micronesia flag","flag-fm"],u:"1f1eb-1f1f2"},{n:["faroe islands flag","flag-fo"],u:"1f1eb-1f1f4"},{n:["france flag","fr","flag-fr"],u:"1f1eb-1f1f7"},{n:["gabon flag","flag-ga"],u:"1f1ec-1f1e6"},{n:["united kingdom flag","gb","uk","flag-gb"],u:"1f1ec-1f1e7"},{n:["grenada flag","flag-gd"],u:"1f1ec-1f1e9"},{n:["georgia flag","flag-ge"],u:"1f1ec-1f1ea"},{n:["french guiana flag","flag-gf"],u:"1f1ec-1f1eb"},{n:["guernsey flag","flag-gg"],u:"1f1ec-1f1ec"},{n:["ghana flag","flag-gh"],u:"1f1ec-1f1ed"},{n:["gibraltar flag","flag-gi"],u:"1f1ec-1f1ee"},{n:["greenland flag","flag-gl"],u:"1f1ec-1f1f1"},{n:["gambia flag","flag-gm"],u:"1f1ec-1f1f2"},{n:["guinea flag","flag-gn"],u:"1f1ec-1f1f3"},{n:["guadeloupe flag","flag-gp"],u:"1f1ec-1f1f5"},{n:["equatorial guinea flag","flag-gq"],u:"1f1ec-1f1f6"},{n:["greece flag","flag-gr"],u:"1f1ec-1f1f7"},{n:["south georgia & south sandwich islands flag","flag-gs"],u:"1f1ec-1f1f8"},{n:["guatemala flag","flag-gt"],u:"1f1ec-1f1f9"},{n:["guam flag","flag-gu"],u:"1f1ec-1f1fa"},{n:["guinea-bissau flag","flag-gw"],u:"1f1ec-1f1fc"},{n:["guyana flag","flag-gy"],u:"1f1ec-1f1fe"},{n:["hong kong sar china flag","flag-hk"],u:"1f1ed-1f1f0"},{n:["heard & mcdonald islands flag","flag-hm"],u:"1f1ed-1f1f2"},{n:["honduras flag","flag-hn"],u:"1f1ed-1f1f3"},{n:["croatia flag","flag-hr"],u:"1f1ed-1f1f7"},{n:["haiti flag","flag-ht"],u:"1f1ed-1f1f9"},{n:["hungary flag","flag-hu"],u:"1f1ed-1f1fa"},{n:["canary islands flag","flag-ic"],u:"1f1ee-1f1e8"},{n:["indonesia flag","flag-id"],u:"1f1ee-1f1e9"},{n:["ireland flag","flag-ie"],u:"1f1ee-1f1ea"},{n:["israel flag","flag-il"],u:"1f1ee-1f1f1"},{n:["isle of man flag","flag-im"],u:"1f1ee-1f1f2"},{n:["india flag","flag-in"],u:"1f1ee-1f1f3"},{n:["british indian ocean territory flag","flag-io"],u:"1f1ee-1f1f4"},{n:["iraq flag","flag-iq"],u:"1f1ee-1f1f6"},{n:["iran flag","flag-ir"],u:"1f1ee-1f1f7"},{n:["iceland flag","flag-is"],u:"1f1ee-1f1f8"},{n:["italy flag","it","flag-it"],u:"1f1ee-1f1f9"},{n:["jersey flag","flag-je"],u:"1f1ef-1f1ea"},{n:["jamaica flag","flag-jm"],u:"1f1ef-1f1f2"},{n:["jordan flag","flag-jo"],u:"1f1ef-1f1f4"},{n:["japan flag","jp","flag-jp"],u:"1f1ef-1f1f5"},{n:["kenya flag","flag-ke"],u:"1f1f0-1f1ea"},{n:["kyrgyzstan flag","flag-kg"],u:"1f1f0-1f1ec"},{n:["cambodia flag","flag-kh"],u:"1f1f0-1f1ed"},{n:["kiribati flag","flag-ki"],u:"1f1f0-1f1ee"},{n:["comoros flag","flag-km"],u:"1f1f0-1f1f2"},{n:["st. kitts & nevis flag","flag-kn"],u:"1f1f0-1f1f3"},{n:["north korea flag","flag-kp"],u:"1f1f0-1f1f5"},{n:["south korea flag","kr","flag-kr"],u:"1f1f0-1f1f7"},{n:["kuwait flag","flag-kw"],u:"1f1f0-1f1fc"},{n:["cayman islands flag","flag-ky"],u:"1f1f0-1f1fe"},{n:["kazakhstan flag","flag-kz"],u:"1f1f0-1f1ff"},{n:["laos flag","flag-la"],u:"1f1f1-1f1e6"},{n:["lebanon flag","flag-lb"],u:"1f1f1-1f1e7"},{n:["st. lucia flag","flag-lc"],u:"1f1f1-1f1e8"},{n:["liechtenstein flag","flag-li"],u:"1f1f1-1f1ee"},{n:["sri lanka flag","flag-lk"],u:"1f1f1-1f1f0"},{n:["liberia flag","flag-lr"],u:"1f1f1-1f1f7"},{n:["lesotho flag","flag-ls"],u:"1f1f1-1f1f8"},{n:["lithuania flag","flag-lt"],u:"1f1f1-1f1f9"},{n:["luxembourg flag","flag-lu"],u:"1f1f1-1f1fa"},{n:["latvia flag","flag-lv"],u:"1f1f1-1f1fb"},{n:["libya flag","flag-ly"],u:"1f1f1-1f1fe"},{n:["morocco flag","flag-ma"],u:"1f1f2-1f1e6"},{n:["monaco flag","flag-mc"],u:"1f1f2-1f1e8"},{n:["moldova flag","flag-md"],u:"1f1f2-1f1e9"},{n:["montenegro flag","flag-me"],u:"1f1f2-1f1ea"},{n:["st. martin flag","flag-mf"],u:"1f1f2-1f1eb"},{n:["madagascar flag","flag-mg"],u:"1f1f2-1f1ec"},{n:["marshall islands flag","flag-mh"],u:"1f1f2-1f1ed"},{n:["macedonia flag","flag-mk"],u:"1f1f2-1f1f0"},{n:["mali flag","flag-ml"],u:"1f1f2-1f1f1"},{n:["myanmar (burma) flag","flag-mm"],u:"1f1f2-1f1f2"},{n:["mongolia flag","flag-mn"],u:"1f1f2-1f1f3"},{n:["macau sar china flag","flag-mo"],u:"1f1f2-1f1f4"},{n:["northern mariana islands flag","flag-mp"],u:"1f1f2-1f1f5"},{n:["martinique flag","flag-mq"],u:"1f1f2-1f1f6"},{n:["mauritania flag","flag-mr"],u:"1f1f2-1f1f7"},{n:["montserrat flag","flag-ms"],u:"1f1f2-1f1f8"},{n:["malta flag","flag-mt"],u:"1f1f2-1f1f9"},{n:["mauritius flag","flag-mu"],u:"1f1f2-1f1fa"},{n:["maldives flag","flag-mv"],u:"1f1f2-1f1fb"},{n:["malawi flag","flag-mw"],u:"1f1f2-1f1fc"},{n:["mexico flag","flag-mx"],u:"1f1f2-1f1fd"},{n:["malaysia flag","flag-my"],u:"1f1f2-1f1fe"},{n:["mozambique flag","flag-mz"],u:"1f1f2-1f1ff"},{n:["namibia flag","flag-na"],u:"1f1f3-1f1e6"},{n:["new caledonia flag","flag-nc"],u:"1f1f3-1f1e8"},{n:["niger flag","flag-ne"],u:"1f1f3-1f1ea"},{n:["norfolk island flag","flag-nf"],u:"1f1f3-1f1eb"},{n:["nigeria flag","flag-ng"],u:"1f1f3-1f1ec"},{n:["nicaragua flag","flag-ni"],u:"1f1f3-1f1ee"},{n:["netherlands flag","flag-nl"],u:"1f1f3-1f1f1"},{n:["norway flag","flag-no"],u:"1f1f3-1f1f4"},{n:["nepal flag","flag-np"],u:"1f1f3-1f1f5"},{n:["nauru flag","flag-nr"],u:"1f1f3-1f1f7"},{n:["niue flag","flag-nu"],u:"1f1f3-1f1fa"},{n:["new zealand flag","flag-nz"],u:"1f1f3-1f1ff"},{n:["oman flag","flag-om"],u:"1f1f4-1f1f2"},{n:["panama flag","flag-pa"],u:"1f1f5-1f1e6"},{n:["peru flag","flag-pe"],u:"1f1f5-1f1ea"},{n:["french polynesia flag","flag-pf"],u:"1f1f5-1f1eb"},{n:["papua new guinea flag","flag-pg"],u:"1f1f5-1f1ec"},{n:["philippines flag","flag-ph"],u:"1f1f5-1f1ed"},{n:["pakistan flag","flag-pk"],u:"1f1f5-1f1f0"},{n:["poland flag","flag-pl"],u:"1f1f5-1f1f1"},{n:["st. pierre & miquelon flag","flag-pm"],u:"1f1f5-1f1f2"},{n:["pitcairn islands flag","flag-pn"],u:"1f1f5-1f1f3"},{n:["puerto rico flag","flag-pr"],u:"1f1f5-1f1f7"},{n:["palestinian territories flag","flag-ps"],u:"1f1f5-1f1f8"},{n:["portugal flag","flag-pt"],u:"1f1f5-1f1f9"},{n:["palau flag","flag-pw"],u:"1f1f5-1f1fc"},{n:["paraguay flag","flag-py"],u:"1f1f5-1f1fe"},{n:["qatar flag","flag-qa"],u:"1f1f6-1f1e6"},{n:["réunion flag","flag-re"],u:"1f1f7-1f1ea"},{n:["romania flag","flag-ro"],u:"1f1f7-1f1f4"},{n:["serbia flag","flag-rs"],u:"1f1f7-1f1f8"},{n:["russia flag","ru","flag-ru"],u:"1f1f7-1f1fa"},{n:["rwanda flag","flag-rw"],u:"1f1f7-1f1fc"},{n:["saudi arabia flag","flag-sa"],u:"1f1f8-1f1e6"},{n:["solomon islands flag","flag-sb"],u:"1f1f8-1f1e7"},{n:["seychelles flag","flag-sc"],u:"1f1f8-1f1e8"},{n:["sudan flag","flag-sd"],u:"1f1f8-1f1e9"},{n:["sweden flag","flag-se"],u:"1f1f8-1f1ea"},{n:["singapore flag","flag-sg"],u:"1f1f8-1f1ec"},{n:["st. helena flag","flag-sh"],u:"1f1f8-1f1ed"},{n:["slovenia flag","flag-si"],u:"1f1f8-1f1ee"},{n:["svalbard & jan mayen flag","flag-sj"],u:"1f1f8-1f1ef"},{n:["slovakia flag","flag-sk"],u:"1f1f8-1f1f0"},{n:["sierra leone flag","flag-sl"],u:"1f1f8-1f1f1"},{n:["san marino flag","flag-sm"],u:"1f1f8-1f1f2"},{n:["senegal flag","flag-sn"],u:"1f1f8-1f1f3"},{n:["somalia flag","flag-so"],u:"1f1f8-1f1f4"},{n:["suriname flag","flag-sr"],u:"1f1f8-1f1f7"},{n:["south sudan flag","flag-ss"],u:"1f1f8-1f1f8"},{n:["são tomé & príncipe flag","flag-st"],u:"1f1f8-1f1f9"},{n:["el salvador flag","flag-sv"],u:"1f1f8-1f1fb"},{n:["sint maarten flag","flag-sx"],u:"1f1f8-1f1fd"},{n:["syria flag","flag-sy"],u:"1f1f8-1f1fe"},{n:["swaziland flag","flag-sz"],u:"1f1f8-1f1ff"},{n:["tristan da cunha flag","flag-ta"],u:"1f1f9-1f1e6"},{n:["turks & caicos islands flag","flag-tc"],u:"1f1f9-1f1e8"},{n:["chad flag","flag-td"],u:"1f1f9-1f1e9"},{n:["french southern territories flag","flag-tf"],u:"1f1f9-1f1eb"},{n:["togo flag","flag-tg"],u:"1f1f9-1f1ec"},{n:["thailand flag","flag-th"],u:"1f1f9-1f1ed"},{n:["tajikistan flag","flag-tj"],u:"1f1f9-1f1ef"},{n:["tokelau flag","flag-tk"],u:"1f1f9-1f1f0"},{n:["timor-leste flag","flag-tl"],u:"1f1f9-1f1f1"},{n:["turkmenistan flag","flag-tm"],u:"1f1f9-1f1f2"},{n:["tunisia flag","flag-tn"],u:"1f1f9-1f1f3"},{n:["tonga flag","flag-to"],u:"1f1f9-1f1f4"},{n:["turkey flag","flag-tr"],u:"1f1f9-1f1f7"},{n:["trinidad & tobago flag","flag-tt"],u:"1f1f9-1f1f9"},{n:["tuvalu flag","flag-tv"],u:"1f1f9-1f1fb"},{n:["taiwan flag","flag-tw"],u:"1f1f9-1f1fc"},{n:["tanzania flag","flag-tz"],u:"1f1f9-1f1ff"},{n:["ukraine flag","flag-ua"],u:"1f1fa-1f1e6"},{n:["uganda flag","flag-ug"],u:"1f1fa-1f1ec"},{n:["u.s. outlying islands flag","flag-um"],u:"1f1fa-1f1f2"},{n:["united nations flag","flag-un"],u:"1f1fa-1f1f3"},{n:["united states flag","us","flag-us"],u:"1f1fa-1f1f8"},{n:["uruguay flag","flag-uy"],u:"1f1fa-1f1fe"},{n:["uzbekistan flag","flag-uz"],u:"1f1fa-1f1ff"},{n:["vatican city flag","flag-va"],u:"1f1fb-1f1e6"},{n:["st. vincent & grenadines flag","flag-vc"],u:"1f1fb-1f1e8"},{n:["venezuela flag","flag-ve"],u:"1f1fb-1f1ea"},{n:["british virgin islands flag","flag-vg"],u:"1f1fb-1f1ec"},{n:["u.s. virgin islands flag","flag-vi"],u:"1f1fb-1f1ee"},{n:["vietnam flag","flag-vn"],u:"1f1fb-1f1f3"},{n:["vanuatu flag","flag-vu"],u:"1f1fb-1f1fa"},{n:["wallis & futuna flag","flag-wf"],u:"1f1fc-1f1eb"},{n:["samoa flag","flag-ws"],u:"1f1fc-1f1f8"},{n:["kosovo flag","flag-xk"],u:"1f1fd-1f1f0"},{n:["yemen flag","flag-ye"],u:"1f1fe-1f1ea"},{n:["mayotte flag","flag-yt"],u:"1f1fe-1f1f9"},{n:["south africa flag","flag-za"],u:"1f1ff-1f1e6"},{n:["zambia flag","flag-zm"],u:"1f1ff-1f1f2"},{n:["zimbabwe flag","flag-zw"],u:"1f1ff-1f1fc"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"}]},p5=[{key:"recent",title:"Recently Used",u:"1f551"},{key:"smileys_people",title:"Smiles & People",u:"1f600"},{key:"animals_nature",title:"Animals & Nature",u:"1F431"},{key:"food_drink",title:"Food & Drink",u:"2615"},{key:"activities",title:"Activities",u:"26BD"},{key:"travel_places",title:"Travel & Places",u:"1F697"},{key:"objects",title:"Objects",u:"1F4A1"},{key:"symbols",title:"Symbols",u:"1f4af"},{key:"flags",title:"Flags",u:"1f3f3-fe0f"}];const sAe=(e,t)=>t.some(n=>e instanceof n);let g5,y5;function lAe(){return g5||(g5=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function uAe(){return y5||(y5=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const b5=new WeakMap,Tg=new WeakMap,w5=new WeakMap,Pg=new WeakMap,Eg=new WeakMap;function dAe(e){const t=new Promise((n,i)=>{const r=()=>{e.removeEventListener("success",a),e.removeEventListener("error",o)},a=()=>{n(oa(e.result)),r()},o=()=>{i(e.error),r()};e.addEventListener("success",a),e.addEventListener("error",o)});return t.then(n=>{n instanceof IDBCursor&&b5.set(n,e)}).catch(()=>{}),Eg.set(t,e),t}function cAe(e){if(Tg.has(e))return;const t=new Promise((n,i)=>{const r=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",o),e.removeEventListener("abort",o)},a=()=>{n(),r()},o=()=>{i(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",a),e.addEventListener("error",o),e.addEventListener("abort",o)});Tg.set(e,t)}let Ag={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Tg.get(e);if(t==="objectStoreNames")return e.objectStoreNames||w5.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return oa(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function fAe(e){Ag=e(Ag)}function hAe(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(Dg(this),t,...n);return w5.set(i,t.sort?t.sort():[t]),oa(i)}:uAe().includes(e)?function(...t){return e.apply(Dg(this),t),oa(b5.get(this))}:function(...t){return oa(e.apply(Dg(this),t))}}function mAe(e){return typeof e=="function"?hAe(e):(e instanceof IDBTransaction&&cAe(e),sAe(e,lAe())?new Proxy(e,Ag):e)}function oa(e){if(e instanceof IDBRequest)return dAe(e);if(Pg.has(e))return Pg.get(e);const t=mAe(e);return t!==e&&(Pg.set(e,t),Eg.set(t,e)),t}const Dg=e=>Eg.get(e);function Ng(e,t,{blocked:n,upgrade:i,blocking:r,terminated:a}={}){const o=indexedDB.open(e,t),s=oa(o);return i&&o.addEventListener("upgradeneeded",u=>{i(oa(o.result),u.oldVersion,u.newVersion,oa(o.transaction),u)}),n&&o.addEventListener("blocked",u=>n(u.oldVersion,u.newVersion,u)),s.then(u=>{a&&u.addEventListener("close",()=>a()),r&&u.addEventListener("versionchange",c=>r(c.oldVersion,c.newVersion,c))}).catch(()=>{}),s}const pAe=["get","getKey","getAll","getAllKeys","count"],gAe=["put","add","delete","clear"],jg=new Map;function v5(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(jg.get(t))return jg.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,r=gAe.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(r||pAe.includes(n)))return;const a=async function(o,...s){const u=this.transaction(o,r?"readwrite":"readonly");let c=u.store;return i&&(c=c.index(s.shift())),(await Promise.all([c[n](...s),r&&u.done]))[0]};return jg.set(t,a),a}fAe(e=>({...e,get:(t,n,i)=>v5(t,n)||e.get(t,n,i),has:(t,n)=>!!v5(t,n)||e.has(t,n)}));const Ig="EMJ",ms="emojis",Wg=3;async function yAe(){(await Ng(Ig,Wg,{upgrade(t,n){t.objectStoreNames.contains(ms)||t.createObjectStore(ms,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0})}})).close()}yAe();const bAe={native:!1,hideSearch:!0,hideGroupIcons:!1,hideGroupNames:!1,staticTexts:{},disabledGroups:[],groupNames:{},displayRecent:!1,additionalGroups:{},groupOrder:[],groupIcons:{}};async function wAe(){return await(await Ng(Ig,Wg)).transaction(ms,"readonly").objectStore(ms).getAll()}function vAe(){const e=l.reactive({search:"",emoji:nAe,activeGroup:"",skinTone:Cf,options:bAe,additionalGroups:{},recent:[],get emojis(){return{recent:this.recent,...this.options.additionalGroups,...oAe}},get disabled(){let h=Array.isArray(this.options.disabledGroups)?this.options.disabledGroups:[];return this.options.displayRecent||(h=["recent",...h]),h},get groups(){return p5.filter(h=>!this.disabled.includes(h.key))},get orderedGroupKeys(){const h=[...this.options.groupOrder,...Object.keys(this.options.additionalGroups),...p5.map(g=>g.key)];return[...new Set(h)].filter(g=>!this.disabled.includes(g))}});function t(){e.options.displayRecent&&i()}async function n(){var h;let g=await wAe();return Array.isArray(g)&&g.length?g=JSON.parse(((h=g[0])==null?void 0:h.value)||""):g=[],g}function i(){n().then(h=>{e.recent=h,c()})}const r=h=>{e.search=h},a=h=>{e.emoji=h},o=h=>{e.activeGroup=h},s=(h=Cf)=>{e.skinTone=h},u=h=>{e.options=Object.assign({},e.options,h),t()};async function c(){(await Ng(Ig,Wg)).transaction(ms,"readwrite").objectStore(ms).put({id:0,value:JSON.stringify(e.recent)})}const f=h=>{if(e.options.displayRecent!==!0)return;const g=e.recent.findIndex(y=>y.u===h.u);if(g>0&&e.recent.splice(g,1),g===0)return;const p={u:h.u,n:l.toRaw(h.n)};e.recent=[p,...e.recent],e.recent.length>24&&(e.recent.length=24),c()};return{state:l.readonly(e),updateSearch:r,updateEmoji:a,updateActiveGroup:o,updateSkinTone:s,updateOptions:u,updateSelect:f}}var Pn="top",ii="bottom",ri="right",En="left",Og="auto",ru=[Pn,ii,ri,En],ps="start",au="end",kAe="clippingParents",k5="viewport",ou="popper",MAe="reference",M5=ru.reduce(function(e,t){return e.concat([t+"-"+ps,t+"-"+au])},[]),C5=[].concat(ru,[Og]).reduce(function(e,t){return e.concat([t,t+"-"+ps,t+"-"+au])},[]),CAe="beforeRead",xAe="read",SAe="afterRead",_Ae="beforeMain",TAe="main",PAe="afterMain",EAe="beforeWrite",AAe="write",DAe="afterWrite",NAe=[CAe,xAe,SAe,_Ae,TAe,PAe,EAe,AAe,DAe];function qi(e){return e?(e.nodeName||"").toLowerCase():null}function Ti(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gs(e){var t=Ti(e).Element;return e instanceof t||e instanceof Element}function ai(e){var t=Ti(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function x5(e){if(typeof ShadowRoot>"u")return!1;var t=Ti(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function jAe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},r=t.attributes[n]||{},a=t.elements[n];!ai(a)||!qi(a)||(Object.assign(a.style,i),Object.keys(r).forEach(function(o){var s=r[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function IAe(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(i){var r=t.elements[i],a=t.attributes[i]||{},o=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),s=o.reduce(function(u,c){return u[c]="",u},{});!ai(r)||!qi(r)||(Object.assign(r.style,s),Object.keys(a).forEach(function(u){r.removeAttribute(u)}))})}}var WAe={name:"applyStyles",enabled:!0,phase:"write",fn:jAe,effect:IAe,requires:["computeStyles"]};function Gi(e){return e.split("-")[0]}var so=Math.max,xf=Math.min,ys=Math.round;function bs(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),i=1,r=1;if(ai(e)&&t){var a=e.offsetHeight,o=e.offsetWidth;o>0&&(i=ys(n.width)/o||1),a>0&&(r=ys(n.height)/a||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function zg(e){var t=bs(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function S5(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&x5(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ki(e){return Ti(e).getComputedStyle(e)}function OAe(e){return["table","td","th"].indexOf(qi(e))>=0}function sa(e){return((gs(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sf(e){return qi(e)==="html"?e:e.assignedSlot||e.parentNode||(x5(e)?e.host:null)||sa(e)}function _5(e){return!ai(e)||Ki(e).position==="fixed"?null:e.offsetParent}function zAe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&ai(e)){var i=Ki(e);if(i.position==="fixed")return null}for(var r=Sf(e);ai(r)&&["html","body"].indexOf(qi(r))<0;){var a=Ki(r);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return r;r=r.parentNode}return null}function su(e){for(var t=Ti(e),n=_5(e);n&&OAe(n)&&Ki(n).position==="static";)n=_5(n);return n&&(qi(n)==="html"||qi(n)==="body"&&Ki(n).position==="static")?t:n||zAe(e)||t}function Lg(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lu(e,t,n){return so(e,xf(t,n))}function LAe(e,t,n){var i=lu(e,t,n);return i>n?n:i}function T5(){return{top:0,right:0,bottom:0,left:0}}function P5(e){return Object.assign({},T5(),e)}function E5(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var $Ae=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,P5(typeof t!="number"?t:E5(t,ru))};function HAe(e){var t,n=e.state,i=e.name,r=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Gi(n.placement),u=Lg(s),c=[En,ri].indexOf(s)>=0,f=c?"height":"width";if(!(!a||!o)){var h=$Ae(r.padding,n),g=zg(a),p=u==="y"?Pn:En,y=u==="y"?ii:ri,v=n.rects.reference[f]+n.rects.reference[u]-o[u]-n.rects.popper[f],k=o[u]-n.rects.reference[u],w=su(a),M=w?u==="y"?w.clientHeight||0:w.clientWidth||0:0,x=v/2-k/2,_=h[p],S=M-g[f]-h[y],N=M/2-g[f]/2+x,T=lu(_,N,S),I=u;n.modifiersData[i]=(t={},t[I]=T,t.centerOffset=T-N,t)}}function RAe(e){var t=e.state,n=e.options,i=n.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||S5(t.elements.popper,r)&&(t.elements.arrow=r))}var BAe={name:"arrow",enabled:!0,phase:"main",fn:HAe,effect:RAe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ws(e){return e.split("-")[1]}var VAe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function FAe(e){var t=e.x,n=e.y,i=window,r=i.devicePixelRatio||1;return{x:ys(t*r)/r||0,y:ys(n*r)/r||0}}function A5(e){var t,n=e.popper,i=e.popperRect,r=e.placement,a=e.variation,o=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,h=e.isFixed,g=f===!0?FAe(o):typeof f=="function"?f(o):o,p=g.x,y=p===void 0?0:p,v=g.y,k=v===void 0?0:v,w=o.hasOwnProperty("x"),M=o.hasOwnProperty("y"),x=En,_=Pn,S=window;if(c){var N=su(n),T="clientHeight",I="clientWidth";if(N===Ti(n)&&(N=sa(n),Ki(N).position!=="static"&&s==="absolute"&&(T="scrollHeight",I="scrollWidth")),N=N,r===Pn||(r===En||r===ri)&&a===au){_=ii;var L=h&&S.visualViewport?S.visualViewport.height:N[T];k-=L-i.height,k*=u?1:-1}if(r===En||(r===Pn||r===ii)&&a===au){x=ri;var D=h&&S.visualViewport?S.visualViewport.width:N[I];y-=D-i.width,y*=u?1:-1}}var z=Object.assign({position:s},c&&VAe);if(u){var H;return Object.assign({},z,(H={},H[_]=M?"0":"",H[x]=w?"0":"",H.transform=(S.devicePixelRatio||1)<=1?"translate("+y+"px, "+k+"px)":"translate3d("+y+"px, "+k+"px, 0)",H))}return Object.assign({},z,(t={},t[_]=M?k+"px":"",t[x]=w?y+"px":"",t.transform="",t))}function UAe(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=i===void 0?!0:i,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,u=s===void 0?!0:s,c={placement:Gi(t.placement),variation:ws(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,A5(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,A5(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var YAe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:UAe,data:{}},_f={passive:!0};function XAe(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,a=r===void 0?!0:r,o=i.resize,s=o===void 0?!0:o,u=Ti(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(f){f.addEventListener("scroll",n.update,_f)}),s&&u.addEventListener("resize",n.update,_f),function(){a&&c.forEach(function(f){f.removeEventListener("scroll",n.update,_f)}),s&&u.removeEventListener("resize",n.update,_f)}}var qAe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:XAe,data:{}},GAe={left:"right",right:"left",bottom:"top",top:"bottom"};function Tf(e){return e.replace(/left|right|bottom|top/g,function(t){return GAe[t]})}var KAe={start:"end",end:"start"};function D5(e){return e.replace(/start|end/g,function(t){return KAe[t]})}function $g(e){var t=Ti(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Hg(e){return bs(sa(e)).left+$g(e).scrollLeft}function QAe(e){var t=Ti(e),n=sa(e),i=t.visualViewport,r=n.clientWidth,a=n.clientHeight,o=0,s=0;return i&&(r=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,s=i.offsetTop)),{width:r,height:a,x:o+Hg(e),y:s}}function JAe(e){var t,n=sa(e),i=$g(e),r=(t=e.ownerDocument)==null?void 0:t.body,a=so(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=so(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+Hg(e),u=-i.scrollTop;return Ki(r||n).direction==="rtl"&&(s+=so(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:o,x:s,y:u}}function Rg(e){var t=Ki(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function N5(e){return["html","body","#document"].indexOf(qi(e))>=0?e.ownerDocument.body:ai(e)&&Rg(e)?e:N5(Sf(e))}function uu(e,t){var n;t===void 0&&(t=[]);var i=N5(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),a=Ti(i),o=r?[a].concat(a.visualViewport||[],Rg(i)?i:[]):i,s=t.concat(o);return r?s:s.concat(uu(Sf(o)))}function Bg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ZAe(e){var t=bs(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 j5(e,t){return t===k5?Bg(QAe(e)):gs(t)?ZAe(t):Bg(JAe(sa(e)))}function eDe(e){var t=uu(Sf(e)),n=["absolute","fixed"].indexOf(Ki(e).position)>=0,i=n&&ai(e)?su(e):e;return gs(i)?t.filter(function(r){return gs(r)&&S5(r,i)&&qi(r)!=="body"&&(n?Ki(r).position!=="static":!0)}):[]}function tDe(e,t,n){var i=t==="clippingParents"?eDe(e):[].concat(t),r=[].concat(i,[n]),a=r[0],o=r.reduce(function(s,u){var c=j5(e,u);return s.top=so(c.top,s.top),s.right=xf(c.right,s.right),s.bottom=xf(c.bottom,s.bottom),s.left=so(c.left,s.left),s},j5(e,a));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function I5(e){var t=e.reference,n=e.element,i=e.placement,r=i?Gi(i):null,a=i?ws(i):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,u;switch(r){case Pn:u={x:o,y:t.y-n.height};break;case ii:u={x:o,y:t.y+t.height};break;case ri:u={x:t.x+t.width,y:s};break;case En:u={x:t.x-n.width,y:s};break;default:u={x:t.x,y:t.y}}var c=r?Lg(r):null;if(c!=null){var f=c==="y"?"height":"width";switch(a){case ps:u[c]=u[c]-(t[f]/2-n[f]/2);break;case au:u[c]=u[c]+(t[f]/2-n[f]/2);break}}return u}function du(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=i===void 0?e.placement:i,a=n.boundary,o=a===void 0?kAe:a,s=n.rootBoundary,u=s===void 0?k5:s,c=n.elementContext,f=c===void 0?ou:c,h=n.altBoundary,g=h===void 0?!1:h,p=n.padding,y=p===void 0?0:p,v=P5(typeof y!="number"?y:E5(y,ru)),k=f===ou?MAe:ou,w=e.rects.popper,M=e.elements[g?k:f],x=tDe(gs(M)?M:M.contextElement||sa(e.elements.popper),o,u),_=bs(e.elements.reference),S=I5({reference:_,element:w,strategy:"absolute",placement:r}),N=Bg(Object.assign({},w,S)),T=f===ou?N:_,I={top:x.top-T.top+v.top,bottom:T.bottom-x.bottom+v.bottom,left:x.left-T.left+v.left,right:T.right-x.right+v.right},L=e.modifiersData.offset;if(f===ou&&L){var D=L[r];Object.keys(I).forEach(function(z){var H=[ri,ii].indexOf(z)>=0?1:-1,X=[Pn,ii].indexOf(z)>=0?"y":"x";I[z]+=D[X]*H})}return I}function nDe(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?C5:u,f=ws(i),h=f?s?M5:M5.filter(function(y){return ws(y)===f}):ru,g=h.filter(function(y){return c.indexOf(y)>=0});g.length===0&&(g=h);var p=g.reduce(function(y,v){return y[v]=du(e,{placement:v,boundary:r,rootBoundary:a,padding:o})[Gi(v)],y},{});return Object.keys(p).sort(function(y,v){return p[y]-p[v]})}function iDe(e){if(Gi(e)===Og)return[];var t=Tf(e);return[D5(e),t,D5(t)]}function rDe(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,a=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!0:o,u=n.fallbackPlacements,c=n.padding,f=n.boundary,h=n.rootBoundary,g=n.altBoundary,p=n.flipVariations,y=p===void 0?!0:p,v=n.allowedAutoPlacements,k=t.options.placement,w=Gi(k),M=w===k,x=u||(M||!y?[Tf(k)]:iDe(k)),_=[k].concat(x).reduce(function(qe,ot){return qe.concat(Gi(ot)===Og?nDe(t,{placement:ot,boundary:f,rootBoundary:h,padding:c,flipVariations:y,allowedAutoPlacements:v}):ot)},[]),S=t.rects.reference,N=t.rects.popper,T=new Map,I=!0,L=_[0],D=0;D<_.length;D++){var z=_[D],H=Gi(z),X=ws(z)===ps,re=[Pn,ii].indexOf(H)>=0,ee=re?"width":"height",q=du(t,{placement:z,boundary:f,rootBoundary:h,altBoundary:g,padding:c}),Z=re?X?ri:En:X?ii:Pn;S[ee]>N[ee]&&(Z=Tf(Z));var de=Tf(Z),Ae=[];if(a&&Ae.push(q[H]<=0),s&&Ae.push(q[Z]<=0,q[de]<=0),Ae.every(function(qe){return qe})){L=z,I=!1;break}T.set(z,Ae)}if(I)for(var at=y?3:1,Tt=function(ot){var Qi=_.find(function(vs){var $n=T.get(vs);if($n)return $n.slice(0,ot).every(function(mr){return mr})});if(Qi)return L=Qi,"break"},Jt=at;Jt>0;Jt--){var Bt=Tt(Jt);if(Bt==="break")break}t.placement!==L&&(t.modifiersData[i]._skip=!0,t.placement=L,t.reset=!0)}}var aDe={name:"flip",enabled:!0,phase:"main",fn:rDe,requiresIfExists:["offset"],data:{_skip:!1}};function W5(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 O5(e){return[Pn,ri,ii,En].some(function(t){return e[t]>=0})}function oDe(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,o=du(t,{elementContext:"reference"}),s=du(t,{altBoundary:!0}),u=W5(o,i),c=W5(s,r,a),f=O5(u),h=O5(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var sDe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:oDe};function lDe(e,t,n){var i=Gi(e),r=[En,Pn].indexOf(i)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*r,[En,ri].indexOf(i)>=0?{x:s,y:o}:{x:o,y:s}}function uDe(e){var t=e.state,n=e.options,i=e.name,r=n.offset,a=r===void 0?[0,0]:r,o=C5.reduce(function(f,h){return f[h]=lDe(h,t.rects,a),f},{}),s=o[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}var dDe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uDe};function cDe(e){var t=e.state,n=e.name;t.modifiersData[n]=I5({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var fDe={name:"popperOffsets",enabled:!0,phase:"read",fn:cDe,data:{}};function hDe(e){return e==="x"?"y":"x"}function mDe(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,a=r===void 0?!0:r,o=n.altAxis,s=o===void 0?!1:o,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,h=n.padding,g=n.tether,p=g===void 0?!0:g,y=n.tetherOffset,v=y===void 0?0:y,k=du(t,{boundary:u,rootBoundary:c,padding:h,altBoundary:f}),w=Gi(t.placement),M=ws(t.placement),x=!M,_=Lg(w),S=hDe(_),N=t.modifiersData.popperOffsets,T=t.rects.reference,I=t.rects.popper,L=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,D=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(N){if(a){var X,re=_==="y"?Pn:En,ee=_==="y"?ii:ri,q=_==="y"?"height":"width",Z=N[_],de=Z+k[re],Ae=Z-k[ee],at=p?-I[q]/2:0,Tt=M===ps?T[q]:I[q],Jt=M===ps?-I[q]:-T[q],Bt=t.elements.arrow,qe=p&&Bt?zg(Bt):{width:0,height:0},ot=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:T5(),Qi=ot[re],vs=ot[ee],$n=lu(0,T[q],qe[q]),mr=x?T[q]/2-at-$n-Qi-D.mainAxis:Tt-$n-Qi-D.mainAxis,Xg=x?-T[q]/2+at+$n+vs+D.mainAxis:Jt+$n+vs+D.mainAxis,la=t.elements.arrow&&su(t.elements.arrow),ks=la?_==="y"?la.clientTop||0:la.clientLeft||0:0,fu=(X=z==null?void 0:z[_])!=null?X:0,Hn=Z+mr-fu-ks,lo=Z+Xg-fu,Af=lu(p?xf(de,Hn):de,Z,p?so(Ae,lo):Ae);N[_]=Af,H[_]=Af-Z}if(s){var oi,Df=_==="x"?Pn:En,qg=_==="x"?ii:ri,Rn=N[S],Zt=S==="y"?"height":"width",ua=Rn+k[Df],uo=Rn-k[qg],hu=[Pn,En].indexOf(w)!==-1,da=(oi=z==null?void 0:z[S])!=null?oi:0,Nf=hu?ua:Rn-T[Zt]-I[Zt]-da+D.altAxis,ca=hu?Rn+T[Zt]+I[Zt]-da-D.altAxis:uo,pr=p&&hu?LAe(Nf,Rn,ca):lu(p?Nf:ua,Rn,p?ca:uo);N[S]=pr,H[S]=pr-Rn}t.modifiersData[i]=H}}var pDe={name:"preventOverflow",enabled:!0,phase:"main",fn:mDe,requiresIfExists:["offset"]};function gDe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yDe(e){return e===Ti(e)||!ai(e)?$g(e):gDe(e)}function bDe(e){var t=e.getBoundingClientRect(),n=ys(t.width)/e.offsetWidth||1,i=ys(t.height)/e.offsetHeight||1;return n!==1||i!==1}function wDe(e,t,n){n===void 0&&(n=!1);var i=ai(t),r=ai(t)&&bDe(t),a=sa(t),o=bs(e,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&((qi(t)!=="body"||Rg(a))&&(s=yDe(t)),ai(t)?(u=bs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Hg(a))),{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function vDe(e){var t=new Map,n=new Set,i=[];e.forEach(function(a){t.set(a.name,a)});function r(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var u=t.get(s);u&&r(u)}}),i.push(a)}return e.forEach(function(a){n.has(a.name)||r(a)}),i}function kDe(e){var t=vDe(e);return NAe.reduce(function(n,i){return n.concat(t.filter(function(r){return r.phase===i}))},[])}function MDe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function CDe(e){var t=e.reduce(function(n,i){var r=n[i.name];return n[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var z5={placement:"bottom",modifiers:[],strategy:"absolute"};function L5(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function xDe(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,r=t.defaultOptions,a=r===void 0?z5:r;return function(s,u,c){c===void 0&&(c=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},z5,a),modifiersData:{},elements:{reference:s,popper:u},attributes:{},styles:{}},h=[],g=!1,p={state:f,setOptions:function(w){var M=typeof w=="function"?w(f.options):w;v(),f.options=Object.assign({},a,f.options,M),f.scrollParents={reference:gs(s)?uu(s):s.contextElement?uu(s.contextElement):[],popper:uu(u)};var x=kDe(CDe([].concat(i,f.options.modifiers)));return f.orderedModifiers=x.filter(function(_){return _.enabled}),y(),p.update()},forceUpdate:function(){if(!g){var w=f.elements,M=w.reference,x=w.popper;if(L5(M,x)){f.rects={reference:wDe(M,su(x),f.options.strategy==="fixed"),popper:zg(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(D){return f.modifiersData[D.name]=Object.assign({},D.data)});for(var _=0;_<f.orderedModifiers.length;_++){if(f.reset===!0){f.reset=!1,_=-1;continue}var S=f.orderedModifiers[_],N=S.fn,T=S.options,I=T===void 0?{}:T,L=S.name;typeof N=="function"&&(f=N({state:f,options:I,name:L,instance:p})||f)}}}},update:MDe(function(){return new Promise(function(k){p.forceUpdate(),k(f)})}),destroy:function(){v(),g=!0}};if(!L5(s,u))return p;p.setOptions(c).then(function(k){!g&&c.onFirstUpdate&&c.onFirstUpdate(k)});function y(){f.orderedModifiers.forEach(function(k){var w=k.name,M=k.options,x=M===void 0?{}:M,_=k.effect;if(typeof _=="function"){var S=_({state:f,name:w,instance:p,options:x}),N=function(){};h.push(S||N)}})}function v(){h.forEach(function(k){return k()}),h=[]}return p}}var SDe=[qAe,fDe,YAe,WAe,dDe,aDe,pDe,BAe,sDe],_De=xDe({defaultModifiers:SDe}),$5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";function Pf(e){return e.split("-").map(t=>parseInt(t,16)).map(t=>String.fromCodePoint(t)).join("")}function TDe(e,t,n,i=[]){const r={};return Object.keys(e).forEach(a=>{if(i.includes(a))return;const o=[];e[a].forEach(s=>{var u;if(s[kf][0].includes(t.toLocaleLowerCase())){let c=s[m5];if(n!==Cf&&Array.isArray(s[Mf])){const f=((u=s[Mf])==null?void 0:u.findIndex(h=>h.includes(n)))||-1;f!==-1&&s[Mf]&&(c=s[Mf][f])}return o.push({...s,[iu]:c})}}),o.length&&(r[a]=o)}),r}function H5(){var e;return(((e=navigator==null?void 0:navigator.userAgentData)==null?void 0:e.platform)||(navigator==null?void 0:navigator.platform)||"unknown").toUpperCase().indexOf("MAC")!==-1}function R5(e){return e.replace(/^_*(.)|_+(.)/g,(t,n,i)=>n?n.toUpperCase():" "+i.toUpperCase())}var cu=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n};const PDe=l.defineComponent({name:"Body",emits:{select:e=>!0},setup(){const{state:e,updateEmoji:t,updateSelect:n}=l.inject("store"),i=l.ref(null),r=l.computed(()=>TDe(e.emojis,e.search,e.skinTone,e.options.disabledGroups)),a=l.getCurrentInstance(),o=l.computed(()=>!e.options.hideGroupNames),s=l.computed(()=>!e.options.disableStickyGroupNames),u=l.toRaw(e.options.groupNames),c=e.orderedGroupKeys;e.options.additionalGroups&&Object.keys(e.options.additionalGroups).map(y=>{e.options.groupNames[y]?u[y]=e.options.groupNames[y]:u[y]=R5(y)});const f=H5()?"is-mac":"";function h(y){t(y)}function g(y){n(y),a==null||a.emit("select",{...y,t:e.skinTone,i:Pf(y.r)})}function p(y,v){var k;const w=(k=y==null?void 0:y.target)==null?void 0:k.closest("button");w&&(w.innerHTML=`<span>${Pf(v)}</span>`)}return l.watch(()=>e.activeGroup,()=>{var y;const v=(y=i.value)==null?void 0:y.querySelector("#"+e.activeGroup);v&&(v.parentNode.scrollTop=v.offsetTop-v.parentNode.offsetTop)}),{emojis:r,bodyInner:i,EMOJI_REMOTE_SRC:f5,GROUP_NAMES:h5,handleClick:g,handleError:p,handleMouseEnter:h,native:e.options.native,unicodeToEmoji:Pf,EMOJI_RESULT_KEY:iu,EMOJI_NAME_KEY:kf,hasGroupNames:o,isSticky:s,platform:f,groupNames:u,orderedKeys:c}}}),EDe={class:"v3-body"},ADe=["id"],DDe={class:"v3-emojis"},NDe=["onMouseenter","onClick"],jDe={key:0},IDe=["src","alt","onError"],WDe={key:1,class:"v3-no-result"};function ODe(e,t,n,i,r,a){return l.openBlock(),l.createElementBlock("div",EDe,[l.createElementVNode("div",{ref:"bodyInner",class:l.normalizeClass([e.platform,"v3-body-inner"])},[e.orderedKeys.length?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(e.orderedKeys,o=>(l.openBlock(),l.createElementBlock("div",{id:o,key:o,class:"v3-group"},[e.hasGroupNames?l.withDirectives((l.openBlock(),l.createElementBlock("h5",{key:0,class:l.normalizeClass(e.isSticky?"v3-sticky":"")},l.toDisplayString(e.groupNames[o]),3)),[[l.vShow,e.emojis[o]]]):l.createCommentVNode("",!0),l.withDirectives(l.createElementVNode("div",DDe,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.emojis[o],s=>(l.openBlock(),l.createElementBlock("button",{key:s.r,type:"button",onMouseenter:u=>e.handleMouseEnter(s),onClick:u=>e.handleClick(s)},[e.native?(l.openBlock(),l.createElementBlock("span",jDe,l.toDisplayString(e.unicodeToEmoji(s.r)),1)):(l.openBlock(),l.createElementBlock("img",{key:1,src:e.EMOJI_REMOTE_SRC+`/${s.r}.png`,alt:s.n[0],onError:u=>e.handleError(u,s.r)},null,40,IDe))],40,NDe))),128))],512),[[l.vShow,e.emojis[o]]])],8,ADe))),128)):(l.openBlock(),l.createElementBlock("span",WDe," No emoji has been found! "))],2)])}var zDe=cu(PDe,[["render",ODe]]),LDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3NSAxMi41NjI1IEMgMjIuNjg3NSAxMS43MzQzNzUgMjMgMTAuNjYwMTU2IDIzIDkuNSBDIDIzIDguMzM5ODQ0IDIyLjY4NzUgNy4yNjU2MjUgMjIuMDkzNzUgNi40Mzc1IEMgMjEuNSA1LjYwOTM3NSAyMC41NzAzMTMgNSAxOS41IDUgQyAxOC40Mjk2ODggNSAxNy41IDUuNjA5Mzc1IDE2LjkwNjI1IDYuNDM3NSBDIDE2LjMxMjUgNy4yNjU2MjUgMTYgOC4zMzk4NDQgMTYgOS41IFogTSAxMi41IDcgQyAxMi44MTI1IDcgMTMuMTU2MjUgNy4xNTYyNSAxMy40Njg3NSA3LjU5Mzc1IEMgMTMuNzgxMjUgOC4wMzEyNSAxNCA4LjcyNjU2MyAxNCA5LjUgQyAxNCAxMC4yNzM0MzggMTMuNzgxMjUgMTAuOTY4NzUgMTMuNDY4NzUgMTEuNDA2MjUgQyAxMy4xNTYyNSAxMS44NDM3NSAxMi44MTI1IDEyIDEyLjUgMTIgQyAxMi4xODc1IDEyIDExLjg0Mzc1IDExLjg0Mzc1IDExLjUzMTI1IDExLjQwNjI1IEMgMTEuMjE4NzUgMTAuOTY4NzUgMTEgMTAuMjczNDM4IDExIDkuNSBDIDExIDguNzI2NTYzIDExLjIxODc1IDguMDMxMjUgMTEuNTMxMjUgNy41OTM3NSBDIDExLjg0Mzc1IDcuMTU2MjUgMTIuMTg3NSA3IDEyLjUgNyBaIE0gMTkuNSA3IEMgMTkuODEyNSA3IDIwLjE1NjI1IDcuMTU2MjUgMjAuNDY4NzUgNy41OTM3NSBDIDIwLjc4MTI1IDguMDMxMjUgMjEgOC43MjY1NjMgMjEgOS41IEMgMjEgMTAuMjczNDM4IDIwLjc4MTI1IDEwLjk2ODc1IDIwLjQ2ODc1IDExLjQwNjI1IEMgMjAuMTU2MjUgMTEuODQzNzUgMTkuODEyNSAxMiAxOS41IDEyIEMgMTkuMTg3NSAxMiAxOC44NDM3NSAxMS44NDM3NSAxOC41MzEyNSAxMS40MDYyNSBDIDE4LjIxODc1IDEwLjk2ODc1IDE4IDEwLjI3MzQzOCAxOCA5LjUgQyAxOCA4LjcyNjU2MyAxOC4yMTg3NSA4LjAzMTI1IDE4LjUzMTI1IDcuNTkzNzUgQyAxOC44NDM3NSA3LjE1NjI1IDE5LjE4NzUgNyAxOS41IDcgWiBNIDcuNSAxMiBDIDYuNDI5Njg4IDEyIDUuNSAxMi42MDkzNzUgNC45MDYyNSAxMy40Mzc1IEMgNC4zMTI1IDE0LjI2NTYyNSA0IDE1LjMzOTg0NCA0IDE2LjUgQyA0IDE3LjY2MDE1NiA0LjMxMjUgMTguNzM0Mzc1IDQuOTA2MjUgMTkuNTYyNSBDIDUuNSAyMC4zOTA2MjUgNi40Mjk2ODggMjEgNy41IDIxIEMgOC41NzAzMTMgMjEgOS41IDIwLjM5MDYyNSAxMC4wOTM3NSAxOS41NjI1IEMgMTAuNjg3NSAxOC43MzQzNzUgMTEgMTcuNjYwMTU2IDExIDE2LjUgQyAxMSAxNS4zMzk4NDQgMTAuNjg3NSAxNC4yNjU2MjUgMTAuMDkzNzUgMTMuNDM3NSBDIDkuNSAxMi42MDkzNzUgOC41NzAzMTMgMTIgNy41IDEyIFogTSAyNC41IDEyIEMgMjMuNDI5Njg4IDEyIDIyLjUgMTIuNjA5Mzc1IDIxLjkwNjI1IDEzLjQzNzUgQyAyMS4zMTI1IDE0LjI2NTYyNSAyMSAxNS4zMzk4NDQgMjEgMTYuNSBDIDIxIDE3LjY2MDE1NiAyMS4zMTI1IDE4LjczNDM3NSAyMS45MDYyNSAxOS41NjI1IEMgMjIuNSAyMC4zOTA2MjUgMjMuNDI5Njg4IDIxIDI0LjUgMjEgQyAyNS41NzAzMTMgMjEgMjYuNSAyMC4zOTA2MjUgMjcuMDkzNzUgMTkuNTYyNSBDIDI3LjY4NzUgMTguNzM0Mzc1IDI4IDE3LjY2MDE1NiAyOCAxNi41IEMgMjggMTUuMzM5ODQ0IDI3LjY4NzUgMTQuMjY1NjI1IDI3LjA5Mzc1IDEzLjQzNzUgQyAyNi41IDEyLjYwOTM3NSAyNS41NzAzMTMgMTIgMjQuNSAxMiBaIE0gNy41IDE0IEMgNy44MTI1IDE0IDguMTU2MjUgMTQuMTU2MjUgOC40Njg3NSAxNC41OTM3NSBDIDguNzgxMjUgMTUuMDMxMjUgOSAxNS43MjY1NjMgOSAxNi41IEMgOSAxNy4yNzM0MzggOC43ODEyNSAxNy45Njg3NSA4LjQ2ODc1IDE4LjQwNjI1IEMgOC4xNTYyNSAxOC44NDM3NSA3LjgxMjUgMTkgNy41IDE5IEMgNy4xODc1IDE5IDYuODQzNzUgMTguODQzNzUgNi41MzEyNSAxOC40MDYyNSBDIDYuMjE4NzUgMTcuOTY4NzUgNiAxNy4yNzM0MzggNiAxNi41IEMgNiAxNS43MjY1NjMgNi4yMTg3NSAxNS4wMzEyNSA2LjUzMTI1IDE0LjU5Mzc1IEMgNi44NDM3NSAxNC4xNTYyNSA3LjE4NzUgMTQgNy41IDE0IFogTSAyNC41IDE0IEMgMjQuODEyNSAxNCAyNS4xNTYyNSAxNC4xNTYyNSAyNS40Njg3NSAxNC41OTM3NSBDIDI1Ljc4MTI1IDE1LjAzMTI1IDI2IDE1LjcyNjU2MyAyNiAxNi41IEMgMjYgMTcuMjczNDM4IDI1Ljc4MTI1IDE3Ljk2ODc1IDI1LjQ2ODc1IDE4LjQwNjI1IEMgMjUuMTU2MjUgMTguODQzNzUgMjQuODEyNSAxOSAyNC41IDE5IEMgMjQuMTg3NSAxOSAyMy44NDM3NSAxOC44NDM3NSAyMy41MzEyNSAxOC40MDYyNSBDIDIzLjIxODc1IDE3Ljk2ODc1IDIzIDE3LjI3MzQzOCAyMyAxNi41IEMgMjMgMTUuNzI2NTYzIDIzLjIxODc1IDE1LjAzMTI1IDIzLjUzMTI1IDE0LjU5Mzc1IEMgMjMuODQzNzUgMTQuMTU2MjUgMjQuMTg3NSAxNCAyNC41IDE0IFogTSAxNiAxNiBDIDE0LjY2Nzk2OSAxNiAxMy43MzgyODEgMTYuODY3MTg4IDEzLjI4MTI1IDE3LjYyNSBDIDEyLjgyNDIxOSAxOC4zODI4MTMgMTIuNTQ2ODc1IDE5LjAxNTYyNSAxMi4yODEyNSAxOS4yODEyNSBDIDEyLjEyNSAxOS40Mzc1IDExLjE2MDE1NiAxOS44MDA3ODEgMTAuMTU2MjUgMjAuMzEyNSBDIDkuNjUyMzQ0IDIwLjU3MDMxMyA5LjE0NDUzMSAyMC45MTQwNjMgOC43MTg3NSAyMS40Mzc1IEMgOC4yOTI5NjkgMjEuOTYwOTM4IDggMjIuNjg3NSA4IDIzLjUgQyA4IDI1LjQyMTg3NSA5LjU3ODEyNSAyNyAxMS41IDI3IEMgMTIuMzY3MTg4IDI3IDEzLjI2OTUzMSAyNi43MjI2NTYgMTQuMTU2MjUgMjYuNDY4NzUgQyAxNS4wNDI5NjkgMjYuMjE0ODQ0IDE2IDI2IDE2IDI2IEMgMTYgMjYgMTYuOTU3MDMxIDI2LjIxNDg0NCAxNy44NDM3NSAyNi40Njg3NSBDIDE4LjczMDQ2OSAyNi43MjI2NTYgMTkuNjMyODEzIDI3IDIwLjUgMjcgQyAyMi40MjE4NzUgMjcgMjQgMjUuNDIxODc1IDI0IDIzLjUgQyAyNCAyMi43MDcwMzEgMjMuNzA3MDMxIDIxLjk4MDQ2OSAyMy4yODEyNSAyMS40Njg3NSBDIDIyLjg1NTQ2OSAyMC45NTcwMzEgMjIuMzQzNzUgMjAuNjQwNjI1IDIxLjg0Mzc1IDIwLjM3NSBDIDIwLjg0Mzc1IDE5Ljg0Mzc1IDE5Ljg1OTM3NSAxOS40MjE4NzUgMTkuNzE4NzUgMTkuMjgxMjUgQyAxOS40ODA0NjkgMTkuMDQyOTY5IDE5LjIxMDkzOCAxOC4zOTA2MjUgMTguNzUgMTcuNjI1IEMgMTguMjg5MDYzIDE2Ljg1OTM3NSAxNy4zMzk4NDQgMTYgMTYgMTYgWiBNIDE2IDE4IEMgMTYuNjYwMTU2IDE4IDE2LjczNDM3NSAxOC4xNjAxNTYgMTcuMDMxMjUgMTguNjU2MjUgQyAxNy4zMjgxMjUgMTkuMTUyMzQ0IDE3LjU1NDY4OCAxOS45OTIxODggMTguMjgxMjUgMjAuNzE4NzUgQyAxOS4xMDU0NjkgMjEuNTQyOTY5IDIwLjE0ODQzOCAyMS43MjI2NTYgMjAuOTA2MjUgMjIuMTI1IEMgMjEuMjg1MTU2IDIyLjMyODEyNSAyMS41NzgxMjUgMjIuNTQyOTY5IDIxLjc1IDIyLjc1IEMgMjEuOTIxODc1IDIyLjk1NzAzMSAyMiAyMy4xNDg0MzggMjIgMjMuNSBDIDIyIDI0LjMzOTg0NCAyMS4zMzk4NDQgMjUgMjAuNSAyNSBDIDIwLjIxMDkzOCAyNSAxOS4yNzczNDQgMjQuNzc3MzQ0IDE4LjQwNjI1IDI0LjUzMTI1IEMgMTcuNTM1MTU2IDI0LjI4NTE1NiAxNi44MTY0MDYgMjQgMTYgMjQgQyAxNS4xODM1OTQgMjQgMTQuNDY0ODQ0IDI0LjI4NTE1NiAxMy41OTM3NSAyNC41MzEyNSBDIDEyLjcyMjY1NiAyNC43NzczNDQgMTEuNzg5MDYzIDI1IDExLjUgMjUgQyAxMC42NjAxNTYgMjUgMTAgMjQuMzM5ODQ0IDEwIDIzLjUgQyAxMCAyMy4wOTc2NTYgMTAuMDgyMDMxIDIyLjg5MDYyNSAxMC4yNSAyMi42ODc1IEMgMTAuNDE3OTY5IDIyLjQ4NDM3NSAxMC43MjI2NTYgMjIuMjg1MTU2IDExLjA5Mzc1IDIyLjA5Mzc1IEMgMTEuODM5ODQ0IDIxLjcxNDg0NCAxMi44NzUgMjEuNTYyNSAxMy43MTg3NSAyMC43MTg3NSBDIDE0LjQ1MzEyNSAxOS45ODQzNzUgMTQuNjc1NzgxIDE5LjExNzE4OCAxNC45Njg3NSAxOC42MjUgQyAxNS4yNjE3MTkgMTguMTMyODEzIDE1LjMzMjAzMSAxOCAxNiAxOCBaIi8+PC9zdmc+",$De="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSAzIEwgMTEgNyBMIDEzIDcgTCAxMyAzIFogTSAxNSA0IEwgMTUgNyBMIDE3IDcgTCAxNyA0IFogTSA0Ljg3NSA4IEwgNSA5LjA5Mzc1IEwgNi44MTI1IDI2LjMxMjUgQyA2Ljk3MjY1NiAyNy44MzIwMzEgOC4yODUxNTYgMjkgOS44MTI1IDI5IEwgMTkuMTg3NSAyOSBDIDIwLjcxNDg0NCAyOSAyMi4wMjczNDQgMjcuODMyMDMxIDIyLjE4NzUgMjYuMzEyNSBMIDIyLjY1NjI1IDIyIEwgMjUgMjIgQyAyNi42NDQ1MzEgMjIgMjggMjAuNjQ0NTMxIDI4IDE5IEwgMjggMTYgQyAyOCAxNC4zNTU0NjkgMjYuNjQ0NTMxIDEzIDI1IDEzIEwgMjMuNTkzNzUgMTMgTCAyNCA5LjA5Mzc1IEwgMjQuMTI1IDggWiBNIDcuMTI1IDEwIEwgMjEuODc1IDEwIEwgMjAuMTg3NSAyNi4wOTM3NSBDIDIwLjEzMjgxMyAyNi42MTMyODEgMTkuNzA3MDMxIDI3IDE5LjE4NzUgMjcgTCA5LjgxMjUgMjcgQyA5LjI5Mjk2OSAyNyA4Ljg2NzE4OCAyNi42MTMyODEgOC44MTI1IDI2LjA5Mzc1IFogTSAyMy4zNzUgMTUgTCAyNSAxNSBDIDI1LjU2NjQwNiAxNSAyNiAxNS40MzM1OTQgMjYgMTYgTCAyNiAxOSBDIDI2IDE5LjU2NjQwNiAyNS41NjY0MDYgMjAgMjUgMjAgTCAyMi44NDM3NSAyMCBaIi8+PC9zdmc+",HDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiAzIEMgOC44MzIwMzEgMyAzIDguODMyMDMxIDMgMTYgQyAzIDIzLjE2Nzk2OSA4LjgzMjAzMSAyOSAxNiAyOSBDIDIzLjE2Nzk2OSAyOSAyOSAyMy4xNjc5NjkgMjkgMTYgQyAyOSA4LjgzMjAzMSAyMy4xNjc5NjkgMyAxNiAzIFogTSAxNiA1IEMgMTYuNjAxNTYzIDUgMTcuMTc1NzgxIDUuMDYyNSAxNy43NSA1LjE1NjI1IEwgMTYgNi40MDYyNSBMIDE0LjI1IDUuMTU2MjUgQyAxNC44MjAzMTMgNS4wNjY0MDYgMTUuNDAyMzQ0IDUgMTYgNSBaIE0gMTEuODEyNSA1Ljg0Mzc1IEwgMTUuNDA2MjUgOC40Njg3NSBMIDE2IDguOTA2MjUgTCAxNi41OTM3NSA4LjQ2ODc1IEwgMjAuMTg3NSA1Ljg0Mzc1IEMgMjEuNzg1MTU2IDYuNTA3ODEzIDIzLjE5NTMxMyA3LjUyMzQzOCAyNC4zMTI1IDguODEyNSBMIDIyLjkzNzUgMTMuMDkzNzUgTCAyMi43MTg3NSAxMy43ODEyNSBMIDIzLjMxMjUgMTQuMTg3NSBMIDI2LjkzNzUgMTYuODQzNzUgQyAyNi44MDQ2ODggMTguNjA1NDY5IDI2LjI2NTYyNSAyMC4yNTc4MTMgMjUuNDA2MjUgMjEuNjg3NSBMIDIwLjEyNSAyMS42ODc1IEwgMTkuOTA2MjUgMjIuMzc1IEwgMTguNSAyNi43MTg3NSBDIDE3LjY5OTIxOSAyNi45MDYyNSAxNi44NTkzNzUgMjcgMTYgMjcgQyAxNS4xMDU0NjkgMjcgMTQuMjM4MjgxIDI2Ljg4NjcxOSAxMy40MDYyNSAyNi42ODc1IEwgMTIuMDMxMjUgMjIuNDA2MjUgTCAxMS44MTI1IDIxLjcxODc1IEwgNi41OTM3NSAyMS43MTg3NSBDIDUuNzE4NzUgMjAuMjgxMjUgNS4xOTkyMTkgMTguNjIxMDk0IDUuMDYyNSAxNi44NDM3NSBMIDguNjU2MjUgMTQuMjE4NzUgTCA5LjI1IDEzLjgxMjUgTCA5LjAzMTI1IDEzLjEyNSBMIDcuNjI1IDguODc1IEMgOC43NSA3LjU1NDY4OCAxMC4xODM1OTQgNi41MTU2MjUgMTEuODEyNSA1Ljg0Mzc1IFogTSAxNiAxMC4wOTM3NSBMIDE1LjQwNjI1IDEwLjUzMTI1IEwgMTAuODQzNzUgMTMuODQzNzUgTCAxMC4yODEyNSAxNC4yODEyNSBMIDEwLjUgMTQuOTY4NzUgTCAxMi4yNSAyMC4zMTI1IEwgMTIuNDY4NzUgMjEgTCAxOS41MzEyNSAyMSBMIDE5Ljc1IDIwLjMxMjUgTCAyMS41IDE0Ljk2ODc1IEwgMjEuNzE4NzUgMTQuMjgxMjUgTCAyMS4xNTYyNSAxMy44NDM3NSBMIDE2LjU5Mzc1IDEwLjUzMTI1IFogTSAyNS43NSAxMC45MDYyNSBDIDI2LjI5Njg3NSAxMS45NTMxMjUgMjYuNjU2MjUgMTMuMTAxNTYzIDI2Ljg0Mzc1IDE0LjMxMjUgTCAyNS4wNjI1IDEzLjAzMTI1IFogTSA2LjIxODc1IDEwLjk2ODc1IEwgNi45MDYyNSAxMy4wMzEyNSBMIDUuMTU2MjUgMTQuMzEyNSBDIDUuMzM5ODQ0IDEzLjEyNSA1LjY4NzUgMTIgNi4yMTg3NSAxMC45Njg3NSBaIE0gMTYgMTIuNTkzNzUgTCAxOS4zNzUgMTUuMDMxMjUgTCAxOC4wOTM3NSAxOSBMIDEzLjkwNjI1IDE5IEwgMTIuNjI1IDE1LjAzMTI1IFogTSAyMS41OTM3NSAyMy42ODc1IEwgMjMuODQzNzUgMjMuNjg3NSBDIDIyLjk5MjE4OCAyNC41NjY0MDYgMjIuMDExNzE5IDI1LjI5Mjk2OSAyMC45MDYyNSAyNS44NDM3NSBaIE0gOC4xNTYyNSAyMy43MTg3NSBMIDEwLjM0Mzc1IDIzLjcxODc1IEwgMTEuMDMxMjUgMjUuODEyNSBDIDkuOTYwOTM4IDI1LjI2OTUzMSA4Ljk4ODI4MSAyNC41NjI1IDguMTU2MjUgMjMuNzE4NzUgWiIvPjwvc3ZnPg==",RDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5LjUgNiBDIDguMTc5Njg4IDYgNy4wMDM5MDYgNi44NTkzNzUgNi42MjUgOC4xMjUgTCA1LjI1IDEyLjcxODc1IEwgMy4zMTI1IDEyLjA2MjUgTCAyLjY4NzUgMTMuOTM3NSBMIDQuNjU2MjUgMTQuNTkzNzUgTCA0LjAzMTI1IDE2LjcxODc1IEMgNC4wMDc4MTMgMTYuODA4NTk0IDMuOTk2MDk0IDE2LjkwNjI1IDQgMTcgTCA0IDI0IEMgNCAyNC4wMzEyNSA0IDI0LjA2MjUgNCAyNC4wOTM3NSBMIDQgMjUgQyA0IDI1LjU1MDc4MSA0LjQ0OTIxOSAyNiA1IDI2IEwgOCAyNiBMIDguMzQzNzUgMjUgTCAyMy42NTYyNSAyNSBMIDI0IDI2IEwgMjcgMjYgQyAyNy41NTA3ODEgMjYgMjggMjUuNTUwNzgxIDI4IDI1IEwgMjggMjQuMTU2MjUgQyAyOC4wMDM5MDYgMjQuMTA1NDY5IDI4LjAwMzkwNiAyNC4wNTA3ODEgMjggMjQgTCAyOCAxNyBDIDI4LjAwMzkwNiAxNi45MDYyNSAyNy45OTIxODggMTYuODA4NTk0IDI3Ljk2ODc1IDE2LjcxODc1IEwgMjcuMzQzNzUgMTQuNTkzNzUgTCAyOS4zMTI1IDEzLjkzNzUgTCAyOC42ODc1IDEyLjA2MjUgTCAyNi43NSAxMi43MTg3NSBMIDI1LjM3NSA4LjEyNSBDIDI0Ljk5NjA5NCA2Ljg1OTM3NSAyMy44MjAzMTMgNiAyMi41IDYgWiBNIDkuNSA4IEwgMjIuNSA4IEMgMjIuOTQ1MzEzIDggMjMuMzM5ODQ0IDguMjkyOTY5IDIzLjQ2ODc1IDguNzE4NzUgTCAyNC43NSAxMyBMIDcuMjUgMTMgTCA4LjUzMTI1IDguNzE4NzUgQyA4LjY2MDE1NiA4LjI4OTA2MyA5LjA1NDY4OCA4IDkuNSA4IFogTSA2LjY1NjI1IDE1IEwgMjUuMzQzNzUgMTUgTCAyNiAxNy4xODc1IEwgMjYgMjMgTCA2IDIzIEwgNiAxNy4xODc1IFogTSA4LjUgMTYgQyA3LjY3MTg3NSAxNiA3IDE2LjY3MTg3NSA3IDE3LjUgQyA3IDE4LjMyODEyNSA3LjY3MTg3NSAxOSA4LjUgMTkgQyA5LjMyODEyNSAxOSAxMCAxOC4zMjgxMjUgMTAgMTcuNSBDIDEwIDE2LjY3MTg3NSA5LjMyODEyNSAxNiA4LjUgMTYgWiBNIDIzLjUgMTYgQyAyMi42NzE4NzUgMTYgMjIgMTYuNjcxODc1IDIyIDE3LjUgQyAyMiAxOC4zMjgxMjUgMjIuNjcxODc1IDE5IDIzLjUgMTkgQyAyNC4zMjgxMjUgMTkgMjUgMTguMzI4MTI1IDI1IDE3LjUgQyAyNSAxNi42NzE4NzUgMjQuMzI4MTI1IDE2IDIzLjUgMTYgWiBNIDEyIDE5IEwgMTAuNzUgMjIgTCAxMi45MDYyNSAyMiBMIDEzLjM0Mzc1IDIxIEwgMTguNjU2MjUgMjEgTCAxOS4wOTM3NSAyMiBMIDIxLjI1IDIyIEwgMjAgMTkgWiIvPjwvc3ZnPg==",BDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuMDQyOTY5IDQgNyA4LjA0Mjk2OSA3IDEzIEMgNyAxNC45MTc5NjkgNy44NDM3NSAxNi45MDYyNSA5IDE4LjY4NzUgQyA5Ljg1OTM3NSAyMC4wMTE3MTkgMTAuODg2NzE5IDIxLjIzMDQ2OSAxMiAyMi4xNTYyNSBMIDEyIDI1IEMgMTIgMjYuMDkzNzUgMTIuOTA2MjUgMjcgMTQgMjcgTCAxNSAyOCBMIDE3IDI4IEwgMTggMjcgQyAxOS4wOTM3NSAyNyAyMCAyNi4wOTM3NSAyMCAyNSBMIDIwIDIyLjE1NjI1IEMgMjEuMTEzMjgxIDIxLjIzMDQ2OSAyMi4xNDA2MjUgMjAuMDExNzE5IDIzIDE4LjY4NzUgQyAyNC4xNTYyNSAxNi45MDYyNSAyNSAxNC45MTc5NjkgMjUgMTMgQyAyNSA4LjA0Mjk2OSAyMC45NTcwMzEgNCAxNiA0IFogTSAxNiA2IEMgMTkuODc4OTA2IDYgMjMgOS4xMjEwOTQgMjMgMTMgQyAyMyAxNC4zMDg1OTQgMjIuMzU1NDY5IDE2LjAzNTE1NiAyMS4zNDM3NSAxNy41OTM3NSBDIDIwLjQ0MTQwNiAxOC45ODQzNzUgMTkuMjUzOTA2IDIwLjIyMjY1NiAxOC4xNTYyNSAyMSBMIDEzLjg0Mzc1IDIxIEMgMTIuNzQ2MDk0IDIwLjIyMjY1NiAxMS41NTg1OTQgMTguOTg0Mzc1IDEwLjY1NjI1IDE3LjU5Mzc1IEMgOS42NDQ1MzEgMTYuMDM1MTU2IDkgMTQuMzA4NTk0IDkgMTMgQyA5IDkuMTIxMDk0IDEyLjEyMTA5NCA2IDE2IDYgWiBNIDE0LjI1IDIzIEwgMTcuNzUgMjMgQyAxNy44MjgxMjUgMjMuMDU0Njg4IDE3LjkxMDE1NiAyMy4wOTM3NSAxOCAyMy4xMjUgTCAxOCAyNSBMIDE0IDI1IEwgMTQgMjMuMTI1IEMgMTQuMDg5ODQ0IDIzLjA5Mzc1IDE0LjE3MTg3NSAyMy4wNTQ2ODggMTQuMjUgMjMgWiIvPjwvc3ZnPg==",VDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSA1IEwgMTEgMTEgTCA1IDExIEwgNSAxMyBMIDExIDEzIEwgMTEgMTkgTCA1IDE5IEwgNSAyMSBMIDExIDIxIEwgMTEgMjcgTCAxMyAyNyBMIDEzIDIxIEwgMTkgMjEgTCAxOSAyNyBMIDIxIDI3IEwgMjEgMjEgTCAyNyAyMSBMIDI3IDE5IEwgMjEgMTkgTCAyMSAxMyBMIDI3IDEzIEwgMjcgMTEgTCAyMSAxMSBMIDIxIDUgTCAxOSA1IEwgMTkgMTEgTCAxMyAxMSBMIDEzIDUgWiBNIDEzIDEzIEwgMTkgMTMgTCAxOSAxOSBMIDEzIDE5IFoiLz48L3N2Zz4=",FDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5IDQgQyA3LjM0NiA0IDYgNS4zNDYgNiA3IEMgNiA4LjMwMTYwOTQgNi44Mzg3NDg2IDkuNDAyMTM5MSA4IDkuODE2NDA2MiBMIDggMTEuMzA0Njg4IEwgOCAyMy4yMDcwMzEgTCA4IDI3LjAyMzQzOCBDIDggMjcuNTYzNDM4IDguNDM2NTYyNSAyOCA4Ljk3NjU2MjUgMjggTCA5LjAyMzQzNzUgMjggQyA5LjU2MzQzNzUgMjggMTAgMjcuNTYzNDM3IDEwIDI3LjAyMzQzOCBMIDEwIDIyLjIyODUxNiBDIDEwLjMzNDcwNyAyMS44Mzk3NTYgMTEuMTM4NDIzIDIxLjA0Njg3NSAxMy40NDUzMTIgMjEuMDQ2ODc1IEMgMTQuNjY5MzEzIDIxLjA0Njg3NSAxNS42NzA0MjIgMjEuNDczNzgxIDE2LjczMjQyMiAyMS45MjU3ODEgQyAxNy43Njk0MjIgMjIuMzY3NzgxIDE4Ljg0MTg5MSAyMi44MjQyMTkgMjAuMDg3ODkxIDIyLjgyNDIxOSBDIDIyLjQ0Njg5MSAyMi44MjQyMTkgMjQuMDQ5Mzc1IDIxLjU4NDY4OCAyNC43MzQzNzUgMjEuMDU0Njg4IEwgMjQuODg2NzE5IDIwLjkzOTQ1MyBDIDI1LjQzNzcxOSAyMC41NDA0NTMgMjYgMTkuOTk2IDI2IDE5IEwgMjYgMTAuNjc1NzgxIEMgMjYgOS43Njc3ODEyIDI1LjIyMTgyOCA5IDI0LjI5ODgyOCA5IEMgMjMuODAzODI4IDkgMjMuNDQwNDA2IDkuMjg2NTkzNyAyMi45NDE0MDYgOS42ODM1OTM4IEMgMjIuMjc5NDA2IDEwLjIwNzU5NCAyMS4yODA4OTEgMTEgMjAuMDg3ODkxIDExIEMgMTkuMjcyODkxIDExIDE4LjQ3NzY4OCAxMC42MTk3MzQgMTcuNTU0Njg4IDEwLjE3NzczNCBDIDE2LjQwMzY4NyA5LjYyNTczNDQgMTUuMDk4MzU5IDkgMTMuNDQzMzU5IDkgQyAxMi4zMDgyNTcgOSAxMS40MjE2ODcgOS4xODgzMzkzIDEwLjcxMjg5MSA5LjQ1NzAzMTIgQyAxMS40ODkwNzEgOC45MTQxODI0IDEyIDguMDE2NzgwMiAxMiA3IEMgMTIgNS4zNDYgMTAuNjU0IDQgOSA0IHogTSA5IDYgQyA5LjU1MiA2IDEwIDYuNDQ5IDEwIDcgQyAxMCA3LjU1MSA5LjU1MiA4IDkgOCBDIDguNDQ4IDggOCA3LjU1MSA4IDcgQyA4IDYuNDQ5IDguNDQ4IDYgOSA2IHogTSAxMy40NDMzNTkgMTEgQyAxNC42NDUzNTkgMTEgMTUuNjM4NDA2IDExLjQ3NjQ2OSAxNi42OTE0MDYgMTEuOTgwNDY5IEMgMTcuNzM2NDA2IDEyLjQ4MjQ2OSAxOC44MTc4OTEgMTMgMjAuMDg3ODkxIDEzIEMgMjEuODQyODkxIDEzIDIzLjE1ODA0NyAxMi4wNTQ0ODQgMjMuOTk4MDQ3IDExLjM5NjQ4NCBMIDIzLjk5ODA0NyAxOS4wNjY0MDYgQyAyMy45OTcwNDcgMTkuMDcwNDA2IDIzLjk1Mjk4NCAxOS4xNDUyNjYgMjMuNzA4OTg0IDE5LjMyMjI2NiBMIDIzLjUwOTc2NiAxOS40NzQ2MDkgQyAyMi45NDI3NjYgMTkuOTEyNjA5IDIxLjc2Mjg5MSAyMC44MjQyMTkgMjAuMDg3ODkxIDIwLjgyNDIxOSBDIDE5LjI0OTg5MSAyMC44MjQyMTkgMTguNDQ2NjI1IDIwLjQ4MjkzNyAxNy41MTU2MjUgMjAuMDg1OTM4IEMgMTYuMzcyNjI1IDE5LjU5NzkzOCAxNS4wNzYzNTkgMTkuMDQ0OTIyIDEzLjQ0MzM1OSAxOS4wNDQ5MjIgQyAxMS44OTEzNTkgMTkuMDQ0OTIyIDEwLjc4NiAxOS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==",UDe="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";const YDe=l.defineComponent({name:"Header",setup(e){const{state:t,updateSearch:n,updateActiveGroup:i}=l.inject("store"),r=l.computed(()=>!t.options.hideSearch),a=l.computed(()=>!t.options.hideGroupIcons),o=JSON.parse(JSON.stringify(t.orderedGroupKeys)),s=l.computed(()=>t.options.staticTexts.placeholder||""),u=l.computed({get:()=>t.search,set:h=>n(h)}),c=[...t.groups,...Object.keys(t.options.additionalGroups).map(h=>({key:h,title:t.options.groupNames[h]?t.options.groupNames[h]:R5(h)}))],f=[];return o.forEach(h=>{const g=c.findIndex(p=>p.key===h);g!==-1&&(f.push(c[g]),c.splice(g,1))}),{orderedGroups:f,orderedKeys:o,searchValue:u,updateActiveGroup:i,hasSearch:r,hasGroupIcons:a,placeholder:s,icons:{smileys_people:$5,animals_nature:LDe,food_drink:$De,activities:HDe,travel_places:RDe,objects:BDe,symbols:VDe,flags:FDe,...t.options.groupIcons,recent:UDe}}}}),XDe={key:0,class:"v3-header"},qDe={key:0,class:"v3-groups"},GDe=["onClick"],KDe=["title"],QDe=["src"],JDe={key:1,class:"v3-spacing"},ZDe={key:2,class:"v3-search"},eNe=["placeholder"];function tNe(e,t,n,i,r,a){return e.hasGroupIcons||e.hasSearch?(l.openBlock(),l.createElementBlock("div",XDe,[e.hasGroupIcons?(l.openBlock(),l.createElementBlock("div",qDe,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.orderedGroups,o=>(l.openBlock(),l.createElementBlock("button",{key:o.key,type:"button",class:l.normalizeClass(["v3-group",{"v3-is-hidden":!e.icons[o.key]}]),onClick:s=>e.updateActiveGroup(o.key)},[l.createElementVNode("span",{title:o.title,class:"v3-icon"},[l.createElementVNode("img",{src:e.icons[o.key],alt:""},null,8,QDe)],8,KDe)],10,GDe))),128))])):l.createCommentVNode("",!0),e.hasGroupIcons&&e.hasSearch?(l.openBlock(),l.createElementBlock("div",JDe)):l.createCommentVNode("",!0),e.hasSearch?(l.openBlock(),l.createElementBlock("div",ZDe,[l.withDirectives(l.createElementVNode("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>e.searchValue=o),type:"text",placeholder:e.placeholder},null,8,eNe),[[l.vModelText,e.searchValue]])])):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)}var nNe=cu(YDe,[["render",tNe]]);const iNe=l.defineComponent({name:"Header",setup(){const{state:e,updateSkinTone:t}=l.inject("store"),n=l.ref(!1),i=l.ref(!1),r=l.computed(()=>e.skinTone),a=l.computed(()=>e.options.staticTexts.skinTone||"Skin tone"),o=l.computed(()=>!e.options.disableSkinTones),s=H5()?"is-mac":"",u=l.computed(()=>({...e.emoji,src:f5+"/"+e.emoji[iu]+".png"}));function c(g=!0){n.value=g}function f(){n.value=!n.value}function h(g){t(g),c(!1)}return l.watch(()=>e.emoji,()=>{i.value=!1}),{emoji:u,SKIN_TONES:iAe,updateSkinToneState:c,skinTone:n,stateSkinTone:r,selectSkinTone:h,toggleSkinToneState:f,EMOJI_RESULT_KEY:iu,EMOJI_NAME_KEY:kf,skinToneText:a,hasSkinTones:o,native:e.options.native,unicodeToEmoji:Pf,platform:s,hasError:i}}}),rNe={class:"v3-foot-left"},aNe={key:0},oNe=["alt","src"],sNe={class:"v3-text"},lNe={class:"v3-text"},uNe=["onClick"];function dNe(e,t,n,i,r,a){return l.openBlock(),l.createElementBlock("div",{class:"v3-footer",onMouseleave:t[2]||(t[2]=o=>e.updateSkinToneState(!1))},[l.createElementVNode("div",rNe,[l.createElementVNode("span",{class:l.normalizeClass([e.platform,"v3-icon"])},[e.native||e.hasError?(l.openBlock(),l.createElementBlock("span",aNe,l.toDisplayString(e.unicodeToEmoji(e.emoji.r)),1)):(l.openBlock(),l.createElementBlock("img",{key:1,alt:e.unicodeToEmoji(e.emoji.r),src:e.emoji.src,onError:t[0]||(t[0]=o=>e.hasError=!0)},null,40,oNe))],2),l.createElementVNode("span",sNe," :"+l.toDisplayString(e.emoji[e.EMOJI_NAME_KEY][1]||e.emoji[e.EMOJI_NAME_KEY][0])+": ",1)]),e.hasSkinTones?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("button",{type:"button",class:"v3-tone",onClick:t[1]||(t[1]=(...o)=>e.toggleSkinToneState&&e.toggleSkinToneState(...o))},[l.createElementVNode("span",lNe,l.toDisplayString(e.skinToneText),1),l.createElementVNode("span",{class:l.normalizeClass(`v3-icon v3-tone-${e.stateSkinTone}`)},null,2)]),l.createElementVNode("div",{class:l.normalizeClass([e.skinTone?"v3-is-open":"","v3-skin-tones"])},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.SKIN_TONES,o=>(l.openBlock(),l.createElementBlock("button",{key:o,type:"button",class:l.normalizeClass(["v3-skin-tone-"+o,"v3-skin-tone"]),onClick:s=>e.selectSkinTone(o)},null,10,uNe))),128))],2)],64)):l.createCommentVNode("",!0)],32)}var cNe=cu(iNe,[["render",dNe]]);const fNe=l.defineComponent({name:"PickerRoot",components:{Header:nNe,Body:zDe,Footer:cNe},props:{type:{type:String,default:""},text:{type:String,default:""},additionalGroups:{type:Object,default:()=>({})},groupOrder:{type:Array,default:()=>[]},groupIcons:{type:Object,default:()=>({})},groupNames:{type:Object,default:()=>({})}},emits:{select:e=>!0,"update:text":e=>!0},setup(e,{emit:t}){const n=l.ref(),i=l.ref(),r=l.ref(),a=l.ref(!1),o=l.ref(e.text),s=e.type==="input"||e.type==="textarea";let u=-1;const{state:c}=l.inject("store"),f=l.computed(()=>c.options.colorTheme);function h(k){if(s){const w=c.options.mode;w==="prepend"?o.value=k.i+o.value:w==="insert"&&u!==-1?(o.value=`${o.value.slice(0,u)}${k.i}${o.value.slice(u)}`,u+=k.i.length):o.value+=k.i,t("update:text",o.value)}t("select",k)}function g(){var k;n.value&&(u=((k=n.value)==null?void 0:k.selectionEnd)||-1)}function p(k){var w;!((w=k.target)!=null&&w.closest(".v3-input-picker-wrap"))&&a.value&&(a.value=!1)}function y(){if(i.value&&r.value&&s){let k=c.options.offset;typeof k!="number"&&(k=6),_De(i.value,r.value,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,k]}}]}),document.body.addEventListener("click",p)}}function v(k){o.value=k.target.value||"",t("update:text",o.value)}return l.onMounted(()=>{y()}),l.onBeforeUnmount(()=>{document.body.removeEventListener("click",p)}),{face:$5,open:a,onSelect:h,input:o,elem:n,updateCursor:g,button:i,picker:r,isInputType:s,onChangeText:v,colorTheme:f}}}),hNe={key:0,class:"v3-input-emoji-picker"},mNe={class:"v3-input-picker-root"},pNe=["value"],gNe=["value"],yNe=["src"];function bNe(e,t,n,i,r,a){const o=l.resolveComponent("Header"),s=l.resolveComponent("Body"),u=l.resolveComponent("Footer");return e.isInputType?(l.openBlock(),l.createElementBlock("div",hNe,[l.createElementVNode("div",mNe,[e.type==="input"?(l.openBlock(),l.createElementBlock("input",{key:0,ref:"elem",value:e.input,type:"text",class:"v3-emoji-picker-input",onInput:t[0]||(t[0]=(...c)=>e.onChangeText&&e.onChangeText(...c)),onBlur:t[1]||(t[1]=(...c)=>e.updateCursor&&e.updateCursor(...c))},null,40,pNe)):(l.openBlock(),l.createElementBlock("textarea",{key:1,ref:"elem",value:e.input,class:"v3-emoji-picker-textarea",onInput:t[2]||(t[2]=(...c)=>e.onChangeText&&e.onChangeText(...c)),onBlur:t[3]||(t[3]=(...c)=>e.updateCursor&&e.updateCursor(...c))},null,40,gNe)),l.createElementVNode("div",{class:l.normalizeClass(["v3-input-picker-wrap",e.open?"v3-picker-is-open":""])},[l.createElementVNode("button",{ref:"button",type:"button",class:"v3-input-picker-icon",onClick:t[4]||(t[4]=c=>e.open=!e.open)},[l.createElementVNode("img",{src:e.face,alt:""},null,8,yNe)],512),l.createElementVNode("div",{ref:"picker",class:l.normalizeClass(["v3-emoji-picker","v3-color-theme-"+e.colorTheme])},[l.createVNode(o),l.createVNode(s,{onSelect:e.onSelect},null,8,["onSelect"]),l.createVNode(u)],2)],2)])])):(l.openBlock(),l.createElementBlock("div",{key:1,class:l.normalizeClass(["v3-emoji-picker","v3-color-theme-"+e.colorTheme])},[l.createVNode(o),l.createVNode(s,{onSelect:e.onSelect},null,8,["onSelect"]),l.createVNode(u)],2))}var wNe=cu(fNe,[["render",bNe]]);const vNe=l.defineComponent({name:"Picker",components:{PickerRoot:wNe},props:{native:{type:Boolean,default:!1},hideSearch:{type:Boolean,default:!1},hideGroupIcons:{type:Boolean,default:!1},hideGroupNames:{type:Boolean,default:!1},staticTexts:{type:Object,default:()=>({})},disableStickyGroupNames:{type:Boolean,default:!1},disabledGroups:{type:Array,default:()=>[]},groupNames:{type:Object,default:()=>({})},disableSkinTones:{type:Boolean,default:!1},text:{type:String,default:""},mode:{type:String,default:"insert"},offset:{type:Number,default:6},additionalGroups:{type:Object,default:()=>({})},groupOrder:{type:Array,default:()=>[]},groupIcons:{type:Object,default:()=>({})},pickerType:{type:String,default:""},displayRecent:{type:Boolean,default:!1},theme:{type:String,default:"light"}},emits:{"update:text":e=>!0,select:e=>!0},setup(e,{emit:t}){const n=l.ref(e.text);function i(a){n.value=a||"",t("update:text",n.value)}const r=vAe();return r.updateOptions({native:e.native,hideSearch:e.hideSearch,hideGroupIcons:e.hideGroupIcons,hideGroupNames:e.hideGroupNames,staticTexts:{...rAe,...e.staticTexts},disableStickyGroupNames:e.disableStickyGroupNames,disabledGroups:e.disabledGroups,groupNames:{...h5,...e.groupNames},disableSkinTones:e.disableSkinTones,displayRecent:e.displayRecent,additionalGroups:e.additionalGroups,mode:e.mode,offset:e.offset,groupOrder:e.groupOrder,groupIcons:e.groupIcons,colorTheme:aAe.includes(e.theme)?e.theme:"light"}),l.provide("store",r),{type:e.pickerType,input:n,onChangeText:i}}});function kNe(e,t,n,i,r,a){const o=l.resolveComponent("picker-root");return l.openBlock(),l.createBlock(o,{type:e.type,text:e.input,onSelect:t[0]||(t[0]=s=>e.$emit("select",s)),"onUpdate:text":e.onChangeText},null,8,["type","text","onUpdate:text"])}var B5=cu(vNe,[["render",kNe]]),Ef=(e=>(e.primary="primary",e.secondary="secondary",e.red="red",e.green="green",e.yellow="yellow",e.blue="blue",e.white="white",e.black="black",e))(Ef||{});const MNe={class:"editor-component"},CNe={class:"right-buttons"},xNe={class:"toolbar"},Vg=l.defineComponent({__name:"ContentEditor",props:l.mergeModels({activeAttachFile:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:l.mergeModels(["unmount-send","unmount-attach-file"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const i=e,r=l.useModel(e,"modelValue"),a=l.ref(!1),o=l.ref({vertical:"bottom",horizontal:"left"}),s=n,u=l.computed(()=>{var S;return["emoji-picker",`emoji-picker-${o.value.vertical}`,`emoji-picker-${o.value.horizontal}`,(S=h.value)!=null&&S.isEmpty?"":"translateX"]}),c=l.ref(null),f=gn.create({name:"spanNode",inline:!0,group:"inline",atom:!0,selectable:!1,addAttributes(){return{class:{default:"link"},content:{default:""}}},parseHTML(){return[{tag:"span[data-span]"}]},renderHTML({node:S,HTMLAttributes:N}){return["span",ht(N,{"data-span":"",contenteditable:"false",class:S==null?void 0:S.attrs.class}),S==null?void 0:S.attrs.content]}}),h=bPe({extensions:[QEe.configure({link:!1}),cEe.configure({openOnClick:!1,HTMLAttributes:{class:"link"}}),eAe,tAe.configure({placeholder:"Начните печатать...",emptyEditorClass:"is-editor-empty"}),f],content:r.value,onUpdate:({editor:S})=>{r.value=S.getHTML()},parseOptions:{preserveWhitespace:!0}});l.watch(r,S=>{h!=null&&h.value&&S!==h.value.getHTML()&&h.value.commands.setContent(S??"",{parseOptions:{preserveWhitespace:!0}})});const g=S=>{h!=null&&h.value&&h.value.chain().focus().insertContent(S.i).run()},p=(S=!1)=>{if(!(h!=null&&h.value))return;const N=document.createElement("input");N.type="file",N.multiple=!0,S&&(N.accept="image/*,video/*"),N.onchange=()=>{N!=null&&N.files&&s("unmount-attach-file",N.files,S)},N.click()},y=()=>{h!=null&&h.value&&s("unmount-send",{content:h.value.getHTML()})},v=S=>{h!=null&&h.value&&h.value.chain().focus().insertContent({type:"spanNode",attrs:{content:S+",",class:"link"}}).run()},k=(S,N=300,T=260)=>{if(!S)return;const I=S.getBoundingClientRect(),L=window.innerWidth,D=window.innerHeight;o.value.vertical=I.bottom+T>D?"top":"bottom",o.value.horizontal=I.left+N>L?"right":"left"},w=S=>{if(a.value=!a.value,a.value){const N=S.currentTarget;l.nextTick(()=>{k(N)})}},M=()=>{a.value=!1},x=()=>{const S=document.querySelector(".toolbar-button.smile-button");a.value&&S&&k(S)},_=S=>{S.key==="Enter"&&!(S.shiftKey||S.ctrlKey||S.metaKey)&&(S.preventDefault(),S.stopPropagation(),y())};return l.onMounted(()=>{var S,N;(N=(S=h==null?void 0:h.value)==null?void 0:S.view)!=null&&N.dom&&(c.value=h.value.view.dom,window.addEventListener("resize",x),window.addEventListener("scroll",x,!0),c.value.addEventListener("keydown",_,{capture:!0}))}),l.onBeforeUnmount(()=>{var S;(S=h==null?void 0:h.value)==null||S.destroy(),c.value&&c.value.removeEventListener("keydown",_,{capture:!0}),window.removeEventListener("resize",x),window.removeEventListener("scroll",x,!0)}),t({addSpanLink:v}),(S,N)=>{var T,I;return l.openBlock(),l.createElementBlock("div",MNe,[l.createVNode(Go,{isWCUse:"",disabled:!i.activeAttachFile,options:[{value:"Фото или видео",function:()=>p(!0)},{value:"Файл",function:()=>p(!1)}],translateY:"-115px",class:"mobile-item"},{trigger:l.withCtx(()=>[l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button attach-file-button mobile-buttons",disabled:!i.activeAttachFile},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).paperClip},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),l.createVNode(l.unref(yPe),{class:"editor-content",editor:l.unref(h)},null,8,["editor"]),l.createElementVNode("div",CNe,[l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button mobile-buttons smile-button",onClick:l.withModifiers(w,["stop"])},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).smile},null,8,["name"]),l.withDirectives(l.createElementVNode("div",{onClick:N[0]||(N[0]=l.withModifiers(()=>{},["stop"])),class:l.normalizeClass(u.value)},[l.createVNode(l.unref(B5),{native:!0,onSelect:g})],2),[[l.vShow,a.value]])]),_:1},8,["type","size"]),l.withDirectives(l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button right mobile-buttons",onClick:y},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).planeRight,width:21,height:21},null,8,["name"])]),_:1},8,["type","size"]),[[l.vShow,!((T=l.unref(h))!=null&&T.isEmpty)]])]),l.createElementVNode("div",xNe,[l.createVNode(Go,{isWCUse:"",disabled:!i.activeAttachFile,options:[{value:"Фото или видео",function:()=>p(!0)},{value:"Файл",function:()=>p(!1)}],translateY:"-115px"},{trigger:l.withCtx(()=>[l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button attach-file-button",disabled:!i.activeAttachFile},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).paperClip,width:16,height:16},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),l.createCommentVNode("",!0),l.createVNode(yt,{type:l.unref(Qe).ghost,size:l.unref(vn).small,class:"toolbar-button smile-button",onClick:l.withModifiers(w,["stop"])},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).smile,width:16,height:16},null,8,["name"]),l.withDirectives(l.createElementVNode("div",{onClick:N[1]||(N[1]=l.withModifiers(()=>{},["stop"])),class:l.normalizeClass(u.value)},[l.withDirectives(l.createVNode(l.unref(B5),{native:!0,onSelect:g},null,512),[[l.unref(vo),M,void 0,{bubble:!0}]])],2),[[l.vShow,a.value]])]),_:1},8,["type","size"]),l.createVNode(yt,{disabled:(I=l.unref(h))==null?void 0:I.isEmpty,class:"toolbar-button right",size:l.unref(vn).small,onClick:y},{default:l.withCtx(()=>[l.createVNode(we,{name:l.unref(se).planeRight,color:l.unref(Ef).white,width:16,height:16},null,8,["name","color"])]),_:1},8,["disabled","size"])])])}}}),SNe=["data-testid"],_Ne=["data-testid"],TNe=me(l.defineComponent({name:"BaseCropper",__name:"BaseCropper",props:{image:{},max:{default:3},min:{default:1},step:{default:.5}},emits:["unmount-scale"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=l.useTemplateRef("canvas"),o=l.useTemplateRef("container"),s=l.reactive({ctx:null,image:null,id:l.useId(),scale:1,position:{x:0,y:0},isDragging:!1,startX:0,startY:0,minScale:i.min,maxScale:i.max,stepScale:i.step});l.watch(()=>i.image,()=>{i.image&&h(i.image)});const u=()=>{a.value&&(s.ctx=a.value.getContext("2d")),c(),window.addEventListener("resize",c)},c=()=>{if(o.value){const{width:N,height:T}=o.value.getBoundingClientRect();a.value&&(a.value.width=N,a.value.height=T),s.image&&f()}},f=()=>{if(s.image){const N=s.ctx,T=a.value;N&&T&&(N.clearRect(0,0,T.width,T.height),N.drawImage(s.image,s.position.x,s.position.y,s.image.width*s.scale,s.image.height*s.scale))}},h=N=>{const T=new FileReader;T.onload=async I=>{var L;typeof((L=I.target)==null?void 0:L.result)=="string"&&(s.image=new Image,s.image.src=I.target.result,s.image.onload=async()=>{if(await l.nextTick(),a.value&&s.image){const D=a.value.width,z=a.value.height,H=s.image.width/s.image.height,X=D/z;H>X?(s.image.width=D,s.image.height=D/H):(s.image.height=z,s.image.width=z*H),c(),s.position.x=(a.value.width-s.image.width)/2,s.position.y=(a.value.height-s.image.height)/2,f()}})},T.readAsDataURL(N)},g=N=>{s.isDragging=!0,s.startX=N.clientX-s.position.x,s.startY=N.clientY-s.position.y,window.addEventListener("mousemove",p),window.addEventListener("mouseup",y)},p=N=>{if(!s.isDragging&&!a.value)return;let T=N.clientX-s.startX,I=N.clientY-s.startY;if(a.value&&s.image){const L=a.value.width-s.image.width*s.scale;s.image.width*s.scale<a.value.width?T=Math.min(Math.max(T,0),a.value.width-s.image.width*s.scale):(T>0&&(T=0),T<L&&(T=L));const D=a.value.height-s.image.height*s.scale;s.image.height*s.scale<a.value.height?I=Math.min(Math.max(I,0),a.value.height-s.image.height*s.scale):(I>0&&(I=0),I<D&&(I=D)),s.position.x=T,s.position.y=I}f()},y=()=>{s.isDragging=!1,window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",y)},v=N=>Math.max(s.minScale,Math.min(N,s.maxScale)),k=N=>{if(a.value){const T=a.value.width/2,I=a.value.height/2;s.position.x=T-(T-s.position.x)*N,s.position.y=I-(I-s.position.y)*N}},w=N=>{const T=s.scale,I=s.scale+N.deltaY*-.001;if(T===v(I))return;s.scale=v(I);const L=I/T;k(L),r("unmount-scale",s.scale),f()};return t({cropImage:()=>{if(o.value){const{width:N,height:T}=o.value.getBoundingClientRect(),I=document.createElement("canvas");I.width=N,I.height=T;const L=I.getContext("2d");L&&s.image&&L.drawImage(s.image,s.position.x,s.position.y,s.image.width*s.scale,s.image.height*s.scale);const D=I.toDataURL("image/png"),z=atob(D.split(",")[1]),H=new ArrayBuffer(z.length),X=new Uint8Array(H);for(let ee=0;ee<z.length;ee++)X[ee]=z.charCodeAt(ee);const re=new Blob([X],{type:"image/png"});return i.image?new File([re],i.image.name,{type:"image/png"}):null}return null},scalePlus:()=>{const N=s.scale+s.stepScale;s.scale=v(N),f()},scaleMinus:()=>{const N=s.scale-s.stepScale;s.scale=v(N),f()},setScale:N=>{const T=s.scale,L=N/T;s.scale=v(N),k(L),f()},startMove:g,scaleImage:w}),l.onMounted(()=>{u(),i.image&&h(i.image)}),(N,T)=>(l.openBlock(),l.createElementBlock("div",{ref_key:"container",ref:o,class:"base-cropper","data-testid":`BaseCropper-${s.id}`},[l.createElementVNode("canvas",{ref_key:"canvas",ref:a,class:"base-cropper__canvas","data-testid":`BaseCropper-${s.id}-canvas`,onMousedown:g,onWheel:l.withModifiers(w,["prevent"])},null,40,_Ne)],8,SNe))}}),[["__scopeId","data-v-df483607"]]),PNe=e=>{const t=l.ref(e==null?void 0:e.defaultValue),n=e==null?void 0:e.min,i=e==null?void 0:e.max,r=e==null?void 0:e.step;l.watch(t,o=>{t.value=a(o)});const a=o=>Math.max(n,Math.min(o,i));return{value:t,min:n,max:i,step:r,getCorrectValue:a}},ENe=(e,t)=>new File([e],t,{type:e.type}),ANe=["data-testid"],DNe=["data-testid"],NNe=["data-testid"],jNe=["data-testid"],INe=["data-testid"],WNe=["data-testid"],Fg=me(l.defineComponent({name:"ModalCroppedAvatar",__name:"ModalCroppedAvatar",props:{image:{},open:{type:Boolean},position:{default:"center"},width:{default:"650px"},height:{default:"auto"},dataTestid:{}},emits:["unmount-close","unmount-save"],setup(e,{emit:t}){const n=e,i=t,{max:r,min:a,step:o,value:s}=PNe({defaultValue:1,max:3,min:1,step:.1}),u=l.useId(),c=l.useTemplateRef("cropper"),f=l.reactive({openModal:!1});l.watch(s,()=>{c.value&&c.value.setScale(s.value)});const h=()=>{f.openModal=!1,i("unmount-close")},g=k=>{s.value=k},p=()=>{s.value=s.value-o},y=()=>{s.value=s.value+o},v=()=>{if(c.value){const k=c.value.cropImage();if(k){const w=k.name,M=ENe(k,w);i("unmount-save",M),h()}}};return l.onUnmounted(()=>{h()}),l.onMounted(()=>{n.open===void 0&&(f.openModal=n.open)}),(k,w)=>(l.openBlock(),l.createBlock(Xd,l.mergeProps(n,{class:"modal-cropped-avatar","data-testid":`ModalCroppedAvatar-${l.unref(u)}`,onClose:h}),{default:l.withCtx(()=>[l.createElementVNode("div",{class:"modal-cropped-avatar__content","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content`},[l.createElementVNode("div",{class:"modal-cropped-avatar__title","data-testid":`ModalCroppedAvatar-${l.unref(u)}-title`}," Изменение фото профиля ",8,DNe),l.createElementVNode("div",{class:"modal-cropped-avatar__main","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-main`},[l.createElementVNode("div",{class:"modal-cropped-avatar__cropped","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-main-cropped`},[l.createVNode(TNe,{ref_key:"cropper",ref:c,image:e.image,max:l.unref(r),min:l.unref(a),step:l.unref(o),class:"modal-cropped-avatar__cropper",onUnmountScale:g},null,8,["image","max","min","step"]),l.createElementVNode("div",{class:"modal-cropped-avatar__tools","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-tools`},[l.createVNode(we,{name:l.unref(se).minus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-iconMinus`,onClick:p},null,8,["name","data-testid"]),l.createVNode(Zd,{max:l.unref(r),min:l.unref(a),step:l.unref(o),modelValue:l.unref(s),"onUpdate:modelValue":w[0]||(w[0]=M=>l.isRef(s)?s.value=M:null),"data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-Range`},null,8,["max","min","step","modelValue","data-testid"]),l.createVNode(we,{name:l.unref(se).plus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-IconPlus`,onClick:y},null,8,["name","data-testid"])],8,INe)],8,jNe),l.createElementVNode("div",{class:"modal-cropped-avatar__buttons","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-buttons`},[l.createVNode(yt,{type:l.unref(Qe).outline,class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-ButtonCancel`,onClick:h},{default:l.withCtx(()=>[...w[1]||(w[1]=[l.createTextVNode(" Отменить ",-1)])]),_:1},8,["type","data-testid"]),l.createVNode(yt,{class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${l.unref(u)}-content-buttonSave`,onClick:v},{default:l.withCtx(()=>[...w[2]||(w[2]=[l.createTextVNode(" Сохранить ",-1)])]),_:1},8,["data-testid"])],8,WNe)],8,NNe)],8,ANe)]),_:1},16,["data-testid"]))}}),[["__scopeId","data-v-65b5d91e"]]),ONe={class:"time-picker-dialog-content"},zNe={class:"time-picker-header"},LNe={key:0,class:"clock-face"},$Ne={key:1,class:"clock-face"},HNe={key:0,class:"clock-number__dot"},RNe={class:"time-picker-actions"},Ug=me(l.defineComponent({__name:"TimePicker",props:{modelValue:{},disabled:{type:Boolean},hideClearButton:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=t,r=l.reactive({openModal:!1,hours:void 0,minutes:void 0,editingValue:"hour",openClock:!1,localHours:void 0,localMinutes:void 0}),a=l.ref(null);l.watch(()=>n.modelValue,_=>{if(_){const S=new Date(_);r.localHours=S.getHours(),r.localMinutes=S.getMinutes()}else r.localHours=void 0,r.localMinutes=void 0},{immediate:!0}),l.watch(()=>r.openModal,_=>{_&&(r.hours=Number(r.localHours)||0,r.minutes=Number(r.localMinutes)||0)});const o=l.computed(()=>r.localHours!==void 0&&r.localMinutes!==void 0?`${String(r.localHours).padStart(2,"0")}:${String(r.localMinutes).padStart(2,"0")}`:"-- --"),s=l.computed(()=>({transform:`rotate(${(r.hours??0)%12*30}deg)`})),u=l.computed(()=>({transform:`rotate(${(r.minutes??0)*6}deg)`}));function c(_,S=100){const N=_%12/12*360,T=S*Math.sin(N*Math.PI/180),I=-S*Math.cos(N*Math.PI/180);return{left:`calc(50% + ${T}px - 24.5px)`,top:`calc(50% + ${I}px - 23.5px)`}}function f(_){var L;const S=(L=a.value)==null?void 0:L.getBoundingClientRect();if(!S)return 0;const N=_.clientX-(S.left+S.width/2),T=_.clientY-(S.top+S.height/2);return(Math.atan2(T,N)*(180/Math.PI)+90+360)%360}function h(_){const S=f(_);if(r.editingValue==="hour"){const T=Math.hypot(_.clientX-(a.value.getBoundingClientRect().left+128),_.clientY-(a.value.getBoundingClientRect().top+128))<90,I=Math.round(S/30)%12||12;r.hours=(T?I+12:I)%24}else r.minutes=Math.round(S/6)%60}function g(_){h(_)}function p(_){h(_),document.addEventListener("mousemove",y),document.addEventListener("mouseup",v)}function y(_){h(_)}function v(){document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",v)}l.onBeforeUnmount(()=>v());function k(){r.openModal=!1}function w(){r.editingValue="hour",r.openModal=!0}function M(){if(r.hours===void 0||r.minutes===void 0)return;const _=n.modelValue?new Date(n.modelValue):new Date,S=new Date(_.getFullYear(),_.getMonth(),_.getDate(),+r.hours,+r.minutes,0,0),N=new Date(S.getTime()).toISOString();i("update:modelValue",N),r.localHours=r.hours,r.localMinutes=r.minutes,k()}function x(){r.hours=void 0,r.minutes=void 0,r.localHours=void 0,r.localMinutes=void 0,i("update:modelValue",null)}return(_,S)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createElementVNode("div",{class:l.normalizeClass({"time-picker-select":!0,disabled:n.disabled})},[l.createElementVNode("div",{class:"time-picker-select-content",onClick:w},[l.createVNode(we,{name:l.unref(se).time},null,8,["name"]),l.createElementVNode("span",null,l.toDisplayString(o.value),1),!n.hideClearButton&&(r.localHours!==void 0||r.localMinutes!==void 0)?(l.openBlock(),l.createElementBlock("div",{key:0,class:"time-picker-select-clear",onClick:l.withModifiers(x,["stop"])},[l.createVNode(we,{name:l.unref(se).closeTag,width:16,height:16},null,8,["name"])])):l.createCommentVNode("",!0)])],2),l.createVNode(zd,{open:r.openModal,onClose:k,class:"time-picker-dialog",width:"328px"},{default:l.withCtx(()=>[l.createElementVNode("div",ONe,[S[11]||(S[11]=l.createElementVNode("h3",null,"Установка времени",-1)),l.createElementVNode("div",zNe,[l.createElementVNode("div",null,[l.createVNode(wl,{"model-value":r.hours,"onUpdate:modelValue":S[0]||(S[0]=N=>r.hours=+N),min:0,max:23,class:l.normalizeClass({"time-picker-input":!0,pressed:r.editingValue==="hour"}),"input-message":"","is-integer":"","zero-pad":"",onClick:S[1]||(S[1]=N=>r.editingValue="hour")},null,8,["model-value","class"]),S[5]||(S[5]=l.createElementVNode("span",null,"Часы",-1))]),S[7]||(S[7]=l.createElementVNode("span",{class:"time-picker-separator"},":",-1)),l.createElementVNode("div",null,[l.createVNode(wl,{"model-value":r.minutes,"onUpdate:modelValue":S[2]||(S[2]=N=>r.minutes=+N),min:0,max:59,class:l.normalizeClass({"time-picker-input":!0,pressed:r.editingValue==="minute"}),"input-message":"","is-integer":"","zero-pad":"",onClick:S[3]||(S[3]=N=>r.editingValue="minute")},null,8,["model-value","class"]),S[6]||(S[6]=l.createElementVNode("span",null,"Минуты",-1))])]),r.openClock?(l.openBlock(),l.createElementBlock("div",{key:0,class:"time-picker-clock",ref_key:"clockRef",ref:a,onMousedown:p,onClick:g},[r.editingValue==="hour"?(l.openBlock(),l.createElementBlock("div",LNe,[l.createElementVNode("div",{class:"clock-hand",style:l.normalizeStyle(s.value)},null,4),(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(12,N=>l.createElementVNode("div",{key:"outer-"+N,class:l.normalizeClass({"clock-number":!0,active:N===Number(r.hours)}),style:l.normalizeStyle(c(N,100))},l.toDisplayString(N),7)),64)),(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(12,N=>l.createElementVNode("div",{key:"inner-"+N,class:l.normalizeClass({"clock-number":!0,active:N+12===(Number(r.hours)||24)}),style:l.normalizeStyle(c(N+12,70))},l.toDisplayString(N+12),7)),64))])):(l.openBlock(),l.createElementBlock("div",$Ne,[l.createElementVNode("div",{class:"clock-hand",style:l.normalizeStyle(u.value)},null,4),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Array.from({length:60},(N,T)=>T),N=>(l.openBlock(),l.createElementBlock("div",{key:N,class:l.normalizeClass({"clock-number":!0,active:N===Number(r.minutes||0)}),style:l.normalizeStyle(c(N/5,100))},[N===Number(r.minutes)&&N%5?(l.openBlock(),l.createElementBlock("div",HNe)):l.createCommentVNode("",!0),l.createTextVNode(" "+l.toDisplayString(N%5?"":N%60),1)],6))),128))])),S[8]||(S[8]=l.createElementVNode("div",{class:"clock-hand-center"},null,-1))],544)):l.createCommentVNode("",!0),l.createElementVNode("div",RNe,[l.createElementVNode("div",{class:"time-picker-actions__switch",onClick:S[4]||(S[4]=N=>r.openClock=!r.openClock)},[l.createVNode(we,{name:r.openClock?l.unref(se).keyboard:l.unref(se).time},null,8,["name"])]),l.createVNode(yt,{size:l.unref(vn).little,type:l.unref(Qe).ghost,onClick:k},{default:l.withCtx(()=>[...S[9]||(S[9]=[l.createTextVNode("Отменить ",-1)])]),_:1},8,["size","type"]),l.createVNode(yt,{size:l.unref(vn).little,type:l.unref(Qe).primary,onClick:M},{default:l.withCtx(()=>[...S[10]||(S[10]=[l.createTextVNode("Сохранить ",-1)])]),_:1},8,["size","type"])])])]),_:1},8,["open"])],64))}}),[["__scopeId","data-v-706b3fd9"]]),Yg={install(e,t={enabled:!0}){if(!(t.enabled??!1)){console.info("[removeDataTestidPlugin] Plugin is disabled.");return}const i=r=>{r.removeAttribute("data-testid"),Array.from(r.children).forEach(i)};e.mixin({mounted(){i(this.$el)}})}},V5={Accordion:M1,Badges:Ut,BreadCrumbs:Ch,Dialog:zd,DragAndDrop:C1,Card:x1,Combobox:_1,Calendar:Zm,Button:yt,Switch:Eu,SelectList:ko,Dropdown:Hh,Textarea:j1,Filter:S1,Icon:we,Input:P1,InputNumber:wl,Picture:I1,PushNotification:W1,Scroll:A1,Search:yl,Modal:Xd,Slider:E1,Checkbox:D1,Toggle:Vd,UserMenu:N1,CopyIcon:O1,Loader:z1,FilterTag:L1,CircularProgress:$1,Popover:Go,Table:H1,TableNew:F1,TableSimple:Y1,TableRow:Qd,TableRowNew:U1,TableTd:Jd,TableTh:Ko,SectionTableRow:R1,HeadTableRow:xl,HeadTableRowNew:ec,ScrollWrapper:Sl,ScrollWrapperNew:dCe,Radio:B1,Tooltip:Cl,BaseFilter:V1,Range:Zd,Tabs:X1,ContentEditor:Vg,ModalCroppedAvatar:Fg,Avatar:Gd,TimePicker:Ug},F5=Object.freeze(Object.defineProperty({__proto__:null,Accordion:M1,Avatar:Gd,Badges:Ut,BadgesTypeEnum:nt,BaseFilter:V1,BreadCrumbs:Ch,Button:yt,ButtonTypeEnum:Qe,Calendar:Zm,Card:x1,Checkbox:D1,CheckboxSizeEnum:qd,CircularProgress:$1,ColorsEnum:Ef,Combobox:_1,ContentEditor:Vg,CopyIcon:O1,Dialog:zd,DragAndDrop:C1,Dropdown:Hh,Filter:S1,FilterTag:L1,HeadTableRow:xl,HeadTableRowNew:ec,Icon:we,IconNameEnum:se,ImageExtensionsEnum:Hd,Input:P1,InputNumber:wl,InputTypeEnum:T1,Loader:z1,MenuTypeEnum:rt,Modal:Xd,ModalCroppedAvatar:Fg,Picture:I1,Popover:Go,PushNotification:W1,Radio:B1,Range:Zd,Scroll:A1,ScrollWrapper:Sl,Search:yl,SectionTableRow:R1,SelectList:ko,SizesEnum:vn,Slider:E1,Switch:Eu,Table:H1,TableNew:F1,TableRow:Qd,TableRowNew:U1,TableSimple:Y1,TableTd:Jd,TableTh:Ko,Tabs:X1,TextFieldEnum:$d,Textarea:j1,TextareaTypeEnum:Kd,TimePicker:Ug,Toggle:Vd,Tooltip:Cl,UserMenu:N1,VideoExtensionsEnum:Rd,default:{install:e=>{Object.keys(V5).forEach(t=>{e.component("Y"+t,V5[t])})}},getFirstTime:Hw,getLastTime:vd,vuePluginRemoveTestid:Yg},Symbol.toStringTag,{value:"Module"})),BNe={install(e){for(const t in F5){const n=F5[t];e.use(n).use(Yg,{enabled:!1})}}};U.Accordion=M1,U.Avatar=Gd,U.Badges=Ut,U.BadgesTypeEnum=nt,U.BaseFilter=V1,U.BreadCrumbs=Ch,U.Button=yt,U.ButtonTypeEnum=Qe,U.Calendar=Zm,U.Card=x1,U.Checkbox=D1,U.CheckboxSizeEnum=qd,U.CircularProgress=$1,U.ColorsEnum=Ef,U.Combobox=_1,U.ContentEditor=Vg,U.CopyIcon=O1,U.Dialog=zd,U.DragAndDrop=C1,U.Dropdown=Hh,U.Filter=S1,U.FilterTag=L1,U.HeadTableRow=xl,U.HeadTableRowNew=ec,U.Icon=we,U.IconNameEnum=se,U.ImageExtensionsEnum=Hd,U.Input=P1,U.InputNumber=wl,U.InputTypeEnum=T1,U.Loader=z1,U.MenuTypeEnum=rt,U.Modal=Xd,U.ModalCroppedAvatar=Fg,U.OnClickOutside=yS,U.OnLongPress=MS,U.Picture=I1,U.Popover=Go,U.PushNotification=W1,U.Radio=B1,U.Range=Zd,U.Scroll=A1,U.ScrollWrapper=Sl,U.Search=yl,U.SectionTableRow=R1,U.SelectList=ko,U.SizesEnum=vn,U.Slider=E1,U.Switch=Eu,U.Table=H1,U.TableNew=F1,U.TableRow=Qd,U.TableRowNew=U1,U.TableSimple=Y1,U.TableTd=Jd,U.TableTh=Ko,U.Tabs=X1,U.TextFieldEnum=$d,U.Textarea=j1,U.TextareaTypeEnum=Kd,U.TimePicker=Ug,U.Toggle=Vd,U.Tooltip=Cl,U.UseActiveElement=CS,U.UseBattery=xS,U.UseBrowserLocation=SS,U.UseClipboard=_S,U.UseColorMode=zS,U.UseDark=LS,U.UseDeviceMotion=$S,U.UseDeviceOrientation=HS,U.UseDevicePixelRatio=RS,U.UseDevicesList=BS,U.UseDocumentVisibility=VS,U.UseDraggable=FS,U.UseElementBounding=US,U.UseElementSize=XS,U.UseElementVisibility=KS,U.UseEyeDropper=JS,U.UseFullscreen=ZS,U.UseGeolocation=e_,U.UseIdle=t_,U.UseImage=a_,U.UseMouse=l_,U.UseMouseInElement=u_,U.UseMousePressed=d_,U.UseNetwork=c_,U.UseNow=f_,U.UseObjectUrl=h_,U.UseOffsetPagination=m_,U.UseOnline=p_,U.UsePageLeave=g_,U.UsePointer=y_,U.UsePointerLock=b_,U.UsePreferredColorScheme=w_,U.UsePreferredContrast=v_,U.UsePreferredDark=k_,U.UsePreferredLanguages=M_,U.UsePreferredReducedMotion=C_,U.UseScreenSafeArea=T_,U.UseTimeAgo=j_,U.UseTimestamp=I_,U.UseVirtualList=W_,U.UseWindowFocus=O_,U.UseWindowSize=z_,U.UserMenu=N1,U.VOnClickOutside=vo,U.VOnLongPress=Qy,U.VideoExtensionsEnum=Rd,U.VueToolsCore=jMe,U.arrow=m4e,U.autoPlacement=Iw,U.autoUpdate=Nw,U.computePosition=Ww,U.default=BNe,U.detectOverflow=a4e,U.flip=s4e,U.getFirstTime=Hw,U.getLastTime=vd,U.getOverflowAncestors=Oo,U.hide=u4e,U.inline=c4e,U.limitShift=f4e,U.offset=jw,U.platform=Aw,U.shift=o4e,U.size=l4e,U.useFloating=Lw,U.useSearch=o3,U.vElementHover=YS,U.vElementSize=GS,U.vElementVisibility=QS,U.vInfiniteScroll=o_,U.vIntersectionObserver=s_,U.vOnClickOutside=vo,U.vOnKeyStroke=wS,U.vOnLongPress=Qy,U.vResizeObserver=x_,U.vScroll=P_,U.vScrollLock=N_,U.vuePluginRemoveTestid=Yg,Object.defineProperties(U,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|