@pksep/yui 0.1.241 → 0.1.242
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sep-yui.es.ts +29 -36
- package/dist/sep-yui.umd.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/sep-yui.umd.ts
CHANGED
|
@@ -1376,7 +1376,7 @@
|
|
|
1376
1376
|
@change-date=${this.handleDateSelected}
|
|
1377
1377
|
></col-cal-dates>
|
|
1378
1378
|
</div>
|
|
1379
|
-
`}};sl([Dg({type:Object})],dn.prototype,"date",2),sl([Dg({type:Object})],dn.prototype,"minDate",2),sl([Dg({type:Object})],dn.prototype,"maxDate",2),sl([Dg({type:String})],dn.prototype,"locale",2),sl([Dg({type:Number})],dn.prototype,"firstDayOfWeek",2),sl([Dg({type:Array})],dn.prototype,"disabledDates",2),sl([Dg({type:Array})],dn.prototype,"events",2),sl([qG()],dn.prototype,"_date",2),dn=sl([Ba("col-cal")],dn);const Hkg=["data-testid"],Dkg=["data-testid"],Skg=["data-testid"],Kkg=["required","data-testid"],kkg=["data-testid"],Fkg=["data-testid","disabled"],zkg=["data-testid","disabled"],Jkg=s.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:it.medium},zeroPad:{type:Boolean,default:!1},modelModifiers:{default:()=>({})},dataTestid:{default:"InputNumber"}},emits:["update:modelValue","focused"],setup(C,{emit:g}){const I=g,e=C,t=s.reactive({isPressed:!1,inputElement:e.modelValue||(e.min>0?e.min:0),prevValue:""}),i=/^-?\d{0,10}(\.\d{0,7})?$/,A=s.ref(null);function n(B,p=2){return e.zeroPad&&!isNaN(+B)?String(B).padStart(p,"0"):String(B)}s.watch(()=>e.isInteger,()=>{e.isInteger&&(t.inputElement=o(t.inputElement.toString()),a(t.inputElement))}),s.watch([()=>e.min,()=>e.max],()=>{m(),d()}),s.watch(()=>e.modelValue,(B,p)=>{t.inputElement=e.zeroPad&&(!t.isPressed||Number(p)===0)?n(B):B});const l=B=>{let p=B.target.value;e.zeroPad&&p==="00"||(p=o(p)),a(p),!isNaN(+t.inputElement)&&Number(t.inputElement)<=e.max&&Number(t.inputElement)>=e.min&&I("update:modelValue",t.inputElement)},o=B=>{let p=B.replace(",",".");return e.isInteger&&p.includes(".")&&(p=p.replace(".","")),p==="."?p="0"+p:p==="-."&&(p="-0."+p.slice(2)),/[^\d.]/.test(p)&&(p=p.replace(e.min>=0?/[^0-9.]/g:/[^0-9.-]/g,"")),p.includes("-")&&(p=(p.startsWith("-")?"-":"")+p.replace(/-/g,"")),p.startsWith("0")&&p.length>1&&!p.startsWith("0.")&&(p=p.replace(/^0+/,"")),p.startsWith("-0")&&p.length>2&&!p.startsWith("-0.")&&(p="-"+p.slice(2).replace(/^0+/,"")),(p.match(/\./g)||[]).length>1&&(p=p.slice(0,p.lastIndexOf("."))+p.slice(p.lastIndexOf(".")+1)),p},a=B=>{Number(B)>e.max?t.inputElement=e.max:t.inputElement=B,t.inputElement!==""&&!i.test(`${t.inputElement}`)&&(t.inputElement=t.prevValue)},d=()=>{Number(t.inputElement)<e.min&&(t.inputElement=e.min,I("update:modelValue",+t.inputElement))},m=()=>{Number(t.inputElement)>e.max&&(t.inputElement=e.max,I("update:modelValue",+t.inputElement))},u=B=>{t.prevValue=t.inputElement,B.key==="ArrowUp"&&G(),B.key==="ArrowDown"&&w()},h=B=>{t.isPressed=!0,I("focused",B)},Z=()=>{(t.inputElement===""||t.inputElement===null||isNaN(+t.inputElement))&&(t.inputElement=e.min>0?e.min:0),isNaN(+t.inputElement)&&(t.inputElement=Math.max(e.min,0)),Number(t.inputElement)>e.max?t.inputElement=e.max:Number(t.inputElement)<e.min&&(t.inputElement=e.min),t.inputElement=`${t.inputElement}`.replace(/(\.\d*?[1-9])0+$/,"$1").replace(/\.0+$/,""),t.inputElement=n(t.inputElement),I("update:modelValue",t.inputElement),t.isPressed=!1},G=()=>{var B;+t.inputElement+1<e.max?t.inputElement=+t.inputElement+1:e.max!==1/0?t.inputElement=e.max:t.inputElement=0,i.test(`${t.inputElement}`)?(t.inputElement=n(t.inputElement),I("update:modelValue",t.inputElement)):t.inputElement=t.prevValue,(B=A.value)==null||B.focus()},w=()=>{var B;+t.inputElement-1>e.min?t.inputElement=+t.inputElement-1:e.min!==-1/0?t.inputElement=e.min:t.inputElement=0,t.inputElement=n(t.inputElement),I("update:modelValue",+t.inputElement),(B=A.value)==null||B.focus()};return s.onMounted(()=>{m(),d()}),(B,p)=>(s.openBlock(),s.createElementBlock("fieldset",{class:s.normalizeClass(["input-yui-kit input-yui-kit_number initial",{pressed:t.isPressed,[e.size]:!0}]),"data-testid":e.dataTestid,onFocusout:Z},[e.inputMessage?(s.openBlock(),s.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${e.dataTestid}-Legend`},[s.createTextVNode(s.toDisplayString(e.inputMessage),1),e.required?(s.openBlock(),s.createElementBlock("sup",{key:0,class:"input-yui-kit__star","data-testid":`${e.dataTestid}-Star`},"*",8,Skg)):s.createCommentVNode("",!0)],8,Dkg)):s.createCommentVNode("",!0),s.withDirectives(s.createElementVNode("input",{ref_key:"inputNumberRef",ref:A,"onUpdate:modelValue":p[0]||(p[0]=y=>t.inputElement=y),onFocus:h,onInput:l,onKeydown:u,class:"input-yui-kit__input",required:e.required,"data-testid":`${e.dataTestid}-Input`,type:"text"},null,40,Kkg),[[s.vModelText,t.inputElement]]),s.createElementVNode("div",{class:"input-yui-kit__buttons","data-testid":`${e.dataTestid}-Buttons`},[s.createElementVNode("button",{class:"input-yui-kit__button-up","data-testid":`${e.dataTestid}-UpButton`,onMousedown:s.withModifiers(G,["prevent"]),disabled:+t.inputElement>=e.max},[s.createVNode(Xg,{name:s.unref(ug).chevronUp,"data-testid":`${e.dataTestid}-Icon`},null,8,["name","data-testid"])],40,Fkg),s.createElementVNode("button",{class:"input-yui-kit__button-down","data-testid":`${e.dataTestid}-DownButton`,onMousedown:s.withModifiers(w,["prevent"]),disabled:+t.inputElement<=e.min},[s.createVNode(Xg,{name:s.unref(ug).chevronDown,"data-testid":`${e.dataTestid}-Icon`},null,8,["name","data-testid"])],40,zkg)],8,kkg)],42,Hkg))}}),Gh=fg(Jkg,[["__scopeId","data-v-2b033e0d"]]);function xH(C,g){var I;const e=s.shallowRef();return s.watchEffect(()=>{e.value=C()},{...g,flush:(I=g==null?void 0:g.flush)!=null?I:"sync"}),s.readonly(e)}function hY(C,g){let I,e,t;const i=s.ref(!0),A=()=>{i.value=!0,t()};s.watch(C,A,{flush:"sync"});const n=typeof g=="function"?g:g.get,l=typeof g=="function"?void 0:g.set,o=s.customRef((a,d)=>(e=a,t=d,{get(){return i.value&&(I=n(I),i.value=!1),e(),I},set(m){l==null||l(m)}}));return Object.isExtensible(o)&&(o.trigger=A),o}function mI(C){return s.getCurrentScope()?(s.onScopeDispose(C),!0):!1}function ct(){const C=new Set,g=t=>{C.delete(t)};return{on:t=>{C.add(t);const i=()=>g(t);return mI(i),{off:i}},off:g,trigger:(...t)=>Promise.all(Array.from(C).map(i=>i(...t)))}}function Lkg(C){let g=!1,I;const e=s.effectScope(!0);return(...t)=>(g||(I=e.run(()=>C(...t)),g=!0),I)}const Ar=new WeakMap,OH=(C,g)=>{var I;const e=(I=s.getCurrentInstance())==null?void 0:I.proxy;if(e==null)throw new Error("provideLocal must be called in setup");Ar.has(e)||Ar.set(e,Object.create(null));const t=Ar.get(e);t[C]=g,s.provide(C,g)},QH=(...C)=>{var g;const I=C[0],e=(g=s.getCurrentInstance())==null?void 0:g.proxy;if(e==null)throw new Error("injectLocal must be called in setup");return Ar.has(e)&&I in Ar.get(e)?Ar.get(e)[I]:s.inject(...C)};function Tkg(C,g){const I=(g==null?void 0:g.injectionKey)||Symbol(C.name||"InjectionState"),e=g==null?void 0:g.defaultValue;return[(...A)=>{const n=C(...A);return OH(I,n),n},()=>QH(I,e)]}function vkg(C){let g=0,I,e;const t=()=>{g-=1,e&&g<=0&&(e.stop(),I=void 0,e=void 0)};return(...i)=>(g+=1,e||(e=s.effectScope(!0),I=e.run(()=>C(...i))),mI(t),I)}function UH(C,g,{enumerable:I=!1,unwrap:e=!0}={}){for(const[t,i]of Object.entries(g))t!=="value"&&(s.isRef(i)&&e?Object.defineProperty(C,t,{get(){return i.value},set(A){i.value=A},enumerable:I}):Object.defineProperty(C,t,{value:i,enumerable:I}));return C}function jkg(C,g){return g==null?s.unref(C):s.unref(C)[g]}function xkg(C){return s.unref(C)!=null}function EH(C,g){if(typeof Symbol<"u"){const I={...C};return Object.defineProperty(I,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:g[e++],done:e>g.length})}}}),I}else return Object.assign([...g],C)}function U(C){return typeof C=="function"?C():s.unref(C)}const Okg=U;function bY(C,g){const I=(g==null?void 0:g.computedGetter)===!1?s.unref:U;return function(...e){return s.computed(()=>C.apply(this,e.map(t=>I(t))))}}function Qkg(C,g={}){let I=[],e;if(Array.isArray(g))I=g;else{e=g;const{includeOwnProperties:t=!0}=g;I.push(...Object.keys(C)),t&&I.push(...Object.getOwnPropertyNames(C))}return Object.fromEntries(I.map(t=>{const i=C[t];return[t,typeof i=="function"?bY(i.bind(C),e):i]}))}function PH(C){if(!s.isRef(C))return s.reactive(C);const g=new Proxy({},{get(I,e,t){return s.unref(Reflect.get(C.value,e,t))},set(I,e,t){return s.isRef(C.value[e])&&!s.isRef(t)?C.value[e].value=t:C.value[e]=t,!0},deleteProperty(I,e){return Reflect.deleteProperty(C.value,e)},has(I,e){return Reflect.has(C.value,e)},ownKeys(){return Object.keys(C.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return s.reactive(g)}function ZY(C){return PH(s.computed(C))}function Ukg(C,...g){const I=g.flat(),e=I[0];return ZY(()=>Object.fromEntries(typeof e=="function"?Object.entries(s.toRefs(C)).filter(([t,i])=>!e(U(i),t)):Object.entries(s.toRefs(C)).filter(t=>!I.includes(t[0]))))}const oe=typeof window<"u"&&typeof document<"u",_H=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,$H=C=>typeof C<"u",bw=C=>C!=null,Ekg=(C,...g)=>{C||console.warn(...g)},Pkg=Object.prototype.toString,wh=C=>Pkg.call(C)==="[object Object]",_kg=()=>Date.now(),Xa=()=>+Date.now(),Zw=(C,g,I)=>Math.min(I,Math.max(g,C)),XI=()=>{},$kg=(C,g)=>(C=Math.ceil(C),g=Math.floor(g),Math.floor(Math.random()*(g-C+1))+C),qH=(C,g)=>Object.prototype.hasOwnProperty.call(C,g),Gw=qkg();function qkg(){var C,g;return oe&&((C=window==null?void 0:window.navigator)==null?void 0:C.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((g=window==null?void 0:window.navigator)==null?void 0:g.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ha(C,g){function I(...e){return new Promise((t,i)=>{Promise.resolve(C(()=>g.apply(this,e),{fn:g,thisArg:this,args:e})).then(t).catch(i)})}return I}const Wh=C=>C();function ww(C,g={}){let I,e,t=XI;const i=n=>{clearTimeout(n),t(),t=XI};return n=>{const l=U(C),o=U(g.maxWait);return I&&i(I),l<=0||o!==void 0&&o<=0?(e&&(i(e),e=null),Promise.resolve(n())):new Promise((a,d)=>{t=g.rejectOnCancel?d:a,o&&!e&&(e=setTimeout(()=>{I&&i(I),e=null,a(n())},o)),I=setTimeout(()=>{e&&i(e),e=null,a(n())},l)})}}function Bh(...C){let g=0,I,e=!0,t=XI,i,A,n,l,o;!s.isRef(C[0])&&typeof C[0]=="object"?{delay:A,trailing:n=!0,leading:l=!0,rejectOnCancel:o=!1}=C[0]:[A,n=!0,l=!0,o=!1]=C;const a=()=>{I&&(clearTimeout(I),I=void 0,t(),t=XI)};return m=>{const u=U(A),h=Date.now()-g,Z=()=>i=m();return a(),u<=0?(g=Date.now(),Z()):(h>u&&(l||!e)?(g=Date.now(),Z()):n&&(i=new Promise((G,w)=>{t=o?w:G,I=setTimeout(()=>{g=Date.now(),e=!0,G(Z()),a()},Math.max(0,u-h))})),!l&&!I&&(I=setTimeout(()=>e=!0,u)),e=!1,i)}}function GY(C=Wh){const g=s.ref(!0);function I(){g.value=!1}function e(){g.value=!0}const t=(...i)=>{g.value&&C(...i)};return{isActive:s.readonly(g),pause:I,resume:e,eventFilter:t}}const g3g={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function g9(C){const g=Object.create(null);return I=>g[I]||(g[I]=C(I))}const I3g=/\B([A-Z])/g,C3g=g9(C=>C.replace(I3g,"-$1").toLowerCase()),e3g=/-(\w)/g,I9=g9(C=>C.replace(e3g,(g,I)=>I?I.toUpperCase():""));function ph(C,g=!1,I="Timeout"){return new Promise((e,t)=>{setTimeout(g?()=>t(I):e,C)})}function wY(C){return C}function C9(C){let g;function I(){return g||(g=C()),g}return I.reset=async()=>{const e=g;g=void 0,e&&await e},I}function t3g(C){return C()}function WY(C,...g){return g.some(I=>I in C)}function e9(C,g){var I;if(typeof C=="number")return C+g;const e=((I=C.match(/^-?\d+\.?\d*/))==null?void 0:I[0])||"",t=C.slice(e.length),i=Number.parseFloat(e)+g;return Number.isNaN(i)?C:i+t}function t9(C,g,I=!1){return g.reduce((e,t)=>(t in C&&(!I||C[t]!==void 0)&&(e[t]=C[t]),e),{})}function i9(C,g,I=!1){return Object.fromEntries(Object.entries(C).filter(([e,t])=>(!I||t!==void 0)&&!g.includes(e)))}function A9(C){return Object.entries(C)}function yh(C){return C||s.getCurrentInstance()}function LC(...C){if(C.length!==1)return s.toRef(...C);const g=C[0];return typeof g=="function"?s.readonly(s.customRef(()=>({get:g,set:XI}))):s.ref(g)}const i3g=LC;function A3g(C,...g){const I=g.flat(),e=I[0];return ZY(()=>Object.fromEntries(typeof e=="function"?Object.entries(s.toRefs(C)).filter(([t,i])=>e(U(i),t)):I.map(t=>[t,LC(C,t)])))}function n9(C,g=1e4){return s.customRef((I,e)=>{let t=U(C),i;const A=()=>setTimeout(()=>{t=U(C),e()},U(g));return mI(()=>{clearTimeout(i)}),{get(){return I(),t},set(n){t=n,e(),clearTimeout(i),i=A()}}})}function Ww(C,g=200,I={}){return Ha(ww(g,I),C)}function BY(C,g=200,I={}){const e=s.ref(C.value),t=Ww(()=>{e.value=C.value},g,I);return s.watch(C,()=>t()),e}function n3g(C,g){return s.computed({get(){var I;return(I=C.value)!=null?I:g},set(I){C.value=I}})}function pY(C,g=200,I=!1,e=!0,t=!1){return Ha(Bh(g,I,e,t),C)}function yY(C,g=200,I=!0,e=!0){if(g<=0)return C;const t=s.ref(C.value),i=pY(()=>{t.value=C.value},g,I,e);return s.watch(C,()=>i()),t}function l9(C,g={}){let I=C,e,t;const i=s.customRef((m,u)=>(e=m,t=u,{get(){return A()},set(h){n(h)}}));function A(m=!0){return m&&e(),I}function n(m,u=!0){var h,Z;if(m===I)return;const G=I;((h=g.onBeforeChange)==null?void 0:h.call(g,m,G))!==!1&&(I=m,(Z=g.onChanged)==null||Z.call(g,m,G),u&&t())}return UH(i,{get:A,set:n,untrackedGet:()=>A(!1),silentSet:m=>n(m,!1),peek:()=>A(!1),lay:m=>n(m,!1)},{enumerable:!0})}const l3g=l9;function s3g(...C){if(C.length===2){const[g,I]=C;g.value=I}if(C.length===3){const[g,I,e]=C;g[I]=e}}function nr(C,g,I={}){const{eventFilter:e=Wh,...t}=I;return s.watch(C,Ha(e,g),t)}function lr(C,g,I={}){const{eventFilter:e,...t}=I,{eventFilter:i,pause:A,resume:n,isActive:l}=GY(e);return{stop:nr(C,g,{...t,eventFilter:i}),pause:A,resume:n,isActive:l}}function YY(C,g,...[I]){const{flush:e="sync",deep:t=!1,immediate:i=!0,direction:A="both",transform:n={}}=I||{},l=[],o="ltr"in n&&n.ltr||(m=>m),a="rtl"in n&&n.rtl||(m=>m);return(A==="both"||A==="ltr")&&l.push(lr(C,m=>{l.forEach(u=>u.pause()),g.value=o(m),l.forEach(u=>u.resume())},{flush:e,deep:t,immediate:i})),(A==="both"||A==="rtl")&&l.push(lr(g,m=>{l.forEach(u=>u.pause()),C.value=a(m),l.forEach(u=>u.resume())},{flush:e,deep:t,immediate:i})),()=>{l.forEach(m=>m.stop())}}function o3g(C,g,I={}){const{flush:e="sync",deep:t=!1,immediate:i=!0}=I;return Array.isArray(g)||(g=[g]),s.watch(C,A=>g.forEach(n=>n.value=A),{flush:e,deep:t,immediate:i})}function VY(C,g={}){if(!s.isRef(C))return s.toRefs(C);const I=Array.isArray(C.value)?Array.from({length:C.value.length}):{};for(const e in C.value)I[e]=s.customRef(()=>({get(){return C.value[e]},set(t){var i;if((i=U(g.replaceRef))!=null?i:!0)if(Array.isArray(C.value)){const n=[...C.value];n[e]=t,C.value=n}else{const n={...C.value,[e]:t};Object.setPrototypeOf(n,Object.getPrototypeOf(C.value)),C.value=n}else C.value[e]=t}}));return I}function a3g(C,g=!0,I){yh(I)?s.onBeforeMount(C,I):g?C():s.nextTick(C)}function s9(C,g){yh(g)&&s.onBeforeUnmount(C,g)}function ae(C,g=!0,I){yh()?s.onMounted(C,I):g?C():s.nextTick(C)}function o9(C,g){yh(g)&&s.onUnmounted(C,g)}function NY(C,g=!1){function I(d,{flush:m="sync",deep:u=!1,timeout:h,throwOnTimeout:Z}={}){let G=null;const B=[new Promise(p=>{G=s.watch(C,y=>{d(y)!==g&&(G?G():s.nextTick(()=>G==null?void 0:G()),p(y))},{flush:m,deep:u,immediate:!0})})];return h!=null&&B.push(ph(h,Z).then(()=>U(C)).finally(()=>G==null?void 0:G())),Promise.race(B)}function e(d,m){if(!s.isRef(d))return I(y=>y===d,m);const{flush:u="sync",deep:h=!1,timeout:Z,throwOnTimeout:G}=m??{};let w=null;const p=[new Promise(y=>{w=s.watch([C,d],([Y,R])=>{g!==(Y===R)&&(w?w():s.nextTick(()=>w==null?void 0:w()),y(Y))},{flush:u,deep:h,immediate:!0})})];return Z!=null&&p.push(ph(Z,G).then(()=>U(C)).finally(()=>(w==null||w(),U(C)))),Promise.race(p)}function t(d){return I(m=>!!m,d)}function i(d){return e(null,d)}function A(d){return e(void 0,d)}function n(d){return I(Number.isNaN,d)}function l(d,m){return I(u=>{const h=Array.from(u);return h.includes(d)||h.includes(U(d))},m)}function o(d){return a(1,d)}function a(d=1,m){let u=-1;return I(()=>(u+=1,u>=d),m)}return Array.isArray(U(C))?{toMatch:I,toContains:l,changed:o,changedTimes:a,get not(){return NY(C,!g)}}:{toMatch:I,toBe:e,toBeTruthy:t,toBeNull:i,toBeNaN:n,toBeUndefined:A,changed:o,changedTimes:a,get not(){return NY(C,!g)}}}function Yh(C){return NY(C)}function d3g(C,g){return C===g}function c3g(...C){var g;const I=C[0],e=C[1];let t=(g=C[2])!=null?g:d3g;if(typeof t=="string"){const i=t;t=(A,n)=>A[i]===n[i]}return s.computed(()=>U(I).filter(i=>U(e).findIndex(A=>t(i,A))===-1))}function r3g(C,g){return s.computed(()=>U(C).every((I,e,t)=>g(U(I),e,t)))}function m3g(C,g){return s.computed(()=>U(C).map(I=>U(I)).filter(g))}function u3g(C,g){return s.computed(()=>U(U(C).find((I,e,t)=>g(U(I),e,t))))}function h3g(C,g){return s.computed(()=>U(C).findIndex((I,e,t)=>g(U(I),e,t)))}function b3g(C,g){let I=C.length;for(;I-- >0;)if(g(C[I],I,C))return C[I]}function Z3g(C,g){return s.computed(()=>U(Array.prototype.findLast?U(C).findLast((I,e,t)=>g(U(I),e,t)):b3g(U(C),(I,e,t)=>g(U(I),e,t))))}function G3g(C){return wh(C)&&WY(C,"formIndex","comparator")}function w3g(...C){var g;const I=C[0],e=C[1];let t=C[2],i=0;if(G3g(t)&&(i=(g=t.fromIndex)!=null?g:0,t=t.comparator),typeof t=="string"){const A=t;t=(n,l)=>n[A]===U(l)}return t=t??((A,n)=>A===U(n)),s.computed(()=>U(I).slice(i).some((A,n,l)=>t(U(A),U(e),n,U(l))))}function W3g(C,g){return s.computed(()=>U(C).map(I=>U(I)).join(U(g)))}function B3g(C,g){return s.computed(()=>U(C).map(I=>U(I)).map(g))}function p3g(C,g,...I){const e=(t,i,A)=>g(U(t),U(i),A);return s.computed(()=>{const t=U(C);return I.length?t.reduce(e,U(I[0])):t.reduce(e)})}function y3g(C,g){return s.computed(()=>U(C).some((I,e,t)=>g(U(I),e,t)))}function Y3g(C){return Array.from(new Set(C))}function V3g(C,g){return C.reduce((I,e)=>(I.some(t=>g(e,t,C))||I.push(e),I),[])}function N3g(C,g){return s.computed(()=>{const I=U(C).map(e=>U(e));return g?V3g(I,g):Y3g(I)})}function M3g(C=0,g={}){let I=s.unref(C);const e=s.ref(C),{max:t=Number.POSITIVE_INFINITY,min:i=Number.NEGATIVE_INFINITY}=g,A=(d=1)=>e.value=Math.max(Math.min(t,e.value+d),i),n=(d=1)=>e.value=Math.min(Math.max(i,e.value-d),t),l=()=>e.value,o=d=>e.value=Math.max(i,Math.min(t,d));return{count:e,inc:A,dec:n,get:l,set:o,reset:(d=I)=>(I=d,o(d))}}const R3g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,f3g=/[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 X3g(C,g,I,e){let t=C<12?"AM":"PM";return e&&(t=t.split("").reduce((i,A)=>i+=`${A}.`,"")),I?t.toLowerCase():t}function Da(C){const g=["th","st","nd","rd"],I=C%100;return C+(g[(I-20)%10]||g[I]||g[0])}function a9(C,g,I={}){var e;const t=C.getFullYear(),i=C.getMonth(),A=C.getDate(),n=C.getHours(),l=C.getMinutes(),o=C.getSeconds(),a=C.getMilliseconds(),d=C.getDay(),m=(e=I.customMeridiem)!=null?e:X3g,u={Yo:()=>Da(t),YY:()=>String(t).slice(-2),YYYY:()=>t,M:()=>i+1,Mo:()=>Da(i+1),MM:()=>`${i+1}`.padStart(2,"0"),MMM:()=>C.toLocaleDateString(U(I.locales),{month:"short"}),MMMM:()=>C.toLocaleDateString(U(I.locales),{month:"long"}),D:()=>String(A),Do:()=>Da(A),DD:()=>`${A}`.padStart(2,"0"),H:()=>String(n),Ho:()=>Da(n),HH:()=>`${n}`.padStart(2,"0"),h:()=>`${n%12||12}`.padStart(1,"0"),ho:()=>Da(n%12||12),hh:()=>`${n%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>Da(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(o),so:()=>Da(o),ss:()=>`${o}`.padStart(2,"0"),SSS:()=>`${a}`.padStart(3,"0"),d:()=>d,dd:()=>C.toLocaleDateString(U(I.locales),{weekday:"narrow"}),ddd:()=>C.toLocaleDateString(U(I.locales),{weekday:"short"}),dddd:()=>C.toLocaleDateString(U(I.locales),{weekday:"long"}),A:()=>m(n,l),AA:()=>m(n,l,!1,!0),a:()=>m(n,l,!0),aa:()=>m(n,l,!0,!0)};return g.replace(f3g,(h,Z)=>{var G,w;return(w=Z??((G=u[h])==null?void 0:G.call(u)))!=null?w:h})}function d9(C){if(C===null)return new Date(Number.NaN);if(C===void 0)return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){const g=C.match(R3g);if(g){const I=g[2]-1||0,e=(g[7]||"0").substring(0,3);return new Date(g[1],I,g[3]||1,g[4]||0,g[5]||0,g[6]||0,e)}}return new Date(C)}function H3g(C,g="HH:mm:ss",I={}){return s.computed(()=>a9(d9(U(C)),U(g),I))}function ks(C,g=1e3,I={}){const{immediate:e=!0,immediateCallback:t=!1}=I;let i=null;const A=s.ref(!1);function n(){i&&(clearInterval(i),i=null)}function l(){A.value=!1,n()}function o(){const a=U(g);a<=0||(A.value=!0,t&&C(),n(),i=setInterval(C,a))}if(e&&oe&&o(),s.isRef(g)||typeof g=="function"){const a=s.watch(g,()=>{A.value&&oe&&o()});mI(a)}return mI(l),{isActive:A,pause:l,resume:o}}function D3g(C=1e3,g={}){const{controls:I=!1,immediate:e=!0,callback:t}=g,i=s.ref(0),A=()=>i.value+=1,n=()=>{i.value=0},l=ks(t?()=>{A(),t(i.value)}:A,C,{immediate:e});return I?{counter:i,reset:n,...l}:i}function S3g(C,g={}){var I;const e=s.ref((I=g.initialValue)!=null?I:null);return s.watch(C,()=>e.value=Xa(),g),e}function sr(C,g,I={}){const{immediate:e=!0}=I,t=s.ref(!1);let i=null;function A(){i&&(clearTimeout(i),i=null)}function n(){t.value=!1,A()}function l(...o){A(),t.value=!0,i=setTimeout(()=>{t.value=!1,i=null,C(...o)},U(g))}return e&&(t.value=!0,oe&&l()),mI(n),{isPending:s.readonly(t),start:l,stop:n}}function K3g(C=1e3,g={}){const{controls:I=!1,callback:e}=g,t=sr(e??XI,C,g),i=s.computed(()=>!t.isPending.value);return I?{ready:i,...t}:i}function k3g(C,g={}){const{method:I="parseFloat",radix:e,nanToZero:t}=g;return s.computed(()=>{let i=U(C);return typeof i=="string"&&(i=Number[I](i,e)),t&&Number.isNaN(i)&&(i=0),i})}function F3g(C){return s.computed(()=>`${U(C)}`)}function z3g(C=!1,g={}){const{truthyValue:I=!0,falsyValue:e=!1}=g,t=s.isRef(C),i=s.ref(C);function A(n){if(arguments.length)return i.value=n,i.value;{const l=U(I);return i.value=i.value===l?U(e):l,i.value}}return t?A:[i,A]}function J3g(C,g,I){let e=I!=null&&I.immediate?[]:[...C instanceof Function?C():Array.isArray(C)?C:U(C)];return s.watch(C,(t,i,A)=>{const n=Array.from({length:e.length}),l=[];for(const a of t){let d=!1;for(let m=0;m<e.length;m++)if(!n[m]&&a===e[m]){n[m]=!0,d=!0;break}d||l.push(a)}const o=e.filter((a,d)=>!n[d]);g(t,e,l,o,A),e=[...t]},I)}function L3g(C,g,I){const{count:e,...t}=I,i=s.ref(0),A=nr(C,(...n)=>{i.value+=1,i.value>=U(e)&&s.nextTick(()=>A()),g(...n)},t);return{count:i,stop:A}}function c9(C,g,I={}){const{debounce:e=0,maxWait:t=void 0,...i}=I;return nr(C,g,{...i,eventFilter:ww(e,{maxWait:t})})}function T3g(C,g,I){return s.watch(C,g,{...I,deep:!0})}function or(C,g,I={}){const{eventFilter:e=Wh,...t}=I,i=Ha(e,g);let A,n,l;if(t.flush==="sync"){const o=s.ref(!1);n=()=>{},A=a=>{o.value=!0,a(),o.value=!1},l=s.watch(C,(...a)=>{o.value||i(...a)},t)}else{const o=[],a=s.ref(0),d=s.ref(0);n=()=>{a.value=d.value},o.push(s.watch(C,()=>{d.value++},{...t,flush:"sync"})),A=m=>{const u=d.value;m(),a.value+=d.value-u},o.push(s.watch(C,(...m)=>{const u=a.value>0&&a.value===d.value;a.value=0,d.value=0,!u&&i(...m)},t)),l=()=>{o.forEach(m=>m())}}return{stop:l,ignoreUpdates:A,ignorePrevAsyncUpdates:n}}function v3g(C,g,I){return s.watch(C,g,{...I,immediate:!0})}function j3g(C,g,I){const e=s.watch(C,(...t)=>(s.nextTick(()=>e()),g(...t)),I);return e}function r9(C,g,I={}){const{throttle:e=0,trailing:t=!0,leading:i=!0,...A}=I;return nr(C,g,{...A,eventFilter:Bh(e,t,i)})}function x3g(C,g,I={}){let e;function t(){if(!e)return;const a=e;e=void 0,a()}function i(a){e=a}const A=(a,d)=>(t(),g(a,d,i)),n=or(C,A,I),{ignoreUpdates:l}=n;return{...n,trigger:()=>{let a;return l(()=>{a=A(O3g(C),Q3g(C))}),a}}}function O3g(C){return s.isReactive(C)?C:Array.isArray(C)?C.map(g=>U(g)):U(C)}function Q3g(C){return Array.isArray(C)?C.map(()=>{}):void 0}function m9(C,g,I){const e=s.watch(C,(t,i,A)=>{t&&(I!=null&&I.once&&s.nextTick(()=>e()),g(t,i,A))},{...I,once:!1});return e}function u9(C,g,I){let e;s.isRef(I)?e={evaluating:I}:e=I||{};const{lazy:t=!1,evaluating:i=void 0,shallow:A=!0,onError:n=XI}=e,l=s.ref(!t),o=A?s.shallowRef(g):s.ref(g);let a=0;return s.watchEffect(async d=>{if(!l.value)return;a++;const m=a;let u=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const h=await C(Z=>{d(()=>{i&&(i.value=!1),u||Z()})});m===a&&(o.value=h)}catch(h){n(h)}finally{i&&m===a&&(i.value=!1),u=!0}}),t?s.computed(()=>(l.value=!0,o.value)):o}function U3g(C,g,I,e){let t=s.inject(C);return I&&(t=s.inject(C,I)),e&&(t=s.inject(C,I,e)),typeof g=="function"?s.computed(i=>g(t,i)):s.computed({get:i=>g.get(t,i),set:g.set})}function E3g(C={}){const{inheritAttrs:g=!0}=C,I=s.shallowRef(),e=s.defineComponent({setup(i,{slots:A}){return()=>{I.value=A.default}}}),t=s.defineComponent({inheritAttrs:g,setup(i,{attrs:A,slots:n}){return()=>{var l;if(!I.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const o=(l=I.value)==null?void 0:l.call(I,{...P3g(A),$slots:n});return g&&(o==null?void 0:o.length)===1?o[0]:o}}});return EH({define:e,reuse:t},[e,t])}function P3g(C){const g={};for(const I in C)g[I9(I)]=C[I];return g}function _3g(C={}){let g=0;const I=s.ref([]);function e(...A){const n=s.shallowReactive({key:g++,args:A,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:C});return I.value.push(n),n.promise=new Promise((l,o)=>{n.resolve=a=>(n.isResolving=!0,l(a)),n.reject=o}).finally(()=>{n.promise=void 0;const l=I.value.indexOf(n);l!==-1&&I.value.splice(l,1)}),n.promise}function t(...A){return C.singleton&&I.value.length>0?I.value[0].promise:e(...A)}const i=s.defineComponent((A,{slots:n})=>{const l=()=>I.value.map(o=>{var a;return s.h(s.Fragment,{key:o.key},(a=n.default)==null?void 0:a.call(n,o))});return C.transition?()=>s.h(s.TransitionGroup,C.transition,l):l});return i.start=t,i}function $3g(C){return function(...g){return C.apply(this,g.map(I=>U(I)))}}function dI(C){var g;const I=U(C);return(g=I==null?void 0:I.$el)!=null?g:I}const kg=oe?window:void 0,rt=oe?window.document:void 0,Dt=oe?window.navigator:void 0,q3g=oe?window.location:void 0;function ig(...C){let g,I,e,t;if(typeof C[0]=="string"||Array.isArray(C[0])?([I,e,t]=C,g=kg):[g,I,e,t]=C,!g)return XI;Array.isArray(I)||(I=[I]),Array.isArray(e)||(e=[e]);const i=[],A=()=>{i.forEach(a=>a()),i.length=0},n=(a,d,m,u)=>(a.addEventListener(d,m,u),()=>a.removeEventListener(d,m,u)),l=s.watch(()=>[dI(g),U(t)],([a,d])=>{if(A(),!a)return;const m=wh(d)?{...d}:d;i.push(...I.flatMap(u=>e.map(h=>n(a,u,h,m))))},{immediate:!0,flush:"post"}),o=()=>{l(),A()};return mI(o),o}let h9=!1;function gFg(C,g,I={}){const{window:e=kg,ignore:t=[],capture:i=!0,detectIframe:A=!1}=I;if(!e)return XI;Gw&&!h9&&(h9=!0,Array.from(e.document.body.children).forEach(m=>m.addEventListener("click",XI)),e.document.documentElement.addEventListener("click",XI));let n=!0;const l=m=>t.some(u=>{if(typeof u=="string")return Array.from(e.document.querySelectorAll(u)).some(h=>h===m.target||m.composedPath().includes(h));{const h=dI(u);return h&&(m.target===h||m.composedPath().includes(h))}}),a=[ig(e,"click",m=>{const u=dI(C);if(!(!u||u===m.target||m.composedPath().includes(u))){if(m.detail===0&&(n=!l(m)),!n){n=!0;return}g(m)}},{passive:!0,capture:i}),ig(e,"pointerdown",m=>{const u=dI(C);n=!l(m)&&!!(u&&!m.composedPath().includes(u))},{passive:!0}),A&&ig(e,"blur",m=>{setTimeout(()=>{var u;const h=dI(C);((u=e.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!(h!=null&&h.contains(e.document.activeElement))&&g(m)},0)})].filter(Boolean);return()=>a.forEach(m=>m())}function IFg(C){return typeof C=="function"?C:typeof C=="string"?g=>g.key===C:Array.isArray(C)?g=>C.includes(g.key):()=>!0}function Bw(...C){let g,I,e={};C.length===3?(g=C[0],I=C[1],e=C[2]):C.length===2?typeof C[1]=="object"?(g=!0,I=C[0],e=C[1]):(g=C[0],I=C[1]):(g=!0,I=C[0]);const{target:t=kg,eventName:i="keydown",passive:A=!1,dedupe:n=!1}=e,l=IFg(g);return ig(t,i,a=>{a.repeat&&U(n)||l(a)&&I(a)},A)}function CFg(C,g,I={}){return Bw(C,g,{...I,eventName:"keydown"})}function eFg(C,g,I={}){return Bw(C,g,{...I,eventName:"keypress"})}function tFg(C,g,I={}){return Bw(C,g,{...I,eventName:"keyup"})}const iFg=500,AFg=10;function nFg(C,g,I){var e,t;const i=s.computed(()=>dI(C));let A,n,l,o=!1;function a(){A&&(clearTimeout(A),A=void 0),n=void 0,l=void 0,o=!1}function d(w){var B,p,y;const[Y,R,M]=[l,n,o];if(a(),!(I!=null&&I.onMouseUp)||!R||!Y||(B=I==null?void 0:I.modifiers)!=null&&B.self&&w.target!==i.value)return;(p=I==null?void 0:I.modifiers)!=null&&p.prevent&&w.preventDefault(),(y=I==null?void 0:I.modifiers)!=null&&y.stop&&w.stopPropagation();const K=w.x-R.x,J=w.y-R.y,X=Math.sqrt(K*K+J*J);I.onMouseUp(w.timeStamp-Y,X,M)}function m(w){var B,p,y,Y;(B=I==null?void 0:I.modifiers)!=null&&B.self&&w.target!==i.value||(a(),(p=I==null?void 0:I.modifiers)!=null&&p.prevent&&w.preventDefault(),(y=I==null?void 0:I.modifiers)!=null&&y.stop&&w.stopPropagation(),n={x:w.x,y:w.y},l=w.timeStamp,A=setTimeout(()=>{o=!0,g(w)},(Y=I==null?void 0:I.delay)!=null?Y:iFg))}function u(w){var B,p,y,Y;if((B=I==null?void 0:I.modifiers)!=null&&B.self&&w.target!==i.value||!n||(I==null?void 0:I.distanceThreshold)===!1)return;(p=I==null?void 0:I.modifiers)!=null&&p.prevent&&w.preventDefault(),(y=I==null?void 0:I.modifiers)!=null&&y.stop&&w.stopPropagation();const R=w.x-n.x,M=w.y-n.y;Math.sqrt(R*R+M*M)>=((Y=I==null?void 0:I.distanceThreshold)!=null?Y:AFg)&&a()}const h={capture:(e=I==null?void 0:I.modifiers)==null?void 0:e.capture,once:(t=I==null?void 0:I.modifiers)==null?void 0:t.once},Z=[ig(i,"pointerdown",m,h),ig(i,"pointermove",u,h),ig(i,["pointerup","pointerleave"],d,h)];return()=>Z.forEach(w=>w())}function lFg(){const{activeElement:C,body:g}=document;if(!C||C===g)return!1;switch(C.tagName){case"INPUT":case"TEXTAREA":return!0}return C.hasAttribute("contenteditable")}function sFg({keyCode:C,metaKey:g,ctrlKey:I,altKey:e}){return g||I||e?!1:C>=48&&C<=57||C>=65&&C<=90||C>=97&&C<=122}function oFg(C,g={}){const{document:I=rt}=g;I&&ig(I,"keydown",t=>{!lFg()&&sFg(t)&&C(t)},{passive:!0})}function aFg(C,g=null){const I=s.getCurrentInstance();let e=()=>{};const t=s.customRef((i,A)=>(e=A,{get(){var n,l;return i(),(l=(n=I==null?void 0:I.proxy)==null?void 0:n.$refs[C])!=null?l:g},set(){}}));return ae(e),s.onUpdated(e),t}function b9(){const C=s.ref(!1),g=s.getCurrentInstance();return g&&s.onMounted(()=>{C.value=!0},g),C}function ZI(C){const g=b9();return s.computed(()=>(g.value,!!C()))}function ar(C,g,I={}){const{window:e=kg,...t}=I;let i;const A=ZI(()=>e&&"MutationObserver"in e),n=()=>{i&&(i.disconnect(),i=void 0)},l=s.computed(()=>{const m=U(C),u=(Array.isArray(m)?m:[m]).map(dI).filter(bw);return new Set(u)}),o=s.watch(()=>l.value,m=>{n(),A.value&&m.size&&(i=new MutationObserver(g),m.forEach(u=>i.observe(u,t)))},{immediate:!0,flush:"post"}),a=()=>i==null?void 0:i.takeRecords(),d=()=>{o(),n()};return mI(d),{isSupported:A,stop:d,takeRecords:a}}function Z9(C={}){var g;const{window:I=kg,deep:e=!0,triggerOnRemoval:t=!1}=C,i=(g=C.document)!=null?g:I==null?void 0:I.document,A=()=>{var o;let a=i==null?void 0:i.activeElement;if(e)for(;a!=null&&a.shadowRoot;)a=(o=a==null?void 0:a.shadowRoot)==null?void 0:o.activeElement;return a},n=s.ref(),l=()=>{n.value=A()};return I&&(ig(I,"blur",o=>{o.relatedTarget===null&&l()},!0),ig(I,"focus",l,!0)),t&&ar(i,o=>{o.filter(a=>a.removedNodes.length).map(a=>Array.from(a.removedNodes)).flat().forEach(a=>{a===n.value&&l()})},{childList:!0,subtree:!0}),l(),n}function Sa(C,g={}){const{immediate:I=!0,fpsLimit:e=void 0,window:t=kg}=g,i=s.ref(!1),A=e?1e3/e:null;let n=0,l=null;function o(m){if(!i.value||!t)return;n||(n=m);const u=m-n;if(A&&u<A){l=t.requestAnimationFrame(o);return}n=m,C({delta:u,timestamp:m}),l=t.requestAnimationFrame(o)}function a(){!i.value&&t&&(i.value=!0,n=0,l=t.requestAnimationFrame(o))}function d(){i.value=!1,l!=null&&t&&(t.cancelAnimationFrame(l),l=null)}return I&&a(),mI(d),{isActive:s.readonly(i),pause:d,resume:a}}function dFg(C,g,I){let e,t;wh(I)?(e=I,t=i9(I,["window","immediate","commitStyles","persist","onReady","onError"])):(e={duration:I},t=I);const{window:i=kg,immediate:A=!0,commitStyles:n,persist:l,playbackRate:o=1,onReady:a,onError:d=Q=>{console.error(Q)}}=e,m=ZI(()=>i&&HTMLElement&&"animate"in HTMLElement.prototype),u=s.shallowRef(void 0),h=s.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:o,pending:!1,playState:A?"idle":"paused",replaceState:"active"}),Z=s.computed(()=>h.pending),G=s.computed(()=>h.playState),w=s.computed(()=>h.replaceState),B=s.computed({get(){return h.startTime},set(Q){h.startTime=Q,u.value&&(u.value.startTime=Q)}}),p=s.computed({get(){return h.currentTime},set(Q){h.currentTime=Q,u.value&&(u.value.currentTime=Q,q())}}),y=s.computed({get(){return h.timeline},set(Q){h.timeline=Q,u.value&&(u.value.timeline=Q)}}),Y=s.computed({get(){return h.playbackRate},set(Q){h.playbackRate=Q,u.value&&(u.value.playbackRate=Q)}}),R=()=>{if(u.value)try{u.value.play(),q()}catch(Q){gg(),d(Q)}else D()},M=()=>{var Q;try{(Q=u.value)==null||Q.pause(),gg()}catch(_){d(_)}},K=()=>{var Q;u.value||D();try{(Q=u.value)==null||Q.reverse(),q()}catch(_){gg(),d(_)}},J=()=>{var Q;try{(Q=u.value)==null||Q.finish(),gg()}catch(_){d(_)}},X=()=>{var Q;try{(Q=u.value)==null||Q.cancel(),gg()}catch(_){d(_)}};s.watch(()=>dI(C),Q=>{Q&&D()}),s.watch(()=>g,Q=>{u.value&&D(),!dI(C)&&u.value&&(u.value.effect=new KeyframeEffect(dI(C),U(Q),t))},{deep:!0}),ae(()=>D(!0),!1),mI(X);function D(Q){const _=dI(C);!m.value||!_||(u.value||(u.value=_.animate(U(g),t)),l&&u.value.persist(),o!==1&&(u.value.playbackRate=o),Q&&!A?u.value.pause():q(),a==null||a(u.value))}ig(u,["cancel","finish","remove"],gg),ig(u,"finish",()=>{var Q;n&&((Q=u.value)==null||Q.commitStyles())});const{resume:z,pause:j}=Sa(()=>{u.value&&(h.pending=u.value.pending,h.playState=u.value.playState,h.replaceState=u.value.replaceState,h.startTime=u.value.startTime,h.currentTime=u.value.currentTime,h.timeline=u.value.timeline,h.playbackRate=u.value.playbackRate)},{immediate:!1});function q(){m.value&&z()}function gg(){m.value&&i&&i.requestAnimationFrame(j)}return{isSupported:m,animate:u,play:R,pause:M,reverse:K,finish:J,cancel:X,pending:Z,playState:G,replaceState:w,startTime:B,currentTime:p,timeline:y,playbackRate:Y}}function cFg(C,g){const{interrupt:I=!0,onError:e=XI,onFinished:t=XI,signal:i}=g||{},A={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},n=Array.from(Array.from({length:C.length}),()=>({state:A.pending,data:null})),l=s.reactive(n),o=s.ref(-1);if(!C||C.length===0)return t(),{activeIndex:o,result:l};function a(d,m){o.value++,l[o.value].data=m,l[o.value].state=d}return C.reduce((d,m)=>d.then(u=>{var h;if(i!=null&&i.aborted){a(A.aborted,new Error("aborted"));return}if(((h=l[o.value])==null?void 0:h.state)===A.rejected&&I){t();return}const Z=m(u).then(G=>(a(A.fulfilled,G),o.value===C.length-1&&t(),G));return i?Promise.race([Z,rFg(i)]):Z}).catch(u=>i!=null&&i.aborted?(a(A.aborted,u),u):(a(A.rejected,u),e(),u)),Promise.resolve()),{activeIndex:o,result:l}}function rFg(C){return new Promise((g,I)=>{const e=new Error("aborted");C.aborted?I(e):C.addEventListener("abort",()=>I(e),{once:!0})})}function G9(C,g,I){const{immediate:e=!0,delay:t=0,onError:i=XI,onSuccess:A=XI,resetOnExecute:n=!0,shallow:l=!0,throwError:o}=I??{},a=l?s.shallowRef(g):s.ref(g),d=s.ref(!1),m=s.ref(!1),u=s.shallowRef(void 0);async function h(w=0,...B){n&&(a.value=g),u.value=void 0,d.value=!1,m.value=!0,w>0&&await ph(w);const p=typeof C=="function"?C(...B):C;try{const y=await p;a.value=y,d.value=!0,A(y)}catch(y){if(u.value=y,i(y),o)throw y}finally{m.value=!1}return a.value}e&&h(t);const Z={state:a,isReady:d,isLoading:m,error:u,execute:h};function G(){return new Promise((w,B)=>{Yh(m).toBe(!1).then(()=>w(Z)).catch(B)})}return{...Z,then(w,B){return G().then(w,B)}}}const Vh={array:C=>JSON.stringify(C),object:C=>JSON.stringify(C),set:C=>JSON.stringify(Array.from(C)),map:C=>JSON.stringify(Object.fromEntries(C)),null:()=>""};function mFg(C){return C?C instanceof Map?Vh.map:C instanceof Set?Vh.set:Array.isArray(C)?Vh.array:Vh.object:Vh.null}function uFg(C,g){const I=s.ref(""),e=s.ref();function t(){if(oe)return e.value=new Promise((i,A)=>{try{const n=U(C);if(n==null)i("");else if(typeof n=="string")i(MY(new Blob([n],{type:"text/plain"})));else if(n instanceof Blob)i(MY(n));else if(n instanceof ArrayBuffer)i(window.btoa(String.fromCharCode(...new Uint8Array(n))));else if(n instanceof HTMLCanvasElement)i(n.toDataURL(g==null?void 0:g.type,g==null?void 0:g.quality));else if(n instanceof HTMLImageElement){const l=n.cloneNode(!1);l.crossOrigin="Anonymous",hFg(l).then(()=>{const o=document.createElement("canvas"),a=o.getContext("2d");o.width=l.width,o.height=l.height,a.drawImage(l,0,0,o.width,o.height),i(o.toDataURL(g==null?void 0:g.type,g==null?void 0:g.quality))}).catch(A)}else if(typeof n=="object"){const o=((g==null?void 0:g.serializer)||mFg(n))(n);return i(MY(new Blob([o],{type:"application/json"})))}else A(new Error("target is unsupported types"))}catch(n){A(n)}}),e.value.then(i=>I.value=i),e.value}return s.isRef(C)||typeof C=="function"?s.watch(C,t,{immediate:!0}):t(),{base64:I,promise:e,execute:t}}function hFg(C){return new Promise((g,I)=>{C.complete?g():(C.onload=()=>{g()},C.onerror=I)})}function MY(C){return new Promise((g,I)=>{const e=new FileReader;e.onload=t=>{g(t.target.result)},e.onerror=I,e.readAsDataURL(C)})}function bFg(C={}){const{navigator:g=Dt}=C,I=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],e=ZI(()=>g&&"getBattery"in g&&typeof g.getBattery=="function"),t=s.ref(!1),i=s.ref(0),A=s.ref(0),n=s.ref(1);let l;function o(){t.value=this.charging,i.value=this.chargingTime||0,A.value=this.dischargingTime||0,n.value=this.level}return e.value&&g.getBattery().then(a=>{l=a,o.call(l),ig(l,I,o,{passive:!0})}),{isSupported:e,charging:t,chargingTime:i,dischargingTime:A,level:n}}function ZFg(C){let{acceptAllDevices:g=!1}=C||{};const{filters:I=void 0,optionalServices:e=void 0,navigator:t=Dt}=C||{},i=ZI(()=>t&&"bluetooth"in t),A=s.shallowRef(void 0),n=s.shallowRef(null);s.watch(A,()=>{d()});async function l(){if(i.value){n.value=null,I&&I.length>0&&(g=!1);try{A.value=await(t==null?void 0:t.bluetooth.requestDevice({acceptAllDevices:g,filters:I,optionalServices:e}))}catch(m){n.value=m}}}const o=s.ref(),a=s.computed(()=>{var m;return((m=o.value)==null?void 0:m.connected)||!1});async function d(){if(n.value=null,A.value&&A.value.gatt){A.value.addEventListener("gattserverdisconnected",()=>{});try{o.value=await A.value.gatt.connect()}catch(m){n.value=m}}}return ae(()=>{var m;A.value&&((m=A.value.gatt)==null||m.connect())}),mI(()=>{var m;A.value&&((m=A.value.gatt)==null||m.disconnect())}),{isSupported:i,isConnected:a,device:A,requestDevice:l,server:o,error:n}}function St(C,g={}){const{window:I=kg}=g,e=ZI(()=>I&&"matchMedia"in I&&typeof I.matchMedia=="function");let t;const i=s.ref(!1),A=o=>{i.value=o.matches},n=()=>{t&&("removeEventListener"in t?t.removeEventListener("change",A):t.removeListener(A))},l=s.watchEffect(()=>{e.value&&(n(),t=I.matchMedia(U(C)),"addEventListener"in t?t.addEventListener("change",A):t.addListener(A),i.value=t.matches)});return mI(()=>{l(),n(),t=void 0}),i}const GFg={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},wFg={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},w9={xs:0,sm:600,md:960,lg:1264,xl:1904},WFg={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},BFg=w9,pFg={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},yFg={xs:0,sm:600,md:1024,lg:1440,xl:1920},YFg={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},VFg={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},NFg={sm:576,md:768,lg:992,xl:1200};function MFg(C,g={}){function I(a,d){let m=U(C[U(a)]);return d!=null&&(m=e9(m,d)),typeof m=="number"&&(m=`${m}px`),m}const{window:e=kg,strategy:t="min-width"}=g;function i(a){return e?e.matchMedia(a).matches:!1}const A=a=>St(()=>`(min-width: ${I(a)})`,g),n=a=>St(()=>`(max-width: ${I(a)})`,g),l=Object.keys(C).reduce((a,d)=>(Object.defineProperty(a,d,{get:()=>t==="min-width"?A(d):n(d),enumerable:!0,configurable:!0}),a),{});function o(){const a=Object.keys(C).map(d=>[d,A(d)]);return s.computed(()=>a.filter(([,d])=>d.value).map(([d])=>d))}return Object.assign(l,{greaterOrEqual:A,smallerOrEqual:n,greater(a){return St(()=>`(min-width: ${I(a,.1)})`,g)},smaller(a){return St(()=>`(max-width: ${I(a,-.1)})`,g)},between(a,d){return St(()=>`(min-width: ${I(a)}) and (max-width: ${I(d,-.1)})`,g)},isGreater(a){return i(`(min-width: ${I(a,.1)})`)},isGreaterOrEqual(a){return i(`(min-width: ${I(a)})`)},isSmaller(a){return i(`(max-width: ${I(a,-.1)})`)},isSmallerOrEqual(a){return i(`(max-width: ${I(a)})`)},isInBetween(a,d){return i(`(min-width: ${I(a)}) and (max-width: ${I(d,-.1)})`)},current:o,active(){const a=o();return s.computed(()=>a.value.length===0?"":a.value.at(-1))}})}function RFg(C){const{name:g,window:I=kg}=C,e=ZI(()=>I&&"BroadcastChannel"in I),t=s.ref(!1),i=s.ref(),A=s.ref(),n=s.shallowRef(null),l=a=>{i.value&&i.value.postMessage(a)},o=()=>{i.value&&i.value.close(),t.value=!0};return e.value&&ae(()=>{n.value=null,i.value=new BroadcastChannel(g),i.value.addEventListener("message",a=>{A.value=a.data},{passive:!0}),i.value.addEventListener("messageerror",a=>{n.value=a},{passive:!0}),i.value.addEventListener("close",()=>{t.value=!0})}),mI(()=>{o()}),{isSupported:e,channel:i,data:A,post:l,close:o,error:n,isClosed:t}}const W9=["hash","host","hostname","href","pathname","port","protocol","search"];function fFg(C={}){const{window:g=kg}=C,I=Object.fromEntries(W9.map(i=>[i,s.ref()]));for(const[i,A]of A9(I))s.watch(A,n=>{!(g!=null&&g.location)||g.location[i]===n||(g.location[i]=n)});const e=i=>{var A;const{state:n,length:l}=(g==null?void 0:g.history)||{},{origin:o}=(g==null?void 0:g.location)||{};for(const a of W9)I[a].value=(A=g==null?void 0:g.location)==null?void 0:A[a];return s.reactive({trigger:i,state:n,length:l,origin:o,...I})},t=s.ref(e("load"));return g&&(ig(g,"popstate",()=>t.value=e("popstate"),{passive:!0}),ig(g,"hashchange",()=>t.value=e("hashchange"),{passive:!0})),t}function XFg(C,g=(e,t)=>e===t,I){const e=s.ref(C.value);return s.watch(()=>C.value,t=>{g(t,e.value)||(e.value=t)},I),e}function pw(C,g={}){const{controls:I=!1,navigator:e=Dt}=g,t=ZI(()=>e&&"permissions"in e),i=s.shallowRef(),A=typeof C=="string"?{name:C}:C,n=s.shallowRef(),l=()=>{var a,d;n.value=(d=(a=i.value)==null?void 0:a.state)!=null?d:"prompt"};ig(i,"change",l);const o=C9(async()=>{if(t.value){if(!i.value)try{i.value=await e.permissions.query(A)}catch{i.value=void 0}finally{l()}if(I)return s.toRaw(i.value)}});return o(),I?{state:n,isSupported:t,query:o}:n}function HFg(C={}){const{navigator:g=Dt,read:I=!1,source:e,copiedDuring:t=1500,legacy:i=!1}=C,A=ZI(()=>g&&"clipboard"in g),n=pw("clipboard-read"),l=pw("clipboard-write"),o=s.computed(()=>A.value||i),a=s.ref(""),d=s.ref(!1),m=sr(()=>d.value=!1,t);function u(){A.value&&w(n.value)?g.clipboard.readText().then(B=>{a.value=B}):a.value=G()}o.value&&I&&ig(["copy","cut"],u);async function h(B=U(e)){o.value&&B!=null&&(A.value&&w(l.value)?await g.clipboard.writeText(B):Z(B),a.value=B,d.value=!0,m.start())}function Z(B){const p=document.createElement("textarea");p.value=B??"",p.style.position="absolute",p.style.opacity="0",document.body.appendChild(p),p.select(),document.execCommand("copy"),p.remove()}function G(){var B,p,y;return(y=(p=(B=document==null?void 0:document.getSelection)==null?void 0:B.call(document))==null?void 0:p.toString())!=null?y:""}function w(B){return B==="granted"||B==="prompt"}return{isSupported:o,text:a,copied:d,copy:h}}function DFg(C={}){const{navigator:g=Dt,read:I=!1,source:e,copiedDuring:t=1500}=C,i=ZI(()=>g&&"clipboard"in g),A=s.ref([]),n=s.ref(!1),l=sr(()=>n.value=!1,t);function o(){i.value&&g.clipboard.read().then(d=>{A.value=d})}i.value&&I&&ig(["copy","cut"],o);async function a(d=U(e)){i.value&&d!=null&&(await g.clipboard.write(d),A.value=d,n.value=!0,l.start())}return{isSupported:i,content:A,copied:n,copy:a}}function Nh(C){return JSON.parse(JSON.stringify(C))}function SFg(C,g={}){const I=s.ref({}),{manual:e,clone:t=Nh,deep:i=!0,immediate:A=!0}=g;function n(){I.value=t(U(C))}return!e&&(s.isRef(C)||typeof C=="function")?s.watch(C,n,{...g,deep:i,immediate:A}):n(),{cloned:I,sync:n}}const yw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yw="__vueuse_ssr_handlers__",B9=KFg();function KFg(){return Yw in yw||(yw[Yw]=yw[Yw]||{}),yw[Yw]}function Vw(C,g){return B9[C]||g}function kFg(C,g){B9[C]=g}function p9(C){return C==null?"any":C instanceof Set?"set":C instanceof Map?"map":C instanceof Date?"date":typeof C=="boolean"?"boolean":typeof C=="string"?"string":typeof C=="object"?"object":Number.isNaN(C)?"any":"number"}const RY={boolean:{read:C=>C==="true",write:C=>String(C)},object:{read:C=>JSON.parse(C),write:C=>JSON.stringify(C)},number:{read:C=>Number.parseFloat(C),write:C=>String(C)},any:{read:C=>C,write:C=>String(C)},string:{read:C=>C,write:C=>String(C)},map:{read:C=>new Map(JSON.parse(C)),write:C=>JSON.stringify(Array.from(C.entries()))},set:{read:C=>new Set(JSON.parse(C)),write:C=>JSON.stringify(Array.from(C))},date:{read:C=>new Date(C),write:C=>C.toISOString()}},fY="vueuse-storage";function Nw(C,g,I,e={}){var t;const{flush:i="pre",deep:A=!0,listenToStorageChanges:n=!0,writeDefaults:l=!0,mergeDefaults:o=!1,shallow:a,window:d=kg,eventFilter:m,onError:u=X=>{console.error(X)},initOnMounted:h}=e,Z=(a?s.shallowRef:s.ref)(typeof g=="function"?g():g);if(!I)try{I=Vw("getDefaultStorage",()=>{var X;return(X=kg)==null?void 0:X.localStorage})()}catch(X){u(X)}if(!I)return Z;const G=U(g),w=p9(G),B=(t=e.serializer)!=null?t:RY[w],{pause:p,resume:y}=lr(Z,()=>R(Z.value),{flush:i,deep:A,eventFilter:m});d&&n&&ae(()=>{I instanceof Storage?ig(d,"storage",K):ig(d,fY,J),h&&K()}),h||K();function Y(X,D){if(d){const z={key:C,oldValue:X,newValue:D,storageArea:I};d.dispatchEvent(I instanceof Storage?new StorageEvent("storage",z):new CustomEvent(fY,{detail:z}))}}function R(X){try{const D=I.getItem(C);if(X==null)Y(D,null),I.removeItem(C);else{const z=B.write(X);D!==z&&(I.setItem(C,z),Y(D,z))}}catch(D){u(D)}}function M(X){const D=X?X.newValue:I.getItem(C);if(D==null)return l&&G!=null&&I.setItem(C,B.write(G)),G;if(!X&&o){const z=B.read(D);return typeof o=="function"?o(z,G):w==="object"&&!Array.isArray(z)?{...G,...z}:z}else return typeof D!="string"?D:B.read(D)}function K(X){if(!(X&&X.storageArea!==I)){if(X&&X.key==null){Z.value=G;return}if(!(X&&X.key!==C)){p();try{(X==null?void 0:X.newValue)!==B.write(Z.value)&&(Z.value=M(X))}catch(D){u(D)}finally{X?s.nextTick(y):y()}}}}function J(X){K(X.detail)}return Z}function XY(C){return St("(prefers-color-scheme: dark)",C)}const FFg="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function y9(C={}){const{selector:g="html",attribute:I="class",initialValue:e="auto",window:t=kg,storage:i,storageKey:A="vueuse-color-scheme",listenToStorageChanges:n=!0,storageRef:l,emitAuto:o,disableTransition:a=!0}=C,d={auto:"",light:"light",dark:"dark",...C.modes||{}},m=XY({window:t}),u=s.computed(()=>m.value?"dark":"light"),h=l||(A==null?LC(e):Nw(A,e,i,{window:t,listenToStorageChanges:n})),Z=s.computed(()=>h.value==="auto"?u.value:h.value),G=Vw("updateHTMLAttrs",(y,Y,R)=>{const M=typeof y=="string"?t==null?void 0:t.document.querySelector(y):dI(y);if(!M)return;const K=new Set,J=new Set;let X=null;if(Y==="class"){const z=R.split(/\s/g);Object.values(d).flatMap(j=>(j||"").split(/\s/g)).filter(Boolean).forEach(j=>{z.includes(j)?K.add(j):J.add(j)})}else X={key:Y,value:R};if(K.size===0&&J.size===0&&X===null)return;let D;a&&(D=t.document.createElement("style"),D.appendChild(document.createTextNode(FFg)),t.document.head.appendChild(D));for(const z of K)M.classList.add(z);for(const z of J)M.classList.remove(z);X&&M.setAttribute(X.key,X.value),a&&(t.getComputedStyle(D).opacity,document.head.removeChild(D))});function w(y){var Y;G(g,I,(Y=d[y])!=null?Y:y)}function B(y){C.onChanged?C.onChanged(y,w):w(y)}s.watch(Z,B,{flush:"post",immediate:!0}),ae(()=>B(Z.value));const p=s.computed({get(){return o?h.value:Z.value},set(y){h.value=y}});try{return Object.assign(p,{store:h,system:u,state:Z})}catch{return p}}function zFg(C=s.ref(!1)){const g=ct(),I=ct(),e=ct();let t=XI;const i=l=>(e.trigger(l),C.value=!0,new Promise(o=>{t=o})),A=l=>{C.value=!1,g.trigger(l),t({data:l,isCanceled:!1})},n=l=>{C.value=!1,I.trigger(l),t({data:l,isCanceled:!0})};return{isRevealed:s.computed(()=>C.value),reveal:i,confirm:A,cancel:n,onReveal:e.on,onConfirm:g.on,onCancel:I.on}}function Mh(C,g,I={}){const{window:e=kg,initialValue:t,observe:i=!1}=I,A=s.ref(t),n=s.computed(()=>{var o;return dI(g)||((o=e==null?void 0:e.document)==null?void 0:o.documentElement)});function l(){var o;const a=U(C),d=U(n);if(d&&e&&a){const m=(o=e.getComputedStyle(d).getPropertyValue(a))==null?void 0:o.trim();A.value=m||t}}return i&&ar(n,l,{attributeFilter:["style","class"],window:e}),s.watch([n,()=>U(C)],(o,a)=>{a[0]&&a[1]&&a[0].style.removeProperty(a[1]),l()},{immediate:!0}),s.watch(A,o=>{var a;const d=U(C);(a=n.value)!=null&&a.style&&d&&(o==null?n.value.style.removeProperty(d):n.value.style.setProperty(d,o))}),A}function Y9(C){const g=s.getCurrentInstance(),I=hY(()=>null,()=>C?dI(C):g.proxy.$el);return s.onUpdated(I.trigger),s.onMounted(I.trigger),I}function JFg(C,g){const I=s.shallowRef(o()),e=LC(C),t=s.computed({get(){var a;const d=e.value;let m=g!=null&&g.getIndexOf?g.getIndexOf(I.value,d):d.indexOf(I.value);return m<0&&(m=(a=g==null?void 0:g.fallbackIndex)!=null?a:0),m},set(a){i(a)}});function i(a){const d=e.value,m=d.length,u=(a%m+m)%m,h=d[u];return I.value=h,h}function A(a=1){return i(t.value+a)}function n(a=1){return A(a)}function l(a=1){return A(-a)}function o(){var a,d;return(d=U((a=g==null?void 0:g.initialValue)!=null?a:U(C)[0]))!=null?d:void 0}return s.watch(e,()=>i(t.value)),{state:I,index:t,next:n,prev:l,go:i}}function LFg(C={}){const{valueDark:g="dark",valueLight:I="",window:e=kg}=C,t=y9({...C,onChanged:(n,l)=>{var o;C.onChanged?(o=C.onChanged)==null||o.call(C,n==="dark",l,n):l(n)},modes:{dark:g,light:I}}),i=s.computed(()=>t.system?t.system.value:XY({window:e}).value?"dark":"light");return s.computed({get(){return t.value==="dark"},set(n){const l=n?"dark":"light";i.value===l?t.value="auto":t.value=l}})}function V9(C){return C}function TFg(C,g){return C.value=g}function vFg(C){return C?typeof C=="function"?C:Nh:V9}function jFg(C){return C?typeof C=="function"?C:Nh:V9}function N9(C,g={}){const{clone:I=!1,dump:e=vFg(I),parse:t=jFg(I),setSource:i=TFg}=g;function A(){return s.markRaw({snapshot:e(C.value),timestamp:Xa()})}const n=s.ref(A()),l=s.ref([]),o=s.ref([]),a=p=>{i(C,t(p.snapshot)),n.value=p},d=()=>{l.value.unshift(n.value),n.value=A(),g.capacity&&l.value.length>g.capacity&&l.value.splice(g.capacity,Number.POSITIVE_INFINITY),o.value.length&&o.value.splice(0,o.value.length)},m=()=>{l.value.splice(0,l.value.length),o.value.splice(0,o.value.length)},u=()=>{const p=l.value.shift();p&&(o.value.unshift(n.value),a(p))},h=()=>{const p=o.value.shift();p&&(l.value.unshift(n.value),a(p))},Z=()=>{a(n.value)},G=s.computed(()=>[n.value,...l.value]),w=s.computed(()=>l.value.length>0),B=s.computed(()=>o.value.length>0);return{source:C,undoStack:l,redoStack:o,last:n,history:G,canUndo:w,canRedo:B,clear:m,commit:d,reset:Z,undo:u,redo:h}}function HY(C,g={}){const{deep:I=!1,flush:e="pre",eventFilter:t}=g,{eventFilter:i,pause:A,resume:n,isActive:l}=GY(t),{ignoreUpdates:o,ignorePrevAsyncUpdates:a,stop:d}=or(C,G,{deep:I,flush:e,eventFilter:i});function m(y,Y){a(),o(()=>{y.value=Y})}const u=N9(C,{...g,clone:g.clone||I,setSource:m}),{clear:h,commit:Z}=u;function G(){a(),Z()}function w(y){n(),y&&G()}function B(y){let Y=!1;const R=()=>Y=!0;o(()=>{y(R)}),Y||G()}function p(){d(),h()}return{...u,isTracking:l,pause:A,resume:w,commit:G,batch:B,dispose:p}}function xFg(C,g={}){const I=g.debounce?ww(g.debounce):void 0;return{...HY(C,{...g,eventFilter:I})}}function OFg(C={}){const{window:g=kg,eventFilter:I=Wh}=C,e=s.ref({x:null,y:null,z:null}),t=s.ref({alpha:null,beta:null,gamma:null}),i=s.ref(0),A=s.ref({x:null,y:null,z:null});if(g){const n=Ha(I,l=>{e.value=l.acceleration,A.value=l.accelerationIncludingGravity,t.value=l.rotationRate,i.value=l.interval});ig(g,"devicemotion",n)}return{acceleration:e,accelerationIncludingGravity:A,rotationRate:t,interval:i}}function M9(C={}){const{window:g=kg}=C,I=ZI(()=>g&&"DeviceOrientationEvent"in g),e=s.ref(!1),t=s.ref(null),i=s.ref(null),A=s.ref(null);return g&&I.value&&ig(g,"deviceorientation",n=>{e.value=n.absolute,t.value=n.alpha,i.value=n.beta,A.value=n.gamma}),{isSupported:I,isAbsolute:e,alpha:t,beta:i,gamma:A}}function QFg(C={}){const{window:g=kg}=C,I=s.ref(1);if(g){let e=function(){I.value=g.devicePixelRatio,t(),i=g.matchMedia(`(resolution: ${I.value}dppx)`),i.addEventListener("change",e,{once:!0})},t=function(){i==null||i.removeEventListener("change",e)},i;e(),mI(t)}return{pixelRatio:I}}function UFg(C={}){const{navigator:g=Dt,requestPermissions:I=!1,constraints:e={audio:!0,video:!0},onUpdated:t}=C,i=s.ref([]),A=s.computed(()=>i.value.filter(h=>h.kind==="videoinput")),n=s.computed(()=>i.value.filter(h=>h.kind==="audioinput")),l=s.computed(()=>i.value.filter(h=>h.kind==="audiooutput")),o=ZI(()=>g&&g.mediaDevices&&g.mediaDevices.enumerateDevices),a=s.ref(!1);let d;async function m(){o.value&&(i.value=await g.mediaDevices.enumerateDevices(),t==null||t(i.value),d&&(d.getTracks().forEach(h=>h.stop()),d=null))}async function u(){if(!o.value)return!1;if(a.value)return!0;const{state:h,query:Z}=pw("camera",{controls:!0});return await Z(),h.value!=="granted"&&(d=await g.mediaDevices.getUserMedia(e),m()),a.value=!0,a.value}return o.value&&(I&&u(),ig(g.mediaDevices,"devicechange",m),m()),{devices:i,ensurePermissions:u,permissionGranted:a,videoInputs:A,audioInputs:n,audioOutputs:l,isSupported:o}}function EFg(C={}){var g;const I=s.ref((g=C.enabled)!=null?g:!1),e=C.video,t=C.audio,{navigator:i=Dt}=C,A=ZI(()=>{var u;return(u=i==null?void 0:i.mediaDevices)==null?void 0:u.getDisplayMedia}),n={audio:t,video:e},l=s.shallowRef();async function o(){var u;if(!(!A.value||l.value))return l.value=await i.mediaDevices.getDisplayMedia(n),(u=l.value)==null||u.getTracks().forEach(h=>h.addEventListener("ended",d)),l.value}async function a(){var u;(u=l.value)==null||u.getTracks().forEach(h=>h.stop()),l.value=void 0}function d(){a(),I.value=!1}async function m(){return await o(),l.value&&(I.value=!0),l.value}return s.watch(I,u=>{u?o():a()},{immediate:!0}),{isSupported:A,stream:l,start:m,stop:d,enabled:I}}function R9(C={}){const{document:g=rt}=C;if(!g)return s.ref("visible");const I=s.ref(g.visibilityState);return ig(g,"visibilitychange",()=>{I.value=g.visibilityState}),I}function PFg(C,g={}){var I,e;const{pointerTypes:t,preventDefault:i,stopPropagation:A,exact:n,onMove:l,onEnd:o,onStart:a,initialValue:d,axis:m="both",draggingElement:u=kg,containerElement:h,handle:Z=C,buttons:G=[0]}=g,w=s.ref((I=U(d))!=null?I:{x:0,y:0}),B=s.ref(),p=K=>t?t.includes(K.pointerType):!0,y=K=>{U(i)&&K.preventDefault(),U(A)&&K.stopPropagation()},Y=K=>{var J;if(!U(G).includes(K.button)||U(g.disabled)||!p(K)||U(n)&&K.target!==U(C))return;const X=U(h),D=(J=X==null?void 0:X.getBoundingClientRect)==null?void 0:J.call(X),z=U(C).getBoundingClientRect(),j={x:K.clientX-(X?z.left-D.left+X.scrollLeft:z.left),y:K.clientY-(X?z.top-D.top+X.scrollTop:z.top)};(a==null?void 0:a(j,K))!==!1&&(B.value=j,y(K))},R=K=>{if(U(g.disabled)||!p(K)||!B.value)return;const J=U(h),X=U(C).getBoundingClientRect();let{x:D,y:z}=w.value;(m==="x"||m==="both")&&(D=K.clientX-B.value.x,J&&(D=Math.min(Math.max(0,D),J.scrollWidth-X.width))),(m==="y"||m==="both")&&(z=K.clientY-B.value.y,J&&(z=Math.min(Math.max(0,z),J.scrollHeight-X.height))),w.value={x:D,y:z},l==null||l(w.value,K),y(K)},M=K=>{U(g.disabled)||!p(K)||B.value&&(B.value=void 0,o==null||o(w.value,K),y(K))};if(oe){const K={capture:(e=g.capture)!=null?e:!0};ig(Z,"pointerdown",Y,K),ig(u,"pointermove",R,K),ig(u,"pointerup",M,K)}return{...VY(w),position:w,isDragging:s.computed(()=>!!B.value),style:s.computed(()=>`left:${w.value.x}px;top:${w.value.y}px;`)}}function _Fg(C,g={}){const I=s.ref(!1),e=s.shallowRef(null);let t=0,i=!0;if(oe){const A=typeof g=="function"?{onDrop:g}:g,n=l=>{var o,a;const d=Array.from((a=(o=l.dataTransfer)==null?void 0:o.files)!=null?a:[]);return e.value=d.length===0?null:d};ig(C,"dragenter",l=>{var o,a;const d=Array.from(((o=l==null?void 0:l.dataTransfer)==null?void 0:o.items)||[]).map(u=>u.kind==="file"?u.type:null).filter(bw);if(A.dataTypes&&l.dataTransfer){const u=s.unref(A.dataTypes);if(i=typeof u=="function"?u(d):u?u.some(h=>d.includes(h)):!0,!i)return}l.preventDefault(),t+=1,I.value=!0;const m=n(l);(a=A.onEnter)==null||a.call(A,m,l)}),ig(C,"dragover",l=>{var o;if(!i)return;l.preventDefault();const a=n(l);(o=A.onOver)==null||o.call(A,a,l)}),ig(C,"dragleave",l=>{var o;if(!i)return;l.preventDefault(),t-=1,t===0&&(I.value=!1);const a=n(l);(o=A.onLeave)==null||o.call(A,a,l)}),ig(C,"drop",l=>{var o;l.preventDefault(),t=0,I.value=!1;const a=n(l);(o=A.onDrop)==null||o.call(A,a,l)})}return{files:e,isOverDropZone:I}}function Mw(C,g,I={}){const{window:e=kg,...t}=I;let i;const A=ZI(()=>e&&"ResizeObserver"in e),n=()=>{i&&(i.disconnect(),i=void 0)},l=s.computed(()=>{const d=U(C);return Array.isArray(d)?d.map(m=>dI(m)):[dI(d)]}),o=s.watch(l,d=>{if(n(),A.value&&e){i=new ResizeObserver(g);for(const m of d)m&&i.observe(m,t)}},{immediate:!0,flush:"post"}),a=()=>{n(),o()};return mI(a),{isSupported:A,stop:a}}function $Fg(C,g={}){const{reset:I=!0,windowResize:e=!0,windowScroll:t=!0,immediate:i=!0,updateTiming:A="sync"}=g,n=s.ref(0),l=s.ref(0),o=s.ref(0),a=s.ref(0),d=s.ref(0),m=s.ref(0),u=s.ref(0),h=s.ref(0);function Z(){const w=dI(C);if(!w){I&&(n.value=0,l.value=0,o.value=0,a.value=0,d.value=0,m.value=0,u.value=0,h.value=0);return}const B=w.getBoundingClientRect();n.value=B.height,l.value=B.bottom,o.value=B.left,a.value=B.right,d.value=B.top,m.value=B.width,u.value=B.x,h.value=B.y}function G(){A==="sync"?Z():A==="next-frame"&&requestAnimationFrame(()=>Z())}return Mw(C,G),s.watch(()=>dI(C),w=>!w&&G()),ar(C,G,{attributeFilter:["style","class"]}),t&&ig("scroll",G,{capture:!0,passive:!0}),e&&ig("resize",G,{passive:!0}),ae(()=>{i&&G()}),{height:n,bottom:l,left:o,right:a,top:d,width:m,x:u,y:h,update:G}}function qFg(C){const{x:g,y:I,document:e=rt,multiple:t,interval:i="requestAnimationFrame",immediate:A=!0}=C,n=ZI(()=>U(t)?e&&"elementsFromPoint"in e:e&&"elementFromPoint"in e),l=s.ref(null),o=()=>{var d,m;l.value=U(t)?(d=e==null?void 0:e.elementsFromPoint(U(g),U(I)))!=null?d:[]:(m=e==null?void 0:e.elementFromPoint(U(g),U(I)))!=null?m:null},a=i==="requestAnimationFrame"?Sa(o,{immediate:A}):ks(o,i,{immediate:A});return{isSupported:n,element:l,...a}}function gzg(C,g={}){const{delayEnter:I=0,delayLeave:e=0,window:t=kg}=g,i=s.ref(!1);let A;const n=l=>{const o=l?I:e;A&&(clearTimeout(A),A=void 0),o?A=setTimeout(()=>i.value=l,o):i.value=l};return t&&(ig(C,"mouseenter",()=>n(!0),{passive:!0}),ig(C,"mouseleave",()=>n(!1),{passive:!0})),i}function f9(C,g={width:0,height:0},I={}){const{window:e=kg,box:t="content-box"}=I,i=s.computed(()=>{var d,m;return(m=(d=dI(C))==null?void 0:d.namespaceURI)==null?void 0:m.includes("svg")}),A=s.ref(g.width),n=s.ref(g.height),{stop:l}=Mw(C,([d])=>{const m=t==="border-box"?d.borderBoxSize:t==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(e&&i.value){const u=dI(C);if(u){const h=u.getBoundingClientRect();A.value=h.width,n.value=h.height}}else if(m){const u=Array.isArray(m)?m:[m];A.value=u.reduce((h,{inlineSize:Z})=>h+Z,0),n.value=u.reduce((h,{blockSize:Z})=>h+Z,0)}else A.value=d.contentRect.width,n.value=d.contentRect.height},I);ae(()=>{const d=dI(C);d&&(A.value="offsetWidth"in d?d.offsetWidth:g.width,n.value="offsetHeight"in d?d.offsetHeight:g.height)});const o=s.watch(()=>dI(C),d=>{A.value=d?g.width:0,n.value=d?g.height:0});function a(){l(),o()}return{width:A,height:n,stop:a}}function X9(C,g,I={}){const{root:e,rootMargin:t="0px",threshold:i=0,window:A=kg,immediate:n=!0}=I,l=ZI(()=>A&&"IntersectionObserver"in A),o=s.computed(()=>{const h=U(C);return(Array.isArray(h)?h:[h]).map(dI).filter(bw)});let a=XI;const d=s.ref(n),m=l.value?s.watch(()=>[o.value,dI(e),d.value],([h,Z])=>{if(a(),!d.value||!h.length)return;const G=new IntersectionObserver(g,{root:dI(Z),rootMargin:t,threshold:i});h.forEach(w=>w&&G.observe(w)),a=()=>{G.disconnect(),a=XI}},{immediate:n,flush:"post"}):XI,u=()=>{a(),m(),d.value=!1};return mI(u),{isSupported:l,isActive:d,pause(){a(),d.value=!1},resume(){d.value=!0},stop:u}}function H9(C,g={}){const{window:I=kg,scrollTarget:e,threshold:t=0}=g,i=s.ref(!1);return X9(C,A=>{let n=i.value,l=0;for(const o of A)o.time>=l&&(l=o.time,n=o.isIntersecting);i.value=n},{root:e,window:I,threshold:t}),i}const Rh=new Map;function Izg(C){const g=s.getCurrentScope();function I(n){var l;const o=Rh.get(C)||new Set;o.add(n),Rh.set(C,o);const a=()=>t(n);return(l=g==null?void 0:g.cleanups)==null||l.push(a),a}function e(n){function l(...o){t(l),n(...o)}return I(l)}function t(n){const l=Rh.get(C);l&&(l.delete(n),l.size||i())}function i(){Rh.delete(C)}function A(n,l){var o;(o=Rh.get(C))==null||o.forEach(a=>a(n,l))}return{on:I,once:e,off:t,emit:A,reset:i}}function Czg(C){return C===!0?{}:C}function ezg(C,g=[],I={}){const e=s.ref(null),t=s.ref(null),i=s.ref("CONNECTING"),A=s.ref(null),n=s.shallowRef(null),l=LC(C),o=s.shallowRef(null);let a=!1,d=0;const{withCredentials:m=!1,immediate:u=!0}=I,h=()=>{oe&&A.value&&(A.value.close(),A.value=null,i.value="CLOSED",a=!0)},Z=()=>{if(a||typeof l.value>"u")return;const w=new EventSource(l.value,{withCredentials:m});i.value="CONNECTING",A.value=w,w.onopen=()=>{i.value="OPEN",n.value=null},w.onerror=B=>{if(i.value="CLOSED",n.value=B,w.readyState===2&&!a&&I.autoReconnect){w.close();const{retries:p=-1,delay:y=1e3,onFailed:Y}=Czg(I.autoReconnect);d+=1,typeof p=="number"&&(p<0||d<p)||typeof p=="function"&&p()?setTimeout(Z,y):Y==null||Y()}},w.onmessage=B=>{e.value=null,t.value=B.data,o.value=B.lastEventId};for(const B of g)ig(w,B,p=>{e.value=B,t.value=p.data||null})},G=()=>{oe&&(h(),a=!1,d=0,Z())};return u&&s.watch(l,G,{immediate:!0}),mI(h),{eventSource:A,event:e,data:t,status:i,error:n,open:G,close:h,lastEventId:o}}function tzg(C={}){const{initialValue:g=""}=C,I=ZI(()=>typeof window<"u"&&"EyeDropper"in window),e=s.ref(g);async function t(i){if(!I.value)return;const n=await new window.EyeDropper().open(i);return e.value=n.sRGBHex,n}return{isSupported:I,sRGBHex:e,open:t}}function izg(C=null,g={}){const{baseUrl:I="",rel:e="icon",document:t=rt}=g,i=LC(C),A=n=>{const l=t==null?void 0:t.head.querySelectorAll(`link[rel*="${e}"]`);if(!l||l.length===0){const o=t==null?void 0:t.createElement("link");o&&(o.rel=e,o.href=`${I}${n}`,o.type=`image/${n.split(".").pop()}`,t==null||t.head.append(o));return}l==null||l.forEach(o=>o.href=`${I}${n}`)};return s.watch(i,(n,l)=>{typeof n=="string"&&n!==l&&A(n)},{immediate:!0}),i}const Azg={json:"application/json",text:"text/plain"};function Rw(C){return C&&WY(C,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const nzg=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function lzg(C){return nzg.test(C)}function fh(C){return typeof Headers<"u"&&C instanceof Headers?Object.fromEntries(C.entries()):C}function dr(C,...g){return C==="overwrite"?async I=>{const e=g[g.length-1];return e?{...I,...await e(I)}:I}:async I=>{for(const e of g)e&&(I={...I,...await e(I)});return I}}function szg(C={}){const g=C.combination||"chain",I=C.options||{},e=C.fetchOptions||{};function t(i,...A){const n=s.computed(()=>{const a=U(C.baseUrl),d=U(i);return a&&!lzg(d)?ozg(a,d):d});let l=I,o=e;return A.length>0&&(Rw(A[0])?l={...l,...A[0],beforeFetch:dr(g,I.beforeFetch,A[0].beforeFetch),afterFetch:dr(g,I.afterFetch,A[0].afterFetch),onFetchError:dr(g,I.onFetchError,A[0].onFetchError)}:o={...o,...A[0],headers:{...fh(o.headers)||{},...fh(A[0].headers)||{}}}),A.length>1&&Rw(A[1])&&(l={...l,...A[1],beforeFetch:dr(g,I.beforeFetch,A[1].beforeFetch),afterFetch:dr(g,I.afterFetch,A[1].afterFetch),onFetchError:dr(g,I.onFetchError,A[1].onFetchError)}),D9(n,o,l)}return t}function D9(C,...g){var I;const e=typeof AbortController=="function";let t={},i={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const A={method:"GET",type:"text",payload:void 0};g.length>0&&(Rw(g[0])?i={...i,...g[0]}:t=g[0]),g.length>1&&Rw(g[1])&&(i={...i,...g[1]});const{fetch:n=(I=kg)==null?void 0:I.fetch,initialData:l,timeout:o}=i,a=ct(),d=ct(),m=ct(),u=s.ref(!1),h=s.ref(!1),Z=s.ref(!1),G=s.ref(null),w=s.shallowRef(null),B=s.shallowRef(null),p=s.shallowRef(l||null),y=s.computed(()=>e&&h.value);let Y,R;const M=()=>{e&&(Y==null||Y.abort(),Y=new AbortController,Y.signal.onabort=()=>Z.value=!0,t={...t,signal:Y.signal})},K=Q=>{h.value=Q,u.value=!Q};o&&(R=sr(M,o,{immediate:!1}));let J=0;const X=async(Q=!1)=>{var _,og;M(),K(!0),B.value=null,G.value=null,Z.value=!1,J+=1;const eg=J,mg={method:A.method,headers:{}};if(A.payload){const pg=fh(mg.headers),bg=U(A.payload);!A.payloadType&&bg&&Object.getPrototypeOf(bg)===Object.prototype&&!(bg instanceof FormData)&&(A.payloadType="json"),A.payloadType&&(pg["Content-Type"]=(_=Azg[A.payloadType])!=null?_:A.payloadType),mg.body=A.payloadType==="json"?JSON.stringify(bg):bg}let Yg=!1;const Zg={url:U(C),options:{...mg,...t},cancel:()=>{Yg=!0}};if(i.beforeFetch&&Object.assign(Zg,await i.beforeFetch(Zg)),Yg||!n)return K(!1),Promise.resolve(null);let ag=null;return R&&R.start(),n(Zg.url,{...mg,...Zg.options,headers:{...fh(mg.headers),...fh((og=Zg.options)==null?void 0:og.headers)}}).then(async pg=>{if(w.value=pg,G.value=pg.status,ag=await pg.clone()[A.type](),!pg.ok)throw p.value=l||null,new Error(pg.statusText);return i.afterFetch&&({data:ag}=await i.afterFetch({data:ag,response:pg})),p.value=ag,a.trigger(pg),pg}).catch(async pg=>{let bg=pg.message||pg.name;if(i.onFetchError&&({error:bg,data:ag}=await i.onFetchError({data:ag,error:pg,response:w.value})),B.value=bg,i.updateDataOnError&&(p.value=ag),d.trigger(pg),Q)throw pg;return null}).finally(()=>{eg===J&&K(!1),R&&R.stop(),m.trigger(null)})},D=LC(i.refetch);s.watch([D,LC(C)],([Q])=>Q&&X(),{deep:!0});const z={isFinished:s.readonly(u),isFetching:s.readonly(h),statusCode:G,response:w,error:B,data:p,canAbort:y,aborted:Z,abort:M,execute:X,onFetchResponse:a.on,onFetchError:d.on,onFetchFinally:m.on,get:j("GET"),put:j("PUT"),post:j("POST"),delete:j("DELETE"),patch:j("PATCH"),head:j("HEAD"),options:j("OPTIONS"),json:gg("json"),text:gg("text"),blob:gg("blob"),arrayBuffer:gg("arrayBuffer"),formData:gg("formData")};function j(Q){return(_,og)=>{if(!h.value)return A.method=Q,A.payload=_,A.payloadType=og,s.isRef(A.payload)&&s.watch([D,LC(A.payload)],([eg])=>eg&&X(),{deep:!0}),{...z,then(eg,mg){return q().then(eg,mg)}}}}function q(){return new Promise((Q,_)=>{Yh(u).toBe(!0).then(()=>Q(z)).catch(og=>_(og))})}function gg(Q){return()=>{if(!h.value)return A.type=Q,{...z,then(_,og){return q().then(_,og)}}}}return i.immediate&&Promise.resolve().then(()=>X()),{...z,then(Q,_){return q().then(Q,_)}}}function ozg(C,g){return!C.endsWith("/")&&!g.startsWith("/")?`${C}/${g}`:`${C}${g}`}const azg={multiple:!0,accept:"*",reset:!1,directory:!1};function dzg(C={}){const{document:g=rt}=C,I=s.ref(null),{on:e,trigger:t}=ct();let i;g&&(i=g.createElement("input"),i.type="file",i.onchange=l=>{const o=l.target;I.value=o.files,t(I.value)});const A=()=>{I.value=null,i&&i.value&&(i.value="",t(null))},n=l=>{if(!i)return;const o={...azg,...C,...l};i.multiple=o.multiple,i.accept=o.accept,i.webkitdirectory=o.directory,qH(o,"capture")&&(i.capture=o.capture),o.reset&&A(),i.click()};return{files:s.readonly(I),open:n,reset:A,onChange:e}}function czg(C={}){const{window:g=kg,dataType:I="Text"}=C,e=g,t=ZI(()=>e&&"showSaveFilePicker"in e&&"showOpenFilePicker"in e),i=s.ref(),A=s.ref(),n=s.ref(),l=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.name)!=null?p:""}),o=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.type)!=null?p:""}),a=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.size)!=null?p:0}),d=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.lastModified)!=null?p:0});async function m(B={}){if(!t.value)return;const[p]=await e.showOpenFilePicker({...U(C),...B});i.value=p,await w()}async function u(B={}){t.value&&(i.value=await e.showSaveFilePicker({...C,...B}),A.value=void 0,await w())}async function h(B={}){if(t.value){if(!i.value)return Z(B);if(A.value){const p=await i.value.createWritable();await p.write(A.value),await p.close()}await G()}}async function Z(B={}){if(t.value){if(i.value=await e.showSaveFilePicker({...C,...B}),A.value){const p=await i.value.createWritable();await p.write(A.value),await p.close()}await G()}}async function G(){var B;n.value=await((B=i.value)==null?void 0:B.getFile())}async function w(){var B,p;await G();const y=U(I);y==="Text"?A.value=await((B=n.value)==null?void 0:B.text()):y==="ArrayBuffer"?A.value=await((p=n.value)==null?void 0:p.arrayBuffer()):y==="Blob"&&(A.value=n.value)}return s.watch(()=>U(I),w),{isSupported:t,data:A,file:n,fileName:l,fileMIME:o,fileSize:a,fileLastModified:d,open:m,create:u,save:h,saveAs:Z,updateData:w}}function rzg(C,g={}){const{initialValue:I=!1,focusVisible:e=!1,preventScroll:t=!1}=g,i=s.ref(!1),A=s.computed(()=>dI(C));ig(A,"focus",l=>{var o,a;(!e||(a=(o=l.target).matches)!=null&&a.call(o,":focus-visible"))&&(i.value=!0)}),ig(A,"blur",()=>i.value=!1);const n=s.computed({get:()=>i.value,set(l){var o,a;!l&&i.value?(o=A.value)==null||o.blur():l&&!i.value&&((a=A.value)==null||a.focus({preventScroll:t}))}});return s.watch(A,()=>{n.value=I},{immediate:!0,flush:"post"}),{focused:n}}function mzg(C,g={}){const I=Z9(g),e=s.computed(()=>dI(C));return{focused:s.computed(()=>e.value&&I.value?e.value.contains(I.value):!1)}}function uzg(C){var g;const I=s.ref(0);if(typeof performance>"u")return I;const e=(g=C==null?void 0:C.every)!=null?g:10;let t=performance.now(),i=0;return Sa(()=>{if(i+=1,i>=e){const A=performance.now(),n=A-t;I.value=Math.round(1e3/(n/i)),t=A,i=0}}),I}const S9=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function hzg(C,g={}){const{document:I=rt,autoExit:e=!1}=g,t=s.computed(()=>{var w;return(w=dI(C))!=null?w:I==null?void 0:I.querySelector("html")}),i=s.ref(!1),A=s.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>I&&w in I||t.value&&w in t.value)),n=s.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>I&&w in I||t.value&&w in t.value)),l=s.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>I&&w in I||t.value&&w in t.value)),o=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>I&&w in I),a=ZI(()=>t.value&&I&&A.value!==void 0&&n.value!==void 0&&l.value!==void 0),d=()=>o?(I==null?void 0:I[o])===t.value:!1,m=()=>{if(l.value){if(I&&I[l.value]!=null)return I[l.value];{const w=t.value;if((w==null?void 0:w[l.value])!=null)return!!w[l.value]}}return!1};async function u(){if(!(!a.value||!i.value)){if(n.value)if((I==null?void 0:I[n.value])!=null)await I[n.value]();else{const w=t.value;(w==null?void 0:w[n.value])!=null&&await w[n.value]()}i.value=!1}}async function h(){if(!a.value||i.value)return;m()&&await u();const w=t.value;A.value&&(w==null?void 0:w[A.value])!=null&&(await w[A.value](),i.value=!0)}async function Z(){await(i.value?u():h())}const G=()=>{const w=m();(!w||w&&d())&&(i.value=w)};return ig(I,S9,G,!1),ig(()=>dI(t),S9,G,!1),e&&mI(u),{isSupported:a,isFullscreen:i,enter:h,exit:u,toggle:Z}}function bzg(C){return s.computed(()=>C.value?{buttons:{a:C.value.buttons[0],b:C.value.buttons[1],x:C.value.buttons[2],y:C.value.buttons[3]},bumper:{left:C.value.buttons[4],right:C.value.buttons[5]},triggers:{left:C.value.buttons[6],right:C.value.buttons[7]},stick:{left:{horizontal:C.value.axes[0],vertical:C.value.axes[1],button:C.value.buttons[10]},right:{horizontal:C.value.axes[2],vertical:C.value.axes[3],button:C.value.buttons[11]}},dpad:{up:C.value.buttons[12],down:C.value.buttons[13],left:C.value.buttons[14],right:C.value.buttons[15]},back:C.value.buttons[8],start:C.value.buttons[9]}:null)}function Zzg(C={}){const{navigator:g=Dt}=C,I=ZI(()=>g&&"getGamepads"in g),e=s.ref([]),t=ct(),i=ct(),A=u=>{const h=[],Z="vibrationActuator"in u?u.vibrationActuator:null;return Z&&h.push(Z),u.hapticActuators&&h.push(...u.hapticActuators),{id:u.id,index:u.index,connected:u.connected,mapping:u.mapping,timestamp:u.timestamp,vibrationActuator:u.vibrationActuator,hapticActuators:h,axes:u.axes.map(G=>G),buttons:u.buttons.map(G=>({pressed:G.pressed,touched:G.touched,value:G.value}))}},n=()=>{const u=(g==null?void 0:g.getGamepads())||[];for(const h of u)h&&e.value[h.index]&&(e.value[h.index]=A(h))},{isActive:l,pause:o,resume:a}=Sa(n),d=u=>{e.value.some(({index:h})=>h===u.index)||(e.value.push(A(u)),t.trigger(u.index)),a()},m=u=>{e.value=e.value.filter(h=>h.index!==u.index),i.trigger(u.index)};return ig("gamepadconnected",u=>d(u.gamepad)),ig("gamepaddisconnected",u=>m(u.gamepad)),ae(()=>{const u=(g==null?void 0:g.getGamepads())||[];for(const h of u)h&&e.value[h.index]&&d(h)}),o(),{isSupported:I,onConnected:t.on,onDisconnected:i.on,gamepads:e,pause:o,resume:a,isActive:l}}function Gzg(C={}){const{enableHighAccuracy:g=!0,maximumAge:I=3e4,timeout:e=27e3,navigator:t=Dt,immediate:i=!0}=C,A=ZI(()=>t&&"geolocation"in t),n=s.ref(null),l=s.shallowRef(null),o=s.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function a(h){n.value=h.timestamp,o.value=h.coords,l.value=null}let d;function m(){A.value&&(d=t.geolocation.watchPosition(a,h=>l.value=h,{enableHighAccuracy:g,maximumAge:I,timeout:e}))}i&&m();function u(){d&&t&&t.geolocation.clearWatch(d)}return mI(()=>{u()}),{isSupported:A,coords:o,locatedAt:n,error:l,resume:m,pause:u}}const wzg=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Wzg=6e4;function Bzg(C=Wzg,g={}){const{initialState:I=!1,listenForVisibilityChange:e=!0,events:t=wzg,window:i=kg,eventFilter:A=Bh(50)}=g,n=s.ref(I),l=s.ref(Xa());let o;const a=()=>{n.value=!1,clearTimeout(o),o=setTimeout(()=>n.value=!0,C)},d=Ha(A,()=>{l.value=Xa(),a()});if(i){const m=i.document;for(const u of t)ig(i,u,d,{passive:!0});e&&ig(m,"visibilitychange",()=>{m.hidden||d()}),a()}return{idle:n,lastActive:l,reset:a}}async function pzg(C){return new Promise((g,I)=>{const e=new Image,{src:t,srcset:i,sizes:A,class:n,loading:l,crossorigin:o,referrerPolicy:a}=C;e.src=t,i&&(e.srcset=i),A&&(e.sizes=A),n&&(e.className=n),l&&(e.loading=l),o&&(e.crossOrigin=o),a&&(e.referrerPolicy=a),e.onload=()=>g(e),e.onerror=I})}function yzg(C,g={}){const I=G9(()=>pzg(U(C)),void 0,{resetOnExecute:!0,...g});return s.watch(()=>U(C),()=>I.execute(g.delay),{deep:!0}),I}const K9=1;function k9(C,g={}){const{throttle:I=0,idle:e=200,onStop:t=XI,onScroll:i=XI,offset:A={left:0,right:0,top:0,bottom:0},eventListenerOptions:n={capture:!1,passive:!0},behavior:l="auto",window:o=kg,onError:a=M=>{console.error(M)}}=g,d=s.ref(0),m=s.ref(0),u=s.computed({get(){return d.value},set(M){Z(M,void 0)}}),h=s.computed({get(){return m.value},set(M){Z(void 0,M)}});function Z(M,K){var J,X,D,z;if(!o)return;const j=U(C);if(!j)return;(D=j instanceof Document?o.document.body:j)==null||D.scrollTo({top:(J=U(K))!=null?J:h.value,left:(X=U(M))!=null?X:u.value,behavior:U(l)});const q=((z=j==null?void 0:j.document)==null?void 0:z.documentElement)||(j==null?void 0:j.documentElement)||j;u!=null&&(d.value=q.scrollLeft),h!=null&&(m.value=q.scrollTop)}const G=s.ref(!1),w=s.reactive({left:!0,right:!1,top:!0,bottom:!1}),B=s.reactive({left:!1,right:!1,top:!1,bottom:!1}),p=M=>{G.value&&(G.value=!1,B.left=!1,B.right=!1,B.top=!1,B.bottom=!1,t(M))},y=Ww(p,I+e),Y=M=>{var K;if(!o)return;const J=((K=M==null?void 0:M.document)==null?void 0:K.documentElement)||(M==null?void 0:M.documentElement)||dI(M),{display:X,flexDirection:D}=getComputedStyle(J),z=J.scrollLeft;B.left=z<d.value,B.right=z>d.value;const j=Math.abs(z)<=(A.left||0),q=Math.abs(z)+J.clientWidth>=J.scrollWidth-(A.right||0)-K9;X==="flex"&&D==="row-reverse"?(w.left=q,w.right=j):(w.left=j,w.right=q),d.value=z;let gg=J.scrollTop;M===o.document&&!gg&&(gg=o.document.body.scrollTop),B.top=gg<m.value,B.bottom=gg>m.value;const Q=Math.abs(gg)<=(A.top||0),_=Math.abs(gg)+J.clientHeight>=J.scrollHeight-(A.bottom||0)-K9;X==="flex"&&D==="column-reverse"?(w.top=_,w.bottom=Q):(w.top=Q,w.bottom=_),m.value=gg},R=M=>{var K;if(!o)return;const J=(K=M.target.documentElement)!=null?K:M.target;Y(J),G.value=!0,y(M),i(M)};return ig(C,"scroll",I?pY(R,I,!0,!1):R,n),ae(()=>{try{const M=U(C);if(!M)return;Y(M)}catch(M){a(M)}}),ig(C,"scrollend",p,n),{x:u,y:h,isScrolling:G,arrivedState:w,directions:B,measure(){const M=U(C);o&&M&&Y(M)}}}function fw(C){return typeof Window<"u"&&C instanceof Window?C.document.documentElement:typeof Document<"u"&&C instanceof Document?C.documentElement:C}function Yzg(C,g,I={}){var e;const{direction:t="bottom",interval:i=100,canLoadMore:A=()=>!0}=I,n=s.reactive(k9(C,{...I,offset:{[t]:(e=I.distance)!=null?e:0,...I.offset}})),l=s.ref(),o=s.computed(()=>!!l.value),a=s.computed(()=>fw(U(C))),d=H9(a);function m(){if(n.measure(),!a.value||!d.value||!A(a.value))return;const{scrollHeight:u,clientHeight:h,scrollWidth:Z,clientWidth:G}=a.value,w=t==="bottom"||t==="top"?u<=h:Z<=G;(n.arrivedState[t]||w)&&(l.value||(l.value=Promise.all([g(n),new Promise(B=>setTimeout(B,i))]).finally(()=>{l.value=null,s.nextTick(()=>m())})))}return s.watch(()=>[n.arrivedState[t],d.value],m,{immediate:!0}),{isLoading:o,reset(){s.nextTick(()=>m())}}}const Vzg=["mousedown","mouseup","keydown","keyup"];function Nzg(C,g={}){const{events:I=Vzg,document:e=rt,initial:t=null}=g,i=s.ref(t);return e&&I.forEach(A=>{ig(e,A,n=>{typeof n.getModifierState=="function"&&(i.value=n.getModifierState(C))})}),i}function Mzg(C,g,I={}){const{window:e=kg}=I;return Nw(C,g,e==null?void 0:e.localStorage,I)}const F9={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Rzg(C={}){const{reactive:g=!1,target:I=kg,aliasMap:e=F9,passive:t=!0,onEventFired:i=XI}=C,A=s.reactive(new Set),n={toJSON(){return{}},current:A},l=g?s.reactive(n):n,o=new Set,a=new Set;function d(Z,G){Z in l&&(g?l[Z]=G:l[Z].value=G)}function m(){A.clear();for(const Z of a)d(Z,!1)}function u(Z,G){var w,B;const p=(w=Z.key)==null?void 0:w.toLowerCase(),Y=[(B=Z.code)==null?void 0:B.toLowerCase(),p].filter(Boolean);p&&(G?A.add(p):A.delete(p));for(const R of Y)a.add(R),d(R,G);p==="meta"&&!G?(o.forEach(R=>{A.delete(R),d(R,!1)}),o.clear()):typeof Z.getModifierState=="function"&&Z.getModifierState("Meta")&&G&&[...A,...Y].forEach(R=>o.add(R))}ig(I,"keydown",Z=>(u(Z,!0),i(Z)),{passive:t}),ig(I,"keyup",Z=>(u(Z,!1),i(Z)),{passive:t}),ig("blur",m,{passive:!0}),ig("focus",m,{passive:!0});const h=new Proxy(l,{get(Z,G,w){if(typeof G!="string")return Reflect.get(Z,G,w);if(G=G.toLowerCase(),G in e&&(G=e[G]),!(G in l))if(/[+_-]/.test(G)){const p=G.split(/[+_-]/g).map(y=>y.trim());l[G]=s.computed(()=>p.every(y=>U(h[y])))}else l[G]=s.ref(!1);const B=Reflect.get(Z,G,w);return g?U(B):B}});return h}function DY(C,g){U(C)&&g(U(C))}function fzg(C){let g=[];for(let I=0;I<C.length;++I)g=[...g,[C.start(I),C.end(I)]];return g}function SY(C){return Array.from(C).map(({label:g,kind:I,language:e,mode:t,activeCues:i,cues:A,inBandMetadataTrackDispatchType:n},l)=>({id:l,label:g,kind:I,language:e,mode:t,activeCues:i,cues:A,inBandMetadataTrackDispatchType:n}))}const Xzg={src:"",tracks:[]};function Hzg(C,g={}){C=LC(C),g={...Xzg,...g};const{document:I=rt}=g,e=s.ref(0),t=s.ref(0),i=s.ref(!1),A=s.ref(1),n=s.ref(!1),l=s.ref(!1),o=s.ref(!1),a=s.ref(1),d=s.ref(!1),m=s.ref([]),u=s.ref([]),h=s.ref(-1),Z=s.ref(!1),G=s.ref(!1),w=I&&"pictureInPictureEnabled"in I,B=ct(),p=X=>{DY(C,D=>{if(X){const z=typeof X=="number"?X:X.id;D.textTracks[z].mode="disabled"}else for(let z=0;z<D.textTracks.length;++z)D.textTracks[z].mode="disabled";h.value=-1})},y=(X,D=!0)=>{DY(C,z=>{const j=typeof X=="number"?X:X.id;D&&p(),z.textTracks[j].mode="showing",h.value=j})},Y=()=>new Promise((X,D)=>{DY(C,async z=>{w&&(Z.value?I.exitPictureInPicture().then(X).catch(D):z.requestPictureInPicture().then(X).catch(D))})});s.watchEffect(()=>{if(!I)return;const X=U(C);if(!X)return;const D=U(g.src);let z=[];D&&(typeof D=="string"?z=[{src:D}]:Array.isArray(D)?z=D:wh(D)&&(z=[D]),X.querySelectorAll("source").forEach(j=>{j.removeEventListener("error",B.trigger),j.remove()}),z.forEach(({src:j,type:q})=>{const gg=I.createElement("source");gg.setAttribute("src",j),gg.setAttribute("type",q||""),gg.addEventListener("error",B.trigger),X.appendChild(gg)}),X.load())}),mI(()=>{const X=U(C);X&&X.querySelectorAll("source").forEach(D=>D.removeEventListener("error",B.trigger))}),s.watch([C,A],()=>{const X=U(C);X&&(X.volume=A.value)}),s.watch([C,G],()=>{const X=U(C);X&&(X.muted=G.value)}),s.watch([C,a],()=>{const X=U(C);X&&(X.playbackRate=a.value)}),s.watchEffect(()=>{if(!I)return;const X=U(g.tracks),D=U(C);!X||!X.length||!D||(D.querySelectorAll("track").forEach(z=>z.remove()),X.forEach(({default:z,kind:j,label:q,src:gg,srcLang:Q},_)=>{const og=I.createElement("track");og.default=z||!1,og.kind=j,og.label=q,og.src=gg,og.srclang=Q,og.default&&(h.value=_),D.appendChild(og)}))});const{ignoreUpdates:R}=or(e,X=>{const D=U(C);D&&(D.currentTime=X)}),{ignoreUpdates:M}=or(o,X=>{const D=U(C);D&&(X?D.play():D.pause())});ig(C,"timeupdate",()=>R(()=>e.value=U(C).currentTime)),ig(C,"durationchange",()=>t.value=U(C).duration),ig(C,"progress",()=>m.value=fzg(U(C).buffered)),ig(C,"seeking",()=>i.value=!0),ig(C,"seeked",()=>i.value=!1),ig(C,["waiting","loadstart"],()=>{n.value=!0,M(()=>o.value=!1)}),ig(C,"loadeddata",()=>n.value=!1),ig(C,"playing",()=>{n.value=!1,l.value=!1,M(()=>o.value=!0)}),ig(C,"ratechange",()=>a.value=U(C).playbackRate),ig(C,"stalled",()=>d.value=!0),ig(C,"ended",()=>l.value=!0),ig(C,"pause",()=>M(()=>o.value=!1)),ig(C,"play",()=>M(()=>o.value=!0)),ig(C,"enterpictureinpicture",()=>Z.value=!0),ig(C,"leavepictureinpicture",()=>Z.value=!1),ig(C,"volumechange",()=>{const X=U(C);X&&(A.value=X.volume,G.value=X.muted)});const K=[],J=s.watch([C],()=>{const X=U(C);X&&(J(),K[0]=ig(X.textTracks,"addtrack",()=>u.value=SY(X.textTracks)),K[1]=ig(X.textTracks,"removetrack",()=>u.value=SY(X.textTracks)),K[2]=ig(X.textTracks,"change",()=>u.value=SY(X.textTracks)))});return mI(()=>K.forEach(X=>X())),{currentTime:e,duration:t,waiting:n,seeking:i,ended:l,stalled:d,buffered:m,playing:o,rate:a,volume:A,muted:G,tracks:u,selectedTrack:h,enableTrack:y,disableTrack:p,supportsPictureInPicture:w,togglePictureInPicture:Y,isPictureInPicture:Z,onSourceError:B.on}}function Dzg(C,g){const e=g!=null&&g.cache?s.shallowReactive(g.cache):s.shallowReactive(new Map),t=(...a)=>g!=null&&g.getKey?g.getKey(...a):JSON.stringify(a),i=(a,...d)=>(e.set(a,C(...d)),e.get(a)),A=(...a)=>i(t(...a),...a),n=(...a)=>{e.delete(t(...a))},l=()=>{e.clear()},o=(...a)=>{const d=t(...a);return e.has(d)?e.get(d):i(d,...a)};return o.load=A,o.delete=n,o.clear=l,o.generateKey=t,o.cache=e,o}function Szg(C={}){const g=s.ref(),I=ZI(()=>typeof performance<"u"&&"memory"in performance);if(I.value){const{interval:e=1e3}=C;ks(()=>{g.value=performance.memory},e,{immediate:C.immediate,immediateCallback:C.immediateCallback})}return{isSupported:I,memory:g}}const Kzg={page:C=>[C.pageX,C.pageY],client:C=>[C.clientX,C.clientY],screen:C=>[C.screenX,C.screenY],movement:C=>C instanceof Touch?null:[C.movementX,C.movementY]};function z9(C={}){const{type:g="page",touch:I=!0,resetOnTouchEnds:e=!1,initialValue:t={x:0,y:0},window:i=kg,target:A=i,scroll:n=!0,eventFilter:l}=C;let o=null;const a=s.ref(t.x),d=s.ref(t.y),m=s.ref(null),u=typeof g=="function"?g:Kzg[g],h=Y=>{const R=u(Y);o=Y,R&&([a.value,d.value]=R,m.value="mouse")},Z=Y=>{if(Y.touches.length>0){const R=u(Y.touches[0]);R&&([a.value,d.value]=R,m.value="touch")}},G=()=>{if(!o||!i)return;const Y=u(o);o instanceof MouseEvent&&Y&&(a.value=Y[0]+i.scrollX,d.value=Y[1]+i.scrollY)},w=()=>{a.value=t.x,d.value=t.y},B=l?Y=>l(()=>h(Y),{}):Y=>h(Y),p=l?Y=>l(()=>Z(Y),{}):Y=>Z(Y),y=l?()=>l(()=>G(),{}):()=>G();if(A){const Y={passive:!0};ig(A,["mousemove","dragover"],B,Y),I&&g!=="movement"&&(ig(A,["touchstart","touchmove"],p,Y),e&&ig(A,"touchend",w,Y)),n&&g==="page"&&ig(i,"scroll",y,{passive:!0})}return{x:a,y:d,sourceType:m}}function J9(C,g={}){const{handleOutside:I=!0,window:e=kg}=g,t=g.type||"page",{x:i,y:A,sourceType:n}=z9(g),l=s.ref(C??(e==null?void 0:e.document.body)),o=s.ref(0),a=s.ref(0),d=s.ref(0),m=s.ref(0),u=s.ref(0),h=s.ref(0),Z=s.ref(!0);let G=()=>{};return e&&(G=s.watch([l,i,A],()=>{const w=dI(l);if(!w||!(w instanceof HTMLElement))return;const{left:B,top:p,width:y,height:Y}=w.getBoundingClientRect();d.value=B+(t==="page"?e.pageXOffset:0),m.value=p+(t==="page"?e.pageYOffset:0),u.value=Y,h.value=y;const R=i.value-d.value,M=A.value-m.value;Z.value=y===0||Y===0||R<0||M<0||R>y||M>Y,(I||!Z.value)&&(o.value=R,a.value=M)},{immediate:!0}),ig(document,"mouseleave",()=>{Z.value=!0})),{x:i,y:A,sourceType:n,elementX:o,elementY:a,elementPositionX:d,elementPositionY:m,elementHeight:u,elementWidth:h,isOutside:Z,stop:G}}function kzg(C={}){const{touch:g=!0,drag:I=!0,capture:e=!1,initialValue:t=!1,window:i=kg}=C,A=s.ref(t),n=s.ref(null);if(!i)return{pressed:A,sourceType:n};const l=d=>()=>{A.value=!0,n.value=d},o=()=>{A.value=!1,n.value=null},a=s.computed(()=>dI(C.target)||i);return ig(a,"mousedown",l("mouse"),{passive:!0,capture:e}),ig(i,"mouseleave",o,{passive:!0,capture:e}),ig(i,"mouseup",o,{passive:!0,capture:e}),I&&(ig(a,"dragstart",l("mouse"),{passive:!0,capture:e}),ig(i,"drop",o,{passive:!0,capture:e}),ig(i,"dragend",o,{passive:!0,capture:e})),g&&(ig(a,"touchstart",l("touch"),{passive:!0,capture:e}),ig(i,"touchend",o,{passive:!0,capture:e}),ig(i,"touchcancel",o,{passive:!0,capture:e})),{pressed:A,sourceType:n}}function Fzg(C={}){const{window:g=kg}=C,I=g==null?void 0:g.navigator,e=ZI(()=>I&&"language"in I),t=s.ref(I==null?void 0:I.language);return ig(g,"languagechange",()=>{I&&(t.value=I.language)}),{isSupported:e,language:t}}function L9(C={}){const{window:g=kg}=C,I=g==null?void 0:g.navigator,e=ZI(()=>I&&"connection"in I),t=s.ref(!0),i=s.ref(!1),A=s.ref(void 0),n=s.ref(void 0),l=s.ref(void 0),o=s.ref(void 0),a=s.ref(void 0),d=s.ref(void 0),m=s.ref("unknown"),u=e.value&&I.connection;function h(){I&&(t.value=I.onLine,A.value=t.value?void 0:Date.now(),n.value=t.value?Date.now():void 0,u&&(l.value=u.downlink,o.value=u.downlinkMax,d.value=u.effectiveType,a.value=u.rtt,i.value=u.saveData,m.value=u.type))}return g&&(ig(g,"offline",()=>{t.value=!1,A.value=Date.now()}),ig(g,"online",()=>{t.value=!0,n.value=Date.now()})),u&&ig(u,"change",h,!1),h(),{isSupported:e,isOnline:t,saveData:i,offlineAt:A,onlineAt:n,downlink:l,downlinkMax:o,effectiveType:d,rtt:a,type:m}}function T9(C={}){const{controls:g=!1,interval:I="requestAnimationFrame"}=C,e=s.ref(new Date),t=()=>e.value=new Date,i=I==="requestAnimationFrame"?Sa(t,{immediate:!0}):ks(t,I,{immediate:!0});return g?{now:e,...i}:e}function zzg(C){const g=s.ref(),I=()=>{g.value&&URL.revokeObjectURL(g.value),g.value=void 0};return s.watch(()=>U(C),e=>{I(),e&&(g.value=URL.createObjectURL(e))},{immediate:!0}),mI(I),s.readonly(g)}function v9(C,g,I){if(typeof C=="function"||s.isReadonly(C))return s.computed(()=>Zw(U(C),U(g),U(I)));const e=s.ref(C);return s.computed({get(){return e.value=Zw(e.value,U(g),U(I))},set(t){e.value=Zw(t,U(g),U(I))}})}function Jzg(C){const{total:g=Number.POSITIVE_INFINITY,pageSize:I=10,page:e=1,onPageChange:t=XI,onPageSizeChange:i=XI,onPageCountChange:A=XI}=C,n=v9(I,1,Number.POSITIVE_INFINITY),l=s.computed(()=>Math.max(1,Math.ceil(U(g)/U(n)))),o=v9(e,1,l),a=s.computed(()=>o.value===1),d=s.computed(()=>o.value===l.value);s.isRef(e)&&YY(e,o,{direction:s.isReadonly(e)?"ltr":"both"}),s.isRef(I)&&YY(I,n,{direction:s.isReadonly(I)?"ltr":"both"});function m(){o.value--}function u(){o.value++}const h={currentPage:o,currentPageSize:n,pageCount:l,isFirstPage:a,isLastPage:d,prev:m,next:u};return s.watch(o,()=>{t(s.reactive(h))}),s.watch(n,()=>{i(s.reactive(h))}),s.watch(l,()=>{A(s.reactive(h))}),h}function Lzg(C={}){const{isOnline:g}=L9(C);return g}function Tzg(C={}){const{window:g=kg}=C,I=s.ref(!1),e=t=>{if(!g)return;t=t||g.event;const i=t.relatedTarget||t.toElement;I.value=!i};return g&&(ig(g,"mouseout",e,{passive:!0}),ig(g.document,"mouseleave",e,{passive:!0}),ig(g.document,"mouseenter",e,{passive:!0})),I}function j9(C={}){const{window:g=kg}=C,I=ZI(()=>g&&"screen"in g&&"orientation"in g.screen),e=I.value?g.screen.orientation:{},t=s.ref(e.type),i=s.ref(e.angle||0);return I.value&&ig(g,"orientationchange",()=>{t.value=e.type,i.value=e.angle}),{isSupported:I,orientation:t,angle:i,lockOrientation:l=>I.value&&typeof e.lock=="function"?e.lock(l):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{I.value&&typeof e.unlock=="function"&&e.unlock()}}}function vzg(C,g={}){const{deviceOrientationTiltAdjust:I=G=>G,deviceOrientationRollAdjust:e=G=>G,mouseTiltAdjust:t=G=>G,mouseRollAdjust:i=G=>G,window:A=kg}=g,n=s.reactive(M9({window:A})),l=s.reactive(j9({window:A})),{elementX:o,elementY:a,elementWidth:d,elementHeight:m}=J9(C,{handleOutside:!1,window:A}),u=s.computed(()=>n.isSupported&&(n.alpha!=null&&n.alpha!==0||n.gamma!=null&&n.gamma!==0)?"deviceOrientation":"mouse"),h=s.computed(()=>{if(u.value==="deviceOrientation"){let G;switch(l.orientation){case"landscape-primary":G=n.gamma/90;break;case"landscape-secondary":G=-n.gamma/90;break;case"portrait-primary":G=-n.beta/90;break;case"portrait-secondary":G=n.beta/90;break;default:G=-n.beta/90}return e(G)}else{const G=-(a.value-m.value/2)/m.value;return i(G)}}),Z=s.computed(()=>{if(u.value==="deviceOrientation"){let G;switch(l.orientation){case"landscape-primary":G=n.beta/90;break;case"landscape-secondary":G=-n.beta/90;break;case"portrait-primary":G=n.gamma/90;break;case"portrait-secondary":G=-n.gamma/90;break;default:G=n.gamma/90}return I(G)}else{const G=(o.value-d.value/2)/d.value;return t(G)}});return{roll:h,tilt:Z,source:u}}function jzg(C=Y9()){const g=s.shallowRef(),I=()=>{const e=dI(C);e&&(g.value=e.parentElement)};return ae(I),s.watch(()=>U(C),I),g}function xzg(C,g){const{window:I=kg,immediate:e=!0,...t}=C,i=ZI(()=>I&&"PerformanceObserver"in I);let A;const n=()=>{A==null||A.disconnect()},l=()=>{i.value&&(n(),A=new PerformanceObserver(g),A.observe(t))};return mI(n),e&&l(),{isSupported:i,start:l,stop:n}}const x9={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Ozg=Object.keys(x9);function Qzg(C={}){const{target:g=kg}=C,I=s.ref(!1),e=s.ref(C.initialValue||{});Object.assign(e.value,x9,e.value);const t=i=>{I.value=!0,!(C.pointerTypes&&!C.pointerTypes.includes(i.pointerType))&&(e.value=t9(i,Ozg,!1))};if(g){const i={passive:!0};ig(g,["pointerdown","pointermove","pointerup"],t,i),ig(g,"pointerleave",()=>I.value=!1,i)}return{...VY(e),isInside:I}}function Uzg(C,g={}){const{document:I=rt}=g,e=ZI(()=>I&&"pointerLockElement"in I),t=s.ref(),i=s.ref();let A;e.value&&(ig(I,"pointerlockchange",()=>{var o;const a=(o=I.pointerLockElement)!=null?o:t.value;A&&a===A&&(t.value=I.pointerLockElement,t.value||(A=i.value=null))}),ig(I,"pointerlockerror",()=>{var o;const a=(o=I.pointerLockElement)!=null?o:t.value;if(A&&a===A){const d=I.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${d} pointer lock.`)}}));async function n(o){var a;if(!e.value)throw new Error("Pointer Lock API is not supported by your browser.");if(i.value=o instanceof Event?o.currentTarget:null,A=o instanceof Event?(a=dI(C))!=null?a:i.value:dI(o),!A)throw new Error("Target element undefined.");return A.requestPointerLock(),await Yh(t).toBe(A)}async function l(){return t.value?(I.exitPointerLock(),await Yh(t).toBeNull(),!0):!1}return{isSupported:e,element:t,triggerElement:i,lock:n,unlock:l}}function Ezg(C,g={}){const I=LC(C),{threshold:e=50,onSwipe:t,onSwipeEnd:i,onSwipeStart:A,disableTextSelect:n=!1}=g,l=s.reactive({x:0,y:0}),o=(M,K)=>{l.x=M,l.y=K},a=s.reactive({x:0,y:0}),d=(M,K)=>{a.x=M,a.y=K},m=s.computed(()=>l.x-a.x),u=s.computed(()=>l.y-a.y),{max:h,abs:Z}=Math,G=s.computed(()=>h(Z(m.value),Z(u.value))>=e),w=s.ref(!1),B=s.ref(!1),p=s.computed(()=>G.value?Z(m.value)>Z(u.value)?m.value>0?"left":"right":u.value>0?"up":"down":"none"),y=M=>{var K,J,X;const D=M.buttons===0,z=M.buttons===1;return(X=(J=(K=g.pointerTypes)==null?void 0:K.includes(M.pointerType))!=null?J:D||z)!=null?X:!0},Y=[ig(C,"pointerdown",M=>{if(!y(M))return;B.value=!0;const K=M.target;K==null||K.setPointerCapture(M.pointerId);const{clientX:J,clientY:X}=M;o(J,X),d(J,X),A==null||A(M)}),ig(C,"pointermove",M=>{if(!y(M)||!B.value)return;const{clientX:K,clientY:J}=M;d(K,J),!w.value&&G.value&&(w.value=!0),w.value&&(t==null||t(M))}),ig(C,"pointerup",M=>{y(M)&&(w.value&&(i==null||i(M,p.value)),B.value=!1,w.value=!1)})];ae(()=>{var M,K,J,X,D,z,j,q;(K=(M=I.value)==null?void 0:M.style)==null||K.setProperty("touch-action","none"),n&&((X=(J=I.value)==null?void 0:J.style)==null||X.setProperty("-webkit-user-select","none"),(z=(D=I.value)==null?void 0:D.style)==null||z.setProperty("-ms-user-select","none"),(q=(j=I.value)==null?void 0:j.style)==null||q.setProperty("user-select","none"))});const R=()=>Y.forEach(M=>M());return{isSwiping:s.readonly(w),direction:s.readonly(p),posStart:s.readonly(l),posEnd:s.readonly(a),distanceX:m,distanceY:u,stop:R}}function Pzg(C){const g=St("(prefers-color-scheme: light)",C),I=St("(prefers-color-scheme: dark)",C);return s.computed(()=>I.value?"dark":g.value?"light":"no-preference")}function _zg(C){const g=St("(prefers-contrast: more)",C),I=St("(prefers-contrast: less)",C),e=St("(prefers-contrast: custom)",C);return s.computed(()=>g.value?"more":I.value?"less":e.value?"custom":"no-preference")}function $zg(C={}){const{window:g=kg}=C;if(!g)return s.ref(["en"]);const I=g.navigator,e=s.ref(I.languages);return ig(g,"languagechange",()=>{e.value=I.languages}),e}function qzg(C){const g=St("(prefers-reduced-motion: reduce)",C);return s.computed(()=>g.value?"reduce":"no-preference")}function gJg(C,g){const I=s.shallowRef(g);return s.watch(LC(C),(e,t)=>{I.value=t},{flush:"sync"}),s.readonly(I)}const O9="--vueuse-safe-area-top",Q9="--vueuse-safe-area-right",U9="--vueuse-safe-area-bottom",E9="--vueuse-safe-area-left";function IJg(){const C=s.ref(""),g=s.ref(""),I=s.ref(""),e=s.ref("");if(oe){const i=Mh(O9),A=Mh(Q9),n=Mh(U9),l=Mh(E9);i.value="env(safe-area-inset-top, 0px)",A.value="env(safe-area-inset-right, 0px)",n.value="env(safe-area-inset-bottom, 0px)",l.value="env(safe-area-inset-left, 0px)",t(),ig("resize",Ww(t))}function t(){C.value=Xw(O9),g.value=Xw(Q9),I.value=Xw(U9),e.value=Xw(E9)}return{top:C,right:g,bottom:I,left:e,update:t}}function Xw(C){return getComputedStyle(document.documentElement).getPropertyValue(C)}function CJg(C,g=XI,I={}){const{immediate:e=!0,manual:t=!1,type:i="text/javascript",async:A=!0,crossOrigin:n,referrerPolicy:l,noModule:o,defer:a,document:d=rt,attrs:m={}}=I,u=s.ref(null);let h=null;const Z=B=>new Promise((p,y)=>{const Y=K=>(u.value=K,p(K),K);if(!d){p(!1);return}let R=!1,M=d.querySelector(`script[src="${U(C)}"]`);M?M.hasAttribute("data-loaded")&&Y(M):(M=d.createElement("script"),M.type=i,M.async=A,M.src=U(C),a&&(M.defer=a),n&&(M.crossOrigin=n),o&&(M.noModule=o),l&&(M.referrerPolicy=l),Object.entries(m).forEach(([K,J])=>M==null?void 0:M.setAttribute(K,J)),R=!0),M.addEventListener("error",K=>y(K)),M.addEventListener("abort",K=>y(K)),M.addEventListener("load",()=>{M.setAttribute("data-loaded","true"),g(M),Y(M)}),R&&(M=d.head.appendChild(M)),B||Y(M)}),G=(B=!0)=>(h||(h=Z(B)),h),w=()=>{if(!d)return;h=null,u.value&&(u.value=null);const B=d.querySelector(`script[src="${U(C)}"]`);B&&d.head.removeChild(B)};return e&&!t&&ae(G),t||o9(w),{scriptTag:u,load:G,unload:w}}function P9(C){const g=window.getComputedStyle(C);if(g.overflowX==="scroll"||g.overflowY==="scroll"||g.overflowX==="auto"&&C.clientWidth<C.scrollWidth||g.overflowY==="auto"&&C.clientHeight<C.scrollHeight)return!0;{const I=C.parentNode;return!I||I.tagName==="BODY"?!1:P9(I)}}function eJg(C){const g=C||window.event,I=g.target;return P9(I)?!1:g.touches.length>1?!0:(g.preventDefault&&g.preventDefault(),!1)}const KY=new WeakMap;function tJg(C,g=!1){const I=s.ref(g);let e=null,t="";s.watch(LC(C),n=>{const l=fw(U(n));if(l){const o=l;if(KY.get(o)||KY.set(o,o.style.overflow),o.style.overflow!=="hidden"&&(t=o.style.overflow),o.style.overflow==="hidden")return I.value=!0;if(I.value)return o.style.overflow="hidden"}},{immediate:!0});const i=()=>{const n=fw(U(C));!n||I.value||(Gw&&(e=ig(n,"touchmove",l=>{eJg(l)},{passive:!1})),n.style.overflow="hidden",I.value=!0)},A=()=>{const n=fw(U(C));!n||!I.value||(Gw&&(e==null||e()),n.style.overflow=t,KY.delete(n),I.value=!1)};return mI(A),s.computed({get(){return I.value},set(n){n?i():A()}})}function iJg(C,g,I={}){const{window:e=kg}=I;return Nw(C,g,e==null?void 0:e.sessionStorage,I)}function AJg(C={},g={}){const{navigator:I=Dt}=g,e=I,t=ZI(()=>e&&"canShare"in e);return{isSupported:t,share:async(A={})=>{if(t.value){const n={...U(C),...U(A)};let l=!0;if(n.files&&e.canShare&&(l=e.canShare({files:n.files})),l)return e.share(n)}}}}const nJg=(C,g)=>C.sort(g),Hw=(C,g)=>C-g;function lJg(...C){var g,I,e,t;const[i]=C;let A=Hw,n={};C.length===2?typeof C[1]=="object"?(n=C[1],A=(g=n.compareFn)!=null?g:Hw):A=(I=C[1])!=null?I:Hw:C.length>2&&(A=(e=C[1])!=null?e:Hw,n=(t=C[2])!=null?t:{});const{dirty:l=!1,sortFn:o=nJg}=n;return l?(s.watchEffect(()=>{const a=o(U(i),A);s.isRef(i)?i.value=a:i.splice(0,i.length,...a)}),i):s.computed(()=>o([...U(i)],A))}function sJg(C={}){const{interimResults:g=!0,continuous:I=!0,maxAlternatives:e=1,window:t=kg}=C,i=LC(C.lang||"en-US"),A=s.ref(!1),n=s.ref(!1),l=s.ref(""),o=s.shallowRef(void 0),a=(G=!A.value)=>{A.value=G},d=()=>{A.value=!0},m=()=>{A.value=!1},u=t&&(t.SpeechRecognition||t.webkitSpeechRecognition),h=ZI(()=>u);let Z;return h.value&&(Z=new u,Z.continuous=I,Z.interimResults=g,Z.lang=U(i),Z.maxAlternatives=e,Z.onstart=()=>{n.value=!1},s.watch(i,G=>{Z&&!A.value&&(Z.lang=G)}),Z.onresult=G=>{const w=G.results[G.resultIndex],{transcript:B}=w[0];n.value=w.isFinal,l.value=B,o.value=void 0},Z.onerror=G=>{o.value=G},Z.onend=()=>{A.value=!1,Z.lang=U(i)},s.watch(A,()=>{A.value?Z.start():Z.stop()})),mI(()=>{A.value=!1}),{isSupported:h,isListening:A,isFinal:n,recognition:Z,result:l,error:o,toggle:a,start:d,stop:m}}function oJg(C,g={}){const{pitch:I=1,rate:e=1,volume:t=1,window:i=kg}=g,A=i&&i.speechSynthesis,n=ZI(()=>A),l=s.ref(!1),o=s.ref("init"),a=LC(C||""),d=LC(g.lang||"en-US"),m=s.shallowRef(void 0),u=(B=!l.value)=>{l.value=B},h=B=>{B.lang=U(d),B.voice=U(g.voice)||null,B.pitch=U(I),B.rate=U(e),B.volume=t,B.onstart=()=>{l.value=!0,o.value="play"},B.onpause=()=>{l.value=!1,o.value="pause"},B.onresume=()=>{l.value=!0,o.value="play"},B.onend=()=>{l.value=!1,o.value="end"},B.onerror=p=>{m.value=p}},Z=s.computed(()=>{l.value=!1,o.value="init";const B=new SpeechSynthesisUtterance(a.value);return h(B),B}),G=()=>{A.cancel(),Z&&A.speak(Z.value)},w=()=>{A.cancel(),l.value=!1};return n.value&&(h(Z.value),s.watch(d,B=>{Z.value&&!l.value&&(Z.value.lang=B)}),g.voice&&s.watch(g.voice,()=>{A.cancel()}),s.watch(l,()=>{l.value?A.resume():A.pause()})),mI(()=>{l.value=!1}),{isSupported:n,isPlaying:l,status:o,utterance:Z,error:m,stop:w,toggle:u,speak:G}}function aJg(C,g){const I=s.ref(C),e=s.computed(()=>Array.isArray(I.value)?I.value:Object.keys(I.value)),t=s.ref(e.value.indexOf(g??e.value[0])),i=s.computed(()=>a(t.value)),A=s.computed(()=>t.value===0),n=s.computed(()=>t.value===e.value.length-1),l=s.computed(()=>e.value[t.value+1]),o=s.computed(()=>e.value[t.value-1]);function a(Y){return Array.isArray(I.value)?I.value[Y]:I.value[e.value[Y]]}function d(Y){if(e.value.includes(Y))return a(e.value.indexOf(Y))}function m(Y){e.value.includes(Y)&&(t.value=e.value.indexOf(Y))}function u(){n.value||t.value++}function h(){A.value||t.value--}function Z(Y){y(Y)&&m(Y)}function G(Y){return e.value.indexOf(Y)===t.value+1}function w(Y){return e.value.indexOf(Y)===t.value-1}function B(Y){return e.value.indexOf(Y)===t.value}function p(Y){return t.value<e.value.indexOf(Y)}function y(Y){return t.value>e.value.indexOf(Y)}return{steps:I,stepNames:e,index:t,current:i,next:l,previous:o,isFirst:A,isLast:n,at:a,get:d,goTo:m,goToNext:u,goToPrevious:h,goBackTo:Z,isNext:G,isPrevious:w,isCurrent:B,isBefore:p,isAfter:y}}function dJg(C,g,I,e={}){var t;const{flush:i="pre",deep:A=!0,listenToStorageChanges:n=!0,writeDefaults:l=!0,mergeDefaults:o=!1,shallow:a,window:d=kg,eventFilter:m,onError:u=p=>{console.error(p)}}=e,h=U(g),Z=p9(h),G=(a?s.shallowRef:s.ref)(g),w=(t=e.serializer)!=null?t:RY[Z];if(!I)try{I=Vw("getDefaultStorageAsync",()=>{var p;return(p=kg)==null?void 0:p.localStorage})()}catch(p){u(p)}async function B(p){if(!(!I||p&&p.key!==C))try{const y=p?p.newValue:await I.getItem(C);if(y==null)G.value=h,l&&h!==null&&await I.setItem(C,await w.write(h));else if(o){const Y=await w.read(y);typeof o=="function"?G.value=o(Y,h):Z==="object"&&!Array.isArray(Y)?G.value={...h,...Y}:G.value=Y}else G.value=await w.read(y)}catch(y){u(y)}}return B(),d&&n&&ig(d,"storage",p=>Promise.resolve().then(()=>B(p))),I&&nr(G,async()=>{try{G.value==null?await I.removeItem(C):await I.setItem(C,await w.write(G.value))}catch(p){u(p)}},{flush:i,deep:A,eventFilter:m}),G}let cJg=0;function rJg(C,g={}){const I=s.ref(!1),{document:e=rt,immediate:t=!0,manual:i=!1,id:A=`vueuse_styletag_${++cJg}`}=g,n=s.ref(C);let l=()=>{};const o=()=>{if(!e)return;const d=e.getElementById(A)||e.createElement("style");d.isConnected||(d.id=A,g.media&&(d.media=g.media),e.head.appendChild(d)),!I.value&&(l=s.watch(n,m=>{d.textContent=m},{immediate:!0}),I.value=!0)},a=()=>{!e||!I.value||(l(),e.head.removeChild(e.getElementById(A)),I.value=!1)};return t&&!i&&ae(o),i||mI(a),{id:A,css:n,unload:a,load:o,isLoaded:s.readonly(I)}}function mJg(C,g={}){const{threshold:I=50,onSwipe:e,onSwipeEnd:t,onSwipeStart:i,passive:A=!0,window:n=kg}=g,l=s.reactive({x:0,y:0}),o=s.reactive({x:0,y:0}),a=s.computed(()=>l.x-o.x),d=s.computed(()=>l.y-o.y),{max:m,abs:u}=Math,h=s.computed(()=>m(u(a.value),u(d.value))>=I),Z=s.ref(!1),G=s.computed(()=>h.value?u(a.value)>u(d.value)?a.value>0?"left":"right":d.value>0?"up":"down":"none"),w=J=>[J.touches[0].clientX,J.touches[0].clientY],B=(J,X)=>{l.x=J,l.y=X},p=(J,X)=>{o.x=J,o.y=X};let y;const Y=uJg(n==null?void 0:n.document);A?y=Y?{passive:!0}:{capture:!1}:y=Y?{passive:!1,capture:!0}:{capture:!0};const R=J=>{Z.value&&(t==null||t(J,G.value)),Z.value=!1},M=[ig(C,"touchstart",J=>{if(J.touches.length!==1)return;y.capture&&!y.passive&&J.preventDefault();const[X,D]=w(J);B(X,D),p(X,D),i==null||i(J)},y),ig(C,"touchmove",J=>{if(J.touches.length!==1)return;const[X,D]=w(J);p(X,D),!Z.value&&h.value&&(Z.value=!0),Z.value&&(e==null||e(J))},y),ig(C,["touchend","touchcancel"],R,y)];return{isPassiveEventSupported:Y,isSwiping:Z,direction:G,coordsStart:l,coordsEnd:o,lengthX:a,lengthY:d,stop:()=>M.forEach(J=>J())}}function uJg(C){if(!C)return!1;let g=!1;const I={get passive(){return g=!0,!1}};return C.addEventListener("x",XI,I),C.removeEventListener("x",XI),g}function hJg(){const C=s.ref([]);return C.value.set=g=>{g&&C.value.push(g)},s.onBeforeUpdate(()=>{C.value.length=0}),C}function bJg(C={}){const{document:g=rt,selector:I="html",observe:e=!1,initialValue:t="ltr"}=C;function i(){var n,l;return(l=(n=g==null?void 0:g.querySelector(I))==null?void 0:n.getAttribute("dir"))!=null?l:t}const A=s.ref(i());return ae(()=>A.value=i()),e&&g&&ar(g.querySelector(I),()=>A.value=i(),{attributes:!0}),s.computed({get(){return A.value},set(n){var l,o;A.value=n,g&&(A.value?(l=g.querySelector(I))==null||l.setAttribute("dir",A.value):(o=g.querySelector(I))==null||o.removeAttribute("dir"))}})}function ZJg(C){var g;const I=(g=C.rangeCount)!=null?g:0;return Array.from({length:I},(e,t)=>C.getRangeAt(t))}function GJg(C={}){const{window:g=kg}=C,I=s.ref(null),e=s.computed(()=>{var n,l;return(l=(n=I.value)==null?void 0:n.toString())!=null?l:""}),t=s.computed(()=>I.value?ZJg(I.value):[]),i=s.computed(()=>t.value.map(n=>n.getBoundingClientRect()));function A(){I.value=null,g&&(I.value=g.getSelection())}return g&&ig(g.document,"selectionchange",A),{text:e,rects:i,ranges:t,selection:I}}function wJg(C){var g;const I=s.ref(C==null?void 0:C.element),e=s.ref(C==null?void 0:C.input),t=(g=C==null?void 0:C.styleProp)!=null?g:"height",i=s.ref(1),A=s.ref(0);function n(){var l;if(!I.value)return;let o="";I.value.style[t]="1px",i.value=(l=I.value)==null?void 0:l.scrollHeight;const a=U(C==null?void 0:C.styleTarget);a?a.style[t]=`${i.value}px`:o=`${i.value}px`,I.value.style[t]=o}return s.watch([e,I],()=>s.nextTick(n),{immediate:!0}),s.watch(i,()=>{var l;return(l=C==null?void 0:C.onResize)==null?void 0:l.call(C)}),Mw(I,([{contentRect:l}])=>{A.value!==l.width&&(A.value=l.width,n())}),C!=null&&C.watch&&s.watch(C.watch,n,{immediate:!0,deep:!0}),{textarea:I,input:e,triggerResize:n}}function WJg(C,g={}){const{throttle:I=200,trailing:e=!0}=g,t=Bh(I,e);return{...HY(C,{...g,eventFilter:t})}}const BJg=[{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"}],pJg={justNow:"just now",past:C=>C.match(/\d/)?`${C} ago`:C,future:C=>C.match(/\d/)?`in ${C}`:C,month:(C,g)=>C===1?g?"last month":"next month":`${C} month${C>1?"s":""}`,year:(C,g)=>C===1?g?"last year":"next year":`${C} year${C>1?"s":""}`,day:(C,g)=>C===1?g?"yesterday":"tomorrow":`${C} day${C>1?"s":""}`,week:(C,g)=>C===1?g?"last week":"next week":`${C} week${C>1?"s":""}`,hour:C=>`${C} hour${C>1?"s":""}`,minute:C=>`${C} minute${C>1?"s":""}`,second:C=>`${C} second${C>1?"s":""}`,invalid:""};function yJg(C){return C.toISOString().slice(0,10)}function YJg(C,g={}){const{controls:I=!1,updateInterval:e=3e4}=g,{now:t,...i}=T9({interval:e,controls:!0}),A=s.computed(()=>_9(new Date(U(C)),g,U(t)));return I?{timeAgo:A,...i}:A}function _9(C,g={},I=Date.now()){var e;const{max:t,messages:i=pJg,fullDateFormatter:A=yJg,units:n=BJg,showSecond:l=!1,rounding:o="round"}=g,a=typeof o=="number"?G=>+G.toFixed(o):Math[o],d=+I-+C,m=Math.abs(d);function u(G,w){return a(Math.abs(G)/w.value)}function h(G,w){const B=u(G,w),p=G>0,y=Z(w.name,B,p);return Z(p?"past":"future",y,p)}function Z(G,w,B){const p=i[G];return typeof p=="function"?p(w,B):p.replace("{0}",w.toString())}if(m<6e4&&!l)return i.justNow;if(typeof t=="number"&&m>t)return A(new Date(C));if(typeof t=="string"){const G=(e=n.find(w=>w.name===t))==null?void 0:e.max;if(G&&m>G)return A(new Date(C))}for(const[G,w]of n.entries()){if(u(d,w)<=0&&n[G-1])return h(d,n[G-1]);if(m<w.max)return h(d,w)}return i.invalid}function VJg(C,g,I){const{start:e}=sr(i,g,{immediate:!1}),t=s.ref(!1);async function i(){t.value&&(await C(),e())}function A(){t.value||(t.value=!0,i())}function n(){t.value=!1}return I!=null&&I.immediate&&A(),mI(n),{isActive:t,pause:n,resume:A}}function NJg(C={}){const{controls:g=!1,offset:I=0,immediate:e=!0,interval:t="requestAnimationFrame",callback:i}=C,A=s.ref(Xa()+I),n=()=>A.value=Xa()+I,l=i?()=>{n(),i(A.value)}:n,o=t==="requestAnimationFrame"?Sa(l,{immediate:e}):ks(l,t,{immediate:e});return g?{timestamp:A,...o}:A}function MJg(C=null,g={}){var I,e,t;const{document:i=rt,restoreOnUnmount:A=d=>d}=g,n=(I=i==null?void 0:i.title)!=null?I:"",l=LC((e=C??(i==null?void 0:i.title))!=null?e:null),o=C&&typeof C=="function";function a(d){if(!("titleTemplate"in g))return d;const m=g.titleTemplate||"%s";return typeof m=="function"?m(d):U(m).replace(/%s/g,d)}return s.watch(l,(d,m)=>{d!==m&&i&&(i.title=a(typeof d=="string"?d:""))},{immediate:!0}),g.observe&&!g.titleTemplate&&i&&!o&&ar((t=i.head)==null?void 0:t.querySelector("title"),()=>{i&&i.title!==l.value&&(l.value=a(i.title))},{childList:!0}),s9(()=>{if(A){const d=A(n,l.value||"");d!=null&&i&&(i.title=d)}}),l}const RJg=Object.assign({},{linear:wY},{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 fJg([C,g,I,e]){const t=(a,d)=>1-3*d+3*a,i=(a,d)=>3*d-6*a,A=a=>3*a,n=(a,d,m)=>((t(d,m)*a+i(d,m))*a+A(d))*a,l=(a,d,m)=>3*t(d,m)*a*a+2*i(d,m)*a+A(d),o=a=>{let d=a;for(let m=0;m<4;++m){const u=l(d,C,I);if(u===0)return d;const h=n(d,C,I)-a;d-=h/u}return d};return a=>C===g&&I===e?a:n(o(a),g,e)}function $9(C,g,I){return C+I*(g-C)}function kY(C){return(typeof C=="number"?[C]:C)||[]}function q9(C,g,I,e={}){var t,i;const A=U(g),n=U(I),l=kY(A),o=kY(n),a=(t=U(e.duration))!=null?t:1e3,d=Date.now(),m=Date.now()+a,u=typeof e.transition=="function"?e.transition:(i=U(e.transition))!=null?i:wY,h=typeof u=="function"?u:fJg(u);return new Promise(Z=>{C.value=A;const G=()=>{var w;if((w=e.abort)!=null&&w.call(e)){Z();return}const B=Date.now(),p=h((B-d)/a),y=kY(C.value).map((Y,R)=>$9(l[R],o[R],p));Array.isArray(C.value)?C.value=y.map((Y,R)=>{var M,K;return $9((M=l[R])!=null?M:0,(K=o[R])!=null?K:0,p)}):typeof C.value=="number"&&(C.value=y[0]),B<m?requestAnimationFrame(G):(C.value=n,Z())};G()})}function XJg(C,g={}){let I=0;const e=()=>{const i=U(C);return typeof i=="number"?i:i.map(U)},t=s.ref(e());return s.watch(e,async i=>{var A,n;if(U(g.disabled))return;const l=++I;if(g.delay&&await ph(U(g.delay)),l!==I)return;const o=Array.isArray(i)?i.map(U):U(i);(A=g.onStarted)==null||A.call(g),await q9(t,t.value,o,{...g,abort:()=>{var a;return l!==I||((a=g.abort)==null?void 0:a.call(g))}}),(n=g.onFinished)==null||n.call(g)},{deep:!0}),s.watch(()=>U(g.disabled),i=>{i&&(I++,t.value=e())}),mI(()=>{I++}),s.computed(()=>U(g.disabled)?e():t.value)}function HJg(C="history",g={}){const{initialValue:I={},removeNullishValues:e=!0,removeFalsyValues:t=!1,write:i=!0,window:A=kg}=g;if(!A)return s.reactive(I);const n=s.reactive({});function l(){if(C==="history")return A.location.search||"";if(C==="hash"){const w=A.location.hash||"",B=w.indexOf("?");return B>0?w.slice(B):""}else return(A.location.hash||"").replace(/^#/,"")}function o(w){const B=w.toString();if(C==="history")return`${B?`?${B}`:""}${A.location.hash||""}`;if(C==="hash-params")return`${A.location.search||""}${B?`#${B}`:""}`;const p=A.location.hash||"#",y=p.indexOf("?");return y>0?`${p.slice(0,y)}${B?`?${B}`:""}`:`${p}${B?`?${B}`:""}`}function a(){return new URLSearchParams(l())}function d(w){const B=new Set(Object.keys(n));for(const p of w.keys()){const y=w.getAll(p);n[p]=y.length>1?y:w.get(p)||"",B.delete(p)}Array.from(B).forEach(p=>delete n[p])}const{pause:m,resume:u}=lr(n,()=>{const w=new URLSearchParams("");Object.keys(n).forEach(B=>{const p=n[B];Array.isArray(p)?p.forEach(y=>w.append(B,y)):e&&p==null||t&&!p?w.delete(B):w.set(B,p)}),h(w)},{deep:!0});function h(w,B){m(),B&&d(w),A.history.replaceState(A.history.state,A.document.title,A.location.pathname+o(w)),u()}function Z(){i&&h(a(),!0)}ig(A,"popstate",Z,!1),C!=="history"&&ig(A,"hashchange",Z,!1);const G=a();return G.keys().next().value?d(G):Object.assign(n,I),n}function DJg(C={}){var g,I;const e=s.ref((g=C.enabled)!=null?g:!1),t=s.ref((I=C.autoSwitch)!=null?I:!0),i=s.ref(C.constraints),{navigator:A=Dt}=C,n=ZI(()=>{var Z;return(Z=A==null?void 0:A.mediaDevices)==null?void 0:Z.getUserMedia}),l=s.shallowRef();function o(Z){switch(Z){case"video":{if(i.value)return i.value.video||!1;break}case"audio":{if(i.value)return i.value.audio||!1;break}}}async function a(){if(!(!n.value||l.value))return l.value=await A.mediaDevices.getUserMedia({video:o("video"),audio:o("audio")}),l.value}function d(){var Z;(Z=l.value)==null||Z.getTracks().forEach(G=>G.stop()),l.value=void 0}function m(){d(),e.value=!1}async function u(){return await a(),l.value&&(e.value=!0),l.value}async function h(){return d(),await u()}return s.watch(e,Z=>{Z?a():d()},{immediate:!0}),s.watch(i,()=>{t.value&&l.value&&h()},{immediate:!0}),mI(()=>{m()}),{isSupported:n,stream:l,start:u,stop:m,restart:h,constraints:i,enabled:e,autoSwitch:t}}function gD(C,g,I,e={}){var t,i,A;const{clone:n=!1,passive:l=!1,eventName:o,deep:a=!1,defaultValue:d,shouldEmit:m}=e,u=s.getCurrentInstance(),h=I||(u==null?void 0:u.emit)||((t=u==null?void 0:u.$emit)==null?void 0:t.bind(u))||((A=(i=u==null?void 0:u.proxy)==null?void 0:i.$emit)==null?void 0:A.bind(u==null?void 0:u.proxy));let Z=o;g||(g="modelValue"),Z=Z||`update:${g.toString()}`;const G=p=>n?typeof n=="function"?n(p):Nh(p):p,w=()=>$H(C[g])?G(C[g]):d,B=p=>{m?m(p)&&h(Z,p):h(Z,p)};if(l){const p=w(),y=s.ref(p);let Y=!1;return s.watch(()=>C[g],R=>{Y||(Y=!0,y.value=G(R),s.nextTick(()=>Y=!1))}),s.watch(y,R=>{!Y&&(R!==C[g]||a)&&B(R)},{deep:a}),y}else return s.computed({get(){return w()},set(p){B(p)}})}function SJg(C,g,I={}){const e={};for(const t in C)e[t]=gD(C,t,g,I);return e}function KJg(C){const{pattern:g=[],interval:I=0,navigator:e=Dt}=C||{},t=ZI(()=>typeof e<"u"&&"vibrate"in e),i=LC(g);let A;const n=(o=i.value)=>{t.value&&e.vibrate(o)},l=()=>{t.value&&e.vibrate(0),A==null||A.pause()};return I>0&&(A=ks(n,I,{immediate:!1,immediateCallback:!1})),{isSupported:t,pattern:g,intervalControls:A,vibrate:n,stop:l}}function kJg(C,g){const{containerStyle:I,wrapperProps:e,scrollTo:t,calculateRange:i,currentList:A,containerRef:n}="itemHeight"in g?JJg(g,C):zJg(g,C);return{list:A,scrollTo:t,containerProps:{ref:n,onScroll:()=>{i()},style:I},wrapperProps:e}}function ID(C){const g=s.ref(null),I=f9(g),e=s.ref([]),t=s.shallowRef(C);return{state:s.ref({start:0,end:10}),source:t,currentList:e,size:I,containerRef:g}}function CD(C,g,I){return e=>{if(typeof I=="number")return Math.ceil(e/I);const{start:t=0}=C.value;let i=0,A=0;for(let n=t;n<g.value.length;n++){const l=I(n);if(i+=l,A=n,i>e)break}return A-t}}function eD(C,g){return I=>{if(typeof g=="number")return Math.floor(I/g)+1;let e=0,t=0;for(let i=0;i<C.value.length;i++){const A=g(i);if(e+=A,e>=I){t=i;break}}return t+1}}function tD(C,g,I,e,{containerRef:t,state:i,currentList:A,source:n}){return()=>{const l=t.value;if(l){const o=I(C==="vertical"?l.scrollTop:l.scrollLeft),a=e(C==="vertical"?l.clientHeight:l.clientWidth),d=o-g,m=o+a+g;i.value={start:d<0?0:d,end:m>n.value.length?n.value.length:m},A.value=n.value.slice(i.value.start,i.value.end).map((u,h)=>({data:u,index:h+i.value.start}))}}}function iD(C,g){return I=>typeof C=="number"?I*C:g.value.slice(0,I).reduce((t,i,A)=>t+C(A),0)}function AD(C,g,I,e){s.watch([C.width,C.height,g,I],()=>{e()})}function nD(C,g){return s.computed(()=>typeof C=="number"?g.value.length*C:g.value.reduce((I,e,t)=>I+C(t),0))}const FJg={horizontal:"scrollLeft",vertical:"scrollTop"};function lD(C,g,I,e){return t=>{e.value&&(e.value[FJg[C]]=I(t),g())}}function zJg(C,g){const I=ID(g),{state:e,source:t,currentList:i,size:A,containerRef:n}=I,l={overflowX:"auto"},{itemWidth:o,overscan:a=5}=C,d=CD(e,t,o),m=eD(t,o),u=tD("horizontal",a,m,d,I),h=iD(o,t),Z=s.computed(()=>h(e.value.start)),G=nD(o,t);AD(A,g,n,u);const w=lD("horizontal",u,h,n),B=s.computed(()=>({style:{height:"100%",width:`${G.value-Z.value}px`,marginLeft:`${Z.value}px`,display:"flex"}}));return{scrollTo:w,calculateRange:u,wrapperProps:B,containerStyle:l,currentList:i,containerRef:n}}function JJg(C,g){const I=ID(g),{state:e,source:t,currentList:i,size:A,containerRef:n}=I,l={overflowY:"auto"},{itemHeight:o,overscan:a=5}=C,d=CD(e,t,o),m=eD(t,o),u=tD("vertical",a,m,d,I),h=iD(o,t),Z=s.computed(()=>h(e.value.start)),G=nD(o,t);AD(A,g,n,u);const w=lD("vertical",u,h,n),B=s.computed(()=>({style:{width:"100%",height:`${G.value-Z.value}px`,marginTop:`${Z.value}px`}}));return{calculateRange:u,scrollTo:w,containerStyle:l,wrapperProps:B,currentList:i,containerRef:n}}function LJg(C={}){const{navigator:g=Dt,document:I=rt}=C,e=s.ref(!1),t=s.shallowRef(null),i=R9({document:I}),A=ZI(()=>g&&"wakeLock"in g),n=s.computed(()=>!!t.value&&i.value==="visible");A.value&&(ig(t,"release",()=>{var d,m;e.value=(m=(d=t.value)==null?void 0:d.type)!=null?m:!1}),m9(()=>i.value==="visible"&&(I==null?void 0:I.visibilityState)==="visible"&&e.value,d=>{e.value=!1,l(d)}));async function l(d){var m;await((m=t.value)==null?void 0:m.release()),t.value=A.value?await g.wakeLock.request(d):null}async function o(d){i.value==="visible"?await l(d):e.value=d}async function a(){e.value=!1;const d=t.value;t.value=null,await(d==null?void 0:d.release())}return{sentinel:t,isSupported:A,isActive:n,request:o,forceRequest:l,release:a}}function TJg(C={}){const{window:g=kg,requestPermissions:I=!0}=C,e=C,t=ZI(()=>{if(!g||!("Notification"in g))return!1;try{new Notification("")}catch{return!1}return!0}),i=s.ref(t.value&&"permission"in Notification&&Notification.permission==="granted"),A=s.ref(null),n=async()=>{if(t.value)return!i.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(i.value=!0),i.value},{on:l,trigger:o}=ct(),{on:a,trigger:d}=ct(),{on:m,trigger:u}=ct(),{on:h,trigger:Z}=ct(),G=async B=>{if(!t.value||!i.value)return;const p=Object.assign({},e,B);return A.value=new Notification(p.title||"",p),A.value.onclick=o,A.value.onshow=d,A.value.onerror=u,A.value.onclose=Z,A.value},w=()=>{A.value&&A.value.close(),A.value=null};if(I&&ae(n),mI(w),t.value&&g){const B=g.document;ig(B,"visibilitychange",p=>{p.preventDefault(),B.visibilityState==="visible"&&w()})}return{isSupported:t,notification:A,ensurePermissions:n,permissionGranted:i,show:G,close:w,onClick:l,onShow:a,onError:m,onClose:h}}const sD="ping";function FY(C){return C===!0?{}:C}function vJg(C,g={}){const{onConnected:I,onDisconnected:e,onError:t,onMessage:i,immediate:A=!0,autoClose:n=!0,protocols:l=[]}=g,o=s.ref(null),a=s.ref("CLOSED"),d=s.ref(),m=LC(C);let u,h,Z=!1,G=0,w=[],B;const p=()=>{if(w.length&&d.value&&a.value==="OPEN"){for(const J of w)d.value.send(J);w=[]}},y=()=>{clearTimeout(B),B=void 0},Y=(J=1e3,X)=>{!oe||!d.value||(Z=!0,y(),u==null||u(),d.value.close(J,X),d.value=void 0)},R=(J,X=!0)=>!d.value||a.value!=="OPEN"?(X&&w.push(J),!1):(p(),d.value.send(J),!0),M=()=>{if(Z||typeof m.value>"u")return;const J=new WebSocket(m.value,l);d.value=J,a.value="CONNECTING",J.onopen=()=>{a.value="OPEN",G=0,I==null||I(J),h==null||h(),p()},J.onclose=X=>{if(a.value="CLOSED",e==null||e(J,X),!Z&&g.autoReconnect&&J===d.value){const{retries:D=-1,delay:z=1e3,onFailed:j}=FY(g.autoReconnect);typeof D=="number"&&(D<0||G<D)?(G+=1,setTimeout(M,z)):typeof D=="function"&&D()?setTimeout(M,z):j==null||j()}},J.onerror=X=>{t==null||t(J,X)},J.onmessage=X=>{if(g.heartbeat){y();const{message:D=sD,responseMessage:z=D}=FY(g.heartbeat);if(X.data===z)return}o.value=X.data,i==null||i(J,X)}};if(g.heartbeat){const{message:J=sD,interval:X=1e3,pongTimeout:D=1e3}=FY(g.heartbeat),{pause:z,resume:j}=ks(()=>{R(J,!1),B==null&&(B=setTimeout(()=>{Y(),Z=!1},D))},X,{immediate:!1});u=z,h=j}n&&(oe&&ig("beforeunload",()=>Y()),mI(Y));const K=()=>{!oe&&!_H||(Y(),Z=!1,G=0,M())};return A&&K(),s.watch(m,K),{data:o,status:a,close:Y,send:R,open:K,ws:d}}function jJg(C,g,I){const{window:e=kg}=I??{},t=s.ref(null),i=s.shallowRef(),A=(...l)=>{i.value&&i.value.postMessage(...l)},n=function(){i.value&&i.value.terminate()};return e&&(typeof C=="string"?i.value=new Worker(C,g):typeof C=="function"?i.value=C():i.value=C,i.value.onmessage=l=>{t.value=l.data},mI(()=>{i.value&&i.value.terminate()})),{data:t,post:A,terminate:n,worker:i}}function xJg(C){return g=>{const I=g.data[0];return Promise.resolve(C.apply(void 0,I)).then(e=>{postMessage(["SUCCESS",e])}).catch(e=>{postMessage(["ERROR",e])})}}function OJg(C,g){if(C.length===0&&g.length===0)return"";const I=C.map(i=>`'${i}'`).toString(),e=g.filter(i=>typeof i=="function").map(i=>{const A=i.toString();return A.trim().startsWith("function")?A:`const ${i.name} = ${A}`}).join(";"),t=`importScripts(${I});`;return`${I.trim()===""?"":t} ${e}`}function QJg(C,g,I){const e=`${OJg(g,I)}; onmessage=(${xJg})(${C})`,t=new Blob([e],{type:"text/javascript"});return URL.createObjectURL(t)}function UJg(C,g={}){const{dependencies:I=[],localDependencies:e=[],timeout:t,window:i=kg}=g,A=s.ref(),n=s.ref("PENDING"),l=s.ref({}),o=s.ref(),a=(h="PENDING")=>{A.value&&A.value._url&&i&&(A.value.terminate(),URL.revokeObjectURL(A.value._url),l.value={},A.value=void 0,i.clearTimeout(o.value),n.value=h)};a(),mI(a);const d=()=>{const h=QJg(C,I,e),Z=new Worker(h);return Z._url=h,Z.onmessage=G=>{const{resolve:w=()=>{},reject:B=()=>{}}=l.value,[p,y]=G.data;switch(p){case"SUCCESS":w(y),a(p);break;default:B(y),a("ERROR");break}},Z.onerror=G=>{const{reject:w=()=>{}}=l.value;G.preventDefault(),w(G),a("ERROR")},t&&(o.value=setTimeout(()=>a("TIMEOUT_EXPIRED"),t)),Z},m=(...h)=>new Promise((Z,G)=>{var w;l.value={resolve:Z,reject:G},(w=A.value)==null||w.postMessage([[...h]]),n.value="RUNNING"});return{workerFn:(...h)=>n.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(A.value=d(),m(...h)),workerStatus:n,workerTerminate:a}}function EJg(C={}){const{window:g=kg}=C;if(!g)return s.ref(!1);const I=s.ref(g.document.hasFocus());return ig(g,"blur",()=>{I.value=!1}),ig(g,"focus",()=>{I.value=!0}),I}function PJg(C={}){const{window:g=kg,behavior:I="auto"}=C;if(!g)return{x:s.ref(0),y:s.ref(0)};const e=s.ref(g.scrollX),t=s.ref(g.scrollY),i=s.computed({get(){return e.value},set(n){scrollTo({left:n,behavior:I})}}),A=s.computed({get(){return t.value},set(n){scrollTo({top:n,behavior:I})}});return ig(g,"scroll",()=>{e.value=g.scrollX,t.value=g.scrollY},{capture:!1,passive:!0}),{x:i,y:A}}function _Jg(C={}){const{window:g=kg,initialWidth:I=Number.POSITIVE_INFINITY,initialHeight:e=Number.POSITIVE_INFINITY,listenOrientation:t=!0,includeScrollbar:i=!0,type:A="inner"}=C,n=s.ref(I),l=s.ref(e),o=()=>{g&&(A==="outer"?(n.value=g.outerWidth,l.value=g.outerHeight):i?(n.value=g.innerWidth,l.value=g.innerHeight):(n.value=g.document.documentElement.clientWidth,l.value=g.document.documentElement.clientHeight))};if(o(),ae(o),ig("resize",o,{passive:!0}),t){const a=St("(orientation: portrait)");s.watch(a,()=>o())}return{width:n,height:l}}const $Jg=Object.freeze(Object.defineProperty({__proto__:null,DefaultMagicKeysAliasMap:F9,StorageSerializers:RY,TransitionPresets:RJg,assert:Ekg,asyncComputed:u9,autoResetRef:n9,breakpointsAntDesign:pFg,breakpointsBootstrapV5:wFg,breakpointsMasterCss:VFg,breakpointsPrimeFlex:NFg,breakpointsQuasar:yFg,breakpointsSematic:YFg,breakpointsTailwind:GFg,breakpointsVuetify:BFg,breakpointsVuetifyV2:w9,breakpointsVuetifyV3:WFg,bypassFilter:Wh,camelize:I9,clamp:Zw,cloneFnJSON:Nh,computedAsync:u9,computedEager:xH,computedInject:U3g,computedWithControl:hY,containsProp:WY,controlledComputed:hY,controlledRef:l3g,createEventHook:ct,createFetch:szg,createFilterWrapper:Ha,createGlobalState:Lkg,createInjectionState:Tkg,createReactiveFn:bY,createReusableTemplate:E3g,createSharedComposable:vkg,createSingletonPromise:C9,createTemplatePromise:_3g,createUnrefFn:$3g,customStorageEventName:fY,debounceFilter:ww,debouncedRef:BY,debouncedWatch:c9,defaultDocument:rt,defaultLocation:q3g,defaultNavigator:Dt,defaultWindow:kg,directiveHooks:g3g,eagerComputed:xH,executeTransition:q9,extendRef:UH,formatDate:a9,formatTimeAgo:_9,get:jkg,getLifeCycleTarget:yh,getSSRHandler:Vw,hasOwn:qH,hyphenate:C3g,identity:wY,ignorableWatch:or,increaseWithUnit:e9,injectLocal:QH,invoke:t3g,isClient:oe,isDef:$H,isDefined:xkg,isIOS:Gw,isObject:wh,isWorker:_H,makeDestructurable:EH,mapGamepadToXbox360Controller:bzg,noop:XI,normalizeDate:d9,notNullish:bw,now:_kg,objectEntries:A9,objectOmit:i9,objectPick:t9,onClickOutside:gFg,onKeyDown:CFg,onKeyPressed:eFg,onKeyStroke:Bw,onKeyUp:tFg,onLongPress:nFg,onStartTyping:oFg,pausableFilter:GY,pausableWatch:lr,promiseTimeout:ph,provideLocal:OH,rand:$kg,reactify:bY,reactifyObject:Qkg,reactiveComputed:ZY,reactiveOmit:Ukg,reactivePick:A3g,refAutoReset:n9,refDebounced:BY,refDefault:n3g,refThrottled:yY,refWithControl:l9,resolveRef:i3g,resolveUnref:Okg,set:s3g,setSSRHandler:kFg,syncRef:YY,syncRefs:o3g,templateRef:aFg,throttleFilter:Bh,throttledRef:yY,throttledWatch:r9,timestamp:Xa,toReactive:PH,toRef:LC,toRefs:VY,toValue:U,tryOnBeforeMount:a3g,tryOnBeforeUnmount:s9,tryOnMounted:ae,tryOnScopeDispose:mI,tryOnUnmounted:o9,unrefElement:dI,until:Yh,useActiveElement:Z9,useAnimate:dFg,useArrayDifference:c3g,useArrayEvery:r3g,useArrayFilter:m3g,useArrayFind:u3g,useArrayFindIndex:h3g,useArrayFindLast:Z3g,useArrayIncludes:w3g,useArrayJoin:W3g,useArrayMap:B3g,useArrayReduce:p3g,useArraySome:y3g,useArrayUnique:N3g,useAsyncQueue:cFg,useAsyncState:G9,useBase64:uFg,useBattery:bFg,useBluetooth:ZFg,useBreakpoints:MFg,useBroadcastChannel:RFg,useBrowserLocation:fFg,useCached:XFg,useClipboard:HFg,useClipboardItems:DFg,useCloned:SFg,useColorMode:y9,useConfirmDialog:zFg,useCounter:M3g,useCssVar:Mh,useCurrentElement:Y9,useCycleList:JFg,useDark:LFg,useDateFormat:H3g,useDebounce:BY,useDebounceFn:Ww,useDebouncedRefHistory:xFg,useDeviceMotion:OFg,useDeviceOrientation:M9,useDevicePixelRatio:QFg,useDevicesList:UFg,useDisplayMedia:EFg,useDocumentVisibility:R9,useDraggable:PFg,useDropZone:_Fg,useElementBounding:$Fg,useElementByPoint:qFg,useElementHover:gzg,useElementSize:f9,useElementVisibility:H9,useEventBus:Izg,useEventListener:ig,useEventSource:ezg,useEyeDropper:tzg,useFavicon:izg,useFetch:D9,useFileDialog:dzg,useFileSystemAccess:czg,useFocus:rzg,useFocusWithin:mzg,useFps:uzg,useFullscreen:hzg,useGamepad:Zzg,useGeolocation:Gzg,useIdle:Bzg,useImage:yzg,useInfiniteScroll:Yzg,useIntersectionObserver:X9,useInterval:D3g,useIntervalFn:ks,useKeyModifier:Nzg,useLastChanged:S3g,useLocalStorage:Mzg,useMagicKeys:Rzg,useManualRefHistory:N9,useMediaControls:Hzg,useMediaQuery:St,useMemoize:Dzg,useMemory:Szg,useMounted:b9,useMouse:z9,useMouseInElement:J9,useMousePressed:kzg,useMutationObserver:ar,useNavigatorLanguage:Fzg,useNetwork:L9,useNow:T9,useObjectUrl:zzg,useOffsetPagination:Jzg,useOnline:Lzg,usePageLeave:Tzg,useParallax:vzg,useParentElement:jzg,usePerformanceObserver:xzg,usePermission:pw,usePointer:Qzg,usePointerLock:Uzg,usePointerSwipe:Ezg,usePreferredColorScheme:Pzg,usePreferredContrast:_zg,usePreferredDark:XY,usePreferredLanguages:$zg,usePreferredReducedMotion:qzg,usePrevious:gJg,useRafFn:Sa,useRefHistory:HY,useResizeObserver:Mw,useScreenOrientation:j9,useScreenSafeArea:IJg,useScriptTag:CJg,useScroll:k9,useScrollLock:tJg,useSessionStorage:iJg,useShare:AJg,useSorted:lJg,useSpeechRecognition:sJg,useSpeechSynthesis:oJg,useStepper:aJg,useStorage:Nw,useStorageAsync:dJg,useStyleTag:rJg,useSupported:ZI,useSwipe:mJg,useTemplateRefsList:hJg,useTextDirection:bJg,useTextSelection:GJg,useTextareaAutosize:wJg,useThrottle:yY,useThrottleFn:pY,useThrottledRefHistory:WJg,useTimeAgo:YJg,useTimeout:K3g,useTimeoutFn:sr,useTimeoutPoll:VJg,useTimestamp:NJg,useTitle:MJg,useToNumber:k3g,useToString:F3g,useToggle:z3g,useTransition:XJg,useUrlSearchParams:HJg,useUserMedia:DJg,useVModel:gD,useVModels:SJg,useVibrate:KJg,useVirtualList:kJg,useWakeLock:LJg,useWebNotification:TJg,useWebSocket:vJg,useWebWorker:jJg,useWebWorkerFn:UJg,useWindowFocus:EJg,useWindowScroll:PJg,useWindowSize:_Jg,watchArray:J3g,watchAtMost:L3g,watchDebounced:c9,watchDeep:T3g,watchIgnorable:or,watchImmediate:v3g,watchOnce:j3g,watchPausable:lr,watchThrottled:r9,watchTriggerable:x3g,watchWithFilter:nr,whenever:m9},Symbol.toStringTag,{value:"Module"})),qJg=["data-testid"],gLg=["data-testid"],Dw=fg(s.defineComponent({__name:"Dialog",props:{open:{type:Boolean},width:{},height:{},noClose:{type:Boolean},dataTestid:{default:"Dialog"}},emits:["close"],setup(C,{emit:g}){const I=C,e=s.ref(null),t=s.useAttrs(),i=s.ref(!1),A=s.computed(()=>({width:I.width,height:I.height})),n=g,l=()=>{var a;(a=e.value)==null||a.close(),n("close")},o=()=>{var a;return I.open?(a=e.value)==null?void 0:a.showModal():l()};return ig(e,"mousedown",a=>{!I.noClose&&a.target===e.value&&l()}),ig(e,"keydown",a=>{(a.key==="Escape"||a.key==="Esc")&&(I.noClose||l())}),s.onMounted(()=>{s.watchEffect(()=>{I.open!==i.value&&(o(),i.value=I.open)})}),(a,d)=>(s.openBlock(),s.createElementBlock("dialog",s.mergeProps({ref_key:"dialog",ref:e},s.unref(t),{class:"dialog-yui-kit","data-testid":I.dataTestid}),[s.createElementVNode("div",{"data-testid":`${I.dataTestid}-Content`,class:"dialog-yui-kit__dialog-content",style:s.normalizeStyle(A.value)},[s.renderSlot(a.$slots,"default",{},void 0,!0)],12,gLg)],16,qJg))}}),[["__scopeId","data-v-406eddb7"]]),ILg={class:"time-picker-dialog-content"},CLg={class:"time-picker-header"},eLg={key:0,class:"clock-face"},tLg={key:1,class:"clock-face"},iLg={key:0,class:"clock-number__dot"},ALg={class:"time-picker-actions"},Sw=fg(s.defineComponent({__name:"TimePicker",props:{modelValue:{},disabled:{type:Boolean},hideClearButton:{type:Boolean}},emits:["update:modelValue"],setup(C,{emit:g}){const I=C,e=g,t=s.reactive({openModal:!1,hours:void 0,minutes:void 0,editingValue:"hour",openClock:!1,localHours:void 0,localMinutes:void 0}),i=s.ref(null);s.watch(()=>I.modelValue,y=>{if(y){const Y=new Date(y);t.localHours=Y.getHours(),t.localMinutes=Y.getMinutes()}else t.localHours=void 0,t.localMinutes=void 0},{immediate:!0}),s.watch(()=>t.openModal,y=>{y&&(t.hours=Number(t.localHours)||0,t.minutes=Number(t.localMinutes)||0)});const A=s.computed(()=>t.localHours!==void 0&&t.localMinutes!==void 0?`${String(t.localHours).padStart(2,"0")}:${String(t.localMinutes).padStart(2,"0")}`:"-- --"),n=s.computed(()=>({transform:`rotate(${(t.hours??0)%12*30}deg)`})),l=s.computed(()=>({transform:`rotate(${(t.minutes??0)*6}deg)`}));function o(y,Y=100){const R=y%12/12*360,M=Y*Math.sin(R*Math.PI/180),K=-Y*Math.cos(R*Math.PI/180);return{left:`calc(50% + ${M}px - 24.5px)`,top:`calc(50% + ${K}px - 23.5px)`}}function a(y){var J;const Y=(J=i.value)==null?void 0:J.getBoundingClientRect();if(!Y)return 0;const R=y.clientX-(Y.left+Y.width/2),M=y.clientY-(Y.top+Y.height/2);return(Math.atan2(M,R)*(180/Math.PI)+90+360)%360}function d(y){const Y=a(y);if(t.editingValue==="hour"){const M=Math.hypot(y.clientX-(i.value.getBoundingClientRect().left+128),y.clientY-(i.value.getBoundingClientRect().top+128))<90,K=Math.round(Y/30)%12||12;t.hours=(M?K+12:K)%24}else t.minutes=Math.round(Y/6)%60}function m(y){d(y)}function u(y){d(y),document.addEventListener("mousemove",h),document.addEventListener("mouseup",Z)}function h(y){d(y)}function Z(){document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",Z)}s.onBeforeUnmount(()=>Z());function G(){t.openModal=!1}function w(){t.editingValue="hour",t.openModal=!0}function B(){if(t.hours===void 0||t.minutes===void 0)return;const y=I.modelValue?new Date(I.modelValue):new Date,Y=new Date(y.getFullYear(),y.getMonth(),y.getDate(),+t.hours,+t.minutes,0,0),R=new Date(Y.getTime()).toISOString();e("update:modelValue",R),t.localHours=t.hours,t.localMinutes=t.minutes,G()}function p(){t.hours=void 0,t.minutes=void 0,t.localHours=void 0,t.localMinutes=void 0,e("update:modelValue",null)}return(y,Y)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass({"time-picker-select":!0,disabled:I.disabled})},[s.createElementVNode("div",{class:"time-picker-select-content",onClick:w},[s.createVNode(Xg,{name:s.unref(ug).time},null,8,["name"]),s.createElementVNode("span",null,s.toDisplayString(A.value),1),!I.hideClearButton&&(t.localHours!==void 0||t.localMinutes!==void 0)?(s.openBlock(),s.createElementBlock("div",{key:0,class:"time-picker-select-clear",onClick:s.withModifiers(p,["stop"])},[s.createVNode(Xg,{name:s.unref(ug).closeTag,width:16,height:16},null,8,["name"])])):s.createCommentVNode("",!0)]),s.createVNode(Dw,{open:t.openModal,onClose:G,class:"time-picker-dialog",width:"328px"},{default:s.withCtx(()=>[s.createElementVNode("div",ILg,[Y[11]||(Y[11]=s.createElementVNode("h3",null,"Установка времени",-1)),s.createElementVNode("div",CLg,[s.createElementVNode("div",null,[s.createVNode(Gh,{"model-value":t.hours,"onUpdate:modelValue":Y[0]||(Y[0]=R=>t.hours=+R),min:0,max:23,class:s.normalizeClass({"time-picker-input":!0,pressed:t.editingValue==="hour"}),"input-message":"","is-integer":"","zero-pad":"",onClick:Y[1]||(Y[1]=R=>t.editingValue="hour")},null,8,["model-value","class"]),Y[5]||(Y[5]=s.createElementVNode("span",null,"Часы",-1))]),Y[7]||(Y[7]=s.createElementVNode("span",{class:"time-picker-separator"},":",-1)),s.createElementVNode("div",null,[s.createVNode(Gh,{"model-value":t.minutes,"onUpdate:modelValue":Y[2]||(Y[2]=R=>t.minutes=+R),min:0,max:59,class:s.normalizeClass({"time-picker-input":!0,pressed:t.editingValue==="minute"}),"input-message":"","is-integer":"","zero-pad":"",onClick:Y[3]||(Y[3]=R=>t.editingValue="minute")},null,8,["model-value","class"]),Y[6]||(Y[6]=s.createElementVNode("span",null,"Минуты",-1))])]),t.openClock?(s.openBlock(),s.createElementBlock("div",{key:0,class:"time-picker-clock",ref_key:"clockRef",ref:i,onMousedown:u,onClick:m},[t.editingValue==="hour"?(s.openBlock(),s.createElementBlock("div",eLg,[s.createElementVNode("div",{class:"clock-hand",style:s.normalizeStyle(n.value)},null,4),(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(12,R=>s.createElementVNode("div",{key:"outer-"+R,class:s.normalizeClass({"clock-number":!0,active:R===Number(t.hours)}),style:s.normalizeStyle(o(R,100))},s.toDisplayString(R),7)),64)),(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(12,R=>s.createElementVNode("div",{key:"inner-"+R,class:s.normalizeClass({"clock-number":!0,active:R+12===(Number(t.hours)||24)}),style:s.normalizeStyle(o(R+12,70))},s.toDisplayString(R+12),7)),64))])):(s.openBlock(),s.createElementBlock("div",tLg,[s.createElementVNode("div",{class:"clock-hand",style:s.normalizeStyle(l.value)},null,4),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(Array.from({length:60},(R,M)=>M),R=>(s.openBlock(),s.createElementBlock("div",{key:R,class:s.normalizeClass({"clock-number":!0,active:R===Number(t.minutes||0)}),style:s.normalizeStyle(o(R/5,100))},[R===Number(t.minutes)&&R%5?(s.openBlock(),s.createElementBlock("div",iLg)):s.createCommentVNode("",!0),s.createTextVNode(" "+s.toDisplayString(R%5?"":R%60),1)],6))),128))])),Y[8]||(Y[8]=s.createElementVNode("div",{class:"clock-hand-center"},null,-1))],544)):s.createCommentVNode("",!0),s.createElementVNode("div",ALg,[s.createElementVNode("div",{class:"time-picker-actions__switch",onClick:Y[4]||(Y[4]=R=>t.openClock=!t.openClock)},[s.createVNode(Xg,{name:t.openClock?s.unref(ug).keyboard:s.unref(ug).time},null,8,["name"])]),s.createVNode(sC,{size:s.unref(it).little,type:s.unref(MI).ghost,onClick:G},{default:s.withCtx(()=>[...Y[9]||(Y[9]=[s.createTextVNode("Отменить ",-1)])]),_:1},8,["size","type"]),s.createVNode(sC,{size:s.unref(it).little,type:s.unref(MI).primary,onClick:B},{default:s.withCtx(()=>[...Y[10]||(Y[10]=[s.createTextVNode("Сохранить ",-1)])]),_:1},8,["size","type"])])])]),_:1},8,["open"])],2))}}),[["__scopeId","data-v-f6885a57"]]),nLg=["data-testid"],lLg=["data-testid"],sLg=["data-testid"],oLg=fg(s.defineComponent({__name:"DataPickerChoose",props:s.mergeModels({value:{},isActive:{type:Boolean},isTimeSelect:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerChoose"}},{modelValue:{},modelModifiers:{}}),emits:s.mergeModels(["clear","click","change"],["update:modelValue"]),setup(C,{emit:g}){const I=C,e=s.reactive({defaultValue:"-- -- ----",value:"",isActive:!1}),t=g,i=s.useModel(C,"modelValue");s.watchEffect(()=>e.isActive=I.isActive),s.watchEffect(()=>e.value=I.value);const A=a=>{t("change",a)},n=()=>{t("clear")},l=()=>{t("click")},o=a=>{if(!a)return null;const d=a.indexOf(" "),m=d===-1?3:Math.min(d,3);return`${a.charAt(0).toUpperCase()}${a.slice(1,m)}${a.slice(d)}`};return(a,d)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["data-picker-choose",{"data-picker-choose_time":I.isTimeSelect}])},[s.createElementVNode("button",{onClick:l,class:s.normalizeClass(["date-picker-yui-kit__header-btn",{"date-picker-yui-kit__header-btn_table-view":I.isSmall},{"date-picker-yui-kit__header-btn_range-view":I.isRange},{"date-disable-yui-kit":I.disabled},{"date-active-yui-kit":e.isActive}]),"data-testid":`${I.dataTestid}-HeaderBtn-Trigger`},[s.createVNode(Xg,{name:s.unref(ug).calendar,"data-testid":`${I.dataTestid}-Icon`},null,8,["name","data-testid"]),e.value?(s.openBlock(),s.createElementBlock("span",{key:0,"data-testid":`${I.dataTestid}-Value-Display`},s.toDisplayString(o(e.value)),9,lLg)):(s.openBlock(),s.createElementBlock("span",{key:1,class:"date-picker-yui-kit__header-btn__dash","data-testid":`${I.dataTestid}-HeaderBtnDash-Placeholder`},s.toDisplayString(e.defaultValue),9,sLg)),e.value&&!I.isTimeSelect?(s.openBlock(),s.createBlock(sC,{key:2,size:s.unref(it).small,type:s.unref(MI).ghost,disabled:I.disabled,onClick:s.withModifiers(n,["stop"]),class:"date-picker-close-yui-kit","data-testid":`${I.dataTestid}-Button-Clear`},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).crossSmall,"data-testid":`${I.dataTestid}-ButtonClose-Icon`},null,8,["name","data-testid"])]),_:1},8,["size","type","disabled","data-testid"])):s.createCommentVNode("",!0)],10,nLg),I.isTimeSelect?(s.openBlock(),s.createBlock(Sw,{key:0,disabled:I.disabled,class:"data-picker-choose__time-picker",modelValue:i.value,"onUpdate:modelValue":[d[0]||(d[0]=m=>i.value=m),A]},null,8,["disabled","modelValue"])):s.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-75b78477"]]),oD=["top","right","bottom","left"],aD=["start","end"],dD=oD.reduce((C,g)=>C.concat(g,g+"-"+aD[0],g+"-"+aD[1]),[]),YA=Math.min,Oe=Math.max,Kw=Math.round,kw=Math.floor,cn=C=>({x:C,y:C}),aLg={left:"right",right:"left",bottom:"top",top:"bottom"},dLg={start:"end",end:"start"};function zY(C,g,I){return Oe(C,YA(g,I))}function VA(C,g){return typeof C=="function"?C(g):C}function ti(C){return C.split("-")[0]}function NA(C){return C.split("-")[1]}function JY(C){return C==="x"?"y":"x"}function LY(C){return C==="y"?"height":"width"}const cLg=new Set(["top","bottom"]);function MA(C){return cLg.has(ti(C))?"y":"x"}function TY(C){return JY(MA(C))}function cD(C,g,I){I===void 0&&(I=!1);const e=NA(C),t=TY(C),i=LY(t);let A=t==="x"?e===(I?"end":"start")?"right":"left":e==="start"?"bottom":"top";return g.reference[i]>g.floating[i]&&(A=zw(A)),[A,zw(A)]}function rLg(C){const g=zw(C);return[Fw(C),g,Fw(g)]}function Fw(C){return C.replace(/start|end/g,g=>dLg[g])}const rD=["left","right"],mD=["right","left"],mLg=["top","bottom"],uLg=["bottom","top"];function hLg(C,g,I){switch(C){case"top":case"bottom":return I?g?mD:rD:g?rD:mD;case"left":case"right":return g?mLg:uLg;default:return[]}}function bLg(C,g,I,e){const t=NA(C);let i=hLg(ti(C),I==="start",e);return t&&(i=i.map(A=>A+"-"+t),g&&(i=i.concat(i.map(Fw)))),i}function zw(C){return C.replace(/left|right|bottom|top/g,g=>aLg[g])}function ZLg(C){return{top:0,right:0,bottom:0,left:0,...C}}function vY(C){return typeof C!="number"?ZLg(C):{top:C,right:C,bottom:C,left:C}}function cr(C){const{x:g,y:I,width:e,height:t}=C;return{width:e,height:t,top:I,left:g,right:g+e,bottom:I+t,x:g,y:I}}function uD(C,g,I){let{reference:e,floating:t}=C;const i=MA(g),A=TY(g),n=LY(A),l=ti(g),o=i==="y",a=e.x+e.width/2-t.width/2,d=e.y+e.height/2-t.height/2,m=e[n]/2-t[n]/2;let u;switch(l){case"top":u={x:a,y:e.y-t.height};break;case"bottom":u={x:a,y:e.y+e.height};break;case"right":u={x:e.x+e.width,y:d};break;case"left":u={x:e.x-t.width,y:d};break;default:u={x:e.x,y:e.y}}switch(NA(g)){case"start":u[A]-=m*(I&&o?-1:1);break;case"end":u[A]+=m*(I&&o?-1:1);break}return u}const GLg=async(C,g,I)=>{const{placement:e="bottom",strategy:t="absolute",middleware:i=[],platform:A}=I,n=i.filter(Boolean),l=await(A.isRTL==null?void 0:A.isRTL(g));let o=await A.getElementRects({reference:C,floating:g,strategy:t}),{x:a,y:d}=uD(o,e,l),m=e,u={},h=0;for(let Z=0;Z<n.length;Z++){const{name:G,fn:w}=n[Z],{x:B,y:p,data:y,reset:Y}=await w({x:a,y:d,initialPlacement:e,placement:m,strategy:t,middlewareData:u,rects:o,platform:A,elements:{reference:C,floating:g}});a=B??a,d=p??d,u={...u,[G]:{...u[G],...y}},Y&&h<=50&&(h++,typeof Y=="object"&&(Y.placement&&(m=Y.placement),Y.rects&&(o=Y.rects===!0?await A.getElementRects({reference:C,floating:g,strategy:t}):Y.rects),{x:a,y:d}=uD(o,m,l)),Z=-1)}return{x:a,y:d,placement:m,strategy:t,middlewareData:u}};async function Ka(C,g){var I;g===void 0&&(g={});const{x:e,y:t,platform:i,rects:A,elements:n,strategy:l}=C,{boundary:o="clippingAncestors",rootBoundary:a="viewport",elementContext:d="floating",altBoundary:m=!1,padding:u=0}=VA(g,C),h=vY(u),G=n[m?d==="floating"?"reference":"floating":d],w=cr(await i.getClippingRect({element:(I=await(i.isElement==null?void 0:i.isElement(G)))==null||I?G:G.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(n.floating)),boundary:o,rootBoundary:a,strategy:l})),B=d==="floating"?{x:e,y:t,width:A.floating.width,height:A.floating.height}:A.reference,p=await(i.getOffsetParent==null?void 0:i.getOffsetParent(n.floating)),y=await(i.isElement==null?void 0:i.isElement(p))?await(i.getScale==null?void 0:i.getScale(p))||{x:1,y:1}:{x:1,y:1},Y=cr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:B,offsetParent:p,strategy:l}):B);return{top:(w.top-Y.top+h.top)/y.y,bottom:(Y.bottom-w.bottom+h.bottom)/y.y,left:(w.left-Y.left+h.left)/y.x,right:(Y.right-w.right+h.right)/y.x}}const wLg=C=>({name:"arrow",options:C,async fn(g){const{x:I,y:e,placement:t,rects:i,platform:A,elements:n,middlewareData:l}=g,{element:o,padding:a=0}=VA(C,g)||{};if(o==null)return{};const d=vY(a),m={x:I,y:e},u=TY(t),h=LY(u),Z=await A.getDimensions(o),G=u==="y",w=G?"top":"left",B=G?"bottom":"right",p=G?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[u]-m[u]-i.floating[h],Y=m[u]-i.reference[u],R=await(A.getOffsetParent==null?void 0:A.getOffsetParent(o));let M=R?R[p]:0;(!M||!await(A.isElement==null?void 0:A.isElement(R)))&&(M=n.floating[p]||i.floating[h]);const K=y/2-Y/2,J=M/2-Z[h]/2-1,X=YA(d[w],J),D=YA(d[B],J),z=X,j=M-Z[h]-D,q=M/2-Z[h]/2+K,gg=zY(z,q,j),Q=!l.arrow&&NA(t)!=null&&q!==gg&&i.reference[h]/2-(q<z?X:D)-Z[h]/2<0,_=Q?q<z?q-z:q-j:0;return{[u]:m[u]+_,data:{[u]:gg,centerOffset:q-gg-_,...Q&&{alignmentOffset:_}},reset:Q}}});function WLg(C,g,I){return(C?[...I.filter(t=>NA(t)===C),...I.filter(t=>NA(t)!==C)]:I.filter(t=>ti(t)===t)).filter(t=>C?NA(t)===C||(g?Fw(t)!==t:!1):!0)}const BLg=function(C){return C===void 0&&(C={}),{name:"autoPlacement",options:C,async fn(g){var I,e,t;const{rects:i,middlewareData:A,placement:n,platform:l,elements:o}=g,{crossAxis:a=!1,alignment:d,allowedPlacements:m=dD,autoAlignment:u=!0,...h}=VA(C,g),Z=d!==void 0||m===dD?WLg(d||null,u,m):m,G=await Ka(g,h),w=((I=A.autoPlacement)==null?void 0:I.index)||0,B=Z[w];if(B==null)return{};const p=cD(B,i,await(l.isRTL==null?void 0:l.isRTL(o.floating)));if(n!==B)return{reset:{placement:Z[0]}};const y=[G[ti(B)],G[p[0]],G[p[1]]],Y=[...((e=A.autoPlacement)==null?void 0:e.overflows)||[],{placement:B,overflows:y}],R=Z[w+1];if(R)return{data:{index:w+1,overflows:Y},reset:{placement:R}};const M=Y.map(X=>{const D=NA(X.placement);return[X.placement,D&&a?X.overflows.slice(0,2).reduce((z,j)=>z+j,0):X.overflows[0],X.overflows]}).sort((X,D)=>X[1]-D[1]),J=((t=M.filter(X=>X[2].slice(0,NA(X[0])?2:3).every(D=>D<=0))[0])==null?void 0:t[0])||M[0][0];return J!==n?{data:{index:w+1,overflows:Y},reset:{placement:J}}:{}}}},pLg=function(C){return C===void 0&&(C={}),{name:"flip",options:C,async fn(g){var I,e;const{placement:t,middlewareData:i,rects:A,initialPlacement:n,platform:l,elements:o}=g,{mainAxis:a=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:Z=!0,...G}=VA(C,g);if((I=i.arrow)!=null&&I.alignmentOffset)return{};const w=ti(t),B=MA(n),p=ti(n)===n,y=await(l.isRTL==null?void 0:l.isRTL(o.floating)),Y=m||(p||!Z?[zw(n)]:rLg(n)),R=h!=="none";!m&&R&&Y.push(...bLg(n,Z,h,y));const M=[n,...Y],K=await Ka(g,G),J=[];let X=((e=i.flip)==null?void 0:e.overflows)||[];if(a&&J.push(K[w]),d){const q=cD(t,A,y);J.push(K[q[0]],K[q[1]])}if(X=[...X,{placement:t,overflows:J}],!J.every(q=>q<=0)){var D,z;const q=(((D=i.flip)==null?void 0:D.index)||0)+1,gg=M[q];if(gg&&(!(d==="alignment"?B!==MA(gg):!1)||X.every(og=>MA(og.placement)===B?og.overflows[0]>0:!0)))return{data:{index:q,overflows:X},reset:{placement:gg}};let Q=(z=X.filter(_=>_.overflows[0]<=0).sort((_,og)=>_.overflows[1]-og.overflows[1])[0])==null?void 0:z.placement;if(!Q)switch(u){case"bestFit":{var j;const _=(j=X.filter(og=>{if(R){const eg=MA(og.placement);return eg===B||eg==="y"}return!0}).map(og=>[og.placement,og.overflows.filter(eg=>eg>0).reduce((eg,mg)=>eg+mg,0)]).sort((og,eg)=>og[1]-eg[1])[0])==null?void 0:j[0];_&&(Q=_);break}case"initialPlacement":Q=n;break}if(t!==Q)return{reset:{placement:Q}}}return{}}}};function hD(C,g){return{top:C.top-g.height,right:C.right-g.width,bottom:C.bottom-g.height,left:C.left-g.width}}function bD(C){return oD.some(g=>C[g]>=0)}const yLg=function(C){return C===void 0&&(C={}),{name:"hide",options:C,async fn(g){const{rects:I}=g,{strategy:e="referenceHidden",...t}=VA(C,g);switch(e){case"referenceHidden":{const i=await Ka(g,{...t,elementContext:"reference"}),A=hD(i,I.reference);return{data:{referenceHiddenOffsets:A,referenceHidden:bD(A)}}}case"escaped":{const i=await Ka(g,{...t,altBoundary:!0}),A=hD(i,I.floating);return{data:{escapedOffsets:A,escaped:bD(A)}}}default:return{}}}}};function ZD(C){const g=YA(...C.map(i=>i.left)),I=YA(...C.map(i=>i.top)),e=Oe(...C.map(i=>i.right)),t=Oe(...C.map(i=>i.bottom));return{x:g,y:I,width:e-g,height:t-I}}function YLg(C){const g=C.slice().sort((t,i)=>t.y-i.y),I=[];let e=null;for(let t=0;t<g.length;t++){const i=g[t];!e||i.y-e.y>e.height/2?I.push([i]):I[I.length-1].push(i),e=i}return I.map(t=>cr(ZD(t)))}const VLg=function(C){return C===void 0&&(C={}),{name:"inline",options:C,async fn(g){const{placement:I,elements:e,rects:t,platform:i,strategy:A}=g,{padding:n=2,x:l,y:o}=VA(C,g),a=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(e.reference))||[]),d=YLg(a),m=cr(ZD(a)),u=vY(n);function h(){if(d.length===2&&d[0].left>d[1].right&&l!=null&&o!=null)return d.find(G=>l>G.left-u.left&&l<G.right+u.right&&o>G.top-u.top&&o<G.bottom+u.bottom)||m;if(d.length>=2){if(MA(I)==="y"){const X=d[0],D=d[d.length-1],z=ti(I)==="top",j=X.top,q=D.bottom,gg=z?X.left:D.left,Q=z?X.right:D.right,_=Q-gg,og=q-j;return{top:j,bottom:q,left:gg,right:Q,width:_,height:og,x:gg,y:j}}const G=ti(I)==="left",w=Oe(...d.map(X=>X.right)),B=YA(...d.map(X=>X.left)),p=d.filter(X=>G?X.left===B:X.right===w),y=p[0].top,Y=p[p.length-1].bottom,R=B,M=w,K=M-R,J=Y-y;return{top:y,bottom:Y,left:R,right:M,width:K,height:J,x:R,y}}return m}const Z=await i.getElementRects({reference:{getBoundingClientRect:h},floating:e.floating,strategy:A});return t.reference.x!==Z.reference.x||t.reference.y!==Z.reference.y||t.reference.width!==Z.reference.width||t.reference.height!==Z.reference.height?{reset:{rects:Z}}:{}}}},GD=new Set(["left","top"]);async function NLg(C,g){const{placement:I,platform:e,elements:t}=C,i=await(e.isRTL==null?void 0:e.isRTL(t.floating)),A=ti(I),n=NA(I),l=MA(I)==="y",o=GD.has(A)?-1:1,a=i&&l?-1:1,d=VA(g,C);let{mainAxis:m,crossAxis:u,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return n&&typeof h=="number"&&(u=n==="end"?h*-1:h),l?{x:u*a,y:m*o}:{x:m*o,y:u*a}}const MLg=function(C){return C===void 0&&(C=0),{name:"offset",options:C,async fn(g){var I,e;const{x:t,y:i,placement:A,middlewareData:n}=g,l=await NLg(g,C);return A===((I=n.offset)==null?void 0:I.placement)&&(e=n.arrow)!=null&&e.alignmentOffset?{}:{x:t+l.x,y:i+l.y,data:{...l,placement:A}}}}},RLg=function(C){return C===void 0&&(C={}),{name:"shift",options:C,async fn(g){const{x:I,y:e,placement:t}=g,{mainAxis:i=!0,crossAxis:A=!1,limiter:n={fn:G=>{let{x:w,y:B}=G;return{x:w,y:B}}},...l}=VA(C,g),o={x:I,y:e},a=await Ka(g,l),d=MA(ti(t)),m=JY(d);let u=o[m],h=o[d];if(i){const G=m==="y"?"top":"left",w=m==="y"?"bottom":"right",B=u+a[G],p=u-a[w];u=zY(B,u,p)}if(A){const G=d==="y"?"top":"left",w=d==="y"?"bottom":"right",B=h+a[G],p=h-a[w];h=zY(B,h,p)}const Z=n.fn({...g,[m]:u,[d]:h});return{...Z,data:{x:Z.x-I,y:Z.y-e,enabled:{[m]:i,[d]:A}}}}}},fLg=function(C){return C===void 0&&(C={}),{options:C,fn(g){const{x:I,y:e,placement:t,rects:i,middlewareData:A}=g,{offset:n=0,mainAxis:l=!0,crossAxis:o=!0}=VA(C,g),a={x:I,y:e},d=MA(t),m=JY(d);let u=a[m],h=a[d];const Z=VA(n,g),G=typeof Z=="number"?{mainAxis:Z,crossAxis:0}:{mainAxis:0,crossAxis:0,...Z};if(l){const p=m==="y"?"height":"width",y=i.reference[m]-i.floating[p]+G.mainAxis,Y=i.reference[m]+i.reference[p]-G.mainAxis;u<y?u=y:u>Y&&(u=Y)}if(o){var w,B;const p=m==="y"?"width":"height",y=GD.has(ti(t)),Y=i.reference[d]-i.floating[p]+(y&&((w=A.offset)==null?void 0:w[d])||0)+(y?0:G.crossAxis),R=i.reference[d]+i.reference[p]+(y?0:((B=A.offset)==null?void 0:B[d])||0)-(y?G.crossAxis:0);h<Y?h=Y:h>R&&(h=R)}return{[m]:u,[d]:h}}}},XLg=function(C){return C===void 0&&(C={}),{name:"size",options:C,async fn(g){var I,e;const{placement:t,rects:i,platform:A,elements:n}=g,{apply:l=()=>{},...o}=VA(C,g),a=await Ka(g,o),d=ti(t),m=NA(t),u=MA(t)==="y",{width:h,height:Z}=i.floating;let G,w;d==="top"||d==="bottom"?(G=d,w=m===(await(A.isRTL==null?void 0:A.isRTL(n.floating))?"start":"end")?"left":"right"):(w=d,G=m==="end"?"top":"bottom");const B=Z-a.top-a.bottom,p=h-a.left-a.right,y=YA(Z-a[G],B),Y=YA(h-a[w],p),R=!g.middlewareData.shift;let M=y,K=Y;if((I=g.middlewareData.shift)!=null&&I.enabled.x&&(K=p),(e=g.middlewareData.shift)!=null&&e.enabled.y&&(M=B),R&&!m){const X=Oe(a.left,0),D=Oe(a.right,0),z=Oe(a.top,0),j=Oe(a.bottom,0);u?K=h-2*(X!==0||D!==0?X+D:Oe(a.left,a.right)):M=Z-2*(z!==0||j!==0?z+j:Oe(a.top,a.bottom))}await l({...g,availableWidth:K,availableHeight:M});const J=await A.getDimensions(n.floating);return h!==J.width||Z!==J.height?{reset:{rects:!0}}:{}}}};function Jw(){return typeof window<"u"}function ka(C){return jY(C)?(C.nodeName||"").toLowerCase():"#document"}function ii(C){var g;return(C==null||(g=C.ownerDocument)==null?void 0:g.defaultView)||window}function rn(C){var g;return(g=(jY(C)?C.ownerDocument:C.document)||window.document)==null?void 0:g.documentElement}function jY(C){return Jw()?C instanceof Node||C instanceof ii(C).Node:!1}function RA(C){return Jw()?C instanceof Element||C instanceof ii(C).Element:!1}function mn(C){return Jw()?C instanceof HTMLElement||C instanceof ii(C).HTMLElement:!1}function wD(C){return!Jw()||typeof ShadowRoot>"u"?!1:C instanceof ShadowRoot||C instanceof ii(C).ShadowRoot}const HLg=new Set(["inline","contents"]);function Xh(C){const{overflow:g,overflowX:I,overflowY:e,display:t}=fA(C);return/auto|scroll|overlay|hidden|clip/.test(g+e+I)&&!HLg.has(t)}const DLg=new Set(["table","td","th"]);function SLg(C){return DLg.has(ka(C))}const KLg=[":popover-open",":modal"];function Lw(C){return KLg.some(g=>{try{return C.matches(g)}catch{return!1}})}const kLg=["transform","translate","scale","rotate","perspective"],FLg=["transform","translate","scale","rotate","perspective","filter"],zLg=["paint","layout","strict","content"];function xY(C){const g=OY(),I=RA(C)?fA(C):C;return kLg.some(e=>I[e]?I[e]!=="none":!1)||(I.containerType?I.containerType!=="normal":!1)||!g&&(I.backdropFilter?I.backdropFilter!=="none":!1)||!g&&(I.filter?I.filter!=="none":!1)||FLg.some(e=>(I.willChange||"").includes(e))||zLg.some(e=>(I.contain||"").includes(e))}function JLg(C){let g=Fs(C);for(;mn(g)&&!rr(g);){if(xY(g))return g;if(Lw(g))return null;g=Fs(g)}return null}function OY(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const LLg=new Set(["html","body","#document"]);function rr(C){return LLg.has(ka(C))}function fA(C){return ii(C).getComputedStyle(C)}function Tw(C){return RA(C)?{scrollLeft:C.scrollLeft,scrollTop:C.scrollTop}:{scrollLeft:C.scrollX,scrollTop:C.scrollY}}function Fs(C){if(ka(C)==="html")return C;const g=C.assignedSlot||C.parentNode||wD(C)&&C.host||rn(C);return wD(g)?g.host:g}function WD(C){const g=Fs(C);return rr(g)?C.ownerDocument?C.ownerDocument.body:C.body:mn(g)&&Xh(g)?g:WD(g)}function mr(C,g,I){var e;g===void 0&&(g=[]),I===void 0&&(I=!0);const t=WD(C),i=t===((e=C.ownerDocument)==null?void 0:e.body),A=ii(t);if(i){const n=QY(A);return g.concat(A,A.visualViewport||[],Xh(t)?t:[],n&&I?mr(n):[])}return g.concat(t,mr(t,[],I))}function QY(C){return C.parent&&Object.getPrototypeOf(C.parent)?C.frameElement:null}function BD(C){const g=fA(C);let I=parseFloat(g.width)||0,e=parseFloat(g.height)||0;const t=mn(C),i=t?C.offsetWidth:I,A=t?C.offsetHeight:e,n=Kw(I)!==i||Kw(e)!==A;return n&&(I=i,e=A),{width:I,height:e,$:n}}function UY(C){return RA(C)?C:C.contextElement}function ur(C){const g=UY(C);if(!mn(g))return cn(1);const I=g.getBoundingClientRect(),{width:e,height:t,$:i}=BD(g);let A=(i?Kw(I.width):I.width)/e,n=(i?Kw(I.height):I.height)/t;return(!A||!Number.isFinite(A))&&(A=1),(!n||!Number.isFinite(n))&&(n=1),{x:A,y:n}}const TLg=cn(0);function pD(C){const g=ii(C);return!OY()||!g.visualViewport?TLg:{x:g.visualViewport.offsetLeft,y:g.visualViewport.offsetTop}}function vLg(C,g,I){return g===void 0&&(g=!1),!I||g&&I!==ii(C)?!1:g}function Fa(C,g,I,e){g===void 0&&(g=!1),I===void 0&&(I=!1);const t=C.getBoundingClientRect(),i=UY(C);let A=cn(1);g&&(e?RA(e)&&(A=ur(e)):A=ur(C));const n=vLg(i,I,e)?pD(i):cn(0);let l=(t.left+n.x)/A.x,o=(t.top+n.y)/A.y,a=t.width/A.x,d=t.height/A.y;if(i){const m=ii(i),u=e&&RA(e)?ii(e):e;let h=m,Z=QY(h);for(;Z&&e&&u!==h;){const G=ur(Z),w=Z.getBoundingClientRect(),B=fA(Z),p=w.left+(Z.clientLeft+parseFloat(B.paddingLeft))*G.x,y=w.top+(Z.clientTop+parseFloat(B.paddingTop))*G.y;l*=G.x,o*=G.y,a*=G.x,d*=G.y,l+=p,o+=y,h=ii(Z),Z=QY(h)}}return cr({width:a,height:d,x:l,y:o})}function EY(C,g){const I=Tw(C).scrollLeft;return g?g.left+I:Fa(rn(C)).left+I}function yD(C,g,I){I===void 0&&(I=!1);const e=C.getBoundingClientRect(),t=e.left+g.scrollLeft-(I?0:EY(C,e)),i=e.top+g.scrollTop;return{x:t,y:i}}function jLg(C){let{elements:g,rect:I,offsetParent:e,strategy:t}=C;const i=t==="fixed",A=rn(e),n=g?Lw(g.floating):!1;if(e===A||n&&i)return I;let l={scrollLeft:0,scrollTop:0},o=cn(1);const a=cn(0),d=mn(e);if((d||!d&&!i)&&((ka(e)!=="body"||Xh(A))&&(l=Tw(e)),mn(e))){const u=Fa(e);o=ur(e),a.x=u.x+e.clientLeft,a.y=u.y+e.clientTop}const m=A&&!d&&!i?yD(A,l,!0):cn(0);return{width:I.width*o.x,height:I.height*o.y,x:I.x*o.x-l.scrollLeft*o.x+a.x+m.x,y:I.y*o.y-l.scrollTop*o.y+a.y+m.y}}function xLg(C){return Array.from(C.getClientRects())}function OLg(C){const g=rn(C),I=Tw(C),e=C.ownerDocument.body,t=Oe(g.scrollWidth,g.clientWidth,e.scrollWidth,e.clientWidth),i=Oe(g.scrollHeight,g.clientHeight,e.scrollHeight,e.clientHeight);let A=-I.scrollLeft+EY(C);const n=-I.scrollTop;return fA(e).direction==="rtl"&&(A+=Oe(g.clientWidth,e.clientWidth)-t),{width:t,height:i,x:A,y:n}}function QLg(C,g){const I=ii(C),e=rn(C),t=I.visualViewport;let i=e.clientWidth,A=e.clientHeight,n=0,l=0;if(t){i=t.width,A=t.height;const o=OY();(!o||o&&g==="fixed")&&(n=t.offsetLeft,l=t.offsetTop)}return{width:i,height:A,x:n,y:l}}const ULg=new Set(["absolute","fixed"]);function ELg(C,g){const I=Fa(C,!0,g==="fixed"),e=I.top+C.clientTop,t=I.left+C.clientLeft,i=mn(C)?ur(C):cn(1),A=C.clientWidth*i.x,n=C.clientHeight*i.y,l=t*i.x,o=e*i.y;return{width:A,height:n,x:l,y:o}}function YD(C,g,I){let e;if(g==="viewport")e=QLg(C,I);else if(g==="document")e=OLg(rn(C));else if(RA(g))e=ELg(g,I);else{const t=pD(C);e={x:g.x-t.x,y:g.y-t.y,width:g.width,height:g.height}}return cr(e)}function VD(C,g){const I=Fs(C);return I===g||!RA(I)||rr(I)?!1:fA(I).position==="fixed"||VD(I,g)}function PLg(C,g){const I=g.get(C);if(I)return I;let e=mr(C,[],!1).filter(n=>RA(n)&&ka(n)!=="body"),t=null;const i=fA(C).position==="fixed";let A=i?Fs(C):C;for(;RA(A)&&!rr(A);){const n=fA(A),l=xY(A);!l&&n.position==="fixed"&&(t=null),(i?!l&&!t:!l&&n.position==="static"&&!!t&&ULg.has(t.position)||Xh(A)&&!l&&VD(C,A))?e=e.filter(a=>a!==A):t=n,A=Fs(A)}return g.set(C,e),e}function _Lg(C){let{element:g,boundary:I,rootBoundary:e,strategy:t}=C;const A=[...I==="clippingAncestors"?Lw(g)?[]:PLg(g,this._c):[].concat(I),e],n=A[0],l=A.reduce((o,a)=>{const d=YD(g,a,t);return o.top=Oe(d.top,o.top),o.right=YA(d.right,o.right),o.bottom=YA(d.bottom,o.bottom),o.left=Oe(d.left,o.left),o},YD(g,n,t));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function $Lg(C){const{width:g,height:I}=BD(C);return{width:g,height:I}}function qLg(C,g,I){const e=mn(g),t=rn(g),i=I==="fixed",A=Fa(C,!0,i,g);let n={scrollLeft:0,scrollTop:0};const l=cn(0);function o(){l.x=EY(t)}if(e||!e&&!i)if((ka(g)!=="body"||Xh(t))&&(n=Tw(g)),e){const u=Fa(g,!0,i,g);l.x=u.x+g.clientLeft,l.y=u.y+g.clientTop}else t&&o();i&&!e&&t&&o();const a=t&&!e&&!i?yD(t,n):cn(0),d=A.left+n.scrollLeft-l.x-a.x,m=A.top+n.scrollTop-l.y-a.y;return{x:d,y:m,width:A.width,height:A.height}}function PY(C){return fA(C).position==="static"}function ND(C,g){if(!mn(C)||fA(C).position==="fixed")return null;if(g)return g(C);let I=C.offsetParent;return rn(C)===I&&(I=I.ownerDocument.body),I}function MD(C,g){const I=ii(C);if(Lw(C))return I;if(!mn(C)){let t=Fs(C);for(;t&&!rr(t);){if(RA(t)&&!PY(t))return t;t=Fs(t)}return I}let e=ND(C,g);for(;e&&SLg(e)&&PY(e);)e=ND(e,g);return e&&rr(e)&&PY(e)&&!xY(e)?I:e||JLg(C)||I}const gTg=async function(C){const g=this.getOffsetParent||MD,I=this.getDimensions,e=await I(C.floating);return{reference:qLg(C.reference,await g(C.floating),C.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function ITg(C){return fA(C).direction==="rtl"}const RD={convertOffsetParentRelativeRectToViewportRelativeRect:jLg,getDocumentElement:rn,getClippingRect:_Lg,getOffsetParent:MD,getElementRects:gTg,getClientRects:xLg,getDimensions:$Lg,getScale:ur,isElement:RA,isRTL:ITg};function fD(C,g){return C.x===g.x&&C.y===g.y&&C.width===g.width&&C.height===g.height}function CTg(C,g){let I=null,e;const t=rn(C);function i(){var n;clearTimeout(e),(n=I)==null||n.disconnect(),I=null}function A(n,l){n===void 0&&(n=!1),l===void 0&&(l=1),i();const o=C.getBoundingClientRect(),{left:a,top:d,width:m,height:u}=o;if(n||g(),!m||!u)return;const h=kw(d),Z=kw(t.clientWidth-(a+m)),G=kw(t.clientHeight-(d+u)),w=kw(a),p={rootMargin:-h+"px "+-Z+"px "+-G+"px "+-w+"px",threshold:Oe(0,YA(1,l))||1};let y=!0;function Y(R){const M=R[0].intersectionRatio;if(M!==l){if(!y)return A();M?A(!1,M):e=setTimeout(()=>{A(!1,1e-7)},1e3)}M===1&&!fD(o,C.getBoundingClientRect())&&A(),y=!1}try{I=new IntersectionObserver(Y,{...p,root:t.ownerDocument})}catch{I=new IntersectionObserver(Y,p)}I.observe(C)}return A(!0),i}function XD(C,g,I,e){e===void 0&&(e={});const{ancestorScroll:t=!0,ancestorResize:i=!0,elementResize:A=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:l=!1}=e,o=UY(C),a=t||i?[...o?mr(o):[],...mr(g)]:[];a.forEach(w=>{t&&w.addEventListener("scroll",I,{passive:!0}),i&&w.addEventListener("resize",I)});const d=o&&n?CTg(o,I):null;let m=-1,u=null;A&&(u=new ResizeObserver(w=>{let[B]=w;B&&B.target===o&&u&&(u.unobserve(g),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var p;(p=u)==null||p.observe(g)})),I()}),o&&!l&&u.observe(o),u.observe(g));let h,Z=l?Fa(C):null;l&&G();function G(){const w=Fa(C);Z&&!fD(Z,w)&&I(),Z=w,h=requestAnimationFrame(G)}return I(),()=>{var w;a.forEach(B=>{t&&B.removeEventListener("scroll",I),i&&B.removeEventListener("resize",I)}),d==null||d(),(w=u)==null||w.disconnect(),u=null,l&&cancelAnimationFrame(h)}}const eTg=Ka,HD=MLg,DD=BLg,tTg=RLg,iTg=pLg,ATg=XLg,nTg=yLg,lTg=wLg,sTg=VLg,oTg=fLg,SD=(C,g,I)=>{const e=new Map,t={platform:RD,...I},i={...t.platform,_c:e};return GLg(C,g,{...t,platform:i})};function aTg(C){return C!=null&&typeof C=="object"&&"$el"in C}function _Y(C){if(aTg(C)){const g=C.$el;return jY(g)&&ka(g)==="#comment"?null:g}return C}function hr(C){return typeof C=="function"?C():s.unref(C)}function dTg(C){return{name:"arrow",options:C,fn(g){const I=_Y(hr(C.element));return I==null?{}:lTg({element:I,padding:C.padding}).fn(g)}}}function KD(C){return typeof window>"u"?1:(C.ownerDocument.defaultView||window).devicePixelRatio||1}function kD(C,g){const I=KD(C);return Math.round(g*I)/I}function FD(C,g,I){I===void 0&&(I={});const e=I.whileElementsMounted,t=s.computed(()=>{var M;return(M=hr(I.open))!=null?M:!0}),i=s.computed(()=>hr(I.middleware)),A=s.computed(()=>{var M;return(M=hr(I.placement))!=null?M:"bottom"}),n=s.computed(()=>{var M;return(M=hr(I.strategy))!=null?M:"absolute"}),l=s.computed(()=>{var M;return(M=hr(I.transform))!=null?M:!0}),o=s.computed(()=>_Y(C.value)),a=s.computed(()=>_Y(g.value)),d=s.ref(0),m=s.ref(0),u=s.ref(n.value),h=s.ref(A.value),Z=s.shallowRef({}),G=s.ref(!1),w=s.computed(()=>{const M={position:u.value,left:"0",top:"0"};if(!a.value)return M;const K=kD(a.value,d.value),J=kD(a.value,m.value);return l.value?{...M,transform:"translate("+K+"px, "+J+"px)",...KD(a.value)>=1.5&&{willChange:"transform"}}:{position:u.value,left:K+"px",top:J+"px"}});let B;function p(){if(o.value==null||a.value==null)return;const M=t.value;SD(o.value,a.value,{middleware:i.value,placement:A.value,strategy:n.value}).then(K=>{d.value=K.x,m.value=K.y,u.value=K.strategy,h.value=K.placement,Z.value=K.middlewareData,G.value=M!==!1})}function y(){typeof B=="function"&&(B(),B=void 0)}function Y(){if(y(),e===void 0){p();return}if(o.value!=null&&a.value!=null){B=e(o.value,a.value,p);return}}function R(){t.value||(G.value=!1)}return s.watch([i,A,n,t],p,{flush:"sync"}),s.watch([o,a],Y,{flush:"sync"}),s.watch(t,R,{flush:"sync"}),s.getCurrentScope()&&s.onScopeDispose(y),{x:s.shallowReadonly(d),y:s.shallowReadonly(m),strategy:s.shallowReadonly(u),placement:s.shallowReadonly(h),middlewareData:s.shallowReadonly(Z),isPositioned:s.shallowReadonly(G),floatingStyles:w,update:p}}const cTg=fg(s.defineComponent({__name:"PopoverWrapper",props:{placement:{default:"bottom-start"},open:{type:Boolean,default:!1}},emits:["unmount-close"],setup(C,{emit:g}){const I=C,e=g,t=s.ref(null),i=s.ref(null),A=s.ref(null),n=s.ref(null),{floatingStyles:l}=FD(i,A,{middleware:[HD(10),DD({crossAxis:!0,allowedPlacements:["top-start","bottom-start"]})],strategy:n.value?"fixed":"absolute",placement:I.placement,whileElementsMounted:XD}),o=()=>{e("unmount-close")},a=d=>{t.value&&!t.value.contains(d.target)&&A.value&&!A.value.contains(d.target)&&o()};return s.onBeforeUnmount(()=>{document.removeEventListener("click",a)}),s.onMounted(()=>{if(document.addEventListener("click",a),t.value){const d=t.value.closest("dialog");d?n.value=d:n.value=document.body}}),(d,m)=>(s.openBlock(),s.createElementBlock("div",{class:"popover-wrapper",ref_key:"popoverWrapper",ref:t},[s.createElementVNode("div",{class:"popover-trigger",ref_key:"popoverTrigger",ref:i},[s.renderSlot(d.$slots,"trigger",{},void 0,!0)],512),(s.openBlock(),s.createBlock(s.Teleport,{to:n.value,disabled:!n.value},[I.open?(s.openBlock(),s.createElementBlock("div",{key:0,ref_key:"popoverContent",ref:A,class:s.normalizeClass(["popover-content",[`popover-${C.placement}`,{"popover-show":I.open}]]),style:s.normalizeStyle(s.unref(l))},[s.renderSlot(d.$slots,"default",{},void 0,!0)],6)):s.createCommentVNode("",!0)],8,["to","disabled"]))],512))}}),[["__scopeId","data-v-e86cee72"]]),zD=C=>C instanceof Date&&!isNaN(C.getTime()),vw=C=>{const g=zD(C)&&C!==null?C:new Date;return new Date(Date.UTC(g.getFullYear(),g.getMonth(),g.getDate(),23,59,59,999))},JD=C=>{const g=zD(C)&&C!==null?C:new Date,I={year:g.getFullYear(),month:g.getMonth(),day:g.getDate()};return new Date(Date.UTC(I.year,I.month,I.day))},rTg=(C,g)=>{if(!C)return"";g!=="ru-RU"&&(g="en-US");const I=new Date(C),e=uw(g),t=I.getDate().toString().padStart(2,"0"),i=I.getFullYear().toString();return`${e[I.getMonth()]} ${t}, ${i}`},mTg=["data-testid"],uTg=[".date",".minDate",".maxDate","locale","data-testid"],$Y=s.defineComponent({__name:"DatePicker",props:s.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isSelectTime:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePicker"}},{modelValue:{},modelModifiers:{}}),emits:s.mergeModels(["clear","change"],["update:modelValue"]),setup(C,{expose:g,emit:I}){const e=C,t=s.reactive({isActive:!1,isOpen:{months:!1,years:!1},isNotClear:!0,startDate:null,endDate:null}),i=I,A=s.useModel(C,"modelValue"),n=s.computed(()=>{if(!A.value)return null;const p=new Date(A.value);return isNaN(p.getTime())?null:p}),l=()=>{t.isNotClear=!1,A.value=null,i("clear"),setTimeout(()=>t.isNotClear=!0,1),a({detail:{date:null}})},o=p=>{i("change",p?new Date(p):null)},a=({detail:p})=>{if(!p)return;let y=p.date;n.value&&y&&(y=new Date(y.getFullYear(),y.getMonth(),y.getDate(),n.value.getHours(),n.value.getMinutes())),A.value=y,t.isActive=!1,i("change",y)},d=()=>{t.isOpen.months=!0},m=()=>{t.isOpen.years=!0},u=()=>{t.isOpen.months=!1},h=()=>{t.isOpen.years=!1},Z=()=>{t.isActive=!1,u(),h()};s.watchEffect(()=>t.startDate=e.startDate??null),s.watchEffect(()=>t.endDate=e.endDate??null);const G=()=>{const p=t.startDate??new Date;if(e.startDate){const y=n.value??new Date;if(p.valueOf()<=y.valueOf())return p;if(p!=null)return p}return null},w=()=>{const p=t.endDate??new Date;if(e.endDate){const y=n.value??new Date;if(p.valueOf()>=y.valueOf())return p;if(p!=null)return p}return null},B=()=>{t.isActive=!0};return s.watch(()=>A.value,()=>{A.value||(t.isNotClear=!1,A.value=null,setTimeout(()=>t.isNotClear=!0,1))}),g({clearChoose:l}),(p,y)=>(s.openBlock(),s.createElementBlock("div",{class:"date-picker-yui-kit__wrapper","data-testid":`${e.dataTestid}-Wrapper`},[s.createVNode(cTg,{open:!e.disabled&&t.isActive,onUnmountClose:Z},{trigger:s.withCtx(()=>[s.createVNode(oLg,{onClick:B,onClear:l,modelValue:A.value,"onUpdate:modelValue":y[0]||(y[0]=Y=>A.value=Y),"is-time-select":e.isSelectTime,"is-active":t.isActive,"is-small":e.isSmall,"is-range":e.isRange,disabled:e.disabled,"data-testid":`${e.dataTestid}-Choose`,value:s.unref(rTg)(A.value||null,e.locale),onChange:o},null,8,["modelValue","is-time-select","is-active","is-small","is-range","disabled","data-testid","value"])]),default:s.withCtx(()=>[s.createElementVNode("col-cal",{".date":n.value,".minDate":G(),".maxDate":w(),locale:e.locale??"ru-RU","data-testid":`${e.dataTestid}-Component`,onShowMonths:d,onShowYears:m,onHideMonths:u,onHideYears:h,onChangeDate:a,class:"date-picker-yui-kit"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(Object.keys(t.isOpen),Y=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:Y},[t.isOpen[Y]?(s.openBlock(),s.createBlock(Xg,{key:0,name:s.unref(ug).chevronUp,width:16,height:16,class:"open-popup",slot:`${Y}-popup-icon`},null,8,["name","slot"])):(s.openBlock(),s.createBlock(Xg,{key:1,name:s.unref(ug).chevronDown,width:16,height:16,slot:`${Y}-popup-icon`},null,8,["name","slot"]))],64))),128)),s.createVNode(Xg,{slot:"icon-left-button",name:s.unref(ug).chevronLeft,width:16,height:16},null,8,["name"]),s.createVNode(Xg,{slot:"icon-right-button",name:s.unref(ug).chevronRight,width:16,height:16},null,8,["name"]),s.createVNode(Xg,{slot:"years-icon-left",name:s.unref(ug).chevronLeft,width:16,height:16},null,8,["name"]),s.createVNode(Xg,{slot:"years-icon-right",name:s.unref(ug).chevronRight,width:16,height:16},null,8,["name"])],40,uTg)]),_:1},8,["open"])],8,mTg))}});var za=(C=>(C.start="start",C.end="end",C))(za||{});const hTg=["data-testid"],bTg=["data-testid"],ZTg=fg(s.defineComponent({__name:"DatePickerRange",props:s.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isSelectTime:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerRange"}},{startDate:{},startDateModifiers:{},endDate:{},endDateModifiers:{}}),emits:s.mergeModels(["change"],["update:startDate","update:endDate"]),setup(C,{expose:g,emit:I}){const e=C,t=I,i=s.reactive({date:{start:null,end:null},isActive:!1}),A=s.useModel(C,"startDate"),n=s.useModel(C,"endDate"),l=(m,u)=>{u===za.start&&(i.date[u]=m),u===za.end&&(i.date[u]=e.toLastTime&&m!==null?vw(m):m),t("change",i.date)},o=m=>{i.date[m]=null},a=()=>{Object.keys(i.date).forEach(m=>{i.date[m]=null})},d=()=>{(A.value||n.value)&&(i.date={start:A.value,end:e.toLastTime?vw(n.value):n.value})};return s.watch([()=>A.value,()=>n.value],()=>{d()}),s.onMounted(()=>{d()}),g({clear:a}),(m,u)=>{var h,Z;return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["date-picker-yui-kit__header",{"date-disable-yui-kit":e.disabled},{"date-active-yui-kit":i.isActive}]),"data-testid":`${e.dataTestid}-Header`},[s.createVNode($Y,{modelValue:i.date.start,"onUpdate:modelValue":u[0]||(u[0]=G=>i.date.start=G),locale:e.locale,"is-range":"",disabled:e.disabled,"end-date":(h=i.date)==null?void 0:h.end,onChange:u[1]||(u[1]=G=>l(G,s.unref(za).start)),onClear:u[2]||(u[2]=G=>o(s.unref(za).start)),"data-testid":`${e.dataTestid}-Component-Start`},null,8,["modelValue","locale","disabled","end-date","data-testid"]),s.createElementVNode("div",{class:"date-picker-yui-kit__header__dash","data-testid":`${e.dataTestid}-Header-Dash`},null,8,bTg),s.createVNode($Y,{modelValue:i.date.end,"onUpdate:modelValue":u[3]||(u[3]=G=>i.date.end=G),locale:e.locale,"is-range":"",disabled:e.disabled,"start-date":(Z=i.date)==null?void 0:Z.start,onChange:u[4]||(u[4]=G=>l(G,s.unref(za).end)),onClear:u[5]||(u[5]=G=>o(s.unref(za).end)),"data-testid":`${e.dataTestid}-Component-End`},null,8,["modelValue","locale","disabled","start-date","data-testid"])],10,hTg)}}}),[["__scopeId","data-v-cf826676"]]),qY=s.defineComponent({__name:"Calendar",props:{range:{},locale:{},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isSelectTime:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"Calendar"}},emits:["change","click"],setup(C,{emit:g}){const I=C,e=s.reactive({date:null,dateObject:{start:null,end:null}}),t=g,i=s.ref(),A=l=>{t("change",l)};s.watchEffect(()=>e.date=I.setDate||null);const n=()=>{var l,o;return{start:I.fromTodayTime?new Date(Date.now()):((l=I.range)==null?void 0:l.start)??null,end:((o=I.range)==null?void 0:o.end)??null}};return s.watch([()=>{var l;return(l=I.range)==null?void 0:l.start},()=>{var l;return(l=I.range)==null?void 0:l.end}],()=>{var l,o,a;e.dateObject=n(),((l=I.range)==null?void 0:l.start)===null&&((o=I.range)==null?void 0:o.end)===null&&((a=i.value)==null||a.clear())}),s.onMounted(()=>{if(I.isRange){e.dateObject=n();return}I.setDate&&(e.date=I.setDate??null)}),(l,o)=>I.isRange?(s.openBlock(),s.createBlock(ZTg,{key:0,ref_key:"datePickerRangeRef",ref:i,"to-last-time":I.toLastTime,"start-date":e.dateObject.start,"onUpdate:startDate":o[0]||(o[0]=a=>e.dateObject.start=a),"end-date":e.dateObject.end,"onUpdate:endDate":o[1]||(o[1]=a=>e.dateObject.end=a),disabled:I.disabled,locale:I.locale,onClick:o[2]||(o[2]=a=>t("click")),onChange:A,"data-testid":`${I.dataTestid}-DataPickerRange`},null,8,["to-last-time","start-date","end-date","disabled","locale","data-testid"])):(s.openBlock(),s.createBlock($Y,{key:1,modelValue:e.date,"onUpdate:modelValue":o[3]||(o[3]=a=>e.date=a),disabled:I.disabled,locale:I.locale,"is-small":I.isSmall,"is-select-time":I.isSelectTime,"data-testid":`${I.dataTestid}-DataPicker`,onClick:o[4]||(o[4]=a=>t("click")),onChange:A},null,8,["modelValue","disabled","locale","is-small","is-select-time","data-testid"]))}}),GTg=["data-testid"],wTg=["data-testid"],gV=fg(s.defineComponent({__name:"Accordion",props:{dataTestid:{default:"Accordion"}},setup(C){const g=C;return(I,e)=>(s.openBlock(),s.createElementBlock("details",{class:"accordion-yui-kit","data-testid":g.dataTestid},[s.createElementVNode("summary",{class:"accordion-yui-kit__summary","data-testid":`${g.dataTestid}-Summary`},[s.renderSlot(I.$slots,"summary",{},void 0,!0),s.createVNode(Xg,{name:s.unref(ug).chevronUp,class:"chevron-up","stroke-width":"2","data-testid":`${g.dataTestid}-ChevronUp`},null,8,["name","data-testid"]),s.createVNode(Xg,{name:s.unref(ug).chevronDown,class:"chevron-down","stroke-width":"2","data-testid":`${g.dataTestid}-ChevronDown`},null,8,["name","data-testid"])],8,wTg),s.renderSlot(I.$slots,"default",{},void 0,!0)],8,GTg))}}),[["__scopeId","data-v-477127da"]]),WTg=["data-testid"],BTg=["data-testid"],pTg=["data-testid"],yTg=["data-testid","multiple"],IV=fg(s.defineComponent({__name:"DragAndDrop",props:{singleFileMode:{type:Boolean,default:!1},title:{default:"Кликните или перенесите файлы"},dataTestid:{default:"DragAndDrop"}},emits:["fileDropped"],setup(C,{emit:g}){const I=C,e=g,t=s.reactive({isPressed:!1}),i=s.ref(null),A=u=>{const h=u.target;m(h.files)},n=()=>{i.value&&(i.value.value="")},l=u=>{var Z;u.preventDefault();const h=(Z=u.currentTarget)==null?void 0:Z.children[0];h.classList.contains("active")||h.classList.add("active")},o=u=>{u.currentTarget.children[0].classList.remove("active")},a=u=>{var Z;u.preventDefault(),m(((Z=u.dataTransfer)==null?void 0:Z.files)||null),u.currentTarget.children[0].classList.remove("active")},d=()=>{t.isPressed=!t.isPressed},m=u=>{t.isPressed=!1,e("fileDropped",u)};return s.onMounted(()=>{var u;(u=i.value)==null||u.addEventListener("cancel",()=>{t.isPressed=!1})}),(u,h)=>(s.openBlock(),s.createElementBlock("div",{onDragover:l,onDragleave:o,onDrop:a,class:"dnd-yui-kit","data-testid":I.dataTestid},[s.createElementVNode("label",{for:"docsFileSelected",class:s.normalizeClass(["dnd-yui-kit__label",{"is-pressed":t.isPressed}]),onClick:d,"data-testid":`${I.dataTestid}-Label`},[s.createVNode(Xg,{name:s.unref(ug).paperClip,"stroke-width":"2","data-testid":`${I.dataTestid}-Icon`},null,8,["name","data-testid"]),s.createElementVNode("span",{class:"dnd-yui-kit__span","data-testid":`${I.dataTestid}-Title`},s.toDisplayString(I.title),9,pTg)],10,BTg),s.createElementVNode("input",{id:"docsFileSelected",onChange:A,onClick:n,type:"file",style:{display:"none"},"data-testid":`${I.dataTestid}-Input`,required:"",multiple:!I.singleFileMode,ref_key:"fileInputRef",ref:i},null,40,yTg)],40,WTg))}}),[["__scopeId","data-v-c92fde7e"]]),YTg=["data-testid"],VTg=["data-testid"],CV=fg(s.defineComponent({__name:"Card",props:{dataTestid:{default:"Card"}},setup(C){const g=C;return(I,e)=>(s.openBlock(),s.createElementBlock("div",{class:"card-yui-kit","data-testid":g.dataTestid},[I.$slots.left?(s.openBlock(),s.createElementBlock("div",{key:0,class:"card-yui-kit__left","data-testid":`${g.dataTestid}-Left`},[s.renderSlot(I.$slots,"left",{},void 0,!0)],8,VTg)):s.createCommentVNode("",!0),s.renderSlot(I.$slots,"default",{},void 0,!0)],8,YTg))}}),[["__scopeId","data-v-b2c9de76"]]),NTg=["data-testid"],MTg=["data-testid"],RTg=["data-testid"],fTg=["data-testid"],XTg=["onClick","data-testid"],HTg=["data-testid"],DTg=fg(s.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(C,{emit:g}){const I=C,e=s.reactive({isShowList:I.isShowList,isShowButtonHistory:I.isShowButtonHistory}),t=g,i=s.computed(()=>({"history-yui-kit__list":!0,"history-yui-kit__list--opened":e.isShowList,"history-yui-kit__list--scroll":I.modelValue&&I.modelValue.length>=5&&e.isShowList})),A=()=>{e.isShowList=!0,e.isShowButtonHistory=!1},n=o=>{t("unmount-remove",o)},l=o=>{t("choosePost",o)};return(o,a)=>{var d;return I.showHistory?(s.openBlock(),s.createElementBlock("div",{key:0,class:"search-yui-kit__history history-yui-kit","data-testid":I.dataTestid},[e.isShowButtonHistory?(s.openBlock(),s.createBlock(sC,{key:0,type:s.unref(MI).outline,onClick:A,class:s.normalizeClass("history-yui-kit__button-text show-result"),"data-testid":`${I.dataTestid}-ShowResult`},{default:s.withCtx(()=>[s.createElementVNode("span",{"data-testid":`${I.dataTestid}-ShowResult-Title`}," Просмотреть историю запросов ",8,MTg)]),_:1},8,["type","data-testid"])):s.createCommentVNode("",!0),(d=I.modelValue)!=null&&d.length?(s.openBlock(),s.createElementBlock("ul",{key:1,class:s.normalizeClass(i.value),"data-testid":`${I.dataTestid}-ShowResult-List`},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(I.modelValue,(m,u)=>(s.openBlock(),s.createElementBlock("li",{class:"history-yui-kit__item",key:m,"data-testid":`${I.dataTestid}-ShowResult-Title${u}`},[s.createElementVNode("span",{onClick:h=>l(m),class:"history-yui-kit__hint","data-testid":`${I.dataTestid}-HandleChoosePost-Title${u}`},s.toDisplayString(m),9,XTg),s.createVNode(sC,{type:s.unref(MI).ghost,onClick:h=>n(m),"data-testid":`${I.dataTestid}-ButtonItem-Remove${u}`},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).exitSmall,width:16,"data-testid":`${I.dataTestid}-ButtonItem-RemoveIcon${u}`},null,8,["name","data-testid"])]),_:2},1032,["type","onClick","data-testid"])],8,fTg))),128))],10,RTg)):e.isShowButtonHistory?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(sC,{key:2,type:s.unref(MI).outline,class:s.normalizeClass("history-yui-kit__button-text"),"data-testid":`${I.dataTestid}-ButtonTypeEnum-RemoveButton`},{default:s.withCtx(()=>[s.createElementVNode("span",{"data-testid":`${I.dataTestid}-ButtonTypeEnum-EmptyContent`,class:"empty-content"},"По вашему запросу ничего не найдено",8,HTg)]),_:1},8,["type","data-testid"]))],8,NTg)):s.createCommentVNode("",!0)}}}),[["__scopeId","data-v-bef13471"]]),STg=["data-testid"],KTg=["data-testid"],kTg=["data-testid","onClick"],FTg=["data-testid"],zTg=["data-testid"],JTg=["data-testid"],LTg=["data-testid"],TTg=["data-testid"],vTg=["data-testid"],jTg=fg(s.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(C,{emit:g}){const I=C,e=g,t=s.ref(null),i=n=>{e("choose-result",n)},A=n=>{const l=n.target,{scrollTop:o,scrollHeight:a,clientHeight:d}=l;a-o-d<5&&e("scroll-paginate")};return s.watch(()=>I.searchValue,()=>{t.value&&(t.value.scrollTop=0)}),(n,l)=>(s.openBlock(),s.createElementBlock("div",{class:"search-yui-kit__result result-yui-kit","data-testid":I.dataTestid},[I.globalResultsFunction.length>0?(s.openBlock(),s.createElementBlock("ul",{key:0,class:"result-yui-kit__list","data-testid":`${I.dataTestid}-List`,onScroll:A,ref_key:"resultContentRef",ref:t},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(I.globalResultsFunction,(o,a)=>(s.openBlock(),s.createElementBlock("li",{class:"result-yui-kit__list__item",key:a,"data-testid":`${I.dataTestid}-List-Items${a}`,onClick:d=>i(o)},[s.createVNode(Xg,{name:o.icon||s.unref(ug).document,"data-testid":`${I.dataTestid}-Items-Icon${a}`,width:16,height:16,class:"result-yui-kit__list__item__icon"},null,8,["name","data-testid"]),s.createElementVNode("span",{"data-testid":`${I.dataTestid}-Result-NameArea${a}`},s.toDisplayString(o.nameArea),9,FTg),s.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${I.dataTestid}-Result-Slash${a}`},"/",8,zTg),s.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${I.dataTestid}-Result-SearchResult${a}`},s.toDisplayString(o.searchResult),9,JTg)],8,kTg))),128))],40,KTg)):I.searchValue?(s.openBlock(),s.createElementBlock("ul",{key:1,class:"result-yui-kit__list result-yui-kit__empty","data-testid":`${I.dataTestid}-Nothing-List`},[s.createElementVNode("li",{class:"result-yui-kit__empty__item","data-testid":`${I.dataTestid}-Nothing-Items`},[s.createElementVNode("p",{"data-testid":`${I.dataTestid}-Nothing-Text`}," По вашему запросу ничего не найдено ",8,vTg)],8,TTg)],8,LTg)):s.createCommentVNode("",!0)],8,STg))}}),[["__scopeId","data-v-2eb7100d"]]),LD=()=>{const C=s.ref(localStorage.getItem("historySearch")?JSON.parse(localStorage.getItem("historySearch")):[]);return{getHistorySearch:C,addHistorySearch:e=>{e&&(C.value=C.value.filter(t=>t!==e),C.value.unshift(e),C.value.length>10&&C.value.pop(),localStorage.setItem("historySearch",JSON.stringify(C.value)))},removeHistorySearch:e=>{C.value=C.value.filter(t=>t!==e),localStorage.setItem("historySearch",JSON.stringify(C.value))}}},xTg=["data-testid"],OTg=["data-testid"],QTg=["data-testid"],UTg=["placeholder","data-testid"],Hh=fg(s.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(C,{emit:g}){const I=C,e=g,{getHistorySearch:t,removeHistorySearch:i,addHistorySearch:A}=LD(),n=s.reactive({isShowList:!1,isShowButtonHistory:I.showHistory??!1,searchValue:I.modelValue,placeholder:I.placeholder??"",focused:!1}),l={position:"relative",width:"100%",height:I.height},o=y=>{n.searchValue=y.trim(),n.isShowList=!1,e("input",y),e("update:modelValue",n.searchValue),e("choosed",n.searchValue),e("enter",n.searchValue)},a=y=>{n.isShowList=!1,e("choose-result",y)},d=()=>{e("scroll-paginate")},m=s.computed(()=>({"search-yui-kit__icon-wrapper":!0})),u=()=>{n.focused=!0},h=()=>{setTimeout(()=>{n.focused=!1},500)},Z=()=>{n.isShowList=!1,n.isShowButtonHistory=!1},G=()=>{n.isShowButtonHistory=!0,n.isShowButtonHistory||(n.isShowList=!0)},w=()=>{e("enter",n.searchValue.trim()),I.showHistory&&n.searchValue&&A(n.searchValue.trim())},B=()=>{const y=n.searchValue.trim();e("input",y),e("update:modelValue",y)},p=()=>{n.searchValue&&(n.searchValue="",B(),w())};return s.onMounted(()=>{I.defaultValue&&(n.searchValue=I.defaultValue)}),s.watch(()=>I.modelValue,y=>{n.searchValue=y}),(y,Y)=>(s.openBlock(),s.createElementBlock("div",{class:"search-yui-kit",style:l,onMousemove:G,onMouseleave:Z,"data-testid":I.dataTestid},[s.createElementVNode("div",{class:s.normalizeClass(m.value),"data-testid":`${I.dataTestid}-Dropdown-Wrapper`},[s.createElementVNode("div",{class:"search-yui-kit__dropdown","data-testid":`${I.dataTestid}-Dropdown`},[s.withDirectives(s.createElementVNode("input",{type:"text",class:"search-yui-kit__input","onUpdate:modelValue":Y[0]||(Y[0]=R=>n.searchValue=R),placeholder:I.placeholder,onKeydown:s.withKeys(w,["enter"]),onInput:B,onFocus:u,onBlur:h,"data-testid":`${I.dataTestid}-Dropdown-Input`},null,40,UTg),[[s.vModelText,n.searchValue]]),s.createVNode(Xg,{class:"search-icon",name:s.unref(ug).searchNormal},null,8,["name"]),n.searchValue?(s.openBlock(),s.createBlock(sC,{key:0,class:"clear-button",type:s.unref(MI).ghost,onClick:p,"data-testid":`${I.dataTestid}-Clear-Button`},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).exitSmall,color:"var(--text-light-color)","data-testid":`${I.dataTestid}-Clear-Button-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","data-testid"])):s.createCommentVNode("",!0)],8,QTg)],10,OTg),!I.global&&I.showHistory?(s.openBlock(),s.createBlock(DTg,{key:0,"show-history":I.showHistory,"is-show-button-history":n.isShowButtonHistory,"is-show-list":n.isShowList,"model-value":s.unref(t),onUnmountRemove:s.unref(i),onChoosePost:o,"data-testid":`${I.dataTestid}-Dropdown-History`},null,8,["show-history","is-show-button-history","is-show-list","model-value","onUnmountRemove","data-testid"])):s.createCommentVNode("",!0),I.global&&n.focused?(s.openBlock(),s.createBlock(jTg,{key:1,"global-results-function":I.globalResultsFunction,"search-value":n.searchValue,"data-testid":`${I.dataTestid}-Dropdown-SearchResult`,onChooseResult:a,onScrollPaginate:d},null,8,["global-results-function","search-value","data-testid"])):s.createCommentVNode("",!0)],40,xTg))}}),[["__scopeId","data-v-25e95fd2"]]);var Dh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ETg(C){return C&&C.__esModule&&Object.prototype.hasOwnProperty.call(C,"default")?C.default:C}var jw={exports:{}};/**
|
|
1379
|
+
`}};sl([Dg({type:Object})],dn.prototype,"date",2),sl([Dg({type:Object})],dn.prototype,"minDate",2),sl([Dg({type:Object})],dn.prototype,"maxDate",2),sl([Dg({type:String})],dn.prototype,"locale",2),sl([Dg({type:Number})],dn.prototype,"firstDayOfWeek",2),sl([Dg({type:Array})],dn.prototype,"disabledDates",2),sl([Dg({type:Array})],dn.prototype,"events",2),sl([qG()],dn.prototype,"_date",2),dn=sl([Ba("col-cal")],dn);const Hkg=["data-testid"],Dkg=["data-testid"],Skg=["data-testid"],Kkg=["required","data-testid"],kkg=["data-testid"],Fkg=["data-testid","disabled"],zkg=["data-testid","disabled"],Jkg=s.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:it.medium},zeroPad:{type:Boolean,default:!1},modelModifiers:{default:()=>({})},dataTestid:{default:"InputNumber"}},emits:["update:modelValue","focused"],setup(C,{emit:g}){const I=g,e=C,t=s.reactive({isPressed:!1,inputElement:e.modelValue||(e.min>0?e.min:0),prevValue:""}),i=/^-?\d{0,10}(\.\d{0,7})?$/,A=s.ref(null);function n(B,p=2){return e.zeroPad&&!isNaN(+B)?String(B).padStart(p,"0"):String(B)}s.watch(()=>e.isInteger,()=>{e.isInteger&&(t.inputElement=o(t.inputElement.toString()),a(t.inputElement))}),s.watch([()=>e.min,()=>e.max],()=>{m(),d()}),s.watch(()=>e.modelValue,(B,p)=>{t.inputElement=e.zeroPad&&(!t.isPressed||Number(p)===0)?n(B):B});const l=B=>{let p=B.target.value;e.zeroPad&&p==="00"||(p=o(p)),a(p),!isNaN(+t.inputElement)&&Number(t.inputElement)<=e.max&&Number(t.inputElement)>=e.min&&I("update:modelValue",t.inputElement)},o=B=>{let p=B.replace(",",".");return e.isInteger&&p.includes(".")&&(p=p.replace(".","")),p==="."?p="0"+p:p==="-."&&(p="-0."+p.slice(2)),/[^\d.]/.test(p)&&(p=p.replace(e.min>=0?/[^0-9.]/g:/[^0-9.-]/g,"")),p.includes("-")&&(p=(p.startsWith("-")?"-":"")+p.replace(/-/g,"")),p.startsWith("0")&&p.length>1&&!p.startsWith("0.")&&(p=p.replace(/^0+/,"")),p.startsWith("-0")&&p.length>2&&!p.startsWith("-0.")&&(p="-"+p.slice(2).replace(/^0+/,"")),(p.match(/\./g)||[]).length>1&&(p=p.slice(0,p.lastIndexOf("."))+p.slice(p.lastIndexOf(".")+1)),p},a=B=>{Number(B)>e.max?t.inputElement=e.max:t.inputElement=B,t.inputElement!==""&&!i.test(`${t.inputElement}`)&&(t.inputElement=t.prevValue)},d=()=>{Number(t.inputElement)<e.min&&(t.inputElement=e.min,I("update:modelValue",+t.inputElement))},m=()=>{Number(t.inputElement)>e.max&&(t.inputElement=e.max,I("update:modelValue",+t.inputElement))},u=B=>{t.prevValue=t.inputElement,B.key==="ArrowUp"&&G(),B.key==="ArrowDown"&&w()},h=B=>{t.isPressed=!0,I("focused",B)},Z=()=>{(t.inputElement===""||t.inputElement===null||isNaN(+t.inputElement))&&(t.inputElement=e.min>0?e.min:0),isNaN(+t.inputElement)&&(t.inputElement=Math.max(e.min,0)),Number(t.inputElement)>e.max?t.inputElement=e.max:Number(t.inputElement)<e.min&&(t.inputElement=e.min),t.inputElement=`${t.inputElement}`.replace(/(\.\d*?[1-9])0+$/,"$1").replace(/\.0+$/,""),t.inputElement=n(t.inputElement),I("update:modelValue",t.inputElement),t.isPressed=!1},G=()=>{var B;+t.inputElement+1<e.max?t.inputElement=+t.inputElement+1:e.max!==1/0?t.inputElement=e.max:t.inputElement=0,i.test(`${t.inputElement}`)?(t.inputElement=n(t.inputElement),I("update:modelValue",t.inputElement)):t.inputElement=t.prevValue,(B=A.value)==null||B.focus()},w=()=>{var B;+t.inputElement-1>e.min?t.inputElement=+t.inputElement-1:e.min!==-1/0?t.inputElement=e.min:t.inputElement=0,t.inputElement=n(t.inputElement),I("update:modelValue",+t.inputElement),(B=A.value)==null||B.focus()};return s.onMounted(()=>{m(),d()}),(B,p)=>(s.openBlock(),s.createElementBlock("fieldset",{class:s.normalizeClass(["input-yui-kit input-yui-kit_number initial",{pressed:t.isPressed,[e.size]:!0}]),"data-testid":e.dataTestid,onFocusout:Z},[e.inputMessage?(s.openBlock(),s.createElementBlock("legend",{key:0,class:"input-yui-kit__legend","data-testid":`${e.dataTestid}-Legend`},[s.createTextVNode(s.toDisplayString(e.inputMessage),1),e.required?(s.openBlock(),s.createElementBlock("sup",{key:0,class:"input-yui-kit__star","data-testid":`${e.dataTestid}-Star`},"*",8,Skg)):s.createCommentVNode("",!0)],8,Dkg)):s.createCommentVNode("",!0),s.withDirectives(s.createElementVNode("input",{ref_key:"inputNumberRef",ref:A,"onUpdate:modelValue":p[0]||(p[0]=y=>t.inputElement=y),onFocus:h,onInput:l,onKeydown:u,class:"input-yui-kit__input",required:e.required,"data-testid":`${e.dataTestid}-Input`,type:"text"},null,40,Kkg),[[s.vModelText,t.inputElement]]),s.createElementVNode("div",{class:"input-yui-kit__buttons","data-testid":`${e.dataTestid}-Buttons`},[s.createElementVNode("button",{class:"input-yui-kit__button-up","data-testid":`${e.dataTestid}-UpButton`,onMousedown:s.withModifiers(G,["prevent"]),disabled:+t.inputElement>=e.max},[s.createVNode(Xg,{name:s.unref(ug).chevronUp,"data-testid":`${e.dataTestid}-Icon`},null,8,["name","data-testid"])],40,Fkg),s.createElementVNode("button",{class:"input-yui-kit__button-down","data-testid":`${e.dataTestid}-DownButton`,onMousedown:s.withModifiers(w,["prevent"]),disabled:+t.inputElement<=e.min},[s.createVNode(Xg,{name:s.unref(ug).chevronDown,"data-testid":`${e.dataTestid}-Icon`},null,8,["name","data-testid"])],40,zkg)],8,kkg)],42,Hkg))}}),Gh=fg(Jkg,[["__scopeId","data-v-2b033e0d"]]);function xH(C,g){var I;const e=s.shallowRef();return s.watchEffect(()=>{e.value=C()},{...g,flush:(I=g==null?void 0:g.flush)!=null?I:"sync"}),s.readonly(e)}function hY(C,g){let I,e,t;const i=s.ref(!0),A=()=>{i.value=!0,t()};s.watch(C,A,{flush:"sync"});const n=typeof g=="function"?g:g.get,l=typeof g=="function"?void 0:g.set,o=s.customRef((a,d)=>(e=a,t=d,{get(){return i.value&&(I=n(I),i.value=!1),e(),I},set(m){l==null||l(m)}}));return Object.isExtensible(o)&&(o.trigger=A),o}function mI(C){return s.getCurrentScope()?(s.onScopeDispose(C),!0):!1}function ct(){const C=new Set,g=t=>{C.delete(t)};return{on:t=>{C.add(t);const i=()=>g(t);return mI(i),{off:i}},off:g,trigger:(...t)=>Promise.all(Array.from(C).map(i=>i(...t)))}}function Lkg(C){let g=!1,I;const e=s.effectScope(!0);return(...t)=>(g||(I=e.run(()=>C(...t)),g=!0),I)}const Ar=new WeakMap,OH=(C,g)=>{var I;const e=(I=s.getCurrentInstance())==null?void 0:I.proxy;if(e==null)throw new Error("provideLocal must be called in setup");Ar.has(e)||Ar.set(e,Object.create(null));const t=Ar.get(e);t[C]=g,s.provide(C,g)},QH=(...C)=>{var g;const I=C[0],e=(g=s.getCurrentInstance())==null?void 0:g.proxy;if(e==null)throw new Error("injectLocal must be called in setup");return Ar.has(e)&&I in Ar.get(e)?Ar.get(e)[I]:s.inject(...C)};function Tkg(C,g){const I=(g==null?void 0:g.injectionKey)||Symbol(C.name||"InjectionState"),e=g==null?void 0:g.defaultValue;return[(...A)=>{const n=C(...A);return OH(I,n),n},()=>QH(I,e)]}function vkg(C){let g=0,I,e;const t=()=>{g-=1,e&&g<=0&&(e.stop(),I=void 0,e=void 0)};return(...i)=>(g+=1,e||(e=s.effectScope(!0),I=e.run(()=>C(...i))),mI(t),I)}function UH(C,g,{enumerable:I=!1,unwrap:e=!0}={}){for(const[t,i]of Object.entries(g))t!=="value"&&(s.isRef(i)&&e?Object.defineProperty(C,t,{get(){return i.value},set(A){i.value=A},enumerable:I}):Object.defineProperty(C,t,{value:i,enumerable:I}));return C}function jkg(C,g){return g==null?s.unref(C):s.unref(C)[g]}function xkg(C){return s.unref(C)!=null}function EH(C,g){if(typeof Symbol<"u"){const I={...C};return Object.defineProperty(I,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:g[e++],done:e>g.length})}}}),I}else return Object.assign([...g],C)}function U(C){return typeof C=="function"?C():s.unref(C)}const Okg=U;function bY(C,g){const I=(g==null?void 0:g.computedGetter)===!1?s.unref:U;return function(...e){return s.computed(()=>C.apply(this,e.map(t=>I(t))))}}function Qkg(C,g={}){let I=[],e;if(Array.isArray(g))I=g;else{e=g;const{includeOwnProperties:t=!0}=g;I.push(...Object.keys(C)),t&&I.push(...Object.getOwnPropertyNames(C))}return Object.fromEntries(I.map(t=>{const i=C[t];return[t,typeof i=="function"?bY(i.bind(C),e):i]}))}function PH(C){if(!s.isRef(C))return s.reactive(C);const g=new Proxy({},{get(I,e,t){return s.unref(Reflect.get(C.value,e,t))},set(I,e,t){return s.isRef(C.value[e])&&!s.isRef(t)?C.value[e].value=t:C.value[e]=t,!0},deleteProperty(I,e){return Reflect.deleteProperty(C.value,e)},has(I,e){return Reflect.has(C.value,e)},ownKeys(){return Object.keys(C.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return s.reactive(g)}function ZY(C){return PH(s.computed(C))}function Ukg(C,...g){const I=g.flat(),e=I[0];return ZY(()=>Object.fromEntries(typeof e=="function"?Object.entries(s.toRefs(C)).filter(([t,i])=>!e(U(i),t)):Object.entries(s.toRefs(C)).filter(t=>!I.includes(t[0]))))}const oe=typeof window<"u"&&typeof document<"u",_H=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,$H=C=>typeof C<"u",bw=C=>C!=null,Ekg=(C,...g)=>{C||console.warn(...g)},Pkg=Object.prototype.toString,wh=C=>Pkg.call(C)==="[object Object]",_kg=()=>Date.now(),Xa=()=>+Date.now(),Zw=(C,g,I)=>Math.min(I,Math.max(g,C)),XI=()=>{},$kg=(C,g)=>(C=Math.ceil(C),g=Math.floor(g),Math.floor(Math.random()*(g-C+1))+C),qH=(C,g)=>Object.prototype.hasOwnProperty.call(C,g),Gw=qkg();function qkg(){var C,g;return oe&&((C=window==null?void 0:window.navigator)==null?void 0:C.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((g=window==null?void 0:window.navigator)==null?void 0:g.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ha(C,g){function I(...e){return new Promise((t,i)=>{Promise.resolve(C(()=>g.apply(this,e),{fn:g,thisArg:this,args:e})).then(t).catch(i)})}return I}const Wh=C=>C();function ww(C,g={}){let I,e,t=XI;const i=n=>{clearTimeout(n),t(),t=XI};return n=>{const l=U(C),o=U(g.maxWait);return I&&i(I),l<=0||o!==void 0&&o<=0?(e&&(i(e),e=null),Promise.resolve(n())):new Promise((a,d)=>{t=g.rejectOnCancel?d:a,o&&!e&&(e=setTimeout(()=>{I&&i(I),e=null,a(n())},o)),I=setTimeout(()=>{e&&i(e),e=null,a(n())},l)})}}function Bh(...C){let g=0,I,e=!0,t=XI,i,A,n,l,o;!s.isRef(C[0])&&typeof C[0]=="object"?{delay:A,trailing:n=!0,leading:l=!0,rejectOnCancel:o=!1}=C[0]:[A,n=!0,l=!0,o=!1]=C;const a=()=>{I&&(clearTimeout(I),I=void 0,t(),t=XI)};return m=>{const u=U(A),h=Date.now()-g,Z=()=>i=m();return a(),u<=0?(g=Date.now(),Z()):(h>u&&(l||!e)?(g=Date.now(),Z()):n&&(i=new Promise((G,w)=>{t=o?w:G,I=setTimeout(()=>{g=Date.now(),e=!0,G(Z()),a()},Math.max(0,u-h))})),!l&&!I&&(I=setTimeout(()=>e=!0,u)),e=!1,i)}}function GY(C=Wh){const g=s.ref(!0);function I(){g.value=!1}function e(){g.value=!0}const t=(...i)=>{g.value&&C(...i)};return{isActive:s.readonly(g),pause:I,resume:e,eventFilter:t}}const g3g={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function g9(C){const g=Object.create(null);return I=>g[I]||(g[I]=C(I))}const I3g=/\B([A-Z])/g,C3g=g9(C=>C.replace(I3g,"-$1").toLowerCase()),e3g=/-(\w)/g,I9=g9(C=>C.replace(e3g,(g,I)=>I?I.toUpperCase():""));function ph(C,g=!1,I="Timeout"){return new Promise((e,t)=>{setTimeout(g?()=>t(I):e,C)})}function wY(C){return C}function C9(C){let g;function I(){return g||(g=C()),g}return I.reset=async()=>{const e=g;g=void 0,e&&await e},I}function t3g(C){return C()}function WY(C,...g){return g.some(I=>I in C)}function e9(C,g){var I;if(typeof C=="number")return C+g;const e=((I=C.match(/^-?\d+\.?\d*/))==null?void 0:I[0])||"",t=C.slice(e.length),i=Number.parseFloat(e)+g;return Number.isNaN(i)?C:i+t}function t9(C,g,I=!1){return g.reduce((e,t)=>(t in C&&(!I||C[t]!==void 0)&&(e[t]=C[t]),e),{})}function i9(C,g,I=!1){return Object.fromEntries(Object.entries(C).filter(([e,t])=>(!I||t!==void 0)&&!g.includes(e)))}function A9(C){return Object.entries(C)}function yh(C){return C||s.getCurrentInstance()}function LC(...C){if(C.length!==1)return s.toRef(...C);const g=C[0];return typeof g=="function"?s.readonly(s.customRef(()=>({get:g,set:XI}))):s.ref(g)}const i3g=LC;function A3g(C,...g){const I=g.flat(),e=I[0];return ZY(()=>Object.fromEntries(typeof e=="function"?Object.entries(s.toRefs(C)).filter(([t,i])=>e(U(i),t)):I.map(t=>[t,LC(C,t)])))}function n9(C,g=1e4){return s.customRef((I,e)=>{let t=U(C),i;const A=()=>setTimeout(()=>{t=U(C),e()},U(g));return mI(()=>{clearTimeout(i)}),{get(){return I(),t},set(n){t=n,e(),clearTimeout(i),i=A()}}})}function Ww(C,g=200,I={}){return Ha(ww(g,I),C)}function BY(C,g=200,I={}){const e=s.ref(C.value),t=Ww(()=>{e.value=C.value},g,I);return s.watch(C,()=>t()),e}function n3g(C,g){return s.computed({get(){var I;return(I=C.value)!=null?I:g},set(I){C.value=I}})}function pY(C,g=200,I=!1,e=!0,t=!1){return Ha(Bh(g,I,e,t),C)}function yY(C,g=200,I=!0,e=!0){if(g<=0)return C;const t=s.ref(C.value),i=pY(()=>{t.value=C.value},g,I,e);return s.watch(C,()=>i()),t}function l9(C,g={}){let I=C,e,t;const i=s.customRef((m,u)=>(e=m,t=u,{get(){return A()},set(h){n(h)}}));function A(m=!0){return m&&e(),I}function n(m,u=!0){var h,Z;if(m===I)return;const G=I;((h=g.onBeforeChange)==null?void 0:h.call(g,m,G))!==!1&&(I=m,(Z=g.onChanged)==null||Z.call(g,m,G),u&&t())}return UH(i,{get:A,set:n,untrackedGet:()=>A(!1),silentSet:m=>n(m,!1),peek:()=>A(!1),lay:m=>n(m,!1)},{enumerable:!0})}const l3g=l9;function s3g(...C){if(C.length===2){const[g,I]=C;g.value=I}if(C.length===3){const[g,I,e]=C;g[I]=e}}function nr(C,g,I={}){const{eventFilter:e=Wh,...t}=I;return s.watch(C,Ha(e,g),t)}function lr(C,g,I={}){const{eventFilter:e,...t}=I,{eventFilter:i,pause:A,resume:n,isActive:l}=GY(e);return{stop:nr(C,g,{...t,eventFilter:i}),pause:A,resume:n,isActive:l}}function YY(C,g,...[I]){const{flush:e="sync",deep:t=!1,immediate:i=!0,direction:A="both",transform:n={}}=I||{},l=[],o="ltr"in n&&n.ltr||(m=>m),a="rtl"in n&&n.rtl||(m=>m);return(A==="both"||A==="ltr")&&l.push(lr(C,m=>{l.forEach(u=>u.pause()),g.value=o(m),l.forEach(u=>u.resume())},{flush:e,deep:t,immediate:i})),(A==="both"||A==="rtl")&&l.push(lr(g,m=>{l.forEach(u=>u.pause()),C.value=a(m),l.forEach(u=>u.resume())},{flush:e,deep:t,immediate:i})),()=>{l.forEach(m=>m.stop())}}function o3g(C,g,I={}){const{flush:e="sync",deep:t=!1,immediate:i=!0}=I;return Array.isArray(g)||(g=[g]),s.watch(C,A=>g.forEach(n=>n.value=A),{flush:e,deep:t,immediate:i})}function VY(C,g={}){if(!s.isRef(C))return s.toRefs(C);const I=Array.isArray(C.value)?Array.from({length:C.value.length}):{};for(const e in C.value)I[e]=s.customRef(()=>({get(){return C.value[e]},set(t){var i;if((i=U(g.replaceRef))!=null?i:!0)if(Array.isArray(C.value)){const n=[...C.value];n[e]=t,C.value=n}else{const n={...C.value,[e]:t};Object.setPrototypeOf(n,Object.getPrototypeOf(C.value)),C.value=n}else C.value[e]=t}}));return I}function a3g(C,g=!0,I){yh(I)?s.onBeforeMount(C,I):g?C():s.nextTick(C)}function s9(C,g){yh(g)&&s.onBeforeUnmount(C,g)}function ae(C,g=!0,I){yh()?s.onMounted(C,I):g?C():s.nextTick(C)}function o9(C,g){yh(g)&&s.onUnmounted(C,g)}function NY(C,g=!1){function I(d,{flush:m="sync",deep:u=!1,timeout:h,throwOnTimeout:Z}={}){let G=null;const B=[new Promise(p=>{G=s.watch(C,y=>{d(y)!==g&&(G?G():s.nextTick(()=>G==null?void 0:G()),p(y))},{flush:m,deep:u,immediate:!0})})];return h!=null&&B.push(ph(h,Z).then(()=>U(C)).finally(()=>G==null?void 0:G())),Promise.race(B)}function e(d,m){if(!s.isRef(d))return I(y=>y===d,m);const{flush:u="sync",deep:h=!1,timeout:Z,throwOnTimeout:G}=m??{};let w=null;const p=[new Promise(y=>{w=s.watch([C,d],([Y,R])=>{g!==(Y===R)&&(w?w():s.nextTick(()=>w==null?void 0:w()),y(Y))},{flush:u,deep:h,immediate:!0})})];return Z!=null&&p.push(ph(Z,G).then(()=>U(C)).finally(()=>(w==null||w(),U(C)))),Promise.race(p)}function t(d){return I(m=>!!m,d)}function i(d){return e(null,d)}function A(d){return e(void 0,d)}function n(d){return I(Number.isNaN,d)}function l(d,m){return I(u=>{const h=Array.from(u);return h.includes(d)||h.includes(U(d))},m)}function o(d){return a(1,d)}function a(d=1,m){let u=-1;return I(()=>(u+=1,u>=d),m)}return Array.isArray(U(C))?{toMatch:I,toContains:l,changed:o,changedTimes:a,get not(){return NY(C,!g)}}:{toMatch:I,toBe:e,toBeTruthy:t,toBeNull:i,toBeNaN:n,toBeUndefined:A,changed:o,changedTimes:a,get not(){return NY(C,!g)}}}function Yh(C){return NY(C)}function d3g(C,g){return C===g}function c3g(...C){var g;const I=C[0],e=C[1];let t=(g=C[2])!=null?g:d3g;if(typeof t=="string"){const i=t;t=(A,n)=>A[i]===n[i]}return s.computed(()=>U(I).filter(i=>U(e).findIndex(A=>t(i,A))===-1))}function r3g(C,g){return s.computed(()=>U(C).every((I,e,t)=>g(U(I),e,t)))}function m3g(C,g){return s.computed(()=>U(C).map(I=>U(I)).filter(g))}function u3g(C,g){return s.computed(()=>U(U(C).find((I,e,t)=>g(U(I),e,t))))}function h3g(C,g){return s.computed(()=>U(C).findIndex((I,e,t)=>g(U(I),e,t)))}function b3g(C,g){let I=C.length;for(;I-- >0;)if(g(C[I],I,C))return C[I]}function Z3g(C,g){return s.computed(()=>U(Array.prototype.findLast?U(C).findLast((I,e,t)=>g(U(I),e,t)):b3g(U(C),(I,e,t)=>g(U(I),e,t))))}function G3g(C){return wh(C)&&WY(C,"formIndex","comparator")}function w3g(...C){var g;const I=C[0],e=C[1];let t=C[2],i=0;if(G3g(t)&&(i=(g=t.fromIndex)!=null?g:0,t=t.comparator),typeof t=="string"){const A=t;t=(n,l)=>n[A]===U(l)}return t=t??((A,n)=>A===U(n)),s.computed(()=>U(I).slice(i).some((A,n,l)=>t(U(A),U(e),n,U(l))))}function W3g(C,g){return s.computed(()=>U(C).map(I=>U(I)).join(U(g)))}function B3g(C,g){return s.computed(()=>U(C).map(I=>U(I)).map(g))}function p3g(C,g,...I){const e=(t,i,A)=>g(U(t),U(i),A);return s.computed(()=>{const t=U(C);return I.length?t.reduce(e,U(I[0])):t.reduce(e)})}function y3g(C,g){return s.computed(()=>U(C).some((I,e,t)=>g(U(I),e,t)))}function Y3g(C){return Array.from(new Set(C))}function V3g(C,g){return C.reduce((I,e)=>(I.some(t=>g(e,t,C))||I.push(e),I),[])}function N3g(C,g){return s.computed(()=>{const I=U(C).map(e=>U(e));return g?V3g(I,g):Y3g(I)})}function M3g(C=0,g={}){let I=s.unref(C);const e=s.ref(C),{max:t=Number.POSITIVE_INFINITY,min:i=Number.NEGATIVE_INFINITY}=g,A=(d=1)=>e.value=Math.max(Math.min(t,e.value+d),i),n=(d=1)=>e.value=Math.min(Math.max(i,e.value-d),t),l=()=>e.value,o=d=>e.value=Math.max(i,Math.min(t,d));return{count:e,inc:A,dec:n,get:l,set:o,reset:(d=I)=>(I=d,o(d))}}const R3g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,f3g=/[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 X3g(C,g,I,e){let t=C<12?"AM":"PM";return e&&(t=t.split("").reduce((i,A)=>i+=`${A}.`,"")),I?t.toLowerCase():t}function Da(C){const g=["th","st","nd","rd"],I=C%100;return C+(g[(I-20)%10]||g[I]||g[0])}function a9(C,g,I={}){var e;const t=C.getFullYear(),i=C.getMonth(),A=C.getDate(),n=C.getHours(),l=C.getMinutes(),o=C.getSeconds(),a=C.getMilliseconds(),d=C.getDay(),m=(e=I.customMeridiem)!=null?e:X3g,u={Yo:()=>Da(t),YY:()=>String(t).slice(-2),YYYY:()=>t,M:()=>i+1,Mo:()=>Da(i+1),MM:()=>`${i+1}`.padStart(2,"0"),MMM:()=>C.toLocaleDateString(U(I.locales),{month:"short"}),MMMM:()=>C.toLocaleDateString(U(I.locales),{month:"long"}),D:()=>String(A),Do:()=>Da(A),DD:()=>`${A}`.padStart(2,"0"),H:()=>String(n),Ho:()=>Da(n),HH:()=>`${n}`.padStart(2,"0"),h:()=>`${n%12||12}`.padStart(1,"0"),ho:()=>Da(n%12||12),hh:()=>`${n%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>Da(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(o),so:()=>Da(o),ss:()=>`${o}`.padStart(2,"0"),SSS:()=>`${a}`.padStart(3,"0"),d:()=>d,dd:()=>C.toLocaleDateString(U(I.locales),{weekday:"narrow"}),ddd:()=>C.toLocaleDateString(U(I.locales),{weekday:"short"}),dddd:()=>C.toLocaleDateString(U(I.locales),{weekday:"long"}),A:()=>m(n,l),AA:()=>m(n,l,!1,!0),a:()=>m(n,l,!0),aa:()=>m(n,l,!0,!0)};return g.replace(f3g,(h,Z)=>{var G,w;return(w=Z??((G=u[h])==null?void 0:G.call(u)))!=null?w:h})}function d9(C){if(C===null)return new Date(Number.NaN);if(C===void 0)return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){const g=C.match(R3g);if(g){const I=g[2]-1||0,e=(g[7]||"0").substring(0,3);return new Date(g[1],I,g[3]||1,g[4]||0,g[5]||0,g[6]||0,e)}}return new Date(C)}function H3g(C,g="HH:mm:ss",I={}){return s.computed(()=>a9(d9(U(C)),U(g),I))}function ks(C,g=1e3,I={}){const{immediate:e=!0,immediateCallback:t=!1}=I;let i=null;const A=s.ref(!1);function n(){i&&(clearInterval(i),i=null)}function l(){A.value=!1,n()}function o(){const a=U(g);a<=0||(A.value=!0,t&&C(),n(),i=setInterval(C,a))}if(e&&oe&&o(),s.isRef(g)||typeof g=="function"){const a=s.watch(g,()=>{A.value&&oe&&o()});mI(a)}return mI(l),{isActive:A,pause:l,resume:o}}function D3g(C=1e3,g={}){const{controls:I=!1,immediate:e=!0,callback:t}=g,i=s.ref(0),A=()=>i.value+=1,n=()=>{i.value=0},l=ks(t?()=>{A(),t(i.value)}:A,C,{immediate:e});return I?{counter:i,reset:n,...l}:i}function S3g(C,g={}){var I;const e=s.ref((I=g.initialValue)!=null?I:null);return s.watch(C,()=>e.value=Xa(),g),e}function sr(C,g,I={}){const{immediate:e=!0}=I,t=s.ref(!1);let i=null;function A(){i&&(clearTimeout(i),i=null)}function n(){t.value=!1,A()}function l(...o){A(),t.value=!0,i=setTimeout(()=>{t.value=!1,i=null,C(...o)},U(g))}return e&&(t.value=!0,oe&&l()),mI(n),{isPending:s.readonly(t),start:l,stop:n}}function K3g(C=1e3,g={}){const{controls:I=!1,callback:e}=g,t=sr(e??XI,C,g),i=s.computed(()=>!t.isPending.value);return I?{ready:i,...t}:i}function k3g(C,g={}){const{method:I="parseFloat",radix:e,nanToZero:t}=g;return s.computed(()=>{let i=U(C);return typeof i=="string"&&(i=Number[I](i,e)),t&&Number.isNaN(i)&&(i=0),i})}function F3g(C){return s.computed(()=>`${U(C)}`)}function z3g(C=!1,g={}){const{truthyValue:I=!0,falsyValue:e=!1}=g,t=s.isRef(C),i=s.ref(C);function A(n){if(arguments.length)return i.value=n,i.value;{const l=U(I);return i.value=i.value===l?U(e):l,i.value}}return t?A:[i,A]}function J3g(C,g,I){let e=I!=null&&I.immediate?[]:[...C instanceof Function?C():Array.isArray(C)?C:U(C)];return s.watch(C,(t,i,A)=>{const n=Array.from({length:e.length}),l=[];for(const a of t){let d=!1;for(let m=0;m<e.length;m++)if(!n[m]&&a===e[m]){n[m]=!0,d=!0;break}d||l.push(a)}const o=e.filter((a,d)=>!n[d]);g(t,e,l,o,A),e=[...t]},I)}function L3g(C,g,I){const{count:e,...t}=I,i=s.ref(0),A=nr(C,(...n)=>{i.value+=1,i.value>=U(e)&&s.nextTick(()=>A()),g(...n)},t);return{count:i,stop:A}}function c9(C,g,I={}){const{debounce:e=0,maxWait:t=void 0,...i}=I;return nr(C,g,{...i,eventFilter:ww(e,{maxWait:t})})}function T3g(C,g,I){return s.watch(C,g,{...I,deep:!0})}function or(C,g,I={}){const{eventFilter:e=Wh,...t}=I,i=Ha(e,g);let A,n,l;if(t.flush==="sync"){const o=s.ref(!1);n=()=>{},A=a=>{o.value=!0,a(),o.value=!1},l=s.watch(C,(...a)=>{o.value||i(...a)},t)}else{const o=[],a=s.ref(0),d=s.ref(0);n=()=>{a.value=d.value},o.push(s.watch(C,()=>{d.value++},{...t,flush:"sync"})),A=m=>{const u=d.value;m(),a.value+=d.value-u},o.push(s.watch(C,(...m)=>{const u=a.value>0&&a.value===d.value;a.value=0,d.value=0,!u&&i(...m)},t)),l=()=>{o.forEach(m=>m())}}return{stop:l,ignoreUpdates:A,ignorePrevAsyncUpdates:n}}function v3g(C,g,I){return s.watch(C,g,{...I,immediate:!0})}function j3g(C,g,I){const e=s.watch(C,(...t)=>(s.nextTick(()=>e()),g(...t)),I);return e}function r9(C,g,I={}){const{throttle:e=0,trailing:t=!0,leading:i=!0,...A}=I;return nr(C,g,{...A,eventFilter:Bh(e,t,i)})}function x3g(C,g,I={}){let e;function t(){if(!e)return;const a=e;e=void 0,a()}function i(a){e=a}const A=(a,d)=>(t(),g(a,d,i)),n=or(C,A,I),{ignoreUpdates:l}=n;return{...n,trigger:()=>{let a;return l(()=>{a=A(O3g(C),Q3g(C))}),a}}}function O3g(C){return s.isReactive(C)?C:Array.isArray(C)?C.map(g=>U(g)):U(C)}function Q3g(C){return Array.isArray(C)?C.map(()=>{}):void 0}function m9(C,g,I){const e=s.watch(C,(t,i,A)=>{t&&(I!=null&&I.once&&s.nextTick(()=>e()),g(t,i,A))},{...I,once:!1});return e}function u9(C,g,I){let e;s.isRef(I)?e={evaluating:I}:e=I||{};const{lazy:t=!1,evaluating:i=void 0,shallow:A=!0,onError:n=XI}=e,l=s.ref(!t),o=A?s.shallowRef(g):s.ref(g);let a=0;return s.watchEffect(async d=>{if(!l.value)return;a++;const m=a;let u=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const h=await C(Z=>{d(()=>{i&&(i.value=!1),u||Z()})});m===a&&(o.value=h)}catch(h){n(h)}finally{i&&m===a&&(i.value=!1),u=!0}}),t?s.computed(()=>(l.value=!0,o.value)):o}function U3g(C,g,I,e){let t=s.inject(C);return I&&(t=s.inject(C,I)),e&&(t=s.inject(C,I,e)),typeof g=="function"?s.computed(i=>g(t,i)):s.computed({get:i=>g.get(t,i),set:g.set})}function E3g(C={}){const{inheritAttrs:g=!0}=C,I=s.shallowRef(),e=s.defineComponent({setup(i,{slots:A}){return()=>{I.value=A.default}}}),t=s.defineComponent({inheritAttrs:g,setup(i,{attrs:A,slots:n}){return()=>{var l;if(!I.value&&process.env.NODE_ENV!=="production")throw new Error("[VueUse] Failed to find the definition of reusable template");const o=(l=I.value)==null?void 0:l.call(I,{...P3g(A),$slots:n});return g&&(o==null?void 0:o.length)===1?o[0]:o}}});return EH({define:e,reuse:t},[e,t])}function P3g(C){const g={};for(const I in C)g[I9(I)]=C[I];return g}function _3g(C={}){let g=0;const I=s.ref([]);function e(...A){const n=s.shallowReactive({key:g++,args:A,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:C});return I.value.push(n),n.promise=new Promise((l,o)=>{n.resolve=a=>(n.isResolving=!0,l(a)),n.reject=o}).finally(()=>{n.promise=void 0;const l=I.value.indexOf(n);l!==-1&&I.value.splice(l,1)}),n.promise}function t(...A){return C.singleton&&I.value.length>0?I.value[0].promise:e(...A)}const i=s.defineComponent((A,{slots:n})=>{const l=()=>I.value.map(o=>{var a;return s.h(s.Fragment,{key:o.key},(a=n.default)==null?void 0:a.call(n,o))});return C.transition?()=>s.h(s.TransitionGroup,C.transition,l):l});return i.start=t,i}function $3g(C){return function(...g){return C.apply(this,g.map(I=>U(I)))}}function dI(C){var g;const I=U(C);return(g=I==null?void 0:I.$el)!=null?g:I}const kg=oe?window:void 0,rt=oe?window.document:void 0,Dt=oe?window.navigator:void 0,q3g=oe?window.location:void 0;function ig(...C){let g,I,e,t;if(typeof C[0]=="string"||Array.isArray(C[0])?([I,e,t]=C,g=kg):[g,I,e,t]=C,!g)return XI;Array.isArray(I)||(I=[I]),Array.isArray(e)||(e=[e]);const i=[],A=()=>{i.forEach(a=>a()),i.length=0},n=(a,d,m,u)=>(a.addEventListener(d,m,u),()=>a.removeEventListener(d,m,u)),l=s.watch(()=>[dI(g),U(t)],([a,d])=>{if(A(),!a)return;const m=wh(d)?{...d}:d;i.push(...I.flatMap(u=>e.map(h=>n(a,u,h,m))))},{immediate:!0,flush:"post"}),o=()=>{l(),A()};return mI(o),o}let h9=!1;function gFg(C,g,I={}){const{window:e=kg,ignore:t=[],capture:i=!0,detectIframe:A=!1}=I;if(!e)return XI;Gw&&!h9&&(h9=!0,Array.from(e.document.body.children).forEach(m=>m.addEventListener("click",XI)),e.document.documentElement.addEventListener("click",XI));let n=!0;const l=m=>t.some(u=>{if(typeof u=="string")return Array.from(e.document.querySelectorAll(u)).some(h=>h===m.target||m.composedPath().includes(h));{const h=dI(u);return h&&(m.target===h||m.composedPath().includes(h))}}),a=[ig(e,"click",m=>{const u=dI(C);if(!(!u||u===m.target||m.composedPath().includes(u))){if(m.detail===0&&(n=!l(m)),!n){n=!0;return}g(m)}},{passive:!0,capture:i}),ig(e,"pointerdown",m=>{const u=dI(C);n=!l(m)&&!!(u&&!m.composedPath().includes(u))},{passive:!0}),A&&ig(e,"blur",m=>{setTimeout(()=>{var u;const h=dI(C);((u=e.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!(h!=null&&h.contains(e.document.activeElement))&&g(m)},0)})].filter(Boolean);return()=>a.forEach(m=>m())}function IFg(C){return typeof C=="function"?C:typeof C=="string"?g=>g.key===C:Array.isArray(C)?g=>C.includes(g.key):()=>!0}function Bw(...C){let g,I,e={};C.length===3?(g=C[0],I=C[1],e=C[2]):C.length===2?typeof C[1]=="object"?(g=!0,I=C[0],e=C[1]):(g=C[0],I=C[1]):(g=!0,I=C[0]);const{target:t=kg,eventName:i="keydown",passive:A=!1,dedupe:n=!1}=e,l=IFg(g);return ig(t,i,a=>{a.repeat&&U(n)||l(a)&&I(a)},A)}function CFg(C,g,I={}){return Bw(C,g,{...I,eventName:"keydown"})}function eFg(C,g,I={}){return Bw(C,g,{...I,eventName:"keypress"})}function tFg(C,g,I={}){return Bw(C,g,{...I,eventName:"keyup"})}const iFg=500,AFg=10;function nFg(C,g,I){var e,t;const i=s.computed(()=>dI(C));let A,n,l,o=!1;function a(){A&&(clearTimeout(A),A=void 0),n=void 0,l=void 0,o=!1}function d(w){var B,p,y;const[Y,R,M]=[l,n,o];if(a(),!(I!=null&&I.onMouseUp)||!R||!Y||(B=I==null?void 0:I.modifiers)!=null&&B.self&&w.target!==i.value)return;(p=I==null?void 0:I.modifiers)!=null&&p.prevent&&w.preventDefault(),(y=I==null?void 0:I.modifiers)!=null&&y.stop&&w.stopPropagation();const K=w.x-R.x,J=w.y-R.y,X=Math.sqrt(K*K+J*J);I.onMouseUp(w.timeStamp-Y,X,M)}function m(w){var B,p,y,Y;(B=I==null?void 0:I.modifiers)!=null&&B.self&&w.target!==i.value||(a(),(p=I==null?void 0:I.modifiers)!=null&&p.prevent&&w.preventDefault(),(y=I==null?void 0:I.modifiers)!=null&&y.stop&&w.stopPropagation(),n={x:w.x,y:w.y},l=w.timeStamp,A=setTimeout(()=>{o=!0,g(w)},(Y=I==null?void 0:I.delay)!=null?Y:iFg))}function u(w){var B,p,y,Y;if((B=I==null?void 0:I.modifiers)!=null&&B.self&&w.target!==i.value||!n||(I==null?void 0:I.distanceThreshold)===!1)return;(p=I==null?void 0:I.modifiers)!=null&&p.prevent&&w.preventDefault(),(y=I==null?void 0:I.modifiers)!=null&&y.stop&&w.stopPropagation();const R=w.x-n.x,M=w.y-n.y;Math.sqrt(R*R+M*M)>=((Y=I==null?void 0:I.distanceThreshold)!=null?Y:AFg)&&a()}const h={capture:(e=I==null?void 0:I.modifiers)==null?void 0:e.capture,once:(t=I==null?void 0:I.modifiers)==null?void 0:t.once},Z=[ig(i,"pointerdown",m,h),ig(i,"pointermove",u,h),ig(i,["pointerup","pointerleave"],d,h)];return()=>Z.forEach(w=>w())}function lFg(){const{activeElement:C,body:g}=document;if(!C||C===g)return!1;switch(C.tagName){case"INPUT":case"TEXTAREA":return!0}return C.hasAttribute("contenteditable")}function sFg({keyCode:C,metaKey:g,ctrlKey:I,altKey:e}){return g||I||e?!1:C>=48&&C<=57||C>=65&&C<=90||C>=97&&C<=122}function oFg(C,g={}){const{document:I=rt}=g;I&&ig(I,"keydown",t=>{!lFg()&&sFg(t)&&C(t)},{passive:!0})}function aFg(C,g=null){const I=s.getCurrentInstance();let e=()=>{};const t=s.customRef((i,A)=>(e=A,{get(){var n,l;return i(),(l=(n=I==null?void 0:I.proxy)==null?void 0:n.$refs[C])!=null?l:g},set(){}}));return ae(e),s.onUpdated(e),t}function b9(){const C=s.ref(!1),g=s.getCurrentInstance();return g&&s.onMounted(()=>{C.value=!0},g),C}function ZI(C){const g=b9();return s.computed(()=>(g.value,!!C()))}function ar(C,g,I={}){const{window:e=kg,...t}=I;let i;const A=ZI(()=>e&&"MutationObserver"in e),n=()=>{i&&(i.disconnect(),i=void 0)},l=s.computed(()=>{const m=U(C),u=(Array.isArray(m)?m:[m]).map(dI).filter(bw);return new Set(u)}),o=s.watch(()=>l.value,m=>{n(),A.value&&m.size&&(i=new MutationObserver(g),m.forEach(u=>i.observe(u,t)))},{immediate:!0,flush:"post"}),a=()=>i==null?void 0:i.takeRecords(),d=()=>{o(),n()};return mI(d),{isSupported:A,stop:d,takeRecords:a}}function Z9(C={}){var g;const{window:I=kg,deep:e=!0,triggerOnRemoval:t=!1}=C,i=(g=C.document)!=null?g:I==null?void 0:I.document,A=()=>{var o;let a=i==null?void 0:i.activeElement;if(e)for(;a!=null&&a.shadowRoot;)a=(o=a==null?void 0:a.shadowRoot)==null?void 0:o.activeElement;return a},n=s.ref(),l=()=>{n.value=A()};return I&&(ig(I,"blur",o=>{o.relatedTarget===null&&l()},!0),ig(I,"focus",l,!0)),t&&ar(i,o=>{o.filter(a=>a.removedNodes.length).map(a=>Array.from(a.removedNodes)).flat().forEach(a=>{a===n.value&&l()})},{childList:!0,subtree:!0}),l(),n}function Sa(C,g={}){const{immediate:I=!0,fpsLimit:e=void 0,window:t=kg}=g,i=s.ref(!1),A=e?1e3/e:null;let n=0,l=null;function o(m){if(!i.value||!t)return;n||(n=m);const u=m-n;if(A&&u<A){l=t.requestAnimationFrame(o);return}n=m,C({delta:u,timestamp:m}),l=t.requestAnimationFrame(o)}function a(){!i.value&&t&&(i.value=!0,n=0,l=t.requestAnimationFrame(o))}function d(){i.value=!1,l!=null&&t&&(t.cancelAnimationFrame(l),l=null)}return I&&a(),mI(d),{isActive:s.readonly(i),pause:d,resume:a}}function dFg(C,g,I){let e,t;wh(I)?(e=I,t=i9(I,["window","immediate","commitStyles","persist","onReady","onError"])):(e={duration:I},t=I);const{window:i=kg,immediate:A=!0,commitStyles:n,persist:l,playbackRate:o=1,onReady:a,onError:d=Q=>{console.error(Q)}}=e,m=ZI(()=>i&&HTMLElement&&"animate"in HTMLElement.prototype),u=s.shallowRef(void 0),h=s.shallowReactive({startTime:null,currentTime:null,timeline:null,playbackRate:o,pending:!1,playState:A?"idle":"paused",replaceState:"active"}),Z=s.computed(()=>h.pending),G=s.computed(()=>h.playState),w=s.computed(()=>h.replaceState),B=s.computed({get(){return h.startTime},set(Q){h.startTime=Q,u.value&&(u.value.startTime=Q)}}),p=s.computed({get(){return h.currentTime},set(Q){h.currentTime=Q,u.value&&(u.value.currentTime=Q,q())}}),y=s.computed({get(){return h.timeline},set(Q){h.timeline=Q,u.value&&(u.value.timeline=Q)}}),Y=s.computed({get(){return h.playbackRate},set(Q){h.playbackRate=Q,u.value&&(u.value.playbackRate=Q)}}),R=()=>{if(u.value)try{u.value.play(),q()}catch(Q){gg(),d(Q)}else D()},M=()=>{var Q;try{(Q=u.value)==null||Q.pause(),gg()}catch(_){d(_)}},K=()=>{var Q;u.value||D();try{(Q=u.value)==null||Q.reverse(),q()}catch(_){gg(),d(_)}},J=()=>{var Q;try{(Q=u.value)==null||Q.finish(),gg()}catch(_){d(_)}},X=()=>{var Q;try{(Q=u.value)==null||Q.cancel(),gg()}catch(_){d(_)}};s.watch(()=>dI(C),Q=>{Q&&D()}),s.watch(()=>g,Q=>{u.value&&D(),!dI(C)&&u.value&&(u.value.effect=new KeyframeEffect(dI(C),U(Q),t))},{deep:!0}),ae(()=>D(!0),!1),mI(X);function D(Q){const _=dI(C);!m.value||!_||(u.value||(u.value=_.animate(U(g),t)),l&&u.value.persist(),o!==1&&(u.value.playbackRate=o),Q&&!A?u.value.pause():q(),a==null||a(u.value))}ig(u,["cancel","finish","remove"],gg),ig(u,"finish",()=>{var Q;n&&((Q=u.value)==null||Q.commitStyles())});const{resume:z,pause:j}=Sa(()=>{u.value&&(h.pending=u.value.pending,h.playState=u.value.playState,h.replaceState=u.value.replaceState,h.startTime=u.value.startTime,h.currentTime=u.value.currentTime,h.timeline=u.value.timeline,h.playbackRate=u.value.playbackRate)},{immediate:!1});function q(){m.value&&z()}function gg(){m.value&&i&&i.requestAnimationFrame(j)}return{isSupported:m,animate:u,play:R,pause:M,reverse:K,finish:J,cancel:X,pending:Z,playState:G,replaceState:w,startTime:B,currentTime:p,timeline:y,playbackRate:Y}}function cFg(C,g){const{interrupt:I=!0,onError:e=XI,onFinished:t=XI,signal:i}=g||{},A={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},n=Array.from(Array.from({length:C.length}),()=>({state:A.pending,data:null})),l=s.reactive(n),o=s.ref(-1);if(!C||C.length===0)return t(),{activeIndex:o,result:l};function a(d,m){o.value++,l[o.value].data=m,l[o.value].state=d}return C.reduce((d,m)=>d.then(u=>{var h;if(i!=null&&i.aborted){a(A.aborted,new Error("aborted"));return}if(((h=l[o.value])==null?void 0:h.state)===A.rejected&&I){t();return}const Z=m(u).then(G=>(a(A.fulfilled,G),o.value===C.length-1&&t(),G));return i?Promise.race([Z,rFg(i)]):Z}).catch(u=>i!=null&&i.aborted?(a(A.aborted,u),u):(a(A.rejected,u),e(),u)),Promise.resolve()),{activeIndex:o,result:l}}function rFg(C){return new Promise((g,I)=>{const e=new Error("aborted");C.aborted?I(e):C.addEventListener("abort",()=>I(e),{once:!0})})}function G9(C,g,I){const{immediate:e=!0,delay:t=0,onError:i=XI,onSuccess:A=XI,resetOnExecute:n=!0,shallow:l=!0,throwError:o}=I??{},a=l?s.shallowRef(g):s.ref(g),d=s.ref(!1),m=s.ref(!1),u=s.shallowRef(void 0);async function h(w=0,...B){n&&(a.value=g),u.value=void 0,d.value=!1,m.value=!0,w>0&&await ph(w);const p=typeof C=="function"?C(...B):C;try{const y=await p;a.value=y,d.value=!0,A(y)}catch(y){if(u.value=y,i(y),o)throw y}finally{m.value=!1}return a.value}e&&h(t);const Z={state:a,isReady:d,isLoading:m,error:u,execute:h};function G(){return new Promise((w,B)=>{Yh(m).toBe(!1).then(()=>w(Z)).catch(B)})}return{...Z,then(w,B){return G().then(w,B)}}}const Vh={array:C=>JSON.stringify(C),object:C=>JSON.stringify(C),set:C=>JSON.stringify(Array.from(C)),map:C=>JSON.stringify(Object.fromEntries(C)),null:()=>""};function mFg(C){return C?C instanceof Map?Vh.map:C instanceof Set?Vh.set:Array.isArray(C)?Vh.array:Vh.object:Vh.null}function uFg(C,g){const I=s.ref(""),e=s.ref();function t(){if(oe)return e.value=new Promise((i,A)=>{try{const n=U(C);if(n==null)i("");else if(typeof n=="string")i(MY(new Blob([n],{type:"text/plain"})));else if(n instanceof Blob)i(MY(n));else if(n instanceof ArrayBuffer)i(window.btoa(String.fromCharCode(...new Uint8Array(n))));else if(n instanceof HTMLCanvasElement)i(n.toDataURL(g==null?void 0:g.type,g==null?void 0:g.quality));else if(n instanceof HTMLImageElement){const l=n.cloneNode(!1);l.crossOrigin="Anonymous",hFg(l).then(()=>{const o=document.createElement("canvas"),a=o.getContext("2d");o.width=l.width,o.height=l.height,a.drawImage(l,0,0,o.width,o.height),i(o.toDataURL(g==null?void 0:g.type,g==null?void 0:g.quality))}).catch(A)}else if(typeof n=="object"){const o=((g==null?void 0:g.serializer)||mFg(n))(n);return i(MY(new Blob([o],{type:"application/json"})))}else A(new Error("target is unsupported types"))}catch(n){A(n)}}),e.value.then(i=>I.value=i),e.value}return s.isRef(C)||typeof C=="function"?s.watch(C,t,{immediate:!0}):t(),{base64:I,promise:e,execute:t}}function hFg(C){return new Promise((g,I)=>{C.complete?g():(C.onload=()=>{g()},C.onerror=I)})}function MY(C){return new Promise((g,I)=>{const e=new FileReader;e.onload=t=>{g(t.target.result)},e.onerror=I,e.readAsDataURL(C)})}function bFg(C={}){const{navigator:g=Dt}=C,I=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],e=ZI(()=>g&&"getBattery"in g&&typeof g.getBattery=="function"),t=s.ref(!1),i=s.ref(0),A=s.ref(0),n=s.ref(1);let l;function o(){t.value=this.charging,i.value=this.chargingTime||0,A.value=this.dischargingTime||0,n.value=this.level}return e.value&&g.getBattery().then(a=>{l=a,o.call(l),ig(l,I,o,{passive:!0})}),{isSupported:e,charging:t,chargingTime:i,dischargingTime:A,level:n}}function ZFg(C){let{acceptAllDevices:g=!1}=C||{};const{filters:I=void 0,optionalServices:e=void 0,navigator:t=Dt}=C||{},i=ZI(()=>t&&"bluetooth"in t),A=s.shallowRef(void 0),n=s.shallowRef(null);s.watch(A,()=>{d()});async function l(){if(i.value){n.value=null,I&&I.length>0&&(g=!1);try{A.value=await(t==null?void 0:t.bluetooth.requestDevice({acceptAllDevices:g,filters:I,optionalServices:e}))}catch(m){n.value=m}}}const o=s.ref(),a=s.computed(()=>{var m;return((m=o.value)==null?void 0:m.connected)||!1});async function d(){if(n.value=null,A.value&&A.value.gatt){A.value.addEventListener("gattserverdisconnected",()=>{});try{o.value=await A.value.gatt.connect()}catch(m){n.value=m}}}return ae(()=>{var m;A.value&&((m=A.value.gatt)==null||m.connect())}),mI(()=>{var m;A.value&&((m=A.value.gatt)==null||m.disconnect())}),{isSupported:i,isConnected:a,device:A,requestDevice:l,server:o,error:n}}function St(C,g={}){const{window:I=kg}=g,e=ZI(()=>I&&"matchMedia"in I&&typeof I.matchMedia=="function");let t;const i=s.ref(!1),A=o=>{i.value=o.matches},n=()=>{t&&("removeEventListener"in t?t.removeEventListener("change",A):t.removeListener(A))},l=s.watchEffect(()=>{e.value&&(n(),t=I.matchMedia(U(C)),"addEventListener"in t?t.addEventListener("change",A):t.addListener(A),i.value=t.matches)});return mI(()=>{l(),n(),t=void 0}),i}const GFg={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},wFg={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},w9={xs:0,sm:600,md:960,lg:1264,xl:1904},WFg={xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560},BFg=w9,pFg={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},yFg={xs:0,sm:600,md:1024,lg:1440,xl:1920},YFg={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},VFg={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},NFg={sm:576,md:768,lg:992,xl:1200};function MFg(C,g={}){function I(a,d){let m=U(C[U(a)]);return d!=null&&(m=e9(m,d)),typeof m=="number"&&(m=`${m}px`),m}const{window:e=kg,strategy:t="min-width"}=g;function i(a){return e?e.matchMedia(a).matches:!1}const A=a=>St(()=>`(min-width: ${I(a)})`,g),n=a=>St(()=>`(max-width: ${I(a)})`,g),l=Object.keys(C).reduce((a,d)=>(Object.defineProperty(a,d,{get:()=>t==="min-width"?A(d):n(d),enumerable:!0,configurable:!0}),a),{});function o(){const a=Object.keys(C).map(d=>[d,A(d)]);return s.computed(()=>a.filter(([,d])=>d.value).map(([d])=>d))}return Object.assign(l,{greaterOrEqual:A,smallerOrEqual:n,greater(a){return St(()=>`(min-width: ${I(a,.1)})`,g)},smaller(a){return St(()=>`(max-width: ${I(a,-.1)})`,g)},between(a,d){return St(()=>`(min-width: ${I(a)}) and (max-width: ${I(d,-.1)})`,g)},isGreater(a){return i(`(min-width: ${I(a,.1)})`)},isGreaterOrEqual(a){return i(`(min-width: ${I(a)})`)},isSmaller(a){return i(`(max-width: ${I(a,-.1)})`)},isSmallerOrEqual(a){return i(`(max-width: ${I(a)})`)},isInBetween(a,d){return i(`(min-width: ${I(a)}) and (max-width: ${I(d,-.1)})`)},current:o,active(){const a=o();return s.computed(()=>a.value.length===0?"":a.value.at(-1))}})}function RFg(C){const{name:g,window:I=kg}=C,e=ZI(()=>I&&"BroadcastChannel"in I),t=s.ref(!1),i=s.ref(),A=s.ref(),n=s.shallowRef(null),l=a=>{i.value&&i.value.postMessage(a)},o=()=>{i.value&&i.value.close(),t.value=!0};return e.value&&ae(()=>{n.value=null,i.value=new BroadcastChannel(g),i.value.addEventListener("message",a=>{A.value=a.data},{passive:!0}),i.value.addEventListener("messageerror",a=>{n.value=a},{passive:!0}),i.value.addEventListener("close",()=>{t.value=!0})}),mI(()=>{o()}),{isSupported:e,channel:i,data:A,post:l,close:o,error:n,isClosed:t}}const W9=["hash","host","hostname","href","pathname","port","protocol","search"];function fFg(C={}){const{window:g=kg}=C,I=Object.fromEntries(W9.map(i=>[i,s.ref()]));for(const[i,A]of A9(I))s.watch(A,n=>{!(g!=null&&g.location)||g.location[i]===n||(g.location[i]=n)});const e=i=>{var A;const{state:n,length:l}=(g==null?void 0:g.history)||{},{origin:o}=(g==null?void 0:g.location)||{};for(const a of W9)I[a].value=(A=g==null?void 0:g.location)==null?void 0:A[a];return s.reactive({trigger:i,state:n,length:l,origin:o,...I})},t=s.ref(e("load"));return g&&(ig(g,"popstate",()=>t.value=e("popstate"),{passive:!0}),ig(g,"hashchange",()=>t.value=e("hashchange"),{passive:!0})),t}function XFg(C,g=(e,t)=>e===t,I){const e=s.ref(C.value);return s.watch(()=>C.value,t=>{g(t,e.value)||(e.value=t)},I),e}function pw(C,g={}){const{controls:I=!1,navigator:e=Dt}=g,t=ZI(()=>e&&"permissions"in e),i=s.shallowRef(),A=typeof C=="string"?{name:C}:C,n=s.shallowRef(),l=()=>{var a,d;n.value=(d=(a=i.value)==null?void 0:a.state)!=null?d:"prompt"};ig(i,"change",l);const o=C9(async()=>{if(t.value){if(!i.value)try{i.value=await e.permissions.query(A)}catch{i.value=void 0}finally{l()}if(I)return s.toRaw(i.value)}});return o(),I?{state:n,isSupported:t,query:o}:n}function HFg(C={}){const{navigator:g=Dt,read:I=!1,source:e,copiedDuring:t=1500,legacy:i=!1}=C,A=ZI(()=>g&&"clipboard"in g),n=pw("clipboard-read"),l=pw("clipboard-write"),o=s.computed(()=>A.value||i),a=s.ref(""),d=s.ref(!1),m=sr(()=>d.value=!1,t);function u(){A.value&&w(n.value)?g.clipboard.readText().then(B=>{a.value=B}):a.value=G()}o.value&&I&&ig(["copy","cut"],u);async function h(B=U(e)){o.value&&B!=null&&(A.value&&w(l.value)?await g.clipboard.writeText(B):Z(B),a.value=B,d.value=!0,m.start())}function Z(B){const p=document.createElement("textarea");p.value=B??"",p.style.position="absolute",p.style.opacity="0",document.body.appendChild(p),p.select(),document.execCommand("copy"),p.remove()}function G(){var B,p,y;return(y=(p=(B=document==null?void 0:document.getSelection)==null?void 0:B.call(document))==null?void 0:p.toString())!=null?y:""}function w(B){return B==="granted"||B==="prompt"}return{isSupported:o,text:a,copied:d,copy:h}}function DFg(C={}){const{navigator:g=Dt,read:I=!1,source:e,copiedDuring:t=1500}=C,i=ZI(()=>g&&"clipboard"in g),A=s.ref([]),n=s.ref(!1),l=sr(()=>n.value=!1,t);function o(){i.value&&g.clipboard.read().then(d=>{A.value=d})}i.value&&I&&ig(["copy","cut"],o);async function a(d=U(e)){i.value&&d!=null&&(await g.clipboard.write(d),A.value=d,n.value=!0,l.start())}return{isSupported:i,content:A,copied:n,copy:a}}function Nh(C){return JSON.parse(JSON.stringify(C))}function SFg(C,g={}){const I=s.ref({}),{manual:e,clone:t=Nh,deep:i=!0,immediate:A=!0}=g;function n(){I.value=t(U(C))}return!e&&(s.isRef(C)||typeof C=="function")?s.watch(C,n,{...g,deep:i,immediate:A}):n(),{cloned:I,sync:n}}const yw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yw="__vueuse_ssr_handlers__",B9=KFg();function KFg(){return Yw in yw||(yw[Yw]=yw[Yw]||{}),yw[Yw]}function Vw(C,g){return B9[C]||g}function kFg(C,g){B9[C]=g}function p9(C){return C==null?"any":C instanceof Set?"set":C instanceof Map?"map":C instanceof Date?"date":typeof C=="boolean"?"boolean":typeof C=="string"?"string":typeof C=="object"?"object":Number.isNaN(C)?"any":"number"}const RY={boolean:{read:C=>C==="true",write:C=>String(C)},object:{read:C=>JSON.parse(C),write:C=>JSON.stringify(C)},number:{read:C=>Number.parseFloat(C),write:C=>String(C)},any:{read:C=>C,write:C=>String(C)},string:{read:C=>C,write:C=>String(C)},map:{read:C=>new Map(JSON.parse(C)),write:C=>JSON.stringify(Array.from(C.entries()))},set:{read:C=>new Set(JSON.parse(C)),write:C=>JSON.stringify(Array.from(C))},date:{read:C=>new Date(C),write:C=>C.toISOString()}},fY="vueuse-storage";function Nw(C,g,I,e={}){var t;const{flush:i="pre",deep:A=!0,listenToStorageChanges:n=!0,writeDefaults:l=!0,mergeDefaults:o=!1,shallow:a,window:d=kg,eventFilter:m,onError:u=X=>{console.error(X)},initOnMounted:h}=e,Z=(a?s.shallowRef:s.ref)(typeof g=="function"?g():g);if(!I)try{I=Vw("getDefaultStorage",()=>{var X;return(X=kg)==null?void 0:X.localStorage})()}catch(X){u(X)}if(!I)return Z;const G=U(g),w=p9(G),B=(t=e.serializer)!=null?t:RY[w],{pause:p,resume:y}=lr(Z,()=>R(Z.value),{flush:i,deep:A,eventFilter:m});d&&n&&ae(()=>{I instanceof Storage?ig(d,"storage",K):ig(d,fY,J),h&&K()}),h||K();function Y(X,D){if(d){const z={key:C,oldValue:X,newValue:D,storageArea:I};d.dispatchEvent(I instanceof Storage?new StorageEvent("storage",z):new CustomEvent(fY,{detail:z}))}}function R(X){try{const D=I.getItem(C);if(X==null)Y(D,null),I.removeItem(C);else{const z=B.write(X);D!==z&&(I.setItem(C,z),Y(D,z))}}catch(D){u(D)}}function M(X){const D=X?X.newValue:I.getItem(C);if(D==null)return l&&G!=null&&I.setItem(C,B.write(G)),G;if(!X&&o){const z=B.read(D);return typeof o=="function"?o(z,G):w==="object"&&!Array.isArray(z)?{...G,...z}:z}else return typeof D!="string"?D:B.read(D)}function K(X){if(!(X&&X.storageArea!==I)){if(X&&X.key==null){Z.value=G;return}if(!(X&&X.key!==C)){p();try{(X==null?void 0:X.newValue)!==B.write(Z.value)&&(Z.value=M(X))}catch(D){u(D)}finally{X?s.nextTick(y):y()}}}}function J(X){K(X.detail)}return Z}function XY(C){return St("(prefers-color-scheme: dark)",C)}const FFg="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function y9(C={}){const{selector:g="html",attribute:I="class",initialValue:e="auto",window:t=kg,storage:i,storageKey:A="vueuse-color-scheme",listenToStorageChanges:n=!0,storageRef:l,emitAuto:o,disableTransition:a=!0}=C,d={auto:"",light:"light",dark:"dark",...C.modes||{}},m=XY({window:t}),u=s.computed(()=>m.value?"dark":"light"),h=l||(A==null?LC(e):Nw(A,e,i,{window:t,listenToStorageChanges:n})),Z=s.computed(()=>h.value==="auto"?u.value:h.value),G=Vw("updateHTMLAttrs",(y,Y,R)=>{const M=typeof y=="string"?t==null?void 0:t.document.querySelector(y):dI(y);if(!M)return;const K=new Set,J=new Set;let X=null;if(Y==="class"){const z=R.split(/\s/g);Object.values(d).flatMap(j=>(j||"").split(/\s/g)).filter(Boolean).forEach(j=>{z.includes(j)?K.add(j):J.add(j)})}else X={key:Y,value:R};if(K.size===0&&J.size===0&&X===null)return;let D;a&&(D=t.document.createElement("style"),D.appendChild(document.createTextNode(FFg)),t.document.head.appendChild(D));for(const z of K)M.classList.add(z);for(const z of J)M.classList.remove(z);X&&M.setAttribute(X.key,X.value),a&&(t.getComputedStyle(D).opacity,document.head.removeChild(D))});function w(y){var Y;G(g,I,(Y=d[y])!=null?Y:y)}function B(y){C.onChanged?C.onChanged(y,w):w(y)}s.watch(Z,B,{flush:"post",immediate:!0}),ae(()=>B(Z.value));const p=s.computed({get(){return o?h.value:Z.value},set(y){h.value=y}});try{return Object.assign(p,{store:h,system:u,state:Z})}catch{return p}}function zFg(C=s.ref(!1)){const g=ct(),I=ct(),e=ct();let t=XI;const i=l=>(e.trigger(l),C.value=!0,new Promise(o=>{t=o})),A=l=>{C.value=!1,g.trigger(l),t({data:l,isCanceled:!1})},n=l=>{C.value=!1,I.trigger(l),t({data:l,isCanceled:!0})};return{isRevealed:s.computed(()=>C.value),reveal:i,confirm:A,cancel:n,onReveal:e.on,onConfirm:g.on,onCancel:I.on}}function Mh(C,g,I={}){const{window:e=kg,initialValue:t,observe:i=!1}=I,A=s.ref(t),n=s.computed(()=>{var o;return dI(g)||((o=e==null?void 0:e.document)==null?void 0:o.documentElement)});function l(){var o;const a=U(C),d=U(n);if(d&&e&&a){const m=(o=e.getComputedStyle(d).getPropertyValue(a))==null?void 0:o.trim();A.value=m||t}}return i&&ar(n,l,{attributeFilter:["style","class"],window:e}),s.watch([n,()=>U(C)],(o,a)=>{a[0]&&a[1]&&a[0].style.removeProperty(a[1]),l()},{immediate:!0}),s.watch(A,o=>{var a;const d=U(C);(a=n.value)!=null&&a.style&&d&&(o==null?n.value.style.removeProperty(d):n.value.style.setProperty(d,o))}),A}function Y9(C){const g=s.getCurrentInstance(),I=hY(()=>null,()=>C?dI(C):g.proxy.$el);return s.onUpdated(I.trigger),s.onMounted(I.trigger),I}function JFg(C,g){const I=s.shallowRef(o()),e=LC(C),t=s.computed({get(){var a;const d=e.value;let m=g!=null&&g.getIndexOf?g.getIndexOf(I.value,d):d.indexOf(I.value);return m<0&&(m=(a=g==null?void 0:g.fallbackIndex)!=null?a:0),m},set(a){i(a)}});function i(a){const d=e.value,m=d.length,u=(a%m+m)%m,h=d[u];return I.value=h,h}function A(a=1){return i(t.value+a)}function n(a=1){return A(a)}function l(a=1){return A(-a)}function o(){var a,d;return(d=U((a=g==null?void 0:g.initialValue)!=null?a:U(C)[0]))!=null?d:void 0}return s.watch(e,()=>i(t.value)),{state:I,index:t,next:n,prev:l,go:i}}function LFg(C={}){const{valueDark:g="dark",valueLight:I="",window:e=kg}=C,t=y9({...C,onChanged:(n,l)=>{var o;C.onChanged?(o=C.onChanged)==null||o.call(C,n==="dark",l,n):l(n)},modes:{dark:g,light:I}}),i=s.computed(()=>t.system?t.system.value:XY({window:e}).value?"dark":"light");return s.computed({get(){return t.value==="dark"},set(n){const l=n?"dark":"light";i.value===l?t.value="auto":t.value=l}})}function V9(C){return C}function TFg(C,g){return C.value=g}function vFg(C){return C?typeof C=="function"?C:Nh:V9}function jFg(C){return C?typeof C=="function"?C:Nh:V9}function N9(C,g={}){const{clone:I=!1,dump:e=vFg(I),parse:t=jFg(I),setSource:i=TFg}=g;function A(){return s.markRaw({snapshot:e(C.value),timestamp:Xa()})}const n=s.ref(A()),l=s.ref([]),o=s.ref([]),a=p=>{i(C,t(p.snapshot)),n.value=p},d=()=>{l.value.unshift(n.value),n.value=A(),g.capacity&&l.value.length>g.capacity&&l.value.splice(g.capacity,Number.POSITIVE_INFINITY),o.value.length&&o.value.splice(0,o.value.length)},m=()=>{l.value.splice(0,l.value.length),o.value.splice(0,o.value.length)},u=()=>{const p=l.value.shift();p&&(o.value.unshift(n.value),a(p))},h=()=>{const p=o.value.shift();p&&(l.value.unshift(n.value),a(p))},Z=()=>{a(n.value)},G=s.computed(()=>[n.value,...l.value]),w=s.computed(()=>l.value.length>0),B=s.computed(()=>o.value.length>0);return{source:C,undoStack:l,redoStack:o,last:n,history:G,canUndo:w,canRedo:B,clear:m,commit:d,reset:Z,undo:u,redo:h}}function HY(C,g={}){const{deep:I=!1,flush:e="pre",eventFilter:t}=g,{eventFilter:i,pause:A,resume:n,isActive:l}=GY(t),{ignoreUpdates:o,ignorePrevAsyncUpdates:a,stop:d}=or(C,G,{deep:I,flush:e,eventFilter:i});function m(y,Y){a(),o(()=>{y.value=Y})}const u=N9(C,{...g,clone:g.clone||I,setSource:m}),{clear:h,commit:Z}=u;function G(){a(),Z()}function w(y){n(),y&&G()}function B(y){let Y=!1;const R=()=>Y=!0;o(()=>{y(R)}),Y||G()}function p(){d(),h()}return{...u,isTracking:l,pause:A,resume:w,commit:G,batch:B,dispose:p}}function xFg(C,g={}){const I=g.debounce?ww(g.debounce):void 0;return{...HY(C,{...g,eventFilter:I})}}function OFg(C={}){const{window:g=kg,eventFilter:I=Wh}=C,e=s.ref({x:null,y:null,z:null}),t=s.ref({alpha:null,beta:null,gamma:null}),i=s.ref(0),A=s.ref({x:null,y:null,z:null});if(g){const n=Ha(I,l=>{e.value=l.acceleration,A.value=l.accelerationIncludingGravity,t.value=l.rotationRate,i.value=l.interval});ig(g,"devicemotion",n)}return{acceleration:e,accelerationIncludingGravity:A,rotationRate:t,interval:i}}function M9(C={}){const{window:g=kg}=C,I=ZI(()=>g&&"DeviceOrientationEvent"in g),e=s.ref(!1),t=s.ref(null),i=s.ref(null),A=s.ref(null);return g&&I.value&&ig(g,"deviceorientation",n=>{e.value=n.absolute,t.value=n.alpha,i.value=n.beta,A.value=n.gamma}),{isSupported:I,isAbsolute:e,alpha:t,beta:i,gamma:A}}function QFg(C={}){const{window:g=kg}=C,I=s.ref(1);if(g){let e=function(){I.value=g.devicePixelRatio,t(),i=g.matchMedia(`(resolution: ${I.value}dppx)`),i.addEventListener("change",e,{once:!0})},t=function(){i==null||i.removeEventListener("change",e)},i;e(),mI(t)}return{pixelRatio:I}}function UFg(C={}){const{navigator:g=Dt,requestPermissions:I=!1,constraints:e={audio:!0,video:!0},onUpdated:t}=C,i=s.ref([]),A=s.computed(()=>i.value.filter(h=>h.kind==="videoinput")),n=s.computed(()=>i.value.filter(h=>h.kind==="audioinput")),l=s.computed(()=>i.value.filter(h=>h.kind==="audiooutput")),o=ZI(()=>g&&g.mediaDevices&&g.mediaDevices.enumerateDevices),a=s.ref(!1);let d;async function m(){o.value&&(i.value=await g.mediaDevices.enumerateDevices(),t==null||t(i.value),d&&(d.getTracks().forEach(h=>h.stop()),d=null))}async function u(){if(!o.value)return!1;if(a.value)return!0;const{state:h,query:Z}=pw("camera",{controls:!0});return await Z(),h.value!=="granted"&&(d=await g.mediaDevices.getUserMedia(e),m()),a.value=!0,a.value}return o.value&&(I&&u(),ig(g.mediaDevices,"devicechange",m),m()),{devices:i,ensurePermissions:u,permissionGranted:a,videoInputs:A,audioInputs:n,audioOutputs:l,isSupported:o}}function EFg(C={}){var g;const I=s.ref((g=C.enabled)!=null?g:!1),e=C.video,t=C.audio,{navigator:i=Dt}=C,A=ZI(()=>{var u;return(u=i==null?void 0:i.mediaDevices)==null?void 0:u.getDisplayMedia}),n={audio:t,video:e},l=s.shallowRef();async function o(){var u;if(!(!A.value||l.value))return l.value=await i.mediaDevices.getDisplayMedia(n),(u=l.value)==null||u.getTracks().forEach(h=>h.addEventListener("ended",d)),l.value}async function a(){var u;(u=l.value)==null||u.getTracks().forEach(h=>h.stop()),l.value=void 0}function d(){a(),I.value=!1}async function m(){return await o(),l.value&&(I.value=!0),l.value}return s.watch(I,u=>{u?o():a()},{immediate:!0}),{isSupported:A,stream:l,start:m,stop:d,enabled:I}}function R9(C={}){const{document:g=rt}=C;if(!g)return s.ref("visible");const I=s.ref(g.visibilityState);return ig(g,"visibilitychange",()=>{I.value=g.visibilityState}),I}function PFg(C,g={}){var I,e;const{pointerTypes:t,preventDefault:i,stopPropagation:A,exact:n,onMove:l,onEnd:o,onStart:a,initialValue:d,axis:m="both",draggingElement:u=kg,containerElement:h,handle:Z=C,buttons:G=[0]}=g,w=s.ref((I=U(d))!=null?I:{x:0,y:0}),B=s.ref(),p=K=>t?t.includes(K.pointerType):!0,y=K=>{U(i)&&K.preventDefault(),U(A)&&K.stopPropagation()},Y=K=>{var J;if(!U(G).includes(K.button)||U(g.disabled)||!p(K)||U(n)&&K.target!==U(C))return;const X=U(h),D=(J=X==null?void 0:X.getBoundingClientRect)==null?void 0:J.call(X),z=U(C).getBoundingClientRect(),j={x:K.clientX-(X?z.left-D.left+X.scrollLeft:z.left),y:K.clientY-(X?z.top-D.top+X.scrollTop:z.top)};(a==null?void 0:a(j,K))!==!1&&(B.value=j,y(K))},R=K=>{if(U(g.disabled)||!p(K)||!B.value)return;const J=U(h),X=U(C).getBoundingClientRect();let{x:D,y:z}=w.value;(m==="x"||m==="both")&&(D=K.clientX-B.value.x,J&&(D=Math.min(Math.max(0,D),J.scrollWidth-X.width))),(m==="y"||m==="both")&&(z=K.clientY-B.value.y,J&&(z=Math.min(Math.max(0,z),J.scrollHeight-X.height))),w.value={x:D,y:z},l==null||l(w.value,K),y(K)},M=K=>{U(g.disabled)||!p(K)||B.value&&(B.value=void 0,o==null||o(w.value,K),y(K))};if(oe){const K={capture:(e=g.capture)!=null?e:!0};ig(Z,"pointerdown",Y,K),ig(u,"pointermove",R,K),ig(u,"pointerup",M,K)}return{...VY(w),position:w,isDragging:s.computed(()=>!!B.value),style:s.computed(()=>`left:${w.value.x}px;top:${w.value.y}px;`)}}function _Fg(C,g={}){const I=s.ref(!1),e=s.shallowRef(null);let t=0,i=!0;if(oe){const A=typeof g=="function"?{onDrop:g}:g,n=l=>{var o,a;const d=Array.from((a=(o=l.dataTransfer)==null?void 0:o.files)!=null?a:[]);return e.value=d.length===0?null:d};ig(C,"dragenter",l=>{var o,a;const d=Array.from(((o=l==null?void 0:l.dataTransfer)==null?void 0:o.items)||[]).map(u=>u.kind==="file"?u.type:null).filter(bw);if(A.dataTypes&&l.dataTransfer){const u=s.unref(A.dataTypes);if(i=typeof u=="function"?u(d):u?u.some(h=>d.includes(h)):!0,!i)return}l.preventDefault(),t+=1,I.value=!0;const m=n(l);(a=A.onEnter)==null||a.call(A,m,l)}),ig(C,"dragover",l=>{var o;if(!i)return;l.preventDefault();const a=n(l);(o=A.onOver)==null||o.call(A,a,l)}),ig(C,"dragleave",l=>{var o;if(!i)return;l.preventDefault(),t-=1,t===0&&(I.value=!1);const a=n(l);(o=A.onLeave)==null||o.call(A,a,l)}),ig(C,"drop",l=>{var o;l.preventDefault(),t=0,I.value=!1;const a=n(l);(o=A.onDrop)==null||o.call(A,a,l)})}return{files:e,isOverDropZone:I}}function Mw(C,g,I={}){const{window:e=kg,...t}=I;let i;const A=ZI(()=>e&&"ResizeObserver"in e),n=()=>{i&&(i.disconnect(),i=void 0)},l=s.computed(()=>{const d=U(C);return Array.isArray(d)?d.map(m=>dI(m)):[dI(d)]}),o=s.watch(l,d=>{if(n(),A.value&&e){i=new ResizeObserver(g);for(const m of d)m&&i.observe(m,t)}},{immediate:!0,flush:"post"}),a=()=>{n(),o()};return mI(a),{isSupported:A,stop:a}}function $Fg(C,g={}){const{reset:I=!0,windowResize:e=!0,windowScroll:t=!0,immediate:i=!0,updateTiming:A="sync"}=g,n=s.ref(0),l=s.ref(0),o=s.ref(0),a=s.ref(0),d=s.ref(0),m=s.ref(0),u=s.ref(0),h=s.ref(0);function Z(){const w=dI(C);if(!w){I&&(n.value=0,l.value=0,o.value=0,a.value=0,d.value=0,m.value=0,u.value=0,h.value=0);return}const B=w.getBoundingClientRect();n.value=B.height,l.value=B.bottom,o.value=B.left,a.value=B.right,d.value=B.top,m.value=B.width,u.value=B.x,h.value=B.y}function G(){A==="sync"?Z():A==="next-frame"&&requestAnimationFrame(()=>Z())}return Mw(C,G),s.watch(()=>dI(C),w=>!w&&G()),ar(C,G,{attributeFilter:["style","class"]}),t&&ig("scroll",G,{capture:!0,passive:!0}),e&&ig("resize",G,{passive:!0}),ae(()=>{i&&G()}),{height:n,bottom:l,left:o,right:a,top:d,width:m,x:u,y:h,update:G}}function qFg(C){const{x:g,y:I,document:e=rt,multiple:t,interval:i="requestAnimationFrame",immediate:A=!0}=C,n=ZI(()=>U(t)?e&&"elementsFromPoint"in e:e&&"elementFromPoint"in e),l=s.ref(null),o=()=>{var d,m;l.value=U(t)?(d=e==null?void 0:e.elementsFromPoint(U(g),U(I)))!=null?d:[]:(m=e==null?void 0:e.elementFromPoint(U(g),U(I)))!=null?m:null},a=i==="requestAnimationFrame"?Sa(o,{immediate:A}):ks(o,i,{immediate:A});return{isSupported:n,element:l,...a}}function gzg(C,g={}){const{delayEnter:I=0,delayLeave:e=0,window:t=kg}=g,i=s.ref(!1);let A;const n=l=>{const o=l?I:e;A&&(clearTimeout(A),A=void 0),o?A=setTimeout(()=>i.value=l,o):i.value=l};return t&&(ig(C,"mouseenter",()=>n(!0),{passive:!0}),ig(C,"mouseleave",()=>n(!1),{passive:!0})),i}function f9(C,g={width:0,height:0},I={}){const{window:e=kg,box:t="content-box"}=I,i=s.computed(()=>{var d,m;return(m=(d=dI(C))==null?void 0:d.namespaceURI)==null?void 0:m.includes("svg")}),A=s.ref(g.width),n=s.ref(g.height),{stop:l}=Mw(C,([d])=>{const m=t==="border-box"?d.borderBoxSize:t==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(e&&i.value){const u=dI(C);if(u){const h=u.getBoundingClientRect();A.value=h.width,n.value=h.height}}else if(m){const u=Array.isArray(m)?m:[m];A.value=u.reduce((h,{inlineSize:Z})=>h+Z,0),n.value=u.reduce((h,{blockSize:Z})=>h+Z,0)}else A.value=d.contentRect.width,n.value=d.contentRect.height},I);ae(()=>{const d=dI(C);d&&(A.value="offsetWidth"in d?d.offsetWidth:g.width,n.value="offsetHeight"in d?d.offsetHeight:g.height)});const o=s.watch(()=>dI(C),d=>{A.value=d?g.width:0,n.value=d?g.height:0});function a(){l(),o()}return{width:A,height:n,stop:a}}function X9(C,g,I={}){const{root:e,rootMargin:t="0px",threshold:i=0,window:A=kg,immediate:n=!0}=I,l=ZI(()=>A&&"IntersectionObserver"in A),o=s.computed(()=>{const h=U(C);return(Array.isArray(h)?h:[h]).map(dI).filter(bw)});let a=XI;const d=s.ref(n),m=l.value?s.watch(()=>[o.value,dI(e),d.value],([h,Z])=>{if(a(),!d.value||!h.length)return;const G=new IntersectionObserver(g,{root:dI(Z),rootMargin:t,threshold:i});h.forEach(w=>w&&G.observe(w)),a=()=>{G.disconnect(),a=XI}},{immediate:n,flush:"post"}):XI,u=()=>{a(),m(),d.value=!1};return mI(u),{isSupported:l,isActive:d,pause(){a(),d.value=!1},resume(){d.value=!0},stop:u}}function H9(C,g={}){const{window:I=kg,scrollTarget:e,threshold:t=0}=g,i=s.ref(!1);return X9(C,A=>{let n=i.value,l=0;for(const o of A)o.time>=l&&(l=o.time,n=o.isIntersecting);i.value=n},{root:e,window:I,threshold:t}),i}const Rh=new Map;function Izg(C){const g=s.getCurrentScope();function I(n){var l;const o=Rh.get(C)||new Set;o.add(n),Rh.set(C,o);const a=()=>t(n);return(l=g==null?void 0:g.cleanups)==null||l.push(a),a}function e(n){function l(...o){t(l),n(...o)}return I(l)}function t(n){const l=Rh.get(C);l&&(l.delete(n),l.size||i())}function i(){Rh.delete(C)}function A(n,l){var o;(o=Rh.get(C))==null||o.forEach(a=>a(n,l))}return{on:I,once:e,off:t,emit:A,reset:i}}function Czg(C){return C===!0?{}:C}function ezg(C,g=[],I={}){const e=s.ref(null),t=s.ref(null),i=s.ref("CONNECTING"),A=s.ref(null),n=s.shallowRef(null),l=LC(C),o=s.shallowRef(null);let a=!1,d=0;const{withCredentials:m=!1,immediate:u=!0}=I,h=()=>{oe&&A.value&&(A.value.close(),A.value=null,i.value="CLOSED",a=!0)},Z=()=>{if(a||typeof l.value>"u")return;const w=new EventSource(l.value,{withCredentials:m});i.value="CONNECTING",A.value=w,w.onopen=()=>{i.value="OPEN",n.value=null},w.onerror=B=>{if(i.value="CLOSED",n.value=B,w.readyState===2&&!a&&I.autoReconnect){w.close();const{retries:p=-1,delay:y=1e3,onFailed:Y}=Czg(I.autoReconnect);d+=1,typeof p=="number"&&(p<0||d<p)||typeof p=="function"&&p()?setTimeout(Z,y):Y==null||Y()}},w.onmessage=B=>{e.value=null,t.value=B.data,o.value=B.lastEventId};for(const B of g)ig(w,B,p=>{e.value=B,t.value=p.data||null})},G=()=>{oe&&(h(),a=!1,d=0,Z())};return u&&s.watch(l,G,{immediate:!0}),mI(h),{eventSource:A,event:e,data:t,status:i,error:n,open:G,close:h,lastEventId:o}}function tzg(C={}){const{initialValue:g=""}=C,I=ZI(()=>typeof window<"u"&&"EyeDropper"in window),e=s.ref(g);async function t(i){if(!I.value)return;const n=await new window.EyeDropper().open(i);return e.value=n.sRGBHex,n}return{isSupported:I,sRGBHex:e,open:t}}function izg(C=null,g={}){const{baseUrl:I="",rel:e="icon",document:t=rt}=g,i=LC(C),A=n=>{const l=t==null?void 0:t.head.querySelectorAll(`link[rel*="${e}"]`);if(!l||l.length===0){const o=t==null?void 0:t.createElement("link");o&&(o.rel=e,o.href=`${I}${n}`,o.type=`image/${n.split(".").pop()}`,t==null||t.head.append(o));return}l==null||l.forEach(o=>o.href=`${I}${n}`)};return s.watch(i,(n,l)=>{typeof n=="string"&&n!==l&&A(n)},{immediate:!0}),i}const Azg={json:"application/json",text:"text/plain"};function Rw(C){return C&&WY(C,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}const nzg=/^(?:[a-z][a-z\d+\-.]*:)?\/\//i;function lzg(C){return nzg.test(C)}function fh(C){return typeof Headers<"u"&&C instanceof Headers?Object.fromEntries(C.entries()):C}function dr(C,...g){return C==="overwrite"?async I=>{const e=g[g.length-1];return e?{...I,...await e(I)}:I}:async I=>{for(const e of g)e&&(I={...I,...await e(I)});return I}}function szg(C={}){const g=C.combination||"chain",I=C.options||{},e=C.fetchOptions||{};function t(i,...A){const n=s.computed(()=>{const a=U(C.baseUrl),d=U(i);return a&&!lzg(d)?ozg(a,d):d});let l=I,o=e;return A.length>0&&(Rw(A[0])?l={...l,...A[0],beforeFetch:dr(g,I.beforeFetch,A[0].beforeFetch),afterFetch:dr(g,I.afterFetch,A[0].afterFetch),onFetchError:dr(g,I.onFetchError,A[0].onFetchError)}:o={...o,...A[0],headers:{...fh(o.headers)||{},...fh(A[0].headers)||{}}}),A.length>1&&Rw(A[1])&&(l={...l,...A[1],beforeFetch:dr(g,I.beforeFetch,A[1].beforeFetch),afterFetch:dr(g,I.afterFetch,A[1].afterFetch),onFetchError:dr(g,I.onFetchError,A[1].onFetchError)}),D9(n,o,l)}return t}function D9(C,...g){var I;const e=typeof AbortController=="function";let t={},i={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const A={method:"GET",type:"text",payload:void 0};g.length>0&&(Rw(g[0])?i={...i,...g[0]}:t=g[0]),g.length>1&&Rw(g[1])&&(i={...i,...g[1]});const{fetch:n=(I=kg)==null?void 0:I.fetch,initialData:l,timeout:o}=i,a=ct(),d=ct(),m=ct(),u=s.ref(!1),h=s.ref(!1),Z=s.ref(!1),G=s.ref(null),w=s.shallowRef(null),B=s.shallowRef(null),p=s.shallowRef(l||null),y=s.computed(()=>e&&h.value);let Y,R;const M=()=>{e&&(Y==null||Y.abort(),Y=new AbortController,Y.signal.onabort=()=>Z.value=!0,t={...t,signal:Y.signal})},K=Q=>{h.value=Q,u.value=!Q};o&&(R=sr(M,o,{immediate:!1}));let J=0;const X=async(Q=!1)=>{var _,og;M(),K(!0),B.value=null,G.value=null,Z.value=!1,J+=1;const eg=J,mg={method:A.method,headers:{}};if(A.payload){const pg=fh(mg.headers),bg=U(A.payload);!A.payloadType&&bg&&Object.getPrototypeOf(bg)===Object.prototype&&!(bg instanceof FormData)&&(A.payloadType="json"),A.payloadType&&(pg["Content-Type"]=(_=Azg[A.payloadType])!=null?_:A.payloadType),mg.body=A.payloadType==="json"?JSON.stringify(bg):bg}let Yg=!1;const Zg={url:U(C),options:{...mg,...t},cancel:()=>{Yg=!0}};if(i.beforeFetch&&Object.assign(Zg,await i.beforeFetch(Zg)),Yg||!n)return K(!1),Promise.resolve(null);let ag=null;return R&&R.start(),n(Zg.url,{...mg,...Zg.options,headers:{...fh(mg.headers),...fh((og=Zg.options)==null?void 0:og.headers)}}).then(async pg=>{if(w.value=pg,G.value=pg.status,ag=await pg.clone()[A.type](),!pg.ok)throw p.value=l||null,new Error(pg.statusText);return i.afterFetch&&({data:ag}=await i.afterFetch({data:ag,response:pg})),p.value=ag,a.trigger(pg),pg}).catch(async pg=>{let bg=pg.message||pg.name;if(i.onFetchError&&({error:bg,data:ag}=await i.onFetchError({data:ag,error:pg,response:w.value})),B.value=bg,i.updateDataOnError&&(p.value=ag),d.trigger(pg),Q)throw pg;return null}).finally(()=>{eg===J&&K(!1),R&&R.stop(),m.trigger(null)})},D=LC(i.refetch);s.watch([D,LC(C)],([Q])=>Q&&X(),{deep:!0});const z={isFinished:s.readonly(u),isFetching:s.readonly(h),statusCode:G,response:w,error:B,data:p,canAbort:y,aborted:Z,abort:M,execute:X,onFetchResponse:a.on,onFetchError:d.on,onFetchFinally:m.on,get:j("GET"),put:j("PUT"),post:j("POST"),delete:j("DELETE"),patch:j("PATCH"),head:j("HEAD"),options:j("OPTIONS"),json:gg("json"),text:gg("text"),blob:gg("blob"),arrayBuffer:gg("arrayBuffer"),formData:gg("formData")};function j(Q){return(_,og)=>{if(!h.value)return A.method=Q,A.payload=_,A.payloadType=og,s.isRef(A.payload)&&s.watch([D,LC(A.payload)],([eg])=>eg&&X(),{deep:!0}),{...z,then(eg,mg){return q().then(eg,mg)}}}}function q(){return new Promise((Q,_)=>{Yh(u).toBe(!0).then(()=>Q(z)).catch(og=>_(og))})}function gg(Q){return()=>{if(!h.value)return A.type=Q,{...z,then(_,og){return q().then(_,og)}}}}return i.immediate&&Promise.resolve().then(()=>X()),{...z,then(Q,_){return q().then(Q,_)}}}function ozg(C,g){return!C.endsWith("/")&&!g.startsWith("/")?`${C}/${g}`:`${C}${g}`}const azg={multiple:!0,accept:"*",reset:!1,directory:!1};function dzg(C={}){const{document:g=rt}=C,I=s.ref(null),{on:e,trigger:t}=ct();let i;g&&(i=g.createElement("input"),i.type="file",i.onchange=l=>{const o=l.target;I.value=o.files,t(I.value)});const A=()=>{I.value=null,i&&i.value&&(i.value="",t(null))},n=l=>{if(!i)return;const o={...azg,...C,...l};i.multiple=o.multiple,i.accept=o.accept,i.webkitdirectory=o.directory,qH(o,"capture")&&(i.capture=o.capture),o.reset&&A(),i.click()};return{files:s.readonly(I),open:n,reset:A,onChange:e}}function czg(C={}){const{window:g=kg,dataType:I="Text"}=C,e=g,t=ZI(()=>e&&"showSaveFilePicker"in e&&"showOpenFilePicker"in e),i=s.ref(),A=s.ref(),n=s.ref(),l=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.name)!=null?p:""}),o=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.type)!=null?p:""}),a=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.size)!=null?p:0}),d=s.computed(()=>{var B,p;return(p=(B=n.value)==null?void 0:B.lastModified)!=null?p:0});async function m(B={}){if(!t.value)return;const[p]=await e.showOpenFilePicker({...U(C),...B});i.value=p,await w()}async function u(B={}){t.value&&(i.value=await e.showSaveFilePicker({...C,...B}),A.value=void 0,await w())}async function h(B={}){if(t.value){if(!i.value)return Z(B);if(A.value){const p=await i.value.createWritable();await p.write(A.value),await p.close()}await G()}}async function Z(B={}){if(t.value){if(i.value=await e.showSaveFilePicker({...C,...B}),A.value){const p=await i.value.createWritable();await p.write(A.value),await p.close()}await G()}}async function G(){var B;n.value=await((B=i.value)==null?void 0:B.getFile())}async function w(){var B,p;await G();const y=U(I);y==="Text"?A.value=await((B=n.value)==null?void 0:B.text()):y==="ArrayBuffer"?A.value=await((p=n.value)==null?void 0:p.arrayBuffer()):y==="Blob"&&(A.value=n.value)}return s.watch(()=>U(I),w),{isSupported:t,data:A,file:n,fileName:l,fileMIME:o,fileSize:a,fileLastModified:d,open:m,create:u,save:h,saveAs:Z,updateData:w}}function rzg(C,g={}){const{initialValue:I=!1,focusVisible:e=!1,preventScroll:t=!1}=g,i=s.ref(!1),A=s.computed(()=>dI(C));ig(A,"focus",l=>{var o,a;(!e||(a=(o=l.target).matches)!=null&&a.call(o,":focus-visible"))&&(i.value=!0)}),ig(A,"blur",()=>i.value=!1);const n=s.computed({get:()=>i.value,set(l){var o,a;!l&&i.value?(o=A.value)==null||o.blur():l&&!i.value&&((a=A.value)==null||a.focus({preventScroll:t}))}});return s.watch(A,()=>{n.value=I},{immediate:!0,flush:"post"}),{focused:n}}function mzg(C,g={}){const I=Z9(g),e=s.computed(()=>dI(C));return{focused:s.computed(()=>e.value&&I.value?e.value.contains(I.value):!1)}}function uzg(C){var g;const I=s.ref(0);if(typeof performance>"u")return I;const e=(g=C==null?void 0:C.every)!=null?g:10;let t=performance.now(),i=0;return Sa(()=>{if(i+=1,i>=e){const A=performance.now(),n=A-t;I.value=Math.round(1e3/(n/i)),t=A,i=0}}),I}const S9=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function hzg(C,g={}){const{document:I=rt,autoExit:e=!1}=g,t=s.computed(()=>{var w;return(w=dI(C))!=null?w:I==null?void 0:I.querySelector("html")}),i=s.ref(!1),A=s.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>I&&w in I||t.value&&w in t.value)),n=s.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>I&&w in I||t.value&&w in t.value)),l=s.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>I&&w in I||t.value&&w in t.value)),o=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>I&&w in I),a=ZI(()=>t.value&&I&&A.value!==void 0&&n.value!==void 0&&l.value!==void 0),d=()=>o?(I==null?void 0:I[o])===t.value:!1,m=()=>{if(l.value){if(I&&I[l.value]!=null)return I[l.value];{const w=t.value;if((w==null?void 0:w[l.value])!=null)return!!w[l.value]}}return!1};async function u(){if(!(!a.value||!i.value)){if(n.value)if((I==null?void 0:I[n.value])!=null)await I[n.value]();else{const w=t.value;(w==null?void 0:w[n.value])!=null&&await w[n.value]()}i.value=!1}}async function h(){if(!a.value||i.value)return;m()&&await u();const w=t.value;A.value&&(w==null?void 0:w[A.value])!=null&&(await w[A.value](),i.value=!0)}async function Z(){await(i.value?u():h())}const G=()=>{const w=m();(!w||w&&d())&&(i.value=w)};return ig(I,S9,G,!1),ig(()=>dI(t),S9,G,!1),e&&mI(u),{isSupported:a,isFullscreen:i,enter:h,exit:u,toggle:Z}}function bzg(C){return s.computed(()=>C.value?{buttons:{a:C.value.buttons[0],b:C.value.buttons[1],x:C.value.buttons[2],y:C.value.buttons[3]},bumper:{left:C.value.buttons[4],right:C.value.buttons[5]},triggers:{left:C.value.buttons[6],right:C.value.buttons[7]},stick:{left:{horizontal:C.value.axes[0],vertical:C.value.axes[1],button:C.value.buttons[10]},right:{horizontal:C.value.axes[2],vertical:C.value.axes[3],button:C.value.buttons[11]}},dpad:{up:C.value.buttons[12],down:C.value.buttons[13],left:C.value.buttons[14],right:C.value.buttons[15]},back:C.value.buttons[8],start:C.value.buttons[9]}:null)}function Zzg(C={}){const{navigator:g=Dt}=C,I=ZI(()=>g&&"getGamepads"in g),e=s.ref([]),t=ct(),i=ct(),A=u=>{const h=[],Z="vibrationActuator"in u?u.vibrationActuator:null;return Z&&h.push(Z),u.hapticActuators&&h.push(...u.hapticActuators),{id:u.id,index:u.index,connected:u.connected,mapping:u.mapping,timestamp:u.timestamp,vibrationActuator:u.vibrationActuator,hapticActuators:h,axes:u.axes.map(G=>G),buttons:u.buttons.map(G=>({pressed:G.pressed,touched:G.touched,value:G.value}))}},n=()=>{const u=(g==null?void 0:g.getGamepads())||[];for(const h of u)h&&e.value[h.index]&&(e.value[h.index]=A(h))},{isActive:l,pause:o,resume:a}=Sa(n),d=u=>{e.value.some(({index:h})=>h===u.index)||(e.value.push(A(u)),t.trigger(u.index)),a()},m=u=>{e.value=e.value.filter(h=>h.index!==u.index),i.trigger(u.index)};return ig("gamepadconnected",u=>d(u.gamepad)),ig("gamepaddisconnected",u=>m(u.gamepad)),ae(()=>{const u=(g==null?void 0:g.getGamepads())||[];for(const h of u)h&&e.value[h.index]&&d(h)}),o(),{isSupported:I,onConnected:t.on,onDisconnected:i.on,gamepads:e,pause:o,resume:a,isActive:l}}function Gzg(C={}){const{enableHighAccuracy:g=!0,maximumAge:I=3e4,timeout:e=27e3,navigator:t=Dt,immediate:i=!0}=C,A=ZI(()=>t&&"geolocation"in t),n=s.ref(null),l=s.shallowRef(null),o=s.ref({accuracy:0,latitude:Number.POSITIVE_INFINITY,longitude:Number.POSITIVE_INFINITY,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function a(h){n.value=h.timestamp,o.value=h.coords,l.value=null}let d;function m(){A.value&&(d=t.geolocation.watchPosition(a,h=>l.value=h,{enableHighAccuracy:g,maximumAge:I,timeout:e}))}i&&m();function u(){d&&t&&t.geolocation.clearWatch(d)}return mI(()=>{u()}),{isSupported:A,coords:o,locatedAt:n,error:l,resume:m,pause:u}}const wzg=["mousemove","mousedown","resize","keydown","touchstart","wheel"],Wzg=6e4;function Bzg(C=Wzg,g={}){const{initialState:I=!1,listenForVisibilityChange:e=!0,events:t=wzg,window:i=kg,eventFilter:A=Bh(50)}=g,n=s.ref(I),l=s.ref(Xa());let o;const a=()=>{n.value=!1,clearTimeout(o),o=setTimeout(()=>n.value=!0,C)},d=Ha(A,()=>{l.value=Xa(),a()});if(i){const m=i.document;for(const u of t)ig(i,u,d,{passive:!0});e&&ig(m,"visibilitychange",()=>{m.hidden||d()}),a()}return{idle:n,lastActive:l,reset:a}}async function pzg(C){return new Promise((g,I)=>{const e=new Image,{src:t,srcset:i,sizes:A,class:n,loading:l,crossorigin:o,referrerPolicy:a}=C;e.src=t,i&&(e.srcset=i),A&&(e.sizes=A),n&&(e.className=n),l&&(e.loading=l),o&&(e.crossOrigin=o),a&&(e.referrerPolicy=a),e.onload=()=>g(e),e.onerror=I})}function yzg(C,g={}){const I=G9(()=>pzg(U(C)),void 0,{resetOnExecute:!0,...g});return s.watch(()=>U(C),()=>I.execute(g.delay),{deep:!0}),I}const K9=1;function k9(C,g={}){const{throttle:I=0,idle:e=200,onStop:t=XI,onScroll:i=XI,offset:A={left:0,right:0,top:0,bottom:0},eventListenerOptions:n={capture:!1,passive:!0},behavior:l="auto",window:o=kg,onError:a=M=>{console.error(M)}}=g,d=s.ref(0),m=s.ref(0),u=s.computed({get(){return d.value},set(M){Z(M,void 0)}}),h=s.computed({get(){return m.value},set(M){Z(void 0,M)}});function Z(M,K){var J,X,D,z;if(!o)return;const j=U(C);if(!j)return;(D=j instanceof Document?o.document.body:j)==null||D.scrollTo({top:(J=U(K))!=null?J:h.value,left:(X=U(M))!=null?X:u.value,behavior:U(l)});const q=((z=j==null?void 0:j.document)==null?void 0:z.documentElement)||(j==null?void 0:j.documentElement)||j;u!=null&&(d.value=q.scrollLeft),h!=null&&(m.value=q.scrollTop)}const G=s.ref(!1),w=s.reactive({left:!0,right:!1,top:!0,bottom:!1}),B=s.reactive({left:!1,right:!1,top:!1,bottom:!1}),p=M=>{G.value&&(G.value=!1,B.left=!1,B.right=!1,B.top=!1,B.bottom=!1,t(M))},y=Ww(p,I+e),Y=M=>{var K;if(!o)return;const J=((K=M==null?void 0:M.document)==null?void 0:K.documentElement)||(M==null?void 0:M.documentElement)||dI(M),{display:X,flexDirection:D}=getComputedStyle(J),z=J.scrollLeft;B.left=z<d.value,B.right=z>d.value;const j=Math.abs(z)<=(A.left||0),q=Math.abs(z)+J.clientWidth>=J.scrollWidth-(A.right||0)-K9;X==="flex"&&D==="row-reverse"?(w.left=q,w.right=j):(w.left=j,w.right=q),d.value=z;let gg=J.scrollTop;M===o.document&&!gg&&(gg=o.document.body.scrollTop),B.top=gg<m.value,B.bottom=gg>m.value;const Q=Math.abs(gg)<=(A.top||0),_=Math.abs(gg)+J.clientHeight>=J.scrollHeight-(A.bottom||0)-K9;X==="flex"&&D==="column-reverse"?(w.top=_,w.bottom=Q):(w.top=Q,w.bottom=_),m.value=gg},R=M=>{var K;if(!o)return;const J=(K=M.target.documentElement)!=null?K:M.target;Y(J),G.value=!0,y(M),i(M)};return ig(C,"scroll",I?pY(R,I,!0,!1):R,n),ae(()=>{try{const M=U(C);if(!M)return;Y(M)}catch(M){a(M)}}),ig(C,"scrollend",p,n),{x:u,y:h,isScrolling:G,arrivedState:w,directions:B,measure(){const M=U(C);o&&M&&Y(M)}}}function fw(C){return typeof Window<"u"&&C instanceof Window?C.document.documentElement:typeof Document<"u"&&C instanceof Document?C.documentElement:C}function Yzg(C,g,I={}){var e;const{direction:t="bottom",interval:i=100,canLoadMore:A=()=>!0}=I,n=s.reactive(k9(C,{...I,offset:{[t]:(e=I.distance)!=null?e:0,...I.offset}})),l=s.ref(),o=s.computed(()=>!!l.value),a=s.computed(()=>fw(U(C))),d=H9(a);function m(){if(n.measure(),!a.value||!d.value||!A(a.value))return;const{scrollHeight:u,clientHeight:h,scrollWidth:Z,clientWidth:G}=a.value,w=t==="bottom"||t==="top"?u<=h:Z<=G;(n.arrivedState[t]||w)&&(l.value||(l.value=Promise.all([g(n),new Promise(B=>setTimeout(B,i))]).finally(()=>{l.value=null,s.nextTick(()=>m())})))}return s.watch(()=>[n.arrivedState[t],d.value],m,{immediate:!0}),{isLoading:o,reset(){s.nextTick(()=>m())}}}const Vzg=["mousedown","mouseup","keydown","keyup"];function Nzg(C,g={}){const{events:I=Vzg,document:e=rt,initial:t=null}=g,i=s.ref(t);return e&&I.forEach(A=>{ig(e,A,n=>{typeof n.getModifierState=="function"&&(i.value=n.getModifierState(C))})}),i}function Mzg(C,g,I={}){const{window:e=kg}=I;return Nw(C,g,e==null?void 0:e.localStorage,I)}const F9={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Rzg(C={}){const{reactive:g=!1,target:I=kg,aliasMap:e=F9,passive:t=!0,onEventFired:i=XI}=C,A=s.reactive(new Set),n={toJSON(){return{}},current:A},l=g?s.reactive(n):n,o=new Set,a=new Set;function d(Z,G){Z in l&&(g?l[Z]=G:l[Z].value=G)}function m(){A.clear();for(const Z of a)d(Z,!1)}function u(Z,G){var w,B;const p=(w=Z.key)==null?void 0:w.toLowerCase(),Y=[(B=Z.code)==null?void 0:B.toLowerCase(),p].filter(Boolean);p&&(G?A.add(p):A.delete(p));for(const R of Y)a.add(R),d(R,G);p==="meta"&&!G?(o.forEach(R=>{A.delete(R),d(R,!1)}),o.clear()):typeof Z.getModifierState=="function"&&Z.getModifierState("Meta")&&G&&[...A,...Y].forEach(R=>o.add(R))}ig(I,"keydown",Z=>(u(Z,!0),i(Z)),{passive:t}),ig(I,"keyup",Z=>(u(Z,!1),i(Z)),{passive:t}),ig("blur",m,{passive:!0}),ig("focus",m,{passive:!0});const h=new Proxy(l,{get(Z,G,w){if(typeof G!="string")return Reflect.get(Z,G,w);if(G=G.toLowerCase(),G in e&&(G=e[G]),!(G in l))if(/[+_-]/.test(G)){const p=G.split(/[+_-]/g).map(y=>y.trim());l[G]=s.computed(()=>p.every(y=>U(h[y])))}else l[G]=s.ref(!1);const B=Reflect.get(Z,G,w);return g?U(B):B}});return h}function DY(C,g){U(C)&&g(U(C))}function fzg(C){let g=[];for(let I=0;I<C.length;++I)g=[...g,[C.start(I),C.end(I)]];return g}function SY(C){return Array.from(C).map(({label:g,kind:I,language:e,mode:t,activeCues:i,cues:A,inBandMetadataTrackDispatchType:n},l)=>({id:l,label:g,kind:I,language:e,mode:t,activeCues:i,cues:A,inBandMetadataTrackDispatchType:n}))}const Xzg={src:"",tracks:[]};function Hzg(C,g={}){C=LC(C),g={...Xzg,...g};const{document:I=rt}=g,e=s.ref(0),t=s.ref(0),i=s.ref(!1),A=s.ref(1),n=s.ref(!1),l=s.ref(!1),o=s.ref(!1),a=s.ref(1),d=s.ref(!1),m=s.ref([]),u=s.ref([]),h=s.ref(-1),Z=s.ref(!1),G=s.ref(!1),w=I&&"pictureInPictureEnabled"in I,B=ct(),p=X=>{DY(C,D=>{if(X){const z=typeof X=="number"?X:X.id;D.textTracks[z].mode="disabled"}else for(let z=0;z<D.textTracks.length;++z)D.textTracks[z].mode="disabled";h.value=-1})},y=(X,D=!0)=>{DY(C,z=>{const j=typeof X=="number"?X:X.id;D&&p(),z.textTracks[j].mode="showing",h.value=j})},Y=()=>new Promise((X,D)=>{DY(C,async z=>{w&&(Z.value?I.exitPictureInPicture().then(X).catch(D):z.requestPictureInPicture().then(X).catch(D))})});s.watchEffect(()=>{if(!I)return;const X=U(C);if(!X)return;const D=U(g.src);let z=[];D&&(typeof D=="string"?z=[{src:D}]:Array.isArray(D)?z=D:wh(D)&&(z=[D]),X.querySelectorAll("source").forEach(j=>{j.removeEventListener("error",B.trigger),j.remove()}),z.forEach(({src:j,type:q})=>{const gg=I.createElement("source");gg.setAttribute("src",j),gg.setAttribute("type",q||""),gg.addEventListener("error",B.trigger),X.appendChild(gg)}),X.load())}),mI(()=>{const X=U(C);X&&X.querySelectorAll("source").forEach(D=>D.removeEventListener("error",B.trigger))}),s.watch([C,A],()=>{const X=U(C);X&&(X.volume=A.value)}),s.watch([C,G],()=>{const X=U(C);X&&(X.muted=G.value)}),s.watch([C,a],()=>{const X=U(C);X&&(X.playbackRate=a.value)}),s.watchEffect(()=>{if(!I)return;const X=U(g.tracks),D=U(C);!X||!X.length||!D||(D.querySelectorAll("track").forEach(z=>z.remove()),X.forEach(({default:z,kind:j,label:q,src:gg,srcLang:Q},_)=>{const og=I.createElement("track");og.default=z||!1,og.kind=j,og.label=q,og.src=gg,og.srclang=Q,og.default&&(h.value=_),D.appendChild(og)}))});const{ignoreUpdates:R}=or(e,X=>{const D=U(C);D&&(D.currentTime=X)}),{ignoreUpdates:M}=or(o,X=>{const D=U(C);D&&(X?D.play():D.pause())});ig(C,"timeupdate",()=>R(()=>e.value=U(C).currentTime)),ig(C,"durationchange",()=>t.value=U(C).duration),ig(C,"progress",()=>m.value=fzg(U(C).buffered)),ig(C,"seeking",()=>i.value=!0),ig(C,"seeked",()=>i.value=!1),ig(C,["waiting","loadstart"],()=>{n.value=!0,M(()=>o.value=!1)}),ig(C,"loadeddata",()=>n.value=!1),ig(C,"playing",()=>{n.value=!1,l.value=!1,M(()=>o.value=!0)}),ig(C,"ratechange",()=>a.value=U(C).playbackRate),ig(C,"stalled",()=>d.value=!0),ig(C,"ended",()=>l.value=!0),ig(C,"pause",()=>M(()=>o.value=!1)),ig(C,"play",()=>M(()=>o.value=!0)),ig(C,"enterpictureinpicture",()=>Z.value=!0),ig(C,"leavepictureinpicture",()=>Z.value=!1),ig(C,"volumechange",()=>{const X=U(C);X&&(A.value=X.volume,G.value=X.muted)});const K=[],J=s.watch([C],()=>{const X=U(C);X&&(J(),K[0]=ig(X.textTracks,"addtrack",()=>u.value=SY(X.textTracks)),K[1]=ig(X.textTracks,"removetrack",()=>u.value=SY(X.textTracks)),K[2]=ig(X.textTracks,"change",()=>u.value=SY(X.textTracks)))});return mI(()=>K.forEach(X=>X())),{currentTime:e,duration:t,waiting:n,seeking:i,ended:l,stalled:d,buffered:m,playing:o,rate:a,volume:A,muted:G,tracks:u,selectedTrack:h,enableTrack:y,disableTrack:p,supportsPictureInPicture:w,togglePictureInPicture:Y,isPictureInPicture:Z,onSourceError:B.on}}function Dzg(C,g){const e=g!=null&&g.cache?s.shallowReactive(g.cache):s.shallowReactive(new Map),t=(...a)=>g!=null&&g.getKey?g.getKey(...a):JSON.stringify(a),i=(a,...d)=>(e.set(a,C(...d)),e.get(a)),A=(...a)=>i(t(...a),...a),n=(...a)=>{e.delete(t(...a))},l=()=>{e.clear()},o=(...a)=>{const d=t(...a);return e.has(d)?e.get(d):i(d,...a)};return o.load=A,o.delete=n,o.clear=l,o.generateKey=t,o.cache=e,o}function Szg(C={}){const g=s.ref(),I=ZI(()=>typeof performance<"u"&&"memory"in performance);if(I.value){const{interval:e=1e3}=C;ks(()=>{g.value=performance.memory},e,{immediate:C.immediate,immediateCallback:C.immediateCallback})}return{isSupported:I,memory:g}}const Kzg={page:C=>[C.pageX,C.pageY],client:C=>[C.clientX,C.clientY],screen:C=>[C.screenX,C.screenY],movement:C=>C instanceof Touch?null:[C.movementX,C.movementY]};function z9(C={}){const{type:g="page",touch:I=!0,resetOnTouchEnds:e=!1,initialValue:t={x:0,y:0},window:i=kg,target:A=i,scroll:n=!0,eventFilter:l}=C;let o=null;const a=s.ref(t.x),d=s.ref(t.y),m=s.ref(null),u=typeof g=="function"?g:Kzg[g],h=Y=>{const R=u(Y);o=Y,R&&([a.value,d.value]=R,m.value="mouse")},Z=Y=>{if(Y.touches.length>0){const R=u(Y.touches[0]);R&&([a.value,d.value]=R,m.value="touch")}},G=()=>{if(!o||!i)return;const Y=u(o);o instanceof MouseEvent&&Y&&(a.value=Y[0]+i.scrollX,d.value=Y[1]+i.scrollY)},w=()=>{a.value=t.x,d.value=t.y},B=l?Y=>l(()=>h(Y),{}):Y=>h(Y),p=l?Y=>l(()=>Z(Y),{}):Y=>Z(Y),y=l?()=>l(()=>G(),{}):()=>G();if(A){const Y={passive:!0};ig(A,["mousemove","dragover"],B,Y),I&&g!=="movement"&&(ig(A,["touchstart","touchmove"],p,Y),e&&ig(A,"touchend",w,Y)),n&&g==="page"&&ig(i,"scroll",y,{passive:!0})}return{x:a,y:d,sourceType:m}}function J9(C,g={}){const{handleOutside:I=!0,window:e=kg}=g,t=g.type||"page",{x:i,y:A,sourceType:n}=z9(g),l=s.ref(C??(e==null?void 0:e.document.body)),o=s.ref(0),a=s.ref(0),d=s.ref(0),m=s.ref(0),u=s.ref(0),h=s.ref(0),Z=s.ref(!0);let G=()=>{};return e&&(G=s.watch([l,i,A],()=>{const w=dI(l);if(!w||!(w instanceof HTMLElement))return;const{left:B,top:p,width:y,height:Y}=w.getBoundingClientRect();d.value=B+(t==="page"?e.pageXOffset:0),m.value=p+(t==="page"?e.pageYOffset:0),u.value=Y,h.value=y;const R=i.value-d.value,M=A.value-m.value;Z.value=y===0||Y===0||R<0||M<0||R>y||M>Y,(I||!Z.value)&&(o.value=R,a.value=M)},{immediate:!0}),ig(document,"mouseleave",()=>{Z.value=!0})),{x:i,y:A,sourceType:n,elementX:o,elementY:a,elementPositionX:d,elementPositionY:m,elementHeight:u,elementWidth:h,isOutside:Z,stop:G}}function kzg(C={}){const{touch:g=!0,drag:I=!0,capture:e=!1,initialValue:t=!1,window:i=kg}=C,A=s.ref(t),n=s.ref(null);if(!i)return{pressed:A,sourceType:n};const l=d=>()=>{A.value=!0,n.value=d},o=()=>{A.value=!1,n.value=null},a=s.computed(()=>dI(C.target)||i);return ig(a,"mousedown",l("mouse"),{passive:!0,capture:e}),ig(i,"mouseleave",o,{passive:!0,capture:e}),ig(i,"mouseup",o,{passive:!0,capture:e}),I&&(ig(a,"dragstart",l("mouse"),{passive:!0,capture:e}),ig(i,"drop",o,{passive:!0,capture:e}),ig(i,"dragend",o,{passive:!0,capture:e})),g&&(ig(a,"touchstart",l("touch"),{passive:!0,capture:e}),ig(i,"touchend",o,{passive:!0,capture:e}),ig(i,"touchcancel",o,{passive:!0,capture:e})),{pressed:A,sourceType:n}}function Fzg(C={}){const{window:g=kg}=C,I=g==null?void 0:g.navigator,e=ZI(()=>I&&"language"in I),t=s.ref(I==null?void 0:I.language);return ig(g,"languagechange",()=>{I&&(t.value=I.language)}),{isSupported:e,language:t}}function L9(C={}){const{window:g=kg}=C,I=g==null?void 0:g.navigator,e=ZI(()=>I&&"connection"in I),t=s.ref(!0),i=s.ref(!1),A=s.ref(void 0),n=s.ref(void 0),l=s.ref(void 0),o=s.ref(void 0),a=s.ref(void 0),d=s.ref(void 0),m=s.ref("unknown"),u=e.value&&I.connection;function h(){I&&(t.value=I.onLine,A.value=t.value?void 0:Date.now(),n.value=t.value?Date.now():void 0,u&&(l.value=u.downlink,o.value=u.downlinkMax,d.value=u.effectiveType,a.value=u.rtt,i.value=u.saveData,m.value=u.type))}return g&&(ig(g,"offline",()=>{t.value=!1,A.value=Date.now()}),ig(g,"online",()=>{t.value=!0,n.value=Date.now()})),u&&ig(u,"change",h,!1),h(),{isSupported:e,isOnline:t,saveData:i,offlineAt:A,onlineAt:n,downlink:l,downlinkMax:o,effectiveType:d,rtt:a,type:m}}function T9(C={}){const{controls:g=!1,interval:I="requestAnimationFrame"}=C,e=s.ref(new Date),t=()=>e.value=new Date,i=I==="requestAnimationFrame"?Sa(t,{immediate:!0}):ks(t,I,{immediate:!0});return g?{now:e,...i}:e}function zzg(C){const g=s.ref(),I=()=>{g.value&&URL.revokeObjectURL(g.value),g.value=void 0};return s.watch(()=>U(C),e=>{I(),e&&(g.value=URL.createObjectURL(e))},{immediate:!0}),mI(I),s.readonly(g)}function v9(C,g,I){if(typeof C=="function"||s.isReadonly(C))return s.computed(()=>Zw(U(C),U(g),U(I)));const e=s.ref(C);return s.computed({get(){return e.value=Zw(e.value,U(g),U(I))},set(t){e.value=Zw(t,U(g),U(I))}})}function Jzg(C){const{total:g=Number.POSITIVE_INFINITY,pageSize:I=10,page:e=1,onPageChange:t=XI,onPageSizeChange:i=XI,onPageCountChange:A=XI}=C,n=v9(I,1,Number.POSITIVE_INFINITY),l=s.computed(()=>Math.max(1,Math.ceil(U(g)/U(n)))),o=v9(e,1,l),a=s.computed(()=>o.value===1),d=s.computed(()=>o.value===l.value);s.isRef(e)&&YY(e,o,{direction:s.isReadonly(e)?"ltr":"both"}),s.isRef(I)&&YY(I,n,{direction:s.isReadonly(I)?"ltr":"both"});function m(){o.value--}function u(){o.value++}const h={currentPage:o,currentPageSize:n,pageCount:l,isFirstPage:a,isLastPage:d,prev:m,next:u};return s.watch(o,()=>{t(s.reactive(h))}),s.watch(n,()=>{i(s.reactive(h))}),s.watch(l,()=>{A(s.reactive(h))}),h}function Lzg(C={}){const{isOnline:g}=L9(C);return g}function Tzg(C={}){const{window:g=kg}=C,I=s.ref(!1),e=t=>{if(!g)return;t=t||g.event;const i=t.relatedTarget||t.toElement;I.value=!i};return g&&(ig(g,"mouseout",e,{passive:!0}),ig(g.document,"mouseleave",e,{passive:!0}),ig(g.document,"mouseenter",e,{passive:!0})),I}function j9(C={}){const{window:g=kg}=C,I=ZI(()=>g&&"screen"in g&&"orientation"in g.screen),e=I.value?g.screen.orientation:{},t=s.ref(e.type),i=s.ref(e.angle||0);return I.value&&ig(g,"orientationchange",()=>{t.value=e.type,i.value=e.angle}),{isSupported:I,orientation:t,angle:i,lockOrientation:l=>I.value&&typeof e.lock=="function"?e.lock(l):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{I.value&&typeof e.unlock=="function"&&e.unlock()}}}function vzg(C,g={}){const{deviceOrientationTiltAdjust:I=G=>G,deviceOrientationRollAdjust:e=G=>G,mouseTiltAdjust:t=G=>G,mouseRollAdjust:i=G=>G,window:A=kg}=g,n=s.reactive(M9({window:A})),l=s.reactive(j9({window:A})),{elementX:o,elementY:a,elementWidth:d,elementHeight:m}=J9(C,{handleOutside:!1,window:A}),u=s.computed(()=>n.isSupported&&(n.alpha!=null&&n.alpha!==0||n.gamma!=null&&n.gamma!==0)?"deviceOrientation":"mouse"),h=s.computed(()=>{if(u.value==="deviceOrientation"){let G;switch(l.orientation){case"landscape-primary":G=n.gamma/90;break;case"landscape-secondary":G=-n.gamma/90;break;case"portrait-primary":G=-n.beta/90;break;case"portrait-secondary":G=n.beta/90;break;default:G=-n.beta/90}return e(G)}else{const G=-(a.value-m.value/2)/m.value;return i(G)}}),Z=s.computed(()=>{if(u.value==="deviceOrientation"){let G;switch(l.orientation){case"landscape-primary":G=n.beta/90;break;case"landscape-secondary":G=-n.beta/90;break;case"portrait-primary":G=n.gamma/90;break;case"portrait-secondary":G=-n.gamma/90;break;default:G=n.gamma/90}return I(G)}else{const G=(o.value-d.value/2)/d.value;return t(G)}});return{roll:h,tilt:Z,source:u}}function jzg(C=Y9()){const g=s.shallowRef(),I=()=>{const e=dI(C);e&&(g.value=e.parentElement)};return ae(I),s.watch(()=>U(C),I),g}function xzg(C,g){const{window:I=kg,immediate:e=!0,...t}=C,i=ZI(()=>I&&"PerformanceObserver"in I);let A;const n=()=>{A==null||A.disconnect()},l=()=>{i.value&&(n(),A=new PerformanceObserver(g),A.observe(t))};return mI(n),e&&l(),{isSupported:i,start:l,stop:n}}const x9={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Ozg=Object.keys(x9);function Qzg(C={}){const{target:g=kg}=C,I=s.ref(!1),e=s.ref(C.initialValue||{});Object.assign(e.value,x9,e.value);const t=i=>{I.value=!0,!(C.pointerTypes&&!C.pointerTypes.includes(i.pointerType))&&(e.value=t9(i,Ozg,!1))};if(g){const i={passive:!0};ig(g,["pointerdown","pointermove","pointerup"],t,i),ig(g,"pointerleave",()=>I.value=!1,i)}return{...VY(e),isInside:I}}function Uzg(C,g={}){const{document:I=rt}=g,e=ZI(()=>I&&"pointerLockElement"in I),t=s.ref(),i=s.ref();let A;e.value&&(ig(I,"pointerlockchange",()=>{var o;const a=(o=I.pointerLockElement)!=null?o:t.value;A&&a===A&&(t.value=I.pointerLockElement,t.value||(A=i.value=null))}),ig(I,"pointerlockerror",()=>{var o;const a=(o=I.pointerLockElement)!=null?o:t.value;if(A&&a===A){const d=I.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${d} pointer lock.`)}}));async function n(o){var a;if(!e.value)throw new Error("Pointer Lock API is not supported by your browser.");if(i.value=o instanceof Event?o.currentTarget:null,A=o instanceof Event?(a=dI(C))!=null?a:i.value:dI(o),!A)throw new Error("Target element undefined.");return A.requestPointerLock(),await Yh(t).toBe(A)}async function l(){return t.value?(I.exitPointerLock(),await Yh(t).toBeNull(),!0):!1}return{isSupported:e,element:t,triggerElement:i,lock:n,unlock:l}}function Ezg(C,g={}){const I=LC(C),{threshold:e=50,onSwipe:t,onSwipeEnd:i,onSwipeStart:A,disableTextSelect:n=!1}=g,l=s.reactive({x:0,y:0}),o=(M,K)=>{l.x=M,l.y=K},a=s.reactive({x:0,y:0}),d=(M,K)=>{a.x=M,a.y=K},m=s.computed(()=>l.x-a.x),u=s.computed(()=>l.y-a.y),{max:h,abs:Z}=Math,G=s.computed(()=>h(Z(m.value),Z(u.value))>=e),w=s.ref(!1),B=s.ref(!1),p=s.computed(()=>G.value?Z(m.value)>Z(u.value)?m.value>0?"left":"right":u.value>0?"up":"down":"none"),y=M=>{var K,J,X;const D=M.buttons===0,z=M.buttons===1;return(X=(J=(K=g.pointerTypes)==null?void 0:K.includes(M.pointerType))!=null?J:D||z)!=null?X:!0},Y=[ig(C,"pointerdown",M=>{if(!y(M))return;B.value=!0;const K=M.target;K==null||K.setPointerCapture(M.pointerId);const{clientX:J,clientY:X}=M;o(J,X),d(J,X),A==null||A(M)}),ig(C,"pointermove",M=>{if(!y(M)||!B.value)return;const{clientX:K,clientY:J}=M;d(K,J),!w.value&&G.value&&(w.value=!0),w.value&&(t==null||t(M))}),ig(C,"pointerup",M=>{y(M)&&(w.value&&(i==null||i(M,p.value)),B.value=!1,w.value=!1)})];ae(()=>{var M,K,J,X,D,z,j,q;(K=(M=I.value)==null?void 0:M.style)==null||K.setProperty("touch-action","none"),n&&((X=(J=I.value)==null?void 0:J.style)==null||X.setProperty("-webkit-user-select","none"),(z=(D=I.value)==null?void 0:D.style)==null||z.setProperty("-ms-user-select","none"),(q=(j=I.value)==null?void 0:j.style)==null||q.setProperty("user-select","none"))});const R=()=>Y.forEach(M=>M());return{isSwiping:s.readonly(w),direction:s.readonly(p),posStart:s.readonly(l),posEnd:s.readonly(a),distanceX:m,distanceY:u,stop:R}}function Pzg(C){const g=St("(prefers-color-scheme: light)",C),I=St("(prefers-color-scheme: dark)",C);return s.computed(()=>I.value?"dark":g.value?"light":"no-preference")}function _zg(C){const g=St("(prefers-contrast: more)",C),I=St("(prefers-contrast: less)",C),e=St("(prefers-contrast: custom)",C);return s.computed(()=>g.value?"more":I.value?"less":e.value?"custom":"no-preference")}function $zg(C={}){const{window:g=kg}=C;if(!g)return s.ref(["en"]);const I=g.navigator,e=s.ref(I.languages);return ig(g,"languagechange",()=>{e.value=I.languages}),e}function qzg(C){const g=St("(prefers-reduced-motion: reduce)",C);return s.computed(()=>g.value?"reduce":"no-preference")}function gJg(C,g){const I=s.shallowRef(g);return s.watch(LC(C),(e,t)=>{I.value=t},{flush:"sync"}),s.readonly(I)}const O9="--vueuse-safe-area-top",Q9="--vueuse-safe-area-right",U9="--vueuse-safe-area-bottom",E9="--vueuse-safe-area-left";function IJg(){const C=s.ref(""),g=s.ref(""),I=s.ref(""),e=s.ref("");if(oe){const i=Mh(O9),A=Mh(Q9),n=Mh(U9),l=Mh(E9);i.value="env(safe-area-inset-top, 0px)",A.value="env(safe-area-inset-right, 0px)",n.value="env(safe-area-inset-bottom, 0px)",l.value="env(safe-area-inset-left, 0px)",t(),ig("resize",Ww(t))}function t(){C.value=Xw(O9),g.value=Xw(Q9),I.value=Xw(U9),e.value=Xw(E9)}return{top:C,right:g,bottom:I,left:e,update:t}}function Xw(C){return getComputedStyle(document.documentElement).getPropertyValue(C)}function CJg(C,g=XI,I={}){const{immediate:e=!0,manual:t=!1,type:i="text/javascript",async:A=!0,crossOrigin:n,referrerPolicy:l,noModule:o,defer:a,document:d=rt,attrs:m={}}=I,u=s.ref(null);let h=null;const Z=B=>new Promise((p,y)=>{const Y=K=>(u.value=K,p(K),K);if(!d){p(!1);return}let R=!1,M=d.querySelector(`script[src="${U(C)}"]`);M?M.hasAttribute("data-loaded")&&Y(M):(M=d.createElement("script"),M.type=i,M.async=A,M.src=U(C),a&&(M.defer=a),n&&(M.crossOrigin=n),o&&(M.noModule=o),l&&(M.referrerPolicy=l),Object.entries(m).forEach(([K,J])=>M==null?void 0:M.setAttribute(K,J)),R=!0),M.addEventListener("error",K=>y(K)),M.addEventListener("abort",K=>y(K)),M.addEventListener("load",()=>{M.setAttribute("data-loaded","true"),g(M),Y(M)}),R&&(M=d.head.appendChild(M)),B||Y(M)}),G=(B=!0)=>(h||(h=Z(B)),h),w=()=>{if(!d)return;h=null,u.value&&(u.value=null);const B=d.querySelector(`script[src="${U(C)}"]`);B&&d.head.removeChild(B)};return e&&!t&&ae(G),t||o9(w),{scriptTag:u,load:G,unload:w}}function P9(C){const g=window.getComputedStyle(C);if(g.overflowX==="scroll"||g.overflowY==="scroll"||g.overflowX==="auto"&&C.clientWidth<C.scrollWidth||g.overflowY==="auto"&&C.clientHeight<C.scrollHeight)return!0;{const I=C.parentNode;return!I||I.tagName==="BODY"?!1:P9(I)}}function eJg(C){const g=C||window.event,I=g.target;return P9(I)?!1:g.touches.length>1?!0:(g.preventDefault&&g.preventDefault(),!1)}const KY=new WeakMap;function tJg(C,g=!1){const I=s.ref(g);let e=null,t="";s.watch(LC(C),n=>{const l=fw(U(n));if(l){const o=l;if(KY.get(o)||KY.set(o,o.style.overflow),o.style.overflow!=="hidden"&&(t=o.style.overflow),o.style.overflow==="hidden")return I.value=!0;if(I.value)return o.style.overflow="hidden"}},{immediate:!0});const i=()=>{const n=fw(U(C));!n||I.value||(Gw&&(e=ig(n,"touchmove",l=>{eJg(l)},{passive:!1})),n.style.overflow="hidden",I.value=!0)},A=()=>{const n=fw(U(C));!n||!I.value||(Gw&&(e==null||e()),n.style.overflow=t,KY.delete(n),I.value=!1)};return mI(A),s.computed({get(){return I.value},set(n){n?i():A()}})}function iJg(C,g,I={}){const{window:e=kg}=I;return Nw(C,g,e==null?void 0:e.sessionStorage,I)}function AJg(C={},g={}){const{navigator:I=Dt}=g,e=I,t=ZI(()=>e&&"canShare"in e);return{isSupported:t,share:async(A={})=>{if(t.value){const n={...U(C),...U(A)};let l=!0;if(n.files&&e.canShare&&(l=e.canShare({files:n.files})),l)return e.share(n)}}}}const nJg=(C,g)=>C.sort(g),Hw=(C,g)=>C-g;function lJg(...C){var g,I,e,t;const[i]=C;let A=Hw,n={};C.length===2?typeof C[1]=="object"?(n=C[1],A=(g=n.compareFn)!=null?g:Hw):A=(I=C[1])!=null?I:Hw:C.length>2&&(A=(e=C[1])!=null?e:Hw,n=(t=C[2])!=null?t:{});const{dirty:l=!1,sortFn:o=nJg}=n;return l?(s.watchEffect(()=>{const a=o(U(i),A);s.isRef(i)?i.value=a:i.splice(0,i.length,...a)}),i):s.computed(()=>o([...U(i)],A))}function sJg(C={}){const{interimResults:g=!0,continuous:I=!0,maxAlternatives:e=1,window:t=kg}=C,i=LC(C.lang||"en-US"),A=s.ref(!1),n=s.ref(!1),l=s.ref(""),o=s.shallowRef(void 0),a=(G=!A.value)=>{A.value=G},d=()=>{A.value=!0},m=()=>{A.value=!1},u=t&&(t.SpeechRecognition||t.webkitSpeechRecognition),h=ZI(()=>u);let Z;return h.value&&(Z=new u,Z.continuous=I,Z.interimResults=g,Z.lang=U(i),Z.maxAlternatives=e,Z.onstart=()=>{n.value=!1},s.watch(i,G=>{Z&&!A.value&&(Z.lang=G)}),Z.onresult=G=>{const w=G.results[G.resultIndex],{transcript:B}=w[0];n.value=w.isFinal,l.value=B,o.value=void 0},Z.onerror=G=>{o.value=G},Z.onend=()=>{A.value=!1,Z.lang=U(i)},s.watch(A,()=>{A.value?Z.start():Z.stop()})),mI(()=>{A.value=!1}),{isSupported:h,isListening:A,isFinal:n,recognition:Z,result:l,error:o,toggle:a,start:d,stop:m}}function oJg(C,g={}){const{pitch:I=1,rate:e=1,volume:t=1,window:i=kg}=g,A=i&&i.speechSynthesis,n=ZI(()=>A),l=s.ref(!1),o=s.ref("init"),a=LC(C||""),d=LC(g.lang||"en-US"),m=s.shallowRef(void 0),u=(B=!l.value)=>{l.value=B},h=B=>{B.lang=U(d),B.voice=U(g.voice)||null,B.pitch=U(I),B.rate=U(e),B.volume=t,B.onstart=()=>{l.value=!0,o.value="play"},B.onpause=()=>{l.value=!1,o.value="pause"},B.onresume=()=>{l.value=!0,o.value="play"},B.onend=()=>{l.value=!1,o.value="end"},B.onerror=p=>{m.value=p}},Z=s.computed(()=>{l.value=!1,o.value="init";const B=new SpeechSynthesisUtterance(a.value);return h(B),B}),G=()=>{A.cancel(),Z&&A.speak(Z.value)},w=()=>{A.cancel(),l.value=!1};return n.value&&(h(Z.value),s.watch(d,B=>{Z.value&&!l.value&&(Z.value.lang=B)}),g.voice&&s.watch(g.voice,()=>{A.cancel()}),s.watch(l,()=>{l.value?A.resume():A.pause()})),mI(()=>{l.value=!1}),{isSupported:n,isPlaying:l,status:o,utterance:Z,error:m,stop:w,toggle:u,speak:G}}function aJg(C,g){const I=s.ref(C),e=s.computed(()=>Array.isArray(I.value)?I.value:Object.keys(I.value)),t=s.ref(e.value.indexOf(g??e.value[0])),i=s.computed(()=>a(t.value)),A=s.computed(()=>t.value===0),n=s.computed(()=>t.value===e.value.length-1),l=s.computed(()=>e.value[t.value+1]),o=s.computed(()=>e.value[t.value-1]);function a(Y){return Array.isArray(I.value)?I.value[Y]:I.value[e.value[Y]]}function d(Y){if(e.value.includes(Y))return a(e.value.indexOf(Y))}function m(Y){e.value.includes(Y)&&(t.value=e.value.indexOf(Y))}function u(){n.value||t.value++}function h(){A.value||t.value--}function Z(Y){y(Y)&&m(Y)}function G(Y){return e.value.indexOf(Y)===t.value+1}function w(Y){return e.value.indexOf(Y)===t.value-1}function B(Y){return e.value.indexOf(Y)===t.value}function p(Y){return t.value<e.value.indexOf(Y)}function y(Y){return t.value>e.value.indexOf(Y)}return{steps:I,stepNames:e,index:t,current:i,next:l,previous:o,isFirst:A,isLast:n,at:a,get:d,goTo:m,goToNext:u,goToPrevious:h,goBackTo:Z,isNext:G,isPrevious:w,isCurrent:B,isBefore:p,isAfter:y}}function dJg(C,g,I,e={}){var t;const{flush:i="pre",deep:A=!0,listenToStorageChanges:n=!0,writeDefaults:l=!0,mergeDefaults:o=!1,shallow:a,window:d=kg,eventFilter:m,onError:u=p=>{console.error(p)}}=e,h=U(g),Z=p9(h),G=(a?s.shallowRef:s.ref)(g),w=(t=e.serializer)!=null?t:RY[Z];if(!I)try{I=Vw("getDefaultStorageAsync",()=>{var p;return(p=kg)==null?void 0:p.localStorage})()}catch(p){u(p)}async function B(p){if(!(!I||p&&p.key!==C))try{const y=p?p.newValue:await I.getItem(C);if(y==null)G.value=h,l&&h!==null&&await I.setItem(C,await w.write(h));else if(o){const Y=await w.read(y);typeof o=="function"?G.value=o(Y,h):Z==="object"&&!Array.isArray(Y)?G.value={...h,...Y}:G.value=Y}else G.value=await w.read(y)}catch(y){u(y)}}return B(),d&&n&&ig(d,"storage",p=>Promise.resolve().then(()=>B(p))),I&&nr(G,async()=>{try{G.value==null?await I.removeItem(C):await I.setItem(C,await w.write(G.value))}catch(p){u(p)}},{flush:i,deep:A,eventFilter:m}),G}let cJg=0;function rJg(C,g={}){const I=s.ref(!1),{document:e=rt,immediate:t=!0,manual:i=!1,id:A=`vueuse_styletag_${++cJg}`}=g,n=s.ref(C);let l=()=>{};const o=()=>{if(!e)return;const d=e.getElementById(A)||e.createElement("style");d.isConnected||(d.id=A,g.media&&(d.media=g.media),e.head.appendChild(d)),!I.value&&(l=s.watch(n,m=>{d.textContent=m},{immediate:!0}),I.value=!0)},a=()=>{!e||!I.value||(l(),e.head.removeChild(e.getElementById(A)),I.value=!1)};return t&&!i&&ae(o),i||mI(a),{id:A,css:n,unload:a,load:o,isLoaded:s.readonly(I)}}function mJg(C,g={}){const{threshold:I=50,onSwipe:e,onSwipeEnd:t,onSwipeStart:i,passive:A=!0,window:n=kg}=g,l=s.reactive({x:0,y:0}),o=s.reactive({x:0,y:0}),a=s.computed(()=>l.x-o.x),d=s.computed(()=>l.y-o.y),{max:m,abs:u}=Math,h=s.computed(()=>m(u(a.value),u(d.value))>=I),Z=s.ref(!1),G=s.computed(()=>h.value?u(a.value)>u(d.value)?a.value>0?"left":"right":d.value>0?"up":"down":"none"),w=J=>[J.touches[0].clientX,J.touches[0].clientY],B=(J,X)=>{l.x=J,l.y=X},p=(J,X)=>{o.x=J,o.y=X};let y;const Y=uJg(n==null?void 0:n.document);A?y=Y?{passive:!0}:{capture:!1}:y=Y?{passive:!1,capture:!0}:{capture:!0};const R=J=>{Z.value&&(t==null||t(J,G.value)),Z.value=!1},M=[ig(C,"touchstart",J=>{if(J.touches.length!==1)return;y.capture&&!y.passive&&J.preventDefault();const[X,D]=w(J);B(X,D),p(X,D),i==null||i(J)},y),ig(C,"touchmove",J=>{if(J.touches.length!==1)return;const[X,D]=w(J);p(X,D),!Z.value&&h.value&&(Z.value=!0),Z.value&&(e==null||e(J))},y),ig(C,["touchend","touchcancel"],R,y)];return{isPassiveEventSupported:Y,isSwiping:Z,direction:G,coordsStart:l,coordsEnd:o,lengthX:a,lengthY:d,stop:()=>M.forEach(J=>J())}}function uJg(C){if(!C)return!1;let g=!1;const I={get passive(){return g=!0,!1}};return C.addEventListener("x",XI,I),C.removeEventListener("x",XI),g}function hJg(){const C=s.ref([]);return C.value.set=g=>{g&&C.value.push(g)},s.onBeforeUpdate(()=>{C.value.length=0}),C}function bJg(C={}){const{document:g=rt,selector:I="html",observe:e=!1,initialValue:t="ltr"}=C;function i(){var n,l;return(l=(n=g==null?void 0:g.querySelector(I))==null?void 0:n.getAttribute("dir"))!=null?l:t}const A=s.ref(i());return ae(()=>A.value=i()),e&&g&&ar(g.querySelector(I),()=>A.value=i(),{attributes:!0}),s.computed({get(){return A.value},set(n){var l,o;A.value=n,g&&(A.value?(l=g.querySelector(I))==null||l.setAttribute("dir",A.value):(o=g.querySelector(I))==null||o.removeAttribute("dir"))}})}function ZJg(C){var g;const I=(g=C.rangeCount)!=null?g:0;return Array.from({length:I},(e,t)=>C.getRangeAt(t))}function GJg(C={}){const{window:g=kg}=C,I=s.ref(null),e=s.computed(()=>{var n,l;return(l=(n=I.value)==null?void 0:n.toString())!=null?l:""}),t=s.computed(()=>I.value?ZJg(I.value):[]),i=s.computed(()=>t.value.map(n=>n.getBoundingClientRect()));function A(){I.value=null,g&&(I.value=g.getSelection())}return g&&ig(g.document,"selectionchange",A),{text:e,rects:i,ranges:t,selection:I}}function wJg(C){var g;const I=s.ref(C==null?void 0:C.element),e=s.ref(C==null?void 0:C.input),t=(g=C==null?void 0:C.styleProp)!=null?g:"height",i=s.ref(1),A=s.ref(0);function n(){var l;if(!I.value)return;let o="";I.value.style[t]="1px",i.value=(l=I.value)==null?void 0:l.scrollHeight;const a=U(C==null?void 0:C.styleTarget);a?a.style[t]=`${i.value}px`:o=`${i.value}px`,I.value.style[t]=o}return s.watch([e,I],()=>s.nextTick(n),{immediate:!0}),s.watch(i,()=>{var l;return(l=C==null?void 0:C.onResize)==null?void 0:l.call(C)}),Mw(I,([{contentRect:l}])=>{A.value!==l.width&&(A.value=l.width,n())}),C!=null&&C.watch&&s.watch(C.watch,n,{immediate:!0,deep:!0}),{textarea:I,input:e,triggerResize:n}}function WJg(C,g={}){const{throttle:I=200,trailing:e=!0}=g,t=Bh(I,e);return{...HY(C,{...g,eventFilter:t})}}const BJg=[{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"}],pJg={justNow:"just now",past:C=>C.match(/\d/)?`${C} ago`:C,future:C=>C.match(/\d/)?`in ${C}`:C,month:(C,g)=>C===1?g?"last month":"next month":`${C} month${C>1?"s":""}`,year:(C,g)=>C===1?g?"last year":"next year":`${C} year${C>1?"s":""}`,day:(C,g)=>C===1?g?"yesterday":"tomorrow":`${C} day${C>1?"s":""}`,week:(C,g)=>C===1?g?"last week":"next week":`${C} week${C>1?"s":""}`,hour:C=>`${C} hour${C>1?"s":""}`,minute:C=>`${C} minute${C>1?"s":""}`,second:C=>`${C} second${C>1?"s":""}`,invalid:""};function yJg(C){return C.toISOString().slice(0,10)}function YJg(C,g={}){const{controls:I=!1,updateInterval:e=3e4}=g,{now:t,...i}=T9({interval:e,controls:!0}),A=s.computed(()=>_9(new Date(U(C)),g,U(t)));return I?{timeAgo:A,...i}:A}function _9(C,g={},I=Date.now()){var e;const{max:t,messages:i=pJg,fullDateFormatter:A=yJg,units:n=BJg,showSecond:l=!1,rounding:o="round"}=g,a=typeof o=="number"?G=>+G.toFixed(o):Math[o],d=+I-+C,m=Math.abs(d);function u(G,w){return a(Math.abs(G)/w.value)}function h(G,w){const B=u(G,w),p=G>0,y=Z(w.name,B,p);return Z(p?"past":"future",y,p)}function Z(G,w,B){const p=i[G];return typeof p=="function"?p(w,B):p.replace("{0}",w.toString())}if(m<6e4&&!l)return i.justNow;if(typeof t=="number"&&m>t)return A(new Date(C));if(typeof t=="string"){const G=(e=n.find(w=>w.name===t))==null?void 0:e.max;if(G&&m>G)return A(new Date(C))}for(const[G,w]of n.entries()){if(u(d,w)<=0&&n[G-1])return h(d,n[G-1]);if(m<w.max)return h(d,w)}return i.invalid}function VJg(C,g,I){const{start:e}=sr(i,g,{immediate:!1}),t=s.ref(!1);async function i(){t.value&&(await C(),e())}function A(){t.value||(t.value=!0,i())}function n(){t.value=!1}return I!=null&&I.immediate&&A(),mI(n),{isActive:t,pause:n,resume:A}}function NJg(C={}){const{controls:g=!1,offset:I=0,immediate:e=!0,interval:t="requestAnimationFrame",callback:i}=C,A=s.ref(Xa()+I),n=()=>A.value=Xa()+I,l=i?()=>{n(),i(A.value)}:n,o=t==="requestAnimationFrame"?Sa(l,{immediate:e}):ks(l,t,{immediate:e});return g?{timestamp:A,...o}:A}function MJg(C=null,g={}){var I,e,t;const{document:i=rt,restoreOnUnmount:A=d=>d}=g,n=(I=i==null?void 0:i.title)!=null?I:"",l=LC((e=C??(i==null?void 0:i.title))!=null?e:null),o=C&&typeof C=="function";function a(d){if(!("titleTemplate"in g))return d;const m=g.titleTemplate||"%s";return typeof m=="function"?m(d):U(m).replace(/%s/g,d)}return s.watch(l,(d,m)=>{d!==m&&i&&(i.title=a(typeof d=="string"?d:""))},{immediate:!0}),g.observe&&!g.titleTemplate&&i&&!o&&ar((t=i.head)==null?void 0:t.querySelector("title"),()=>{i&&i.title!==l.value&&(l.value=a(i.title))},{childList:!0}),s9(()=>{if(A){const d=A(n,l.value||"");d!=null&&i&&(i.title=d)}}),l}const RJg=Object.assign({},{linear:wY},{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 fJg([C,g,I,e]){const t=(a,d)=>1-3*d+3*a,i=(a,d)=>3*d-6*a,A=a=>3*a,n=(a,d,m)=>((t(d,m)*a+i(d,m))*a+A(d))*a,l=(a,d,m)=>3*t(d,m)*a*a+2*i(d,m)*a+A(d),o=a=>{let d=a;for(let m=0;m<4;++m){const u=l(d,C,I);if(u===0)return d;const h=n(d,C,I)-a;d-=h/u}return d};return a=>C===g&&I===e?a:n(o(a),g,e)}function $9(C,g,I){return C+I*(g-C)}function kY(C){return(typeof C=="number"?[C]:C)||[]}function q9(C,g,I,e={}){var t,i;const A=U(g),n=U(I),l=kY(A),o=kY(n),a=(t=U(e.duration))!=null?t:1e3,d=Date.now(),m=Date.now()+a,u=typeof e.transition=="function"?e.transition:(i=U(e.transition))!=null?i:wY,h=typeof u=="function"?u:fJg(u);return new Promise(Z=>{C.value=A;const G=()=>{var w;if((w=e.abort)!=null&&w.call(e)){Z();return}const B=Date.now(),p=h((B-d)/a),y=kY(C.value).map((Y,R)=>$9(l[R],o[R],p));Array.isArray(C.value)?C.value=y.map((Y,R)=>{var M,K;return $9((M=l[R])!=null?M:0,(K=o[R])!=null?K:0,p)}):typeof C.value=="number"&&(C.value=y[0]),B<m?requestAnimationFrame(G):(C.value=n,Z())};G()})}function XJg(C,g={}){let I=0;const e=()=>{const i=U(C);return typeof i=="number"?i:i.map(U)},t=s.ref(e());return s.watch(e,async i=>{var A,n;if(U(g.disabled))return;const l=++I;if(g.delay&&await ph(U(g.delay)),l!==I)return;const o=Array.isArray(i)?i.map(U):U(i);(A=g.onStarted)==null||A.call(g),await q9(t,t.value,o,{...g,abort:()=>{var a;return l!==I||((a=g.abort)==null?void 0:a.call(g))}}),(n=g.onFinished)==null||n.call(g)},{deep:!0}),s.watch(()=>U(g.disabled),i=>{i&&(I++,t.value=e())}),mI(()=>{I++}),s.computed(()=>U(g.disabled)?e():t.value)}function HJg(C="history",g={}){const{initialValue:I={},removeNullishValues:e=!0,removeFalsyValues:t=!1,write:i=!0,window:A=kg}=g;if(!A)return s.reactive(I);const n=s.reactive({});function l(){if(C==="history")return A.location.search||"";if(C==="hash"){const w=A.location.hash||"",B=w.indexOf("?");return B>0?w.slice(B):""}else return(A.location.hash||"").replace(/^#/,"")}function o(w){const B=w.toString();if(C==="history")return`${B?`?${B}`:""}${A.location.hash||""}`;if(C==="hash-params")return`${A.location.search||""}${B?`#${B}`:""}`;const p=A.location.hash||"#",y=p.indexOf("?");return y>0?`${p.slice(0,y)}${B?`?${B}`:""}`:`${p}${B?`?${B}`:""}`}function a(){return new URLSearchParams(l())}function d(w){const B=new Set(Object.keys(n));for(const p of w.keys()){const y=w.getAll(p);n[p]=y.length>1?y:w.get(p)||"",B.delete(p)}Array.from(B).forEach(p=>delete n[p])}const{pause:m,resume:u}=lr(n,()=>{const w=new URLSearchParams("");Object.keys(n).forEach(B=>{const p=n[B];Array.isArray(p)?p.forEach(y=>w.append(B,y)):e&&p==null||t&&!p?w.delete(B):w.set(B,p)}),h(w)},{deep:!0});function h(w,B){m(),B&&d(w),A.history.replaceState(A.history.state,A.document.title,A.location.pathname+o(w)),u()}function Z(){i&&h(a(),!0)}ig(A,"popstate",Z,!1),C!=="history"&&ig(A,"hashchange",Z,!1);const G=a();return G.keys().next().value?d(G):Object.assign(n,I),n}function DJg(C={}){var g,I;const e=s.ref((g=C.enabled)!=null?g:!1),t=s.ref((I=C.autoSwitch)!=null?I:!0),i=s.ref(C.constraints),{navigator:A=Dt}=C,n=ZI(()=>{var Z;return(Z=A==null?void 0:A.mediaDevices)==null?void 0:Z.getUserMedia}),l=s.shallowRef();function o(Z){switch(Z){case"video":{if(i.value)return i.value.video||!1;break}case"audio":{if(i.value)return i.value.audio||!1;break}}}async function a(){if(!(!n.value||l.value))return l.value=await A.mediaDevices.getUserMedia({video:o("video"),audio:o("audio")}),l.value}function d(){var Z;(Z=l.value)==null||Z.getTracks().forEach(G=>G.stop()),l.value=void 0}function m(){d(),e.value=!1}async function u(){return await a(),l.value&&(e.value=!0),l.value}async function h(){return d(),await u()}return s.watch(e,Z=>{Z?a():d()},{immediate:!0}),s.watch(i,()=>{t.value&&l.value&&h()},{immediate:!0}),mI(()=>{m()}),{isSupported:n,stream:l,start:u,stop:m,restart:h,constraints:i,enabled:e,autoSwitch:t}}function gD(C,g,I,e={}){var t,i,A;const{clone:n=!1,passive:l=!1,eventName:o,deep:a=!1,defaultValue:d,shouldEmit:m}=e,u=s.getCurrentInstance(),h=I||(u==null?void 0:u.emit)||((t=u==null?void 0:u.$emit)==null?void 0:t.bind(u))||((A=(i=u==null?void 0:u.proxy)==null?void 0:i.$emit)==null?void 0:A.bind(u==null?void 0:u.proxy));let Z=o;g||(g="modelValue"),Z=Z||`update:${g.toString()}`;const G=p=>n?typeof n=="function"?n(p):Nh(p):p,w=()=>$H(C[g])?G(C[g]):d,B=p=>{m?m(p)&&h(Z,p):h(Z,p)};if(l){const p=w(),y=s.ref(p);let Y=!1;return s.watch(()=>C[g],R=>{Y||(Y=!0,y.value=G(R),s.nextTick(()=>Y=!1))}),s.watch(y,R=>{!Y&&(R!==C[g]||a)&&B(R)},{deep:a}),y}else return s.computed({get(){return w()},set(p){B(p)}})}function SJg(C,g,I={}){const e={};for(const t in C)e[t]=gD(C,t,g,I);return e}function KJg(C){const{pattern:g=[],interval:I=0,navigator:e=Dt}=C||{},t=ZI(()=>typeof e<"u"&&"vibrate"in e),i=LC(g);let A;const n=(o=i.value)=>{t.value&&e.vibrate(o)},l=()=>{t.value&&e.vibrate(0),A==null||A.pause()};return I>0&&(A=ks(n,I,{immediate:!1,immediateCallback:!1})),{isSupported:t,pattern:g,intervalControls:A,vibrate:n,stop:l}}function kJg(C,g){const{containerStyle:I,wrapperProps:e,scrollTo:t,calculateRange:i,currentList:A,containerRef:n}="itemHeight"in g?JJg(g,C):zJg(g,C);return{list:A,scrollTo:t,containerProps:{ref:n,onScroll:()=>{i()},style:I},wrapperProps:e}}function ID(C){const g=s.ref(null),I=f9(g),e=s.ref([]),t=s.shallowRef(C);return{state:s.ref({start:0,end:10}),source:t,currentList:e,size:I,containerRef:g}}function CD(C,g,I){return e=>{if(typeof I=="number")return Math.ceil(e/I);const{start:t=0}=C.value;let i=0,A=0;for(let n=t;n<g.value.length;n++){const l=I(n);if(i+=l,A=n,i>e)break}return A-t}}function eD(C,g){return I=>{if(typeof g=="number")return Math.floor(I/g)+1;let e=0,t=0;for(let i=0;i<C.value.length;i++){const A=g(i);if(e+=A,e>=I){t=i;break}}return t+1}}function tD(C,g,I,e,{containerRef:t,state:i,currentList:A,source:n}){return()=>{const l=t.value;if(l){const o=I(C==="vertical"?l.scrollTop:l.scrollLeft),a=e(C==="vertical"?l.clientHeight:l.clientWidth),d=o-g,m=o+a+g;i.value={start:d<0?0:d,end:m>n.value.length?n.value.length:m},A.value=n.value.slice(i.value.start,i.value.end).map((u,h)=>({data:u,index:h+i.value.start}))}}}function iD(C,g){return I=>typeof C=="number"?I*C:g.value.slice(0,I).reduce((t,i,A)=>t+C(A),0)}function AD(C,g,I,e){s.watch([C.width,C.height,g,I],()=>{e()})}function nD(C,g){return s.computed(()=>typeof C=="number"?g.value.length*C:g.value.reduce((I,e,t)=>I+C(t),0))}const FJg={horizontal:"scrollLeft",vertical:"scrollTop"};function lD(C,g,I,e){return t=>{e.value&&(e.value[FJg[C]]=I(t),g())}}function zJg(C,g){const I=ID(g),{state:e,source:t,currentList:i,size:A,containerRef:n}=I,l={overflowX:"auto"},{itemWidth:o,overscan:a=5}=C,d=CD(e,t,o),m=eD(t,o),u=tD("horizontal",a,m,d,I),h=iD(o,t),Z=s.computed(()=>h(e.value.start)),G=nD(o,t);AD(A,g,n,u);const w=lD("horizontal",u,h,n),B=s.computed(()=>({style:{height:"100%",width:`${G.value-Z.value}px`,marginLeft:`${Z.value}px`,display:"flex"}}));return{scrollTo:w,calculateRange:u,wrapperProps:B,containerStyle:l,currentList:i,containerRef:n}}function JJg(C,g){const I=ID(g),{state:e,source:t,currentList:i,size:A,containerRef:n}=I,l={overflowY:"auto"},{itemHeight:o,overscan:a=5}=C,d=CD(e,t,o),m=eD(t,o),u=tD("vertical",a,m,d,I),h=iD(o,t),Z=s.computed(()=>h(e.value.start)),G=nD(o,t);AD(A,g,n,u);const w=lD("vertical",u,h,n),B=s.computed(()=>({style:{width:"100%",height:`${G.value-Z.value}px`,marginTop:`${Z.value}px`}}));return{calculateRange:u,scrollTo:w,containerStyle:l,wrapperProps:B,currentList:i,containerRef:n}}function LJg(C={}){const{navigator:g=Dt,document:I=rt}=C,e=s.ref(!1),t=s.shallowRef(null),i=R9({document:I}),A=ZI(()=>g&&"wakeLock"in g),n=s.computed(()=>!!t.value&&i.value==="visible");A.value&&(ig(t,"release",()=>{var d,m;e.value=(m=(d=t.value)==null?void 0:d.type)!=null?m:!1}),m9(()=>i.value==="visible"&&(I==null?void 0:I.visibilityState)==="visible"&&e.value,d=>{e.value=!1,l(d)}));async function l(d){var m;await((m=t.value)==null?void 0:m.release()),t.value=A.value?await g.wakeLock.request(d):null}async function o(d){i.value==="visible"?await l(d):e.value=d}async function a(){e.value=!1;const d=t.value;t.value=null,await(d==null?void 0:d.release())}return{sentinel:t,isSupported:A,isActive:n,request:o,forceRequest:l,release:a}}function TJg(C={}){const{window:g=kg,requestPermissions:I=!0}=C,e=C,t=ZI(()=>{if(!g||!("Notification"in g))return!1;try{new Notification("")}catch{return!1}return!0}),i=s.ref(t.value&&"permission"in Notification&&Notification.permission==="granted"),A=s.ref(null),n=async()=>{if(t.value)return!i.value&&Notification.permission!=="denied"&&await Notification.requestPermission()==="granted"&&(i.value=!0),i.value},{on:l,trigger:o}=ct(),{on:a,trigger:d}=ct(),{on:m,trigger:u}=ct(),{on:h,trigger:Z}=ct(),G=async B=>{if(!t.value||!i.value)return;const p=Object.assign({},e,B);return A.value=new Notification(p.title||"",p),A.value.onclick=o,A.value.onshow=d,A.value.onerror=u,A.value.onclose=Z,A.value},w=()=>{A.value&&A.value.close(),A.value=null};if(I&&ae(n),mI(w),t.value&&g){const B=g.document;ig(B,"visibilitychange",p=>{p.preventDefault(),B.visibilityState==="visible"&&w()})}return{isSupported:t,notification:A,ensurePermissions:n,permissionGranted:i,show:G,close:w,onClick:l,onShow:a,onError:m,onClose:h}}const sD="ping";function FY(C){return C===!0?{}:C}function vJg(C,g={}){const{onConnected:I,onDisconnected:e,onError:t,onMessage:i,immediate:A=!0,autoClose:n=!0,protocols:l=[]}=g,o=s.ref(null),a=s.ref("CLOSED"),d=s.ref(),m=LC(C);let u,h,Z=!1,G=0,w=[],B;const p=()=>{if(w.length&&d.value&&a.value==="OPEN"){for(const J of w)d.value.send(J);w=[]}},y=()=>{clearTimeout(B),B=void 0},Y=(J=1e3,X)=>{!oe||!d.value||(Z=!0,y(),u==null||u(),d.value.close(J,X),d.value=void 0)},R=(J,X=!0)=>!d.value||a.value!=="OPEN"?(X&&w.push(J),!1):(p(),d.value.send(J),!0),M=()=>{if(Z||typeof m.value>"u")return;const J=new WebSocket(m.value,l);d.value=J,a.value="CONNECTING",J.onopen=()=>{a.value="OPEN",G=0,I==null||I(J),h==null||h(),p()},J.onclose=X=>{if(a.value="CLOSED",e==null||e(J,X),!Z&&g.autoReconnect&&J===d.value){const{retries:D=-1,delay:z=1e3,onFailed:j}=FY(g.autoReconnect);typeof D=="number"&&(D<0||G<D)?(G+=1,setTimeout(M,z)):typeof D=="function"&&D()?setTimeout(M,z):j==null||j()}},J.onerror=X=>{t==null||t(J,X)},J.onmessage=X=>{if(g.heartbeat){y();const{message:D=sD,responseMessage:z=D}=FY(g.heartbeat);if(X.data===z)return}o.value=X.data,i==null||i(J,X)}};if(g.heartbeat){const{message:J=sD,interval:X=1e3,pongTimeout:D=1e3}=FY(g.heartbeat),{pause:z,resume:j}=ks(()=>{R(J,!1),B==null&&(B=setTimeout(()=>{Y(),Z=!1},D))},X,{immediate:!1});u=z,h=j}n&&(oe&&ig("beforeunload",()=>Y()),mI(Y));const K=()=>{!oe&&!_H||(Y(),Z=!1,G=0,M())};return A&&K(),s.watch(m,K),{data:o,status:a,close:Y,send:R,open:K,ws:d}}function jJg(C,g,I){const{window:e=kg}=I??{},t=s.ref(null),i=s.shallowRef(),A=(...l)=>{i.value&&i.value.postMessage(...l)},n=function(){i.value&&i.value.terminate()};return e&&(typeof C=="string"?i.value=new Worker(C,g):typeof C=="function"?i.value=C():i.value=C,i.value.onmessage=l=>{t.value=l.data},mI(()=>{i.value&&i.value.terminate()})),{data:t,post:A,terminate:n,worker:i}}function xJg(C){return g=>{const I=g.data[0];return Promise.resolve(C.apply(void 0,I)).then(e=>{postMessage(["SUCCESS",e])}).catch(e=>{postMessage(["ERROR",e])})}}function OJg(C,g){if(C.length===0&&g.length===0)return"";const I=C.map(i=>`'${i}'`).toString(),e=g.filter(i=>typeof i=="function").map(i=>{const A=i.toString();return A.trim().startsWith("function")?A:`const ${i.name} = ${A}`}).join(";"),t=`importScripts(${I});`;return`${I.trim()===""?"":t} ${e}`}function QJg(C,g,I){const e=`${OJg(g,I)}; onmessage=(${xJg})(${C})`,t=new Blob([e],{type:"text/javascript"});return URL.createObjectURL(t)}function UJg(C,g={}){const{dependencies:I=[],localDependencies:e=[],timeout:t,window:i=kg}=g,A=s.ref(),n=s.ref("PENDING"),l=s.ref({}),o=s.ref(),a=(h="PENDING")=>{A.value&&A.value._url&&i&&(A.value.terminate(),URL.revokeObjectURL(A.value._url),l.value={},A.value=void 0,i.clearTimeout(o.value),n.value=h)};a(),mI(a);const d=()=>{const h=QJg(C,I,e),Z=new Worker(h);return Z._url=h,Z.onmessage=G=>{const{resolve:w=()=>{},reject:B=()=>{}}=l.value,[p,y]=G.data;switch(p){case"SUCCESS":w(y),a(p);break;default:B(y),a("ERROR");break}},Z.onerror=G=>{const{reject:w=()=>{}}=l.value;G.preventDefault(),w(G),a("ERROR")},t&&(o.value=setTimeout(()=>a("TIMEOUT_EXPIRED"),t)),Z},m=(...h)=>new Promise((Z,G)=>{var w;l.value={resolve:Z,reject:G},(w=A.value)==null||w.postMessage([[...h]]),n.value="RUNNING"});return{workerFn:(...h)=>n.value==="RUNNING"?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(A.value=d(),m(...h)),workerStatus:n,workerTerminate:a}}function EJg(C={}){const{window:g=kg}=C;if(!g)return s.ref(!1);const I=s.ref(g.document.hasFocus());return ig(g,"blur",()=>{I.value=!1}),ig(g,"focus",()=>{I.value=!0}),I}function PJg(C={}){const{window:g=kg,behavior:I="auto"}=C;if(!g)return{x:s.ref(0),y:s.ref(0)};const e=s.ref(g.scrollX),t=s.ref(g.scrollY),i=s.computed({get(){return e.value},set(n){scrollTo({left:n,behavior:I})}}),A=s.computed({get(){return t.value},set(n){scrollTo({top:n,behavior:I})}});return ig(g,"scroll",()=>{e.value=g.scrollX,t.value=g.scrollY},{capture:!1,passive:!0}),{x:i,y:A}}function _Jg(C={}){const{window:g=kg,initialWidth:I=Number.POSITIVE_INFINITY,initialHeight:e=Number.POSITIVE_INFINITY,listenOrientation:t=!0,includeScrollbar:i=!0,type:A="inner"}=C,n=s.ref(I),l=s.ref(e),o=()=>{g&&(A==="outer"?(n.value=g.outerWidth,l.value=g.outerHeight):i?(n.value=g.innerWidth,l.value=g.innerHeight):(n.value=g.document.documentElement.clientWidth,l.value=g.document.documentElement.clientHeight))};if(o(),ae(o),ig("resize",o,{passive:!0}),t){const a=St("(orientation: portrait)");s.watch(a,()=>o())}return{width:n,height:l}}const $Jg=Object.freeze(Object.defineProperty({__proto__:null,DefaultMagicKeysAliasMap:F9,StorageSerializers:RY,TransitionPresets:RJg,assert:Ekg,asyncComputed:u9,autoResetRef:n9,breakpointsAntDesign:pFg,breakpointsBootstrapV5:wFg,breakpointsMasterCss:VFg,breakpointsPrimeFlex:NFg,breakpointsQuasar:yFg,breakpointsSematic:YFg,breakpointsTailwind:GFg,breakpointsVuetify:BFg,breakpointsVuetifyV2:w9,breakpointsVuetifyV3:WFg,bypassFilter:Wh,camelize:I9,clamp:Zw,cloneFnJSON:Nh,computedAsync:u9,computedEager:xH,computedInject:U3g,computedWithControl:hY,containsProp:WY,controlledComputed:hY,controlledRef:l3g,createEventHook:ct,createFetch:szg,createFilterWrapper:Ha,createGlobalState:Lkg,createInjectionState:Tkg,createReactiveFn:bY,createReusableTemplate:E3g,createSharedComposable:vkg,createSingletonPromise:C9,createTemplatePromise:_3g,createUnrefFn:$3g,customStorageEventName:fY,debounceFilter:ww,debouncedRef:BY,debouncedWatch:c9,defaultDocument:rt,defaultLocation:q3g,defaultNavigator:Dt,defaultWindow:kg,directiveHooks:g3g,eagerComputed:xH,executeTransition:q9,extendRef:UH,formatDate:a9,formatTimeAgo:_9,get:jkg,getLifeCycleTarget:yh,getSSRHandler:Vw,hasOwn:qH,hyphenate:C3g,identity:wY,ignorableWatch:or,increaseWithUnit:e9,injectLocal:QH,invoke:t3g,isClient:oe,isDef:$H,isDefined:xkg,isIOS:Gw,isObject:wh,isWorker:_H,makeDestructurable:EH,mapGamepadToXbox360Controller:bzg,noop:XI,normalizeDate:d9,notNullish:bw,now:_kg,objectEntries:A9,objectOmit:i9,objectPick:t9,onClickOutside:gFg,onKeyDown:CFg,onKeyPressed:eFg,onKeyStroke:Bw,onKeyUp:tFg,onLongPress:nFg,onStartTyping:oFg,pausableFilter:GY,pausableWatch:lr,promiseTimeout:ph,provideLocal:OH,rand:$kg,reactify:bY,reactifyObject:Qkg,reactiveComputed:ZY,reactiveOmit:Ukg,reactivePick:A3g,refAutoReset:n9,refDebounced:BY,refDefault:n3g,refThrottled:yY,refWithControl:l9,resolveRef:i3g,resolveUnref:Okg,set:s3g,setSSRHandler:kFg,syncRef:YY,syncRefs:o3g,templateRef:aFg,throttleFilter:Bh,throttledRef:yY,throttledWatch:r9,timestamp:Xa,toReactive:PH,toRef:LC,toRefs:VY,toValue:U,tryOnBeforeMount:a3g,tryOnBeforeUnmount:s9,tryOnMounted:ae,tryOnScopeDispose:mI,tryOnUnmounted:o9,unrefElement:dI,until:Yh,useActiveElement:Z9,useAnimate:dFg,useArrayDifference:c3g,useArrayEvery:r3g,useArrayFilter:m3g,useArrayFind:u3g,useArrayFindIndex:h3g,useArrayFindLast:Z3g,useArrayIncludes:w3g,useArrayJoin:W3g,useArrayMap:B3g,useArrayReduce:p3g,useArraySome:y3g,useArrayUnique:N3g,useAsyncQueue:cFg,useAsyncState:G9,useBase64:uFg,useBattery:bFg,useBluetooth:ZFg,useBreakpoints:MFg,useBroadcastChannel:RFg,useBrowserLocation:fFg,useCached:XFg,useClipboard:HFg,useClipboardItems:DFg,useCloned:SFg,useColorMode:y9,useConfirmDialog:zFg,useCounter:M3g,useCssVar:Mh,useCurrentElement:Y9,useCycleList:JFg,useDark:LFg,useDateFormat:H3g,useDebounce:BY,useDebounceFn:Ww,useDebouncedRefHistory:xFg,useDeviceMotion:OFg,useDeviceOrientation:M9,useDevicePixelRatio:QFg,useDevicesList:UFg,useDisplayMedia:EFg,useDocumentVisibility:R9,useDraggable:PFg,useDropZone:_Fg,useElementBounding:$Fg,useElementByPoint:qFg,useElementHover:gzg,useElementSize:f9,useElementVisibility:H9,useEventBus:Izg,useEventListener:ig,useEventSource:ezg,useEyeDropper:tzg,useFavicon:izg,useFetch:D9,useFileDialog:dzg,useFileSystemAccess:czg,useFocus:rzg,useFocusWithin:mzg,useFps:uzg,useFullscreen:hzg,useGamepad:Zzg,useGeolocation:Gzg,useIdle:Bzg,useImage:yzg,useInfiniteScroll:Yzg,useIntersectionObserver:X9,useInterval:D3g,useIntervalFn:ks,useKeyModifier:Nzg,useLastChanged:S3g,useLocalStorage:Mzg,useMagicKeys:Rzg,useManualRefHistory:N9,useMediaControls:Hzg,useMediaQuery:St,useMemoize:Dzg,useMemory:Szg,useMounted:b9,useMouse:z9,useMouseInElement:J9,useMousePressed:kzg,useMutationObserver:ar,useNavigatorLanguage:Fzg,useNetwork:L9,useNow:T9,useObjectUrl:zzg,useOffsetPagination:Jzg,useOnline:Lzg,usePageLeave:Tzg,useParallax:vzg,useParentElement:jzg,usePerformanceObserver:xzg,usePermission:pw,usePointer:Qzg,usePointerLock:Uzg,usePointerSwipe:Ezg,usePreferredColorScheme:Pzg,usePreferredContrast:_zg,usePreferredDark:XY,usePreferredLanguages:$zg,usePreferredReducedMotion:qzg,usePrevious:gJg,useRafFn:Sa,useRefHistory:HY,useResizeObserver:Mw,useScreenOrientation:j9,useScreenSafeArea:IJg,useScriptTag:CJg,useScroll:k9,useScrollLock:tJg,useSessionStorage:iJg,useShare:AJg,useSorted:lJg,useSpeechRecognition:sJg,useSpeechSynthesis:oJg,useStepper:aJg,useStorage:Nw,useStorageAsync:dJg,useStyleTag:rJg,useSupported:ZI,useSwipe:mJg,useTemplateRefsList:hJg,useTextDirection:bJg,useTextSelection:GJg,useTextareaAutosize:wJg,useThrottle:yY,useThrottleFn:pY,useThrottledRefHistory:WJg,useTimeAgo:YJg,useTimeout:K3g,useTimeoutFn:sr,useTimeoutPoll:VJg,useTimestamp:NJg,useTitle:MJg,useToNumber:k3g,useToString:F3g,useToggle:z3g,useTransition:XJg,useUrlSearchParams:HJg,useUserMedia:DJg,useVModel:gD,useVModels:SJg,useVibrate:KJg,useVirtualList:kJg,useWakeLock:LJg,useWebNotification:TJg,useWebSocket:vJg,useWebWorker:jJg,useWebWorkerFn:UJg,useWindowFocus:EJg,useWindowScroll:PJg,useWindowSize:_Jg,watchArray:J3g,watchAtMost:L3g,watchDebounced:c9,watchDeep:T3g,watchIgnorable:or,watchImmediate:v3g,watchOnce:j3g,watchPausable:lr,watchThrottled:r9,watchTriggerable:x3g,watchWithFilter:nr,whenever:m9},Symbol.toStringTag,{value:"Module"})),qJg=["data-testid"],gLg=["data-testid"],Dw=fg(s.defineComponent({__name:"Dialog",props:{open:{type:Boolean},width:{},height:{},noClose:{type:Boolean},dataTestid:{default:"Dialog"}},emits:["close"],setup(C,{emit:g}){const I=C,e=s.ref(null),t=s.useAttrs(),i=s.ref(!1),A=s.computed(()=>({width:I.width,height:I.height})),n=g,l=()=>{var a;(a=e.value)==null||a.close(),n("close")},o=()=>{var a;return I.open?(a=e.value)==null?void 0:a.showModal():l()};return ig(e,"mousedown",a=>{!I.noClose&&a.target===e.value&&l()}),ig(e,"keydown",a=>{(a.key==="Escape"||a.key==="Esc")&&(I.noClose||l())}),s.onMounted(()=>{s.watchEffect(()=>{I.open!==i.value&&(o(),i.value=I.open)})}),(a,d)=>(s.openBlock(),s.createElementBlock("dialog",s.mergeProps({ref_key:"dialog",ref:e},s.unref(t),{class:"dialog-yui-kit","data-testid":I.dataTestid}),[s.createElementVNode("div",{"data-testid":`${I.dataTestid}-Content`,class:"dialog-yui-kit__dialog-content",style:s.normalizeStyle(A.value)},[s.renderSlot(a.$slots,"default",{},void 0,!0)],12,gLg)],16,qJg))}}),[["__scopeId","data-v-406eddb7"]]),ILg={class:"time-picker-dialog-content"},CLg={class:"time-picker-header"},eLg={key:0,class:"clock-face"},tLg={key:1,class:"clock-face"},iLg={key:0,class:"clock-number__dot"},ALg={class:"time-picker-actions"},Sw=fg(s.defineComponent({__name:"TimePicker",props:{modelValue:{},disabled:{type:Boolean},hideClearButton:{type:Boolean}},emits:["update:modelValue"],setup(C,{emit:g}){const I=C,e=g,t=s.reactive({openModal:!1,hours:void 0,minutes:void 0,editingValue:"hour",openClock:!1,localHours:void 0,localMinutes:void 0}),i=s.ref(null);s.watch(()=>I.modelValue,y=>{if(y){const Y=new Date(y);t.localHours=Y.getHours(),t.localMinutes=Y.getMinutes()}else t.localHours=void 0,t.localMinutes=void 0},{immediate:!0}),s.watch(()=>t.openModal,y=>{y&&(t.hours=Number(t.localHours)||0,t.minutes=Number(t.localMinutes)||0)});const A=s.computed(()=>t.localHours!==void 0&&t.localMinutes!==void 0?`${String(t.localHours).padStart(2,"0")}:${String(t.localMinutes).padStart(2,"0")}`:"-- --"),n=s.computed(()=>({transform:`rotate(${(t.hours??0)%12*30}deg)`})),l=s.computed(()=>({transform:`rotate(${(t.minutes??0)*6}deg)`}));function o(y,Y=100){const R=y%12/12*360,M=Y*Math.sin(R*Math.PI/180),K=-Y*Math.cos(R*Math.PI/180);return{left:`calc(50% + ${M}px - 24.5px)`,top:`calc(50% + ${K}px - 23.5px)`}}function a(y){var J;const Y=(J=i.value)==null?void 0:J.getBoundingClientRect();if(!Y)return 0;const R=y.clientX-(Y.left+Y.width/2),M=y.clientY-(Y.top+Y.height/2);return(Math.atan2(M,R)*(180/Math.PI)+90+360)%360}function d(y){const Y=a(y);if(t.editingValue==="hour"){const M=Math.hypot(y.clientX-(i.value.getBoundingClientRect().left+128),y.clientY-(i.value.getBoundingClientRect().top+128))<90,K=Math.round(Y/30)%12||12;t.hours=(M?K+12:K)%24}else t.minutes=Math.round(Y/6)%60}function m(y){d(y)}function u(y){d(y),document.addEventListener("mousemove",h),document.addEventListener("mouseup",Z)}function h(y){d(y)}function Z(){document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",Z)}s.onBeforeUnmount(()=>Z());function G(){t.openModal=!1}function w(){t.editingValue="hour",t.openModal=!0}function B(){if(t.hours===void 0||t.minutes===void 0)return;const y=I.modelValue?new Date(I.modelValue):new Date,Y=new Date(y.getFullYear(),y.getMonth(),y.getDate(),+t.hours,+t.minutes,0,0),R=new Date(Y.getTime()).toISOString();e("update:modelValue",R),t.localHours=t.hours,t.localMinutes=t.minutes,G()}function p(){t.hours=void 0,t.minutes=void 0,t.localHours=void 0,t.localMinutes=void 0,e("update:modelValue",null)}return(y,Y)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass({"time-picker-select":!0,disabled:I.disabled})},[s.createElementVNode("div",{class:"time-picker-select-content",onClick:w},[s.createVNode(Xg,{name:s.unref(ug).time},null,8,["name"]),s.createElementVNode("span",null,s.toDisplayString(A.value),1),!I.hideClearButton&&(t.localHours!==void 0||t.localMinutes!==void 0)?(s.openBlock(),s.createElementBlock("div",{key:0,class:"time-picker-select-clear",onClick:s.withModifiers(p,["stop"])},[s.createVNode(Xg,{name:s.unref(ug).closeTag,width:16,height:16},null,8,["name"])])):s.createCommentVNode("",!0)]),s.createVNode(Dw,{open:t.openModal,onClose:G,class:"time-picker-dialog",width:"328px"},{default:s.withCtx(()=>[s.createElementVNode("div",ILg,[Y[11]||(Y[11]=s.createElementVNode("h3",null,"Установка времени",-1)),s.createElementVNode("div",CLg,[s.createElementVNode("div",null,[s.createVNode(Gh,{"model-value":t.hours,"onUpdate:modelValue":Y[0]||(Y[0]=R=>t.hours=+R),min:0,max:23,class:s.normalizeClass({"time-picker-input":!0,pressed:t.editingValue==="hour"}),"input-message":"","is-integer":"","zero-pad":"",onClick:Y[1]||(Y[1]=R=>t.editingValue="hour")},null,8,["model-value","class"]),Y[5]||(Y[5]=s.createElementVNode("span",null,"Часы",-1))]),Y[7]||(Y[7]=s.createElementVNode("span",{class:"time-picker-separator"},":",-1)),s.createElementVNode("div",null,[s.createVNode(Gh,{"model-value":t.minutes,"onUpdate:modelValue":Y[2]||(Y[2]=R=>t.minutes=+R),min:0,max:59,class:s.normalizeClass({"time-picker-input":!0,pressed:t.editingValue==="minute"}),"input-message":"","is-integer":"","zero-pad":"",onClick:Y[3]||(Y[3]=R=>t.editingValue="minute")},null,8,["model-value","class"]),Y[6]||(Y[6]=s.createElementVNode("span",null,"Минуты",-1))])]),t.openClock?(s.openBlock(),s.createElementBlock("div",{key:0,class:"time-picker-clock",ref_key:"clockRef",ref:i,onMousedown:u,onClick:m},[t.editingValue==="hour"?(s.openBlock(),s.createElementBlock("div",eLg,[s.createElementVNode("div",{class:"clock-hand",style:s.normalizeStyle(n.value)},null,4),(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(12,R=>s.createElementVNode("div",{key:"outer-"+R,class:s.normalizeClass({"clock-number":!0,active:R===Number(t.hours)}),style:s.normalizeStyle(o(R,100))},s.toDisplayString(R),7)),64)),(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(12,R=>s.createElementVNode("div",{key:"inner-"+R,class:s.normalizeClass({"clock-number":!0,active:R+12===(Number(t.hours)||24)}),style:s.normalizeStyle(o(R+12,70))},s.toDisplayString(R+12),7)),64))])):(s.openBlock(),s.createElementBlock("div",tLg,[s.createElementVNode("div",{class:"clock-hand",style:s.normalizeStyle(l.value)},null,4),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(Array.from({length:60},(R,M)=>M),R=>(s.openBlock(),s.createElementBlock("div",{key:R,class:s.normalizeClass({"clock-number":!0,active:R===Number(t.minutes||0)}),style:s.normalizeStyle(o(R/5,100))},[R===Number(t.minutes)&&R%5?(s.openBlock(),s.createElementBlock("div",iLg)):s.createCommentVNode("",!0),s.createTextVNode(" "+s.toDisplayString(R%5?"":R%60),1)],6))),128))])),Y[8]||(Y[8]=s.createElementVNode("div",{class:"clock-hand-center"},null,-1))],544)):s.createCommentVNode("",!0),s.createElementVNode("div",ALg,[s.createElementVNode("div",{class:"time-picker-actions__switch",onClick:Y[4]||(Y[4]=R=>t.openClock=!t.openClock)},[s.createVNode(Xg,{name:t.openClock?s.unref(ug).keyboard:s.unref(ug).time},null,8,["name"])]),s.createVNode(sC,{size:s.unref(it).little,type:s.unref(MI).ghost,onClick:G},{default:s.withCtx(()=>[...Y[9]||(Y[9]=[s.createTextVNode("Отменить ",-1)])]),_:1},8,["size","type"]),s.createVNode(sC,{size:s.unref(it).little,type:s.unref(MI).primary,onClick:B},{default:s.withCtx(()=>[...Y[10]||(Y[10]=[s.createTextVNode("Сохранить ",-1)])]),_:1},8,["size","type"])])])]),_:1},8,["open"])],2))}}),[["__scopeId","data-v-f6885a57"]]),nLg=["data-testid"],lLg=["data-testid"],sLg=["data-testid"],oLg=fg(s.defineComponent({__name:"DataPickerChoose",props:s.mergeModels({value:{},isActive:{type:Boolean},isTimeSelect:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerChoose"}},{modelValue:{},modelModifiers:{}}),emits:s.mergeModels(["clear","click","change"],["update:modelValue"]),setup(C,{emit:g}){const I=C,e=s.reactive({defaultValue:"-- -- ----",value:"",isActive:!1}),t=g,i=s.useModel(C,"modelValue");s.watchEffect(()=>e.isActive=I.isActive),s.watchEffect(()=>e.value=I.value);const A=a=>{t("change",a)},n=()=>{t("clear")},l=()=>{t("click")},o=a=>{if(!a)return null;const d=a.indexOf(" "),m=d===-1?3:Math.min(d,3);return`${a.charAt(0).toUpperCase()}${a.slice(1,m)}${a.slice(d)}`};return(a,d)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["data-picker-choose",{"data-picker-choose_time":I.isTimeSelect}])},[s.createElementVNode("button",{onClick:l,class:s.normalizeClass(["date-picker-yui-kit__header-btn",{"date-picker-yui-kit__header-btn_table-view":I.isSmall},{"date-picker-yui-kit__header-btn_range-view":I.isRange},{"date-disable-yui-kit":I.disabled},{"date-active-yui-kit":e.isActive}]),"data-testid":`${I.dataTestid}-HeaderBtn-Trigger`},[s.createVNode(Xg,{name:s.unref(ug).calendar,"data-testid":`${I.dataTestid}-Icon`},null,8,["name","data-testid"]),e.value?(s.openBlock(),s.createElementBlock("span",{key:0,"data-testid":`${I.dataTestid}-Value-Display`},s.toDisplayString(o(e.value)),9,lLg)):(s.openBlock(),s.createElementBlock("span",{key:1,class:"date-picker-yui-kit__header-btn__dash","data-testid":`${I.dataTestid}-HeaderBtnDash-Placeholder`},s.toDisplayString(e.defaultValue),9,sLg)),e.value&&!I.isTimeSelect?(s.openBlock(),s.createBlock(sC,{key:2,size:s.unref(it).small,type:s.unref(MI).ghost,disabled:I.disabled,onClick:s.withModifiers(n,["stop"]),class:"date-picker-close-yui-kit","data-testid":`${I.dataTestid}-Button-Clear`},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).crossSmall,"data-testid":`${I.dataTestid}-ButtonClose-Icon`},null,8,["name","data-testid"])]),_:1},8,["size","type","disabled","data-testid"])):s.createCommentVNode("",!0)],10,nLg),I.isTimeSelect?(s.openBlock(),s.createBlock(Sw,{key:0,disabled:I.disabled,class:"data-picker-choose__time-picker",modelValue:i.value,"onUpdate:modelValue":[d[0]||(d[0]=m=>i.value=m),A]},null,8,["disabled","modelValue"])):s.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-75b78477"]]),oD=["top","right","bottom","left"],aD=["start","end"],dD=oD.reduce((C,g)=>C.concat(g,g+"-"+aD[0],g+"-"+aD[1]),[]),YA=Math.min,Oe=Math.max,Kw=Math.round,kw=Math.floor,cn=C=>({x:C,y:C}),aLg={left:"right",right:"left",bottom:"top",top:"bottom"},dLg={start:"end",end:"start"};function zY(C,g,I){return Oe(C,YA(g,I))}function VA(C,g){return typeof C=="function"?C(g):C}function ti(C){return C.split("-")[0]}function NA(C){return C.split("-")[1]}function JY(C){return C==="x"?"y":"x"}function LY(C){return C==="y"?"height":"width"}const cLg=new Set(["top","bottom"]);function MA(C){return cLg.has(ti(C))?"y":"x"}function TY(C){return JY(MA(C))}function cD(C,g,I){I===void 0&&(I=!1);const e=NA(C),t=TY(C),i=LY(t);let A=t==="x"?e===(I?"end":"start")?"right":"left":e==="start"?"bottom":"top";return g.reference[i]>g.floating[i]&&(A=zw(A)),[A,zw(A)]}function rLg(C){const g=zw(C);return[Fw(C),g,Fw(g)]}function Fw(C){return C.replace(/start|end/g,g=>dLg[g])}const rD=["left","right"],mD=["right","left"],mLg=["top","bottom"],uLg=["bottom","top"];function hLg(C,g,I){switch(C){case"top":case"bottom":return I?g?mD:rD:g?rD:mD;case"left":case"right":return g?mLg:uLg;default:return[]}}function bLg(C,g,I,e){const t=NA(C);let i=hLg(ti(C),I==="start",e);return t&&(i=i.map(A=>A+"-"+t),g&&(i=i.concat(i.map(Fw)))),i}function zw(C){return C.replace(/left|right|bottom|top/g,g=>aLg[g])}function ZLg(C){return{top:0,right:0,bottom:0,left:0,...C}}function vY(C){return typeof C!="number"?ZLg(C):{top:C,right:C,bottom:C,left:C}}function cr(C){const{x:g,y:I,width:e,height:t}=C;return{width:e,height:t,top:I,left:g,right:g+e,bottom:I+t,x:g,y:I}}function uD(C,g,I){let{reference:e,floating:t}=C;const i=MA(g),A=TY(g),n=LY(A),l=ti(g),o=i==="y",a=e.x+e.width/2-t.width/2,d=e.y+e.height/2-t.height/2,m=e[n]/2-t[n]/2;let u;switch(l){case"top":u={x:a,y:e.y-t.height};break;case"bottom":u={x:a,y:e.y+e.height};break;case"right":u={x:e.x+e.width,y:d};break;case"left":u={x:e.x-t.width,y:d};break;default:u={x:e.x,y:e.y}}switch(NA(g)){case"start":u[A]-=m*(I&&o?-1:1);break;case"end":u[A]+=m*(I&&o?-1:1);break}return u}const GLg=async(C,g,I)=>{const{placement:e="bottom",strategy:t="absolute",middleware:i=[],platform:A}=I,n=i.filter(Boolean),l=await(A.isRTL==null?void 0:A.isRTL(g));let o=await A.getElementRects({reference:C,floating:g,strategy:t}),{x:a,y:d}=uD(o,e,l),m=e,u={},h=0;for(let Z=0;Z<n.length;Z++){const{name:G,fn:w}=n[Z],{x:B,y:p,data:y,reset:Y}=await w({x:a,y:d,initialPlacement:e,placement:m,strategy:t,middlewareData:u,rects:o,platform:A,elements:{reference:C,floating:g}});a=B??a,d=p??d,u={...u,[G]:{...u[G],...y}},Y&&h<=50&&(h++,typeof Y=="object"&&(Y.placement&&(m=Y.placement),Y.rects&&(o=Y.rects===!0?await A.getElementRects({reference:C,floating:g,strategy:t}):Y.rects),{x:a,y:d}=uD(o,m,l)),Z=-1)}return{x:a,y:d,placement:m,strategy:t,middlewareData:u}};async function Ka(C,g){var I;g===void 0&&(g={});const{x:e,y:t,platform:i,rects:A,elements:n,strategy:l}=C,{boundary:o="clippingAncestors",rootBoundary:a="viewport",elementContext:d="floating",altBoundary:m=!1,padding:u=0}=VA(g,C),h=vY(u),G=n[m?d==="floating"?"reference":"floating":d],w=cr(await i.getClippingRect({element:(I=await(i.isElement==null?void 0:i.isElement(G)))==null||I?G:G.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(n.floating)),boundary:o,rootBoundary:a,strategy:l})),B=d==="floating"?{x:e,y:t,width:A.floating.width,height:A.floating.height}:A.reference,p=await(i.getOffsetParent==null?void 0:i.getOffsetParent(n.floating)),y=await(i.isElement==null?void 0:i.isElement(p))?await(i.getScale==null?void 0:i.getScale(p))||{x:1,y:1}:{x:1,y:1},Y=cr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:n,rect:B,offsetParent:p,strategy:l}):B);return{top:(w.top-Y.top+h.top)/y.y,bottom:(Y.bottom-w.bottom+h.bottom)/y.y,left:(w.left-Y.left+h.left)/y.x,right:(Y.right-w.right+h.right)/y.x}}const wLg=C=>({name:"arrow",options:C,async fn(g){const{x:I,y:e,placement:t,rects:i,platform:A,elements:n,middlewareData:l}=g,{element:o,padding:a=0}=VA(C,g)||{};if(o==null)return{};const d=vY(a),m={x:I,y:e},u=TY(t),h=LY(u),Z=await A.getDimensions(o),G=u==="y",w=G?"top":"left",B=G?"bottom":"right",p=G?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[u]-m[u]-i.floating[h],Y=m[u]-i.reference[u],R=await(A.getOffsetParent==null?void 0:A.getOffsetParent(o));let M=R?R[p]:0;(!M||!await(A.isElement==null?void 0:A.isElement(R)))&&(M=n.floating[p]||i.floating[h]);const K=y/2-Y/2,J=M/2-Z[h]/2-1,X=YA(d[w],J),D=YA(d[B],J),z=X,j=M-Z[h]-D,q=M/2-Z[h]/2+K,gg=zY(z,q,j),Q=!l.arrow&&NA(t)!=null&&q!==gg&&i.reference[h]/2-(q<z?X:D)-Z[h]/2<0,_=Q?q<z?q-z:q-j:0;return{[u]:m[u]+_,data:{[u]:gg,centerOffset:q-gg-_,...Q&&{alignmentOffset:_}},reset:Q}}});function WLg(C,g,I){return(C?[...I.filter(t=>NA(t)===C),...I.filter(t=>NA(t)!==C)]:I.filter(t=>ti(t)===t)).filter(t=>C?NA(t)===C||(g?Fw(t)!==t:!1):!0)}const BLg=function(C){return C===void 0&&(C={}),{name:"autoPlacement",options:C,async fn(g){var I,e,t;const{rects:i,middlewareData:A,placement:n,platform:l,elements:o}=g,{crossAxis:a=!1,alignment:d,allowedPlacements:m=dD,autoAlignment:u=!0,...h}=VA(C,g),Z=d!==void 0||m===dD?WLg(d||null,u,m):m,G=await Ka(g,h),w=((I=A.autoPlacement)==null?void 0:I.index)||0,B=Z[w];if(B==null)return{};const p=cD(B,i,await(l.isRTL==null?void 0:l.isRTL(o.floating)));if(n!==B)return{reset:{placement:Z[0]}};const y=[G[ti(B)],G[p[0]],G[p[1]]],Y=[...((e=A.autoPlacement)==null?void 0:e.overflows)||[],{placement:B,overflows:y}],R=Z[w+1];if(R)return{data:{index:w+1,overflows:Y},reset:{placement:R}};const M=Y.map(X=>{const D=NA(X.placement);return[X.placement,D&&a?X.overflows.slice(0,2).reduce((z,j)=>z+j,0):X.overflows[0],X.overflows]}).sort((X,D)=>X[1]-D[1]),J=((t=M.filter(X=>X[2].slice(0,NA(X[0])?2:3).every(D=>D<=0))[0])==null?void 0:t[0])||M[0][0];return J!==n?{data:{index:w+1,overflows:Y},reset:{placement:J}}:{}}}},pLg=function(C){return C===void 0&&(C={}),{name:"flip",options:C,async fn(g){var I,e;const{placement:t,middlewareData:i,rects:A,initialPlacement:n,platform:l,elements:o}=g,{mainAxis:a=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:Z=!0,...G}=VA(C,g);if((I=i.arrow)!=null&&I.alignmentOffset)return{};const w=ti(t),B=MA(n),p=ti(n)===n,y=await(l.isRTL==null?void 0:l.isRTL(o.floating)),Y=m||(p||!Z?[zw(n)]:rLg(n)),R=h!=="none";!m&&R&&Y.push(...bLg(n,Z,h,y));const M=[n,...Y],K=await Ka(g,G),J=[];let X=((e=i.flip)==null?void 0:e.overflows)||[];if(a&&J.push(K[w]),d){const q=cD(t,A,y);J.push(K[q[0]],K[q[1]])}if(X=[...X,{placement:t,overflows:J}],!J.every(q=>q<=0)){var D,z;const q=(((D=i.flip)==null?void 0:D.index)||0)+1,gg=M[q];if(gg&&(!(d==="alignment"?B!==MA(gg):!1)||X.every(og=>MA(og.placement)===B?og.overflows[0]>0:!0)))return{data:{index:q,overflows:X},reset:{placement:gg}};let Q=(z=X.filter(_=>_.overflows[0]<=0).sort((_,og)=>_.overflows[1]-og.overflows[1])[0])==null?void 0:z.placement;if(!Q)switch(u){case"bestFit":{var j;const _=(j=X.filter(og=>{if(R){const eg=MA(og.placement);return eg===B||eg==="y"}return!0}).map(og=>[og.placement,og.overflows.filter(eg=>eg>0).reduce((eg,mg)=>eg+mg,0)]).sort((og,eg)=>og[1]-eg[1])[0])==null?void 0:j[0];_&&(Q=_);break}case"initialPlacement":Q=n;break}if(t!==Q)return{reset:{placement:Q}}}return{}}}};function hD(C,g){return{top:C.top-g.height,right:C.right-g.width,bottom:C.bottom-g.height,left:C.left-g.width}}function bD(C){return oD.some(g=>C[g]>=0)}const yLg=function(C){return C===void 0&&(C={}),{name:"hide",options:C,async fn(g){const{rects:I}=g,{strategy:e="referenceHidden",...t}=VA(C,g);switch(e){case"referenceHidden":{const i=await Ka(g,{...t,elementContext:"reference"}),A=hD(i,I.reference);return{data:{referenceHiddenOffsets:A,referenceHidden:bD(A)}}}case"escaped":{const i=await Ka(g,{...t,altBoundary:!0}),A=hD(i,I.floating);return{data:{escapedOffsets:A,escaped:bD(A)}}}default:return{}}}}};function ZD(C){const g=YA(...C.map(i=>i.left)),I=YA(...C.map(i=>i.top)),e=Oe(...C.map(i=>i.right)),t=Oe(...C.map(i=>i.bottom));return{x:g,y:I,width:e-g,height:t-I}}function YLg(C){const g=C.slice().sort((t,i)=>t.y-i.y),I=[];let e=null;for(let t=0;t<g.length;t++){const i=g[t];!e||i.y-e.y>e.height/2?I.push([i]):I[I.length-1].push(i),e=i}return I.map(t=>cr(ZD(t)))}const VLg=function(C){return C===void 0&&(C={}),{name:"inline",options:C,async fn(g){const{placement:I,elements:e,rects:t,platform:i,strategy:A}=g,{padding:n=2,x:l,y:o}=VA(C,g),a=Array.from(await(i.getClientRects==null?void 0:i.getClientRects(e.reference))||[]),d=YLg(a),m=cr(ZD(a)),u=vY(n);function h(){if(d.length===2&&d[0].left>d[1].right&&l!=null&&o!=null)return d.find(G=>l>G.left-u.left&&l<G.right+u.right&&o>G.top-u.top&&o<G.bottom+u.bottom)||m;if(d.length>=2){if(MA(I)==="y"){const X=d[0],D=d[d.length-1],z=ti(I)==="top",j=X.top,q=D.bottom,gg=z?X.left:D.left,Q=z?X.right:D.right,_=Q-gg,og=q-j;return{top:j,bottom:q,left:gg,right:Q,width:_,height:og,x:gg,y:j}}const G=ti(I)==="left",w=Oe(...d.map(X=>X.right)),B=YA(...d.map(X=>X.left)),p=d.filter(X=>G?X.left===B:X.right===w),y=p[0].top,Y=p[p.length-1].bottom,R=B,M=w,K=M-R,J=Y-y;return{top:y,bottom:Y,left:R,right:M,width:K,height:J,x:R,y}}return m}const Z=await i.getElementRects({reference:{getBoundingClientRect:h},floating:e.floating,strategy:A});return t.reference.x!==Z.reference.x||t.reference.y!==Z.reference.y||t.reference.width!==Z.reference.width||t.reference.height!==Z.reference.height?{reset:{rects:Z}}:{}}}},GD=new Set(["left","top"]);async function NLg(C,g){const{placement:I,platform:e,elements:t}=C,i=await(e.isRTL==null?void 0:e.isRTL(t.floating)),A=ti(I),n=NA(I),l=MA(I)==="y",o=GD.has(A)?-1:1,a=i&&l?-1:1,d=VA(g,C);let{mainAxis:m,crossAxis:u,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return n&&typeof h=="number"&&(u=n==="end"?h*-1:h),l?{x:u*a,y:m*o}:{x:m*o,y:u*a}}const MLg=function(C){return C===void 0&&(C=0),{name:"offset",options:C,async fn(g){var I,e;const{x:t,y:i,placement:A,middlewareData:n}=g,l=await NLg(g,C);return A===((I=n.offset)==null?void 0:I.placement)&&(e=n.arrow)!=null&&e.alignmentOffset?{}:{x:t+l.x,y:i+l.y,data:{...l,placement:A}}}}},RLg=function(C){return C===void 0&&(C={}),{name:"shift",options:C,async fn(g){const{x:I,y:e,placement:t}=g,{mainAxis:i=!0,crossAxis:A=!1,limiter:n={fn:G=>{let{x:w,y:B}=G;return{x:w,y:B}}},...l}=VA(C,g),o={x:I,y:e},a=await Ka(g,l),d=MA(ti(t)),m=JY(d);let u=o[m],h=o[d];if(i){const G=m==="y"?"top":"left",w=m==="y"?"bottom":"right",B=u+a[G],p=u-a[w];u=zY(B,u,p)}if(A){const G=d==="y"?"top":"left",w=d==="y"?"bottom":"right",B=h+a[G],p=h-a[w];h=zY(B,h,p)}const Z=n.fn({...g,[m]:u,[d]:h});return{...Z,data:{x:Z.x-I,y:Z.y-e,enabled:{[m]:i,[d]:A}}}}}},fLg=function(C){return C===void 0&&(C={}),{options:C,fn(g){const{x:I,y:e,placement:t,rects:i,middlewareData:A}=g,{offset:n=0,mainAxis:l=!0,crossAxis:o=!0}=VA(C,g),a={x:I,y:e},d=MA(t),m=JY(d);let u=a[m],h=a[d];const Z=VA(n,g),G=typeof Z=="number"?{mainAxis:Z,crossAxis:0}:{mainAxis:0,crossAxis:0,...Z};if(l){const p=m==="y"?"height":"width",y=i.reference[m]-i.floating[p]+G.mainAxis,Y=i.reference[m]+i.reference[p]-G.mainAxis;u<y?u=y:u>Y&&(u=Y)}if(o){var w,B;const p=m==="y"?"width":"height",y=GD.has(ti(t)),Y=i.reference[d]-i.floating[p]+(y&&((w=A.offset)==null?void 0:w[d])||0)+(y?0:G.crossAxis),R=i.reference[d]+i.reference[p]+(y?0:((B=A.offset)==null?void 0:B[d])||0)-(y?G.crossAxis:0);h<Y?h=Y:h>R&&(h=R)}return{[m]:u,[d]:h}}}},XLg=function(C){return C===void 0&&(C={}),{name:"size",options:C,async fn(g){var I,e;const{placement:t,rects:i,platform:A,elements:n}=g,{apply:l=()=>{},...o}=VA(C,g),a=await Ka(g,o),d=ti(t),m=NA(t),u=MA(t)==="y",{width:h,height:Z}=i.floating;let G,w;d==="top"||d==="bottom"?(G=d,w=m===(await(A.isRTL==null?void 0:A.isRTL(n.floating))?"start":"end")?"left":"right"):(w=d,G=m==="end"?"top":"bottom");const B=Z-a.top-a.bottom,p=h-a.left-a.right,y=YA(Z-a[G],B),Y=YA(h-a[w],p),R=!g.middlewareData.shift;let M=y,K=Y;if((I=g.middlewareData.shift)!=null&&I.enabled.x&&(K=p),(e=g.middlewareData.shift)!=null&&e.enabled.y&&(M=B),R&&!m){const X=Oe(a.left,0),D=Oe(a.right,0),z=Oe(a.top,0),j=Oe(a.bottom,0);u?K=h-2*(X!==0||D!==0?X+D:Oe(a.left,a.right)):M=Z-2*(z!==0||j!==0?z+j:Oe(a.top,a.bottom))}await l({...g,availableWidth:K,availableHeight:M});const J=await A.getDimensions(n.floating);return h!==J.width||Z!==J.height?{reset:{rects:!0}}:{}}}};function Jw(){return typeof window<"u"}function ka(C){return jY(C)?(C.nodeName||"").toLowerCase():"#document"}function ii(C){var g;return(C==null||(g=C.ownerDocument)==null?void 0:g.defaultView)||window}function rn(C){var g;return(g=(jY(C)?C.ownerDocument:C.document)||window.document)==null?void 0:g.documentElement}function jY(C){return Jw()?C instanceof Node||C instanceof ii(C).Node:!1}function RA(C){return Jw()?C instanceof Element||C instanceof ii(C).Element:!1}function mn(C){return Jw()?C instanceof HTMLElement||C instanceof ii(C).HTMLElement:!1}function wD(C){return!Jw()||typeof ShadowRoot>"u"?!1:C instanceof ShadowRoot||C instanceof ii(C).ShadowRoot}const HLg=new Set(["inline","contents"]);function Xh(C){const{overflow:g,overflowX:I,overflowY:e,display:t}=fA(C);return/auto|scroll|overlay|hidden|clip/.test(g+e+I)&&!HLg.has(t)}const DLg=new Set(["table","td","th"]);function SLg(C){return DLg.has(ka(C))}const KLg=[":popover-open",":modal"];function Lw(C){return KLg.some(g=>{try{return C.matches(g)}catch{return!1}})}const kLg=["transform","translate","scale","rotate","perspective"],FLg=["transform","translate","scale","rotate","perspective","filter"],zLg=["paint","layout","strict","content"];function xY(C){const g=OY(),I=RA(C)?fA(C):C;return kLg.some(e=>I[e]?I[e]!=="none":!1)||(I.containerType?I.containerType!=="normal":!1)||!g&&(I.backdropFilter?I.backdropFilter!=="none":!1)||!g&&(I.filter?I.filter!=="none":!1)||FLg.some(e=>(I.willChange||"").includes(e))||zLg.some(e=>(I.contain||"").includes(e))}function JLg(C){let g=Fs(C);for(;mn(g)&&!rr(g);){if(xY(g))return g;if(Lw(g))return null;g=Fs(g)}return null}function OY(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const LLg=new Set(["html","body","#document"]);function rr(C){return LLg.has(ka(C))}function fA(C){return ii(C).getComputedStyle(C)}function Tw(C){return RA(C)?{scrollLeft:C.scrollLeft,scrollTop:C.scrollTop}:{scrollLeft:C.scrollX,scrollTop:C.scrollY}}function Fs(C){if(ka(C)==="html")return C;const g=C.assignedSlot||C.parentNode||wD(C)&&C.host||rn(C);return wD(g)?g.host:g}function WD(C){const g=Fs(C);return rr(g)?C.ownerDocument?C.ownerDocument.body:C.body:mn(g)&&Xh(g)?g:WD(g)}function mr(C,g,I){var e;g===void 0&&(g=[]),I===void 0&&(I=!0);const t=WD(C),i=t===((e=C.ownerDocument)==null?void 0:e.body),A=ii(t);if(i){const n=QY(A);return g.concat(A,A.visualViewport||[],Xh(t)?t:[],n&&I?mr(n):[])}return g.concat(t,mr(t,[],I))}function QY(C){return C.parent&&Object.getPrototypeOf(C.parent)?C.frameElement:null}function BD(C){const g=fA(C);let I=parseFloat(g.width)||0,e=parseFloat(g.height)||0;const t=mn(C),i=t?C.offsetWidth:I,A=t?C.offsetHeight:e,n=Kw(I)!==i||Kw(e)!==A;return n&&(I=i,e=A),{width:I,height:e,$:n}}function UY(C){return RA(C)?C:C.contextElement}function ur(C){const g=UY(C);if(!mn(g))return cn(1);const I=g.getBoundingClientRect(),{width:e,height:t,$:i}=BD(g);let A=(i?Kw(I.width):I.width)/e,n=(i?Kw(I.height):I.height)/t;return(!A||!Number.isFinite(A))&&(A=1),(!n||!Number.isFinite(n))&&(n=1),{x:A,y:n}}const TLg=cn(0);function pD(C){const g=ii(C);return!OY()||!g.visualViewport?TLg:{x:g.visualViewport.offsetLeft,y:g.visualViewport.offsetTop}}function vLg(C,g,I){return g===void 0&&(g=!1),!I||g&&I!==ii(C)?!1:g}function Fa(C,g,I,e){g===void 0&&(g=!1),I===void 0&&(I=!1);const t=C.getBoundingClientRect(),i=UY(C);let A=cn(1);g&&(e?RA(e)&&(A=ur(e)):A=ur(C));const n=vLg(i,I,e)?pD(i):cn(0);let l=(t.left+n.x)/A.x,o=(t.top+n.y)/A.y,a=t.width/A.x,d=t.height/A.y;if(i){const m=ii(i),u=e&&RA(e)?ii(e):e;let h=m,Z=QY(h);for(;Z&&e&&u!==h;){const G=ur(Z),w=Z.getBoundingClientRect(),B=fA(Z),p=w.left+(Z.clientLeft+parseFloat(B.paddingLeft))*G.x,y=w.top+(Z.clientTop+parseFloat(B.paddingTop))*G.y;l*=G.x,o*=G.y,a*=G.x,d*=G.y,l+=p,o+=y,h=ii(Z),Z=QY(h)}}return cr({width:a,height:d,x:l,y:o})}function EY(C,g){const I=Tw(C).scrollLeft;return g?g.left+I:Fa(rn(C)).left+I}function yD(C,g,I){I===void 0&&(I=!1);const e=C.getBoundingClientRect(),t=e.left+g.scrollLeft-(I?0:EY(C,e)),i=e.top+g.scrollTop;return{x:t,y:i}}function jLg(C){let{elements:g,rect:I,offsetParent:e,strategy:t}=C;const i=t==="fixed",A=rn(e),n=g?Lw(g.floating):!1;if(e===A||n&&i)return I;let l={scrollLeft:0,scrollTop:0},o=cn(1);const a=cn(0),d=mn(e);if((d||!d&&!i)&&((ka(e)!=="body"||Xh(A))&&(l=Tw(e)),mn(e))){const u=Fa(e);o=ur(e),a.x=u.x+e.clientLeft,a.y=u.y+e.clientTop}const m=A&&!d&&!i?yD(A,l,!0):cn(0);return{width:I.width*o.x,height:I.height*o.y,x:I.x*o.x-l.scrollLeft*o.x+a.x+m.x,y:I.y*o.y-l.scrollTop*o.y+a.y+m.y}}function xLg(C){return Array.from(C.getClientRects())}function OLg(C){const g=rn(C),I=Tw(C),e=C.ownerDocument.body,t=Oe(g.scrollWidth,g.clientWidth,e.scrollWidth,e.clientWidth),i=Oe(g.scrollHeight,g.clientHeight,e.scrollHeight,e.clientHeight);let A=-I.scrollLeft+EY(C);const n=-I.scrollTop;return fA(e).direction==="rtl"&&(A+=Oe(g.clientWidth,e.clientWidth)-t),{width:t,height:i,x:A,y:n}}function QLg(C,g){const I=ii(C),e=rn(C),t=I.visualViewport;let i=e.clientWidth,A=e.clientHeight,n=0,l=0;if(t){i=t.width,A=t.height;const o=OY();(!o||o&&g==="fixed")&&(n=t.offsetLeft,l=t.offsetTop)}return{width:i,height:A,x:n,y:l}}const ULg=new Set(["absolute","fixed"]);function ELg(C,g){const I=Fa(C,!0,g==="fixed"),e=I.top+C.clientTop,t=I.left+C.clientLeft,i=mn(C)?ur(C):cn(1),A=C.clientWidth*i.x,n=C.clientHeight*i.y,l=t*i.x,o=e*i.y;return{width:A,height:n,x:l,y:o}}function YD(C,g,I){let e;if(g==="viewport")e=QLg(C,I);else if(g==="document")e=OLg(rn(C));else if(RA(g))e=ELg(g,I);else{const t=pD(C);e={x:g.x-t.x,y:g.y-t.y,width:g.width,height:g.height}}return cr(e)}function VD(C,g){const I=Fs(C);return I===g||!RA(I)||rr(I)?!1:fA(I).position==="fixed"||VD(I,g)}function PLg(C,g){const I=g.get(C);if(I)return I;let e=mr(C,[],!1).filter(n=>RA(n)&&ka(n)!=="body"),t=null;const i=fA(C).position==="fixed";let A=i?Fs(C):C;for(;RA(A)&&!rr(A);){const n=fA(A),l=xY(A);!l&&n.position==="fixed"&&(t=null),(i?!l&&!t:!l&&n.position==="static"&&!!t&&ULg.has(t.position)||Xh(A)&&!l&&VD(C,A))?e=e.filter(a=>a!==A):t=n,A=Fs(A)}return g.set(C,e),e}function _Lg(C){let{element:g,boundary:I,rootBoundary:e,strategy:t}=C;const A=[...I==="clippingAncestors"?Lw(g)?[]:PLg(g,this._c):[].concat(I),e],n=A[0],l=A.reduce((o,a)=>{const d=YD(g,a,t);return o.top=Oe(d.top,o.top),o.right=YA(d.right,o.right),o.bottom=YA(d.bottom,o.bottom),o.left=Oe(d.left,o.left),o},YD(g,n,t));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function $Lg(C){const{width:g,height:I}=BD(C);return{width:g,height:I}}function qLg(C,g,I){const e=mn(g),t=rn(g),i=I==="fixed",A=Fa(C,!0,i,g);let n={scrollLeft:0,scrollTop:0};const l=cn(0);function o(){l.x=EY(t)}if(e||!e&&!i)if((ka(g)!=="body"||Xh(t))&&(n=Tw(g)),e){const u=Fa(g,!0,i,g);l.x=u.x+g.clientLeft,l.y=u.y+g.clientTop}else t&&o();i&&!e&&t&&o();const a=t&&!e&&!i?yD(t,n):cn(0),d=A.left+n.scrollLeft-l.x-a.x,m=A.top+n.scrollTop-l.y-a.y;return{x:d,y:m,width:A.width,height:A.height}}function PY(C){return fA(C).position==="static"}function ND(C,g){if(!mn(C)||fA(C).position==="fixed")return null;if(g)return g(C);let I=C.offsetParent;return rn(C)===I&&(I=I.ownerDocument.body),I}function MD(C,g){const I=ii(C);if(Lw(C))return I;if(!mn(C)){let t=Fs(C);for(;t&&!rr(t);){if(RA(t)&&!PY(t))return t;t=Fs(t)}return I}let e=ND(C,g);for(;e&&SLg(e)&&PY(e);)e=ND(e,g);return e&&rr(e)&&PY(e)&&!xY(e)?I:e||JLg(C)||I}const gTg=async function(C){const g=this.getOffsetParent||MD,I=this.getDimensions,e=await I(C.floating);return{reference:qLg(C.reference,await g(C.floating),C.strategy),floating:{x:0,y:0,width:e.width,height:e.height}}};function ITg(C){return fA(C).direction==="rtl"}const RD={convertOffsetParentRelativeRectToViewportRelativeRect:jLg,getDocumentElement:rn,getClippingRect:_Lg,getOffsetParent:MD,getElementRects:gTg,getClientRects:xLg,getDimensions:$Lg,getScale:ur,isElement:RA,isRTL:ITg};function fD(C,g){return C.x===g.x&&C.y===g.y&&C.width===g.width&&C.height===g.height}function CTg(C,g){let I=null,e;const t=rn(C);function i(){var n;clearTimeout(e),(n=I)==null||n.disconnect(),I=null}function A(n,l){n===void 0&&(n=!1),l===void 0&&(l=1),i();const o=C.getBoundingClientRect(),{left:a,top:d,width:m,height:u}=o;if(n||g(),!m||!u)return;const h=kw(d),Z=kw(t.clientWidth-(a+m)),G=kw(t.clientHeight-(d+u)),w=kw(a),p={rootMargin:-h+"px "+-Z+"px "+-G+"px "+-w+"px",threshold:Oe(0,YA(1,l))||1};let y=!0;function Y(R){const M=R[0].intersectionRatio;if(M!==l){if(!y)return A();M?A(!1,M):e=setTimeout(()=>{A(!1,1e-7)},1e3)}M===1&&!fD(o,C.getBoundingClientRect())&&A(),y=!1}try{I=new IntersectionObserver(Y,{...p,root:t.ownerDocument})}catch{I=new IntersectionObserver(Y,p)}I.observe(C)}return A(!0),i}function XD(C,g,I,e){e===void 0&&(e={});const{ancestorScroll:t=!0,ancestorResize:i=!0,elementResize:A=typeof ResizeObserver=="function",layoutShift:n=typeof IntersectionObserver=="function",animationFrame:l=!1}=e,o=UY(C),a=t||i?[...o?mr(o):[],...mr(g)]:[];a.forEach(w=>{t&&w.addEventListener("scroll",I,{passive:!0}),i&&w.addEventListener("resize",I)});const d=o&&n?CTg(o,I):null;let m=-1,u=null;A&&(u=new ResizeObserver(w=>{let[B]=w;B&&B.target===o&&u&&(u.unobserve(g),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var p;(p=u)==null||p.observe(g)})),I()}),o&&!l&&u.observe(o),u.observe(g));let h,Z=l?Fa(C):null;l&&G();function G(){const w=Fa(C);Z&&!fD(Z,w)&&I(),Z=w,h=requestAnimationFrame(G)}return I(),()=>{var w;a.forEach(B=>{t&&B.removeEventListener("scroll",I),i&&B.removeEventListener("resize",I)}),d==null||d(),(w=u)==null||w.disconnect(),u=null,l&&cancelAnimationFrame(h)}}const eTg=Ka,HD=MLg,DD=BLg,tTg=RLg,iTg=pLg,ATg=XLg,nTg=yLg,lTg=wLg,sTg=VLg,oTg=fLg,SD=(C,g,I)=>{const e=new Map,t={platform:RD,...I},i={...t.platform,_c:e};return GLg(C,g,{...t,platform:i})};function aTg(C){return C!=null&&typeof C=="object"&&"$el"in C}function _Y(C){if(aTg(C)){const g=C.$el;return jY(g)&&ka(g)==="#comment"?null:g}return C}function hr(C){return typeof C=="function"?C():s.unref(C)}function dTg(C){return{name:"arrow",options:C,fn(g){const I=_Y(hr(C.element));return I==null?{}:lTg({element:I,padding:C.padding}).fn(g)}}}function KD(C){return typeof window>"u"?1:(C.ownerDocument.defaultView||window).devicePixelRatio||1}function kD(C,g){const I=KD(C);return Math.round(g*I)/I}function FD(C,g,I){I===void 0&&(I={});const e=I.whileElementsMounted,t=s.computed(()=>{var M;return(M=hr(I.open))!=null?M:!0}),i=s.computed(()=>hr(I.middleware)),A=s.computed(()=>{var M;return(M=hr(I.placement))!=null?M:"bottom"}),n=s.computed(()=>{var M;return(M=hr(I.strategy))!=null?M:"absolute"}),l=s.computed(()=>{var M;return(M=hr(I.transform))!=null?M:!0}),o=s.computed(()=>_Y(C.value)),a=s.computed(()=>_Y(g.value)),d=s.ref(0),m=s.ref(0),u=s.ref(n.value),h=s.ref(A.value),Z=s.shallowRef({}),G=s.ref(!1),w=s.computed(()=>{const M={position:u.value,left:"0",top:"0"};if(!a.value)return M;const K=kD(a.value,d.value),J=kD(a.value,m.value);return l.value?{...M,transform:"translate("+K+"px, "+J+"px)",...KD(a.value)>=1.5&&{willChange:"transform"}}:{position:u.value,left:K+"px",top:J+"px"}});let B;function p(){if(o.value==null||a.value==null)return;const M=t.value;SD(o.value,a.value,{middleware:i.value,placement:A.value,strategy:n.value}).then(K=>{d.value=K.x,m.value=K.y,u.value=K.strategy,h.value=K.placement,Z.value=K.middlewareData,G.value=M!==!1})}function y(){typeof B=="function"&&(B(),B=void 0)}function Y(){if(y(),e===void 0){p();return}if(o.value!=null&&a.value!=null){B=e(o.value,a.value,p);return}}function R(){t.value||(G.value=!1)}return s.watch([i,A,n,t],p,{flush:"sync"}),s.watch([o,a],Y,{flush:"sync"}),s.watch(t,R,{flush:"sync"}),s.getCurrentScope()&&s.onScopeDispose(y),{x:s.shallowReadonly(d),y:s.shallowReadonly(m),strategy:s.shallowReadonly(u),placement:s.shallowReadonly(h),middlewareData:s.shallowReadonly(Z),isPositioned:s.shallowReadonly(G),floatingStyles:w,update:p}}const cTg=fg(s.defineComponent({__name:"PopoverWrapper",props:{placement:{default:"bottom-start"},open:{type:Boolean,default:!1}},emits:["unmount-close"],setup(C,{emit:g}){const I=C,e=g,t=s.ref(null),i=s.ref(null),A=s.ref(null),n=s.ref(null),{floatingStyles:l}=FD(i,A,{middleware:[HD(10),DD({crossAxis:!0,allowedPlacements:["top-start","bottom-start"]})],strategy:n.value?"fixed":"absolute",placement:I.placement,whileElementsMounted:XD}),o=()=>{e("unmount-close")},a=d=>{t.value&&!t.value.contains(d.target)&&A.value&&!A.value.contains(d.target)&&o()};return s.onBeforeUnmount(()=>{document.removeEventListener("click",a)}),s.onMounted(()=>{if(document.addEventListener("click",a),t.value){const d=t.value.closest("dialog");d?n.value=d:n.value=document.body}}),(d,m)=>(s.openBlock(),s.createElementBlock("div",{class:"popover-wrapper",ref_key:"popoverWrapper",ref:t},[s.createElementVNode("div",{class:"popover-trigger",ref_key:"popoverTrigger",ref:i},[s.renderSlot(d.$slots,"trigger",{},void 0,!0)],512),(s.openBlock(),s.createBlock(s.Teleport,{to:n.value,disabled:!n.value},[I.open?(s.openBlock(),s.createElementBlock("div",{key:0,ref_key:"popoverContent",ref:A,class:s.normalizeClass(["popover-content",[`popover-${C.placement}`,{"popover-show":I.open}]]),style:s.normalizeStyle(s.unref(l))},[s.renderSlot(d.$slots,"default",{},void 0,!0)],6)):s.createCommentVNode("",!0)],8,["to","disabled"]))],512))}}),[["__scopeId","data-v-e86cee72"]]),zD=C=>C instanceof Date&&!isNaN(C.getTime()),vw=C=>{const g=zD(C)&&C!==null?C:new Date;return new Date(Date.UTC(g.getFullYear(),g.getMonth(),g.getDate(),23,59,59,999))},JD=C=>{const g=zD(C)&&C!==null?C:new Date,I={year:g.getFullYear(),month:g.getMonth(),day:g.getDate()};return new Date(Date.UTC(I.year,I.month,I.day))},rTg=(C,g)=>{if(!C)return"";g!=="ru-RU"&&(g="en-US");const I=new Date(C),e=uw(g),t=I.getDate().toString().padStart(2,"0"),i=I.getFullYear().toString();return`${e[I.getMonth()]} ${t}, ${i}`},mTg=["data-testid"],uTg=[".date",".minDate",".maxDate","locale","data-testid"],$Y=s.defineComponent({__name:"DatePicker",props:s.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isSelectTime:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePicker"}},{modelValue:{},modelModifiers:{}}),emits:s.mergeModels(["clear","change"],["update:modelValue"]),setup(C,{expose:g,emit:I}){const e=C,t=s.reactive({isActive:!1,isOpen:{months:!1,years:!1},isNotClear:!0,startDate:null,endDate:null}),i=I,A=s.useModel(C,"modelValue"),n=s.computed(()=>{if(!A.value)return null;const p=new Date(A.value);return isNaN(p.getTime())?null:p}),l=()=>{t.isNotClear=!1,A.value=null,i("clear"),setTimeout(()=>t.isNotClear=!0,1),a({detail:{date:null}})},o=p=>{i("change",p?new Date(p):null)},a=({detail:p})=>{if(!p)return;let y=p.date;n.value&&y&&(y=new Date(y.getFullYear(),y.getMonth(),y.getDate(),n.value.getHours(),n.value.getMinutes())),A.value=y,t.isActive=!1,i("change",y)},d=()=>{t.isOpen.months=!0},m=()=>{t.isOpen.years=!0},u=()=>{t.isOpen.months=!1},h=()=>{t.isOpen.years=!1},Z=()=>{t.isActive=!1,u(),h()};s.watchEffect(()=>t.startDate=e.startDate??null),s.watchEffect(()=>t.endDate=e.endDate??null);const G=()=>{const p=t.startDate??new Date;if(e.startDate){const y=n.value??new Date;if(p.valueOf()<=y.valueOf())return p;if(p!=null)return p}return null},w=()=>{const p=t.endDate??new Date;if(e.endDate){const y=n.value??new Date;if(p.valueOf()>=y.valueOf())return p;if(p!=null)return p}return null},B=()=>{t.isActive=!0};return s.watch(()=>A.value,()=>{A.value||(t.isNotClear=!1,A.value=null,setTimeout(()=>t.isNotClear=!0,1))}),g({clearChoose:l}),(p,y)=>(s.openBlock(),s.createElementBlock("div",{class:"date-picker-yui-kit__wrapper","data-testid":`${e.dataTestid}-Wrapper`},[s.createVNode(cTg,{open:!e.disabled&&t.isActive,onUnmountClose:Z},{trigger:s.withCtx(()=>[s.createVNode(oLg,{onClick:B,onClear:l,modelValue:A.value,"onUpdate:modelValue":y[0]||(y[0]=Y=>A.value=Y),"is-time-select":e.isSelectTime,"is-active":t.isActive,"is-small":e.isSmall,"is-range":e.isRange,disabled:e.disabled,"data-testid":`${e.dataTestid}-Choose`,value:s.unref(rTg)(A.value||null,e.locale),onChange:o},null,8,["modelValue","is-time-select","is-active","is-small","is-range","disabled","data-testid","value"])]),default:s.withCtx(()=>[s.createElementVNode("col-cal",{".date":n.value,".minDate":G(),".maxDate":w(),locale:e.locale??"ru-RU","data-testid":`${e.dataTestid}-Component`,onShowMonths:d,onShowYears:m,onHideMonths:u,onHideYears:h,onChangeDate:a,class:"date-picker-yui-kit"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(Object.keys(t.isOpen),Y=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:Y},[t.isOpen[Y]?(s.openBlock(),s.createBlock(Xg,{key:0,name:s.unref(ug).chevronUp,width:16,height:16,class:"open-popup",slot:`${Y}-popup-icon`},null,8,["name","slot"])):(s.openBlock(),s.createBlock(Xg,{key:1,name:s.unref(ug).chevronDown,width:16,height:16,slot:`${Y}-popup-icon`},null,8,["name","slot"]))],64))),128)),s.createVNode(Xg,{slot:"icon-left-button",name:s.unref(ug).chevronLeft,width:16,height:16},null,8,["name"]),s.createVNode(Xg,{slot:"icon-right-button",name:s.unref(ug).chevronRight,width:16,height:16},null,8,["name"]),s.createVNode(Xg,{slot:"years-icon-left",name:s.unref(ug).chevronLeft,width:16,height:16},null,8,["name"]),s.createVNode(Xg,{slot:"years-icon-right",name:s.unref(ug).chevronRight,width:16,height:16},null,8,["name"])],40,uTg)]),_:1},8,["open"])],8,mTg))}});var za=(C=>(C.start="start",C.end="end",C))(za||{});const hTg=["data-testid"],bTg=["data-testid"],ZTg=fg(s.defineComponent({__name:"DatePickerRange",props:s.mergeModels({range:{},locale:{default:"ru-RU"},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isSelectTime:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"DatePickerRange"}},{startDate:{},startDateModifiers:{},endDate:{},endDateModifiers:{}}),emits:s.mergeModels(["change"],["update:startDate","update:endDate"]),setup(C,{expose:g,emit:I}){const e=C,t=I,i=s.reactive({date:{start:null,end:null},isActive:!1}),A=s.useModel(C,"startDate"),n=s.useModel(C,"endDate"),l=(m,u)=>{u===za.start&&(i.date[u]=m),u===za.end&&(i.date[u]=e.toLastTime&&m!==null?vw(m):m),t("change",i.date)},o=m=>{i.date[m]=null},a=()=>{Object.keys(i.date).forEach(m=>{i.date[m]=null})},d=()=>{(A.value||n.value)&&(i.date={start:A.value,end:e.toLastTime?vw(n.value):n.value})};return s.watch([()=>A.value,()=>n.value],()=>{d()}),s.onMounted(()=>{d()}),g({clear:a}),(m,u)=>{var h,Z;return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["date-picker-yui-kit__header",{"date-disable-yui-kit":e.disabled},{"date-active-yui-kit":i.isActive}]),"data-testid":`${e.dataTestid}-Header`},[s.createVNode($Y,{modelValue:i.date.start,"onUpdate:modelValue":u[0]||(u[0]=G=>i.date.start=G),locale:e.locale,"is-range":"",disabled:e.disabled,"end-date":(h=i.date)==null?void 0:h.end,onChange:u[1]||(u[1]=G=>l(G,s.unref(za).start)),onClear:u[2]||(u[2]=G=>o(s.unref(za).start)),"data-testid":`${e.dataTestid}-Component-Start`},null,8,["modelValue","locale","disabled","end-date","data-testid"]),s.createElementVNode("div",{class:"date-picker-yui-kit__header__dash","data-testid":`${e.dataTestid}-Header-Dash`},null,8,bTg),s.createVNode($Y,{modelValue:i.date.end,"onUpdate:modelValue":u[3]||(u[3]=G=>i.date.end=G),locale:e.locale,"is-range":"",disabled:e.disabled,"start-date":(Z=i.date)==null?void 0:Z.start,onChange:u[4]||(u[4]=G=>l(G,s.unref(za).end)),onClear:u[5]||(u[5]=G=>o(s.unref(za).end)),"data-testid":`${e.dataTestid}-Component-End`},null,8,["modelValue","locale","disabled","start-date","data-testid"])],10,hTg)}}}),[["__scopeId","data-v-cf826676"]]),qY=s.defineComponent({__name:"Calendar",props:{range:{},locale:{},fromTodayTime:{type:Boolean},toLastTime:{type:Boolean},setDate:{},startDate:{},endDate:{},isSelectTime:{type:Boolean},isRange:{type:Boolean},isSmall:{type:Boolean},disabled:{type:Boolean},dataTestid:{default:"Calendar"}},emits:["change","click"],setup(C,{emit:g}){const I=C,e=s.reactive({date:null,dateObject:{start:null,end:null}}),t=g,i=s.ref(),A=l=>{t("change",l)};s.watchEffect(()=>e.date=I.setDate||null);const n=()=>{var l,o;return{start:I.fromTodayTime?new Date(Date.now()):((l=I.range)==null?void 0:l.start)??null,end:((o=I.range)==null?void 0:o.end)??null}};return s.watch([()=>{var l;return(l=I.range)==null?void 0:l.start},()=>{var l;return(l=I.range)==null?void 0:l.end}],()=>{var l,o,a;e.dateObject=n(),((l=I.range)==null?void 0:l.start)===null&&((o=I.range)==null?void 0:o.end)===null&&((a=i.value)==null||a.clear())}),s.onMounted(()=>{if(I.isRange){e.dateObject=n();return}I.setDate&&(e.date=I.setDate??null)}),(l,o)=>I.isRange?(s.openBlock(),s.createBlock(ZTg,{key:0,ref_key:"datePickerRangeRef",ref:i,"to-last-time":I.toLastTime,"start-date":e.dateObject.start,"onUpdate:startDate":o[0]||(o[0]=a=>e.dateObject.start=a),"end-date":e.dateObject.end,"onUpdate:endDate":o[1]||(o[1]=a=>e.dateObject.end=a),disabled:I.disabled,locale:I.locale,onClick:o[2]||(o[2]=a=>t("click")),onChange:A,"data-testid":`${I.dataTestid}-DataPickerRange`},null,8,["to-last-time","start-date","end-date","disabled","locale","data-testid"])):(s.openBlock(),s.createBlock($Y,{key:1,modelValue:e.date,"onUpdate:modelValue":o[3]||(o[3]=a=>e.date=a),disabled:I.disabled,locale:I.locale,"is-small":I.isSmall,"is-select-time":I.isSelectTime,"data-testid":`${I.dataTestid}-DataPicker`,onClick:o[4]||(o[4]=a=>t("click")),onChange:A},null,8,["modelValue","disabled","locale","is-small","is-select-time","data-testid"]))}}),GTg=["data-testid"],wTg=["data-testid"],gV=fg(s.defineComponent({__name:"Accordion",props:{dataTestid:{default:"Accordion"}},setup(C){const g=C;return(I,e)=>(s.openBlock(),s.createElementBlock("details",{class:"accordion-yui-kit","data-testid":g.dataTestid},[s.createElementVNode("summary",{class:"accordion-yui-kit__summary","data-testid":`${g.dataTestid}-Summary`},[s.renderSlot(I.$slots,"summary",{},void 0,!0),s.createVNode(Xg,{name:s.unref(ug).chevronUp,class:"chevron-up","stroke-width":"2","data-testid":`${g.dataTestid}-ChevronUp`},null,8,["name","data-testid"]),s.createVNode(Xg,{name:s.unref(ug).chevronDown,class:"chevron-down","stroke-width":"2","data-testid":`${g.dataTestid}-ChevronDown`},null,8,["name","data-testid"])],8,wTg),s.renderSlot(I.$slots,"default",{},void 0,!0)],8,GTg))}}),[["__scopeId","data-v-477127da"]]),WTg=["data-testid"],BTg=["data-testid"],pTg=["data-testid"],yTg=["data-testid","multiple"],IV=fg(s.defineComponent({__name:"DragAndDrop",props:{singleFileMode:{type:Boolean,default:!1},title:{default:"Кликните или перенесите файлы"},dataTestid:{default:"DragAndDrop"}},emits:["fileDropped"],setup(C,{emit:g}){const I=C,e=g,t=s.reactive({isPressed:!1}),i=s.ref(null),A=u=>{const h=u.target;m(h.files)},n=()=>{i.value&&(i.value.value="")},l=u=>{var Z;u.preventDefault();const h=(Z=u.currentTarget)==null?void 0:Z.children[0];h.classList.contains("active")||h.classList.add("active")},o=u=>{u.currentTarget.children[0].classList.remove("active")},a=u=>{var Z;u.preventDefault(),m(((Z=u.dataTransfer)==null?void 0:Z.files)||null),u.currentTarget.children[0].classList.remove("active")},d=()=>{t.isPressed=!t.isPressed},m=u=>{t.isPressed=!1,e("fileDropped",u)};return s.onMounted(()=>{var u;(u=i.value)==null||u.addEventListener("cancel",()=>{t.isPressed=!1})}),(u,h)=>(s.openBlock(),s.createElementBlock("div",{onDragover:l,onDragleave:o,onDrop:a,class:"dnd-yui-kit","data-testid":I.dataTestid},[s.createElementVNode("label",{for:"docsFileSelected",class:s.normalizeClass(["dnd-yui-kit__label",{"is-pressed":t.isPressed}]),onClick:d,"data-testid":`${I.dataTestid}-Label`},[s.createVNode(Xg,{name:s.unref(ug).paperClip,"stroke-width":"2","data-testid":`${I.dataTestid}-Icon`},null,8,["name","data-testid"]),s.createElementVNode("span",{class:"dnd-yui-kit__span","data-testid":`${I.dataTestid}-Title`},s.toDisplayString(I.title),9,pTg)],10,BTg),s.createElementVNode("input",{id:"docsFileSelected",onChange:A,onClick:n,type:"file",style:{display:"none"},"data-testid":`${I.dataTestid}-Input`,required:"",multiple:!I.singleFileMode,ref_key:"fileInputRef",ref:i},null,40,yTg)],40,WTg))}}),[["__scopeId","data-v-c92fde7e"]]),YTg=["data-testid"],VTg=["data-testid"],CV=fg(s.defineComponent({__name:"Card",props:{dataTestid:{default:"Card"}},setup(C){const g=C;return(I,e)=>(s.openBlock(),s.createElementBlock("div",{class:"card-yui-kit","data-testid":g.dataTestid},[I.$slots.left?(s.openBlock(),s.createElementBlock("div",{key:0,class:"card-yui-kit__left","data-testid":`${g.dataTestid}-Left`},[s.renderSlot(I.$slots,"left",{},void 0,!0)],8,VTg)):s.createCommentVNode("",!0),s.renderSlot(I.$slots,"default",{},void 0,!0)],8,YTg))}}),[["__scopeId","data-v-b2c9de76"]]),NTg=["data-testid"],MTg=["data-testid"],RTg=["data-testid"],fTg=["data-testid"],XTg=["onClick","data-testid"],HTg=["data-testid"],DTg=fg(s.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(C,{emit:g}){const I=C,e=s.reactive({isShowList:I.isShowList,isShowButtonHistory:I.isShowButtonHistory}),t=g,i=s.computed(()=>({"history-yui-kit__list":!0,"history-yui-kit__list--opened":e.isShowList,"history-yui-kit__list--scroll":I.modelValue&&I.modelValue.length>=5&&e.isShowList})),A=()=>{e.isShowList=!0,e.isShowButtonHistory=!1},n=o=>{t("unmount-remove",o)},l=o=>{t("choosePost",o)};return(o,a)=>{var d;return I.showHistory?(s.openBlock(),s.createElementBlock("div",{key:0,class:"search-yui-kit__history history-yui-kit","data-testid":I.dataTestid},[e.isShowButtonHistory?(s.openBlock(),s.createBlock(sC,{key:0,type:s.unref(MI).outline,onClick:A,class:s.normalizeClass("history-yui-kit__button-text show-result"),"data-testid":`${I.dataTestid}-ShowResult`},{default:s.withCtx(()=>[s.createElementVNode("span",{class:"search-yui-kit__button-label","data-testid":`${I.dataTestid}-ShowResult-Title`}," Просмотреть историю запросов ",8,MTg)]),_:1},8,["type","data-testid"])):s.createCommentVNode("",!0),(d=I.modelValue)!=null&&d.length?(s.openBlock(),s.createElementBlock("ul",{key:1,class:s.normalizeClass(i.value),"data-testid":`${I.dataTestid}-ShowResult-List`},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(I.modelValue,(m,u)=>(s.openBlock(),s.createElementBlock("li",{class:"history-yui-kit__item",key:m,"data-testid":`${I.dataTestid}-ShowResult-Title${u}`},[s.createElementVNode("span",{onClick:h=>l(m),class:"history-yui-kit__hint","data-testid":`${I.dataTestid}-HandleChoosePost-Title${u}`},s.toDisplayString(m),9,XTg),s.createVNode(sC,{type:s.unref(MI).ghost,onClick:h=>n(m),"data-testid":`${I.dataTestid}-ButtonItem-Remove${u}`},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).exitSmall,width:16,"data-testid":`${I.dataTestid}-ButtonItem-RemoveIcon${u}`},null,8,["name","data-testid"])]),_:2},1032,["type","onClick","data-testid"])],8,fTg))),128))],10,RTg)):e.isShowButtonHistory?s.createCommentVNode("",!0):(s.openBlock(),s.createBlock(sC,{key:2,type:s.unref(MI).outline,class:s.normalizeClass("history-yui-kit__button-text"),"data-testid":`${I.dataTestid}-ButtonTypeEnum-RemoveButton`},{default:s.withCtx(()=>[s.createElementVNode("span",{"data-testid":`${I.dataTestid}-ButtonTypeEnum-EmptyContent`,class:"empty-content"},"По вашему запросу ничего не найдено",8,HTg)]),_:1},8,["type","data-testid"]))],8,NTg)):s.createCommentVNode("",!0)}}}),[["__scopeId","data-v-4ab5fa19"]]),STg=["data-testid"],KTg=["data-testid"],kTg=["data-testid","onClick"],FTg=["data-testid"],zTg=["data-testid"],JTg=["data-testid"],LTg=["data-testid"],TTg=["data-testid"],vTg=["data-testid"],jTg=fg(s.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(C,{emit:g}){const I=C,e=g,t=s.ref(null),i=n=>{e("choose-result",n)},A=n=>{const l=n.target,{scrollTop:o,scrollHeight:a,clientHeight:d}=l;a-o-d<5&&e("scroll-paginate")};return s.watch(()=>I.searchValue,()=>{t.value&&(t.value.scrollTop=0)}),(n,l)=>(s.openBlock(),s.createElementBlock("div",{class:"search-yui-kit__result result-yui-kit","data-testid":I.dataTestid},[I.globalResultsFunction.length>0?(s.openBlock(),s.createElementBlock("ul",{key:0,class:"result-yui-kit__list","data-testid":`${I.dataTestid}-List`,onScroll:A,ref_key:"resultContentRef",ref:t},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(I.globalResultsFunction,(o,a)=>(s.openBlock(),s.createElementBlock("li",{class:"result-yui-kit__list__item",key:a,"data-testid":`${I.dataTestid}-List-Items${a}`,onClick:d=>i(o)},[s.createVNode(Xg,{name:o.icon||s.unref(ug).document,"data-testid":`${I.dataTestid}-Items-Icon${a}`,width:16,height:16,class:"result-yui-kit__list__item__icon"},null,8,["name","data-testid"]),s.createElementVNode("span",{"data-testid":`${I.dataTestid}-Result-NameArea${a}`},s.toDisplayString(o.nameArea),9,FTg),s.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${I.dataTestid}-Result-Slash${a}`},"/",8,zTg),s.createElementVNode("span",{class:"blue-yui-kit","data-testid":`${I.dataTestid}-Result-SearchResult${a}`},s.toDisplayString(o.searchResult),9,JTg)],8,kTg))),128))],40,KTg)):I.searchValue?(s.openBlock(),s.createElementBlock("ul",{key:1,class:"result-yui-kit__list result-yui-kit__empty","data-testid":`${I.dataTestid}-Nothing-List`},[s.createElementVNode("li",{class:"result-yui-kit__empty__item","data-testid":`${I.dataTestid}-Nothing-Items`},[s.createElementVNode("p",{"data-testid":`${I.dataTestid}-Nothing-Text`}," По вашему запросу ничего не найдено ",8,vTg)],8,TTg)],8,LTg)):s.createCommentVNode("",!0)],8,STg))}}),[["__scopeId","data-v-2eb7100d"]]),LD=()=>{const C=s.ref(localStorage.getItem("historySearch")?JSON.parse(localStorage.getItem("historySearch")):[]);return{getHistorySearch:C,addHistorySearch:e=>{e&&(C.value=C.value.filter(t=>t!==e),C.value.unshift(e),C.value.length>10&&C.value.pop(),localStorage.setItem("historySearch",JSON.stringify(C.value)))},removeHistorySearch:e=>{C.value=C.value.filter(t=>t!==e),localStorage.setItem("historySearch",JSON.stringify(C.value))}}},xTg=["data-testid"],OTg=["data-testid"],QTg=["data-testid"],UTg=["placeholder","data-testid"],Hh=fg(s.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(C,{emit:g}){const I=C,e=g,{getHistorySearch:t,removeHistorySearch:i,addHistorySearch:A}=LD(),n=s.reactive({isShowList:!1,isShowButtonHistory:I.showHistory??!1,searchValue:I.modelValue,placeholder:I.placeholder??"",focused:!1}),l={position:"relative",width:"100%",height:I.height},o=y=>{n.searchValue=y.trim(),n.isShowList=!1,e("input",y),e("update:modelValue",n.searchValue),e("choosed",n.searchValue),e("enter",n.searchValue)},a=y=>{n.isShowList=!1,e("choose-result",y)},d=()=>{e("scroll-paginate")},m=s.computed(()=>({"search-yui-kit__icon-wrapper":!0})),u=()=>{n.focused=!0},h=()=>{setTimeout(()=>{n.focused=!1},500)},Z=()=>{n.isShowList=!1,n.isShowButtonHistory=!1},G=()=>{n.isShowButtonHistory=!0,n.isShowButtonHistory||(n.isShowList=!0)},w=()=>{e("enter",n.searchValue.trim()),I.showHistory&&n.searchValue&&A(n.searchValue.trim())},B=()=>{const y=n.searchValue.trim();e("input",y),e("update:modelValue",y)},p=()=>{n.searchValue&&(n.searchValue="",B(),w())};return s.onMounted(()=>{I.defaultValue&&(n.searchValue=I.defaultValue)}),s.watch(()=>I.modelValue,y=>{n.searchValue=y}),(y,Y)=>(s.openBlock(),s.createElementBlock("div",{class:"search-yui-kit",style:l,onMousemove:G,onMouseleave:Z,"data-testid":I.dataTestid},[s.createElementVNode("div",{class:s.normalizeClass(m.value),"data-testid":`${I.dataTestid}-Dropdown-Wrapper`},[s.createElementVNode("div",{class:"search-yui-kit__dropdown","data-testid":`${I.dataTestid}-Dropdown`},[s.withDirectives(s.createElementVNode("input",{type:"text",class:"search-yui-kit__input","onUpdate:modelValue":Y[0]||(Y[0]=R=>n.searchValue=R),placeholder:I.placeholder,onKeydown:s.withKeys(w,["enter"]),onInput:B,onFocus:u,onBlur:h,"data-testid":`${I.dataTestid}-Dropdown-Input`},null,40,UTg),[[s.vModelText,n.searchValue]]),s.createVNode(Xg,{class:"search-icon",name:s.unref(ug).searchNormal},null,8,["name"]),n.searchValue?(s.openBlock(),s.createBlock(sC,{key:0,class:"clear-button",type:s.unref(MI).ghost,onClick:p,"data-testid":`${I.dataTestid}-Clear-Button`},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).exitSmall,color:"var(--text-light-color)","data-testid":`${I.dataTestid}-Clear-Button-Icon`},null,8,["name","data-testid"])]),_:1},8,["type","data-testid"])):s.createCommentVNode("",!0)],8,QTg)],10,OTg),!I.global&&I.showHistory?(s.openBlock(),s.createBlock(DTg,{key:0,"show-history":I.showHistory,"is-show-button-history":n.isShowButtonHistory,"is-show-list":n.isShowList,"model-value":s.unref(t),onUnmountRemove:s.unref(i),onChoosePost:o,"data-testid":`${I.dataTestid}-Dropdown-History`},null,8,["show-history","is-show-button-history","is-show-list","model-value","onUnmountRemove","data-testid"])):s.createCommentVNode("",!0),I.global&&n.focused?(s.openBlock(),s.createBlock(jTg,{key:1,"global-results-function":I.globalResultsFunction,"search-value":n.searchValue,"data-testid":`${I.dataTestid}-Dropdown-SearchResult`,onChooseResult:a,onScrollPaginate:d},null,8,["global-results-function","search-value","data-testid"])):s.createCommentVNode("",!0)],40,xTg))}}),[["__scopeId","data-v-25e95fd2"]]);var Dh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ETg(C){return C&&C.__esModule&&Object.prototype.hasOwnProperty.call(C,"default")?C.default:C}var jw={exports:{}};/**
|
|
1380
1380
|
* @license
|
|
1381
1381
|
* Lodash <https://lodash.com/>
|
|
1382
1382
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -1528,4 +1528,4 @@ img.ProseMirror-separator {
|
|
|
1528
1528
|
`,Z8g="️",G8g="",q1="";let PB=null,_B=null;function w8g(C=[]){const g={};Lt.groups=g;const I=new Lt;PB==null&&(PB=yF(c8g)),_B==null&&(_B=yF(r8g)),rg(I,"'",FB),rg(I,"{",K0),rg(I,"}",k0),rg(I,"[",BB),rg(I,"]",pB),rg(I,"(",yB),rg(I,")",YB),rg(I,"<",VB),rg(I,">",NB),rg(I,"(",MB),rg(I,")",RB),rg(I,"「",fB),rg(I,"」",XB),rg(I,"『",HB),rg(I,"』",DB),rg(I,"<",SB),rg(I,">",KB),rg(I,"&",kB),rg(I,"*",zB),rg(I,"@",to),rg(I,"`",LB),rg(I,"^",TB),rg(I,":",io),rg(I,",",O1),rg(I,"$",vB),rg(I,".",yn),rg(I,"=",jB),rg(I,"!",Q1),rg(I,"-",Ui),rg(I,"%",F0),rg(I,"|",xB),rg(I,"+",OB),rg(I,"#",QB),rg(I,"?",z0),rg(I,'"',U1),rg(I,"/",Yn),rg(I,";",E1),rg(I,"~",J0),rg(I,"_",UB),rg(I,"\\",JB),rg(I,"・",GF);const e=yC(I,Wl,v1,{[S1]:!0});yC(e,Wl,e);const t=yC(e,wl,bF,{[H0]:!0}),i=yC(e,L0,ZF,{[D0]:!0}),A=yC(I,wl,Gl,{[K1]:!0});yC(A,Wl,t),yC(A,wl,A),yC(t,Wl,t),yC(t,wl,t);const n=yC(I,L0,J1,{[k1]:!0});yC(n,wl),yC(n,Wl,i),yC(n,L0,n),yC(i,Wl,i),yC(i,wl),yC(i,L0,i);const l=rg(I,$1,x1,{[z1]:!0}),o=rg(I,BF,j1,{[z1]:!0}),a=yC(I,_1,j1,{[z1]:!0});rg(I,q1,a),rg(o,$1,l),rg(o,q1,a),yC(o,_1,a),rg(a,BF),rg(a,$1),yC(a,_1,a),rg(a,q1,a);const d=yC(I,P1,wF,{[uF]:!0});rg(d,"#"),yC(d,P1,d),rg(d,Z8g,d);const m=rg(d,G8g);rg(m,"#"),yC(m,P1,d);const u=[[wl,A],[Wl,t]],h=[[wl,null],[L0,n],[Wl,i]];for(let Z=0;Z<PB.length;Z++)Ao(I,PB[Z],L1,Gl,u);for(let Z=0;Z<_B.length;Z++)Ao(I,_B[Z],T1,J1,h);ld(L1,{tld:!0,ascii:!0},g),ld(T1,{utld:!0,alpha:!0},g),Ao(I,"file",WB,Gl,u),Ao(I,"mailto",WB,Gl,u),Ao(I,"http",Or,Gl,u),Ao(I,"https",Or,Gl,u),Ao(I,"ftp",Or,Gl,u),Ao(I,"ftps",Or,Gl,u),ld(WB,{scheme:!0,ascii:!0},g),ld(Or,{slashscheme:!0,ascii:!0},g),C=C.sort((Z,G)=>Z[0]>G[0]?1:-1);for(let Z=0;Z<C.length;Z++){const G=C[Z][0],B=C[Z][1]?{[m8g]:!0}:{[u8g]:!0};G.indexOf("-")>=0?B[F1]=!0:wl.test(G)?Wl.test(G)?B[H0]=!0:B[K1]=!0:B[S1]=!0,hF(I,G,G,B)}return hF(I,"localhost",S0,{ascii:!0}),I.jd=new Lt(EB),{start:I,tokens:Object.assign({groups:g},WF)}}function pF(C,g){const I=W8g(g.replace(/[A-Z]/g,n=>n.toLowerCase())),e=I.length,t=[];let i=0,A=0;for(;A<e;){let n=C,l=null,o=0,a=null,d=-1,m=-1;for(;A<e&&(l=n.go(I[A]));)n=l,n.accepts()?(d=0,m=0,a=n):d>=0&&(d+=I[A].length,m++),o+=I[A].length,i+=I[A].length,A++;i-=d,A-=m,o-=d,t.push({t:a.t,v:g.slice(i-o,i),s:i-o,e:i})}return t}function W8g(C){const g=[],I=C.length;let e=0;for(;e<I;){let t=C.charCodeAt(e),i,A=t<55296||t>56319||e+1===I||(i=C.charCodeAt(e+1))<56320||i>57343?C[e]:C.slice(e,e+2);g.push(A),e+=A.length}return g}function Ao(C,g,I,e,t){let i;const A=g.length;for(let n=0;n<A-1;n++){const l=g[n];C.j[l]?i=C.j[l]:(i=new Lt(e),i.jr=t.slice(),C.j[l]=i),C=i}return i=new Lt(I),i.jr=t.slice(),C.j[g[A-1]]=i,i}function yF(C){const g=[],I=[];let e=0,t="0123456789";for(;e<C.length;){let i=0;for(;t.indexOf(C[e+i])>=0;)i++;if(i>0){g.push(I.join(""));for(let A=parseInt(C.substring(e,e+i),10);A>0;A--)I.pop();e+=i}else I.push(C[e]),e++}return g}const T0={defaultProtocol:"http",events:null,format:YF,formatHref:YF,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function gM(C,g=null){let I=Object.assign({},T0);C&&(I=Object.assign(I,C instanceof gM?C.o:C));const e=I.ignoreTags,t=[];for(let i=0;i<e.length;i++)t.push(e[i].toUpperCase());this.o=I,g&&(this.defaultRender=g),this.ignoreTags=t}gM.prototype={o:T0,ignoreTags:[],defaultRender(C){return C},check(C){return this.get("validate",C.toString(),C)},get(C,g,I){const e=g!=null;let t=this.o[C];return t&&(typeof t=="object"?(t=I.t in t?t[I.t]:T0[C],typeof t=="function"&&e&&(t=t(g,I))):typeof t=="function"&&e&&(t=t(g,I.t,I)),t)},getObj(C,g,I){let e=this.o[C];return typeof e=="function"&&g!=null&&(e=e(g,I.t,I)),e},render(C){const g=C.render(this);return(this.get("render",null,C)||this.defaultRender)(g,C.t,C)}};function YF(C){return C}function VF(C,g){this.t="token",this.v=C,this.tk=g}VF.prototype={isLink:!1,toString(){return this.v},toHref(C){return this.toString()},toFormattedString(C){const g=this.toString(),I=C.get("truncate",g,this),e=C.get("format",g,this);return I&&e.length>I?e.substring(0,I)+"…":e},toFormattedHref(C){return C.get("formatHref",this.toHref(C.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(C=T0.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(C),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(C){return{type:this.t,value:this.toFormattedString(C),isLink:this.isLink,href:this.toFormattedHref(C),start:this.startIndex(),end:this.endIndex()}},validate(C){return C.get("validate",this.toString(),this)},render(C){const g=this,I=this.toHref(C.get("defaultProtocol")),e=C.get("formatHref",I,this),t=C.get("tagName",I,g),i=this.toFormattedString(C),A={},n=C.get("className",I,g),l=C.get("target",I,g),o=C.get("rel",I,g),a=C.getObj("attributes",I,g),d=C.getObj("events",I,g);return A.href=e,n&&(A.class=n),l&&(A.target=l),o&&(A.rel=o),a&&Object.assign(A,a),{tagName:t,attributes:A,content:i,eventListeners:d}}};function $B(C,g){class I extends VF{constructor(t,i){super(t,i),this.t=C}}for(const e in g)I.prototype[e]=g[e];return I.t=C,I}const NF=$B("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),MF=$B("text"),B8g=$B("nl"),qB=$B("url",{isLink:!0,toHref(C=T0.defaultProtocol){return this.hasProtocol()?this.v:`${C}://${this.v}`},hasProtocol(){const C=this.tk;return C.length>=2&&C[0].t!==S0&&C[1].t===io}}),Ei=C=>new Lt(C);function p8g({groups:C}){const g=C.domain.concat([kB,zB,to,JB,LB,TB,vB,jB,Ui,v1,F0,xB,OB,QB,Yn,EB,J0,UB]),I=[FB,io,O1,yn,Q1,F0,z0,U1,E1,VB,NB,K0,k0,pB,BB,yB,YB,MB,RB,fB,XB,HB,DB,SB,KB],e=[kB,FB,zB,JB,LB,TB,vB,jB,Ui,K0,k0,F0,xB,OB,QB,z0,Yn,EB,J0,UB],t=Ei(),i=rg(t,J0);iI(i,e,i),iI(i,C.domain,i);const A=Ei(),n=Ei(),l=Ei();iI(t,C.domain,A),iI(t,C.scheme,n),iI(t,C.slashscheme,l),iI(A,e,i),iI(A,C.domain,A);const o=rg(A,to);rg(i,to,o),rg(n,to,o),rg(l,to,o);const a=rg(i,yn);iI(a,e,i),iI(a,C.domain,i);const d=Ei();iI(o,C.domain,d),iI(d,C.domain,d);const m=rg(d,yn);iI(m,C.domain,d);const u=Ei(NF);iI(m,C.tld,u),iI(m,C.utld,u),rg(o,S0,u);const h=rg(d,Ui);rg(h,Ui,h),iI(h,C.domain,d),iI(u,C.domain,d),rg(u,yn,m),rg(u,Ui,h);const Z=rg(u,io);iI(Z,C.numeric,NF);const G=rg(A,Ui),w=rg(A,yn);rg(G,Ui,G),iI(G,C.domain,A),iI(w,e,i),iI(w,C.domain,A);const B=Ei(qB);iI(w,C.tld,B),iI(w,C.utld,B),iI(B,C.domain,A),iI(B,e,i),rg(B,yn,w),rg(B,Ui,G),rg(B,to,o);const p=rg(B,io),y=Ei(qB);iI(p,C.numeric,y);const Y=Ei(qB),R=Ei();iI(Y,g,Y),iI(Y,I,R),iI(R,g,Y),iI(R,I,R),rg(B,Yn,Y),rg(y,Yn,Y);const M=rg(n,io),K=rg(l,io),J=rg(K,Yn),X=rg(J,Yn);iI(n,C.domain,A),rg(n,yn,w),rg(n,Ui,G),iI(l,C.domain,A),rg(l,yn,w),rg(l,Ui,G),iI(M,C.domain,Y),rg(M,Yn,Y),rg(M,z0,Y),iI(X,C.domain,Y),iI(X,g,Y),rg(X,Yn,Y);const D=[[K0,k0],[BB,pB],[yB,YB],[VB,NB],[MB,RB],[fB,XB],[HB,DB],[SB,KB]];for(let z=0;z<D.length;z++){const[j,q]=D[z],gg=rg(Y,j);rg(R,j,gg),rg(gg,q,Y);const Q=Ei(qB);iI(gg,g,Q);const _=Ei();iI(gg,I),iI(Q,g,Q),iI(Q,I,_),iI(_,g,Q),iI(_,I,_),rg(Q,q,Y),rg(_,q,Y)}return rg(t,S0,B),rg(t,x1,B8g),{start:t,tokens:WF}}function y8g(C,g,I){let e=I.length,t=0,i=[],A=[];for(;t<e;){let n=C,l=null,o=null,a=0,d=null,m=-1;for(;t<e&&!(l=n.go(I[t].t));)A.push(I[t++]);for(;t<e&&(o=l||n.go(I[t].t));)l=null,n=o,n.accepts()?(m=0,d=n):m>=0&&m++,t++,a++;if(m<0)t-=a,t<e&&(A.push(I[t]),t++);else{A.length>0&&(i.push(IM(MF,g,A)),A=[]),t-=m,a-=m;const u=d.t,h=I.slice(t-a,t);i.push(IM(u,g,h))}}return A.length>0&&i.push(IM(MF,g,A)),i}function IM(C,g,I){const e=I[0].s,t=I[I.length-1].e,i=g.slice(e,t);return new C(i,I)}const Y8g=typeof console<"u"&&console&&console.warn||(()=>{}),V8g="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",iC={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function N8g(){return Lt.groups={},iC.scanner=null,iC.parser=null,iC.tokenQueue=[],iC.pluginQueue=[],iC.customSchemes=[],iC.initialized=!1,iC}function RF(C,g=!1){if(iC.initialized&&Y8g(`linkifyjs: already initialized - will not register custom scheme "${C}" ${V8g}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(C))throw new Error(`linkifyjs: incorrect scheme format.
|
|
1529
1529
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
1530
1530
|
2. Cannot start or end with "-"
|
|
1531
|
-
3. "-" cannot repeat`);iC.customSchemes.push([C,g])}function M8g(){iC.scanner=w8g(iC.customSchemes);for(let C=0;C<iC.tokenQueue.length;C++)iC.tokenQueue[C][1]({scanner:iC.scanner});iC.parser=p8g(iC.scanner.tokens);for(let C=0;C<iC.pluginQueue.length;C++)iC.pluginQueue[C][1]({scanner:iC.scanner,parser:iC.parser});return iC.initialized=!0,iC}function CM(C){return iC.initialized||M8g(),y8g(iC.parser.start,C,pF(iC.scanner.start,C))}CM.scan=pF;function fF(C,g=null,I=null){if(g&&typeof g=="object"){if(I)throw Error(`linkifyjs: Invalid link type ${g}; must be a string`);I=g,g=null}const e=new gM(I),t=CM(C),i=[];for(let A=0;A<t.length;A++){const n=t[A];n.isLink&&(!g||n.t===g)&&e.check(n)&&i.push(n.toFormattedObject(e))}return i}var eM="[\0- -\u2029 ]",R8g=new RegExp(eM),f8g=new RegExp(`${eM}$`),X8g=new RegExp(eM,"g");function H8g(C){return C.length===1?C[0].isLink:C.length===3&&C[1].isLink?["()","[]"].includes(C[0].value+C[2].value):!1}function D8g(C){return new pC({key:new re("autolink"),appendTransaction:(g,I,e)=>{const t=g.some(o=>o.docChanged)&&!I.doc.eq(e.doc),i=g.some(o=>o.getMeta("preventAutolink"));if(!t||i)return;const{tr:A}=e,n=S3(I.doc,[...g]);if(O3(n).forEach(({newRange:o})=>{const a=IPg(e.doc,o,u=>u.isTextblock);let d,m;if(a.length>1)d=a[0],m=e.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ");else if(a.length){const u=e.doc.textBetween(o.from,o.to," "," ");if(!f8g.test(u))return;d=a[0],m=e.doc.textBetween(d.pos,o.to,void 0," ")}if(d&&m){const u=m.split(R8g).filter(Boolean);if(u.length<=0)return!1;const h=u[u.length-1],Z=d.pos+m.lastIndexOf(h);if(!h)return!1;const G=CM(h).map(w=>w.toObject(C.defaultProtocol));if(!H8g(G))return!1;G.filter(w=>w.isLink).map(w=>({...w,from:Z+w.start+1,to:Z+w.end+1})).filter(w=>e.schema.marks.code?!e.doc.rangeHasMark(w.from,w.to,e.schema.marks.code):!0).filter(w=>C.validate(w.value)).filter(w=>C.shouldAutoLink(w.value)).forEach(w=>{V1(w.from,w.to,e.doc).some(B=>B.mark.type===C.type)||A.addMark(w.from,w.to,C.type.create({href:w.href}))})}}),!!A.steps.length)return A}})}function S8g(C){return new pC({key:new re("handleClickLink"),props:{handleClick:(g,I,e)=>{var t,i;if(e.button!==0||!g.editable)return!1;let A=null;if(e.target instanceof HTMLAnchorElement)A=e.target;else{let a=e.target;const d=[];for(;a.nodeName!=="DIV";)d.push(a),a=a.parentNode;A=d.find(m=>m.nodeName==="A")}if(!A)return!1;const n=x3(g.state,C.type.name),l=(t=A==null?void 0:A.href)!=null?t:n.href,o=(i=A==null?void 0:A.target)!=null?i:n.target;return C.enableClickSelection&&C.editor.commands.extendMarkRange(C.type.name),A&&l?(window.open(l,o),!0):!1}}})}function K8g(C){return new pC({key:new re("handlePasteLink"),props:{handlePaste:(g,I,e)=>{const{state:t}=g,{selection:i}=t,{empty:A}=i;if(A)return!1;let n="";e.content.forEach(o=>{n+=o.textContent});const l=fF(n,{defaultProtocol:C.defaultProtocol}).find(o=>o.isLink&&o.value===n);return!n||!l?!1:C.editor.commands.setMark(C.type,{href:l.href})}}})}function sd(C,g){const I=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return g&&g.forEach(e=>{const t=typeof e=="string"?e:e.scheme;t&&I.push(t)}),!C||C.replace(X8g,"").match(new RegExp(`^(?:(?:${I.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var XF=Ad.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(C=>{if(typeof C=="string"){RF(C);return}RF(C.scheme,C.optionalSlashes)})},onDestroy(){N8g()},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:(C,g)=>!!sd(C,g.protocols),validate:C=>!!C,shouldAutoLink:C=>!!C}},addAttributes(){return{href:{default:null,parseHTML(C){return C.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:C=>{const g=C.getAttribute("href");return!g||!this.options.isAllowedUri(g,{defaultValidate:I=>!!sd(I,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:C}){return this.options.isAllowedUri(C.href,{defaultValidate:g=>!!sd(g,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",HC(this.options.HTMLAttributes,C),0]:["a",HC(this.options.HTMLAttributes,{...C,href:""}),0]},addCommands(){return{setLink:C=>({chain:g})=>{const{href:I}=C;return this.options.isAllowedUri(I,{defaultValidate:e=>!!sd(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?g().setMark(this.name,C).setMeta("preventAutolink",!0).run():!1},toggleLink:C=>({chain:g})=>{const{href:I}=C||{};return I&&!this.options.isAllowedUri(I,{defaultValidate:e=>!!sd(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:g().toggleMark(this.name,C,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:C})=>C().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[nd({find:C=>{const g=[];if(C){const{protocols:I,defaultProtocol:e}=this.options,t=fF(C).filter(i=>i.isLink&&this.options.isAllowedUri(i.value,{defaultValidate:A=>!!sd(A,I),protocols:I,defaultProtocol:e}));t.length&&t.forEach(i=>g.push({text:i.value,data:{href:i.href},index:i.start}))}return g},type:this.type,getAttributes:C=>{var g;return{href:(g=C.data)==null?void 0:g.href}}})]},addProseMirrorPlugins(){const C=[],{protocols:g,defaultProtocol:I}=this.options;return this.options.autolink&&C.push(D8g({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:t=>!!sd(t,g),protocols:g,defaultProtocol:I}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&C.push(S8g({type:this.type,editor:this.editor,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&C.push(K8g({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),C}}),k8g=XF,F8g=Object.defineProperty,z8g=(C,g)=>{for(var I in g)F8g(C,I,{get:g[I],enumerable:!0})},J8g="listItem",HF="textStyle",DF=/^\s*([-+*])\s$/,SF=Jt.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:C}){return["ul",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{toggleBulletList:()=>({commands:C,chain:g})=>this.options.keepAttributes?g().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(J8g,this.editor.getAttributes(HF)).run():C.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let C=xr({find:DF,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(C=xr({find:DF,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(HF),editor:this.editor})),[C]}}),KF=Jt.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:C}){return["li",HC(this.options.HTMLAttributes,C),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)}}}),L8g={};z8g(L8g,{findListItemPos:()=>v0,getNextListDepth:()=>tM,handleBackspace:()=>iM,handleDelete:()=>AM,hasListBefore:()=>kF,hasListItemAfter:()=>T8g,hasListItemBefore:()=>FF,listItemHasSubList:()=>zF,nextListIsDeeper:()=>JF,nextListIsHigher:()=>LF});var v0=(C,g)=>{const{$from:I}=g.selection,e=OC(C,g.schema);let t=null,i=I.depth,A=I.pos,n=null;for(;i>0&&n===null;)t=I.node(i),t.type===e?n=i:(i-=1,A-=1);return n===null?null:{$pos:g.doc.resolve(A),depth:n}},tM=(C,g)=>{const I=v0(C,g);if(!I)return!1;const[,e]=aPg(g,C,I.$pos.pos+4);return e},kF=(C,g,I)=>{const{$anchor:e}=C.selection,t=Math.max(0,e.pos-2),i=C.doc.resolve(t).node();return!(!i||!I.includes(i.type.name))},FF=(C,g)=>{var I;const{$anchor:e}=g.selection,t=g.doc.resolve(e.pos-2);return!(t.index()===0||((I=t.nodeBefore)==null?void 0:I.type.name)!==C)},zF=(C,g,I)=>{if(!I)return!1;const e=OC(C,g.schema);let t=!1;return I.descendants(i=>{i.type===e&&(t=!0)}),t},iM=(C,g,I)=>{if(C.commands.undoInputRule())return!0;if(C.state.selection.from!==C.state.selection.to)return!1;if(!eo(C.state,g)&&kF(C.state,g,I)){const{$anchor:n}=C.state.selection,l=C.state.doc.resolve(n.before()-1),o=[];l.node().descendants((m,u)=>{m.type.name===g&&o.push({node:m,pos:u})});const a=o.at(-1);if(!a)return!1;const d=C.state.doc.resolve(l.start()+a.pos+1);return C.chain().cut({from:n.start()-1,to:n.end()+1},d.end()).joinForward().run()}if(!eo(C.state,g)||!mPg(C.state))return!1;const e=v0(g,C.state);if(!e)return!1;const i=C.state.doc.resolve(e.$pos.pos-2).node(e.depth),A=zF(g,C.state,i);return FF(g,C.state)&&!A?C.commands.joinItemBackward():C.chain().liftListItem(g).run()},JF=(C,g)=>{const I=tM(C,g),e=v0(C,g);return!e||!I?!1:I>e.depth},LF=(C,g)=>{const I=tM(C,g),e=v0(C,g);return!e||!I?!1:I<e.depth},AM=(C,g)=>{if(!eo(C.state,g)||!rPg(C.state,g))return!1;const{selection:I}=C.state,{$from:e,$to:t}=I;return!I.empty&&e.sameParent(t)?!1:JF(g,C.state)?C.chain().focus(C.state.selection.from+4).lift(g).joinBackward().run():LF(g,C.state)?C.chain().joinForward().joinBackward().run():C.commands.joinItemForward()},T8g=(C,g)=>{var I;const{$anchor:e}=g.selection,t=g.doc.resolve(e.pos-e.parentOffset-2);return!(t.index()===t.parent.childCount-1||((I=t.nodeAfter)==null?void 0:I.type.name)!==C)},TF=QC.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I})=>{C.state.schema.nodes[I]!==void 0&&AM(C,I)&&(g=!0)}),g},"Mod-Delete":({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I})=>{C.state.schema.nodes[I]!==void 0&&AM(C,I)&&(g=!0)}),g},Backspace:({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I,wrapperNames:e})=>{C.state.schema.nodes[I]!==void 0&&iM(C,I,e)&&(g=!0)}),g},"Mod-Backspace":({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I,wrapperNames:e})=>{C.state.schema.nodes[I]!==void 0&&iM(C,I,e)&&(g=!0)}),g}}}}),v8g="listItem",vF="textStyle",jF=/^(\d+)\.\s$/,xF=Jt.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:C=>C.hasAttribute("start")?parseInt(C.getAttribute("start")||"",10):1},type:{default:null,parseHTML:C=>C.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:C}){const{start:g,...I}=C;return g===1?["ol",HC(this.options.HTMLAttributes,I),0]:["ol",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{toggleOrderedList:()=>({commands:C,chain:g})=>this.options.keepAttributes?g().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(v8g,this.editor.getAttributes(vF)).run():C.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let C=xr({find:jF,type:this.type,getAttributes:g=>({start:+g[1]}),joinPredicate:(g,I)=>I.childCount+I.attrs.start===+g[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(C=xr({find:jF,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:g=>({start:+g[1],...this.editor.getAttributes(vF)}),joinPredicate:(g,I)=>I.childCount+I.attrs.start===+g[1],editor:this.editor})),[C]}}),j8g=/^\s*(\[([( |x])?\])\s$/,x8g=Jt.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:C=>{const g=C.getAttribute("data-checked");return g===""||g==="true"},renderHTML:C=>({"data-checked":C.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:C,HTMLAttributes:g}){return["li",HC(this.options.HTMLAttributes,g,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:C.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const C={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...C,Tab:()=>this.editor.commands.sinkListItem(this.name)}:C},addNodeView(){return({node:C,HTMLAttributes:g,getPos:I,editor:e})=>{const t=document.createElement("li"),i=document.createElement("label"),A=document.createElement("span"),n=document.createElement("input"),l=document.createElement("div"),o=a=>{var d,m;n.ariaLabel=((m=(d=this.options.a11y)==null?void 0:d.checkboxLabel)==null?void 0:m.call(d,a,n.checked))||`Task item checkbox for ${a.textContent||"empty task item"}`};return o(C),i.contentEditable="false",n.type="checkbox",n.addEventListener("mousedown",a=>a.preventDefault()),n.addEventListener("change",a=>{if(!e.isEditable&&!this.options.onReadOnlyChecked){n.checked=!n.checked;return}const{checked:d}=a.target;e.isEditable&&typeof I=="function"&&e.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:m})=>{const u=I();if(typeof u!="number")return!1;const h=m.doc.nodeAt(u);return m.setNodeMarkup(u,void 0,{...h==null?void 0:h.attrs,checked:d}),!0}).run(),!e.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(C,d)||(n.checked=!n.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([a,d])=>{t.setAttribute(a,d)}),t.dataset.checked=C.attrs.checked,n.checked=C.attrs.checked,i.append(n,A),t.append(i,l),Object.entries(g).forEach(([a,d])=>{t.setAttribute(a,d)}),{dom:t,contentDOM:l,update:a=>a.type!==this.type?!1:(t.dataset.checked=a.attrs.checked,n.checked=a.attrs.checked,o(a),!0)}}},addInputRules(){return[xr({find:j8g,type:this.type,getAttributes:C=>({checked:C[C.length-1]==="x"})})]}}),O8g=Jt.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:C}){return["ul",HC(this.options.HTMLAttributes,C,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:C})=>C.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});QC.create({name:"listKit",addExtensions(){const C=[];return this.options.bulletList!==!1&&C.push(SF.configure(this.options.bulletList)),this.options.listItem!==!1&&C.push(KF.configure(this.options.listItem)),this.options.listKeymap!==!1&&C.push(TF.configure(this.options.listKeymap)),this.options.orderedList!==!1&&C.push(xF.configure(this.options.orderedList)),this.options.taskItem!==!1&&C.push(x8g.configure(this.options.taskItem)),this.options.taskList!==!1&&C.push(O8g.configure(this.options.taskList)),C}});var Q8g=Jt.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:C}){return["p",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{setParagraph:()=>({commands:C})=>C.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),U8g=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,E8g=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,P8g=Ad.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:C=>C.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:C}){return["s",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{setStrike:()=>({commands:C})=>C.setMark(this.name),toggleStrike:()=>({commands:C})=>C.toggleMark(this.name),unsetStrike:()=>({commands:C})=>C.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[jr({find:U8g,type:this.type})]},addPasteRules(){return[nd({find:E8g,type:this.type})]}}),_8g=Jt.create({name:"text",group:"inline"}),$8g=Ad.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:C=>C.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:C}){return["u",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{setUnderline:()=>({commands:C})=>C.setMark(this.name),toggleUnderline:()=>({commands:C})=>C.toggleMark(this.name),unsetUnderline:()=>({commands:C})=>C.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function q8g(C={}){return new pC({view(g){return new g_g(g,C)}})}class g_g{constructor(g,I){var e;this.editorView=g,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(e=I.width)!==null&&e!==void 0?e:1,this.color=I.color===!1?void 0:I.color||"black",this.class=I.class,this.handlers=["dragover","dragend","drop","dragleave"].map(t=>{let i=A=>{this[t](A)};return g.dom.addEventListener(t,i),{name:t,handler:i}})}destroy(){this.handlers.forEach(({name:g,handler:I})=>this.editorView.dom.removeEventListener(g,I))}update(g,I){this.cursorPos!=null&&I.doc!=g.state.doc&&(this.cursorPos>g.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(g){g!=this.cursorPos&&(this.cursorPos=g,g==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let g=this.editorView.state.doc.resolve(this.cursorPos),I=!g.parent.inlineContent,e,t=this.editorView.dom,i=t.getBoundingClientRect(),A=i.width/t.offsetWidth,n=i.height/t.offsetHeight;if(I){let d=g.nodeBefore,m=g.nodeAfter;if(d||m){let u=this.editorView.nodeDOM(this.cursorPos-(d?d.nodeSize:0));if(u){let h=u.getBoundingClientRect(),Z=d?h.bottom:h.top;d&&m&&(Z=(Z+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let G=this.width/2*n;e={left:h.left,right:h.right,top:Z-G,bottom:Z+G}}}}if(!e){let d=this.editorView.coordsAtPos(this.cursorPos),m=this.width/2*A;e={left:d.left-m,right:d.left+m,top:d.top,bottom:d.bottom}}let l=this.editorView.dom.offsetParent;this.element||(this.element=l.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",I),this.element.classList.toggle("prosemirror-dropcursor-inline",!I);let o,a;if(!l||l==document.body&&getComputedStyle(l).position=="static")o=-pageXOffset,a=-pageYOffset;else{let d=l.getBoundingClientRect(),m=d.width/l.offsetWidth,u=d.height/l.offsetHeight;o=d.left-l.scrollLeft*m,a=d.top-l.scrollTop*u}this.element.style.left=(e.left-o)/A+"px",this.element.style.top=(e.top-a)/n+"px",this.element.style.width=(e.right-e.left)/A+"px",this.element.style.height=(e.bottom-e.top)/n+"px"}scheduleRemoval(g){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),g)}dragover(g){if(!this.editorView.editable)return;let I=this.editorView.posAtCoords({left:g.clientX,top:g.clientY}),e=I&&I.inside>=0&&this.editorView.state.doc.nodeAt(I.inside),t=e&&e.type.spec.disableDropCursor,i=typeof t=="function"?t(this.editorView,I,g):t;if(I&&!i){let A=I.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let n=qK(this.editorView.state.doc,A,this.editorView.dragging.slice);n!=null&&(A=n)}this.setCursor(A),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(g){this.editorView.dom.contains(g.relatedTarget)||this.setCursor(null)}}class YC extends tI{constructor(g){super(g,g)}map(g,I){let e=g.resolve(I.map(this.head));return YC.valid(e)?new YC(e):tI.near(e)}content(){return yg.empty}eq(g){return g instanceof YC&&g.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(g,I){if(typeof I.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new YC(g.resolve(I.pos))}getBookmark(){return new nM(this.anchor)}static valid(g){let I=g.parent;if(I.isTextblock||!I_g(g)||!C_g(g))return!1;let e=I.type.spec.allowGapCursor;if(e!=null)return e;let t=I.contentMatchAt(g.index()).defaultType;return t&&t.isTextblock}static findGapCursorFrom(g,I,e=!1){g:for(;;){if(!e&&YC.valid(g))return g;let t=g.pos,i=null;for(let A=g.depth;;A--){let n=g.node(A);if(I>0?g.indexAfter(A)<n.childCount:g.index(A)>0){i=n.child(I>0?g.indexAfter(A):g.index(A)-1);break}else if(A==0)return null;t+=I;let l=g.doc.resolve(t);if(YC.valid(l))return l}for(;;){let A=I>0?i.firstChild:i.lastChild;if(!A){if(i.isAtom&&!i.isText&&!Jg.isSelectable(i)){g=g.doc.resolve(t+i.nodeSize*I),e=!1;continue g}break}i=A,t+=I;let n=g.doc.resolve(t);if(YC.valid(n))return n}return null}}}YC.prototype.visible=!1,YC.findFrom=YC.findGapCursorFrom,tI.jsonID("gapcursor",YC);class nM{constructor(g){this.pos=g}map(g){return new nM(g.map(this.pos))}resolve(g){let I=g.resolve(this.pos);return YC.valid(I)?new YC(I):tI.near(I)}}function I_g(C){for(let g=C.depth;g>=0;g--){let I=C.index(g),e=C.node(g);if(I==0){if(e.type.spec.isolating)return!0;continue}for(let t=e.child(I-1);;t=t.lastChild){if(t.childCount==0&&!t.inlineContent||t.isAtom||t.type.spec.isolating)return!0;if(t.inlineContent)return!1}}return!0}function C_g(C){for(let g=C.depth;g>=0;g--){let I=C.indexAfter(g),e=C.node(g);if(I==e.childCount){if(e.type.spec.isolating)return!0;continue}for(let t=e.child(I);;t=t.firstChild){if(t.childCount==0&&!t.inlineContent||t.isAtom||t.type.spec.isolating)return!0;if(t.inlineContent)return!1}}return!0}function e_g(){return new pC({props:{decorations:n_g,createSelectionBetween(C,g,I){return g.pos==I.pos&&YC.valid(I)?new YC(I):null},handleClick:i_g,handleKeyDown:t_g,handleDOMEvents:{beforeinput:A_g}}})}const t_g=Y3({ArrowLeft:gp("horiz",-1),ArrowRight:gp("horiz",1),ArrowUp:gp("vert",-1),ArrowDown:gp("vert",1)});function gp(C,g){const I=C=="vert"?g>0?"down":"up":g>0?"right":"left";return function(e,t,i){let A=e.selection,n=g>0?A.$to:A.$from,l=A.empty;if(A instanceof xg){if(!i.endOfTextblock(I)||n.depth==0)return!1;l=!1,n=e.doc.resolve(g>0?n.after():n.before())}let o=YC.findGapCursorFrom(n,g,l);return o?(t&&t(e.tr.setSelection(new YC(o))),!0):!1}}function i_g(C,g,I){if(!C||!C.editable)return!1;let e=C.state.doc.resolve(g);if(!YC.valid(e))return!1;let t=C.posAtCoords({left:I.clientX,top:I.clientY});return t&&t.inside>-1&&Jg.isSelectable(C.state.doc.nodeAt(t.inside))?!1:(C.dispatch(C.state.tr.setSelection(new YC(e))),!0)}function A_g(C,g){if(g.inputType!="insertCompositionText"||!(C.state.selection instanceof YC))return!1;let{$from:I}=C.state.selection,e=I.parent.contentMatchAt(I.index()).findWrapping(C.state.schema.nodes.text);if(!e)return!1;let t=dg.empty;for(let A=e.length-1;A>=0;A--)t=dg.from(e[A].createAndFill(null,t));let i=C.state.tr.replace(I.pos,I.pos,new yg(t,0,0));return i.setSelection(xg.near(i.doc.resolve(I.pos+1))),C.dispatch(i),!1}function n_g(C){if(!(C.selection instanceof YC))return null;let g=document.createElement("div");return g.className="ProseMirror-gapcursor",bC.create(C.doc,[Gt.widget(C.selection.head,g,{key:"gapcursor"})])}var Ip=200,me=function(){};me.prototype.append=function(g){return g.length?(g=me.from(g),!this.length&&g||g.length<Ip&&this.leafAppend(g)||this.length<Ip&&g.leafPrepend(this)||this.appendInner(g)):this},me.prototype.prepend=function(g){return g.length?me.from(g).append(this):this},me.prototype.appendInner=function(g){return new l_g(this,g)},me.prototype.slice=function(g,I){return g===void 0&&(g=0),I===void 0&&(I=this.length),g>=I?me.empty:this.sliceInner(Math.max(0,g),Math.min(this.length,I))},me.prototype.get=function(g){if(!(g<0||g>=this.length))return this.getInner(g)},me.prototype.forEach=function(g,I,e){I===void 0&&(I=0),e===void 0&&(e=this.length),I<=e?this.forEachInner(g,I,e,0):this.forEachInvertedInner(g,I,e,0)},me.prototype.map=function(g,I,e){I===void 0&&(I=0),e===void 0&&(e=this.length);var t=[];return this.forEach(function(i,A){return t.push(g(i,A))},I,e),t},me.from=function(g){return g instanceof me?g:g&&g.length?new OF(g):me.empty};var OF=function(C){function g(e){C.call(this),this.values=e}C&&(g.__proto__=C),g.prototype=Object.create(C&&C.prototype),g.prototype.constructor=g;var I={length:{configurable:!0},depth:{configurable:!0}};return g.prototype.flatten=function(){return this.values},g.prototype.sliceInner=function(t,i){return t==0&&i==this.length?this:new g(this.values.slice(t,i))},g.prototype.getInner=function(t){return this.values[t]},g.prototype.forEachInner=function(t,i,A,n){for(var l=i;l<A;l++)if(t(this.values[l],n+l)===!1)return!1},g.prototype.forEachInvertedInner=function(t,i,A,n){for(var l=i-1;l>=A;l--)if(t(this.values[l],n+l)===!1)return!1},g.prototype.leafAppend=function(t){if(this.length+t.length<=Ip)return new g(this.values.concat(t.flatten()))},g.prototype.leafPrepend=function(t){if(this.length+t.length<=Ip)return new g(t.flatten().concat(this.values))},I.length.get=function(){return this.values.length},I.depth.get=function(){return 0},Object.defineProperties(g.prototype,I),g}(me);me.empty=new OF([]);var l_g=function(C){function g(I,e){C.call(this),this.left=I,this.right=e,this.length=I.length+e.length,this.depth=Math.max(I.depth,e.depth)+1}return C&&(g.__proto__=C),g.prototype=Object.create(C&&C.prototype),g.prototype.constructor=g,g.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},g.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},g.prototype.forEachInner=function(e,t,i,A){var n=this.left.length;if(t<n&&this.left.forEachInner(e,t,Math.min(i,n),A)===!1||i>n&&this.right.forEachInner(e,Math.max(t-n,0),Math.min(this.length,i)-n,A+n)===!1)return!1},g.prototype.forEachInvertedInner=function(e,t,i,A){var n=this.left.length;if(t>n&&this.right.forEachInvertedInner(e,t-n,Math.max(i,n)-n,A+n)===!1||i<n&&this.left.forEachInvertedInner(e,Math.min(t,n),i,A)===!1)return!1},g.prototype.sliceInner=function(e,t){if(e==0&&t==this.length)return this;var i=this.left.length;return t<=i?this.left.slice(e,t):e>=i?this.right.slice(e-i,t-i):this.left.slice(e,i).append(this.right.slice(0,t-i))},g.prototype.leafAppend=function(e){var t=this.right.leafAppend(e);if(t)return new g(this.left,t)},g.prototype.leafPrepend=function(e){var t=this.left.leafPrepend(e);if(t)return new g(t,this.right)},g.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new g(this.left,new g(this.right,e)):new g(this,e)},g}(me);const s_g=500;class DA{constructor(g,I){this.items=g,this.eventCount=I}popEvent(g,I){if(this.eventCount==0)return null;let e=this.items.length;for(;;e--)if(this.items.get(e-1).selection){--e;break}let t,i;I&&(t=this.remapping(e,this.items.length),i=t.maps.length);let A=g.tr,n,l,o=[],a=[];return this.items.forEach((d,m)=>{if(!d.step){t||(t=this.remapping(e,m+1),i=t.maps.length),i--,a.push(d);return}if(t){a.push(new Vn(d.map));let u=d.step.map(t.slice(i)),h;u&&A.maybeStep(u).doc&&(h=A.mapping.maps[A.mapping.maps.length-1],o.push(new Vn(h,void 0,void 0,o.length+a.length))),i--,h&&t.appendMap(h,i)}else A.maybeStep(d.step);if(d.selection)return n=t?d.selection.map(t.slice(i)):d.selection,l=new DA(this.items.slice(0,e).append(a.reverse().concat(o)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:A,selection:n}}addTransform(g,I,e,t){let i=[],A=this.eventCount,n=this.items,l=!t&&n.length?n.get(n.length-1):null;for(let a=0;a<g.steps.length;a++){let d=g.steps[a].invert(g.docs[a]),m=new Vn(g.mapping.maps[a],d,I),u;(u=l&&l.merge(m))&&(m=u,a?i.pop():n=n.slice(0,n.length-1)),i.push(m),I&&(A++,I=void 0),t||(l=m)}let o=A-e.depth;return o>a_g&&(n=o_g(n,o),A-=o),new DA(n.append(i),A)}remapping(g,I){let e=new h0;return this.items.forEach((t,i)=>{let A=t.mirrorOffset!=null&&i-t.mirrorOffset>=g?e.maps.length-t.mirrorOffset:void 0;e.appendMap(t.map,A)},g,I),e}addMaps(g){return this.eventCount==0?this:new DA(this.items.append(g.map(I=>new Vn(I))),this.eventCount)}rebased(g,I){if(!this.eventCount)return this;let e=[],t=Math.max(0,this.items.length-I),i=g.mapping,A=g.steps.length,n=this.eventCount;this.items.forEach(m=>{m.selection&&n--},t);let l=I;this.items.forEach(m=>{let u=i.getMirror(--l);if(u==null)return;A=Math.min(A,u);let h=i.maps[u];if(m.step){let Z=g.steps[u].invert(g.docs[u]),G=m.selection&&m.selection.map(i.slice(l+1,u));G&&n++,e.push(new Vn(h,Z,G))}else e.push(new Vn(h))},t);let o=[];for(let m=I;m<A;m++)o.push(new Vn(i.maps[m]));let a=this.items.slice(0,t).append(o).append(e),d=new DA(a,n);return d.emptyItemCount()>s_g&&(d=d.compress(this.items.length-e.length)),d}emptyItemCount(){let g=0;return this.items.forEach(I=>{I.step||g++}),g}compress(g=this.items.length){let I=this.remapping(0,g),e=I.maps.length,t=[],i=0;return this.items.forEach((A,n)=>{if(n>=g)t.push(A),A.selection&&i++;else if(A.step){let l=A.step.map(I.slice(e)),o=l&&l.getMap();if(e--,o&&I.appendMap(o,e),l){let a=A.selection&&A.selection.map(I.slice(e));a&&i++;let d=new Vn(o.invert(),l,a),m,u=t.length-1;(m=t.length&&t[u].merge(d))?t[u]=m:t.push(d)}}else A.map&&e--},this.items.length,0),new DA(me.from(t.reverse()),i)}}DA.empty=new DA(me.empty,0);function o_g(C,g){let I;return C.forEach((e,t)=>{if(e.selection&&g--==0)return I=t,!1}),C.slice(I)}class Vn{constructor(g,I,e,t){this.map=g,this.step=I,this.selection=e,this.mirrorOffset=t}merge(g){if(this.step&&g.step&&!g.selection){let I=g.step.merge(this.step);if(I)return new Vn(I.getMap().invert(),I,this.selection)}}}class no{constructor(g,I,e,t,i){this.done=g,this.undone=I,this.prevRanges=e,this.prevTime=t,this.prevComposition=i}}const a_g=20;function d_g(C,g,I,e){let t=I.getMeta(od),i;if(t)return t.historyState;I.getMeta(m_g)&&(C=new no(C.done,C.undone,null,0,-1));let A=I.getMeta("appendedTransaction");if(I.steps.length==0)return C;if(A&&A.getMeta(od))return A.getMeta(od).redo?new no(C.done.addTransform(I,void 0,e,Cp(g)),C.undone,QF(I.mapping.maps),C.prevTime,C.prevComposition):new no(C.done,C.undone.addTransform(I,void 0,e,Cp(g)),null,C.prevTime,C.prevComposition);if(I.getMeta("addToHistory")!==!1&&!(A&&A.getMeta("addToHistory")===!1)){let n=I.getMeta("composition"),l=C.prevTime==0||!A&&C.prevComposition!=n&&(C.prevTime<(I.time||0)-e.newGroupDelay||!c_g(I,C.prevRanges)),o=A?lM(C.prevRanges,I.mapping):QF(I.mapping.maps);return new no(C.done.addTransform(I,l?g.selection.getBookmark():void 0,e,Cp(g)),DA.empty,o,I.time,n??C.prevComposition)}else return(i=I.getMeta("rebased"))?new no(C.done.rebased(I,i),C.undone.rebased(I,i),lM(C.prevRanges,I.mapping),C.prevTime,C.prevComposition):new no(C.done.addMaps(I.mapping.maps),C.undone.addMaps(I.mapping.maps),lM(C.prevRanges,I.mapping),C.prevTime,C.prevComposition)}function c_g(C,g){if(!g)return!1;if(!C.docChanged)return!0;let I=!1;return C.mapping.maps[0].forEach((e,t)=>{for(let i=0;i<g.length;i+=2)e<=g[i+1]&&t>=g[i]&&(I=!0)}),I}function QF(C){let g=[];for(let I=C.length-1;I>=0&&g.length==0;I--)C[I].forEach((e,t,i,A)=>g.push(i,A));return g}function lM(C,g){if(!C)return null;let I=[];for(let e=0;e<C.length;e+=2){let t=g.map(C[e],1),i=g.map(C[e+1],-1);t<=i&&I.push(t,i)}return I}function r_g(C,g,I){let e=Cp(g),t=od.get(g).spec.config,i=(I?C.undone:C.done).popEvent(g,e);if(!i)return null;let A=i.selection.resolve(i.transform.doc),n=(I?C.done:C.undone).addTransform(i.transform,g.selection.getBookmark(),t,e),l=new no(I?n:i.remaining,I?i.remaining:n,null,0,-1);return i.transform.setSelection(A).setMeta(od,{redo:I,historyState:l})}let sM=!1,UF=null;function Cp(C){let g=C.plugins;if(UF!=g){sM=!1,UF=g;for(let I=0;I<g.length;I++)if(g[I].spec.historyPreserveItems){sM=!0;break}}return sM}const od=new re("history"),m_g=new re("closeHistory");function u_g(C={}){return C={depth:C.depth||100,newGroupDelay:C.newGroupDelay||500},new pC({key:od,state:{init(){return new no(DA.empty,DA.empty,null,0,-1)},apply(g,I,e){return d_g(I,e,g,C)}},config:C,props:{handleDOMEvents:{beforeinput(g,I){let e=I.inputType,t=e=="historyUndo"?PF:e=="historyRedo"?_F:null;return t?(I.preventDefault(),t(g.state,g.dispatch)):!1}}}})}function EF(C,g){return(I,e)=>{let t=od.getState(I);if(!t||(C?t.undone:t.done).eventCount==0)return!1;if(e){let i=r_g(t,I,C);i&&e(g?i.scrollIntoView():i)}return!0}}const PF=EF(!1,!0),_F=EF(!0,!0);QC.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:C=>C.length,wordCounter:C=>C.split(" ").filter(g=>g!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=C=>{const g=(C==null?void 0:C.node)||this.editor.state.doc;if(((C==null?void 0:C.mode)||this.options.mode)==="textSize"){const e=g.textBetween(0,g.content.size,void 0," ");return this.options.textCounter(e)}return g.nodeSize},this.storage.words=C=>{const g=(C==null?void 0:C.node)||this.editor.state.doc,I=g.textBetween(0,g.content.size," "," ");return this.options.wordCounter(I)}},addProseMirrorPlugins(){let C=!1;return[new pC({key:new re("characterCount"),appendTransaction:(g,I,e)=>{if(C)return;const t=this.options.limit;if(t==null||t===0){C=!0;return}const i=this.storage.characters({node:e.doc});if(i>t){const A=i-t,n=0,l=A;console.warn(`[CharacterCount] Initial content exceeded limit of ${t} characters. Content was automatically trimmed.`);const o=e.tr.deleteRange(n,l);return C=!0,o}C=!0},filterTransaction:(g,I)=>{const e=this.options.limit;if(!g.docChanged||e===0||e===null||e===void 0)return!0;const t=this.storage.characters({node:I.doc}),i=this.storage.characters({node:g.doc});if(i<=e||t>e&&i>e&&i<=t)return!0;if(t>e&&i>e&&i>t||!g.getMeta("paste"))return!1;const n=g.selection.$head.pos,l=i-e,o=n-l,a=n;return g.deleteRange(o,a),!(this.storage.characters({node:g.doc})>e)}})]}});var h_g=QC.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[q8g(this.options)]}});QC.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new pC({key:new re("focus"),props:{decorations:({doc:C,selection:g})=>{const{isEditable:I,isFocused:e}=this.editor,{anchor:t}=g,i=[];if(!I||!e)return bC.create(C,[]);let A=0;this.options.mode==="deepest"&&C.descendants((l,o)=>{if(l.isText)return;if(!(t>=o&&t<=o+l.nodeSize-1))return!1;A+=1});let n=0;return C.descendants((l,o)=>{if(l.isText||!(t>=o&&t<=o+l.nodeSize-1))return!1;if(n+=1,this.options.mode==="deepest"&&A-n>0||this.options.mode==="shallowest"&&n>1)return this.options.mode==="deepest";i.push(Gt.node(o,o+l.nodeSize,{class:this.options.className}))}),bC.create(C,i)}}})]}});var b_g=QC.create({name:"gapCursor",addProseMirrorPlugins(){return[e_g()]},extendNodeSchema(C){var g;const I={name:C.name,options:C.options,storage:C.storage};return{allowGapCursor:(g=HI(Fg(C,"allowGapCursor",I)))!=null?g:null}}}),Z_g=QC.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new pC({key:new re("placeholder"),props:{decorations:({doc:C,selection:g})=>{const I=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:e}=g,t=[];if(!I)return null;const i=this.editor.isEmpty;return C.descendants((A,n)=>{const l=e>=n&&e<=n+A.nodeSize,o=!A.isLeaf&&mB(A);if((l||!this.options.showOnlyCurrent)&&o){const a=[this.options.emptyNodeClass];i&&a.push(this.options.emptyEditorClass);const d=Gt.node(n,n+A.nodeSize,{class:a.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:A,pos:n,hasAnchor:l}):this.options.placeholder});t.push(d)}return this.options.includeChildren}),bC.create(C,t)}}})]}});QC.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:C,options:g}=this;return[new pC({key:new re("selection"),props:{decorations(I){return I.selection.empty||C.isFocused||!C.isEditable||_3(I.selection)||C.view.dragging?null:bC.create(I.doc,[Gt.inline(I.selection.from,I.selection.to,{class:g.className})])}}})]}});function $F({types:C,node:g}){return g&&Array.isArray(C)&&C.includes(g.type)||(g==null?void 0:g.type)===C}var G_g=QC.create({name:"trailingNode",addOptions(){return{node:"paragraph",notAfter:[]}},addProseMirrorPlugins(){const C=new re(this.name),g=Object.entries(this.editor.schema.nodes).map(([,I])=>I).filter(I=>(this.options.notAfter||[]).concat(this.options.node).includes(I.name));return[new pC({key:C,appendTransaction:(I,e,t)=>{const{doc:i,tr:A,schema:n}=t,l=C.getState(t),o=i.content.size,a=n.nodes[this.options.node];if(l)return A.insert(o,a.create())},state:{init:(I,e)=>{const t=e.tr.doc.lastChild;return!$F({node:t,types:g})},apply:(I,e)=>{if(!I.docChanged)return e;const t=I.doc.lastChild;return!$F({node:t,types:g})}}})]}}),w_g=QC.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:C,dispatch:g})=>PF(C,g),redo:()=>({state:C,dispatch:g})=>_F(C,g)}},addProseMirrorPlugins(){return[u_g(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()}}}),W_g=QC.create({name:"starterKit",addExtensions(){var C,g,I,e;const t=[];return this.options.bold!==!1&&t.push(_6g.configure(this.options.bold)),this.options.blockquote!==!1&&t.push(O6g.configure(this.options.blockquote)),this.options.bulletList!==!1&&t.push(SF.configure(this.options.bulletList)),this.options.code!==!1&&t.push(g8g.configure(this.options.code)),this.options.codeBlock!==!1&&t.push(e8g.configure(this.options.codeBlock)),this.options.document!==!1&&t.push(t8g.configure(this.options.document)),this.options.dropcursor!==!1&&t.push(h_g.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&t.push(b_g.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&t.push(i8g.configure(this.options.hardBreak)),this.options.heading!==!1&&t.push(A8g.configure(this.options.heading)),this.options.undoRedo!==!1&&t.push(w_g.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&t.push(n8g.configure(this.options.horizontalRule)),this.options.italic!==!1&&t.push(d8g.configure(this.options.italic)),this.options.listItem!==!1&&t.push(KF.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(TF.configure((C=this.options)==null?void 0:C.listKeymap)),this.options.link!==!1&&t.push(XF.configure((g=this.options)==null?void 0:g.link)),this.options.orderedList!==!1&&t.push(xF.configure(this.options.orderedList)),this.options.paragraph!==!1&&t.push(Q8g.configure(this.options.paragraph)),this.options.strike!==!1&&t.push(P8g.configure(this.options.strike)),this.options.text!==!1&&t.push(_8g.configure(this.options.text)),this.options.underline!==!1&&t.push($8g.configure((I=this.options)==null?void 0:I.underline)),this.options.trailingNode!==!1&&t.push(G_g.configure((e=this.options)==null?void 0:e.trailingNode)),t}}),B_g=W_g,p_g=Z_g;const qF="https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64",gz={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"},Iz="u",ep="n",tp="v",j0="r",y_g={[ep]:["grinning face","grinning"],[Iz]:"1f600",[j0]:"1f600"},ip="neutral",Y_g=[ip,"1f3fb","1f3fc","1f3fd","1f3fe","1f3ff"],V_g={placeholder:"Search emoji",skinTone:"Skin tone"},N_g=["light","dark","auto"];var M_g={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"}]},Cz=[{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 R_g=(C,g)=>g.some(I=>C instanceof I);let ez,tz;function f_g(){return ez||(ez=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function X_g(){return tz||(tz=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const iz=new WeakMap,oM=new WeakMap,Az=new WeakMap,aM=new WeakMap,dM=new WeakMap;function H_g(C){const g=new Promise((I,e)=>{const t=()=>{C.removeEventListener("success",i),C.removeEventListener("error",A)},i=()=>{I(lo(C.result)),t()},A=()=>{e(C.error),t()};C.addEventListener("success",i),C.addEventListener("error",A)});return g.then(I=>{I instanceof IDBCursor&&iz.set(I,C)}).catch(()=>{}),dM.set(g,C),g}function D_g(C){if(oM.has(C))return;const g=new Promise((I,e)=>{const t=()=>{C.removeEventListener("complete",i),C.removeEventListener("error",A),C.removeEventListener("abort",A)},i=()=>{I(),t()},A=()=>{e(C.error||new DOMException("AbortError","AbortError")),t()};C.addEventListener("complete",i),C.addEventListener("error",A),C.addEventListener("abort",A)});oM.set(C,g)}let cM={get(C,g,I){if(C instanceof IDBTransaction){if(g==="done")return oM.get(C);if(g==="objectStoreNames")return C.objectStoreNames||Az.get(C);if(g==="store")return I.objectStoreNames[1]?void 0:I.objectStore(I.objectStoreNames[0])}return lo(C[g])},set(C,g,I){return C[g]=I,!0},has(C,g){return C instanceof IDBTransaction&&(g==="done"||g==="store")?!0:g in C}};function S_g(C){cM=C(cM)}function K_g(C){return C===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(g,...I){const e=C.call(rM(this),g,...I);return Az.set(e,g.sort?g.sort():[g]),lo(e)}:X_g().includes(C)?function(...g){return C.apply(rM(this),g),lo(iz.get(this))}:function(...g){return lo(C.apply(rM(this),g))}}function k_g(C){return typeof C=="function"?K_g(C):(C instanceof IDBTransaction&&D_g(C),R_g(C,f_g())?new Proxy(C,cM):C)}function lo(C){if(C instanceof IDBRequest)return H_g(C);if(aM.has(C))return aM.get(C);const g=k_g(C);return g!==C&&(aM.set(C,g),dM.set(g,C)),g}const rM=C=>dM.get(C);function mM(C,g,{blocked:I,upgrade:e,blocking:t,terminated:i}={}){const A=indexedDB.open(C,g),n=lo(A);return e&&A.addEventListener("upgradeneeded",l=>{e(lo(A.result),l.oldVersion,l.newVersion,lo(A.transaction),l)}),I&&A.addEventListener("blocked",l=>I(l.oldVersion,l.newVersion,l)),n.then(l=>{i&&l.addEventListener("close",()=>i()),t&&l.addEventListener("versionchange",o=>t(o.oldVersion,o.newVersion,o))}).catch(()=>{}),n}const F_g=["get","getKey","getAll","getAllKeys","count"],z_g=["put","add","delete","clear"],uM=new Map;function nz(C,g){if(!(C instanceof IDBDatabase&&!(g in C)&&typeof g=="string"))return;if(uM.get(g))return uM.get(g);const I=g.replace(/FromIndex$/,""),e=g!==I,t=z_g.includes(I);if(!(I in(e?IDBIndex:IDBObjectStore).prototype)||!(t||F_g.includes(I)))return;const i=async function(A,...n){const l=this.transaction(A,t?"readwrite":"readonly");let o=l.store;return e&&(o=o.index(n.shift())),(await Promise.all([o[I](...n),t&&l.done]))[0]};return uM.set(g,i),i}S_g(C=>({...C,get:(g,I,e)=>nz(g,I)||C.get(g,I,e),has:(g,I)=>!!nz(g,I)||C.has(g,I)}));const hM="EMJ",Qr="emojis",bM=3;async function J_g(){(await mM(hM,bM,{upgrade(g,I){g.objectStoreNames.contains(Qr)||g.createObjectStore(Qr,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0})}})).close()}J_g();const L_g={native:!1,hideSearch:!0,hideGroupIcons:!1,hideGroupNames:!1,staticTexts:{},disabledGroups:[],groupNames:{},displayRecent:!1,additionalGroups:{},groupOrder:[],groupIcons:{}};async function T_g(){return await(await mM(hM,bM)).transaction(Qr,"readonly").objectStore(Qr).getAll()}function v_g(){const C=s.reactive({search:"",emoji:y_g,activeGroup:"",skinTone:ip,options:L_g,additionalGroups:{},recent:[],get emojis(){return{recent:this.recent,...this.options.additionalGroups,...M_g}},get disabled(){let d=Array.isArray(this.options.disabledGroups)?this.options.disabledGroups:[];return this.options.displayRecent||(d=["recent",...d]),d},get groups(){return Cz.filter(d=>!this.disabled.includes(d.key))},get orderedGroupKeys(){const d=[...this.options.groupOrder,...Object.keys(this.options.additionalGroups),...Cz.map(m=>m.key)];return[...new Set(d)].filter(m=>!this.disabled.includes(m))}});function g(){C.options.displayRecent&&e()}async function I(){var d;let m=await T_g();return Array.isArray(m)&&m.length?m=JSON.parse(((d=m[0])==null?void 0:d.value)||""):m=[],m}function e(){I().then(d=>{C.recent=d,o()})}const t=d=>{C.search=d},i=d=>{C.emoji=d},A=d=>{C.activeGroup=d},n=(d=ip)=>{C.skinTone=d},l=d=>{C.options=Object.assign({},C.options,d),g()};async function o(){(await mM(hM,bM)).transaction(Qr,"readwrite").objectStore(Qr).put({id:0,value:JSON.stringify(C.recent)})}const a=d=>{if(C.options.displayRecent!==!0)return;const m=C.recent.findIndex(h=>h.u===d.u);if(m>0&&C.recent.splice(m,1),m===0)return;const u={u:d.u,n:s.toRaw(d.n)};C.recent=[u,...C.recent],C.recent.length>24&&(C.recent.length=24),o()};return{state:s.readonly(C),updateSearch:t,updateEmoji:i,updateActiveGroup:A,updateSkinTone:n,updateOptions:l,updateSelect:a}}var Tt="top",Pi="bottom",_i="right",vt="left",ZM="auto",x0=[Tt,Pi,_i,vt],Ur="start",O0="end",j_g="clippingParents",lz="viewport",Q0="popper",x_g="reference",sz=x0.reduce(function(C,g){return C.concat([g+"-"+Ur,g+"-"+O0])},[]),oz=[].concat(x0,[ZM]).reduce(function(C,g){return C.concat([g,g+"-"+Ur,g+"-"+O0])},[]),O_g="beforeRead",Q_g="read",U_g="afterRead",E_g="beforeMain",P_g="main",__g="afterMain",$_g="beforeWrite",q_g="write",g$g="afterWrite",I$g=[O_g,Q_g,U_g,E_g,P_g,__g,$_g,q_g,g$g];function Nn(C){return C?(C.nodeName||"").toLowerCase():null}function SA(C){if(C==null)return window;if(C.toString()!=="[object Window]"){var g=C.ownerDocument;return g&&g.defaultView||window}return C}function Er(C){var g=SA(C).Element;return C instanceof g||C instanceof Element}function $i(C){var g=SA(C).HTMLElement;return C instanceof g||C instanceof HTMLElement}function az(C){if(typeof ShadowRoot>"u")return!1;var g=SA(C).ShadowRoot;return C instanceof g||C instanceof ShadowRoot}function C$g(C){var g=C.state;Object.keys(g.elements).forEach(function(I){var e=g.styles[I]||{},t=g.attributes[I]||{},i=g.elements[I];!$i(i)||!Nn(i)||(Object.assign(i.style,e),Object.keys(t).forEach(function(A){var n=t[A];n===!1?i.removeAttribute(A):i.setAttribute(A,n===!0?"":n)}))})}function e$g(C){var g=C.state,I={popper:{position:g.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(g.elements.popper.style,I.popper),g.styles=I,g.elements.arrow&&Object.assign(g.elements.arrow.style,I.arrow),function(){Object.keys(g.elements).forEach(function(e){var t=g.elements[e],i=g.attributes[e]||{},A=Object.keys(g.styles.hasOwnProperty(e)?g.styles[e]:I[e]),n=A.reduce(function(l,o){return l[o]="",l},{});!$i(t)||!Nn(t)||(Object.assign(t.style,n),Object.keys(i).forEach(function(l){t.removeAttribute(l)}))})}}var t$g={name:"applyStyles",enabled:!0,phase:"write",fn:C$g,effect:e$g,requires:["computeStyles"]};function Mn(C){return C.split("-")[0]}var ad=Math.max,Ap=Math.min,Pr=Math.round;function _r(C,g){g===void 0&&(g=!1);var I=C.getBoundingClientRect(),e=1,t=1;if($i(C)&&g){var i=C.offsetHeight,A=C.offsetWidth;A>0&&(e=Pr(I.width)/A||1),i>0&&(t=Pr(I.height)/i||1)}return{width:I.width/e,height:I.height/t,top:I.top/t,right:I.right/e,bottom:I.bottom/t,left:I.left/e,x:I.left/e,y:I.top/t}}function GM(C){var g=_r(C),I=C.offsetWidth,e=C.offsetHeight;return Math.abs(g.width-I)<=1&&(I=g.width),Math.abs(g.height-e)<=1&&(e=g.height),{x:C.offsetLeft,y:C.offsetTop,width:I,height:e}}function dz(C,g){var I=g.getRootNode&&g.getRootNode();if(C.contains(g))return!0;if(I&&az(I)){var e=g;do{if(e&&C.isSameNode(e))return!0;e=e.parentNode||e.host}while(e)}return!1}function Rn(C){return SA(C).getComputedStyle(C)}function i$g(C){return["table","td","th"].indexOf(Nn(C))>=0}function so(C){return((Er(C)?C.ownerDocument:C.document)||window.document).documentElement}function np(C){return Nn(C)==="html"?C:C.assignedSlot||C.parentNode||(az(C)?C.host:null)||so(C)}function cz(C){return!$i(C)||Rn(C).position==="fixed"?null:C.offsetParent}function A$g(C){var g=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,I=navigator.userAgent.indexOf("Trident")!==-1;if(I&&$i(C)){var e=Rn(C);if(e.position==="fixed")return null}for(var t=np(C);$i(t)&&["html","body"].indexOf(Nn(t))<0;){var i=Rn(t);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||g&&i.willChange==="filter"||g&&i.filter&&i.filter!=="none")return t;t=t.parentNode}return null}function U0(C){for(var g=SA(C),I=cz(C);I&&i$g(I)&&Rn(I).position==="static";)I=cz(I);return I&&(Nn(I)==="html"||Nn(I)==="body"&&Rn(I).position==="static")?g:I||A$g(C)||g}function wM(C){return["top","bottom"].indexOf(C)>=0?"x":"y"}function E0(C,g,I){return ad(C,Ap(g,I))}function n$g(C,g,I){var e=E0(C,g,I);return e>I?I:e}function rz(){return{top:0,right:0,bottom:0,left:0}}function mz(C){return Object.assign({},rz(),C)}function uz(C,g){return g.reduce(function(I,e){return I[e]=C,I},{})}var l$g=function(g,I){return g=typeof g=="function"?g(Object.assign({},I.rects,{placement:I.placement})):g,mz(typeof g!="number"?g:uz(g,x0))};function s$g(C){var g,I=C.state,e=C.name,t=C.options,i=I.elements.arrow,A=I.modifiersData.popperOffsets,n=Mn(I.placement),l=wM(n),o=[vt,_i].indexOf(n)>=0,a=o?"height":"width";if(!(!i||!A)){var d=l$g(t.padding,I),m=GM(i),u=l==="y"?Tt:vt,h=l==="y"?Pi:_i,Z=I.rects.reference[a]+I.rects.reference[l]-A[l]-I.rects.popper[a],G=A[l]-I.rects.reference[l],w=U0(i),B=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,p=Z/2-G/2,y=d[u],Y=B-m[a]-d[h],R=B/2-m[a]/2+p,M=E0(y,R,Y),K=l;I.modifiersData[e]=(g={},g[K]=M,g.centerOffset=M-R,g)}}function o$g(C){var g=C.state,I=C.options,e=I.element,t=e===void 0?"[data-popper-arrow]":e;t!=null&&(typeof t=="string"&&(t=g.elements.popper.querySelector(t),!t)||dz(g.elements.popper,t)&&(g.elements.arrow=t))}var a$g={name:"arrow",enabled:!0,phase:"main",fn:s$g,effect:o$g,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $r(C){return C.split("-")[1]}var d$g={top:"auto",right:"auto",bottom:"auto",left:"auto"};function c$g(C){var g=C.x,I=C.y,e=window,t=e.devicePixelRatio||1;return{x:Pr(g*t)/t||0,y:Pr(I*t)/t||0}}function hz(C){var g,I=C.popper,e=C.popperRect,t=C.placement,i=C.variation,A=C.offsets,n=C.position,l=C.gpuAcceleration,o=C.adaptive,a=C.roundOffsets,d=C.isFixed,m=a===!0?c$g(A):typeof a=="function"?a(A):A,u=m.x,h=u===void 0?0:u,Z=m.y,G=Z===void 0?0:Z,w=A.hasOwnProperty("x"),B=A.hasOwnProperty("y"),p=vt,y=Tt,Y=window;if(o){var R=U0(I),M="clientHeight",K="clientWidth";if(R===SA(I)&&(R=so(I),Rn(R).position!=="static"&&n==="absolute"&&(M="scrollHeight",K="scrollWidth")),R=R,t===Tt||(t===vt||t===_i)&&i===O0){y=Pi;var J=d&&Y.visualViewport?Y.visualViewport.height:R[M];G-=J-e.height,G*=l?1:-1}if(t===vt||(t===Tt||t===Pi)&&i===O0){p=_i;var X=d&&Y.visualViewport?Y.visualViewport.width:R[K];h-=X-e.width,h*=l?1:-1}}var D=Object.assign({position:n},o&&d$g);if(l){var z;return Object.assign({},D,(z={},z[y]=B?"0":"",z[p]=w?"0":"",z.transform=(Y.devicePixelRatio||1)<=1?"translate("+h+"px, "+G+"px)":"translate3d("+h+"px, "+G+"px, 0)",z))}return Object.assign({},D,(g={},g[y]=B?G+"px":"",g[p]=w?h+"px":"",g.transform="",g))}function r$g(C){var g=C.state,I=C.options,e=I.gpuAcceleration,t=e===void 0?!0:e,i=I.adaptive,A=i===void 0?!0:i,n=I.roundOffsets,l=n===void 0?!0:n,o={placement:Mn(g.placement),variation:$r(g.placement),popper:g.elements.popper,popperRect:g.rects.popper,gpuAcceleration:t,isFixed:g.options.strategy==="fixed"};g.modifiersData.popperOffsets!=null&&(g.styles.popper=Object.assign({},g.styles.popper,hz(Object.assign({},o,{offsets:g.modifiersData.popperOffsets,position:g.options.strategy,adaptive:A,roundOffsets:l})))),g.modifiersData.arrow!=null&&(g.styles.arrow=Object.assign({},g.styles.arrow,hz(Object.assign({},o,{offsets:g.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),g.attributes.popper=Object.assign({},g.attributes.popper,{"data-popper-placement":g.placement})}var m$g={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:r$g,data:{}},lp={passive:!0};function u$g(C){var g=C.state,I=C.instance,e=C.options,t=e.scroll,i=t===void 0?!0:t,A=e.resize,n=A===void 0?!0:A,l=SA(g.elements.popper),o=[].concat(g.scrollParents.reference,g.scrollParents.popper);return i&&o.forEach(function(a){a.addEventListener("scroll",I.update,lp)}),n&&l.addEventListener("resize",I.update,lp),function(){i&&o.forEach(function(a){a.removeEventListener("scroll",I.update,lp)}),n&&l.removeEventListener("resize",I.update,lp)}}var h$g={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:u$g,data:{}},b$g={left:"right",right:"left",bottom:"top",top:"bottom"};function sp(C){return C.replace(/left|right|bottom|top/g,function(g){return b$g[g]})}var Z$g={start:"end",end:"start"};function bz(C){return C.replace(/start|end/g,function(g){return Z$g[g]})}function WM(C){var g=SA(C),I=g.pageXOffset,e=g.pageYOffset;return{scrollLeft:I,scrollTop:e}}function BM(C){return _r(so(C)).left+WM(C).scrollLeft}function G$g(C){var g=SA(C),I=so(C),e=g.visualViewport,t=I.clientWidth,i=I.clientHeight,A=0,n=0;return e&&(t=e.width,i=e.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(A=e.offsetLeft,n=e.offsetTop)),{width:t,height:i,x:A+BM(C),y:n}}function w$g(C){var g,I=so(C),e=WM(C),t=(g=C.ownerDocument)==null?void 0:g.body,i=ad(I.scrollWidth,I.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),A=ad(I.scrollHeight,I.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),n=-e.scrollLeft+BM(C),l=-e.scrollTop;return Rn(t||I).direction==="rtl"&&(n+=ad(I.clientWidth,t?t.clientWidth:0)-i),{width:i,height:A,x:n,y:l}}function pM(C){var g=Rn(C),I=g.overflow,e=g.overflowX,t=g.overflowY;return/auto|scroll|overlay|hidden/.test(I+t+e)}function Zz(C){return["html","body","#document"].indexOf(Nn(C))>=0?C.ownerDocument.body:$i(C)&&pM(C)?C:Zz(np(C))}function P0(C,g){var I;g===void 0&&(g=[]);var e=Zz(C),t=e===((I=C.ownerDocument)==null?void 0:I.body),i=SA(e),A=t?[i].concat(i.visualViewport||[],pM(e)?e:[]):e,n=g.concat(A);return t?n:n.concat(P0(np(A)))}function yM(C){return Object.assign({},C,{left:C.x,top:C.y,right:C.x+C.width,bottom:C.y+C.height})}function W$g(C){var g=_r(C);return g.top=g.top+C.clientTop,g.left=g.left+C.clientLeft,g.bottom=g.top+C.clientHeight,g.right=g.left+C.clientWidth,g.width=C.clientWidth,g.height=C.clientHeight,g.x=g.left,g.y=g.top,g}function Gz(C,g){return g===lz?yM(G$g(C)):Er(g)?W$g(g):yM(w$g(so(C)))}function B$g(C){var g=P0(np(C)),I=["absolute","fixed"].indexOf(Rn(C).position)>=0,e=I&&$i(C)?U0(C):C;return Er(e)?g.filter(function(t){return Er(t)&&dz(t,e)&&Nn(t)!=="body"&&(I?Rn(t).position!=="static":!0)}):[]}function p$g(C,g,I){var e=g==="clippingParents"?B$g(C):[].concat(g),t=[].concat(e,[I]),i=t[0],A=t.reduce(function(n,l){var o=Gz(C,l);return n.top=ad(o.top,n.top),n.right=Ap(o.right,n.right),n.bottom=Ap(o.bottom,n.bottom),n.left=ad(o.left,n.left),n},Gz(C,i));return A.width=A.right-A.left,A.height=A.bottom-A.top,A.x=A.left,A.y=A.top,A}function wz(C){var g=C.reference,I=C.element,e=C.placement,t=e?Mn(e):null,i=e?$r(e):null,A=g.x+g.width/2-I.width/2,n=g.y+g.height/2-I.height/2,l;switch(t){case Tt:l={x:A,y:g.y-I.height};break;case Pi:l={x:A,y:g.y+g.height};break;case _i:l={x:g.x+g.width,y:n};break;case vt:l={x:g.x-I.width,y:n};break;default:l={x:g.x,y:g.y}}var o=t?wM(t):null;if(o!=null){var a=o==="y"?"height":"width";switch(i){case Ur:l[o]=l[o]-(g[a]/2-I[a]/2);break;case O0:l[o]=l[o]+(g[a]/2-I[a]/2);break}}return l}function _0(C,g){g===void 0&&(g={});var I=g,e=I.placement,t=e===void 0?C.placement:e,i=I.boundary,A=i===void 0?j_g:i,n=I.rootBoundary,l=n===void 0?lz:n,o=I.elementContext,a=o===void 0?Q0:o,d=I.altBoundary,m=d===void 0?!1:d,u=I.padding,h=u===void 0?0:u,Z=mz(typeof h!="number"?h:uz(h,x0)),G=a===Q0?x_g:Q0,w=C.rects.popper,B=C.elements[m?G:a],p=p$g(Er(B)?B:B.contextElement||so(C.elements.popper),A,l),y=_r(C.elements.reference),Y=wz({reference:y,element:w,strategy:"absolute",placement:t}),R=yM(Object.assign({},w,Y)),M=a===Q0?R:y,K={top:p.top-M.top+Z.top,bottom:M.bottom-p.bottom+Z.bottom,left:p.left-M.left+Z.left,right:M.right-p.right+Z.right},J=C.modifiersData.offset;if(a===Q0&&J){var X=J[t];Object.keys(K).forEach(function(D){var z=[_i,Pi].indexOf(D)>=0?1:-1,j=[Tt,Pi].indexOf(D)>=0?"y":"x";K[D]+=X[j]*z})}return K}function y$g(C,g){g===void 0&&(g={});var I=g,e=I.placement,t=I.boundary,i=I.rootBoundary,A=I.padding,n=I.flipVariations,l=I.allowedAutoPlacements,o=l===void 0?oz:l,a=$r(e),d=a?n?sz:sz.filter(function(h){return $r(h)===a}):x0,m=d.filter(function(h){return o.indexOf(h)>=0});m.length===0&&(m=d);var u=m.reduce(function(h,Z){return h[Z]=_0(C,{placement:Z,boundary:t,rootBoundary:i,padding:A})[Mn(Z)],h},{});return Object.keys(u).sort(function(h,Z){return u[h]-u[Z]})}function Y$g(C){if(Mn(C)===ZM)return[];var g=sp(C);return[bz(C),g,bz(g)]}function V$g(C){var g=C.state,I=C.options,e=C.name;if(!g.modifiersData[e]._skip){for(var t=I.mainAxis,i=t===void 0?!0:t,A=I.altAxis,n=A===void 0?!0:A,l=I.fallbackPlacements,o=I.padding,a=I.boundary,d=I.rootBoundary,m=I.altBoundary,u=I.flipVariations,h=u===void 0?!0:u,Z=I.allowedAutoPlacements,G=g.options.placement,w=Mn(G),B=w===G,p=l||(B||!h?[sp(G)]:Y$g(G)),y=[G].concat(p).reduce(function(pg,bg){return pg.concat(Mn(bg)===ZM?y$g(g,{placement:bg,boundary:a,rootBoundary:d,padding:o,flipVariations:h,allowedAutoPlacements:Z}):bg)},[]),Y=g.rects.reference,R=g.rects.popper,M=new Map,K=!0,J=y[0],X=0;X<y.length;X++){var D=y[X],z=Mn(D),j=$r(D)===Ur,q=[Tt,Pi].indexOf(z)>=0,gg=q?"width":"height",Q=_0(g,{placement:D,boundary:a,rootBoundary:d,altBoundary:m,padding:o}),_=q?j?_i:vt:j?Pi:Tt;Y[gg]>R[gg]&&(_=sp(_));var og=sp(_),eg=[];if(i&&eg.push(Q[z]<=0),n&&eg.push(Q[_]<=0,Q[og]<=0),eg.every(function(pg){return pg})){J=D,K=!1;break}M.set(D,eg)}if(K)for(var mg=h?3:1,Yg=function(bg){var oI=y.find(function(AI){var nC=M.get(AI);if(nC)return nC.slice(0,bg).every(function(KC){return KC})});if(oI)return J=oI,"break"},Zg=mg;Zg>0;Zg--){var ag=Yg(Zg);if(ag==="break")break}g.placement!==J&&(g.modifiersData[e]._skip=!0,g.placement=J,g.reset=!0)}}var N$g={name:"flip",enabled:!0,phase:"main",fn:V$g,requiresIfExists:["offset"],data:{_skip:!1}};function Wz(C,g,I){return I===void 0&&(I={x:0,y:0}),{top:C.top-g.height-I.y,right:C.right-g.width+I.x,bottom:C.bottom-g.height+I.y,left:C.left-g.width-I.x}}function Bz(C){return[Tt,_i,Pi,vt].some(function(g){return C[g]>=0})}function M$g(C){var g=C.state,I=C.name,e=g.rects.reference,t=g.rects.popper,i=g.modifiersData.preventOverflow,A=_0(g,{elementContext:"reference"}),n=_0(g,{altBoundary:!0}),l=Wz(A,e),o=Wz(n,t,i),a=Bz(l),d=Bz(o);g.modifiersData[I]={referenceClippingOffsets:l,popperEscapeOffsets:o,isReferenceHidden:a,hasPopperEscaped:d},g.attributes.popper=Object.assign({},g.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":d})}var R$g={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:M$g};function f$g(C,g,I){var e=Mn(C),t=[vt,Tt].indexOf(e)>=0?-1:1,i=typeof I=="function"?I(Object.assign({},g,{placement:C})):I,A=i[0],n=i[1];return A=A||0,n=(n||0)*t,[vt,_i].indexOf(e)>=0?{x:n,y:A}:{x:A,y:n}}function X$g(C){var g=C.state,I=C.options,e=C.name,t=I.offset,i=t===void 0?[0,0]:t,A=oz.reduce(function(a,d){return a[d]=f$g(d,g.rects,i),a},{}),n=A[g.placement],l=n.x,o=n.y;g.modifiersData.popperOffsets!=null&&(g.modifiersData.popperOffsets.x+=l,g.modifiersData.popperOffsets.y+=o),g.modifiersData[e]=A}var H$g={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:X$g};function D$g(C){var g=C.state,I=C.name;g.modifiersData[I]=wz({reference:g.rects.reference,element:g.rects.popper,strategy:"absolute",placement:g.placement})}var S$g={name:"popperOffsets",enabled:!0,phase:"read",fn:D$g,data:{}};function K$g(C){return C==="x"?"y":"x"}function k$g(C){var g=C.state,I=C.options,e=C.name,t=I.mainAxis,i=t===void 0?!0:t,A=I.altAxis,n=A===void 0?!1:A,l=I.boundary,o=I.rootBoundary,a=I.altBoundary,d=I.padding,m=I.tether,u=m===void 0?!0:m,h=I.tetherOffset,Z=h===void 0?0:h,G=_0(g,{boundary:l,rootBoundary:o,padding:d,altBoundary:a}),w=Mn(g.placement),B=$r(g.placement),p=!B,y=wM(w),Y=K$g(y),R=g.modifiersData.popperOffsets,M=g.rects.reference,K=g.rects.popper,J=typeof Z=="function"?Z(Object.assign({},g.rects,{placement:g.placement})):Z,X=typeof J=="number"?{mainAxis:J,altAxis:J}:Object.assign({mainAxis:0,altAxis:0},J),D=g.modifiersData.offset?g.modifiersData.offset[g.placement]:null,z={x:0,y:0};if(R){if(i){var j,q=y==="y"?Tt:vt,gg=y==="y"?Pi:_i,Q=y==="y"?"height":"width",_=R[y],og=_+G[q],eg=_-G[gg],mg=u?-K[Q]/2:0,Yg=B===Ur?M[Q]:K[Q],Zg=B===Ur?-K[Q]:-M[Q],ag=g.elements.arrow,pg=u&&ag?GM(ag):{width:0,height:0},bg=g.modifiersData["arrow#persistent"]?g.modifiersData["arrow#persistent"].padding:rz(),oI=bg[q],AI=bg[gg],nC=E0(0,M[Q],pg[Q]),KC=p?M[Q]/2-mg-nC-oI-X.mainAxis:Yg-nC-oI-X.mainAxis,eC=p?-M[Q]/2+mg+nC+AI+X.mainAxis:Zg+nC+AI+X.mainAxis,WI=g.elements.arrow&&U0(g.elements.arrow),ie=WI?y==="y"?WI.clientTop||0:WI.clientLeft||0:0,ke=(j=D==null?void 0:D[y])!=null?j:0,kC=_+KC-ke-ie,Ri=_+eC-ke,Nu=E0(u?Ap(og,kC):og,_,u?ad(eg,Ri):eg);R[y]=Nu,z[y]=Nu-_}if(n){var Fe,as=y==="x"?Tt:vt,TZ=y==="x"?Pi:_i,Vt=R[Y],Ae=Y==="y"?"height":"width",_A=Vt+G[as],$A=Vt-G[TZ],ds=[Tt,vt].indexOf(w)!==-1,qA=(Fe=D==null?void 0:D[Y])!=null?Fe:0,cA=ds?_A:Vt-M[Ae]-K[Ae]-qA+X.altAxis,gl=ds?Vt+M[Ae]+K[Ae]-qA-X.altAxis:$A,gn=u&&ds?n$g(cA,Vt,gl):E0(u?cA:_A,Vt,u?gl:$A);R[Y]=gn,z[Y]=gn-Vt}g.modifiersData[e]=z}}var F$g={name:"preventOverflow",enabled:!0,phase:"main",fn:k$g,requiresIfExists:["offset"]};function z$g(C){return{scrollLeft:C.scrollLeft,scrollTop:C.scrollTop}}function J$g(C){return C===SA(C)||!$i(C)?WM(C):z$g(C)}function L$g(C){var g=C.getBoundingClientRect(),I=Pr(g.width)/C.offsetWidth||1,e=Pr(g.height)/C.offsetHeight||1;return I!==1||e!==1}function T$g(C,g,I){I===void 0&&(I=!1);var e=$i(g),t=$i(g)&&L$g(g),i=so(g),A=_r(C,t),n={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(e||!e&&!I)&&((Nn(g)!=="body"||pM(i))&&(n=J$g(g)),$i(g)?(l=_r(g,!0),l.x+=g.clientLeft,l.y+=g.clientTop):i&&(l.x=BM(i))),{x:A.left+n.scrollLeft-l.x,y:A.top+n.scrollTop-l.y,width:A.width,height:A.height}}function v$g(C){var g=new Map,I=new Set,e=[];C.forEach(function(i){g.set(i.name,i)});function t(i){I.add(i.name);var A=[].concat(i.requires||[],i.requiresIfExists||[]);A.forEach(function(n){if(!I.has(n)){var l=g.get(n);l&&t(l)}}),e.push(i)}return C.forEach(function(i){I.has(i.name)||t(i)}),e}function j$g(C){var g=v$g(C);return I$g.reduce(function(I,e){return I.concat(g.filter(function(t){return t.phase===e}))},[])}function x$g(C){var g;return function(){return g||(g=new Promise(function(I){Promise.resolve().then(function(){g=void 0,I(C())})})),g}}function O$g(C){var g=C.reduce(function(I,e){var t=I[e.name];return I[e.name]=t?Object.assign({},t,e,{options:Object.assign({},t.options,e.options),data:Object.assign({},t.data,e.data)}):e,I},{});return Object.keys(g).map(function(I){return g[I]})}var pz={placement:"bottom",modifiers:[],strategy:"absolute"};function yz(){for(var C=arguments.length,g=new Array(C),I=0;I<C;I++)g[I]=arguments[I];return!g.some(function(e){return!(e&&typeof e.getBoundingClientRect=="function")})}function Q$g(C){C===void 0&&(C={});var g=C,I=g.defaultModifiers,e=I===void 0?[]:I,t=g.defaultOptions,i=t===void 0?pz:t;return function(n,l,o){o===void 0&&(o=i);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},pz,i),modifiersData:{},elements:{reference:n,popper:l},attributes:{},styles:{}},d=[],m=!1,u={state:a,setOptions:function(w){var B=typeof w=="function"?w(a.options):w;Z(),a.options=Object.assign({},i,a.options,B),a.scrollParents={reference:Er(n)?P0(n):n.contextElement?P0(n.contextElement):[],popper:P0(l)};var p=j$g(O$g([].concat(e,a.options.modifiers)));return a.orderedModifiers=p.filter(function(y){return y.enabled}),h(),u.update()},forceUpdate:function(){if(!m){var w=a.elements,B=w.reference,p=w.popper;if(yz(B,p)){a.rects={reference:T$g(B,U0(p),a.options.strategy==="fixed"),popper:GM(p)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(X){return a.modifiersData[X.name]=Object.assign({},X.data)});for(var y=0;y<a.orderedModifiers.length;y++){if(a.reset===!0){a.reset=!1,y=-1;continue}var Y=a.orderedModifiers[y],R=Y.fn,M=Y.options,K=M===void 0?{}:M,J=Y.name;typeof R=="function"&&(a=R({state:a,options:K,name:J,instance:u})||a)}}}},update:x$g(function(){return new Promise(function(G){u.forceUpdate(),G(a)})}),destroy:function(){Z(),m=!0}};if(!yz(n,l))return u;u.setOptions(o).then(function(G){!m&&o.onFirstUpdate&&o.onFirstUpdate(G)});function h(){a.orderedModifiers.forEach(function(G){var w=G.name,B=G.options,p=B===void 0?{}:B,y=G.effect;if(typeof y=="function"){var Y=y({state:a,name:w,instance:u,options:p}),R=function(){};d.push(Y||R)}})}function Z(){d.forEach(function(G){return G()}),d=[]}return u}}var U$g=[h$g,S$g,m$g,t$g,H$g,N$g,F$g,a$g,R$g],E$g=Q$g({defaultModifiers:U$g}),Yz="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";function op(C){return C.split("-").map(g=>parseInt(g,16)).map(g=>String.fromCodePoint(g)).join("")}function P$g(C,g,I,e=[]){const t={};return Object.keys(C).forEach(i=>{if(e.includes(i))return;const A=[];C[i].forEach(n=>{var l;if(n[ep][0].includes(g.toLocaleLowerCase())){let o=n[Iz];if(I!==ip&&Array.isArray(n[tp])){const a=((l=n[tp])==null?void 0:l.findIndex(d=>d.includes(I)))||-1;a!==-1&&n[tp]&&(o=n[tp][a])}return A.push({...n,[j0]:o})}}),A.length&&(t[i]=A)}),t}function Vz(){var C;return(((C=navigator==null?void 0:navigator.userAgentData)==null?void 0:C.platform)||(navigator==null?void 0:navigator.platform)||"unknown").toUpperCase().indexOf("MAC")!==-1}function Nz(C){return C.replace(/^_*(.)|_+(.)/g,(g,I,e)=>I?I.toUpperCase():" "+e.toUpperCase())}var $0=(C,g)=>{const I=C.__vccOpts||C;for(const[e,t]of g)I[e]=t;return I};const _$g=s.defineComponent({name:"Body",emits:{select:C=>!0},setup(){const{state:C,updateEmoji:g,updateSelect:I}=s.inject("store"),e=s.ref(null),t=s.computed(()=>P$g(C.emojis,C.search,C.skinTone,C.options.disabledGroups)),i=s.getCurrentInstance(),A=s.computed(()=>!C.options.hideGroupNames),n=s.computed(()=>!C.options.disableStickyGroupNames),l=s.toRaw(C.options.groupNames),o=C.orderedGroupKeys;C.options.additionalGroups&&Object.keys(C.options.additionalGroups).map(h=>{C.options.groupNames[h]?l[h]=C.options.groupNames[h]:l[h]=Nz(h)});const a=Vz()?"is-mac":"";function d(h){g(h)}function m(h){I(h),i==null||i.emit("select",{...h,t:C.skinTone,i:op(h.r)})}function u(h,Z){var G;const w=(G=h==null?void 0:h.target)==null?void 0:G.closest("button");w&&(w.innerHTML=`<span>${op(Z)}</span>`)}return s.watch(()=>C.activeGroup,()=>{var h;const Z=(h=e.value)==null?void 0:h.querySelector("#"+C.activeGroup);Z&&(Z.parentNode.scrollTop=Z.offsetTop-Z.parentNode.offsetTop)}),{emojis:t,bodyInner:e,EMOJI_REMOTE_SRC:qF,GROUP_NAMES:gz,handleClick:m,handleError:u,handleMouseEnter:d,native:C.options.native,unicodeToEmoji:op,EMOJI_RESULT_KEY:j0,EMOJI_NAME_KEY:ep,hasGroupNames:A,isSticky:n,platform:a,groupNames:l,orderedKeys:o}}}),$$g={class:"v3-body"},q$g=["id"],gqg={class:"v3-emojis"},Iqg=["onMouseenter","onClick"],Cqg={key:0},eqg=["src","alt","onError"],tqg={key:1,class:"v3-no-result"};function iqg(C,g,I,e,t,i){return s.openBlock(),s.createElementBlock("div",$$g,[s.createElementVNode("div",{ref:"bodyInner",class:s.normalizeClass([C.platform,"v3-body-inner"])},[C.orderedKeys.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(C.orderedKeys,A=>(s.openBlock(),s.createElementBlock("div",{id:A,key:A,class:"v3-group"},[C.hasGroupNames?s.withDirectives((s.openBlock(),s.createElementBlock("h5",{key:0,class:s.normalizeClass(C.isSticky?"v3-sticky":"")},s.toDisplayString(C.groupNames[A]),3)),[[s.vShow,C.emojis[A]]]):s.createCommentVNode("",!0),s.withDirectives(s.createElementVNode("div",gqg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.emojis[A],n=>(s.openBlock(),s.createElementBlock("button",{key:n.r,type:"button",onMouseenter:l=>C.handleMouseEnter(n),onClick:l=>C.handleClick(n)},[C.native?(s.openBlock(),s.createElementBlock("span",Cqg,s.toDisplayString(C.unicodeToEmoji(n.r)),1)):(s.openBlock(),s.createElementBlock("img",{key:1,src:C.EMOJI_REMOTE_SRC+`/${n.r}.png`,alt:n.n[0],onError:l=>C.handleError(l,n.r)},null,40,eqg))],40,Iqg))),128))],512),[[s.vShow,C.emojis[A]]])],8,q$g))),128)):(s.openBlock(),s.createElementBlock("span",tqg," No emoji has been found! "))],2)])}var Aqg=$0(_$g,[["render",iqg]]),nqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3NSAxMi41NjI1IEMgMjIuNjg3NSAxMS43MzQzNzUgMjMgMTAuNjYwMTU2IDIzIDkuNSBDIDIzIDguMzM5ODQ0IDIyLjY4NzUgNy4yNjU2MjUgMjIuMDkzNzUgNi40Mzc1IEMgMjEuNSA1LjYwOTM3NSAyMC41NzAzMTMgNSAxOS41IDUgQyAxOC40Mjk2ODggNSAxNy41IDUuNjA5Mzc1IDE2LjkwNjI1IDYuNDM3NSBDIDE2LjMxMjUgNy4yNjU2MjUgMTYgOC4zMzk4NDQgMTYgOS41IFogTSAxMi41IDcgQyAxMi44MTI1IDcgMTMuMTU2MjUgNy4xNTYyNSAxMy40Njg3NSA3LjU5Mzc1IEMgMTMuNzgxMjUgOC4wMzEyNSAxNCA4LjcyNjU2MyAxNCA5LjUgQyAxNCAxMC4yNzM0MzggMTMuNzgxMjUgMTAuOTY4NzUgMTMuNDY4NzUgMTEuNDA2MjUgQyAxMy4xNTYyNSAxMS44NDM3NSAxMi44MTI1IDEyIDEyLjUgMTIgQyAxMi4xODc1IDEyIDExLjg0Mzc1IDExLjg0Mzc1IDExLjUzMTI1IDExLjQwNjI1IEMgMTEuMjE4NzUgMTAuOTY4NzUgMTEgMTAuMjczNDM4IDExIDkuNSBDIDExIDguNzI2NTYzIDExLjIxODc1IDguMDMxMjUgMTEuNTMxMjUgNy41OTM3NSBDIDExLjg0Mzc1IDcuMTU2MjUgMTIuMTg3NSA3IDEyLjUgNyBaIE0gMTkuNSA3IEMgMTkuODEyNSA3IDIwLjE1NjI1IDcuMTU2MjUgMjAuNDY4NzUgNy41OTM3NSBDIDIwLjc4MTI1IDguMDMxMjUgMjEgOC43MjY1NjMgMjEgOS41IEMgMjEgMTAuMjczNDM4IDIwLjc4MTI1IDEwLjk2ODc1IDIwLjQ2ODc1IDExLjQwNjI1IEMgMjAuMTU2MjUgMTEuODQzNzUgMTkuODEyNSAxMiAxOS41IDEyIEMgMTkuMTg3NSAxMiAxOC44NDM3NSAxMS44NDM3NSAxOC41MzEyNSAxMS40MDYyNSBDIDE4LjIxODc1IDEwLjk2ODc1IDE4IDEwLjI3MzQzOCAxOCA5LjUgQyAxOCA4LjcyNjU2MyAxOC4yMTg3NSA4LjAzMTI1IDE4LjUzMTI1IDcuNTkzNzUgQyAxOC44NDM3NSA3LjE1NjI1IDE5LjE4NzUgNyAxOS41IDcgWiBNIDcuNSAxMiBDIDYuNDI5Njg4IDEyIDUuNSAxMi42MDkzNzUgNC45MDYyNSAxMy40Mzc1IEMgNC4zMTI1IDE0LjI2NTYyNSA0IDE1LjMzOTg0NCA0IDE2LjUgQyA0IDE3LjY2MDE1NiA0LjMxMjUgMTguNzM0Mzc1IDQuOTA2MjUgMTkuNTYyNSBDIDUuNSAyMC4zOTA2MjUgNi40Mjk2ODggMjEgNy41IDIxIEMgOC41NzAzMTMgMjEgOS41IDIwLjM5MDYyNSAxMC4wOTM3NSAxOS41NjI1IEMgMTAuNjg3NSAxOC43MzQzNzUgMTEgMTcuNjYwMTU2IDExIDE2LjUgQyAxMSAxNS4zMzk4NDQgMTAuNjg3NSAxNC4yNjU2MjUgMTAuMDkzNzUgMTMuNDM3NSBDIDkuNSAxMi42MDkzNzUgOC41NzAzMTMgMTIgNy41IDEyIFogTSAyNC41IDEyIEMgMjMuNDI5Njg4IDEyIDIyLjUgMTIuNjA5Mzc1IDIxLjkwNjI1IDEzLjQzNzUgQyAyMS4zMTI1IDE0LjI2NTYyNSAyMSAxNS4zMzk4NDQgMjEgMTYuNSBDIDIxIDE3LjY2MDE1NiAyMS4zMTI1IDE4LjczNDM3NSAyMS45MDYyNSAxOS41NjI1IEMgMjIuNSAyMC4zOTA2MjUgMjMuNDI5Njg4IDIxIDI0LjUgMjEgQyAyNS41NzAzMTMgMjEgMjYuNSAyMC4zOTA2MjUgMjcuMDkzNzUgMTkuNTYyNSBDIDI3LjY4NzUgMTguNzM0Mzc1IDI4IDE3LjY2MDE1NiAyOCAxNi41IEMgMjggMTUuMzM5ODQ0IDI3LjY4NzUgMTQuMjY1NjI1IDI3LjA5Mzc1IDEzLjQzNzUgQyAyNi41IDEyLjYwOTM3NSAyNS41NzAzMTMgMTIgMjQuNSAxMiBaIE0gNy41IDE0IEMgNy44MTI1IDE0IDguMTU2MjUgMTQuMTU2MjUgOC40Njg3NSAxNC41OTM3NSBDIDguNzgxMjUgMTUuMDMxMjUgOSAxNS43MjY1NjMgOSAxNi41IEMgOSAxNy4yNzM0MzggOC43ODEyNSAxNy45Njg3NSA4LjQ2ODc1IDE4LjQwNjI1IEMgOC4xNTYyNSAxOC44NDM3NSA3LjgxMjUgMTkgNy41IDE5IEMgNy4xODc1IDE5IDYuODQzNzUgMTguODQzNzUgNi41MzEyNSAxOC40MDYyNSBDIDYuMjE4NzUgMTcuOTY4NzUgNiAxNy4yNzM0MzggNiAxNi41IEMgNiAxNS43MjY1NjMgNi4yMTg3NSAxNS4wMzEyNSA2LjUzMTI1IDE0LjU5Mzc1IEMgNi44NDM3NSAxNC4xNTYyNSA3LjE4NzUgMTQgNy41IDE0IFogTSAyNC41IDE0IEMgMjQuODEyNSAxNCAyNS4xNTYyNSAxNC4xNTYyNSAyNS40Njg3NSAxNC41OTM3NSBDIDI1Ljc4MTI1IDE1LjAzMTI1IDI2IDE1LjcyNjU2MyAyNiAxNi41IEMgMjYgMTcuMjczNDM4IDI1Ljc4MTI1IDE3Ljk2ODc1IDI1LjQ2ODc1IDE4LjQwNjI1IEMgMjUuMTU2MjUgMTguODQzNzUgMjQuODEyNSAxOSAyNC41IDE5IEMgMjQuMTg3NSAxOSAyMy44NDM3NSAxOC44NDM3NSAyMy41MzEyNSAxOC40MDYyNSBDIDIzLjIxODc1IDE3Ljk2ODc1IDIzIDE3LjI3MzQzOCAyMyAxNi41IEMgMjMgMTUuNzI2NTYzIDIzLjIxODc1IDE1LjAzMTI1IDIzLjUzMTI1IDE0LjU5Mzc1IEMgMjMuODQzNzUgMTQuMTU2MjUgMjQuMTg3NSAxNCAyNC41IDE0IFogTSAxNiAxNiBDIDE0LjY2Nzk2OSAxNiAxMy43MzgyODEgMTYuODY3MTg4IDEzLjI4MTI1IDE3LjYyNSBDIDEyLjgyNDIxOSAxOC4zODI4MTMgMTIuNTQ2ODc1IDE5LjAxNTYyNSAxMi4yODEyNSAxOS4yODEyNSBDIDEyLjEyNSAxOS40Mzc1IDExLjE2MDE1NiAxOS44MDA3ODEgMTAuMTU2MjUgMjAuMzEyNSBDIDkuNjUyMzQ0IDIwLjU3MDMxMyA5LjE0NDUzMSAyMC45MTQwNjMgOC43MTg3NSAyMS40Mzc1IEMgOC4yOTI5NjkgMjEuOTYwOTM4IDggMjIuNjg3NSA4IDIzLjUgQyA4IDI1LjQyMTg3NSA5LjU3ODEyNSAyNyAxMS41IDI3IEMgMTIuMzY3MTg4IDI3IDEzLjI2OTUzMSAyNi43MjI2NTYgMTQuMTU2MjUgMjYuNDY4NzUgQyAxNS4wNDI5NjkgMjYuMjE0ODQ0IDE2IDI2IDE2IDI2IEMgMTYgMjYgMTYuOTU3MDMxIDI2LjIxNDg0NCAxNy44NDM3NSAyNi40Njg3NSBDIDE4LjczMDQ2OSAyNi43MjI2NTYgMTkuNjMyODEzIDI3IDIwLjUgMjcgQyAyMi40MjE4NzUgMjcgMjQgMjUuNDIxODc1IDI0IDIzLjUgQyAyNCAyMi43MDcwMzEgMjMuNzA3MDMxIDIxLjk4MDQ2OSAyMy4yODEyNSAyMS40Njg3NSBDIDIyLjg1NTQ2OSAyMC45NTcwMzEgMjIuMzQzNzUgMjAuNjQwNjI1IDIxLjg0Mzc1IDIwLjM3NSBDIDIwLjg0Mzc1IDE5Ljg0Mzc1IDE5Ljg1OTM3NSAxOS40MjE4NzUgMTkuNzE4NzUgMTkuMjgxMjUgQyAxOS40ODA0NjkgMTkuMDQyOTY5IDE5LjIxMDkzOCAxOC4zOTA2MjUgMTguNzUgMTcuNjI1IEMgMTguMjg5MDYzIDE2Ljg1OTM3NSAxNy4zMzk4NDQgMTYgMTYgMTYgWiBNIDE2IDE4IEMgMTYuNjYwMTU2IDE4IDE2LjczNDM3NSAxOC4xNjAxNTYgMTcuMDMxMjUgMTguNjU2MjUgQyAxNy4zMjgxMjUgMTkuMTUyMzQ0IDE3LjU1NDY4OCAxOS45OTIxODggMTguMjgxMjUgMjAuNzE4NzUgQyAxOS4xMDU0NjkgMjEuNTQyOTY5IDIwLjE0ODQzOCAyMS43MjI2NTYgMjAuOTA2MjUgMjIuMTI1IEMgMjEuMjg1MTU2IDIyLjMyODEyNSAyMS41NzgxMjUgMjIuNTQyOTY5IDIxLjc1IDIyLjc1IEMgMjEuOTIxODc1IDIyLjk1NzAzMSAyMiAyMy4xNDg0MzggMjIgMjMuNSBDIDIyIDI0LjMzOTg0NCAyMS4zMzk4NDQgMjUgMjAuNSAyNSBDIDIwLjIxMDkzOCAyNSAxOS4yNzczNDQgMjQuNzc3MzQ0IDE4LjQwNjI1IDI0LjUzMTI1IEMgMTcuNTM1MTU2IDI0LjI4NTE1NiAxNi44MTY0MDYgMjQgMTYgMjQgQyAxNS4xODM1OTQgMjQgMTQuNDY0ODQ0IDI0LjI4NTE1NiAxMy41OTM3NSAyNC41MzEyNSBDIDEyLjcyMjY1NiAyNC43NzczNDQgMTEuNzg5MDYzIDI1IDExLjUgMjUgQyAxMC42NjAxNTYgMjUgMTAgMjQuMzM5ODQ0IDEwIDIzLjUgQyAxMCAyMy4wOTc2NTYgMTAuMDgyMDMxIDIyLjg5MDYyNSAxMC4yNSAyMi42ODc1IEMgMTAuNDE3OTY5IDIyLjQ4NDM3NSAxMC43MjI2NTYgMjIuMjg1MTU2IDExLjA5Mzc1IDIyLjA5Mzc1IEMgMTEuODM5ODQ0IDIxLjcxNDg0NCAxMi44NzUgMjEuNTYyNSAxMy43MTg3NSAyMC43MTg3NSBDIDE0LjQ1MzEyNSAxOS45ODQzNzUgMTQuNjc1NzgxIDE5LjExNzE4OCAxNC45Njg3NSAxOC42MjUgQyAxNS4yNjE3MTkgMTguMTMyODEzIDE1LjMzMjAzMSAxOCAxNiAxOCBaIi8+PC9zdmc+",lqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSAzIEwgMTEgNyBMIDEzIDcgTCAxMyAzIFogTSAxNSA0IEwgMTUgNyBMIDE3IDcgTCAxNyA0IFogTSA0Ljg3NSA4IEwgNSA5LjA5Mzc1IEwgNi44MTI1IDI2LjMxMjUgQyA2Ljk3MjY1NiAyNy44MzIwMzEgOC4yODUxNTYgMjkgOS44MTI1IDI5IEwgMTkuMTg3NSAyOSBDIDIwLjcxNDg0NCAyOSAyMi4wMjczNDQgMjcuODMyMDMxIDIyLjE4NzUgMjYuMzEyNSBMIDIyLjY1NjI1IDIyIEwgMjUgMjIgQyAyNi42NDQ1MzEgMjIgMjggMjAuNjQ0NTMxIDI4IDE5IEwgMjggMTYgQyAyOCAxNC4zNTU0NjkgMjYuNjQ0NTMxIDEzIDI1IDEzIEwgMjMuNTkzNzUgMTMgTCAyNCA5LjA5Mzc1IEwgMjQuMTI1IDggWiBNIDcuMTI1IDEwIEwgMjEuODc1IDEwIEwgMjAuMTg3NSAyNi4wOTM3NSBDIDIwLjEzMjgxMyAyNi42MTMyODEgMTkuNzA3MDMxIDI3IDE5LjE4NzUgMjcgTCA5LjgxMjUgMjcgQyA5LjI5Mjk2OSAyNyA4Ljg2NzE4OCAyNi42MTMyODEgOC44MTI1IDI2LjA5Mzc1IFogTSAyMy4zNzUgMTUgTCAyNSAxNSBDIDI1LjU2NjQwNiAxNSAyNiAxNS40MzM1OTQgMjYgMTYgTCAyNiAxOSBDIDI2IDE5LjU2NjQwNiAyNS41NjY0MDYgMjAgMjUgMjAgTCAyMi44NDM3NSAyMCBaIi8+PC9zdmc+",sqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiAzIEMgOC44MzIwMzEgMyAzIDguODMyMDMxIDMgMTYgQyAzIDIzLjE2Nzk2OSA4LjgzMjAzMSAyOSAxNiAyOSBDIDIzLjE2Nzk2OSAyOSAyOSAyMy4xNjc5NjkgMjkgMTYgQyAyOSA4LjgzMjAzMSAyMy4xNjc5NjkgMyAxNiAzIFogTSAxNiA1IEMgMTYuNjAxNTYzIDUgMTcuMTc1NzgxIDUuMDYyNSAxNy43NSA1LjE1NjI1IEwgMTYgNi40MDYyNSBMIDE0LjI1IDUuMTU2MjUgQyAxNC44MjAzMTMgNS4wNjY0MDYgMTUuNDAyMzQ0IDUgMTYgNSBaIE0gMTEuODEyNSA1Ljg0Mzc1IEwgMTUuNDA2MjUgOC40Njg3NSBMIDE2IDguOTA2MjUgTCAxNi41OTM3NSA4LjQ2ODc1IEwgMjAuMTg3NSA1Ljg0Mzc1IEMgMjEuNzg1MTU2IDYuNTA3ODEzIDIzLjE5NTMxMyA3LjUyMzQzOCAyNC4zMTI1IDguODEyNSBMIDIyLjkzNzUgMTMuMDkzNzUgTCAyMi43MTg3NSAxMy43ODEyNSBMIDIzLjMxMjUgMTQuMTg3NSBMIDI2LjkzNzUgMTYuODQzNzUgQyAyNi44MDQ2ODggMTguNjA1NDY5IDI2LjI2NTYyNSAyMC4yNTc4MTMgMjUuNDA2MjUgMjEuNjg3NSBMIDIwLjEyNSAyMS42ODc1IEwgMTkuOTA2MjUgMjIuMzc1IEwgMTguNSAyNi43MTg3NSBDIDE3LjY5OTIxOSAyNi45MDYyNSAxNi44NTkzNzUgMjcgMTYgMjcgQyAxNS4xMDU0NjkgMjcgMTQuMjM4MjgxIDI2Ljg4NjcxOSAxMy40MDYyNSAyNi42ODc1IEwgMTIuMDMxMjUgMjIuNDA2MjUgTCAxMS44MTI1IDIxLjcxODc1IEwgNi41OTM3NSAyMS43MTg3NSBDIDUuNzE4NzUgMjAuMjgxMjUgNS4xOTkyMTkgMTguNjIxMDk0IDUuMDYyNSAxNi44NDM3NSBMIDguNjU2MjUgMTQuMjE4NzUgTCA5LjI1IDEzLjgxMjUgTCA5LjAzMTI1IDEzLjEyNSBMIDcuNjI1IDguODc1IEMgOC43NSA3LjU1NDY4OCAxMC4xODM1OTQgNi41MTU2MjUgMTEuODEyNSA1Ljg0Mzc1IFogTSAxNiAxMC4wOTM3NSBMIDE1LjQwNjI1IDEwLjUzMTI1IEwgMTAuODQzNzUgMTMuODQzNzUgTCAxMC4yODEyNSAxNC4yODEyNSBMIDEwLjUgMTQuOTY4NzUgTCAxMi4yNSAyMC4zMTI1IEwgMTIuNDY4NzUgMjEgTCAxOS41MzEyNSAyMSBMIDE5Ljc1IDIwLjMxMjUgTCAyMS41IDE0Ljk2ODc1IEwgMjEuNzE4NzUgMTQuMjgxMjUgTCAyMS4xNTYyNSAxMy44NDM3NSBMIDE2LjU5Mzc1IDEwLjUzMTI1IFogTSAyNS43NSAxMC45MDYyNSBDIDI2LjI5Njg3NSAxMS45NTMxMjUgMjYuNjU2MjUgMTMuMTAxNTYzIDI2Ljg0Mzc1IDE0LjMxMjUgTCAyNS4wNjI1IDEzLjAzMTI1IFogTSA2LjIxODc1IDEwLjk2ODc1IEwgNi45MDYyNSAxMy4wMzEyNSBMIDUuMTU2MjUgMTQuMzEyNSBDIDUuMzM5ODQ0IDEzLjEyNSA1LjY4NzUgMTIgNi4yMTg3NSAxMC45Njg3NSBaIE0gMTYgMTIuNTkzNzUgTCAxOS4zNzUgMTUuMDMxMjUgTCAxOC4wOTM3NSAxOSBMIDEzLjkwNjI1IDE5IEwgMTIuNjI1IDE1LjAzMTI1IFogTSAyMS41OTM3NSAyMy42ODc1IEwgMjMuODQzNzUgMjMuNjg3NSBDIDIyLjk5MjE4OCAyNC41NjY0MDYgMjIuMDExNzE5IDI1LjI5Mjk2OSAyMC45MDYyNSAyNS44NDM3NSBaIE0gOC4xNTYyNSAyMy43MTg3NSBMIDEwLjM0Mzc1IDIzLjcxODc1IEwgMTEuMDMxMjUgMjUuODEyNSBDIDkuOTYwOTM4IDI1LjI2OTUzMSA4Ljk4ODI4MSAyNC41NjI1IDguMTU2MjUgMjMuNzE4NzUgWiIvPjwvc3ZnPg==",oqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5LjUgNiBDIDguMTc5Njg4IDYgNy4wMDM5MDYgNi44NTkzNzUgNi42MjUgOC4xMjUgTCA1LjI1IDEyLjcxODc1IEwgMy4zMTI1IDEyLjA2MjUgTCAyLjY4NzUgMTMuOTM3NSBMIDQuNjU2MjUgMTQuNTkzNzUgTCA0LjAzMTI1IDE2LjcxODc1IEMgNC4wMDc4MTMgMTYuODA4NTk0IDMuOTk2MDk0IDE2LjkwNjI1IDQgMTcgTCA0IDI0IEMgNCAyNC4wMzEyNSA0IDI0LjA2MjUgNCAyNC4wOTM3NSBMIDQgMjUgQyA0IDI1LjU1MDc4MSA0LjQ0OTIxOSAyNiA1IDI2IEwgOCAyNiBMIDguMzQzNzUgMjUgTCAyMy42NTYyNSAyNSBMIDI0IDI2IEwgMjcgMjYgQyAyNy41NTA3ODEgMjYgMjggMjUuNTUwNzgxIDI4IDI1IEwgMjggMjQuMTU2MjUgQyAyOC4wMDM5MDYgMjQuMTA1NDY5IDI4LjAwMzkwNiAyNC4wNTA3ODEgMjggMjQgTCAyOCAxNyBDIDI4LjAwMzkwNiAxNi45MDYyNSAyNy45OTIxODggMTYuODA4NTk0IDI3Ljk2ODc1IDE2LjcxODc1IEwgMjcuMzQzNzUgMTQuNTkzNzUgTCAyOS4zMTI1IDEzLjkzNzUgTCAyOC42ODc1IDEyLjA2MjUgTCAyNi43NSAxMi43MTg3NSBMIDI1LjM3NSA4LjEyNSBDIDI0Ljk5NjA5NCA2Ljg1OTM3NSAyMy44MjAzMTMgNiAyMi41IDYgWiBNIDkuNSA4IEwgMjIuNSA4IEMgMjIuOTQ1MzEzIDggMjMuMzM5ODQ0IDguMjkyOTY5IDIzLjQ2ODc1IDguNzE4NzUgTCAyNC43NSAxMyBMIDcuMjUgMTMgTCA4LjUzMTI1IDguNzE4NzUgQyA4LjY2MDE1NiA4LjI4OTA2MyA5LjA1NDY4OCA4IDkuNSA4IFogTSA2LjY1NjI1IDE1IEwgMjUuMzQzNzUgMTUgTCAyNiAxNy4xODc1IEwgMjYgMjMgTCA2IDIzIEwgNiAxNy4xODc1IFogTSA4LjUgMTYgQyA3LjY3MTg3NSAxNiA3IDE2LjY3MTg3NSA3IDE3LjUgQyA3IDE4LjMyODEyNSA3LjY3MTg3NSAxOSA4LjUgMTkgQyA5LjMyODEyNSAxOSAxMCAxOC4zMjgxMjUgMTAgMTcuNSBDIDEwIDE2LjY3MTg3NSA5LjMyODEyNSAxNiA4LjUgMTYgWiBNIDIzLjUgMTYgQyAyMi42NzE4NzUgMTYgMjIgMTYuNjcxODc1IDIyIDE3LjUgQyAyMiAxOC4zMjgxMjUgMjIuNjcxODc1IDE5IDIzLjUgMTkgQyAyNC4zMjgxMjUgMTkgMjUgMTguMzI4MTI1IDI1IDE3LjUgQyAyNSAxNi42NzE4NzUgMjQuMzI4MTI1IDE2IDIzLjUgMTYgWiBNIDEyIDE5IEwgMTAuNzUgMjIgTCAxMi45MDYyNSAyMiBMIDEzLjM0Mzc1IDIxIEwgMTguNjU2MjUgMjEgTCAxOS4wOTM3NSAyMiBMIDIxLjI1IDIyIEwgMjAgMTkgWiIvPjwvc3ZnPg==",aqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuMDQyOTY5IDQgNyA4LjA0Mjk2OSA3IDEzIEMgNyAxNC45MTc5NjkgNy44NDM3NSAxNi45MDYyNSA5IDE4LjY4NzUgQyA5Ljg1OTM3NSAyMC4wMTE3MTkgMTAuODg2NzE5IDIxLjIzMDQ2OSAxMiAyMi4xNTYyNSBMIDEyIDI1IEMgMTIgMjYuMDkzNzUgMTIuOTA2MjUgMjcgMTQgMjcgTCAxNSAyOCBMIDE3IDI4IEwgMTggMjcgQyAxOS4wOTM3NSAyNyAyMCAyNi4wOTM3NSAyMCAyNSBMIDIwIDIyLjE1NjI1IEMgMjEuMTEzMjgxIDIxLjIzMDQ2OSAyMi4xNDA2MjUgMjAuMDExNzE5IDIzIDE4LjY4NzUgQyAyNC4xNTYyNSAxNi45MDYyNSAyNSAxNC45MTc5NjkgMjUgMTMgQyAyNSA4LjA0Mjk2OSAyMC45NTcwMzEgNCAxNiA0IFogTSAxNiA2IEMgMTkuODc4OTA2IDYgMjMgOS4xMjEwOTQgMjMgMTMgQyAyMyAxNC4zMDg1OTQgMjIuMzU1NDY5IDE2LjAzNTE1NiAyMS4zNDM3NSAxNy41OTM3NSBDIDIwLjQ0MTQwNiAxOC45ODQzNzUgMTkuMjUzOTA2IDIwLjIyMjY1NiAxOC4xNTYyNSAyMSBMIDEzLjg0Mzc1IDIxIEMgMTIuNzQ2MDk0IDIwLjIyMjY1NiAxMS41NTg1OTQgMTguOTg0Mzc1IDEwLjY1NjI1IDE3LjU5Mzc1IEMgOS42NDQ1MzEgMTYuMDM1MTU2IDkgMTQuMzA4NTk0IDkgMTMgQyA5IDkuMTIxMDk0IDEyLjEyMTA5NCA2IDE2IDYgWiBNIDE0LjI1IDIzIEwgMTcuNzUgMjMgQyAxNy44MjgxMjUgMjMuMDU0Njg4IDE3LjkxMDE1NiAyMy4wOTM3NSAxOCAyMy4xMjUgTCAxOCAyNSBMIDE0IDI1IEwgMTQgMjMuMTI1IEMgMTQuMDg5ODQ0IDIzLjA5Mzc1IDE0LjE3MTg3NSAyMy4wNTQ2ODggMTQuMjUgMjMgWiIvPjwvc3ZnPg==",dqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSA1IEwgMTEgMTEgTCA1IDExIEwgNSAxMyBMIDExIDEzIEwgMTEgMTkgTCA1IDE5IEwgNSAyMSBMIDExIDIxIEwgMTEgMjcgTCAxMyAyNyBMIDEzIDIxIEwgMTkgMjEgTCAxOSAyNyBMIDIxIDI3IEwgMjEgMjEgTCAyNyAyMSBMIDI3IDE5IEwgMjEgMTkgTCAyMSAxMyBMIDI3IDEzIEwgMjcgMTEgTCAyMSAxMSBMIDIxIDUgTCAxOSA1IEwgMTkgMTEgTCAxMyAxMSBMIDEzIDUgWiBNIDEzIDEzIEwgMTkgMTMgTCAxOSAxOSBMIDEzIDE5IFoiLz48L3N2Zz4=",cqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5IDQgQyA3LjM0NiA0IDYgNS4zNDYgNiA3IEMgNiA4LjMwMTYwOTQgNi44Mzg3NDg2IDkuNDAyMTM5MSA4IDkuODE2NDA2MiBMIDggMTEuMzA0Njg4IEwgOCAyMy4yMDcwMzEgTCA4IDI3LjAyMzQzOCBDIDggMjcuNTYzNDM4IDguNDM2NTYyNSAyOCA4Ljk3NjU2MjUgMjggTCA5LjAyMzQzNzUgMjggQyA5LjU2MzQzNzUgMjggMTAgMjcuNTYzNDM3IDEwIDI3LjAyMzQzOCBMIDEwIDIyLjIyODUxNiBDIDEwLjMzNDcwNyAyMS44Mzk3NTYgMTEuMTM4NDIzIDIxLjA0Njg3NSAxMy40NDUzMTIgMjEuMDQ2ODc1IEMgMTQuNjY5MzEzIDIxLjA0Njg3NSAxNS42NzA0MjIgMjEuNDczNzgxIDE2LjczMjQyMiAyMS45MjU3ODEgQyAxNy43Njk0MjIgMjIuMzY3NzgxIDE4Ljg0MTg5MSAyMi44MjQyMTkgMjAuMDg3ODkxIDIyLjgyNDIxOSBDIDIyLjQ0Njg5MSAyMi44MjQyMTkgMjQuMDQ5Mzc1IDIxLjU4NDY4OCAyNC43MzQzNzUgMjEuMDU0Njg4IEwgMjQuODg2NzE5IDIwLjkzOTQ1MyBDIDI1LjQzNzcxOSAyMC41NDA0NTMgMjYgMTkuOTk2IDI2IDE5IEwgMjYgMTAuNjc1NzgxIEMgMjYgOS43Njc3ODEyIDI1LjIyMTgyOCA5IDI0LjI5ODgyOCA5IEMgMjMuODAzODI4IDkgMjMuNDQwNDA2IDkuMjg2NTkzNyAyMi45NDE0MDYgOS42ODM1OTM4IEMgMjIuMjc5NDA2IDEwLjIwNzU5NCAyMS4yODA4OTEgMTEgMjAuMDg3ODkxIDExIEMgMTkuMjcyODkxIDExIDE4LjQ3NzY4OCAxMC42MTk3MzQgMTcuNTU0Njg4IDEwLjE3NzczNCBDIDE2LjQwMzY4NyA5LjYyNTczNDQgMTUuMDk4MzU5IDkgMTMuNDQzMzU5IDkgQyAxMi4zMDgyNTcgOSAxMS40MjE2ODcgOS4xODgzMzkzIDEwLjcxMjg5MSA5LjQ1NzAzMTIgQyAxMS40ODkwNzEgOC45MTQxODI0IDEyIDguMDE2NzgwMiAxMiA3IEMgMTIgNS4zNDYgMTAuNjU0IDQgOSA0IHogTSA5IDYgQyA5LjU1MiA2IDEwIDYuNDQ5IDEwIDcgQyAxMCA3LjU1MSA5LjU1MiA4IDkgOCBDIDguNDQ4IDggOCA3LjU1MSA4IDcgQyA4IDYuNDQ5IDguNDQ4IDYgOSA2IHogTSAxMy40NDMzNTkgMTEgQyAxNC42NDUzNTkgMTEgMTUuNjM4NDA2IDExLjQ3NjQ2OSAxNi42OTE0MDYgMTEuOTgwNDY5IEMgMTcuNzM2NDA2IDEyLjQ4MjQ2OSAxOC44MTc4OTEgMTMgMjAuMDg3ODkxIDEzIEMgMjEuODQyODkxIDEzIDIzLjE1ODA0NyAxMi4wNTQ0ODQgMjMuOTk4MDQ3IDExLjM5NjQ4NCBMIDIzLjk5ODA0NyAxOS4wNjY0MDYgQyAyMy45OTcwNDcgMTkuMDcwNDA2IDIzLjk1Mjk4NCAxOS4xNDUyNjYgMjMuNzA4OTg0IDE5LjMyMjI2NiBMIDIzLjUwOTc2NiAxOS40NzQ2MDkgQyAyMi45NDI3NjYgMTkuOTEyNjA5IDIxLjc2Mjg5MSAyMC44MjQyMTkgMjAuMDg3ODkxIDIwLjgyNDIxOSBDIDE5LjI0OTg5MSAyMC44MjQyMTkgMTguNDQ2NjI1IDIwLjQ4MjkzNyAxNy41MTU2MjUgMjAuMDg1OTM4IEMgMTYuMzcyNjI1IDE5LjU5NzkzOCAxNS4wNzYzNTkgMTkuMDQ0OTIyIDEzLjQ0MzM1OSAxOS4wNDQ5MjIgQyAxMS44OTEzNTkgMTkuMDQ0OTIyIDEwLjc4NiAxOS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==",rqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";const mqg=s.defineComponent({name:"Header",setup(C){const{state:g,updateSearch:I,updateActiveGroup:e}=s.inject("store"),t=s.computed(()=>!g.options.hideSearch),i=s.computed(()=>!g.options.hideGroupIcons),A=JSON.parse(JSON.stringify(g.orderedGroupKeys)),n=s.computed(()=>g.options.staticTexts.placeholder||""),l=s.computed({get:()=>g.search,set:d=>I(d)}),o=[...g.groups,...Object.keys(g.options.additionalGroups).map(d=>({key:d,title:g.options.groupNames[d]?g.options.groupNames[d]:Nz(d)}))],a=[];return A.forEach(d=>{const m=o.findIndex(u=>u.key===d);m!==-1&&(a.push(o[m]),o.splice(m,1))}),{orderedGroups:a,orderedKeys:A,searchValue:l,updateActiveGroup:e,hasSearch:t,hasGroupIcons:i,placeholder:n,icons:{smileys_people:Yz,animals_nature:nqg,food_drink:lqg,activities:sqg,travel_places:oqg,objects:aqg,symbols:dqg,flags:cqg,...g.options.groupIcons,recent:rqg}}}}),uqg={key:0,class:"v3-header"},hqg={key:0,class:"v3-groups"},bqg=["onClick"],Zqg=["title"],Gqg=["src"],wqg={key:1,class:"v3-spacing"},Wqg={key:2,class:"v3-search"},Bqg=["placeholder"];function pqg(C,g,I,e,t,i){return C.hasGroupIcons||C.hasSearch?(s.openBlock(),s.createElementBlock("div",uqg,[C.hasGroupIcons?(s.openBlock(),s.createElementBlock("div",hqg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.orderedGroups,A=>(s.openBlock(),s.createElementBlock("button",{key:A.key,type:"button",class:s.normalizeClass(["v3-group",{"v3-is-hidden":!C.icons[A.key]}]),onClick:n=>C.updateActiveGroup(A.key)},[s.createElementVNode("span",{title:A.title,class:"v3-icon"},[s.createElementVNode("img",{src:C.icons[A.key],alt:""},null,8,Gqg)],8,Zqg)],10,bqg))),128))])):s.createCommentVNode("",!0),C.hasGroupIcons&&C.hasSearch?(s.openBlock(),s.createElementBlock("div",wqg)):s.createCommentVNode("",!0),C.hasSearch?(s.openBlock(),s.createElementBlock("div",Wqg,[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":g[0]||(g[0]=A=>C.searchValue=A),type:"text",placeholder:C.placeholder},null,8,Bqg),[[s.vModelText,C.searchValue]])])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)}var yqg=$0(mqg,[["render",pqg]]);const Yqg=s.defineComponent({name:"Header",setup(){const{state:C,updateSkinTone:g}=s.inject("store"),I=s.ref(!1),e=s.ref(!1),t=s.computed(()=>C.skinTone),i=s.computed(()=>C.options.staticTexts.skinTone||"Skin tone"),A=s.computed(()=>!C.options.disableSkinTones),n=Vz()?"is-mac":"",l=s.computed(()=>({...C.emoji,src:qF+"/"+C.emoji[j0]+".png"}));function o(m=!0){I.value=m}function a(){I.value=!I.value}function d(m){g(m),o(!1)}return s.watch(()=>C.emoji,()=>{e.value=!1}),{emoji:l,SKIN_TONES:Y_g,updateSkinToneState:o,skinTone:I,stateSkinTone:t,selectSkinTone:d,toggleSkinToneState:a,EMOJI_RESULT_KEY:j0,EMOJI_NAME_KEY:ep,skinToneText:i,hasSkinTones:A,native:C.options.native,unicodeToEmoji:op,platform:n,hasError:e}}}),Vqg={class:"v3-foot-left"},Nqg={key:0},Mqg=["alt","src"],Rqg={class:"v3-text"},fqg={class:"v3-text"},Xqg=["onClick"];function Hqg(C,g,I,e,t,i){return s.openBlock(),s.createElementBlock("div",{class:"v3-footer",onMouseleave:g[2]||(g[2]=A=>C.updateSkinToneState(!1))},[s.createElementVNode("div",Vqg,[s.createElementVNode("span",{class:s.normalizeClass([C.platform,"v3-icon"])},[C.native||C.hasError?(s.openBlock(),s.createElementBlock("span",Nqg,s.toDisplayString(C.unicodeToEmoji(C.emoji.r)),1)):(s.openBlock(),s.createElementBlock("img",{key:1,alt:C.unicodeToEmoji(C.emoji.r),src:C.emoji.src,onError:g[0]||(g[0]=A=>C.hasError=!0)},null,40,Mqg))],2),s.createElementVNode("span",Rqg," :"+s.toDisplayString(C.emoji[C.EMOJI_NAME_KEY][1]||C.emoji[C.EMOJI_NAME_KEY][0])+": ",1)]),C.hasSkinTones?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("button",{type:"button",class:"v3-tone",onClick:g[1]||(g[1]=(...A)=>C.toggleSkinToneState&&C.toggleSkinToneState(...A))},[s.createElementVNode("span",fqg,s.toDisplayString(C.skinToneText),1),s.createElementVNode("span",{class:s.normalizeClass(`v3-icon v3-tone-${C.stateSkinTone}`)},null,2)]),s.createElementVNode("div",{class:s.normalizeClass([C.skinTone?"v3-is-open":"","v3-skin-tones"])},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.SKIN_TONES,A=>(s.openBlock(),s.createElementBlock("button",{key:A,type:"button",class:s.normalizeClass(["v3-skin-tone-"+A,"v3-skin-tone"]),onClick:n=>C.selectSkinTone(A)},null,10,Xqg))),128))],2)],64)):s.createCommentVNode("",!0)],32)}var Dqg=$0(Yqg,[["render",Hqg]]);const Sqg=s.defineComponent({name:"PickerRoot",components:{Header:yqg,Body:Aqg,Footer:Dqg},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:C=>!0,"update:text":C=>!0},setup(C,{emit:g}){const I=s.ref(),e=s.ref(),t=s.ref(),i=s.ref(!1),A=s.ref(C.text),n=C.type==="input"||C.type==="textarea";let l=-1;const{state:o}=s.inject("store"),a=s.computed(()=>o.options.colorTheme);function d(G){if(n){const w=o.options.mode;w==="prepend"?A.value=G.i+A.value:w==="insert"&&l!==-1?(A.value=`${A.value.slice(0,l)}${G.i}${A.value.slice(l)}`,l+=G.i.length):A.value+=G.i,g("update:text",A.value)}g("select",G)}function m(){var G;I.value&&(l=((G=I.value)==null?void 0:G.selectionEnd)||-1)}function u(G){var w;!((w=G.target)!=null&&w.closest(".v3-input-picker-wrap"))&&i.value&&(i.value=!1)}function h(){if(e.value&&t.value&&n){let G=o.options.offset;typeof G!="number"&&(G=6),E$g(e.value,t.value,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,G]}}]}),document.body.addEventListener("click",u)}}function Z(G){A.value=G.target.value||"",g("update:text",A.value)}return s.onMounted(()=>{h()}),s.onBeforeUnmount(()=>{document.body.removeEventListener("click",u)}),{face:Yz,open:i,onSelect:d,input:A,elem:I,updateCursor:m,button:e,picker:t,isInputType:n,onChangeText:Z,colorTheme:a}}}),Kqg={key:0,class:"v3-input-emoji-picker"},kqg={class:"v3-input-picker-root"},Fqg=["value"],zqg=["value"],Jqg=["src"];function Lqg(C,g,I,e,t,i){const A=s.resolveComponent("Header"),n=s.resolveComponent("Body"),l=s.resolveComponent("Footer");return C.isInputType?(s.openBlock(),s.createElementBlock("div",Kqg,[s.createElementVNode("div",kqg,[C.type==="input"?(s.openBlock(),s.createElementBlock("input",{key:0,ref:"elem",value:C.input,type:"text",class:"v3-emoji-picker-input",onInput:g[0]||(g[0]=(...o)=>C.onChangeText&&C.onChangeText(...o)),onBlur:g[1]||(g[1]=(...o)=>C.updateCursor&&C.updateCursor(...o))},null,40,Fqg)):(s.openBlock(),s.createElementBlock("textarea",{key:1,ref:"elem",value:C.input,class:"v3-emoji-picker-textarea",onInput:g[2]||(g[2]=(...o)=>C.onChangeText&&C.onChangeText(...o)),onBlur:g[3]||(g[3]=(...o)=>C.updateCursor&&C.updateCursor(...o))},null,40,zqg)),s.createElementVNode("div",{class:s.normalizeClass(["v3-input-picker-wrap",C.open?"v3-picker-is-open":""])},[s.createElementVNode("button",{ref:"button",type:"button",class:"v3-input-picker-icon",onClick:g[4]||(g[4]=o=>C.open=!C.open)},[s.createElementVNode("img",{src:C.face,alt:""},null,8,Jqg)],512),s.createElementVNode("div",{ref:"picker",class:s.normalizeClass(["v3-emoji-picker","v3-color-theme-"+C.colorTheme])},[s.createVNode(A),s.createVNode(n,{onSelect:C.onSelect},null,8,["onSelect"]),s.createVNode(l)],2)],2)])])):(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["v3-emoji-picker","v3-color-theme-"+C.colorTheme])},[s.createVNode(A),s.createVNode(n,{onSelect:C.onSelect},null,8,["onSelect"]),s.createVNode(l)],2))}var Tqg=$0(Sqg,[["render",Lqg]]);const vqg=s.defineComponent({name:"Picker",components:{PickerRoot:Tqg},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":C=>!0,select:C=>!0},setup(C,{emit:g}){const I=s.ref(C.text);function e(i){I.value=i||"",g("update:text",I.value)}const t=v_g();return t.updateOptions({native:C.native,hideSearch:C.hideSearch,hideGroupIcons:C.hideGroupIcons,hideGroupNames:C.hideGroupNames,staticTexts:{...V_g,...C.staticTexts},disableStickyGroupNames:C.disableStickyGroupNames,disabledGroups:C.disabledGroups,groupNames:{...gz,...C.groupNames},disableSkinTones:C.disableSkinTones,displayRecent:C.displayRecent,additionalGroups:C.additionalGroups,mode:C.mode,offset:C.offset,groupOrder:C.groupOrder,groupIcons:C.groupIcons,colorTheme:N_g.includes(C.theme)?C.theme:"light"}),s.provide("store",t),{type:C.pickerType,input:I,onChangeText:e}}});function jqg(C,g,I,e,t,i){const A=s.resolveComponent("picker-root");return s.openBlock(),s.createBlock(A,{type:C.type,text:C.input,onSelect:g[0]||(g[0]=n=>C.$emit("select",n)),"onUpdate:text":C.onChangeText},null,8,["type","text","onUpdate:text"])}var Mz=$0(vqg,[["render",jqg]]),ap=(C=>(C.primary="primary",C.secondary="secondary",C.red="red",C.green="green",C.yellow="yellow",C.blue="blue",C.white="white",C.black="black",C))(ap||{});const xqg=fg(s.defineComponent({__name:"DropZone",emits:["files-dropped"],setup(C,{emit:g}){const I=g,e=s.reactive({dragging:!1}),t=h=>{const Z=Array.from(h.items??[]).filter(G=>G.kind==="file").map(G=>G.getAsFile()).filter(G=>!!G);return Z.length?Z:Array.from(h.files??[])},i=h=>h?Array.from(h.types??[]).includes("Files")?!0:Array.from(h.items??[]).some(G=>G.kind==="file"):!1,A=async h=>{const Z=await h.arrayBuffer();return new File([Z],h.name,{type:h.type,lastModified:h.lastModified})},n=async h=>{if(h.preventDefault(),e.dragging=!1,!h.dataTransfer)return;const Z=t(h.dataTransfer);if(!Z.length)return;const G=await Promise.all(Z.map(A));I("files-dropped",G)},l=h=>{h.preventDefault(),e.dragging=!1},o=h=>{h.preventDefault()},a=h=>{h.preventDefault(),i(h.dataTransfer)&&(e.dragging=!0)},d=h=>{h.clientX===0&&h.clientY===0&&(e.dragging=!1)},m=()=>{e.dragging=!1},u=h=>{h.clientX===0&&h.clientY===0&&(e.dragging=!1)};return s.onMounted(()=>{window.addEventListener("dragenter",a),window.addEventListener("dragover",o),window.addEventListener("drop",l),window.addEventListener("dragleave",d),window.addEventListener("dragend",m)}),s.onUnmounted(()=>{window.removeEventListener("dragenter",a),window.removeEventListener("dragover",o),window.removeEventListener("drop",l),window.removeEventListener("dragleave",d),window.removeEventListener("dragend",m)}),(h,Z)=>(s.openBlock(),s.createBlock(s.Transition,{name:"drag"},{default:s.withCtx(()=>[e.dragging?(s.openBlock(),s.createElementBlock("div",{key:0,class:"drag-overlay",onDragleave:u,onDragover:Z[0]||(Z[0]=s.withModifiers(()=>{},["prevent"])),onDrop:s.withModifiers(n,["prevent"])}," Загрузить файл ",32)):s.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-72c68cb7"]]),Oqg={class:"editor-component"},Qqg={key:0,class:"editor-component-slot"},Uqg={class:"right-buttons"},Eqg={class:"toolbar"},Pqg={class:"camera-selection"},_qg={class:"camera-selection-options"},YM=s.defineComponent({__name:"ContentEditor",props:s.mergeModels({activeAttachFile:{type:Boolean},activeSelectUser:{type:Boolean},activeSend:{type:Boolean},disableSendOnEnter:{type:Boolean},isMentionModalOpen:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:s.mergeModels(["unmount-send","unmount-attach-file","mention-change"],["update:modelValue"]),setup(C,{expose:g,emit:I}){const e=C,t=s.useModel(C,"modelValue"),i=s.ref(!1),A=s.ref({vertical:"bottom",horizontal:"left"}),n=I,l=s.computed(()=>{var D;return!e.activeSend&&((D=h.value)==null?void 0:D.isEmpty)}),o=s.computed(()=>["emoji-picker",`emoji-picker-${A.value.vertical}`,`emoji-picker-${A.value.horizontal}`,l.value?"":"translateX"]),a=s.ref(null),d=s.ref(!1),m=D=>{d.value=!1,G(!0,D)},u=Jt.create({name:"spanNode",inline:!0,group:"inline",atom:!0,selectable:!1,addAttributes(){return{class:{default:"link"},content:{default:""},userId:{default:null,parseHTML:D=>D.getAttribute("data-user-id"),renderHTML:D=>D.userId?{"data-user-id":D.userId}:{}}}},parseHTML(){return[{tag:"span[data-span]"}]},renderHTML({node:D,HTMLAttributes:z}){return["span",HC(z,{"data-span":"",contenteditable:"false",class:D==null?void 0:D.attrs.class}),D==null?void 0:D.attrs.content]}}),h=j6g({extensions:[B_g.configure({link:!1,bold:!1,italic:!1,strike:!1,heading:!1,bulletList:!1,orderedList:!1,codeBlock:!1,blockquote:!1,underline:!1}),k8g.configure({openOnClick:!1,HTMLAttributes:{class:"link"}}),p_g.configure({placeholder:"Начните печатать...",emptyEditorClass:"is-editor-empty"}),u],content:t.value,editorProps:{handlePaste(D,z){const j=z.clipboardData;if(!j)return!1;if(j.files.length>0&&e.activeAttachFile){const q=Array.from(j.files).every(gg=>gg.type.startsWith("image/")||gg.type.startsWith("video/"));return n("unmount-attach-file",j.files,q),z.preventDefault(),!0}}},onUpdate:({editor:D})=>{if(t.value=D.getHTML(),e.activeSelectUser){const{$from:z}=D.state.selection,j=Math.max(0,z.parentOffset-50),gg=z.parent.textBetween(j,z.parentOffset,null,"").match(/@([^\s]*)$/);gg?n("mention-change",gg[1].toLowerCase()):n("mention-change",null)}},parseOptions:{preserveWhitespace:!0}});s.watch(t,D=>{h!=null&&h.value&&D!==h.value.getHTML()&&h.value.commands.setContent(D??"",{parseOptions:{preserveWhitespace:!0}})});const Z=D=>{h!=null&&h.value&&h.value.chain().focus().insertContent(D.i).run()},G=(D=!1,z)=>{if(!(h!=null&&h.value))return;const j=document.createElement("input");j.type="file",z?(z==="video"?j.accept="video/*":z==="image"?j.accept="image/*":j.accept="image/*,video/*",j.capture="environment",j.multiple=!1):(j.multiple=!0,D&&(j.accept="image/*,video/*")),j.onchange=()=>{j!=null&&j.files&&n("unmount-attach-file",j.files,D)},j.click()},w=D=>{const z=D.every(gg=>gg.type.startsWith("image/")||gg.type.startsWith("video/")),j=new DataTransfer;D.forEach(gg=>j.items.add(gg));const q=j.files;n("unmount-attach-file",q,z)},B=()=>{h!=null&&h.value&&(n("unmount-send",{content:h.value.getHTML()}),h.value.chain().focus())},p=(D,z)=>{if(!(h!=null&&h.value))return;const{$from:j}=h.value.state.selection,q=Math.max(0,j.parentOffset-50),Q=j.parent.textBetween(q,j.parentOffset,null,"").match(/@([^\s]*)$/);if(Q){const _=j.start()+q+(Q.index||0);h.value.chain().focus().insertContentAt({from:_,to:j.pos},{type:"spanNode",attrs:{content:D,class:"link",...z}}).run()}else h.value.chain().focus().insertContent({type:"spanNode",attrs:{content:D,class:"link",...z}}).run()},y=()=>{if(!(h!=null&&h.value))return;const{$from:D}=h.value.state.selection,z=Math.max(0,D.parentOffset-50),q=D.parent.textBetween(z,D.parentOffset,null,"").match(/@([^\s]*)$/);if(q){const gg=D.start()+z+(q.index||0);h.value.chain().focus().deleteRange({from:gg,to:D.pos}).run()}else h.value.chain().focus().insertContent("@").run()},Y=()=>{h!=null&&h.value&&h.value.chain().focus()},R=(D,z=300,j=260)=>{if(!D)return;const q=D.getBoundingClientRect(),gg=window.innerWidth,Q=window.innerHeight;A.value.vertical=q.bottom+j>Q?"top":"bottom",A.value.horizontal=q.left+z>gg?"right":"left"},M=D=>{if(i.value=!i.value,i.value){const z=D.currentTarget;s.nextTick(()=>{R(z)})}},K=()=>{i.value=!1},J=()=>{const D=document.querySelector(".toolbar-button.smile-button");i.value&&D&&R(D)},X=D=>{window.innerWidth<=480||!e.disableSendOnEnter&&D.key==="Enter"&&D.code&&!(D.shiftKey||D.ctrlKey||D.metaKey)&&(D.preventDefault(),D.stopPropagation(),B())};return s.onMounted(()=>{var D,z;(z=(D=h==null?void 0:h.value)==null?void 0:D.view)!=null&&z.dom&&(a.value=h.value.view.dom,window.addEventListener("resize",J),window.addEventListener("scroll",J,!0),a.value.addEventListener("keydown",X,{capture:!0}))}),s.onBeforeUnmount(()=>{var D;(D=h==null?void 0:h.value)==null||D.destroy(),a.value&&a.value.removeEventListener("keydown",X,{capture:!0}),window.removeEventListener("resize",J),window.removeEventListener("scroll",J,!0)}),g({addSpanLink:p,focus:Y,editor:h}),(D,z)=>(s.openBlock(),s.createElementBlock("div",Oqg,[D.$slots.action?(s.openBlock(),s.createElementBlock("div",Qqg,[s.renderSlot(D.$slots,"action")])):s.createCommentVNode("",!0),s.createVNode(Mr,{isWCUse:"",disabled:!e.activeAttachFile,options:[{value:"Камера",function:()=>d.value=!0},{value:"Фото или видео",function:()=>G(!0)},{value:"Файл",function:()=>G(!1)}],translateY:"calc(-100% - 47px)",class:"mobile-item"},{trigger:s.withCtx(()=>[s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button attach-file-button mobile-buttons",disabled:!e.activeAttachFile},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).paperClip},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),s.createVNode(s.unref(v6g),{class:"editor-content",editor:s.unref(h)},null,8,["editor"]),e.activeAttachFile?(s.openBlock(),s.createBlock(xqg,{key:1,onFilesDropped:w})):s.createCommentVNode("",!0),s.createElementVNode("div",Uqg,[s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button mobile-buttons smile-button",onClick:s.withModifiers(M,["stop"])},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).smile},null,8,["name"]),s.withDirectives(s.createElementVNode("div",{onClick:z[0]||(z[0]=s.withModifiers(()=>{},["stop"])),class:s.normalizeClass(o.value)},[s.createVNode(s.unref(Mz),{native:!0,onSelect:Z})],2),[[s.vShow,i.value]])]),_:1},8,["type","size"]),s.withDirectives(s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button right mobile-buttons",onClick:B},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).planeRightFill,width:22,height:22,class:"content-editor__save"},null,8,["name"])]),_:1},8,["type","size"]),[[s.vShow,!l.value]])]),s.createElementVNode("div",Eqg,[s.createVNode(Mr,{isWCUse:"",disabled:!e.activeAttachFile,options:[{value:"Фото или видео",function:()=>G(!0)},{value:"Файл",function:()=>G(!1)}],translateY:"calc(-100% - 47px)"},{trigger:s.withCtx(()=>[s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button attach-file-button",disabled:!e.activeAttachFile},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).paperClip,width:16,height:16},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button smile-button",onClick:s.withModifiers(M,["stop"])},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).smile,width:16,height:16},null,8,["name"]),s.withDirectives(s.createElementVNode("div",{onClick:z[1]||(z[1]=s.withModifiers(()=>{},["stop"])),class:s.normalizeClass(o.value)},[s.withDirectives(s.createVNode(s.unref(Mz),{native:!0,onSelect:Z},null,512),[[s.unref(Oc),K,void 0,{bubble:!0}]])],2),[[s.vShow,i.value]])]),_:1},8,["type","size"]),s.createVNode(sC,{disabled:!e.activeSelectUser,type:s.unref(MI).ghost,class:"toolbar-button",size:s.unref(it).small,onClick:y},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).atSign,width:16,height:16},null,8,["name"])]),_:1},8,["disabled","type","size"]),s.createCommentVNode("",!0),s.createVNode(sC,{disabled:l.value,class:"toolbar-button right",size:s.unref(it).small,onClick:B},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).planeRight,color:s.unref(ap).white,width:16,height:16},null,8,["name","color"])]),_:1},8,["disabled","size"])]),d.value?(s.openBlock(),s.createBlock(xS,{key:2,open:d.value,onClose:z[4]||(z[4]=j=>d.value=!1),position:"center",width:"320px",height:"auto"},{default:s.withCtx(()=>[s.createElementVNode("div",Pqg,[z[7]||(z[7]=s.createElementVNode("div",{class:"camera-selection-header"},"Выберите действие",-1)),s.createElementVNode("div",_qg,[s.createVNode(sC,{type:s.unref(MI).outline,onClick:z[2]||(z[2]=j=>m("image")),class:"camera-selection-item"},{default:s.withCtx(()=>[...z[5]||(z[5]=[s.createTextVNode(" Сделать фото ",-1)])]),_:1},8,["type"]),s.createVNode(sC,{type:s.unref(MI).outline,onClick:z[3]||(z[3]=j=>m("video")),class:"camera-selection-item"},{default:s.withCtx(()=>[...z[6]||(z[6]=[s.createTextVNode(" Записать видео ",-1)])]),_:1},8,["type"])])])]),_:1},8,["open"])):s.createCommentVNode("",!0)]))}}),$qg=["data-testid"],qqg=["data-testid"],ggI=fg(s.defineComponent({name:"BaseCropper",__name:"BaseCropper",props:{image:{},max:{default:3},min:{default:1},step:{default:.5}},emits:["unmount-scale"],setup(C,{expose:g,emit:I}){const e=C,t=I,i=s.useTemplateRef("canvas"),A=s.useTemplateRef("container"),n=s.reactive({ctx:null,image:null,id:s.useId(),scale:1,position:{x:0,y:0},isDragging:!1,startX:0,startY:0,minScale:e.min,maxScale:e.max,stepScale:e.step});s.watch(()=>e.image,()=>{e.image&&d(e.image)});const l=()=>{i.value&&(n.ctx=i.value.getContext("2d")),o(),window.addEventListener("resize",o)},o=()=>{if(A.value){const{width:R,height:M}=A.value.getBoundingClientRect();i.value&&(i.value.width=R,i.value.height=M),n.image&&a()}},a=()=>{if(n.image){const R=n.ctx,M=i.value;R&&M&&(R.clearRect(0,0,M.width,M.height),R.drawImage(n.image,n.position.x,n.position.y,n.image.width*n.scale,n.image.height*n.scale))}},d=R=>{const M=new FileReader;M.onload=async K=>{var J;typeof((J=K.target)==null?void 0:J.result)=="string"&&(n.image=new Image,n.image.src=K.target.result,n.image.onload=async()=>{if(await s.nextTick(),i.value&&n.image){const X=i.value.width,D=i.value.height,z=n.image.width/n.image.height,j=X/D;z>j?(n.image.width=X,n.image.height=X/z):(n.image.height=D,n.image.width=D*z),o(),n.position.x=(i.value.width-n.image.width)/2,n.position.y=(i.value.height-n.image.height)/2,a()}})},M.readAsDataURL(R)},m=R=>{n.isDragging=!0,n.startX=R.clientX-n.position.x,n.startY=R.clientY-n.position.y,window.addEventListener("mousemove",u),window.addEventListener("mouseup",h)},u=R=>{if(!n.isDragging&&!i.value)return;let M=R.clientX-n.startX,K=R.clientY-n.startY;if(i.value&&n.image){const J=i.value.width-n.image.width*n.scale;n.image.width*n.scale<i.value.width?M=Math.min(Math.max(M,0),i.value.width-n.image.width*n.scale):(M>0&&(M=0),M<J&&(M=J));const X=i.value.height-n.image.height*n.scale;n.image.height*n.scale<i.value.height?K=Math.min(Math.max(K,0),i.value.height-n.image.height*n.scale):(K>0&&(K=0),K<X&&(K=X)),n.position.x=M,n.position.y=K}a()},h=()=>{n.isDragging=!1,window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",h)},Z=R=>Math.max(n.minScale,Math.min(R,n.maxScale)),G=R=>{if(i.value){const M=i.value.width/2,K=i.value.height/2;n.position.x=M-(M-n.position.x)*R,n.position.y=K-(K-n.position.y)*R}},w=R=>{const M=n.scale,K=n.scale+R.deltaY*-.001;if(M===Z(K))return;n.scale=Z(K);const J=K/M;G(J),t("unmount-scale",n.scale),a()};return g({cropImage:()=>{if(A.value){const{width:R,height:M}=A.value.getBoundingClientRect(),K=document.createElement("canvas");K.width=R,K.height=M;const J=K.getContext("2d");J&&n.image&&J.drawImage(n.image,n.position.x,n.position.y,n.image.width*n.scale,n.image.height*n.scale);const X=K.toDataURL("image/png"),D=atob(X.split(",")[1]),z=new ArrayBuffer(D.length),j=new Uint8Array(z);for(let gg=0;gg<D.length;gg++)j[gg]=D.charCodeAt(gg);const q=new Blob([j],{type:"image/png"});return e.image?new File([q],e.image.name,{type:"image/png"}):null}return null},scalePlus:()=>{const R=n.scale+n.stepScale;n.scale=Z(R),a()},scaleMinus:()=>{const R=n.scale-n.stepScale;n.scale=Z(R),a()},setScale:R=>{const M=n.scale,J=R/M;n.scale=Z(R),G(J),a()},startMove:m,scaleImage:w}),s.onMounted(()=>{l(),e.image&&d(e.image)}),(R,M)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"container",ref:A,class:"base-cropper","data-testid":`BaseCropper-${n.id}`},[s.createElementVNode("canvas",{ref_key:"canvas",ref:i,class:"base-cropper__canvas","data-testid":`BaseCropper-${n.id}-canvas`,onMousedown:m,onWheel:s.withModifiers(w,["prevent"])},null,40,qqg)],8,$qg))}}),[["__scopeId","data-v-df483607"]]),IgI=C=>{const g=s.ref(C==null?void 0:C.defaultValue),I=C==null?void 0:C.min,e=C==null?void 0:C.max,t=C==null?void 0:C.step;s.watch(g,A=>{g.value=i(A)});const i=A=>Math.max(I,Math.min(A,e));return{value:g,min:I,max:e,step:t,getCorrectValue:i}},CgI=(C,g)=>new File([C],g,{type:C.type}),egI=["data-testid"],tgI=["data-testid"],igI=["data-testid"],AgI=["data-testid"],ngI=["data-testid"],lgI=["data-testid"],VM=fg(s.defineComponent({name:"ModalCroppedAvatar",__name:"ModalCroppedAvatar",props:{image:{},open:{type:Boolean},position:{default:"center"},width:{default:"650px"},height:{default:"auto"},disableCloseOnOutsideClick:{type:Boolean},isResetFocus:{type:Boolean},dataTestid:{}},emits:["unmount-close","unmount-save"],setup(C,{emit:g}){const I=C,e=g,{max:t,min:i,step:A,value:n}=IgI({defaultValue:1,max:3,min:1,step:.1}),l=s.useId(),o=s.useTemplateRef("cropper"),a=s.reactive({openModal:!1});s.watch(n,()=>{o.value&&o.value.setScale(n.value)});const d=()=>{a.openModal=!1,e("unmount-close")},m=G=>{n.value=G},u=()=>{n.value=n.value-A},h=()=>{n.value=n.value+A},Z=()=>{if(o.value){const G=o.value.cropImage();if(G){const w=G.name,B=CgI(G,w);e("unmount-save",B),d()}}};return s.onUnmounted(()=>{d()}),s.onMounted(()=>{I.open===void 0&&(a.openModal=I.open)}),(G,w)=>(s.openBlock(),s.createBlock(C0,s.mergeProps(I,{class:"modal-cropped-avatar","data-testid":`ModalCroppedAvatar-${s.unref(l)}`,onClose:d}),{default:s.withCtx(()=>[s.createElementVNode("div",{class:"modal-cropped-avatar__content","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content`},[s.createElementVNode("div",{class:"modal-cropped-avatar__title","data-testid":`ModalCroppedAvatar-${s.unref(l)}-title`}," Изменение фото профиля ",8,tgI),s.createElementVNode("div",{class:"modal-cropped-avatar__main","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-main`},[s.createElementVNode("div",{class:"modal-cropped-avatar__cropped","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-main-cropped`},[s.createVNode(ggI,{ref_key:"cropper",ref:o,image:C.image,max:s.unref(t),min:s.unref(i),step:s.unref(A),class:"modal-cropped-avatar__cropper",onUnmountScale:m},null,8,["image","max","min","step"]),s.createElementVNode("div",{class:"modal-cropped-avatar__tools","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-tools`},[s.createVNode(Xg,{name:s.unref(ug).minus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-iconMinus`,onClick:u},null,8,["name","data-testid"]),s.createVNode(KW,{max:s.unref(t),min:s.unref(i),step:s.unref(A),modelValue:s.unref(n),"onUpdate:modelValue":w[0]||(w[0]=B=>s.isRef(n)?n.value=B:null),"data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-Range`},null,8,["max","min","step","modelValue","data-testid"]),s.createVNode(Xg,{name:s.unref(ug).plus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-IconPlus`,onClick:h},null,8,["name","data-testid"])],8,ngI)],8,AgI),s.createElementVNode("div",{class:"modal-cropped-avatar__buttons","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-buttons`},[s.createVNode(sC,{type:s.unref(MI).outline,class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-ButtonCancel`,onClick:d},{default:s.withCtx(()=>[...w[1]||(w[1]=[s.createTextVNode(" Отменить ",-1)])]),_:1},8,["type","data-testid"]),s.createVNode(sC,{class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-buttonSave`,onClick:Z},{default:s.withCtx(()=>[...w[2]||(w[2]=[s.createTextVNode(" Сохранить ",-1)])]),_:1},8,["data-testid"])],8,lgI)],8,igI)],8,egI)]),_:1},16,["data-testid"]))}}),[["__scopeId","data-v-65b5d91e"]]),NM={install(C,g={enabled:!0}){if(!(g.enabled??!1)){console.info("[removeDataTestidPlugin] Plugin is disabled.");return}const e=t=>{t.removeAttribute("data-testid"),Array.from(t.children).forEach(e)};C.mixin({mounted(){e(this.$el)}})}},sgI=["src"],MM=s.defineComponent({name:"ImagePreview",__name:"ImagePreview",props:{src:{}},emits:["error"],setup(C,{expose:g,emit:I}){const e=C,t=I,i=s.reactive({isError:!1,rotate:0});s.watch(()=>e.src,()=>{i.isError=!1,i.rotate=0,s.nextTick(()=>{n()})});const A=s.ref(null),n=async()=>{try{if(!A.value||!e.src)return;const o=new Image;o.src=e.src,o.addEventListener("load",()=>{var Z;if(!A.value)return;const a=(Z=A.value)==null?void 0:Z.getContext("2d");if(!a)return;const d=o.width,m=o.height;let u=d,h=m;i.rotate%180!==0&&(u=m,h=d),A.value.width=u,A.value.height=h,a.save(),a.clearRect(0,0,u,h),a.translate(u/2,h/2),a.rotate(i.rotate*Math.PI/180),a.drawImage(o,-d/2,-m/2,d,m),a.restore()}),o.addEventListener("error",a=>{i.isError=!0,t("error",a)})}catch{t("error",new Event("error")),i.isError=!0}},l=async o=>{const a=Math.round(o/90)*90;i.rotate+=a,s.nextTick(()=>{n()})};return s.onMounted(()=>{s.nextTick(()=>{n()})}),g({rotateImage:l}),(o,a)=>i.isError?(s.openBlock(),s.createElementBlock("img",{key:1,src:s.unref(hn)},null,8,sgI)):(s.openBlock(),s.createElementBlock("canvas",{key:0,ref_key:"canvasRef",ref:A,class:"image-preview"},null,512))}}),Rz={Accordion:gV,Badges:ve,BreadCrumbs:Iy,Dialog:Dw,DragAndDrop:IV,Card:CV,Combobox:tV,Calendar:qY,Button:sC,Switch:DG,SelectList:Qc,Dropdown:by,Textarea:uN,Filter:eV,Icon:Xg,Input:AV,InputNumber:Gh,Picture:bN,PushNotification:ZN,Scroll:aN,Search:Hh,Modal:C0,Slider:oN,Checkbox:dN,Toggle:yW,UserMenu:mN,CopyIcon:GN,Loader:i0,FilterTag:wN,CircularProgress:WN,Popover:Mr,Table:BN,TableNew:VN,TableSimple:MN,TableRow:SW,TableRowNew:NN,TableTd:d0,TableTh:Rr,SectionTableRow:pN,HeadTableRow:o0,HeadTableRowNew:kW,ScrollWrapper:a0,ScrollWrapperNew:SQg,Radio:yN,Tooltip:s0,BaseFilter:YN,Range:KW,Tabs:RN,ContentEditor:YM,ModalCroppedAvatar:VM,Avatar:fW,TimePicker:Sw,SliderModal:pW,PdfPreview:dl,ImagePreview:MM,VideoPreview:e0,Skeleton:DW},fz=Object.freeze(Object.defineProperty({__proto__:null,Accordion:gV,Avatar:fW,Badges:ve,BadgesTypeEnum:pI,BaseFilter:YN,BreadCrumbs:Iy,Button:sC,ButtonTypeEnum:MI,Calendar:qY,Card:CV,Checkbox:dN,CheckboxCircularEnum:RW,CheckboxSizeEnum:MW,CircularProgress:WN,ColorsEnum:ap,Combobox:tV,ContentEditor:YM,CopyIcon:GN,Dialog:Dw,DragAndDrop:IV,Dropdown:by,Filter:eV,FilterTag:wN,HeadTableRow:o0,HeadTableRowNew:kW,Icon:Xg,IconNameEnum:ug,ImageExtensionsEnum:Sh,ImagePreview:MM,Input:AV,InputNumber:Gh,InputTypeEnum:iV,Loader:i0,MenuTypeEnum:QI,MessageTypeEnum:HW,Modal:C0,ModalCroppedAvatar:VM,PdfPreview:dl,Picture:bN,Popover:Mr,PushNotification:ZN,Radio:yN,Range:KW,Scroll:aN,ScrollWrapper:a0,Search:Hh,SectionTableRow:pN,SelectList:Qc,SizesEnum:it,Skeleton:DW,Slider:oN,SliderModal:pW,Switch:DG,Table:BN,TableNew:VN,TableRow:SW,TableRowNew:NN,TableSimple:MN,TableTd:d0,TableTh:Rr,Tabs:RN,TextFieldEnum:xw,Textarea:uN,TextareaTypeEnum:XW,TimePicker:Sw,Toggle:yW,Tooltip:s0,UserMenu:mN,VideoExtensionsEnum:Kh,VideoPreview:e0,default:{install:C=>{Object.keys(Rz).forEach(g=>{C.component("Y"+g,Rz[g])})}},getFirstTime:JD,getLastTime:vw,vuePluginRemoveTestid:NM},Symbol.toStringTag,{value:"Module"})),ogI={install(C){for(const g in fz){const I=fz[g];C.use(I).use(NM,{enabled:!1})}}};P.Accordion=gV,P.Avatar=fW,P.Badges=ve,P.BadgesTypeEnum=pI,P.BaseFilter=YN,P.BreadCrumbs=Iy,P.Button=sC,P.ButtonTypeEnum=MI,P.Calendar=qY,P.Card=CV,P.Checkbox=dN,P.CheckboxCircularEnum=RW,P.CheckboxSizeEnum=MW,P.CircularProgress=WN,P.ColorsEnum=ap,P.Combobox=tV,P.ContentEditor=YM,P.CopyIcon=GN,P.Dialog=Dw,P.DragAndDrop=IV,P.Dropdown=by,P.Filter=eV,P.FilterTag=wN,P.HeadTableRow=o0,P.HeadTableRowNew=kW,P.Icon=Xg,P.IconNameEnum=ug,P.ImageExtensionsEnum=Sh,P.ImagePreview=MM,P.Input=AV,P.InputNumber=Gh,P.InputTypeEnum=iV,P.Loader=i0,P.MenuTypeEnum=QI,P.MessageTypeEnum=HW,P.Modal=C0,P.ModalCroppedAvatar=VM,P.OnClickOutside=LO,P.OnLongPress=OO,P.PdfPreview=dl,P.Picture=bN,P.Popover=Mr,P.PushNotification=ZN,P.Radio=yN,P.Range=KW,P.Scroll=aN,P.ScrollWrapper=a0,P.Search=Hh,P.SectionTableRow=pN,P.SelectList=Qc,P.SizesEnum=it,P.Skeleton=DW,P.Slider=oN,P.SliderModal=pW,P.Switch=DG,P.Table=BN,P.TableNew=VN,P.TableRow=SW,P.TableRowNew=NN,P.TableSimple=MN,P.TableTd=d0,P.TableTh=Rr,P.Tabs=RN,P.TextFieldEnum=xw,P.Textarea=uN,P.TextareaTypeEnum=XW,P.TimePicker=Sw,P.Toggle=yW,P.Tooltip=s0,P.UseActiveElement=QO,P.UseBattery=UO,P.UseBrowserLocation=EO,P.UseClipboard=PO,P.UseColorMode=nQ,P.UseDark=lQ,P.UseDeviceMotion=sQ,P.UseDeviceOrientation=oQ,P.UseDevicePixelRatio=aQ,P.UseDevicesList=dQ,P.UseDocumentVisibility=cQ,P.UseDraggable=rQ,P.UseElementBounding=mQ,P.UseElementSize=hQ,P.UseElementVisibility=GQ,P.UseEyeDropper=WQ,P.UseFullscreen=BQ,P.UseGeolocation=pQ,P.UseIdle=yQ,P.UseImage=MQ,P.UseMouse=XQ,P.UseMouseInElement=HQ,P.UseMousePressed=DQ,P.UseNetwork=SQ,P.UseNow=KQ,P.UseObjectUrl=kQ,P.UseOffsetPagination=FQ,P.UseOnline=zQ,P.UsePageLeave=JQ,P.UsePointer=LQ,P.UsePointerLock=TQ,P.UsePreferredColorScheme=vQ,P.UsePreferredContrast=jQ,P.UsePreferredDark=xQ,P.UsePreferredLanguages=OQ,P.UsePreferredReducedMotion=QQ,P.UseScreenSafeArea=_Q,P.UseTimeAgo=eU,P.UseTimestamp=tU,P.UseVirtualList=iU,P.UseWindowFocus=AU,P.UseWindowSize=nU,P.UserMenu=mN,P.VOnClickOutside=Oc,P.VOnLongPress=Xf,P.VideoExtensionsEnum=Kh,P.VideoPreview=e0,P.VueToolsCore=$Jg,P.arrow=dTg,P.autoPlacement=DD,P.autoUpdate=XD,P.computePosition=SD,P.default=ogI,P.detectOverflow=eTg,P.flip=iTg,P.getFirstTime=JD,P.getLastTime=vw,P.getOverflowAncestors=mr,P.hide=nTg,P.inline=sTg,P.limitShift=oTg,P.offset=HD,P.platform=RD,P.shift=tTg,P.size=ATg,P.useFloating=FD,P.useSearch=LD,P.vElementHover=uQ,P.vElementSize=ZQ,P.vElementVisibility=wQ,P.vInfiniteScroll=RQ,P.vIntersectionObserver=fQ,P.vOnClickOutside=Oc,P.vOnKeyStroke=vO,P.vOnLongPress=Xf,P.vResizeObserver=UQ,P.vScroll=$Q,P.vScrollLock=CU,P.vuePluginRemoveTestid=NM,Object.defineProperties(P,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1531
|
+
3. "-" cannot repeat`);iC.customSchemes.push([C,g])}function M8g(){iC.scanner=w8g(iC.customSchemes);for(let C=0;C<iC.tokenQueue.length;C++)iC.tokenQueue[C][1]({scanner:iC.scanner});iC.parser=p8g(iC.scanner.tokens);for(let C=0;C<iC.pluginQueue.length;C++)iC.pluginQueue[C][1]({scanner:iC.scanner,parser:iC.parser});return iC.initialized=!0,iC}function CM(C){return iC.initialized||M8g(),y8g(iC.parser.start,C,pF(iC.scanner.start,C))}CM.scan=pF;function fF(C,g=null,I=null){if(g&&typeof g=="object"){if(I)throw Error(`linkifyjs: Invalid link type ${g}; must be a string`);I=g,g=null}const e=new gM(I),t=CM(C),i=[];for(let A=0;A<t.length;A++){const n=t[A];n.isLink&&(!g||n.t===g)&&e.check(n)&&i.push(n.toFormattedObject(e))}return i}var eM="[\0- -\u2029 ]",R8g=new RegExp(eM),f8g=new RegExp(`${eM}$`),X8g=new RegExp(eM,"g");function H8g(C){return C.length===1?C[0].isLink:C.length===3&&C[1].isLink?["()","[]"].includes(C[0].value+C[2].value):!1}function D8g(C){return new pC({key:new re("autolink"),appendTransaction:(g,I,e)=>{const t=g.some(o=>o.docChanged)&&!I.doc.eq(e.doc),i=g.some(o=>o.getMeta("preventAutolink"));if(!t||i)return;const{tr:A}=e,n=S3(I.doc,[...g]);if(O3(n).forEach(({newRange:o})=>{const a=IPg(e.doc,o,u=>u.isTextblock);let d,m;if(a.length>1)d=a[0],m=e.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ");else if(a.length){const u=e.doc.textBetween(o.from,o.to," "," ");if(!f8g.test(u))return;d=a[0],m=e.doc.textBetween(d.pos,o.to,void 0," ")}if(d&&m){const u=m.split(R8g).filter(Boolean);if(u.length<=0)return!1;const h=u[u.length-1],Z=d.pos+m.lastIndexOf(h);if(!h)return!1;const G=CM(h).map(w=>w.toObject(C.defaultProtocol));if(!H8g(G))return!1;G.filter(w=>w.isLink).map(w=>({...w,from:Z+w.start+1,to:Z+w.end+1})).filter(w=>e.schema.marks.code?!e.doc.rangeHasMark(w.from,w.to,e.schema.marks.code):!0).filter(w=>C.validate(w.value)).filter(w=>C.shouldAutoLink(w.value)).forEach(w=>{V1(w.from,w.to,e.doc).some(B=>B.mark.type===C.type)||A.addMark(w.from,w.to,C.type.create({href:w.href}))})}}),!!A.steps.length)return A}})}function S8g(C){return new pC({key:new re("handleClickLink"),props:{handleClick:(g,I,e)=>{var t,i;if(e.button!==0||!g.editable)return!1;let A=null;if(e.target instanceof HTMLAnchorElement)A=e.target;else{let a=e.target;const d=[];for(;a.nodeName!=="DIV";)d.push(a),a=a.parentNode;A=d.find(m=>m.nodeName==="A")}if(!A)return!1;const n=x3(g.state,C.type.name),l=(t=A==null?void 0:A.href)!=null?t:n.href,o=(i=A==null?void 0:A.target)!=null?i:n.target;return C.enableClickSelection&&C.editor.commands.extendMarkRange(C.type.name),A&&l?(window.open(l,o),!0):!1}}})}function K8g(C){return new pC({key:new re("handlePasteLink"),props:{handlePaste:(g,I,e)=>{const{state:t}=g,{selection:i}=t,{empty:A}=i;if(A)return!1;let n="";e.content.forEach(o=>{n+=o.textContent});const l=fF(n,{defaultProtocol:C.defaultProtocol}).find(o=>o.isLink&&o.value===n);return!n||!l?!1:C.editor.commands.setMark(C.type,{href:l.href})}}})}function sd(C,g){const I=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return g&&g.forEach(e=>{const t=typeof e=="string"?e:e.scheme;t&&I.push(t)}),!C||C.replace(X8g,"").match(new RegExp(`^(?:(?:${I.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var XF=Ad.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(C=>{if(typeof C=="string"){RF(C);return}RF(C.scheme,C.optionalSlashes)})},onDestroy(){N8g()},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:(C,g)=>!!sd(C,g.protocols),validate:C=>!!C,shouldAutoLink:C=>!!C}},addAttributes(){return{href:{default:null,parseHTML(C){return C.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:C=>{const g=C.getAttribute("href");return!g||!this.options.isAllowedUri(g,{defaultValidate:I=>!!sd(I,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:C}){return this.options.isAllowedUri(C.href,{defaultValidate:g=>!!sd(g,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",HC(this.options.HTMLAttributes,C),0]:["a",HC(this.options.HTMLAttributes,{...C,href:""}),0]},addCommands(){return{setLink:C=>({chain:g})=>{const{href:I}=C;return this.options.isAllowedUri(I,{defaultValidate:e=>!!sd(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?g().setMark(this.name,C).setMeta("preventAutolink",!0).run():!1},toggleLink:C=>({chain:g})=>{const{href:I}=C||{};return I&&!this.options.isAllowedUri(I,{defaultValidate:e=>!!sd(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:g().toggleMark(this.name,C,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:C})=>C().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[nd({find:C=>{const g=[];if(C){const{protocols:I,defaultProtocol:e}=this.options,t=fF(C).filter(i=>i.isLink&&this.options.isAllowedUri(i.value,{defaultValidate:A=>!!sd(A,I),protocols:I,defaultProtocol:e}));t.length&&t.forEach(i=>g.push({text:i.value,data:{href:i.href},index:i.start}))}return g},type:this.type,getAttributes:C=>{var g;return{href:(g=C.data)==null?void 0:g.href}}})]},addProseMirrorPlugins(){const C=[],{protocols:g,defaultProtocol:I}=this.options;return this.options.autolink&&C.push(D8g({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:t=>!!sd(t,g),protocols:g,defaultProtocol:I}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&C.push(S8g({type:this.type,editor:this.editor,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&C.push(K8g({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),C}}),k8g=XF,F8g=Object.defineProperty,z8g=(C,g)=>{for(var I in g)F8g(C,I,{get:g[I],enumerable:!0})},J8g="listItem",HF="textStyle",DF=/^\s*([-+*])\s$/,SF=Jt.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:C}){return["ul",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{toggleBulletList:()=>({commands:C,chain:g})=>this.options.keepAttributes?g().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(J8g,this.editor.getAttributes(HF)).run():C.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let C=xr({find:DF,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(C=xr({find:DF,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(HF),editor:this.editor})),[C]}}),KF=Jt.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:C}){return["li",HC(this.options.HTMLAttributes,C),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)}}}),L8g={};z8g(L8g,{findListItemPos:()=>v0,getNextListDepth:()=>tM,handleBackspace:()=>iM,handleDelete:()=>AM,hasListBefore:()=>kF,hasListItemAfter:()=>T8g,hasListItemBefore:()=>FF,listItemHasSubList:()=>zF,nextListIsDeeper:()=>JF,nextListIsHigher:()=>LF});var v0=(C,g)=>{const{$from:I}=g.selection,e=OC(C,g.schema);let t=null,i=I.depth,A=I.pos,n=null;for(;i>0&&n===null;)t=I.node(i),t.type===e?n=i:(i-=1,A-=1);return n===null?null:{$pos:g.doc.resolve(A),depth:n}},tM=(C,g)=>{const I=v0(C,g);if(!I)return!1;const[,e]=aPg(g,C,I.$pos.pos+4);return e},kF=(C,g,I)=>{const{$anchor:e}=C.selection,t=Math.max(0,e.pos-2),i=C.doc.resolve(t).node();return!(!i||!I.includes(i.type.name))},FF=(C,g)=>{var I;const{$anchor:e}=g.selection,t=g.doc.resolve(e.pos-2);return!(t.index()===0||((I=t.nodeBefore)==null?void 0:I.type.name)!==C)},zF=(C,g,I)=>{if(!I)return!1;const e=OC(C,g.schema);let t=!1;return I.descendants(i=>{i.type===e&&(t=!0)}),t},iM=(C,g,I)=>{if(C.commands.undoInputRule())return!0;if(C.state.selection.from!==C.state.selection.to)return!1;if(!eo(C.state,g)&&kF(C.state,g,I)){const{$anchor:n}=C.state.selection,l=C.state.doc.resolve(n.before()-1),o=[];l.node().descendants((m,u)=>{m.type.name===g&&o.push({node:m,pos:u})});const a=o.at(-1);if(!a)return!1;const d=C.state.doc.resolve(l.start()+a.pos+1);return C.chain().cut({from:n.start()-1,to:n.end()+1},d.end()).joinForward().run()}if(!eo(C.state,g)||!mPg(C.state))return!1;const e=v0(g,C.state);if(!e)return!1;const i=C.state.doc.resolve(e.$pos.pos-2).node(e.depth),A=zF(g,C.state,i);return FF(g,C.state)&&!A?C.commands.joinItemBackward():C.chain().liftListItem(g).run()},JF=(C,g)=>{const I=tM(C,g),e=v0(C,g);return!e||!I?!1:I>e.depth},LF=(C,g)=>{const I=tM(C,g),e=v0(C,g);return!e||!I?!1:I<e.depth},AM=(C,g)=>{if(!eo(C.state,g)||!rPg(C.state,g))return!1;const{selection:I}=C.state,{$from:e,$to:t}=I;return!I.empty&&e.sameParent(t)?!1:JF(g,C.state)?C.chain().focus(C.state.selection.from+4).lift(g).joinBackward().run():LF(g,C.state)?C.chain().joinForward().joinBackward().run():C.commands.joinItemForward()},T8g=(C,g)=>{var I;const{$anchor:e}=g.selection,t=g.doc.resolve(e.pos-e.parentOffset-2);return!(t.index()===t.parent.childCount-1||((I=t.nodeAfter)==null?void 0:I.type.name)!==C)},TF=QC.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I})=>{C.state.schema.nodes[I]!==void 0&&AM(C,I)&&(g=!0)}),g},"Mod-Delete":({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I})=>{C.state.schema.nodes[I]!==void 0&&AM(C,I)&&(g=!0)}),g},Backspace:({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I,wrapperNames:e})=>{C.state.schema.nodes[I]!==void 0&&iM(C,I,e)&&(g=!0)}),g},"Mod-Backspace":({editor:C})=>{let g=!1;return this.options.listTypes.forEach(({itemName:I,wrapperNames:e})=>{C.state.schema.nodes[I]!==void 0&&iM(C,I,e)&&(g=!0)}),g}}}}),v8g="listItem",vF="textStyle",jF=/^(\d+)\.\s$/,xF=Jt.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:C=>C.hasAttribute("start")?parseInt(C.getAttribute("start")||"",10):1},type:{default:null,parseHTML:C=>C.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:C}){const{start:g,...I}=C;return g===1?["ol",HC(this.options.HTMLAttributes,I),0]:["ol",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{toggleOrderedList:()=>({commands:C,chain:g})=>this.options.keepAttributes?g().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(v8g,this.editor.getAttributes(vF)).run():C.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let C=xr({find:jF,type:this.type,getAttributes:g=>({start:+g[1]}),joinPredicate:(g,I)=>I.childCount+I.attrs.start===+g[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(C=xr({find:jF,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:g=>({start:+g[1],...this.editor.getAttributes(vF)}),joinPredicate:(g,I)=>I.childCount+I.attrs.start===+g[1],editor:this.editor})),[C]}}),j8g=/^\s*(\[([( |x])?\])\s$/,x8g=Jt.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:C=>{const g=C.getAttribute("data-checked");return g===""||g==="true"},renderHTML:C=>({"data-checked":C.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:C,HTMLAttributes:g}){return["li",HC(this.options.HTMLAttributes,g,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:C.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const C={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...C,Tab:()=>this.editor.commands.sinkListItem(this.name)}:C},addNodeView(){return({node:C,HTMLAttributes:g,getPos:I,editor:e})=>{const t=document.createElement("li"),i=document.createElement("label"),A=document.createElement("span"),n=document.createElement("input"),l=document.createElement("div"),o=a=>{var d,m;n.ariaLabel=((m=(d=this.options.a11y)==null?void 0:d.checkboxLabel)==null?void 0:m.call(d,a,n.checked))||`Task item checkbox for ${a.textContent||"empty task item"}`};return o(C),i.contentEditable="false",n.type="checkbox",n.addEventListener("mousedown",a=>a.preventDefault()),n.addEventListener("change",a=>{if(!e.isEditable&&!this.options.onReadOnlyChecked){n.checked=!n.checked;return}const{checked:d}=a.target;e.isEditable&&typeof I=="function"&&e.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:m})=>{const u=I();if(typeof u!="number")return!1;const h=m.doc.nodeAt(u);return m.setNodeMarkup(u,void 0,{...h==null?void 0:h.attrs,checked:d}),!0}).run(),!e.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(C,d)||(n.checked=!n.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([a,d])=>{t.setAttribute(a,d)}),t.dataset.checked=C.attrs.checked,n.checked=C.attrs.checked,i.append(n,A),t.append(i,l),Object.entries(g).forEach(([a,d])=>{t.setAttribute(a,d)}),{dom:t,contentDOM:l,update:a=>a.type!==this.type?!1:(t.dataset.checked=a.attrs.checked,n.checked=a.attrs.checked,o(a),!0)}}},addInputRules(){return[xr({find:j8g,type:this.type,getAttributes:C=>({checked:C[C.length-1]==="x"})})]}}),O8g=Jt.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:C}){return["ul",HC(this.options.HTMLAttributes,C,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:C})=>C.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});QC.create({name:"listKit",addExtensions(){const C=[];return this.options.bulletList!==!1&&C.push(SF.configure(this.options.bulletList)),this.options.listItem!==!1&&C.push(KF.configure(this.options.listItem)),this.options.listKeymap!==!1&&C.push(TF.configure(this.options.listKeymap)),this.options.orderedList!==!1&&C.push(xF.configure(this.options.orderedList)),this.options.taskItem!==!1&&C.push(x8g.configure(this.options.taskItem)),this.options.taskList!==!1&&C.push(O8g.configure(this.options.taskList)),C}});var Q8g=Jt.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:C}){return["p",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{setParagraph:()=>({commands:C})=>C.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),U8g=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,E8g=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,P8g=Ad.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:C=>C.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:C}){return["s",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{setStrike:()=>({commands:C})=>C.setMark(this.name),toggleStrike:()=>({commands:C})=>C.toggleMark(this.name),unsetStrike:()=>({commands:C})=>C.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[jr({find:U8g,type:this.type})]},addPasteRules(){return[nd({find:E8g,type:this.type})]}}),_8g=Jt.create({name:"text",group:"inline"}),$8g=Ad.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:C=>C.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:C}){return["u",HC(this.options.HTMLAttributes,C),0]},addCommands(){return{setUnderline:()=>({commands:C})=>C.setMark(this.name),toggleUnderline:()=>({commands:C})=>C.toggleMark(this.name),unsetUnderline:()=>({commands:C})=>C.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function q8g(C={}){return new pC({view(g){return new g_g(g,C)}})}class g_g{constructor(g,I){var e;this.editorView=g,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(e=I.width)!==null&&e!==void 0?e:1,this.color=I.color===!1?void 0:I.color||"black",this.class=I.class,this.handlers=["dragover","dragend","drop","dragleave"].map(t=>{let i=A=>{this[t](A)};return g.dom.addEventListener(t,i),{name:t,handler:i}})}destroy(){this.handlers.forEach(({name:g,handler:I})=>this.editorView.dom.removeEventListener(g,I))}update(g,I){this.cursorPos!=null&&I.doc!=g.state.doc&&(this.cursorPos>g.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(g){g!=this.cursorPos&&(this.cursorPos=g,g==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let g=this.editorView.state.doc.resolve(this.cursorPos),I=!g.parent.inlineContent,e,t=this.editorView.dom,i=t.getBoundingClientRect(),A=i.width/t.offsetWidth,n=i.height/t.offsetHeight;if(I){let d=g.nodeBefore,m=g.nodeAfter;if(d||m){let u=this.editorView.nodeDOM(this.cursorPos-(d?d.nodeSize:0));if(u){let h=u.getBoundingClientRect(),Z=d?h.bottom:h.top;d&&m&&(Z=(Z+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let G=this.width/2*n;e={left:h.left,right:h.right,top:Z-G,bottom:Z+G}}}}if(!e){let d=this.editorView.coordsAtPos(this.cursorPos),m=this.width/2*A;e={left:d.left-m,right:d.left+m,top:d.top,bottom:d.bottom}}let l=this.editorView.dom.offsetParent;this.element||(this.element=l.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",I),this.element.classList.toggle("prosemirror-dropcursor-inline",!I);let o,a;if(!l||l==document.body&&getComputedStyle(l).position=="static")o=-pageXOffset,a=-pageYOffset;else{let d=l.getBoundingClientRect(),m=d.width/l.offsetWidth,u=d.height/l.offsetHeight;o=d.left-l.scrollLeft*m,a=d.top-l.scrollTop*u}this.element.style.left=(e.left-o)/A+"px",this.element.style.top=(e.top-a)/n+"px",this.element.style.width=(e.right-e.left)/A+"px",this.element.style.height=(e.bottom-e.top)/n+"px"}scheduleRemoval(g){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),g)}dragover(g){if(!this.editorView.editable)return;let I=this.editorView.posAtCoords({left:g.clientX,top:g.clientY}),e=I&&I.inside>=0&&this.editorView.state.doc.nodeAt(I.inside),t=e&&e.type.spec.disableDropCursor,i=typeof t=="function"?t(this.editorView,I,g):t;if(I&&!i){let A=I.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let n=qK(this.editorView.state.doc,A,this.editorView.dragging.slice);n!=null&&(A=n)}this.setCursor(A),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(g){this.editorView.dom.contains(g.relatedTarget)||this.setCursor(null)}}class YC extends tI{constructor(g){super(g,g)}map(g,I){let e=g.resolve(I.map(this.head));return YC.valid(e)?new YC(e):tI.near(e)}content(){return yg.empty}eq(g){return g instanceof YC&&g.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(g,I){if(typeof I.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new YC(g.resolve(I.pos))}getBookmark(){return new nM(this.anchor)}static valid(g){let I=g.parent;if(I.isTextblock||!I_g(g)||!C_g(g))return!1;let e=I.type.spec.allowGapCursor;if(e!=null)return e;let t=I.contentMatchAt(g.index()).defaultType;return t&&t.isTextblock}static findGapCursorFrom(g,I,e=!1){g:for(;;){if(!e&&YC.valid(g))return g;let t=g.pos,i=null;for(let A=g.depth;;A--){let n=g.node(A);if(I>0?g.indexAfter(A)<n.childCount:g.index(A)>0){i=n.child(I>0?g.indexAfter(A):g.index(A)-1);break}else if(A==0)return null;t+=I;let l=g.doc.resolve(t);if(YC.valid(l))return l}for(;;){let A=I>0?i.firstChild:i.lastChild;if(!A){if(i.isAtom&&!i.isText&&!Jg.isSelectable(i)){g=g.doc.resolve(t+i.nodeSize*I),e=!1;continue g}break}i=A,t+=I;let n=g.doc.resolve(t);if(YC.valid(n))return n}return null}}}YC.prototype.visible=!1,YC.findFrom=YC.findGapCursorFrom,tI.jsonID("gapcursor",YC);class nM{constructor(g){this.pos=g}map(g){return new nM(g.map(this.pos))}resolve(g){let I=g.resolve(this.pos);return YC.valid(I)?new YC(I):tI.near(I)}}function I_g(C){for(let g=C.depth;g>=0;g--){let I=C.index(g),e=C.node(g);if(I==0){if(e.type.spec.isolating)return!0;continue}for(let t=e.child(I-1);;t=t.lastChild){if(t.childCount==0&&!t.inlineContent||t.isAtom||t.type.spec.isolating)return!0;if(t.inlineContent)return!1}}return!0}function C_g(C){for(let g=C.depth;g>=0;g--){let I=C.indexAfter(g),e=C.node(g);if(I==e.childCount){if(e.type.spec.isolating)return!0;continue}for(let t=e.child(I);;t=t.firstChild){if(t.childCount==0&&!t.inlineContent||t.isAtom||t.type.spec.isolating)return!0;if(t.inlineContent)return!1}}return!0}function e_g(){return new pC({props:{decorations:n_g,createSelectionBetween(C,g,I){return g.pos==I.pos&&YC.valid(I)?new YC(I):null},handleClick:i_g,handleKeyDown:t_g,handleDOMEvents:{beforeinput:A_g}}})}const t_g=Y3({ArrowLeft:gp("horiz",-1),ArrowRight:gp("horiz",1),ArrowUp:gp("vert",-1),ArrowDown:gp("vert",1)});function gp(C,g){const I=C=="vert"?g>0?"down":"up":g>0?"right":"left";return function(e,t,i){let A=e.selection,n=g>0?A.$to:A.$from,l=A.empty;if(A instanceof xg){if(!i.endOfTextblock(I)||n.depth==0)return!1;l=!1,n=e.doc.resolve(g>0?n.after():n.before())}let o=YC.findGapCursorFrom(n,g,l);return o?(t&&t(e.tr.setSelection(new YC(o))),!0):!1}}function i_g(C,g,I){if(!C||!C.editable)return!1;let e=C.state.doc.resolve(g);if(!YC.valid(e))return!1;let t=C.posAtCoords({left:I.clientX,top:I.clientY});return t&&t.inside>-1&&Jg.isSelectable(C.state.doc.nodeAt(t.inside))?!1:(C.dispatch(C.state.tr.setSelection(new YC(e))),!0)}function A_g(C,g){if(g.inputType!="insertCompositionText"||!(C.state.selection instanceof YC))return!1;let{$from:I}=C.state.selection,e=I.parent.contentMatchAt(I.index()).findWrapping(C.state.schema.nodes.text);if(!e)return!1;let t=dg.empty;for(let A=e.length-1;A>=0;A--)t=dg.from(e[A].createAndFill(null,t));let i=C.state.tr.replace(I.pos,I.pos,new yg(t,0,0));return i.setSelection(xg.near(i.doc.resolve(I.pos+1))),C.dispatch(i),!1}function n_g(C){if(!(C.selection instanceof YC))return null;let g=document.createElement("div");return g.className="ProseMirror-gapcursor",bC.create(C.doc,[Gt.widget(C.selection.head,g,{key:"gapcursor"})])}var Ip=200,me=function(){};me.prototype.append=function(g){return g.length?(g=me.from(g),!this.length&&g||g.length<Ip&&this.leafAppend(g)||this.length<Ip&&g.leafPrepend(this)||this.appendInner(g)):this},me.prototype.prepend=function(g){return g.length?me.from(g).append(this):this},me.prototype.appendInner=function(g){return new l_g(this,g)},me.prototype.slice=function(g,I){return g===void 0&&(g=0),I===void 0&&(I=this.length),g>=I?me.empty:this.sliceInner(Math.max(0,g),Math.min(this.length,I))},me.prototype.get=function(g){if(!(g<0||g>=this.length))return this.getInner(g)},me.prototype.forEach=function(g,I,e){I===void 0&&(I=0),e===void 0&&(e=this.length),I<=e?this.forEachInner(g,I,e,0):this.forEachInvertedInner(g,I,e,0)},me.prototype.map=function(g,I,e){I===void 0&&(I=0),e===void 0&&(e=this.length);var t=[];return this.forEach(function(i,A){return t.push(g(i,A))},I,e),t},me.from=function(g){return g instanceof me?g:g&&g.length?new OF(g):me.empty};var OF=function(C){function g(e){C.call(this),this.values=e}C&&(g.__proto__=C),g.prototype=Object.create(C&&C.prototype),g.prototype.constructor=g;var I={length:{configurable:!0},depth:{configurable:!0}};return g.prototype.flatten=function(){return this.values},g.prototype.sliceInner=function(t,i){return t==0&&i==this.length?this:new g(this.values.slice(t,i))},g.prototype.getInner=function(t){return this.values[t]},g.prototype.forEachInner=function(t,i,A,n){for(var l=i;l<A;l++)if(t(this.values[l],n+l)===!1)return!1},g.prototype.forEachInvertedInner=function(t,i,A,n){for(var l=i-1;l>=A;l--)if(t(this.values[l],n+l)===!1)return!1},g.prototype.leafAppend=function(t){if(this.length+t.length<=Ip)return new g(this.values.concat(t.flatten()))},g.prototype.leafPrepend=function(t){if(this.length+t.length<=Ip)return new g(t.flatten().concat(this.values))},I.length.get=function(){return this.values.length},I.depth.get=function(){return 0},Object.defineProperties(g.prototype,I),g}(me);me.empty=new OF([]);var l_g=function(C){function g(I,e){C.call(this),this.left=I,this.right=e,this.length=I.length+e.length,this.depth=Math.max(I.depth,e.depth)+1}return C&&(g.__proto__=C),g.prototype=Object.create(C&&C.prototype),g.prototype.constructor=g,g.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},g.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},g.prototype.forEachInner=function(e,t,i,A){var n=this.left.length;if(t<n&&this.left.forEachInner(e,t,Math.min(i,n),A)===!1||i>n&&this.right.forEachInner(e,Math.max(t-n,0),Math.min(this.length,i)-n,A+n)===!1)return!1},g.prototype.forEachInvertedInner=function(e,t,i,A){var n=this.left.length;if(t>n&&this.right.forEachInvertedInner(e,t-n,Math.max(i,n)-n,A+n)===!1||i<n&&this.left.forEachInvertedInner(e,Math.min(t,n),i,A)===!1)return!1},g.prototype.sliceInner=function(e,t){if(e==0&&t==this.length)return this;var i=this.left.length;return t<=i?this.left.slice(e,t):e>=i?this.right.slice(e-i,t-i):this.left.slice(e,i).append(this.right.slice(0,t-i))},g.prototype.leafAppend=function(e){var t=this.right.leafAppend(e);if(t)return new g(this.left,t)},g.prototype.leafPrepend=function(e){var t=this.left.leafPrepend(e);if(t)return new g(t,this.right)},g.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new g(this.left,new g(this.right,e)):new g(this,e)},g}(me);const s_g=500;class DA{constructor(g,I){this.items=g,this.eventCount=I}popEvent(g,I){if(this.eventCount==0)return null;let e=this.items.length;for(;;e--)if(this.items.get(e-1).selection){--e;break}let t,i;I&&(t=this.remapping(e,this.items.length),i=t.maps.length);let A=g.tr,n,l,o=[],a=[];return this.items.forEach((d,m)=>{if(!d.step){t||(t=this.remapping(e,m+1),i=t.maps.length),i--,a.push(d);return}if(t){a.push(new Vn(d.map));let u=d.step.map(t.slice(i)),h;u&&A.maybeStep(u).doc&&(h=A.mapping.maps[A.mapping.maps.length-1],o.push(new Vn(h,void 0,void 0,o.length+a.length))),i--,h&&t.appendMap(h,i)}else A.maybeStep(d.step);if(d.selection)return n=t?d.selection.map(t.slice(i)):d.selection,l=new DA(this.items.slice(0,e).append(a.reverse().concat(o)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:A,selection:n}}addTransform(g,I,e,t){let i=[],A=this.eventCount,n=this.items,l=!t&&n.length?n.get(n.length-1):null;for(let a=0;a<g.steps.length;a++){let d=g.steps[a].invert(g.docs[a]),m=new Vn(g.mapping.maps[a],d,I),u;(u=l&&l.merge(m))&&(m=u,a?i.pop():n=n.slice(0,n.length-1)),i.push(m),I&&(A++,I=void 0),t||(l=m)}let o=A-e.depth;return o>a_g&&(n=o_g(n,o),A-=o),new DA(n.append(i),A)}remapping(g,I){let e=new h0;return this.items.forEach((t,i)=>{let A=t.mirrorOffset!=null&&i-t.mirrorOffset>=g?e.maps.length-t.mirrorOffset:void 0;e.appendMap(t.map,A)},g,I),e}addMaps(g){return this.eventCount==0?this:new DA(this.items.append(g.map(I=>new Vn(I))),this.eventCount)}rebased(g,I){if(!this.eventCount)return this;let e=[],t=Math.max(0,this.items.length-I),i=g.mapping,A=g.steps.length,n=this.eventCount;this.items.forEach(m=>{m.selection&&n--},t);let l=I;this.items.forEach(m=>{let u=i.getMirror(--l);if(u==null)return;A=Math.min(A,u);let h=i.maps[u];if(m.step){let Z=g.steps[u].invert(g.docs[u]),G=m.selection&&m.selection.map(i.slice(l+1,u));G&&n++,e.push(new Vn(h,Z,G))}else e.push(new Vn(h))},t);let o=[];for(let m=I;m<A;m++)o.push(new Vn(i.maps[m]));let a=this.items.slice(0,t).append(o).append(e),d=new DA(a,n);return d.emptyItemCount()>s_g&&(d=d.compress(this.items.length-e.length)),d}emptyItemCount(){let g=0;return this.items.forEach(I=>{I.step||g++}),g}compress(g=this.items.length){let I=this.remapping(0,g),e=I.maps.length,t=[],i=0;return this.items.forEach((A,n)=>{if(n>=g)t.push(A),A.selection&&i++;else if(A.step){let l=A.step.map(I.slice(e)),o=l&&l.getMap();if(e--,o&&I.appendMap(o,e),l){let a=A.selection&&A.selection.map(I.slice(e));a&&i++;let d=new Vn(o.invert(),l,a),m,u=t.length-1;(m=t.length&&t[u].merge(d))?t[u]=m:t.push(d)}}else A.map&&e--},this.items.length,0),new DA(me.from(t.reverse()),i)}}DA.empty=new DA(me.empty,0);function o_g(C,g){let I;return C.forEach((e,t)=>{if(e.selection&&g--==0)return I=t,!1}),C.slice(I)}class Vn{constructor(g,I,e,t){this.map=g,this.step=I,this.selection=e,this.mirrorOffset=t}merge(g){if(this.step&&g.step&&!g.selection){let I=g.step.merge(this.step);if(I)return new Vn(I.getMap().invert(),I,this.selection)}}}class no{constructor(g,I,e,t,i){this.done=g,this.undone=I,this.prevRanges=e,this.prevTime=t,this.prevComposition=i}}const a_g=20;function d_g(C,g,I,e){let t=I.getMeta(od),i;if(t)return t.historyState;I.getMeta(m_g)&&(C=new no(C.done,C.undone,null,0,-1));let A=I.getMeta("appendedTransaction");if(I.steps.length==0)return C;if(A&&A.getMeta(od))return A.getMeta(od).redo?new no(C.done.addTransform(I,void 0,e,Cp(g)),C.undone,QF(I.mapping.maps),C.prevTime,C.prevComposition):new no(C.done,C.undone.addTransform(I,void 0,e,Cp(g)),null,C.prevTime,C.prevComposition);if(I.getMeta("addToHistory")!==!1&&!(A&&A.getMeta("addToHistory")===!1)){let n=I.getMeta("composition"),l=C.prevTime==0||!A&&C.prevComposition!=n&&(C.prevTime<(I.time||0)-e.newGroupDelay||!c_g(I,C.prevRanges)),o=A?lM(C.prevRanges,I.mapping):QF(I.mapping.maps);return new no(C.done.addTransform(I,l?g.selection.getBookmark():void 0,e,Cp(g)),DA.empty,o,I.time,n??C.prevComposition)}else return(i=I.getMeta("rebased"))?new no(C.done.rebased(I,i),C.undone.rebased(I,i),lM(C.prevRanges,I.mapping),C.prevTime,C.prevComposition):new no(C.done.addMaps(I.mapping.maps),C.undone.addMaps(I.mapping.maps),lM(C.prevRanges,I.mapping),C.prevTime,C.prevComposition)}function c_g(C,g){if(!g)return!1;if(!C.docChanged)return!0;let I=!1;return C.mapping.maps[0].forEach((e,t)=>{for(let i=0;i<g.length;i+=2)e<=g[i+1]&&t>=g[i]&&(I=!0)}),I}function QF(C){let g=[];for(let I=C.length-1;I>=0&&g.length==0;I--)C[I].forEach((e,t,i,A)=>g.push(i,A));return g}function lM(C,g){if(!C)return null;let I=[];for(let e=0;e<C.length;e+=2){let t=g.map(C[e],1),i=g.map(C[e+1],-1);t<=i&&I.push(t,i)}return I}function r_g(C,g,I){let e=Cp(g),t=od.get(g).spec.config,i=(I?C.undone:C.done).popEvent(g,e);if(!i)return null;let A=i.selection.resolve(i.transform.doc),n=(I?C.done:C.undone).addTransform(i.transform,g.selection.getBookmark(),t,e),l=new no(I?n:i.remaining,I?i.remaining:n,null,0,-1);return i.transform.setSelection(A).setMeta(od,{redo:I,historyState:l})}let sM=!1,UF=null;function Cp(C){let g=C.plugins;if(UF!=g){sM=!1,UF=g;for(let I=0;I<g.length;I++)if(g[I].spec.historyPreserveItems){sM=!0;break}}return sM}const od=new re("history"),m_g=new re("closeHistory");function u_g(C={}){return C={depth:C.depth||100,newGroupDelay:C.newGroupDelay||500},new pC({key:od,state:{init(){return new no(DA.empty,DA.empty,null,0,-1)},apply(g,I,e){return d_g(I,e,g,C)}},config:C,props:{handleDOMEvents:{beforeinput(g,I){let e=I.inputType,t=e=="historyUndo"?PF:e=="historyRedo"?_F:null;return t?(I.preventDefault(),t(g.state,g.dispatch)):!1}}}})}function EF(C,g){return(I,e)=>{let t=od.getState(I);if(!t||(C?t.undone:t.done).eventCount==0)return!1;if(e){let i=r_g(t,I,C);i&&e(g?i.scrollIntoView():i)}return!0}}const PF=EF(!1,!0),_F=EF(!0,!0);QC.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:C=>C.length,wordCounter:C=>C.split(" ").filter(g=>g!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=C=>{const g=(C==null?void 0:C.node)||this.editor.state.doc;if(((C==null?void 0:C.mode)||this.options.mode)==="textSize"){const e=g.textBetween(0,g.content.size,void 0," ");return this.options.textCounter(e)}return g.nodeSize},this.storage.words=C=>{const g=(C==null?void 0:C.node)||this.editor.state.doc,I=g.textBetween(0,g.content.size," "," ");return this.options.wordCounter(I)}},addProseMirrorPlugins(){let C=!1;return[new pC({key:new re("characterCount"),appendTransaction:(g,I,e)=>{if(C)return;const t=this.options.limit;if(t==null||t===0){C=!0;return}const i=this.storage.characters({node:e.doc});if(i>t){const A=i-t,n=0,l=A;console.warn(`[CharacterCount] Initial content exceeded limit of ${t} characters. Content was automatically trimmed.`);const o=e.tr.deleteRange(n,l);return C=!0,o}C=!0},filterTransaction:(g,I)=>{const e=this.options.limit;if(!g.docChanged||e===0||e===null||e===void 0)return!0;const t=this.storage.characters({node:I.doc}),i=this.storage.characters({node:g.doc});if(i<=e||t>e&&i>e&&i<=t)return!0;if(t>e&&i>e&&i>t||!g.getMeta("paste"))return!1;const n=g.selection.$head.pos,l=i-e,o=n-l,a=n;return g.deleteRange(o,a),!(this.storage.characters({node:g.doc})>e)}})]}});var h_g=QC.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[q8g(this.options)]}});QC.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new pC({key:new re("focus"),props:{decorations:({doc:C,selection:g})=>{const{isEditable:I,isFocused:e}=this.editor,{anchor:t}=g,i=[];if(!I||!e)return bC.create(C,[]);let A=0;this.options.mode==="deepest"&&C.descendants((l,o)=>{if(l.isText)return;if(!(t>=o&&t<=o+l.nodeSize-1))return!1;A+=1});let n=0;return C.descendants((l,o)=>{if(l.isText||!(t>=o&&t<=o+l.nodeSize-1))return!1;if(n+=1,this.options.mode==="deepest"&&A-n>0||this.options.mode==="shallowest"&&n>1)return this.options.mode==="deepest";i.push(Gt.node(o,o+l.nodeSize,{class:this.options.className}))}),bC.create(C,i)}}})]}});var b_g=QC.create({name:"gapCursor",addProseMirrorPlugins(){return[e_g()]},extendNodeSchema(C){var g;const I={name:C.name,options:C.options,storage:C.storage};return{allowGapCursor:(g=HI(Fg(C,"allowGapCursor",I)))!=null?g:null}}}),Z_g=QC.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new pC({key:new re("placeholder"),props:{decorations:({doc:C,selection:g})=>{const I=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:e}=g,t=[];if(!I)return null;const i=this.editor.isEmpty;return C.descendants((A,n)=>{const l=e>=n&&e<=n+A.nodeSize,o=!A.isLeaf&&mB(A);if((l||!this.options.showOnlyCurrent)&&o){const a=[this.options.emptyNodeClass];i&&a.push(this.options.emptyEditorClass);const d=Gt.node(n,n+A.nodeSize,{class:a.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:A,pos:n,hasAnchor:l}):this.options.placeholder});t.push(d)}return this.options.includeChildren}),bC.create(C,t)}}})]}});QC.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:C,options:g}=this;return[new pC({key:new re("selection"),props:{decorations(I){return I.selection.empty||C.isFocused||!C.isEditable||_3(I.selection)||C.view.dragging?null:bC.create(I.doc,[Gt.inline(I.selection.from,I.selection.to,{class:g.className})])}}})]}});function $F({types:C,node:g}){return g&&Array.isArray(C)&&C.includes(g.type)||(g==null?void 0:g.type)===C}var G_g=QC.create({name:"trailingNode",addOptions(){return{node:"paragraph",notAfter:[]}},addProseMirrorPlugins(){const C=new re(this.name),g=Object.entries(this.editor.schema.nodes).map(([,I])=>I).filter(I=>(this.options.notAfter||[]).concat(this.options.node).includes(I.name));return[new pC({key:C,appendTransaction:(I,e,t)=>{const{doc:i,tr:A,schema:n}=t,l=C.getState(t),o=i.content.size,a=n.nodes[this.options.node];if(l)return A.insert(o,a.create())},state:{init:(I,e)=>{const t=e.tr.doc.lastChild;return!$F({node:t,types:g})},apply:(I,e)=>{if(!I.docChanged)return e;const t=I.doc.lastChild;return!$F({node:t,types:g})}}})]}}),w_g=QC.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:C,dispatch:g})=>PF(C,g),redo:()=>({state:C,dispatch:g})=>_F(C,g)}},addProseMirrorPlugins(){return[u_g(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()}}}),W_g=QC.create({name:"starterKit",addExtensions(){var C,g,I,e;const t=[];return this.options.bold!==!1&&t.push(_6g.configure(this.options.bold)),this.options.blockquote!==!1&&t.push(O6g.configure(this.options.blockquote)),this.options.bulletList!==!1&&t.push(SF.configure(this.options.bulletList)),this.options.code!==!1&&t.push(g8g.configure(this.options.code)),this.options.codeBlock!==!1&&t.push(e8g.configure(this.options.codeBlock)),this.options.document!==!1&&t.push(t8g.configure(this.options.document)),this.options.dropcursor!==!1&&t.push(h_g.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&t.push(b_g.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&t.push(i8g.configure(this.options.hardBreak)),this.options.heading!==!1&&t.push(A8g.configure(this.options.heading)),this.options.undoRedo!==!1&&t.push(w_g.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&t.push(n8g.configure(this.options.horizontalRule)),this.options.italic!==!1&&t.push(d8g.configure(this.options.italic)),this.options.listItem!==!1&&t.push(KF.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(TF.configure((C=this.options)==null?void 0:C.listKeymap)),this.options.link!==!1&&t.push(XF.configure((g=this.options)==null?void 0:g.link)),this.options.orderedList!==!1&&t.push(xF.configure(this.options.orderedList)),this.options.paragraph!==!1&&t.push(Q8g.configure(this.options.paragraph)),this.options.strike!==!1&&t.push(P8g.configure(this.options.strike)),this.options.text!==!1&&t.push(_8g.configure(this.options.text)),this.options.underline!==!1&&t.push($8g.configure((I=this.options)==null?void 0:I.underline)),this.options.trailingNode!==!1&&t.push(G_g.configure((e=this.options)==null?void 0:e.trailingNode)),t}}),B_g=W_g,p_g=Z_g;const qF="https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64",gz={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"},Iz="u",ep="n",tp="v",j0="r",y_g={[ep]:["grinning face","grinning"],[Iz]:"1f600",[j0]:"1f600"},ip="neutral",Y_g=[ip,"1f3fb","1f3fc","1f3fd","1f3fe","1f3ff"],V_g={placeholder:"Search emoji",skinTone:"Skin tone"},N_g=["light","dark","auto"];var M_g={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"}]},Cz=[{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 R_g=(C,g)=>g.some(I=>C instanceof I);let ez,tz;function f_g(){return ez||(ez=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function X_g(){return tz||(tz=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const iz=new WeakMap,oM=new WeakMap,Az=new WeakMap,aM=new WeakMap,dM=new WeakMap;function H_g(C){const g=new Promise((I,e)=>{const t=()=>{C.removeEventListener("success",i),C.removeEventListener("error",A)},i=()=>{I(lo(C.result)),t()},A=()=>{e(C.error),t()};C.addEventListener("success",i),C.addEventListener("error",A)});return g.then(I=>{I instanceof IDBCursor&&iz.set(I,C)}).catch(()=>{}),dM.set(g,C),g}function D_g(C){if(oM.has(C))return;const g=new Promise((I,e)=>{const t=()=>{C.removeEventListener("complete",i),C.removeEventListener("error",A),C.removeEventListener("abort",A)},i=()=>{I(),t()},A=()=>{e(C.error||new DOMException("AbortError","AbortError")),t()};C.addEventListener("complete",i),C.addEventListener("error",A),C.addEventListener("abort",A)});oM.set(C,g)}let cM={get(C,g,I){if(C instanceof IDBTransaction){if(g==="done")return oM.get(C);if(g==="objectStoreNames")return C.objectStoreNames||Az.get(C);if(g==="store")return I.objectStoreNames[1]?void 0:I.objectStore(I.objectStoreNames[0])}return lo(C[g])},set(C,g,I){return C[g]=I,!0},has(C,g){return C instanceof IDBTransaction&&(g==="done"||g==="store")?!0:g in C}};function S_g(C){cM=C(cM)}function K_g(C){return C===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(g,...I){const e=C.call(rM(this),g,...I);return Az.set(e,g.sort?g.sort():[g]),lo(e)}:X_g().includes(C)?function(...g){return C.apply(rM(this),g),lo(iz.get(this))}:function(...g){return lo(C.apply(rM(this),g))}}function k_g(C){return typeof C=="function"?K_g(C):(C instanceof IDBTransaction&&D_g(C),R_g(C,f_g())?new Proxy(C,cM):C)}function lo(C){if(C instanceof IDBRequest)return H_g(C);if(aM.has(C))return aM.get(C);const g=k_g(C);return g!==C&&(aM.set(C,g),dM.set(g,C)),g}const rM=C=>dM.get(C);function mM(C,g,{blocked:I,upgrade:e,blocking:t,terminated:i}={}){const A=indexedDB.open(C,g),n=lo(A);return e&&A.addEventListener("upgradeneeded",l=>{e(lo(A.result),l.oldVersion,l.newVersion,lo(A.transaction),l)}),I&&A.addEventListener("blocked",l=>I(l.oldVersion,l.newVersion,l)),n.then(l=>{i&&l.addEventListener("close",()=>i()),t&&l.addEventListener("versionchange",o=>t(o.oldVersion,o.newVersion,o))}).catch(()=>{}),n}const F_g=["get","getKey","getAll","getAllKeys","count"],z_g=["put","add","delete","clear"],uM=new Map;function nz(C,g){if(!(C instanceof IDBDatabase&&!(g in C)&&typeof g=="string"))return;if(uM.get(g))return uM.get(g);const I=g.replace(/FromIndex$/,""),e=g!==I,t=z_g.includes(I);if(!(I in(e?IDBIndex:IDBObjectStore).prototype)||!(t||F_g.includes(I)))return;const i=async function(A,...n){const l=this.transaction(A,t?"readwrite":"readonly");let o=l.store;return e&&(o=o.index(n.shift())),(await Promise.all([o[I](...n),t&&l.done]))[0]};return uM.set(g,i),i}S_g(C=>({...C,get:(g,I,e)=>nz(g,I)||C.get(g,I,e),has:(g,I)=>!!nz(g,I)||C.has(g,I)}));const hM="EMJ",Qr="emojis",bM=3;async function J_g(){(await mM(hM,bM,{upgrade(g,I){g.objectStoreNames.contains(Qr)||g.createObjectStore(Qr,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0})}})).close()}J_g();const L_g={native:!1,hideSearch:!0,hideGroupIcons:!1,hideGroupNames:!1,staticTexts:{},disabledGroups:[],groupNames:{},displayRecent:!1,additionalGroups:{},groupOrder:[],groupIcons:{}};async function T_g(){return await(await mM(hM,bM)).transaction(Qr,"readonly").objectStore(Qr).getAll()}function v_g(){const C=s.reactive({search:"",emoji:y_g,activeGroup:"",skinTone:ip,options:L_g,additionalGroups:{},recent:[],get emojis(){return{recent:this.recent,...this.options.additionalGroups,...M_g}},get disabled(){let d=Array.isArray(this.options.disabledGroups)?this.options.disabledGroups:[];return this.options.displayRecent||(d=["recent",...d]),d},get groups(){return Cz.filter(d=>!this.disabled.includes(d.key))},get orderedGroupKeys(){const d=[...this.options.groupOrder,...Object.keys(this.options.additionalGroups),...Cz.map(m=>m.key)];return[...new Set(d)].filter(m=>!this.disabled.includes(m))}});function g(){C.options.displayRecent&&e()}async function I(){var d;let m=await T_g();return Array.isArray(m)&&m.length?m=JSON.parse(((d=m[0])==null?void 0:d.value)||""):m=[],m}function e(){I().then(d=>{C.recent=d,o()})}const t=d=>{C.search=d},i=d=>{C.emoji=d},A=d=>{C.activeGroup=d},n=(d=ip)=>{C.skinTone=d},l=d=>{C.options=Object.assign({},C.options,d),g()};async function o(){(await mM(hM,bM)).transaction(Qr,"readwrite").objectStore(Qr).put({id:0,value:JSON.stringify(C.recent)})}const a=d=>{if(C.options.displayRecent!==!0)return;const m=C.recent.findIndex(h=>h.u===d.u);if(m>0&&C.recent.splice(m,1),m===0)return;const u={u:d.u,n:s.toRaw(d.n)};C.recent=[u,...C.recent],C.recent.length>24&&(C.recent.length=24),o()};return{state:s.readonly(C),updateSearch:t,updateEmoji:i,updateActiveGroup:A,updateSkinTone:n,updateOptions:l,updateSelect:a}}var Tt="top",Pi="bottom",_i="right",vt="left",ZM="auto",x0=[Tt,Pi,_i,vt],Ur="start",O0="end",j_g="clippingParents",lz="viewport",Q0="popper",x_g="reference",sz=x0.reduce(function(C,g){return C.concat([g+"-"+Ur,g+"-"+O0])},[]),oz=[].concat(x0,[ZM]).reduce(function(C,g){return C.concat([g,g+"-"+Ur,g+"-"+O0])},[]),O_g="beforeRead",Q_g="read",U_g="afterRead",E_g="beforeMain",P_g="main",__g="afterMain",$_g="beforeWrite",q_g="write",g$g="afterWrite",I$g=[O_g,Q_g,U_g,E_g,P_g,__g,$_g,q_g,g$g];function Nn(C){return C?(C.nodeName||"").toLowerCase():null}function SA(C){if(C==null)return window;if(C.toString()!=="[object Window]"){var g=C.ownerDocument;return g&&g.defaultView||window}return C}function Er(C){var g=SA(C).Element;return C instanceof g||C instanceof Element}function $i(C){var g=SA(C).HTMLElement;return C instanceof g||C instanceof HTMLElement}function az(C){if(typeof ShadowRoot>"u")return!1;var g=SA(C).ShadowRoot;return C instanceof g||C instanceof ShadowRoot}function C$g(C){var g=C.state;Object.keys(g.elements).forEach(function(I){var e=g.styles[I]||{},t=g.attributes[I]||{},i=g.elements[I];!$i(i)||!Nn(i)||(Object.assign(i.style,e),Object.keys(t).forEach(function(A){var n=t[A];n===!1?i.removeAttribute(A):i.setAttribute(A,n===!0?"":n)}))})}function e$g(C){var g=C.state,I={popper:{position:g.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(g.elements.popper.style,I.popper),g.styles=I,g.elements.arrow&&Object.assign(g.elements.arrow.style,I.arrow),function(){Object.keys(g.elements).forEach(function(e){var t=g.elements[e],i=g.attributes[e]||{},A=Object.keys(g.styles.hasOwnProperty(e)?g.styles[e]:I[e]),n=A.reduce(function(l,o){return l[o]="",l},{});!$i(t)||!Nn(t)||(Object.assign(t.style,n),Object.keys(i).forEach(function(l){t.removeAttribute(l)}))})}}var t$g={name:"applyStyles",enabled:!0,phase:"write",fn:C$g,effect:e$g,requires:["computeStyles"]};function Mn(C){return C.split("-")[0]}var ad=Math.max,Ap=Math.min,Pr=Math.round;function _r(C,g){g===void 0&&(g=!1);var I=C.getBoundingClientRect(),e=1,t=1;if($i(C)&&g){var i=C.offsetHeight,A=C.offsetWidth;A>0&&(e=Pr(I.width)/A||1),i>0&&(t=Pr(I.height)/i||1)}return{width:I.width/e,height:I.height/t,top:I.top/t,right:I.right/e,bottom:I.bottom/t,left:I.left/e,x:I.left/e,y:I.top/t}}function GM(C){var g=_r(C),I=C.offsetWidth,e=C.offsetHeight;return Math.abs(g.width-I)<=1&&(I=g.width),Math.abs(g.height-e)<=1&&(e=g.height),{x:C.offsetLeft,y:C.offsetTop,width:I,height:e}}function dz(C,g){var I=g.getRootNode&&g.getRootNode();if(C.contains(g))return!0;if(I&&az(I)){var e=g;do{if(e&&C.isSameNode(e))return!0;e=e.parentNode||e.host}while(e)}return!1}function Rn(C){return SA(C).getComputedStyle(C)}function i$g(C){return["table","td","th"].indexOf(Nn(C))>=0}function so(C){return((Er(C)?C.ownerDocument:C.document)||window.document).documentElement}function np(C){return Nn(C)==="html"?C:C.assignedSlot||C.parentNode||(az(C)?C.host:null)||so(C)}function cz(C){return!$i(C)||Rn(C).position==="fixed"?null:C.offsetParent}function A$g(C){var g=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,I=navigator.userAgent.indexOf("Trident")!==-1;if(I&&$i(C)){var e=Rn(C);if(e.position==="fixed")return null}for(var t=np(C);$i(t)&&["html","body"].indexOf(Nn(t))<0;){var i=Rn(t);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||g&&i.willChange==="filter"||g&&i.filter&&i.filter!=="none")return t;t=t.parentNode}return null}function U0(C){for(var g=SA(C),I=cz(C);I&&i$g(I)&&Rn(I).position==="static";)I=cz(I);return I&&(Nn(I)==="html"||Nn(I)==="body"&&Rn(I).position==="static")?g:I||A$g(C)||g}function wM(C){return["top","bottom"].indexOf(C)>=0?"x":"y"}function E0(C,g,I){return ad(C,Ap(g,I))}function n$g(C,g,I){var e=E0(C,g,I);return e>I?I:e}function rz(){return{top:0,right:0,bottom:0,left:0}}function mz(C){return Object.assign({},rz(),C)}function uz(C,g){return g.reduce(function(I,e){return I[e]=C,I},{})}var l$g=function(g,I){return g=typeof g=="function"?g(Object.assign({},I.rects,{placement:I.placement})):g,mz(typeof g!="number"?g:uz(g,x0))};function s$g(C){var g,I=C.state,e=C.name,t=C.options,i=I.elements.arrow,A=I.modifiersData.popperOffsets,n=Mn(I.placement),l=wM(n),o=[vt,_i].indexOf(n)>=0,a=o?"height":"width";if(!(!i||!A)){var d=l$g(t.padding,I),m=GM(i),u=l==="y"?Tt:vt,h=l==="y"?Pi:_i,Z=I.rects.reference[a]+I.rects.reference[l]-A[l]-I.rects.popper[a],G=A[l]-I.rects.reference[l],w=U0(i),B=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,p=Z/2-G/2,y=d[u],Y=B-m[a]-d[h],R=B/2-m[a]/2+p,M=E0(y,R,Y),K=l;I.modifiersData[e]=(g={},g[K]=M,g.centerOffset=M-R,g)}}function o$g(C){var g=C.state,I=C.options,e=I.element,t=e===void 0?"[data-popper-arrow]":e;t!=null&&(typeof t=="string"&&(t=g.elements.popper.querySelector(t),!t)||dz(g.elements.popper,t)&&(g.elements.arrow=t))}var a$g={name:"arrow",enabled:!0,phase:"main",fn:s$g,effect:o$g,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $r(C){return C.split("-")[1]}var d$g={top:"auto",right:"auto",bottom:"auto",left:"auto"};function c$g(C){var g=C.x,I=C.y,e=window,t=e.devicePixelRatio||1;return{x:Pr(g*t)/t||0,y:Pr(I*t)/t||0}}function hz(C){var g,I=C.popper,e=C.popperRect,t=C.placement,i=C.variation,A=C.offsets,n=C.position,l=C.gpuAcceleration,o=C.adaptive,a=C.roundOffsets,d=C.isFixed,m=a===!0?c$g(A):typeof a=="function"?a(A):A,u=m.x,h=u===void 0?0:u,Z=m.y,G=Z===void 0?0:Z,w=A.hasOwnProperty("x"),B=A.hasOwnProperty("y"),p=vt,y=Tt,Y=window;if(o){var R=U0(I),M="clientHeight",K="clientWidth";if(R===SA(I)&&(R=so(I),Rn(R).position!=="static"&&n==="absolute"&&(M="scrollHeight",K="scrollWidth")),R=R,t===Tt||(t===vt||t===_i)&&i===O0){y=Pi;var J=d&&Y.visualViewport?Y.visualViewport.height:R[M];G-=J-e.height,G*=l?1:-1}if(t===vt||(t===Tt||t===Pi)&&i===O0){p=_i;var X=d&&Y.visualViewport?Y.visualViewport.width:R[K];h-=X-e.width,h*=l?1:-1}}var D=Object.assign({position:n},o&&d$g);if(l){var z;return Object.assign({},D,(z={},z[y]=B?"0":"",z[p]=w?"0":"",z.transform=(Y.devicePixelRatio||1)<=1?"translate("+h+"px, "+G+"px)":"translate3d("+h+"px, "+G+"px, 0)",z))}return Object.assign({},D,(g={},g[y]=B?G+"px":"",g[p]=w?h+"px":"",g.transform="",g))}function r$g(C){var g=C.state,I=C.options,e=I.gpuAcceleration,t=e===void 0?!0:e,i=I.adaptive,A=i===void 0?!0:i,n=I.roundOffsets,l=n===void 0?!0:n,o={placement:Mn(g.placement),variation:$r(g.placement),popper:g.elements.popper,popperRect:g.rects.popper,gpuAcceleration:t,isFixed:g.options.strategy==="fixed"};g.modifiersData.popperOffsets!=null&&(g.styles.popper=Object.assign({},g.styles.popper,hz(Object.assign({},o,{offsets:g.modifiersData.popperOffsets,position:g.options.strategy,adaptive:A,roundOffsets:l})))),g.modifiersData.arrow!=null&&(g.styles.arrow=Object.assign({},g.styles.arrow,hz(Object.assign({},o,{offsets:g.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),g.attributes.popper=Object.assign({},g.attributes.popper,{"data-popper-placement":g.placement})}var m$g={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:r$g,data:{}},lp={passive:!0};function u$g(C){var g=C.state,I=C.instance,e=C.options,t=e.scroll,i=t===void 0?!0:t,A=e.resize,n=A===void 0?!0:A,l=SA(g.elements.popper),o=[].concat(g.scrollParents.reference,g.scrollParents.popper);return i&&o.forEach(function(a){a.addEventListener("scroll",I.update,lp)}),n&&l.addEventListener("resize",I.update,lp),function(){i&&o.forEach(function(a){a.removeEventListener("scroll",I.update,lp)}),n&&l.removeEventListener("resize",I.update,lp)}}var h$g={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:u$g,data:{}},b$g={left:"right",right:"left",bottom:"top",top:"bottom"};function sp(C){return C.replace(/left|right|bottom|top/g,function(g){return b$g[g]})}var Z$g={start:"end",end:"start"};function bz(C){return C.replace(/start|end/g,function(g){return Z$g[g]})}function WM(C){var g=SA(C),I=g.pageXOffset,e=g.pageYOffset;return{scrollLeft:I,scrollTop:e}}function BM(C){return _r(so(C)).left+WM(C).scrollLeft}function G$g(C){var g=SA(C),I=so(C),e=g.visualViewport,t=I.clientWidth,i=I.clientHeight,A=0,n=0;return e&&(t=e.width,i=e.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(A=e.offsetLeft,n=e.offsetTop)),{width:t,height:i,x:A+BM(C),y:n}}function w$g(C){var g,I=so(C),e=WM(C),t=(g=C.ownerDocument)==null?void 0:g.body,i=ad(I.scrollWidth,I.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),A=ad(I.scrollHeight,I.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),n=-e.scrollLeft+BM(C),l=-e.scrollTop;return Rn(t||I).direction==="rtl"&&(n+=ad(I.clientWidth,t?t.clientWidth:0)-i),{width:i,height:A,x:n,y:l}}function pM(C){var g=Rn(C),I=g.overflow,e=g.overflowX,t=g.overflowY;return/auto|scroll|overlay|hidden/.test(I+t+e)}function Zz(C){return["html","body","#document"].indexOf(Nn(C))>=0?C.ownerDocument.body:$i(C)&&pM(C)?C:Zz(np(C))}function P0(C,g){var I;g===void 0&&(g=[]);var e=Zz(C),t=e===((I=C.ownerDocument)==null?void 0:I.body),i=SA(e),A=t?[i].concat(i.visualViewport||[],pM(e)?e:[]):e,n=g.concat(A);return t?n:n.concat(P0(np(A)))}function yM(C){return Object.assign({},C,{left:C.x,top:C.y,right:C.x+C.width,bottom:C.y+C.height})}function W$g(C){var g=_r(C);return g.top=g.top+C.clientTop,g.left=g.left+C.clientLeft,g.bottom=g.top+C.clientHeight,g.right=g.left+C.clientWidth,g.width=C.clientWidth,g.height=C.clientHeight,g.x=g.left,g.y=g.top,g}function Gz(C,g){return g===lz?yM(G$g(C)):Er(g)?W$g(g):yM(w$g(so(C)))}function B$g(C){var g=P0(np(C)),I=["absolute","fixed"].indexOf(Rn(C).position)>=0,e=I&&$i(C)?U0(C):C;return Er(e)?g.filter(function(t){return Er(t)&&dz(t,e)&&Nn(t)!=="body"&&(I?Rn(t).position!=="static":!0)}):[]}function p$g(C,g,I){var e=g==="clippingParents"?B$g(C):[].concat(g),t=[].concat(e,[I]),i=t[0],A=t.reduce(function(n,l){var o=Gz(C,l);return n.top=ad(o.top,n.top),n.right=Ap(o.right,n.right),n.bottom=Ap(o.bottom,n.bottom),n.left=ad(o.left,n.left),n},Gz(C,i));return A.width=A.right-A.left,A.height=A.bottom-A.top,A.x=A.left,A.y=A.top,A}function wz(C){var g=C.reference,I=C.element,e=C.placement,t=e?Mn(e):null,i=e?$r(e):null,A=g.x+g.width/2-I.width/2,n=g.y+g.height/2-I.height/2,l;switch(t){case Tt:l={x:A,y:g.y-I.height};break;case Pi:l={x:A,y:g.y+g.height};break;case _i:l={x:g.x+g.width,y:n};break;case vt:l={x:g.x-I.width,y:n};break;default:l={x:g.x,y:g.y}}var o=t?wM(t):null;if(o!=null){var a=o==="y"?"height":"width";switch(i){case Ur:l[o]=l[o]-(g[a]/2-I[a]/2);break;case O0:l[o]=l[o]+(g[a]/2-I[a]/2);break}}return l}function _0(C,g){g===void 0&&(g={});var I=g,e=I.placement,t=e===void 0?C.placement:e,i=I.boundary,A=i===void 0?j_g:i,n=I.rootBoundary,l=n===void 0?lz:n,o=I.elementContext,a=o===void 0?Q0:o,d=I.altBoundary,m=d===void 0?!1:d,u=I.padding,h=u===void 0?0:u,Z=mz(typeof h!="number"?h:uz(h,x0)),G=a===Q0?x_g:Q0,w=C.rects.popper,B=C.elements[m?G:a],p=p$g(Er(B)?B:B.contextElement||so(C.elements.popper),A,l),y=_r(C.elements.reference),Y=wz({reference:y,element:w,strategy:"absolute",placement:t}),R=yM(Object.assign({},w,Y)),M=a===Q0?R:y,K={top:p.top-M.top+Z.top,bottom:M.bottom-p.bottom+Z.bottom,left:p.left-M.left+Z.left,right:M.right-p.right+Z.right},J=C.modifiersData.offset;if(a===Q0&&J){var X=J[t];Object.keys(K).forEach(function(D){var z=[_i,Pi].indexOf(D)>=0?1:-1,j=[Tt,Pi].indexOf(D)>=0?"y":"x";K[D]+=X[j]*z})}return K}function y$g(C,g){g===void 0&&(g={});var I=g,e=I.placement,t=I.boundary,i=I.rootBoundary,A=I.padding,n=I.flipVariations,l=I.allowedAutoPlacements,o=l===void 0?oz:l,a=$r(e),d=a?n?sz:sz.filter(function(h){return $r(h)===a}):x0,m=d.filter(function(h){return o.indexOf(h)>=0});m.length===0&&(m=d);var u=m.reduce(function(h,Z){return h[Z]=_0(C,{placement:Z,boundary:t,rootBoundary:i,padding:A})[Mn(Z)],h},{});return Object.keys(u).sort(function(h,Z){return u[h]-u[Z]})}function Y$g(C){if(Mn(C)===ZM)return[];var g=sp(C);return[bz(C),g,bz(g)]}function V$g(C){var g=C.state,I=C.options,e=C.name;if(!g.modifiersData[e]._skip){for(var t=I.mainAxis,i=t===void 0?!0:t,A=I.altAxis,n=A===void 0?!0:A,l=I.fallbackPlacements,o=I.padding,a=I.boundary,d=I.rootBoundary,m=I.altBoundary,u=I.flipVariations,h=u===void 0?!0:u,Z=I.allowedAutoPlacements,G=g.options.placement,w=Mn(G),B=w===G,p=l||(B||!h?[sp(G)]:Y$g(G)),y=[G].concat(p).reduce(function(pg,bg){return pg.concat(Mn(bg)===ZM?y$g(g,{placement:bg,boundary:a,rootBoundary:d,padding:o,flipVariations:h,allowedAutoPlacements:Z}):bg)},[]),Y=g.rects.reference,R=g.rects.popper,M=new Map,K=!0,J=y[0],X=0;X<y.length;X++){var D=y[X],z=Mn(D),j=$r(D)===Ur,q=[Tt,Pi].indexOf(z)>=0,gg=q?"width":"height",Q=_0(g,{placement:D,boundary:a,rootBoundary:d,altBoundary:m,padding:o}),_=q?j?_i:vt:j?Pi:Tt;Y[gg]>R[gg]&&(_=sp(_));var og=sp(_),eg=[];if(i&&eg.push(Q[z]<=0),n&&eg.push(Q[_]<=0,Q[og]<=0),eg.every(function(pg){return pg})){J=D,K=!1;break}M.set(D,eg)}if(K)for(var mg=h?3:1,Yg=function(bg){var oI=y.find(function(AI){var nC=M.get(AI);if(nC)return nC.slice(0,bg).every(function(KC){return KC})});if(oI)return J=oI,"break"},Zg=mg;Zg>0;Zg--){var ag=Yg(Zg);if(ag==="break")break}g.placement!==J&&(g.modifiersData[e]._skip=!0,g.placement=J,g.reset=!0)}}var N$g={name:"flip",enabled:!0,phase:"main",fn:V$g,requiresIfExists:["offset"],data:{_skip:!1}};function Wz(C,g,I){return I===void 0&&(I={x:0,y:0}),{top:C.top-g.height-I.y,right:C.right-g.width+I.x,bottom:C.bottom-g.height+I.y,left:C.left-g.width-I.x}}function Bz(C){return[Tt,_i,Pi,vt].some(function(g){return C[g]>=0})}function M$g(C){var g=C.state,I=C.name,e=g.rects.reference,t=g.rects.popper,i=g.modifiersData.preventOverflow,A=_0(g,{elementContext:"reference"}),n=_0(g,{altBoundary:!0}),l=Wz(A,e),o=Wz(n,t,i),a=Bz(l),d=Bz(o);g.modifiersData[I]={referenceClippingOffsets:l,popperEscapeOffsets:o,isReferenceHidden:a,hasPopperEscaped:d},g.attributes.popper=Object.assign({},g.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":d})}var R$g={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:M$g};function f$g(C,g,I){var e=Mn(C),t=[vt,Tt].indexOf(e)>=0?-1:1,i=typeof I=="function"?I(Object.assign({},g,{placement:C})):I,A=i[0],n=i[1];return A=A||0,n=(n||0)*t,[vt,_i].indexOf(e)>=0?{x:n,y:A}:{x:A,y:n}}function X$g(C){var g=C.state,I=C.options,e=C.name,t=I.offset,i=t===void 0?[0,0]:t,A=oz.reduce(function(a,d){return a[d]=f$g(d,g.rects,i),a},{}),n=A[g.placement],l=n.x,o=n.y;g.modifiersData.popperOffsets!=null&&(g.modifiersData.popperOffsets.x+=l,g.modifiersData.popperOffsets.y+=o),g.modifiersData[e]=A}var H$g={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:X$g};function D$g(C){var g=C.state,I=C.name;g.modifiersData[I]=wz({reference:g.rects.reference,element:g.rects.popper,strategy:"absolute",placement:g.placement})}var S$g={name:"popperOffsets",enabled:!0,phase:"read",fn:D$g,data:{}};function K$g(C){return C==="x"?"y":"x"}function k$g(C){var g=C.state,I=C.options,e=C.name,t=I.mainAxis,i=t===void 0?!0:t,A=I.altAxis,n=A===void 0?!1:A,l=I.boundary,o=I.rootBoundary,a=I.altBoundary,d=I.padding,m=I.tether,u=m===void 0?!0:m,h=I.tetherOffset,Z=h===void 0?0:h,G=_0(g,{boundary:l,rootBoundary:o,padding:d,altBoundary:a}),w=Mn(g.placement),B=$r(g.placement),p=!B,y=wM(w),Y=K$g(y),R=g.modifiersData.popperOffsets,M=g.rects.reference,K=g.rects.popper,J=typeof Z=="function"?Z(Object.assign({},g.rects,{placement:g.placement})):Z,X=typeof J=="number"?{mainAxis:J,altAxis:J}:Object.assign({mainAxis:0,altAxis:0},J),D=g.modifiersData.offset?g.modifiersData.offset[g.placement]:null,z={x:0,y:0};if(R){if(i){var j,q=y==="y"?Tt:vt,gg=y==="y"?Pi:_i,Q=y==="y"?"height":"width",_=R[y],og=_+G[q],eg=_-G[gg],mg=u?-K[Q]/2:0,Yg=B===Ur?M[Q]:K[Q],Zg=B===Ur?-K[Q]:-M[Q],ag=g.elements.arrow,pg=u&&ag?GM(ag):{width:0,height:0},bg=g.modifiersData["arrow#persistent"]?g.modifiersData["arrow#persistent"].padding:rz(),oI=bg[q],AI=bg[gg],nC=E0(0,M[Q],pg[Q]),KC=p?M[Q]/2-mg-nC-oI-X.mainAxis:Yg-nC-oI-X.mainAxis,eC=p?-M[Q]/2+mg+nC+AI+X.mainAxis:Zg+nC+AI+X.mainAxis,WI=g.elements.arrow&&U0(g.elements.arrow),ie=WI?y==="y"?WI.clientTop||0:WI.clientLeft||0:0,ke=(j=D==null?void 0:D[y])!=null?j:0,kC=_+KC-ke-ie,Ri=_+eC-ke,Nu=E0(u?Ap(og,kC):og,_,u?ad(eg,Ri):eg);R[y]=Nu,z[y]=Nu-_}if(n){var Fe,as=y==="x"?Tt:vt,TZ=y==="x"?Pi:_i,Vt=R[Y],Ae=Y==="y"?"height":"width",_A=Vt+G[as],$A=Vt-G[TZ],ds=[Tt,vt].indexOf(w)!==-1,qA=(Fe=D==null?void 0:D[Y])!=null?Fe:0,cA=ds?_A:Vt-M[Ae]-K[Ae]-qA+X.altAxis,gl=ds?Vt+M[Ae]+K[Ae]-qA-X.altAxis:$A,gn=u&&ds?n$g(cA,Vt,gl):E0(u?cA:_A,Vt,u?gl:$A);R[Y]=gn,z[Y]=gn-Vt}g.modifiersData[e]=z}}var F$g={name:"preventOverflow",enabled:!0,phase:"main",fn:k$g,requiresIfExists:["offset"]};function z$g(C){return{scrollLeft:C.scrollLeft,scrollTop:C.scrollTop}}function J$g(C){return C===SA(C)||!$i(C)?WM(C):z$g(C)}function L$g(C){var g=C.getBoundingClientRect(),I=Pr(g.width)/C.offsetWidth||1,e=Pr(g.height)/C.offsetHeight||1;return I!==1||e!==1}function T$g(C,g,I){I===void 0&&(I=!1);var e=$i(g),t=$i(g)&&L$g(g),i=so(g),A=_r(C,t),n={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(e||!e&&!I)&&((Nn(g)!=="body"||pM(i))&&(n=J$g(g)),$i(g)?(l=_r(g,!0),l.x+=g.clientLeft,l.y+=g.clientTop):i&&(l.x=BM(i))),{x:A.left+n.scrollLeft-l.x,y:A.top+n.scrollTop-l.y,width:A.width,height:A.height}}function v$g(C){var g=new Map,I=new Set,e=[];C.forEach(function(i){g.set(i.name,i)});function t(i){I.add(i.name);var A=[].concat(i.requires||[],i.requiresIfExists||[]);A.forEach(function(n){if(!I.has(n)){var l=g.get(n);l&&t(l)}}),e.push(i)}return C.forEach(function(i){I.has(i.name)||t(i)}),e}function j$g(C){var g=v$g(C);return I$g.reduce(function(I,e){return I.concat(g.filter(function(t){return t.phase===e}))},[])}function x$g(C){var g;return function(){return g||(g=new Promise(function(I){Promise.resolve().then(function(){g=void 0,I(C())})})),g}}function O$g(C){var g=C.reduce(function(I,e){var t=I[e.name];return I[e.name]=t?Object.assign({},t,e,{options:Object.assign({},t.options,e.options),data:Object.assign({},t.data,e.data)}):e,I},{});return Object.keys(g).map(function(I){return g[I]})}var pz={placement:"bottom",modifiers:[],strategy:"absolute"};function yz(){for(var C=arguments.length,g=new Array(C),I=0;I<C;I++)g[I]=arguments[I];return!g.some(function(e){return!(e&&typeof e.getBoundingClientRect=="function")})}function Q$g(C){C===void 0&&(C={});var g=C,I=g.defaultModifiers,e=I===void 0?[]:I,t=g.defaultOptions,i=t===void 0?pz:t;return function(n,l,o){o===void 0&&(o=i);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},pz,i),modifiersData:{},elements:{reference:n,popper:l},attributes:{},styles:{}},d=[],m=!1,u={state:a,setOptions:function(w){var B=typeof w=="function"?w(a.options):w;Z(),a.options=Object.assign({},i,a.options,B),a.scrollParents={reference:Er(n)?P0(n):n.contextElement?P0(n.contextElement):[],popper:P0(l)};var p=j$g(O$g([].concat(e,a.options.modifiers)));return a.orderedModifiers=p.filter(function(y){return y.enabled}),h(),u.update()},forceUpdate:function(){if(!m){var w=a.elements,B=w.reference,p=w.popper;if(yz(B,p)){a.rects={reference:T$g(B,U0(p),a.options.strategy==="fixed"),popper:GM(p)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(X){return a.modifiersData[X.name]=Object.assign({},X.data)});for(var y=0;y<a.orderedModifiers.length;y++){if(a.reset===!0){a.reset=!1,y=-1;continue}var Y=a.orderedModifiers[y],R=Y.fn,M=Y.options,K=M===void 0?{}:M,J=Y.name;typeof R=="function"&&(a=R({state:a,options:K,name:J,instance:u})||a)}}}},update:x$g(function(){return new Promise(function(G){u.forceUpdate(),G(a)})}),destroy:function(){Z(),m=!0}};if(!yz(n,l))return u;u.setOptions(o).then(function(G){!m&&o.onFirstUpdate&&o.onFirstUpdate(G)});function h(){a.orderedModifiers.forEach(function(G){var w=G.name,B=G.options,p=B===void 0?{}:B,y=G.effect;if(typeof y=="function"){var Y=y({state:a,name:w,instance:u,options:p}),R=function(){};d.push(Y||R)}})}function Z(){d.forEach(function(G){return G()}),d=[]}return u}}var U$g=[h$g,S$g,m$g,t$g,H$g,N$g,F$g,a$g,R$g],E$g=Q$g({defaultModifiers:U$g}),Yz="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";function op(C){return C.split("-").map(g=>parseInt(g,16)).map(g=>String.fromCodePoint(g)).join("")}function P$g(C,g,I,e=[]){const t={};return Object.keys(C).forEach(i=>{if(e.includes(i))return;const A=[];C[i].forEach(n=>{var l;if(n[ep][0].includes(g.toLocaleLowerCase())){let o=n[Iz];if(I!==ip&&Array.isArray(n[tp])){const a=((l=n[tp])==null?void 0:l.findIndex(d=>d.includes(I)))||-1;a!==-1&&n[tp]&&(o=n[tp][a])}return A.push({...n,[j0]:o})}}),A.length&&(t[i]=A)}),t}function Vz(){var C;return(((C=navigator==null?void 0:navigator.userAgentData)==null?void 0:C.platform)||(navigator==null?void 0:navigator.platform)||"unknown").toUpperCase().indexOf("MAC")!==-1}function Nz(C){return C.replace(/^_*(.)|_+(.)/g,(g,I,e)=>I?I.toUpperCase():" "+e.toUpperCase())}var $0=(C,g)=>{const I=C.__vccOpts||C;for(const[e,t]of g)I[e]=t;return I};const _$g=s.defineComponent({name:"Body",emits:{select:C=>!0},setup(){const{state:C,updateEmoji:g,updateSelect:I}=s.inject("store"),e=s.ref(null),t=s.computed(()=>P$g(C.emojis,C.search,C.skinTone,C.options.disabledGroups)),i=s.getCurrentInstance(),A=s.computed(()=>!C.options.hideGroupNames),n=s.computed(()=>!C.options.disableStickyGroupNames),l=s.toRaw(C.options.groupNames),o=C.orderedGroupKeys;C.options.additionalGroups&&Object.keys(C.options.additionalGroups).map(h=>{C.options.groupNames[h]?l[h]=C.options.groupNames[h]:l[h]=Nz(h)});const a=Vz()?"is-mac":"";function d(h){g(h)}function m(h){I(h),i==null||i.emit("select",{...h,t:C.skinTone,i:op(h.r)})}function u(h,Z){var G;const w=(G=h==null?void 0:h.target)==null?void 0:G.closest("button");w&&(w.innerHTML=`<span>${op(Z)}</span>`)}return s.watch(()=>C.activeGroup,()=>{var h;const Z=(h=e.value)==null?void 0:h.querySelector("#"+C.activeGroup);Z&&(Z.parentNode.scrollTop=Z.offsetTop-Z.parentNode.offsetTop)}),{emojis:t,bodyInner:e,EMOJI_REMOTE_SRC:qF,GROUP_NAMES:gz,handleClick:m,handleError:u,handleMouseEnter:d,native:C.options.native,unicodeToEmoji:op,EMOJI_RESULT_KEY:j0,EMOJI_NAME_KEY:ep,hasGroupNames:A,isSticky:n,platform:a,groupNames:l,orderedKeys:o}}}),$$g={class:"v3-body"},q$g=["id"],gqg={class:"v3-emojis"},Iqg=["onMouseenter","onClick"],Cqg={key:0},eqg=["src","alt","onError"],tqg={key:1,class:"v3-no-result"};function iqg(C,g,I,e,t,i){return s.openBlock(),s.createElementBlock("div",$$g,[s.createElementVNode("div",{ref:"bodyInner",class:s.normalizeClass([C.platform,"v3-body-inner"])},[C.orderedKeys.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(C.orderedKeys,A=>(s.openBlock(),s.createElementBlock("div",{id:A,key:A,class:"v3-group"},[C.hasGroupNames?s.withDirectives((s.openBlock(),s.createElementBlock("h5",{key:0,class:s.normalizeClass(C.isSticky?"v3-sticky":"")},s.toDisplayString(C.groupNames[A]),3)),[[s.vShow,C.emojis[A]]]):s.createCommentVNode("",!0),s.withDirectives(s.createElementVNode("div",gqg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.emojis[A],n=>(s.openBlock(),s.createElementBlock("button",{key:n.r,type:"button",onMouseenter:l=>C.handleMouseEnter(n),onClick:l=>C.handleClick(n)},[C.native?(s.openBlock(),s.createElementBlock("span",Cqg,s.toDisplayString(C.unicodeToEmoji(n.r)),1)):(s.openBlock(),s.createElementBlock("img",{key:1,src:C.EMOJI_REMOTE_SRC+`/${n.r}.png`,alt:n.n[0],onError:l=>C.handleError(l,n.r)},null,40,eqg))],40,Iqg))),128))],512),[[s.vShow,C.emojis[A]]])],8,q$g))),128)):(s.openBlock(),s.createElementBlock("span",tqg," No emoji has been found! "))],2)])}var Aqg=$0(_$g,[["render",iqg]]),nqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOTM3NSAxMi41NjI1IEMgMjIuNjg3NSAxMS43MzQzNzUgMjMgMTAuNjYwMTU2IDIzIDkuNSBDIDIzIDguMzM5ODQ0IDIyLjY4NzUgNy4yNjU2MjUgMjIuMDkzNzUgNi40Mzc1IEMgMjEuNSA1LjYwOTM3NSAyMC41NzAzMTMgNSAxOS41IDUgQyAxOC40Mjk2ODggNSAxNy41IDUuNjA5Mzc1IDE2LjkwNjI1IDYuNDM3NSBDIDE2LjMxMjUgNy4yNjU2MjUgMTYgOC4zMzk4NDQgMTYgOS41IFogTSAxMi41IDcgQyAxMi44MTI1IDcgMTMuMTU2MjUgNy4xNTYyNSAxMy40Njg3NSA3LjU5Mzc1IEMgMTMuNzgxMjUgOC4wMzEyNSAxNCA4LjcyNjU2MyAxNCA5LjUgQyAxNCAxMC4yNzM0MzggMTMuNzgxMjUgMTAuOTY4NzUgMTMuNDY4NzUgMTEuNDA2MjUgQyAxMy4xNTYyNSAxMS44NDM3NSAxMi44MTI1IDEyIDEyLjUgMTIgQyAxMi4xODc1IDEyIDExLjg0Mzc1IDExLjg0Mzc1IDExLjUzMTI1IDExLjQwNjI1IEMgMTEuMjE4NzUgMTAuOTY4NzUgMTEgMTAuMjczNDM4IDExIDkuNSBDIDExIDguNzI2NTYzIDExLjIxODc1IDguMDMxMjUgMTEuNTMxMjUgNy41OTM3NSBDIDExLjg0Mzc1IDcuMTU2MjUgMTIuMTg3NSA3IDEyLjUgNyBaIE0gMTkuNSA3IEMgMTkuODEyNSA3IDIwLjE1NjI1IDcuMTU2MjUgMjAuNDY4NzUgNy41OTM3NSBDIDIwLjc4MTI1IDguMDMxMjUgMjEgOC43MjY1NjMgMjEgOS41IEMgMjEgMTAuMjczNDM4IDIwLjc4MTI1IDEwLjk2ODc1IDIwLjQ2ODc1IDExLjQwNjI1IEMgMjAuMTU2MjUgMTEuODQzNzUgMTkuODEyNSAxMiAxOS41IDEyIEMgMTkuMTg3NSAxMiAxOC44NDM3NSAxMS44NDM3NSAxOC41MzEyNSAxMS40MDYyNSBDIDE4LjIxODc1IDEwLjk2ODc1IDE4IDEwLjI3MzQzOCAxOCA5LjUgQyAxOCA4LjcyNjU2MyAxOC4yMTg3NSA4LjAzMTI1IDE4LjUzMTI1IDcuNTkzNzUgQyAxOC44NDM3NSA3LjE1NjI1IDE5LjE4NzUgNyAxOS41IDcgWiBNIDcuNSAxMiBDIDYuNDI5Njg4IDEyIDUuNSAxMi42MDkzNzUgNC45MDYyNSAxMy40Mzc1IEMgNC4zMTI1IDE0LjI2NTYyNSA0IDE1LjMzOTg0NCA0IDE2LjUgQyA0IDE3LjY2MDE1NiA0LjMxMjUgMTguNzM0Mzc1IDQuOTA2MjUgMTkuNTYyNSBDIDUuNSAyMC4zOTA2MjUgNi40Mjk2ODggMjEgNy41IDIxIEMgOC41NzAzMTMgMjEgOS41IDIwLjM5MDYyNSAxMC4wOTM3NSAxOS41NjI1IEMgMTAuNjg3NSAxOC43MzQzNzUgMTEgMTcuNjYwMTU2IDExIDE2LjUgQyAxMSAxNS4zMzk4NDQgMTAuNjg3NSAxNC4yNjU2MjUgMTAuMDkzNzUgMTMuNDM3NSBDIDkuNSAxMi42MDkzNzUgOC41NzAzMTMgMTIgNy41IDEyIFogTSAyNC41IDEyIEMgMjMuNDI5Njg4IDEyIDIyLjUgMTIuNjA5Mzc1IDIxLjkwNjI1IDEzLjQzNzUgQyAyMS4zMTI1IDE0LjI2NTYyNSAyMSAxNS4zMzk4NDQgMjEgMTYuNSBDIDIxIDE3LjY2MDE1NiAyMS4zMTI1IDE4LjczNDM3NSAyMS45MDYyNSAxOS41NjI1IEMgMjIuNSAyMC4zOTA2MjUgMjMuNDI5Njg4IDIxIDI0LjUgMjEgQyAyNS41NzAzMTMgMjEgMjYuNSAyMC4zOTA2MjUgMjcuMDkzNzUgMTkuNTYyNSBDIDI3LjY4NzUgMTguNzM0Mzc1IDI4IDE3LjY2MDE1NiAyOCAxNi41IEMgMjggMTUuMzM5ODQ0IDI3LjY4NzUgMTQuMjY1NjI1IDI3LjA5Mzc1IDEzLjQzNzUgQyAyNi41IDEyLjYwOTM3NSAyNS41NzAzMTMgMTIgMjQuNSAxMiBaIE0gNy41IDE0IEMgNy44MTI1IDE0IDguMTU2MjUgMTQuMTU2MjUgOC40Njg3NSAxNC41OTM3NSBDIDguNzgxMjUgMTUuMDMxMjUgOSAxNS43MjY1NjMgOSAxNi41IEMgOSAxNy4yNzM0MzggOC43ODEyNSAxNy45Njg3NSA4LjQ2ODc1IDE4LjQwNjI1IEMgOC4xNTYyNSAxOC44NDM3NSA3LjgxMjUgMTkgNy41IDE5IEMgNy4xODc1IDE5IDYuODQzNzUgMTguODQzNzUgNi41MzEyNSAxOC40MDYyNSBDIDYuMjE4NzUgMTcuOTY4NzUgNiAxNy4yNzM0MzggNiAxNi41IEMgNiAxNS43MjY1NjMgNi4yMTg3NSAxNS4wMzEyNSA2LjUzMTI1IDE0LjU5Mzc1IEMgNi44NDM3NSAxNC4xNTYyNSA3LjE4NzUgMTQgNy41IDE0IFogTSAyNC41IDE0IEMgMjQuODEyNSAxNCAyNS4xNTYyNSAxNC4xNTYyNSAyNS40Njg3NSAxNC41OTM3NSBDIDI1Ljc4MTI1IDE1LjAzMTI1IDI2IDE1LjcyNjU2MyAyNiAxNi41IEMgMjYgMTcuMjczNDM4IDI1Ljc4MTI1IDE3Ljk2ODc1IDI1LjQ2ODc1IDE4LjQwNjI1IEMgMjUuMTU2MjUgMTguODQzNzUgMjQuODEyNSAxOSAyNC41IDE5IEMgMjQuMTg3NSAxOSAyMy44NDM3NSAxOC44NDM3NSAyMy41MzEyNSAxOC40MDYyNSBDIDIzLjIxODc1IDE3Ljk2ODc1IDIzIDE3LjI3MzQzOCAyMyAxNi41IEMgMjMgMTUuNzI2NTYzIDIzLjIxODc1IDE1LjAzMTI1IDIzLjUzMTI1IDE0LjU5Mzc1IEMgMjMuODQzNzUgMTQuMTU2MjUgMjQuMTg3NSAxNCAyNC41IDE0IFogTSAxNiAxNiBDIDE0LjY2Nzk2OSAxNiAxMy43MzgyODEgMTYuODY3MTg4IDEzLjI4MTI1IDE3LjYyNSBDIDEyLjgyNDIxOSAxOC4zODI4MTMgMTIuNTQ2ODc1IDE5LjAxNTYyNSAxMi4yODEyNSAxOS4yODEyNSBDIDEyLjEyNSAxOS40Mzc1IDExLjE2MDE1NiAxOS44MDA3ODEgMTAuMTU2MjUgMjAuMzEyNSBDIDkuNjUyMzQ0IDIwLjU3MDMxMyA5LjE0NDUzMSAyMC45MTQwNjMgOC43MTg3NSAyMS40Mzc1IEMgOC4yOTI5NjkgMjEuOTYwOTM4IDggMjIuNjg3NSA4IDIzLjUgQyA4IDI1LjQyMTg3NSA5LjU3ODEyNSAyNyAxMS41IDI3IEMgMTIuMzY3MTg4IDI3IDEzLjI2OTUzMSAyNi43MjI2NTYgMTQuMTU2MjUgMjYuNDY4NzUgQyAxNS4wNDI5NjkgMjYuMjE0ODQ0IDE2IDI2IDE2IDI2IEMgMTYgMjYgMTYuOTU3MDMxIDI2LjIxNDg0NCAxNy44NDM3NSAyNi40Njg3NSBDIDE4LjczMDQ2OSAyNi43MjI2NTYgMTkuNjMyODEzIDI3IDIwLjUgMjcgQyAyMi40MjE4NzUgMjcgMjQgMjUuNDIxODc1IDI0IDIzLjUgQyAyNCAyMi43MDcwMzEgMjMuNzA3MDMxIDIxLjk4MDQ2OSAyMy4yODEyNSAyMS40Njg3NSBDIDIyLjg1NTQ2OSAyMC45NTcwMzEgMjIuMzQzNzUgMjAuNjQwNjI1IDIxLjg0Mzc1IDIwLjM3NSBDIDIwLjg0Mzc1IDE5Ljg0Mzc1IDE5Ljg1OTM3NSAxOS40MjE4NzUgMTkuNzE4NzUgMTkuMjgxMjUgQyAxOS40ODA0NjkgMTkuMDQyOTY5IDE5LjIxMDkzOCAxOC4zOTA2MjUgMTguNzUgMTcuNjI1IEMgMTguMjg5MDYzIDE2Ljg1OTM3NSAxNy4zMzk4NDQgMTYgMTYgMTYgWiBNIDE2IDE4IEMgMTYuNjYwMTU2IDE4IDE2LjczNDM3NSAxOC4xNjAxNTYgMTcuMDMxMjUgMTguNjU2MjUgQyAxNy4zMjgxMjUgMTkuMTUyMzQ0IDE3LjU1NDY4OCAxOS45OTIxODggMTguMjgxMjUgMjAuNzE4NzUgQyAxOS4xMDU0NjkgMjEuNTQyOTY5IDIwLjE0ODQzOCAyMS43MjI2NTYgMjAuOTA2MjUgMjIuMTI1IEMgMjEuMjg1MTU2IDIyLjMyODEyNSAyMS41NzgxMjUgMjIuNTQyOTY5IDIxLjc1IDIyLjc1IEMgMjEuOTIxODc1IDIyLjk1NzAzMSAyMiAyMy4xNDg0MzggMjIgMjMuNSBDIDIyIDI0LjMzOTg0NCAyMS4zMzk4NDQgMjUgMjAuNSAyNSBDIDIwLjIxMDkzOCAyNSAxOS4yNzczNDQgMjQuNzc3MzQ0IDE4LjQwNjI1IDI0LjUzMTI1IEMgMTcuNTM1MTU2IDI0LjI4NTE1NiAxNi44MTY0MDYgMjQgMTYgMjQgQyAxNS4xODM1OTQgMjQgMTQuNDY0ODQ0IDI0LjI4NTE1NiAxMy41OTM3NSAyNC41MzEyNSBDIDEyLjcyMjY1NiAyNC43NzczNDQgMTEuNzg5MDYzIDI1IDExLjUgMjUgQyAxMC42NjAxNTYgMjUgMTAgMjQuMzM5ODQ0IDEwIDIzLjUgQyAxMCAyMy4wOTc2NTYgMTAuMDgyMDMxIDIyLjg5MDYyNSAxMC4yNSAyMi42ODc1IEMgMTAuNDE3OTY5IDIyLjQ4NDM3NSAxMC43MjI2NTYgMjIuMjg1MTU2IDExLjA5Mzc1IDIyLjA5Mzc1IEMgMTEuODM5ODQ0IDIxLjcxNDg0NCAxMi44NzUgMjEuNTYyNSAxMy43MTg3NSAyMC43MTg3NSBDIDE0LjQ1MzEyNSAxOS45ODQzNzUgMTQuNjc1NzgxIDE5LjExNzE4OCAxNC45Njg3NSAxOC42MjUgQyAxNS4yNjE3MTkgMTguMTMyODEzIDE1LjMzMjAzMSAxOCAxNiAxOCBaIi8+PC9zdmc+",lqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSAzIEwgMTEgNyBMIDEzIDcgTCAxMyAzIFogTSAxNSA0IEwgMTUgNyBMIDE3IDcgTCAxNyA0IFogTSA0Ljg3NSA4IEwgNSA5LjA5Mzc1IEwgNi44MTI1IDI2LjMxMjUgQyA2Ljk3MjY1NiAyNy44MzIwMzEgOC4yODUxNTYgMjkgOS44MTI1IDI5IEwgMTkuMTg3NSAyOSBDIDIwLjcxNDg0NCAyOSAyMi4wMjczNDQgMjcuODMyMDMxIDIyLjE4NzUgMjYuMzEyNSBMIDIyLjY1NjI1IDIyIEwgMjUgMjIgQyAyNi42NDQ1MzEgMjIgMjggMjAuNjQ0NTMxIDI4IDE5IEwgMjggMTYgQyAyOCAxNC4zNTU0NjkgMjYuNjQ0NTMxIDEzIDI1IDEzIEwgMjMuNTkzNzUgMTMgTCAyNCA5LjA5Mzc1IEwgMjQuMTI1IDggWiBNIDcuMTI1IDEwIEwgMjEuODc1IDEwIEwgMjAuMTg3NSAyNi4wOTM3NSBDIDIwLjEzMjgxMyAyNi42MTMyODEgMTkuNzA3MDMxIDI3IDE5LjE4NzUgMjcgTCA5LjgxMjUgMjcgQyA5LjI5Mjk2OSAyNyA4Ljg2NzE4OCAyNi42MTMyODEgOC44MTI1IDI2LjA5Mzc1IFogTSAyMy4zNzUgMTUgTCAyNSAxNSBDIDI1LjU2NjQwNiAxNSAyNiAxNS40MzM1OTQgMjYgMTYgTCAyNiAxOSBDIDI2IDE5LjU2NjQwNiAyNS41NjY0MDYgMjAgMjUgMjAgTCAyMi44NDM3NSAyMCBaIi8+PC9zdmc+",sqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiAzIEMgOC44MzIwMzEgMyAzIDguODMyMDMxIDMgMTYgQyAzIDIzLjE2Nzk2OSA4LjgzMjAzMSAyOSAxNiAyOSBDIDIzLjE2Nzk2OSAyOSAyOSAyMy4xNjc5NjkgMjkgMTYgQyAyOSA4LjgzMjAzMSAyMy4xNjc5NjkgMyAxNiAzIFogTSAxNiA1IEMgMTYuNjAxNTYzIDUgMTcuMTc1NzgxIDUuMDYyNSAxNy43NSA1LjE1NjI1IEwgMTYgNi40MDYyNSBMIDE0LjI1IDUuMTU2MjUgQyAxNC44MjAzMTMgNS4wNjY0MDYgMTUuNDAyMzQ0IDUgMTYgNSBaIE0gMTEuODEyNSA1Ljg0Mzc1IEwgMTUuNDA2MjUgOC40Njg3NSBMIDE2IDguOTA2MjUgTCAxNi41OTM3NSA4LjQ2ODc1IEwgMjAuMTg3NSA1Ljg0Mzc1IEMgMjEuNzg1MTU2IDYuNTA3ODEzIDIzLjE5NTMxMyA3LjUyMzQzOCAyNC4zMTI1IDguODEyNSBMIDIyLjkzNzUgMTMuMDkzNzUgTCAyMi43MTg3NSAxMy43ODEyNSBMIDIzLjMxMjUgMTQuMTg3NSBMIDI2LjkzNzUgMTYuODQzNzUgQyAyNi44MDQ2ODggMTguNjA1NDY5IDI2LjI2NTYyNSAyMC4yNTc4MTMgMjUuNDA2MjUgMjEuNjg3NSBMIDIwLjEyNSAyMS42ODc1IEwgMTkuOTA2MjUgMjIuMzc1IEwgMTguNSAyNi43MTg3NSBDIDE3LjY5OTIxOSAyNi45MDYyNSAxNi44NTkzNzUgMjcgMTYgMjcgQyAxNS4xMDU0NjkgMjcgMTQuMjM4MjgxIDI2Ljg4NjcxOSAxMy40MDYyNSAyNi42ODc1IEwgMTIuMDMxMjUgMjIuNDA2MjUgTCAxMS44MTI1IDIxLjcxODc1IEwgNi41OTM3NSAyMS43MTg3NSBDIDUuNzE4NzUgMjAuMjgxMjUgNS4xOTkyMTkgMTguNjIxMDk0IDUuMDYyNSAxNi44NDM3NSBMIDguNjU2MjUgMTQuMjE4NzUgTCA5LjI1IDEzLjgxMjUgTCA5LjAzMTI1IDEzLjEyNSBMIDcuNjI1IDguODc1IEMgOC43NSA3LjU1NDY4OCAxMC4xODM1OTQgNi41MTU2MjUgMTEuODEyNSA1Ljg0Mzc1IFogTSAxNiAxMC4wOTM3NSBMIDE1LjQwNjI1IDEwLjUzMTI1IEwgMTAuODQzNzUgMTMuODQzNzUgTCAxMC4yODEyNSAxNC4yODEyNSBMIDEwLjUgMTQuOTY4NzUgTCAxMi4yNSAyMC4zMTI1IEwgMTIuNDY4NzUgMjEgTCAxOS41MzEyNSAyMSBMIDE5Ljc1IDIwLjMxMjUgTCAyMS41IDE0Ljk2ODc1IEwgMjEuNzE4NzUgMTQuMjgxMjUgTCAyMS4xNTYyNSAxMy44NDM3NSBMIDE2LjU5Mzc1IDEwLjUzMTI1IFogTSAyNS43NSAxMC45MDYyNSBDIDI2LjI5Njg3NSAxMS45NTMxMjUgMjYuNjU2MjUgMTMuMTAxNTYzIDI2Ljg0Mzc1IDE0LjMxMjUgTCAyNS4wNjI1IDEzLjAzMTI1IFogTSA2LjIxODc1IDEwLjk2ODc1IEwgNi45MDYyNSAxMy4wMzEyNSBMIDUuMTU2MjUgMTQuMzEyNSBDIDUuMzM5ODQ0IDEzLjEyNSA1LjY4NzUgMTIgNi4yMTg3NSAxMC45Njg3NSBaIE0gMTYgMTIuNTkzNzUgTCAxOS4zNzUgMTUuMDMxMjUgTCAxOC4wOTM3NSAxOSBMIDEzLjkwNjI1IDE5IEwgMTIuNjI1IDE1LjAzMTI1IFogTSAyMS41OTM3NSAyMy42ODc1IEwgMjMuODQzNzUgMjMuNjg3NSBDIDIyLjk5MjE4OCAyNC41NjY0MDYgMjIuMDExNzE5IDI1LjI5Mjk2OSAyMC45MDYyNSAyNS44NDM3NSBaIE0gOC4xNTYyNSAyMy43MTg3NSBMIDEwLjM0Mzc1IDIzLjcxODc1IEwgMTEuMDMxMjUgMjUuODEyNSBDIDkuOTYwOTM4IDI1LjI2OTUzMSA4Ljk4ODI4MSAyNC41NjI1IDguMTU2MjUgMjMuNzE4NzUgWiIvPjwvc3ZnPg==",oqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5LjUgNiBDIDguMTc5Njg4IDYgNy4wMDM5MDYgNi44NTkzNzUgNi42MjUgOC4xMjUgTCA1LjI1IDEyLjcxODc1IEwgMy4zMTI1IDEyLjA2MjUgTCAyLjY4NzUgMTMuOTM3NSBMIDQuNjU2MjUgMTQuNTkzNzUgTCA0LjAzMTI1IDE2LjcxODc1IEMgNC4wMDc4MTMgMTYuODA4NTk0IDMuOTk2MDk0IDE2LjkwNjI1IDQgMTcgTCA0IDI0IEMgNCAyNC4wMzEyNSA0IDI0LjA2MjUgNCAyNC4wOTM3NSBMIDQgMjUgQyA0IDI1LjU1MDc4MSA0LjQ0OTIxOSAyNiA1IDI2IEwgOCAyNiBMIDguMzQzNzUgMjUgTCAyMy42NTYyNSAyNSBMIDI0IDI2IEwgMjcgMjYgQyAyNy41NTA3ODEgMjYgMjggMjUuNTUwNzgxIDI4IDI1IEwgMjggMjQuMTU2MjUgQyAyOC4wMDM5MDYgMjQuMTA1NDY5IDI4LjAwMzkwNiAyNC4wNTA3ODEgMjggMjQgTCAyOCAxNyBDIDI4LjAwMzkwNiAxNi45MDYyNSAyNy45OTIxODggMTYuODA4NTk0IDI3Ljk2ODc1IDE2LjcxODc1IEwgMjcuMzQzNzUgMTQuNTkzNzUgTCAyOS4zMTI1IDEzLjkzNzUgTCAyOC42ODc1IDEyLjA2MjUgTCAyNi43NSAxMi43MTg3NSBMIDI1LjM3NSA4LjEyNSBDIDI0Ljk5NjA5NCA2Ljg1OTM3NSAyMy44MjAzMTMgNiAyMi41IDYgWiBNIDkuNSA4IEwgMjIuNSA4IEMgMjIuOTQ1MzEzIDggMjMuMzM5ODQ0IDguMjkyOTY5IDIzLjQ2ODc1IDguNzE4NzUgTCAyNC43NSAxMyBMIDcuMjUgMTMgTCA4LjUzMTI1IDguNzE4NzUgQyA4LjY2MDE1NiA4LjI4OTA2MyA5LjA1NDY4OCA4IDkuNSA4IFogTSA2LjY1NjI1IDE1IEwgMjUuMzQzNzUgMTUgTCAyNiAxNy4xODc1IEwgMjYgMjMgTCA2IDIzIEwgNiAxNy4xODc1IFogTSA4LjUgMTYgQyA3LjY3MTg3NSAxNiA3IDE2LjY3MTg3NSA3IDE3LjUgQyA3IDE4LjMyODEyNSA3LjY3MTg3NSAxOSA4LjUgMTkgQyA5LjMyODEyNSAxOSAxMCAxOC4zMjgxMjUgMTAgMTcuNSBDIDEwIDE2LjY3MTg3NSA5LjMyODEyNSAxNiA4LjUgMTYgWiBNIDIzLjUgMTYgQyAyMi42NzE4NzUgMTYgMjIgMTYuNjcxODc1IDIyIDE3LjUgQyAyMiAxOC4zMjgxMjUgMjIuNjcxODc1IDE5IDIzLjUgMTkgQyAyNC4zMjgxMjUgMTkgMjUgMTguMzI4MTI1IDI1IDE3LjUgQyAyNSAxNi42NzE4NzUgMjQuMzI4MTI1IDE2IDIzLjUgMTYgWiBNIDEyIDE5IEwgMTAuNzUgMjIgTCAxMi45MDYyNSAyMiBMIDEzLjM0Mzc1IDIxIEwgMTguNjU2MjUgMjEgTCAxOS4wOTM3NSAyMiBMIDIxLjI1IDIyIEwgMjAgMTkgWiIvPjwvc3ZnPg==",aqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuMDQyOTY5IDQgNyA4LjA0Mjk2OSA3IDEzIEMgNyAxNC45MTc5NjkgNy44NDM3NSAxNi45MDYyNSA5IDE4LjY4NzUgQyA5Ljg1OTM3NSAyMC4wMTE3MTkgMTAuODg2NzE5IDIxLjIzMDQ2OSAxMiAyMi4xNTYyNSBMIDEyIDI1IEMgMTIgMjYuMDkzNzUgMTIuOTA2MjUgMjcgMTQgMjcgTCAxNSAyOCBMIDE3IDI4IEwgMTggMjcgQyAxOS4wOTM3NSAyNyAyMCAyNi4wOTM3NSAyMCAyNSBMIDIwIDIyLjE1NjI1IEMgMjEuMTEzMjgxIDIxLjIzMDQ2OSAyMi4xNDA2MjUgMjAuMDExNzE5IDIzIDE4LjY4NzUgQyAyNC4xNTYyNSAxNi45MDYyNSAyNSAxNC45MTc5NjkgMjUgMTMgQyAyNSA4LjA0Mjk2OSAyMC45NTcwMzEgNCAxNiA0IFogTSAxNiA2IEMgMTkuODc4OTA2IDYgMjMgOS4xMjEwOTQgMjMgMTMgQyAyMyAxNC4zMDg1OTQgMjIuMzU1NDY5IDE2LjAzNTE1NiAyMS4zNDM3NSAxNy41OTM3NSBDIDIwLjQ0MTQwNiAxOC45ODQzNzUgMTkuMjUzOTA2IDIwLjIyMjY1NiAxOC4xNTYyNSAyMSBMIDEzLjg0Mzc1IDIxIEMgMTIuNzQ2MDk0IDIwLjIyMjY1NiAxMS41NTg1OTQgMTguOTg0Mzc1IDEwLjY1NjI1IDE3LjU5Mzc1IEMgOS42NDQ1MzEgMTYuMDM1MTU2IDkgMTQuMzA4NTk0IDkgMTMgQyA5IDkuMTIxMDk0IDEyLjEyMTA5NCA2IDE2IDYgWiBNIDE0LjI1IDIzIEwgMTcuNzUgMjMgQyAxNy44MjgxMjUgMjMuMDU0Njg4IDE3LjkxMDE1NiAyMy4wOTM3NSAxOCAyMy4xMjUgTCAxOCAyNSBMIDE0IDI1IEwgMTQgMjMuMTI1IEMgMTQuMDg5ODQ0IDIzLjA5Mzc1IDE0LjE3MTg3NSAyMy4wNTQ2ODggMTQuMjUgMjMgWiIvPjwvc3ZnPg==",dqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMSA1IEwgMTEgMTEgTCA1IDExIEwgNSAxMyBMIDExIDEzIEwgMTEgMTkgTCA1IDE5IEwgNSAyMSBMIDExIDIxIEwgMTEgMjcgTCAxMyAyNyBMIDEzIDIxIEwgMTkgMjEgTCAxOSAyNyBMIDIxIDI3IEwgMjEgMjEgTCAyNyAyMSBMIDI3IDE5IEwgMjEgMTkgTCAyMSAxMyBMIDI3IDEzIEwgMjcgMTEgTCAyMSAxMSBMIDIxIDUgTCAxOSA1IEwgMTkgMTEgTCAxMyAxMSBMIDEzIDUgWiBNIDEzIDEzIEwgMTkgMTMgTCAxOSAxOSBMIDEzIDE5IFoiLz48L3N2Zz4=",cqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSA5IDQgQyA3LjM0NiA0IDYgNS4zNDYgNiA3IEMgNiA4LjMwMTYwOTQgNi44Mzg3NDg2IDkuNDAyMTM5MSA4IDkuODE2NDA2MiBMIDggMTEuMzA0Njg4IEwgOCAyMy4yMDcwMzEgTCA4IDI3LjAyMzQzOCBDIDggMjcuNTYzNDM4IDguNDM2NTYyNSAyOCA4Ljk3NjU2MjUgMjggTCA5LjAyMzQzNzUgMjggQyA5LjU2MzQzNzUgMjggMTAgMjcuNTYzNDM3IDEwIDI3LjAyMzQzOCBMIDEwIDIyLjIyODUxNiBDIDEwLjMzNDcwNyAyMS44Mzk3NTYgMTEuMTM4NDIzIDIxLjA0Njg3NSAxMy40NDUzMTIgMjEuMDQ2ODc1IEMgMTQuNjY5MzEzIDIxLjA0Njg3NSAxNS42NzA0MjIgMjEuNDczNzgxIDE2LjczMjQyMiAyMS45MjU3ODEgQyAxNy43Njk0MjIgMjIuMzY3NzgxIDE4Ljg0MTg5MSAyMi44MjQyMTkgMjAuMDg3ODkxIDIyLjgyNDIxOSBDIDIyLjQ0Njg5MSAyMi44MjQyMTkgMjQuMDQ5Mzc1IDIxLjU4NDY4OCAyNC43MzQzNzUgMjEuMDU0Njg4IEwgMjQuODg2NzE5IDIwLjkzOTQ1MyBDIDI1LjQzNzcxOSAyMC41NDA0NTMgMjYgMTkuOTk2IDI2IDE5IEwgMjYgMTAuNjc1NzgxIEMgMjYgOS43Njc3ODEyIDI1LjIyMTgyOCA5IDI0LjI5ODgyOCA5IEMgMjMuODAzODI4IDkgMjMuNDQwNDA2IDkuMjg2NTkzNyAyMi45NDE0MDYgOS42ODM1OTM4IEMgMjIuMjc5NDA2IDEwLjIwNzU5NCAyMS4yODA4OTEgMTEgMjAuMDg3ODkxIDExIEMgMTkuMjcyODkxIDExIDE4LjQ3NzY4OCAxMC42MTk3MzQgMTcuNTU0Njg4IDEwLjE3NzczNCBDIDE2LjQwMzY4NyA5LjYyNTczNDQgMTUuMDk4MzU5IDkgMTMuNDQzMzU5IDkgQyAxMi4zMDgyNTcgOSAxMS40MjE2ODcgOS4xODgzMzkzIDEwLjcxMjg5MSA5LjQ1NzAzMTIgQyAxMS40ODkwNzEgOC45MTQxODI0IDEyIDguMDE2NzgwMiAxMiA3IEMgMTIgNS4zNDYgMTAuNjU0IDQgOSA0IHogTSA5IDYgQyA5LjU1MiA2IDEwIDYuNDQ5IDEwIDcgQyAxMCA3LjU1MSA5LjU1MiA4IDkgOCBDIDguNDQ4IDggOCA3LjU1MSA4IDcgQyA4IDYuNDQ5IDguNDQ4IDYgOSA2IHogTSAxMy40NDMzNTkgMTEgQyAxNC42NDUzNTkgMTEgMTUuNjM4NDA2IDExLjQ3NjQ2OSAxNi42OTE0MDYgMTEuOTgwNDY5IEMgMTcuNzM2NDA2IDEyLjQ4MjQ2OSAxOC44MTc4OTEgMTMgMjAuMDg3ODkxIDEzIEMgMjEuODQyODkxIDEzIDIzLjE1ODA0NyAxMi4wNTQ0ODQgMjMuOTk4MDQ3IDExLjM5NjQ4NCBMIDIzLjk5ODA0NyAxOS4wNjY0MDYgQyAyMy45OTcwNDcgMTkuMDcwNDA2IDIzLjk1Mjk4NCAxOS4xNDUyNjYgMjMuNzA4OTg0IDE5LjMyMjI2NiBMIDIzLjUwOTc2NiAxOS40NzQ2MDkgQyAyMi45NDI3NjYgMTkuOTEyNjA5IDIxLjc2Mjg5MSAyMC44MjQyMTkgMjAuMDg3ODkxIDIwLjgyNDIxOSBDIDE5LjI0OTg5MSAyMC44MjQyMTkgMTguNDQ2NjI1IDIwLjQ4MjkzNyAxNy41MTU2MjUgMjAuMDg1OTM4IEMgMTYuMzcyNjI1IDE5LjU5NzkzOCAxNS4wNzYzNTkgMTkuMDQ0OTIyIDEzLjQ0MzM1OSAxOS4wNDQ5MjIgQyAxMS44OTEzNTkgMTkuMDQ0OTIyIDEwLjc4NiAxOS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==",rqg="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";const mqg=s.defineComponent({name:"Header",setup(C){const{state:g,updateSearch:I,updateActiveGroup:e}=s.inject("store"),t=s.computed(()=>!g.options.hideSearch),i=s.computed(()=>!g.options.hideGroupIcons),A=JSON.parse(JSON.stringify(g.orderedGroupKeys)),n=s.computed(()=>g.options.staticTexts.placeholder||""),l=s.computed({get:()=>g.search,set:d=>I(d)}),o=[...g.groups,...Object.keys(g.options.additionalGroups).map(d=>({key:d,title:g.options.groupNames[d]?g.options.groupNames[d]:Nz(d)}))],a=[];return A.forEach(d=>{const m=o.findIndex(u=>u.key===d);m!==-1&&(a.push(o[m]),o.splice(m,1))}),{orderedGroups:a,orderedKeys:A,searchValue:l,updateActiveGroup:e,hasSearch:t,hasGroupIcons:i,placeholder:n,icons:{smileys_people:Yz,animals_nature:nqg,food_drink:lqg,activities:sqg,travel_places:oqg,objects:aqg,symbols:dqg,flags:cqg,...g.options.groupIcons,recent:rqg}}}}),uqg={key:0,class:"v3-header"},hqg={key:0,class:"v3-groups"},bqg=["onClick"],Zqg=["title"],Gqg=["src"],wqg={key:1,class:"v3-spacing"},Wqg={key:2,class:"v3-search"},Bqg=["placeholder"];function pqg(C,g,I,e,t,i){return C.hasGroupIcons||C.hasSearch?(s.openBlock(),s.createElementBlock("div",uqg,[C.hasGroupIcons?(s.openBlock(),s.createElementBlock("div",hqg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.orderedGroups,A=>(s.openBlock(),s.createElementBlock("button",{key:A.key,type:"button",class:s.normalizeClass(["v3-group",{"v3-is-hidden":!C.icons[A.key]}]),onClick:n=>C.updateActiveGroup(A.key)},[s.createElementVNode("span",{title:A.title,class:"v3-icon"},[s.createElementVNode("img",{src:C.icons[A.key],alt:""},null,8,Gqg)],8,Zqg)],10,bqg))),128))])):s.createCommentVNode("",!0),C.hasGroupIcons&&C.hasSearch?(s.openBlock(),s.createElementBlock("div",wqg)):s.createCommentVNode("",!0),C.hasSearch?(s.openBlock(),s.createElementBlock("div",Wqg,[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":g[0]||(g[0]=A=>C.searchValue=A),type:"text",placeholder:C.placeholder},null,8,Bqg),[[s.vModelText,C.searchValue]])])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)}var yqg=$0(mqg,[["render",pqg]]);const Yqg=s.defineComponent({name:"Header",setup(){const{state:C,updateSkinTone:g}=s.inject("store"),I=s.ref(!1),e=s.ref(!1),t=s.computed(()=>C.skinTone),i=s.computed(()=>C.options.staticTexts.skinTone||"Skin tone"),A=s.computed(()=>!C.options.disableSkinTones),n=Vz()?"is-mac":"",l=s.computed(()=>({...C.emoji,src:qF+"/"+C.emoji[j0]+".png"}));function o(m=!0){I.value=m}function a(){I.value=!I.value}function d(m){g(m),o(!1)}return s.watch(()=>C.emoji,()=>{e.value=!1}),{emoji:l,SKIN_TONES:Y_g,updateSkinToneState:o,skinTone:I,stateSkinTone:t,selectSkinTone:d,toggleSkinToneState:a,EMOJI_RESULT_KEY:j0,EMOJI_NAME_KEY:ep,skinToneText:i,hasSkinTones:A,native:C.options.native,unicodeToEmoji:op,platform:n,hasError:e}}}),Vqg={class:"v3-foot-left"},Nqg={key:0},Mqg=["alt","src"],Rqg={class:"v3-text"},fqg={class:"v3-text"},Xqg=["onClick"];function Hqg(C,g,I,e,t,i){return s.openBlock(),s.createElementBlock("div",{class:"v3-footer",onMouseleave:g[2]||(g[2]=A=>C.updateSkinToneState(!1))},[s.createElementVNode("div",Vqg,[s.createElementVNode("span",{class:s.normalizeClass([C.platform,"v3-icon"])},[C.native||C.hasError?(s.openBlock(),s.createElementBlock("span",Nqg,s.toDisplayString(C.unicodeToEmoji(C.emoji.r)),1)):(s.openBlock(),s.createElementBlock("img",{key:1,alt:C.unicodeToEmoji(C.emoji.r),src:C.emoji.src,onError:g[0]||(g[0]=A=>C.hasError=!0)},null,40,Mqg))],2),s.createElementVNode("span",Rqg," :"+s.toDisplayString(C.emoji[C.EMOJI_NAME_KEY][1]||C.emoji[C.EMOJI_NAME_KEY][0])+": ",1)]),C.hasSkinTones?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("button",{type:"button",class:"v3-tone",onClick:g[1]||(g[1]=(...A)=>C.toggleSkinToneState&&C.toggleSkinToneState(...A))},[s.createElementVNode("span",fqg,s.toDisplayString(C.skinToneText),1),s.createElementVNode("span",{class:s.normalizeClass(`v3-icon v3-tone-${C.stateSkinTone}`)},null,2)]),s.createElementVNode("div",{class:s.normalizeClass([C.skinTone?"v3-is-open":"","v3-skin-tones"])},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(C.SKIN_TONES,A=>(s.openBlock(),s.createElementBlock("button",{key:A,type:"button",class:s.normalizeClass(["v3-skin-tone-"+A,"v3-skin-tone"]),onClick:n=>C.selectSkinTone(A)},null,10,Xqg))),128))],2)],64)):s.createCommentVNode("",!0)],32)}var Dqg=$0(Yqg,[["render",Hqg]]);const Sqg=s.defineComponent({name:"PickerRoot",components:{Header:yqg,Body:Aqg,Footer:Dqg},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:C=>!0,"update:text":C=>!0},setup(C,{emit:g}){const I=s.ref(),e=s.ref(),t=s.ref(),i=s.ref(!1),A=s.ref(C.text),n=C.type==="input"||C.type==="textarea";let l=-1;const{state:o}=s.inject("store"),a=s.computed(()=>o.options.colorTheme);function d(G){if(n){const w=o.options.mode;w==="prepend"?A.value=G.i+A.value:w==="insert"&&l!==-1?(A.value=`${A.value.slice(0,l)}${G.i}${A.value.slice(l)}`,l+=G.i.length):A.value+=G.i,g("update:text",A.value)}g("select",G)}function m(){var G;I.value&&(l=((G=I.value)==null?void 0:G.selectionEnd)||-1)}function u(G){var w;!((w=G.target)!=null&&w.closest(".v3-input-picker-wrap"))&&i.value&&(i.value=!1)}function h(){if(e.value&&t.value&&n){let G=o.options.offset;typeof G!="number"&&(G=6),E$g(e.value,t.value,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,G]}}]}),document.body.addEventListener("click",u)}}function Z(G){A.value=G.target.value||"",g("update:text",A.value)}return s.onMounted(()=>{h()}),s.onBeforeUnmount(()=>{document.body.removeEventListener("click",u)}),{face:Yz,open:i,onSelect:d,input:A,elem:I,updateCursor:m,button:e,picker:t,isInputType:n,onChangeText:Z,colorTheme:a}}}),Kqg={key:0,class:"v3-input-emoji-picker"},kqg={class:"v3-input-picker-root"},Fqg=["value"],zqg=["value"],Jqg=["src"];function Lqg(C,g,I,e,t,i){const A=s.resolveComponent("Header"),n=s.resolveComponent("Body"),l=s.resolveComponent("Footer");return C.isInputType?(s.openBlock(),s.createElementBlock("div",Kqg,[s.createElementVNode("div",kqg,[C.type==="input"?(s.openBlock(),s.createElementBlock("input",{key:0,ref:"elem",value:C.input,type:"text",class:"v3-emoji-picker-input",onInput:g[0]||(g[0]=(...o)=>C.onChangeText&&C.onChangeText(...o)),onBlur:g[1]||(g[1]=(...o)=>C.updateCursor&&C.updateCursor(...o))},null,40,Fqg)):(s.openBlock(),s.createElementBlock("textarea",{key:1,ref:"elem",value:C.input,class:"v3-emoji-picker-textarea",onInput:g[2]||(g[2]=(...o)=>C.onChangeText&&C.onChangeText(...o)),onBlur:g[3]||(g[3]=(...o)=>C.updateCursor&&C.updateCursor(...o))},null,40,zqg)),s.createElementVNode("div",{class:s.normalizeClass(["v3-input-picker-wrap",C.open?"v3-picker-is-open":""])},[s.createElementVNode("button",{ref:"button",type:"button",class:"v3-input-picker-icon",onClick:g[4]||(g[4]=o=>C.open=!C.open)},[s.createElementVNode("img",{src:C.face,alt:""},null,8,Jqg)],512),s.createElementVNode("div",{ref:"picker",class:s.normalizeClass(["v3-emoji-picker","v3-color-theme-"+C.colorTheme])},[s.createVNode(A),s.createVNode(n,{onSelect:C.onSelect},null,8,["onSelect"]),s.createVNode(l)],2)],2)])])):(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["v3-emoji-picker","v3-color-theme-"+C.colorTheme])},[s.createVNode(A),s.createVNode(n,{onSelect:C.onSelect},null,8,["onSelect"]),s.createVNode(l)],2))}var Tqg=$0(Sqg,[["render",Lqg]]);const vqg=s.defineComponent({name:"Picker",components:{PickerRoot:Tqg},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":C=>!0,select:C=>!0},setup(C,{emit:g}){const I=s.ref(C.text);function e(i){I.value=i||"",g("update:text",I.value)}const t=v_g();return t.updateOptions({native:C.native,hideSearch:C.hideSearch,hideGroupIcons:C.hideGroupIcons,hideGroupNames:C.hideGroupNames,staticTexts:{...V_g,...C.staticTexts},disableStickyGroupNames:C.disableStickyGroupNames,disabledGroups:C.disabledGroups,groupNames:{...gz,...C.groupNames},disableSkinTones:C.disableSkinTones,displayRecent:C.displayRecent,additionalGroups:C.additionalGroups,mode:C.mode,offset:C.offset,groupOrder:C.groupOrder,groupIcons:C.groupIcons,colorTheme:N_g.includes(C.theme)?C.theme:"light"}),s.provide("store",t),{type:C.pickerType,input:I,onChangeText:e}}});function jqg(C,g,I,e,t,i){const A=s.resolveComponent("picker-root");return s.openBlock(),s.createBlock(A,{type:C.type,text:C.input,onSelect:g[0]||(g[0]=n=>C.$emit("select",n)),"onUpdate:text":C.onChangeText},null,8,["type","text","onUpdate:text"])}var Mz=$0(vqg,[["render",jqg]]),ap=(C=>(C.primary="primary",C.secondary="secondary",C.red="red",C.green="green",C.yellow="yellow",C.blue="blue",C.white="white",C.black="black",C))(ap||{});const xqg=fg(s.defineComponent({__name:"DropZone",emits:["files-dropped"],setup(C,{emit:g}){const I=g,e=s.reactive({dragging:!1}),t=u=>u.files&&u.files.length>0?Array.from(u.files):Array.from(u.items??[]).filter(h=>h.kind==="file").map(h=>h.getAsFile()).filter(h=>!!h),i=u=>{var h;return u?(h=u.types)!=null&&h.includes("Files")?!0:Array.from(u.items??[]).some(Z=>Z.kind==="file"):!1},A=u=>{if(u.preventDefault(),e.dragging=!1,!u.dataTransfer)return;const h=t(u.dataTransfer);h.length&&I("files-dropped",h)},n=u=>{u.preventDefault(),e.dragging=!1},l=u=>{u.preventDefault()},o=u=>{u.preventDefault(),i(u.dataTransfer)&&(e.dragging=!0)},a=u=>{u.clientX===0&&u.clientY===0&&(e.dragging=!1)},d=()=>{e.dragging=!1},m=u=>{u.clientX===0&&u.clientY===0&&(e.dragging=!1)};return s.onMounted(()=>{window.addEventListener("dragenter",o),window.addEventListener("dragover",l),window.addEventListener("drop",n),window.addEventListener("dragleave",a),window.addEventListener("dragend",d)}),s.onUnmounted(()=>{window.removeEventListener("dragenter",o),window.removeEventListener("dragover",l),window.removeEventListener("drop",n),window.removeEventListener("dragleave",a),window.removeEventListener("dragend",d)}),(u,h)=>(s.openBlock(),s.createBlock(s.Transition,{name:"drag"},{default:s.withCtx(()=>[e.dragging?(s.openBlock(),s.createElementBlock("div",{key:0,class:"drag-overlay",onDragleave:m,onDragover:h[0]||(h[0]=s.withModifiers(()=>{},["prevent"])),onDrop:s.withModifiers(A,["prevent"])}," Загрузить файл ",32)):s.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-7ae5b2f6"]]),Oqg={class:"editor-component"},Qqg={key:0,class:"editor-component-slot"},Uqg={class:"right-buttons"},Eqg={class:"toolbar"},Pqg={class:"camera-selection"},_qg={class:"camera-selection-options"},YM=s.defineComponent({__name:"ContentEditor",props:s.mergeModels({activeAttachFile:{type:Boolean},activeSelectUser:{type:Boolean},activeSend:{type:Boolean},disableSendOnEnter:{type:Boolean},isMentionModalOpen:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:s.mergeModels(["unmount-send","unmount-attach-file","mention-change"],["update:modelValue"]),setup(C,{expose:g,emit:I}){const e=C,t=s.useModel(C,"modelValue"),i=s.ref(!1),A=s.ref({vertical:"bottom",horizontal:"left"}),n=I,l=s.computed(()=>{var D;return!e.activeSend&&((D=h.value)==null?void 0:D.isEmpty)}),o=s.computed(()=>["emoji-picker",`emoji-picker-${A.value.vertical}`,`emoji-picker-${A.value.horizontal}`,l.value?"":"translateX"]),a=s.ref(null),d=s.ref(!1),m=D=>{d.value=!1,G(!0,D)},u=Jt.create({name:"spanNode",inline:!0,group:"inline",atom:!0,selectable:!1,addAttributes(){return{class:{default:"link"},content:{default:""},userId:{default:null,parseHTML:D=>D.getAttribute("data-user-id"),renderHTML:D=>D.userId?{"data-user-id":D.userId}:{}}}},parseHTML(){return[{tag:"span[data-span]"}]},renderHTML({node:D,HTMLAttributes:z}){return["span",HC(z,{"data-span":"",contenteditable:"false",class:D==null?void 0:D.attrs.class}),D==null?void 0:D.attrs.content]}}),h=j6g({extensions:[B_g.configure({link:!1,bold:!1,italic:!1,strike:!1,heading:!1,bulletList:!1,orderedList:!1,codeBlock:!1,blockquote:!1,underline:!1}),k8g.configure({openOnClick:!1,HTMLAttributes:{class:"link"}}),p_g.configure({placeholder:"Начните печатать...",emptyEditorClass:"is-editor-empty"}),u],content:t.value,editorProps:{handlePaste(D,z){const j=z.clipboardData;if(!j)return!1;if(j.files.length>0&&e.activeAttachFile){const q=Array.from(j.files).every(gg=>gg.type.startsWith("image/")||gg.type.startsWith("video/"));return n("unmount-attach-file",j.files,q),z.preventDefault(),!0}}},onUpdate:({editor:D})=>{if(t.value=D.getHTML(),e.activeSelectUser){const{$from:z}=D.state.selection,j=Math.max(0,z.parentOffset-50),gg=z.parent.textBetween(j,z.parentOffset,null,"").match(/@([^\s]*)$/);gg?n("mention-change",gg[1].toLowerCase()):n("mention-change",null)}},parseOptions:{preserveWhitespace:!0}});s.watch(t,D=>{h!=null&&h.value&&D!==h.value.getHTML()&&h.value.commands.setContent(D??"",{parseOptions:{preserveWhitespace:!0}})});const Z=D=>{h!=null&&h.value&&h.value.chain().focus().insertContent(D.i).run()},G=(D=!1,z)=>{if(!(h!=null&&h.value))return;const j=document.createElement("input");j.type="file",z?(z==="video"?j.accept="video/*":z==="image"?j.accept="image/*":j.accept="image/*,video/*",j.capture="environment",j.multiple=!1):(j.multiple=!0,D&&(j.accept="image/*,video/*")),j.onchange=()=>{j!=null&&j.files&&n("unmount-attach-file",j.files,D)},j.click()},w=D=>{const z=D.every(gg=>gg.type.startsWith("image/")||gg.type.startsWith("video/")),j=new DataTransfer;D.forEach(gg=>j.items.add(gg));const q=j.files;n("unmount-attach-file",q,z)},B=()=>{h!=null&&h.value&&(n("unmount-send",{content:h.value.getHTML()}),h.value.chain().focus())},p=(D,z)=>{if(!(h!=null&&h.value))return;const{$from:j}=h.value.state.selection,q=Math.max(0,j.parentOffset-50),Q=j.parent.textBetween(q,j.parentOffset,null,"").match(/@([^\s]*)$/);if(Q){const _=j.start()+q+(Q.index||0);h.value.chain().focus().insertContentAt({from:_,to:j.pos},{type:"spanNode",attrs:{content:D,class:"link",...z}}).run()}else h.value.chain().focus().insertContent({type:"spanNode",attrs:{content:D,class:"link",...z}}).run()},y=()=>{if(!(h!=null&&h.value))return;const{$from:D}=h.value.state.selection,z=Math.max(0,D.parentOffset-50),q=D.parent.textBetween(z,D.parentOffset,null,"").match(/@([^\s]*)$/);if(q){const gg=D.start()+z+(q.index||0);h.value.chain().focus().deleteRange({from:gg,to:D.pos}).run()}else h.value.chain().focus().insertContent("@").run()},Y=()=>{h!=null&&h.value&&h.value.chain().focus()},R=(D,z=300,j=260)=>{if(!D)return;const q=D.getBoundingClientRect(),gg=window.innerWidth,Q=window.innerHeight;A.value.vertical=q.bottom+j>Q?"top":"bottom",A.value.horizontal=q.left+z>gg?"right":"left"},M=D=>{if(i.value=!i.value,i.value){const z=D.currentTarget;s.nextTick(()=>{R(z)})}},K=()=>{i.value=!1},J=()=>{const D=document.querySelector(".toolbar-button.smile-button");i.value&&D&&R(D)},X=D=>{window.innerWidth<=480||!e.disableSendOnEnter&&D.key==="Enter"&&D.code&&!(D.shiftKey||D.ctrlKey||D.metaKey)&&(D.preventDefault(),D.stopPropagation(),B())};return s.onMounted(()=>{var D,z;(z=(D=h==null?void 0:h.value)==null?void 0:D.view)!=null&&z.dom&&(a.value=h.value.view.dom,window.addEventListener("resize",J),window.addEventListener("scroll",J,!0),a.value.addEventListener("keydown",X,{capture:!0}))}),s.onBeforeUnmount(()=>{var D;(D=h==null?void 0:h.value)==null||D.destroy(),a.value&&a.value.removeEventListener("keydown",X,{capture:!0}),window.removeEventListener("resize",J),window.removeEventListener("scroll",J,!0)}),g({addSpanLink:p,focus:Y,editor:h}),(D,z)=>(s.openBlock(),s.createElementBlock("div",Oqg,[D.$slots.action?(s.openBlock(),s.createElementBlock("div",Qqg,[s.renderSlot(D.$slots,"action")])):s.createCommentVNode("",!0),s.createVNode(Mr,{isWCUse:"",disabled:!e.activeAttachFile,options:[{value:"Камера",function:()=>d.value=!0},{value:"Фото или видео",function:()=>G(!0)},{value:"Файл",function:()=>G(!1)}],translateY:"calc(-100% - 47px)",class:"mobile-item"},{trigger:s.withCtx(()=>[s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button attach-file-button mobile-buttons",disabled:!e.activeAttachFile},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).paperClip},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),s.createVNode(s.unref(v6g),{class:"editor-content",editor:s.unref(h)},null,8,["editor"]),e.activeAttachFile?(s.openBlock(),s.createBlock(xqg,{key:1,onFilesDropped:w})):s.createCommentVNode("",!0),s.createElementVNode("div",Uqg,[s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button mobile-buttons smile-button",onClick:s.withModifiers(M,["stop"])},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).smile},null,8,["name"]),s.withDirectives(s.createElementVNode("div",{onClick:z[0]||(z[0]=s.withModifiers(()=>{},["stop"])),class:s.normalizeClass(o.value)},[s.createVNode(s.unref(Mz),{native:!0,onSelect:Z})],2),[[s.vShow,i.value]])]),_:1},8,["type","size"]),s.withDirectives(s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button right mobile-buttons",onClick:B},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).planeRightFill,width:22,height:22,class:"content-editor__save"},null,8,["name"])]),_:1},8,["type","size"]),[[s.vShow,!l.value]])]),s.createElementVNode("div",Eqg,[s.createVNode(Mr,{isWCUse:"",disabled:!e.activeAttachFile,options:[{value:"Фото или видео",function:()=>G(!0)},{value:"Файл",function:()=>G(!1)}],translateY:"calc(-100% - 47px)"},{trigger:s.withCtx(()=>[s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button attach-file-button",disabled:!e.activeAttachFile},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).paperClip,width:16,height:16},null,8,["name"])]),_:1},8,["type","size","disabled"])]),_:1},8,["disabled","options"]),s.createVNode(sC,{type:s.unref(MI).ghost,size:s.unref(it).small,class:"toolbar-button smile-button",onClick:s.withModifiers(M,["stop"])},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).smile,width:16,height:16},null,8,["name"]),s.withDirectives(s.createElementVNode("div",{onClick:z[1]||(z[1]=s.withModifiers(()=>{},["stop"])),class:s.normalizeClass(o.value)},[s.withDirectives(s.createVNode(s.unref(Mz),{native:!0,onSelect:Z},null,512),[[s.unref(Oc),K,void 0,{bubble:!0}]])],2),[[s.vShow,i.value]])]),_:1},8,["type","size"]),s.createVNode(sC,{disabled:!e.activeSelectUser,type:s.unref(MI).ghost,class:"toolbar-button",size:s.unref(it).small,onClick:y},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).atSign,width:16,height:16},null,8,["name"])]),_:1},8,["disabled","type","size"]),s.createCommentVNode("",!0),s.createVNode(sC,{disabled:l.value,class:"toolbar-button right",size:s.unref(it).small,onClick:B},{default:s.withCtx(()=>[s.createVNode(Xg,{name:s.unref(ug).planeRight,color:s.unref(ap).white,width:16,height:16},null,8,["name","color"])]),_:1},8,["disabled","size"])]),d.value?(s.openBlock(),s.createBlock(xS,{key:2,open:d.value,onClose:z[4]||(z[4]=j=>d.value=!1),position:"center",width:"320px",height:"auto"},{default:s.withCtx(()=>[s.createElementVNode("div",Pqg,[z[7]||(z[7]=s.createElementVNode("div",{class:"camera-selection-header"},"Выберите действие",-1)),s.createElementVNode("div",_qg,[s.createVNode(sC,{type:s.unref(MI).outline,onClick:z[2]||(z[2]=j=>m("image")),class:"camera-selection-item"},{default:s.withCtx(()=>[...z[5]||(z[5]=[s.createTextVNode(" Сделать фото ",-1)])]),_:1},8,["type"]),s.createVNode(sC,{type:s.unref(MI).outline,onClick:z[3]||(z[3]=j=>m("video")),class:"camera-selection-item"},{default:s.withCtx(()=>[...z[6]||(z[6]=[s.createTextVNode(" Записать видео ",-1)])]),_:1},8,["type"])])])]),_:1},8,["open"])):s.createCommentVNode("",!0)]))}}),$qg=["data-testid"],qqg=["data-testid"],ggI=fg(s.defineComponent({name:"BaseCropper",__name:"BaseCropper",props:{image:{},max:{default:3},min:{default:1},step:{default:.5}},emits:["unmount-scale"],setup(C,{expose:g,emit:I}){const e=C,t=I,i=s.useTemplateRef("canvas"),A=s.useTemplateRef("container"),n=s.reactive({ctx:null,image:null,id:s.useId(),scale:1,position:{x:0,y:0},isDragging:!1,startX:0,startY:0,minScale:e.min,maxScale:e.max,stepScale:e.step});s.watch(()=>e.image,()=>{e.image&&d(e.image)});const l=()=>{i.value&&(n.ctx=i.value.getContext("2d")),o(),window.addEventListener("resize",o)},o=()=>{if(A.value){const{width:R,height:M}=A.value.getBoundingClientRect();i.value&&(i.value.width=R,i.value.height=M),n.image&&a()}},a=()=>{if(n.image){const R=n.ctx,M=i.value;R&&M&&(R.clearRect(0,0,M.width,M.height),R.drawImage(n.image,n.position.x,n.position.y,n.image.width*n.scale,n.image.height*n.scale))}},d=R=>{const M=new FileReader;M.onload=async K=>{var J;typeof((J=K.target)==null?void 0:J.result)=="string"&&(n.image=new Image,n.image.src=K.target.result,n.image.onload=async()=>{if(await s.nextTick(),i.value&&n.image){const X=i.value.width,D=i.value.height,z=n.image.width/n.image.height,j=X/D;z>j?(n.image.width=X,n.image.height=X/z):(n.image.height=D,n.image.width=D*z),o(),n.position.x=(i.value.width-n.image.width)/2,n.position.y=(i.value.height-n.image.height)/2,a()}})},M.readAsDataURL(R)},m=R=>{n.isDragging=!0,n.startX=R.clientX-n.position.x,n.startY=R.clientY-n.position.y,window.addEventListener("mousemove",u),window.addEventListener("mouseup",h)},u=R=>{if(!n.isDragging&&!i.value)return;let M=R.clientX-n.startX,K=R.clientY-n.startY;if(i.value&&n.image){const J=i.value.width-n.image.width*n.scale;n.image.width*n.scale<i.value.width?M=Math.min(Math.max(M,0),i.value.width-n.image.width*n.scale):(M>0&&(M=0),M<J&&(M=J));const X=i.value.height-n.image.height*n.scale;n.image.height*n.scale<i.value.height?K=Math.min(Math.max(K,0),i.value.height-n.image.height*n.scale):(K>0&&(K=0),K<X&&(K=X)),n.position.x=M,n.position.y=K}a()},h=()=>{n.isDragging=!1,window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",h)},Z=R=>Math.max(n.minScale,Math.min(R,n.maxScale)),G=R=>{if(i.value){const M=i.value.width/2,K=i.value.height/2;n.position.x=M-(M-n.position.x)*R,n.position.y=K-(K-n.position.y)*R}},w=R=>{const M=n.scale,K=n.scale+R.deltaY*-.001;if(M===Z(K))return;n.scale=Z(K);const J=K/M;G(J),t("unmount-scale",n.scale),a()};return g({cropImage:()=>{if(A.value){const{width:R,height:M}=A.value.getBoundingClientRect(),K=document.createElement("canvas");K.width=R,K.height=M;const J=K.getContext("2d");J&&n.image&&J.drawImage(n.image,n.position.x,n.position.y,n.image.width*n.scale,n.image.height*n.scale);const X=K.toDataURL("image/png"),D=atob(X.split(",")[1]),z=new ArrayBuffer(D.length),j=new Uint8Array(z);for(let gg=0;gg<D.length;gg++)j[gg]=D.charCodeAt(gg);const q=new Blob([j],{type:"image/png"});return e.image?new File([q],e.image.name,{type:"image/png"}):null}return null},scalePlus:()=>{const R=n.scale+n.stepScale;n.scale=Z(R),a()},scaleMinus:()=>{const R=n.scale-n.stepScale;n.scale=Z(R),a()},setScale:R=>{const M=n.scale,J=R/M;n.scale=Z(R),G(J),a()},startMove:m,scaleImage:w}),s.onMounted(()=>{l(),e.image&&d(e.image)}),(R,M)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"container",ref:A,class:"base-cropper","data-testid":`BaseCropper-${n.id}`},[s.createElementVNode("canvas",{ref_key:"canvas",ref:i,class:"base-cropper__canvas","data-testid":`BaseCropper-${n.id}-canvas`,onMousedown:m,onWheel:s.withModifiers(w,["prevent"])},null,40,qqg)],8,$qg))}}),[["__scopeId","data-v-df483607"]]),IgI=C=>{const g=s.ref(C==null?void 0:C.defaultValue),I=C==null?void 0:C.min,e=C==null?void 0:C.max,t=C==null?void 0:C.step;s.watch(g,A=>{g.value=i(A)});const i=A=>Math.max(I,Math.min(A,e));return{value:g,min:I,max:e,step:t,getCorrectValue:i}},CgI=(C,g)=>new File([C],g,{type:C.type}),egI=["data-testid"],tgI=["data-testid"],igI=["data-testid"],AgI=["data-testid"],ngI=["data-testid"],lgI=["data-testid"],VM=fg(s.defineComponent({name:"ModalCroppedAvatar",__name:"ModalCroppedAvatar",props:{image:{},open:{type:Boolean},position:{default:"center"},width:{default:"650px"},height:{default:"auto"},disableCloseOnOutsideClick:{type:Boolean},isResetFocus:{type:Boolean},dataTestid:{}},emits:["unmount-close","unmount-save"],setup(C,{emit:g}){const I=C,e=g,{max:t,min:i,step:A,value:n}=IgI({defaultValue:1,max:3,min:1,step:.1}),l=s.useId(),o=s.useTemplateRef("cropper"),a=s.reactive({openModal:!1});s.watch(n,()=>{o.value&&o.value.setScale(n.value)});const d=()=>{a.openModal=!1,e("unmount-close")},m=G=>{n.value=G},u=()=>{n.value=n.value-A},h=()=>{n.value=n.value+A},Z=()=>{if(o.value){const G=o.value.cropImage();if(G){const w=G.name,B=CgI(G,w);e("unmount-save",B),d()}}};return s.onUnmounted(()=>{d()}),s.onMounted(()=>{I.open===void 0&&(a.openModal=I.open)}),(G,w)=>(s.openBlock(),s.createBlock(C0,s.mergeProps(I,{class:"modal-cropped-avatar","data-testid":`ModalCroppedAvatar-${s.unref(l)}`,onClose:d}),{default:s.withCtx(()=>[s.createElementVNode("div",{class:"modal-cropped-avatar__content","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content`},[s.createElementVNode("div",{class:"modal-cropped-avatar__title","data-testid":`ModalCroppedAvatar-${s.unref(l)}-title`}," Изменение фото профиля ",8,tgI),s.createElementVNode("div",{class:"modal-cropped-avatar__main","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-main`},[s.createElementVNode("div",{class:"modal-cropped-avatar__cropped","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-main-cropped`},[s.createVNode(ggI,{ref_key:"cropper",ref:o,image:C.image,max:s.unref(t),min:s.unref(i),step:s.unref(A),class:"modal-cropped-avatar__cropper",onUnmountScale:m},null,8,["image","max","min","step"]),s.createElementVNode("div",{class:"modal-cropped-avatar__tools","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-tools`},[s.createVNode(Xg,{name:s.unref(ug).minus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-iconMinus`,onClick:u},null,8,["name","data-testid"]),s.createVNode(KW,{max:s.unref(t),min:s.unref(i),step:s.unref(A),modelValue:s.unref(n),"onUpdate:modelValue":w[0]||(w[0]=B=>s.isRef(n)?n.value=B:null),"data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-Range`},null,8,["max","min","step","modelValue","data-testid"]),s.createVNode(Xg,{name:s.unref(ug).plus,class:"modal-cropped-avatar__icon","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-IconPlus`,onClick:h},null,8,["name","data-testid"])],8,ngI)],8,AgI),s.createElementVNode("div",{class:"modal-cropped-avatar__buttons","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-buttons`},[s.createVNode(sC,{type:s.unref(MI).outline,class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-ButtonCancel`,onClick:d},{default:s.withCtx(()=>[...w[1]||(w[1]=[s.createTextVNode(" Отменить ",-1)])]),_:1},8,["type","data-testid"]),s.createVNode(sC,{class:"modal-cropped-avatar__button","data-testid":`ModalCroppedAvatar-${s.unref(l)}-content-buttonSave`,onClick:Z},{default:s.withCtx(()=>[...w[2]||(w[2]=[s.createTextVNode(" Сохранить ",-1)])]),_:1},8,["data-testid"])],8,lgI)],8,igI)],8,egI)]),_:1},16,["data-testid"]))}}),[["__scopeId","data-v-65b5d91e"]]),NM={install(C,g={enabled:!0}){if(!(g.enabled??!1)){console.info("[removeDataTestidPlugin] Plugin is disabled.");return}const e=t=>{t.removeAttribute("data-testid"),Array.from(t.children).forEach(e)};C.mixin({mounted(){e(this.$el)}})}},sgI=["src"],MM=s.defineComponent({name:"ImagePreview",__name:"ImagePreview",props:{src:{}},emits:["error"],setup(C,{expose:g,emit:I}){const e=C,t=I,i=s.reactive({isError:!1,rotate:0});s.watch(()=>e.src,()=>{i.isError=!1,i.rotate=0,s.nextTick(()=>{n()})});const A=s.ref(null),n=async()=>{try{if(!A.value||!e.src)return;const o=new Image;o.src=e.src,o.addEventListener("load",()=>{var Z;if(!A.value)return;const a=(Z=A.value)==null?void 0:Z.getContext("2d");if(!a)return;const d=o.width,m=o.height;let u=d,h=m;i.rotate%180!==0&&(u=m,h=d),A.value.width=u,A.value.height=h,a.save(),a.clearRect(0,0,u,h),a.translate(u/2,h/2),a.rotate(i.rotate*Math.PI/180),a.drawImage(o,-d/2,-m/2,d,m),a.restore()}),o.addEventListener("error",a=>{i.isError=!0,t("error",a)})}catch{t("error",new Event("error")),i.isError=!0}},l=async o=>{const a=Math.round(o/90)*90;i.rotate+=a,s.nextTick(()=>{n()})};return s.onMounted(()=>{s.nextTick(()=>{n()})}),g({rotateImage:l}),(o,a)=>i.isError?(s.openBlock(),s.createElementBlock("img",{key:1,src:s.unref(hn)},null,8,sgI)):(s.openBlock(),s.createElementBlock("canvas",{key:0,ref_key:"canvasRef",ref:A,class:"image-preview"},null,512))}}),Rz={Accordion:gV,Badges:ve,BreadCrumbs:Iy,Dialog:Dw,DragAndDrop:IV,Card:CV,Combobox:tV,Calendar:qY,Button:sC,Switch:DG,SelectList:Qc,Dropdown:by,Textarea:uN,Filter:eV,Icon:Xg,Input:AV,InputNumber:Gh,Picture:bN,PushNotification:ZN,Scroll:aN,Search:Hh,Modal:C0,Slider:oN,Checkbox:dN,Toggle:yW,UserMenu:mN,CopyIcon:GN,Loader:i0,FilterTag:wN,CircularProgress:WN,Popover:Mr,Table:BN,TableNew:VN,TableSimple:MN,TableRow:SW,TableRowNew:NN,TableTd:d0,TableTh:Rr,SectionTableRow:pN,HeadTableRow:o0,HeadTableRowNew:kW,ScrollWrapper:a0,ScrollWrapperNew:SQg,Radio:yN,Tooltip:s0,BaseFilter:YN,Range:KW,Tabs:RN,ContentEditor:YM,ModalCroppedAvatar:VM,Avatar:fW,TimePicker:Sw,SliderModal:pW,PdfPreview:dl,ImagePreview:MM,VideoPreview:e0,Skeleton:DW},fz=Object.freeze(Object.defineProperty({__proto__:null,Accordion:gV,Avatar:fW,Badges:ve,BadgesTypeEnum:pI,BaseFilter:YN,BreadCrumbs:Iy,Button:sC,ButtonTypeEnum:MI,Calendar:qY,Card:CV,Checkbox:dN,CheckboxCircularEnum:RW,CheckboxSizeEnum:MW,CircularProgress:WN,ColorsEnum:ap,Combobox:tV,ContentEditor:YM,CopyIcon:GN,Dialog:Dw,DragAndDrop:IV,Dropdown:by,Filter:eV,FilterTag:wN,HeadTableRow:o0,HeadTableRowNew:kW,Icon:Xg,IconNameEnum:ug,ImageExtensionsEnum:Sh,ImagePreview:MM,Input:AV,InputNumber:Gh,InputTypeEnum:iV,Loader:i0,MenuTypeEnum:QI,MessageTypeEnum:HW,Modal:C0,ModalCroppedAvatar:VM,PdfPreview:dl,Picture:bN,Popover:Mr,PushNotification:ZN,Radio:yN,Range:KW,Scroll:aN,ScrollWrapper:a0,Search:Hh,SectionTableRow:pN,SelectList:Qc,SizesEnum:it,Skeleton:DW,Slider:oN,SliderModal:pW,Switch:DG,Table:BN,TableNew:VN,TableRow:SW,TableRowNew:NN,TableSimple:MN,TableTd:d0,TableTh:Rr,Tabs:RN,TextFieldEnum:xw,Textarea:uN,TextareaTypeEnum:XW,TimePicker:Sw,Toggle:yW,Tooltip:s0,UserMenu:mN,VideoExtensionsEnum:Kh,VideoPreview:e0,default:{install:C=>{Object.keys(Rz).forEach(g=>{C.component("Y"+g,Rz[g])})}},getFirstTime:JD,getLastTime:vw,vuePluginRemoveTestid:NM},Symbol.toStringTag,{value:"Module"})),ogI={install(C){for(const g in fz){const I=fz[g];C.use(I).use(NM,{enabled:!1})}}};P.Accordion=gV,P.Avatar=fW,P.Badges=ve,P.BadgesTypeEnum=pI,P.BaseFilter=YN,P.BreadCrumbs=Iy,P.Button=sC,P.ButtonTypeEnum=MI,P.Calendar=qY,P.Card=CV,P.Checkbox=dN,P.CheckboxCircularEnum=RW,P.CheckboxSizeEnum=MW,P.CircularProgress=WN,P.ColorsEnum=ap,P.Combobox=tV,P.ContentEditor=YM,P.CopyIcon=GN,P.Dialog=Dw,P.DragAndDrop=IV,P.Dropdown=by,P.Filter=eV,P.FilterTag=wN,P.HeadTableRow=o0,P.HeadTableRowNew=kW,P.Icon=Xg,P.IconNameEnum=ug,P.ImageExtensionsEnum=Sh,P.ImagePreview=MM,P.Input=AV,P.InputNumber=Gh,P.InputTypeEnum=iV,P.Loader=i0,P.MenuTypeEnum=QI,P.MessageTypeEnum=HW,P.Modal=C0,P.ModalCroppedAvatar=VM,P.OnClickOutside=LO,P.OnLongPress=OO,P.PdfPreview=dl,P.Picture=bN,P.Popover=Mr,P.PushNotification=ZN,P.Radio=yN,P.Range=KW,P.Scroll=aN,P.ScrollWrapper=a0,P.Search=Hh,P.SectionTableRow=pN,P.SelectList=Qc,P.SizesEnum=it,P.Skeleton=DW,P.Slider=oN,P.SliderModal=pW,P.Switch=DG,P.Table=BN,P.TableNew=VN,P.TableRow=SW,P.TableRowNew=NN,P.TableSimple=MN,P.TableTd=d0,P.TableTh=Rr,P.Tabs=RN,P.TextFieldEnum=xw,P.Textarea=uN,P.TextareaTypeEnum=XW,P.TimePicker=Sw,P.Toggle=yW,P.Tooltip=s0,P.UseActiveElement=QO,P.UseBattery=UO,P.UseBrowserLocation=EO,P.UseClipboard=PO,P.UseColorMode=nQ,P.UseDark=lQ,P.UseDeviceMotion=sQ,P.UseDeviceOrientation=oQ,P.UseDevicePixelRatio=aQ,P.UseDevicesList=dQ,P.UseDocumentVisibility=cQ,P.UseDraggable=rQ,P.UseElementBounding=mQ,P.UseElementSize=hQ,P.UseElementVisibility=GQ,P.UseEyeDropper=WQ,P.UseFullscreen=BQ,P.UseGeolocation=pQ,P.UseIdle=yQ,P.UseImage=MQ,P.UseMouse=XQ,P.UseMouseInElement=HQ,P.UseMousePressed=DQ,P.UseNetwork=SQ,P.UseNow=KQ,P.UseObjectUrl=kQ,P.UseOffsetPagination=FQ,P.UseOnline=zQ,P.UsePageLeave=JQ,P.UsePointer=LQ,P.UsePointerLock=TQ,P.UsePreferredColorScheme=vQ,P.UsePreferredContrast=jQ,P.UsePreferredDark=xQ,P.UsePreferredLanguages=OQ,P.UsePreferredReducedMotion=QQ,P.UseScreenSafeArea=_Q,P.UseTimeAgo=eU,P.UseTimestamp=tU,P.UseVirtualList=iU,P.UseWindowFocus=AU,P.UseWindowSize=nU,P.UserMenu=mN,P.VOnClickOutside=Oc,P.VOnLongPress=Xf,P.VideoExtensionsEnum=Kh,P.VideoPreview=e0,P.VueToolsCore=$Jg,P.arrow=dTg,P.autoPlacement=DD,P.autoUpdate=XD,P.computePosition=SD,P.default=ogI,P.detectOverflow=eTg,P.flip=iTg,P.getFirstTime=JD,P.getLastTime=vw,P.getOverflowAncestors=mr,P.hide=nTg,P.inline=sTg,P.limitShift=oTg,P.offset=HD,P.platform=RD,P.shift=tTg,P.size=ATg,P.useFloating=FD,P.useSearch=LD,P.vElementHover=uQ,P.vElementSize=ZQ,P.vElementVisibility=wQ,P.vInfiniteScroll=RQ,P.vIntersectionObserver=fQ,P.vOnClickOutside=Oc,P.vOnKeyStroke=vO,P.vOnLongPress=Xf,P.vResizeObserver=UQ,P.vScroll=$Q,P.vScrollLock=CU,P.vuePluginRemoveTestid=NM,Object.defineProperties(P,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|