1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f928-d677-77e2-97cc-2d081e1fbdd0")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,259630,e=>{"use strict";let t;var n=e.i(748604),a=e.i(133188),o=e.i(916361),r=e.i(3970),s=e.i(766271),i=e.i(246772),l=e.i(259864),c=e.i(51449),p=e.i(578889),d=class extends p.Subscribable{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let a=new c.Mutation({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(a),a}add(e){this.#e.add(e);let t=u(e);if("string"==typeof t){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){let t=u(e);if("string"==typeof t){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=u(e);if("string"!=typeof t)return!0;{let n=this.#t.get(t),a=n?.find(e=>"pending"===e.state.status);return!a||a===e}}runNext(e){let t=u(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#t.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){l.notifyManager.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,s.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,s.matchMutation)(e,t))}notify(e){l.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return l.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(s.noop))))}};function u(e){return e.options.scope?.id}var m=e.i(82679),h=e.i(60045);function f(e){return{onFetch:(t,n)=>{let a=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,r=t.state.data?.pages||[],i=t.state.data?.pageParams||[],l={pages:[],pageParams:[]},c=0,p=async()=>{let n=!1,p=(0,s.ensureQueryFn)(t.options,t.fetchOptions),d=async(e,a,o)=>{let r;if(n)return Promise.reject();if(null==a&&e.pages.length)return Promise.resolve(e);let i=(r={client:t.client,queryKey:t.queryKey,pageParam:a,direction:o?"backward":"forward",meta:t.options.meta},(0,s.addConsumeAwareSignal)(r,()=>t.signal,()=>n=!0),r),l=await p(i),{maxPages:c}=t.options,d=o?s.addToStart:s.addToEnd;return{pages:d(e.pages,l,c),pageParams:d(e.pageParams,a,c)}};if(o&&r.length){let e="backward"===o,t={pages:r,pageParams:i},n=(e?function(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}:g)(a,t);l=await d(t,n,e)}else{let t=e??r.length;do{let e=0===c?i[0]??a.initialPageParam:g(a,l);if(c>0&&null==e)break;l=await d(l,e),c++}while(c<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=p}}}function g(e,{pages:t,pageParams:n}){let a=t.length-1;return t.length>0?e.getNextPageParam(t[a],t,n[a],n):void 0}var b=class{#a;#o;#r;#s;#i;#l;#c;#p;constructor(e={}){this.#a=e.queryCache||new i.QueryCache,this.#o=e.mutationCache||new d,this.#r=e.defaultOptions||{},this.#s=new Map,this.#i=new Map,this.#l=0}mount(){this.#l++,1===this.#l&&(this.#c=m.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#a.onFocus())}),this.#p=h.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#a.onOnline())}))}unmount(){this.#l--,0===this.#l&&(this.#c?.(),this.#c=void 0,this.#p?.(),this.#p=void 0)}isFetching(e){return this.#a.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#o.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#a.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#a.build(this,t),a=n.state.data;return void 0===a?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,s.resolveStaleTime)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return this.#a.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let a=this.defaultQueryOptions({queryKey:e}),o=this.#a.get(a.queryHash),r=o?.state.data,i=(0,s.functionalUpdate)(t,r);if(void 0!==i)return this.#a.build(this,a).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return l.notifyManager.batch(()=>this.#a.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#a.get(t.queryHash)?.state}removeQueries(e){let t=this.#a;l.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#a;return l.notifyManager.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(l.notifyManager.batch(()=>this.#a.findAll(e).map(e=>e.cancel(n)))).then(s.noop).catch(s.noop)}invalidateQueries(e,t={}){return l.notifyManager.batch(()=>(this.#a.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(l.notifyManager.batch(()=>this.#a.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(s.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}
1))).then(s.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#a.build(this,t);return n.isStaleByTime((0,s.resolveStaleTime)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(s.noop).catch(s.noop)}fetchInfiniteQuery(e){return e.behavior=f(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(s.noop).catch(s.noop)}ensureInfiniteQueryData(e){return e.behavior=f(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return h.onlineManager.isOnline()?this.#o.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#a}getMutationCache(){return this.#o}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,t){this.#s.set((0,s.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#s.values()],n={};return t.forEach(t=>{(0,s.partialMatchKey)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set((0,s.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{(0,s.partialMatchKey)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#r.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,s.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===s.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#a.clear(),this.#o.clear()}},v=e.i(12627);function y(){return new b({defaultOptions:{queries:{staleTime:6e4,throwOnError:!0,retry:s.isServer?0:(e,t)=>!(0,o.isExpectedClientError)(t)&&e<3},dehydrate:{serializeData:v.serialize,shouldDehydrateQuery:e=>(0,r.defaultShouldDehydrateQuery)(e)||"pending"===e.state.status,shouldRedactErrors:()=>!1},hydrate:{deserializeData:v.deserialize}}})}let{TRPCReactProvider:j,useTRPC:k}=(0,a.makeBrowserClient)({getQueryClient:()=>s.isServer?y():(t||(t=y()),t),getUrl:()=>s.isServer?`${n.default.env.WEB_URL}/api/trpc`:"/api/trpc"});e.s(["TRPCReactProvider",0,j,"useTRPC",0,k],259630)},291967,520213,74883,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),!1===n||!a.defaultPrevented)return t?.(a)}}],291967);var t=e.i(564946),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n],520213),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var a=t[" useInsertionEffect ".trim().toString()]||n;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:o=()=>{},caller:r}){let[s,i,l]=function({defaultProp:e,onChange:n}){let[o,r]=t.useState(e),s=t.useRef(o),i=t.useRef(n);return a(()=>{i.current=n},[n]),t.useEffect(()=>{s.current!==o&&(i.current?.(o),s.current=o)},[o,s]),[o,r,i]}({defaultProp:n,onChange:o}),c=void 0!==e,p=c?e:s;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=c},[c,r])}return[p,t.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else i(t)},[c,e,i,l])]}],74883)},151467,487941,e=>{"use strict";var t=e.i(564946),n=e.i(305153),a=e.i(463697),o=e.i(515800),r=e.i(485846);e.s(["createCollection",0,function(e){let s=e+"CollectionProvider",[i,l]=(0,n.createContextScope)(s),[c,p]=i(s,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:n,children:a}=e,o=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,r.jsx)(c,{scope:n,itemMap:s,collectionRef:o,children:a})};d.displayName=s;let u=e+"CollectionSlot",m=(0,o.createSlot)(u),h=t.default.forwardRef((e,t)=>
1{let{scope:n,children:o}=e,s=p(u,n),i=(0,a.useComposedRefs)(t,s.collectionRef);return(0,r.jsx)(m,{ref:i,children:o})});h.displayName=u;let f=e+"CollectionItemSlot",g="data-radix-collection-item",b=(0,o.createSlot)(f),v=t.default.forwardRef((e,n)=>{let{scope:o,children:s,...i}=e,l=t.default.useRef(null),c=(0,a.useComposedRefs)(n,l),d=p(f,o);return t.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...i}),()=>void d.itemMap.delete(l))),(0,r.jsx)(b,{...{[g]:""},ref:c,children:s})});return v.displayName=f,[{Provider:d,Slot:h,ItemSlot:v},function(n){let a=p(e+"CollectionConsumer",n);return t.default.useCallback(()=>{let e=a.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(a.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[a.collectionRef,a.itemMap])},l]}],151467);var s=t.createContext(void 0);e.s(["useDirection",0,function(e){let n=t.useContext(s);return e||n||"ltr"}],487941)},305153,e=>{"use strict";var t=e.i(564946),n=e.i(485846);e.s(["createContext",0,function(e,a){let o=t.createContext(a),r=e=>{let{children:a,...r}=e,s=t.useMemo(()=>r,Object.values(r));return(0,n.jsx)(o.Provider,{value:s,children:a})};return r.displayName=e+"Provider",[r,function(n){let r=t.useContext(o);if(r)return r;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,a=[]){let o=[],r=()=>{let n=o.map(e=>t.createContext(e));return function(a){let o=a?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...a,[e]:o}}),[a,o])}};return r.scopeName=e,[function(a,r){let s=t.createContext(r),i=o.length;o=[...o,r];let l=a=>{let{scope:o,children:r,...l}=a,c=o?.[e]?.[i]||s,p=t.useMemo(()=>l,Object.values(l));return(0,n.jsx)(c.Provider,{value:p,children:r})};return l.displayName=a+"Provider",[l,function(n,o){let l=o?.[e]?.[i]||s,c=t.useContext(l);if(c)return c;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${a}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let a=()=>{let a=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=a.reduce((t,{useScope:n,scopeName:a})=>{let o=n(e)[`__scope${a}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return a.scopeName=n.scopeName,a}(r,...a)]}])},571831,906390,e=>{"use strict";var t=e.i(564946),n=e.i(291967),a=e.i(463697),o=e.i(305153),r=e.i(469466),s=e.i(74883),i=e.i(179277),l=e.i(741922),c=e.i(873700),p=e.i(697586),d=e.i(411273),u=e.i(353703),m=e.i(952551),h=e.i(73772),f=e.i(515800),g=e.i(485846),b="Dialog",[v,y]=(0,o.createContextScope)(b),[j,k]=v(b),w=e=>{let{__scopeDialog:n,children:a,open:o,defaultOpen:i,onOpenChange:l,modal:c=!0}=e,p=t.useRef(null),d=t.useRef(null),[u,m]=(0,s.useControllableState)({prop:o,defaultProp:i??!1,onChange:l,caller:b});return(0,g.jsx)(j,{scope:n,triggerRef:p,contentRef:d,contentId:(0,r.useId)(),titleId:(0,r.useId)(),descriptionId:(0,r.useId)(),open:u,onOpenChange:m,onOpenToggle:t.useCallback(()=>m(e=>!e),[m]),modal:c,children:a})};w.displayName=b;var _="DialogTrigger",E=t.forwardRef((e,t)=>{let{__scopeDialog:o,...r}=e,s=k(_,o),i=(0,a.useComposedRefs)(t,s.triggerRef);return(0,g.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":q(s.open),...r,ref:i,onClick:(0,n.composeEventHandlers)(e.onClick,s.onOpenToggle)})});E.displayName=_;var D="DialogPortal",[T,I]=v(D,{forceMount:void 0}),x=e=>{let{__scopeDialog:n,forceMount:a,children:o,container:r}=e,s=k(D,n);return(0,g.jsx)(T,{scope:n,forceMount:a,children:t.Children.map(o,e=>(0,g.jsx)(p.Presence,{present:a||s.open,children:(0,g.jsx)(c.Portal,{asChild:!0,container:r,children:e})}))})};x.displayName=D;var C="DialogOverlay",S=t.forwardRef((e,t)=>{let n=I(C,e.__scopeDialog),{forceMount:a=n.forceMount,...o}=e,r=k(C,e.__scopeDialog);return r.modal?(0,g.jsx)(p.Presence,{present:a||r.open,children:(0,g.jsx)(N,{...o,ref:t})}):null});S.displayName=C;var A=(0,f.createSlot)("DialogOverlay.RemoveScroll"),N=t.forwardRef((e,t)=>{let{__scopeDialog:n,...a}=e,o=k(C,n);return(0,g.jsx)(m.RemoveScroll,{as:A,allowPinchZoom:!0,shards:[o.contentRef],children:(0,g.jsx)(d.Primitive.div,{"data-state":q(o.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),M="DialogContent",O=t.forwardRef((e,t)=>
1{let n=I(M,e.__scopeDialog),{forceMount:a=n.forceMount,...o}=e,r=k(M,e.__scopeDialog);return(0,g.jsx)(p.Presence,{present:a||r.open,children:r.modal?(0,g.jsx)(R,{...o,ref:t}):(0,g.jsx)(F,{...o,ref:t})})});O.displayName=M;var R=t.forwardRef((e,o)=>{let r=k(M,e.__scopeDialog),s=t.useRef(null),i=(0,a.useComposedRefs)(o,r.contentRef,s);return t.useEffect(()=>{let e=s.current;if(e)return(0,h.hideOthers)(e)},[]),(0,g.jsx)(P,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),F=t.forwardRef((e,n)=>{let a=k(M,e.__scopeDialog),o=t.useRef(!1),r=t.useRef(!1);return(0,g.jsx)(P,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||a.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,r.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(r.current=!0));let n=t.target;a.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&r.current&&t.preventDefault()}})}),P=t.forwardRef((e,n)=>{let{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:c,...p}=e,d=k(M,o),m=t.useRef(null),h=(0,a.useComposedRefs)(n,m);return(0,u.useFocusGuards)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:c,children:(0,g.jsx)(i.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":q(d.open),...p,ref:h,onDismiss:()=>d.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Y,{titleId:d.titleId}),(0,g.jsx)(K,{contentRef:m,descriptionId:d.descriptionId})]})]})}),L="DialogTitle",B=t.forwardRef((e,t)=>{let{__scopeDialog:n,...a}=e,o=k(L,n);return(0,g.jsx)(d.Primitive.h2,{id:o.titleId,...a,ref:t})});B.displayName=L;var H="DialogDescription",U=t.forwardRef((e,t)=>{let{__scopeDialog:n,...a}=e,o=k(H,n);return(0,g.jsx)(d.Primitive.p,{id:o.descriptionId,...a,ref:t})});U.displayName=H;var z="DialogClose",$=t.forwardRef((e,t)=>{let{__scopeDialog:a,...o}=e,r=k(z,a);return(0,g.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,()=>r.onOpenChange(!1))})});function q(e){return e?"open":"closed"}$.displayName=z;var V="DialogTitleWarning",[W,G]=(0,o.createContext)(V,{contentName:M,titleName:L,docsSlug:"dialog"}),Y=({titleId:e})=>{let n=G(V),a=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},K=({contentRef:e,descriptionId:n})=>{let a=G("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${a.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");n&&t&&(document.getElementById(n)||console.warn(o))},[o,e,n]),null};e.s(["Close",0,$,"Content",0,O,"Description",0,U,"Dialog",0,w,"DialogClose",0,$,"DialogContent",0,O,"DialogDescription",0,U,"DialogOverlay",0,S,"DialogPortal",0,x,"DialogTitle",0,B,"DialogTrigger",0,E,"Overlay",0,S,"Portal",0,x,"Root",0,w,"Title",0,B,"Trigger",0,E,"WarningProvider",0,W,"createDialogScope",0,y],906390);var Q=e.i(906390);e.s(["Dialog",0,Q],571831)},179277,322239,e=>{"use strict";var t,n=e.i(564946),a=e.i(291967),o=e.i(411273),r=e.i(463697);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}e.s(["useCallbackRef",0,s],322239);var i=e.i(485846),l="dismissableLayer.update",c=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=n.forwardRef((e,p)=>{let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:g,onInteractOutside:b,onDismiss:v,...y}=e,j=n.useContext(c),[k,w]=n.useState(null),_=k?.ownerDocument??globalThis?.document,[,E]=n.useState({}),D=(0,r.useComposedRefs)(p,e=>w(e)),T=Array.from(j.layers),[I]=[...j.layersWithOutsidePointerEventsDisabled].slice(-1),x=T.indexOf(I),C=k?T.indexOf(k):-1,S=j.layersWithOutsidePointerEventsDisabled.size>0,A=C>=x,N=function(e,t=globalThis?.document){let a=s(e),o=n.useRef(!1),r=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>
5{if(e.target&&!o.current){let n=function(){u("dismissableLayer.pointerDownOutside",a,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",r.current),r.current=n,t.addEventListener("click",r.current,{once:!0})):n()}else t.removeEventListener("click",r.current);o.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",r.current)}},[t,a]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...j.branches].some(e=>e.contains(t));A&&!n&&(f?.(e),b?.(e),e.defaultPrevented||v?.())},_),M=function(e,t=globalThis?.document){let a=s(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!o.current&&u("dismissableLayer.focusOutside",a,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,a]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...j.branches].some(e=>e.contains(t))&&(g?.(e),b?.(e),e.defaultPrevented||v?.())},_);return!function(e,t=globalThis?.document){let a=s(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&a(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[a,t])}(e=>{C===j.layers.size-1&&(h?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},_),n.useEffect(()=>{if(k)return m&&(0===j.layersWithOutsidePointerEventsDisabled.size&&(t=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),j.layersWithOutsidePointerEventsDisabled.add(k)),j.layers.add(k),d(),()=>{m&&1===j.layersWithOutsidePointerEventsDisabled.size&&(_.body.style.pointerEvents=t)}},[k,_,m,j]),n.useEffect(()=>()=>{k&&(j.layers.delete(k),j.layersWithOutsidePointerEventsDisabled.delete(k),d())},[k,j]),n.useEffect(()=>{let e=()=>E({});return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,i.jsx)(o.Primitive.div,{...y,ref:D,style:{pointerEvents:S?A?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.composeEventHandlers)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,a.composeEventHandlers)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,a.composeEventHandlers)(e.onPointerDownCapture,N.onPointerDownCapture)})});function d(){let e=new CustomEvent(l);document.dispatchEvent(e)}function u(e,t,n,{discrete:a}){let r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),a?(0,o.dispatchDiscreteCustomEvent)(r,s):r.dispatchEvent(s)}p.displayName="DismissableLayer",n.forwardRef((e,t)=>{let a=n.useContext(c),s=n.useRef(null),l=(0,r.useComposedRefs)(t,s);return n.useEffect(()=>{let e=s.current;if(e)return a.branches.add(e),()=>{a.branches.delete(e)}},[a.branches]),(0,i.jsx)(o.Primitive.div,{...e,ref:l})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,p],179277)},353703,e=>{"use strict";var t=e.i(564946),n=0;function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??a()),document.body.insertAdjacentElement("beforeend",e[1]??a()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}])},741922,e=>{"use strict";let t;var n=e.i(564946),a=e.i(463697),o=e.i(411273),r=e.i(322239),s=e.i(485846),i="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},p=n.forwardRef((e,t)=>{let{loop:p=!1,trapped:f=!1,onMountAutoFocus:g,onUnmountAutoFocus:b,...v}=e,[y,j]=n.useState(null),k=(0,r.useCallbackRef)(g),w=(0,r.useCallbackRef)(b),_=n.useRef(null),E=(0,a.useComposedRefs)(t,e=>j(e)),D=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(f){let e=function(e){if(D.paused||!y)return;let t=e.target;y.contains(t)?_.current=t:m(_.current,{select:!0})},t=function(e){if(D.paused||!y)return;let t=e.relatedTarget;null!==t&&(y.contains(t)||m(_.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(y)});return y&&n.observe(y,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[f,y,D.paused]),n.useEffect(()=>{if(y){h.add(D);let e=document.activeElement;
5if(!y.contains(e)){let t=new CustomEvent(i,c);y.addEventListener(i,k),y.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let a of e)if(m(a,{select:t}),document.activeElement!==n)return}(d(y).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(y))}return()=>{y.removeEventListener(i,k),setTimeout(()=>{let t=new CustomEvent(l,c);y.addEventListener(l,w),y.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),y.removeEventListener(l,w),h.remove(D)},0)}}},[y,k,w,D]);let T=n.useCallback(e=>{if(!p&&!f||D.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var a;let t,o=e.currentTarget,[r,s]=[u(t=d(a=o),a),u(t.reverse(),a)];r&&s?e.shiftKey||n!==s?e.shiftKey&&n===r&&(e.preventDefault(),p&&m(s,{select:!0})):(e.preventDefault(),p&&m(r,{select:!0})):n===o&&e.preventDefault()}},[p,f,D.paused]);return(0,s.jsx)(o.Primitive.div,{tabIndex:-1,...v,ref:E,onKeyDown:T})});function d(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function u(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e,{select:t=!1}={}){if(e&&e.focus){var n;let a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}p.displayName="FocusScope";var h=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=f(t,e)).unshift(e)},remove(e){t=f(t,e),t[0]?.resume()}});function f(e,t){let n=[...e],a=n.indexOf(t);return -1!==a&&n.splice(a,1),n}e.s(["FocusScope",0,p])},469466,e=>{"use strict";var t=e.i(564946),n=e.i(520213),a=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[r,s]=t.useState(a());return(0,n.useLayoutEffect)(()=>{e||s(e=>e??String(o++))},[e]),e||(r?`radix-${r}`:"")}])},749219,816131,e=>{"use strict";var t=e.i(564946),n=e.i(556938),a=e.i(278928),o=e.i(411273),r=e.i(485846),s=t.forwardRef((e,t)=>{let{children:n,width:a=10,height:s=5,...i}=e;return(0,r.jsx)(o.Primitive.svg,{...i,ref:t,width:a,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,r.jsx)("polygon",{points:"0,0 30,0 15,10"})})});s.displayName="Arrow";var i=e.i(463697),l=e.i(305153),c=e.i(322239),p=e.i(520213);function d(e){let[n,a]=t.useState(void 0);return(0,p.useLayoutEffect)(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let r=t[0];if("borderBoxSize"in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;a({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}a(void 0)},[e]),n}e.s(["useSize",0,d],816131);var u="Popper",[m,h]=(0,l.createContextScope)(u),[f,g]=m(u),b=e=>{let{__scopePopper:n,children:a}=e,[o,s]=t.useState(null);return(0,r.jsx)(f,{scope:n,anchor:o,onAnchorChange:s,children:a})};b.displayName=u;var v="PopperAnchor",y=t.forwardRef((e,n)=>{let{__scopePopper:a,virtualRef:s,...l}=e,c=g(v,a),p=t.useRef(null),d=(0,i.useComposedRefs)(n,p),u=t.useRef(null);return t.useEffect(()=>{let e=u.current;u.current=s?.current||p.current,e!==u.current&&c.onAnchorChange(u.current)}),s?null:(0,r.jsx)(o.Primitive.div,{...l,ref:d})});y.displayName=v;var j="PopperContent",[k,w]=m(j),_=t.forwardRef((e,s)=>{let{__scopePopper:l,side:u="bottom",sideOffset:m=0,align:h="center",alignOffset:f=0,arrowPadding:b=0,avoidCollisions:v=!0,collisionBoundary:y=[],collisionPadding:w=0,sticky:_="partial",hideWhenDetached:E=!1,updatePositionStrategy:D="optimized",onPlaced:T,...S}=e,A=g(j,l),[N,M]=t.useState(null),O=(0,i.useComposedRefs)(s,e=>M(e)),[R,F]=t.useState(null),P=d(R),L=P?.width??0,B=P?.height??0,H="number"==typeof w?w:{top:0,right:0,bottom:0,left:0,...w},U=Array.isArray(y)?y:[y],z=U.length>0,$={padding:H,boundary:U.filter(I),altBoundary:z},{refs:q,floatingStyles:V,placement:W,isPositioned:G,middlewareData:Y}=(0,n.useFloating)({strategy:"fixed",placement:u+("center"!==h?"-"+h:""),whileElementsMounted:(...e)=>(0,a.autoUpdate)(...e,{animationFrame:"always"===D}),elements:{reference:A.anchor},middleware:[(0,n.offset)({mainAxis:m+B,alignmentAxis:f}),v&&(0,n.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===_?(0,n.limitShift)():void 0,...$}),v&&(0,n.flip)({...$}),(0,n.size)({...$,apply:({elements:e,rects:t,availableWidth:n,availableHeight:a})=>{let{width:o,height:r}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${a}px`),s.setProperty("--radix-popper-anchor-width",`${o}px`),s.setProperty("--radix-popper-anchor-height",`${r}px`)}}),R&&(0,n.arrow)({element:R,padding:b}),x({arrowWidth:L,arrowHeight:B}),E&&(0,n.hide)({strategy:"referenceHidden",...$})]}),[K,Q]=C(W),X=(0,c.useCallbackRef)(T);(0,p.useLayoutEffect)(()=>{G&&X?.()},[G,X]);let J=Y.arrow?.x,Z=Y.arrow?.y,ee=Y.arrow?.centerOffset!==0,[et,en]=t.useState();return(0,p.useLayoutEffect)(()=>{N&&en(window.getComputedStyle(N).zIndex)},[N]),(0,r.jsx)("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:G?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,r.jsx)(k,{scope:l,placedSide:K,onArrowChange:F,arrowX:J,arrowY:Z,shouldHideArrow:ee,children:(0,r.jsx)(o.Primitive.div,{"data-side":K,"data-align":Q,...S,ref:O,style:{...S.style,animation:G?void 0:"none"}})})})});_.displayName=j;var E="PopperArrow",D={top:"bottom",right:"left",bottom:"top",left:"r
5ight"},T=t.forwardRef(function(e,t){let{__scopePopper:n,...a}=e,o=w(E,n),i=D[o.placedSide];return(0,r.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,r.jsx)(s,{...a,ref:t,style:{...a.style,display:"block"}})})});function I(e){return null!==e}T.displayName=E;var x=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:a,middlewareData:o}=t,r=o.arrow?.centerOffset!==0,s=r?0:e.arrowWidth,i=r?0:e.arrowHeight,[l,c]=C(n),p={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+s/2,u=(o.arrow?.y??0)+i/2,m="",h="";return"bottom"===l?(m=r?p:`${d}px`,h=`${-i}px`):"top"===l?(m=r?p:`${d}px`,h=`${a.floating.height+i}px`):"right"===l?(m=`${-i}px`,h=r?p:`${u}px`):"left"===l&&(m=`${a.floating.width+i}px`,h=r?p:`${u}px`),{data:{x:m,y:h}}}});function C(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",0,y,"Arrow",0,T,"Content",0,_,"Root",0,b,"createPopperScope",0,h],749219)},873700,e=>{"use strict";var t=e.i(564946),n=e.i(944116),a=e.i(411273),o=e.i(520213),r=e.i(485846),s=t.forwardRef((e,s)=>{let{container:i,...l}=e,[c,p]=t.useState(!1);(0,o.useLayoutEffect)(()=>p(!0),[]);let d=i||c&&globalThis?.document?.body;return d?n.default.createPortal((0,r.jsx)(a.Primitive.div,{...l,ref:s}),d):null});s.displayName="Portal",e.s(["Portal",0,s])},697586,e=>{"use strict";var t=e.i(564946),n=e.i(463697),a=e.i(520213),o=e=>{var o;let s,i,{present:l,children:c}=e,p=function(e){var n,o;let[s,i]=t.useState(),l=t.useRef(null),c=t.useRef(e),p=t.useRef("none"),[d,u]=(n=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,n));return t.useEffect(()=>{let e=r(l.current);p.current="mounted"===d?e:"none"},[d]),(0,a.useLayoutEffect)(()=>{let t=l.current,n=c.current;if(n!==e){let a=p.current,o=r(t);e?u("MOUNT"):"none"===o||t?.display==="none"?u("UNMOUNT"):n&&a!==o?u("ANIMATION_OUT"):u("UNMOUNT"),c.current=e}},[e,u]),(0,a.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,n=n=>{let a=r(l.current).includes(CSS.escape(n.animationName));if(n.target===s&&a&&(u("ANIMATION_END"),!c.current)){let n=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=n)})}},a=e=>{e.target===s&&(p.current=r(l.current))};return s.addEventListener("animationstart",a),s.addEventListener("animationcancel",n),s.addEventListener("animationend",n),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",a),s.removeEventListener("animationcancel",n),s.removeEventListener("animationend",n)}}u("ANIMATION_END")},[s,u]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,i(e)},[])}}(l),d="function"==typeof c?c({present:p.isPresent}):t.Children.only(c),u=(0,n.useComposedRefs)(p.ref,(o=d,(i=(s=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?o.ref:(i=(s=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof c||p.isPresent?t.cloneElement(d,{ref:u}):null};function r(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",0,o])},411273,e=>{"use strict";var t=e.i(564946),n=e.i(944116),a=e.i(515800),o=e.i(485846),r=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let r=(0,a.createSlot)(`Primitive.${n}`),s=t.forwardRef((e,t)=>{let{asChild:a,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(a?r:n,{...s,ref:t})});return s.displayName=`Primitive.${n}`,{...e,[n]:s}},{});e.s(["Primitive",0,r,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>
5e.dispatchEvent(t))}])},810936,e=>{"use strict";var t=e.i(564946);e.s(["usePrevious",0,function(e){let n=t.useRef({value:e,previous:e});return t.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}])},455197,e=>{"use strict";var t=e.i(564946),n=e.i(411273),a=e.i(485846),o=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),r=t.forwardRef((e,t)=>(0,a.jsx)(n.Primitive.span,{...e,ref:t,style:{...o,...e.style}}));r.displayName="VisuallyHidden",e.s(["Root",0,r,"VISUALLY_HIDDEN_STYLES",0,o])},82679,578889,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",0,t],578889);var n=e.i(766271),a=new class extends t{#d;#u;#m;constructor(){super(),this.#m=e=>{if(!n.isServer&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#u||this.setEventListener(this.#m)}onUnsubscribe(){this.hasListeners()||(this.#u?.(),this.#u=void 0)}setEventListener(e){this.#m=e,this.#u?.(),this.#u=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#d!==e&&(this.#d=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#d?this.#d:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,a],82679)},51449,e=>{"use strict";var t=e.i(259864),n=e.i(539392),a=e.i(313805),o=class extends n.Removable{#h;#f;#o;#g;constructor(e){super(),this.#h=e.client,this.mutationId=e.mutationId,this.#o=e.mutationCache,this.#f=[],this.state=e.state||r(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#f.includes(e)||(this.#f.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#f=this.#f.filter(t=>t!==e),this.scheduleGc(),this.#o.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#f.length||("pending"===this.state.status?this.scheduleGc():this.#o.remove(this))}continue(){return this.#g?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#b({type:"continue"})},n={client:this.#h,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#g=(0,a.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#b({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#b({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#o.canRun(this)});let o="pending"===this.state.status,r=!this.#g.canStart();try{if(o)t();else{this.#b({type:"pending",variables:e,isPaused:r}),this.#o.config.onMutate&&await this.#o.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#b({type:"pending",context:t,variables:e,isPaused:r})}let a=await this.#g.start();return await this.#o.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#o.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#b({type:"success",data:a}),a}catch(t){try{await this.#o.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#o.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#b({type:"error",error:t}),t}finally{this.#o.runNext(this)}}#b(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
5case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),t.notifyManager.batch(()=>{this.#f.forEach(t=>{t.onMutationUpdate(e)}),this.#o.notify({mutation:this,type:"updated",action:e})})}};function r(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}e.s(["Mutation",0,o,"getDefaultState",0,r])},259864,e=>{"use strict";let t,n,a,o,r,s;var i=e.i(305763).systemSetTimeoutZero,l=(t=[],n=0,a=e=>{e()},o=e=>{e()},r=i,{batch:e=>{let s;n++;try{s=e()}finally{let e;--n||(e=t,t=[],e.length&&r(()=>{o(()=>{e.forEach(e=>{a(e)})})}))}return s},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s=e=>{n?t.push(e):r(()=>{a(e)})},setNotifyFunction:e=>{a=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{r=e}});e.s(["notifyManager",0,l])},959243,e=>{"use strict";var t=e.i(766271),n=e.i(259864),a=e.i(313805),o=e.i(539392),r=class extends o.Removable{#v;#y;#j;#h;#g;#r;#k;constructor(e){super(),this.#k=!1,this.#r=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#h=e.client,this.#j=this.#h.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#v=l(this.options),this.state=e.state??this.#v,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#g?.promise}setOptions(e){if(this.options={...this.#r,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=l(this.options);void 0!==e.data&&(this.setState(i(e.data,e.dataUpdatedAt)),this.#v=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#j.remove(this)}setData(e,n){let a=(0,t.replaceData)(this.state.data,e,this.options);return this.#b({data:a,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),a}setState(e,t){this.#b({type:"setState",state:e,setStateOptions:t})}cancel(e){let n=this.#g?.promise;return this.#g?.cancel(e),n?n.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#v)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#g?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#g?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#j.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#g&&(this.#k?this.#g.cancel({revert:!0}):this.#g.cancelRetry()),this.scheduleGc()),this.#j.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#b({type:"invalidate"})}async fetch(e,n){let o;if("idle"!==this.state.fetchStatus&&this.#g?.status()!=="rejected"){if(void 0!==this.state.data&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#g)return this.#g.continueRetry(),this.#g.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#k=!0,r.signal)}
5)},i=()=>{let e,a=(0,t.ensureQueryFn)(this.options,n),o=(s(e={client:this.#h,queryKey:this.queryKey,meta:this.meta}),e);return(this.#k=!1,this.options.persister)?this.options.persister(a,o,this):a(o)},l=(s(o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#h,state:this.state,fetchFn:i}),o);this.options.behavior?.onFetch(l,this),this.#y=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#b({type:"fetch",meta:l.fetchOptions?.meta}),this.#g=(0,a.createRetryer)({initialPromise:n?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof a.CancelledError&&e.revert&&this.setState({...this.#y,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#b({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#b({type:"pause"})},onContinue:()=>{this.#b({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#g.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#j.config.onSuccess?.(e,this),this.#j.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.CancelledError){if(e.silent)return this.#g.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#b({type:"error",error:e}),this.#j.config.onError?.(e,this),this.#j.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#b(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...s(t.data,this.options),fetchMeta:e.meta??null};case"success":let n={...t,...i(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#y=e.manual?n:void 0,n;case"error":let a=e.error;return{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),n.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#j.notify({query:this,type:"updated",action:e})})}};function s(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function i(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function l(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,a=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,r,"fetchState",0,s])},246772,e=>{"use strict";var t=e.i(766271),n=e.i(959243),a=e.i(259864),o=e.i(578889),r=class extends o.Subscribable{constructor(e={}){super(),this.config=e,this.#w=new Map}#w;build(e,a,o){let r=a.queryKey,s=a.queryHash??(0,t.hashQueryKeyByOptions)(r,a),i=this.get(s);return i||(i=new n.Query({client:e,queryKey:r,queryHash:s,options:e.defaultQueryOptions(a),state:o,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#w.has(e.queryHash)||(this.#w.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#w.get(e.queryHash);t&&(e.destroy(),t===e&&this.#w.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){a.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#w.get(e)}getAll(){return[...this.#w.values()]}find(e){let n={exact:!0,...e};return this.getAll().find(e=>(0,t.matchQuery)(n,e))}findAll(e={}){let n=this.getAll();return Object.keys(e).length>0?n.filter(n=>(0,t.matchQuery)(e,n)):n}notify(e){a.notifyManager.batch(()=>
5{this.listeners.forEach(t=>{t(e)})})}onFocus(){a.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){a.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}};e.s(["QueryCache",0,r])},539392,e=>{"use strict";var t=e.i(305763),n=e.i(766271),a=class{#_;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.isValidTimeout)(this.gcTime)&&(this.#_=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n.isServer?1/0:3e5))}clearGcTimeout(){this.#_&&(t.timeoutManager.clearTimeout(this.#_),this.#_=void 0)}};e.s(["Removable",0,a])},313805,60045,e=>{"use strict";var t=e.i(82679),n=e.i(578889),a=e.i(766271),o=new class extends n.Subscribable{#E=!0;#u;#m;constructor(){super(),this.#m=e=>{if(!a.isServer&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#u||this.setEventListener(this.#m)}onUnsubscribe(){this.hasListeners()||(this.#u?.(),this.#u=void 0)}setEventListener(e){this.#m=e,this.#u?.(),this.#u=e(this.setOnline.bind(this))}setOnline(e){this.#E!==e&&(this.#E=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#E}};e.s(["onlineManager",0,o],60045);var r=e.i(757142);function s(e){return Math.min(1e3*2**e,3e4)}function i(e){return(e??"online")!=="online"||o.isOnline()}var l=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,l,"canFetch",0,i,"createRetryer",0,function(e){let n,c=!1,p=0,d=(0,r.pendingThenable)(),u=()=>t.focusManager.isFocused()&&("always"===e.networkMode||o.isOnline())&&e.canRun(),m=()=>i(e.networkMode)&&e.canRun(),h=e=>{"pending"===d.status&&(n?.(),d.resolve(e))},f=e=>{"pending"===d.status&&(n?.(),d.reject(e))},g=()=>new Promise(t=>{n=e=>{("pending"!==d.status||u())&&t(e)},e.onPause?.()}).then(()=>{n=void 0,"pending"===d.status&&e.onContinue?.()}),b=()=>{let t;if("pending"!==d.status)return;let n=0===p?e.initialPromise:void 0;try{t=n??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(h).catch(t=>{if("pending"!==d.status)return;let n=e.retry??3*!a.isServer,o=e.retryDelay??s,r="function"==typeof o?o(p,t):o,i=!0===n||"number"==typeof n&&p<n||"function"==typeof n&&n(p,t);c||!i?f(t):(p++,e.onFail?.(p,t),(0,a.sleep)(r).then(()=>u()?void 0:g()).then(()=>{c?f(t):b()}))})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let n=new l(t);f(n),e.onCancel?.(n)}},continue:()=>(n?.(),d),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:m,start:()=>(m()?b():g().then(b),d)}}],313805)},91600,186644,220960,129229,e=>{"use strict";let t;var n,a,o=Object.create,r=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,p=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},d=(e,t,n)=>(n=null!=e?o(l(e)):{},((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,o=i(t),l=0,p=o.length;l<p;l++)a=o[l],c.call(e,a)||void 0===a||r(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(n=s(t,a))||n.enumerable});return e})(!t&&e&&e.__esModule?n:r(n,"default",{value:e,enumerable:!0}),e)),u=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),m=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=u().default;t.exports=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var o=a.call(e,t||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}
5,t.exports.__esModule=!0,t.exports.default=t.exports}}),h=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=u().default,a=m();t.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:t+""},t.exports.__esModule=!0,t.exports.default=t.exports}}),f=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=h();t.exports=function(e,t,a){return(t=n(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},t.exports.__esModule=!0,t.exports.default=t.exports}}),g=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=f();function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}t.exports=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach(function(t){n(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e},t.exports.__esModule=!0,t.exports.default=t.exports}});function b(e){let t={subscribe(t){let n=null,a=!1,o=!1,r=!1;function s(){if(null===n){r=!0;return}!o&&(o=!0,"function"==typeof n?n():n&&n.unsubscribe())}return n=e({next(e){var n;a||null==(n=t.next)||n.call(t,e)},error(e){var n;a||(a=!0,null==(n=t.error)||n.call(t,e),s())},complete(){var e;a||(a=!0,null==(e=t.complete)||e.call(t),s())}}),r&&s(),{unsubscribe:s}},pipe:(...e)=>e.reduce(v,t)};return t}function v(e,t){return t(e)}function y(e){return!!e&&!Array.isArray(e)&&"object"==typeof e}let j="function"==typeof Symbol&&!!Symbol.asyncIterator;var k=d(f(),1),w=d(g(),1),_=class e extends Error{constructor(t,n){var a,o;const r=null==n?void 0:n.cause;super(t,{cause:r}),(0,k.default)(this,"cause",void 0),(0,k.default)(this,"shape",void 0),(0,k.default)(this,"data",void 0),(0,k.default)(this,"meta",void 0),this.meta=null==n?void 0:n.meta,this.cause=r,this.shape=null==n||null==(a=n.result)?void 0:a.error,this.data=null==n||null==(o=n.result)?void 0:o.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,e.prototype)}static from(t,n={}){return t instanceof _?(n.meta&&(t.meta=(0,w.default)((0,w.default)({},t.meta),n.meta)),t):y(t)&&y(t.error)&&"number"==typeof t.error.code&&"string"==typeof t.error.message?new e(t.error.message,(0,w.default)((0,w.default)({},n),{},{result:t})):new e("string"==typeof t?t:y(t)&&"string"==typeof t.message?t.message:"Unknown error",(0,w.default)((0,w.default)({},n),{},{cause:t}))}},E=d(g(),1);let D={query:"GET",mutation:"POST",subscription:"PATCH"};function T(e){return"input"in e?e.transformer.input.serialize(e.input):function(e){let t={};for(let n=0;n<e.length;n++){let a=e[n];t[n]=a}return t}(e.inputs.map(t=>e.transformer.input.serialize(t)))}let I=e=>{let t=e.url.split("?"),n=t[0].replace(/\/$/,"")+"/"+e.path,a=[];if(t[1]&&a.push(t[1]),"inputs"in e&&a.push("batch=1"),"query"===e.type||"subscription"===e.type){let t=T(e);void 0!==t&&"POST"!==e.methodOverride&&a.push(`input=${encodeURIComponent(JSON.stringify(t))}`)}return a.length&&(n+="?"+a.join("&")),n},x=e=>{if("query"===e.type&&"POST"!==e.methodOverride)return;let t=T(e);return void 0!==t?JSON.stringify(t):void 0};var C=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};async function S(e){var t,n,a=e.signal;if(null==a?void 0:a.aborted){if(null==(n=a.throwIfAborted)||n.call(a),"u">typeof DOMException)throw new DOMException("AbortError","AbortError");throw new C}let o=e.getUrl(e),r=e.getBody(e),s=null!=(t=e.methodOverride)?t:D[e.type],i=await (async()=>{let t=await e.headers();return Symbol.iterator in t?Object.fromEntries(t):t})(),l=(0,E.default)((0,E.default)((0,E.default)({},e.contentTypeHeader&&"GET"!==s?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{"trpc-accept":e.trpcAcceptHeader}:void 0),i);return(function(e){if(e)return e;if("u">typeof window&&"function"==typeof window.fetch)return window.fetch;if("u">typeof globalThis&&"function"==typeof globalThis.fetch)return globalThis.fetch;throw Error("No fetch implementation found")})(e.fetch)(o,{method:s,signal:e.signal,body:r,headers:l})}async function A(e){let t={},n=await S(e);t.response=n;let a=await n.json();return t.responseJSON=a,{json:a,meta:t}}var N=Object.create,M=Object.defineProperty,O=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyNames,F=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty,L=(e,t)=>function(){return t||(0,e[R(e)[0]])((t={exports:{}}).exports,t),t.exports},B=(e,t,n)=>(n=null!=e?N(F(e)):{},((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,o=R(t),r=0,s=o.length;r<s;r++)a=o[r],P.call(e,a)||void 0===a||M(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(n=O(t,a))||n.enumerable});return e}
5)(!t&&e&&e.__esModule?n:M(n,"default",{value:e,enumerable:!0}),e));let H=()=>{},U=e=>{Object.freeze&&Object.freeze(e)},z=e=>(function e(t,n,a){let o=n.join(".");return null!=a[o]||(a[o]=new Proxy(H,{get(o,r){if("string"==typeof r&&"then"!==r)return e(t,[...n,r],a)},apply(e,a,o){let r=n[n.length-1],s={args:o,path:n};return"call"===r?s={args:o.length>=2?[o[1]]:[],path:n.slice(0,-1)}:"apply"===r&&(s={args:o.length>=2?o[1]:[],path:n.slice(0,-1)}),U(s.args),U(s.path),t(s)}})),a[o]})(e,[],Object.create(null));var $=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),q=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=$().default;t.exports=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var o=a.call(e,t||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}),V=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=$().default,a=q();t.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:t+""},t.exports.__esModule=!0,t.exports.default=t.exports}}),W=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=V();t.exports=function(e,t,a){return(t=n(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},t.exports.__esModule=!0,t.exports.default=t.exports}}),G=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=W();function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}t.exports=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach(function(t){n(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e},t.exports.__esModule=!0,t.exports.default=t.exports}});B(G(),1);var Y=B(W(),1),K=class extends Error{},Q=class extends Error{constructor(e){var t,n;const a=function(e){if(e instanceof Error)return e;let t=typeof e;if("undefined"!==t&&"function"!==t&&null!==e){if("object"!==t)return Error(String(e));if(y(e))return Object.assign(new K,e)}}(e.cause);super(null!=(t=null!=(n=e.message)?n:null==a?void 0:a.message)?t:e.code,{cause:a}),(0,Y.default)(this,"cause",void 0),(0,Y.default)(this,"code",void 0),this.code=e.code,this.name="TRPCError",null!=this.cause||(this.cause=a)}},X=B(G(),1),J=class extends Error{constructor(){super("Unable to transform response from server")}};async function Z(e,t){let{_def:n}=e,a=n.procedures[t];for(;!a;){let e=Object.keys(n.lazy).find(e=>t.startsWith(e));if(!e)return null;let o=n.lazy[e];await o.load(),a=n.procedures[t]}return a}
5async function ee(e){let{type:t,path:n}=e,a=await Z(e.router,n);if(!a||"function"!=typeof a||a._def.type!==t&&!e.allowMethodOverride)throw new Q({code:"NOT_FOUND",message:`No "${t}"-procedure on path "${n}"`});if(a._def.type!==t&&e.allowMethodOverride&&"subscription"===a._def.type)throw new Q({code:"METHOD_NOT_SUPPORTED",message:"Method override is not supported for subscriptions"});return a(e)}B(G(),1),Symbol(),d(g(),1);let et=()=>{throw Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function en(e){let t=null,n=null;function a(){let a=function(t){let n=[[]],a=0;for(;;){var o,r;let s=t[a];if(!s)break;let i=n[n.length-1];if(s.aborted){null==(o=s.reject)||o.call(s,Error("Aborted")),a++;continue}if(e.validate(i.concat(s).map(e=>e.key))){i.push(s),a++;continue}if(0===i.length){null==(r=s.reject)||r.call(s,Error("Input is too big for a single dispatch")),a++;continue}n.push([])}return n}(t);for(let o of(clearTimeout(n),n=null,t=null,a)){if(!o.length)continue;let t={items:o};for(let e of o)e.batch=t;e.fetch(t.items.map(e=>e.key)).then(async e=>{for(let a of(await Promise.all(e.map(async(e,n)=>{var a,o;let r=t.items[n];try{let t=await Promise.resolve(e);null==(a=r.resolve)||a.call(r,t)}catch(e){null==(o=r.reject)||o.call(r,e)}r.batch=null,r.reject=null,r.resolve=null})),t.items)){var n;null==(n=a.reject)||n.call(a,Error("Missing result")),a.batch=null}}).catch(e=>{for(let a of t.items){var n;null==(n=a.reject)||n.call(a,e),a.batch=null}})}}return{load:function(e){let o={aborted:!1,key:e,batch:null,resolve:et,reject:et},r=new Promise((e,n)=>{o.reject=n,o.resolve=e,null!=t||(t=[]),t.push(o)});return null!=n||(n=setTimeout(a)),r}}}function ea(...e){let t=new AbortController,n=e.length,a=0,o=()=>{++a===n&&t.abort()};for(let t of e)(null==t?void 0:t.aborted)?o():null==t||t.addEventListener("abort",o,{once:!0});return t.signal}var eo=d(g(),1);e.s(["abortSignalToPromise",0,function(e){return new Promise((t,n)=>{e.aborted?n(e.reason):e.addEventListener("abort",()=>{n(e.reason)},{once:!0})})},"allAbortSignals",0,ea,"dataLoader",0,en,"httpBatchLink",0,function(e){var t,n,a;let o={url:e.url.toString(),fetch:e.fetch,transformer:(a=e.transformer)?"input"in a?a:{input:a,output:a}:{input:{serialize:e=>e,deserialize:e=>e},output:{serialize:e=>e,deserialize:e=>e}},methodOverride:e.methodOverride},r=null!=(t=e.maxURLLength)?t:1/0,s=null!=(n=e.maxItems)?n:1/0;return()=>{let t=t=>({validate(e){if(r===1/0&&s===1/0)return!0;if(e.length>s)return!1;let n=e.map(e=>e.path).join(","),a=e.map(e=>e.input);return I((0,eo.default)((0,eo.default)({},o),{},{type:t,path:n,inputs:a,signal:null})).length<=r},async fetch(n){let a,r=n.map(e=>e.path).join(","),s=n.map(e=>e.input),i=ea(...n.map(e=>e.signal)),l=await (a=(0,eo.default)((0,eo.default)({},o),{},{path:r,inputs:s,type:t,headers:()=>e.headers?"function"==typeof e.headers?e.headers({opList:n}):e.headers:{},signal:i}),A((0,E.default)((0,E.default)({},a),{},{contentTypeHeader:"application/json",getUrl:I,getBody:x})));return(Array.isArray(l.json)?l.json:n.map(()=>l.json)).map(e=>({meta:l.meta,json:e}))}}),n={query:en(t("query")),mutation:en(t("mutation"))};return({op:e})=>b(t=>{let a;if("subscription"===e.type)throw Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");return n[e.type].load(e).then(e=>{a=e;let n=function(e,t){let n;try{n=function(e,t){if("error"in e){let n=t.deserialize(e.error);return{ok:!1,error:(0,X.default)((0,X.default)({},e),{},{error:n})}}return{ok:!0,result:(0,X.default)((0,X.default)({},e.result),(!e.result.type||"data"===e.result.type)&&{type:"data",data:t.deserialize(e.result.data)})}}(e,t)}catch(e){throw new J}if(!n.ok&&(!y(n.error.error)||"number"!=typeof n.error.error.code)||n.ok&&!y(n.result))throw new J;return n}(e.json,o.transformer.output);n.ok?(t.next({context:e.meta,result:n.result}),t.complete()):t.error(_.from(n.error,{meta:e.meta}))}).catch(e=>{t.error(_.from(e,{meta:null==a?void 0:a.meta}))}),()=>{}})}},"raceAbortSignals",0,function(...e){let t=new AbortController;for(let n of e)(null==n?void 0:n.aborted)?t.abort():null==n||n.addEventListener("abort",()=>t.abort(),{once:!0});return t.signal}],186644),Symbol();var er=d(g(),1);let es={query:["72e3ff","3fb0d8"],mutation:["c5a3fc","904dfc"],subscription:["ff49e1","d83fbe"]},ei={query:["\x1b[30;46m","\x1b[97;46m"],mutation:["\x1b[30;45m","\x1b[97;45m"],subscription:["\x1b[30;42m","\x1b[97;42m"]},el={query:["\x1b[1;30;46m","\x1b[1;97;46m"],mutation:["\x1b[1;30;45m","\x1b[1;97;45m"],subscription:["\x1b[1;30;42m","\x1b[1;97;42m"]};e.s(["loggerLink",0,function(e={}){var t,n;let{enabled:a=()=>!0}=e,o=null!=(t=e.colorMode)?t:"u"<typeof window?"ansi":"css",r=null!=(n=e.withContext)?n:"css"===o,{logger:s=(({c:e=console,colorMode:t="css",withContext:n})=>a=>{let o=a.input,r=!("u"<typeof FormData)&&o instanceof FormData?Object.fromEntries(o):o,{parts:s,args:i}=function(e){let{direction:t,type:n,withContext:a,path:o,id:r,input:s}=e,i=[],l=[];
5if("none"===e.colorMode)i.push("up"===t?">>":"<<",n,`#${r}`,o);else if("ansi"===e.colorMode){let[e,a]=ei[n],[s,l]=el[n];i.push("up"===t?e:a,"up"===t?">>":"<<",n,"up"===t?s:l,`#${r}`,o,"\x1b[0m")}else{let[e,a]=es[n],s=` 6 background-color: #${"up"===t?e:a}; 7 color: ${"up"===t?"black":"white"}; 8 padding: 2px; 9 `;i.push("%c","up"===t?">>":"<<",n,`#${r}`,`%c${o}%c`,"%O"),l.push(s,`${s}; font-weight: bold;`,`${s}; font-weight: normal;`)}return"up"===t?l.push(a?{input:s,context:e.context}:{input:s}):l.push((0,er.default)({input:s,result:e.result,elapsedMs:e.elapsedMs},a&&{context:e.context})),{parts:i,args:l}}((0,er.default)((0,er.default)({},a),{},{colorMode:t,input:r,withContext:n}));e["down"===a.direction&&a.result&&(a.result instanceof Error||"error"in a.result.result&&a.result.result.error)?"error":"log"].apply(null,[s.join(" ")].concat(i))})({c:e.console,colorMode:o,withContext:r})}=e;return()=>({op:e,next:t})=>b(n=>{var o;a((0,er.default)((0,er.default)({},e),{},{direction:"up"}))&&s((0,er.default)((0,er.default)({},e),{},{direction:"up"}));let r=Date.now();function i(t){let n=Date.now()-r;a((0,er.default)((0,er.default)({},e),{},{direction:"down",result:t}))&&s((0,er.default)((0,er.default)({},e),{},{direction:"down",elapsedMs:n,result:t}))}return t(e).pipe((o={next(e){i(e)},error(e){i(e)}},e=>b(t=>e.subscribe({next(e){var n;null==(n=o.next)||n.call(o,e),t.next(e)},error(e){var n;null==(n=o.error)||n.call(o,e),t.error(e)},complete(){var e;null==(e=o.complete)||e.call(o),t.complete()}})))).subscribe(n)})}],220960);let ec=(e,...t)=>"function"==typeof e?e(...t):e;async function ep(e){let t=await ec(e.url);if(!e.connectionParams)return t;let n=t.includes("?")?"&":"?";return t+`${n}connectionParams=1`}async function ed(e){return JSON.stringify({method:"connectionParams",data:await ec(e)})}d(f(),1),d(f(),1);var eu=d(f(),1),em=class e{constructor(t){var n;if((0,eu.default)(this,"id",++e.connectCount),(0,eu.default)(this,"WebSocketPonyfill",void 0),(0,eu.default)(this,"urlOptions",void 0),(0,eu.default)(this,"keepAliveOpts",void 0),(0,eu.default)(this,"wsObservable",function(){let e=null,t=[],n=b(n=>(void 0!==e&&n.next(e),t.push(n),()=>{t.splice(t.indexOf(n),1)}));return n.next=n=>{if(e!==n)for(let a of(e=n,t))a.next(n)},n.get=()=>e,n}()),(0,eu.default)(this,"openPromise",null),this.WebSocketPonyfill=null!=(n=t.WebSocketPonyfill)?n:WebSocket,!this.WebSocketPonyfill)throw Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=t.urlOptions,this.keepAliveOpts=t.keepAlive}get ws(){return this.wsObservable.get()}set ws(e){this.wsObservable.next(e)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var t=this;if(t.openPromise)return t.openPromise;t.id=++e.connectCount;let n=ep(t.urlOptions).then(e=>new t.WebSocketPonyfill(e));t.openPromise=n.then(async e=>{t.ws=e,e.addEventListener("message",function({data:e}){"PING"===e&&this.send("PONG")}),t.keepAliveOpts.enabled&&function(e,{intervalMs:t,pongTimeoutMs:n}){let a,o;function r(){a=setTimeout(()=>{e.send("PING"),o=setTimeout(()=>{e.close()},n)},t)}e.addEventListener("open",r),e.addEventListener("message",({data:e})=>{clearTimeout(a),r(),"PONG"===e&&(clearTimeout(o),clearTimeout(a),r())}),e.addEventListener("close",()=>{clearTimeout(a),clearTimeout(o)})}(e,t.keepAliveOpts),e.addEventListener("close",()=>{t.ws===e&&(t.ws=null)}),await function(e){let t,n,{promise:a,resolve:o,reject:r}={promise:new Promise((e,a)=>{t=e,n=a}),resolve:t,reject:n};return e.addEventListener("open",()=>{e.removeEventListener("error",r),o()}),e.addEventListener("error",r),a}(e),t.urlOptions.connectionParams&&e.send(await ed(t.urlOptions.connectionParams))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var e;try{await this.openPromise}finally{null==(e=this.ws)||e.close()}}};(0,eu.default)(em,"connectCount",0),d(f(),1),d(g(),1),B(G(),1);var eh=B(W(),1);let ef=new WeakMap,eg=()=>{};t=Symbol.toStringTag;var eb=class e{constructor(e){(0,eh.default)(this,"promise",void 0),(0,eh.default)(this,"subscribers",[]),(0,eh.default)(this,"settlement",null),(0,eh.default)(this,t,"Unpromise"),"function"==typeof e?this.promise=new Promise(e):this.promise=e;const n=this.promise.then(e=>{let{subscribers:t}=this;this.subscribers=null,this.settlement={status:"fulfilled",value:e},null==t||t.forEach(({resolve:t})=>{t(e)})});"catch"in n&&n.catch(e=>{let{subscribers:t}=this;this.subscribers=null,this.settlement={status:"rejected",reason:e},null==t||t.forEach(({reject:t})=>{t(e)})})}subscribe(){let e,t,{settlement:n}=this;if(null===n){var a;let n,o;
9if(null===this.subscribers)throw Error("Unpromise settled but still has subscribers");let r={promise:new Promise((e,t)=>{n=e,o=t}),resolve:n,reject:o};this.subscribers=(a=this.subscribers,[...a,r]),e=r.promise,t=()=>{null!==this.subscribers&&(this.subscribers=function(e,t){let n=e.indexOf(t);if(-1!==n)return[...e.slice(0,n),...e.slice(n+1)];return e}(this.subscribers,r))}}else{let{status:a}=n;e="fulfilled"===a?Promise.resolve(n.value):Promise.reject(n.reason),t=eg}return Object.assign(e,{unsubscribe:t})}then(e,t){let n=this.subscribe(),{unsubscribe:a}=n;return Object.assign(n.then(e,t),{unsubscribe:a})}catch(e){let t=this.subscribe(),{unsubscribe:n}=t;return Object.assign(t.catch(e),{unsubscribe:n})}finally(e){let t=this.subscribe(),{unsubscribe:n}=t;return Object.assign(t.finally(e),{unsubscribe:n})}static proxy(t){let n=e.getSubscribablePromise(t);return void 0!==n?n:e.createSubscribablePromise(t)}static createSubscribablePromise(t){let n=new e(t);return ef.set(t,n),ef.set(n,n),n}static getSubscribablePromise(e){return ef.get(e)}static resolve(t){let n="object"==typeof t&&null!==t&&"then"in t&&"function"==typeof t.then?t:Promise.resolve(t);return e.proxy(n).subscribe()}static async any(t){let n=(Array.isArray(t)?t:[...t]).map(e.resolve);try{return await Promise.any(n)}finally{n.forEach(({unsubscribe:e})=>{e()})}}static async race(t){let n=(Array.isArray(t)?t:[...t]).map(e.resolve);try{return await Promise.race(n)}finally{n.forEach(({unsubscribe:e})=>{e()})}}static async raceReferences(e){let t=e.map(ev);try{return await Promise.race(t)}finally{for(let e of t)e.unsubscribe()}}};function ev(e){return eb.proxy(e).then(()=>[e])}null!=(n=Symbol).dispose||(n.dispose=Symbol()),null!=(a=Symbol).asyncDispose||(a.asyncDispose=Symbol()),Symbol();var ey=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){t.exports=function(){var e="function"==typeof SuppressedError?SuppressedError:function(e,t){var n=Error();return n.name="SuppressedError",n.error=e,n.suppressed=t,n},t={},n=[];function a(e,t){if(null!=t){if(Object(t)!==t)throw TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var a=t[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===a&&(a=t[Symbol.dispose||Symbol.for("Symbol.dispose")],e))var o=a;if("function"!=typeof a)throw TypeError("Object is not disposable.");o&&(a=function(){try{o.call(t)}catch(e){return Promise.reject(e)}}),n.push({v:t,d:a,a:e})}else e&&n.push({d:t,a:e});return t}return{e:t,u:a.bind(null,!1),a:a.bind(null,!0),d:function(){var a,o=this.e,r=0;function s(){for(;a=n.pop();)try{if(!a.a&&1===r)return r=0,n.push(a),Promise.resolve().then(s);if(a.d){var e=a.d.call(a.v);if(a.a)return r|=2,Promise.resolve(e).then(s,i)}else r|=1}catch(e){return i(e)}if(1===r)return o!==t?Promise.reject(o):Promise.resolve();if(o!==t)throw o}function i(n){return o=o!==t?new e(n,o):n,s()}return s()}}},t.exports.__esModule=!0,t.exports.default=t.exports}}),ej=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){t.exports=function(e,t){this.v=e,this.k=t},t.exports.__esModule=!0,t.exports.default=t.exports}}),ek=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=ej();t.exports=function(e){return new n(e,0)},t.exports.__esModule=!0,t.exports.default=t.exports}}),ew=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=ej();function a(e){var t,a;function o(t,a){try{var s=e[t](a),i=s.value,l=i instanceof n;Promise.resolve(l?i.v:i).then(function(n){if(l){var a="return"===t?"return":"next";if(!i.k||n.done)return o(a,n);n=e[a](n).value}r(s.done?"return":"normal",n)},function(e){o("throw",e)})}catch(e){r("throw",e)}}function r(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):a=null}this._invoke=function(e,n){return new Promise(function(r,s){var i={key:e,arg:n,resolve:r,reject:s,next:null};a?a=a.next=i:(t=a=i,o(e,n))})}
9,"function"!=typeof e.return&&(this.return=void 0)}a.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(e){return this._invoke("next",e)},a.prototype.throw=function(e){return this._invoke("throw",e)},a.prototype.return=function(e){return this._invoke("return",e)},t.exports=function(e){return function(){return new a(e.apply(this,arguments))}},t.exports.__esModule=!0,t.exports.default=t.exports}});B(ey(),1),B(ek(),1),B(ew(),1),B(ey(),1),B(ek(),1),B(ew(),1),B(ey(),1),B(ek(),1),B(ew(),1),Symbol("ping");var e_=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(e){function t(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return(n=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new n(e)}t.exports=function(e){var t,a,o,r=2;for("u">typeof Symbol&&(a=Symbol.asyncIterator,o=Symbol.iterator);r--;){if(a&&null!=(t=e[a]))return t.call(e);if(o&&null!=(t=e[o]))return new n(t.call(e));a="@@asyncIterator",o="@@iterator"}throw TypeError("Object is not async iterable")},t.exports.__esModule=!0,t.exports.default=t.exports}});B(ek(),1),B(ew(),1),B(ey(),1),B(e_(),1);var eE=L({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncGeneratorDelegate.js"(e,t){var n=ej();t.exports=function(e){var t={},a=!1;function o(t,o){return a=!0,{done:!1,value:new n(o=new Promise(function(n){n(e[t](o))}),1)}}return t["u">typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return a?(a=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(a)throw a=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return a?(a=!1,e):o("return",e)}),t},t.exports.__esModule=!0,t.exports.default=t.exports}});B(e_(),1),B(ek(),1),B(ew(),1),B(eE(),1),B(ey(),1),B(ew(),1),B(G(),1);var eD=d(f(),1),eT=d(g(),1),eI=class{constructor(e){(0,eD.default)(this,"links",void 0),(0,eD.default)(this,"runtime",void 0),(0,eD.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(e=>e(this.runtime))}$request(e){var t,n;return(n={links:this.links,op:(0,eT.default)((0,eT.default)({},e),{},{context:null!=(t=e.context)?t:{},id:++this.requestId})},b(e=>(function e(t=0,a=n.op){let o=n.links[t];if(!o)throw Error("No more links to execute - did you forget to add an ending link?");return o({op:a,next:n=>e(t+1,n)})})().subscribe(e))).pipe(e=>{let t=0,n=null,a=[];return b(o=>(t++,a.push(o),n||(n=e.subscribe({next(e){for(let n of a){var t;null==(t=n.next)||t.call(n,e)}},error(e){for(let n of a){var t;null==(t=n.error)||t.call(n,e)}},complete(){for(let t of a){var e;null==(e=t.complete)||e.call(t)}}})),{unsubscribe(){if(0==--t&&n){let e=n;n=null,e.unsubscribe()}let e=a.findIndex(e=>e===o);e>-1&&a.splice(e,1)}}))})}async requestAsPromise(e){try{let t,n=this.$request(e);return(await (t=new AbortController,new Promise((e,a)=>{let o=!1;function r(){o||(o=!0,s.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});let s=n.subscribe({next(t){o=!0,e(t),r()},error(e){a(e)},complete(){t.abort(),r()}})}))).result.data}catch(e){throw _.from(e)}}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:null==n?void 0:n.context,signal:null==n?void 0:n.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:null==n?void 0:n.context,signal:null==n?void 0:n.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n.context,signal:n.signal}).subscribe({next(e){var t,a,o,r;switch(e.result.type){case"state":null==(t=n.onConnectionStateChange)||t.call(n,e.result);break;case"started":null==(a=n.onStarted)||a.call(n,{context:e.context});break;case"stopped":null==(o=n.onStopped)||o.call(n);break;case"data":case void 0:null==(r=n.onData)||r.call(n,e.result.data)}},error(e){var t;null==(t=n.onError)||t.call(n,e)},complete(){var e;null==(e=n.onComplete)||e.call(n)}})}};let ex=Symbol.for("trpc_untypedClient"),eC={query:"query",mutate:"mutation",subscribe:"subscription"};function eS(e){return e[ex]}d(g(),1),d(g(),1),d(p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(e){function t(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return(n=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new n(e)}t.exports=function(e){var t,a,o,r=2;for("u">typeof Symbol&&(a=Symbol.asyncIterator,o=Symbol.iterator);r--;){if(a&&null!=(t=e[a]))return t.call(e);
9if(o&&null!=(t=e[o]))return new n(t.call(e));a="@@asyncIterator",o="@@iterator"}throw TypeError("Object is not async iterable")},t.exports.__esModule=!0,t.exports.default=t.exports}})(),1),d(g(),1);var eA=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){t.exports=function(){var e="function"==typeof SuppressedError?SuppressedError:function(e,t){var n=Error();return n.name="SuppressedError",n.error=e,n.suppressed=t,n},t={},n=[];function a(e,t){if(null!=t){if(Object(t)!==t)throw TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var a=t[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===a&&(a=t[Symbol.dispose||Symbol.for("Symbol.dispose")],e))var o=a;if("function"!=typeof a)throw TypeError("Object is not disposable.");o&&(a=function(){try{o.call(t)}catch(e){return Promise.reject(e)}}),n.push({v:t,d:a,a:e})}else e&&n.push({d:t,a:e});return t}return{e:t,u:a.bind(null,!1),a:a.bind(null,!0),d:function(){var a,o=this.e,r=0;function s(){for(;a=n.pop();)try{if(!a.a&&1===r)return r=0,n.push(a),Promise.resolve().then(s);if(a.d){var e=a.d.call(a.v);if(a.a)return r|=2,Promise.resolve(e).then(s,i)}else r|=1}catch(e){return i(e)}if(1===r)return o!==t?Promise.reject(o):Promise.resolve();if(o!==t)throw o}function i(n){return o=o!==t?new e(n,o):n,s()}return s()}}},t.exports.__esModule=!0,t.exports.default=t.exports}}),eN=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){t.exports=function(e,t){this.v=e,this.k=t},t.exports.__esModule=!0,t.exports.default=t.exports}}),eM=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=eN();t.exports=function(e){return new n(e,0)},t.exports.__esModule=!0,t.exports.default=t.exports}}),eO=p({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=eN();function a(e){var t,a;function o(t,a){try{var s=e[t](a),i=s.value,l=i instanceof n;Promise.resolve(l?i.v:i).then(function(n){if(l){var a="return"===t?"return":"next";if(!i.k||n.done)return o(a,n);n=e[a](n).value}r(s.done?"return":"normal",n)},function(e){o("throw",e)})}catch(e){r("throw",e)}}function r(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):a=null}this._invoke=function(e,n){return new Promise(function(r,s){var i={key:e,arg:n,resolve:r,reject:s,next:null};a?a=a.next=i:(t=a=i,o(e,n))})},"function"!=typeof e.return&&(this.return=void 0)}a.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(e){return this._invoke("next",e)},a.prototype.throw=function(e){return this._invoke("throw",e)},a.prototype.return=function(e){return this._invoke("return",e)},t.exports=function(e){return function(){return new a(e.apply(this,arguments))}},t.exports.__esModule=!0,t.exports.default=t.exports}});d(eA(),1),d(eM(),1),d(eO(),1),d(g(),1),e.s(["TRPCUntypedClient",0,eI,"createTRPCClient",0,function(e){var t;let n,a;return t=new eI(e),n=z(({path:e,args:n})=>{let a=[...e],o=eC[a.pop()],r=a.join(".");return t[o](r,...n)}),a=e=>e===ex?t:n[e],new Proxy(H,{get(e,t){if("then"!==t)return a(t)}})},"getUntypedClient",0,eS],91600);var eR=e.i(564946),eF=e.i(766271),eP=e.i(485846),eL=Object.create,eB=Object.defineProperty,eH=Object.getOwnPropertyDescriptor,eU=Object.getOwnPropertyNames,ez=Object.getPrototypeOf,e$=Object.prototype.hasOwnProperty,eq=(e,t)=>function(){return t||(0,e[eU(e)[0]])((t={exports:{}}).exports,t),t.exports},eV=(e,t,n)=>(n=null!=e?eL(ez(e)):{},((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,o=eU(t),r=0,s=o.length;r<s;r++)a=o[r],e$.call(e,a)||void 0===a||eB(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(n=eH(t,a))||n.enumerable});return e})(!t&&e&&e.__esModule?n:eB(n,"default",{value:e,enumerable:!0}),e)),eW=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}
9,t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),eG=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=eW().default;t.exports=function(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var o=a.call(e,t||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},t.exports.__esModule=!0,t.exports.default=t.exports}}),eY=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=eW().default,a=eG();t.exports=function(e){var t=a(e,"string");return"symbol"==n(t)?t:t+""},t.exports.__esModule=!0,t.exports.default=t.exports}}),eK=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=eY();t.exports=function(e,t,a){return(t=n(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e},t.exports.__esModule=!0,t.exports.default=t.exports}}),eQ=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=eK();function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}t.exports=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach(function(t){n(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e},t.exports.__esModule=!0,t.exports.default=t.exports}}),eX=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(e){function t(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return(n=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new n(e)}t.exports=function(e){var t,a,o,r=2;for("u">typeof Symbol&&(a=Symbol.asyncIterator,o=Symbol.iterator);r--;){if(a&&null!=(t=e[a]))return t.call(e);if(o&&null!=(t=e[o]))return new n(t.call(e));a="@@asyncIterator",o="@@iterator"}throw TypeError("Object is not async iterable")},t.exports.__esModule=!0,t.exports.default=t.exports}}),eJ=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){t.exports=function(e,t){if(null==e)return{};var n={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(t.includes(a))continue;n[a]=e[a]}return n},t.exports.__esModule=!0,t.exports.default=t.exports}}),eZ=eq({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=eJ();t.exports=function(e,t){if(null==e)return{};var a,o,r=n(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)a=s[o],t.includes(a)||({}).propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r},t.exports.__esModule=!0,t.exports.default=t.exports}}),e0=eV(eQ(),1),e1=eV(eX(),1),e6=eV(eZ(),1);let e4=["cursor","direction"];function e2(e){return{path:e.path.join(".")}}function e3(e){return e.length>=3?{type:"prefixed",prefix:e[0],path:e[1],args:e[2]}:{type:"unprefixed",prefix:void 0,path:e[0],args:e[1]}}function e5(e,t,n){var a,o,r;let s=e3(e),i=null==(a=s.args)?void 0:a.input;return n&&(i=(0,e0.default)((0,e0.default)((0,e0.default)({},null!=(o=null==(r=s.args)?void 0:r.input)?o:{}),void 0!==n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})),[s.path.join("."),i,null==t?void 0:t.trpc]}async function e9(e,t,n){let a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});let o=[];var r=!1,s=!1;try{for(var i,l,c=(0,e1.default)(e);r=!(l=await c.next()).done;r=!1){let e=l.value;o.push(e),a.setState({data:[...o]})}}catch(e){s=!0,i=e}finally{try{r&&null!=c.return&&await c.return()}finally{if(s)throw i}}return o}function e8(e){let t=(()=>
9{let{input:t,type:n}=e,a=e.path.flatMap(e=>e.split("."));if(!t&&"any"===n)return a.length?[a]:[];if("infinite"===n&&y(t)&&("direction"in t||"cursor"in t)){let{cursor:e,direction:n}=t;return[a,{input:(0,e6.default)(t,e4),type:"infinite"}]}return[a,(0,e0.default)((0,e0.default)({},void 0!==t&&t!==eF.skipToken&&{input:t}),n&&"any"!==n&&{type:n})]})();return e.prefix&&t.unshift([e.prefix]),t}function e7(e){let t=[e.path.flatMap(e=>e.split("."))];return e.prefix&&t.unshift([e.prefix]),t}function te(e){return"function"==typeof e?e():e}var tt=eV(eQ()),tn=eV(eQ()),ta=eV(eQ()),to=eV(eQ(),1),tr=eV(eQ(),1);e.s(["createTRPCContext",0,function(){let e=eR.createContext(null),t=eR.createContext(null),n=n=>{let a=eR.useMemo(()=>{var e;let t,a;return t=(e={client:n.trpcClient,queryClient:n.queryClient,keyPrefix:n.keyPrefix}).keyPrefix,a=t=>(n,a,o)=>"router"in e?Promise.resolve(te(e.ctx)).then(o=>ee({router:e.router,path:n,getRawInput:async()=>a,ctx:o,type:t,signal:void 0})):(e.client instanceof eI?e.client:eS(e.client))[t](n,a,o),z(({args:n,path:o})=>{let r=[...o],s=r.pop(),[i,l]=n;return({"~types":void 0,pathKey:()=>e8({path:r,type:"any",prefix:t}),pathFilter:()=>(0,tr.default)((0,tr.default)({},i),{},{queryKey:e8({path:r,type:"any",prefix:t})}),queryOptions:()=>(function(e){let{input:t,query:n,path:a,queryKey:o,opts:r}=e,s=te(e.queryClient),i=t===eF.skipToken,l=async e=>{var t;let a=(0,ta.default)((0,ta.default)({},r),{},{trpc:(0,ta.default)((0,ta.default)({},null==r?void 0:r.trpc),(null==r||null==(t=r.trpc)?void 0:t.abortOnUnmount)?{signal:e.signal}:{signal:null})}),o=e.queryKey,i=await n(...e5(o,a));return j&&y(i)&&Symbol.asyncIterator in i?e9(i,s,o):i};return Object.assign((0,ta.default)((0,ta.default)({},r),{},{queryKey:o,queryFn:i?eF.skipToken:l}),{trpc:e2({path:a})})})({input:i,opts:l,path:r,queryClient:e.queryClient,queryKey:e8({path:r,input:i,type:"query",prefix:t}),query:a("query")}),queryKey:()=>e8({path:r,input:i,type:"query",prefix:t}),queryFilter:()=>(0,tr.default)((0,tr.default)({},l),{},{queryKey:e8({path:r,input:i,type:"query",prefix:t})}),infiniteQueryOptions:()=>(function(e){var t;let{input:n,query:a,path:o,queryKey:r,opts:s}=e,i=n===eF.skipToken,l=async e=>{var t;let n=(0,tt.default)((0,tt.default)({},s),{},{trpc:(0,tt.default)((0,tt.default)({},null==s?void 0:s.trpc),(null==s||null==(t=s.trpc)?void 0:t.abortOnUnmount)?{signal:e.signal}:{signal:null})});return await a(...e5(r,n,{direction:e.direction,pageParam:e.pageParam}))};return Object.assign((0,tt.default)((0,tt.default)({},null!=s?s:{}),{},{queryKey:r,queryFn:i?eF.skipToken:l,initialPageParam:null!=(t=null==s?void 0:s.initialCursor)?t:null==n?void 0:n.cursor}),{trpc:e2({path:o})})})({input:i,opts:l,path:r,queryClient:e.queryClient,queryKey:e8({path:r,input:i,type:"infinite",prefix:t}),query:a("query")}),infiniteQueryKey:()=>e8({path:r,input:i,type:"infinite",prefix:t}),infiniteQueryFilter:()=>(0,tr.default)((0,tr.default)({},l),{},{queryKey:e8({path:r,input:i,type:"infinite",prefix:t})}),mutationOptions:()=>{var t;return function(e){var t;let{mutate:n,path:a,opts:o,overrides:r}=e,s=te(e.queryClient),i=e7({path:a,prefix:null==o?void 0:o.keyPrefix}),l=s.defaultMutationOptions(s.getMutationDefaults(i)),c=null!=(t=null==r?void 0:r.onSuccess)?t:e=>e.originalFn(),p=async e=>await n(...e5([...i,{input:e}],o));return(0,tn.default)((0,tn.default)({},o),{},{mutationKey:i,mutationFn:p,onSuccess(...e){var t,n;return c({originalFn:()=>{var t,n,a;return null!=(t=null==o||null==(n=o.onSuccess)?void 0:n.call(o,...e))?t:null==l||null==(a=l.onSuccess)?void 0:a.call(l,...e)},queryClient:s,meta:null!=(t=null!=(n=null==o?void 0:o.meta)?n:null==l?void 0:l.meta)?t:{}})},trpc:e2({path:a})})}({opts:i,path:r,queryClient:e.queryClient,mutate:a("mutation"),overrides:null==(t=e.overrides)?void 0:t.mutations})},mutationKey:()=>e7({path:r,prefix:t}),subscriptionOptions:()=>(e=>{var t;let{subscribe:n,path:a,queryKey:o,opts:r={}}=e,s=null==(t=e3(o))||null==(t=t.args)?void 0:t.input,i="enabled"in r?!!r.enabled:s!==eF.skipToken;return(0,to.default)((0,to.default)({},r),{},{enabled:i,subscribe:e=>n(a.join("."),null!=s?s:void 0,e),queryKey:o,trpc:e2({path:a})})}
9)({opts:l,path:r,queryKey:e8({path:r,input:i,type:"any",prefix:t}),subscribe:a("subscription")})})[s]()})},[n.trpcClient,n.queryClient,n.keyPrefix]);return(0,eP.jsx)(e.Provider,{value:n.trpcClient,children:(0,eP.jsx)(t.Provider,{value:a,children:n.children})})};return n.displayName="TRPCProvider",{TRPCProvider:n,useTRPC:function(){let e=eR.useContext(t);if(!e)throw Error("useTRPC() can only be used inside of a <TRPCProvider>");return e},useTRPCClient:function(){let t=eR.useContext(e);if(!t)throw Error("useTRPCClient() can only be used inside of a <TRPCProvider>");return t}}}],129229)},73772,e=>{"use strict";var t=new WeakMap,n=new WeakMap,a={},o=0,r=function(e){return e&&(e.host||r(e.parentNode))},s=function(e,s,i,l){var c=(Array.isArray(e)?e:[e]).map(function(e){if(s.contains(e))return e;var t=r(e);return t&&s.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",s,". Doing nothing"),null)}).filter(function(e){return!!e});a[i]||(a[i]=new WeakMap);var p=a[i],d=[],u=new Set,m=new Set(c),h=function(e){!e||u.has(e)||(u.add(e),h(e.parentNode))};c.forEach(h);var f=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))f(e);else try{var a=e.getAttribute(l),o=null!==a&&"false"!==a,r=(t.get(e)||0)+1,s=(p.get(e)||0)+1;t.set(e,r),p.set(e,s),d.push(e),1===r&&o&&n.set(e,!0),1===s&&e.setAttribute(i,"true"),o||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return f(s),u.clear(),o++,function(){d.forEach(function(e){var a=t.get(e)-1,o=p.get(e)-1;t.set(e,a),p.set(e,o),a||(n.has(e)||e.removeAttribute(l),n.delete(e)),o||e.removeAttribute(i)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,a={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(a.push.apply(a,Array.from(o.querySelectorAll("[aria-live], script"))),s(a,o,n,"aria-hidden")):function(){return null}}])},100412,e=>{"use strict";var t=e.i(268844);e.s(["isSameYear",0,function(e,n,a){let[o,r]=(0,t.normalizeDates)(a?.in,e,n);return o.getFullYear()===r.getFullYear()}])},975609,(e,t,n)=>{"use strict";var a=Object.prototype.hasOwnProperty,o=Object.prototype.toString,r=Object.defineProperty,s=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},l=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,n=a.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&a.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||a.call(e,t)},c=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},p=function(e,t){if("__proto__"===t){if(!a.call(e,t))return;else if(s)return s(e,t).value}return e[t]};t.exports=function e(){var t,n,a,o,r,s,d=arguments[0],u=1,m=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},u=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});u<m;++u)if(t=arguments[u],null!=t)for(n in t)a=p(d,n),d!==(o=p(t,n))&&(h&&o&&(l(o)||(r=i(o)))?(r?(r=!1,s=a&&i(a)?a:[]):s=a&&l(a)?a:{},c(d,{name:n,newValue:e(h,s,o)})):void 0!==o&&c(d,{name:n,newValue:o}));return d}},9763,e=>{"use strict";var t=e.i(654839),n=e.i(875811),a=e.i(332505);let o=function(e,t){var n;return(0,a.default)(e,function(e,a,o){return!(n=t(e,a,o))}),!!n};var r=e.i(494878),s=e.i(752056);e.s(["some",0,function(e,a,i){var l=(0,r.default)(e)?t.default:o;return i&&(0,s.default)(e,a,i)&&(a=void 0),l(e,(0,n.default)(a,3))}],9763)},959861,123749,622589,e=>{"use strict";let t=(0,e.i(540796).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["CheckIcon",0,t],959861);var n=e.i(564946),a=e.i(291967),o=e.i(151467),r=e.i(463697),s=e.i(305153),i=e.i(469466),l=e.i(411273),c=e.i(322239),p=e.i(74883),d=e.i(487941),u=e.i(485846),m="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},f="RovingFocusGroup",[g,b,v]=(0,o.createCollection)(f),[y,j]=(0,s.createContextScope)(f,[v]),[k,w]=y(f),_=n.forwardRef((e,t)=>
9(0,u.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(E,{...e,ref:t})})}));_.displayName=f;var E=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:o,orientation:s,loop:i=!1,dir:g,currentTabStopId:v,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:j,onEntryFocus:w,preventScrollOnEntryFocus:_=!1,...E}=e,D=n.useRef(null),T=(0,r.useComposedRefs)(t,D),I=(0,d.useDirection)(g),[C,S]=(0,p.useControllableState)({prop:v,defaultProp:y??null,onChange:j,caller:f}),[A,N]=n.useState(!1),M=(0,c.useCallbackRef)(w),O=b(o),R=n.useRef(!1),[F,P]=n.useState(0);return n.useEffect(()=>{let e=D.current;if(e)return e.addEventListener(m,M),()=>e.removeEventListener(m,M)},[M]),(0,u.jsx)(k,{scope:o,orientation:s,dir:I,loop:i,currentTabStopId:C,onItemFocus:n.useCallback(e=>S(e),[S]),onItemShiftTab:n.useCallback(()=>N(!0),[]),onFocusableItemAdd:n.useCallback(()=>P(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>P(e=>e-1),[]),children:(0,u.jsx)(l.Primitive.div,{tabIndex:A||0===F?-1:0,"data-orientation":s,...E,ref:T,style:{outline:"none",...e.style},onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,()=>{R.current=!0}),onFocus:(0,a.composeEventHandlers)(e.onFocus,e=>{let t=!R.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(m,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);x([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),_)}}R.current=!1}),onBlur:(0,a.composeEventHandlers)(e.onBlur,()=>N(!1))})})}),D="RovingFocusGroupItem",T=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:o,focusable:r=!0,active:s=!1,tabStopId:c,children:p,...d}=e,m=(0,i.useId)(),h=c||m,f=w(D,o),v=f.currentTabStopId===h,y=b(o),{onFocusableItemAdd:j,onFocusableItemRemove:k,currentTabStopId:_}=f;return n.useEffect(()=>{if(r)return j(),()=>k()},[r,j,k]),(0,u.jsx)(g.ItemSlot,{scope:o,id:h,focusable:r,active:s,children:(0,u.jsx)(l.Primitive.span,{tabIndex:v?0:-1,"data-orientation":f.orientation,...d,ref:t,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{r?f.onItemFocus(h):e.preventDefault()}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>f.onItemFocus(h)),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var a;let o=(a=e.key,"rtl"!==n?a:"ArrowLeft"===a?"ArrowRight":"ArrowRight"===a?"ArrowLeft":a);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return I[o]}(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,a;"prev"===t&&o.reverse();let r=o.indexOf(e.currentTarget);o=f.loop?(n=o,a=r+1,n.map((e,t)=>n[(a+t)%n.length])):o.slice(r+1)}setTimeout(()=>x(o))}}),children:"function"==typeof p?p({isCurrentTabStop:v,hasTabStop:null!=_}):p})})});T.displayName=D;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function x(e,t=!1){let n=document.activeElement;for(let a of e)if(a===n||(a.focus({preventScroll:t}),document.activeElement!==n))return}e.s(["Item",0,T,"Root",0,_,"createRovingFocusGroupScope",0,j],123749);var C=e.i(632137);e.i(393994);var S=e.i(179277),A=e.i(353703),N=e.i(741922),M=e.i(749219),O=e.i(873700),R=e.i(697586),F=e.i(515800),P=e.i(73772),L=e.i(952551),B=["Enter"," "],H=["ArrowUp","PageDown","End"],U=["ArrowDown","PageUp","Home",...H],z={ltr:[...B,"ArrowRight"],rtl:[...B,"ArrowLeft"]},$={ltr:["ArrowLeft"],rtl:["ArrowRight"]},q="Menu",[V,W,G]=(0,o.createCollection)(q),[Y,K]=(0,s.createContextScope)(q,[G,M.createPopperScope,j]),Q=(0,M.createPopperScope)(),X=j(),[J,Z]=Y(q),[ee,et]=Y(q),en=e=>{let{__scopeMenu:t,open:a=!1,children:o,dir:r,onOpenChange:s,modal:i=!0}=e,l=Q(t),[p,m]=n.useState(null),h=n.useRef(!1),f=(0,c.useCallbackRef)(s),g=(0,d.useDirection)(r);return n.useEffect(()=>{let e=()=>{h.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>h.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,u.jsx)(M.Root,{...l,children:(0,u.jsx)(J,{scope:t,open:a,onOpenChange:f,content:p,onContentChange:m,children:(0,u.jsx)(ee,{scope:t,onClose:n.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:h,dir:g,modal:i,children:o})})})};en.displayName=q;var ea=n.forwardRef((e,t)=>
9{let{__scopeMenu:n,...a}=e,o=Q(n);return(0,u.jsx)(M.Anchor,{...o,...a,ref:t})});ea.displayName="MenuAnchor";var eo="MenuPortal",[er,es]=Y(eo,{forceMount:void 0}),ei=e=>{let{__scopeMenu:t,forceMount:n,children:a,container:o}=e,r=Z(eo,t);return(0,u.jsx)(er,{scope:t,forceMount:n,children:(0,u.jsx)(R.Presence,{present:n||r.open,children:(0,u.jsx)(O.Portal,{asChild:!0,container:o,children:a})})})};ei.displayName=eo;var el="MenuContent",[ec,ep]=Y(el),ed=n.forwardRef((e,t)=>{let n=es(el,e.__scopeMenu),{forceMount:a=n.forceMount,...o}=e,r=Z(el,e.__scopeMenu),s=et(el,e.__scopeMenu);return(0,u.jsx)(V.Provider,{scope:e.__scopeMenu,children:(0,u.jsx)(R.Presence,{present:a||r.open,children:(0,u.jsx)(V.Slot,{scope:e.__scopeMenu,children:s.modal?(0,u.jsx)(eu,{...o,ref:t}):(0,u.jsx)(em,{...o,ref:t})})})})}),eu=n.forwardRef((e,t)=>{let o=Z(el,e.__scopeMenu),s=n.useRef(null),i=(0,r.useComposedRefs)(t,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,P.hideOthers)(e)},[]),(0,u.jsx)(ef,{...e,ref:i,trapFocus:o.open,disableOutsidePointerEvents:o.open,disableOutsideScroll:!0,onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>o.onOpenChange(!1)})}),em=n.forwardRef((e,t)=>{let n=Z(el,e.__scopeMenu);return(0,u.jsx)(ef,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),eh=(0,F.createSlot)("MenuContent.ScrollLock"),ef=n.forwardRef((e,t)=>{let{__scopeMenu:o,loop:s=!1,trapFocus:i,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:p,onEntryFocus:d,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:f,onInteractOutside:g,onDismiss:b,disableOutsideScroll:v,...y}=e,j=Z(el,o),k=et(el,o),w=Q(o),E=X(o),D=W(o),[T,I]=n.useState(null),x=n.useRef(null),C=(0,r.useComposedRefs)(t,x,j.onContentChange),O=n.useRef(0),R=n.useRef(""),F=n.useRef(0),P=n.useRef(null),B=n.useRef("right"),z=n.useRef(0),$=v?L.RemoveScroll:n.Fragment;n.useEffect(()=>()=>window.clearTimeout(O.current),[]),(0,A.useFocusGuards)();let q=n.useCallback(e=>{var t,n;return B.current===P.current?.side&&(t=e,!!(n=P.current?.area)&&function(e,t){let{x:n,y:a}=e,o=!1;for(let e=0,r=t.length-1;e<t.length;r=e++){let s=t[e],i=t[r],l=s.x,c=s.y,p=i.x,d=i.y;c>a!=d>a&&n<(p-l)*(a-c)/(d-c)+l&&(o=!o)}return o}({x:t.clientX,y:t.clientY},n))},[]);return(0,u.jsx)(ec,{scope:o,searchRef:R,onItemEnter:n.useCallback(e=>{q(e)&&e.preventDefault()},[q]),onItemLeave:n.useCallback(e=>{q(e)||(x.current?.focus(),I(null))},[q]),onTriggerLeave:n.useCallback(e=>{q(e)&&e.preventDefault()},[q]),pointerGraceTimerRef:F,onPointerGraceIntentChange:n.useCallback(e=>{P.current=e},[]),children:(0,u.jsx)($,{...v?{as:eh,allowPinchZoom:!0}:void 0,children:(0,u.jsx)(N.FocusScope,{asChild:!0,trapped:i,onMountAutoFocus:(0,a.composeEventHandlers)(l,e=>{e.preventDefault(),x.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,u.jsx)(S.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:p,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:f,onInteractOutside:g,onDismiss:b,children:(0,u.jsx)(_,{asChild:!0,...E,dir:k.dir,orientation:"vertical",loop:s,currentTabStopId:T,onCurrentTabStopIdChange:I,onEntryFocus:(0,a.composeEventHandlers)(d,e=>{k.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,u.jsx)(M.Content,{role:"menu","aria-orientation":"vertical","data-state":e$(j.open),"data-radix-menu-content":"",dir:k.dir,...w,...y,ref:C,style:{outline:"none",...y.style},onKeyDown:(0,a.composeEventHandlers)(y.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,a=1===e.key.length;if(t){var o;let t,r,s,i,l,c;"Tab"===e.key&&e.preventDefault(),!n&&a&&(o=e.key,t=R.current+o,r=D().filter(e=>!e.disabled),s=document.activeElement,i=r.find(e=>e.ref.current===s)?.textValue,l=function(e,t,n){var a;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,r=n?e.indexOf(n):-1,s=(a=Math.max(r,0),e.map((t,n)=>e[(a+n)%e.length]));1===o.length&&(s=s.filter(e=>e!==n));let i=s.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==n?i:void 0}(r.map(e=>e.textValue),t,i),c=r.find(e=>e.textValue===l)?.ref.current,function e(t){R.current=t,window.clearTimeout(O.current),""!==t&&(O.current=window.setTimeout(()=>e(""),1e3))}(t),c&&setTimeout(()=>c.focus()))}let r=x.current;
9if(e.target!==r||!U.includes(e.key))return;e.preventDefault();let s=D().filter(e=>!e.disabled).map(e=>e.ref.current);H.includes(e.key)&&s.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(s)}),onBlur:(0,a.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(O.current),R.current="")}),onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,eW(e=>{let t=e.target,n=z.current!==e.clientX;e.currentTarget.contains(t)&&n&&(B.current=e.clientX>z.current?"right":"left",z.current=e.clientX)}))})})})})})})});ed.displayName=el;var eg=n.forwardRef((e,t)=>{let{__scopeMenu:n,...a}=e;return(0,u.jsx)(l.Primitive.div,{role:"group",...a,ref:t})});eg.displayName="MenuGroup";var eb=n.forwardRef((e,t)=>{let{__scopeMenu:n,...a}=e;return(0,u.jsx)(l.Primitive.div,{...a,ref:t})});eb.displayName="MenuLabel";var ev="MenuItem",ey="menu.itemSelect",ej=n.forwardRef((e,t)=>{let{disabled:o=!1,onSelect:s,...i}=e,c=n.useRef(null),p=et(ev,e.__scopeMenu),d=ep(ev,e.__scopeMenu),m=(0,r.useComposedRefs)(t,c),h=n.useRef(!1);return(0,u.jsx)(ek,{...i,ref:m,disabled:o,onClick:(0,a.composeEventHandlers)(e.onClick,()=>{let e=c.current;if(!o&&e){let t=new CustomEvent(ey,{bubbles:!0,cancelable:!0});e.addEventListener(ey,e=>s?.(e),{once:!0}),(0,l.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?h.current=!1:p.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),h.current=!0},onPointerUp:(0,a.composeEventHandlers)(e.onPointerUp,e=>{h.current||e.currentTarget?.click()}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;o||t&&" "===e.key||B.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ej.displayName=ev;var ek=n.forwardRef((e,t)=>{let{__scopeMenu:o,disabled:s=!1,textValue:i,...c}=e,p=ep(ev,o),d=X(o),m=n.useRef(null),h=(0,r.useComposedRefs)(t,m),[f,g]=n.useState(!1),[b,v]=n.useState("");return n.useEffect(()=>{let e=m.current;e&&v((e.textContent??"").trim())},[c.children]),(0,u.jsx)(V.ItemSlot,{scope:o,disabled:s,textValue:i??b,children:(0,u.jsx)(T,{asChild:!0,...d,focusable:!s,children:(0,u.jsx)(l.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...c,ref:h,onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,eW(e=>{s?p.onItemLeave(e):(p.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,eW(e=>p.onItemLeave(e))),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>g(!0)),onBlur:(0,a.composeEventHandlers)(e.onBlur,()=>g(!1))})})})}),ew=n.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:o,...r}=e;return(0,u.jsx)(eS,{scope:e.__scopeMenu,checked:n,children:(0,u.jsx)(ej,{role:"menuitemcheckbox","aria-checked":eq(n)?"mixed":n,...r,ref:t,"data-state":eV(n),onSelect:(0,a.composeEventHandlers)(r.onSelect,()=>o?.(!!eq(n)||!n),{checkForDefaultPrevented:!1})})})});ew.displayName="MenuCheckboxItem";var e_="MenuRadioGroup",[eE,eD]=Y(e_,{value:void 0,onValueChange:()=>{}}),eT=n.forwardRef((e,t)=>{let{value:n,onValueChange:a,...o}=e,r=(0,c.useCallbackRef)(a);return(0,u.jsx)(eE,{scope:e.__scopeMenu,value:n,onValueChange:r,children:(0,u.jsx)(eg,{...o,ref:t})})});eT.displayName=e_;var eI="MenuRadioItem",ex=n.forwardRef((e,t)=>{let{value:n,...o}=e,r=eD(eI,e.__scopeMenu),s=n===r.value;return(0,u.jsx)(eS,{scope:e.__scopeMenu,checked:s,children:(0,u.jsx)(ej,{role:"menuitemradio","aria-checked":s,...o,ref:t,"data-state":eV(s),onSelect:(0,a.composeEventHandlers)(o.onSelect,()=>r.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ex.displayName=eI;var eC="MenuItemIndicator",[eS,eA]=Y(eC,{checked:!1}),eN=n.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:a,...o}=e,r=eA(eC,n);return(0,u.jsx)(R.Presence,{present:a||eq(r.checked)||!0===r.checked,children:(0,u.jsx)(l.Primitive.span,{...o,ref:t,"data-state":eV(r.checked)})})});eN.displayName=eC;var eM=n.forwardRef((e,t)=>{let{__scopeMenu:n,...a}=e;return(0,u.jsx)(l.Primitive.div,{role:"separator","aria-orientation":"horizontal",...a,ref:t})});eM.displayName="MenuSeparator";var eO=n.forwardRef((e,t)=>
9{let{__scopeMenu:n,...a}=e,o=Q(n);return(0,u.jsx)(M.Arrow,{...o,...a,ref:t})});eO.displayName="MenuArrow";var eR="MenuSub",[eF,eP]=Y(eR),eL=e=>{let{__scopeMenu:t,children:a,open:o=!1,onOpenChange:r}=e,s=Z(eR,t),l=Q(t),[p,d]=n.useState(null),[m,h]=n.useState(null),f=(0,c.useCallbackRef)(r);return n.useEffect(()=>(!1===s.open&&f(!1),()=>f(!1)),[s.open,f]),(0,u.jsx)(M.Root,{...l,children:(0,u.jsx)(J,{scope:t,open:o,onOpenChange:f,content:m,onContentChange:h,children:(0,u.jsx)(eF,{scope:t,contentId:(0,i.useId)(),triggerId:(0,i.useId)(),trigger:p,onTriggerChange:d,children:a})})})};eL.displayName=eR;var eB="MenuSubTrigger",eH=n.forwardRef((e,t)=>{let o=Z(eB,e.__scopeMenu),s=et(eB,e.__scopeMenu),i=eP(eB,e.__scopeMenu),l=ep(eB,e.__scopeMenu),c=n.useRef(null),{pointerGraceTimerRef:p,onPointerGraceIntentChange:d}=l,m={__scopeMenu:e.__scopeMenu},h=n.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return n.useEffect(()=>h,[h]),n.useEffect(()=>{let e=p.current;return()=>{window.clearTimeout(e),d(null)}},[p,d]),(0,u.jsx)(ea,{asChild:!0,...m,children:(0,u.jsx)(ek,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":i.contentId,"data-state":e$(o.open),...e,ref:(0,r.composeRefs)(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),o.open||o.onOpenChange(!0))},onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,eW(t=>{l.onItemEnter(t),!t.defaultPrevented&&(e.disabled||o.open||c.current||(l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{o.onOpenChange(!0),h()},100)))})),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,eW(e=>{h();let t=o.content?.getBoundingClientRect();if(t){let n=o.content?.dataset.side,a="right"===n,r=t[a?"left":"right"],s=t[a?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:r,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:r,y:t.bottom}],side:n}),window.clearTimeout(p.current),p.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,t=>{let n=""!==l.searchRef.current;e.disabled||n&&" "===t.key||z[s.dir].includes(t.key)&&(o.onOpenChange(!0),o.content?.focus(),t.preventDefault())})})})});eH.displayName=eB;var eU="MenuSubContent",ez=n.forwardRef((e,t)=>{let o=es(el,e.__scopeMenu),{forceMount:s=o.forceMount,...i}=e,l=Z(el,e.__scopeMenu),c=et(el,e.__scopeMenu),p=eP(eU,e.__scopeMenu),d=n.useRef(null),m=(0,r.useComposedRefs)(t,d);return(0,u.jsx)(V.Provider,{scope:e.__scopeMenu,children:(0,u.jsx)(R.Presence,{present:s||l.open,children:(0,u.jsx)(V.Slot,{scope:e.__scopeMenu,children:(0,u.jsx)(ef,{id:p.contentId,"aria-labelledby":p.triggerId,...i,ref:m,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{c.isUsingKeyboardRef.current&&d.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==p.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,a.composeEventHandlers)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=$[c.dir].includes(e.key);t&&n&&(l.onOpenChange(!1),p.trigger?.focus(),e.preventDefault())})})})})})});function e$(e){return e?"open":"closed"}function eq(e){return"indeterminate"===e}function eV(e){return eq(e)?"indeterminate":e?"checked":"unchecked"}function eW(e){return t=>"mouse"===t.pointerType?e(t):void 0}ez.displayName=eU;var eG="DropdownMenu",[eY,eK]=(0,s.createContextScope)(eG,[K]),eQ=K(),[eX,eJ]=eY(eG),eZ=e=>{let{__scopeDropdownMenu:t,children:a,dir:o,open:r,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=eQ(t),m=n.useRef(null),[h,f]=(0,p.useControllableState)({prop:r,defaultProp:s??!1,onChange:l,caller:eG});return(0,u.jsx)(eX,{scope:t,triggerId:(0,i.useId)(),triggerRef:m,contentId:(0,i.useId)(),open:h,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:c,children:(0,u.jsx)(en,{...d,open:h,onOpenChange:f,dir:o,modal:c,children:a})})};eZ.displayName=eG;var e0="DropdownMenuTrigger",e1=n.forwardRef((e,t)=>
9{let{__scopeDropdownMenu:n,disabled:o=!1,...s}=e,i=eJ(e0,n),c=eQ(n);return(0,u.jsx)(ea,{asChild:!0,...c,children:(0,u.jsx)(l.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...s,ref:(0,r.composeRefs)(t,i.triggerRef),onPointerDown:(0,a.composeEventHandlers)(e.onPointerDown,e=>{!o&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!o&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e1.displayName=e0;var e6=e=>{let{__scopeDropdownMenu:t,...n}=e,a=eQ(t);return(0,u.jsx)(ei,{...a,...n})};e6.displayName="DropdownMenuPortal";var e4="DropdownMenuContent",e2=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:o,...r}=e,s=eJ(e4,o),i=eQ(o),l=n.useRef(!1);return(0,u.jsx)(ed,{id:s.contentId,"aria-labelledby":s.triggerId,...i,...r,ref:t,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{l.current||s.triggerRef.current?.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,a.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,a=2===t.button||n;(!s.modal||a)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e2.displayName=e4;var e3=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(eg,{...o,...a,ref:t})});e3.displayName="DropdownMenuGroup";var e5=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(eb,{...o,...a,ref:t})});e5.displayName="DropdownMenuLabel";var e9=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(ej,{...o,...a,ref:t})});e9.displayName="DropdownMenuItem";var e8=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(ew,{...o,...a,ref:t})});e8.displayName="DropdownMenuCheckboxItem";var e7=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(eT,{...o,...a,ref:t})});e7.displayName="DropdownMenuRadioGroup";var te=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(ex,{...o,...a,ref:t})});te.displayName="DropdownMenuRadioItem";var tt=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(eN,{...o,...a,ref:t})});tt.displayName="DropdownMenuItemIndicator";var tn=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(eM,{...o,...a,ref:t})});tn.displayName="DropdownMenuSeparator";var ta=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(eO,{...o,...a,ref:t})});ta.displayName="DropdownMenuArrow";var to=e=>{let{__scopeDropdownMenu:t,children:n,open:a,onOpenChange:o,defaultOpen:r}=e,s=eQ(t),[i,l]=(0,p.useControllableState)({prop:a,defaultProp:r??!1,onChange:o,caller:"DropdownMenuSub"});return(0,u.jsx)(eL,{...s,open:i,onOpenChange:l,children:n})},tr=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(eH,{...o,...a,ref:t})});tr.displayName="DropdownMenuSubTrigger";var ts=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...a}=e,o=eQ(n);return(0,u.jsx)(ez,{...o,...a,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});ts.displayName="DropdownMenuSubContent",e.s(["Arrow",0,ta,"CheckboxItem",0,e8,"Content",0,e2,"DropdownMenu",0,eZ,"DropdownMenuArrow",0,ta,"DropdownMenuCheckboxItem",0,e8,"DropdownMenuContent",0,e2,"DropdownMenuGroup",0,e3,"DropdownMenuItem",0,e9,"DropdownMenuItemIndicator",0,tt,"DropdownMenuLabel",0,e5,"DropdownMenuPortal",0,e6,"DropdownMenuRadioGroup",0,e7,"DropdownMenuRadioItem",0,te,"DropdownMenuSeparator",0,tn,"DropdownMenuSub",0,to,"DropdownMenuSubContent",0,ts,"DropdownMenuSubTrigger",0,tr,"DropdownMenuTrigger",0,e1,"Group",0,e3,"Item",0,e9,"ItemIndicator",0,tt,"Label",0,e5,"Portal",0,e6,"RadioGroup",0,e7,"RadioItem",0,te,"Root",0,eZ,"Separator",0,tn,"Sub",0,to,"SubContent",0,ts,"SubTrigger",0,tr,"Trigger",0,e1,"createDropdownMenuScope",0,eK],841209);var ti=e.i(841209),ti=ti;e.s(["DropdownMenu",0,function({...e}){return(0,u.jsx)(ti.Root,{"data-slot":"dropdown-menu",...e})},"DropdownMenuContent",0,function({className:e,align:t="start",sideOffset:n=4,...a}){return(0,u.jsx)(ti.Portal,{children:(0,u.jsx)(ti.Content,{align:t,className:(0,C.cn)("data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
9de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 bg-popover/70 text-popover-foreground ring-foreground/10 data-closed:animate-out data-open:animate-in **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[variant=destructive]:**:text-accent-foreground! **:data-[variant=destructive]:text-accent-foreground! **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[variant=destructive]:focus:bg-foreground/10! relative z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[max(var(--radix-dropdown-menu-trigger-width),--spacing(32))] origin-(--radix-dropdown-menu-content-transform-origin) animate-none! overflow-x-hidden overflow-y-auto rounded-md p-1 shadow-md ring-1 duration-100 before:pointer-events-none before:fixed before:inset-0 before:-z-1 before:rounded-[inherit] before:backdrop-blur-2xl before:backdrop-saturate-150 data-[state=closed]:overflow-hidden",e),collisionPadding:4,"data-slot":"dropdown-menu-content",sideOffset:n,...a})})},"DropdownMenuGroup",0,function({...e}){return(0,u.jsx)(ti.Group,{"data-slot":"dropdown-menu-group",...e})},"DropdownMenuItem",0,function({className:e,inset:t,variant:n="default",...a}){return(0,u.jsx)(ti.Item,{className:(0,C.cn)("group/dropdown-menu-item focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:*:[svg]:text-destructive relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),"data-inset":t,"data-slot":"dropdown-menu-item","data-variant":n,...a})},"DropdownMenuLabel",0,function({className:e,inset:t,...n}){return(0,u.jsx)(ti.Label,{className:(0,C.cn)("text-muted-foreground px-2 py-1.5 text-xs font-medium data-inset:pl-8",e),"data-inset":t,"data-slot":"dropdown-menu-label",...n})},"DropdownMenuSeparator",0,function({className:e,...t}){return(0,u.jsx)(ti.Separator,{className:(0,C.cn)("bg-border -mx-1 my-1 h-px",e),"data-slot":"dropdown-menu-separator",...t})},"DropdownMenuTrigger",0,function({...e}){return(0,u.jsx)(ti.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}],622589)},407425,e=>{"use strict";let t=(0,e.i(540796).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDownIcon",0,t],407425)},807484,492507,949934,555867,e=>{"use strict";var t=e.i(540796);let n=(0,t.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CircleCheckIcon",0,n],807484);let a=(0,t.default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["InfoIcon",0,a],492507);let o=(0,t.default)("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["OctagonXIcon",0,o],949934);let r=(0,t.default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["TriangleAlertIcon",0,r],555867)},420119,e=>{"use strict";let t=(0,e.i(540796).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["XIcon",0,t],420119)},821957,e=>{"use strict";var t=e.i(564946),n=(e,t,n,a,o,r,s,i)=>
9{let l=document.documentElement,c=["light","dark"];function p(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,a=n&&r?o.map(e=>r[e]||e):o;n?(l.classList.remove(...a),l.classList.add(r&&r[t]?r[t]:t)):l.setAttribute(e,t)}),n=t,i&&c.includes(n)&&(l.style.colorScheme=n)}if(a)p(a);else try{let e=localStorage.getItem(t)||n,a=s&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;p(a)}catch(e){}},a=["light","dark"],o="(prefers-color-scheme: dark)",r="u"<typeof window,s=t.createContext(void 0),i={setTheme:e=>{},themes:[]},l=["light","dark"],c=({forcedTheme:e,disableTransitionOnChange:n=!1,enableSystem:r=!0,enableColorScheme:i=!0,storageKey:c="theme",themes:h=l,defaultTheme:f=r?"system":"light",attribute:g="data-theme",value:b,children:v,nonce:y,scriptProps:j})=>{let[k,w]=t.useState(()=>d(c,f)),[_,E]=t.useState(()=>"system"===k?m():k),D=b?Object.values(b):h,T=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&r&&(t=m());let o=b?b[t]:t,s=n?u(y):null,l=document.documentElement,c=e=>{"class"===e?(l.classList.remove(...D),o&&l.classList.add(o)):e.startsWith("data-")&&(o?l.setAttribute(e,o):l.removeAttribute(e))};if(Array.isArray(g)?g.forEach(c):c(g),i){let e=a.includes(f)?f:null,n=a.includes(t)?t:e;l.style.colorScheme=n}null==s||s()},[y]),I=t.useCallback(e=>{let t="function"==typeof e?e(k):e;w(t);try{localStorage.setItem(c,t)}catch(e){}},[k]),x=t.useCallback(t=>{E(m(t)),"system"===k&&r&&!e&&T("system")},[k,e]);t.useEffect(()=>{let e=window.matchMedia(o);return e.addListener(x),x(e),()=>e.removeListener(x)},[x]),t.useEffect(()=>{let e=e=>{e.key===c&&(e.newValue?w(e.newValue):I(f))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[I]),t.useEffect(()=>{T(null!=e?e:k)},[e,k]);let C=t.useMemo(()=>({theme:k,setTheme:I,forcedTheme:e,resolvedTheme:"system"===k?_:k,themes:r?[...h,"system"]:h,systemTheme:r?_:void 0}),[k,I,e,_,r,h]);return t.createElement(s.Provider,{value:C},t.createElement(p,{forcedTheme:e,storageKey:c,attribute:g,enableSystem:r,enableColorScheme:i,defaultTheme:f,value:b,themes:h,nonce:y,scriptProps:j}),v)},p=t.memo(({forcedTheme:e,storageKey:a,attribute:o,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:l,themes:c,nonce:p,scriptProps:d})=>{let u=JSON.stringify([o,a,i,e,c,l,r,s]).slice(1,-1);return t.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"u"<typeof window?p:"",dangerouslySetInnerHTML:{__html:`(${n.toString()})(${u})`}})}),d=(e,t)=>{let n;if(!r){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},u=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},m=e=>(e||(e=window.matchMedia(o)),e.matches?"dark":"light");e.s(["ThemeProvider",0,e=>t.useContext(s)?t.createElement(t.Fragment,null,e.children):t.createElement(c,{...e}),"useTheme",0,()=>{var e;return null!=(e=t.useContext(s))?e:i}])},952551,e=>{"use strict";var t,n,a,o,r,s,i,l=e.i(824627),c=e.i(564946),p="right-scroll-bar-position",d="width-before-scroll-bar";function u(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?c.useLayoutEffect:c.useEffect,h=new WeakMap,f=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),a=[],o=!1,r={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=n(e,o);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){o=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(r)};s(),a={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),a}}}}).options=(0,l.__assign)({async:!0,ssr:!1},t),r),g=function(){},b=c.forwardRef(function(e,t){var n,a,o,r,s=c.useRef(null),i=c.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),p=i[0],d=i[1],b=e.forwardProps,v=e.children,y=e.className,j=e.removeScrollBar,k=e.enabled,w=e.shards,_=e.sideCar,E=e.noRelative,D=e.noIsolation,T=e.inert,I=e.allowPinchZoom,x=e.as,C=e.gapMode,S=(0,l.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[s,t],a=function(e){return n.forEac
9h(function(t){return u(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:a,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=a,r=o.facade,m(function(){var e=h.get(r);if(e){var t=new Set(e),a=new Set(n),o=r.current;t.forEach(function(e){a.has(e)||u(e,null)}),a.forEach(function(e){t.has(e)||u(e,o)})}h.set(r,n)},[n]),r),N=(0,l.__assign)((0,l.__assign)({},S),p);return c.createElement(c.Fragment,null,k&&c.createElement(_,{sideCar:f,removeScrollBar:j,shards:w,noRelative:E,noIsolation:D,inert:T,setCallbacks:d,allowPinchZoom:!!I,lockRef:s,gapMode:C}),b?c.cloneElement(c.Children.only(v),(0,l.__assign)((0,l.__assign)({},N),{ref:A})):c.createElement(void 0===x?"div":x,(0,l.__assign)({},N,{className:y,ref:A}),v))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:d,zeroRight:p};var v=function(e){var t=e.sideCar,n=(0,l.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var a=t.read();if(!a)throw Error("Sidecar medium not found");return c.createElement(a,(0,l.__assign)({},n))};v.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var a,o;(a=t).styleSheet?a.styleSheet.cssText=n:a.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},j=function(){var e=y();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},k=function(){var e=j();return function(t){return e(t.styles,t.dynamic),null}},w={left:0,top:0,right:0,gap:0},_=function(e){return parseInt(e||"",10)||0},E=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],a=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[_(n),_(a),_(o)]},D=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return w;var t=E(e),n=document.documentElement.clientWidth,a=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,a-n+t[2]-t[0])}},T=k(),I="data-scroll-locked",x=function(e,t,n,a){var o=e.left,r=e.top,s=e.right,i=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(a,";\n padding-right: ").concat(i,"px ").concat(a,";\n }\n body[").concat(I,"] {\n overflow: hidden ").concat(a,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(a,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(r,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(a,";\n "),"padding"===n&&"padding-right: ".concat(i,"px ").concat(a,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(i,"px ").concat(a,";\n }\n \n .").concat(d," {\n margin-right: ").concat(i,"px ").concat(a,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(a,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(a,";\n }\n \n body[").concat(I,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")},C=function(){var e=parseInt(document.body.getAttribute(I)||"0",10);return isFinite(e)?e:0},S=function(){c.useEffect(function(){return document.body.setAttribute(I,(C()+1).toString()),function(){var e=C()-1;e<=0?document.body.removeAttribute(I):document.body.setAttribute(I,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,a=e.gapMode,o=void 0===a?"margin":a;S();var r=c.useMemo(function(){return D(o)},[o]);return c.createElement(T,{styles:x(r,!t,o,n?"":"!important")})},N=!1;if("u">typeof window)try{var M=Object.defineProperty({},"passive",{get:function(){return N=!0,!0}});window.addEventListener("test",M,M),window.removeEventListener("test",M,M)}catch(e){N=!1}var O=!!N&&{passive:!1},R=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},F=function(e,t){var n=t.ownerDocument,a=t;do{if("u">typeof ShadowRoot&&a instanceof ShadowRoot&&(a=a.host),P(e,a)){var o=L(e,a);if(o[1]>o[2])return!0}a=a.parentNode}while(a&&a!==n.body)return!1},P=function(e,t){return"v"===e?R(t,"overflowY"):R(t,"overflowX")},L=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,a,o){var r,s=(r=window.getComputedStyle(t).direction,"h"===e&&"rtl"===r?-1:1),i=s*a,l=n.target,c=t.contains(l),p=!1,d=i>0,u=0,m=0;do{if(!l)break;var h=L(e,l),f=h[0],g=h[1]-h[2]-s*f;(f||g)&&P(e,l)&&(u+=g,m+=f);var b=l.parentNode;l=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!c&&l!==document.body||c&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(u)||!o&&i>u)?p=!0:!d&&(o&&1>Math.abs(m)||!o&&-i>m)&&(p=!0),p},H=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},U=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},$=0,q=[];let V=(s=function(e){var t=c.useRef([]),n=c.useRef([0,0]),a=c.useRef(),o=c.useState($++)[0],r=c.useState(k)[0],s=c.useRef(e);c.useEffect(function(){s.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,l.__spreadArray)([e.lockRef.current],(e.shards||[]).map(z),!0).filter(
9Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,r=H(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-r[0],c="deltaY"in e?e.deltaY:i[1]-r[1],p=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===p.type)return!1;var u=window.getSelection(),m=u&&u.anchorNode;if(m&&(m===p||m.contains(p)))return!1;var h=F(d,p);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=F(d,p)),!h)return!1;if(!a.current&&"changedTouches"in e&&(l||c)&&(a.current=o),!o)return!0;var f=a.current||o;return B(f,t,e,"h"===f?l:c,!0)},[]),p=c.useCallback(function(e){if(q.length&&q[q.length-1]===r){var n="deltaY"in e?U(e):H(e),a=t.current.filter(function(t){var a;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(a=t.delta,a[0]===n[0]&&a[1]===n[1])})[0];if(a&&a.should){e.cancelable&&e.preventDefault();return}if(!a){var o=(s.current.shards||[]).map(z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?i(e,o[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}}
9,[]),d=c.useCallback(function(e,n,a,o){var r={name:e,delta:n,target:a,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(a)};t.current.push(r),setTimeout(function(){t.current=t.current.filter(function(e){return e!==r})},1)},[]),u=c.useCallback(function(e){n.current=H(e),a.current=void 0},[]),m=c.useCallback(function(t){d(t.type,U(t),t.target,i(t,e.lockRef.current))},[]),h=c.useCallback(function(t){d(t.type,H(t),t.target,i(t,e.lockRef.current))},[]);c.useEffect(function(){return q.push(r),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",p,O),document.addEventListener("touchmove",p,O),document.addEventListener("touchstart",u,O),function(){q=q.filter(function(e){return e!==r}),document.removeEventListener("wheel",p,O),document.removeEventListener("touchmove",p,O),document.removeEventListener("touchstart",u,O)}},[]);var f=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(r,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,f?c.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},f.useMedium(s),v);var W=c.forwardRef(function(e,t){return c.createElement(b,(0,l.__assign)({},e,{ref:t,sideCar:V}))});W.classNames=b.classNames,e.s(["RemoveScroll",0,W],952551)},102751,675917,511356,e=>{"use strict";let t;function n(){}var a,o,r,s,i,l,c,p,d,u,m,h,f,g,b,v,y,j,k,w,_,E,D,T,I,x,C,S,A,N,M,O=e.i(784251),R=e.i(273638),F=e.i(61634);function P(e,t){let n=e.indexOf("\r",t),a=e.indexOf("\n",t);return -1===a?n:-1===n||n+1===a?a:n<a?n:a}let L={}.hasOwnProperty,B=Object.prototype;function H(e,t){let a;switch(t.nodeName){case"#comment":return a={type:"comment",value:t.data},z(e,t,a),a;case"#document":case"#document-fragment":{let o="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(a={type:"root",children:U(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){let t,o,r=String(e.file),s=(t=String(r),o=[],{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;o.length<e.line;){let e=o[o.length-1],n=P(t,e),a=-1===n?t.length+1:n+1;if(e===a)break;o.push(a)}let n=(e.line>1?o[e.line-2]:0)+e.column-1;if(n<o[e.line-1])return n}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let n=0;for(;;){let a=o[n];if(void 0===a){let e=P(t,o[n-1]);a=-1===e?t.length+1:e+1,o[n]=a}if(a>e)return{line:n+1,column:e-(n>0?o[n-1]:0)+1,offset:e};n++}}}}),i=s.toPoint(0),l=s.toPoint(r.length);n(),n(),a.position={start:i,end:l}}return a}case"#documentType":return z(e,t,a={type:"doctype"}),a;case"#text":return a={type:"text",value:t.value},z(e,t,a),a;default:return function(e,t){let n=e.schema;e.schema="http://www.w3.org/2000/svg"===t.namespaceURI?F.svg:F.html;let a=-1,o={};for(;++a<t.attrs.length;){let e=t.attrs[a],n=(e.prefix?e.prefix+":":"")+e.name;L.call(B,n)||(o[n]=e.value)}let r=("svg"===e.schema.space?O.s:O.h)(t.tagName,o,U(e,t.childNodes));if(z(e,t,r),"template"===r.tagName){let n=t.sourceCodeLocation,a=n&&n.startTag&&$(n.startTag),o=n&&n.endTag&&$(n.endTag),s=H(e,t.content);a&&o&&e.file&&(s.position={start:a.end,end:o.start}),r.content=s}return e.schema=n,r}(e,t)}}function U(e,t){let n=-1,a=[];for(;++n<t.length;){let o=H(e,t[n]);a.push(o)}return a}function z(e,t,a){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let o=function(e,t,a){let o=$(a);if("element"===t.type){let r=t.children[t.children.length-1];if(o&&!a.endTag&&r&&r.position&&r.position.end&&(o.end=Object.assign({},r.position.end)),e.verbose){let o,r={};if(a.attrs)for(o in a.attrs)L.call(a.attrs,o)&&(r[(0,R.find)(e.schema,o).property]=$(a.attrs[o]));n(a.startTag);let s=$(a.startTag),i=a.endTag?$(a.endTag):void 0,l={opening:s};i&&(l.closing=i),l.properties=r,t.data={position:l}}}return o}(e,a,t.sourceCodeLocation);o&&(e.location=!0,a.position=o)}}function $(e){let t=q({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=q({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function q(e){return e.line&&e.column?e:void 0}let V=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(a=v||(v={}))[a.EOF=-1]="EOF",a[a.NULL=0]="NULL",a[a.TABULATION=9]="TABULATION",a[a.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",a[a.LINE_FEED=10]="LINE_FEED",a[a.FORM_FEED=12]="FORM_FEED",a[a.SPACE=32]="SPACE",a[a.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",a[a.QUOTATION_MARK=34]="QUOTATION_MARK",a[a.AMPERSAND=38]="AMPERSAND",a[a.APOSTROPHE=39]="APOSTROPHE",a[a.HYPHEN_MINUS=45]="HYPHEN_MINUS",a[a.SOLIDUS=47]="SOLIDUS",a[a.DIGIT_0=48]="DIGIT_0",a[a.DIGIT_9=57]="DIGIT_9",a[a.SEMICOLON=59]="SEMICOLON",a[a.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",a[a.EQUALS_SIGN=61]="EQUALS_SIGN",a[a.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",a[a.QUESTION_MARK=63]="QUESTION_MARK",a[a.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",a[a.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",a[a.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",a[a.GRAVE_ACCENT=96]="GRAVE_ACCENT",a[a.LATIN_SMALL_A=97]="LATIN_SMALL_A",a[a.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let W="[CDATA[",G="doctype",Y="script";function K(e){return e>=55296&&e<=57343}function Q(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function X(e){return e>=64976&&e<=65007||V.has(e)}(o=y||(y={})).controlCharacterInInputStream="control-character-in-input-stream",o.noncharacterInInputStream="noncharacter-in-input-stream",o.surrogateInInputStream="surrogate-in-input-stream",o.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",o.endTagWithAttributes="end-tag-with-attributes",o.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",o.unexpectedSolidusInTag="unexpected-solidus-in-tag",o.unexpectedNullCharacter="unexpected-null-character",o.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",o.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",o.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",o.missingEndTagName="missing-end-tag-name",o.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",o.unknownNamedCharacterReference="unknown-named-character-reference",o.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",o.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",o.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",o.eofBeforeTagName="eof-before-tag-name",o.eofInTag="eof-in-tag",o.missingAttributeValue="missing-attribute-value",o.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",o.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",o.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",o.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",o.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",o.missingQuoteBeforeDoctype
9SystemIdentifier="missing-quote-before-doctype-system-identifier",o.missingDoctypePublicIdentifier="missing-doctype-public-identifier",o.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",o.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",o.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",o.cdataInHtmlContent="cdata-in-html-content",o.incorrectlyOpenedComment="incorrectly-opened-comment",o.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",o.eofInDoctype="eof-in-doctype",o.nestedComment="nested-comment",o.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",o.eofInComment="eof-in-comment",o.incorrectlyClosedComment="incorrectly-closed-comment",o.eofInCdata="eof-in-cdata",o.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",o.nullCharacterReference="null-character-reference",o.surrogateCharacterReference="surrogate-character-reference",o.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",o.controlCharacterReference="control-character-reference",o.noncharacterCharacterReference="noncharacter-character-reference",o.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",o.missingDoctypeName="missing-doctype-name",o.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",o.duplicateAttribute="duplicate-attribute",o.nonConformingDoctype="non-conforming-doctype",o.missingDoctype="missing-doctype",o.misplacedDoctype="misplaced-doctype",o.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",o.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",o.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",o.openElementsLeftAfterEof="open-elements-left-after-eof",o.abandonedHeadElementChild="abandoned-head-element-child",o.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",o.nestedNoscriptInHead="nested-noscript-in-head",o.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class J{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:a,offset:o}=this,r=a+t,s=o+t;return{code:e,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,v.EOF;return this._err(y.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let n=this.html.charCodeAt(t);return n===v.CARRIAGE_RETURN?v.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let e=this.html.charCodeAt(this.pos);return e===v.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,v.LINE_FEED):e===v.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,K(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===v.LINE_FEED||e===v.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Q(e)?this._err(y.controlCharacterInInputStream):X(e)&&this._err(y.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function Z(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(r=j||(j={}))[r.CHARACTER=0]="CHARACTER",r[r.NULL_CHARACTER=1]="NULL_CHARACTER",r[r.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",r[r.START_TAG=3]="START_TAG",r[r.END_TAG=4]="END_TAG",r[r.COMMENT=5]="COMMENT",r[r.DOCTYPE=6]="DOCTYPE",r[r.EOF=7]="EOF",r[r.HIBERNATION=8]="HIBERNATION";let ee=new Uint16Array('
vendor: 16,129 bytes, line 9
9áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 9
9ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 9
9astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
9'.split("").map(e=>e.charCodeAt(0))),et=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function en(e){return e>=w.ZERO&&e<=w.NINE}k=String.fromCodePoint,(s=w||(w={}))[s.NUM=35]="NUM",s[s.SEMI=59]="SEMI",s[s.EQUALS=61]="EQUALS",s[s.ZERO=48]="ZERO",s[s.NINE=57]="NINE",s[s.LOWER_A=97]="LOWER_A",s[s.LOWER_F=102]="LOWER_F",s[s.LOWER_X=120]="LOWER_X",s[s.LOWER_Z=122]="LOWER_Z",s[s.UPPER_A=65]="UPPER_A",s[s.UPPER_F=70]="UPPER_F",s[s.UPPER_Z=90]="UPPER_Z",(i=_||(_={}))[i.VALUE_LENGTH=49152]="VALUE_LENGTH",i[i.BRANCH_LENGTH=16256]="BRANCH_LENGTH",i[i.JUMP_TABLE=127]="JUMP_TABLE",(l=E||(E={}))[l.EntityStart=0]="EntityStart",l[l.NumericStart=1]="NumericStart",l[l.NumericDecimal=2]="NumericDecimal",l[l.NumericHex=3]="NumericHex",l[l.NamedEntity=4]="NamedEntity",(c=D||(D={}))[c.Legacy=0]="Legacy",c[c.Strict=1]="Strict",c[c.Attribute=2]="Attribute";class ea{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=E.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=D.Strict}startEntity(e){this.decodeMode=e,this.state=E.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case E.EntityStart:if(e.charCodeAt(t)===w.NUM)return this.state=E.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=E.NamedEntity,this.stateNamedEntity(e,t);case E.NumericStart:return this.stateNumericStart(e,t);case E.NumericDecimal:return this.stateNumericDecimal(e,t);case E.NumericHex:return this.stateNumericHex(e,t);case E.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===w.LOWER_X?(this.state=E.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=E.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,a){if(t!==n){let o=n-t;this.result=this.result*Math.pow(a,o)+Number.parseInt(e.substr(t,o),a),this.consumed+=o}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var a;let o=e.charCodeAt(t);if(!en(o)&&(!((a=o)>=w.UPPER_A)||!(a<=w.UPPER_F))&&(!(a>=w.LOWER_A)||!(a<=w.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(o,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let a=e.charCodeAt(t);if(!en(a))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(a,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,a,o;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===w.SEMI)this.consumed+=1;else if(this.decodeMode===D.Strict)return 0;return this.emitCodePoint((a=this.result)>=55296&&a<=57343||a>1114111?65533:null!=(o=et.get(a))?o:a,this.consumed),this.errors&&(e!==w.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,a=n[this.treeIndex],o=(a&_.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let r=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,a){let o=(t&_.BRANCH_LENGTH)>>7,r=t&_.JUMP_TABLE;if(0===o)return 0!==r&&a===r?n:-1;if(r){let t=a-r;return t<0||t>=o?-1:e[n+t]-1}let s=n,i=s+o-1;for(;s<=i;){let t=s+i>>>1,n=e[t];if(n<a)s=t+1;else{if(!(n>a))return e[t+o];i=t-1}}return -1}(n,a,this.treeIndex+Math.max(1,o),r),this.treeIndex<0)return 0===this.result||this.decodeMode===D.Attribute&&(0===o||function(e){var t;return e===w.EQUALS||(t=e)>=w.UPPER_A&&t<=w.UPPER_Z||t>=w.LOWER_A&&t<=w.LOWER_Z||en(t)}(r))?0:this.emitNotTerminatedNamedEntity();if(0!=(o=((a=n[this.treeIndex])&_.VALUE_LENGTH)>>14)){if(r===w.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==D.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,a=(n[t]&_.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,a,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:a}=this;return this.emitCodePoint(1===t?a[e]&~_.VALUE_LENGTH:a[e+1],n),3===t&&this.emitCodePoint(a[e+2],n),n}end(){var e;switch(this.state){case E.NamedEntity:return 0!==this.result&&(this.decodeMode!==D.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case E.NumericDecimal:return this.emitNumericEntity(0,2);case E.NumericHex:return this.emitNumericEntity(0,3);case E.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case E.EntityStart:return 0}}}(p=T||(T={})).HTML="http://www.w3.org/1999/xhtml",p.MATHML="http://www.w3.org/1998/Math/MathML",p.SVG="http://www.w3.org/2000/svg",p.XLINK="http://www.w3.org/1999/xlink",p.XML="http://www.w3.org/XML/1998/namespace",p.XMLNS="http://www.w3.org/2000/xmlns/",(d=I||(I={})).TYPE="type",d.ACTION="action",d.ENCODING="encoding",d.PROMPT="prompt",d.NAME="name",d.COLOR="color",d.FACE="face",d.SIZE="size",(u=x||(x={})).NO_QUIRKS="no-quirks",u.QUIRKS="quirks",u.LIMITED_QUIRKS="limited-quirks",(m=C||(C={})).A="a",m.ADDRESS="address",m.ANNOTATION_XML="annotation-xml",m.APPLET="applet",m.AREA="area",m.ARTICLE="article",m.ASIDE="aside",m.B="b",m.BASE="base",m.BASEFONT="basefont",m.BGSOUND="bgsound",m.BIG="big",m.BLOCKQUOTE="blockquote",m.BODY="body",m.BR="br",m.BUTTON="button",m.CAPTION="caption",m.CENTER="center",m.CODE="code",m.COL="col",m.COLGROUP="colgroup",m.DD="dd",m.DESC="desc",m.DETAILS="details",m.DIALOG="dialog",m.DIR="dir",m.DIV="div",m.DL="dl",m.DT="dt",m.EM="em",m.EMBED="embed",m.FIELDSET="fieldset",m.FIGCAPTION="figcaption",m.FIGURE="figure",m.FONT="font",m.FOOTER="footer",m.FOREIGN_OBJECT="foreignObject",m.FORM="form",m.FRAME="frame",m.FRAMESET="frameset",m.H1="h1",m.H2="h2",m.H3="h3",m.H4="h4",m.H5="h5",m.H6="h6",m.HEAD="head",m.HEADER="header",m.HGROUP="hgroup",m.HR="hr",m.HTML="html",m.I="i",m.IMG="img",m.IMAGE="image",m.INPUT="input",m.IFRAME="iframe",m.KEYGEN="keygen",m.LABEL="label",m.LI="li",m.LINK="link",m.LISTING="listing",m.MAIN="main",m.MALIGNMARK="malignmark",m.MARQUEE="marquee",m.MATH="math",m.MENU="menu",m.META="meta",m.MGLYPH="mglyph",m.MI="mi",m.MO="mo",m.MN="mn",m.MS="ms",m.MTEXT="mtext",m.NAV="nav",m.NOBR="nobr",m.NOFRAMES="noframes",m.NOEMBED="noembed",m.NOSCRIPT="noscript",m.OBJECT="object",m.OL="ol",m.OPTGROUP="optgroup",m.OPTION="option",m.P="p",m.PARAM="param",m.PLAINTEXT="plaintext",m.PRE="pre",m.RB="rb",m.RP="rp",m.RT="rt",m.RTC="rtc",m.RUBY="ruby",m.S="s",m.SCRIPT="script",m.SEARCH="search",m.SECTION="section",m.SELECT="select",m.SOURCE="source",m.SMALL="small",m.SPAN="span",m.STRIKE="str
9ike",m.STRONG="strong",m.STYLE="style",m.SUB="sub",m.SUMMARY="summary",m.SUP="sup",m.TABLE="table",m.TBODY="tbody",m.TEMPLATE="template",m.TEXTAREA="textarea",m.TFOOT="tfoot",m.TD="td",m.TH="th",m.THEAD="thead",m.TITLE="title",m.TR="tr",m.TRACK="track",m.TT="tt",m.U="u",m.UL="ul",m.SVG="svg",m.VAR="var",m.WBR="wbr",m.XMP="xmp",(h=S||(S={}))[h.UNKNOWN=0]="UNKNOWN",h[h.A=1]="A",h[h.ADDRESS=2]="ADDRESS",h[h.ANNOTATION_XML=3]="ANNOTATION_XML",h[h.APPLET=4]="APPLET",h[h.AREA=5]="AREA",h[h.ARTICLE=6]="ARTICLE",h[h.ASIDE=7]="ASIDE",h[h.B=8]="B",h[h.BASE=9]="BASE",h[h.BASEFONT=10]="BASEFONT",h[h.BGSOUND=11]="BGSOUND",h[h.BIG=12]="BIG",h[h.BLOCKQUOTE=13]="BLOCKQUOTE",h[h.BODY=14]="BODY",h[h.BR=15]="BR",h[h.BUTTON=16]="BUTTON",h[h.CAPTION=17]="CAPTION",h[h.CENTER=18]="CENTER",h[h.CODE=19]="CODE",h[h.COL=20]="COL",h[h.COLGROUP=21]="COLGROUP",h[h.DD=22]="DD",h[h.DESC=23]="DESC",h[h.DETAILS=24]="DETAILS",h[h.DIALOG=25]="DIALOG",h[h.DIR=26]="DIR",h[h.DIV=27]="DIV",h[h.DL=28]="DL",h[h.DT=29]="DT",h[h.EM=30]="EM",h[h.EMBED=31]="EMBED",h[h.FIELDSET=32]="FIELDSET",h[h.FIGCAPTION=33]="FIGCAPTION",h[h.FIGURE=34]="FIGURE",h[h.FONT=35]="FONT",h[h.FOOTER=36]="FOOTER",h[h.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",h[h.FORM=38]="FORM",h[h.FRAME=39]="FRAME",h[h.FRAMESET=40]="FRAMESET",h[h.H1=41]="H1",h[h.H2=42]="H2",h[h.H3=43]="H3",h[h.H4=44]="H4",h[h.H5=45]="H5",h[h.H6=46]="H6",h[h.HEAD=47]="HEAD",h[h.HEADER=48]="HEADER",h[h.HGROUP=49]="HGROUP",h[h.HR=50]="HR",h[h.HTML=51]="HTML",h[h.I=52]="I",h[h.IMG=53]="IMG",h[h.IMAGE=54]="IMAGE",h[h.INPUT=55]="INPUT",h[h.IFRAME=56]="IFRAME",h[h.KEYGEN=57]="KEYGEN",h[h.LABEL=58]="LABEL",h[h.LI=59]="LI",h[h.LINK=60]="LINK",h[h.LISTING=61]="LISTING",h[h.MAIN=62]="MAIN",h[h.MALIGNMARK=63]="MALIGNMARK",h[h.MARQUEE=64]="MARQUEE",h[h.MATH=65]="MATH",h[h.MENU=66]="MENU",h[h.META=67]="META",h[h.MGLYPH=68]="MGLYPH",h[h.MI=69]="MI",h[h.MO=70]="MO",h[h.MN=71]="MN",h[h.MS=72]="MS",h[h.MTEXT=73]="MTEXT",h[h.NAV=74]="NAV",h[h.NOBR=75]="NOBR",h[h.NOFRAMES=76]="NOFRAMES",h[h.NOEMBED=77]="NOEMBED",h[h.NOSCRIPT=78]="NOSCRIPT",h[h.OBJECT=79]="OBJECT",h[h.OL=80]="OL",h[h.OPTGROUP=81]="OPTGROUP",h[h.OPTION=82]="OPTION",h[h.P=83]="P",h[h.PARAM=84]="PARAM",h[h.PLAINTEXT=85]="PLAINTEXT",h[h.PRE=86]="PRE",h[h.RB=87]="RB",h[h.RP=88]="RP",h[h.RT=89]="RT",h[h.RTC=90]="RTC",h[h.RUBY=91]="RUBY",h[h.S=92]="S",h[h.SCRIPT=93]="SCRIPT",h[h.SEARCH=94]="SEARCH",h[h.SECTION=95]="SECTION",h[h.SELECT=96]="SELECT",h[h.SOURCE=97]="SOURCE",h[h.SMALL=98]="SMALL",h[h.SPAN=99]="SPAN",h[h.STRIKE=100]="STRIKE",h[h.STRONG=101]="STRONG",h[h.STYLE=102]="STYLE",h[h.SUB=103]="SUB",h[h.SUMMARY=104]="SUMMARY",h[h.SUP=105]="SUP",h[h.TABLE=106]="TABLE",h[h.TBODY=107]="TBODY",h[h.TEMPLATE=108]="TEMPLATE",h[h.TEXTAREA=109]="TEXTAREA",h[h.TFOOT=110]="TFOOT",h[h.TD=111]="TD",h[h.TH=112]="TH",h[h.THEAD=113]="THEAD",h[h.TITLE=114]="TITLE",h[h.TR=115]="TR",h[h.TRACK=116]="TRACK",h[h.TT=117]="TT",h[h.U=118]="U",h[h.UL=119]="UL",h[h.SVG=120]="SVG",h[h.VAR=121]="VAR",h[h.WBR=122]="WBR",h[h.XMP=123]="XMP";let eo=new Map([[C.A,S.A],[C.ADDRESS,S.ADDRESS],[C.ANNOTATION_XML,S.ANNOTATION_XML],[C.APPLET,S.APPLET],[C.AREA,S.AREA],[C.ARTICLE,S.ARTICLE],[C.ASIDE,S.ASIDE],[C.B,S.B],[C.BASE,S.BASE],[C.BASEFONT,S.BASEFONT],[C.BGSOUND,S.BGSOUND],[C.BIG,S.BIG],[C.BLOCKQUOTE,S.BLOCKQUOTE],[C.BODY,S.BODY],[C.BR,S.BR],[C.BUTTON,S.BUTTON],[C.CAPTION,S.CAPTION],[C.CENTER,S.CENTER],[C.CODE,S.CODE],[C.COL,S.COL],[C.COLGROUP,S.COLGROUP],[C.DD,S.DD],[C.DESC,S.DESC],[C.DETAILS,S.DETAILS],[C.DIALOG,S.DIALOG],[C.DIR,S.DIR],[C.DIV,S.DIV],[C.DL,S.DL],[C.DT,S.DT],[C.EM,S.EM],[C.EMBED,S.EMBED],[C.FIELDSET,S.FIELDSET],[C.FIGCAPTION,S.FIGCAPTION],[C.FIGURE,S.FIGURE],[C.FONT,S.FONT],[C.FOOTER,S.FOOTER],[C.FOREIGN_OBJECT,S.FOREIGN_OBJECT],[C.FORM,S.FORM],[C.FRAME,S.FRAME],[C.FRAMESET,S.FRAMESET],[C.H1,S.H1],[C.H2,S.H2],[C.H3,S.H3],[C.H4,S.H4],[C.H5,S.H5],[C.H6,S.H6],[C.HEAD,S.HEAD],[C.HEADER,S.HEADER],[C.HGROUP,S.HGROUP],[C.HR,S.HR],[C.HTML,S.HTML],[C.I,S.I],[C.IMG,S.IMG],[C.IMAGE,S.IMAGE],[C.INPUT,S.INPUT],[C.IFRAME,S.IFRAME],[C.KEYGEN,S.KEYGEN],[C.LABEL,S.LABEL],[C.LI,S.LI],[C.LINK,S.LINK],[C.LISTING,S.LISTING],[C.MAIN,S.MAIN],[C.MALIGNMARK,S.MALIGNMARK],[C.MARQUEE,S.MARQUEE],[C.MATH,S.MATH],[C.MENU,S.MENU],[C.META,S.META],[C.MGLYPH,S.MGLYPH],[C.MI,S.MI],[C.MO,S.MO],[C.MN,S.MN],[C.MS,S.MS],[C.MTEXT,S.MTEXT],[C.NAV,S.NAV],[C.NOBR,S.NOBR],[C.NOFRAMES,S.NOFRAMES],[C.NOEMBED,S.NOEMBED],[C.NOSCRIPT,S.NOSCRIPT],[C.OBJECT,S.OBJECT],[C.OL,S.OL],[C.OPTGROUP,S.OPTGROUP],[C.OPTION,S.OPTION],[C.P,S.P],[C.PARAM,S.PARAM],[C.PLAINTEXT,S.PLAINTEXT],[C.PRE,S.PRE],[C.RB,S.RB],[C.RP,S.RP],[C.RT,S.RT],[C.RTC,S.RTC],[C.RUBY,S.RUBY],[C.S,S.S],[C.SCRIPT,S.SCRIPT],[C.SEARCH,S.SEARCH],[C.SECTION,S.SECTION],[C.SELECT,S.SELECT],[C.SOURCE,S.SOURCE],[C.SMALL,S.SMALL],[C.SPAN,S.SPAN],[C.STRIKE,S.STRIKE],[C.STRONG,S.STRONG],[C.STYLE,S.STYLE],[C.SUB,S.SUB],[C.SUMMARY,S.SUMMARY],[C.SUP,S.SUP],[C.TABLE,S.TABLE],[C.TBODY,S.TBODY],[C.TEMPLATE,S.TEMPLATE],[C.TEXTAREA,S.TEXTAREA],[C.TFOOT,S.TFOOT],[C.TD,S.TD],[C.TH,S.TH],[C.THEAD,S.THEAD],[C.TITLE,S.TITLE],[C.TR,S.TR],[C.TRACK,S.TRACK],[C.TT,S.TT],[C.U,S.U],[C.UL,S.UL],[C.SVG,S.SVG],[C.VAR,S.VAR],[C.WBR,S.WBR],[C.XMP,S.XMP]]);function er(e){var t;return null!=(t=eo.get(e))?t:S.UNKNOWN}let es=S,ei={[T.HTML]:new Set([es.ADDRESS,es.APPLET,es.AREA,es.ARTICLE,es.ASIDE,es.BASE,es.BASEFONT,es.BGSOUND,es.BLOCKQUOTE,es.BODY,es.BR,es.BUTTON,es.CAPTION,es.CENTER,es.COL,es.COLGROUP,es.DD,es.DETAILS,es.DIR,es.DIV,es.DL,es.DT,es.EMBED,es.FIELDSET,es.FIGCAPTION,es.FIGURE,es.FOOTER,es.FORM,es.FRAME,es.FRAMESET,es.H1,es.H2,es.H3,es.H4,es.H5,es.H6,es.HEAD,es.HEADER,es.HGROUP,es.HR,es.HTML,es.IFRAME,es.IMG,es.INPUT,es.LI,es.LINK,es.LISTING,es.MAIN,es.MARQUEE,es.MENU,es.META,es.NAV,es.NOEMBED,es.NOFRAMES,es.NOSCRIPT,es.OBJECT,es.OL,es.P,es.PARAM,es.PLAINTEXT,es.PRE,es.SCRIPT,es.SECTION,es.SELECT,es.SOURCE,es.STYLE,es.SUMMARY,es.TABLE,es.TBODY,es.TD,es.TEMPLATE,es.TEXTAREA,es.TFOOT,es.TH,es.THEAD,es.TITLE,es.TR,es.TRACK,es.UL,es.WBR,es.XMP]),[T.MATHML]:new Set([es.MI,es.MO,es.MN,es.MS,es.MTEXT,es.ANNOTATION_XML]),[T.SVG]:new Set([es.TITLE,es.FOREIGN_OBJECT,es.DESC]),[T.XLINK]:new Set,[T.XML]:new Set,[T.XMLNS]:new Set},el=new Set([es.H1,es.H2,es.H3,es.H4,es.H5,es.H6]);
9C.STYLE,C.SCRIPT,C.XMP,C.IFRAME,C.NOEMBED,C.NOFRAMES,C.PLAINTEXT,(f=A||(A={}))[f.DATA=0]="DATA",f[f.RCDATA=1]="RCDATA",f[f.RAWTEXT=2]="RAWTEXT",f[f.SCRIPT_DATA=3]="SCRIPT_DATA",f[f.PLAINTEXT=4]="PLAINTEXT",f[f.TAG_OPEN=5]="TAG_OPEN",f[f.END_TAG_OPEN=6]="END_TAG_OPEN",f[f.TAG_NAME=7]="TAG_NAME",f[f.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",f[f.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",f[f.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",f[f.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",f[f.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",f[f.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",f[f.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",f[f.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",f[f.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",f[f.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",f[f.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",f[f.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",f[f.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",f[f.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",f[f.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",f[f.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",f[f.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",f[f.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",f[f.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",f[f.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",f[f.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",f[f.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",f[f.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",f[f.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",f[f.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",f[f.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",f[f.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",f[f.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",f[f.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",f[f.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",f[f.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",f[f.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",f[f.BOGUS_COMMENT=40]="BOGUS_COMMENT",f[f.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",f[f.COMMENT_START=42]="COMMENT_START",f[f.COMMENT_START_DASH=43]="COMMENT_START_DASH",f[f.COMMENT=44]="COMMENT",f[f.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",f[f.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",f[f.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",f[f.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",f[f.COMMENT_END_DASH=49]="COMMENT_END_DASH",f[f.COMMENT_END=50]="COMMENT_END",f[f.COMMENT_END_BANG=51]="COMMENT_END_BANG",f[f.DOCTYPE=52]="DOCTYPE",f[f.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",f[f.DOCTYPE_NAME=54]="DOCTYPE_NAME",f[f.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",f[f.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",f[f.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",f[f.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",f[f.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",f[f.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",f[f.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",f[f.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",f[f.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",f[f.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",f[f.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",f[f.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",f[f.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",f[f.CDATA_SECTION=68]="CDATA_SECTION",f[f.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",f[f.CDATA_SECTION_END=70]="CDATA_SECTION_END",f[f.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",f[f.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let ec={DATA:A.DATA,RCDATA:A.RCDATA,RAWTEXT:A.RAWTEXT,SCRIPT_DATA:A.SCRIPT_DATA,PLAINTEXT:A.P
9LAINTEXT,CDATA_SECTION:A.CDATA_SECTION};function ep(e){return e>=v.LATIN_CAPITAL_A&&e<=v.LATIN_CAPITAL_Z}function ed(e){return e>=v.LATIN_SMALL_A&&e<=v.LATIN_SMALL_Z||ep(e)}function eu(e){return ed(e)||e>=v.DIGIT_0&&e<=v.DIGIT_9}function em(e){return e===v.SPACE||e===v.LINE_FEED||e===v.TABULATION||e===v.FORM_FEED}function eh(e){return em(e)||e===v.SOLIDUS||e===v.GREATER_THAN_SIGN}class ef{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=A.DATA,this.returnState=A.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new J(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ea(ee,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(y.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(y.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===v.NULL)return y.nullCharacterReference;if(e>1114111)return y.characterReferenceOutsideUnicodeRange;if(K(e))return y.surrogateCharacterReference;if(X(e))return y.noncharacterCharacterReference;if(Q(e)||e===v.CARRIAGE_RETURN)return y.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,a;null==(a=(n=this.handler).onParseError)||a.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:j.START_TAG,tagName:"",tagID:S.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:j.END_TAG,tagName:"",tagID:S.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:j.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:j.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let n=this.currentToken;null===Z(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!=(e=(t=n.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(y.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=er(e.tagName),e.type===j.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(y.endTagWithAttributes),e.selfClosing&&this._err(y.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case j.CHARACTER:this.handler.onCh
vendor: 6,187 bytes, line 9
9aracter(this.currentCharacterToken);break;case j.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case j.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:j.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=em(e)?j.WHITESPACE_CHARACTER:e===v.NULL?j.NULL_CHARACTER:j.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(j.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=A.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?D.Attribute:D.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===A.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case A.DATA:this._stateData(e);break;case A.RCDATA:this._stateRcdata(e);break;case A.RAWTEXT:this._stateRawtext(e);break;case A.SCRIPT_DATA:this._stateScriptData(e);break;case A.PLAINTEXT:this._statePlaintext(e);break;case A.TAG_OPEN:this._stateTagOpen(e);break;case A.END_TAG_OPEN:this._stateEndTagOpen(e);break;case A.TAG_NAME:this._stateTagName(e);break;case A.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case A.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case A.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case A.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case A.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case A.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case A.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case A.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case A.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case A.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case A.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case A.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case A.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case A.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case A.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case A.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case A.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case A.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case A.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case A.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case A.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case A.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case A.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case A.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case A.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case A.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case A.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case A.BOGUS_COMMENT:this._stateBogusComment(e);break;case A.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case A.COMMENT_START:this._stateCommentStart(e);break;case A.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case A.COMMENT:this._stateComment(e);break;case A.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case A.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case A.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case A.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case A.COMMENT_END:this._stateCommentEnd(e);break;case A.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case A.DOCTYPE:this._stateDoctype(e);break;case A.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case A.DOCTYPE_NAME:this._stateDoctypeName(e);break;case A.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case A.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case A.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctype
vendor: 4,147 bytes, line 9
9SystemIdentifier(e);break;case A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case A.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case A.CDATA_SECTION:this._stateCdataSection(e);break;case A.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case A.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case A.CHARACTER_REFERENCE:this._stateCharacterReference();break;case A.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case v.LESS_THAN_SIGN:this.state=A.TAG_OPEN;break;case v.AMPERSAND:this._startCharacterReference();break;case v.NULL:this._err(y.unexpectedNullCharacter),this._emitCodePoint(e);break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case v.AMPERSAND:this._startCharacterReference();break;case v.LESS_THAN_SIGN:this.state=A.RCDATA_LESS_THAN_SIGN;break;case v.NULL:this._err(y.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case v.LESS_THAN_SIGN:this.state=A.RAWTEXT_LESS_THAN_SIGN;break;case v.NULL:this._err(y.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case v.LESS_THAN_SIGN:this.state=A.SCRIPT_DATA_LESS_THAN_SIGN;break;case v.NULL:this._err(y.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case v.NULL:this._err(y.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ed(e))this._createStartTagToken(),this.state=A.TAG_NAME,this._stateTagName(e);else switch(e){case v.EXCLAMATION_MARK:this.state=A.MARKUP_DECLARATION_OPEN;break;case v.SOLIDUS:this.state=A.END_TAG_OPEN;break;case v.QUESTION_MARK:this._err(y.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=A.BOGUS_COMMENT,this._stateBogusComment(e);break;case v.EOF:this._err(y.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(y.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=A.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ed(e))this._createEndTagToken(),this.state=A.TAG_NAME,this._stateTagName(e);else switch(e){case v.GREATER_THAN_SIGN:this._err(y.missingEndTagName),this.state=A.DATA;break;case v.EOF:this._err(y.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(y.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=A.BEFORE_ATTRIBUTE_NAME;break;case v.SOLIDUS:this.state=A.SELF_CLOSING_START_TAG;break;case v.GREATER_THAN_SIGN:this.state=A.DATA,this.emitCurrentTagToken();break;case v.NULL:this._err(y.unexpectedNullCharacter),t.tagName+="�";break;case v.EOF:this._err(y.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(ep(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===v.SOLIDUS?this.state=A.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ed(e)?(this.state=A.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=A.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=A.BEFORE_ATTRIBUTE_NAME,
vendor: 6,300 bytes, line 9
9!1;case v.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=A.SELF_CLOSING_START_TAG,!1;case v.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=A.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=A.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===v.SOLIDUS?this.state=A.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ed(e)?(this.state=A.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case v.SOLIDUS:this.state=A.SCRIPT_DATA_END_TAG_OPEN;break;case v.EXCLAMATION_MARK:this.state=A.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=A.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ed(e)?(this.state=A.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===v.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===v.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case v.HYPHEN_MINUS:this.state=A.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.NULL:this._err(y.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._err(y.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case v.HYPHEN_MINUS:this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.NULL:this._err(y.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(y.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case v.HYPHEN_MINUS:this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case v.GREATER_THAN_SIGN:this.state=A.SCRIPT_DATA,this._emitChars(">");break;case v.NULL:this._err(y.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(y.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===v.SOLIDUS?this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ed(e)?(this._emitChars("<"),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ed(e)?(this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Y,!1)&&eh(this.preprocessor.peek(Y.length))){this._emitCodePoint(e);for(let e=0;e<Y.length;e++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case v.HYPHEN_MINUS:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.NULL:this._err(y.unexpectedNullCharacter),this._emitChars("�");break;case v.EOF:this._err(y.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case v.HYPHEN_MINUS:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.NULL:this._err(y.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(y.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case v.HYPHEN_MINUS:this._emitChars("-");break;case v.LESS_THAN_SIGN:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case v.GREATER_THAN_SIGN:this.state=A.SCRIPT_DATA,this._emitChars(">");break;case v.NULL:this._err(y.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case v.EOF:this._err(y.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===v.SOLIDUS?(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Y,!1)&&eh(this.preprocessor.peek(Y.length))){this._emitCodePoint(e);for(let e=0;e<Y.length;e++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;
vendor: 9,414 bytes, line 9
9case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case v.EQUALS_SIGN:this._err(y.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=A.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:this._leaveAttrName(),this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case v.EQUALS_SIGN:this._leaveAttrName(),this.state=A.BEFORE_ATTRIBUTE_VALUE;break;case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:this._err(y.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case v.NULL:this._err(y.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(ep(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:this.state=A.SELF_CLOSING_START_TAG;break;case v.EQUALS_SIGN:this.state=A.BEFORE_ATTRIBUTE_VALUE;break;case v.GREATER_THAN_SIGN:this.state=A.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(y.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:this.state=A.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case v.APOSTROPHE:this.state=A.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(y.missingAttributeValue),this.state=A.DATA,this.emitCurrentTagToken();break;default:this.state=A.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case v.QUOTATION_MARK:this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case v.AMPERSAND:this._startCharacterReference();break;case v.NULL:this._err(y.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.EOF:this._err(y.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case v.APOSTROPHE:this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case v.AMPERSAND:this._startCharacterReference();break;case v.NULL:this._err(y.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.EOF:this._err(y.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break;case v.AMPERSAND:this._startCharacterReference();break;case v.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break;case v.NULL:this._err(y.unexpectedNullCharacter),this.currentAttr.value+="�";break;case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:case v.EQUALS_SIGN:case v.GRAVE_ACCENT:this._err(y.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case v.EOF:this._err(y.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break;case v.SOLIDUS:this._leaveAttrValue(),this.state=A.SELF_CLOSING_START_TAG;break;case v.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(y.eofInTag),this._emitEOFToken();break;default:this._err(y.missingWhitespaceBetweenAttributes),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case v.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=A.DATA,this.emitCurrentTagToken();break;case v.EOF:this._err(y.eofInTag),this._emitEOFToken();break;default:this._err(y.unexpectedSolidusInTag),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.state=A.DATA,this.emitCurrentComment(t);break;case v.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case v.NULL:this._err(y.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=A.COMMENT_START):this._consumeSequenceIfMatch(G,!1)?(this.currentLocation=this.getCurrentLocation(G.length+1),this.state=A.DOCTYPE):this._consumeSequenceIfMatch(W,!0)?this.inForeignNode?this.state=A.CDATA_SECTION:(this._err(y.cdataInHtmlContent),this._createCommentToken(W.length+1),this.currentToken.data="[CDATA[",this.state=A.BOGUS_COMMENT):this._ensureHibernation()||(this._err(y.incorrectlyOpenedComment),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case v.HYPHEN_MINUS:this.state=A.COMMENT_START_DASH;break;case v.GREATER_THAN_SIGN:{this._err(y.abruptClosingOfEmptyComment),this.state=A.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=A.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=A.COMMENT_END;break;case v.GREATER_THAN_SIGN:this._err(y.abruptClosingOfEmptyComment),this.state=A.DATA,this.emitCurrentComment(t);break;case v.EOF:this._err(y.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=A.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=A.COMMENT_END_DASH;break;case v.LESS_THAN_SIGN:t.data+="<",this.state=A.COMMENT_LESS_THAN_SIGN;break;case v.NULL:this._err(y.unexpectedNullCharacter),t.data+="�";break;case v.EOF:this._err(y.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case v.EXCLAMATION_MARK:t.data+="!",this.state=A.COMMENT_LESS_THAN_SIGN_BANG;break;case v.LESS_THAN_SIGN:t.data+="<";break;default:this.state=A.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===v.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=A.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===v.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=A.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==v.GREATER_THAN_SIGN&&e!==v.EOF&&this._err(y.nestedComment),this.state=A.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:this.state=A.COMMENT_END;break;case v.EOF:this._err(y.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=A.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.state=A.DATA,this.emitCurrentComment(t);break;case v.EXCLAMATION_MARK:this.state=A.COMMENT_END_BANG;break;case v.HYPHEN_MINUS:t.data+="-";break;case v.EOF:this._err(y.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=A.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case v.HYPHEN_MINUS:t.data+="--!",this.state=A.COMMENT_END_DASH;break;case v.GREATER_THAN_SIGN:this._err(y.incorrectlyClosedComment),this.state=A.DATA,this.emitCurrentComment(t);break;case v.EOF:this._err(y.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=A.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=A.BEFORE_DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case v.EOF:{this._err(y.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(y.missingWhitespaceBeforeDoctypeName),this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(ep(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=A.DOCTYPE_NAME;else switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.NULL:this._err(y.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=A.DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:{this._err(y.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=A.DATA;break}case v.EOF:{this._err(y.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=A.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=A.AFTER_DOCTYPE_NAME;break;case v.GREATER_THAN_SIGN:this.state=A.DATA,this.emitCurrentDoctype(t);break;
9case v.NULL:this._err(y.unexpectedNullCharacter),t.name+="�";break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(ep(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.state=A.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=A.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=A.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(y.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.QUOTATION_MARK:this._err(y.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(y.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(y.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(y.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:t.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(y.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(y.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case v.QUOTATION_MARK:this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.NULL:this._err(y.unexpectedNullCharacter),t.publicId+="�";break;case v.GREATER_THAN_SIGN:this._err(y.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=A.DATA;break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case v.APOSTROPHE:this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case v.NULL:this._err(y.unexpectedNullCharacter),t.publicId+="�";break;case v.GREATER_THAN_SIGN:this._err(y.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=A.DATA;break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case v.GREATER_THAN_SIGN:this.state=A.DATA,this.emitCurrentDoctype(t);break;case v.QUOTATION_MARK:this._err(y.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(y.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 4,995 bytes, line 9
9default:this._err(y.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=A.DATA;break;case v.QUOTATION_MARK:t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(y.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:this.state=A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.QUOTATION_MARK:this._err(y.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:this._err(y.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(y.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(y.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case v.APOSTROPHE:t.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case v.GREATER_THAN_SIGN:this._err(y.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(t);break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(y.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case v.QUOTATION_MARK:this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.NULL:this._err(y.unexpectedNullCharacter),t.systemId+="�";break;case v.GREATER_THAN_SIGN:this._err(y.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=A.DATA;break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case v.APOSTROPHE:this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case v.NULL:this._err(y.unexpectedNullCharacter),t.systemId+="�";break;case v.GREATER_THAN_SIGN:this._err(y.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=A.DATA;break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=A.DATA;break;case v.EOF:this._err(y.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(y.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case v.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=A.DATA;break;case v.NULL:this._err(y.unexpectedNullCharacter);break;case v.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case v.RIGHT_SQUARE_BRACKET:this.state=A.CDATA_SECTION_BRACKET;break;case v.EOF:this._err(y.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===v.RIGHT_SQUARE_BRACKET?this.state=A.CDATA_SECTION_END:(this._emitChars("]"),this.state=A.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case v.GREATER_THAN_SIGN:this.state=A.DATA;break;case v.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=A.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}
vendor: 4,106 bytes, line 9
90===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&eu(this.preprocessor.peek(1))?A.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){eu(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===v.SEMICOLON&&this._err(y.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let eg=new Set([S.DD,S.DT,S.LI,S.OPTGROUP,S.OPTION,S.P,S.RB,S.RP,S.RT,S.RTC]),eb=new Set([...eg,S.CAPTION,S.COLGROUP,S.TBODY,S.TD,S.TFOOT,S.TH,S.THEAD,S.TR]),ev=new Set([S.APPLET,S.CAPTION,S.HTML,S.MARQUEE,S.OBJECT,S.TABLE,S.TD,S.TEMPLATE,S.TH]),ey=new Set([...ev,S.OL,S.UL]),ej=new Set([...ev,S.BUTTON]),ek=new Set([S.ANNOTATION_XML,S.MI,S.MN,S.MO,S.MS,S.MTEXT]),ew=new Set([S.DESC,S.FOREIGN_OBJECT,S.TITLE]),e_=new Set([S.TR,S.TEMPLATE,S.HTML]),eE=new Set([S.TBODY,S.TFOOT,S.THEAD,S.TEMPLATE,S.HTML]),eD=new Set([S.TABLE,S.TEMPLATE,S.HTML]),eT=new Set([S.TD,S.TH]);class eI{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=S.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===S.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===T.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let a=this._indexOf(e)+1;this.items.splice(a,0,t),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==T.HTML)this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(el,T.HTML)}popUntilTableCellPopped(){this.popUntilPopped(eT,T.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eD,T.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eE,T.HTML)}clearBackToTableRowContext(){this.clearBackTo(e_,T.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===S.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===S.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case T.HTML:if(a===e)return!0;
9if(t.has(a))return!1;break;case T.SVG:if(ew.has(a))return!1;break;case T.MATHML:if(ek.has(a))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,ev)}hasInListItemScope(e){return this.hasInDynamicScope(e,ey)}hasInButtonScope(e){return this.hasInDynamicScope(e,ej)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case T.HTML:if(el.has(t))return!0;if(ev.has(t))return!1;break;case T.SVG:if(ew.has(t))return!1;break;case T.MATHML:if(ek.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===T.HTML)switch(this.tagIDs[t]){case e:return!0;case S.TABLE:case S.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===T.HTML)switch(this.tagIDs[e]){case S.TBODY:case S.THEAD:case S.TFOOT:return!0;case S.TABLE:case S.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===T.HTML)switch(this.tagIDs[t]){case e:return!0;case S.OPTION:case S.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&eg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&eb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&eb.has(this.currentTagId);)this.pop()}}(g=N||(N={}))[g.Marker=0]="Marker",g[g.Element=1]="Element";let ex={type:N.Marker};class eC{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],a=t.length,o=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===N.Marker)break;let{element:s}=t;if(this.treeAdapter.getTagName(s)===o&&this.treeAdapter.getNamespaceURI(s)===r){let t=this.treeAdapter.getAttrList(s);t.length===a&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let a=new Map(t.map(e=>[e.name,e.value])),o=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>a.get(e.name)===e.value)&&(o+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(ex)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:N.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:N.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(ex);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===N.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===N.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===N.Element&&t.element===e)}}let eS={createDocument:()=>({nodeName:"#document",mode:x.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let a=e.childNodes.indexOf(n);e.childNodes.splice(a,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,a){let o=e.childNodes.find(e=>"#documentType"===e.nodeName);o?(o.name=t,o.publicId=n,o.systemId=a):eS.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:a,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eS.isTextNode(n)){n.value+=t;return}}eS.appendChild(e,eS.createTextNode(t))},insertTextBefore(e,t,n){let a=e.childNodes[e.childNodes.indexOf(n)-1];a&&eS.isTextNode(a)?a.value+=t:eS.insertBefore(e,eS.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let a=0;a<t.length;a++)n.has(t[a].name)||e.attrs.push(t[a])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eA="html",eN=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eM=[...eN,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eO=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),eR=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eF=[...eR,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eP(e,t){return t.some(t=>e.startsWith(t))}let eL=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eB=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:T.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:T.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:T.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:T.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:T.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:T.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:T.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:T.XML}
9],["xml:space",{prefix:"xml",name:"space",namespace:T.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:T.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:T.XMLNS}]]),eH=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eU=new Set([S.B,S.BIG,S.BLOCKQUOTE,S.BODY,S.BR,S.CENTER,S.CODE,S.DD,S.DIV,S.DL,S.DT,S.EM,S.EMBED,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HR,S.I,S.IMG,S.LI,S.LISTING,S.MENU,S.META,S.NOBR,S.OL,S.P,S.PRE,S.RUBY,S.S,S.SMALL,S.SPAN,S.STRONG,S.STRIKE,S.SUB,S.SUP,S.TABLE,S.TT,S.U,S.UL,S.VAR]);function ez(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function e$(e){for(let t=0;t<e.attrs.length;t++){let n=eL.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function eq(e){for(let t=0;t<e.attrs.length;t++){let n=eB.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}(b=M||(M={}))[b.INITIAL=0]="INITIAL",b[b.BEFORE_HTML=1]="BEFORE_HTML",b[b.BEFORE_HEAD=2]="BEFORE_HEAD",b[b.IN_HEAD=3]="IN_HEAD",b[b.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",b[b.AFTER_HEAD=5]="AFTER_HEAD",b[b.IN_BODY=6]="IN_BODY",b[b.TEXT=7]="TEXT",b[b.IN_TABLE=8]="IN_TABLE",b[b.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",b[b.IN_CAPTION=10]="IN_CAPTION",b[b.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",b[b.IN_TABLE_BODY=12]="IN_TABLE_BODY",b[b.IN_ROW=13]="IN_ROW",b[b.IN_CELL=14]="IN_CELL",b[b.IN_SELECT=15]="IN_SELECT",b[b.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",b[b.IN_TEMPLATE=17]="IN_TEMPLATE",b[b.AFTER_BODY=18]="AFTER_BODY",b[b.IN_FRAMESET=19]="IN_FRAMESET",b[b.AFTER_FRAMESET=20]="AFTER_FRAMESET",b[b.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",b[b.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let eV={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},eW=new Set([S.TABLE,S.TBODY,S.TFOOT,S.THEAD,S.TR]),eG={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:eS,onParseError:null};class eY{constructor(e,t,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=M.INITIAL,this.originalInsertionMode=M.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...eG,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new ef(this.options,this),this.activeFormattingElements=new eC(this.treeAdapter),this.fragmentContextID=n?er(this.treeAdapter.getTagName(n)):S.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new eI(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...eG,...t};null!=e||(e=n.treeAdapter.createElement(C.TEMPLATE,T.HTML,[]));let a=n.treeAdapter.createElement("documentmock",T.HTML,[]),o=new this(n,a,e);return o.fragmentContextID===S.TEMPLATE&&o.tmplInsertionModeStack.unshift(M.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var a;if(!this.onParseError)return;let o=null!=(a=e.location)?a:eV,r={code:t,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset};this.onParseError(r)}
9onItemPush(e,t,n){var a,o;null==(o=(a=this.treeAdapter).onItemPush)||o.call(a,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(a=(n=this.treeAdapter).onItemPop)||a.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===T.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,T.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=M.TEXT}switchToPlaintextParsing(){this.insertionMode=M.TEXT,this.originalInsertionMode=M.IN_BODY,this.tokenizer.state=ec.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===C.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===T.HTML)switch(this.fragmentContextID){case S.TITLE:case S.TEXTAREA:this.tokenizer.state=ec.RCDATA;break;case S.STYLE:case S.XMP:case S.IFRAME:case S.NOEMBED:case S.NOFRAMES:case S.NOSCRIPT:this.tokenizer.state=ec.RAWTEXT;break;case S.SCRIPT:this.tokenizer.state=ec.SCRIPT_DATA;break;case S.PLAINTEXT:this.tokenizer.state=ec.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",a=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,a),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,T.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,T.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(C.HTML,T.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,S.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let a=this.treeAdapter.getChildNodes(t),o=n?a.lastIndexOf(n):a.length,r=a[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(r)){let{endLine:t,endCol:n,endOffset:a}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(r,{endLine:t,endCol:n,endOffset:a})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,a=this.treeAdapter.getTagName(e),o=t.type===j.END_TAG&&a===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==S.SVG||this.treeAdapter.getTagName(t)!==C.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==T.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===S.MGLYPH||e.tagID===S.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,T.HTML)))}_processToken(e){switch(e.type){case j.CHARACTER:this.onCharacter(e);break;case j.NULL_CHARACTER:this.onNullCharacter(e);break;case j.COMMENT:this.onComment(e);break;case j.DOCTYPE:this.onDoctype(e);break;case j.START_TAG:this._processStartTag(e);break;case j.END_TAG:this.onEndTag(e);break;case j.EOF:this.onEof(e);break;case j.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let a=this.treeAdapter.getNamespaceURI(t),o=this.treeAdapter.getAttrList(t);return(!n||n===T.HTML)&&function(e,t,n){if(t===T.MATHML&&e===S.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===I.ENCODING){let t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}return t===T.SVG&&(e===S.FOREIGN_OBJECT||e===S.DESC||e===S.TITLE)}(e,a,o)||(!n||n===T.MATHML)&&a===T.MATHML&&(e===S.MI||e===S.MO||e===S.MN||e===S.MS||e===S.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===N.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=M.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(S.P),this.openElements.popUntilTagNamePopped(S.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case S.TR:this.insertionMode=M.IN_ROW;return;case S.TBODY:case S.THEAD:case S.TFOOT:this.insertionMode=M.IN_TABLE_BODY;return;case S.CAPTION:this.insertionMode=M.IN_CAPTION;return;case S.COLGROUP:this.insertionMode=M.IN_COLUMN_GROUP;return;case S.TABLE:this.insertionMode=M.IN_TABLE;return;case S.BODY:this.insertionMode=M.IN_BODY;return;case S.FRAMESET:this.insertionMode=M.IN_FRAMESET;return;case S.SELECT:return void this._resetInsertionModeForSelect(e);case S.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case S.HTML:this.insertionMode=this.headElement?M.AFTER_HEAD:M.BEFORE_HEAD;return;case S.TD:case S.TH:if(e>0){this.insertionMode=M.IN_CELL;return}break;case S.HEAD:if(e>0){this.insertionMode=M.IN_HEAD;return}}this.insertionMode=M.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===S.TEMPLATE)break;if(e===S.TABLE){this.insertionMode=M.IN_SELECT_IN_TABLE;return}}this.insertionMode=M.IN_SELECT}_isElementCausesFosterParenting(e){return eW.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case S.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===T.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case S.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return ei[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case M.INITIAL:eJ(this,e);break;case M.BEFORE_HTML:eZ(this,e);break;case M.BEFORE_HEAD:e0(this,e);break;case M.IN_HEAD:e4(this,e);break;case M.IN_HEAD_NO_SCRIPT:e2(this,e);break;case M.AFTER_HEAD:e3(this,e);break;case M.IN_BODY:case M.IN_CAPTION:case M.IN_CELL:case M.IN_TEMPLATE:e8(this,e);break;case M.TEXT:case M.IN_SELECT:case M.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case M.IN_TABLE:case M.IN_TABLE_BODY:case M.IN_ROW:ti(this,e);break;case M.IN_TABLE_TEXT:tu(this,e);break;case M.IN_COLUMN_GROUP:tg(this,e);break;case M.AFTER_BODY:tD(this,e);break;case M.AFTER_AFTER_BODY:tT(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case M.INITIAL:eJ(this,e);break;case M.BEFORE_HTML:eZ(this,e);break;case M.BEFORE_HEAD:e0(this,e);break;case M.IN_HEAD:e4(this,e);break;case M.IN_HEAD_NO_SCRIPT:e2(this,e);break;case M.AFTER_HEAD:e3(this,e);break;case M.TEXT:this._insertCharacters(e);break;case M.IN_TABLE:case M.IN_TABLE_BODY:case M.IN_ROW:ti(this,e);break;case M.IN_COLUMN_GROUP:tg(this,e);break;case M.AFTER_BODY:tD(this,e);break;case M.AFTER_AFTER_BODY:tT(this,e)}}onComment(e){var t,n,a,o;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void eQ(this,e);switch(this.insertionMode){case M.INITIAL:case M.BEFORE_HTML:case M.BEFORE_HEAD:case M.IN_HEAD:case M.IN_HEAD_NO_SCRIPT:case M.AFTER_HEAD:case M.IN_BODY:case M.IN_TABLE:case M.IN_CAPTION:case M.IN_COLUMN_GROUP:case M.IN_TABLE_BODY:case M.IN_ROW:case M.IN_CELL:case M.IN_SELECT:case M.IN_SELECT_IN_TABLE:case M.IN_TEMPLATE:case M.IN_FRAMESET:case M.AFTER_FRAMESET:eQ(this,e);break;case M.IN_TABLE_TEXT:tm(this,e);break;case M.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case M.AFTER_AFTER_BODY:case M.AFTER_AFTER_FRAMESET:a=this,o=e,a._appendCommentNode(o,a.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case M.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?x.QUIRKS:function(e){if(e.name!==eA)return x.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return x.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eO.has(n))return x.QUIRKS;let e=null===t?eM:eN;if(eP(n,e))return x.QUIRKS;if(eP(n,e=null===t?eR:eF))return x.LIMITED_QUIRKS}return x.NO_QUIRKS}(t);(t.name!==eA||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,y.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=M.BEFORE_HTML}(this,e);break;case M.BEFORE_HEAD:case M.IN_HEAD:case M.IN_HEAD_NO_SCRIPT:case M.AFTER_HEAD:this._err(e,y.misplacedDoctype);break;case M.IN_TABLE_TEXT:tm(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,y.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let n;if((n=t.tagID)===S.FONT&&t.attrs.some(({name:e})=>e===I.COLOR||e===I.SIZE||e===I.FACE)||eU.has(n))tI(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),a=e.treeAdapter.getNamespaceURI(n);if(a===T.MATHML)ez(t);else if(a===T.SVG){let e;null!=(e=eH.get(t.tagName))&&(t.tagName=e,t.tagID=er(t.tagName)),e$(t)}eq(t),t.selfClosing?e._appendElement(t,a):e._insertElement(t,a),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case M.INITIAL:eJ(this,e);break;case M.BEFORE_HTML:t=this,(n=e).tagID===S.HTML?(t._insertElement(n,T.HTML),t.insertionMode=M.BEFORE_HEAD):eZ(t,n);break;case M.BEFORE_HEAD:var t,n,a,o,r,s,i,l,c,p,d,u,m=this,h=e;switch(h.tagID){case S.HTML:ta(m,h);break;case S.HEAD:m._insertElement(h,T.HTML),m.headElement=m.openElements.current,m.insertionMode=M.IN_HEAD;break;default:e0(m,h)}break;case M.IN_HEAD:e1(this,e);break;case M.IN_HEAD_NO_SCRIPT:var f=this,g=e;switch(g.tagID){case S.HTML:ta(f,g);break;case S.BASEFONT:case S.BGSOUND:case S.HEAD:case S.LINK:case S.META:case S.NOFRAMES:case S.STYLE:e1(f,g);break;case S.NOSCRIPT:f._err(g,y.nestedNoscriptInHead);break;default:e2(f,g)}break;case M.AFTER_HEAD:var b=this,v=e;switch(v.tagID){case S.HTML:ta(b,v);break;case S.BODY:b._insertElement(v,T.HTML),b.framesetOk=!1,b.insertionMode=M.IN_BODY;break;case S.FRAMESET:b._insertElement(v,T.HTML),b.insertionMode=M.IN_FRAMESET;break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:b._err(v,y.abandonedHeadElementChild),b.openElements.push(b.headElement,S.HEAD),e1(b,v),b.openElements.remove(b.headElement);break;case S.HEAD:b._err(v,y.misplacedStartTagForHeadElement);break;default:e3(b,v)}break;case M.IN_BODY:ta(this,e);break;case M.IN_TABLE:tl(this,e);break;case M.IN_TABLE_TEXT:tm(this,e);break;case M.IN_CAPTION:let j;a=this,j=(o=e).tagID,th.has(j)?a.openElements.hasInTableScope(S.CAPTION)&&(a.openElements.generateImpliedEndTags(),a.openElements.popUntilTagNamePopped(S.CAPTION),a.activeFormattingElements.clearToLastMarker(),a.insertionMode=M.IN_TABLE,tl(a,o)):ta(a,o);break;case M.IN_COLUMN_GROUP:tf(this,e);break;case M.IN_TABLE_BODY:tb(this,e);break;case M.IN_ROW:ty(this,e);break;case M.IN_CELL:let k;r=this,k=(s=e).tagID,th.has(k)?(r.openElements.hasInTableScope(S.TD)||r.openElements.hasInTableScope(S.TH))&&(r._closeTableCell(),ty(r,s)):ta(r,s);break;case M.IN_SELECT:tk(this,e);break;case M.IN_SELECT_IN_TABLE:let w;i=this,(w=(l=e).tagID)===S.CAPTION||w===S.TABLE||w===S.TBODY||w===S.TFOOT||w===S.THEAD||w===S.TR||w===S.TD||w===S.TH?(i.openElements.popUntilTagNamePopped(S.SELECT),i._resetInsertionMode(),i._processStartTag(l)):tk(i,l);break;case M.IN_TEMPLATE:var _=this,E=e;switch(E.tagID){case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:e1(_,E);break;case S.CAPTION:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:_.tmplInsertionModeStack[0]=M.IN_TABLE,_.insertionMode=M.IN_TABLE,tl(_,E);break;case S.COL:_.tmplInsertionModeStack[0]=M.IN_COLUMN_GROUP,_.insertionMode=M.IN_COLUMN_GROUP,tf(_,E);break;case S.TR:_.tmplInsertionModeStack[0]=M.IN_TABLE_BODY,_.insertionMode=M.IN_TABLE_BODY,tb(_,E);break;case S.TD:case S.TH:_.tmplInsertionModeStack[0]=M.IN_ROW,_.insertionMode=M.IN_ROW,ty(_,E);break;default:_.tmplInsertionModeStack[0]=M.IN_BODY,_.insertionMode=M.IN_BODY,ta(_,E)}break;case M.AFTER_BODY:c=this,(p=e).tagID===S.HTML?ta(c,p):tD(c,p);break;case M.IN_FRAMESET:var D=this,I=e;switch(I.tagID){case S.HTML:ta(D,I);break;case S.FRAMESET:D._insertElement(I,T.HTML);break;case S.FRAME:D._appendElement(I,T.HTML),I.ackSelfClosing=!0;break;case S.NOFRAMES:e1(D,I)}break;case M.AFTER_FRAMESET:var x=this,C=e;switch(C.tagID){case S.HTML:ta(x,C);break;case S.NOFRAMES:e1(x,C)}break;case M.AFTER_AFTER_BODY:d=this,(u=e).tagID===S.HTML?ta(d,u):tT(d,u);break;case M.AFTER_AFTER_FRAMESET:var A=this,N=e;switch(N.tagID){case S.HTML:ta(A,N);break;case S.NOFRAMES:e1(A,N)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===S.P||t.
9tagID===S.BR){tI(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let a=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(a)===T.HTML){e._endTagOutsideForeignContent(t);break}let o=e.treeAdapter.getTagName(a);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case M.INITIAL:eJ(this,e);break;case M.BEFORE_HTML:let t;a=this,((t=(o=e).tagID)===S.HTML||t===S.HEAD||t===S.BODY||t===S.BR)&&eZ(a,o);break;case M.BEFORE_HEAD:let n;r=this,(n=(s=e).tagID)===S.HEAD||n===S.BODY||n===S.HTML||n===S.BR?e0(r,s):r._err(s,y.endTagWithoutMatchingOpenElement);break;case M.IN_HEAD:var a,o,r,s,i,l,c,p,d,u,m,h,f=this,g=e;switch(g.tagID){case S.HEAD:f.openElements.pop(),f.insertionMode=M.AFTER_HEAD;break;case S.BODY:case S.BR:case S.HTML:e4(f,g);break;case S.TEMPLATE:e6(f,g);break;default:f._err(g,y.endTagWithoutMatchingOpenElement)}break;case M.IN_HEAD_NO_SCRIPT:var b=this,v=e;switch(v.tagID){case S.NOSCRIPT:b.openElements.pop(),b.insertionMode=M.IN_HEAD;break;case S.BR:e2(b,v);break;default:b._err(v,y.endTagWithoutMatchingOpenElement)}break;case M.AFTER_HEAD:var j=this,k=e;switch(k.tagID){case S.BODY:case S.HTML:case S.BR:e3(j,k);break;case S.TEMPLATE:e6(j,k);break;default:j._err(k,y.endTagWithoutMatchingOpenElement)}break;case M.IN_BODY:tr(this,e);break;case M.TEXT:i=this,e.tagID===S.SCRIPT&&(null==(l=i.scriptHandler)||l.call(i,i.openElements.current)),i.openElements.pop(),i.insertionMode=i.originalInsertionMode;break;case M.IN_TABLE:tc(this,e);break;case M.IN_TABLE_TEXT:tm(this,e);break;case M.IN_CAPTION:var w=this,_=e;let E=_.tagID;switch(E){case S.CAPTION:case S.TABLE:w.openElements.hasInTableScope(S.CAPTION)&&(w.openElements.generateImpliedEndTags(),w.openElements.popUntilTagNamePopped(S.CAPTION),w.activeFormattingElements.clearToLastMarker(),w.insertionMode=M.IN_TABLE,E===S.TABLE&&tc(w,_));break;case S.BODY:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tr(w,_)}break;case M.IN_COLUMN_GROUP:var D=this,T=e;switch(T.tagID){case S.COLGROUP:D.openElements.currentTagId===S.COLGROUP&&(D.openElements.pop(),D.insertionMode=M.IN_TABLE);break;case S.TEMPLATE:e6(D,T);break;case S.COL:break;default:tg(D,T)}break;case M.IN_TABLE_BODY:tv(this,e);break;case M.IN_ROW:tj(this,e);break;case M.IN_CELL:var I=this,x=e;let C=x.tagID;switch(C){case S.TD:case S.TH:I.openElements.hasInTableScope(C)&&(I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(C),I.activeFormattingElements.clearToLastMarker(),I.insertionMode=M.IN_ROW);break;case S.TABLE:case S.TBODY:case S.TFOOT:case S.THEAD:case S.TR:I.openElements.hasInTableScope(C)&&(I._closeTableCell(),tj(I,x));break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:break;default:tr(I,x)}break;case M.IN_SELECT:tw(this,e);break;case M.IN_SELECT_IN_TABLE:let A;c=this,(A=(p=e).tagID)===S.CAPTION||A===S.TABLE||A===S.TBODY||A===S.TFOOT||A===S.THEAD||A===S.TR||A===S.TD||A===S.TH?c.openElements.hasInTableScope(A)&&(c.openElements.popUntilTagNamePopped(S.SELECT),c._resetInsertionMode(),c.onEndTag(p)):tw(c,p);break;case M.IN_TEMPLATE:d=this,(u=e).tagID===S.TEMPLATE&&e6(d,u);break;case M.AFTER_BODY:tE(this,e);break;case M.IN_FRAMESET:m=this,e.tagID===S.FRAMESET&&!m.openElements.isRootHtmlElementCurrent()&&(m.openElements.pop(),m.fragmentContext||m.openElements.currentTagId===S.FRAMESET||(m.insertionMode=M.AFTER_FRAMESET));break;case M.AFTER_FRAMESET:h=this,e.tagID===S.HTML&&(h.insertionMode=M.AFTER_AFTER_FRAMESET);break;case M.AFTER_AFTER_BODY:tT(this,e)}}onEof(e){switch(this.insertionMode){case M.INITIAL:eJ(this,e);break;case M.BEFORE_HTML:eZ(this,e);break;case M.BEFORE_HEAD:e0(this,e);break;case M.IN_HEAD:e4(this,e);break;case M.IN_HEAD_NO_SCRIPT:e2(this,e);break;case M.AFTER_HEAD:e3(this,e);break;case M.IN_BODY:case M.IN_TABLE:case M.IN_CAPTION:case M.IN_COLUMN_GROUP:case M.IN_TABLE_BODY:case M.IN_ROW:case M.IN_CELL:case M.IN_SELECT:case M.IN_SELECT_IN_TABLE:ts(this,e);break;case M.TEXT:var t,n;t=this,n=e,t._err(n,y.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case M.IN_TABLE_TEXT:tm(this,e);break;case M.IN_TEMPLATE:t_(this,e);break;case M.AFTER_BODY:case M.IN_FRAMESET:case M.AFTER_FRAMESET:case M.AFTER_AFTER_BODY:case M.AFTER_AFTER_FRAMESET:eX(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCo
9deAt(0)===v.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case M.IN_HEAD:case M.IN_HEAD_NO_SCRIPT:case M.AFTER_HEAD:case M.TEXT:case M.IN_COLUMN_GROUP:case M.IN_SELECT:case M.IN_SELECT_IN_TABLE:case M.IN_FRAMESET:case M.AFTER_FRAMESET:this._insertCharacters(e);break;case M.IN_BODY:case M.IN_CAPTION:case M.IN_CELL:case M.IN_TEMPLATE:case M.AFTER_BODY:case M.AFTER_AFTER_BODY:case M.AFTER_AFTER_FRAMESET:e9(this,e);break;case M.IN_TABLE:case M.IN_TABLE_BODY:case M.IN_ROW:ti(this,e);break;case M.IN_TABLE_TEXT:td(this,e)}}}function eK(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):to(e,t),n}(e,t);if(!n)break;let a=function(e,t){let n=null,a=e.openElements.stackTop;for(;a>=0;a--){let o=e.openElements.items[a];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[a])&&(n=o)}return n||(e.openElements.shortenToLength(Math.max(a,0)),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;let o=function(e,t,n){let a=t,o=e.openElements.getCommonAncestor(t);for(let r=0,s=o;s!==n;r++,s=o){o=e.openElements.getCommonAncestor(s);let n=e.activeFormattingElements.getElementEntry(s),i=n&&r>=3;!n||i?(i&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),a=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,a),t.element=a,a}(e,n),a===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(a),e.treeAdapter.appendChild(s,a),a=s)}return a}(e,a,n.element),r=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),r&&function(e,t,n){let a=er(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let o=e.treeAdapter.getNamespaceURI(t);a===S.TEMPLATE&&o===T.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,r,o),function(e,t,n){let a=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,r=e.treeAdapter.createElement(o.tagName,a,o.attrs);e._adoptNodes(t,r),e.treeAdapter.appendChild(t,r),e.activeFormattingElements.insertElementAfterBookmark(r,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,r,o.tagID)}(e,a,n)}}function eQ(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function eX(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let a=e.openElements.stackTop;a>=n;a--)e._setEndLocation(e.openElements.items[a],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(n);a&&!a.endTag&&e._setEndLocation(n,t)}}}}function eJ(e,t){e._err(t,y.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,x.QUIRKS),e.insertionMode=M.BEFORE_HTML,e._processToken(t)}function eZ(e,t){e._insertFakeRootElement(),e.insertionMode=M.BEFORE_HEAD,e._processToken(t)}function e0(e,t){e._insertFakeElement(C.HEAD,S.HEAD),e.headElement=e.openElements.current,e.insertionMode=M.IN_HEAD,e._processToken(t)}function e1(e,t){switch(t.tagID){case S.HTML:ta(e,t);break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:e._appendElement(t,T.HTML),t.ackSelfClosing=!0;break;case S.TITLE:e._switchToTextParsing(t,ec.RCDATA);break;case S.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,ec.RAWTEXT):(e._insertElement(t,T.HTML),e.insertionMode=M.IN_HEAD_NO_SCRIPT);break;case S.NOFRAMES:case S.STYLE:e._switchToTextParsing(t,ec.RAWTEXT);break;case S.SCRIPT:e._switchToTextParsing(t,ec.SCRIPT_DATA);break;case S.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=M.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(M.IN_TEMPLATE);break;case S.HEAD:e._err(t,y.misplacedStartTagForHeadElement);break;default:e4(e,t)}}function e6(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==S.TEMPLATE&&e._err(t,y.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,y.endTagWithoutMatchingOpenElement)}function e4(e,t){e.openElements.pop(),e.insertionMode=M.AFTER_HEAD,e._processToken(t)}function e2(e,t){let n=t.type===j.EOF?y.openElementsLeftAfterEof:y.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=M.IN_HEAD,e._processToken(t)}function e3(e,t){e._insertFakeElement(C.BODY,S.BODY),e.insertionMode=M.IN_BODY,e5(e,t)}function e5(e,t){switch(t.type){case j.CHARACTER:e8(e,t);break;case j.WHITESPACE_CHARACTER:e9(e,t);break;case j.COMMENT:eQ(e,t);break;case j.START_TAG:ta(e,t);break;case j.END_TAG:tr(e,t);break;case j.EOF:ts(e,t)}}function e9(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function e8(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function e7(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,T.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}
9function te(e){let t=Z(e,I.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tt(e,t){e._switchToTextParsing(t,ec.RAWTEXT)}function tn(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,T.HTML)}function ta(e,t){switch(t.tagID){case S.I:case S.S:case S.B:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.SMALL:case S.STRIKE:case S.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,T.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.A:let n;(n=e.activeFormattingElements.getElementEntryInScopeWithTagName(C.A))&&(eK(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,T.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&el.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,T.HTML);break;case S.P:case S.DL:case S.OL:case S.UL:case S.DIV:case S.DIR:case S.NAV:case S.MAIN:case S.MENU:case S.ASIDE:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.DETAILS:case S.ADDRESS:case S.ARTICLE:case S.SEARCH:case S.SECTION:case S.SUMMARY:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,T.HTML);break;case S.LI:case S.DD:case S.DT:e.framesetOk=!1;let a=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(a===S.LI&&n===S.LI||(a===S.DD||a===S.DT)&&(n===S.DD||n===S.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==S.ADDRESS&&n!==S.DIV&&n!==S.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,T.HTML);break;case S.BR:case S.IMG:case S.WBR:case S.AREA:case S.EMBED:case S.KEYGEN:e7(e,t);break;case S.HR:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._appendElement(t,T.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case S.RB:case S.RTC:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,T.HTML);break;case S.RT:case S.RP:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(S.RTC),e._insertElement(t,T.HTML);break;case S.PRE:case S.LISTING:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,T.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case S.XMP:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ec.RAWTEXT);break;case S.SVG:e._reconstructActiveFormattingElements(),e$(t),eq(t),t.selfClosing?e._appendElement(t,T.SVG):e._insertElement(t,T.SVG),t.ackSelfClosing=!0;break;case S.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case S.BASE:case S.LINK:case S.META:case S.STYLE:case S.TITLE:case S.SCRIPT:case S.BGSOUND:case S.BASEFONT:case S.TEMPLATE:e1(e,t);break;case S.BODY:let o;(o=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(o,t.attrs));break;case S.FORM:let r;r=e.openElements.tmplCount>0,(!e.formElement||r)&&(e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,T.HTML),r||(e.formElement=e.openElements.current));break;case S.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(S.NOBR)&&(eK(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,T.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.MATH:e._reconstructActiveFormattingElements(),ez(t),eq(t),t.selfClosing?e._appendElement(t,T.MATHML):e._insertElement(t,T.MATHML),t.ackSelfClosing=!0;break;case S.TABLE:e.treeAdapter.getDocumentMode(e.document)!==x.QUIRKS&&e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,T.HTML),e.framesetOk=!1,e.insertionMode=M.IN_TABLE;break;case S.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,T.HTML),te(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case S.PARAM:case S.TRACK:case S.SOURCE:e._appendElement(t,T.HTML),t.ackSelfClosing=!0;break;case S.IMAGE:t.tagName=C.IMG,t.tagID=S.IMG,e7(e,t);break;case S.BUTTON:e.openElements.hasInScope(S.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,T.HTML),e.framesetOk=!1;break;case S.APPLET:case S.OBJECT:case S.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,T.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case S.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,ec.RAWTEXT);break;case S.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,T.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===M.IN_TABLE||e.insertionMode===M.IN_CAPTION||e.insertionMode===M.IN_TABLE_BODY||e.insertionMode===M.IN_ROW||e.insertionMode===M.IN_CELL?M.IN_SELECT_IN_TABLE:M.IN_SELECT;break;case S.OPTION:case S.OPTGROUP:e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,T.HTML);break;case S.NOEMBED:case S.NOFRAMES:tt(e,t);break;case S.FRAMESET:let s;s=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&s&&(e.treeAdapter.detachNode(s),e.o
9penElements.popAllUpToHtmlElement(),e._insertElement(t,T.HTML),e.insertionMode=M.IN_FRAMESET);break;case S.TEXTAREA:e._insertElement(t,T.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ec.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=M.TEXT;break;case S.NOSCRIPT:e.options.scriptingEnabled?tt(e,t):tn(e,t);break;case S.PLAINTEXT:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,T.HTML),e.tokenizer.state=ec.PLAINTEXT;break;case S.COL:case S.TH:case S.TD:case S.TR:case S.HEAD:case S.FRAME:case S.TBODY:case S.TFOOT:case S.THEAD:case S.CAPTION:case S.COLGROUP:break;default:tn(e,t)}}function to(e,t){let n=t.tagName,a=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let o=e.openElements.items[t],r=e.openElements.tagIDs[t];if(a===r&&(a!==S.UNKNOWN||e.treeAdapter.getTagName(o)===n)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(o,r))break}}function tr(e,t){switch(t.tagID){case S.A:case S.B:case S.I:case S.S:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.NOBR:case S.SMALL:case S.STRIKE:case S.STRONG:eK(e,t);break;case S.P:e.openElements.hasInButtonScope(S.P)||e._insertFakeElement(C.P,S.P),e._closePElement();break;case S.DL:case S.UL:case S.OL:case S.DIR:case S.DIV:case S.NAV:case S.PRE:case S.MAIN:case S.MENU:case S.ASIDE:case S.BUTTON:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.ADDRESS:case S.ARTICLE:case S.DETAILS:case S.SEARCH:case S.SECTION:case S.SUMMARY:case S.LISTING:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case S.LI:e.openElements.hasInListItemScope(S.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(S.LI),e.openElements.popUntilTagNamePopped(S.LI));break;case S.DD:case S.DT:let a;a=t.tagID,e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a));break;case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case S.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(C.BR,S.BR),e.openElements.pop(),e.framesetOk=!1;break;case S.BODY:if(e.openElements.hasInScope(S.BODY)&&(e.insertionMode=M.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case S.HTML:e.openElements.hasInScope(S.BODY)&&(e.insertionMode=M.AFTER_BODY,tE(e,t));break;case S.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(S.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(S.FORM):n&&e.openElements.remove(n))}(e);break;case S.APPLET:case S.OBJECT:case S.MARQUEE:let o;o=t.tagID,e.openElements.hasInScope(o)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o),e.activeFormattingElements.clearToLastMarker());break;case S.TEMPLATE:e6(e,t);break;default:to(e,t)}}function ts(e,t){e.tmplInsertionModeStack.length>0?t_(e,t):eX(e,t)}function ti(e,t){if(void 0!==e.openElements.currentTagId&&eW.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=M.IN_TABLE_TEXT,t.type){case j.CHARACTER:tu(e,t);break;case j.WHITESPACE_CHARACTER:td(e,t)}else tp(e,t)}function tl(e,t){switch(t.tagID){case S.TD:case S.TH:case S.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(C.TBODY,S.TBODY),e.insertionMode=M.IN_TABLE_BODY,tb(e,t);break;case S.STYLE:case S.SCRIPT:case S.TEMPLATE:e1(e,t);break;case S.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(C.COLGROUP,S.COLGROUP),e.insertionMode=M.IN_COLUMN_GROUP,tf(e,t);break;case S.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,T.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case S.TBODY:case S.TFOOT:case S.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,T.HTML),e.insertionMode=M.IN_TABLE_BODY;break;case S.INPUT:te(t)?e._appendElement(t,T.HTML):tp(e,t),t.ackSelfClosing=!0;break;case S.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,T.HTML),e.insertionMode=M.IN_CAPTION;break;case S.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,T.HTML),e.insertionMode=M.IN_COLUMN_GROUP;break;default:tp(e,t)}}function tc(e,t){switch(t.tagID){case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode());break;case S.TEMPLATE:e6(e,t);break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tp(e,t)}}function tp(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e5(e,t),e.fosterParentingEnabled=n}
vendor: 4,790 bytes, line 9
9function td(e,t){e.pendingCharacterTokens.push(t)}function tu(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tm(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)tp(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let th=new Set([S.CAPTION,S.COL,S.COLGROUP,S.TBODY,S.TD,S.TFOOT,S.TH,S.THEAD,S.TR]);function tf(e,t){switch(t.tagID){case S.HTML:ta(e,t);break;case S.COL:e._appendElement(t,T.HTML),t.ackSelfClosing=!0;break;case S.TEMPLATE:e1(e,t);break;default:tg(e,t)}}function tg(e,t){e.openElements.currentTagId===S.COLGROUP&&(e.openElements.pop(),e.insertionMode=M.IN_TABLE,e._processToken(t))}function tb(e,t){switch(t.tagID){case S.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,T.HTML),e.insertionMode=M.IN_ROW;break;case S.TH:case S.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(C.TR,S.TR),e.insertionMode=M.IN_ROW,ty(e,t);break;case S.CAPTION:case S.COL:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=M.IN_TABLE,tl(e,t));break;default:tl(e,t)}}function tv(e,t){let n=t.tagID;switch(t.tagID){case S.TBODY:case S.TFOOT:case S.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=M.IN_TABLE);break;case S.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=M.IN_TABLE,tc(e,t));break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TD:case S.TH:case S.TR:break;default:tc(e,t)}}function ty(e,t){switch(t.tagID){case S.TH:case S.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,T.HTML),e.insertionMode=M.IN_CELL,e.activeFormattingElements.insertMarker();break;case S.CAPTION:case S.COL:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:case S.TR:e.openElements.hasInTableScope(S.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=M.IN_TABLE_BODY,tb(e,t));break;default:tl(e,t)}}function tj(e,t){switch(t.tagID){case S.TR:e.openElements.hasInTableScope(S.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=M.IN_TABLE_BODY);break;case S.TABLE:e.openElements.hasInTableScope(S.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=M.IN_TABLE_BODY,tv(e,t));break;case S.TBODY:case S.TFOOT:case S.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(S.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=M.IN_TABLE_BODY,tv(e,t));break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TD:case S.TH:break;default:tc(e,t)}}function tk(e,t){switch(t.tagID){case S.HTML:ta(e,t);break;case S.OPTION:e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e._insertElement(t,T.HTML);break;case S.OPTGROUP:e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop(),e._insertElement(t,T.HTML);break;case S.HR:e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop(),e._appendElement(t,T.HTML),t.ackSelfClosing=!0;break;case S.INPUT:case S.KEYGEN:case S.TEXTAREA:case S.SELECT:e.openElements.hasInSelectScope(S.SELECT)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),t.tagID!==S.SELECT&&e._processStartTag(t));break;case S.SCRIPT:case S.TEMPLATE:e1(e,t)}}function tw(e,t){switch(t.tagID){case S.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===S.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===S.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop();break;case S.OPTION:e.openElements.currentTagId===S.OPTION&&e.openElements.pop();break;case S.SELECT:e.openElements.hasInSelectScope(S.SELECT)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode());break;case S.TEMPLATE:e6(e,t)}}function t_(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):eX(e,t)}function tE(e,t){var n;if(t.tagID===S.HTML){if(e.fragmentContext||(e.insertionMode=M.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===S.HTML){e._setEndLocation(e.openElements.items[0],t);let a=e.openElements.items[1];
9!a||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(a))?void 0:n.endTag)||e._setEndLocation(a,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=M.IN_BODY,e5(e,t)}function tT(e,t){e.insertionMode=M.IN_BODY,e5(e,t)}function tI(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==T.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function tx(e,t){return eY.parse(e,t)}function tC(e,t,n){"string"==typeof e&&(n=t,t=e,e=null);let a=eY.getFragmentParser(e,n);return a.tokenizer.write(t,!0),a.getFragment()}function tS(e){return tN(e&&e.line)+":"+tN(e&&e.column)}function tA(e){return tS(e&&e.start)+"-"+tS(e&&e.end)}function tN(e){return e&&"number"==typeof e?e:1}C.AREA,C.BASE,C.BASEFONT,C.BGSOUND,C.BR,C.COL,C.EMBED,C.FRAME,C.HR,C.IMG,C.INPUT,C.KEYGEN,C.LINK,C.META,C.PARAM,C.SOURCE,C.TRACK,C.WBR;class tM extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let a="",o={},r=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?a=e:!o.cause&&e&&(r=!0,a=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=s?s.line:void 0,this.name=function(e){return e&&"object"==typeof e?"position"in e||"type"in e?tA(e.position):"start"in e||"end"in e?tA(e):"line"in e||"column"in e?tS(e):"":""}(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=r&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}tM.prototype.file="",tM.prototype.name="",tM.prototype.reason="",tM.prototype.message="",tM.prototype.stack="",tM.prototype.column=void 0,tM.prototype.line=void 0,tM.prototype.ancestors=void 0,tM.prototype.cause=void 0,tM.prototype.fatal=void 0,tM.prototype.place=void 0,tM.prototype.ruleId=void 0,tM.prototype.source=void 0;let tO=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tL(e);let a=0,o=-1,r=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;r--;)if(47===e.codePointAt(r)){if(n){a=r+1;break}}else o<0&&(n=!0,o=r+1);return o<0?"":e.slice(a,o)}if(t===e)return"";let s=-1,i=t.length-1;for(;r--;)if(47===e.codePointAt(r)){if(n){a=r+1;break}}else s<0&&(n=!0,s=r+1),i>-1&&(e.codePointAt(r)===t.codePointAt(i--)?i<0&&(o=r):(i=-1,o=s));return a===o?o=s:o<0&&(o=e.length),e.slice(a,o)},tR=function(e){let t;if(tL(e),0===e.length)return".";let n=-1,a=e.length;for(;--a;)if(47===e.codePointAt(a)){if(t){n=a;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},tF=function(e){let t;tL(e);let n=e.length,a=-1,o=0,r=-1,s=0;for(;n--;){let i=e.codePointAt(n);if(47===i){if(t){o=n+1;break}continue}a<0&&(t=!0,a=n+1),46===i?r<0?r=n:1!==s&&(s=1):r>-1&&(s=-1)}return r<0||a<0||0===s||1===s&&r===a-1&&r===o+1?"":e.slice(r,a)},tP=function(...e){var t;let n,a,o,r=-1;for(;++r<e.length;)tL(e[r]),e[r]&&(o=void 0===o?e[r]:o+"/"+e[r]);return void 0===o?".":(tL(t=o),n=47===t.codePointAt(0),0!==(a=function(e,t){let n,a,o="",r=0,s=-1,i=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(s===l-1||1===i);else if(s!==l-1&&2===i){if(o.length<2||2!==r||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2)){if(o.length>2){if((a=o.lastIndexOf("/"))!==o.length-1){a<0?(o="",r=0):r=(o=o.slice(0,a)).length-1-o.lastIndexOf("/"),s=l,i=0;continue}}else if(o.length>0){o="",r=0,s=l,i=0;continue}}t&&(o=o.length>0?o+"/..":"..",r=2)}else o.length>0?o+="/"+e.slice(s+1,l):o=e.slice(s+1,l),r=l-s-1;s=l,i=0}else 46===n&&i>-1?i++:i=-1}return o}(t,!n)).length||n||(a="."),a.length>0&&47===t.codePointAt(t.length-1)&&(a+="/"),n?"/"+a:a)};function tL(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function tB(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tH=["history","path","basename","stem","extname","dirname"];class tU{constructor(e){let t,n;t=e?tB(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<tH.length;){const e=tH[a];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)tH.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?tO(this.path):void 0}
9set basename(e){t$(e,"basename"),tz(e,"basename"),this.path=tP(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?tR(this.path):void 0}set dirname(e){tq(this.basename,"dirname"),this.path=tP(e||"",this.basename)}get extname(){return"string"==typeof this.path?tF(this.path):void 0}set extname(e){if(tz(e,"extname"),tq(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=tP(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tB(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tB(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),t$(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?tO(this.path,this.extname):void 0}set stem(e){t$(e,"stem"),tz(e,"stem"),this.path=tP(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let a=this.message(e,t,n);throw a.fatal=!0,a}info(e,t,n){let a=this.message(e,t,n);return a.fatal=void 0,a}message(e,t,n){let a=new tM(e,t,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function tz(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function t$(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function tq(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tV={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"}
9,missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}}
9,tW=/-[a-z]/g,tG=/%c(?:([-+])(\d+))?/g,tY=/%x/g,tK={2:!0,1:!1,0:null};function tQ(e){return e.charAt(1).toUpperCase()}let tX=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],tJ={}.hasOwnProperty,tZ=/["&'<>`]/g,t0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,t1=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,t6=/[|\\{}()[\]^$+*?.]/g,t4=new WeakMap,t2=/[\dA-Fa-f]/,t3=/\d/;var t5=e.i(913067);let t9={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"Â¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"Â",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"Ã",Aacute:"Ã",Acirc:"Ã",Atilde:"Ã",Auml:"Ã",Aring:"Ã
",AElig:"Ã",Ccedil:"Ã",Egrave:"Ã",Eacute:"Ã",Ecirc:"Ã",Euml:"Ã",Igrave:"Ã",Iacute:"Ã",Icirc:"Ã",Iuml:"Ã",ETH:"Ã",Ntilde:"Ã",Ograve:"Ã",Oacute:"Ã",Ocirc:"Ã",Otilde:"Ã",Ouml:"Ã",times:"Ã",Oslash:"Ã",Ugrave:"Ã",Uacute:"Ã",Ucirc:"Ã",Uuml:"Ã",Yacute:"Ã",THORN:"Ã",szlig:"Ã",agrave:"à ",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"Ã¥",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"Ã",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"Æ",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",bull:"â¢",hellip:"â¦",prime:"â²",Prime:"â³",oline:"â¾",frasl:"â",weierp:"â",image:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
9:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",circ:"Ë",tilde:"Ë",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",permil:"â°",lsaquo:"â¹",rsaquo:"âº",euro:"â¬"},t8=["cent","copy","divide","gt","lt","not","para","times"],t7={}.hasOwnProperty,ne={};for(t in t9)t7.call(t9,t)&&(ne[t9[t]]=t);let nt=/[^\dA-Za-z]/;function nn(e,t,n){var a,o;let r,s,i=(a=n.omitOptionalSemicolons,r="&#x"+e.toString(16).toUpperCase(),a&&t&&!t2.test(String.fromCharCode(t))?r:r+";");if((n.useNamedReferences||n.useShortestReferences)&&(s=function(e,t,n,a){let o=String.fromCharCode(e);if(t7.call(ne,o)){let e=ne[o],r="&"+e;return n&&t5.characterEntitiesLegacy.includes(e)&&!t8.includes(e)&&(!a||t&&61!==t&&nt.test(String.fromCharCode(t)))?r:r+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){let a,r=(o=n.omitOptionalSemicolons,a="&#"+String(e),o&&t&&!t3.test(String.fromCharCode(t))?a:a+";");r.length<i.length&&(i=r)}return s&&(!n.useShortestReferences||s.length<i.length)?s:i}function na(e,t){let n;var a,o=e,r=Object.assign({format:nn},t);if(o=o.replace(r.subset?(a=r.subset,(n=t4.get(a))||(n=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(t6,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(a),t4.set(a,n)),n):tZ,s),r.subset||r.escapeOnly)return o;return o.replace(t0,function(e,t,n){return r.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),r)}).replace(t1,s);function s(e,t,n){return r.format(e.charCodeAt(0),n.charCodeAt(t+1),r)}}let no=/^>|^->|<!--|-->|--!>|<!-$/g,nr=[">"],ns=["<",">"];function ni(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let a=0,o=n.indexOf(t);for(;-1!==o;)a++,o=n.indexOf(t,o+t.length);return a}var nl=e.i(816220),nc=e.i(722365);let np=/[ \t\n\f\r]/g;
9function nd(e){return"object"==typeof e?"text"===e.type&&nu(e.value):nu(e)}function nu(e){return""===e.replace(np,"")}let nm=ng(1),nh=ng(-1),nf=[];function ng(e){return function(t,n,a){let o=t?t.children:nf,r=(n||0)+e,s=o[r];if(!a)for(;s&&nd(s);)r+=e,s=o[r];return s}}let nb={}.hasOwnProperty;function nv(e){return function(t,n,a){return nb.call(e,t.tagName)&&e[t.tagName](t,n,a)}}let ny=nv({body:function(e,t,n){let a=nm(n,t);return!a||"comment"!==a.type},caption:nj,colgroup:nj,dd:function(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&("dt"===a.tagName||"dd"===a.tagName)},dt:function(e,t,n){let a=nm(n,t);return!!(a&&"element"===a.type&&("dt"===a.tagName||"dd"===a.tagName))},head:nj,html:function(e,t,n){let a=nm(n,t);return!a||"comment"!==a.type},li:function(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&"li"===a.tagName},optgroup:function(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&"optgroup"===a.tagName},option:function(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&("option"===a.tagName||"optgroup"===a.tagName)},p:function(e,t,n){let a=nm(n,t);return a?"element"===a.type&&("address"===a.tagName||"article"===a.tagName||"aside"===a.tagName||"blockquote"===a.tagName||"details"===a.tagName||"div"===a.tagName||"dl"===a.tagName||"fieldset"===a.tagName||"figcaption"===a.tagName||"figure"===a.tagName||"footer"===a.tagName||"form"===a.tagName||"h1"===a.tagName||"h2"===a.tagName||"h3"===a.tagName||"h4"===a.tagName||"h5"===a.tagName||"h6"===a.tagName||"header"===a.tagName||"hgroup"===a.tagName||"hr"===a.tagName||"main"===a.tagName||"menu"===a.tagName||"nav"===a.tagName||"ol"===a.tagName||"p"===a.tagName||"pre"===a.tagName||"section"===a.tagName||"table"===a.tagName||"ul"===a.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:nk,rt:nk,tbody:function(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&("tbody"===a.tagName||"tfoot"===a.tagName)},td:nw,tfoot:function(e,t,n){return!nm(n,t)},th:nw,thead:function(e,t,n){let a=nm(n,t);return!!(a&&"element"===a.type&&("tbody"===a.tagName||"tfoot"===a.tagName))},tr:function(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&"tr"===a.tagName}});function nj(e,t,n){let a=nm(n,t,!0);return!a||"comment"!==a.type&&!("text"===a.type&&nd(a.value.charAt(0)))}function nk(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&("rp"===a.tagName||"rt"===a.tagName)}function nw(e,t,n){let a=nm(n,t);return!a||"element"===a.type&&("td"===a.tagName||"th"===a.tagName)}let n_=nv({body:function(e){let t=nm(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&nd(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let a=nh(n,t),o=nm(e,-1,!0);return!(n&&a&&"element"===a.type&&"colgroup"===a.tagName&&ny(a,n.children.indexOf(a),n))&&!!(o&&"element"===o.type&&"col"===o.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=nm(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let a=nh(n,t),o=nm(e,-1);return!(n&&a&&"element"===a.type&&("thead"===a.tagName||"tbody"===a.tagName)&&ny(a,n.children.indexOf(a),n))&&!!(o&&"element"===o.type&&"tr"===o.tagName)}}),nE={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},nD=["<","&"];function nT(e,t,n,a){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:na(e.value,Object.assign({},a.settings.characterReferences,{subset:nD}))}let nI=function(e,t){let n=t||{};function a(t,...n){let o=a.invalid,r=a.handlers;if(t&&tJ.call(t,e)){let n=String(t[e]);o=tJ.call(r,n)?r[n]:a.unknown}if(o)return o.call(this,t,...n)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,a){return a.settings.bogusComments?"<?"+na(e.value,Object.assign({},a.settings.characterReferences,{subset:nr}))+">":"<!--"+e.value.replace(no,function(e){return na(e,Object.assign({},a.settings.characterReferences,{subset:ns}))})+"-->"},doctype:function(e,t,n,a){return"<!"+(a.settings.upperDoctype?"DOCTYPE":"doctype")+(a.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,a){let o,r=a.schema,s="svg"!==r.space&&a.settings.omitOptionalTags,i="svg"===r.space?a.settings.closeEmptyElements:a.settings.voids.includes(e.tagName.toLowerCase()),l=[];"html"===r.space&&"svg"===e.tagName&&(a.schema=F.svg);let c=function(e,t){let n,a=[],o=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let o=function(e,t,n){let a,o=(0,R.find)(e.schema,t),r=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,s=+!e.settings.allowDangerousCharacters,i=e.quote;if(o.overloadedBoolean&&(n===o.attribute||""===n)?n=!0:(o.boolean||o.overloadedBoolean)&&("string"!=typeof n||n===o.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let l=na(o.attribute,Object.assign({},e.settings.characterReferences,{subset:nE.name[r][s]}));return!0===n||(n=Array.isArray(n)?(o.commaSeparated?nl.stringify:nc.stringify)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=na(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:nE.unquoted[r][s]}))),a!==n&&(e.settings.quoteSmart&&ni(n,i)>ni(n,e.alternative)&&(i=e.alternative),a=i+na(n,Object.assign({},e.settings.characterReferences,{subset:("'"===i?nE.single:nE.double)[r][s],attribute:!0}))+i),l+(a?"="+a:a))}
9(e,n,t[n]);o&&a.push(o)}}for(;++o<a.length;){let t=e.settings.tightAttributes?a[o].charAt(a[o].length-1):void 0;o!==a.length-1&&'"'!==t&&"'"!==t&&(a[o]+=" ")}return a.join("")}(a,e.properties),p=a.all("html"===r.space&&"template"===e.tagName?e.content:e);return a.schema=r,p&&(i=!1),!c&&s&&n_(e,t,n)||(l.push("<",e.tagName,c?" "+c:""),i&&("svg"===r.space||a.settings.closeSelfClosing)&&(o=c.charAt(c.length-1),(!a.settings.tightSelfClosing||"/"===o||o&&'"'!==o&&"'"!==o)&&l.push(" "),l.push("/")),l.push(">")),l.push(p),i||s&&ny(e,t,n)||l.push("</"+e.tagName+">"),l.join("")},raw:function(e,t,n,a){return a.settings.allowDangerousHtml?e.value:nT(e,t,n,a)},root:function(e,t,n,a){return a.all(e)},text:nT}}),nx={},nC={},nS=[];function nA(e,t,n){return nI(e,t,n,this)}function nN(e){let t=[],n=e&&e.children||nS,a=-1;for(;++a<n.length;)t[a]=this.one(n[a],a,e);return t.join("")}function nM(e){if(e)throw e}var nO=e.i(975609);function nR(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let nF=function(e){let t=this.constructor.prototype,n=t[e],a=function(){return n.apply(a,arguments)};return Object.setPrototypeOf(a,t),a},nP={}.hasOwnProperty;function nL(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nB(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nH(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nU(e){if(!nR(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nz(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function n$(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new tU(e)}let nq=new class e extends nF{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,a=t.pop();if("function"!=typeof a)throw TypeError("Expected function as last argument, not "+a);!function o(r,...s){let i=e[++n],l=-1;if(r)return void a(r);for(;++l<t.length;)(null===s[l]||void 0===s[l])&&(s[l]=t[l]);t=s,i?(function(e,t){let n;return function(...t){let r,s=e.length>t.length;s&&t.push(a);try{r=e.apply(this,t)}catch(e){if(s&&n)throw e;return a(e)}s||(r&&r.then&&"function"==typeof r.then?r.then(o,a):r instanceof Error?a(r):o(r))};function a(e,...o){n||(n=!0,t(e,...o))}function o(e){a(null,e)}})(i,o)(...s):a(null,...s)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,nO.default)(!0,{},this.namespace)),t}data(e,t){return"string"==typeof e?2==arguments.length?(nH("data",this.frozen),this.namespace[e]=t,this):nP.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nH("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=n$(e),n=this.parser||this.Parser;return nL("parse",n),n(String(t),t)}process(e,t){let a=this;return this.freeze(),nL("process",this.parser||this.Parser),nB("process",this.compiler||this.Compiler),t?o(void 0,t):new Promise(o);function o(o,r){let s=n$(e),i=a.parse(s);function l(e,a){e||!a?r(e):o?o(a):(n(),t(void 0,a))}a.run(i,s,function(e,t,n){var o,r;if(e||!t||!n)return l(e);let s=a.stringify(t,n);"string"==typeof(o=s)||(r=o)&&"object"==typeof r&&"byteLength"in r&&"byteOffset"in r?n.value=s:n.result=s,l(e,n)})}}processSync(e){let t,a=!1;return this.freeze(),nL("processSync",this.parser||this.Parser),nB("processSync",this.compiler||this.Compiler),this.process(e,function(e,n){a=!0,nM(e),t=n}),nz("processSync","process",a),n(),t}run(e,t,a){nU(e),this.freeze();let o=this.transformers;return a||"function"!=typeof t||(a=t,t=void 0),a?r(void 0,a):new Promise(r);function r(r,s){n();let i=n$(t);o.run(e,i,function(t,o,i){let l=o||e;t?s(t):r?r(l):(n(),a(void 0,l,i))})}}runSync(e,t){let a,o=!1;return this.run(e,t,function(e,t){nM(e),a=t,o=!0}),nz("runSync","run",o),n(),a}stringify(e,t){this.freeze();let n=n$(t),a=this.compiler||this.Compiler;
9return nB("stringify",a),nU(e),a(e,n)}use(e,...t){let n=this.attachers,a=this.namespace;if(nH("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?r(e):o(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function o(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");r(e.plugins),e.settings&&(a.settings=(0,nO.default)(!0,a.settings,e.settings))}function r(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else o(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let a=-1,o=-1;for(;++a<n.length;)if(n[a][0]===e){o=a;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[a,...r]=t,s=n[o][1];nR(s)&&nR(a)&&(a=(0,nO.default)(!0,s,a)),n[o]=[e,a,...r]}}}}().freeze()().use(function(e){let{emitParseErrors:t,...a}={...this.data("settings"),...e};this.parser=function(e,o){var r;let s,i,l,c,p,d;return i=(s={...a,onerror:t?function(e){o.path&&(e.name=o.path+":"+e.name,e.file=o.path),o.messages.push(e)}:void 0}).onerror,l=e instanceof tU?e:new tU(e),c=s.fragment?tC:tx,r=c(p=String(l),{sourceCodeLocationInfo:!0,onParseError:s.onerror?function(e){let t=e.code,a=t.replace(tW,tQ),o=s[a],r=null==o||o,c="number"==typeof r?r:+!!r;if(c){let o=tV[a];n();let r=new tM(d(o.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:"hast-util-from-html"});l.path&&(r.file=l.path,r.name=l.path+":"+r.name),r.fatal=tK[c],r.note=d(o.description),r.url=!1===o.url?void 0:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+t,n(),i(r)}function d(t){return t.replace(tG,function(t,n,a){var o;let r=(a?Number.parseInt(a,10):0)*("-"===n?-1:1);return"`"===(o=p.charAt(e.startOffset+r))?"` ` `":o}).replace(tY,function(){return"0x"+p.charCodeAt(e.startOffset).toString(16).toUpperCase()})}}:null,scriptingEnabled:!1}),H({file:(d={file:l,space:s.space,verbose:s.verbose}).file||void 0,location:!1,schema:"svg"===d.space?F.svg:F.html,verbose:d.verbose||!1},r)}}).use(function(e){let t={...this.data("settings"),...e};this.compiler=function(e){let n=t||nx,a=n.quote||'"';if('"'!==a&&"'"!==a)throw Error("Invalid quote `"+a+"`, expected `'` or `\"`");return({one:nA,all:nN,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||tX,characterReferences:n.characterReferences||nC,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?F.svg:F.html,quote:a,alternative:'"'===a?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}}).freeze();e.s(["rehype",0,nq],102751);let nV="object"==typeof self?self:globalThis,nW=e=>{var t;let n,a;return(t=new Map,n=(e,n)=>(t.set(n,e),e),a=o=>{if(t.has(o))return t.get(o);let[r,s]=e[o];switch(r){case 0:case -1:return n(s,o);case 1:{let e=n([],o);for(let t of s)e.push(a(t));return e}case 2:{let e=n({},o);for(let[t,n]of s)e[a(t)]=a(n);return e}case 3:return n(new Date(s),o);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{let e=n(new Map,o);for(let[t,n]of s)e.set(a(t),a(n));return e}case 6:{let e=n(new Set,o);for(let t of s)e.add(a(t));return e}case 7:{let{name:e,message:t}=s;return n(new nV[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{let{buffer:e}=new Uint8Array(s);return n(new DataView(e),s)}}return n(new nV[r](s),o)})(0)},{toString:nG}={},{keys:nY}=Object,nK=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=nG.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},nQ=([e,t])=>0===e&&("function"===t||"symbol"===t),nX=(e,{json:t,lossy:n}={})=>{var a,o,r;let s,i,l=[];return(a=!(t||n),o=!!t,r=new Map,s=(e,t)=>{let n=l.push(e)-1;return r.set(t,n),n},i=e=>{if(r.has(e))return r.get(e);let[t,n]=nK(e);switch(t){case 0:{let o=e;switch(n){case"bigint":t=8,o=e.toString();break;case"function":case"symbol":if(a)throw TypeError("unable to serialize "+n);o=null;break;case"undefined":return s([-1],e)}return s([t,o],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),s([n,[...t]],e)}let a=[],o=s([t,a],e);for(let t of e)a.push(i(t));return o}case 2:{if(n)switch(n){case"BigInt":return s([n,e.toString()],e);case"Boolean":case"Number":case"String":return s([n,e.valueOf()],e)}if(o&&"toJSON"in e)return i(e.toJSON());let r=[],l=s([t,r],e);for(let t of nY(e))(a||!nQ(nK(e[t])))&&r.push([i(t),i(e[t])]);return l}case 3:return s([t,e.toISOString()],e);case 4:{let{source:n,flags:a}=e;return s([t,{source:n,flags:a}],e)}case 5:{let n=[],o=s([t,n],e);for(let[t,o]of e)(a||!(nQ(nK(t))||nQ(nK(o))))&&n.push([i(t),i(o)]);return o}case 6:{let n=[],o=s([t,n],e);for(let t of e)(a||!nQ(nK(t)))&&n.push(i(t));return o}}let{message:l}=e;return s([t,{name:n,message:l}],e)})(e),l}
9,nJ="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?nW(nX(e,t)):structuredClone(e):(e,t)=>nW(nX(e,t)),nZ=n1("end"),n0=n1("start");function n1(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}let n6=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],n4={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...n6,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...n6],h2:[["className","sr-only"]],img:[...n6,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...n6,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...n6],table:[...n6],ul:[...n6,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]};e.s(["defaultSchema",0,n4],675917);let n2={}.hasOwnProperty;function n3(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var n,a,o=e,r=t;if(o.schema.allowComments){let e="string"==typeof r.value?r.value:"",t=e.indexOf("-->"),n={type:"comment",value:t<0?e:e.slice(0,t)};return n7(n,r),n}return;case"doctype":var s=e,i=t;if(s.schema.allowDoctypes){let e={type:"doctype"};return n7(e,i),e}return;case"element":return function(e,t){let n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);let a=n5(e,t.children),o=function(e,t){let n,a=e.stack[e.stack.length-1],o=e.schema.attributes,r=e.schema.required,s=o&&n2.call(o,a)?o[a]:void 0,i=o&&n2.call(o,"*")?o["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};for(n in l)if(n2.call(l,n)){let t=l[n],a=n9(e,ae(s,n),n,t);null==a&&(a=n9(e,ae(i,n),n,t)),null!=a&&(c[n]=a)}if(r&&n2.call(r,a)){let e=r[a];for(n in e)n2.call(e,n)&&!n2.call(c,n)&&(c[n]=e[n])}return c}(e,t.properties);e.stack.pop();let r=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(r=!0,e.schema.ancestors&&n2.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],a=-1;for(r=!1;++a<t.length;)e.stack.includes(t[a])&&(r=!0)}if(!r)return e.schema.strip&&!e.schema.strip.includes(n)?a:void 0;let s={type:"element",tagName:n,properties:o,children:a};return n7(s,t),s}(e,t);case"root":let l;return n7(l={type:"root",children:n5(e,(n=t).children)},n),l;case"text":let c;return n7(c={type:"text",value:"string"==typeof(a=t).value?a.value:""},a),c}}function n5(e,t){let n=[];if(Array.isArray(t)){let a=-1;for(;++a<t.length;){let o=n3(e,t[a]);o&&(Array.isArray(o)?n.push(...o):n.push(o))}}return n}function n9(e,t,n,a){return t?Array.isArray(a)?function(e,t,n,a){let o=-1,r=[];for(;++o<a.length;){let s=n8(e,t,n,a[o]);("number"==typeof s||"string"==typeof s)&&r.push(s)}return r}(e,t,n,a):n8(e,t,n,a):void 0}function n8(e,t,n,a){if(("boolean"==typeof a||"number"==typeof a||"string"==typeof a)&&function(e,t,n){let a=e.schema.protocols&&n2.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!a||0===a.length)return!0;let o=String(n),r=o.indexOf(":"),s=o.indexOf("?"),i=o.indexOf("#"),l=o.indexOf("/");if(r<0||l>-1&&r>l||s>-1&&r>s||i>-1&&r>i)return!0;let c=-1;for(;++c<a.length;){let e=a[c];if(r===e.length&&o.slice(0,e.length)===e)return!0}return!1}(e,n,a)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let o=t[n];
9if(o&&"object"==typeof o&&"flags"in o){if(o.test(String(a))){e=!0;break}}else if(o===a){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+a:a}}function n7(e,t){let n=function(e){let t=n0(e),n=nZ(e);if(t&&n)return{start:t,end:n}}(t);t.data&&(e.data=nJ(t.data)),n&&(e.position=n)}function ae(e,t){let n,a=-1;if(e)for(;++a<e.length;){let o=e[a],r="string"==typeof o?o:o[0];if(r===t)return o;"data*"===r&&(n=o)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}e.s(["default",0,function(e){return function(t){let n,a;return n={type:"root",children:[]},(a=n3({schema:e?{...n4,...e}:n4,stack:[]},t))&&(Array.isArray(a)?1===a.length?n=a[0]:n.children=a:n=a),n}}],511356)},12627,e=>{"use strict";class t{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}}class n{constructor(e){this.generateIdentifier=e,this.kv=new t}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}}class a extends n{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){"object"==typeof t?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}}function o(e,t){Object.entries(e).forEach(([e,n])=>t(n,e))}function r(e,t){return -1!==e.indexOf(t)}function s(e,t){for(let n=0;n<e.length;n++){let a=e[n];if(t(a))return a}}class i{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return function(e,t){let n=function(e){if("values"in Object)return Object.values(e);let t=[];for(let n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);for(let e=0;e<n.length;e++){let a=n[e];if(t(a))return a}}(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}}let l=e=>void 0===e,c=e=>"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype),p=e=>c(e)&&0===Object.keys(e).length,d=e=>Array.isArray(e),u=e=>e instanceof Map,m=e=>e instanceof Set,h=e=>"Symbol"===Object.prototype.toString.call(e).slice(8,-1),f=e=>e instanceof Error,g=e=>"number"==typeof e&&isNaN(e),b=e=>e.replace(/\\/g,"\\\\").replace(/\./g,"\\."),v=e=>e.map(String).map(b).join("."),y=(e,t)=>{let n=[],a="";for(let o=0;o<e.length;o++){let r=e.charAt(o);if(!t&&"\\"===r){let t=e.charAt(o+1);if("\\"===t){a+="\\",o++;continue}if("."!==t)throw Error("invalid path")}if("\\"===r&&"."===e.charAt(o+1)){a+=".",o++;continue}if("."===r){n.push(a),a="";continue}a+=r}let o=a;return n.push(o),n};function j(e,t,n,a){return{isApplicable:e,annotation:t,transform:n,untransform:a}}let k=[j(l,"undefined",()=>null,()=>void 0),j(e=>"bigint"==typeof e,"bigint",e=>e.toString(),e=>"u">typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),j(e=>e instanceof Date&&!isNaN(e.valueOf()),"Date",e=>e.toISOString(),e=>new Date(e)),j(f,"Error",(e,t)=>{let n={name:e.name,message:e.message};return"cause"in e&&(n.cause=e.cause),t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n},(e,t)=>{let n=Error(e.message,{cause:e.cause});return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(t=>{n[t]=e[t]}),n}),j(e=>e instanceof RegExp,"regexp",e=>""+e,e=>new RegExp(e.slice(1,e.lastIndexOf("/")),e.slice(e.lastIndexOf("/")+1))),j(m,"set",e=>[...e.values()],e=>new Set(e)),j(u,"map",e=>[...e.entries()],e=>new Map(e)),j(e=>g(e)||e===1/0||e===-1/0,"number",e=>g(e)?"NaN":e>0?"Infinity":"-Infinity",Number),j(e=>0===e&&1/e==-1/0,"number",()=>"-0",Number),j(e=>e instanceof URL,"URL",e=>e.toString(),e=>new URL(e))];function w(e,t,n,a){return{isApplicable:e,annotation:t,transform:n,untransform:a}}let _=w((e,t)=>!!h(e)&&!!t.symbolRegistry.getIdentifier(e),(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{let a=n.symbolRegistry.getValue(t[1]);
9if(!a)throw Error("Trying to deserialize unknown symbol");return a}),E=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),D=w(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{let n=E[t[1]];if(!n)throw Error("Trying to deserialize unknown typed array");return new n(e)});function T(e,t){return!!e?.constructor&&!!t.classRegistry.getIdentifier(e.constructor)}let I=w(T,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{let n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};let a={};return n.forEach(t=>{a[t]=e[t]}),a},(e,t,n)=>{let a=n.classRegistry.getValue(t[1]);if(!a)throw Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(a.prototype),e)}),x=w((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{let a=n.customTransformerRegistry.findByName(t[1]);if(!a)throw Error("Trying to deserialize unknown custom value");return a.deserialize(e)}),C=[I,_,x,D],S=(e,t)=>{let n=s(C,n=>n.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};let a=s(k,n=>n.isApplicable(e,t));if(a)return{value:a.transform(e,t),type:a.annotation}},A={};k.forEach(e=>{A[e.annotation]=e});let N=(e,t)=>{if(t>e.size)throw Error("index out of bounds");let n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function M(e){if(r(e,"__proto__"))throw Error("__proto__ is not allowed as a property");if(r(e,"prototype"))throw Error("prototype is not allowed as a property");if(r(e,"constructor"))throw Error("constructor is not allowed as a property")}let O=(e,t,n)=>{if(M(t),0===t.length)return n(e);let a=e;for(let e=0;e<t.length-1;e++){let n=t[e];if(d(a))a=a[+n];else if(c(a))a=a[n];else if(m(a))a=N(a,+n);else if(u(a)){if(e===t.length-2)break;let o=+n,r=0==+t[++e]?"key":"value",s=N(a,o);switch(r){case"key":a=s;break;case"value":a=a.get(s)}}}let o=t[t.length-1];if(d(a)?a[+o]=n(a[+o]):c(a)&&(a[o]=n(a[o])),m(a)){let e=N(a,+o),t=n(e);e!==t&&(a.delete(e),a.add(t))}if(u(a)){let e=N(a,+t[t.length-2]);switch(0==+o?"key":"value"){case"key":{let t=n(e);a.set(t,a.get(e)),t!==e&&a.delete(e);break}case"value":a.set(e,n(a.get(e)))}}return e},R=(e,t,n,a,s=[],i=[],g=new Map)=>{let v=(e=>"boolean"==typeof e||null===e||l(e)||"number"==typeof e&&!isNaN(e)||"string"==typeof e||h(e))(e);if(!v){let n;(n=t.get(e))?n.push(s):t.set(e,[s]);let o=g.get(e);if(o)return a?{transformedValue:null}:o}if(!(c(e)||d(e)||u(e)||m(e)||f(e)||T(e,n))){let t=S(e,n),a=t?{transformedValue:t.value,annotations:[t.type]}:{transformedValue:e};return v||g.set(e,a),a}if(r(i,e))return{transformedValue:null};let y=S(e,n),j=y?.value??e,k=d(j)?[]:{},w={};o(j,(r,l)=>{if("__proto__"===l||"constructor"===l||"prototype"===l)throw Error(`Detected property ${l}. This is a prototype pollution risk, please remove it from your object.`);let p=R(r,t,n,a,[...s,l],[...i,e],g);k[l]=p.transformedValue,d(p.annotations)?w[b(l)]=p.annotations:c(p.annotations)&&o(p.annotations,(e,t)=>{w[b(l)+"."+t]=e})});let _=p(w)?{transformedValue:k,annotations:y?[y.type]:void 0}:{transformedValue:k,annotations:y?[y.type,w]:w};return v||g.set(e,_),_};function F(e){return Object.prototype.toString.call(e).slice(8,-1)}function P(e){return"Array"===F(e)}class L{constructor({dedupe:e=!1}={}){this.classRegistry=new a,this.symbolRegistry=new n(e=>e.description??""),this.customTransformerRegistry=new i,this.allowedErrorProps=[],this.dedupe=e}serialize(e){var t;let n,a,o=new Map,r=R(e,o,this,this.dedupe),s={json:r.transformedValue};r.annotations&&(s.meta={...s.meta,values:r.annotations});let i=(t=this.dedupe,n={},(o.forEach(e=>{if(e.length<=1)return;t||(e=e.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));let[o,...r]=e;0===o.length?a=r.map(v):n[v(o)]=r.map(v)}),a)?p(n)?[a]:[a,n]:p(n)?void 0:n);return i&&(s.meta={...s.meta,referentialEqualities:i}),s.meta&&(s.meta.v=1),s}deserialize(e,t){var n,a,r,s;let{json:i,meta:l}=e,c=t?.inPlace?i:function e(t,n={}){return P(t)?t.map(t=>e(t,n)):!function(e){if("Object"!==F(e))return!1;let t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(t)?t:[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)].reduce((a,o)=>{var r;let s;if("__proto__"===o||P(n.props)&&!n.props.includes(o))return a;let i=e(t[o],n);return r=n.nonenumerable,"enumerable"==(s=({}).propertyIsEnumerable.call(t,o)?"enumerable":"nonenumerable")&&(a[o]=i),r&&"n
9onenumerable"===s&&Object.defineProperty(a,o,{value:i,enumerable:!1,writable:!0,configurable:!0}),a},{})}(i);return l?.values&&(n=c,a=l.values,r=l.v??0,s=this,function e(t,n,a,r=[]){if(!t)return;let s=a<1;if(!d(t))return void o(t,(t,o)=>e(t,n,a,[...r,...y(o,s)]));let[i,l]=t;l&&o(l,(t,o)=>{e(t,n,a,[...r,...y(o,s)])}),n(i,r)}(a,(e,t)=>{n=O(n,t,t=>((e,t,n)=>{if(d(t))switch(t[0]){case"symbol":return _.untransform(e,t,n);case"class":return I.untransform(e,t,n);case"custom":return x.untransform(e,t,n);case"typed-array":return D.untransform(e,t,n);default:throw Error("Unknown transformation: "+t)}{let a=A[t];if(!a)throw Error("Unknown transformation: "+t);return a.untransform(e,n)}})(t,e,s))},r),c=n),l?.referentialEqualities&&(c=function(e,t,n){let a=n<1;function r(t,n){let o=((e,t)=>{M(t);for(let n=0;n<t.length;n++){let a=t[n];if(m(e))e=N(e,+a);else if(u(e)){let o=+a,r=0==+t[++n]?"key":"value",s=N(e,o);switch(r){case"key":e=s;break;case"value":e=e.get(s)}}else e=e[a]}return e})(e,y(n,a));t.map(e=>y(e,a)).forEach(t=>{e=O(e,t,()=>o)})}if(d(t)){let[n,s]=t;n.forEach(t=>{e=O(e,y(t,a),()=>e)}),s&&o(s,r)}else o(t,r);return e}(c,l.referentialEqualities,l.v??0)),c}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e),{inPlace:!0})}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}}L.defaultInstance=new L,L.serialize=L.defaultInstance.serialize.bind(L.defaultInstance),L.deserialize=L.defaultInstance.deserialize.bind(L.defaultInstance),L.stringify=L.defaultInstance.stringify.bind(L.defaultInstance),L.parse=L.defaultInstance.parse.bind(L.defaultInstance),L.registerClass=L.defaultInstance.registerClass.bind(L.defaultInstance),L.registerSymbol=L.defaultInstance.registerSymbol.bind(L.defaultInstance),L.registerCustom=L.defaultInstance.registerCustom.bind(L.defaultInstance),L.allowErrorProps=L.defaultInstance.allowErrorProps.bind(L.defaultInstance);let B=L.serialize,H=L.deserialize;L.stringify,L.parse,L.registerClass,L.registerCustom,L.registerSymbol,L.allowErrorProps,e.s(["SuperJSON",0,L,"deserialize",0,H,"serialize",0,B],12627)},325661,(e,t,n)=>{"use strict";var a=e.r(564946),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=a.useState,s=a.useEffect,i=a.useLayoutEffect,l=a.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var p="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),a=r({inst:{value:n,getSnapshot:t}}),o=a[0].inst,p=a[1];return i(function(){o.value=n,o.getSnapshot=t,c(o)&&p({inst:o})},[e,n,t]),s(function(){return c(o)&&p({inst:o}),e(function(){c(o)&&p({inst:o})})},[e]),l(n),n};n.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:p},56032,(e,t,n)=>{"use strict";t.exports=e.r(325661)},220206,(e,t,n)=>{"use strict";var a=e.r(564946),o=e.r(56032),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,i=a.useRef,l=a.useEffect,c=a.useMemo,p=a.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,t,n,a,o){var d=i(null);if(null===d.current){var u={hasValue:!1,value:null};d.current=u}else u=d.current;var m=s(e,(d=c(function(){function e(e){if(!l){if(l=!0,s=e,e=a(e),void 0!==o&&u.hasValue){var t=u.value;if(o(t,e))return i=t}return i=e}if(t=i,r(s,e))return t;var n=a(e);return void 0!==o&&o(t,n)?(s=e,t):(s=e,i=n)}var s,i,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,a,o]))[0],d[1]);return l(function(){u.hasValue=!0,u.value=m},[m]),p(m),m}},596482,(e,t,n)=>{"use strict";t.exports=e.r(220206)},133188,e=>{"use strict";var t=e.i(485846),n=e.i(98340),a=e.i(91600),o=e.i(186644),r=e.i(220960),s=e.i(129229),i=e.i(564946),l=e.i(12627);e.s(["makeBrowserClient",0,function({getQueryClient:e,getUrl:c}){let{TRPCProvider:p,useTRPC:d,useTRPCClient:u}=(0,s.createTRPCContext)();return{TRPCProvider:p,TRPCReactProvider:function(s){let d=e(),[u]=(0,i.useState)(()=>(0,a.createTRPCClient)({links:[(0,r.loggerLink)({enabled:e=>"down"===e.direction&&e.result instanceof Error}),(0,o.httpBatchLink)({transformer:l.SuperJSON,url:c(),headers:s.headers})]}));return(0,t.jsx)(n.QueryClientProvider,{client:d,children:(0,t.jsx)(p,{queryClient:d,trpcClient:u,children:s.children})})},useTRPC:d,useTRPCClient:u}}])},394464,14294,470227,170331,699629,268844,9327,175354,23767,343309,55307,265776,825169,350484,992503,14447,138591,284076,e=>{"use strict";var t;let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function a(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(e){return(t,n)=>{let a;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;a=e.formattingValues[o]||e.formattingValues[t]}else{let t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;a=e.values[o]||e.values[t]}return a[e.argumentCallback?e.argumentCallback(t):t]}}function i(e){return(t,n={})=>{let a,o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=t.match(r);if(!s)return null;let i=s[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(i)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(i));return a=e.valueCallback?e.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(i.length)}}}let l={code:"en-US",formatDistance:(e,t,a)=>{let o,r=n[e];if(o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+o;else return o+" ago";return o},formatLong:o,formatRelative:(e,t,n,a)=>r[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
9ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(t={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,n={})=>{let a=e.match(t.matchPattern);if(!a)return null;let o=a[0],r=e.match(t.parsePattern);if(!r)return null;let s=t.valueCallback?t.valueCallback(r[0]):r[0];return{value:s=n.valueCallback?n.valueCallback(s):s,rest:e.slice(o.length)}}),era:i({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:i({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:i({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["enUS",0,l],14294);let c={};function p(){return c}e.s(["getDefaultOptions",0,p],470227);let d=Symbol.for("constructDateFrom");function u(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&d in e?e[d](t):e instanceof Date?new e.constructor(t):new Date(t)}function m(e,t){return u(t||e,e)}function h(e){let t=m(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}function f(e,...t){let n=u.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}function g(e,t){let n=m(e,t?.in);return n.setHours(0,0,0,0),n}function b(e,t,n){let[a,o]=f(n?.in,e,t),r=g(a),s=g(o);return Math.round((r-h(r)-(s-h(s)))/864e5)}function v(e,t){let n=m(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function y(e,t){let n=p(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=m(e,t?.in),r=o.getDay();return o.setDate(o.getDate()-(7*(r<a)+r-a)),o.setHours(0,0,0,0),o}function j(e,t){return y(e,{...t,weekStartsOn:1}
9)}function k(e,t){let n=m(e,t?.in),a=n.getFullYear(),o=u(n,0);o.setFullYear(a+1,0,4),o.setHours(0,0,0,0);let r=j(o),s=u(n,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);let i=j(s);return n.getTime()>=r.getTime()?a+1:n.getTime()>=i.getTime()?a:a-1}function w(e,t){let n,a,o=m(e,t?.in);return Math.round((j(o)-(n=k(o,void 0),(a=u(o,0)).setFullYear(n,0,4),a.setHours(0,0,0,0),j(a)))/6048e5)+1}function _(e,t){let n=m(e,t?.in),a=n.getFullYear(),o=p(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=u(t?.in||e,0);s.setFullYear(a+1,0,r),s.setHours(0,0,0,0);let i=y(s,t),l=u(t?.in||e,0);l.setFullYear(a,0,r),l.setHours(0,0,0,0);let c=y(l,t);return+n>=+i?a+1:+n>=+c?a:a-1}function E(e,t){let n,a,o,r,s=m(e,t?.in);return Math.round((y(s,t)-(n=p(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=_(s,t),(r=u(t?.in||s,0)).setFullYear(o,0,a),r.setHours(0,0,0,0),y(r,t)))/6048e5)+1}function D(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}e.s(["constructFrom",0,u],170331),e.s(["toDate",0,m],699629),e.s(["normalizeDates",0,f],268844),e.s(["startOfDay",0,g],9327),e.s(["differenceInCalendarDays",0,b],175354),e.s(["startOfYear",0,v],23767),e.s(["startOfWeek",0,y],343309),e.s(["startOfISOWeek",0,j],55307),e.s(["getISOWeek",0,w],265776),e.s(["getWeek",0,E],825169);let T={y(e,t){let n=e.getFullYear(),a=n>0?n:1-n;return D("yy"===t?a%100:a,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):D(n+1,2)},d:(e,t)=>D(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>D(e.getHours()%12||12,t.length),H:(e,t)=>D(e.getHours(),t.length),m:(e,t)=>D(e.getMinutes(),t.length),s:(e,t)=>D(e.getSeconds(),t.length),S(e,t){let n=t.length;return D(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},I={G:function(e,t,n){let a=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return T.y(e,t)},Y:function(e,t,n,a){let o=_(e,a),r=o>0?o:1-o;return"YY"===t?D(r%100,2):"Yo"===t?n.ordinalNumber(r,{unit:"year"}):D(r,t.length)},R:function(e,t){return D(k(e),t.length)},u:function(e,t){return D(e.getFullYear(),t.length)},Q:function(e,t,n){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return D(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return D(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){let a=e.getMonth();switch(t){case"M":case"MM":return T.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){let a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return D(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){let o=E(e,a);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):D(o,t.length)},I:function(e,t,n){let a=w(e);return"Io"===t?n.ordinalNumber(a,{unit:"week"}):D(a,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):T.d(e,t)},D:function(e,t,n){let a,o=b(a=m(e,void 0),v(a))+1;return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):D(o,t.length)},E:function(e,t,n){let a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){let o=e.getDay(),r=(o-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return D(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){let o=e.getDay(),r=(o-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return D(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){let a=e.getDay(),o=0===a?7:a;switch(t){case"i":return String(o);case"ii":return D(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){let a,o=e.getHours();
9switch(a=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let a,o=e.getHours();switch(a=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return T.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):T.H(e,t)},K:function(e,t,n){let a=e.getHours()%12;return"Ko"===t?n.ordinalNumber(a,{unit:"hour"}):D(a,t.length)},k:function(e,t,n){let a=e.getHours();return(0===a&&(a=24),"ko"===t)?n.ordinalNumber(a,{unit:"hour"}):D(a,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):T.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):T.s(e,t)},S:function(e,t){return T.S(e,t)},X:function(e,t,n){let a=e.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return C(a);case"XXXX":case"XX":return S(a);default:return S(a,":")}},x:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"x":return C(a);case"xxxx":case"xx":return S(a);default:return S(a,":")}},O:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+x(a,":");default:return"GMT"+S(a,":")}},z:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+x(a,":");default:return"GMT"+S(a,":")}},t:function(e,t,n){return D(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return D(+e,t.length)}};function x(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),o=Math.trunc(a/60),r=a%60;return 0===r?n+String(o):n+String(o)+t+D(r,2)}function C(e,t){return e%60==0?(e>0?"-":"+")+D(Math.abs(e)/60,2):S(e,t)}function S(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+D(Math.trunc(n/60),2)+t+D(n%60,2)}let A=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},N=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},M={p:N,P:(e,t)=>{let n,a=e.match(/(P+)(p+)?/)||[],o=a[1],r=a[2];if(!r)return A(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",A(o,t)).replace("{{time}}",N(r,t))}},O=/^D+$/,R=/^Y+$/,F=["D","DD","YY","YYYY"];function P(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}e.s(["isDate",0,P],350484);let L=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,B=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,H=/^'([^]*?)'?$/,U=/''/g,z=/[a-zA-Z]/;function $(e,t,n){let a=p(),o=n?.locale??a.locale??l,r=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,i=m(e,n?.in);if(!P(i)&&"number"!=typeof i||isNaN(+m(i)))throw RangeError("Invalid time value");let c=t.match(B).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,M[t])(e,o.formatLong):e}).join("").match(L).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(H))?t[1].replace(U,"'"):n}}if(I[t])return{isToken:!0,value:e};if(t.match(z))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});o.localize.preprocessor&&(c=o.localize.preprocessor(i,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:o};return c.map(a=>{if(!a.isToken)return a.value;let r=a.value;return(!n?.useAdditionalWeekYearTokens&&R.test(r)||!n?.useAdditionalDayOfYearTokens&&O.test(r))&&function(e,t,n){var a,o,r;let s,i=(a=e,o=t,r=n,s="Y"===a[0]?"years":"days of the month",`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${o}\`) for formatting ${s} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(i),F.includes(e))throw RangeError(i)}(r,t,String(e)),(0,I[r[0]])(i,r,o.localize,d)}).join("")}function q(e,t,n){var a,o,r,s,i;let l,c,d=Object.assign({},p()),u=(a=e,o=n.timeZone,r=n.locale??d.locale,new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:o,timeZoneName:a}));return"formatToParts"in u?function(e,t){let n=e.formatToParts(t);for(let e=n.length-1;e>=0;--e)if("timeZoneName"===n[e].type)return n[e].value}(u,t):(s=u,i=t,l=s.format(i).replace(/\u200E/g,""),(c=/ [\w-+ ]+$/.exec(l))?c[0].substr(1):"")}e.s(["format",0,$],992503);let V={year:0,month:1,day:2,hour:3,minute:4,second:5},W={},G=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/Ne
9w_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Y="06/25/2014, 00:00:00"===G||"â06â/â25â/â2014â â00â:â00â:â00"===G;function K(e,t,n,a,o,r,s){let i=new Date(0);return i.setUTCFullYear(e,t,n),i.setUTCHours(a,o,r,s),i}let Q=/^(Z)$/,X=/^([+-]\d{2})$/,J=/^([+-])(\d{2}):?(\d{2})$/;function Z(e,t,n){let a,o;if(!e)return 0;let r=Q.exec(e);if(r)return 0;if(r=X.exec(e))return et(a=parseInt(r[1],10))?-(36e5*a):NaN;if(r=J.exec(e)){a=parseInt(r[2],10);let e=parseInt(r[3],10);return et(a,e)?(o=36e5*Math.abs(a)+6e4*e,"+"===r[1]?-o:o):NaN}if(function(e){if(en[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),en[e]=!0,!0}catch(e){return!1}}(e)){var s;t=new Date(t||Date.now());let a=ee(n?t:K((s=t).getFullYear(),s.getMonth(),s.getDate(),s.getHours(),s.getMinutes(),s.getSeconds(),s.getMilliseconds()),e);return-(n?a:function(e,t,n){let a=e.getTime()-t,o=ee(new Date(a),n);if(t===o)return t;let r=ee(new Date(a-=o-t),n);return o===r?o:Math.max(o,r)}(t,a,e))}return NaN}function ee(e,t){var n,a,o;let r,s,i,l=(W[n=t]||(W[n]=Y?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(i=W[n])?function(e,t){try{let n=e.formatToParts(t),a=[];for(let e=0;e<n.length;e++){let t=V[n[e].type];void 0!==t&&(a[t]=parseInt(n[e].value,10))}return a}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(i,e):(a=i,o=e,r=a.format(o),[parseInt((s=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r))[3],10),parseInt(s[1],10),parseInt(s[2],10),parseInt(s[4],10),parseInt(s[5],10),parseInt(s[6],10)])),c=K(l[0],l[1]-1,l[2],l[3]%24,l[4],l[5],0).getTime(),p=e.getTime(),d=p%1e3;return c-(p-=d>=0?d:1e3+d)}function et(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let en={},ea={X:function(e,t,n){let a=eo(n.timeZone,e);if(0===a)return"Z";switch(t){case"X":return ei(a);case"XXXX":case"XX":return es(a);default:return es(a,":")}},x:function(e,t,n){let a=eo(n.timeZone,e);switch(t){case"x":return ei(a);case"xxxx":case"xx":return es(a);default:return es(a,":")}},O:function(e,t,n){let a=eo(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),o=Math.floor(a/60),r=a%60;return 0===r?n+String(o):n+String(o)+t+er(r,2)}(a,":");default:return"GMT"+es(a,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return q("short",e,n);default:return q("long",e,n)}}};function eo(e,t){let n=e?Z(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw RangeError("Invalid time zone specified: "+e);return n}function er(e,t){let n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return(e<0?"-":"")+n}function es(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+er(Math.floor(n/60),2)+t+er(Math.floor(n%60),2)}function ei(e,t){return e%60==0?(e>0?"-":"+")+er(Math.abs(e)/60,2):es(e,t)}function el(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let ec=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,ep=/^([0-9W+-]+)(T| )(.*)/,ed=/^([0-9W+-]+)(.*)/,eu=/^(\d{2})$/,em=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],eh=/^(\d{4})/,ef=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],eg=/^-(\d{2})$/,eb=/^-?(\d{3})$/,ev=/^-?(\d{2})-?(\d{2})$/,ey=/^-?W(\d{2})$/,ej=/^-?W(\d{2})-?(\d{1})$/,ek=/^(\d{2}([.,]\d*)?)$/,ew=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,e_=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function eE(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);let a=function(e){let t,n={},a=ep.exec(e);if(a?(n.date=a[1],t=a[3]):(a=ed.exec(e))?(n.date=a[1],t=a[2]):(n.date=null,t=e),t){let e=ec.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:o,restDateString:r}=function(e,t){if(e){let n=em[t],a=ef[t],o=eh.exec(e)||a.exec(e);
9if(o){let t=o[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(o=eu.exec(e)||n.exec(e)){let t=o[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(a.date,n),s=function(e,t){let n,a,o;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let r=eg.exec(e);if(r)return(n=new Date(0),eC(t,a=parseInt(r[1],10)-1))?(n.setUTCFullYear(t,a),n):new Date(NaN);if(r=eb.exec(e)){n=new Date(0);let e=parseInt(r[1],10);return!function(e,t){if(t<1)return!1;let n=ex(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(NaN):(n.setUTCFullYear(t,0,e),n)}if(r=ev.exec(e)){n=new Date(0),a=parseInt(r[1],10)-1;let e=parseInt(r[2],10);return eC(t,a,e)?(n.setUTCFullYear(t,a,e),n):new Date(NaN)}if(r=ey.exec(e))return eS(o=parseInt(r[1],10)-1)?eD(t,o):new Date(NaN);if(r=ej.exec(e)){o=parseInt(r[1],10)-1;let e=parseInt(r[2],10)-1;return eS(o,e)?eD(t,o,e):new Date(NaN)}return null}(r,o);if(null===s||isNaN(s.getTime())||!s)return new Date(NaN);{let e,n=s.getTime(),o=0;if(a.time&&(null===(o=function(e){let t,n,a=ek.exec(e);if(a)return eA(t=parseFloat(a[1].replace(",",".")))?t%24*36e5:NaN;if(a=ew.exec(e))return eA(t=parseInt(a[1],10),n=parseFloat(a[2].replace(",",".")))?t%24*36e5+6e4*n:NaN;if(a=e_.exec(e)){t=parseInt(a[1],10),n=parseInt(a[2],10);let e=parseFloat(a[3].replace(",","."));return eA(t,n,e)?t%24*36e5+6e4*n+1e3*e:NaN}return null}(a.time))||isNaN(o)))return new Date(NaN);if(a.timeZone||t.timeZone){if(isNaN(e=Z(a.timeZone||t.timeZone,new Date(n+o))))return new Date(NaN)}else e=el(new Date(n+o)),e=el(new Date(n+o+e));return new Date(n+o+e)}}function eD(e,t,n){t=t||0,n=n||0;let a=new Date(0);a.setUTCFullYear(e,0,4);let o=7*t+n+1-(a.getUTCDay()||7);return a.setUTCDate(a.getUTCDate()+o),a}let eT=[31,28,31,30,31,30,31,31,30,31,30,31],eI=[31,29,31,30,31,30,31,31,30,31,30,31];function ex(e){return e%400==0||e%4==0&&e%100!=0}function eC(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let a=ex(e);if(a&&n>eI[t]||!a&&n>eT[t])return!1}return!0}function eS(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function eA(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}let eN=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function eM(e,t,n,a){var o;let r,s,i;return a={...a,timeZone:t,originalDate:e},function(e,t,n={}){let a=(t=String(t)).match(eN);if(a){let o=eE(n.originalDate||e,n);t=a.reduce(function(e,t){if("'"===t[0])return e;let a=e.indexOf(t),r="'"===e[a-1],s=e.replace(t,"'"+ea[t[0]](o,t,n)+"'");return r?s.substring(0,a-1)+s.substring(a+1):s},t)}return $(e,t,n)}((r=Z(t,o=eE(o=e,{timeZone:a.timeZone}),!0),s=new Date(o.getTime()-r),(i=new Date(0)).setFullYear(s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()),i.setHours(s.getUTCHours(),s.getUTCMinutes(),s.getUTCSeconds(),s.getUTCMilliseconds()),i),n,a)}e.s(["formatInTimeZone",0,eM],14447),e.s(["fromZonedTime",0,function(e,t,n){if("string"==typeof e&&!e.match(ec))return eE(e,{...n,timeZone:t});let a=K((e=eE(e,n)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),o=Z(t,new Date(a));return new Date(a+o)}],138591),e.s([],284076);let eO="Australia/Melbourne";e.s(["formatDate",0,function(e,t="dd/MM/yyyy"){if(e)return eM(e,eO,t)},"formatDateTime",0,function(e,t="dd/MM/yyyy, p"){if(e)return eM(e,eO,t)},"formatTime",0,function(e,t="HH:mm"){if(e)return eM(e,eO,t)}],394464)},124443,e=>{"use strict";var t=e.i(485846);e.i(394464),e.i(477130);var n=e.i(705471),a=e.i(493405),o=e.i(822500),r=e.i(494878),s=e.i(42125),i=e.i(215529),l=e.i(917152),c=e.i(341720),p=Object.prototype.hasOwnProperty;let d=function(e){if(null==e)return!0;if((0,s.default)(e)&&((0,r.default)(e)||"string"==typeof e||"function"==typeof e.splice||(0,i.default)(e)||(0,c.default)(e)||(0,o.default)(e)))return!e.length;var t=(0,a.default)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,l.default)(e))return!(0,n.default)(e).length;for(var d in e)if(p.call(e,d))return!1;return!0};e.i(960235);var u=e.i(207718);function m(e,t){return e?[e.street&&`${e.street}
9,`,e.suburb,!t&&e.state,!t&&e.postcode].filter(Boolean).join(" ").trim():null}e.s(["AddressAttribute",0,function({value:e,short:n}){if(d(e))return(0,t.jsx)("span",{className:"text-muted-foreground/50",children:"â"});let a=m(e,n);return a?(0,t.jsx)(u.default,{className:"ui-link",href:`https://www.google.com/maps/search/?api=1&query=${a}`,rel:"noopener noreferrer",target:"_blank",children:a}):(0,t.jsx)("span",{className:"text-muted-foreground/50",children:"â"})},"formatAddress",0,m],124443)},477130,e=>{"use strict";var t=e.i(485846),n=e.i(632137),a=e.i(294237),o=e.i(993253);let r=(0,a.cva)("group/badge focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:ring-[3px] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a,button]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a,button]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a,button]:hover:bg-destructive/20",outline:"border-border text-foreground [a,button]:hover:bg-muted [a,button]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline",red:"bg-red-500/15 text-red-800 dark:bg-red-500/10 dark:text-red-400 [a,button]:hover:bg-red-500/25 dark:[a,button]:hover:bg-red-500/20",orange:"bg-orange-500/15 text-orange-800 dark:bg-orange-500/10 dark:text-orange-400 [a,button]:hover:bg-orange-500/25 dark:[a,button]:hover:bg-orange-500/20",amber:"bg-amber-400/20 text-amber-800 dark:bg-amber-400/10 dark:text-amber-400 [a,button]:hover:bg-amber-400/30 dark:[a,button]:hover:bg-amber-400/15",yellow:"bg-yellow-400/20 text-yellow-800 dark:bg-yellow-400/10 dark:text-yellow-300 [a,button]:hover:bg-yellow-400/30 dark:[a,button]:hover:bg-yellow-400/15",lime:"bg-lime-400/20 text-lime-800 dark:bg-lime-400/10 dark:text-lime-300 [a,button]:hover:bg-lime-400/30 dark:[a,button]:hover:bg-lime-400/15",green:"bg-green-500/15 text-green-800 dark:bg-green-500/10 dark:text-green-400 [a,button]:hover:bg-green-500/25 dark:[a,button]:hover:bg-green-500/20",emerald:"bg-emerald-500/15 text-emerald-800 dark:bg-emerald-500/10 dark:text-emerald-400 [a,button]:hover:bg-emerald-500/25 dark:[a,button]:hover:bg-emerald-500/20",teal:"bg-teal-500/15 text-teal-800 dark:bg-teal-500/10 dark:text-teal-300 [a,button]:hover:bg-teal-500/25 dark:[a,button]:hover:bg-teal-500/20",cyan:"bg-cyan-400/20 text-cyan-800 dark:bg-cyan-400/10 dark:text-cyan-300 [a,button]:hover:bg-cyan-400/30 dark:[a,button]:hover:bg-cyan-400/15",sky:"bg-sky-500/15 text-sky-800 dark:bg-sky-500/10 dark:text-sky-300 [a,button]:hover:bg-sky-500/25 dark:[a,button]:hover:bg-sky-500/20",blue:"bg-blue-500/15 text-blue-800 dark:text-blue-400 [a,button]:hover:bg-blue-500/25 dark:[a,button]:hover:bg-blue-500/25",indigo:"bg-indigo-500/15 text-indigo-800 dark:text-indigo-400 [a,button]:hover:bg-indigo-500/25 dark:[a,button]:hover:bg-indigo-500/20",violet:"bg-violet-500/15 text-violet-800 dark:text-violet-400 [a,button]:hover:bg-violet-500/25 dark:[a,button]:hover:bg-violet-500/20",purple:"bg-purple-500/15 text-purple-800 dark:text-purple-400 [a,button]:hover:bg-purple-500/25 dark:[a,button]:hover:bg-purple-500/20",fuchsia:"bg-fuchsia-400/15 text-fuchsia-800 dark:bg-fuchsia-400/10 dark:text-fuchsia-400 [a,button]:hover:bg-fuchsia-400/25 dark:[a,button]:hover:bg-fuchsia-400/20",pink:"bg-pink-400/15 text-pink-800 dark:bg-pink-400/10 dark:text-pink-400 [a,button]:hover:bg-pink-400/25 dark:[a,button]:hover:bg-pink-400/20",rose:"bg-rose-400/15 text-rose-800 dark:bg-rose-400/10 dark:text-rose-400 [a,button]:hover:bg-rose-400/25 dark:[a,button]:hover:bg-rose-400/20",zinc:"bg-zinc-600/10 text-zinc-800 dark:bg-white/5 dark:text-zinc-400 [a,button]:hover:bg-zinc-600/20 dark:[a,button]:hover:bg-white/10"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:a="default",asChild:s=!1,...i}){let l=s?o.Slot.Root:"span";return(0,t.jsx)(l,{className:(0,n.cn)(r({variant:a}),e),"data-slot":"badge","data-variant":a,...i})}])},215571,e=>{"use strict";var t=e.i(485846),n=e.i(981831),a=e.i(632137),o=e.i(420119),r=e.i(571831);function s({...e}){return(0,t.jsx)(r.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function i({className:e,...n}){return(0,t.jsx)(r.Dialog.Overlay,{className:(0,a.cn)("data-open:fade-in-0 data-closed:fade-out-0 bg-backdrop data-closed:animate-out data-open:animate-in fixed inset-0 isolate z-50 duration-100 supports-backdrop-filter:backdrop-blur-xs",e),"data-slot":"dialog-overlay",...n})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(r.Dialog.Root,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(r.Dialog.Close,{"data-slot":"dialog-close",...e})},"DialogContent",0,function({className:e,children:l,showCloseButton:c=!0,...p}){return(0,t.jsxs)(s,{children:[(0,t.jsx)(i,{}),(0,t.jsxs)(r.Dialog.Content,{className:(0,a.cn)("data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 bg-background ring-foreground
9/10 data-closed:animate-out data-open:animate-in fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 text-sm ring-1 duration-100 outline-none sm:max-w-md",e),"data-slot":"dialog-content",...p,children:[l,c&&(0,t.jsx)(r.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(n.Button,{className:"absolute top-2 right-2",size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(o.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...n}){return(0,t.jsx)(r.Dialog.Description,{className:(0,a.cn)("text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3",e),"data-slot":"dialog-description",...n})},"DialogFooter",0,function({className:e,showCloseButton:o=!1,children:s,...i}){return(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...i,children:[s,o&&(0,t.jsx)(r.Dialog.Close,{asChild:!0,children:(0,t.jsx)(n.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...n}){return(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...n})},"DialogOverlay",0,i,"DialogPortal",0,s,"DialogTitle",0,function({className:e,...n}){return(0,t.jsx)(r.Dialog.Title,{className:(0,a.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...n})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(r.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},107772,e=>{"use strict";let t;var n=e.i(485846),a=e.i(215571),o=e.i(632137),r=e.i(906390),s=e.i(564946);let i=s.default.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),l=()=>{let e=s.default.useContext(i);if(!e)throw Error("useDrawerContext must be used within a Drawer.Root");return e};function c(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function p(){return d(/^iPhone/)||d(/^iPad/)||d(/^Mac/)&&navigator.maxTouchPoints>1}function d(e){return"u">typeof window&&null!=window.navigator?e.test(window.navigator.platform):void 0}!function(e){if(!e||"u"<typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}("[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(\n[data-state=closed]\n){opacity:0}
9[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}");let u="u">typeof window?s.useLayoutEffect:s.useEffect;function m(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}let h="u">typeof document&&window.visualViewport;function f(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function g(e){for(f(e)&&(e=e.parentElement);e&&!f(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}let b=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),v=0;function y(e,t,n,a){return e.addEventListener(t,n,a),()=>{e.removeEventListener(t,n,a)}}function j(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=g(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,a=e.getBoundingClientRect().top;e.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom+24&&(t.scrollTop+=a-n)}e=t.parentElement}}function k(e){return e instanceof HTMLInputElement&&!b.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function w(...e){return s.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}let _=new WeakMap;function E(e,t,n=!1){if(!e||!(e instanceof HTMLElement))return;let a={};Object.entries(t).forEach(([t,n])=>{t.startsWith("--")?e.style.setProperty(t,n):(a[t]=e.style[t],e.style[t]=n)}),n||_.set(e,a)}let D=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function T(e,t){if(!e)return null;let n=window.getComputedStyle(e),a=n.transform||n.webkitTransform||n.mozTransform,o=a.match(/^matrix3d\((.+)\)$/);return o?parseFloat(o[1].split(", ")[D(t)?13:12]):(o=a.match(/^matrix\((.+)\)$/))?parseFloat(o[1].split(", ")[D(t)?5:4]):null}function I(e,t){if(!e)return()=>{};let n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}let x=[.32,.72,0,1],C="vaul-dragging";function S(e){let t=s.default.useRef(e);return s.default.useEffect(()=>{t.current=e}),s.default.useMemo(()=>(...e)=>null==t.current?void 0:t.current.call(t,...e),[])}function A({prop:e,defaultProp:t,onChange:n=()=>{}}){let[a,o]=function({defaultProp:e,onChange:t}){let n=s.default.useState(e),[a]=n,o=s.default.useRef(a),r=S(t);return s.default.useEffect(()=>{o.current!==a&&(r(a),o.current=a)},[a,o,r]),n}({defaultProp:t,onChange:n}),r=void 0!==e,i=r?e:a,l=S(n);return[i,s.default.useCallback(t=>{if(r){let n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[r,e,o,l])]}let N=()=>()=>{},M=null;function O({open:e,onOpenChange:n,children:a,onDrag:o,onRelease:l,snapPoints:d,shouldScaleBackgroun
9d:f=!1,setBackgroundColorOnScale:b=!0,closeThreshold:w=.25,scrollLockTimeout:I=100,dismissible:S=!0,handleOnly:N=!1,fadeFromIndex:R=d&&d.length-1,activeSnapPoint:F,setActiveSnapPoint:P,fixed:L,modal:B=!0,onClose:H,nested:U,noBodyStyles:z=!1,direction:$="bottom",defaultOpen:q=!1,disablePreventScroll:V=!0,snapToSequentialPoint:W=!1,preventScrollRestoration:G=!1,repositionInputs:Y=!0,onAnimationEnd:K,container:Q,autoFocus:X=!1}){var J,Z;let[ee=!1,et]=A({defaultProp:q,prop:e,onChange:e=>{null==n||n(e),e||U||eN(),setTimeout(()=>{null==K||K(e)},500),e&&!B&&"u">typeof window&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),e||(document.body.style.pointerEvents="auto")}}),[en,ea]=s.default.useState(!1),[eo,er]=s.default.useState(!1),[es,ei]=s.default.useState(!1),el=s.default.useRef(null),ec=s.default.useRef(null),ep=s.default.useRef(null),ed=s.default.useRef(null),eu=s.default.useRef(null),em=s.default.useRef(!1),eh=s.default.useRef(null),ef=s.default.useRef(0),eg=s.default.useRef(!1),eb=s.default.useRef(!q),ev=s.default.useRef(0),ey=s.default.useRef(null),ej=s.default.useRef((null==(J=ey.current)?void 0:J.getBoundingClientRect().height)||0),ek=s.default.useRef((null==(Z=ey.current)?void 0:Z.getBoundingClientRect().width)||0),ew=s.default.useRef(0),e_=s.default.useCallback(e=>{d&&e===ex.length-1&&(ec.current=new Date)},[]),{activeSnapPoint:eE,activeSnapPointIndex:eD,setActiveSnapPoint:eT,onRelease:eI,snapPointsOffset:ex,onDrag:eC,shouldFade:eS,getPercentageDragged:eA}=function({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:a,overlayRef:o,fadeFromIndex:r,onSnapPointChange:i,direction:l="bottom",container:c,snapToSequentialPoint:p}){let[d,u]=A({prop:e,defaultProp:null==n?void 0:n[0],onChange:t}),[m,h]=s.default.useState("u">typeof window?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);s.default.useEffect(()=>{function e(){h({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let f=s.default.useMemo(()=>d===(null==n?void 0:n[n.length-1])||null,[n,d]),g=s.default.useMemo(()=>{var e;return null!=(e=null==n?void 0:n.findIndex(e=>e===d))?e:null},[n,d]),b=n&&n.length>0&&(r||0===r)&&!Number.isNaN(r)&&n[r]===d||!n,v=s.default.useMemo(()=>{var e;let t=c?{width:c.getBoundingClientRect().width,height:c.getBoundingClientRect().height}:"u">typeof window?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};return null!=(e=null==n?void 0:n.map(e=>{let n="string"==typeof e,a=0;if(n&&(a=parseInt(e,10)),D(l)){let o=n?a:m?e*t.height:0;return m?"bottom"===l?t.height-o:-t.height+o:o}let o=n?a:m?e*t.width:0;return m?"right"===l?t.width-o:-t.width+o:o}))?e:[]},[n,m,c]),y=s.default.useMemo(()=>null!==g?null==v?void 0:v[g]:null,[v,g]),j=s.default.useCallback(e=>{var t;let s=null!=(t=null==v?void 0:v.findIndex(t=>t===e))?t:null;i(s),E(a.current,{transition:`transform 0.5s cubic-bezier(${x.join(",")})`,transform:D(l)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`}),v&&s!==v.length-1&&void 0!==r&&s!==r&&s<r?E(o.current,{transition:`opacity 0.5s cubic-bezier(${x.join(",")})`,opacity:"0"}):E(o.current,{transition:`opacity 0.5s cubic-bezier(${x.join(",")})`,opacity:"1"}),u(null==n?void 0:n[Math.max(s,0)])},[a.current,n,v,r,o,u]);return s.default.useEffect(()=>{if(d||e){var t;let a=null!=(t=null==n?void 0:n.findIndex(t=>t===e||t===d))?t:-1;v&&-1!==a&&"number"==typeof v[a]&&j(v[a])}},[d,e,n,v,j]),{isLastSnapPoint:f,activeSnapPoint:d,shouldFade:b,getPercentageDragged:function(e,t){if(!n||"number"!=typeof g||!v||void 0===r)return null;let a=g===r-1;if(g>=r&&t)return 0;if(a&&!t)return 1;if(!b&&!a)return null;let o=a?g+1:g-1,s=e/Math.abs(a?v[o]-v[o-1]:v[o+1]-v[o]);return a?1-s:s},setActiveSnapPoint:u,activeSnapPointIndex:g,onRelease:function({draggedDistance:e,closeDrawer:t,velocity:a,dismissible:s}){if(void 0===r)return;let i="bottom"===l||"right"===l?(null!=y?y:0)-e:(null!=y?y:0)+e,c=g===r-1,d=0===g,u=e>0;if(c&&E(o.current,{transition:`opacity 0.5s cubic-bezier(${x.join(",")})`}),!p&&a>2&&!u)return void(s?t():j(v[0]));if(!p&&a>2&&u&&v&&n)return void j(v[n.length-1]);let m=null==v?void 0:v.reduce((e,t)=>
9"number"!=typeof e||"number"!=typeof t?e:Math.abs(t-i)<Math.abs(e-i)?t:e),h=D(l)?window.innerHeight:window.innerWidth;if(a>.4&&Math.abs(e)<.4*h){let e=u?1:-1;return e>0&&f&&n?void j(v[n.length-1]):void(d&&e<0&&s&&t(),null===g||j(v[g+e]))}j(m)},onDrag:function({draggedDistance:e}){if(null===y)return;let t="bottom"===l||"right"===l?y-e:y+e;("bottom"===l||"right"===l)&&t<v[v.length-1]||("top"===l||"left"===l)&&t>v[v.length-1]||E(a.current,{transform:D(l)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})},snapPointsOffset:v}}({snapPoints:d,activeSnapPointProp:F,setActiveSnapPointProp:P,drawerRef:ey,fadeFromIndex:R,overlayRef:el,onSnapPointChange:e_,direction:$,container:Q,snapToSequentialPoint:W});!function(e={}){let{isDisabled:n}=e;u(()=>{if(!n){var e,a,o;let n,r,s,i,l,c,d;return 1==++v&&p()&&(s=0,i=window.pageXOffset,l=window.pageYOffset,c=m((e=document.documentElement,a="paddingRight",o=`${window.innerWidth-document.documentElement.clientWidth}px`,n=e.style[a],e.style[a]=o,()=>{e.style[a]=n})),window.scrollTo(0,0),d=m(y(document,"touchstart",e=>{((r=g(e.target))!==document.documentElement||r!==document.body)&&(s=e.changedTouches[0].pageY)},{passive:!1,capture:!0}),y(document,"touchmove",e=>{if(!r||r===document.documentElement||r===document.body)return void e.preventDefault();let t=e.changedTouches[0].pageY,n=r.scrollTop,a=r.scrollHeight-r.clientHeight;0!==a&&((n<=0&&t>s||n>=a&&t<s)&&e.preventDefault(),s=t)},{passive:!1,capture:!0}),y(document,"touchend",e=>{let t=e.target;k(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame(()=>{t.style.transform=""}))},{passive:!1,capture:!0}),y(document,"focus",e=>{let t=e.target;k(t)&&(t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",h&&(h.height<window.innerHeight?requestAnimationFrame(()=>{j(t)}):h.addEventListener("resize",()=>j(t),{once:!0}))}))},!0),y(window,"scroll",()=>{window.scrollTo(0,0)})),t=()=>{c(),d(),window.scrollTo(i,l)}),()=>{0==--v&&(null==t||t())}}},[n])}({isDisabled:!ee||eo||!B||es||!en||!Y||!V});let{restorePositionSetting:eN}=function({isOpen:e,modal:t,nested:n,hasBeenOpened:a,preventScrollRestoration:o,noBodyStyles:r}){let[i,l]=s.default.useState(()=>"u">typeof window?window.location.href:""),p=s.default.useRef(0),d=s.default.useCallback(()=>{if(c()&&null===M&&e&&!r){M={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};let{scrollX:e,innerHeight:t}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-p.current}px`,left:`${-e}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{let e=t-window.innerHeight;e&&p.current>=t&&(document.body.style.top=`${-(p.current+e)}px`)}),300)}},[e]),u=s.default.useCallback(()=>{if(c()&&null!==M&&!r){let e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);Object.assign(document.body.style,M),window.requestAnimationFrame(()=>{o&&i!==window.location.href?l(window.location.href):window.scrollTo(t,e)}),M=null}},[i]);return s.default.useEffect(()=>{function e(){p.current=window.scrollY}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),s.default.useEffect(()=>{if(t)return()=>{"u"<typeof document||document.querySelector("[data-vaul-drawer]")||u()}},[t,u]),s.default.useEffect(()=>{!n&&a&&(e?(window.matchMedia("(display-mode: standalone)").matches||d(),t||window.setTimeout(()=>{u()},500)):u())},[e,a,i,t,n,d,u]),{restorePositionSetting:u}}({isOpen:ee,modal:B,nested:null!=U&&U,hasBeenOpened:en,preventScrollRestoration:G,noBodyStyles:z});function eM(){return(window.innerWidth-26)/window.innerWidth}function eO(e,t){var n;let a=e,o=null==(n=window.getSelection())?void 0:n.toString(),r=ey.current?T(ey.current,$):null,s=new Date;if("SELECT"===a.tagName||a.hasAttribute("data-vaul-no-drag")||a.closest("[data-vaul-no-drag]"))return!1;if("right"===$||"left"===$)return!0;if(ec.current&&s.getTime()-ec.current.getTime()<500)return!1;if(null!==r&&("bottom"===$?r>0:r<0))return!0;
9if(o&&o.length>0)return!1;if(eu.current&&s.getTime()-eu.current.getTime()<I&&0===r||t)return eu.current=s,!1;for(;a;){if(a.scrollHeight>a.clientHeight){if(0!==a.scrollTop)return eu.current=new Date,!1;if("dialog"===a.getAttribute("role"))break}a=a.parentNode}return!0}function eR(e){eo&&ey.current&&(ey.current.classList.remove(C),em.current=!1,er(!1),ed.current=new Date),null==H||H(),e||et(!1),setTimeout(()=>{d&&eT(d[0])},500)}function eF(){if(!ey.current)return;let e=document.querySelector("[data-vaul-drawer-wrapper]"),t=T(ey.current,$);E(ey.current,{transform:"translate3d(0, 0, 0)",transition:`transform 0.5s cubic-bezier(${x.join(",")})`}),E(el.current,{transition:`opacity 0.5s cubic-bezier(${x.join(",")})`,opacity:"1"}),f&&t&&t>0&&ee&&E(e,{borderRadius:"8px",overflow:"hidden",...D($)?{transform:`scale(${eM()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${eM()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:"0.5s",transitionTimingFunction:`cubic-bezier(${x.join(",")})`},!0)}return s.default.useEffect(()=>{window.requestAnimationFrame(()=>{eb.current=!0})},[]),s.default.useEffect(()=>{var e;function t(){if(ey.current&&Y&&(k(document.activeElement)||eg.current)){var e;let t=(null==(e=window.visualViewport)?void 0:e.height)||0,n=window.innerHeight,a=n-t,o=ey.current.getBoundingClientRect().height||0;ew.current||(ew.current=o);let r=ey.current.getBoundingClientRect().top;if(Math.abs(ev.current-a)>60&&(eg.current=!eg.current),d&&d.length>0&&ex&&eD&&(a+=ex[eD]||0),ev.current=a,o>t||eg.current){let e=ey.current.getBoundingClientRect().height,s=e;e>t&&(s=t-(o>.8*n?r:26)),L?ey.current.style.height=`${e-Math.max(a,0)}px`:ey.current.style.height=`${Math.max(s,t-r)}px`}else{let e;e=navigator.userAgent,"u">typeof window&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))||(ey.current.style.height=`${ew.current}px`)}d&&d.length>0&&!eg.current?ey.current.style.bottom="0px":ey.current.style.bottom=`${Math.max(a,0)}px`}}return null==(e=window.visualViewport)||e.addEventListener("resize",t),()=>{var e;return null==(e=window.visualViewport)?void 0:e.removeEventListener("resize",t)}},[eD,d,ex]),s.default.useEffect(()=>(ee&&(E(document.documentElement,{scrollBehavior:"auto"}),ec.current=new Date),()=>{!function(e,t){if(!e||!(e instanceof HTMLElement))return;let n=_.get(e);n&&(e.style[t]=n[t])}(document.documentElement,"scrollBehavior")}),[ee]),s.default.useEffect(()=>{B||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[B]),s.default.createElement(r.Root,{defaultOpen:q,onOpenChange:e=>{(S||e)&&(e?ea(!0):eR(!0),et(e))},open:ee},s.default.createElement(i.Provider,{value:{activeSnapPoint:eE,snapPoints:d,setActiveSnapPoint:eT,drawerRef:ey,overlayRef:el,onOpenChange:n,onPress:function(e){var t,n;!S&&!d||(!ey.current||ey.current.contains(e.target))&&(ej.current=(null==(t=ey.current)?void 0:t.getBoundingClientRect().height)||0,ek.current=(null==(n=ey.current)?void 0:n.getBoundingClientRect().width)||0,er(!0),ep.current=new Date,p()&&window.addEventListener("touchend",()=>em.current=!1,{once:!0}),e.target.setPointerCapture(e.pointerId),ef.current=D($)?e.pageY:e.pageX)},onRelease:function(e){var t,n;if(!eo||!ey.current)return;ey.current.classList.remove(C),em.current=!1,er(!1),ed.current=new Date;let a=T(ey.current,$);
9if(!e||!eO(e.target,!1)||!a||Number.isNaN(a)||null===ep.current)return;let o=ed.current.getTime()-ep.current.getTime(),r=ef.current-(D($)?e.pageY:e.pageX),s=Math.abs(r)/o;if(s>.05&&(ei(!0),setTimeout(()=>{ei(!1)},200)),d){eI({draggedDistance:r*("bottom"===$||"right"===$?1:-1),closeDrawer:eR,velocity:s,dismissible:S}),null==l||l(e,!0);return}if("bottom"===$||"right"===$?r>0:r<0){eF(),null==l||l(e,!0);return}if(s>.4){eR(),null==l||l(e,!1);return}let i=Math.min(null!=(t=ey.current.getBoundingClientRect().height)?t:0,window.innerHeight),c=Math.min(null!=(n=ey.current.getBoundingClientRect().width)?n:0,window.innerWidth);if(Math.abs(a)>=("left"===$||"right"===$?c:i)*w){eR(),null==l||l(e,!1);return}null==l||l(e,!0),eF()},onDrag:function(e){if(ey.current&&eo){let t="bottom"===$||"right"===$?1:-1,n=(ef.current-(D($)?e.pageY:e.pageX))*t,a=n>0,r=d&&!S&&!a;if(r&&0===eD)return;let s=Math.abs(n),i=document.querySelector("[data-vaul-drawer-wrapper]"),l=s/("bottom"===$||"top"===$?ej.current:ek.current),c=eA(s,a);if(null!==c&&(l=c),r&&l>=1||!em.current&&!eO(e.target,a))return;if(ey.current.classList.add(C),em.current=!0,E(ey.current,{transition:"none"}),E(el.current,{transition:"none"}),d&&eC({draggedDistance:n}),a&&!d){let e=Math.min(-(8*(Math.log(n+1)-2)*1),0)*t;E(ey.current,{transform:D($)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`});return}let p=1-l;if((eS||R&&eD===R-1)&&(null==o||o(e,l),E(el.current,{opacity:`${p}`,transition:"none"},!0)),i&&el.current&&f){let e=Math.min(eM()+l*(1-eM()),1),t=8-8*l,n=Math.max(0,14-14*l);E(i,{borderRadius:`${t}px`,transform:D($)?`scale(${e}) translate3d(0, ${n}px, 0)`:`scale(${e}) translate3d(${n}px, 0, 0)`,transition:"none"},!0)}if(!d){let e=s*t;E(ey.current,{transform:D($)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}},dismissible:S,shouldAnimate:eb,handleOnly:N,isOpen:ee,isDragging:eo,shouldFade:eS,closeDrawer:eR,onNestedDrag:function(e,t){if(t<0)return;let n=(window.innerWidth-16)/window.innerWidth,a=n+t*(1-n),o=-16+16*t;E(ey.current,{transform:D($)?`scale(${a}) translate3d(0, ${o}px, 0)`:`scale(${a}) translate3d(${o}px, 0, 0)`,transition:"none"})},onNestedOpenChange:function(e){let t=e?(window.innerWidth-16)/window.innerWidth:1,n=e?-16:0;eh.current&&window.clearTimeout(eh.current),E(ey.current,{transition:`transform 0.5s cubic-bezier(${x.join(",")})`,transform:D($)?`scale(${t}) translate3d(0, ${n}px, 0)`:`scale(${t}) translate3d(${n}px, 0, 0)`}),!e&&ey.current&&(eh.current=setTimeout(()=>{let e=T(ey.current,$);E(ey.current,{transition:"none",transform:D($)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))},onNestedRelease:function(e,t){let n=D($)?window.innerHeight:window.innerWidth,a=t?(n-16)/n:1,o=t?-16:0;t&&E(ey.current,{transition:`transform 0.5s cubic-bezier(${x.join(",")})`,transform:D($)?`scale(${a}) translate3d(0, ${o}px, 0)`:`scale(${a}) translate3d(${o}px, 0, 0)`})},keyboardIsOpen:eg,modal:B,snapPointsOffset:ex,activeSnapPointIndex:eD,direction:$,shouldScaleBackground:f,setBackgroundColorOnScale:b,noBodyStyles:z,container:Q,autoFocus:X}},a))}let R=s.default.forwardRef(function({...e},t){let{overlayRef:n,snapPoints:a,onRelease:o,shouldFade:i,isOpen:c,modal:p,shouldAnimate:d}=l(),u=w(t,n),m=a&&a.length>0;if(!p)return null;let h=s.default.useCallback(e=>o(e),[o]);return s.default.createElement(r.Overlay,{onMouseUp:h,ref:u,"data-vaul-overlay":"","data-vaul-snap-points":c&&m?"true":"false","data-vaul-snap-points-overlay":c&&i?"true":"false","data-vaul-animate":(null==d?void 0:d.current)?"true":"false",...e})});R.displayName="Drawer.Overlay";let F=s.default.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:n,...a},o){let{drawerRef:i,onPress:c,onRelease:p,onDrag:d,keyboardIsOpen:u,snapPointsOffset:m,activeSnapPointIndex:h,modal:f,isOpen:g,direction:b,snapPoints:v,container:y,handleOnly:j,shouldAnimate:k,autoFocus:_}=l(),[E,T]=s.default.useState(!1),C=w(o,i),S=s.default.useRef(null),A=s.default.useRef(null),M=s.default.useRef(!1),O=v&&v.length>0;function R(e){S.current=null,M.current=!1,p(e)}
9return!function(){let{direction:e,isOpen:t,shouldScaleBackground:n,setBackgroundColorOnScale:a,noBodyStyles:o}=l(),r=s.default.useRef(null),i=(0,s.useMemo)(()=>document.body.style.backgroundColor,[]);function c(){return(window.innerWidth-26)/window.innerWidth}s.default.useEffect(()=>{if(t&&n){r.current&&clearTimeout(r.current);let t=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!t)return;!function(...e){}(a&&!o?I(document.body,{background:"black"}):N,I(t,{transformOrigin:D(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:"0.5s",transitionTimingFunction:`cubic-bezier(${x.join(",")})`}));let n=I(t,{borderRadius:"8px",overflow:"hidden",...D(e)?{transform:`scale(${c()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${c()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{n(),r.current=window.setTimeout(()=>{i?document.body.style.background=i:document.body.style.removeProperty("background")},500)}}},[t,n,i])}(),s.default.useEffect(()=>{O&&window.requestAnimationFrame(()=>{T(!0)})},[]),s.default.createElement(r.Content,{"data-vaul-drawer-direction":b,"data-vaul-drawer":"","data-vaul-delayed-snap-points":E?"true":"false","data-vaul-snap-points":g&&O?"true":"false","data-vaul-custom-container":y?"true":"false","data-vaul-animate":(null==k?void 0:k.current)?"true":"false",...a,ref:C,style:m&&m.length>0?{"--snap-point-height":`${m[null!=h?h:0]}px`,...t}:t,onPointerDown:e=>{j||(null==a.onPointerDown||a.onPointerDown.call(a,e),S.current={x:e.pageX,y:e.pageY},c(e))},onOpenAutoFocus:e=>{null==n||n(e),_||e.preventDefault()},onPointerDownOutside:t=>{(null==e||e(t),!f||t.defaultPrevented)?t.preventDefault():u.current&&(u.current=!1)},onFocusOutside:e=>{if(!f)return void e.preventDefault()},onPointerMove:e=>{if(A.current=e,j||(null==a.onPointerMove||a.onPointerMove.call(a,e),!S.current))return;let t=e.pageY-S.current.y,n=e.pageX-S.current.x,o="touch"===e.pointerType?10:2;((e,t,n=0)=>
9{if(M.current)return!0;let a=Math.abs(e.y),o=Math.abs(e.x),r=o>a,s=["bottom","right"].includes(t)?1:-1;if("left"===t||"right"===t){if(!(e.x*s<0)&&o>=0&&o<=n)return r}else if(!(e.y*s<0)&&a>=0&&a<=n)return!r;return M.current=!0,!0})({x:n,y:t},b,o)?d(e):(Math.abs(n)>o||Math.abs(t)>o)&&(S.current=null)},onPointerUp:e=>{null==a.onPointerUp||a.onPointerUp.call(a,e),S.current=null,M.current=!1,p(e)},onPointerOut:e=>{null==a.onPointerOut||a.onPointerOut.call(a,e),R(A.current)},onContextMenu:e=>{null==a.onContextMenu||a.onContextMenu.call(a,e),A.current&&R(A.current)}})});F.displayName="Drawer.Content";let P=s.default.forwardRef(function({preventCycle:e=!1,children:t,...n},a){let{closeDrawer:o,isDragging:r,snapPoints:i,activeSnapPoint:c,setActiveSnapPoint:p,dismissible:d,handleOnly:u,isOpen:m,onPress:h,onDrag:f}=l(),g=s.default.useRef(null),b=s.default.useRef(!1);function v(){g.current&&window.clearTimeout(g.current),b.current=!1}return s.default.createElement("div",{onClick:function(){b.current?v():window.setTimeout(()=>{!function(){if(r||e||b.current)return v();if(v(),!i||0===i.length){d||o();return}if(c===i[i.length-1]&&d)return o();let t=i.findIndex(e=>e===c);-1===t||p(i[t+1])}()},120)},onPointerCancel:v,onPointerDown:e=>{u&&h(e),g.current=window.setTimeout(()=>{b.current=!0},250)},onPointerMove:e=>{u&&f(e)},ref:a,"data-vaul-drawer-visible":m?"true":"false","data-vaul-handle":"","aria-hidden":"true",...n},s.default.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))});P.displayName="Drawer.Handle";let L={Root:O,NestedRoot:function({onDrag:e,onOpenChange:t,open:n,...a}){let{onNestedDrag:o,onNestedOpenChange:r,onNestedRelease:i}=l();if(!o)throw Error("Drawer.NestedRoot must be placed in another drawer");return s.default.createElement(O,{nested:!0,open:n,onClose:()=>{r(!1)},onDrag:(t,n)=>{o(t,n),null==e||e(t,n)},onOpenChange:e=>{e&&r(e),null==t||t(e)},onRelease:i,...a})},Content:F,Overlay:R,Trigger:r.Trigger,Portal:function(e){let t=l(),{container:n=t.container,...a}=e;return s.default.createElement(r.Portal,{container:n,...a})},Handle:P,Close:r.Close,Title:r.Title,Description:r.Description};function B({...e}){return(0,n.jsx)(L.Root,{"data-slot":"drawer",...e})}function H({...e}){return(0,n.jsx)(L.NestedRoot,{"data-slot":"drawer-nested",...e})}function U({...e}){return(0,n.jsx)(L.Trigger,{"data-slot":"drawer-trigger",...e})}function z({...e}){return(0,n.jsx)(L.Portal,{"data-slot":"drawer-portal",...e})}function $({...e}){return(0,n.jsx)(L.Close,{"data-slot":"drawer-close",...e})}function q({className:e,...t}){return(0,n.jsx)(L.Overlay,{className:(0,o.cn)("data-open:fade-in-0 data-closed:fade-out-0 bg-backdrop data-closed:animate-out data-open:animate-in fixed inset-0 z-50 supports-backdrop-filter:backdrop-blur-xs",e),"data-slot":"drawer-overlay",...t})}function V({className:e,children:t,handle:a=!0,overlay:r=!0,...s}){return(0,n.jsxs)(z,{"data-slot":"drawer-portal",children:[r&&(0,n.jsx)(q,{}),(0,n.jsxs)(L.Content,{className:(0,o.cn)("group/drawer-content bg-background fixed z-50 flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm",e),"data-slot":"drawer-content",...s,children:[a&&(0,n.jsx)(L.Handle,{className:"mt-4 h-1.5!
9w-[100px]! shrink-0"}),t]})]})}function W({className:e,...t}){return(0,n.jsx)("div",{className:(0,o.cn)("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",e),"data-slot":"drawer-header",...t})}function G({className:e,...t}){return(0,n.jsx)("div",{className:(0,o.cn)("mt-auto flex flex-col gap-2 p-4",e),"data-slot":"drawer-footer",...t})}function Y({className:e,...t}){return(0,n.jsx)(L.Title,{className:(0,o.cn)("font-heading text-foreground text-base font-medium",e),"data-slot":"drawer-title",...t})}function K({className:e,...t}){return(0,n.jsx)(L.Description,{className:(0,o.cn)("text-muted-foreground text-sm",e),"data-slot":"drawer-description",...t})}var Q=e.i(259199);e.s(["DrawerDialog",0,function(e){return(0,Q.useIsMobile)()?(0,n.jsx)(B,{handleOnly:!0,...e}):(0,n.jsx)(a.Dialog,{...e})},"DrawerDialogBody",0,function({className:e,...t}){return(0,Q.useIsMobile)()?(0,n.jsx)("div",{className:(0,o.cn)("grid gap-4 overflow-y-auto p-4",e),...t}):(0,n.jsx)("div",{className:(0,o.cn)("grid gap-4",e),...t})},"DrawerDialogClose",0,function(e){return(0,Q.useIsMobile)()?(0,n.jsx)($,{...e}):(0,n.jsx)(a.DialogClose,{...e})},"DrawerDialogContent",0,function({className:e,showCloseButton:t=!0,handle:r=!0,...s}){return(0,Q.useIsMobile)()?(0,n.jsx)(V,{className:e,handle:r,onEscapeKeyDown:e=>{r||e.preventDefault()},onInteractOutside:e=>{r||e.preventDefault()},...s}):(0,n.jsx)(a.DialogContent,{className:(0,o.cn)("max-h-[calc(100dvh---spacing(4))] overflow-y-auto overscroll-none",e),onEscapeKeyDown:e=>{t||e.preventDefault()},onInteractOutside:e=>{t||e.preventDefault()},showCloseButton:t,...s})},"DrawerDialogDescription",0,function(e){return(0,Q.useIsMobile)()?(0,n.jsx)(K,{...e}):(0,n.jsx)(a.DialogDescription,{...e})},"DrawerDialogFooter",0,function({className:e,...t}){return(0,Q.useIsMobile)()?(0,n.jsx)(G,{className:(0,o.cn)("flex-col-reverse border-t",e),...t}):(0,n.jsx)(a.DialogFooter,{className:(0,o.cn)("bg-muted/70 sticky -bottom-4 -mx-4 -mb-4 border-t p-4","before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:backdrop-blur-2xl before:backdrop-saturate-150",e),...t})},"DrawerDialogHeader",0,function({className:e,...t}){return(0,Q.useIsMobile)()?(0,n.jsx)(W,{className:(0,o.cn)("border-b",e),...t}):(0,n.jsx)(a.DialogHeader,{className:e,...t})},"DrawerDialogNested",0,function(e){return(0,Q.useIsMobile)()?(0,n.jsx)(H,{...e}):(0,n.jsx)(a.Dialog,{...e})},"DrawerDialogTitle",0,function(e){return(0,Q.useIsMobile)()?(0,n.jsx)(Y,{...e}):(0,n.jsx)(a.DialogTitle,{...e})},"DrawerDialogTrigger",0,function(e){return(0,Q.useIsMobile)()?(0,n.jsx)(U,{...e}):(0,n.jsx)(a.DialogTrigger,{...e})}],107772)},167922,e=>{"use strict";var t=e.i(485846),n=e.i(632137),a=e.i(564946),o=e.i(411273),r=a.forwardRef((e,n)=>(0,t.jsx)(o.Primitive.label,{...e,ref:n,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));r.displayName="Label",e.s(["Label",0,r,"Root",0,r],579934);var s=e.i(579934),s=s;function i({className:e,...a}){return(0,t.jsx)(s.Root,{className:(0,n.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),"data-slot":"label",...a})}e.i(765918);let l=(0,e.i(294237).cva)("group/field data-[invalid=true]:text-destructive flex w-full gap-2",{variants:{orientation:{vertical:"flex-col *:w-full [&>.sr-only]:w-auto",horizontal:"flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",responsive:"flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"}},defaultVariants:{orientation:"vertical"}});e.s(["Field",0,function({className:e,orientation:a="vertical",...o}){return(0,t.jsx)("div",{className:(0,n.cn)(l({orientation:a}),e),"data-orientation":a,"data-slot":"field",role:"group",...o})},"FieldContent",0,function({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("group/field-content flex flex-1 flex-col gap-0.5 leading-snug",e),"data-slot":"field-content",...a})},"FieldDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("text-muted-foreground text-left text-sm leading-normal font-normal group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-3.5","last:mt-0 nth-last-2:-mt-1","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),"data-slot":"field-description",...a})},"FieldError",0,function({className:e,children:o,errors:r,...s}){let i=(0,a.useMemo)(()=>
9{if(o)return o;if(!r?.length)return null;let e=[...new Map(r.map(e=>[e?.message,e])).values()];return 1===e.length?e[0]?.message:(0,t.jsx)("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:e.map(e=>e?.message&&(0,t.jsx)("li",{children:e.message},e.message))})},[o,r]);return i?(0,t.jsx)("div",{className:(0,n.cn)("text-destructive text-sm font-normal",e),"data-slot":"field-error",role:"alert",...s,children:i}):null},"FieldGroup",0,function({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4",e),"data-slot":"field-group",...a})},"FieldLabel",0,function({className:e,...a}){return(0,t.jsx)(i,{className:(0,n.cn)("group/field-label peer/field-label has-data-checked:border-primary/30 has-data-checked:bg-primary/5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",e),"data-slot":"field-label",...a})},"FieldLegend",0,function({className:e,variant:a="legend",...o}
9){return(0,t.jsx)("legend",{className:(0,n.cn)("mb-2 font-medium data-[variant=label]:mb-2 data-[variant=label]:text-sm data-[variant=legend]:mb-4 data-[variant=legend]:text-base",e),"data-slot":"field-legend","data-variant":a,...o})},"FieldSet",0,function({className:e,...a}){return(0,t.jsx)("fieldset",{className:(0,n.cn)("flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",e),"data-slot":"field-set",...a})},"FieldTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50",e),"data-slot":"field-label",...a})}],167922)},794163,183144,636273,e=>{"use strict";var t=e.i(485846),n=e.i(981831),a=e.i(632137);function o({className:e,type:n,...r}){return(0,t.jsx)("input",{className:(0,a.cn)("border-input bg-background placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 h-9 w-full min-w-0 rounded-md border px-2.5 py-1 text-sm shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-3 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3","file:border-border file:bg-background file:text-foreground file:hover:bg-accent file:hover:text-accent-foreground dark:file:border-input dark:file:bg-input/30 dark:file:hover:bg-input/50 file:mr-2 file:-ml-1.5 file:inline-flex file:h-6.5 file:rounded-sm file:border file:px-2 file:text-sm file:font-medium file:shadow-xs file:transition-all","[&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none",e),"data-slot":"input",type:n,...r})}function r({className:e,...n}){return(0,t.jsx)("textarea",{className:(0,a.cn)("border-input bg-background placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 flex field-sizing-content min-h-16 w-full rounded-md border px-2.5 py-2 text-sm shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3",e),"data-slot":"textarea",...n})}e.s(["Input",0,o],183144),e.s(["Textarea",0,r],636273);var s=e.i(294237);let i=(0,s.cva)("text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",{variants:{align:{"inline-start":"order-first pl-2 has-[>button]:-ml-1 has-[>kbd]:ml-[-0.15rem]","inline-end":"order-last pr-2 has-[>button]:-mr-1 has-[>kbd]:mr-[-0.15rem]","block-start":"order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2","block-end":"order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"}},defaultVariants:{align:"inline-start"}}),l=(0,s.cva)("flex items-center gap-2 text-sm shadow-none",{variants:{size:{xs:"h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",sm:"h-8","icon-xs":"size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0 [&_svg:not([class*='size-'])]:size-3.5","icon-sm":"size-8 p-0 has-[>svg]:p-0"}},defaultVariants:{size:"xs"}});e.s(["InputGroup",0,function({className:e,...n}){return(0,t.jsx)("div",{className:(0,a.cn)("group/input-group border-input bg-background has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 relative flex h-9 w-full min-w-0 items-center rounded-md border shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",e),"data-slot":"input-group",role:"group",...n})},"InputGroupAddon",0,function({className:e,align:n="inline-start",...o}){return(0,t.jsx)("div",{className:(0,a.cn)(i({align:n}),e),"data-align":n,"data-slot":"input-group-addon",onClick:e=>{e.target.closest("button")||e.currentTarget.parentElement?.querySelector("input, textarea")?.focus()},role:"group",...o})},"InputGroupButton",0,function({className:e,type:o="button",variant:r="ghost",size:s="xs",...i}){return(0,t.jsx)(n.Button,{className:(0,a.cn)(l({size:s}),e),"data-size":s,type:o,variant:r,...i})},"InputGroupInput",0,function({className:e,...n}){return(0,t.jsx)(o,{className:(0,a.cn)("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent",e),"data-slot":"input-group-control",...n})},"InputGroupText",0,function({className:e,...n}){return(0,t.jsx)("span",{className:(0,a.cn)("text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",e),...n})},"InputGroupTextarea",0,function({className:e,...n}){return(0,t.jsx)(r,{className:(0,a.cn)("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent",e),"data-slot":"input-group-control",...n})}],794163)},150489,e=>{"use strict";var t=e.i(485846);e.i(765918);var n=e.i(632137),a=e.i(294237),o=e.i(993253);let r=(0,a.cva)("group/item focus-visible:border-ring focus-visible:ring-ring/50 [a]:hover:bg-muted flex w-full flex-wrap items-center rounded-md border text-sm transition-colors duration-100 outline-none focus-visible:ring-[3px] [a]:transition-colors",{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"bg-muted/50 border-transparent"},size:{default:"gap-3.5 px-4 py-3.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"}},defaultVariants:{variant:"default",size:"default"}}),s=(0,a.cva)("flex shrink-0 items-center justify-center gap-2 rounded-sm group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});e.s(["Item",0,function({className:e,variant:a="default",size:s="default",asChild:i=!1,...l}){let c=i?o.Slot.Root:"div";return(0,t.jsx)(c,{className:(0,n.cn)(r({variant:a,size:s,className:e})),"data-size":s,"data-slot":"item","data-variant":a,...l})},"ItemContent",0,function({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",e),"data-slot":"item-content",...a})},"ItemDescription",0,function({className:e,...a}){return(0,t.jsx)("p",{className:(0,n.cn)("text-muted-foreground [&>a:hover]:text-primary line-clamp-2 text-left text-sm leading-normal font-normal group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4",e),"data-slot":"item-description",...a})},"ItemMedia",0,function({className:e,variant:a="default",...o}){return(0,t.jsx)("div",{className:(0,n.cn)(s({variant:a,className:e})),"data-slot":"item-media","data-variant":a,...o})},"ItemTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{className:(0,n.cn)("line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",e),"data-slot":"item-title",...a})}])},765918,e=>{"use strict";var t=e.i(485846),n=e.i(632137),a=e.i(564946),o=e.i(411273),r="horizontal",s=["horizontal","vertical"],i=a.forwardRef((e,n
9)=>{var a;let{decorative:i,orientation:l=r,...c}=e,p=(a=l,s.includes(a))?l:r;return(0,t.jsx)(o.Primitive.div,{"data-orientation":p,...i?{role:"none"}:{"aria-orientation":"vertical"===p?p:void 0,role:"separator"},...c,ref:n})});i.displayName="Separator",e.s(["Root",0,i,"Separator",0,i],456853);var l=e.i(456853),l=l;e.s(["Separator",0,function({className:e,orientation:a="horizontal",decorative:o=!0,...r}){return(0,t.jsx)(l.Root,{className:(0,n.cn)("bg-border shrink-0 data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",e),"data-slot":"separator",decorative:o,orientation:a,...r})}],765918)},7202,360112,e=>{"use strict";var t=e.i(485846),n=e.i(807484),a=e.i(492507),o=e.i(636165),r=e.i(949934),s=e.i(555867),i=e.i(821957),l=e.i(564946),c=e.i(944116);let p=Array(12).fill(0),d=({visible:e,className:t})=>l.default.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},l.default.createElement("div",{className:"sonner-spinner"},p.map((e,t)=>l.default.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),u=l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},l.default.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),m=l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},l.default.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),h=l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},l.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),f=l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},l.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),g=l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},l.default.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),l.default.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),b=1,v=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...a}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:b++,r=this.toasts.find(e=>e.id===o),s=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),r?this.toasts=this.toasts.map(t=>t.id===o?(this.publish({...t,...e,id:o,title:n}),{...t,...e,id:o,dismissible:s,title:n}):t):this.addToast({title:n,...a,dismissible:s,id:o}),o},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>
9this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n,a;if(!t)return;void 0!==t.loading&&(a=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let o=Promise.resolve(e instanceof Function?e():e),r=void 0!==a,s=o.then(async e=>{if(n=["resolve",e],l.default.isValidElement(e))r=!1,this.create({id:a,type:"default",message:e});else if(y(e)&&!e.ok){r=!1;let n="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,o="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,s="object"!=typeof n||l.default.isValidElement(n)?{message:n}:n;this.create({id:a,type:"error",description:o,...s})}else if(e instanceof Error){r=!1;let n="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof n||l.default.isValidElement(n)?{message:n}:n;this.create({id:a,type:"error",description:o,...s})}else if(void 0!==t.success){r=!1;let n="function"==typeof t.success?await t.success(e):t.success,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof n||l.default.isValidElement(n)?{message:n}:n;this.create({id:a,type:"success",description:o,...s})}}).catch(async e=>{if(n=["reject",e],void 0!==t.error){r=!1;let n="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof n||l.default.isValidElement(n)?{message:n}:n;this.create({id:a,type:"error",description:o,...s})}}).finally(()=>{r&&(this.dismiss(a),a=void 0),null==t.finally||t.finally.call(t)}),i=()=>new Promise((e,t)=>s.then(()=>"reject"===n[0]?t(n[1]):e(n[1])).catch(t));return"string"!=typeof a&&"number"!=typeof a?{unwrap:i}:Object.assign(a,{unwrap:i})},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||b++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},y=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,j=Object.assign((e,t)=>{let n=(null==t?void 0:t.id)||b++;return v.addToast({title:e,...t,id:n}),n},{success:v.success,info:v.info,warning:v.warning,error:v.error,custom:v.custom,message:v.message,promise:v.promise,dismiss:v.dismiss,loading:v.loading},{getHistory:()=>v.toasts,getToasts:()=>v.getActiveToasts()});function k(e){return void 0!==e.label}function w(...e){return e.filter(Boolean).join(" ")}!function(e){if(!e||"u"<typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}
vendor: 14,864 bytes, line 9
9("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
9let _=e=>{var t,n,a,o,r,s,i,c,p,b,v,y,j;let{invert:_,toast:E,unstyled:D,interacting:T,setHeights:I,visibleToasts:x,heights:C,index:S,toasts:A,expanded:N,removeToast:M,defaultRichColors:O,closeButton:R,style:F,cancelButtonStyle:P,actionButtonStyle:L,className:B="",descriptionClassName:H="",duration:U,position:z,gap:$,expandByDefault:q,classNames:V,icons:W,closeButtonAriaLabel:G="Close toast"}=e,[Y,K]=l.default.useState(null),[Q,X]=l.default.useState(null),[J,Z]=l.default.useState(!1),[ee,et]=l.default.useState(!1),[en,ea]=l.default.useState(!1),[eo,er]=l.default.useState(!1),[es,ei]=l.default.useState(!1),[el,ec]=l.default.useState(0),[ep,ed]=l.default.useState(0),eu=l.default.useRef(E.duration||U||4e3),em=l.default.useRef(null),eh=l.default.useRef(null),ef=0===S,eg=S+1<=x,eb=E.type,ev=!1!==E.dismissible,ey=E.className||"",ej=E.descriptionClassName||"",ek=l.default.useMemo(()=>C.findIndex(e=>e.toastId===E.id)||0,[C,E.id]),ew=l.default.useMemo(()=>{var e;return null!=(e=E.closeButton)?e:R},[E.closeButton,R]),e_=l.default.useMemo(()=>E.duration||U||4e3,[E.duration,U]),eE=l.default.useRef(0),eD=l.default.useRef(0),eT=l.default.useRef(0),eI=l.default.useRef(null),[ex,eC]=z.split("-"),eS=l.default.useMemo(()=>
9C.reduce((e,t,n)=>n>=ek?e:e+t.height,0),[C,ek]),eA=(()=>{let[e,t]=l.default.useState(document.hidden);return l.default.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),eN=E.invert||_,eM="loading"===eb;eD.current=l.default.useMemo(()=>ek*$+eS,[ek,eS]),l.default.useEffect(()=>{eu.current=e_},[e_]),l.default.useEffect(()=>{Z(!0)},[]),l.default.useEffect(()=>{let e=eh.current;if(e){let t=e.getBoundingClientRect().height;return ed(t),I(e=>[{toastId:E.id,height:t,position:E.position},...e]),()=>I(e=>e.filter(e=>e.toastId!==E.id))}},[I,E.id]),l.default.useLayoutEffect(()=>{if(!J)return;let e=eh.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,ed(n),I(e=>e.find(e=>e.toastId===E.id)?e.map(e=>e.toastId===E.id?{...e,height:n}:e):[{toastId:E.id,height:n,position:E.position},...e])},[J,E.title,E.description,I,E.id,E.jsx,E.action,E.cancel]);let eO=l.default.useCallback(()=>{et(!0),ec(eD.current),I(e=>e.filter(e=>e.toastId!==E.id)),setTimeout(()=>{M(E)},200)},[E,M,I,eD]);l.default.useEffect(()=>{let e;if((!E.promise||"loading"!==eb)&&E.duration!==1/0&&"loading"!==E.type){if(N||T||eA){if(eT.current<eE.current){let e=new Date().getTime()-eE.current;eu.current=eu.current-e}eT.current=new Date().getTime()}else eu.current!==1/0&&(eE.current=new Date().getTime(),e=setTimeout(()=>{null==E.onAutoClose||E.onAutoClose.call(E,E),eO()},eu.current));return()=>clearTimeout(e)}},[N,T,E,eb,eA,eO]),l.default.useEffect(()=>{E.delete&&(eO(),null==E.onDismiss||E.onDismiss.call(E,E))},[eO,E.delete]);let eR=E.icon||(null==W?void 0:W[eb])||(e=>{switch(e){case"success":return u;case"info":return h;case"warning":return m;case"error":return f;default:return null}})(eb);return l.default.createElement("li",{tabIndex:0,ref:eh,className:w(B,ey,null==V?void 0:V.toast,null==E||null==(t=E.classNames)?void 0:t.toast,null==V?void 0:V.default,null==V?void 0:V[eb],null==E||null==(n=E.classNames)?void 0:n[eb]),"data-sonner-toast":"","data-rich-colors":null!=(b=E.richColors)?b:O,"data-styled":!(E.jsx||E.unstyled||D),"data-mounted":J,"data-promise":!!E.promise,"data-swiped":es,"data-removed":ee,"data-visible":eg,"data-y-position":ex,"data-x-position":eC,"data-index":S,"data-front":ef,"data-swiping":en,"data-dismissible":ev,"data-type":eb,"data-invert":eN,"data-swipe-out":eo,"data-swipe-direction":Q,"data-expanded":!!(N||q&&J),"data-testid":E.testId,style:{"--index":S,"--toasts-before":S,"--z-index":A.length-S,"--offset":`${ee?el:eD.current}px`,"--initial-height":q?"auto":`${ep}px`,...F,...E.style},onDragEnd:()=>{ea(!1),K(null),eI.current=null},onPointerDown:e=>{2===e.button||eM||!ev||(em.current=new Date,ec(eD.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(ea(!0),eI.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,a,o;if(eo||!ev)return;eI.current=null;let r=Number((null==(e=eh.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),s=Number((null==(t=eh.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),i=new Date().getTime()-(null==(n=em.current)?void 0:n.getTime()),l="x"===Y?r:s,c=Math.abs(l)/i;if(Math.abs(l)>=45||c>.11){ec(eD.current),null==E.onDismiss||E.onDismiss.call(E,E),"x"===Y?X(r>0?"right":"left"):X(s>0?"down":"up"),eO(),er(!0);return}null==(a=eh.current)||a.style.setProperty("--swipe-amount-x","0px"),null==(o=eh.current)||o.style.setProperty("--swipe-amount-y","0px"),ei(!1),ea(!1),K(null)},onPointerMove:t=>{var n,a,o,r;if(!eI.current||!ev||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let s=t.clientY-eI.current.y,i=t.clientX-eI.current.x,l=null!=(r=e.swipeDirections)?r:function(e){let[t,n]=e.split("-"),a=[];return t&&a.push(t),n&&a.push(n),a}(z);!Y&&(Math.abs(i)>1||Math.abs(s)>1)&&K(Math.abs(i)>Math.abs(s)?"x":"y");let c={x:0,y:0},p=e=>1/(1.5+Math.abs(e)/20);if("y"===Y){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&s<0||l.includes("bottom")&&s>0)c.y=s;else{let e=s*p(s);c.y=Math.abs(e)<Math.abs(s)?e:s}}else if("x"===Y&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&i<0||l.includes("right")&&i>0)c.x=i;else{let e=i*p(i);c.x=Math.abs(e)<Math.abs(i)?e:i}(Math.abs(c.x)>0||Math.abs(c.y)>0)&&ei(!0),null==(a=eh.current)||a.style.setProperty("--swipe-amount-x",`${c.x}
9px`),null==(o=eh.current)||o.style.setProperty("--swipe-amount-y",`${c.y}px`)}},ew&&!E.jsx&&"loading"!==eb?l.default.createElement("button",{"aria-label":G,"data-disabled":eM,"data-close-button":!0,onClick:eM||!ev?()=>{}:()=>{eO(),null==E.onDismiss||E.onDismiss.call(E,E)},className:w(null==V?void 0:V.closeButton,null==E||null==(a=E.classNames)?void 0:a.closeButton)},null!=(v=null==W?void 0:W.close)?v:g):null,(eb||E.icon||E.promise)&&null!==E.icon&&((null==W?void 0:W[eb])!==null||E.icon)?l.default.createElement("div",{"data-icon":"",className:w(null==V?void 0:V.icon,null==E||null==(o=E.classNames)?void 0:o.icon)},E.promise||"loading"===E.type&&!E.icon?E.icon||((null==W?void 0:W.loading)?l.default.createElement("div",{className:w(null==V?void 0:V.loader,null==E||null==(j=E.classNames)?void 0:j.loader,"sonner-loader"),"data-visible":"loading"===eb},W.loading):l.default.createElement(d,{className:w(null==V?void 0:V.loader,null==E||null==(y=E.classNames)?void 0:y.loader),visible:"loading"===eb})):null,"loading"!==E.type?eR:null):null,l.default.createElement("div",{"data-content":"",className:w(null==V?void 0:V.content,null==E||null==(r=E.classNames)?void 0:r.content)},l.default.createElement("div",{"data-title":"",className:w(null==V?void 0:V.title,null==E||null==(s=E.classNames)?void 0:s.title)},E.jsx?E.jsx:"function"==typeof E.title?E.title():E.title),E.description?l.default.createElement("div",{"data-description":"",className:w(H,ej,null==V?void 0:V.description,null==E||null==(i=E.classNames)?void 0:i.description)},"function"==typeof E.description?E.description():E.description):null),l.default.isValidElement(E.cancel)?E.cancel:E.cancel&&k(E.cancel)?l.default.createElement("button",{"data-button":!0,"data-cancel":!0,style:E.cancelButtonStyle||P,onClick:e=>{!k(E.cancel)||ev&&(null==E.cancel.onClick||E.cancel.onClick.call(E.cancel,e),eO())},className:w(null==V?void 0:V.cancelButton,null==E||null==(c=E.classNames)?void 0:c.cancelButton)},E.cancel.label):null,l.default.isValidElement(E.action)?E.action:E.action&&k(E.action)?l.default.createElement("button",{"data-button":!0,"data-action":!0,style:E.actionButtonStyle||L,onClick:e=>{!k(E.action)||(null==E.action.onClick||E.action.onClick.call(E.action,e),e.defaultPrevented||eO())},className:w(null==V?void 0:V.actionButton,null==E||null==(p=E.classNames)?void 0:p.actionButton)},E.action.label):null)};function E(){if("u"<typeof window||"u"<typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}let D=l.default.forwardRef(function(e,t){let{id:n,invert:a,position:o="bottom-right",hotkey:r=["altKey","KeyT"],expand:s,closeButton:i,className:p,offset:d,mobileOffset:u,theme:m="light",richColors:h,duration:f,style:g,visibleToasts:b=3,toastOptions:y,dir:j=E(),gap:k=14,icons:w,containerAriaLabel:D="Notifications"}=e,[T,I]=l.default.useState([]),x=l.default.useMemo(()=>n?T.filter(e=>e.toasterId===n):T.filter(e=>!e.toasterId),[T,n]),C=l.default.useMemo(()=>Array.from(new Set([o].concat(x.filter(e=>e.position).map(e=>e.position)))),[x,o]),[S,A]=l.default.useState([]),[N,M]=l.default.useState(!1),[O,R]=l.default.useState(!1),[F,P]=l.default.useState("system"!==m?m:"u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),L=l.default.useRef(null),B=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),H=l.default.useRef(null),U=l.default.useRef(!1),z=l.default.useCallback(e=>{I(t=>{var n;return(null==(n=t.find(t=>t.id===e.id))?void 0:n.delete)||v.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return l.default.useEffect(()=>v.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{I(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))}):setTimeout(()=>{c.default.flushSync(()=>{I(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[T]),l.default.useEffect(()=>{if("system"!==m)return void P(m);if("system"===m&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?P("dark"):P("light")),"u"<typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{e?P("dark"):P("light")})}catch(t){e.addListener(({matches:e})=>{try{e?P("dark"):P("light")}catch(e){console.error(e)}})}},[m]),l.default.useEffect(()=>{T.length<=1&&M(!1)},[T]),l.default.useEffect(()=>{let e=e=>{var t,n;r.every(t=>e[t]||e.code===t)&&(M(!0),null==(n=L.current)||n.focus()),"Escape"===e.code&&(document.activeElement===L.current||(null==(t=L.current)?void 0:t.contains(document.activeElement)))&&M(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r]),l.default.useEffect(()=>{if(L.current)return()=>{H.current&&(H.current.focus({preventScroll:!0}),H.current=null,U.current=!1)}},[L.current]),l.default.createElement("section",{ref:t,"aria-label":`${D} ${B}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map((t,n)=>{var o;let r,[c,m]=t.split("-");return x.length?l.default.createElement("ol",{key:t,dir:"auto"===j?E():j,tabIndex:-1,ref:L,className:p,"data-sonner-toaster":!0,"data-sonner-theme":F,"data-y-position":c,"data-x-position":m,style:{"--front-toast-height":`${(null==(o=S[0])?void 0:o.height)||0}px`,"--width":"356px","--gap":`${k}
9px`,...g,...(r={},[d,u].forEach((e,t)=>{let n=1===t,a=n?"--mobile-offset":"--offset",o=n?"16px":"24px";function s(e){["top","right","bottom","left"].forEach(t=>{r[`${a}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?s(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?r[`${a}-${t}`]=o:r[`${a}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):s(o)}),r)},onBlur:e=>{U.current&&!e.currentTarget.contains(e.relatedTarget)&&(U.current=!1,H.current&&(H.current.focus({preventScroll:!0}),H.current=null))},onFocus:e=>{!(e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible)&&(U.current||(U.current=!0,H.current=e.relatedTarget))},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{O||M(!1)},onDragEnd:()=>M(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||R(!0)},onPointerUp:()=>R(!1)},x.filter(e=>!e.position&&0===n||e.position===t).map((n,o)=>{var r,c;return l.default.createElement(_,{key:n.id,icons:w,index:o,toast:n,defaultRichColors:h,duration:null!=(r=null==y?void 0:y.duration)?r:f,className:null==y?void 0:y.className,descriptionClassName:null==y?void 0:y.descriptionClassName,invert:a,visibleToasts:b,closeButton:null!=(c=null==y?void 0:y.closeButton)?c:i,interacting:O,position:t,style:null==y?void 0:y.style,unstyled:null==y?void 0:y.unstyled,classNames:null==y?void 0:y.classNames,cancelButtonStyle:null==y?void 0:y.cancelButtonStyle,actionButtonStyle:null==y?void 0:y.actionButtonStyle,closeButtonAriaLabel:null==y?void 0:y.closeButtonAriaLabel,removeToast:z,toasts:x.filter(e=>e.position==n.position),heights:S.filter(e=>e.position==n.position),setHeights:A,expandByDefault:s,gap:k,expanded:N,swipeDirections:e.swipeDirections})})):null}))});e.s(["Toaster",0,D,"toast",0,j],360112);var T=e.i(259199);let I={"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"};e.s(["Toaster",0,function(e){let{theme:l="system"}=(0,i.useTheme)(),c=(0,T.useIsMobile)();return(0,t.jsx)(D,{className:"toaster group",icons:{success:(0,t.jsx)(n.CircleCheckIcon,{className:"size-4"}),info:(0,t.jsx)(a.InfoIcon,{className:"size-4"}),warning:(0,t.jsx)(s.TriangleAlertIcon,{className:"size-4"}),error:(0,t.jsx)(r.OctagonXIcon,{className:"size-4"}),loading:(0,t.jsx)(o.Loader2Icon,{className:"size-4 animate-spin"})},position:c?"top-center":"bottom-right",style:I,theme:l,toastOptions:{classNames:{toast:"cn-toast"}},...e})}],7202)},168982,e=>{"use strict";var t=e.i(485846),n=e.i(632137),a=e.i(294237),o=e.i(564946),r=e.i(291967),s=e.i(74883),i=e.i(411273),l="Toggle",c=o.forwardRef((e,n)=>
9{let{pressed:a,defaultPressed:o,onPressedChange:c,...p}=e,[d,u]=(0,s.useControllableState)({prop:a,onChange:c,defaultProp:o??!1,caller:l});return(0,t.jsx)(i.Primitive.button,{type:"button","aria-pressed":d,"data-state":d?"on":"off","data-disabled":e.disabled?"":void 0,...p,ref:n,onClick:(0,r.composeEventHandlers)(e.onClick,()=>{e.disabled||u(!d)})})});c.displayName=l,e.s(["Root",0,c,"Toggle",0,c],456275);var p=e.i(456275),p=p;let d=(0,a.cva)("group/toggle hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-pressed:bg-muted aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 inline-flex items-center justify-center gap-1 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border-input hover:bg-muted border bg-transparent shadow-xs"},size:{default:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-7 min-w-7 px-1.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1",sm:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",lg:"h-10 min-w-10 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Toggle",0,function({className:e,variant:a="default",size:o="default",...r}){return(0,t.jsx)(p.Root,{className:(0,n.cn)(d({variant:a,size:o,className:e})),"data-slot":"toggle",...r})}],168982)},543246,320051,942791,104366,365218,832726,920750,278883,971527,763082,244425,706063,694800,628050,880792,661603,6913,758965,136571,430336,e=>{"use strict";let t,n;var a,o,r,s,i,l,c,p,d,u,m,h,f,g,b,v,y,j,k,w,_,E,D,T=e.i(485846),I=e.i(981831),x=e.i(632137);e.s(["FormControls",0,function({className:e,children:t,sticky:n=!0,...a}){return(0,T.jsx)("div",{className:(0,x.cn)("mt-4 flex gap-2",{"border-border-muted bg-background/80 sticky bottom-0 z-10 -mx-4 -mb-4 border-t px-4 py-3 backdrop-blur":n},e),...a,children:t})}],543246);var C=e.i(167922),S=e.i(868948);e.s(["get",()=>S.default],320051);var S=S,A=e.i(201912),N=e.i(301685);let M=function(e,t){for(var n=-1,a=null==e?0:e.length;++n<a&&!1!==t(e[n],n,e););return e};var O=e.i(845893);let R=function(e,t,n){"__proto__"==t&&O.default?(0,O.default)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};e.s(["default",0,R],942791);var F=e.i(507693),P=Object.prototype.hasOwnProperty;let L=function(e,t,n){var a=e[t];P.call(e,t)&&(0,F.default)(a,n)&&(void 0!==n||t in e)||R(e,t,n)},B=function(e,t,n,a){var o=!n;n||(n={});for(var r=-1,s=t.length;++r<s;){var i=t[r],l=a?a(n[i],e[i],i,n,e):void 0;void 0===l&&(l=e[i]),o?R(n,i,l):L(n,i,l)}return n};e.s(["default",0,B],104366);var H=e.i(826054),U=e.i(790916),z=e.i(791947),$=e.i(917152);let q=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var V=Object.prototype.hasOwnProperty;let W=function(e){if(!(0,z.default)(e))return q(e);var t=(0,$.default)(e),n=[];for(var a in e)"constructor"==a&&(t||!V.call(e,a))||n.push(a);return n};var G=e.i(42125);let Y=function(e){return(0,G.default)(e)?(0,U.default)(e,!0):W(e)};e.s(["default",0,Y],365218);let K=function(e,t){if(t)return e.slice();var n=e.length,a=new e.constructor(n);return e.copy(a),a};e.s(["default",0,K],832726);let Q=function(e,t){var n=-1,a=e.length;for(t||(t=Array(a));++n<a;)t[n]=e[n];return t};e.s(["default",0,Q],920750);var X=e.i(416236),J=e.i(166534),Z=(0,e.i(836673).default)(Object.getPrototypeOf,Object),ee=e.i(9209),et=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,J.default)(t,(0,X.default)(e)),e=Z(e);return t}:ee.default,en=e.i(502890),ea=e.i(921777);let eo=function(e){return(0,ea.default)(e,Y,et)};var er=e.i(493405),es=Object.prototype.hasOwnProperty;let ei=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&es.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var el=e.i(249504);let ec=function(e){var t=new e.constructor(e.byteLength);return new el.default(t).set(new el.default(e)),t},ep=function(e,t){var n=t?ec(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var ed=/\w*$/;let eu=function(e){var t=new e.constructor(e.source,ed.exec(e));return t.lastIndex=e.lastIndex,t};var em=e.i(476238),eh=em.default?em.default.prototype:void 0,ef=eh?eh.valueOf
9:void 0;let eg=function(e,t){var n=t?ec(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};e.s(["default",0,eg],278883);let eb=function(e,t,n){var a=e.constructor;switch(t){case"[object ArrayBuffer]":return ec(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return ep(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return eg(e,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return eu(e);case"[object Symbol]":return ef?Object(ef.call(e)):{}}};var ev=Object.create,ey=function(){function e(){}return function(t){if(!(0,z.default)(t))return{};if(ev)return ev(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();let ej=function(e){return"function"!=typeof e.constructor||(0,$.default)(e)?{}:ey(Z(e))};e.s(["default",0,ej],971527);var ek=e.i(494878),ew=e.i(215529),e_=e.i(924904),eE=e.i(568648),eD=e.i(175995),eT=eD.default&&eD.default.isMap,eI=eT?(0,eE.default)(eT):function(e){return(0,e_.default)(e)&&"[object Map]"==(0,er.default)(e)},ex=eD.default&&eD.default.isSet,eC=ex?(0,eE.default)(ex):function(e){return(0,e_.default)(e)&&"[object Set]"==(0,er.default)(e)},eS="[object Arguments]",eA="[object Function]",eN="[object Object]",eM={};eM[eS]=eM["[object Array]"]=eM["[object ArrayBuffer]"]=eM["[object DataView]"]=eM["[object Boolean]"]=eM["[object Date]"]=eM["[object Float32Array]"]=eM["[object Float64Array]"]=eM["[object Int8Array]"]=eM["[object Int16Array]"]=eM["[object Int32Array]"]=eM["[object Map]"]=eM["[object Number]"]=eM[eN]=eM["[object RegExp]"]=eM["[object Set]"]=eM["[object String]"]=eM["[object Symbol]"]=eM["[object Uint8Array]"]=eM["[object Uint8ClampedArray]"]=eM["[object Uint16Array]"]=eM["[object Uint32Array]"]=!0,eM["[object Error]"]=eM[eA]=eM["[object WeakMap]"]=!1;let eO=function e(t,n,a,o,r,s){var i,l=1&n,c=2&n,p=4&n;if(a&&(i=r?a(t,o,r,s):a(t)),void 0!==i)return i;if(!(0,z.default)(t))return t;var d=(0,ek.default)(t);if(d){if(i=ei(t),!l)return Q(t,i)}else{var u,m,h,f,g=(0,er.default)(t),b=g==eA||"[object GeneratorFunction]"==g;if((0,ew.default)(t))return K(t,l);if(g==eN||g==eS||b&&!r){if(i=c||b?{}:ej(t),!l)return c?(m=(u=i)&&B(t,Y(t),u),B(t,et(t),m)):(f=(h=i)&&B(t,(0,H.default)(t),h),B(t,(0,X.default)(t),f))}else{if(!eM[g])return r?t:{};i=eb(t,g,l)}}s||(s=new N.default);var v=s.get(t);if(v)return v;s.set(t,i),eC(t)?t.forEach(function(o){i.add(e(o,n,a,o,t,s))}):eI(t)&&t.forEach(function(o,r){i.set(r,e(o,n,a,r,t,s))});var y=p?c?eo:en.default:c?Y:H.default,j=d?void 0:y(t);return M(j||t,function(o,r){j&&(o=t[r=o]),L(i,r,e(o,n,a,r,t,s))}),i};var eR=e.i(343768);let eF=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var eP=e.i(775198),eL=e.i(949078),eB=e.i(323925),eH=Object.prototype.hasOwnProperty;let eU=function(e,t){t=(0,eR.default)(t,e);var n,a=-1,o=t.length;if(!o)return!0;for(var r=null==e||"object"!=typeof e&&"function"!=typeof e;++a<o;){var s=t[a];if("string"==typeof s){if("__proto__"===s&&!eH.call(e,"__proto__"))return!1;if("constructor"===s&&a+1<o&&"string"==typeof t[a+1]&&"prototype"===t[a+1]){if(r&&0===a)continue;return!1}}}var i=(n=t).length<2?e:(0,eP.default)(e,(0,eL.default)(n,0,-1));return null==i||delete i[(0,eB.default)(eF(t))]};var ez=e.i(124277),e$=Object.prototype,eq=Function.prototype.toString,eV=e$.hasOwnProperty,eW=eq.call(Object);let eG=function(e){if(!(0,e_.default)(e)||"[object Object]"!=(0,ez.default)(e))return!1;var t=Z(e);if(null===t)return!0;var n=eV.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eq.call(n)==eW};e.s(["default",0,eG],763082);let eY=function(e){return eG(e)?void 0:e};var eK=e.i(217242),eQ=e.i(787141),eX=e.i(491863),eJ=(a=function(e,t){var n={};if(null==e)return n;var a=!1;t=(0,A.default)(t,function(t){return t=(0,eR.default)(t,e),a||(a=t.length>1),t}),B(e,eo(e),n),a&&(n=eO(n,7,eY));for(var o=t.length;o--;)eU(n,t[o]);return n},(0,eX.default)((0,eQ.default)(a,void 0,function(e){return(null==e?0:e.length)?(0,eK.default)(e,1):[]}),a+"")),eZ=e.i(564946),e0=e=>e instanceof Date,e1=e=>null==e,e6=e=>!e1(e)&&!Array.isArray(e)&&"object"==typeof e&&!e0(e),e4=e=>e6(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,e2=(e,t)=>e.has(t.substring(0,t.search(/\.\d+(\.|$)/))||t),e3="u">typeof window&&void 0!==window.HTMLElement&&"u">typeof document;function e5(e){let t;if(e instanceof Date)return new Date(e);let n="u">typeof FileList&&e instanceof FileList;if(e3&&(e instanceof Blob||n))return e;let a=Array.isArray(e);if(!a&&!(e6(e)&&e6(t=e.constructor&&e.constructor.prototype)&&t.hasOwnProperty("isPrototypeOf")))return e;let o=a?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e5(e[t]));return o}var e9=e=>void 0===e,e8=e=>Array.isArray(e)?e.filter(Boolean):[],e7=e=>
9e8(e.replace(/["|']|\]/g,"").split(/\.|\[/)),te=(e,t,n)=>{if(!t||!e6(e))return n;let a=(/^\w*$/.test(t)?[t]:e7(t)).reduce((e,t)=>e1(e)?e:e[t],e);return e9(a)||a===e?e9(e[t])?n:e[t]:a},tt=e=>"function"==typeof e,tn=(e,t,n)=>{let a=-1,o=/^\w*$/.test(t)?[t]:e7(t),r=o.length,s=r-1;for(;++a<r;){let t=o[a],r=n;if(a!==s){let n=e[t];r=e6(n)||Array.isArray(n)?n:isNaN(+o[a+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=r,e=e[t]}};let ta="blur",to="onChange",tr="onSubmit",ts="maxLength",ti="minLength",tl="pattern",tc="required",tp=eZ.default.createContext(null);tp.displayName="HookFormControlContext";var td=(e,t,n,a=!0)=>{let o={defaultValues:t._defaultValues};for(let r in e)Object.defineProperty(o,r,{get:()=>("all"!==t._proxyFormState[r]&&(t._proxyFormState[r]=!a||"all"),n&&(n[r]=!0),e[r])});return o};let tu="u">typeof window?eZ.default.useLayoutEffect:eZ.default.useEffect;var tm=e=>"string"==typeof e,th=(e,t,n,a,o)=>tm(e)?(a&&t.watch.add(e),te(n,e,o)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),te(n,e))):(a&&(t.watchAll=!0),n),tf=e=>e1(e)||"object"!=typeof e;function tg(e,t,n=new WeakSet){if(tf(e)||tf(t))return Object.is(e,t);if(e0(e)&&e0(t))return Object.is(e.getTime(),t.getTime());let a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;if(n.has(e)||n.has(t))return!0;for(let r of(n.add(e),n.add(t),a)){let a=e[r];if(!o.includes(r))return!1;if("ref"!==r){let e=t[r];if(e0(a)&&e0(e)||e6(a)&&e6(e)||Array.isArray(a)&&Array.isArray(e)?!tg(a,e,n):!Object.is(a,e))return!1}}return!0}function tb(e){let t=eZ.default.useContext(tp),{name:n,disabled:a,control:o=t,shouldUnregister:r,defaultValue:s,exact:i=!0}=e,l=e2(o._names.array,n),c=eZ.default.useMemo(()=>te(o._formValues,n,te(o._defaultValues,n,s)),[o,n,s]),p=function(e){let t=eZ.default.useContext(tp),{control:n=t,name:a,defaultValue:o,disabled:r,exact:s,compute:i}=e||{},l=eZ.default.useRef(o),c=eZ.default.useRef(i),p=eZ.default.useRef(void 0),d=eZ.default.useRef(n),u=eZ.default.useRef(a);c.current=i;let[m,h]=eZ.default.useState(()=>{let e=n._getWatch(a,l.current);return c.current?c.current(e):e}),f=eZ.default.useCallback(e=>{let t=th(a,n._names,e||n._formValues,!1,l.current);return c.current?c.current(t):t},[n._formValues,n._names,a]),g=eZ.default.useCallback(e=>{if(!r){let t=th(a,n._names,e||n._formValues,!1,l.current);if(c.current){let e=c.current(t);tg(e,p.current)||(h(e),p.current=e)}else h(t)}},[n._formValues,n._names,r,a]);tu(()=>(d.current===n&&tg(u.current,a)||(d.current=n,u.current=a,g()),n._subscribe({name:a,formState:{values:!0},exact:s,callback:e=>{g(e.values)}})),[n,s,a,g]),eZ.default.useEffect(()=>n._removeUnmounted());let b=d.current!==n,v=u.current,y=eZ.default.useMemo(()=>{if(r)return null;let e=!b&&!tg(v,a);return b||e?f():null},[r,b,a,v,f]);return null!==y?y:m}({control:o,name:n,defaultValue:c,exact:i}),d=function(e){let t=eZ.default.useContext(tp),{control:n=t,disabled:a,name:o,exact:r}=e||{},[s,i]=eZ.default.useState(n._formState),l=eZ.default.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return tu(()=>n._subscribe({name:o,formState:l.current,exact:r,callback:e=>{a||i({...n._formState,...e})}}),[o,a,r]),eZ.default.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),eZ.default.useMemo(()=>td(s,n,l.current,!1),[s,n])}({control:o,name:n,exact:i}),u=eZ.default.useRef(e),m=eZ.default.useRef(void 0),h=eZ.default.useRef(o.register(n,{...e.rules,value:p,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}}));u.current=e;let f=eZ.default.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!te(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!te(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!te(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!te(d.validatingFields,n)},error:{enumerable:!0,get:()=>te(d.errors,n)}}),[d,n]),g=eZ.default.useCallback(e=>h.current.onChange({target:{value:e4(e),name:n},type:"change"}),[n]),b=eZ.default.useCallback(()=>h.current.onBlur({target:{value:te(o._formValues,n),name:n},type:ta}),[n,o._formValues]),v=eZ.default.useCallback(e=>{let t=te(o._fields,n);t&&t._f&&e&&(t._f.ref={focus:()=>
9tt(e.focus)&&e.focus(),select:()=>tt(e.select)&&e.select(),setCustomValidity:t=>tt(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>tt(e.reportValidity)&&e.reportValidity()})},[o._fields,n]),y=eZ.default.useMemo(()=>({name:n,value:p,..."boolean"==typeof a||d.disabled?{disabled:d.disabled||a}:{},onChange:g,onBlur:b,ref:v}),[n,a,d.disabled,g,b,v,p]);return eZ.default.useEffect(()=>{let e=o._options.shouldUnregister||r,t=m.current;t&&t!==n&&!l&&o.unregister(t),o.register(n,{...u.current.rules,..."boolean"==typeof u.current.disabled?{disabled:u.current.disabled}:{}});let a=(e,t)=>{let n=te(o._fields,e);n&&n._f&&(n._f.mount=t)};if(a(n,!0),e){let e=e5(te(o._options.defaultValues,n,u.current.defaultValue));tn(o._defaultValues,n,e),e9(te(o._formValues,n))&&tn(o._formValues,n,e)}return l||o.register(n),m.current=n,()=>{(l?e&&!o._state.action:e)?o.unregister(n):a(n,!1)}},[n,o,l,r]),eZ.default.useEffect(()=>{o._setDisabledField({disabled:a,name:n})},[a,n,o]),eZ.default.useMemo(()=>({field:y,formState:d,fieldState:f}),[y,d,f])}let tv=e=>e.render(tb(e));eZ.default.createContext(null).displayName="HookFormContext";var ty=(e,t,n,a,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[a]:o||!0}}:{},tj=e=>Array.isArray(e)?e:[e],tk=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},tw=e=>e6(e)&&!Object.keys(e).length,t_=e=>{if(!e3)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},tE=e=>t_(e)&&e.isConnected;function tD(e,t){let n=Array.isArray(t)?t:/^\w*$/.test(t)?[t]:e7(t),a=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,a=0;for(;a<n;)e=e9(e)?a++:e[t[a++]];return e}(e,n),o=n.length-1,r=n[o];return a&&delete a[r],0!==o&&(e6(a)&&tw(a)||Array.isArray(a)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!e9(e[t]))return!1;return!0}(a))&&tD(e,n.slice(0,-1)),e}function tT(e){return Array.isArray(e)||e6(e)&&!(e=>{for(let t in e)if(tt(e[t]))return!0;return!1})(e)}function tI(e,t={}){for(let n in e){let a=e[n];tT(a)?(t[n]=Array.isArray(a)?[]:{},tI(a,t[n])):e9(a)||(t[n]=!0)}return t}function tx(e,t,n){for(let a in n||(n=tI(t)),e){let o=e[a];if(tT(o))e9(t)||tf(n[a])?n[a]=tI(o,Array.isArray(o)?[]:{}):tx(o,e1(t)?{}:t[a],n[a]);else{let e=t[a];n[a]=!tg(o,e)}}return n}let tC={value:!1,isValid:!1},tS={value:!0,isValid:!0};var tA=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!e9(e[0].attributes.value)?e9(e[0].value)||""===e[0].value?tS:{value:e[0].value,isValid:!0}:tS:tC}return tC},tN=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:a})=>e9(e)?e:t?""===e?NaN:e?+e:e:n&&tm(e)?new Date(e):a?a(e):e;let tM={isValid:!1,value:null};var tO=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,tM):tM;function tR(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?tO(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?tA(e.refs).value:tN(e9(t.value)?e.ref.value:t.value,e)}var tF=e=>e9(e)?e:e instanceof RegExp?e.source:e6(e)?e.value instanceof RegExp?e.value.source:e.value:e,tP=e=>({isOnSubmit:!e||e===tr,isOnBlur:"onBlur"===e,isOnChange:e===to,isOnAll:"all"===e,isOnTouch:"onTouched"===e});let tL="AsyncFunction";var tB=e=>!!e&&!!e.validate&&!!(tt(e.validate)&&e.validate.constructor.name===tL||e6(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===tL)),tH=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let tU=(e,t,n,a)=>{for(let o of n||Object.keys(e)){let n=te(e,o);if(n){let{_f:e,...r}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!a)return!0;else if(e.ref&&t(e.ref,e.name)&&!a)return!0;else if(tU(r,t))break}else if(e6(r)&&tU(r,t))break}}};function tz(e,t,n){let a=te(e,n);if(a||/^\w*$/.test(n))return{error:a,name:n};let o=n.split(".");for(;o.length;){let a=o.join("."),r=te(t,a),s=te(e,a);if(r&&!Array.isArray(r)&&n!==a)break;if(s&&s.type)return{name:a,error:s};if(s&&s.root&&s.root.type)return{name:`${a}.root`,error:s.root};o.pop()}return{name:n}}var t$=(e,t,n)=>{let a=tj(te(e,n));return tn(a,"root",t[n]),tn(e,n,a),e};function tq(e,t,n="validate"){if(tm(e)||Array.isArray(e)&&e.every(tm)||"boolean"==typeof e&&!e)return{type:n,message:tm(e)?e:"",ref:t}}var tV=e=>!e6(e)||e instanceof RegExp?{value:e,message:""}
9:e,tW=async(e,t,n,a,o,r)=>{let{ref:s,refs:i,required:l,maxLength:c,minLength:p,min:d,max:u,pattern:m,validate:h,name:f,valueAsNumber:g,mount:b}=e._f,v=te(n,f);if(!b||t.has(f))return{};let y=i?i[0]:s,j=e=>{o&&y.reportValidity&&(y.setCustomValidity("boolean"==typeof e?"":e||""),y.reportValidity())},k={},w="radio"===s.type,_="checkbox"===s.type,E=(g||"file"===s.type)&&e9(s.value)&&e9(v)||t_(s)&&""===s.value||""===v||Array.isArray(v)&&!v.length,D=ty.bind(null,f,a,k),T=(e,t,n,a=ts,o=ti)=>{let r=e?t:n;k[f]={type:e?a:o,message:r,ref:s,...D(e?a:o,r)}};if(r?!Array.isArray(v)||!v.length:l&&(!(w||_)&&(E||e1(v))||"boolean"==typeof v&&!v||_&&!tA(i).isValid||w&&!tO(i).isValid)){let{value:e,message:t}=tm(l)?{value:!!l,message:l}:tV(l);if(e&&(k[f]={type:tc,message:t,ref:y,...D(tc,t)},!a))return j(t),k}if(!E&&(!e1(d)||!e1(u))){let e,t,n=tV(u),o=tV(d);if(e1(v)||isNaN(v)){let a=s.valueAsDate||new Date(v),r=e=>new Date(new Date().toDateString()+" "+e),i="time"==s.type,l="week"==s.type;tm(n.value)&&v&&(e=i?r(v)>r(n.value):l?v>n.value:a>new Date(n.value)),tm(o.value)&&v&&(t=i?r(v)<r(o.value):l?v<o.value:a<new Date(o.value))}else{let a=s.valueAsNumber||(v?+v:v);e1(n.value)||(e=a>n.value),e1(o.value)||(t=a<o.value)}if((e||t)&&(T(!!e,n.message,o.message,"max","min"),!a))return j(k[f].message),k}if((c||p)&&!E&&(tm(v)||r&&Array.isArray(v))){let e=tV(c),t=tV(p),n=!e1(e.value)&&v.length>+e.value,o=!e1(t.value)&&v.length<+t.value;if((n||o)&&(T(n,e.message,t.message),!a))return j(k[f].message),k}if(m&&!E&&tm(v)){let{value:e,message:t}=tV(m);if(e instanceof RegExp&&!v.match(e)&&(k[f]={type:tl,message:t,ref:s,...D(tl,t)},!a))return j(t),k}if(h){if(tt(h)){let e=tq(await h(v,n),y);if(e&&(k[f]={...e,...D("validate",e.message)},!a))return j(e.message),k}else if(e6(h)){let e={};for(let t in h){if(!tw(e)&&!a)break;let o=tq(await h[t](v,n),y,t);o&&(e={...o,...D(t,o.message)},j(o.message),a&&(k[f]=e))}if(!tw(e)&&(k[f]={ref:y,...e},!a))return k}}return j(!0),k};let tG={mode:tr,reValidateMode:to,shouldFocusError:!0};e.s(["Controller",0,tv,"useController",0,tb,"useForm",0,function(e={}){let t=eZ.default.useRef(void 0),n=eZ.default.useRef(void 0),[a,o]=eZ.default.useState({isDirty:!1,isValidating:!1,isLoading:tt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:tt(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:a},e.defaultValues&&!tt(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...o}=function(e={}){let t,n={...tG,...e},a={submitCount:0,isDirty:!1,isReady:!1,isLoading:tt(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},o={},r=(e6(n.defaultValues)||e6(n.values))&&e5(n.defaultValues||n.values)||{},s=n.shouldUnregister?{}:e5(r),i={action:!1,mount:!1,watch:!1,keepIsValid:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c=0,p={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={...p},u={...d},m={array:tk(),state:tk()},h="all"===n.criteriaMode,f=async e=>{if(!i.keepIsValid&&!n.disabled&&(d.isValid||u.isValid||e)){let e;n.resolver?(e=tw((await y()).errors),g()):e=await k(o,!0),e!==a.isValid&&m.state.next({isValid:e})}},g=(e,t)=>{!n.disabled&&(d.isValidating||d.validatingFields||u.isValidating||u.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(t?tn(a.validatingFields,e,t):tD(a.validatingFields,e))}),m.state.next({validatingFields:a.validatingFields,isValidating:!tw(a.validatingFields)}))},b=(e,t,n,a)=>{let l=te(o,e);if(l){let o=te(s,e,e9(n)?te(r,e):n);e9(o)||a&&a.defaultChecked||t?tn(s,e,t?o:tR(l._f)):E(e,o),i.mount&&!i.action&&f()}},v=(e,t,o,s,i)=>{let l=!1,c=!1,p={name:e};if(!n.disabled){if(!o||s){(d.isDirty||u.isDirty)&&(c=a.isDirty,a.isDirty=p.isDirty=w(),l=c!==p.isDirty);let n=tg(te(r,e),t);c=!!te(a.dirtyFields,e),n?tD(a.dirtyFields,e):tn(a.dirtyFields,e,!0),p.dirtyFields=a.dirtyFields,l=l||(d.dirtyFields||u.dirtyFields)&&!n!==c}if(o){let t=te(a.touchedFields,e);t||(tn(a.touchedFields,e,o),p.touchedFields=a.touchedFields,l=l||(d.touchedFields||u.touchedFields)&&t!==o)}l&&i&&m.state.next(p)}return l?p:{}},y=async e=>(g(e,!0),await n.resolver(s,n.context,((e,t,n,a)=>{let o={};for(let n of e){let e=te(t,n);e&&tn(o,n,e._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:a}})(e||l.mount,o,n.criteriaMode,n.shouldUseNativeValidation))),j=async e=>{let{errors:t}=await y(e);if(g(e),e)for(let n of e){let e=te(t,n);e?tn(a.errors,n,e):tD(a.errors,n)}else a.errors=t;return t},k=async(t,o,r={valid:!0})=>{for(let i in t){let c=t[i];if(c){let{_f:t,...i}=c;if(t){let i=l.array.has(t.name),p=c._f&&tB(c._f);p&&d.validatingFields&&g([t.name],!0);let u=await tW(c,l.disabled,s,h,n.shouldUseNativeValidation&&!o,i);if(p&&d.validatingFields&&g([t.name]),u[t.name]&&(r.valid=!1,o||e.shouldUseNativeValidation))break;o||(te(u,t.name)?i?t$(a.errors,u,t.name):tn(a.errors,t.name,u[t.name]):tD(a.errors,t.name))}tw(i)||await k(i,o,r)}}return r.valid},w=(e,t)=>
9!n.disabled&&(e&&t&&tn(s,e,t),!tg(S(),r)),_=(e,t,n)=>th(e,l,{...i.mount?s:e9(t)?r:tm(e)?{[e]:t}:t},n,t),E=(e,t,n={})=>{let a=te(o,e),r=t;if(a){let n=a._f;n&&(n.disabled||tn(s,e,tN(t,n)),r=t_(n.ref)&&e1(t)?"":t,"select-multiple"===n.ref.type?[...n.ref.options].forEach(e=>e.selected=r.includes(e.value)):n.refs?"checkbox"===n.ref.type?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(r)?e.checked=!!r.find(t=>t===e.value):e.checked=r===e.value||!!r)}):n.refs.forEach(e=>e.checked=e.value===r):"file"===n.ref.type?n.ref.value="":(n.ref.value=r,n.ref.type||m.state.next({name:e,values:e5(s)})))}(n.shouldDirty||n.shouldTouch)&&v(e,r,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&C(e)},D=(e,t,n)=>{for(let a in t){if(!t.hasOwnProperty(a))return;let r=t[a],s=e+"."+a,i=te(o,s);(l.array.has(e)||e6(r)||i&&!i._f)&&!e0(r)?D(s,r,n):E(s,r,n)}},T=(e,t,n={})=>{let c=te(o,e),p=l.array.has(e),h=e5(t);tn(s,e,h),p?(m.array.next({name:e,values:e5(s)}),(d.isDirty||d.dirtyFields||u.isDirty||u.dirtyFields)&&n.shouldDirty&&m.state.next({name:e,dirtyFields:tx(r,s),isDirty:w(e,h)})):!c||c._f||e1(h)?E(e,h,n):D(e,h,n),tH(e,l)?m.state.next({...a,name:e,values:e5(s)}):m.state.next({name:i.mount?e:void 0,values:e5(s)})},I=async e=>{i.mount=!0;let r=e.target,p=r.name,b=!0,j=te(o,p),w=e=>{b=Number.isNaN(e)||e0(e)&&isNaN(e.getTime())||tg(e,te(s,p,e))},_=tP(n.mode),E=tP(n.reValidateMode);if(j){var D,T,I,x,S;let i,O,R,F=r.type?tR(j._f):e4(e),P=e.type===ta||"focusout"===e.type,L=!((R=j._f).mount&&(R.required||R.min||R.max||R.maxLength||R.minLength||R.pattern||R.validate))&&!n.resolver&&!te(a.errors,p)&&!j._f.deps||(D=P,T=te(a.touchedFields,p),I=a.isSubmitted,x=E,!(S=_).isOnAll&&(!I&&S.isOnTouch?!(T||D):(I?x.isOnBlur:S.isOnBlur)?!D:(I?!x.isOnChange:!S.isOnChange)||D)),B=tH(p,l,P);tn(s,p,F),P?r&&r.readOnly||(j._f.onBlur&&j._f.onBlur(e),t&&t(0)):j._f.onChange&&j._f.onChange(e);let H=v(p,F,P),U=!tw(H)||B;if(P||m.state.next({name:p,type:e.type,values:e5(s)}),L)return(d.isValid||u.isValid)&&("onBlur"===n.mode?P&&f():P||f()),U&&m.state.next({name:p,...B?{}:H});if(!P&&B&&m.state.next({...a}),n.resolver){let{errors:e}=await y([p]);if(g([p]),w(F),b){let t=tz(a.errors,o,p),n=tz(e,o,t.name||p);i=n.error,p=n.name,O=tw(e)}}else g([p],!0),i=(await tW(j,l.disabled,s,h,n.shouldUseNativeValidation))[p],g([p]),w(F),b&&(i?O=!1:(d.isValid||u.isValid)&&(O=await k(o,!0)));if(b){j._f.deps&&(!Array.isArray(j._f.deps)||j._f.deps.length>0)&&C(j._f.deps);var A=p,N=O,M=i;let e=te(a.errors,A),o=(d.isValid||u.isValid)&&"boolean"==typeof N&&a.isValid!==N;if(n.delayError&&M){let e;e=()=>{tn(a.errors,A,M),m.state.next({errors:a.errors})},(t=t=>{clearTimeout(c),c=setTimeout(e,t)})(n.delayError)}else clearTimeout(c),t=null,M?tn(a.errors,A,M):tD(a.errors,A);if((M?!tg(e,M):e)||!tw(H)||o){let e={...H,...o&&"boolean"==typeof N?{isValid:N}:{},errors:a.errors,name:A};a={...a,...e},m.state.next(e)}}}},x=(e,t)=>{if(te(a.errors,t)&&e.focus)return e.focus(),1},C=async(e,t={})=>{let r,s,i=tj(e);if(n.resolver){let t=await j(e9(e)?e:i);r=tw(t),s=e?!i.some(e=>te(t,e)):r}else e?((s=(await Promise.all(i.map(async e=>{let t=te(o,e);return await k(t&&t._f?{[e]:t}:t)}))).every(Boolean))||a.isValid)&&f():s=r=await k(o);return m.state.next({...!tm(e)||(d.isValid||u.isValid)&&r!==a.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:a.errors}),t.shouldFocus&&!s&&tU(o,x,e?i:l.mount),s},S=(e,t)=>{let n={...i.mount?s:r};return t&&(n=function e(t,n){let a={};for(let o in t)if(t.hasOwnProperty(o)){let r=t[o],s=n[o];if(r&&e6(r)&&s){let t=e(r,s);e6(t)&&(a[o]=t)}else t[o]&&(a[o]=s)}return a}(t.dirtyFields?a.dirtyFields:a.touchedFields,n)),e9(e)?n:tm(e)?te(n,e):e.map(e=>te(n,e))},A=(e,t)=>({invalid:!!te((t||a).errors,e),isDirty:!!te((t||a).dirtyFields,e),error:te((t||a).errors,e),isValidating:!!te(a.validatingFields,e),isTouched:!!te((t||a).touchedFields,e)}),N=(e,t,n)=>{let r=(te(o,e,{_f:{}})._f||{}).ref,{ref:s,message:i,type:l,...c}=te(a.errors,e)||{};tn(a.errors,e,{...c,...t,ref:r}),m.state.next({name:e,errors:a.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},M=e=>m.state.subscribe({next:t=>{let n,o,i;n=e.name,o=t.name,i=e.exact,(!n||!o||n===o||tj(n).some(e=>e&&(i?e===o:e.startsWith(o)||o.startsWith(e))))&&((e,t,n,a)=>{n(e);let{name:o,...r}=e;return tw(r)||Object.keys(r).length>=Object.keys(t).length||Object.keys(r).find(e=>t[e]===(!a||"all"))})(t,e.formState||d,U,e.reRenderRoot)&&e.callback({values:{...s},...a,...t,defaultValues:r})}}).unsubscribe,O=(e,t={})=>{for(let i of e?tj(e):l.mount)l.mount.delete(i),l.array.delete(i),t.keepValue||(tD(o,i),tD(s,i)),t.keepError||tD(a.errors,i),t.keepDirty||tD(a.dirtyFields,i),t.keepTouched||tD(a.touchedFields,i),t.keepIsValidating||tD(a.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||tD(r,i);m.state.next({values:e5(s)}),m.state.next({...a,...!t.keepDirty?{}:{isDirty:w()}}),t.keepIsValid||f()},R=({disabled:e,name:t})=>{if("boolean"==typeof e&&i.mount||e||l.disabled.has(t)){let n=l.disabled.has(t);
9e?l.disabled.add(t):l.disabled.delete(t),!!e!==n&&i.mount&&!i.action&&f()}},F=(e,t={})=>{let a=te(o,e),s="boolean"==typeof t.disabled||"boolean"==typeof n.disabled;return(tn(o,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),a)?R({disabled:"boolean"==typeof t.disabled?t.disabled:n.disabled,name:e}):b(e,!0,t.value),{...s?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:tF(t.min),max:tF(t.max),minLength:tF(t.minLength),maxLength:tF(t.maxLength),pattern:tF(t.pattern)}:{},name:e,onChange:I,onBlur:I,ref:s=>{if(s){let n;F(e,t),a=te(o,e);let i=e9(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,l="radio"===(n=i).type||"checkbox"===n.type,c=a._f.refs||[];(l?c.find(e=>e===i):i===a._f.ref)||(tn(o,e,{_f:{...a._f,...l?{refs:[...c.filter(tE),i,...Array.isArray(te(r,e))?[{}]:[]],ref:{type:i.type,name:e}}:{ref:i}}}),b(e,!1,void 0,i))}else(a=te(o,e,{}))._f&&(a._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(e2(l.array,e)&&i.action)&&l.unMount.add(e)}}},P=()=>n.shouldFocusError&&tU(o,x,l.mount),L=(e,t)=>async r=>{let i;r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let c=e5(s);if(m.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await y();g(),a.errors=e,c=e5(t)}else await k(o);if(l.disabled.size)for(let e of l.disabled)tD(c,e);if(tD(a.errors,"root"),tw(a.errors)){m.state.next({errors:{}});try{await e(c,r)}catch(e){i=e}}else t&&await t({...a.errors},r),P(),setTimeout(P);if(m.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:tw(a.errors)&&!i,submitCount:a.submitCount+1,errors:a.errors}),i)throw i},B=(e,t={})=>{let c=e?e5(e):r,p=e5(c),u=tw(e),h=u?r:p;if(t.keepDefaultValues||(r=c),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...l.mount,...Object.keys(tx(r,s))]))){let t=te(a.dirtyFields,e),n=te(s,e),o=te(h,e);t&&!e9(n)?tn(h,e,n):t||e9(o)||T(e,o)}else{if(e3&&e9(e))for(let e of l.mount){let t=te(o,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(t_(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of l.mount)T(e,te(h,e));else o={}}s=n.shouldUnregister?t.keepDefaultValues?e5(r):{}:e5(h),m.array.next({values:{...h}}),m.state.next({values:{...h}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},i.mount=!d.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!tw(h),i.watch=!!n.shouldUnregister,i.keepIsValid=!!t.keepIsValid,i.action=!1,t.keepErrors||(a.errors={}),m.state.next({submitCount:t.keepSubmitCount?a.submitCount:0,isDirty:!u&&(t.keepDirty?a.isDirty:!!(t.keepDefaultValues&&!tg(e,r))),isSubmitted:!!t.keepIsSubmitted&&a.isSubmitted,dirtyFields:u?{}:t.keepDirtyValues?t.keepDefaultValues&&s?tx(r,s):a.dirtyFields:t.keepDefaultValues&&e?tx(r,e):t.keepDirty?a.dirtyFields:{},touchedFields:t.keepTouched?a.touchedFields:{},errors:t.keepErrors?a.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1,defaultValues:r})},H=(e,t)=>B(tt(e)?e(s):e,{...n.resetOptions,...t}),U=e=>{a={...a,...e}},z={control:{register:F,unregister:O,getFieldState:A,handleSubmit:L,setError:N,_subscribe:M,_runSchema:y,_updateIsValidating:g,_focusError:P,_getWatch:_,_getDirty:w,_setValid:f,_setFieldArray:(e,t=[],l,c,p=!0,h=!0)=>{if(c&&l&&!n.disabled){if(i.action=!0,h&&Array.isArray(te(o,e))){let t=l(te(o,e),c.argA,c.argB);p&&tn(o,e,t)}if(h&&Array.isArray(te(a.errors,e))){let t,n=l(te(a.errors,e),c.argA,c.argB);p&&tn(a.errors,e,n),e8(te(t=a.errors,e)).length||tD(t,e)}if((d.touchedFields||u.touchedFields)&&h&&Array.isArray(te(a.touchedFields,e))){let t=l(te(a.touchedFields,e),c.argA,c.argB);p&&tn(a.touchedFields,e,t)}(d.dirtyFields||u.dirtyFields)&&(a.dirtyFields=tx(r,s)),m.state.next({name:e,isDirty:w(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else tn(s,e,t)},_setDisabledField:R,_setErrors:e=>{a.errors=e,m.state.next({errors:a.errors,isValid:!1})},_getFieldArray:e=>e8(te(i.mount?s:r,e,n.shouldUnregister?te(r,e,[]):[])),_reset:B,_resetDefaultValues:()=>tt(n.defaultValues)&&n.defaultValues().then(e=>{H(e,n.resetOptions),m.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of l.unMount){let t=te(o,e);t&&(t._f.refs?t._f.refs.every(e=>!tE(e)):!tE(t._f.ref))&&O(e)}l.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(m.state.next({disabled:e}),tU(o,(t,n)=>{let a=te(o,n);a&&(t.disabled=a._f.disabled||e,Array.isArray(a._f.refs)&&a._f.refs.forEac
9h(t=>{t.disabled=a._f.disabled||e}))},0,!1))},_subjects:m,_proxyFormState:d,get _fields(){return o},get _formValues(){return s},get _state(){return i},set _state(value){i=value},get _defaultValues(){return r},get _names(){return l},set _names(value){l=value},get _formState(){return a},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(i.mount=!0,u={...u,...e.formState},M({...e,formState:{...p,...e.formState}})),trigger:C,register:F,handleSubmit:L,watch:(e,t)=>tt(e)?m.state.subscribe({next:n=>"values"in n&&e(_(void 0,t),n)}):_(e,t,!0),setValue:T,getValues:S,reset:H,resetField:(e,t={})=>{te(o,e)&&(e9(t.defaultValue)?T(e,e5(te(r,e))):(T(e,t.defaultValue),tn(r,e,e5(t.defaultValue))),t.keepTouched||tD(a.touchedFields,e),t.keepDirty||(tD(a.dirtyFields,e),a.isDirty=t.defaultValue?w(e,e5(te(r,e))):w()),!t.keepError&&(tD(a.errors,e),d.isValid&&f()),m.state.next({...a}))},clearErrors:e=>{e&&tj(e).forEach(e=>tD(a.errors,e)),m.state.next({errors:e?a.errors:{}})},unregister:O,setError:N,setFocus:(e,t={})=>{let n=te(o,e),a=n&&n._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&tt(e.select)&&e.select()})}},getFieldState:A};return{...z,formControl:z}}(e);t.current={...o,formState:a}}let r=t.current.control;return r._options=e,tu(()=>{let e=r._subscribe({formState:r._proxyFormState,callback:()=>o({...r._formState}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),r._formState.isReady=!0,e},[r]),eZ.default.useEffect(()=>r._disableForm(e.disabled),[r,e.disabled]),eZ.default.useEffect(()=>{e.mode&&(r._options.mode=e.mode),e.reValidateMode&&(r._options.reValidateMode=e.reValidateMode)},[r,e.mode,e.reValidateMode]),eZ.default.useEffect(()=>{e.errors&&(r._setErrors(e.errors),r._focusError())},[r,e.errors]),eZ.default.useEffect(()=>{e.shouldUnregister&&r._subjects.state.next({values:r._getWatch()})},[r,e.shouldUnregister]),eZ.default.useEffect(()=>{if(r._proxyFormState.isDirty){let e=r._getDirty();e!==a.isDirty&&r._subjects.state.next({isDirty:e})}},[r,a.isDirty]),eZ.default.useEffect(()=>{var t;e.values&&!tg(e.values,n.current)?(r._reset(e.values,{keepFieldsRef:!0,...r._options.resetOptions}),(null==(t=r._options.resetOptions)?void 0:t.keepIsValid)||r._setValid(),n.current=e.values,o(e=>({...e}))):r._resetDefaultValues()},[r,e.values]),eZ.default.useEffect(()=>{r._state.mount||(r._setValid(),r._state.mount=!0),r._state.watch&&(r._state.watch=!1,r._subjects.state.next({...r._formState})),r._removeUnmounted()}),t.current.formState=eZ.default.useMemo(()=>td(a,r),[r,a]),t.current}],244425);var tY=e.i(124443);function tK({controlled:e,default:t,name:n,state:a="value"}){let{current:o}=eZ.useRef(void 0!==e),[r,s]=eZ.useState(t),i=eZ.useCallback(e=>{o||s(e)},[]);return[o?e:r,i]}e.s([],272763),e.i(272763);let tQ="u">typeof document?eZ.useLayoutEffect:()=>{},tX={};function tJ(e,t){let n=eZ.useRef(tX);return n.current===tX&&(n.current=e(t)),n}let tZ=eZ[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],t0=tZ&&tZ!==eZ.useLayoutEffect?tZ:e=>e();function t1(e){let t=tJ(t6).current;return t.next=e,t0(t.effect),t.trampoline}function t6(){let e={next:void 0,callback:t4,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function t4(){}function t2(e,t,n,a){var o,r,s,i,l;let c=tJ(t3).current;return o=c,r=e,s=t,i=n,l=a,(o.refs[0]!==r||o.refs[1]!==s||o.refs[2]!==i||o.refs[3]!==l)&&t5(c,[e,t,n,a]),c.callback}function t3(){return{callback:null,cleanup:null,refs:[]}}function t5(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let a=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let o=t[e];if(null!=o)switch(typeof o){case"function":{let t=o(n);"function"==typeof t&&(a[e]=t);break}case"object":o.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(null!=n)switch(typeof n){case"function":{let t=a[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}let t9={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},t8={...t9,position:"fixed",top:0,left:0},t7={...t9,position:"absolute"};var ne=e.i(56032),nt=e.i(596482);let nn=parseInt(eZ.version,10),na=nn>=19?function(e,t,a,o,r){let s;if(!n){let n;return n=eZ.useCallback(()=>t(e.getSnapshot(),a,o,r),[e,t,a,o,r]),(0,ne.useSyncExternalStore)(e.subscribe,n,n)}let i=n.syncIndex;return n.syncIndex+=1,n.didInitialize?(s=n.syncHooks[i]).store===e&&s.selector===t&&Object.is(s.a1,a)&&Object.is(s.a2,o)&&Object.is(s.a3,r)||(s.store!==e&&(n.didChangeStore=!0),s.store=e,s.selector=t,s.a1=a,s.a2=o,s.a3=r,s.didChange=!0):(s={store:e,selector:t,a1:a,a2:o,a3:r,value:t(e.getSnapshot(),a,o,r),didChange:!1},n.syncHooks.push(s)),s.value}:function(e,t,n,a,o){return(0,nt.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,a,o))};[].push({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let a=e.syncHooks[n],o=a.selector(a.store.state,a.a1,a.a2,a.a3);(a.didChange||!Object.is(a.value,o))&&(t=!0,a.value=o,a.didChange=!1)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let a=[];for(let e of n)a.push(e.subscribe(t));return()=>{for(let e of a)e()}}),(0,ne.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});
9class no{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,a){return na(this,e,t,n,a)}}function nr(e){let t=tJ(ns,e).current;return t.next=e,tQ(t.effect),t}function ns(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function ni(){return"u">typeof window}function nl(e){return np(e)?(e.nodeName||"").toLowerCase():"#document"}function nc(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function np(e){return!!ni()&&(e instanceof Node||e instanceof nc(e).Node)}function nd(e){return!!ni()&&(e instanceof Element||e instanceof nc(e).Element)}function nu(e){return!!ni()&&(e instanceof HTMLElement||e instanceof nc(e).HTMLElement)}function nm(e){return!(!ni()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof nc(e).ShadowRoot)}function nh(e){let{overflow:t,overflowX:n,overflowY:a,display:o}=ng(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&"inline"!==o&&"contents"!==o}function nf(e){return/^(html|body|#document)$/.test(nl(e))}function ng(e){return nc(e).getComputedStyle(e)}let nb=[];function nv(e){eZ.useEffect(e,nb)}class ny{static create(){return new ny}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}function nj(){let e=tJ(ny.create).current;return nv(e.disposeEffect),e}function nk(e){return e?.ownerDocument||document}let nw="data-base-ui-focusable",n_="active",nE="selected",nD="ArrowLeft",nT="ArrowRight",nI="ArrowUp",nx="ArrowDown";function nC(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function nS(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&nm(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function nA(e){return"composedPath"in e?e.composedPath()[0]:e.target}function nN(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function nM(e){return nu(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function nO(e){return!!e&&"combobox"===e.getAttribute("role")&&nM(e)}function nR(e){return e?e.hasAttribute(nw)?e:e.querySelector(`[${nw}]`)||e:null}let nF="u">typeof navigator,nP=function(){if(!nF)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),nL=function(){if(!nF)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),nB=function(){if(!nF)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),nH="u">typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),nU="MacIntel"===nP.platform&&nP.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(nP.platform),nz=nF&&/firefox/i.test(nB),n$=nF&&/apple/i.test(navigator.vendor);nF&&/Edg/i.test(nB);let nq=nF&&/android/i.test(nL)||/android/i.test(nB);nF&&nL.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;let nV=nB.includes("jsdom/");function nW(e){e.preventDefault(),e.stopPropagation()}function nG(e){return""===e.pointerType&&!!e.isTrusted||(nq&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function nY(e){return!nV&&(!nq&&0===e.width&&0===e.height||nq&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function nK(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function nQ(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}function nX(e,t,n=!0){return e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...nX(e,t.id,n)])}function nJ(e,t){let n=[],a=e.find(e=>e.id===t)?.parentId;for(;a;){let t=e.find(e=>e.id===a);a=t?.parentId,t&&(n=n.concat(t))}return n}let nZ=eZ.createContext(null),n0=eZ.createContext(null),n1=()=>eZ.useContext(nZ)?.id||null,n6=e=>{let t=eZ.useContext(n0);return e??t};function n4(){}let n2=Object.freeze([]),n3=Object.freeze({});function n5(e,t,n,a){let o=!1,r=!1,s=a??n3;return{reason:e,event:t??new Event("base-ui"),cancel(){o=!0},allowPropagation(){r=!0},get isCanceled(){return o},get isPropagationAllowed(){return r},trigger:n,...s}}function n9(e,t,n){let a=n??n3;return{reason:e,event:t??new Event("base-ui"),...a}}e.s(["cancelOpen",0,"cancel-open","chipRemovePress",0,"chip-remove-press","clearPress",0,"clear-press","closePress",0,"close-press","closeWatcher",0,"close-watcher","decrementPress",0,"decrement-press","disabled",0,"disabled","drag",0,"drag","escapeKey",0,"escape-key","focusOut",0,"focus-out","imperativeAction",0,"imperative-action","incrementPress",0,"increment-press","inputBlur",0,"input-blur","inputChange",0,"input-change","inputClear",0,"input-clear","
9inputPaste",0,"input-paste","inputPress",0,"input-press","itemPress",0,"item-press","keyboard",0,"keyboard","linkPress",0,"link-press","listNavigation",0,"list-navigation","none",0,"none","outsidePress",0,"outside-press","pointer",0,"pointer","scrub",0,"scrub","siblingOpen",0,"sibling-open","swipe",0,"swipe","trackPress",0,"track-press","triggerFocus",0,"trigger-focus","triggerHover",0,"trigger-hover","triggerPress",0,"trigger-press","wheel",0,"wheel","windowResize",0,"window-resize"],49024);var n8=e.i(49024),n8=n8;function n7(e){return`data-base-ui-${e}`}let ae={intentional:"onClick",sloppy:"onPointerDown"};function at(){return!1}let an={...eZ},aa=0,ao=an.useId;function ar(e,t){if(void 0!==ao){let n=ao();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){let[n,a]=eZ.useState(e),o=e||n;return eZ.useEffect(()=>{null==n&&(aa+=1,a(`${t}-${aa}`))},[n,t]),o}(e,t)}let as=function(e,...t){let n=new URL("https://base-ui.com/production-error");return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`};var ai=Symbol("NOT_FOUND"),al=e=>Array.isArray(e)?e:[e],ac=0,ap=class{revision=ac;_value;_lastValue;_isEqual=ad;constructor(e,t=ad){this._value=this._lastValue=e,this._isEqual=t}get value(){return this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++ac)}};function ad(e,t){return e===t}function au(e){return e instanceof ap||console.warn("Not a valid cell! ",e),e.value}var am=(e,t)=>!1;function ah(){return function(e=ad){return new ap(null,e)}(am)}var af=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=ah()),au(t)};Symbol();var ag=0,ab=Object.getPrototypeOf({}),av=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,ay);tag=ah();tags={};children={};collectionTag=null;id=ag++},ay={get:(e,t)=>(function(){let{value:n}=e,a=Reflect.get(n,t);if("symbol"==typeof t||t in ab)return a;
9if("object"==typeof a&&null!==a){var o;let n=e.children[t];return void 0===n&&(n=e.children[t]=Array.isArray(o=a)?new aj(o):new av(o)),n.tag&&au(n.tag),n.proxy}{let n=e.tags[t];return void 0===n&&((n=e.tags[t]=ah()).value=a),au(n),a}})(),ownKeys:e=>(af(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},aj=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],ak);tag=ah();tags={};children={};collectionTag=null;id=ag++},ak={get:([e],t)=>("length"===t&&af(e),ay.get(e,t)),ownKeys:([e])=>ay.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>ay.getOwnPropertyDescriptor(e,t),has:([e],t)=>ay.has(e,t)},aw=(e,t)=>e===t,a_="u">typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function aE(){return{s:0,v:void 0,o:null,p:null}}function aD(e,t={}){let n,a=aE(),{resultEqualityCheck:o}=t,r=0;function s(){let t,s=a,{length:i}=arguments;for(let e=0;e<i;e++){let t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=s.o;null===e&&(s.o=e=new WeakMap);let n=e.get(t);void 0===n?(s=aE(),e.set(t,s)):s=n}else{let e=s.p;null===e&&(s.p=e=new Map);let n=e.get(t);void 0===n?(s=aE(),e.set(t,s)):s=n}}let l=s;if(1===s.s)t=s.v;else if(t=e.apply(null,arguments),r++,o){let e=n?.deref?.()??n;null!=e&&o(e,t)&&(t=e,0!==r&&r--),n="object"==typeof t&&null!==t||"function"==typeof t?new a_(t):t}return l.s=1,l.v=t,t}return s.clearCache=()=>{a=aE(),s.resetResultsCount()},s.resultsCount=()=>r,s.resetResultsCount=()=>{r=0},s}function aT(e,...t){let n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,a=(...e)=>{let t,a,o=0,r=0,s={},i=e.pop();"object"==typeof i&&(s=i,i=e.pop()),function(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}(i,`createSelector expects an output function after the inputs, but received: [${typeof i}]`);let{memoize:l,memoizeOptions:c=[],argsMemoize:p=aD,argsMemoizeOptions:d=[],devModeChecks:u={}}={...n,...s},m=al(c),h=al(d),f=(!function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let n=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${n}]`)}}(t=Array.isArray(e[0])?e[0]:e,"createSelector expects all input-selectors to be functions, but received the following types: "),t),g=l(function(){return o++,i.apply(null,arguments)},...m);return Object.assign(p(function(){r++;let e=function(e,t){let n=[],{length:a}=e;for(let o=0;o<a;o++)n.push(e[o].apply(null,t));return n}(f,arguments);return a=g.apply(null,e)},...h),{resultFunc:i,memoizedResultFunc:g,dependencies:f,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>a,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:l,argsMemoize:p})};return Object.assign(a,{withTypes:()=>a}),a}var aI=aT(aD),ax=Object.assign((e,t=aI)=>{!function(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,a)=>(e[n[a]]=t,e),{}))},{withTypes:()=>ax});aT({memoize:function(e,t){let n,{equalityCheck:a=aw,maxSize:o=1,resultEqualityCheck:r}="object"==typeof t?t:{equalityCheck:t},s=function(e,t){if(null===e||null===t||e.length!==t.length)return!1;let{length:n}=e;for(let o=0;o<n;o++)if(!a(e[o],t[o]))return!1;return!0},i=0,l=o<=1?{get:e=>n&&s(n.key,e)?n.value:ai,put(e,t){n={key:e,value:t}},getEntries:()=>n?[n]:[],clear(){n=void 0}}:function(e,t){let n=[];function a(e){let a=n.findIndex(n=>t(e,n.key));if(a>-1){let e=n[a];return a>0&&(n.splice(a,1),n.unshift(e)),e.value}return ai}return{get:a,put:function(t,o){a(t)===ai&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(o,s);function c(){let t=l.get(arguments);if(t===ai){if(t=e.apply(null,arguments),i++,r){let e=l.getEntries().find(e=>r(e.value,t));e&&(t=e.value,0!==i&&i--)}l.put(arguments,t)}return t}return c.clearCache=()=>{l.clear(),c.resetResultsCount()},c.resultsCount=()=>i,c.resetResultsCount=()=>{i=0},c},memoizeOptions:{maxSize:1,equalityCheck:Object.is}});let aC=(e,t,n,a,o,r,...s)=>{let i;if(s.length>0)throw Error(as(1));if(e&&t&&n&&a&&o&&r)i=(s,i,l,c)=>r(e(s,i,l,c),t(s,i,l,c),n(s,i,l,c),a(s,i,l,c),o(s,i,l,c),i,l,c);else if(e&&t&&n&&a&&o)i=(r,s,i,l)=>o(e(r,s,i,l),t(r,s,i,l),n(r,s,i,l),a(r,s,i,l),s,i,l);else if(e&&t&&n&&a)i=(o,r,s,i)=>a(e(o,r,s,i),t(o,r,s,i),n(o,r,s,i),r,s,i);else if(e&&t&&n)i=(a,o,r,s)=>n(e(a,o,r,s),t(a,o,r,s),o,r,s);else if(e&&t)i=(n,a,o,r)=>t(e(n,a,o,r),a,o,r);else if(e)i=e;else throw Error("Missing arguments");return i};class aS extends no{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){eZ.useDebugValue(e),tQ(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){let n=this;tQ(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this;tQ(()=>{t.update(e)},[t,...Object.values(e)])}useControlledProp(e,t){eZ.useDebugValue(e);let n=void 0!==t;tQ(()=>{n&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,n])}select(e,t,n,a){return(0,this.selectors[e])(this.state,t,n,a)}useState(e,t,n,a){return eZ.useDebugValue(e),na(this,this.selectors[e],t,n,a)}useContextCallback(e,t){eZ.useDebugValue(e);let n=t1(t??n4);this.context[e]=n}useStateSetter(e){let t=eZ.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n,a=(n="function"==typeof e?e:this.selectors[e])(this.state);return t(a,a,this),this.subscribe(e=>{let o=n(e);if(!Object.is(a,o)){let e=a;a=o,t(o,e,this)}})}}let aA={open:aC(e=>e.open),domReferenceElement:aC(e=>e.domReferenceElement),referenceElement:aC(e=>e.positionReference??e.referenceElement),floatingElement:aC(e=>e.floatingElement),floatingId:aC(e=>e.floatingId)};class aN extends aS{constructor(e){const{nested:t,noEmit:n,onOpenChange:a,triggerElements:o,...r}=e;super({...r,positionReference:r.referenceElement,domReferenceElement:r.referenceElement},{onOpenChange:a,dataRef:{current:{}},events:function(){let e=new Map;
9return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}(),nested:t,noEmit:n,triggerElements:o},aA)}setOpen=(e,t)=>{if((!e||!this.state.open||nQ(t.event))&&(this.context.dataRef.current.openEvent=e?t.event:void 0),!this.context.noEmit){let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)}this.context.onOpenChange?.(e,t)}}class aM{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){let n=this.idMap.get(e);n!==t&&(void 0!==n&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(let t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}}function aO(e){let{open:t=!1,onOpenChange:n,elements:a={}}=e,o=ar(),r=null!=n1(),s=tJ(()=>new aN({open:t,onOpenChange:n,referenceElement:a.reference??null,floatingElement:a.floating??null,triggerElements:new aM,floatingId:o,nested:r,noEmit:!1})).current;return tQ(()=>{let e={open:t,floatingId:o};void 0!==a.reference&&(e.referenceElement=a.reference,e.domReferenceElement=nd(a.reference)?a.reference:null),void 0!==a.floating&&(e.floatingElement=a.floating),s.update(e)},[t,o,a.reference,a.floating,s]),s.context.onOpenChange=n,s.context.nested=r,s.context.noEmit=!1,s}function aR(e,t,n){let a=new Map,o="item"===n,r={};for(let t in"floating"===n&&(r.tabIndex=-1,r[nw]=""),e)o&&e&&(t===n_||t===nE)||(r[t]=e[t]);for(let s=0;s<t.length;s+=1){let i,l=t[s]?.[n];(i="function"==typeof l?e?l(e):null:l)&&aF(r,i,o,a)}return aF(r,e,o,a),r}function aF(e,t,n,a){for(let o in t){let r=t[o];n&&(o===n_||o===nE)||(o.startsWith("on")?(a.has(o)||a.set(o,[]),"function"==typeof r&&(a.get(o)?.push(r),e[o]=(...e)=>a.get(o)?.map(t=>t(...e)).find(e=>void 0!==e))):e[o]=r)}}let aP=Math.min,aL=Math.max,aB=Math.floor;function aH(e){return e.split("-")[0]}function aU(e){return e.split("-")[1]}function az(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function a$(e,t,n){return Math.floor(e/t)!==n}function aq(e,t){return t<0||t>=e.current.length}function aV(e,t){return aG(e,{disabledIndices:t})}function aW(e,t){return aG(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function aG(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:a,amount:o=1}={}){let r=t;do r+=n?-o:o;while(r>=0&&r<=e.current.length-1&&aY(e,r,a))return r}function aY(e,t,n){if("function"==typeof n?n(t):n?.includes(t)??!1)return!0;let a=e.current[t];return!!a&&(!aK(a)||!n&&(a.hasAttribute("disabled")||"true"===a.getAttribute("aria-disabled")))}function aK(e){return"none"!==ng(e).display}var n8=n8;let aQ=0;function aX(e,t={}){let{preventScroll:n=!1,cancelPrevious:a=!0,sync:o=!1}=t;a&&cancelAnimationFrame(aQ);let r=()=>e?.focus({preventScroll:n});o?r():aQ=requestAnimationFrame(r)}function aJ(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function aZ(e,t){return aJ(t,e===nI||e===nx,e===nD||e===nT)}function a0(e,t,n){return aJ(t,e===nx,n?e===nD:e===nT)||"Enter"===e||" "===e||""===e}let a1=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class a6{static create(){return new a6}static request(e){return a1.request(e)}static cancel(e){return a1.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=a1.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(a1.cancel(this.currentId),this.currentId=null)};
9disposeEffect=()=>this.cancel}function a4(){let e=tJ(a6.create).current;return nv(e.disposeEffect),e}var n8=n8;function a2(e,t={}){let n="rootStore"in e?e.rootStore:e,a=n.context.dataRef,{enabled:o=!0,event:r="click",toggle:s=!0,ignoreMouse:i=!1,stickIfOpen:l=!0,touchOpenDelay:c=0,reason:p=n8.triggerPress}=t,d=eZ.useRef(void 0),u=a4(),m=nj(),h=eZ.useMemo(()=>({onPointerDown(e){d.current=e.pointerType},onMouseDown(e){let t=d.current,o=e.nativeEvent,h=n.select("open");if(0!==e.button||"click"===r||nK(t,!0)&&i)return;let f=a.current.openEvent,g=f?.type,b=n.select("domReferenceElement")!==e.currentTarget,v=h&&b||!(h&&s&&(!f||!l||"click"===g||"mousedown"===g));if(nM(o.target)){let e=n5(p,o,o.target);v&&"touch"===t&&c>0?m.start(c,()=>{n.setOpen(!0,e)}):n.setOpen(v,e);return}let y=e.currentTarget;u.request(()=>{let e=n5(p,o,y);v&&"touch"===t&&c>0?m.start(c,()=>{n.setOpen(!0,e)}):n.setOpen(v,e)})},onClick(e){if("mousedown-only"===r)return;let t=d.current;if("mousedown"===r&&t){d.current=void 0;return}if(nK(t,!0)&&i)return;let o=n.select("open"),u=a.current.openEvent,h=n.select("domReferenceElement")!==e.currentTarget,f=o&&h||!(o&&s&&(!u||!l||nQ(u))),g=n5(p,e.nativeEvent,e.currentTarget);f&&"touch"===t&&c>0?m.start(c,()=>{n.setOpen(!0,g)}):n.setOpen(f,g)},onKeyDown(){d.current=void 0}}),[a,r,i,n,l,s,u,m,c,p]);return eZ.useMemo(()=>o?{reference:h}:n3,[o,h])}var n8=n8;let a3=eZ.createContext(void 0),a5=eZ.createContext(void 0),a9=eZ.createContext(void 0),a8=eZ.createContext("");function a7(){let e=eZ.useContext(a3);if(!e)throw Error(as(22));return e}function oe(){let e=eZ.useContext(a5);if(!e)throw Error(as(23));return e}function ot(){let e=eZ.useContext(a9);if(!e)throw Error(as(24));return e}function on(){return eZ.useContext(a8)}let oa=(e,t)=>Object.is(e,t);function oo(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function or(e,t,n){return e&&0!==e.length?e.findIndex(e=>
9void 0!==e&&oo(e,t,n)):-1}function oi(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function ol(e){return null!=e&&e.length>0&&"object"==typeof e[0]&&null!=e[0]&&"items"in e[0]}function oc(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return oi(e)}function op(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?oi(e.value):oi(e)}function od(e,t,n){if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return t[e]??oc(e,n);if(Array.isArray(t)){let a=ol(t)?t.flatMap(e=>e.items):t;if(null==e||"object"!=typeof e){let t=a.find(t=>t.value===e);return t&&null!=t.label?t.label:oc(e,n)}if("value"in e){let t=a.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return oc(e,n)}let ou={id:aC(e=>e.id),labelId:aC(e=>e.labelId),query:aC(e=>e.query),items:aC(e=>e.items),selectedValue:aC(e=>e.selectedValue),hasSelectionChips:aC(e=>{let t=e.selectedValue;return Array.isArray(t)&&t.length>0}),hasSelectedValue:aC(e=>{let{selectedValue:t,selectionMode:n}=e;return null!=t&&(!("multiple"===n&&Array.isArray(t))||t.length>0)}),hasNullItemLabel:aC((e,t)=>!!t&&function(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(ol(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1}(e.items)),open:aC(e=>e.open),mounted:aC(e=>e.mounted),forceMounted:aC(e=>e.forceMounted),inline:aC(e=>e.inline),activeIndex:aC(e=>e.activeIndex),selectedIndex:aC(e=>e.selectedIndex),isActive:aC((e,t)=>e.activeIndex===t),isSelected:aC((e,t)=>{let n=e.isItemEqualToValue,a=e.selectedValue;return Array.isArray(a)?a.some(e=>oo(t,e,n)):oo(t,a,n)}),transitionStatus:aC(e=>e.transitionStatus),popupProps:aC(e=>e.popupProps),inputProps:aC(e=>e.inputProps),triggerProps:aC(e=>e.triggerProps),getItemProps:aC(e=>e.getItemProps),positionerElement:aC(e=>e.positionerElement),listElement:aC(e=>e.listElement),triggerElement:aC(e=>e.triggerElement),inputElement:aC(e=>e.inputElement),inputGroupElement:aC(e=>e.inputGroupElement),popupSide:aC(e=>e.popupSide),openMethod:aC(e=>e.openMethod),inputInsidePopup:aC(e=>e.inputInsidePopup),selectionMode:aC(e=>e.selectionMode),listRef:aC(e=>e.listRef),labelsRef:aC(e=>e.labelsRef),popupRef:aC(e=>e.popupRef),emptyRef:aC(e=>e.emptyRef),inputRef:aC(e=>e.inputRef),keyboardActiveRef:aC(e=>e.keyboardActiveRef),chipsContainerRef:aC(e=>e.chipsContainerRef),clearRef:aC(e=>e.clearRef),valuesRef:aC(e=>e.valuesRef),allValuesRef:aC(e=>e.allValuesRef),name:aC(e=>e.name),disabled:aC(e=>e.disabled),readOnly:aC(e=>e.readOnly),required:aC(e=>e.required),grid:aC(e=>e.grid),isGrouped:aC(e=>e.isGrouped),virtualized:aC(e=>e.virtualized),onOpenChangeComplete:aC(e=>e.onOpenChangeComplete),openOnInputClick:aC(e=>e.openOnInputClick),itemToStringLabel:aC(e=>e.itemToStringLabel),isItemEqualToValue:aC(e=>e.isItemEqualToValue),modal:aC(e=>e.modal),autoHighlight:aC(e=>e.autoHighlight),submitOnItemClick:aC(e=>e.submitOnItemClick)};var om=e.i(944116);function oh(e){return null==e?e:"current"in e?e.current:e}let of=((o={}).startingStyle="data-starting-style",o.endingStyle="data-ending-style",o),og={[of.startingStyle]:""},ob={[of.endingStyle]:""},ov={transitionStatus:e=>"starting"===e?og:"ending"===e?ob:null};function oy(e){let{enabled:t=!0,open:n,ref:a,onComplete:o}=e,r=t1(o),s=function(e,t=!1,n=!0){let a=a4();return t1((o,r=null)=>{function s(){om.flushSync(o)}a.cancel();let i=oh(e);if(null!=i)if("function"!=typeof i.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)o();else{function l(){Promise.all(i.getAnimations().map(e=>e.finished)).then(()=>{r?.aborted||s()}).catch(()=>{let e=i.getAnimations();if(n){if(r?.aborted)return;s()}else e.length>0&&e.some(e=>e.pending||"finished"!==e.playState)&&l()})}if(t)return void function(){let e=of.startingStyle;if(!i.hasAttribute(e))return a.request(l);let t=new MutationObserver(()=>{i.hasAttribute(e)||(t.disconnect(),l())});t.observe(i,{attributes:!0,attributeFilter:[e]}),r?.addEventListener("abort",()=>t.disconnect(),{once:!0})}();a.request(l)}})}(a,n,!1);eZ.useEffect(()=>{if(!t)return;let e=new AbortController;return s(r,e.signal),()=>{e.abort()}},[t,n,r,s])}let oj=((r={}).disabled="data-disabled",r.valid="data-valid",r.invalid="data-invalid",r.touched="data-touched",r.dirty="data-dirty",r.filled="data-filled",r.focused="data-focused",r),ok={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},ow={disabled:!1,...ok},o_={valid:e=>null===e?null:e?{[oj.valid]:""}:{[oj.invalid]:""}}
9,oE=eZ.createContext({invalid:void 0,name:void 0,validityData:{state:{badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},errors:[],error:"",value:"",initialValue:null},setValidityData:n4,disabled:void 0,touched:ok.touched,setTouched:n4,dirty:ok.dirty,setDirty:n4,filled:ok.filled,setFilled:n4,focused:ok.focused,setFocused:n4,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:ow,markedDirtyRef:{current:!1},validation:{getValidationProps:(e=n3)=>e,getInputValidationProps:(e=n3)=>e,inputRef:{current:null},commit:async()=>{}}});function oD(e=!0){let t=eZ.useContext(oE);if(t.setValidityData===n4&&!e)throw Error(as(28));return t}let oT=eZ.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:n4,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function oI(){return eZ.useContext(oT)}function ox(e){return ar(e,"base-ui")}let oC=eZ.createContext({controlId:void 0,registerControlId:n4,labelId:void 0,setLabelId:n4,messageIds:[],setMessageIds:n4,getDescriptionProps:e=>e});function oS(){return eZ.useContext(oC)}function oA(e={}){let{id:t,implicit:n=!1,controlRef:a}=e,{controlId:o,registerControlId:r}=oS(),s=ox(t),i=n?o:void 0,l=tJ(()=>Symbol("labelable-control")),c=eZ.useRef(!1),p=eZ.useRef(null!=t),d=t1(()=>{c.current&&r!==n4&&(c.current=!1,r(l.current,void 0))});return tQ(()=>{let e;if(r!==n4){if(n){let n=a?.current;e=nd(n)&&null!=n.closest("label")?t??null:i??s}else if(null!=t)p.current=!0,e=t;else{if(!p.current)return void d();e=s}if(void 0===e)return void d();c.current=!0,r(l.current,e)}},[t,a,i,r,n,s,l,d]),eZ.useEffect(()=>d,[d]),o??s}function oN(e,t){return(n,a)=>{if(null==n)return!1;let o=oc(n,t);return e.contains(o,a)}}
9function oM(e,t,n){return(a,o)=>{if(null==a)return!1;if(!o)return!0;let r=oc(a,t),s=null!=n?oc(n,t):"";return!!(s&&e.contains(s,o))&&s.length===o.length||e.contains(r,o)}}let oO=new Map;function oR(e={}){let t={usage:"search",sensitivity:"base",ignorePunctuation:!0,...e},n=`${function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}(e.locale)}|${JSON.stringify(t)}`,a=oO.get(n);if(a)return a;let o=new Intl.Collator(e.locale,t),r={contains(e,t,n){if(!t)return!0;let a=oc(e,n);for(let e=0;e<=a.length-t.length;e+=1)if(0===o.compare(a.slice(e,e+t.length),t))return!0;return!1},startsWith(e,t,n){if(!t)return!0;let a=oc(e,n);return 0===o.compare(a.slice(0,t.length),t)},endsWith(e,t,n){if(!t)return!0;let a=oc(e,n),r=t.length;return a.length>=r&&0===o.compare(a.slice(a.length-r),t)}};return oO.set(n,r),r}function oF(e,t=!1,n=!1){let[a,o]=eZ.useState(e&&t?"idle":void 0),[r,s]=eZ.useState(e);return e&&!r&&(s(!0),o("starting")),e||!r||"ending"===a||n||o("ending"),e||r||"ending"!==a||o(void 0),tQ(()=>{if(!e&&r&&"ending"!==a&&n){let e=a6.request(()=>{o("ending")});return()=>{a6.cancel(e)}}},[e,r,a,n]),tQ(()=>{if(!e||t)return;let n=a6.request(()=>{o(void 0)});return()=>{a6.cancel(n)}},[t,e]),tQ(()=>{if(!e||!t)return;e&&r&&"idle"!==a&&o("starting");let n=a6.request(()=>{o("idle")});return()=>{a6.cancel(n)}},[t,e,r,o,a]),eZ.useMemo(()=>({mounted:r,setMounted:s,transitionStatus:a}),[r,a])}function oP(e,t){let n=eZ.useRef(e),a=t1(t);tQ(()=>{n.current!==e&&a(n.current)},[e,a]),tQ(()=>{n.current=e},[e])}let oL=Symbol("none"),oB={value:oL,index:-1};function oH(e){let n,a,o,r,{id:s,onOpenChangeComplete:i,defaultSelectedValue:l=null,selectedValue:c,onSelectedValueChange:p,defaultInputValue:d,inputValue:u,selectionMode:m="none",onItemHighlighted:h,name:f,disabled:g=!1,readOnly:b=!1,required:v=!1,inputRef:y,grid:j=!1,items:k,filteredItems:w,filter:_,openOnInputClick:E=!0,autoHighlight:D=!1,keepHighlight:I=!1,highlightItemOnHover:x=!0,loopFocus:C=!0,itemToStringLabel:S,itemToStringValue:A,isItemEqualToValue:N=oa,virtualized:M=!1,inline:O=!1,fillInputOnItemPress:R=!0,modal:F=!1,limit:P=-1,autoComplete:L="list",formAutoComplete:B,locale:H,submitOnItemClick:U=!1}=e,{clearErrors:z}=oI(),{setDirty:$,validityData:q,shouldValidateOnChange:V,setFilled:W,name:G,disabled:Y,setTouched:K,setFocused:Q,validationMode:X,validation:J}=oD(),Z=oA({id:s}),ee=oR({locale:H}),[et,en]=eZ.useState(!1),[ea,eo]=eZ.useState(null),er=eZ.useRef([]),es=eZ.useRef([]),ei=eZ.useRef(null),el=eZ.useRef(null),ec=eZ.useRef(null),ep=eZ.useRef(null),ed=eZ.useRef(null),eu=eZ.useRef(!0),em=eZ.useRef(!1),eh=eZ.useRef(null),ef=eZ.useRef(null),eg=eZ.useRef(null),eb=eZ.useRef(oB),ev=eZ.useRef(null),ey=eZ.useRef([]),ej=eZ.useRef([]),ek=Y||g,ew=G??f,e_="multiple"===m,eE="single"===m,eD=void 0!==u||void 0!==d,eT=void 0!==k,eI=void 0!==w;n="always"===D?"always":!!D&&"input-change";let[ex,eC]=tK({controlled:c,default:e_?l??n2:l,name:"Combobox",state:"selectedValue"}),eS=eZ.useMemo(()=>null===_?()=>!0:void 0!==_?_:eE&&!et?oM(ee,S,ex):oN(ee,S),[_,eE,ex,et,ee,S]),eA=tJ(()=>eD?d??"":eE?oc(ex,S):"").current,[eN,eM]=tK({controlled:u,default:eA,name:"Combobox",state:"inputValue"}),[eO,eR]=tK({controlled:e.open,default:e.defaultOpen,name:"Combobox",state:"open"}),eF=ol(k),eP=ea??(""===eN?"":String(eN).trim()),eL=eE?oc(ex,S):"",eB=eE&&!et&&""!==eP&&""!==eL&&eL.length===eP.length&&ee.contains(eL,eP),eH=eB?"":eP,eU=eT&&eI&&eB,ez=eZ.useMemo(()=>k?eF?k.flatMap(e=>e.items):k:n2,[k,eF]),e$=eZ.useMemo(()=>{if(w&&!eU)return w;if(!k)return n2;if(eF){let e=[],t=0;for(let n of k){if(P>-1&&t>=P)break;let a=""===eH?n.items:n.items.filter(e=>eS(e,eH,S));if(0===a.length)continue;let o=P>-1?P-t:1/0,r=a.slice(0,o);if(r.length>0){let a={...n,items:r};e.push(a),t+=r.length}}return e}if(""===eH)return P>-1?ez.slice(0,P):ez;let e=[];for(let t of ez){if(P>-1&&e.length>=P)break;eS(t,eH,S)&&e.push(t)}return e},[w,eU,k,eF,eH,P,eS,S,ez]),eq=eZ.useMemo(()=>eF?e$.flatMap(e=>e.items):e$,[e$,eF]),eV=tJ(()=>new no({id:Z,labelId:void 0,selectedValue:ex,open:eO,filter:eS,query:eP,items:k,selectionMode:m,listRef:er,labelsRef:es,popupRef:ei,emptyRef:ed,inputRef:el,startDismissRef:ec,endDismissRef:ep,keyboardActiveRef:eu,chipsContainerRef:eh,clearRef:ef,valuesRef:ey,allValuesRef:ej,selectionEventRef:eg,name:ew,disabled:ek,readOnly:b,required:v,grid:j,isGrouped:eF,virtualized:M,openOnInputClick:E,itemToStringLabel:S,isItemEqualToValue:N,modal:F,autoHighlight:n,submitOnItemClick:U,hasInputValue:eD,mounted:!1,forceMounted:!1,transitionStatus:"idle",inline:O,activeIndex:null,selectedIndex:null,popupProps:{},inputProps:{},triggerProps:{},positionerElement:null,listElement:null,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,onOpenChangeComplete:i||n4,setOpen:n4,setInputValue:n4,setSelectedValue:n4,setIndices:n4,onItemHighlighted:n4,handleSelection:n4,getItemProps:()=>n3,forceMount:n4,requestSubmit:n4})).current,eW="none"===m?eN:ex,eG=eZ.useMemo(()=>"none"===m?eW:Array.isArray(ex)?ex.map(e=>op(e,A)):op(ex,A),[eW,A,m,ex]),eY=t1(h),eK=t1(i),eQ=na(eV,ou.activeIndex,void 0,void 0,void 0),eX=na(eV,ou.selectedIndex,void 0,void 0,void 0),eJ=na(eV,ou.positionerElement,void 0,void 0,void 0),e0=na(eV,ou.listElement,void 0,void 0,void 0),e1=na(eV,ou.triggerElement,void 0,void 0,void 0),e6=na(eV,ou.inputElement,void 0,void 0,void 0),e4=na(eV,ou.inputGroupElement,void 0,void 0,void 0),e2=na(eV,ou.inline,void 0,void 0,void 0),e3=na(eV,ou.inputInsidePopup,void 0,void 0,void 0),e5=nr(e1),{mounted:e9,setMounted:e8,transitionStatus:e7}=oF(eO),{openMethod:te,triggerProps:tt}=function(e){let t,n,[a,o]=eZ.useState(null),r=t1((t,n)=>{e||o(n||(nU?"touch":""))});oP(e,t=>{t&&!e&&o(null)});let{onClick:s,onPointerDown:i}=(t=eZ.useRef(""),n=eZ.useCallback(e=>{e.defaultPrevented||(t.current=e.pointerType,r(e,e.pointerType))},[r]),{onClick:eZ.useCallback(e=>{0===e.detail?r(e,"keyboard"):(r(e,"pointerType"in e?e.pointerType:t.current),t.current="")},[r]),onPointerDown:n});return eZ.useMemo(()=>({openMethod:a,triggerProps:{onClick:s,onPointerDown:i}}),[a,s,i])}(eO);!function(e){let{enabled:t=!0,value:n,id:a,name:o,controlRef:r,commit:s}=e,{formRef:i}=oI(),{invalid:l,markedDirtyRef:c,validityData:p,setValidityData:d}=oD(),u=t1(e.getValue);tQ(()=>
9{if(!t)return;let e=n;void 0===e&&(e=u()),null===p.initialValue&&null!==e&&d(t=>({...t,initialValue:e}))},[t,d,n,p.initialValue,u]),tQ(()=>{t&&a&&i.current.fields.set(a,{getValue:u,name:o,controlRef:r,validityData:{...p,state:{...p.state,valid:!l&&p.state.valid}},validate(e=!0){let t=n;void 0===t&&(t=u()),c.current=!0,e?om.flushSync(()=>s(t)):s(t)}})},[s,r,t,i,u,a,l,c,o,p,n]),tQ(()=>{let e=i.current.fields;return()=>{a&&e.delete(a)}},[i,a])}({id:Z,name:ew,commit:J.commit,value:eW,controlRef:e3?e5:el,getValue:()=>eG});let tn=t1(()=>{k?es.current=eq.map(e=>oc(e,S)):eV.set("forceMounted",!0)}),ta=eZ.useRef(ex);tQ(()=>{ex!==ta.current&&tn()},[tn,ex]);let to=t1(e=>{eV.update(e);let t=e.type||"none";if(void 0!==e.activeIndex)if(null===e.activeIndex)eb.current!==oB&&(eb.current=oB,eY(void 0,n9(t,void 0,{index:-1})));else{let n=ey.current[e.activeIndex];eb.current={value:n,index:e.activeIndex},eY(n,n9(t,void 0,{index:e.activeIndex}))}}),tr=t1((t,a)=>{if(em.current=a.reason===n8.inputClear,e.onInputValueChange?.(t,a),!a.isCanceled){if(a.reason===n8.inputChange){let e=a.event,o=e.inputType;if("compositionend"===e.type||null!=o&&""!==o&&"insertReplacementText"!==o){let e=""!==t.trim();e&&en(!0),ev.current={hasQuery:e},e&&n&&null==eV.state.activeIndex&&eV.set("activeIndex",0)}}eM(t)}}),ts=t1((t,n)=>{if(eO!==t&&("escape-key"===n.reason&&eT&&0===eq.length&&!eV.state.emptyRef.current&&n.allowPropagation(),e.onOpenChange?.(t,n),!n.isCanceled&&(!t&&et&&(eE?(e2||eo(eP),""===eP&&en(!1)):e_&&(e2||e3?to({activeIndex:null}):eo(eP),tr("",n5(n8.inputClear,n.event)))),eR(t),!t&&e3&&(n.reason===n8.focusOut||n.reason===n8.outsidePress))&&(K(!0),Q(!1),"onBlur"===X))){let e="none"===m?eN:ex;J.commit(e)}}),ti=t1((e,t)=>{p?.(e,t),t.isCanceled||(eC(e),("none"===m&&ei.current&&R||eE&&!eV.state.inputInsidePopup)&&tr(oc(e,S),n5(t.reason,t.event)),eE&&null!=e&&t.reason!==n8.inputChange&&et&&!e2&&eo(eP))}),tl=t1((e,t)=>{let n=t;if(void 0===n){if(null===eQ)return;n=ey.current[eQ]}let a=nA(e),o=eg.current??e;eg.current=null;let r=n5(n8.itemPress,o),s=a?.closest("a")?.getAttribute("href");if(s){s.startsWith("#")&&ts(!1,r);return}if(e_){var i,l,c,p;let e=Array.isArray(ex)?ex:[];if(ti((i=n,l=eV.state.isItemEqualToValue,e&&0!==e.length&&e.some(e=>void 0!==e&&oo(i,e,l)))?(c=n,p=eV.state.isItemEqualToValue,e.filter(e=>!oo(c,e,p))):[...e,n],r),!(el.current&&""!==el.current.value.trim()))return;eV.state.inputInsidePopup?tr("",n5(n8.inputClear,r.event)):ts(!1,r)}else ti(n,r),ts(!1,r)}),tc=t1(()=>{if(!eV.state.submitOnItemClick)return;let e=eV.state.inputElement?.form;e&&"function"==typeof e.requestSubmit&&e.requestSubmit()}),tp=t1(()=>{if(e8(!1),eK?.(!1),en(!1),eo(null),"none"===m?to({activeIndex:null,selectedIndex:null}):to({activeIndex:null}),e_&&el.current&&""!==el.current.value&&!em.current&&tr("",n5(n8.inputClear)),eE)if(eV.state.inputInsidePopup)el.current&&""!==el.current.value&&tr("",n5(n8.inputClear));else{let e=oc(ex,S);if(el.current&&el.current.value!==e){let t=""===e?n8.inputClear:n8.none;tr(e,n5(t))}}}),td=eZ.useMemo(()=>e2&&eJ?{current:eJ.closest('[role="dialog"]')}:ei,[e2,eJ]);oy({enabled:!e.actionsRef,open:eO,ref:td,onComplete(){eO||tp()}}),eZ.useImperativeHandle(e.actionsRef,()=>({unmount:tp}),[tp]),tQ(function(){if(eO||"none"===m)return;let e=k?ez:ej.current;if(e_){let t=Array.isArray(ex)?ex:[],n=or(e,t[t.length-1],N);to({selectedIndex:-1===n?null:n})}else{let t=or(e,ex,N);to({selectedIndex:-1===t?null:t})}},[eO,ex,k,m,ez,e_,N,to]),tQ(()=>{k&&(ey.current=eq,er.current.length=eq.length)},[k,eq]),tQ(()=>{let e=ev.current;if(e&&(e.hasQuery?n&&eV.set("activeIndex",0):"always"===n&&eV.set("activeIndex",0),ev.current=null),!eO&&!e2)return;let t=eT||eI?eq:ey.current,a=eV.state.activeIndex;if(null==a)return"always"===n&&t.length>0?void eV.set("activeIndex",0):void(eb.current!==oB&&(eb.current=oB,eV.state.onItemHighlighted(void 0,n9(n8.none,void 0,{index:-1}))));if(a>=t.length){eb.current!==oB&&(eb.current=oB,eV.state.onItemHighlighted(void 0,n9(n8.none,void 0,{index:-1}))),eV.set("activeIndex",null);return}let o=t[a],r=eb.current.value,s=r!==oL&&oo(o,r,eV.state.isItemEqualToValue);eb.current.index===a&&s||(eb.current={value:o,index:a}
9,eV.state.onItemHighlighted(o,n9(n8.none,void 0,{index:a})))},[eQ,n,eI,eT,eq,e2,eO,eV]),tQ(()=>{"none"===m?W(""!==String(eN)):W(e_?Array.isArray(ex)&&ex.length>0:null!=ex)},[W,m,eN,ex,e_]),eZ.useEffect(()=>{eT&&n&&0===eq.length&&to({activeIndex:null})},[eT,n,eq.length,to]),oP(eP,()=>{eO&&""!==eP&&eP!==String(eA)&&en(!0)}),oP(ex,()=>{if("none"!==m&&(z(ew),$(ex!==q.initialValue),V()?J.commit(ex):J.commit(ex,!0),eE&&!eD&&!e3)){let e=oc(ex,S);eN!==e&&tr(e,n5(n8.none))}}),oP(eN,()=>{"none"===m&&(z(ew),$(eN!==q.initialValue),V()?J.commit(eN):J.commit(eN,!0))}),oP(k,()=>{if(!eE||eD||e3||et)return;let e=oc(ex,S);eN!==e&&tr(e,n5(n8.none))});let tu=aO({open:!!e2||eO,onOpenChange:ts,elements:{reference:e3?e1:e6,floating:eJ}});e2||(a=j?"grid":"listbox",o=eO?"true":"false");let{getReferenceProps:tm,getFloatingProps:th,getItemProps:tf}=function(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),a=e.map(e=>e?.item),o=e.map(e=>e?.trigger),r=eZ.useCallback(t=>aR(t,e,"reference"),t),s=eZ.useCallback(t=>aR(t,e,"floating"),n),i=eZ.useCallback(t=>aR(t,e,"item"),a),l=eZ.useCallback(t=>aR(t,e,"trigger"),o);return eZ.useMemo(()=>({getReferenceProps:r,getFloatingProps:s,getItemProps:i,getTriggerProps:l}),[r,s,i,l])}([eZ.useMemo(()=>{let e=e6?.tagName==="INPUT",t=null==e6||e,n=t||eO,r=t?{autoComplete:"off",spellCheck:"false",autoCorrect:"off",autoCapitalize:"none"}:{};return n&&(r.role="combobox",r["aria-expanded"]=o,r["aria-haspopup"]=a,r["aria-controls"]=eO?e0?.id:void 0,r["aria-autocomplete"]=L),{reference:r,floating:{role:"presentation"}}},[e6,eO,o,a,e0?.id,L]),a2(tu,{enabled:!b&&!ek&&E,event:"mousedown-only",toggle:!1,touchOpenDelay:50*!e3,reason:n8.inputPress}),function(e,n={}){let a="rootStore"in e?e.rootStore:e,o=a.useState("open"),r=a.useState("floatingElement"),{dataRef:s}=a.context,{enabled:i=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:p="sloppy",referencePress:d=at,referencePressEvent:u="sloppy",bubbles:m,externalTree:h}=n,f=n6(h),g=t1("function"==typeof c?c:()=>!1),b="function"==typeof c?g:c,v=!1!==b,y=t1(()=>p),j=eZ.useRef(!1),k=eZ.useRef(!1),w=eZ.useRef(!1),{escapeKey:_,outsidePress:E}={escapeKey:"boolean"==typeof m?m:m?.escapeKey??!1,outsidePress:"boolean"==typeof m?m:m?.outsidePress??!0},D=eZ.useRef(null),T=nj(),I=nj(),x=t1(()=>{I.clear(),s.current.insideReactTree=!1}),C=eZ.useRef(!1),S=eZ.useRef(""),A=t1(d),N=t1(e=>{if(!o||!i||!l||"Escape"!==e.key||C.current)return;let t=s.current.floatingContext?.nodeId,n=f?nX(f.nodesRef.current,t):[];if(!_&&n.length>0){let e=!0;if(n.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let r="nativeEvent"in e?e.nativeEvent:e,c=n5(n8.escapeKey,r);a.setOpen(!1,c),_||c.isPropagationAllowed||e.stopPropagation()}),M=t1(()=>{s.current.insideReactTree=!0,I.start(0,x)});eZ.useEffect(()=>{if(!o||!i)return;s.current.__escapeKeyBubbles=_,s.current.__outsidePressBubbles=E;let e=new ny,n=new ny;function c(){e.clear(),C.current=!0}function p(){e.start(5*(null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!!t),()=>{C.current=!1})}function d(){w.current=!0,n.start(0,()=>{w.current=!1})}function u(){j.current=!1,k.current=!1}function m(){let e=S.current,t=y(),n="function"==typeof t?t():t;return"string"==typeof n?n:n["pen"!==e&&e?e:"mouse"]}function h(e){let t=s.current.floatingContext?.nodeId,n=f&&nX(f.nodesRef.current,t).some(t=>nN(e,t.context?.elements.floating));return nN(e,a.select("floatingElement"))||nN(e,a.select("domReferenceElement"))||n}function g(e){let t;if("intentional"===(t=m())&&"click"!==e.type||"sloppy"===t&&"click"===e.type||s.current.insideReactTree)return void x();let o=nA(e),r=`[${n7("inert")}]`,i=Array.from(nk(a.select("floatingElement")).querySelectorAll(r)),l=nd(o)?o.getRootNode():null;nm(l)&&(i=i.concat(Array.from(l.querySelectorAll(r))));let c=a.context.triggerElements;if(o&&(c.hasElement(o)||c.hasMatchingElement(e=>nS(e,o))))return;let p=nd(o)?o:null;for(;p&&!nf(p);){let e=function(e){var t;if("html"===nl(e))return e;let n=e.assignedSlot||e.parentNode||nm(e)&&e.host||(null==(t=(np(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement);return nm(n)?n.host:n}(p);if(nf(e)||!nd(e))break;p=e}if(i.length&&nd(o)&&!o.matches("html,body")&&!nS(o,a.select("floatingElement"))&&i.every(e=>!nS(p,e)))return;if(nu(o)&&!("touches"in e)){let t=nf(o),n=ng(o),a=/auto|scroll/,r=t||a.test(n.overflowX),s=t||a.test(n.overflowY),i=r&&o.clientWidth>0&&o.scrollWidth>o.clientWidth,l=s&&o.clientHeight>0&&o.scrollHeight>o.clientHeight,c="rtl"===n.direction,p=l&&(c?e.offsetX<=o.offsetWidth-o.clientWidth:e.offsetX>o.clientWidth),d=i&&e.offsetY>o.clientHeight;if(p||d)return}if(h(e))return;if("intentional"===m()&&w.current){n.clear(),w.current=!1;return}if("function"==typeof b&&!b(e))return;let d=s.current.floatingContext?.nodeId,u=f?nX(f.nodesRef.current,d):[];if(u.length>0){let e=!0;if(u.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}a.setOpen(!1,n5(n8.outsidePress,e)),x()}function I(e){S.current="touch";let t=nA(e);t?.addEventListener(e.type,function n(){!function(e){if("sloppy"!==m()||!a.select("open")||!i||nN(e,a.select("floatingElement"))||nN(e,a.select("domReferenceElement")))return;let t=e.touches[0];t&&(D.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},T.start(1e3,()=>{D.current&&(D.current.dismissOnTouchEnd=!1,D.current.dismissOnMouseDown=!1)}))}(e),t?.removeEventListener(e.type,n)})}function A(e){if(T.clear(),"pointerdown"===e.type&&(S.current=e.pointerType),"mousedown"===e.type&&D.current&&!D.current.dismissOnMouseDown)return;let t=nA(e);t?.addEventListener(e.type,function n(){if("pointerdown"===e.type)"sloppy"!==m()||"touch"===e.pointerType||!a.select("open")||!i||nN(e,a.select("floatingElement"))||nN(e,a.select("domReferenceElement"))||g(e);else g(e);t?.removeEventListener(e.type,n)})}function M(e){if(!j.current)return;let t=k.current;if(u(),"intentional"===m()){if("pointercancel"===e.type){t&&d();return}h(e)||(t?d():("function"!=typeof b||b(e))&&(n.clear(),w.current=!0,x()))}}function O(e){let t=nA(e);t?.addEventListener(e.type,function n(){!function(e){if("sloppy"!==m()||!D.current||nN(e,a.select("floatingElement"))||nN(e,a.select("domReferenceElement")))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-D.current.startX),o=Math.abs(t.clientY-D.current.startY),r=Math.sqrt(n*n+o*o);r>5&&(D.current.dismissOnTouchEnd=!0),r>10&&(g(e),T.clear(),D.current=null)}(e),t?.removeEventListener(e.type,n)})}function R(e){let t=nA(e);t?.addEventListener(e.type,function n(){"sloppy"!==m()||!D.current||nN(e,a.select("floatingElement"))||nN(e,a.select("domReferenceElement"))||(D.current.dismissOnTouchEnd&&g(e),T.clear(),D.current=null),t?.removeEventListener(e.type,n)})}let F=nk(r);return l&&(F.addEventListener("keydown",N),F.addEventListener("compositionstart",c),F.addEventListener("compositionend",p)),v&&(F.addEventListener("click",A,!0),F.addEventListener("pointerdown",A,!0),F.addEventListener("pointerup",M,!0),F.addEventListener("pointercancel",M,!0),F.addEventListener("mousedown",A,!0),F.addEventListener("mouseup",M,!0),F.addEventListener("touchstart",I,!0),F.addEventListener("touchmove",O,!0),F.addEventListener("touchend",R,!0)),()=>{l&&(F.removeEventListener("keydown",N),F.removeEventListener("compositionstart",c),F.removeEventListener("compositionend",p)),v&&(F.removeEventListener("click",A,!0),F.removeEventListener("pointerdown",A,!0),F.removeEventListener("pointerup",M,!0),F.removeEventListener("pointercancel",M,!0),F.removeEventListener("mousedown",A,!0),F.removeEventListener("mouseup",M,!0),F.removeEventListener("touchstart",I,!0),F.removeEventListener("touchmove",O,!0),F.removeEventListener("touchend",R,!0)),e.clear(),n.clear(),u(),w.current=!1}},[s,r,l,v,b,o,i,_,E,N,x,y,f,a,T]),eZ.useEffect(x,[b,x]);let O=eZ.useMemo(()=>({onKeyDown:N,[ae[u]]:e=>{A()&&a.setOpen(!1,n5(n8.triggerPress,e.nativeEvent))},..."intentional"!==u&&{onClick(e){A()&&a.setOpen(!1,n5(n8.triggerPress,e.nativeEvent))}}}),[N,a,u,A]),R=t1(e=>{if(!o||!i||0!==e.button)return;let t=nA(e.nativeEvent);nS(a.select("floatingElement"),t)&&(j.current||(j.current=!0,k.current=!1))}),F=t1(e=>{!o||!i||(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&j.current&&(k.current=!0)}),P=eZ.useMemo(()=>({onKeyDown:N,onPointerDown:F,onMouseDown:F,onClickCapture:M,onMouseDownCapture(e){M(),R(e)},onPointerDownCapture(e){M(),R(e)},onMouseUpCapture:M,onTouchEndCapture:M,onTouchMoveCapture:M}),[N,M,R,F]);return eZ.useMemo(()=>i?{reference:O,floating:P,trigger:O}:{},[i,O,P])}(tu,{enabled:!b&&!ek&&!e2,outsidePressEvent:{mouse:"sloppy",touch:"intentional"},bubbles:!!e2||void 0,outsidePress(e){let t=nA(e);return!nS(e1,t)&&!nS(ef.current,t)&&!nS(eh.current,t)&&!nS(e4,t)}}),function(e,t){let n="rootStore"in e?e.rootStore:e,a=n.useState("open"),o=n.useState("floatingElement"),r=n.useState("domReferenceElement"),s=n.context.dataRef,{listRef:i,activeIndex:l,onNavigate:c=()=>{},enabled:p=!0,selectedIndex:d=null,allowEscape:u=!1,loopFocus:m=!1,nested:h=!1,rtl:f=!1,virtual:g=!1,focusItemOnOpen:b="auto",focusItemOnHover:v=!0,openOnArrowKeyDown:y=!0,disabledIndices:j,orientation:k="vertical",parentOrientation:w,cols:_=1,id:E,resetOnPointerLeave:D=!0,externalTree:T}=t,I=nr(nR(o)),x=n1(),C=n6(T);tQ(()=>{s.current.orientation=k},[s,k]);let S=nO(r),A=eZ.useRef(b),N=eZ.useRef(d??-1),M=eZ.useRef(null),O=eZ.useRef(!0),R=t1(e=>{c(-1===N.current?null:N.current,e)}),F=eZ.useRef(R),P=eZ.useRef(!!o),L=eZ.useRef(a),B=eZ.useRef(!1),H=eZ.useRef(!1),U=nr(j),z=nr(a),$=nr(d),q=nr(D),V=t1(()=>{function e(e){g?C?.events.emit("virtualfocus",e):aX(e,{sync:B.current,preventScroll:!0})}let t=i.current[N.current],n=H.current;t&&e(t),(B.current?e=>e():requestAnimationFrame)(()=>{let a=i.current[N.current]||t;!a||(t||e(a),G&&(n||!O.current)&&a.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});tQ(()=>{p&&(a&&o?(N.current=d??-1,A.current&&null!=d&&(H.current=!0,R())):P.current&&(N.current=-1,F.current()))},[p,a,o,d,R]),tQ(()=>
9{if(p){if(!a){B.current=!1;return}if(o)if(null==l){if(B.current=!1,null!=$.current)return;if(P.current&&(N.current=-1,V()),(!L.current||!P.current)&&A.current&&(null!=M.current||!0===A.current&&null==M.current)){let e=0,t=()=>{null==i.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(N.current=null==M.current||a0(M.current,k,f)||h?aV(i):aW(i),M.current=null,R())};t()}}else aq(i,l)||(N.current=l,V(),H.current=!1)}},[p,a,o,l,$,h,i,k,f,R,V,U]),tQ(()=>{if(!p||o||!C||g||!P.current)return;let e=C.nodesRef.current,t=e.find(e=>e.id===x)?.context?.elements.floating,n=nC(nk(o)),a=e.some(e=>e.context&&nS(e.context.elements.floating,n));t&&!a&&O.current&&t.focus({preventScroll:!0})},[p,o,C,x,g]),tQ(()=>{F.current=R,L.current=a,P.current=!!o}),tQ(()=>{a||(M.current=null,A.current=b)},[a,b]);let W=null!=l,G=eZ.useMemo(()=>{function e(e){if(!z.current)return;let t=i.current.indexOf(e.currentTarget);-1!==t&&N.current!==t&&(N.current=t,R(e))}return{onFocus(t){B.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(t){B.current=!0,H.current=!1,v&&e(t)},onPointerLeave(e){if(!z.current||!O.current||"touch"===e.pointerType)return;B.current=!0;let t=e.relatedTarget;if(!(!v||i.current.includes(t))&&q.current&&(aX(null,{sync:!0}),N.current=-1,R(e),!g)){let e=I.current,t=nC(nk(e));e&&nS(e,t)&&e.focus({preventScroll:!0})}}}},[z,I,v,i,R,q,g]),Y=eZ.useCallback(()=>w??C?.nodesRef.current.find(e=>e.id===x)?.context?.dataRef?.current.orientation,[x,C,w]),K=t1(e=>{var t,o;if(O.current=!1,B.current=!0,229===e.which||!z.current&&e.currentTarget===I.current)return;if(h&&(t=e.key,"both"===k||"horizontal"===k&&_&&_>1?"Escape"===t:aJ(k,f?t===nT:t===nD,t===nI))){aZ(e.key,Y())||nW(e),n.setOpen(!1,n5(n8.listNavigation,e.nativeEvent)),nu(r)&&(g?C?.events.emit("virtualfocus",r):r.focus());return}let s=N.current,l=aV(i,j),c=aW(i,j);if(S||("Home"===e.key&&(nW(e),N.current=l,R(e)),"End"===e.key&&(nW(e),N.current=c,R(e))),_>1){let t,n,a=Array.from({length:i.current.length},()=>({width:1,height:1})),r=(t=[],n=0,a.forEach(({width:e,height:a},o)=>{let r=!1;for(;!r;){let s=[];for(let t=0;t<e;t+=1)for(let e=0;e<a;e+=1)s.push(n+t+e*_);n%_+e<=_&&s.every(e=>null==t[e])?(s.forEach(e=>{t[e]=o}),r=!0):n+=1}}),[...t]),s=r.findIndex(e=>null!=e&&!aY(i,e,j)),p=r.reduce((e,t,n)=>null==t||aY(i,t,j)?e:n,-1),d=r[function(e,{event:t,orientation:n,loopFocus:a,rtl:o,cols:r,disabledIndices:s,minIndex:i,maxIndex:l,prevIndex:c,stopEvent:p=!1}){let d,u=c;if(t.key===nI?d="up":t.key===nx&&(d="down"),d){let n=[],o=[],m=!1,h=0;{let t=null,a=-1;e.current.forEach((e,r)=>{if(null==e)return;h+=1;let s=e.closest('[role="row"]');
9s&&(m=!0),(s!==t||-1===a)&&(t=s,n[a+=1]=[]),n[a].push(r),o[r]=a})}let f=!1,g=0;if(m)for(let e of n){let t=e.length;t>g&&(g=t),t!==r&&(f=!0)}let b=f&&h<e.current.length,v=g||r;p&&nW(t);let y=(t=>{if(!f||-1===c)return;let r=o[c];if(null==r)return;let i=n[r].indexOf(c),l="up"===t?-1:1;for(let t=r+l,o=0;o<n.length;o+=1,t+=l){if(t<0||t>=n.length){if(!a||b)return;t=t<0?n.length-1:0}let o=n[t];for(let t=Math.min(i,o.length-1);t>=0;t-=1){let n=o[t];if(!aY(e,n,s))return n}}})(d)??(t=>{if(!b||-1===c)return;let n=c%v,o="up"===t?-v:v,r=l-l%v,i=aB(l/v)+1;for(let t=c-n+o,p=0;p<i;p+=1,t+=o){if(t<0||t>l){if(!a)return;t=t<0?r:0}let o=Math.min(t+v-1,l);for(let a=Math.min(t+n,o);a>=t;a-=1)if(!aY(e,a,s))return a}})(d);if(void 0!==y)u=y;else if(-1===c)u="up"===d?l:i;else if(u=aG(e,{startingIndex:c,amount:v,decrement:"up"===d,disabledIndices:s}),a){if("up"===d&&(c-v<i||u<0)){let e=c%v,t=l%v,n=l-(t-e);u=t===e?l:t>e?n:n-v}"down"===d&&c+v>l&&(u=aG(e,{startingIndex:c%v-v,amount:v,disabledIndices:s}))}aq(e,u)&&(u=c)}if("both"===n){let n=aB(c/r);t.key===(o?nD:nT)&&(p&&nW(t),c%r!=r-1?(u=aG(e,{startingIndex:c,disabledIndices:s}),a&&a$(u,r,n)&&(u=aG(e,{startingIndex:c-c%r-1,disabledIndices:s}))):a&&(u=aG(e,{startingIndex:c-c%r-1,disabledIndices:s})),a$(u,r,n)&&(u=c)),t.key===(o?nT:nD)&&(p&&nW(t),c%r!=0?(u=aG(e,{startingIndex:c,decrement:!0,disabledIndices:s}),a&&a$(u,r,n)&&(u=aG(e,{startingIndex:c+(r-c%r),decrement:!0,disabledIndices:s}))):a&&(u=aG(e,{startingIndex:c+(r-c%r),decrement:!0,disabledIndices:s})),a$(u,r,n)&&(u=c));let i=aB(l/r)===n;aq(e,u)&&(u=a&&i?t.key===(o?nT:nD)?l:aG(e,{startingIndex:c-c%r-1,disabledIndices:s}):c)}return u}({current:r.map(e=>null!=e?i.current[e]:null)},{event:e,orientation:k,loopFocus:m,rtl:f,cols:_,disabledIndices:(o=[...("function"!=typeof j?j:null)||i.current.map((e,t)=>aY(i,t,j)?t:void 0),void 0],r.flatMap((e,t)=>o.includes(e)?[t]:[])),minIndex:s,maxIndex:p,prevIndex:function(e,t,n,a,o){if(-1===e)return -1;let r=n.indexOf(e),s=t[e];switch(o){case"tl":return r;case"tr":if(!s)return r;return r+s.width-1;case"bl":if(!s)return r;return r+(s.height-1)*a;case"br":return n.lastIndexOf(e);default:return -1}}(N.current>c?l:N.current,a,r,_,e.key===nx?"bl":e.key===(f?nD:nT)?"tr":"tl"),stopEvent:!0})];if(null!=d&&(N.current=d,R(e)),"both"===k)return}if(aZ(e.key,k)){if(nW(e),a&&!g&&nC(e.currentTarget.ownerDocument)===e.currentTarget){N.current=a0(e.key,k,f)?l:c,R(e);return}a0(e.key,k,f)?m?s>=c?u&&s!==i.current.length?N.current=-1:(B.current=!1,N.current=l):N.current=aG(i,{startingIndex:s,disabledIndices:j}):N.current=Math.min(c,aG(i,{startingIndex:s,disabledIndices:j})):m?s<=l?u&&-1!==s?N.current=i.current.length:(B.current=!1,N.current=c):N.current=aG(i,{startingIndex:s,decrement:!0,disabledIndices:j}):N.current=Math.max(l,aG(i,{startingIndex:s,decrement:!0,disabledIndices:j})),aq(i,N.current)&&(N.current=-1),R(e)}}),Q=eZ.useMemo(()=>g&&a&&W&&{"aria-activedescendant":`${E}-${l}`},[g,a,W,E,l]),X=eZ.useMemo(()=>({"aria-orientation":"both"===k?void 0:k,...!S?Q:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&a&&!g){let t=nA(e.nativeEvent);if(t&&!nS(I.current,t))return;nW(e),n.setOpen(!1,n5(n8.focusOut,e.nativeEvent)),nu(r)&&r.focus();return}K(e)},onPointerMove(){O.current=!0}}),[Q,K,I,k,S,n,a,g,r]),J=eZ.useMemo(()=>{function e(e){"auto"===b&&nG(e.nativeEvent)&&(A.current=!g)}function t(e){A.current=b,"auto"===b&&nY(e.nativeEvent)&&(A.current=!0)}return{onKeyDown(e){var t;let a=n.select("open");O.current=!1;let o=e.key.startsWith("Arrow"),r=(t=e.key,aJ(Y(),f?t===nD:t===nT,t===nx)),s=aZ(e.key,k),l=(h?r:s)||"Enter"===e.key||""===e.key.trim();if(g&&a)return K(e);if(a||y||!o){if(l){let t=aZ(e.key,Y());M.current=h&&t?null:e.key}if(h){r&&(nW(e),a?(N.current=aV(i,U.current),R(e)):n.setOpen(!0,n5(n8.listNavigation,e.nativeEvent,e.currentTarget)));return}s&&(null!=$.current&&(N.current=$.current),nW(e),!a&&y?n.setOpen(!0,n5(n8.listNavigation,e.nativeEvent,e.currentTarget)):K(e),a&&R(e))}},onFocus(e){n.select("open")&&!g&&(N.current=-1,R(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[K,U,b,i,h,R,n,y,k,Y,f,$,g]),Z=eZ.useMemo(()=>({...Q,...J}),[Q,J]);return eZ.useMemo(()=>p?{reference:Z,floating:X,item:G,trigger:J}:{},[p,Z,X,J,G])}(tu,{enabled:!b&&!ek,id:Z,listRef:er,activeIndex:eQ,selectedIndex:eX,virtual:!0,loopFocus:C,allowEscape:C&&!n,focusItemOnOpen:!et&&("none"!==m||!!n)&&"auto",focusItemOnHover:x,resetOnPointerLeave:!I,cols:j?2:1,orientation:j?"horizontal":void 0,disabledIndices:n2,onNavigate(e,t){(t||eO)&&"ending"!==e7&&(t?to({activeIndex:e,type:eu.current?"keyboard":"pointer"}):to({activeIndex:e}))}})]);(r=eZ.useRef(!0)).current&&(r.current=!1,(()=>
9{eV.update({inline:O,popupProps:th(),inputProps:tm(),triggerProps:tt,getItemProps:tf,setOpen:ts,setInputValue:tr,setSelectedValue:ti,setIndices:to,onItemHighlighted:eY,handleSelection:tl,forceMount:tn,requestSubmit:tc})})()),tQ(()=>{eV.update({id:Z,selectedValue:ex,open:eO,mounted:e9,transitionStatus:e7,items:k,inline:O,popupProps:th(),inputProps:tm(),triggerProps:tt,openMethod:te,getItemProps:tf,selectionMode:m,name:ew,disabled:ek,readOnly:b,required:v,grid:j,isGrouped:eF,virtualized:M,onOpenChangeComplete:eK,openOnInputClick:E,itemToStringLabel:S,modal:F,autoHighlight:n,isItemEqualToValue:N,submitOnItemClick:U,hasInputValue:eD,requestSubmit:tc})},[eV,Z,ex,eO,e9,e7,k,th,tm,tf,te,tt,m,ew,ek,b,v,J,j,eF,M,eK,E,S,F,N,U,eD,O,tc,n]);let tg=t2(y,J.inputRef),tb=eZ.useMemo(()=>({query:eP,hasItems:eT,filteredItems:e$,flatFilteredItems:eq}),[eP,eT,e$,eq]),tv=eZ.useMemo(()=>Array.isArray(eW)?"":op(eW,A),[eW,A]),ty=e_&&Array.isArray(ex)&&ex.length>0,tj=e_||"none"===m?void 0:ew,tk=eZ.useMemo(()=>e_&&Array.isArray(ex)&&ew?ex.map(e=>{let t=op(e,A);return(0,T.jsx)("input",{type:"hidden",name:ew,value:t},t)}):null,[e_,ex,ew,A]),tw=(0,T.jsxs)(eZ.Fragment,{children:[e.children,(0,T.jsx)("input",{...J.getIn
9putValidationProps({onFocus(){e3?e1?.focus():(el.current||e1)?.focus()},onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.target.value,n=n5(n8.none,e.nativeEvent);function a(){if(e_)return;if("none"===m){$(t!==q.initialValue),tr(t,n),V()&&J.commit(t);return}let e=ey.current.find(e=>op(e,A).toLowerCase()===t.toLowerCase());null!=e&&($(e!==q.initialValue),ti?.(e,n),V()&&J.commit(e))}k?a():(tn(),queueMicrotask(a))}}),id:Z&&null==tj?`${Z}-hidden-input`:void 0,name:tj,autoComplete:B,disabled:ek,required:v&&!ty,readOnly:b,value:tv,ref:tg,style:tj?t7:t8,tabIndex:-1,"aria-hidden":!0}),tk]});return(0,T.jsx)(a3.Provider,{value:eV,children:(0,T.jsx)(a5.Provider,{value:tu,children:(0,T.jsx)(a9.Provider,{value:tb,children:(0,T.jsx)(a8.Provider,{value:eN,children:tw})})})})}function oU(e){if(!eZ.isValidElement(e))return null;let t=e.props;return(nn>=19?t?.ref:e.ref)??null}function oz(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}let o$={};function oq(e,t,n,a,o){let r={...oG(e,o$)};return t&&(r=oV(r,t)),n&&(r=oV(r,n)),a&&(r=oV(r,a)),o&&(r=oV(r,o)),r}function oV(e,t){return oW(t)?t(e):function(e,t){if(!t)return e;for(let n in t){let a=t[n];switch(n){case"style":e[n]=oz(e.style,a);break;case"className":e[n]=oK(e.className,a);break;default:!function(e,t){let n=e.charCodeAt(0),a=e.charCodeAt(1),o=e.charCodeAt(2);return 111===n&&110===a&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}(n,a)?e[n]=a:e[n]=function(e,t){return t?e?n=>{var a;if(null!=(a=n)&&"object"==typeof a&&"nativeEvent"in a){oY(n);let a=t(n);return n.baseUIHandlerPrevented||e?.(n),a}let o=t(n);return e?.(n),o}:t:e}(e[n],a)}}return e}(e,t)}function oW(e){return"function"==typeof e}function oG(e,t){return oW(e)?e(t):e??o$}function oY(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function oK(e,t){return t?e?t+" "+e:t:e}function oQ(e,t,n={}){let a=t.render,o=function(e,t={}){var n,a,o;let{className:r,style:s,render:i}=e,{state:l=n3,ref:c,props:p,stateAttributesMapping:d,enabled:u=!0}=t,m=u?"function"==typeof r?r(l):r:void 0,h=u?"function"==typeof s?s(l):s:void 0,f=u?function(e,t){let n={};for(let a in e){let o=e[a];if(t?.hasOwnProperty(a)){let e=t[a](o);null!=e&&Object.assign(n,e);continue}!0===o?n[`data-${a.toLowerCase()}`]="":o&&(n[`data-${a.toLowerCase()}`]=o.toString())}return n}(l,d):n3,g=u?oz(f,Array.isArray(p)?function(e){if(0===e.length)return o$;if(1===e.length)return oG(e[0],o$);let t={...oG(e[0],o$)};for(let n=1;n<e.length;n+=1)t=oV(t,e[n]);return t}(p):p)??n3:n3;if("u">typeof document)if(u)if(Array.isArray(c)){let e;n=[g.ref,oU(i),...c],a=e=tJ(t3).current,o=n,(a.refs.length!==o.length||a.refs.some((e,t)=>e!==o[t]))&&t5(e,n),g.ref=e.callback}else g.ref=t2(g.ref,oU(i),c);else t2(null,null);return u?(void 0!==m&&(g.className=oK(g.className,m)),void 0!==h&&(g.style=oz(g.style,h)),g):n3}(t,n);return!1===n.enabled?null:function(e,t,n,a){if(t){if("function"==typeof t)return t(n,a);let e=oq(n,t.props);e.ref=n.ref;let o=t;return o?.$$typeof===oX&&(o=eZ.Children.toArray(t)[0]),eZ.cloneElement(o,e)}if(e&&"string"==typeof e){var o,r;return o=e,r=n,"button"===o?(0,eZ.createElement)("button",{type:"button",...r,key:r.key}):"img"===o?(0,eZ.createElement)("img",{alt:"",...r,key:r.key}):eZ.createElement(o,r)}throw Error(as(8))}(e,a,o,n.state??n3)}let oX=Symbol.for("react.lazy"),oJ=eZ.forwardRef(function(e,t){let{render:n,className:a,...o}=e;delete o.id;let r=oD(),s=a7(),i=na(s,ou.inputInsidePopup,void 0,void 0,void 0),l=na(s,ou.triggerElement,void 0,void 0,void 0);na(s,ou.inputElement,void 0,void 0,void 0);let c=na(s,ou.id,void 0,void 0,void 0),p=function(e={}){let t,{id:n,fallbackControlId:a,native:o=!1,setLabelId:r,focusControl:s}=e,{controlId:i,setLabelId:l}=oS(),c=t1(e=>{l(e),r?.(e)}),p=(tQ(()=>(c(t),()=>{c(void 0)}),[t=ox(n),c]),t),d=i??a;function u(e){let t=nA(e.nativeEvent);t?.closest("button,input,select,textarea")||(!e.defaultPrevented&&e.detail>1&&e.preventDefault(),o||function(e){if(s)return s(e,d);if(!d)return;let t=nk(e.currentTarget).getElementById(d);nu(t)&&t.focus({focusVisible:!0})}(e))}return o?{id:p,htmlFor:d??void 0,onMouseDown:u}:{id:p,onClick:u,onPointerDown(e){e.preventDefault()}}}({id:null==c?void 0:`${c}-label`,fallbackControlId:l?.id??(i?c:void 0),setLabelId(e){s.set("labelId",e)}});return oQ("div",e,{ref:t,state:r.state,props:[p,o],stateAttributesMapping:o_})}),oZ=((s={}).open="data-open",s.closed="data-closed",s[s.startingStyle=of.startingStyle]="startingStyle",s[s.endingStyle=of.endingStyle]="endingStyle",s.anchorHidden="data-anchor-hidden",s.side="data-side",s.align="data-align",s),o0=((i={}).popupOpen="data-popup-open",i.pressed="data-pressed",i),o1={[o0.popupOpen]:""},o6={[o0.popupOpen]:"",[o0.pressed]:""},o4={[oZ.open]:""}
9,o2={[oZ.closed]:""},o3={[oZ.anchorHidden]:""},o5={open:e=>e?o4:o2,anchorHidden:e=>e?o3:null},o9={open:e=>e?o6:null,...o_,popupSide:e=>e?{"data-popup-side":e}:null,listEmpty:e=>e?{"data-list-empty":""}:null},o8=eZ.createContext(void 0);function o7(){return eZ.useContext(o8)}let re=eZ.createContext(void 0);function rt(e){let t=eZ.useContext(re);if(void 0===t&&!e)throw Error(as(21));return t}var n8=n8;let rn=eZ.createContext(void 0);function ra(){let e=eZ.useContext(rn);return e?.direction??"ltr"}let ro=eZ.createContext(void 0);function rr(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:a=0,native:o=!0,composite:r}=e,s=eZ.useRef(null),i=function(e=!1){let t=eZ.useContext(ro);if(void 0===t&&!e)throw Error(as(16));return t}(!0),l=r??void 0!==i,{props:c}=function(e){let{focusableWhenDisabled:t,disabled:n,composite:a=!1,tabIndex:o=0,isNativeButton:r}=e,s=a&&!1!==t,i=a&&!1===t;return{props:eZ.useMemo(()=>{let e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return a||(e.tabIndex=o,!r&&n&&(e.tabIndex=t?o:-1)),(r&&(t||s)||!r&&n)&&(e["aria-disabled"]=n),r&&(!t||i)&&(e.disabled=n),e},[a,n,t,s,i,r,o])}}({focusableWhenDisabled:n,disabled:t,composite:l,tabIndex:a,isNativeButton:o}),p=eZ.useCallback(()=>{let e=s.current;rs(e)&&l&&t&&void 0===c.disabled&&e.disabled&&(e.disabled=!1)},[t,c.disabled,l]);return tQ(p,[p]),{getButtonProps:eZ.useCallback((e={})=>{let{onClick:n,onMouseDown:a,onKeyUp:r,onKeyDown:s,onPointerDown:i,...p}=e;return oq({type:o?"button":void 0,onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||a?.(e)},onKeyDown(e){var a;if(t||(oY(e),s?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,i=e.currentTarget,c=rs(i),p=!o&&(a=i,!!(a?.tagName==="A"&&a?.href)),d=r&&(o?c:!p),u="Enter"===e.key,m=" "===e.key,h=i.getAttribute("role"),f=h?.startsWith("menuitem")||"option"===h||"gridcell"===h;if(r&&l&&m){if(e.defaultPrevented&&f)return;e.preventDefault(),p||o&&c?(i.click(),e.preventBaseUIHandler()):d&&(n?.(e),e.preventBaseUIHandler());return}d&&(!o&&(m||u)&&e.preventDefault(),!o&&u&&n?.(e))},onKeyUp(e){t||((oY(e),r?.(e),e.target===e.currentTarget&&o&&l&&rs(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||o||l||" "!==e.key||n?.(e)))},onPointerDown(e){t?e.preventDefault():i?.(e)}},o?void 0:{role:"button"},c,p)},[t,c,l,o]),buttonRef:t1(e=>{s.current=e,p()})}}function rs(e){return nu(e)&&"BUTTON"===e.tagName}var n8=n8;let ri=eZ.forwardRef(function(e,t){let n=a7(),{buttonRef:a,getButtonProps:o}=rr({native:!1}),r=t2(t,a),s=o({onClick:t1(e=>{n.state.setOpen(!1,n5(n8.closePress,e.nativeEvent,e.currentTarget))})});return(0,T.jsx)("span",{ref:r,...s,"aria-label":"Dismiss",tabIndex:void 0,style:t7})}),rl=eZ.forwardRef(function(e,t){var n;let{render:a,className:o,disabled:r=!1,id:s,...i}=e,{state:l,disabled:c,setTouched:p,setFocused:d,validationMode:u,validation:m}=oD(),{labelId:h}=oS(),f=o7(),g=!!rt(!0),b=a7(),{filteredItems:v}=ot(),y=on(),j=ra(),k=na(b,ou.required,void 0,void 0,void 0),w=na(b,ou.disabled,void 0,void 0,void 0),_=na(b,ou.readOnly,void 0,void 0,void 0),E=na(b,ou.name,void 0,void 0,void 0),D=na(b,ou.selectionMode,void 0,void 0,void 0),I=na(b,ou.autoHighlight,void 0,void 0,void 0),x=na(b,ou.inputProps,void 0,void 0,void 0),C=na(b,ou.triggerProps,void 0,void 0,void 0),S=na(b,ou.open,void 0,void 0,void 0),A=na(b,ou.mounted,void 0,void 0,void 0),N=na(b,ou.selectedValue,void 0,void 0,void 0),M=na(b,ou.popupSide,void 0,void 0,void 0),O=na(b,ou.positionerElement,void 0,void 0,void 0),R=na(b,ou.id,void 0,void 0,void 0),F=na(b,ou.inline,void 0,void 0,void 0),P=na(b,ou.modal,void 0,void 0,void 0),L=!!I,B=c||w||r,H=0===v.length,U=g||F,z=ox(s??(U?void 0:R)),$=(n=void 0,h??n),q=g?ok:l,[V,W]=eZ.useState(null),G=eZ.useRef(!1),Y=eZ.useRef(null),K=eZ.useRef(!1),Q=t1(e=>{let t=g||b.state.inline;t&&!b.state.hasInputValue&&b.state.setInputValue("",n5(n8.none)),b.update({inputElement:e,inputInsidePopup:t})}),X=g||!m?i:m.getValidationProps(i),J=oQ("input",e,{state:{...q,open:S,disabled:B,readOnly:_,popupSide:A&&O?M:null,listEmpty:H},ref:[t,b.state.inputRef,Q],props:[x,C,{type:"text",value:e.value??V??y,"aria-readonly":_||void 0,"aria-required":k||void 0,"aria-labelledby":$,disabled:B,readOnly:_,required:"none"===D?k:void 0,..."none"===D&&E&&{name:E},id:z,onFocus(){if(d(!0),!F||!K.current)return;K.current=!1;let e=Y.current;null!=e&&Object.hasOwn(b.state.valuesRef.current,e)&&b.state.setIndices({activeIndex:e})},onBlur(){p(!0),d(!1);let e=b.state.activeIndex;if(F&&null!==e&&"always"!==I&&(Y.current=e,K.current=!0,b.state.setIndices({activeIndex:null})),"onBlur"===u){let e="none"===D?y:N;m.commit(e)}},onCompositionStart(e){nq||(G.current=!0,W(e.currentTarget.value))},onCompositionEnd(e){G.current=!1;let t=e.currentTarget.value;
9W(null),b.state.setInputValue(t,n5(n8.inputChange,e.nativeEvent))},onChange(e){let t=e.nativeEvent.inputType,n=G.current||!(!t||"insertReplacementText"===t);if(G.current){let t=e.currentTarget.value;W(t),""!==t||b.state.openOnInputClick||b.state.inputInsidePopup||b.state.setOpen(!1,n5(n8.inputClear,e.nativeEvent));let a=t.trim();!_&&!B&&a&&n&&(b.state.setOpen(!0,n5(n8.inputChange,e.nativeEvent)),L||b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"})),S&&null!==b.state.activeIndex&&!(L&&""!==a)&&b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"});return}b.state.setInputValue(e.currentTarget.value,n5(n8.inputChange,e.nativeEvent));let a=""===e.currentTarget.value,o=n5(n8.inputClear,e.nativeEvent);a&&!b.state.inputInsidePopup&&("single"===D&&b.state.setSelectedValue(null,o),b.state.openOnInputClick||b.state.setOpen(!1,o));let r=e.currentTarget.value.trim();!_&&!B&&r&&n&&(b.state.setOpen(!0,n5(n8.inputChange,e.nativeEvent)),L||b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"})),S&&null!==b.state.activeIndex&&!L&&b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"})},onKeyDown(e){if(B||_||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)return;b.state.keyboardActiveRef.current=!0;let t=e.currentTarget,n=t.scrollWidth-t.clientWidth,a="rtl"===j;if("Home"===e.key){nW(e);let n=nz&&a?t.value.length:0;t.setSelectionRange(n,n),t.scrollLeft=0;return}if("End"===e.key){nW(e);let o=nz&&a?0:t.value.length;t.setSelectionRange(o,o),t.scrollLeft=a?-n:n;return}if(!A&&"Escape"===e.key){let t="multiple"===D&&Array.isArray(N)?0===N.length:null===N,n=n5(n8.escapeKey,e.nativeEvent);b.state.setInputValue("",n),b.state.setSelectedValue("multiple"===D?[]:null,n),t||b.state.inline||n.isPropagationAllowed||e.stopPropagation();return}if(f&&"Backspace"===e.key&&""===t.value&&void 0===f.highlightedChipIndex&&Array.isArray(N)&&N.length>0){let t=N.slice(0,-1);b.state.setIndices({activeIndex:null,selectedIndex:null,type:b.state.keyboardActiveRef.current?"keyboard":"pointer"}),b.state.setSelectedValue(t,n5(n8.none,e.nativeEvent));return}let o=f?.highlightedChipIndex!==void 0,r=function(e){let t;if(!f)return;let{highlightedChipIndex:n}=f;if(void 0!==n){if("ArrowLeft"===e.key)e.preventDefault(),t=n>0?n-1:void 0;else if("ArrowRight"===e.key)e.preventDefault(),t=n<N.length-1?n+1:void 0;else if("Backspace"===e.key||"Delete"===e.key){e.preventDefault();let a=n>=N.length-1?N.length-2:n;t=a>=0?a:void 0,b.state.setIndices({activeIndex:null,selectedIndex:null,type:"keyboard"})}return t}return"ArrowLeft"===e.key&&(e.currentTarget.selectionStart??0)===0&&N.length>0?(e.preventDefault(),t=Math.max(N.length-1,0)):"Backspace"===e.key&&""===e.currentTarget.value&&N.length>0&&(b.state.setIndices({activeIndex:null,selectedIndex:null,type:"keyboard"}),e.preventDefault()),t}(e);if(f?.setHighlightedChipIndex(r),void 0!==r?f?.chipsRef.current[r]?.focus():o&&b.state.inputRef.current?.focus(),229!==e.which&&"Enter"===e.key&&S){let t=b.state.activeIndex,n=e.nativeEvent;if(null===t){if(F)return;b.state.setOpen(!1,n5(n8.none,n));return}nW(e);let a=b.state.listRef.current[t];a&&(b.state.selectionEventRef.current=n,a.click(),b.state.selectionEventRef.current=null)}},onPointerMove(){b.state.keyboardActiveRef.current=!1},onPointerDown(){b.state.keyboardActiveRef.current=!1}},X],stateAttributesMapping:o9});return(0,T.jsxs)(eZ.Fragment,{children:[S&&(!U||P)&&(0,T.jsx)(ri,{ref:b.state.startDismissRef}),J]})}),rc=eZ.forwardRef(function(e,t){let{render:n,className:a,...o}=e,{state:r,disabled:s}=oD(),i=a7(),{filteredItems:l}=ot(),c=na(i,ou.open,void 0,void 0,void 0),p=na(i,ou.mounted,void 0,void 0,void 0),d=na(i,ou.popupSide,void 0,void 0,void 0),u=na(i,ou.positionerElement,void 0,void 0,void 0),m=na(i,ou.disabled,void 0,void 0,void 0),h=na(i,ou.readOnly,void 0,void 0,void 0),f=na(i,ou.hasSelectedValue,void 0,void 0,void 0),g=na(i,ou.selectionMode,void 0,void 0,void 0),b=0===l.length,v={...r,open:c,disabled:s||m,readOnly:h,popupSide:p&&u?d:null,listEmpty:b,placeholder:"none"!==g&&!f};return oQ("div",e,{ref:[t,t1(e=>{i.set("inputGroupElement",e)})],props:[{role:"group"},o],state:v,stateAttributesMapping:o9})});var n8=n8;let rp=eZ.forwardRef(function(e,t){let{render:n,className:a,nativeButton:o=!0,disabled:r=!1,id:s,...i}=e,{state:l,disabled:c,setTouched:p,setFocused:d,validationMode:u,validation:m}=oD(),{labelId:h}=oS(),f=a7(),{filteredItems:g}=ot(),b=na(f,ou.selectionMode,void 0,void 0,void 0),v=na(f,ou.disabled,void 0,void 0,void 0),y=na(f,ou.readOnly,void 0,void 0,void 0),j=na(f,ou.required,void 0,void 0,void 0),k=na(f,ou.mounted,void 0,void 0,void 0),w=na(f,ou.popupSide,void 0,void 0,void 0),_=na(f,ou.positionerElement,void 0,void 0,void 0),E=na(f,ou.listElement,void 0,void 0,void 0),D=na(f,ou.triggerProps,void 0,void 0,void 0),T=na(f,ou.triggerElement,void 0,void 0,void 0),I=na(f,ou.inputInsidePopup,void 0,void 0,void 0),x=na(f,ou.id,void 0,void 0,void 0),C=na(f,ou.labelId,void 0,void 0,void 0),S=na(f,ou.open,void 0,void 0,void 0),A=na(f,ou.selectedValue,void 0,void 0,void 0),N=na(f,ou.activeIndex,void 0,void 0,void 0),M=na(f,ou.selectedIndex,void 0,void 0,void 0),O=na(f,ou.hasSelectedValue,void 0,void 0,void 0),R=oe(),F=on(),P=nj(),L=c||v||r,B=0===g.length;oA({id:I?s:void 0});let H=I?s??x:s,U=eZ.useRef("");function z(e){U.current=e.pointerType}let $=R.useState("domReferenceElement");eZ.useEffect(()=>{I&&T&&T!==$&&R.set("domReferenceElement",T)}
9,[T,$,R,I]);let{reference:q}=function(e,t){let n="rootStore"in e?e.rootStore:e,a=n.context.dataRef,o=n.useState("open"),{listRef:r,elementsRef:s,activeIndex:i,onMatch:l,onTypingChange:c,enabled:p=!0,resetMs:d=750,selectedIndex:u=null}=t,m=nj(),h=eZ.useRef(""),f=eZ.useRef(u??i??-1),g=eZ.useRef(null);tQ(()=>{(o||null===u)&&(m.clear(),g.current=null,""!==h.current&&(h.current=""))},[o,u,m]),tQ(()=>{o&&""===h.current&&(f.current=u??i??-1)},[o,u,i]);let b=t1(e=>{e?a.current.typing||(a.current.typing=e,c?.(e)):a.current.typing&&(a.current.typing=e,c?.(e))}),v=t1(e=>{function t(e,n,a=0){if(0===e.length)return -1;let o=(a%e.length+e.length)%e.length,r=n.toLocaleLowerCase();for(let t=0;t<e.length;t+=1){let n=(o+t)%e.length,a=e[n];if(a?.toLocaleLowerCase().startsWith(r)&&function(e){let t=s?.current[e];return!t||aK(t)}(n))return n}return -1}let n=r.current;if(h.current.length>0&&" "===e.key&&(nW(e),b(!0)),h.current.length>0&&" "!==h.current[0]&&-1===t(n,h.current)&&" "!==e.key&&b(!1),null==n||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;o&&" "!==e.key&&(nW(e),b(!0));let a=""===h.current;a&&(f.current=u??i??-1),n.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&h.current===e.key&&(h.current="",f.current=g.current),h.current+=e.key,m.start(d,()=>{h.current="",f.current=g.current,b(!1)});let c=a?u??i??-1:f.current,p=t(n,h.current,(c??0)+1);-1!==p?(l?.(p),g.current=p):" "!==e.key&&(h.current="",b(!1))}),y=t1(e=>{let t=e.relatedTarget,a=n.select("domReferenceElement"),o=n.select("floatingElement"),r=nS(a,t),s=nS(o,t);r||s||(m.clear(),h.current="",f.current=g.current,b(!1))}),j=eZ.useMemo(()=>({onKeyDown:v,onBlur:y}),[v,y]),k=eZ.useMemo(()=>({onKeyDown:v,onBlur:y}),[v,y]);return eZ.useMemo(()=>p?{reference:j,floating:k}:{},[p,j,k])}(R,{enabled:!S&&!y&&!v&&"single"===b,listRef:f.state.labelsRef,activeIndex:N,selectedIndex:M,onMatch(e){let t=f.state.valuesRef.current[e];void 0!==t&&f.state.setSelectedValue(t,n5("none"))}}),{reference:V}=a2(R,{enabled:!y&&!v,event:"mousedown"}),{buttonRef:W,getButtonProps:G}=rr({native:o,disabled:L}),Y={...l,open:S,disabled:L,popupSide:k&&_?w:null,listEmpty:B,placeholder:!O};return oQ("button",e,{ref:[t,W,t1(e=>{f.set("triggerElement",e)})],state:Y,props:[D,V,q,{id:H,tabIndex:I?0:-1,role:I?"combobox":void 0,"aria-expanded":S?"true":"false","aria-haspopup":I?"dialog":"listbox","aria-controls":S?E?.id:void 0,"aria-required":I&&j||void 0,"aria-labelledby":h??C,onPointerDown:z,onPointerEnter:z,onFocus(){d(!0),L||y||P.start(0,f.state.forceMount)},onBlur(e){nS(_,e.relatedTarget)||(p(!0),d(!1),"onBlur"===u&&m.commit("none"===b?F:A))},onMouseDown(e){if(L||y||(I||R.set("domReferenceElement",e.currentTarget),f.state.forceMount(),"touch"!==U.current&&(f.state.inputRef.current?.focus(),I||e.preventDefault()),S))return;let t=nk(e.currentTarget);I&&t.addEventListener("mouseup",function(e){if(!T)return;let t=nA(e),n=f.state.positionerElement,a=f.state.listElement;if(nS(T,t)||nS(n,t)||nS(a,t)||t===T)return;let o=function(e){let t=e.getBoundingClientRect(),n=window.getComputedStyle(e,"::before"),a=window.getComputedStyle(e,"::after");if("none"===n.content&&"none"===a.content)return t;let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0,s=parseFloat(a.width)||0,i=parseFloat(a.height)||0,l=Math.max(t.width,o,s),c=Math.max(t.height,r,i),p=l-t.width,d=c-t.height;return{left:t.left-p/2,right:t.right+p/2,top:t.top-d/2,bottom:t.bottom+d/2}}(T),r=e.clientX>=o.left-2&&e.clientX<=o.right+2,s=e.clientY>=o.top-2&&e.clientY<=o.bottom+2;r&&s||f.state.setOpen(!1,n5("cancel-open",e))},{once:!0})},onKeyDown(e){L||y||("ArrowDown"===e.key||"ArrowUp"===e.key)&&(nW(e),f.state.setOpen(!0,n5(n8.listNavigation,e.nativeEvent)),f.state.inputRef.current?.focus())}},m?m.getValidationProps(i):i,G],stateAttributesMapping:o9})}),rd=eZ.createContext(null);function ru(e){let{children:t,items:n}=e,a=eZ.useMemo(()=>({items:n}),[n]);return(0,T.jsx)(rd.Provider,{value:a,children:t})}function rm(e){let{children:t}=e,{filteredItems:n}=ot(),a=eZ.useContext(rd),o=a?a.items:n;return o?(0,T.jsx)(eZ.Fragment,{children:o.map(t)}):null}let rh=eZ.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function rf(e){let{children:t,elementsRef:n,labelsRef:a,onMapChange:o}=e,r=t1(o),s=eZ.useRef(0),i=tJ(rb).current,l=tJ(rg).current,[c,p]=eZ.useState(0),d=eZ.useRef(c),u=t1((e,t)=>{l.set(e,t??null),d.current+=1,p(d.current)}),m=t1(e=>{l.delete(e),d.current+=1,p(d.current)}),h=eZ.useMemo(()=>{let e=new Map;return Array.from(l.keys()).filter(e=>e.isConnected).sort(rv).forEach((t,n)=>{let a=l.get(t)??{};e.set(t,{...a,index:n})}),e},[l,c]);tQ(()=>
9{if("function"!=typeof MutationObserver||0===h.size)return;let e=new MutationObserver(e=>{let t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),0===t.size&&(d.current+=1,p(d.current))});return h.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[h]),tQ(()=>{d.current===c&&(n.current.length!==h.size&&(n.current.length=h.size),a&&a.current.length!==h.size&&(a.current.length=h.size),s.current=h.size),r(h)},[r,h,n,a,c]),tQ(()=>()=>{n.current=[]},[n]),tQ(()=>()=>{a&&(a.current=[])},[a]);let f=t1(e=>(i.add(e),()=>{i.delete(e)}));tQ(()=>{i.forEach(e=>e(h))},[i,h]);let g=eZ.useMemo(()=>({register:u,unregister:m,subscribeMapChange:f,elementsRef:n,labelsRef:a,nextIndexRef:s}),[u,m,f,n,a,s]);return(0,T.jsx)(rh.Provider,{value:g,children:t})}function rg(){return new Map}function rb(){return new Set}function rv(e,t){let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}let ry=eZ.forwardRef(function(e,t){var n;let{render:a,className:o,children:r,...s}=e,i=a7(),l=oe(),c=!!rt(!0),{filteredItems:p}=ot(),d=na(i,ou.items,void 0,void 0,void 0),u=na(i,ou.labelsRef,void 0,void 0,void 0),m=na(i,ou.listRef,void 0,void 0,void 0),h=na(i,ou.selectionMode,void 0,void 0,void 0),f=na(i,ou.grid,void 0,void 0,void 0),g=na(i,ou.popupProps,void 0,void 0,void 0),b=na(i,ou.disabled,void 0,void 0,void 0),v=na(i,ou.readOnly,void 0,void 0,void 0),y=na(i,ou.virtualized,void 0,void 0,void 0),j=0===p.length,k=t1(e=>{i.set("positionerElement",e)}),w=oQ("div",e,{state:{empty:j},ref:[t,t1(e=>{i.set("listElement",e)}),c?null:k],props:[g,{children:eZ.useMemo(()=>"function"==typeof r?n||(n=(0,T.jsx)(rm,{children:r})):r,[r]),tabIndex:-1,id:l.useState("floatingId"),role:f?"grid":"listbox","aria-multiselectable":"multiple"===h?"true":void 0,onKeyDown(e){if(!b&&!v&&"Enter"===e.key){let t=i.state.activeIndex;if(null==t)return;nW(e);let n=e.nativeEvent,a=i.state.listRef.current[t];a&&(i.state.selectionEventRef.current=n,a.click(),i.state.selectionEventRef.current=null)}},onKeyDownCapture(){i.state.keyboardActiveRef.current=!0},onPointerMoveCapture(){i.state.keyboardActiveRef.current=!1}},s]});return y?w:(0,T.jsx)(rf,{elementsRef:m,labelsRef:d?void 0:u,children:w})}),rj=eZ.forwardRef(function(e,t){let{render:n,className:a,...o}=e;return oQ("div",e,{ref:t,props:[{role:"status","aria-live":"polite","aria-atomic":!0},o]})}),rk=eZ.forwardRef(function(e,t){let[n,a]=eZ.useState();return tQ(()=>{n$&&a("button")},[]),(0,T.jsx)("span",{...e,ref:t,style:t8,"aria-hidden":!n||void 0,tabIndex:0,role:n,"data-base-ui-focus-guard":""})});var rw='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',r_="u"<typeof Element,rE=r_?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,rD=!r_&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},rT=function(e,t){void 0===t&&(t=!0);var n,a=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===a||"true"===a||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):rT(e.parentNode))},rI=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},rx=function(e,t,n){if(rT(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(rw));return t&&rE.call(e,rw)&&a.unshift(e),a=a.filter(n)},rC=function(e,t,n){for(var a=[],o=Array.from(e);o.length;){var r=o.shift();if(!rT(r,!1))if("SLOT"===r.tagName){var s=r.assignedElements(),i=rC(s.length?s:r.children,!0,n);n.flatten?a.push.apply(a,i):a.push({scopeParent:r,candidates:i})}else{rE.call(r,rw)&&n.filter(r)&&(t||!e.includes(r))&&a.push(r);var l=r.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(r),c=!rT(l,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(r));if(l&&c){var p=rC(!0===l?r.children:l.children,!0,n);n.flatten?a.push.apply(a,p):a.push({scopeParent:r,candidates:p})}else o.unshift.apply(o,r.children)}}return a},rS=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},rA=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rI(e))&&!rS(e)?0:e.tabIndex},rN=function(e,t){var n=rA(e);return n<0&&t&&!rS(e)?0:n},rM=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rO=function(e){return"INPUT"===e.tagName},rR=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},rF=function(e){if(!e.name)return!0;var t,n=e.form||rD(e),a=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=a(window.CSS.escape(e.name));else try{t=a(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=rR(t,e.form);return!o||o===e},rP=function(e){return rO(e)&&"radio"===e.type&&!rF(e)},rL=function(e){var t,n,a,o,r,s,i,l=e&&rD(e),c=null==(t=l)?void 0:t.host,p=!1;if(l&&l!==e)for(p=!!(null!=(n=c)&&null!=(a=n.ownerDocument)&&a.contains(c)||null!=e&&null!=(o=e.ownerDocument)&&o.contains(e));!p&&c;)p=!!(null!=(s=c=null==(r=l=rD(c))?void 0:r.host)&&null!=(i=s.ownerDocument)&&i.contains(c));return p}
9,rB=function(e){var t=e.getBoundingClientRect(),n=t.width,a=t.height;return 0===n&&0===a},rH=function(e,t){var n=t.displayCheck,a=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var o=rE.call(e,"details>summary:first-of-type")?e.parentElement:e;if(rE.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return rB(e)}else{if("function"==typeof a){for(var r=e;e;){var s=e.parentElement,i=rD(e);if(s&&!s.shadowRoot&&!0===a(s))return rB(e);e=e.assignedSlot?e.assignedSlot:s||i===e.ownerDocument?s:i.host}e=r}if(rL(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},rU=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var a=t.children.item(n);if("LEGEND"===a.tagName)return!!rE.call(t,"fieldset[disabled] *")||!a.contains(e)}return!0}t=t.parentElement}return!1},rz=function(e,t){return!(t.disabled||rO(t)&&"hidden"===t.type||rH(t,e)||"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(e){return"SUMMARY"===e.tagName})||rU(t))},r$=function(e,t){return!(rP(t)||0>rA(t))&&!!rz(e,t)},rq=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},rV=function(e){var t=[],n=[];return e.forEach(function(e,a){var o=!!e.scopeParent,r=o?e.scopeParent:e,s=rN(r,o),i=o?rV(e.candidates):r;0===s?o?t.push.apply(t,i):t.push(r):n.push({documentOrder:a,tabIndex:s,item:e,isScope:o,content:i})}),n.sort(rM).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},rW=function(e,t){return rV((t=t||{}).getShadowRoot?rC([e],t.includeContainer,{filter:r$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:rq}):rx(e,t.includeContainer,r$.bind(null,t)))},rG=function(e,t){return(t=t||{}).getShadowRoot?rC([e],t.includeContainer,{filter:rz.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):rx(e,t.includeContainer,rz.bind(null,t))},rY=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==rE.call(e,rw)&&r$(t,e)};let rK=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function rQ(e,t){let n=rW(e,rK()),a=n.length;if(0===a)return;let o=nC(nk(e)),r=n.indexOf(o);return n[-1===r?1===t?0:a-1:r+t]}function rX(e){return rQ(nk(e).body,1)||e}function rJ(e){return rQ(nk(e).body,-1)||e}function rZ(e,t){let n=t||e.currentTarget,a=e.relatedTarget;return!a||!nS(n,a)}function r0(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}var n8=n8;let r1={style:{transition:"none"}},r6={fallbackAxisSide:"none"},r4={clipPath:"inset(50%)",position:"fixed",top:0,left:0},r2=eZ.createContext(null),r3=n7("portal"),r5=eZ.forwardRef(function(e,t){let{children:n,container:a,className:o,render:r,renderGuards:s,...i}=e,{portalNode:l,portalSubtree:c}=function(e={}){let{ref:t,container:n,componentProps:a=n3,elementProps:o}=e,r=ar(),s=eZ.useContext(r2),i=s?.portalNode,[l,c]=eZ.useState(null),[p,d]=eZ.useState(null),u=t1(e=>{null!==e&&d(e)}),m=eZ.useRef(null);tQ(()=>{if(null===n){m.current&&(m.current=null,d(null),c(null));return}if(null==r)return;let e=(n&&(np(n)?n:n.current))??i??document.body;if(null==e){m.current&&(m.current=null,d(null),c(null));return}m.current!==e&&(m.current=e,d(null),c(e))},[n,i,r]);let h=oQ("div",a,{ref:[t,u],props:[{id:r,[r3]:""},o]});return{portalNode:p,portalSubtree:l&&h?om.createPortal(h,l):null}}({container:a,ref:t,componentProps:e,elementProps:i}),p=eZ.useRef(null),d=eZ.useRef(null),u=eZ.useRef(null),m=eZ.useRef(null),[h,f]=eZ.useState(null),g=h?.modal,b=h?.open,v="boolean"==typeof s?s:!!h&&!h.modal&&h.open&&!!l;eZ.useEffect(()=>{if(l&&!g)return l.addEventListener("focusin",e,!0),l.addEventListener("focusout",e,!0),()=>{l.removeEventListener("focusin",e,!0),l.removeEventListener("focusout",e,!0)};function e(e){l&&e.relatedTarget&&rZ(e)&&("focusin"===e.type?r0:function(e){rW(e,rK()).forEac
9h(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(l)}},[l,g]),eZ.useEffect(()=>{l&&!b&&r0(l)},[b,l]);let y=eZ.useMemo(()=>({beforeOutsideRef:p,afterOutsideRef:d,beforeInsideRef:u,afterInsideRef:m,portalNode:l,setFocusManagerState:f}),[l]);return(0,T.jsxs)(eZ.Fragment,{children:[c,(0,T.jsxs)(r2.Provider,{value:y,children:[v&&l&&(0,T.jsx)(rk,{"data-type":"outside",ref:p,onFocus:e=>{if(rZ(e,l))u.current?.focus();else{let e=rJ(h?h.domReference:null);e?.focus()}}}),v&&l&&(0,T.jsx)("span",{"aria-owns":l.id,style:r4}),l&&om.createPortal(n,l),v&&l&&(0,T.jsx)(rk,{"data-type":"outside",ref:d,onFocus:e=>{if(rZ(e,l))m.current?.focus();else{let t=rX(h?h.domReference:null);t?.focus(),h?.closeOnFocusOut&&h?.onOpenChange(!1,n5(n8.focusOut,e.nativeEvent))}}})]})]})}),r9=eZ.createContext(void 0),r8=eZ.forwardRef(function(e,t){let{keepMounted:n=!1,...a}=e,o=a7(),r=na(o,ou.mounted,void 0,void 0,void 0),s=na(o,ou.forceMounted,void 0,void 0,void 0);return r||n||s?(0,T.jsx)(r9.Provider,{value:n,children:(0,T.jsx)(r5,{ref:t,...a})}):null}),r7={...o5,...ov},se=eZ.forwardRef(function(e,t){let{className:n,render:a,...o}=e,r=a7(),s=na(r,ou.open,void 0,void 0,void 0),i=na(r,ou.mounted,void 0,void 0,void 0);return oQ("div",e,{state:{open:s,transitionStatus:na(r,ou.transitionStatus,void 0,void 0,void 0)},ref:t,stateAttributesMapping:r7,props:[{role:"presentation",hidden:!i,style:{userSelect:"none",WebkitUserSelect:"none"}},o]})}),st={},sn={},sa="";class so{lockCount=0;restore=null;timeoutLock=ny.create();timeoutUnlock=ny.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){let t,n,a,o,r;if(0===this.lockCount||null!==this.restore)return;let s=nk(e).documentElement,i=nc(s).getComputedStyle(s).overflowY;if("hidden"===i||"clip"===i){this.restore=n4;return}let l=nU||!function(e){if("u"<typeof document)return!1;let t=nk(e);return nc(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=l?(n=(t=nk(e)).documentElement,a=t.body,r={overflowY:(o=nh(n)?n:a).style.overflowY,overflowX:o.style.overflowX},Object.assign(o.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(o.style,r)}):function(e){let t=nk(e),n=t.documentElement,a=t.body,o=nc(n),r=0,s=0,i=!1,l=a6.create();if(nH&&(o.visualViewport?.scale??1)!==1)return()=>{};function c(){let t=o.getComputedStyle(n),l=o.getComputedStyle(a),c=(t.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";r=n.scrollTop,s=n.scrollLeft,st={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},sa=n.style.scrollBehavior,sn={position:a.style.position,height:a.style.height,width:a.style.width,boxSizing:a.style.boxSizing,overflowY:a.style.overflowY,overflowX:a.style.overflowX,scrollBehavior:a.style.scrollBehavior};let p=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,u="scroll"===t.overflowY||"scroll"===l.overflowY,m="scroll"===t.overflowX||"scroll"===l.overflowX,h=Math.max(0,o.innerWidth-a.clientWidth),f=Math.max(0,o.innerHeight-a.clientHeight),g=parseFloat(l.marginTop)+parseFloat(l.marginBottom),b=parseFloat(l.marginLeft)+parseFloat(l.marginRight),v=nh(n)?n:a;if(i=function(e){if(!("u">typeof CSS&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||"u"<typeof document)return!1;let t=nk(e),n=t.documentElement,a=t.body,o=nh(n)?n:a,r=o.style.overflowY,s=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",o.style.overflowY="scroll";let i=o.offsetWidth;o.style.overflowY="hidden";let l=o.offsetWidth;return o.style.overflowY=r,n.style.scrollbarGutter=s,i===l}(e)){n.style.scrollbarGutter=c,v.style.overflowY="hidden",v.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:c,overflowY:"hidden",overflowX:"hidden"}),(p||u)&&(n.style.overflowY="scroll"),(d||m)&&(n.style.overflowX="scroll"),Object.assign(a.style,{position:"relative",height:g||f?`calc(100dvh - ${g+f}px)`:"100dvh",width:b||h?`calc(100vw - ${b+h}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),a.scrollTop=r,a.scrollLeft=s,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function p(){Object.assign(n.style,st),Object.assign(a.style,sn),i||(n.scrollTop=r,n.scrollLeft=s,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=sa)}function d(){p(),l.request(c)}return c(),o.addEventListener("resize",d),()=>{l.cancel(),p(),"function"==typeof o.removeEventListener&&o.removeEventListener("resize",d)}}(e)}}let sr=new so;var ss=e.i(278928),si=e.i(556938);let sl={name:"hide",async fn(e){let{width:t,height:n,x:a,y:o}=e.rects.reference,r=await (0,si.hide)().fn(e);return{data:{referenceHidden:r.data?.referenceHidden||0===t&&0===n&&0===a&&0===o}}}},sc={sideX:"left",sideY:"top"};
9function sp(e,t,n){let a="inline-start"===e||"inline-end"===e;return({top:"top",right:a?n?"inline-start":"inline-end":"right",bottom:"bottom",left:a?n?"inline-end":"inline-start":"left"})[t]}function sd(e,t,n){let{rects:a,placement:o}=e;return{side:sp(t,aH(o),n),align:aU(o)||"center",anchor:{width:a.reference.width,height:a.reference.height},positioner:{width:a.floating.width,height:a.floating.height}}}function su(e){return null!=e&&"current"in e}function sm(e){return"starting"===e?r1:n3}let sh=eZ.forwardRef(function(e,t){let n,{cutout:a,...o}=e;if(a){let e=a?.getBoundingClientRect();n=`polygon( 10 0% 0%, 11 100% 0%, 12 100% 100%, 13 0% 100%, 14 0% 0%, 15 ${e.left}px ${e.top}px, 16 ${e.left}px ${e.bottom}px, 17 ${e.right}px ${e.bottom}px, 18 ${e.right}px ${e.top}px, 19 ${e.left}px ${e.top}px 20 )`}return(0,T.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:n}})}),sf=eZ.forwardRef(function(e,t){var n;let{render:a,className:o,anchor:r,positionMethod:s="absolute",side:i="bottom",align:l="center",sideOffset:c=0,alignOffset:p=0,collisionBoundary:d="clipping-ancestors",collisionPadding:u=5,arrowPadding:m=5,sticky:h=!1,disableAnchorTracking:f=!1,collisionAvoidance:g=r6,...b}=e,v=a7(),{filteredItems:y}=ot(),j=oe(),k=function(){let e=eZ.useContext(r9);if(void 0===e)throw Error(as(20));return e}(),w=na(v,ou.modal,void 0,void 0,void 0),_=na(v,ou.open,void 0,void 0,void 0),E=na(v,ou.mounted,void 0,void 0,void 0),D=na(v,ou.openMethod,void 0,void 0,void 0),I=na(v,ou.triggerElement,void 0,void 0,void 0),x=na(v,ou.inputElement,void 0,void 0,void 0),C=na(v,ou.inputGroupElement,void 0,void 0,void 0),S=na(v,ou.inputInsidePopup,void 0,void 0,void 0),A=na(v,ou.transitionStatus,void 0,void 0,void 0),N=0===y.length,M=function(e){var t,n;let{anchor:a,positionMethod:o="absolute",side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:l=0,collisionBoundary:c,collisionPadding:p=5,sticky:d=!1,arrowPadding:u=5,disableAnchorTracking:m=!1,keepMounted:h=!1,floatingRootContext:f,mounted:g,collisionAvoidance:b,shiftCrossAxis:v=!1,nodeId:y,adaptiveOrigin:j,lazyFlip:k=!1,externalTree:w}=e,[_,E]=eZ.useState(null);g||null===_||E(null);let D=b.side||"flip",T=b.align||"flip",I=b.fallbackAxisSide||"end",x="function"==typeof a?a:void 0,C=t1(x),S=x?C:a,A=nr(a),N="rtl"===ra(),M=_||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":N?"left":"right","inline-start":N?"right":"left"})[r],O="center"===i?M:`${M}-${i}`,R=p,F=+("bottom"===r),P=+("top"===r),L=+("right"===r),B=+("left"===r);"number"==typeof R?R={top:R+F,right:R+B,bottom:R+P,left:R+L}:R&&(R={top:(R.top||0)+F,right:(R.right||0)+B,bottom:(R.bottom||0)+P,left:(R.left||0)+L});let H={boundary:"clipping-ancestors"===c?"clippingAncestors":c,padding:R},U=eZ.useRef(null),z=nr(s),$=nr(l),q=[(0,si.offset)(e=>{let t=sd(e,r,N),n="function"==typeof z.current?z.current(t):z.current,a="function"==typeof $.current?$.current(t):$.current;return{mainAxis:n,crossAxis:a,alignmentAxis:a}},["function"!=typeof s?s:0,"function"!=typeof l?l:0,N,r])],V="none"===T&&"shift"!==D,W=!V&&(d||v||"shift"===D),G="none"===D?null:(0,si.flip)({...H,padding:{top:R.top+1,right:R.right+1,bottom:R.bottom+1,left:R.left+1},mainAxis:!v&&"flip"===D,crossAxis:"flip"===T&&"alignment",fallbackAxisSideDirection:I}),Y=V?null:(0,si.shift)(e=>{let t=nk(e.elements.floating).documentElement;return{...H,rootBoundary:v?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:"none"!==T,crossAxis:W,limiter:d||v?void 0:(0,si.limitShift)(e=>{if(!U.current)return{};let{width:t,height:n}=U.current.getBoundingClientRect(),a=az(aH(e.placement)),o="y"===a?R.left+R.right:R.top+R.bottom;
20return{offset:("y"===a?t:n)/2+o/2}})}},[H,d,v,R,T]);"shift"===D||"shift"===T||"center"===i?q.push(Y,G):q.push(G,Y),q.push((0,si.size)({...H,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:a}){let o=e.style;o.setProperty("--available-width",`${t}px`),o.setProperty("--available-height",`${n}px`);let r=window.devicePixelRatio||1,{x:s,y:i,width:l,height:c}=a.reference,p=(Math.round((s+l)*r)-Math.round(s*r))/r,d=(Math.round((i+c)*r)-Math.round(i*r))/r;o.setProperty("--anchor-width",`${p}px`),o.setProperty("--anchor-height",`${d}px`)}}),(t=()=>({element:U.current||document.createElement("div"),padding:u,offsetParent:"floating"}),n=[u],{...{name:"arrow",options:t,async fn(e){let{x:n,y:a,placement:o,rects:r,platform:s,elements:i,middlewareData:l}=e,{element:c,padding:p=0,offsetParent:d="real"}=t()||{};if(null==c)return{};let u="number"!=typeof p?{top:0,right:0,bottom:0,left:0,...p}:{top:p,right:p,bottom:p,left:p},m={x:n,y:a},h="x"===az(o)?"y":"x",f="y"===h?"height":"width",g=await s.getDimensions(c),b="y"===h,v=b?"clientHeight":"clientWidth",y=r.reference[f]+r.reference[h]-m[h]-r.floating[f],j=m[h]-r.reference[h],k="real"===d?await s.getOffsetParent?.(c):i.floating,w=i.floating[v]||r.floating[f];w&&await s.isElement?.(k)||(w=i.floating[v]||r.floating[f]);let _=w/2-g[f]/2-1,E=Math.min(u[b?"top":"left"],_),D=Math.min(u[b?"bottom":"right"],_),T=w-g[f]-D,I=w/2-g[f]/2+(y/2-j/2),x=aL(E,aP(I,T)),C=!l.arrow&&null!=aU(o)&&I!==x&&r.reference[f]/2-(I<E?E:D)-g[f]/2<0,S=C?I<E?I-E:I-T:0;return{[h]:m[h]+S,data:{[h]:x,centerOffset:I-x-S,...C&&{alignmentOffset:S}},reset:C}}},options:[t,n]}),{name:"transformOrigin",fn(e){let{elements:t,middlewareData:n,placement:a,rects:o,y:i}=e,l=aH(a),c=az(l),p=U.current,d=n.arrow?.x||0,u=n.arrow?.y||0,m=p?.clientWidth||0,h=p?.clientHeight||0,f=d+m/2,g=u+h/2,b=Math.abs(n.shift?.y||0),v=o.reference.height/2,y="function"==typeof s?s(sd(e,r,N)):s,j=b>y,k={top:`${f}px calc(100% + ${y}px)`,bottom:`${f}px ${-y}px`,left:`calc(100% + ${y}px) ${g}px`,right:`${-y}px ${g}px`}[l],w=`${f}px ${o.reference.y+v-i}px`;return t.floating.style.setProperty("--transform-origin",W&&"y"===c&&j?w:k),{}}},sl,j),tQ(()=>{!g&&f&&f.update({referenceElement:null,floatingElement:null,domReferenceElement:null})},[g,f]);let K=eZ.useMemo(()=>({elementResize:!m&&"u">typeof ResizeObserver,layoutShift:!m&&"u">typeof IntersectionObserver}),[m]),{refs:Q,elements:X,x:J,y:Z,middlewareData:ee,update:et,placement:en,context:ea,isPositioned:eo,floatingStyles:er}=function(e={}){let{nodeId:t,externalTree:n}=e,a=aO(e),o=e.rootContext||a,r={reference:o.useState("referenceElement"),floating:o.useState("floatingElement"),domReference:o.useState("domReferenceElement")},[s,i]=eZ.useState(null),l=eZ.useRef(null),c=n6(n);tQ(()=>{r.domReference&&(l.current=r.domReference)},[r.domReference]);let p=(0,si.useFloating)({...e,elements:{...r,...s&&{reference:s}}}),d=eZ.useCallback(e=>{let t=nd(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;i(t),p.refs.setReference(t)},[p.refs]),[u,m]=eZ.useState(null),[h,f]=eZ.useState(null);o.useSyncedValue("referenceElement",u),o.useSyncedValue("domReferenceElement",nd(u)?u:null),o.useSyncedValue("floatingElement",h);let g=eZ.useCallback(e=>{(nd(e)||null===e)&&(l.current=e,m(e)),(nd(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!nd(e))&&p.refs.setReference(e)},[p.refs,m]),b=eZ.useCallback(e=>{f(e),p.refs.setFloating(e)},[p.refs]),v=eZ.useMemo(()=>({...p.refs,setReference:g,setFloating:b,setPositionReference:d,domReference:l}),[p.refs,g,b,d]),y=eZ.useMemo(()=>({...p.elements,domReference:r.domReference}),[p.elements,r.domReference]),j=o.useState("open"),k=o.useState("floatingId"),w=eZ.useMemo(()=>({...p,dataRef:o.context.dataRef,open:j,onOpenChange:o.setOpen,events:o.context.events,floatingId:k,refs:v,elements:y,nodeId:t,rootStore:o}),[p,v,y,t,o,j,k]);return tQ(()=>{o.context.dataRef.current.floatingContext=w;let e=c?.nodesRef.current.find(e=>e.id===t);e&&(e.context=w)}),eZ.useMemo(()=>({...p,context:w,refs:v,elements:y,rootStore:o}),[p,v,y,w,o])}({rootContext:f,placement:O,middleware:q,strategy:o,whileElementsMounted:h?void 0:(...e)=>
20(0,ss.autoUpdate)(...e,K),nodeId:y,externalTree:w}),{sideX:es,sideY:ei}=ee.adaptiveOrigin||sc,el=eo?o:"fixed",ec=eZ.useMemo(()=>{let e=j?{position:el,[es]:J,[ei]:Z}:{position:el,...er};return eo||(e.opacity=0),e},[j,el,es,J,ei,Z,er,eo]),ep=eZ.useRef(null);tQ(()=>{if(!g)return;let e=A.current,t="function"==typeof e?e():e,n=(su(t)?t.current:t)||null;n!==ep.current&&(Q.setPositionReference(n),ep.current=n)},[g,Q,S,A]),eZ.useEffect(()=>{if(!g)return;let e=A.current;"function"!=typeof e&&su(e)&&e.current!==ep.current&&(Q.setPositionReference(e.current),ep.current=e.current)},[g,Q,S,A]),eZ.useEffect(()=>{if(h&&g&&X.domReference&&X.floating)return(0,ss.autoUpdate)(X.domReference,X.floating,et,K)},[h,g,X,et,K]);let ed=aH(en),eu=sp(r,ed,N),em=aU(en)||"center",eh=!!ee.hide?.referenceHidden;tQ(()=>{k&&g&&eo&&E(ed)},[k,g,eo,ed]);let ef=eZ.useMemo(()=>({position:"absolute",top:ee.arrow?.y,left:ee.arrow?.x}),[ee.arrow]),eg=ee.arrow?.centerOffset!==0;return eZ.useMemo(()=>({positionerStyles:ec,arrowStyles:ef,arrowRef:U,arrowUncentered:eg,side:eu,align:em,physicalSide:ed,anchorHidden:eh,refs:Q,context:ea,isPositioned:eo,update:et}),[ec,ef,U,eg,eu,em,ed,eh,Q,ea,eo,et])}({anchor:r??(S?I:C??x),floatingRootContext:j,positionMethod:s,mounted:E,side:i,sideOffset:c,align:l,alignOffset:p,arrowPadding:m,collisionBoundary:d,collisionPadding:u,sticky:h,disableAnchorTracking:f,keepMounted:k,collisionAvoidance:g,lazyFlip:!0});!function(e=!0,t=null){tQ(()=>{if(e)return sr.acquire(t)},[e,t])}(_&&w&&"touch"!==D,I);let O=eZ.useMemo(()=>{let e={...M.positionerStyles};return _||(e.pointerEvents="none"),{role:"presentation",hidden:!E,style:e}},[_,E,M.positionerStyles]),R={open:_,side:M.side,align:M.align,anchorHidden:M.anchorHidden,empty:N};tQ(()=>{v.set("popupSide",M.side)},[v,M.side]);let F=eZ.useMemo(()=>({side:M.side,align:M.align,arrowRef:M.arrowRef,arrowUncentered:M.arrowUncentered,arrowStyles:M.arrowStyles,anchorHidden:M.anchorHidden,isPositioned:M.isPositioned}),[M.side,M.align,M.arrowRef,M.arrowUncentered,M.arrowStyles,M.anchorHidden,M.isPositioned]),P=oQ("div",e,{state:R,ref:[t,t1(e=>{v.set("positionerElement",e)})],props:[O,sm(A),b],stateAttributesMapping:o5});return(0,T.jsxs)(re.Provider,{value:F,children:[E&&w&&(0,T.jsx)(sh,{inert:(n=!_,nn>=19?n:n?"true":void 0),cutout:C??x??I}),P]})});var n8=n8;let sg={inert:new WeakMap,"aria-hidden":new WeakMap},sb="data-base-ui-inert",sv={inert:new WeakSet,"aria-hidden":new WeakSet},sy=new WeakMap,sj=0,sk=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=function e(t){return t?nm(t)?t.host:e(t.parentNode):null}(t);return e.contains(n)?n:null}).filter(e=>null!=e),sw=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},s_=(e,t,n)=>{let a=[],o=e=>{!e||n.has(e)||Array.from(e.children).forEach(e=>{"script"!==nl(e)&&(t.has(e)?o(e):a.push(e))})};return o(e),a};function sE(e,t={}){let{ariaHidden:n=!1,inert:a=!1,mark:o=!0,markerIgnoreElements:r=[]}=t,s=nk(e[0]).body;return function(e,t,n,a,{mark:o=!0,markerIgnoreElements:r=[]}){let s=a?"inert":n?"aria-hidden":null,i=null,l=null,c=sk(t,e),p=new Set(o?sk(t,r):[]),d=o?s_(t,sw(c),new Set(c)).filter(e=>!p.has(e)):[],u=[],m=[];if(s){let e=sg[s],n=sv[s];l=n,i=e;let a=sk(t,Array.from(t.querySelectorAll("[aria-live]"))),o=c.concat(a);s_(t,sw(o),new Set(o)).forEach(t=>{let a=t.getAttribute(s),o=null!==a&&"false"!==a,r=(e.get(t)||0)+1;e.set(t,r),u.push(t),1===r&&o&&n.add(t),o||t.setAttribute(s,"inert"===s?"":"true")})}return o&&d.forEach(e=>{let t=(sy.get(e)||0)+1;sy.set(e,t),m.push(e),1===t&&e.setAttribute(sb,"")}),sj+=1,()=>{i&&u.forEach(e=>{let t=(i.get(e)||0)-1;i.set(e,t),t||(!l?.has(e)&&s&&e.removeAttribute(s),l?.delete(e))}),o&&m.forEach(e=>{let t=(sy.get(e)||0)-1;sy.set(e,t),t||e.removeAttribute(sb)}),(sj-=1)||(sg.inert=new WeakMap,sg["aria-hidden"]=new WeakMap,sv.inert=new WeakSet,sv["aria-hidden"]=new WeakSet,sy=new WeakMap)}}(e,s,n,a,{mark:o,markerIgnoreElements:r})}let sD=[];function sT(){sD=sD.filter(e=>e.deref()?.isConnected)}function sI(){return sT(),sD[sD.length-1]?.deref()}function sx(e,t){if(!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;let n=rK(),a=rG(e,n).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return rY(e,n)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),o=e.getAttribute("tabindex");t.current.includes("floating")||0===a.length?"0"!==o&&e.setAttribute("tabindex","0"):("-1"!==o||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}
20function sC(e){let{context:t,children:n,disabled:a=!1,initialFocus:o=!0,returnFocus:r=!0,restoreFocus:s=!1,modal:i=!0,closeOnFocusOut:l=!0,openInteractionType:c="",nextFocusableElement:p,previousFocusableElement:d,beforeContentFocusGuardRef:u,externalTree:m,getInsideElements:h}=e,f="rootStore"in t?t.rootStore:t,g=f.useState("open"),b=f.useState("domReferenceElement"),v=f.useState("floatingElement"),{events:y,dataRef:j}=f.context,k=t1(()=>j.current.floatingContext?.nodeId),w=!1===o,_=nO(b)&&w,E=eZ.useRef(["content"]),D=nr(o),I=nr(r),x=nr(c),C=n6(m),S=eZ.useContext(r2),A=eZ.useRef(!1),N=eZ.useRef(!1),M=eZ.useRef(!1),O=eZ.useRef(-1),R=eZ.useRef(""),F=eZ.useRef(""),P=eZ.useRef(null),L=eZ.useRef(null),B=t2(P,u,S?.beforeInsideRef),H=t2(L,S?.afterInsideRef),U=nj(),z=nj(),$=a4(),q=null!=S,V=nR(v),W=t1((e=V)=>e?rW(e,rK()):[]),G=t1(()=>h?.().filter(e=>null!=e)??[]),Y=t1(e=>{let t=W(e);return E.current.map(()=>t).filter(Boolean).flat()});eZ.useEffect(()=>{if(a||!i)return;function e(e){"Tab"===e.key&&nS(V,nC(nk(V)))&&0===W().length&&!_&&nW(e)}let t=nk(V);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[a,b,V,i,E,_,W,Y]),eZ.useEffect(()=>{if(a||!g)return;let e=nk(V);function t(){M.current=!1}function n(e){let t=nA(e),n=G();M.current=!(nS(v,t)||nS(b,t)||nS(S?.portalNode,t)||n.some(e=>e===t||nS(e,t))),F.current=e.pointerType||"keyboard",t?.closest("[data-base-ui-click-trigger]")&&(N.current=!0)}function o(){F.current="keyboard"}return e.addEventListener("pointerdown",n,!0),e.addEventListener("pointerup",t,!0),e.addEventListener("pointercancel",t,!0),e.addEventListener("keydown",o,!0),()=>{e.removeEventListener("pointerdown",n,!0),e.removeEventListener("pointerup",t,!0),e.removeEventListener("pointercancel",t,!0),e.removeEventListener("keydown",o,!0)}},[a,v,b,V,g,S,G]),eZ.useEffect(()=>{if(a||!l)return;let e=nk(V);function t(){N.current=!0,z.start(0,()=>{N.current=!1})}function n(e){let t=nA(e),n=W().indexOf(t);-1!==n&&(O.current=n)}function o(t){let n=t.relatedTarget,a=t.currentTarget,o=nA(t);queueMicrotask(()=>{let r=k(),l=f.context.triggerElements,c=G(),u=n?.hasAttribute(n7("focus-guard"))&&[P.current,L.current,S?.beforeInsideRef.current,S?.afterInsideRef.current,S?.beforeOutsideRef.current,S?.afterOutsideRef.current,oh(d),oh(p)].includes(n),m=!(nS(b,n)||nS(v,n)||nS(n,v)||nS(S?.portalNode,n)||c.some(e=>e===n||nS(e,n))||null!=n&&l.hasElement(n)||l.hasMatchingElement(e=>nS(e,n))||u||C&&(nX(C.nodesRef.current,r).find(e=>nS(e.context?.elements.floating,n)||nS(e.context?.elements.domReference,n))||nJ(C.nodesRef.current,r).find(e=>[e.context?.elements.floating,nR(e.context?.elements.floating)].includes(n)||e.context?.elements.domReference===n)));if(a===b&&V&&sx(V,E),s&&a!==b&&!(o&&o.isConnected&&("function"==typeof o.checkVisibility?o.checkVisibility():aK(o)))&&nC(e)===e.body){if(nu(V)&&(V.focus(),"popup"===s))return void $.request(()=>{V.focus()});let e=O.current,t=W(),n=t[e]||t[t.length-1]||V;nu(n)&&n.focus()}if(j.current.insideReactTree){j.current.insideReactTree=!1;return}(_||!i)&&n&&m&&!N.current&&(_||n!==sI())&&(A.current=!0,f.setOpen(!1,n5(n8.focusOut,t)))})}function r(){M.current||(j.current.insideReactTree=!0,U.start(0,()=>{j.current.insideReactTree=!1}))}let c=nu(b)?b:null,u=[];if(v||c)return c&&(c.addEventListener("focusout",o),c.addEventListener("pointerdown",t),u.push(()=>{c.removeEventListener("focusout",o),c.removeEventListener("pointerdown",t)})),v&&(v.addEventListener("focusin",n),v.addEventListener("focusout",o),S&&(v.addEventListener("focusout",r,!0),u.push(()=>{v.removeEventListener("focusout",r,!0)})),u.push(()=>{v.removeEventListener("focusin",n),v.removeEventListener("focusout",o)})),()=>{u.forEach(e=>{e()})}},[a,b,v,V,i,C,S,f,l,s,W,_,k,E,j,U,z,$,p,d,G]),eZ.useEffect(()=>{if(a||!v||!g)return;let e=Array.from(S?.portalNode?.querySelectorAll(`[${n7("portal")}]`)||[]),t=C?nJ(C.nodesRef.current,k()):[],n=t.find(e=>nO(e.context?.elements.domReference||null))?.context?.elements.domReference,o=sE([v,...e,P.current,L.current,S?.beforeOutsideRef.current,S?.afterOutsideRef.current,...G(),n,oh(d),oh(p),_?b:null].filter(e=>null!=e),{ariaHidden:i||_,mark:!1}),r=sE([v,...e].filter(e=>null!=e));return()=>{r(),o()}},[g,a,b,v,i,E,S,_,C,k,p,d,G]),tQ(()=>
20{if(!g||a||!nu(V))return;let e=nC(nk(V));queueMicrotask(()=>{let t,n=Y(V),a=D.current,o="function"==typeof a?a(x.current||""):a;void 0===o||!1===o||(t=(t=!0===o||null===o?n[0]||V:oh(o))||n[0]||V,nS(V,e)||aX(t,{preventScroll:t===V}))})},[a,g,V,w,Y,D,x]),tQ(()=>{var e;if(a||!V)return;let t=nk(V);function n(e){var t,n;let a;if(e.open||(t=e.nativeEvent,n=F.current,a=nc(t.target),R.current=t instanceof a.KeyboardEvent?"keyboard":t instanceof a.FocusEvent?n||"keyboard":"pointerType"in t?t.pointerType||"keyboard":"touches"in t?"touch":t instanceof a.MouseEvent?n||(0===t.detail?"keyboard":"mouse"):""),e.reason===n8.triggerHover&&"mouseleave"===e.nativeEvent.type&&(A.current=!0),e.reason===n8.outsidePress)if(e.nested)A.current=!1;else if(nG(e.nativeEvent)||nY(e.nativeEvent))A.current=!1;else{let e=!1;document.createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?A.current=!1:A.current=!0}}return e=nC(t),sT(),e&&"body"!==nl(e)&&(sD.push(new WeakRef(e)),sD.length>20&&(sD=sD.slice(-20))),y.on("openchange",n),()=>{y.off("openchange",n);let e=nC(t),a=G(),o=nS(v,e)||a.some(t=>t===e||nS(t,e))||C&&nX(C.nodesRef.current,k(),!1).some(t=>nS(t.context?.elements.floating,e)),r=function(){let e=I.current,t="function"==typeof e?e(R.current):e;if(void 0===t||!1===t)return null;if(null===t&&(t=!0),"boolean"==typeof t){let e=b||sI();return e&&e.isConnected?e:null}let n=b||sI();return oh(t)||n||null}();queueMicrotask(()=>{let n=function(e){if(!e)return null;let t=rK();return rY(e,t)?e:rW(e,t)[0]||e}(r),a="boolean"!=typeof I.current;I.current&&!A.current&&nu(n)&&(a||n===e||e===t.body||o)&&n.focus({preventScroll:!0}),A.current=!1})}},[a,v,V,I,j,y,C,b,k,G]),tQ(()=>{if(!nH||g||!v)return;let e=nC(nk(v));nu(e)&&nM(e)&&nS(v,e)&&e.blur()},[g,v]),tQ(()=>{if(!a&&S)return S.setFocusManagerState({modal:i,closeOnFocusOut:l,open:g,onOpenChange:f.setOpen,domReference:b}),()=>{S.setFocusManagerState(null)}},[a,S,i,g,f,l,b]),tQ(()=>{if(!a&&V)return sx(V,E),()=>{queueMicrotask(sT)}},[a,V,E]);let K=!a&&(!i||!_)&&(q||i);return(0,T.jsxs)(eZ.Fragment,{children:[K&&(0,T.jsx)(rk,{"data-type":"inside",ref:B,onFocus:e=>{if(i){let e=Y();aX(e[e.length-1])}else if(S?.portalNode)if(A.current=!1,rZ(e,S.portalNode)){let e=rX(b);e?.focus()}else oh(d??S.beforeOutsideRef)?.focus()}}),n,K&&(0,T.jsx)(rk,{"data-type":"inside",ref:H,onFocus:e=>{if(i)aX(Y()[0]);else if(S?.portalNode)if(l&&(A.current=!0),rZ(e,S.portalNode)){let e=rJ(b);e?.focus()}else oh(p??S.afterOutsideRef)?.focus()}})]})}let sS={...o5,...ov},sA=eZ.forwardRef(function(e,t){let{render:n,className:a,initialFocus:o,finalFocus:r,...s}=e,i=a7(),l=rt(),c=oe(),{filteredItems:p}=ot(),d=na(i,ou.mounted,void 0,void 0,void 0),u=na(i,ou.open,void 0,void 0,void 0),m=na(i,ou.openMethod,void 0,void 0,void 0),h=na(i,ou.transitionStatus,void 0,void 0,void 0),f=na(i,ou.inputInsidePopup,void 0,void 0,void 0),g=na(i,ou.inputElement,void 0,void 0,void 0),b=na(i,ou.modal,void 0,void 0,void 0),v=0===p.length;oy({open:u,ref:i.state.popupRef,onComplete(){u&&i.state.onOpenChangeComplete(!0)}});let y=oQ("div",e,{state:{open:u,side:l.side,align:l.align,anchorHidden:l.anchorHidden,transitionStatus:h,empty:v},ref:[t,i.state.popupRef],props:[{role:f?"dialog":"presentation",tabIndex:-1,onFocus(e){let t=nA(e.nativeEvent);"touch"!==m&&(nS(i.state.listElement,t)||t===e.currentTarget)&&i.state.inputRef.current?.focus()}},sm(h),s],stateAttributesMapping:sS}),j=!!f&&(e=>"touch"===e?i.state.popupRef.current:g),k=!f||b;return(0,T.jsx)(sC,{context:c,disabled:!d,modal:k,openInteractionType:m,initialFocus:void 0===o?j:o,returnFocus:null!=r?r:!!f&&void 0,getInsideElements:()=>[i.state.startDismissRef.current,i.state.endDismissRef.current],children:(0,T.jsxs)(eZ.Fragment,{children:[y,k&&(0,T.jsx)(ri,{ref:i.state.endDismissRef})]})})}),sN=eZ.forwardRef(function(e,t){let{className:n,render:a,...o}=e,r=a7(),{arrowRef:s,side:i,align:l,arrowUncentered:c,arrowStyles:p}=rt();return oQ("div",e,{ref:[s,t],stateAttributesMapping:o5,state:{open:na(r,ou.open,void 0,void 0,void 0),side:i,align:l,uncentered:c},props:{style:p,"aria-hidden":!0,...o}})}),sM=eZ.forwardRef(function(e,t){let{className:n,render:a,...o}=e;
20return oQ("span",e,{ref:t,props:[{"aria-hidden":!0,children:"â¼"},o]})}),sO=eZ.createContext(void 0),sR=eZ.forwardRef(function(e,t){let{render:n,className:a,items:o,...r}=e,[s,i]=eZ.useState(),l=eZ.useMemo(()=>({labelId:s,setLabelId:i,items:o}),[s,i,o]),c=oQ("div",e,{ref:t,props:[{role:"group","aria-labelledby":s},r]}),p=(0,T.jsx)(sO.Provider,{value:l,children:c});return o?(0,T.jsx)(ru,{items:o,children:p}):p}),sF=eZ.forwardRef(function(e,t){let{render:n,className:a,id:o,...r}=e,{setLabelId:s}=function(){let e=eZ.useContext(sO);if(void 0===e)throw Error(as(18));return e}(),i=ox(o);return tQ(()=>(s(i),()=>{s(void 0)}),[i,s]),oQ("div",e,{ref:t,props:[{id:i},r]})}),sP=((l={})[l.None=0]="None",l[l.GuessFromOrder=1]="GuessFromOrder",l);function sL(e={}){let{label:t,metadata:n,textRef:a,indexGuessBehavior:o,index:r}=e,{register:s,unregister:i,subscribeMapChange:l,elementsRef:c,labelsRef:p,nextIndexRef:d}=eZ.useContext(rh),u=eZ.useRef(-1),[m,h]=eZ.useState(r??(o===sP.GuessFromOrder?()=>{if(-1===u.current){let e=d.current;d.current+=1,u.current=e}return u.current}:-1)),f=eZ.useRef(null),g=eZ.useCallback(e=>{if(f.current=e,-1!==m&&null!==e&&(c.current[m]=e,p)){let n=void 0!==t;p.current[m]=n?t:a?.current?.textContent??e.textContent}},[m,c,p,t,a]);return tQ(()=>{if(null!=r)return;let e=f.current;if(e)return s(e,n),()=>{i(e)}},[r,s,i,n]),tQ(()=>{if(null==r)return l(e=>{let t=f.current?e.get(f.current)?.index:null;null!=t&&h(t)})},[r,l,h]),eZ.useMemo(()=>({ref:g,index:m}),[m,g])}let sB=eZ.createContext(void 0);function sH(){let e=eZ.useContext(sB);if(!e)throw Error(as(19));return e}let sU=eZ.createContext(!1),sz=eZ.memo(eZ.forwardRef(function(e,t){let{render:n,className:a,value:o=null,index:r,disabled:s=!1,nativeButton:i=!1,...l}=e,c=eZ.useRef(!1),p=eZ.useRef(null),d=sL({index:r,textRef:p,indexGuessBehavior:sP.GuessFromOrder}),u=a7(),m=eZ.useContext(sU),{flatFilteredItems:h,hasItems:f}=ot(),g=na(u,ou.open,void 0,void 0,void 0),b=na(u,ou.selectionMode,void 0,void 0,void 0),v=na(u,ou.readOnly,void 0,void 0,void 0),y=na(u,ou.virtualized,void 0,void 0,void 0),j=na(u,ou.isItemEqualToValue,void 0,void 0,void 0),k="none"!==b,w=r??(y?or(h,o,j):d.index),_=-1!==d.index,E=na(u,ou.id,void 0,void 0,void 0),D=na(u,ou.isActive,w,void 0,void 0),I=na(u,ou.isSelected,o,void 0,void 0),x=na(u,ou.getItemProps,void 0,void 0,void 0),C=eZ.useRef(null),S=null!=E&&_?`${E}-${w}`:void 0,A=I&&k;tQ(()=>{if(!(_&&(y||null!=r)))return;let e=u.state.listRef.current;return e[w]=C.current,()=>{delete e[w]}},[_,y,w,r,u]),tQ(()=>{if(!_||f)return;let e=u.state.valuesRef.current;return e[w]=o,"none"!==b&&u.state.allValuesRef.current.push(o),()=>{delete e[w]}},[_,f,w,o,u,b]),tQ(()=>{if(!g){c.current=!1;return}if(!_||f)return;let e=u.state.selectedValue;oo(o,Array.isArray(e)?e[e.length-1]:e,j)&&u.set("selectedIndex",w)},[_,f,g,u,w,o,j]);let N=x({active:D,selected:A});N.id=void 0,N.onFocus=void 0;let{getButtonProps:M,buttonRef:O}=rr({disabled:s,focusableWhenDisabled:!0,native:i,composite:!0});function R(e){function t(){u.state.handleSelection(e,o)}u.state.submitOnItemClick?(om.flushSync(t),u.state.requestSubmit()):t()}let F=oQ("div",e,{ref:[O,t,d.ref,C],state:{disabled:s,selected:A,highlighted:D},props:[N,{id:S,role:m?"gridcell":"option","aria-selected":k?A:void 0,tabIndex:void 0,onPointerDownCapture(e){c.current=!0,e.preventDefault()},onClick(e){s||v||R(e.nativeEvent)},onMouseUp(e){let t=c.current;c.current=!1,s||v||0!==e.button||t||!D||R(e.nativeEvent)}},l,M]}),P=eZ.useMemo(()=>({selected:A,textRef:p}),[A,p]);return(0,T.jsx)(sB.Provider,{value:P,children:F})})),s$=eZ.forwardRef(function(e,t){let n=e.keepMounted??!1,{selected:a}=sH();return n||a?(0,T.jsx)(sq,{...e,ref:t}):null}),sq=eZ.memo(eZ.forwardRef((e,t)=>{let{render:n,className:a,keepMounted:o,...r}=e,{selected:s}=sH(),i=eZ.useRef(null),{transitionStatus:l,setMounted:c}=oF(s),p=oQ("span",e,{ref:[t,i],state:{selected:s,transitionStatus:l},props:[{"aria-hidden":!0,children:"âï¸"},r],stateAttributesMapping:ov});return oy({open:s,ref:i,onComplete(){s||c(!1)}}),p})),sV=eZ.forwardRef(function(e,t){let{render:n,className:a,...o}=e,r=a7(),s=na(r,ou.open,void 0,void 0,void 0),i=na(r,ou.hasSelectionChips,void 0,void 0,void 0),[l,c]=eZ.useState(void 0);s&&void 0!==l&&c(void 0);let p=eZ.useRef([]),d=oQ("div",e,{ref:[t,r.state.chipsContainerRef],props:[i?{role:"toolbar"}:n3,o]}),u=eZ.useMemo(()=>({highlightedChipIndex:l,setHighlightedChipIndex:c,chipsRef:p}),[l,c,p]);return(0,T.jsx)(o8.Provider,{value:u,children:(0,T.jsx)(rf,{elementsRef:p,children:d})})}),sW=eZ.createContext(void 0);var n8=n8;let sG=eZ.forwardRef(function(e,t){let{render:n,className:a,...o}=e,r=a7(),{setHighlightedChipIndex:s,chipsRef:i}=o7(),l=na(r,ou.disabled,void 0,void 0,void 0),c=na(r,ou.readOnly,void 0,void 0,void 0),p=na(r,ou.selectedValue,void 0,void 0,void 0),{ref:d,index:u}
20=sL(),m=oQ("div",e,{ref:[t,d],state:{disabled:l},props:[{tabIndex:-1,"aria-disabled":l||void 0,"aria-readonly":c||void 0,onKeyDown(e){if(l||c)return;let t=function(e){let t=u;if("ArrowLeft"===e.key)e.preventDefault(),t=u>0?u-1:void 0;else if("ArrowRight"===e.key)e.preventDefault(),t=u<p.length-1?u+1:void 0;else if("Backspace"===e.key||"Delete"===e.key){let n=u>=p.length-1?p.length-2:u;t=n>=0?n:void 0,nW(e),r.state.setIndices({activeIndex:null,selectedIndex:null,type:"keyboard"}),r.state.setSelectedValue(p.filter((e,t)=>t!==u),n5(n8.none,e.nativeEvent))}else"Enter"===e.key||" "===e.key?(nW(e),t=void 0):"ArrowDown"===e.key||"ArrowUp"===e.key?(nW(e),r.state.setOpen(!0,n5(n8.listNavigation,e.nativeEvent)),t=void 0):1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey||(t=void 0);return t}(e);om.flushSync(()=>{s(t)}),void 0===t?r.state.inputRef.current?.focus():i.current[t]?.focus()},onMouseDown(e){c||(e.preventDefault(),l||r.state.inputRef.current?.focus())}},o]}),h=eZ.useMemo(()=>({index:u}),[u]);return(0,T.jsx)(sW.Provider,{value:h,children:m})});var n8=n8;let sY=eZ.forwardRef(function(e,t){let{render:n,className:a,disabled:o=!1,nativeButton:r=!0,...s}=e,i=a7(),{index:l}=function(){let e=eZ.useContext(sW);if(!e)throw Error(as(17));return e}(),c=na(i,ou.disabled,void 0,void 0,void 0),p=na(i,ou.readOnly,void 0,void 0,void 0),d=na(i,ou.selectedValue,void 0,void 0,void 0),u=na(i,ou.isItemEqualToValue,void 0,void 0,void 0),m=c||o,{buttonRef:h,getButtonProps:f}=rr({native:r,disabled:m||p,focusableWhenDisabled:!0});function g(e){let t=n5(n8.chipRemovePress,e.nativeEvent);return!function(e){let t=i.state.activeIndex;if(null==t)return;let n=or(i.state.valuesRef.current,e,u);-1!==n&&t===n&&i.state.setIndices({activeIndex:null,type:i.state.keyboardActiveRef.current?"keyboard":"pointer"})}(d[l]),i.state.setSelectedValue(d.filter((e,t)=>t!==l),t),i.state.inputRef.current?.focus(),t}return oQ("button",e,{ref:[t,h],state:{disabled:m},props:[{tabIndex:-1,onClick(e){m||p||g(e).isPropagationAllowed||e.stopPropagation()},onKeyDown(e){m||p||("Enter"===e.key||" "===e.key)&&(g(e).isPropagationAllowed||nW(e))}},s,f]})}),sK=eZ.forwardRef(function(e,t){let{render:n,className:a,...o}=e,r=oQ("div",e,{ref:t,props:[{role:"row"},o]});return(0,T.jsx)(sU.Provider,{value:!0,children:r})}),sQ=eZ.forwardRef(function(e,t){let{render:n,className:a,children:o,...r}=e,{filteredItems:s}=ot(),i=a7(),l=0===s.length?o:null;return oQ("div",e,{ref:[t,i.state.emptyRef],props:[{children:l,role:"status","aria-live":"polite","aria-atomic":!0},r]})});var n8=n8;let sX={...ov,open:e=>e?o1:null},sJ=eZ.forwardRef(function(e,t){let{render:n,className:a,disabled:o=!1,nativeButton:r=!0,keepMounted:s=!1,...i}=e,{disabled:l}=oD(),c=a7(),p=na(c,ou.selectionMode,void 0,void 0,void 0),d=na(c,ou.disabled,void 0,void 0,void 0),u=na(c,ou.readOnly,void 0,void 0,void 0),m=na(c,ou.open,void 0,void 0,void 0),h=na(c,ou.selectedValue,void 0,void 0,void 0),f=na(c,ou.hasSelectionChips,void 0,void 0,void 0),g=on(),b=!1;b="none"===p?""!==g:"single"===p?null!=h:f;let v=l||d||o,{buttonRef:y,getButtonProps:j}=rr({native:r,disabled:v}),{mounted:k,transitionStatus:w,setMounted:_}=oF(b);oy({open:b,ref:c.state.clearRef,onComplete(){b||_(!1)}});let E=oQ("button",e,{state:{disabled:v,open:m,transitionStatus:w},ref:[t,y,c.state.clearRef],props:[{tabIndex:-1,children:"x",onMouseDown(e){e.preventDefault()},onClick(e){if(v||u)return;let t=c.state.keyboardActiveRef;c.state.setInputValue("",n5(n8.clearPress,e.nativeEvent)),"none"!==p?(c.state.setSelectedValue(Array.isArray(h)?[]:null,n5(n8.clearPress,e.nativeEvent)),c.state.setIndices({activeIndex:null,selectedIndex:null,type:t.current?"keyboard":"pointer"})):c.state.setIndices({activeIndex:null,type:t.current?"keyboard":"pointer"}),c.state.inputRef.current?.focus()}},i,j],stateAttributesMapping:sX});return s||k?E:null}),sZ=eZ.forwardRef(function(e,t){let{className:n,render:a,orientation:o="horizontal",...r}=e;return oQ("div",e,{state:{orientation:o},ref:t,props:[{role:"separator","aria-orientation":o},r]})});e.s(["Arrow",0,sN,"Backdrop",0,se,"Chip",0,sG,"ChipRemove",0,sY,"Chips",0,sV,"Clear",0,sJ,"Collection",0,rm,"Empty",0,sQ,"Group",0,sR,"GroupLabel",0,sF,"Icon",0,sM,"Input",0,rl,"InputGroup",0,rc,"Item",0,sz,"ItemIndicator",0,s$,"Label",0,oJ,"List",0,ry,"Popup",0,sA,"Portal",0,r8,"Positioner",0,sf,"Root",0,function(e){let{multiple:t=!1,defaultValue:n,value:a,onValueChange:o,autoComplete:r,...s}=e;return(0,T.jsx)(oH,{...s,selectionMode:t?"multiple":"single",selectedValue:a,defaultSelectedValue:n,onSelectedValueChange:o,formAutoComplete:r})}
20,"Row",0,sK,"Separator",0,sZ,"Status",0,rj,"Trigger",0,rp,"Value",0,function(e){let{children:t,placeholder:n}=e,a=a7(),o=na(a,ou.itemToStringLabel,void 0,void 0,void 0),r=na(a,ou.selectedValue,void 0,void 0,void 0),s=na(a,ou.items,void 0,void 0,void 0),i="multiple"===na(a,ou.selectionMode,void 0,void 0,void 0),l=na(a,ou.hasSelectedValue,void 0,void 0,void 0),c=na(a,ou.hasNullItemLabel,!l&&null!=n&&null==t,void 0,void 0),p=null;return p="function"==typeof t?t(r):null!=t?t:l||null==n||c?i&&Array.isArray(r)?r.reduce((e,t,n)=>(n>0&&e.push(", "),e.push((0,T.jsx)(eZ.Fragment,{children:od(t,s,o)},n)),e),[]):od(r,s,o):n,(0,T.jsx)(eZ.Fragment,{children:p})},"useFilter",0,function(e={}){let{multiple:t=!1,value:n,...a}=e,o=oR(a),r=eZ.useCallback((e,a,r)=>t?oN(o,r)(e,a):oM(o,r,n)(e,a),[o,n,t]);return eZ.useMemo(()=>({contains:r,startsWith:o.startsWith,endsWith:o.endsWith}),[r,o])},"useFilteredItems",0,function(){return ot().filteredItems}],60614);var s0=e.i(60614),s0=s0,s1=e.i(794163),s6=e.i(959861),s4=e.i(407425),s2=e.i(420119);let s3=s0.Root;function s5({className:e,children:t,...n}){return(0,T.jsxs)(s0.Trigger,{className:(0,x.cn)("[&_svg:not([class*='size-'])]:size-4",e),"data-slot":"combobox-trigger",...n,children:[t,(0,T.jsx)(s4.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4"})]})}function s9({className:e,...t}){return(0,T.jsx)(s0.Clear,{"aria-label":"Clear",className:(0,x.cn)(e),"data-slot":"combobox-clear",render:(0,T.jsx)(s1.InputGroupButton,{size:"icon-xs",variant:"ghost"}),...t,children:(0,T.jsx)(s2.XIcon,{className:"pointer-events-none"})})}function s8({className:e,children:t,disabled:n=!1,showTrigger:a=!0,showClear:o=!1,...r}){return(0,T.jsxs)(s1.InputGroup,{className:(0,x.cn)("w-auto",e),children:[(0,T.jsx)(s0.Input,{render:(0,T.jsx)(s1.InputGroupInput,{disabled:n}),...r}),(0,T.jsxs)(s1.InputGroupAddon,{align:"inline-end",children:[a&&(0,T.jsx)(s1.InputGroupButton,{asChild:!0,className:"group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent","data-slot":"input-group-button",disabled:n,size:"icon-xs",variant:"ghost",children:(0,T.jsx)(s5,{})}),o&&(0,T.jsx)(s9,{disabled:n})]}),t]})}function s7({className:e,side:t="bottom",sideOffset:n=6,align:a="start",alignOffset:o=0,anchor:r,...s}){return(0,T.jsx)(s0.Portal,{children:(0,T.jsx)(s0.Positioner,{align:a,alignOffset:o,anchor:r,className:(0,x.cn)("pointer-events-auto","isolate z-50"),side:t,sideOffset:n,children:(0,T.jsx)(s0.Popup,{className:(0,x.cn)("pointer-events-auto","group/combobox-content data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 bg-popover/70 text-popover-foreground ring-foreground/10 data-closed:animate-out data-open:animate-in **:data-[slot$=-item]:data-highlighted:bg-foreground
20/10 *:data-[slot=input-group]:border-input/30 **:data-[slot$=-separator]:bg-foreground/5 *:data-[slot=input-group]:bg-input/30 **:data-[variant=destructive]:**:text-accent-foreground! **:data-[variant=destructive]:text-accent-foreground! **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[variant=destructive]:focus:bg-foreground/10! relative max-h-(--available-height) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) animate-none! overflow-hidden rounded-md shadow-md ring-1 duration-100 before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:rounded-[inherit] before:backdrop-blur-2xl before:backdrop-saturate-150 data-[chips=true]:min-w-(--anchor-width) *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:shadow-none",e),"data-chips":!!r,"data-slot":"combobox-content",...s})})})}function ie({className:e,...t}){return(0,T.jsx)(s0.List,{className:(0,x.cn)("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0",e),"data-slot":"combobox-list",...t})}function it({className:e,children:t,...n}){return(0,T.jsxs)(s0.Item,{className:(0,x.cn)("data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),"data-slot":"combobox-item",...n,children:[t,(0,T.jsx)(s0.ItemIndicator,{render:(0,T.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center"}),children:(0,T.jsx)(s6.CheckIcon,{className:"pointer-events-none"})})]})}function ia({className:e,...t}){return(0,T.jsx)(s0.Empty,{className:(0,x.cn)("text-muted-foreground hidden w-full px-3 py-2.5 text-sm group-data-empty/combobox-content:flex empty:hidden",e),"data-slot":"combobox-empty",...t})}function io({className:e,...t}){return(0,T.jsx)(s0.Status,{className:(0,x.cn)("text-muted-foreground hidden w-full items-center gap-1.5 px-3 py-2.5 text-sm group-data-empty/combobox-content:flex empty:hidden",e),"data-slot":"combobox-status",...t})}e.s(["Combobox",0,s3,"ComboboxChip",0,function({className:e,children:t,showRemove:n=!0,...a}){return(0,T.jsxs)(s0.Chip,{className:(0,x.cn)("bg-muted text-foreground flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm px-1.5 text-xs font-medium whitespace-nowrap has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0",e),"data-slot":"combobox-chip",...a,children:[t,n&&(0,T.jsx)(s0.ChipRemove,{className:"-ml-1 opacity-50 hover:opacity-100","data-slot":"combobox-chip-remove",render:(0,T.jsx)(I.Button,{size:"icon-xs",variant:"ghost"}),children:(0,T.jsx)(s2.XIcon,{className:"pointer-events-none"})})]})},"ComboboxChips",0,function({className:e,...t}){return(0,T.jsx)(s0.Chips,{className:(0,x.cn)("border-input bg-background focus-within:border-ring focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-destructive/20 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40 flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border bg-clip-padding px-2.5 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:ring-3 has-aria-invalid:ring-3 has-data-[slot=combobox-chip]:px-1.5",e),"data-slot":"combobox-chips",...t})},"ComboboxChipsInput",0,function({className:e,...t}){return(0,T.jsx)(s0.Input,{className:(0,x.cn)("min-w-16 flex-1 outline-none",e),"data-slot":"combobox-chip-input",...t})},"ComboboxContent",0,s7,"ComboboxEmpty",0,ia,"ComboboxInput",0,s8,"ComboboxItem",0,it,"ComboboxList",0,ie,"ComboboxStatus",0,io,"ComboboxValue",0,function({...e}){return(0,T.jsx)(s0.Value,{"data-slot":"combobox-value",...e})},"useComboboxAnchor",0,function(){return eZ.useRef(null)}],706063);var ir=e.i(119302),is=e.i(98340),ii=e.i(9763);function il({onChange:e,autocompleteQuery:t,addressQuery:n,value:a,...o}){let r=(0,is.useQueryClient)(),[s,i]=(0,eZ.useState)(!1),[l,c]=(0,eZ.useState)([]),[p,d]=(0,eZ.useState)(()=>{let e;return e=eJ(a,["coordinates","geolocation"]),(0,ii.some)(a)?e:null}),[u,m]=(0,eZ.useState)(""),[h,f]=(0,eZ.useTransition)(),g=(0,eZ.useRef)(null),b=u.trim(),v=(0,eZ.useMemo)(()=>l.length>0?l:p&&b.length<3?[p]:[],[l,p,b]);function y(e){return"label"in e?e.label:(0,tY.formatAddress)(e)??"Unknown address"}async function j(t){let a=await r.fetchQuery(n({id:t}));f(()=>{m(""),e?.(a),d(a),i(!1)})}return(0,T.jsxs)(s3,{filter:null,items:v,itemToStringLabel:y,onInputValueChange:(e,{reason:n})=>{if(m(e),""===e)return void c([]);if("item-press"===n||e.length<3)return;let a=new AbortController;g.current?.abort(),g.current=a,f(async()=>{let n=await r.fetchQuery(t({query:e}));a.signal.aborted||f(()=>{c(n)})})},onOpenChange:(e,t)=>
20{t.isCanceled||i(e)},onValueChange:(t,n)=>{if(!t?.id){m(""),e?.(null),d(null);return}n.cancel(),j(t.id)},open:s,value:p,children:[(0,T.jsx)(s8,{showClear:!0,...eJ(o,["className"])}),(0,T.jsxs)(s7,{children:[(0,T.jsx)(ia,{children:b.length<3||h||l.length>0?null:`No matches for "${b}".`}),(0,T.jsx)(io,{children:h?(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(ir.Spinner,{}),"Searchingâ¦"]}):b.length<3?p?null:"Start typing to search addressesâ¦":null}),(0,T.jsx)(ie,{children:e=>(0,T.jsx)(it,{value:e,children:y(e)},e.id??"selected-value")})]})]})}var ic=e.i(183144);function ip({length:e,maxLength:t,className:n}){let a=t-e;return(0,T.jsx)(s1.InputGroupText,{className:(0,x.cn)("text-xs tabular-nums",a<0?"text-destructive":a<.2*t&&"text-amber-800 dark:text-amber-400",n),children:a})}function id({control:e,name:t,label:n,description:a,showLabel:o=!0,showError:r=!0,autoComplete:s="off",maxLength:i,id:l,...c}){let p=l??t;return(0,T.jsx)(tv,{control:e,name:t,render:({field:e,fieldState:t})=>(0,T.jsxs)(C.Field,{"data-invalid":t.invalid,children:[(0,T.jsx)(C.FieldLabel,{className:(0,x.cn)(!o&&"sr-only"),htmlFor:p,children:n}),i?(0,T.jsxs)(s1.InputGroup,{children:[(0,T.jsx)(s1.InputGroupInput,{...e,value:e.value??"",...c,"aria-invalid":t.invalid,autoComplete:s,id:p}),(0,T.jsx)(s1.InputGroupAddon,{align:"inline-end",children:(0,T.jsx)(ip,{length:e.value?.length??0,maxLength:i})})]}):(0,T.jsx)(ic.Input,{...e,value:e.value??"",...c,"aria-invalid":t.invalid,autoComplete:s,id:p}),a&&(0,T.jsx)(C.FieldDescription,{children:a}),r&&t.invalid&&(0,T.jsx)(C.FieldError,{errors:[t.error]})]})})}e.s(["CharacterCount",0,ip],694800),e.s(["InputField",0,id],628050);var iu=e.i(540796);let im=(0,iu.default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);function ih(e,[t,n]){return Math.min(n,Math.max(t,e))}var ig=e.i(291967),ib=e.i(151467),iv=e.i(463697),iy=e.i(305153),ij=e.i(487941),ik=e.i(179277),iw=e.i(353703),i_=e.i(741922),iE=e.i(469466),iD=e.i(749219),iT=e.i(873700),iI=e.i(411273),ix=e.i(515800),iC=e.i(322239),iS=e.i(74883),iA=e.i(520213),iN=e.i(810936),iM=e.i(455197),iO=e.i(73772),iR=e.i(952551),iF=[" ","Enter","ArrowUp","ArrowDown"],iP=[" ","Enter"],iL="Select",[iB,iH,iU]=(0,ib.createCollection)(iL),[iz,i$]=(0,iy.createContextScope)(iL,[iU,iD.createPopperScope]),iq=(0,iD.createPopperScope)(),[iV,iW]=iz(iL),[iG,iY]=iz(iL),iK=e=>{let{__scopeSelect:t,children:n,open:a,defaultOpen:o,onOpenChange:r,value:s,defaultValue:i,onValueChange:l,dir:c,name:p,autoComplete:d,disabled:u,required:m,form:h}=e,f=iq(t),[g,b]=eZ.useState(null),[v,y]=eZ.useState(null),[j,k]=eZ.useState(!1),w=(0,ij.useDirection)(c),[_,E]=(0,iS.useControllableState)({prop:a,defaultProp:o??!1,onChange:r,caller:iL}),[D,I]=(0,iS.useControllableState)({prop:s,defaultProp:i,onChange:l,caller:iL}),x=eZ.useRef(null),C=!g||h||!!g.closest("form"),[S,A]=eZ.useState(new Set),N=Array.from(S).map(e=>e.props.value).join(";");return(0,T.jsx)(iD.Root,{...f,children:(0,T.jsxs)(iV,{required:m,scope:t,trigger:g,onTriggerChange:b,valueNode:v,onValueNodeChange:y,valueNodeHasChildren:j,onValueNodeHasChildrenChange:k,contentId:(0,iE.useId)(),value:D,onValueChange:I,open:_,onOpenChange:E,dir:w,triggerPointerDownPosRef:x,disabled:u,children:[(0,T.jsx)(iB.Provider,{scope:t,children:(0,T.jsx)(iG,{scope:e.__scopeSelect,onNativeOptionAdd:eZ.useCallback(e=>{A(t=>new Set(t).add(e))},[]),onNativeOptionRemove:eZ.useCallback(e=>{A(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),C?(0,T.jsxs)(lT,{"aria-hidden":!0,required:m,tabIndex:-1,name:p,autoComplete:d,value:D,onChange:e=>I(e.target.value),disabled:u,form:h,children:[void 0===D?(0,T.jsx)("option",{value:""}):null,Array.from(S)]},N):null]})})};iK.displayName=iL;var iQ="SelectTrigger",iX=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:a=!1,...o}=e,r=iq(n),s=iW(iQ,n),i=s.disabled||a,l=(0,iv.useComposedRefs)(t,s.onTriggerChange),c=iH(n),p=eZ.useRef("touch"),[d,u,m]=lx(e=>{let t=c().filter(e=>!e.disabled),n=t.find(e=>e.value===s.value),a=lC(t,e,n);void 0!==a&&s.onValueChange(a.value)}),h=e=>{i||(s.onOpenChange(!0),m()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,T.jsx)(iD.Anchor,{asChild:!0,...r,children:(0,T.jsx)(iI.Primitive.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":lI(s.value)?"":void 0,...o,ref:l,onClick:(0,ig.composeEventHandlers)(o.onClick,e=>
20{e.currentTarget.focus(),"mouse"!==p.current&&h(e)}),onPointerDown:(0,ig.composeEventHandlers)(o.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(h(e),e.preventDefault())}),onKeyDown:(0,ig.composeEventHandlers)(o.onKeyDown,e=>{let t=""!==d.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||u(e.key),(!t||" "!==e.key)&&iF.includes(e.key)&&(h(),e.preventDefault())})})})});iX.displayName=iQ;var iJ="SelectValue",iZ=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,className:a,style:o,children:r,placeholder:s="",...i}=e,l=iW(iJ,n),{onValueNodeHasChildrenChange:c}=l,p=void 0!==r,d=(0,iv.useComposedRefs)(t,l.onValueNodeChange);return(0,iA.useLayoutEffect)(()=>{c(p)},[c,p]),(0,T.jsx)(iI.Primitive.span,{...i,ref:d,style:{pointerEvents:"none"},children:lI(l.value)?(0,T.jsx)(T.Fragment,{children:s}):r})});iZ.displayName=iJ;var i0=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,children:a,...o}=e;return(0,T.jsx)(iI.Primitive.span,{"aria-hidden":!0,...o,ref:t,children:a||"â¼"})});i0.displayName="SelectIcon";var i1=e=>(0,T.jsx)(iT.Portal,{asChild:!0,...e});i1.displayName="SelectPortal";var i6="SelectContent",i4=eZ.forwardRef((e,t)=>{let n=iW(i6,e.__scopeSelect),[a,o]=eZ.useState();return((0,iA.useLayoutEffect)(()=>{o(new DocumentFragment)},[]),n.open)?(0,T.jsx)(i9,{...e,ref:t}):a?om.createPortal((0,T.jsx)(i2,{scope:e.__scopeSelect,children:(0,T.jsx)(iB.Slot,{scope:e.__scopeSelect,children:(0,T.jsx)("div",{children:e.children})})}),a):null});i4.displayName=i6;var[i2,i3]=iz(i6),i5=(0,ix.createSlot)("SelectContent.RemoveScroll"),i9=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,position:a="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:r,onPointerDownOutside:s,side:i,sideOffset:l,align:c,alignOffset:p,arrowPadding:d,collisionBoundary:u,collisionPadding:m,sticky:
20h,hideWhenDetached:f,avoidCollisions:g,...b}=e,v=iW(i6,n),[y,j]=eZ.useState(null),[k,w]=eZ.useState(null),_=(0,iv.useComposedRefs)(t,e=>j(e)),[E,D]=eZ.useState(null),[I,x]=eZ.useState(null),C=iH(n),[S,A]=eZ.useState(!1),N=eZ.useRef(!1);eZ.useEffect(()=>{if(y)return(0,iO.hideOthers)(y)},[y]),(0,iw.useFocusGuards)();let M=eZ.useCallback(e=>{let[t,...n]=C().map(e=>e.ref.current),[a]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(n?.scrollIntoView({block:"nearest"}),n===t&&k&&(k.scrollTop=0),n===a&&k&&(k.scrollTop=k.scrollHeight),n?.focus(),document.activeElement!==o))return},[C,k]),O=eZ.useCallback(()=>M([E,y]),[M,E,y]);eZ.useEffect(()=>{S&&O()},[S,O]);let{onOpenChange:R,triggerPointerDownPosRef:F}=v;eZ.useEffect(()=>{if(y){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(F.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(F.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():y.contains(n.target)||R(!1),document.removeEventListener("pointermove",t),F.current=null};return null!==F.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[y,R,F]),eZ.useEffect(()=>{let e=()=>R(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[R]);let[P,L]=lx(e=>{let t=C().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),a=lC(t,e,n);a&&setTimeout(()=>a.ref.current.focus())}),B=eZ.useCallback((e,t,n)=>{let a=!N.current&&!n;(void 0!==v.value&&v.value===t||a)&&(D(e),a&&(N.current=!0))},[v.value]),H=eZ.useCallback(()=>y?.focus(),[y]),U=eZ.useCallback((e,t,n)=>{let a=!N.current&&!n;(void 0!==v.value&&v.value===t||a)&&x(e)},[v.value]),z="popper"===a?i7:i8,$=z===i7?{side:i,sideOffset:l,align:c,alignOffset:p,arrowPadding:d,collisionBoundary:u,collisionPadding:m,sticky:
20h,hideWhenDetached:f,avoidCollisions:g}:{};return(0,T.jsx)(i2,{scope:n,content:y,viewport:k,onViewportChange:w,itemRefCallback:B,selectedItem:E,onItemLeave:H,itemTextRefCallback:U,focusSelectedItem:O,selectedItemText:I,position:a,isPositioned:S,searchRef:P,children:(0,T.jsx)(iR.RemoveScroll,{as:i5,allowPinchZoom:!0,children:(0,T.jsx)(i_.FocusScope,{asChild:!0,trapped:v.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,ig.composeEventHandlers)(o,e=>{v.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,T.jsx)(ik.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>v.onOpenChange(!1),children:(0,T.jsx)(z,{role:"listbox",id:v.contentId,"data-state":v.open?"open":"closed",dir:v.dir,onContextMenu:e=>e.preventDefault(),...b,...$,onPlaced:()=>A(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:(0,ig.composeEventHandlers)(b.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||L(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=C().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,a=t.indexOf(n);t=t.slice(a+1)}setTimeout(()=>M(t)),e.preventDefault()}})})})})})})});i9.displayName="SelectContentImpl";var i8=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:a,...o}=e,r=iW(i6,n),s=i3(i6,n),[i,l]=eZ.useState(null),[c,p]=eZ.useState(null),d=(0,iv.useComposedRefs)(t,e=>p(e)),u=iH(n),m=eZ.useRef(!1),h=eZ.useRef(!0),{viewport:f,selectedItem:g,selectedItemText:b,focusSelectedItem:v}=s,y=eZ.useCallback(()=>{if(r.trigger&&r.valueNode&&i&&c&&f&&g&&b){let e=r.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=r.valueNode.getBoundingClientRect(),o=b.getBoundingClientRect();if("rtl"!==r.dir){let a=o.left-t.left,r=n.left-a,s=e.left-r,l=e.width+s,c=Math.max(l,t.width),p=ih(r,[10,Math.max(10,window.innerWidth-10-c)]);i.style.minWidth=l+"px",i.style.left=p+"px"}else{let a=t.right-o.right,r=window.innerWidth-n.right-a,s=window.innerWidth-e.right-r,l=e.width+s,c=Math.max(l,t.width),p=ih(r,[10,Math.max(10,window.innerWidth-10-c)]);i.style.minWidth=l+"px",i.style.right=p+"px"}let s=u(),l=window.innerHeight-20,p=f.scrollHeight,d=window.getComputedStyle(c),h=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),y=parseInt(d.borderBottomWidth,10),j=h+v+p+parseInt(d.paddingBottom,10)+y,k=Math.min(5*g.offsetHeight,j),w=window.getComputedStyle(f),_=parseInt(w.paddingTop,10),E=parseInt(w.paddingBottom,10),D=e.top+e.height/2-10,T=g.offsetHeight/2,I=h+v+(g.offsetTop+T);if(I<=D){let e=s.length>0&&g===s[s.length-1].ref.current;i.style.bottom="0px";let t=Math.max(l-D,T+(e?E:0)+(c.clientHeight-f.offsetTop-f.offsetHeight)+y);i.style.height=I+t+"px"}else{let e=s.length>0&&g===s[0].ref.current;i.style.top="0px";let t=Math.max(D,h+f.offsetTop+(e?_:0)+T);i.style.height=t+(j-I)+"px",f.scrollTop=I-D+f.offsetTop}i.style.margin="10px 0",i.style.minHeight=k+"px",i.style.maxHeight=l+"px",a?.(),requestAnimationFrame(()=>m.current=!0)}},[u,r.trigger,r.valueNode,i,c,f,g,b,r.dir,a]);(0,iA.useLayoutEffect)(()=>y(),[y]);let[j,k]=eZ.useState();(0,iA.useLayoutEffect)(()=>{c&&k(window.getComputedStyle(c).zIndex)},[c]);let w=eZ.useCallback(e=>{e&&!0===h.current&&(y(),v?.(),h.current=!1)},[y,v]);return(0,T.jsx)(le,{scope:n,contentWrapper:i,shouldExpandOnScrollRef:m,onScrollButtonChange:w,children:(0,T.jsx)("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:(0,T.jsx)(iI.Primitive.div,{...o,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});i8.displayName="SelectItemAlignedPosition";var i7=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,align:a="start",collisionPadding:o=10,...r}=e,s=iq(n);return(0,T.jsx)(iD.Content,{...s,...r,ref:t,align:a,collisionPadding:o,style:{boxSizing:"border-box",...r.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});i7.displayName="SelectPopperPosition";var[le,lt]=iz(i6,{}),ln="SelectViewport",la=eZ.forwardRef((e,t)=>
20{let{__scopeSelect:n,nonce:a,...o}=e,r=i3(ln,n),s=lt(ln,n),i=(0,iv.useComposedRefs)(t,r.onViewportChange),l=eZ.useRef(0);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,T.jsx)(iB.Slot,{scope:n,children:(0,T.jsx)(iI.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:i,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,ig.composeEventHandlers)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:a}=s;if(a?.current&&n){let e=Math.abs(l.current-t.scrollTop);if(e>0){let a=window.innerHeight-20,o=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(o<a){let r=o+e,s=Math.min(a,r),i=r-s;n.style.height=s+"px","0px"===n.style.bottom&&(t.scrollTop=i>0?i:0,n.style.justifyContent="flex-end")}}}l.current=t.scrollTop})})})]})});la.displayName=ln;var lo="SelectGroup",[lr,ls]=iz(lo),li=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,...a}=e,o=(0,iE.useId)();return(0,T.jsx)(lr,{scope:n,id:o,children:(0,T.jsx)(iI.Primitive.div,{role:"group","aria-labelledby":o,...a,ref:t})})});li.displayName=lo;var ll="SelectLabel",lc=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,...a}=e,o=ls(ll,n);return(0,T.jsx)(iI.Primitive.div,{id:o.id,...a,ref:t})});lc.displayName=ll;var lp="SelectItem",[ld,lu]=iz(lp),lm=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,value:a,disabled:o=!1,textValue:r,...s}=e,i=iW(lp,n),l=i3(lp,n),c=i.value===a,[p,d]=eZ.useState(r??""),[u,m]=eZ.useState(!1),h=(0,iv.useComposedRefs)(t,e=>l.itemRefCallback?.(e,a,o)),f=(0,iE.useId)(),g=eZ.useRef("touch"),b=()=>{o||(i.onValueChange(a),i.onOpenChange(!1))};if(""===a)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,T.jsx)(ld,{scope:n,value:a,disabled:o,textId:f,isSelected:c,onItemTextChange:eZ.useCallback(e=>{d(t=>t||(e?.textContent??"").trim())},[]),children:(0,T.jsx)(iB.ItemSlot,{scope:n,value:a,disabled:o,textValue:p,children:(0,T.jsx)(iI.Primitive.div,{role:"option","aria-labelledby":f,"data-highlighted":u?"":void 0,"aria-selected":c&&u,"data-state":c?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:h,onFocus:(0,ig.composeEventHandlers)(s.onFocus,()=>m(!0)),onBlur:(0,ig.composeEventHandlers)(s.onBlur,()=>m(!1)),onClick:(0,ig.composeEventHandlers)(s.onClick,()=>{"mouse"!==g.current&&b()}),onPointerUp:(0,ig.composeEventHandlers)(s.onPointerUp,()=>{"mouse"===g.current&&b()}),onPointerDown:(0,ig.composeEventHandlers)(s.onPointerDown,e=>{g.current=e.pointerType}),onPointerMove:(0,ig.composeEventHandlers)(s.onPointerMove,e=>{g.current=e.pointerType,o?l.onItemLeave?.():"mouse"===g.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,ig.composeEventHandlers)(s.onPointerLeave,e=>{e.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:(0,ig.composeEventHandlers)(s.onKeyDown,e=>{(l.searchRef?.current===""||" "!==e.key)&&(iP.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});lm.displayName=lp;var lh="SelectItemText",lf=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,className:a,style:o,...r}=e,s=iW(lh,n),i=i3(lh,n),l=lu(lh,n),c=iY(lh,n),[p,d]=eZ.useState(null),u=(0,iv.useComposedRefs)(t,e=>d(e),l.onItemTextChange,e=>i.itemTextRefCallback?.(e,l.value,l.disabled)),m=p?.textContent,h=eZ.useMemo(()=>(0,T.jsx)("option",{value:l.value,disabled:l.disabled,children:m},l.value),[l.disabled,l.value,m]),{onNativeOptionAdd:f,onNativeOptionRemove:g}=c;return(0,iA.useLayoutEffect)(()=>(f(h),()=>g(h)),[f,g,h]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(iI.Primitive.span,{id:l.textId,...r,ref:u}),l.isSelected&&s.valueNode&&!s.valueNodeHasChildren?om.createPortal(r.children,s.valueNode):null]})});lf.displayName=lh;var lg="SelectItemIndicator",lb=eZ.forwardRef((e,t)=>
20{let{__scopeSelect:n,...a}=e;return lu(lg,n).isSelected?(0,T.jsx)(iI.Primitive.span,{"aria-hidden":!0,...a,ref:t}):null});lb.displayName=lg;var lv="SelectScrollUpButton",ly=eZ.forwardRef((e,t)=>{let n=i3(lv,e.__scopeSelect),a=lt(lv,e.__scopeSelect),[o,r]=eZ.useState(!1),s=(0,iv.useComposedRefs)(t,a.onScrollButtonChange);return(0,iA.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){r(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,T.jsx)(lw,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});ly.displayName=lv;var lj="SelectScrollDownButton",lk=eZ.forwardRef((e,t)=>{let n=i3(lj,e.__scopeSelect),a=lt(lj,e.__scopeSelect),[o,r]=eZ.useState(!1),s=(0,iv.useComposedRefs)(t,a.onScrollButtonChange);return(0,iA.useLayoutEffect)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;r(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,T.jsx)(lw,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});lk.displayName=lj;var lw=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:a,...o}=e,r=i3("SelectScrollButton",n),s=eZ.useRef(null),i=iH(n),l=eZ.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return eZ.useEffect(()=>()=>l(),[l]),(0,iA.useLayoutEffect)(()=>{let e=i().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[i]),(0,T.jsx)(iI.Primitive.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,ig.composeEventHandlers)(o.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(a,50))}),onPointerMove:(0,ig.composeEventHandlers)(o.onPointerMove,()=>{r.onItemLeave?.(),null===s.current&&(s.current=window.setInterval(a,50))}),onPointerLeave:(0,ig.composeEventHandlers)(o.onPointerLeave,()=>{l()})})}),l_=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,...a}=e;return(0,T.jsx)(iI.Primitive.div,{"aria-hidden":!0,...a,ref:t})});l_.displayName="SelectSeparator";var lE="SelectArrow",lD=eZ.forwardRef((e,t)=>{let{__scopeSelect:n,...a}=e,o=iq(n),r=iW(lE,n),s=i3(lE,n);return r.open&&"popper"===s.position?(0,T.jsx)(iD.Arrow,{...o,...a,ref:t}):null});lD.displayName=lE;var lT=eZ.forwardRef(({__scopeSelect:e,value:t,...n},a)=>{let o=eZ.useRef(null),r=(0,iv.useComposedRefs)(a,o),s=(0,iN.usePrevious)(t);return eZ.useEffect(()=>{let e=o.current;if(!e)return;let n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==t&&n){let a=new Event("change",{bubbles:!0});n.call(e,t),e.dispatchEvent(a)}},[s,t]),(0,T.jsx)(iI.Primitive.select,{...n,style:{...iM.VISUALLY_HIDDEN_STYLES,...n.style},ref:r,defaultValue:t})});function lI(e){return""===e||void 0===e}function lx(e){let t=(0,iC.useCallbackRef)(e),n=eZ.useRef(""),a=eZ.useRef(0),o=eZ.useCallback(e=>{let o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(a.current),""!==t&&(a.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),r=eZ.useCallback(()=>{n.current="",window.clearTimeout(a.current)},[]);return eZ.useEffect(()=>()=>window.clearTimeout(a.current),[]),[n,o,r]}function lC(e,t,n){var a,o;let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,s=n?e.indexOf(n):-1,i=(a=e,o=Math.max(s,0),a.map((e,t)=>a[(o+t)%a.length]));1===r.length&&(i=i.filter(e=>e!==n));let l=i.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}lT.displayName="SelectBubbleInput",e.s(["Arrow",0,lD,"Content",0,i4,"Group",0,li,"Icon",0,i0,"Item",0,lm,"ItemIndicator",0,lb,"ItemText",0,lf,"Label",0,lc,"Portal",0,i1,"Root",0,iK,"ScrollDownButton",0,lk,"ScrollUpButton",0,ly,"Select",0,iK,"SelectArrow",0,lD,"SelectContent",0,i4,"SelectGroup",0,li,"SelectIcon",0,i0,"SelectItem",0,lm,"SelectItemIndicator",0,lb,"SelectItemText",0,lf,"SelectLabel",0,lc,"SelectPortal",0,i1,"SelectScrollDownButton",0,lk,"SelectScrollUpButton",0,ly,"SelectSeparator",0,l_,"SelectTrigger",0,iX,"SelectValue",0,iZ,"SelectViewport",0,la,"Separator",0,l_,"Trigger",0,iX,"Value",0,iZ,"Viewport",0,la,"createSelectScope",0,i$],368817);var lS=e.i(368817),lS=lS;function lA({...e}){return(0,T.jsx)(lS.Root,{"data-slot":"select",...e})}function lN({className:e,...t}){return(0,T.jsx)(lS.Group,{className:(0,x.cn)("scroll-my-1 p-1",e),"data-slot":"select-group",...t})}function lM({...e}){return(0,T.jsx)(lS.Value,{"data-slot":"select-value",...e})}function lO({className:e,size:t="default",children:n,...a}){return(0,T.jsxs)(lS.Trigger,{className:(0,x.cn)("border-input bg-background focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-1.5 rounded-md border py-2 pr-2 pl-2.5 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),"data-size":t,"data-slot":"select-trigger",...a,children:[n,(0,T.jsx)(lS.Icon,{asChild:!0,children:(0,T.jsx)(s4.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4"})})]})}function lR({className:e,children:t,position:n="item-aligned",align:a="center",...o}){return(0,T.jsx)(lS.Portal,{children:(0,T.jsxs)(lS.Content,{align:a,className:(0,x.cn)("data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
20de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 bg-popover/70 text-popover-foreground ring-foreground/10 data-closed:animate-out data-open:animate-in **:data-[slot$=-item]:data-highlighted:bg-foreground/10 **:data-[slot$=-separator]:bg-foreground/5 **:data-[variant=destructive]:**:text-accent-foreground! **:data-[variant=destructive]:text-accent-foreground! **:data-[slot$=-trigger]:aria-expanded:bg-foreground/10! **:data-[slot$=-item]:focus:bg-foreground/10 **:data-[slot$=-trigger]:focus:bg-foreground/10 **:data-[variant=destructive]:focus:bg-foreground/10! relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) animate-none! overflow-x-hidden overflow-y-auto rounded-md shadow-md ring-1 duration-100 before:pointer-events-none before:absolute before:inset-0 before:-z-1 before:rounded-[inherit] before:backdrop-blur-2xl before:backdrop-saturate-150 data-[align-trigger=true]:animate-none","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),"data-align-trigger":"item-aligned"===n,"data-slot":"select-content",position:n,...o,children:[(0,T.jsx)(lL,{}),(0,T.jsx)(lS.Viewport,{className:(0,x.cn)("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)","popper"===n&&""),"data-position":n,children:t}),(0,T.jsx)(lB,{})]})})}function lF({className:e,children:t,...n}){return(0,T.jsxs)(lS.Item,{className:(0,x.cn)("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),"data-slot":"select-item",...n,children:[(0,T.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:(0,T.jsx)(lS.ItemIndicator,{children:(0,T.jsx)(s6.CheckIcon,{className:"pointer-events-none"})})}),(0,T.jsx)(lS.ItemText,{children:t})]})}function lP({className:e,...t}){return(0,T.jsx)(lS.Separator,{className:(0,x.cn)("bg-border pointer-events-none -mx-1 my-1 h-px",e),"data-slot":"select-separator",...t})}function lL({className:e,...t}){return(0,T.jsx)(lS.ScrollUpButton,{className:(0,x.cn)("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4",e),"data-slot":"select-scroll-up-button",...t,children:(0,T.jsx)(im,{})})}function lB({className:e,...t}){return(0,T.jsx)(lS.ScrollDownButton,{className:(0,x.cn)("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4",e),"data-slot":"select-scroll-down-button",...t,children:(0,T.jsx)(s4.ChevronDownIcon,{})})}var lH=e.i(340579);e.i(7202);var lU=e.i(360112),lz=e.i(370491),l$=e.i(16481);let lq=function(e,t){return e&&(0,lz.default)(e,"function"==typeof t?t:l$.default)},lV=function(e,t,n,a){for(var o=-1,r=null==e?0:e.length;++o<r;){var s=e[o];t(a,s,n(s),e)}return a};var lW=e.i(332505);let lG=function(e,t,n,a){return(0,lW.default)(e,function(e,o,r){t(a,e,n(e),r)}),a};var lY=e.i(875811),lK=Object.prototype.hasOwnProperty,lQ=(c=function(e,t,n){lK.call(e,n)?e[n].push(t):R(e,n,[t])},function(e,t){return((0,ek.default)(e)?lV:lG)(e,c,(0,lY.default)(t,2),{})}),lX=e.i(786587);let lJ=function(e,t){return((0,ek.default)(e)?A.default:lX.default)(e,(0,lY.default)(t,3))};function lZ(e){return e.map(e=>"string"==typeof e?{label:e,value:e}:e)}e.s(["map",0,lJ],880792);let l0=new Intl.ListFormat("en",{type:"unit"});function l1(e){return l0.format(lJ(e,"message"))}async function l6(e,t){try{return await lU.toast.promise(async()=>e(),t).unwrap(),!0}catch(e){return(0,lH.captureUnexpectedError)(e),!1}}function l4({control:e,name:t,label:n,description:a,placeholder:o,options:r,showLabel:s=!0,showError:i=!0,clearable:l=!0,autoComplete:c="off",className:p,rules:d,id:u,...m}){let h=u??t;return(0,T.jsx)(tv,{control:e,name:t,render:({field:e,fieldState:t})=>
20(0,T.jsxs)(C.Field,{"data-invalid":t.invalid,children:[(0,T.jsx)(C.FieldLabel,{className:(0,x.cn)(!s&&"sr-only"),htmlFor:h,children:n}),(0,T.jsxs)(lA,{autoComplete:c,name:e.name,onValueChange:e.onChange,value:e.value??"",...m,children:[(0,T.jsx)(lO,{"aria-invalid":t.invalid,className:(0,x.cn)("w-full",p),id:h,children:(0,T.jsx)(lM,{placeholder:o})}),(0,T.jsx)(lR,{position:"item-aligned",children:(0,T.jsxs)(lN,{children:[l&&e.value&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(lF,{onSelect:()=>e.onChange(""),value:null,children:"None"}),(0,T.jsx)(lP,{})]}),lZ(r).map(e=>(0,T.jsx)(lF,{value:e.value,children:e.label},e.value))]})})]}),a&&(0,T.jsx)(C.FieldDescription,{children:a}),i&&t.invalid&&(0,T.jsx)(C.FieldError,{errors:[t.error]})]}),rules:d})}e.s(["formatErrors",0,l1,"handleFormErrors",0,function(e,t,{delimiter:n=".",fieldNames:a={}}={}){lq(lQ(t,({path:e})=>{let t=e.join(n);return a[t]??t}),(t,n)=>{e.setError(n,{type:"server",message:l1(t)})})},"parseOptions",0,lZ,"submitWithToast",0,l6],661603),e.s(["SelectField",0,l4],6913);let l2=["street","suburb","state","postcode"],l3=Object.entries({NSW:"New South Wales",VIC:"Victoria",QLD:"Queensland",WA:"Western Australia",SA:"South Australia",TAS:"Tasmania",ACT:"Australian Capital Territory",NT:"Northern Territory"}).map(([e,t])=>({label:t,value:e}));function l5({control:e,name:t,label:n,description:a,showLabel:o,showError:r,className:s}){let{fieldState:i}=tb({control:e,name:t});function l(e){return`${t}.${e}`}return(0,T.jsxs)(C.FieldSet,{children:[o&&(0,T.jsx)(C.FieldLegend,{variant:"label",children:n}),a&&(0,T.jsx)(C.FieldDescription,{children:a}),(0,T.jsxs)(C.FieldGroup,{children:[(0,T.jsx)(id,{className:s,control:e,label:"Street address",name:l("street"),placeholder:"83 Sydney Road"}),(0,T.jsx)(id,{className:s,control:e,label:"Suburb",name:l("suburb"),placeholder:"Brunswick"}),(0,T.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,T.jsx)(l4,{className:s,control:e,label:"State",name:l("state"),options:l3,placeholder:"Select"}),(0,T.jsx)(id,{className:s,control:e,inputMode:"numeric",label:"Postcode",name:l("postcode"),placeholder:"3056"})]})]}),r&&i.invalid&&(0,T.jsx)(C.FieldError,{errors:[i.error]})]})}e.s(["AddressField",0,function({control:e,name:t,label:n,description:a,showLabel:o=!0,showError:r=!0,className:s,...i}){var l;let{field:c,fieldState:p}=tb({control:e,name:t}),[d,u]=(0,eZ.useState)(!1);return d?(0,T.jsx)(l5,{className:s,control:e,description:a,label:n,name:t,showError:r,showLabel:o}):(0,T.jsxs)(C.Field,{"data-invalid":p.invalid,children:[(0,T.jsx)(C.FieldLabel,{className:(0,x.cn)(!o&&"sr-only"),htmlFor:c.name,children:n}),(0,T.jsx)(il,{...c,...i,"aria-invalid":p.invalid,className:s,id:c.name}),(0,T.jsxs)(C.FieldDescription,{children:[a&&(0,T.jsx)("span",{className:"block",children:a}),(0,T.jsx)("button",{className:"hover:text-primary inline cursor-pointer underline underline-offset-4",onClick:function(){c.onChange({...eJ(c.value,["id","coordinates","geolocation"]),country:c.value?.country??"AU"}),u(!0)},type:"button",children:"Enter address manually"})]}),r&&p.invalid&&(0,T.jsx)(C.FieldError,{errors:[(l=p.error,l?.message?l:l2.map(e=>(0,S.default)(l,e)).find(e=>e?.message))]})]})}],758965);var l9=e.i(816131),l8=e.i(697586),l7="Checkbox",[ce,ct]=(0,iy.createContextScope)(l7),[cn,ca]=ce(l7);function co(e){let{__scopeCheckbox:t,checked:n,children:a,defaultChecked:o,disabled:r,form:s,name:i,onCheckedChange:l,required:c,value:p="on",internal_do_not_use_render:d}=e,[u,m]=(0,iS.useControllableState)({prop:n,defaultProp:o??!1,onChange:l,caller:l7}),[h,f]=eZ.useState(null),[g,b]=eZ.useState(null),v=eZ.useRef(!1),y=!h||!!s||!!h.closest("form"),j={checked:u,disabled:r,setChecked:m,control:h,setControl:f,name:i,form:s,value:p,hasConsumerStoppedPropagationRef:v,required:c,defaultChecked:!cu(o)&&o,isFormControl:y,bubbleInput:g,setBubbleInput:b};return(0,T.jsx)(cn,{scope:t,...j,children:"function"==typeof d?d(j):a})}var cr="CheckboxTrigger",cs=eZ.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...a},o)=>{let{control:r,value:s,disabled:i,checked:l,required:c,setControl:p,setChecked:d,hasConsumerStoppedPropagationRef:u,isFormControl:m,bubbleInput:h}=ca(cr,e),f=(0,iv.useComposedRefs)(o,p),g=eZ.useRef(l);return eZ.useEffect(()=>{let e=r?.form;if(e){let t=()=>d(g.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[r,d]),(0,T.jsx)(iI.Primitive.button,{type:"button",role:"checkbox","aria-checked":cu(l)?"mixed":l,"aria-required":c,"data-state":cm(l),"data-disabled":i?"":void 0,disabled:i,value:s,...a,ref:f,onKeyDown:(0,ig.composeEventHandlers)(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,ig.composeEventHandlers)(n,e=>{d(e=>!!cu(e)||!e),h&&m&&(u.current=e.isPropagationStopped(),u.current||e.stopPropagation())})})});cs.displayName=cr;var ci=eZ.forwardRef((e,t)=>
20{let{__scopeCheckbox:n,name:a,checked:o,defaultChecked:r,required:s,disabled:i,value:l,onCheckedChange:c,form:p,...d}=e;return(0,T.jsx)(co,{__scopeCheckbox:n,checked:o,defaultChecked:r,disabled:i,required:s,onCheckedChange:c,name:a,form:p,value:l,internal_do_not_use_render:({isFormControl:e})=>(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(cs,{...d,ref:t,__scopeCheckbox:n}),e&&(0,T.jsx)(cd,{__scopeCheckbox:n})]})})});ci.displayName=l7;var cl="CheckboxIndicator",cc=eZ.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:a,...o}=e,r=ca(cl,n);return(0,T.jsx)(l8.Presence,{present:a||cu(r.checked)||!0===r.checked,children:(0,T.jsx)(iI.Primitive.span,{"data-state":cm(r.checked),"data-disabled":r.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});cc.displayName=cl;var cp="CheckboxBubbleInput",cd=eZ.forwardRef(({__scopeCheckbox:e,...t},n)=>{let{control:a,hasConsumerStoppedPropagationRef:o,checked:r,defaultChecked:s,required:i,disabled:l,name:c,value:p,form:d,bubbleInput:u,setBubbleInput:m}=ca(cp,e),h=(0,iv.useComposedRefs)(n,m),f=(0,iN.usePrevious)(r),g=(0,l9.useSize)(a);eZ.useEffect(()=>{if(!u)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!o.current;if(f!==r&&e){let n=new Event("click",{bubbles:t});u.indeterminate=cu(r),e.call(u,!cu(r)&&r),u.dispatchEvent(n)}},[u,f,r,o]);let b=eZ.useRef(!cu(r)&&r);return(0,T.jsx)(iI.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:s??b.current,required:i,disabled:l,name:c,value:p,form:d,...t,tabIndex:-1,ref:h,style:{...t.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function cu(e){return"indeterminate"===e}function cm(e){return cu(e)?"indeterminate":e?"checked":"unchecked"}cd.displayName=cp,e.s(["Checkbox",0,ci,"CheckboxIndicator",0,cc,"Indicator",0,cc,"Root",0,ci,"createCheckboxScope",0,ct,"unstable_BubbleInput",0,cd,"unstable_CheckboxBubbleInput",0,cd,"unstable_CheckboxProvider",0,co,"unstable_CheckboxTrigger",0,cs,"unstable_Provider",0,co,"unstable_Trigger",0,cs],198988);var ch=e.i(198988),ch=ch;function cf({className:e,...t}){return(0,T.jsx)(ch.Root,{className:(0,x.cn)("peer border-input bg-background focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:bg-input/30 dark:data-checked:bg-primary dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border shadow-xs transition-shadow outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3",e),"data-slot":"checkbox",...t,children:(0,T.jsx)(ch.Indicator,{className:"grid place-content-center text-current transition-none [&>svg]:size-3.5","data-slot":"checkbox-indicator",children:(0,T.jsx)(s6.CheckIcon,{})})})}e.s(["CheckboxGroupField",0,function({control:e,name:t,label:n,description:a,options:o,showLabel:r=!0,showError:s=!0,disabled:i=!1}){return(0,T.jsx)(tv,{control:e,name:t,render:({field:e,fieldState:t})=>(0,T.jsxs)(C.FieldSet,{children:[(0,T.jsx)(C.FieldLegend,{className:(0,x.cn)(!r&&"sr-only"),variant:"label",children:n}),a&&(0,T.jsx)(C.FieldDescription,{children:a}),(0,T.jsx)(C.FieldGroup,{className:"grid grid-cols-[repeat(auto-fit,var(--container-2xs))]","data-slot":"checkbox-group",children:lZ(o).map(n=>(0,T.jsxs)(C.Field,{"data-disabled":i,"data-invalid":t.invalid,orientation:"horizontal",children:[(0,T.jsx)(cf,{"aria-invalid":t.invalid,checked:e.value?.includes(n.value),disabled:i,id:`${e.name}-${n.value}`,name:e.name,onCheckedChange:t=>{let a=t?[...e.value??[],n.value]:e.value?.filter(e=>e!==n.value);e.onChange(a),e.onBlur()}}),(0,T.jsxs)(C.FieldContent,{children:[(0,T.jsx)(C.FieldLabel,{className:"font-normal",htmlFor:`${e.name}-${n.value}`,children:n.label}),n.description&&(0,T.jsx)(C.FieldDescription,{children:n.description})]})]},n.value))}),s&&t.invalid&&(0,T.jsx)(C.FieldError,{errors:[t.error]})]})})}],136571);var cg=e.i(394464),cb=e.i(992503),cv=e.i(267848),cy=e.i(393994);let cj={},ck={};function cw(e,t){try{let n=(cj[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];if(n in ck)return ck[n];return cE(n,n.split(":"))}catch{if(e in ck)return ck[e];let t=e?.match(c_);if(t)return cE(e,t.slice(1));return NaN}}let c_=/([+-]\d\d):?(\d\d)?/;function cE(e,t){let n=+(t[0]||0),a=+(t[1]||0),o=(t[2]||0)/60;return ck[e]=60*n+a>0?60*n+a+o:60*n-a-o}class cD extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(cw(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),cx(this,NaN),cI(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new cD(...t,e):new cD(Date.now(),e)}
20withTimeZone(e){return new cD(+this,e)}getTimezoneOffset(){let e=-cw(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),cI(this),+this}[Symbol.for("constructDateFrom")](e){return new cD(+new Date(e),this.timeZone)}}let cT=/^(get|set)(?!UTC)/;function cI(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*cw(e.timeZone,e))))}function cx(e){let t=cw(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),a=new Date(+e);a.setUTCHours(a.getUTCHours()-1);let o=-new Date(+e).getTimezoneOffset(),r=o- -new Date(+a).getTimezoneOffset(),s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();r&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+r);let i=o-n;i&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+i);let l=new Date(+e);l.setUTCSeconds(0);let c=o>0?l.getSeconds():(l.getSeconds()-60)%60,p=Math.round(-(60*cw(e.timeZone,e)))%60;(p||c)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+p),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+p+c));let d=cw(e.timeZone,e),u=d>0?Math.floor(d):Math.ceil(d),m=-new Date(+e).getTimezoneOffset()-u-i;if(u!==n&&m){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+m);let t=cw(e.timeZone,e),n=u-(t>0?Math.floor(t):Math.ceil(t));n&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+n),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n))}}Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!cT.test(e))return;let t=e.replace(cT,"$1UTC");cD.prototype[t]&&(e.startsWith("get")?cD.prototype[e]=function(){return this.internal[t]()}:(cD.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),cx(e),+this},cD.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),cI(this),+this}))});class cC extends cD{static tz(e,...t){return t.length?new cC(...t,e):new cC(Date.now(),e)}toISOString(){let[e,t,n]=this.tzComponents(),a=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+a}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,n,a]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${n} ${t} ${a}`}
20toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,n,a]=this.tzComponents();return`${e} GMT${t}${n}${a} (${function(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),n=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,n]}withTimeZone(e){return new cC(+this,e)}[Symbol.for("constructDateFrom")](e){return new cC(+new Date(e),this.timeZone)}}var cS=e.i(170331),cA=e.i(699629);function cN(e,t,n){let a=(0,cA.toDate)(e,n?.in);return isNaN(t)?(0,cS.constructFrom)(n?.in||e,NaN):(t&&a.setDate(a.getDate()+t),a)}function cM(e,t,n){let a=(0,cA.toDate)(e,n?.in);if(isNaN(t))return(0,cS.constructFrom)(n?.in||e,NaN);if(!t)return a;let o=a.getDate(),r=(0,cS.constructFrom)(n?.in||e,a.getTime());return(r.setMonth(a.getMonth()+t+1,0),o>=r.getDate())?r:(a.setFullYear(r.getFullYear(),r.getMonth(),o),a)}var cO=e.i(175354),cR=e.i(268844);function cF(e,t,n){let[a,o]=(0,cR.normalizeDates)(n?.in,e,t);return 12*(a.getFullYear()-o.getFullYear())+(a.getMonth()-o.getMonth())}function cP(e,t){let[n,a]=(0,cR.normalizeDates)(e,t.start,t.end);return{start:n,end:a}}var cL=e.i(470227);function cB(e,t){let n=(0,cL.getDefaultOptions)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,cA.toDate)(e,t?.in),r=o.getDay();return o.setDate(o.getDate()+((r<a?-7:0)+6-(r-a))),o.setHours(23,59,59,999),o}var cH=e.i(265776),cU=e.i(825169),cz=e.i(350484),c$=e.i(9327),cq=e.i(100412),cV=e.i(55307),cW=e.i(343309),cG=e.i(23767);function cY(e,t){let n=t.startOfMonth(e),a=n.getDay();return 1===a?n:0===a?t.addDays(n,-6):t.addDays(n,-1*(a-1))}var cK=e.i(14294);let cQ={...cK.enUS,labels:{labelDayButton:(e,t,n,a)=>{let o=(a&&"function"==typeof a.format?a.format.bind(a):(e,t)=>(0,cb.format)(e,t,{locale:cK.enUS,...n}))(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>(n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>(0,cb.format)(e,n,{locale:cK.enUS,...t}))(e,"LLLL yyyy"),labelGridcell:(e,t,n,a)=>{let o=(a&&"function"==typeof a.format?a.format.bind(a):(e,t)=>(0,cb.format)(e,t,{locale:cK.enUS,...n}))(e,"PPPP");return t?.today&&(o=`Today, ${o}`),o},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>(n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>(0,cb.format)(e,n,{locale:cK.enUS,...t}))(e,"cccc")}};class cX{constructor(e,t){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?cC.tz(this.options.timeZone):new this.Date,this.newDate=(e,t,n)=>this.overrides?.newDate?this.overrides.newDate(e,t,n):this.options.timeZone?new cC(e,t,n,this.options.timeZone):new Date(e,t,n),this.addDays=(e,t)=>this.overrides?.addDays?this.overrides.addDays(e,t):cN(e,t),this.addMonths=(e,t)=>this.overrides?.addMonths?this.overrides.addMonths(e,t):cM(e,t),this.addWeeks=(e,t)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,t):cN(e,7*t,void 0),this.addYears=(e,t)=>this.overrides?.addYears?this.overrides.addYears(e,t):cM(e,12*t,void 0),this.differenceInCalendarDays=(e,t)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):(0,cO.differenceInCalendarDays)(e,t),this.differenceInCalendarMonths=(e,t)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):cF(e,t),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):function(e){let{start:t,end:n}=cP(void 0,e),a=+t>+n,o=a?+t:+n,r=a?n:t;r.setHours(0,0,0,0),r.setDate(1);let s=(void 0)??1;if(!s)return[];s<0&&(s=-s,a=!a);let i=[];for(;+r<=o;)i.push((0,cS.constructFrom)(t,r)),r.setMonth(r.getMonth()+s);return a?i.reverse():i}(e),this.eachYearOfInterval=e=>{let t=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(e):function(e){let{start:t,end:n}=cP(void 0,e),a=+t>+n,o=a?+t:+n,r=a?n:t;r.setHours(0,0,0,0),r.setMonth(0,1);let s=(void 0)??1;if(!s)return[];s<0&&(s=-s,a=!a);let i=[];for(;+r<=o;)i.push((0,cS.constructFrom)(t,r)),r.setFullYear(r.getFullYear()+s);return a?i.reverse():i}(e),n=new Set(t.map(e=>this.getYear(e)));if(n.size===t.length)return t;let a=[];
20return n.forEach(e=>{a.push(new Date(e,0,1))}),a},this.endOfBroadcastWeek=e=>{let t,n,a,o,r,s;return this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):(t=cY(e,this),a=(n=this.startOfMonth(e)).getDay()>0?n.getDay():7,o=this.addDays(e,-a+1),r=this.addDays(o,34),s=this.getMonth(e)===this.getMonth(r)?5:4,this.addDays(t,7*s-1))},this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):cB(e,{...void 0,weekStartsOn:1}),this.endOfMonth=e=>{let t,n;return this.overrides?.endOfMonth?this.overrides.endOfMonth(e):(n=(t=(0,cA.toDate)(e,void 0)).getMonth(),t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t)},this.endOfWeek=(e,t)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,t):cB(e,this.options),this.endOfYear=e=>{let t,n;return this.overrides?.endOfYear?this.overrides.endOfYear(e):(n=(t=(0,cA.toDate)(e,void 0)).getFullYear(),t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t)},this.format=(e,t,n)=>{let a=this.overrides?.format?this.overrides.format(e,t,this.options):(0,cb.format)(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(a):a},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):(0,cH.getISOWeek)(e),this.getMonth=(e,t)=>{var n;return this.overrides?.getMonth?this.overrides.getMonth(e,this.options):(n=this.options,(0,cA.toDate)(e,n?.in).getMonth())},this.getYear=(e,t)=>{var n;return this.overrides?.getYear?this.overrides.getYear(e,this.options):(n=this.options,(0,cA.toDate)(e,n?.in).getFullYear())},this.getWeek=(e,t)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):(0,cU.getWeek)(e,this.options),this.isAfter=(e,t)=>this.overrides?.isAfter?this.overrides.isAfter(e,t):+(0,cA.toDate)(e)>+(0,cA.toDate)(t),this.isBefore=(e,t)=>this.overrides?.isBefore?this.overrides.isBefore(e,t):+(0,cA.toDate)(e)<+(0,cA.toDate)(t),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):(0,cz.isDate)(e),this.isSameDay=(e,t)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,t):function(e,t){let[n,a]=(0,cR.normalizeDates)(void 0,e,t);return+(0,c$.startOfDay)(n)==+(0,c$.startOfDay)(a)}(e,t),this.isSameMonth=(e,t)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,t):function(e,t){let[n,a]=(0,cR.normalizeDates)(void 0,e,t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}(e,t),this.isSameYear=(e,t)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,t):(0,cq.isSameYear)(e,t),this.max=e=>{let t,n;return this.overrides?.max?this.overrides.max(e):(n=void 0,e.forEach(e=>{n||"object"!=typeof e||(n=cS.constructFrom.bind(null,e));let a=(0,cA.toDate)(e,n);(!t||t<a||isNaN(+a))&&(t=a)}),(0,cS.constructFrom)(n,t||NaN))},this.min=e=>{let t,n;return this.overrides?.min?this.overrides.min(e):(n=void 0,e.forEach(e=>{n||"object"!=typeof e||(n=cS.constructFrom.bind(null,e));let a=(0,cA.toDate)(e,n);(!t||t>a||isNaN(+a))&&(t=a)}),(0,cS.constructFrom)(n,t||NaN))},this.setMonth=(e,t)=>{let n,a,o,r,s,i,l,c,p;return this.overrides?.setMonth?this.overrides.setMonth(e,t):(a=(n=(0,cA.toDate)(e,void 0)).getFullYear(),o=n.getDate(),(r=(0,cS.constructFrom)(e,0)).setFullYear(a,t,15),r.setHours(0,0,0,0),i=(s=(0,cA.toDate)(r,void 0)).getFullYear(),l=s.getMonth(),(c=(0,cS.constructFrom)(s,0)).setFullYear(i,l+1,0),c.setHours(0,0,0,0),p=c.getDate(),n.setMonth(t,Math.min(o,p)),n)},this.setYear=(e,t)=>{let n;return this.overrides?.setYear?this.overrides.setYear(e,t):isNaN(+(n=(0,cA.toDate)(e,void 0)))?(0,cS.constructFrom)(e,NaN):(n.setFullYear(t),n)},this.startOfBroadcastWeek=(e,t)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):cY(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):(0,c$.startOfDay)(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):(0,cV.startOfISOWeek)(e),this.startOfMonth=e=>{let t;return this.overrides?.startOfMonth?this.overrides.startOfMonth(e):((t=(0,cA.toDate)(e,void 0)).setDate(1),t.setHours(0,0,0,0),t)},this.startOfWeek=(e,t)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):(0,cW.startOfWeek)(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):(0,cG.startOfYear)(e),this.options={locale:cQ,...e},this.overrides=t}getDigitMap(){let{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),n={};for(let e=0;e<10;e++)n[e.toString()]=t.format(e);return n}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let e=this.options.locale?.code;return e&&cX.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:t,timeZone:n,numerals:a}=this.options,o=t?.code;if(o&&cX.yearFirstLocales.has(o))try{return new Intl.DateTimeFormat(o,{month:"long",year:"numeric",timeZone:n,numberingSystem:a}).format(e)}catch{}let r="year-first"===this.getMonthYearOrder()?"y LLLL":"LLLL y";return this.format(e,r)}}cX.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);let cJ=new cX;function cZ(e,t,n=!1,a=cJ){let{from:o,to:r}=e,{differenceInCalendarDays:s,isSameDay:i}=a;return o&&r?(0>s(r,o)&&([o,r]=[r,o]),s(t,o)>=+!!n&&s(r,t)>=+!!n):!n&&r?i(r,t):!n&&!!o&&i(o,t)}function c0(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function c1(e){return!!(e&&"object"==typeof e&&"from"in e)}function c6(e){return!!(e&&"object"==typeof e&&"after"in e)}function c4(e){return!!(e&&"object"==typeof e&&"before"in e)}function c2(e){return!!(e&&"object"==typeof e&&"dayOfWeek"in e)}function c3(e,t){return Array.isArray(e)&&e.every(t.isDate)}function c5(e,t,n=cJ){let a=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:r,isAfter:s}=n;return a.some(t=>{if("boolean"==typeof t)return t;if(n.isDate(t))return o(e,t);if(c3(t,n))return t.some(t=>o(e,t));if(c1(t))return cZ(t,e,!1,n);if(c2(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(c0(t)){let n=r(t.before,e),a=r(t.after,e),o=n>0,i=a<0;return s(t.before,t.after)?i&&o:o||i}return c6(t)?r(e,t.after)>0:c4(t)?r(t.before,e)>0:"function"==typeof t&&t(e)})}function c9(e){return eZ.default.createElement("button",{...e})}function c8(e){return eZ.default.createElement("span",{...e})}function c7(e){let{size:t=24,orientation:n="left",className:a}=e;return eZ.default.createElement("svg",{className:a,width:t,height:t,viewBox:"0 0 24 24"},"up"===n&&eZ.default.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===n&&eZ.default.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===n&&eZ.default.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===n&&eZ.default.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function pe(e){let{day:t,modifiers:n,...a}=e;return eZ.default.createElement("td",{...a})}function pt(e){let{day:t,modifiers:n,...a}=e,o=eZ.default.useRef(null);return eZ.default.useEffect(()=>{n.focused&&o.current?.focus()},[n.focused]),eZ.default.createElement("button",{ref:o,...a}
20)}function pn(e){let{options:t,className:n,components:a,classNames:o,...r}=e,s=[o[v.Dropdown],n].join(" "),i=t?.find(({value:e})=>e===r.value);return eZ.default.createElement("span",{"data-disabled":r.disabled,className:o[v.DropdownRoot]},eZ.default.createElement(a.Select,{className:s,...r},t?.map(({value:e,label:t,disabled:n})=>eZ.default.createElement(a.Option,{key:e,value:e,disabled:n},t))),eZ.default.createElement("span",{className:o[v.CaptionLabel],"aria-hidden":!0},i?.label,eZ.default.createElement(a.Chevron,{orientation:"down",size:18,className:o[v.Chevron]})))}function pa(e){return eZ.default.createElement("div",{...e})}function po(e){return eZ.default.createElement("div",{...e})}function pr(e){let{calendarMonth:t,displayIndex:n,...a}=e;return eZ.default.createElement("div",{...a},e.children)}function ps(e){let{calendarMonth:t,displayIndex:n,...a}=e;return eZ.default.createElement("div",{...a})}function pi(e){return eZ.default.createElement("table",{...e})}function pl(e){return eZ.default.createElement("div",{...e})}(p=v||(v={})).Root="root",p.Chevron="chevron",p.Day="day",p.DayButton="day_button",p.CaptionLabel="caption_label",p.Dropdowns="dropdowns",p.Dropdown="dropdown",p.DropdownRoot="dropdown_root",p.Footer="footer",p.MonthGrid="month_grid",p.MonthCaption="month_caption",p.MonthsDropdown="months_dropdown",p.Month="month",p.Months="months",p.Nav="nav",p.NextMonthButton="button_next",p.PreviousMonthButton="button_previous",p.Week="week",p.Weeks="weeks",p.Weekday="weekday",p.Weekdays="weekdays",p.WeekNumber="week_number",p.WeekNumberHeader="week_number_header",p.YearsDropdown="years_dropdown",(d=y||(y={})).disabled="disabled",d.hidden="hidden",d.outside="outside",d.focused="focused",d.today="today",(u=j||(j={})).range_end="range_end",u.range_middle="range_middle",u.range_start="range_start",u.selected="selected",(m=k||(k={})).weeks_before_enter="weeks_before_enter",m.weeks_before_exit="weeks_before_exit",m.weeks_after_enter="weeks_after_enter",m.weeks_after_exit="weeks_after_exit",m.caption_after_enter="caption_after_enter",m.caption_after_exit="caption_after_exit",m.caption_before_enter="caption_before_enter",m.caption_before_exit="caption_before_exit",e.s([],160302),e.i(160302),e.s(["Button",0,c9],378004),e.i(378004),e.s(["CaptionLabel",0,c8],933241),e.i(933241),e.s(["Chevron",0,c7],791823),e.i(791823),e.s(["Day",0,pe],341809),e.i(341809),e.s(["DayButton",0,pt],837504),e.i(837504),e.s(["Dropdown",0,pn],378930),e.i(378930),e.s(["DropdownNav",0,pa],752330),e.i(752330),e.s(["Footer",0,po],803532),e.i(803532),e.s(["Month",0,pr],756604),e.i(756604),e.s(["MonthCaption",0,ps],560116),e.i(560116),e.s(["MonthGrid",0,pi],24766),e.i(24766),e.s(["Months",0,pl],68512),e.i(68512);let pc=(0,eZ.createContext)(void 0);function pp(){let e=(0,eZ.useContext)(pc);if(void 0===e)throw Error("useDayPicker() must be used within a custom component.");return e}function pd(e){let{components:t}=pp();return eZ.default.createElement(t.Dropdown,{...e})}function pu(e){let{onPreviousClick:t,onNextClick:n,previousMonth:a,nextMonth:o,...r}=e,{components:s,classNames:i,labels:{labelPrevious:l,labelNext:c}}=pp(),p=(0,eZ.useCallback)(e=>{o&&n?.(e)},[o,n]),d=(0,eZ.useCallback)(e=>{a&&t?.(e)},[a,t]);return eZ.default.createElement("nav",{...r},eZ.default.createElement(s.PreviousMonthButton,{type:"button",className:i[v.PreviousMonthButton],tabIndex:a?void 0:-1,"aria-disabled":!a||void 0,"aria-label":l(a),onClick:d},eZ.default.createElement(s.Chevron,{disabled:!a||void 0,className:i[v.Chevron],orientation:"left"})),eZ.default.createElement(s.NextMonthButton,{type:"button",className:i[v.NextMonthButton],tabIndex:o?void 0:-1,"aria-disabled":!o||void 0,"aria-label":c(o),onClick:p},eZ.default.createElement(s.Chevron,{disabled:!o||void 0,orientation:"right",className:i[v.Chevron]})))}function pm(e){let{components:t}=pp();return eZ.default.createElement(t.Button,{...e})}function ph(e){return eZ.default.createElement("option",{...e})}function pf(e){let{components:t}=pp();return eZ.default.createElement(t.Button,{...e})}function pg(e){let{rootRef:t,...n}=e;return eZ.default.createElement("div",{...n,ref:t})}function pb(e){return eZ.default.createElement("select",{...e})}function pv(e){let{week:t,...n}=e;return eZ.default.createElement("tr",{...n})}function py(e){return eZ.default.createElement("th",{...e})}function pj(e){return eZ.default.createElement("thead",{"aria-hidden":!0},eZ.default.createElement("tr",{...e}))}function pk(e){let{week:t,...n}=e;return eZ.default.createElement("th",{...n})}function pw(e){return eZ.default.createElement("th",{...e})}function p_(e){return eZ.default.createElement("tbody",{...e})}
20function pE(e){let{components:t}=pp();return eZ.default.createElement(t.Dropdown,{...e})}e.s(["MonthsDropdown",0,pd],163616),e.i(163616),e.s(["Nav",0,pu],821353),e.i(821353),e.s(["NextMonthButton",0,pm],423911),e.i(423911),e.s(["Option",0,ph],113937),e.i(113937),e.s(["PreviousMonthButton",0,pf],926896),e.i(926896),e.s(["Root",0,pg],593531),e.i(593531),e.s(["Select",0,pb],712750),e.i(712750),e.s(["Week",0,pv],96530),e.i(96530),e.s(["Weekday",0,py],408165),e.i(408165),e.s(["Weekdays",0,pj],543647),e.i(543647),e.s(["WeekNumber",0,pk],8910),e.i(8910),e.s(["WeekNumberHeader",0,pw],101801),e.i(101801),e.s(["Weeks",0,p_],889083),e.i(889083),e.s(["YearsDropdown",0,pE],635245),e.i(635245),e.s(["Button",0,c9,"CaptionLabel",0,c8,"Chevron",0,c7,"Day",0,pe,"DayButton",0,pt,"Dropdown",0,pn,"DropdownNav",0,pa,"Footer",0,po,"Month",0,pr,"MonthCaption",0,ps,"MonthGrid",0,pi,"Months",0,pl,"MonthsDropdown",0,pd,"Nav",0,pu,"NextMonthButton",0,pm,"Option",0,ph,"PreviousMonthButton",0,pf,"Root",0,pg,"Select",0,pb,"Week",0,pv,"WeekNumber",0,pk,"WeekNumberHeader",0,pw,"Weekday",0,py,"Weekdays",0,pj,"Weeks",0,p_,"YearsDropdown",0,pE],988973);var pD=e.i(988973);function pT(){let e={};for(let t in v)e[v[t]]=`rdp-${v[t]}`;for(let t in y)e[y[t]]=`rdp-${y[t]}`;for(let t in j)e[j[t]]=`rdp-${j[t]}`;for(let t in k)e[k[t]]=`rdp-${k[t]}`;return e}function pI(e,t,n){return(n??new cX(t)).formatMonthYear(e)}function px(e,t,n){return(n??new cX(t)).format(e,"d")}function pC(e,t=cJ){return t.format(e,"LLLL")}function pS(e,t,n){return(n??new cX(t)).format(e,"cccccc")}function pA(e,t=cJ){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function pN(){return""}function pM(e,t=cJ){return t.format(e,"yyyy")}e.s([],377942),e.i(377942),e.s(["formatCaption",0,pI,"formatMonthCaption",0,pI],662847),e.i(662847),e.s(["formatDay",0,px],773468),e.i(773468),e.s(["formatMonthDropdown",0,pC],984062),e.i(984062),e.s(["formatWeekdayName",0,pS],511053),e.i(511053),e.s(["formatWeekNumber",0,pA],710343),e.i(710343),e.s(["formatWeekNumberHeader",0,pN],427592),e.i(427592),e.s(["formatYearCaption",0,pM,"formatYearDropdown",0,pM],254279),e.i(254279),e.s(["formatCaption",0,pI,"formatDay",0,px,"formatMonthCaption",0,pI,"formatMonthDropdown",0,pC,"formatWeekNumber",0,pA,"formatWeekNumberHeader",0,pN,"formatWeekdayName",0,pS,"formatYearCaption",0,pM,"formatYearDropdown",0,pM],244710);var pO=e.i(244710);function pR(e,t,n,a){let o=(a??new cX(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}function pF(e,t,n){return(n??new cX(t)).formatMonthYear(e)}function pP(e,t,n,a){let o=(a??new cX(n)).format(e,"PPPP");return t?.today&&(o=`Today, ${o}`),o}function pL(e){return"Choose the Month"}function pB(){return""}function pH(e,t){return"Go to the Next Month"}function pU(e){return"Go to the Previous Month"}function pz(e,t,n){return(n??new cX(t)).format(e,"cccc")}function p$(e,t){return`Week ${e}`}function pq(e){return"Week Number"}function pV(e){return"Choose the Year"}e.s([],111566),e.i(111566),e.s(["labelDay",0,pR,"labelDayButton",0,pR],677793),e.i(677793),e.s(["labelCaption",0,pF,"labelGrid",0,pF],619593),e.i(619593),e.s(["labelGridcell",0,pP],868590),e.i(868590),e.s(["labelMonthDropdown",0,pL],503399),e.i(503399),e.s(["labelNav",0,pB],543765),e.i(543765),e.s(["labelNext",0,pH],831322),e.i(831322),e.s(["labelPrevious",0,pU],471662),e.i(471662),e.s(["labelWeekday",0,pz],189147),e.i(189147),e.s(["labelWeekNumber",0,p$],452786),e.i(452786),e.s(["labelWeekNumberHeader",0,pq],19649),e.i(19649),e.s(["labelYearDropdown",0,pV],694865),e.i(694865),e.s(["labelCaption",0,pF,"labelDay",0,pR,"labelDayButton",0,pR,"labelGrid",0,pF,"labelGridcell",0,pP,"labelMonthDropdown",0,pL,"labelNav",0,pB,"labelNext",0,pH,"labelPrevious",0,pU,"labelWeekNumber",0,p$,"labelWeekNumberHeader",0,pq,"labelWeekday",0,pz,"labelYearDropdown",0,pV],680375);var pW=e.i(680375);let pG=(e,t,n)=>t||(n?"function"==typeof n?n:(...e)=>n:e),pY=e=>e instanceof HTMLElement?e:null,pK=e=>[...e.querySelectorAll("[data-animated-month]")??[]],pQ=e=>pY(e.querySelector("[data-animated-caption]")),pX=e=>pY(e.querySelector("[data-animated-weeks]"));function pJ(e,t,n,a){let{month:o,defaultMonth:r,today:s=a.today(),numberOfMonths:i=1}=e,l=o||r||s,{differenceInCalendarMonths:c,addMonths:p,startOfMonth:d}=a;return n&&c(n,l)<i-1&&(l=p(n,-1*(i-1))),t&&0>c(l,t)&&(l=t),d(l)}class pZ{constructor(e,t,n=cJ){this.date=e,this.displayMonth=t,this.outside=!!(t&&!n.isSameMonth(e,t)),this.dateLib=n,this.isoDate=n.format(e,"yyyy-MM-dd"),this.displayMonthId=n.format(t,"yyyy-MM"),this.dateMonthId=n.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class p0{constructor(e,t){this.date=e,this.weeks=t}}class p1{constructor(e,t){this.days=t,this.weekNumber=e}}function p6(e,t){let[n,a]=(0,eZ.useState)(e);return[void 0===t?n:t,a]}function p4(e){return!e[y.disabled]&&!e[y.hidden]&&!e[y.outside]}function p2(e,t,n=cJ){return cZ(e,t.from,!1,n)||cZ(e,t.to,!1,n)||cZ(t,e.from,!1,n)||cZ(t,e.to,!1,n)}function p3(e,t){return e instanceof cC&&e.timeZone===t?e:new cC(e,t)}function p5(e,t,n){if(!n)return p3(e,t);let a=p3(e,t);return new Date(new cC(a.getFullYear(),a.getMonth(),a.getDate(),12,0,0,t).getTime())}function p9(e,t,n){return"boolean"==typeof e||"function"==typeof e?e:e instanceof Date?p5(e,t,n):Array.isArray(e)?e.map(e=>e instanceof Date?p5(e,t,n):e):c1(e)?{...e,from:e.from?p3(e.from,t):e.from,to:e.to?p3(e.to,t):e.to}:c0(e)?{before:p5(e.before,t,n),after:p5(e.after,t,n)}:c6(e)?{after:p5(e.after,t,n)}:c4(e)?{before:p5(e.before,t,n)}:e}function p8(e,t,n){return e?Array.isArray(e)?e.map(e=>p9(e,t,n)):p9(e,t,n):e}function p7(e){var t;let n,a=e,o=a.timeZone;
20if(o&&((a={...e,timeZone:o}).today&&(a.today=p3(a.today,o)),a.month&&(a.month=p3(a.month,o)),a.defaultMonth&&(a.defaultMonth=p3(a.defaultMonth,o)),a.startMonth&&(a.startMonth=p3(a.startMonth,o)),a.endMonth&&(a.endMonth=p3(a.endMonth,o)),"single"===a.mode&&a.selected?a.selected=p3(a.selected,o):"multiple"===a.mode&&a.selected?a.selected=a.selected?.map(e=>p3(e,o)):"range"===a.mode&&a.selected&&(a.selected={from:a.selected.from?p3(a.selected.from,o):a.selected.from,to:a.selected.to?p3(a.selected.to,o):a.selected.to}),void 0!==a.disabled&&(a.disabled=p8(a.disabled,o)),void 0!==a.hidden&&(a.hidden=p8(a.hidden,o)),a.modifiers)){let e={};Object.keys(a.modifiers).forEach(t=>{e[t]=p8(a.modifiers?.[t],o)}),a.modifiers=e}let{components:r,formatters:s,labels:i,dateLib:l,locale:c,classNames:p}=(0,eZ.useMemo)(()=>{var e,t,n,o;let r,s={...cQ,...a.locale},i=a.broadcastCalendar?1:a.weekStartsOn,l=a.noonSafe&&a.timeZone?function(e,t={}){let{weekStartsOn:n,locale:a}=t,o=n??a?.options?.weekStartsOn??0,r=t=>{let n="number"==typeof t||"string"==typeof t?new Date(t):t;return new cC(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,e)},s=e=>{let t=r(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)};return{today:()=>r(cC.tz(e)),newDate:(t,n,a)=>new cC(t,n,a,12,0,0,e),startOfDay:e=>r(e),startOfWeek:(e,t)=>{let n=r(e),a=t?.weekStartsOn??o,s=(n.getDay()-a+7)%7;return n.setDate(n.getDate()-s),n},startOfISOWeek:e=>{let t=r(e),n=(t.getDay()-1+7)%7;return t.setDate(t.getDate()-n),t},startOfMonth:e=>{let t=r(e);return t.setDate(1),t},startOfYear:e=>{let t=r(e);return t.setMonth(0,1),t},endOfWeek:(e,t)=>{let n=r(e),a=(((t?.weekStartsOn??o)+6)%7-n.getDay()+7)%7;return n.setDate(n.getDate()+a),n},endOfISOWeek:e=>{let t=r(e),n=(7-t.getDay())%7;return t.setDate(t.getDate()+n),t},endOfMonth:e=>{let t=r(e);return t.setMonth(t.getMonth()+1,0),t},endOfYear:e=>{let t=r(e);return t.setMonth(11,31),t},eachMonthOfInterval:t=>{let n=r(t.start),a=r(t.end),o=[],s=new cC(n.getFullYear(),n.getMonth(),1,12,0,0,e),i=12*a.getFullYear()+a.getMonth();for(;12*s.getFullYear()+s.getMonth()<=i;)o.push(new cC(s,e)),s.setMonth(s.getMonth()+1,1);return o},addDays:(e,t)=>{let n=r(e);return n.setDate(n.getDate()+t),n},addWeeks:(e,t)=>{let n=r(e);return n.setDate(n.getDate()+7*t),n},addMonths:(e,t)=>{let n=r(e);return n.setMonth(n.getMonth()+t),n},addYears:(e,t)=>{let n=r(e);return n.setFullYear(n.getFullYear()+t),n},eachYearOfInterval:t=>{let n=r(t.start),a=r(t.end),o=[],s=new cC(n.getFullYear(),0,1,12,0,0,e);for(;s.getFullYear()<=a.getFullYear();)o.push(new cC(s,e)),s.setFullYear(s.getFullYear()+1,0,1);return o},getWeek:(e,t)=>{let n=s(e);return(0,cU.getWeek)(n,{weekStartsOn:t?.weekStartsOn??o,firstWeekContainsDate:t?.firstWeekContainsDate??a?.options?.firstWeekContainsDate??1})},getISOWeek:e=>{let t=s(e);return(0,cH.getISOWeek)(t)},differenceInCalendarDays:(e,t)=>{let n=s(e),a=s(t);return(0,cO.differenceInCalendarDays)(n,a)},differenceInCalendarMonths:(e,t)=>cF(s(e),s(t))}}(a.timeZone,{weekStartsOn:i,locale:s}):void 0,c=a.dateLib&&l?{...l,...a.dateLib}:a.dateLib??l,p=new cX({locale:s,weekStartsOn:i,firstWeekContainsDate:a.firstWeekContainsDate,useAdditionalWeekYearTokens:a.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:a.useAdditionalDayOfYearTokens,timeZone:a.timeZone,numerals:a.numerals},c);return{dateLib:p,components:(e=a.components,{...pD,...e}),formatters:(t=a.formatters,t?.formatMonthCaption&&!t.formatCaption&&(t.formatCaption=t.formatMonthCaption),t?.formatYearCaption&&!t.formatYearDropdown&&(t.formatYearDropdown=t.formatYearCaption),{...pO,...t}),labels:(n=a.labels,o=p.options,r=o.locale?.labels??{},{...pW,...n??{},labelDayButton:pG(pW.labelDayButton,n?.labelDayButton,r.labelDayButton),labelMonthDropdown:pG(pW.labelMonthDropdown,n?.labelMonthDropdown,r.labelMonthDropdown),labelNext:pG(pW.labelNext,n?.labelNext,r.labelNext),labelPrevious:pG(pW.labelPrevious,n?.labelPrevious,r.labelPrevious),labelWeekNumber:pG(pW.labelWeekNumber,n?.labelWeekNumber,r.labelWeekNumber),labelYearDropdown:pG(pW.labelYearDropdown,n?.labelYearDropdown,r.labelYearDropdown),labelGrid:pG(pW.labelGrid,n?.labelGrid,r.labelGrid),labelGridcell:pG(pW.labelGridcell,n?.labelGridcell,r.labelGridcell),labelNav:pG(pW.labelNav,n?.labelNav,r.labelNav),labelWeekNumberHeader:pG(pW.labelWeekNumberHeader,n?.labelWeekNumberHeader,r.labelWeekNumberHeader),labelWeekday:pG(pW.labelWeekday,n?.labelWeekday,r.labelWeekday)}),locale:s,classNames:{...pT(),...a.classNames}}},[a.locale,a.broadcastCalendar,a.weekStartsOn,a.firstWeekContainsDate,a.useAdditionalWeekYearTokens,a.useAdditionalDayOfYearTokens,a.timeZone,a.numerals,a.dateLib,a.noonSafe,a.components,a.formatters,a.labels,a.classNames]);a.today||(a={...a,today:l.today()});let{captionLayout:d,mode:u,navLayout:m,numberOfMonths:h=1,onDayBlur:f,onDayClick:g,onDayFocus:b,onDayKeyDown:_,onDayMouseEnter:E,onDayMouseLeave:D,onNextClick:T,onPrevClick:I,showWeekNumber:x,styles:C}=a,{formatCaption:S,formatDay:A,formatMonthDropdown:N,formatWeekNumber:M,formatWeekNumberHeader:O,formatWeekdayName:R,formatYearDropdown:F}=s,P=function(e,t){let[n,a]=function(e,t){let{startMonth:n,endMonth:a}=e,{startOfYear:o,startOfDay:r,startOfMonth:s,endOfMonth:i,addYears:l,endOfYear:c,newD
20ate:p,today:d}=t,{fromYear:u,toYear:m,fromMonth:h,toMonth:f}=e;!n&&h&&(n=h),!n&&u&&(n=t.newDate(u,0,1)),!a&&f&&(a=f),!a&&m&&(a=p(m,11,31));let g="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return n?n=s(n):u?n=p(u,0,1):!n&&g&&(n=o(l(e.today??d(),-100))),a?a=i(a):m?a=p(m,11,31):!a&&g&&(a=c(e.today??d())),[n?r(n):n,a?r(a):a]}(e,t),{startOfMonth:o,endOfMonth:r}=t,s=pJ(e,n,a,t),[i,l]=p6(s,e.month?s:void 0);(0,eZ.useEffect)(()=>{l(pJ(e,n,a,t))},[e.timeZone]);let{months:c,weeks:p,days:d,previousMonth:u,nextMonth:m}=(0,eZ.useMemo)(()=>{let o,s=function(e,t,n,a){let{numberOfMonths:o=1}=n,r=[];for(let n=0;n<o;n++){let o=a.addMonths(e,n);if(t&&o>t)break;r.push(o)}return r}(i,a,{numberOfMonths:e.numberOfMonths},t),l=function(e,t,n,a){let o=e[0],r=e[e.length-1],{ISOWeek:s,fixedWeeks:i,broadcastCalendar:l}=n??{},{addDays:c,differenceInCalendarDays:p,differenceInCalendarMonths:d,endOfBroadcastWeek:u,endOfISOWeek:m,endOfMonth:h,endOfWeek:f,isAfter:g,startOfBroadcastWeek:b,startOfISOWeek:v,startOfWeek:y}=a,j=l?b(o,a):s?v(o):y(o),k=l?u(r):s?m(h(r)):f(h(r)),w=t&&(l?u(t):s?m(t):f(t)),_=p(w&&g(k,w)?w:k,j),E=d(r,o)+1,D=[];for(let e=0;e<=_;e++){let t=c(j,e);D.push(t)}let T=(l?35:42)*E;if(i&&D.length<T){let e=T-D.length;for(let t=0;t<e;t++){let e=c(D[D.length-1],1);D.push(e)}}return D}(s,e.endMonth?r(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),c=function(e,t,n,a){let{addDays:o,endOfBroadcastWeek:r,endOfISOWeek:s,endOfMonth:i,endOfWeek:l,getISOWeek:c,getWeek:p,startOfBroadcastWeek:d,startOfISOWeek:u,startOfWeek:m}=a,h=e.reduce((e,h)=>{let f=n.broadcastCalendar?d(h,a):n.ISOWeek?u(h):m(h),g=n.broadcastCalendar?r(h):n.ISOWeek?s(i(h)):l(i(h)),b=t.filter(e=>e>=f&&e<=g),v=n.broadcastCalendar?35:42;if(n.fixedWeeks&&b.length<v){let e=t.filter(e=>{let t=v-b.length;return e>g&&e<=o(g,t)});b.push(...e)}let y=b.reduce((e,t)=>{let o=n.ISOWeek?c(t):p(t),r=e.find(e=>e.weekNumber===o),s=new pZ(t,h,a);return r?r.days.push(s):e.push(new p1(o,[s])),e},[]),j=new p0(h,y);return e.push(j),e},[]);return n.reverseMonths?h.reverse():h}(s,l,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),p=c.reduce((e,t)=>e.concat(t.weeks.slice()),[]),d=(o=[],c.reduce((e,t)=>{let n=t.weeks.reduce((e,t)=>e.concat(t.days.slice()),o.slice());return e.concat(n.slice())},o.slice()));return{months:c,weeks:p,days:d,previousMonth:function(e,t,n,a){if(n.disableNavigation)return;let{pagedNavigation:o,numberOfMonths:r}=n,{startOfMonth:s,addMonths:i,differenceInCalendarMonths:l}=a,c=s(e);if(!t||!(0>=l(c,t)))return i(c,-(o?r??1:1))}(i,n,e,t),nextMonth:function(e,t,n,a){if(n.disableNavigation)return;let{pagedNavigation:o,numberOfMonths:r=1}=n,{startOfMonth:s,addMonths:i,differenceInCalendarMonths:l}=a,c=s(e);if(!t||!(l(t,e)<r))return i(c,o?r:1)}(i,a,e,t)}},[t,i.getTime(),a?.getTime(),n?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:h,onMonthChange:f}=e,g=e=>{if(h)return;let t=o(e);n&&t<o(n)&&(t=o(n)),a&&t>o(a)&&(t=o(a)),l(t),f?.(t)};return{months:c,weeks:p,days:d,navStart:n,navEnd:a,previousMonth:u,nextMonth:m,goToMonth:g,goToDay:e=>{p.some(t=>t.days.some(t=>t.isEqualTo(e)))||g(e.date)}}}(a,l),{days:L,months:B,navStart:H,navEnd:U,previousMonth:z,nextMonth:$,goToMonth:q}=P,V=function(e,t,n,a,o){let{disabled:r,hidden:s,modifiers:i,showOutsideDays:l,broadcastCalendar:c,today:p=o.today()}=t,{isSameDay:d,isSameMonth:u,startOfMonth:m,isBefore:h,endOfMonth:f,isAfter:g}=o,b=n&&m(n),v=a&&f(a),j={[y.focused]:[],[y.outside]:[],[y.disabled]:[],[y.hidden]:[],[y.today]:[]},k={};for(let t of e){let{date:e,displayMonth:n}=t,a=!!(n&&!u(e,n)),m=!!(b&&h(e,b)),f=!!(v&&g(e,v)),y=!!(r&&c5(e,r,o)),w=!!(s&&c5(e,s,o))||m||f||!c&&!l&&a||c&&!1===l&&a,_=d(e,p);a&&j.outside.push(t),y&&j.disabled.push(t),w&&j.hidden.push(t),_&&j.today.push(t),i&&Object.keys(i).forEac
20h(n=>{let a=i?.[n];a&&c5(e,a,o)&&(k[n]?k[n].push(t):k[n]=[t])})}return e=>{let t={[y.focused]:!1,[y.disabled]:!1,[y.hidden]:!1,[y.outside]:!1,[y.today]:!1},n={};for(let n in j){let a=j[n];t[n]=a.some(t=>t===e)}for(let t in k)n[t]=k[t].some(t=>t===e);return{...t,...n}}}(L,a,H,U,l),{isSelected:W,select:G,selected:Y}=function(e,t){let n=function(e,t){let{selected:n,required:a,onSelect:o}=e,[r,s]=p6(n,o?n:void 0),i=o?n:r,{isSameDay:l}=t;return{selected:i,select:(e,t,n)=>{let r=e;return!a&&i&&i&&l(e,i)&&(r=void 0),o||s(r),o?.(r,e,t,n),r},isSelected:e=>!!i&&l(i,e)}}(e,t),a=function(e,t){let{selected:n,required:a,onSelect:o}=e,[r,s]=p6(n,o?n:void 0),i=o?n:r,{isSameDay:l}=t,c=e=>i?.some(t=>l(t,e))??!1,{min:p,max:d}=e;return{selected:i,select:(e,t,n)=>{let r=[...i??[]];if(c(e)){if(i?.length===p||a&&i?.length===1)return;r=i?.filter(t=>!l(t,e))}else r=i?.length===d?[e]:[...r,e];return o||s(r),o?.(r,e,t,n),r},isSelected:c}}(e,t),o=function(e,t){let{disabled:n,excludeDisabled:a,resetOnSelect:o,selected:r,required:s,onSelect:i}=e,[l,c]=p6(r,i?r:void 0),p=i?r:l;return{selected:p,select:(r,l,d)=>{let u,{min:m,max:h}=e;if(r){let e=p?.from,n=p?.to,a=!!e&&!!n&&t.isSameDay(e,n)&&t.isSameDay(r,e);u=o&&(e&&n||!p?.from)?!s&&a?void 0:{from:r,to:void 0}:function(e,t,n=0,a=0,o=!1,r=cJ){let s,{from:i,to:l}=t||{},{isSameDay:c,isAfter:p,isBefore:d}=r;if(i||l){if(i&&!l)s=c(i,e)?0===n?{from:i,to:e}:o?{from:i,to:void 0}:void 0:d(e,i)?{from:e,to:i}:{from:i,to:e};else if(i&&l)if(c(i,e)&&c(l,e))s=o?{from:i,to:l}:void 0;else if(c(i,e))s={from:i,to:n>0?void 0:e};else if(c(l,e))s={from:e,to:n>0?void 0:e};else if(d(e,i))s={from:e,to:l};else if(p(e,i))s={from:i,to:e};else if(p(e,l))s={from:i,to:e};else throw Error("Invalid range")}else s={from:e,to:n>0?void 0:e};if(s?.from&&s?.to){let t=r.differenceInCalendarDays(s.to,s.from);a>0&&t>a?s={from:e,to:void 0}:n>1&&t<n&&(s={from:e,to:void 0})}return s}(r,p,m,h,s,t)}return a&&n&&u?.from&&u.to&&function(e,t,n=cJ){let a=Array.isArray(t)?t:[t];if(a.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:n.isDate(t)?cZ(e,t,!1,n):c3(t,n)?t.some(t=>cZ(e,t,!1,n)):c1(t)?!!t.from&&!!t.to&&p2(e,{from:t.from,to:t.to},n):c2(t)?function(e,t,n=cJ){let a=Array.isArray(t)?t:[t],o=e.from,r=Math.min(n.differenceInCalendarDays(e.to,e.from),6);for(let e=0;e<=r;e++){if(a.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}(e,t.dayOfWeek,n):c0(t)?n.isAfter(t.before,t.after)?p2(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):c5(e.from,t,n)||c5(e.to,t,n):!!(c6(t)||c4(t))&&(c5(e.from,t,n)||c5(e.to,t,n))))return!0;let o=a.filter(e=>"function"==typeof e);if(o.length){let t=e.from,a=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=a;e++){if(o.some(e=>e(t)))return!0;t=n.addDays(t,1)}}return!1}({from:u.from,to:u.to},n,t)&&(u.from=r,u.to=void 0),i||c(u),i?.(u,r,l,d),u},isSelected:e=>p&&cZ(p,e,!1,t)}}(e,t);switch(e.mode){case"single":return n;case"multiple":return a;case"range":return o;default:return}}(a,l)??{},{blur:K,focused:Q,isFocusTarget:X,moveFocus:J,setFocused:Z}=function(e,t,n,a,o){let{autoFocus:r}=e,[s,i]=(0,eZ.useState)(),l=function(e,t,n,a){let o,r=-1;for(let s of e){let e=t(s);p4(e)&&(e[y.focused]&&r<w.FocusedModifier?(o=s,r=w.FocusedModifier):a?.isEqualTo(s)&&r<w.LastFocused?(o=s,r=w.LastFocused):n(s.date)&&r<w.Selected?(o=s,r=w.Selected):e[y.today]&&r<w.Today&&(o=s,r=w.Today))}return o||(o=e.find(e=>p4(t(e)))),o}(t.days,n,a||(()=>!1),s),[c,p]=(0,eZ.useState)(r?l:void 0);return{isFocusTarget:e=>!!l?.isEqualTo(e),setFocused:p,focused:c,blur:()=>{i(c),p(void 0)},moveFocus:(n,a)=>{if(!c)return;let r=function e(t,n,a,o,r,s,i,l=0){if(l>365)return;let c=function(e,t,n,a,o,r,s){let{ISOWeek:i,broadcastCalendar:l}=r,{addDays:c,addMonths:p,addWeeks:d,addYears:u,endOfBroadcastWeek:m,endOfISOWeek:h,endOfWeek:f,max:g,min:b,startOfBroadcastWeek:v,startOfISOWeek:y,startOfWeek:j}=s,k=({day:c,week:d,month:p,year:u,startOfWeek:e=>l?v(e,s):i?y(e):j(e),endOfWeek:e=>l?m(e):i?h(e):f(e)})[e](n,"after"===t?1:-1);return"before"===t&&a?k=g([a,k]):"after"===t&&o&&(k=b([o,k])),k}(t,n,a.date,o,r,s,i),p=!!(s.disabled&&c5(c,s.disabled,i)),d=!!(s.hidden&&c5(c,s.hidden,i)),u=new pZ(c,c,i);return p||d?e(t,n,u,o,r,s,i,l+1):u}(n,a,c,t.navStart,t.navEnd,e,o);if(r){if(e.disableNavigation&&!t.days.some(e=>e.isEqualTo(r)))return;t.goToDay(r),p(r)}}}}(a,P,V,W??(()=>!1),l),{labelDayButton:ee,labelGridcell:et,labelGrid:en,labelMonthDropdown:ea,labelNav:eo,labelPrevious:er,labelNext:es,labelWeekday:ei,labelWeekNumber:el,labelWeekNumberHeader:ec,labelYearDropdown:ep}=i,ed=(0,eZ.useMemo)(()=>(function(e,t,n,a){let o=a??e.today(),r=n?e.startOfBroadcastWeek(o,e):t?e.startOfISOWeek(o):e.startOfWeek(o),s=[];for(let t=0;t<7;t++){let n=e.addDays(r,t);s.push(n)}return s})(l,a.ISOWeek,a.broadcastCalendar,a.today),[l,a.ISOWeek,a.broadcastCalendar,a.today]),eu=void 0!==u||void 0!==g,em=(0,eZ.useCallback)(()=>{z&&(q(z),I?.(z))},[z,q,I]),eh=(0,eZ.useCallback)(()=>{$&&(q($),T?.($))},[q,$,T]),ef=(0,eZ.useCallback)((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),Z(e),t.disabled||(G?.(e.date,t,n),g?.(e.date,t,n))},[G,g,Z]),eg=(0,eZ.useCallback)((e,t)=>n=>{Z(e),b?.(e.date,t,n)},[b,Z]),eb=(0,eZ.useCallback)((e,t)=>n=>{K(),f?.(e.date,t,n)},[K,f]),ev=(0,eZ.useCallback)((e,t)=>n=>{let o={ArrowLeft:[n.shiftKey?"month":"day","rtl"===a.dir?"after":"before"],ArrowRight:[n.shiftKey?"month":"day","rtl"===a.dir?"before":"after"],ArrowDown:[n.shiftKey?"year":"week","after"],ArrowUp:[n.shiftKey?"year":"week","before"],PageUp:[n.shiftKey?"year":"month","before"],PageDown:[n.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(o[n.key]){n.preventDefault(),n.stopPropagation();let[e,t]=o[n.key];J(e,t)}_?.(e.date,t,n)},[J,_,a.dir]),ey=(0,eZ.useCallback)((e,t)=>n=>{E?.(e.date,t,n)},[E]),ej=(0,eZ.useCallback)((e,t)=>n=>{D?.(e.date,t,n)},[D]),ek=(0,eZ.useCallback)(e=>t=>{let n=Number(t.target.value);q(l.setMonth(l.startOfMonth(e),n))},[l,q]),ew=(0,eZ.useCallback)(e=>t=>{let n=Number(t.target.value);q(l.setYear(l.startOfMonth(e),n))},[l,q]),{className:e_,style:eE}=(0,eZ.useMemo)(()=>
20({className:[p[v.Root],a.className].filter(Boolean).join(" "),style:{...C?.[v.Root],...a.style}}),[p,a.className,a.style,C]),eD=(n={"data-mode":(t=a).mode??void 0,"data-required":"required"in t?t.required:void 0,"data-multiple-months":t.numberOfMonths&&t.numberOfMonths>1||void 0,"data-week-numbers":t.showWeekNumber||void 0,"data-broadcast-calendar":t.broadcastCalendar||void 0,"data-nav-layout":t.navLayout||void 0},Object.entries(t).forEach(([e,t])=>{e.startsWith("data-")&&(n[e]=t)}),n),eT=(0,eZ.useRef)(null);!function(e,t,{classNames:n,months:a,focused:o,dateLib:r}){let s=(0,eZ.useRef)(null),i=(0,eZ.useRef)(a),l=(0,eZ.useRef)(!1);(0,eZ.useLayoutEffect)(()=>{let c=i.current;if(i.current=a,!t||!e.current||!(e.current instanceof HTMLElement)||0===a.length||0===c.length||a.length!==c.length)return;let p=r.isSameMonth(a[0].date,c[0].date),d=r.isAfter(a[0].date,c[0].date),u=d?n[k.caption_after_enter]:n[k.caption_before_enter],m=d?n[k.weeks_after_enter]:n[k.weeks_before_enter],h=s.current,f=e.current.cloneNode(!0);if(f instanceof HTMLElement?(pK(f).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=pY(e.querySelector("[data-animated-month]"));t&&e.contains(t)&&e.removeChild(t);let n=pQ(e);n&&n.classList.remove(u);let a=pX(e);a&&a.classList.remove(m)}),s.current=f):s.current=null,l.current||p||o)return;let g=h instanceof HTMLElement?pK(h):[],b=pK(e.current);if(b?.every(e=>e instanceof HTMLElement)&&g&&g.every(e=>e instanceof HTMLElement)){l.current=!0;let t=[];e.current.style.isolation="isolate";let a=pY(e.current.querySelector("[data-animated-nav]"));a&&(a.style.zIndex="1"),b.forEach((o,r)=>{let s=g[r];if(!s)return;o.style.position="relative",o.style.overflow="hidden";let i=pQ(o);i&&i.classList.add(u);let c=pX(o);c&&c.classList.add(m);let p=()=>{l.current=!1,e.current&&(e.current.style.isolation=""),a&&(a.style.zIndex=""),i&&i.classList.remove(u),c&&c.classList.remove(m),o.style.position="",o.style.overflow="",o.contains(s)&&o.removeChild(s)};t.push(p),s.style.pointerEvents="none",s.style.position="absolute",s.style.overflow="hidden",s.setAttribute("aria-hidden","true");let h=pY(s.querySelector("[data-animated-weekdays]"));h&&(h.style.opacity="0");let f=pQ(s);f&&(f.classList.add(d?n[k.caption_before_exit]:n[k.caption_after_exit]),f.addEventListener("animationend",p));let b=pX(s);b&&b.classList.add(d?n[k.weeks_before_exit]:n[k.weeks_after_exit]),o.insertBefore(s,o.firstChild)})}})}(eT,!!a.animate,{classNames:p,months:B,focused:Q,dateLib:l});let eI={dayPickerProps:a,selected:Y,select:G,isSelected:W,months:B,nextMonth:$,previousMonth:z,goToMonth:q,getModifiers:V,components:r,classNames:p,styles:C,labels:i,formatters:s};return eZ.default.createElement(pc.Provider,{value:eI},eZ.default.createElement(r.Root,{rootRef:a.animate?eT:void 0,className:e_,style:eE,dir:a.dir,id:a.id,lang:a.lang??c.code,nonce:a.nonce,title:a.title,role:a.role,"aria-label":a["aria-label"],"aria-labelledby":a["aria-labelledby"],...eD},eZ.default.createElement(r.Months,{className:p[v.Months],style:C?.[v.Months]},!a.hideNavigation&&!m&&eZ.default.createElement(r.Nav,{"data-animated-nav":a.animate?"true":void 0,className:p[v.N
20av],style:C?.[v.Nav],"aria-label":eo(),onPreviousClick:em,onNextClick:eh,previousMonth:z,nextMonth:$}),B.map((e,t)=>{let n,o;return eZ.default.createElement(r.Month,{"data-animated-month":a.animate?"true":void 0,className:p[v.Month],style:C?.[v.Month],key:t,displayIndex:t,calendarMonth:e},"around"===m&&!a.hideNavigation&&0===t&&eZ.default.createElement(r.PreviousMonthButton,{type:"button",className:p[v.PreviousMonthButton],tabIndex:z?void 0:-1,"aria-disabled":!z||void 0,"aria-label":er(z),onClick:em,"data-animated-button":a.animate?"true":void 0},eZ.default.createElement(r.Chevron,{disabled:!z||void 0,className:p[v.Chevron],orientation:"rtl"===a.dir?"right":"left"})),eZ.default.createElement(r.MonthCaption,{"data-animated-caption":a.animate?"true":void 0,className:p[v.MonthCaption],style:C?.[v.MonthCaption],calendarMonth:e,displayIndex:t},d?.startsWith("dropdown")?eZ.default.createElement(r.DropdownNav,{className:p[v.Dropdowns],style:C?.[v.Dropdowns]},(n="dropdown"===d||"dropdown-months"===d?eZ.default.createElement(r.MonthsDropdown,{key:"month",className:p[v.MonthsDropdown],"aria-label":ea(),classNames:p,components:r,disabled:!!a.disableNavigation,onChange:ek(e.date),options:function(e,t,n,a,o){let{startOfMonth:r,startOfYear:s,endOfYear:i,eachMonthOfInterval:l,getMonth:c}=o;return l({start:s(e),end:i(e)}).map(e=>{let s=a.formatMonthDropdown(e,o);return{value:c(e),label:s,disabled:t&&e<r(t)||n&&e>r(n)||!1}})}(e.date,H,U,s,l),style:C?.[v.Dropdown],value:l.getMonth(e.date)}):eZ.default.createElement("span",{key:"month"},N(e.date,l)),o="dropdown"===d||"dropdown-years"===d?eZ.default.createElement(r.YearsDropdown,{key:"year",className:p[v.YearsDropdown],"aria-label":ep(l.options),classNames:p,components:r,disabled:!!a.disableNavigation,onChange:ew(e.date),options:function(e,t,n,a,o=!1){if(!e||!t)return;let{startOfYear:r,endOfYear:s,eachYearOfInterval:i,getYear:l}=a,c=i({start:r(e),end:s(t)});return o&&c.reverse(),c.map(e=>{let t=n.formatYearDropdown(e,a);return{value:l(e),label:t,disabled:!1}})}(H,U,s,l,!!a.reverseYears),style:C?.[v.Dropdown],value:l.getYear(e.date)}):eZ.default.createElement("span",{key:"year"},F(e.date,l)),"year-first"===l.getMonthYearOrder()?[o,n]:[n,o]),eZ.default.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},S(e.date,l.options,l))):eZ.default.createElement(r.CaptionLabel,{className:p[v.CaptionLabel],role:"status","aria-live":"polite"},S(e.date,l.options,l))),"around"===m&&!a.hideNavigation&&t===h-1&&eZ.default.createElement(r.NextMonthButton,{type:"button",className:p[v.NextMonthButton],tabIndex:$?void 0:-1,"aria-disabled":!$||void 0,"aria-label":es($),onClick:eh,"data-animated-button":a.animate?"true":void 0},eZ.default.createElement(r.Chevron,{disabled:!$||void 0,className:p[v.Chevron],orientation:"rtl"===a.dir?"left":"right"})),t===h-1&&"after"===m&&!a.hideNavigation&&eZ.default.createElement(r.Nav,{"data-animated-nav":a.animate?"true":void 0,className:p[v.N
20av],style:C?.[v.Nav],"aria-label":eo(),onPreviousClick:em,onNextClick:eh,previousMonth:z,nextMonth:$}),eZ.default.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===u||"range"===u,"aria-label":en(e.date,l.options,l)||void 0,className:p[v.MonthGrid],style:C?.[v.MonthGrid]},!a.hideWeekdays&&eZ.default.createElement(r.Weekdays,{"data-animated-weekdays":a.animate?"true":void 0,className:p[v.Weekdays],style:C?.[v.Weekdays]},x&&eZ.default.createElement(r.WeekNumberHeader,{"aria-label":ec(l.options),className:p[v.WeekNumberHeader],style:C?.[v.WeekNumberHeader],scope:"col"},O()),ed.map(e=>eZ.default.createElement(r.Weekday,{"aria-label":ei(e,l.options,l),className:p[v.Weekday],key:String(e),style:C?.[v.Weekday],scope:"col"},R(e,l.options,l)))),eZ.default.createElement(r.Weeks,{"data-animated-weeks":a.animate?"true":void 0,className:p[v.Weeks],style:C?.[v.Weeks]},e.weeks.map(e=>eZ.default.createElement(r.Week,{className:p[v.Week],key:e.weekNumber,style:C?.[v.Week],week:e},x&&eZ.default.createElement(r.WeekNumber,{week:e,style:C?.[v.WeekNumber],"aria-label":el(e.weekNumber,{locale:c}),className:p[v.WeekNumber],scope:"row",role:"rowheader"},M(e.weekNumber,l)),e.days.map(e=>{let{date:t}=e,n=V(e);if(n[y.focused]=!n.hidden&&!!Q?.isEqualTo(e),n[j.selected]=W?.(t)||n.selected,c1(Y)){let{from:e,to:a}=Y;n[j.range_start]=!!(e&&a&&l.isSameDay(t,e)),n[j.range_end]=!!(e&&a&&l.isSameDay(t,a)),n[j.range_middle]=cZ(Y,t,!0,l)}let o=function(e,t={},n={}){let a={...t?.[v.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{a={...a,...n?.[e]}}),a}(n,C,a.modifiersStyles),s=function(e,t,n={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[a])=>(n[a]?e.push(n[a]):t[y[a]]?e.push(t[y[a]]):t[j[a]]&&e.push(t[j[a]]),e),[t[v.Day]])}(n,p,a.modifiersClassNames),i=eu||n.hidden?void 0:et(t,n,l.options,l);return eZ.default.createElement(r.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:n,className:s.join(" "),style:o,role:"gridcell","aria-selected":n.selected||void 0,"aria-label":i,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":n.selected||void 0,"data-disabled":n.disabled||void 0,"data-hidden":n.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":n.focused||void 0,"data-today":n.today||void 0},!n.hidden&&eu?eZ.default.createElement(r.DayButton,{className:p[v.DayButton],style:C?.[v.DayButton],type:"button",day:e,modifiers:n,disabled:!n.focused&&n.disabled||void 0,"aria-disabled":n.focused&&n.disabled||void 0,tabIndex:X(e)?0:-1,"aria-label":ee(t,n,l.options,l),onClick:ef(e,n),onBlur:eb(e,n),onFocus:eg(e,n),onKeyDown:ev(e,n),onMouseEnter:ey(e,n),onMouseLeave:ej(e,n)},A(t,l.options,l)):!n.hidden&&A(e.date,l.options,l))}))))))})),a.footer&&eZ.default.createElement(r.Footer,{className:p[v.Footer],style:C?.[v.Footer],role:"status","aria-live":"polite"},a.footer)))}function de({className:e,rootRef:t,...n}){return(0,T.jsx)("div",{className:(0,x.cn)(e),"data-slot":"calendar",ref:t,...n})}function dt({className:e,orientation:t,...n}){return"left"===t?(0,T.jsx)(cv.ChevronLeftIcon,{className:(0,x.cn)("size-4",e),...n}):"right"===t?(0,T.jsx)(cy.ChevronRightIcon,{className:(0,x.cn)("size-4",e),...n}):(0,T.jsx)(s4.ChevronDownIcon,{className:(0,x.cn)("size-4",e),...n})}function dn({children:e,...t}){return(0,T.jsx)("td",{...t,children:(0,T.jsx)("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:e})})}function da({className:e,classNames:t,showOutsideDays:n=!0,captionLayout:a="label",buttonVariant:o="ghost",locale:r,formatters:s,components:i,...l}){let c=pT();return(0,T.jsx)(p7,{captionLayout:a,className:(0,x.cn)("group/calendar bg-background p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(8)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),classNames:{root:(0,x.cn)("w-fit",c.root),months:(0,x.cn)("relative flex flex-col gap-4 md:flex-row",c.months),month:(0,x.cn)("flex w-full flex-col gap-4",c.month),nav:(0,x.cn)("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",c.nav),button_previous:(0,x.cn)((0,I.buttonVariants)({variant:o}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",c.button_previous),button_next:(0,x.cn)((0,I.buttonVariants)({variant:o}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",c.button_next),month_caption:(0,x.cn)("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",c.month_caption),dropdowns:(0,x.cn)("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",c.dropdowns),dropdown_root:(0,x.cn)("relative rounded-(--cell-radius)",c.dropdown_root),dropdown:(0,x.cn)("bg-popover absolute inset-0 opacity-0",c.dropdown),caption_label:(0,x.cn)("font-medium select-none","label"===a?"text-sm":"[&>svg]:text-muted-foreground flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5",c.caption_label),month_grid:"w-full border-collapse",weekdays:(0,x.cn)("flex",c.weekdays),weekday:(0,x.cn)("text-muted-foreground flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal select-none",c.weekday),week:(0,x.cn)("mt-2 flex w-full",c.week),week_number_header:(0,x.cn)("w-(--cell-size) select-none",c.week_number_header),week_number:(0,x.cn)("text-muted-foreground text-[0.8rem] select-none",c.week_number),day:(0,x.cn)("group/day relative aspect-square h-full w-full rounded-(--cell-radius) p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius)",l.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)":"[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",c.day),range_start:(0,x.cn)("bg-muted after:bg-muted relative isolate z-0 rounded-l-(--cell-radius) after:absolute after:inset-y-0 after:right-0 after:w-4",c.range_start),range_middle:(0,x.cn)("rounded-none",c.range_middle),range_end:(0,x.cn)("bg-muted after:bg-muted relative isolate z-0 rounded-r-(--cell-radius) after:absolute after:inset-y-0 after:left-0 after:w-4",c.range_end),today:(0,x.cn)("bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",c.today),outside:(0,x.cn)("text-muted-foreground aria-selected:text-muted-foreground",c.outside),disabled:(0,x.cn)("text-muted-foreground opacity-50",c.disabled),hidden:(0,x.cn)("invisible",c.hidden),...t}
20,components:{Root:de,Chevron:dt,DayButton:dr,WeekNumber:dn,...i},formatters:{formatMonthDropdown:e=>e.toLocaleString(r?.code,{month:"short"}),...s},locale:r,showOutsideDays:n,...l})}function dr({className:e,day:t,modifiers:n,...a}){let o=pT(),r=eZ.useRef(null);return eZ.useEffect(()=>{n.focused&&r.current?.focus()},[n.focused]),(0,T.jsx)(I.Button,{className:(0,x.cn)("data-[range-end=true]:bg-primary data-[range-middle=true]:bg-muted data-[range-start=true]:bg-primary data-[selected-single=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:text-foreground data-[range-start=true]:text-primary-foreground data-[selected-single=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-foreground relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) [&>span]:text-xs [&>span]:opacity-70",o.day,e),"data-day":(0,cb.format)(t.date,"yyyy-MM-dd"),"data-range-end":n.range_end,"data-range-middle":n.range_middle,"data-range-start":n.range_start,"data-selected-single":n.selected&&!n.range_start&&!n.range_end&&!n.range_middle,ref:r,size:"icon",variant:"ghost",...a})}(h=w||(w={}))[h.Today=0]="Today",h[h.Selected=1]="Selected",h[h.LastFocused=2]="LastFocused",h[h.FocusedModifier=3]="FocusedModifier";var ds="Popover",[di,dl]=(0,iy.createContextScope)(ds,[iD.createPopperScope]),dc=(0,iD.createPopperScope)(),[dp,dd]=di(ds),du=e=>{let{__scopePopover:t,children:n,open:a,defaultOpen:o,onOpenChange:r,modal:s=!1}=e,i=dc(t),l=eZ.useRef(null),[c,p]=eZ.useState(!1),[d,u]=(0,iS.useControllableState)({prop:a,defaultProp:o??!1,onChange:r,caller:ds});return(0,T.jsx)(iD.Root,{...i,children:(0,T.jsx)(dp,{scope:t,contentId:(0,iE.useId)(),triggerRef:l,open:d,onOpenChange:u,onOpenToggle:eZ.useCallback(()=>u(e=>!e),[u]),hasCustomAnchor:c,onCustomAnchorAdd:eZ.useCallback(()=>p(!0),[]),onCustomAnchorRemove:eZ.useCallback(()=>p(!1),[]),modal:s,children:n})})};du.displayName=ds;var dm="PopoverAnchor",dh=eZ.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,o=dd(dm,n),r=dc(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:i}=o;return eZ.useEffect(()=>(s(),()=>i()),[s,i]),(0,T.jsx)(iD.Anchor,{...r,...a,ref:t})});dh.displayName=dm;var df="PopoverTrigger",dg=eZ.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,o=dd(df,n),r=dc(n),s=(0,iv.useComposedRefs)(t,o.triggerRef),i=(0,T.jsx)(iI.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":dS(o.open),...a,ref:s,onClick:(0,ig.composeEventHandlers)(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?i:(0,T.jsx)(iD.Anchor,{asChild:!0,...r,children:i})});dg.displayName=df;var db="PopoverPortal",[dv,dy]=di(db,{forceMount:void 0}),dj=e=>{let{__scopePopover:t,forceMount:n,children:a,container:o}=e,r=dd(db,t);return(0,T.jsx)(dv,{scope:t,forceMount:n,children:(0,T.jsx)(l8.Presence,{present:n||r.open,children:(0,T.jsx)(iT.Portal,{asChild:!0,container:o,children:a})})})};dj.displayName=db;var dk="PopoverContent",dw=eZ.forwardRef((e,t)=>{let n=dy(dk,e.__scopePopover),{forceMount:a=n.forceMount,...o}=e,r=dd(dk,e.__scopePopover);return(0,T.jsx)(l8.Presence,{present:a||r.open,children:r.modal?(0,T.jsx)(dE,{...o,ref:t}):(0,T.jsx)(dD,{...o,ref:t})})});dw.displayName=dk;var d_=(0,ix.createSlot)("PopoverContent.RemoveScroll"),dE=eZ.forwardRef((e,t)=>{let n=dd(dk,e.__scopePopover),a=eZ.useRef(null),o=(0,iv.useComposedRefs)(t,a),r=eZ.useRef(!1);return eZ.useEffect(()=>{let e=a.current;if(e)return(0,iO.hideOthers)(e)},[]),(0,T.jsx)(iR.RemoveScroll,{as:d_,allowPinchZoom:!0,children:(0,T.jsx)(dT,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,ig.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,ig.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;r.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,ig.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),dD=eZ.forwardRef((e,t)=>
20{let n=dd(dk,e.__scopePopover),a=eZ.useRef(!1),o=eZ.useRef(!1);return(0,T.jsx)(dT,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),dT=eZ.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:p,...d}=e,u=dd(dk,n),m=dc(n);return(0,iw.useFocusGuards)(),(0,T.jsx)(i_.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:o,onUnmountAutoFocus:r,children:(0,T.jsx)(ik.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:p,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>u.onOpenChange(!1),children:(0,T.jsx)(iD.Content,{"data-state":dS(u.open),role:"dialog",id:u.contentId,...m,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),dI="PopoverClose",dx=eZ.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,o=dd(dI,n);return(0,T.jsx)(iI.Primitive.button,{type:"button",...a,ref:t,onClick:(0,ig.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});dx.displayName=dI;var dC=eZ.forwardRef((e,t)=>{let{__scopePopover:n,...a}=e,o=dc(n);return(0,T.jsx)(iD.Arrow,{...o,...a,ref:t})});function dS(e){return e?"open":"closed"}dC.displayName="PopoverArrow",e.s(["Anchor",0,dh,"Arrow",0,dC,"Close",0,dx,"Content",0,dw,"Popover",0,du,"PopoverAnchor",0,dh,"PopoverArrow",0,dC,"PopoverClose",0,dx,"PopoverContent",0,dw,"PopoverPortal",0,dj,"PopoverTrigger",0,dg,"Portal",0,dj,"Root",0,du,"Trigger",0,dg,"createPopoverScope",0,dl],931290);var dA=e.i(931290),dA=dA;function dN({...e}){return(0,T.jsx)(dA.Root,{"data-slot":"popover",...e})}function dM({...e}){return(0,T.jsx)(dA.Trigger,{"data-slot":"popover-trigger",...e})}function dO({className:e,align:t="center",sideOffset:n=4,...a}){return(0,T.jsx)(dA.Portal,{children:(0,T.jsx)(dA.Content,{align:t,className:(0,x.cn)("data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 bg-popover text-popover-foreground ring-foreground/10 data-closed:animate-out data-open:animate-in z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-4 roun
20ded-md p-4 text-sm shadow-md ring-1 outline-hidden duration-100",e),collisionPadding:4,"data-slot":"popover-content",sideOffset:n,...a})})}function dR(e,t){e.assign("day",t.getDate()),e.assign("month",t.getMonth()+1),e.assign("year",t.getFullYear())}function dF(e,t){e.assign("hour",t.getHours()),e.assign("minute",t.getMinutes()),e.assign("second",t.getSeconds()),e.assign("millisecond",t.getMilliseconds()),e.assign("meridiem",12>t.getHours()?_.AM:_.PM)}function dP(e,t){e.imply("day",t.getDate()),e.imply("month",t.getMonth()+1),e.imply("year",t.getFullYear())}function dL(e,t){e.imply("hour",t.getHours()),e.imply("minute",t.getMinutes()),e.imply("second",t.getSeconds()),e.imply("millisecond",t.getMilliseconds()),e.imply("meridiem",12>t.getHours()?_.AM:_.PM)}(f=_||(_={}))[f.AM=0]="AM",f[f.PM=1]="PM",(g=E||(E={}))[g.SUNDAY=0]="SUNDAY",g[g.MONDAY=1]="MONDAY",g[g.TUESDAY=2]="TUESDAY",g[g.WEDNESDAY=3]="WEDNESDAY",g[g.THURSDAY=4]="THURSDAY",g[g.FRIDAY=5]="FRIDAY",g[g.SATURDAY=6]="SATURDAY",(b=D||(D={}))[b.JANUARY=1]="JANUARY",b[b.FEBRUARY=2]="FEBRUARY",b[b.MARCH=3]="MARCH",b[b.APRIL=4]="APRIL",b[b.MAY=5]="MAY",b[b.JUNE=6]="JUNE",b[b.JULY=7]="JULY",b[b.AUGUST=8]="AUGUST",b[b.SEPTEMBER=9]="SEPTEMBER",b[b.OCTOBER=10]="OCTOBER",b[b.NOVEMBER=11]="NOVEMBER",b[b.DECEMBER=12]="DECEMBER";let dB={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:{timezoneOffsetDuringDst:120,timezoneOffsetNonDst:60,dstStart:e=>dU(e,D.MARCH,E.SUNDAY,2),dstEnd:e=>dU(e,D.OCTOBER,E.SUNDAY,3)},CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CT:{timezoneOffsetDuringDst:-300,timezoneOffsetNonDst:-360,dstStart:e=>dH(e,D.MARCH,E.SUNDAY,2,2),dstEnd:e=>dH(e,D.NOVEMBER,E.SUNDAY,1,2)},CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:{timezoneOffsetDuringDst:-240,timezoneOffsetNonDst:-300,dstStart:e=>dH(e,D.MARCH,E.SUNDAY,2,2),dstEnd:e=>dH(e,D.NOVEMBER,E.SUNDAY,1,2)},FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:180,MST:-420,MT:{timezoneOffsetDuringDst:-360,timezoneOffsetNonDst:-420,dstStart:e=>dH(e,D.MARCH,E.SUNDAY,2,2),dstEnd:e=>dH(e,D.NOVEMBER,E.SUNDAY,1,2)},MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:{timezoneOffsetDuringDst:-420,timezoneOffsetNonDst:-480,dstStart:e=>dH(e,D.MARCH,E.SUNDAY,2,2),dstEnd:e=>dH(e,D.NOVEMBER,E.SUNDAY,1,2)},PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360};function dH(e,t,n,a,o=0){let r=0,s=0;for(;s<a;)new Date(e,t-1,++r).getDay()===n&&s++;return new Date(e,t-1,r,o)}function dU(e,t,n,a=0){let o,r=0===n?7:n,s=new Date(e,t-1+1,1,12),i=0===s.getDay()?7:s.getDay();return o=i===r?7:i<r?7+i-r:i-r,s.setDate(s.getDate()-o),new Date(e,t-1,s.getDate(),a)}function dz(e,t,n={}){if(null==e)return null;if("number"==typeof e)return e;let a=n[e]??dB[e];return null==a?null:"number"==typeof a?a:null==t?null:t>a.dstStart(t.getFullYear())&&!(t>a.dstEnd(t.getFullYear()))?a.timezoneOffsetDuringDst:a.timezoneOffsetNonDst}let d$={day:0,second:0,millisecond:0};function dq(e,t){let n=new Date(e);if(t.y&&(t.year=t.y,delete t.y),t.mo&&(t.month=t.mo,delete t.mo),t.M&&(t.month=t.M,delete t.M),t.w&&(t.week=t.w,delete t.w),t.d&&(t.day=t.d,delete t.d),t.h&&(t.hour=t.h,delete t.h),t.m&&(t.minute=t.m,delete t.m),t.s&&(t.second=t.s,delete t.s),t.ms&&(t.millisecond=t.ms,delete t.ms),"year"in t){let e=Math.floor(t.year);n.setFullYear(n.getFullYear()+e);let a=t.year-e;a>0&&(t.month=t?.month??0,t.month+=12*a)}if("quarter"in t){let e=Math.floor(t.quarter);n.setMonth(n.getMonth()+3*e)}if("month"in t){let e=Math.floor(t.month);n.setMonth(n.getMonth()+e);let a=t.month-e;a>0&&(t.week=t?.week??0,t.week+=4*a)}if("week"in t){let e=Math.floor(t.week);n.setDate(n.getDate()+7*e);let a=t.week-e;a>0&&(t.day=t?.day??0,t.day+=Math.round(7*a))}if("day"in t){let e=Math.floor(t.day);n.setDate(n.getDate()+e);let a=t.day-e;a>0&&(t.hour=t?.hour??0,t.hour+=Math.round(24*a))}if("hour"in t){let e=Math.floor(t.hour);n.setHours(n.getHours()+e);let a=t.hour-e;a>
200&&(t.minute=t?.minute??0,t.minute+=Math.round(60*a))}if("minute"in t){let e=Math.floor(t.minute);n.setMinutes(n.getMinutes()+e);let a=t.minute-e;a>0&&(t.second=t?.second??0,t.second+=Math.round(60*a))}if("second"in t){let e=Math.floor(t.second);n.setSeconds(n.getSeconds()+e);let a=t.second-e;a>0&&(t.millisecond=t?.millisecond??0,t.millisecond+=Math.round(1e3*a))}if("millisecond"in t){let e=Math.floor(t.millisecond);n.setMilliseconds(n.getMilliseconds()+e)}return n}function dV(e){let t={};for(let n in e)t[n]=-e[n];return t}class dW{instant;timezoneOffset;constructor(e,t){this.instant=e??new Date,this.timezoneOffset=t??null}static fromDate(e){return new dW(e)}static fromInput(e,t){if(e instanceof Date)return dW.fromDate(e);let n=e?.instant??new Date,a=dz(e?.timezone,n,t);return new dW(n,a)}getDateWithAdjustedTimezone(){let e=new Date(this.instant);return null!==this.timezoneOffset&&e.setMinutes(e.getMinutes()-this.getSystemTimezoneAdjustmentMinute(this.instant)),e}getSystemTimezoneAdjustmentMinute(e,t){(!e||0>e.getTime())&&(e=new Date);let n=-e.getTimezoneOffset(),a=t??this.timezoneOffset??n;return n-a}getTimezoneOffset(){return this.timezoneOffset??-this.instant.getTimezoneOffset()}}class dG{knownValues;impliedValues;reference;_tags=new Set;constructor(e,t){if(this.reference=e,this.knownValues={},this.impliedValues={},t)for(const e in t)this.knownValues[e]=t[e];const n=e.getDateWithAdjustedTimezone();this.imply("day",n.getDate()),this.imply("month",n.getMonth()+1),this.imply("year",n.getFullYear()),this.imply("hour",12),this.imply("minute",0),this.imply("second",0),this.imply("millisecond",0)}static createRelativeFromReference(e,t=d$){let n=dq(e.getDateWithAdjustedTimezone(),t),a=new dG(e);return a.addTag("result/relativeDate"),"hour"in t||"minute"in t||"second"in t||"millisecond"in t?(a.addTag("result/relativeDateAndTime"),dF(a,n),dR(a,n),a.assign("timezoneOffset",e.getTimezoneOffset())):(dL(a,n),a.imply("timezoneOffset",e.getTimezoneOffset()),"day"in t?(a.assign("day",n.getDate()),a.assign("month",n.getMonth()+1),a.assign("year",n.getFullYear()),a.assign("weekday",n.getDay())):"week"in t?(a.assign("day",n.getDate()),a.assign("month",n.getMonth()+1),a.assign("year",n.getFullYear()),a.imply("weekday",n.getDay())):(a.imply("day",n.getDate()),"month"in t?(a.assign("month",n.getMonth()+1),a.assign("year",n.getFullYear())):(a.imply("month",n.getMonth()+1),"year"in t?a.assign("year",n.getFullYear()):a.imply("year",n.getFullYear())))),a}get(e){return e in this.knownValues?this.knownValues[e]:e in this.impliedValues?this.impliedValues[e]:null}isCertain(e){return e in this.knownValues}getCertainComponents(){return Object.keys(this.knownValues)}imply(e,t){return e in this.knownValues||(this.impliedValues[e]=t),this}assign(e,t){return this.knownValues[e]=t,delete this.impliedValues[e],this}addDurationAsImplied(e){let t=dq(this.dateWithoutTimezoneAdjustment(),e);return("day"in e||"week"in e||"month"in e||"year"in e)&&(this.delete(["day","weekday","month","year"]),this.imply("day",t.getDate()),this.imply("weekday",t.getDay()),this.imply("month",t.getMonth()+1),this.imply("year",t.getFullYear())),("second"in e||"minute"in e||"hour"in e)&&(this.delete(["second","minute","hour"]),this.imply("second",t.getSeconds()),this.imply("minute",t.getMinutes()),this.imply("hour",t.getHours())),this}delete(e){for(let t of("string"==typeof e&&(e=[e]),e))delete this.knownValues[t],delete this.impliedValues[t]}clone(){let e=new dG(this.reference);for(let t in e.knownValues={},e.impliedValues={},this.knownValues)e.knownValues[t]=this.knownValues[t];for(let t in this.impliedValues)e.impliedValues[t]=this.impliedValues[t];return e}isOnlyDate(){return!this.isCertain("hour")&&!this.isCertain("minute")&&!this.isCertain("second")}isOnlyTime(){return!this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")&&!this.isCertain("year")}isOnlyWeekdayComponent(){return this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isDateWithUnknownYear(){return this.isCertain("month")&&!this.isCertain("year")}isValidDate(){let e=this.dateWithoutTimezoneAdjustment();return e.getFullYear()===this.get("year")&&e.getMonth()===this.get("month")-1&&e.getDate()===this.get("day")&&(null==this.get("hour")||e.getHours()==this.get("hour"))&&(null==this.get("minute")||e.getMinutes()==this.get("minute"))}toString(){return`[ParsingComponents { 21 tags: ${JSON.stringify(Array.from(this._tags).sort())}, 22 knownValues: ${JSON.stringify(this.knownValues)},
23 impliedValues: ${JSON.stringify(this.impliedValues)}}, 24 reference: ${JSON.stringify(this.reference)}]`}date(){let e=this.dateWithoutTimezoneAdjustment(),t=this.reference.getSystemTimezoneAdjustmentMinute(e,this.get("timezoneOffset"));return new Date(e.getTime()+6e4*t)}addTag(e){return this._tags.add(e),this}addTags(e){for(let t of e)this._tags.add(t);return this}tags(){return new Set(this._tags)}dateWithoutTimezoneAdjustment(){let e=new Date(this.get("year"),this.get("month")-1,this.get("day"),this.get("hour"),this.get("minute"),this.get("second"),this.get("millisecond"));return e.setFullYear(this.get("year")),e}}class dY{refDate;index;text;reference;start;end;constructor(e,t,n,a,o){this.reference=e,this.refDate=e.instant,this.index=t,this.text=n,this.start=a||new dG(e),this.end=o}clone(){let e=new dY(this.reference,this.index,this.text);return e.start=this.start?this.start.clone():null,e.end=this.end?this.end.clone():null,e}date(){return this.start.date()}addTag(e){return this.start.addTag(e),this.end&&this.end.addTag(e),this}addTags(e){return this.start.addTags(e),this.end&&this.end.addTags(e),this}tags(){let e=new Set(this.start.tags());if(this.end)for(let t of this.end.tags())e.add(t);return e}toString(){let e=Array.from(this.tags()).sort();return`[ParsingResult {index: ${this.index}, text: '${this.text}', tags: ${JSON.stringify(e)} ...}]`}}function dK(e,t,n="\\s{0,5},?\\s{0,5}"){let a=t.replace(/\((?!\?)/g,"(?:");return`${e}${a}(?:${n}${a}){0,10}`}function dQ(e){let t=(e instanceof Array?[...e]:e instanceof Map?Array.from(e.keys()):Object.keys(e)).sort((e,t)=>t.length-e.length).join("|").replace(/\./g,"\\.");return`(?:${t})`}function dX(e){return e<100&&(e>50?e+=1900:e+=2e3),e}function dJ(e,t,n){let a=new Date(e);a.setMonth(n-1),a.setDate(t);let o=dq(a,{year:1}),r=dq(a,{year:-1});return Math.abs(o.getTime()-e.getTime())<Math.abs(a.getTime()-e.getTime())?a=o:Math.abs(r.getTime()-e.getTime())<Math.abs(a.getTime()-e.getTime())&&(a=r),a.getFullYear()}let dZ={sunday:0,sun:0,"sun.":0,monday:1,mon:1,"mon.":1,tuesday:2,tue:2,"tue.":2,wednesday:3,wed:3,"wed.":3,thursday:4,thurs:4,"thurs.":4,thur:4,"thur.":4,thu:4,"thu.":4,friday:5,fri:5,"fri.":5,saturday:6,sat:6,"sat.":6},d0={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12},d1={...d0,jan:1,"jan.":1,feb:2,"feb.":2,mar:3,"mar.":3,apr:4,"apr.":4,jun:6,"jun.":6,jul:7,"jul.":7,aug:8,"aug.":8,sep:9,"sep.":9,sept:9,"sept.":9,oct:10,"oct.":10,nov:11,"nov.":11,dec:12,"dec.":12},d6={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12},d4={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19,twentieth:20,"twenty first":21,"twenty-first":21,"twenty second":22,"twenty-second":22,"twenty third":23,"twenty-third":23,"twenty fourth":24,"twenty-fourth":24,"twenty fifth":25,"twenty-fifth":25,"twenty sixth":26,"twenty-sixth":26,"twenty seventh":27,"twenty-seventh":27,"twenty eighth":28,"twenty-eighth":28,"twenty ninth":29,"twenty-ninth":29,thirtieth:30,"thirty first":31,"thirty-first":31},d2={second:"second",seconds:"second",minute:"minute",minutes:"minute",hour:"hour",hours:"hour",day:"day",days:"day",week:"week",weeks:"week",month:"month",months:"month",quarter:"quarter",quarters:"quarter",year:"year",years:"year"}
24,d3={s:"second",sec:"second",second:"second",seconds:"second",m:"minute",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",hour:"hour",hours:"hour",d:"day",day:"day",days:"day",w:"week",week:"week",weeks:"week",mo:"month",mon:"month",mos:"month",month:"month",months:"month",qtr:"quarter",quarter:"quarter",quarters:"quarter",y:"year",yr:"year",year:"year",years:"year",...d2},d5=`(?:${dQ(d6)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s{0,2}an?)?|an?\\b(?:\\s{0,2}few)?|few|several|the|a?\\s{0,2}couple\\s{0,2}(?:of)?)`,d9=`(?:${dQ(d4)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;function d8(e){let t=e.toLowerCase();return void 0!==d4[t]?d4[t]:parseInt(t=t.replace(/(?:st|nd|rd|th)$/i,""))}let d7="(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-2][0-9]{3}|[5-9][0-9]|2[0-5])";function ue(e){return/BE/i.test(e)?parseInt(e=e.replace(/BE/i,""))-543:/BCE?/i.test(e)?-parseInt(e=e.replace(/BCE?/i,"")):/(AD|CE)/i.test(e)?parseInt(e=e.replace(/(AD|CE)/i,"")):dX(parseInt(e))}let ut=`(${d5})\\s{0,3}(${dQ(d3)})`,un=RegExp(ut,"i"),ua=`(${d5})\\s{0,3}(${dQ(d2)})`,uo="\\s{0,5},?(?:\\s*and)?\\s{0,5}",ur=dK("(?:(?:about|around)\\s{0,3})?",ut,uo),us=dK("(?:(?:about|around)\\s{0,3})?",ua,uo);function ui(e){let t={},n=e,a=un.exec(n);for(;a;)(function(e,t){if(t[0].match(/^[a-zA-Z]+$/))return;let n=function(e){let t=e.toLowerCase();if(void 0!==d6[t])return d6[t];if("a"===t||"an"===t||"the"==t)return 1;if(t.match(/few/))return 3;if(t.match(/half/))return .5;if(t.match(/couple/))return 2;else if(t.match(/several/))return 7;return parseFloat(t)}(t[1]);e[d3[t[2].toLowerCase()]]=n})(t,a),n=n.substring(a[0].length).trim(),a=un.exec(n);return 0==Object.keys(t).length?null:t}class ul{innerPatternHasChange(e,t){return this.innerPattern(e)!==t}patternLeftBoundary(){return"(\\W|^)"}cachedInnerPattern=null;cachedPattern=null;pattern(e){return this.cachedInnerPattern&&!this.innerPatternHasChange(e,this.cachedInnerPattern)||(this.cachedInnerPattern=this.innerPattern(e),this.cachedPattern=RegExp(`${this.patternLeftBoundary()}${this.cachedInnerPattern.source}`,this.cachedInnerPattern.flags)),this.cachedPattern}extract(e,t){let n=t[1]??"";t.index=t.index+n.length,t[0]=t[0].substring(n.length);for(let e=2;e<t.length;e++)t[e-1]=t[e];return this.innerExtract(e,t)}}let uc=RegExp(`(?:(?:within|in|for)\\s*)?(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${ur})(?=\\W|$)`,"i"),up=RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${ur})(?=\\W|$)`,"i"),ud=RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${us})(?=\\W|$)`,"i");class uu extends ul{strictMode;constructor(e){super(),this.strictMode=e}innerPattern(e){return this.strictMode?ud:e.option.forwardDate?uc:up}innerExtract(e,t){if(t[0].match(/^for\s*the\s*\w+/))return null;let n=ui(t[1]);return n?dG.createRelativeFromReference(e.reference,n):null}}let um=RegExp(`(?:on\\s{0,3})?(${d9})(?:\\s{0,3}(?:to|\\-|\\â|until|through|till)?\\s{0,3}(${d9}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${dQ(d1)}
24)(?:(?:-|/|,?\\s{0,3})(${d7}(?!\\w)))?(?=\\W|$)`,"i");class uh extends ul{innerPattern(){return um}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),a=d1[t[3].toLowerCase()],o=d8(t[1]);if(o>31)return t.index=t.index+t[1].length,null;if(n.start.assign("month",a),n.start.assign("day",o),t[4]){let e=ue(t[4]);n.start.assign("year",e)}else{let t=dJ(e.refDate,o,a);n.start.imply("year",t)}if(t[2]){let e=d8(t[2]);n.end=n.start.clone(),n.end.assign("day",e)}return n}}let uf=RegExp(`(${dQ(d1)})(?:-|/|\\s*,?\\s*)(${d9})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${d9})\\s*)?(?:(?:-|/|\\s*,\\s*|\\s+)(${d7}))?(?=\\W|$)(?!\\:\\d)`,"i");class ug extends ul{shouldSkipYearLikeDate;constructor(e){super(),this.shouldSkipYearLikeDate=e}innerPattern(){return uf}innerExtract(e,t){let n=d1[t[1].toLowerCase()],a=d8(t[2]);if(a>31||this.shouldSkipYearLikeDate&&!t[3]&&!t[4]&&t[2].match(/^2[0-5]$/))return null;let o=e.createParsingComponents({day:a,month:n}).addTag("parser/ENMonthNameMiddleEndianParser");if(t[4]){let e=ue(t[4]);o.assign("year",e)}else{let t=dJ(e.refDate,a,n);o.imply("year",t)}if(!t[3])return o;let r=d8(t[3]),s=e.createParsingResult(t.index,t[0]);return s.start=o,s.end=o.clone(),s.end.assign("day",r),s}}let ub=RegExp(`((?:in)\\s*)?(${dQ(d1)})\\s*(?:(?:,|-|of)?\\s*(${d7})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i");class uv extends ul{innerPattern(){return ub}innerExtract(e,t){let n=t[2].toLowerCase();if(t[0].length<=3&&!d0[n])return null;let a=e.createParsingResult(t.index+(t[1]||"").length,t.index+t[0].length);a.start.imply("day",1),a.start.addTag("parser/ENMonthNameParser");let o=d1[n];if(a.start.assign("month",o),t[3]){let e=ue(t[3]);a.start.assign("year",e)}else{let t=dJ(e.refDate,1,o);a.start.imply("year",t)}return a}}let uy=RegExp(`([0-9]{4})[-\\.\\/\\s](?:(${dQ(d1)})|([0-9]{1,2}))[-\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i");class uj extends ul{strictMonthDateOrder;constructor(e){super(),this.strictMonthDateOrder=e}innerPattern(){return uy}innerExtract(e,t){let n=parseInt(t[1]),a=parseInt(t[4]),o=t[3]?parseInt(t[3]):d1[t[2].toLowerCase()];if(o<1||o>12){if(this.strictMonthDateOrder)return null;a>=1&&a<=12&&([o,a]=[a,o])}return a<1||a>31?null:{day:a,month:o,year:n}}}let uk=RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i");class uw extends ul{innerPattern(){return uk}innerExtract(e,t){let n=parseInt(t[2]),a=parseInt(t[1]);return e.createParsingComponents().imply("day",1).assign("month",a).assign("year",n)}}class u_{strictMode;constructor(e=!1){this.strictMode=e}patternFlags(){return"i"}primaryPatternLeftBoundary(){return"(^|\\s|T|\\b)"}primarySuffix(){return"(?!/)(?=\\W|$)"}followingSuffix(){return"(?!/)(?=\\W|$)"}pattern(e){return this.getPrimaryTimePatternThroughCache()}extract(e,t){let n=this.extractPrimaryTimeComponents(e,t);if(!n)return t[0].match(/^\d{4}/)?t.index+=4:t.index+=t[0].length,null;let a=t.index+t[1].length,o=t[0].substring(t[1].length),r=e.createParsingResult(a,o,n);t.index+=t[0].length;let s=e.text.substring(t.index),i=this.getFollowingTimePatternThroughCache().exec(s);return o.match(/^\d{3,4}/)&&i&&(i[0].match(/^\s*([+-])\s*\d{2,4}$/)||i[0].match(/^\s*([+-])\s*\d{2}\W\d{2}/))?null:!i||i[0].match(/^\s*([+-])\s*\d{3,4}$/)?this.checkAndReturnWithoutFollowingPattern(r):(r.end=this.extractFollowingTimeComponents(e,i,r),r.end&&(r.text+=i[0]),this.checkAndReturnWithFollowingPattern(r))}extractPrimaryTimeComponents(e,t,n=!1){let a=e.createParsingComponents(),o=0,r=null,s=parseInt(t[2]);if(s>100){if(4==t[2].length&&null==t[3]&&!t[6]||this.strictMode||null!=t[3])return null;o=s%100,s=Math.floor(s/100)}if(s>24)return null;if(null!=t[3]){if(1==t[3].length&&!t[6])return null;o=parseInt(t[3])}if(o>=60)return null;if(s>12&&(r=_.PM),null!=t[6]){if(s>12)return null;let e=t[6][0].toLowerCase();"a"==e&&(r=_.AM,12==s&&(s=0)),"p"==e&&(r=_.PM,12!=s&&(s+=12))}if(a.assign("hour",s),a.assign("minute",o),null!==r?a.assign("meridiem",r):s<12?a.imply("meridiem",_.AM):a.imply("meridiem",_.PM),null!=t[5]){let e=parseInt(t[5].substring(0,3));if(e>=1e3)return null;a.assign("millisecond",e)}if(null!=t[4]){let e=parseInt(t[4]);if(e>=60)return null;a.assign("second",e)}return a}
24extractFollowingTimeComponents(e,t,n){let a=e.createParsingComponents();if(null!=t[5]){let e=parseInt(t[5].substring(0,3));if(e>=1e3)return null;a.assign("millisecond",e)}if(null!=t[4]){let e=parseInt(t[4]);if(e>=60)return null;a.assign("second",e)}let o=parseInt(t[2]),r=0,s=-1;if(null!=t[3]?r=parseInt(t[3]):o>100&&(r=o%100,o=Math.floor(o/100)),r>=60||o>24)return null;if(o>=12&&(s=_.PM),null!=t[6]){if(o>12)return null;let e=t[6][0].toLowerCase();"a"==e&&(s=_.AM,12==o&&(o=0,a.isCertain("day")||a.imply("day",a.get("day")+1))),"p"==e&&(s=_.PM,12!=o&&(o+=12)),n.start.isCertain("meridiem")||(s==_.AM?(n.start.imply("meridiem",_.AM),12==n.start.get("hour")&&n.start.assign("hour",0)):(n.start.imply("meridiem",_.PM),12!=n.start.get("hour")&&n.start.assign("hour",n.start.get("hour")+12)))}return a.assign("hour",o),a.assign("minute",r),s>=0?a.assign("meridiem",s):n.start.isCertain("meridiem")&&n.start.get("hour")>12?n.start.get("hour")-12>o?a.imply("meridiem",_.AM):o<=12&&(a.assign("hour",o+12),a.assign("meridiem",_.PM)):o>12?a.imply("meridiem",_.PM):o<=12&&a.imply("meridiem",_.AM),a.date().getTime()<n.start.date().getTime()&&a.imply("day",a.get("day")+1),a}checkAndReturnWithoutFollowingPattern(e){if(e.text.match(/^\d$/)||e.text.match(/^\d\d\d+$/)||e.text.match(/\d[apAP]$/))return null;let t=e.text.match(/[^\d:.](\d[\d.]+)$/);if(t){let e=t[1];if(this.strictMode||e.includes(".")&&!e.match(/\d(\.\d{2})+$/)||parseInt(e)>24)return null}return e}checkAndReturnWithFollowingPattern(e){if(e.text.match(/^\d+-\d+$/))return null;let t=e.text.match(/[^\d:.](\d[\d.]+)\s*-\s*(\d[\d.]+)$/);if(t){if(this.strictMode)return null;let e=t[1],n=t[2];if(n.includes(".")&&!n.match(/\d(\.\d{2})+$/))return null;let a=parseInt(n),o=parseInt(e);if(a>24||o>24)return null}return e}cachedPrimaryPrefix=null;cachedPrimarySuffix=null;cachedPrimaryTimePattern=null;getPrimaryTimePatternThroughCache(){var e;let t=this.primaryPrefix(),n=this.primarySuffix();return this.cachedPrimaryPrefix===t&&this.cachedPrimarySuffix===n?this.cachedPrimaryTimePattern:(this.cachedPrimaryTimePattern=(e=this.primaryPatternLeftBoundary(),RegExp(`${e}${t}(\\d{1,4})(?:(?:\\.|:|ï¼)(\\d{1,2})(?:(?::|ï¼)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${n}`,this.patternFlags())),this.cachedPrimaryPrefix=t,this.cachedPrimarySuffix=n,this.cachedPrimaryTimePattern)}cachedFollowingPhase=null;cachedFollowingSuffix=null;cachedFollowingTimePatten=null;getFollowingTimePatternThroughCache(){let e=this.followingPhase(),t=this.followingSuffix();return this.cachedFollowingPhase===e&&this.cachedFollowingSuffix===t?this.cachedFollowingTimePatten:(this.cachedFollowingTimePatten=RegExp(`^(${e})(\\d{1,4})(?:(?:\\.|\\:|\\ï¼)(\\d{1,2})(?:(?:\\.|\\:|\\ï¼)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,"i"),this.cachedFollowingPhase=e,this.cachedFollowingSuffix=t,this.cachedFollowingTimePatten)}}class uE extends u_{constructor(e){super(e)}followingPhase(){return"\\s*(?:\\-|\\â|\\~|\\ã|to|until|through|till|\\?)\\s*"}primaryPrefix(){return"(?:(?:at|from)\\s*)??"}primarySuffix(){return"(?:\\s*(?:o\\W*clock|at\\s*night|in\\s*the\\s*(?:morning|afternoon)))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(!n)return n;if(t[0].endsWith("night")){let e=n.get("hour");e>=6&&e<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",_.PM)):e<6&&n.assign("meridiem",_.AM)}if(t[0].endsWith("afternoon")){n.assign("meridiem",_.PM);let e=n.get("hour");e>=0&&e<=6&&n.assign("hour",n.get("hour")+12)}return t[0].endsWith("morning")&&(n.assign("meridiem",_.AM),12>n.get("hour")&&n.assign("hour",n.get("hour"))),n.addTag("parser/ENTimeExpressionParser")}extractFollowingTimeComponents(e,t,n){let a=super.extractFollowingTimeComponents(e,t,n);return a&&a.addTag("parser/ENTimeExpressionParser"),a}}let uD=RegExp(`(${ur})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,"i"),uT=RegExp(`(${us})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,"i");class uI extends ul{strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?uT:uD}innerExtract(e,t){let n=ui(t[1]);return n?dG.createRelativeFromReference(e.reference,dV(n)):null}}let ux=RegExp(`(${ur})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),uC=RegExp(`(${us})\\s{0,5}(later|after|from now)(?=\\W|$)`,"i");class uS extends ul{strictMode;constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?uC:ux}innerExtract(e,t){let n=ui(t[1]);return n?dG.createRelativeFromReference(e.reference,n):null}}class uA{refine(e,t){return t.filter(t=>this.isValid(e,t))}}class uN{refine(e,t){if(t.length<2)return t;let n=[],a=t[0],o=null;for(let r=1;r<t.length;r++){o=t[r];let s=e.text.substring(a.index+a.text.length,o.index);if(this.shouldMergeResults(s,a,o,e)){let t=a,n=o,r=this.mergeResults(s,t,n,e);e.debug(()=>{console.log(`${this.constructor.name} merged ${t} and ${n} into ${r}`)}),a=r}else n.push(a),a=o}return null!=a&&n.push(a),n}}class uM extends uN{shouldMergeResults(e,t,n){return!t.end&&!n.end&&null!=e.match(this.patternBetween())}mergeResults(e,t,n){if(t.start.isOnlyWeekdayComponent()||n.start.isOnlyWeekdayComponent()||(n.start.getCertainComponents().forEac
24h(e=>{t.start.isCertain(e)||t.start.imply(e,n.start.get(e))}),t.start.getCertainComponents().forEach(e=>{n.start.isCertain(e)||n.start.imply(e,t.start.get(e))})),t.start.date()>n.start.date()){let e=t.start.date(),a=n.start.date();n.start.isOnlyWeekdayComponent()&&dq(a,{day:7})>e?(a=dq(a,{day:7}),n.start.imply("day",a.getDate()),n.start.imply("month",a.getMonth()+1),n.start.imply("year",a.getFullYear())):t.start.isOnlyWeekdayComponent()&&dq(e,{day:-7})<a?(e=dq(e,{day:-7}),t.start.imply("day",e.getDate()),t.start.imply("month",e.getMonth()+1),t.start.imply("year",e.getFullYear())):n.start.isDateWithUnknownYear()&&dq(a,{year:1})>e?(a=dq(a,{year:1}),n.start.imply("year",a.getFullYear())):t.start.isDateWithUnknownYear()&&dq(e,{year:-1})<a?(e=dq(e,{year:-1}),t.start.imply("year",e.getFullYear())):[n,t]=[t,n]}let a=t.clone();return a.start=t.start,a.end=n.start,a.index=Math.min(t.index,n.index),t.index<n.index?a.text=t.text+e+n.text:a.text=n.text+e+t.text,a}}class uO extends uM{patternBetween(){return/^\s*(to|-|â|until|through|till)\s*$/i}}function uR(e,t){let n=e.clone();if(n.start=uF(e.start,t.start),null!=e.end||null!=t.end){let a=uF(null==e.end?e.start:e.end,null==t.end?t.start:t.end);if(null==e.end&&a.date().getTime()<n.start.date().getTime()){let e=new Date(a.date().getTime());e.setDate(e.getDate()+1),a.isCertain("day")?dR(a,e):dP(a,e)}n.end=a}return n}function uF(e,t){let n=e.clone();return t.isCertain("hour")?(n.assign("hour",t.get("hour")),n.assign("minute",t.get("minute")),t.isCertain("second")?(n.assign("second",t.get("second")),t.isCertain("millisecond")?n.assign("millisecond",t.get("millisecond")):n.imply("millisecond",t.get("millisecond"))):(n.imply("second",t.get("second")),n.imply("millisecond",t.get("millisecond")))):(n.imply("hour",t.get("hour")),n.imply("minute",t.get("minute")),n.imply("second",t.get("second")),n.imply("millisecond",t.get("millisecond"))),t.isCertain("timezoneOffset")&&n.assign("timezoneOffset",t.get("timezoneOffset")),t.isCertain("meridiem")?n.assign("meridiem",t.get("meridiem")):null!=t.get("meridiem")&&null==n.get("meridiem")&&n.imply("meridiem",t.get("meridiem")),n.get("meridiem")==_.PM&&12>n.get("hour")&&(t.isCertain("hour")?n.assign("hour",n.get("hour")+12):n.imply("hour",n.get("hour")+12)),n.addTags(e.tags()),n.addTags(t.tags()),n}class uP extends uN{shouldMergeResults(e,t,n){return(t.start.isOnlyDate()&&n.start.isOnlyTime()||n.start.isOnlyDate()&&t.start.isOnlyTime())&&null!=e.match(this.patternBetween())}mergeResults(e,t,n){let a=t.start.isOnlyDate()?uR(t,n):uR(n,t);return a.index=t.index,a.text=t.text+e+n.text,a}}class uL extends uP{patternBetween(){return RegExp("^\\s*(T|at|after|before|on|of|,|-|\\.|â|:)?\\s*$")}}let uB=RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i");class uH{timezoneOverrides;constructor(e){this.timezoneOverrides=e}refine(e,t){let n=e.option.timezones??{};return t.forEach(t=>{let a=e.text.substring(t.index+t.text.length),o=uB.exec(a);if(!o)return;let r=o[1].toUpperCase(),s=dz(r,t.start.date()??t.refDate??new Date,{...this.timezoneOverrides,...n});if(null==s)return;e.debug(()=>{console.log(`Extracting timezone: '${r}' into: ${s} for: ${t.start}`)});let i=t.start.get("timezoneOffset");!(null!==i&&s!=i&&(t.start.isCertain("timezoneOffset")||r!=o[1]))&&(!t.start.isOnlyDate()||r==o[1])&&(t.text+=o[0],t.start.isCertain("timezoneOffset")||t.start.assign("timezoneOffset",s),null==t.end||t.end.isCertain("timezoneOffset")||t.end.assign("timezoneOffset",s))}),t}}let uU=RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i");class uz{refine(e,t){return t.forEach(function(t){if(t.start.isCertain("timezoneOffset"))return;let n=e.text.substring(t.index+t.text.length),a=uU.exec(n);if(!a)return;e.debug(()=>{console.log(`Extracting timezone: '${a[0]}' into : ${t}`)});let o=60*parseInt(a[2])+parseInt(a[3]||"0");o>840||("-"===a[1]&&(o=-o),null!=t.end&&t.end.assign("timezoneOffset",o),t.start.assign("timezoneOffset",o),t.text+=a[0])}),t}}class u${refine(e,t){if(t.length<2)return t;let n=[],a=t[0];for(let o=1;o<t.length;o++){let r=t[o];if(r.index>=a.index+a.text.length){n.push(a),a=r;continue}let s=null,i=null;r.text.length>
24a.text.length?(s=r,i=a):(s=a,i=r),e.debug(()=>{console.log(`${this.constructor.name} remove ${i} by ${s}`)}),a=s}return null!=a&&n.push(a),n}}class uq{refine(e,t){return e.option.forwardDate&&t.forEach(t=>{let n=e.reference.getDateWithAdjustedTimezone();if(t.start.isOnlyTime()&&e.reference.instant>t.start.date()){let n=e.reference.getDateWithAdjustedTimezone(),a=new Date(n);a.setDate(a.getDate()+1),dP(t.start,a),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} time from the ref date (${n}) to the following day (${a})`)}),t.end&&t.end.isOnlyTime()&&(dP(t.end,a),t.start.date()>t.end.date()&&(a.setDate(a.getDate()+1),dP(t.end,a)))}if(t.start.isOnlyWeekdayComponent()&&n>t.start.date()){let a=t.start.get("weekday")-n.getDay();if(a<=0&&(a+=7),n=dq(n,{day:a}),dP(t.start,n),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} weekday (${t.start})`)}),t.end&&t.end.isOnlyWeekdayComponent()){let a=t.end.get("weekday")-n.getDay();a<=0&&(a+=7),n=dq(n,{day:a}),dP(t.end,n),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} weekday (${t.end})`)})}}if(t.start.isDateWithUnknownYear()&&n>t.start.date())for(let a=0;a<3&&n>t.start.date();a++)t.start.imply("year",t.start.get("year")+1),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} year (${t.start})`)}),t.end&&!t.end.isCertain("year")&&(t.end.imply("year",t.end.get("year")+1),e.debug(()=>{console.log(`${this.constructor.name} adjusted ${t} month (${t.start})`)}))}),t}}class uV extends uA{strictMode;constructor(e){super(),this.strictMode=e}isValid(e,t){return t.text.replace(" ","").match(/^\d*(\.\d*)?$/)?(e.debug(()=>{console.log(`Removing unlikely result '${t.text}'`)}),!1):t.start.isValidDate()?t.end&&!t.end.isValidDate()?(e.debug(()=>{console.log(`Removing invalid result: ${t} (${t.end})`)}),!1):!this.strictMode||this.isStrictModeValid(e,t):(e.debug(()=>{console.log(`Removing invalid result: ${t} (${t.start})`)}),!1)}isStrictModeValid(e,t){return!t.start.isOnlyWeekdayComponent()||(e.debug(()=>{console.log(`(Strict) Removing weekday only component: ${t} (${t.end})`)}),!1)}}let uW=RegExp("([0-9]{4})\\-([0-9]{1,2})\\-([0-9]{1,2})(?:T([0-9]{1,2}):([0-9]{1,2})(?::([0-9]{1,2})(?:\\.(\\d{1,4}))?)?(Z|([+-]\\d{2}):?(\\d{2})?)?)?(?=\\W|$)","i");class uG extends ul{innerPattern(){return uW}innerExtract(e,t){let n=e.createParsingComponents({year:parseInt(t[1]),month:parseInt(t[2]),day:parseInt(t[3])});if(null!=t[4]&&(n.assign("hour",parseInt(t[4])),n.assign("minute",parseInt(t[5])),null!=t[6]&&n.assign("second",parseInt(t[6])),null!=t[7]&&n.assign("millisecond",parseInt(t[7])),null!=t[8])){let e=0;if(t[9]){let n=parseInt(t[9]),a=0;null!=t[10]&&(a=parseInt(t[10])),(e=60*n)<0?e-=a:e+=a}n.assign("timezoneOffset",e)}return n.addTag("parser/ISOFormatParser")}}class uY extends uN{mergeResults(e,t,n){let a=n.clone();return a.index=t.index,a.text=t.text+e+a.text,a.start.assign("weekday",t.start.get("weekday")),a.end&&a.end.assign("weekday",t.start.get("weekday")),a}shouldMergeResults(e,t,n){return t.start.isOnlyWeekdayComponent()&&!t.start.isCertain("hour")&&n.start.isCertain("day")&&null!=e.match(/^,?\s*$/)}}function uK(e,t){let n=e.getDateWithAdjustedTimezone(),a=new dG(e,{}),o=new Date(n.getTime());return o.setDate(o.getDate()+t),dR(a,o),dL(a,o),a.delete("meridiem"),a}let uQ=/(now|today|tonight|tomorrow|overmorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i;class uX extends ul{innerPattern(e){return uQ}innerExtract(e,t){var n,a;let o=e.refDate,r=t[0].toLowerCase(),s=e.createParsingComponents();switch(r){case"now":let i,l;i=(n=e.reference).getDateWithAdjustedTimezone(),dR(l=new dG(n,{}),i),dF(l,i),l.assign("timezoneOffset",n.getTimezoneOffset()),l.addTag("casualReference/now"),s=l;break;case"today":let c,p;c=(a=e.reference).getDateWithAdjustedTimezone(),dR(p=new dG(a,{}),c),dL(p,c),p.delete("meridiem"),p.addTag("casualReference/today"),s=p;break;case"yesterday":s=uK(e.reference,-1).addTag("casualReference/yesterday");break;case"tomorrow":case"tmr":case"tmrw":s=uK(e.reference,1).addTag("casualReference/tomorrow");break;case"tonight":s=function(e,t=22){let n=e.getDateWithAdjustedTimezone(),a=new dG(e,{});return dR(a,n),a.imply("hour",t),a.imply("meridiem",_.PM),a.addTag("casualReference/tonight"),a}(e.reference);break;case"overmorrow":s=uK(e.reference,2);break;default:if(r.match(/last\s*night/)){if(o.getHours()>6){let e=new Date(o.getTime());e.setDate(e.getDate()-1),o=e}dR(s,o),s.imply("hour",0)}}return s.addTag("parser/ENCasualDateParser"),s}}let uJ=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|midday|noon)(?=\W|$)/i;class uZ extends ul{innerPattern(){return uJ}innerExtract(e,t){let n=null;switch(t[1].toLowerCase()){case"afternoon":n=function(e,t=15){let n=new dG(e,{});return n.imply("meridiem",_.PM),n.imply("hour",t),n.imply("minute",0),n.imply("second",0),n.imply("millisecond",0),n.addTag("casualReference/afternoon"),n}(e.reference);break;case"evening":case"night":n=function(e,t=20){let n=new dG(e,{});return n.imply("meridiem",_.PM),n.imply("hour",t),n.addTag("casualReference/evening"),n}(e.reference);break;case"midnight":var a;let o;
24o=new dG(a=e.reference,{}),a.getDateWithAdjustedTimezone().getHours()>2&&o.addDurationAsImplied({day:1}),o.assign("hour",0),o.imply("minute",0),o.imply("second",0),o.imply("millisecond",0),o.addTag("casualReference/midnight"),n=o;break;case"morning":n=function(e,t=6){let n=new dG(e,{});return n.imply("meridiem",_.AM),n.imply("hour",t),n.imply("minute",0),n.imply("second",0),n.imply("millisecond",0),n.addTag("casualReference/morning"),n}(e.reference);break;case"noon":case"midday":let r;(r=new dG(e.reference,{})).imply("meridiem",_.AM),r.assign("hour",12),r.imply("minute",0),r.imply("second",0),r.imply("millisecond",0),r.addTag("casualReference/noon"),n=r}return n&&n.addTag("parser/ENCasualTimeParser"),n}}function u0(e,t){let n=t-e.getDay();return n<0&&(n+=7),n}function u1(e,t){let n=t-e.getDay();return n>=0&&(n-=7),n}let u6=RegExp(`(?:(?:\\,|\\(|\\ï¼)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${dQ(dZ)}|weekend|weekday)(?:\\s*(?:\\,|\\)|\\ï¼))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i");class u4 extends ul{innerPattern(){return u6}innerExtract(e,t){var n,a,o;let r,s,i,l=t[1],c=t[3],p=l||c;p=(p=p||"").toLowerCase();let d=null;"last"==p||"past"==p?d="last":"next"==p?d="next":"this"==p&&(d="this");let u=t[2].toLowerCase();if(void 0!==dZ[u])r=dZ[u];else if("weekend"==u)r="last"==d?E.SUNDAY:E.SATURDAY;else{if("weekday"!=u)return null;let t=e.reference.getDateWithAdjustedTimezone().getDay();t==E.SUNDAY||t==E.SATURDAY?r="last"==d?E.FRIDAY:E.MONDAY:(r=t-1,r=(r="last"==d?r-1:r+1)%5+1)}return n=e.reference,a=r,o=d,s=function(e,t,n){var a,o;let r,s,i=e.getDay();switch(n){case"this":return u0(e,t);case"last":return u1(e,t);case"next":if(i==E.SUNDAY)return t==E.SUNDAY?7:t;if(i==E.SATURDAY){if(t==E.SATURDAY)return 7;if(t==E.SUNDAY)return 8;return 1+t}if(t<i&&t!=E.SUNDAY)return u0(e,t);return u0(e,t)+7}return r=u1(a=e,o=t),(s=u0(a,o))<-r?s:r}(n.getDateWithAdjustedTimezone(),a,o),(i=(i=new dG(n)).addDurationAsImplied({day:s})).assign("weekday",a),i}}let u2=RegExp(`(this|last|past|next|after\\s*this)\\s*(${dQ(d3)})(?=\\s*)(?=\\W|$)`,"i");class u3 extends ul{innerPattern(){return u2}innerExtract(e,t){let n=t[1].toLowerCase(),a=t[2].toLowerCase(),o=d3[a];if("next"==n||n.startsWith("after")){let t={};return t[o]=1,dG.createRelativeFromReference(e.reference,t)}if("last"==n||"past"==n){let t={};return t[o]=-1,dG.createRelativeFromReference(e.reference,t)}let r=e.createParsingComponents(),s=new Date(e.reference.instant.getTime());return a.match(/week/i)?(s.setDate(s.getDate()-s.getDay()),r.imply("day",s.getDate()),r.imply("month",s.getMonth()+1),r.imply("year",s.getFullYear())):a.match(/month/i)?(s.setDate(1),r.imply("day",s.getDate()),r.assign("year",s.getFullYear()),r.assign("month",s.getMonth()+1)):a.match(/year/i)&&(s.setDate(1),s.setMonth(0),r.imply("day",s.getDate()),r.imply("month",s.getMonth()+1),r.assign("year",s.getFullYear())),r}}let u5=RegExp("([^\\d]|^)([0-3]{0,1}[0-9]{1})[\\/\\.\\-]([0-3]{0,1}[0-9]{1})(?:[\\/\\.\\-]([0-9]{4}|[0-9]{2}))?(\\W|$)","i");class u9{groupNumberMonth;groupNumberDay;constructor(e){this.groupNumberMonth=e?3:2,this.groupNumberDay=e?2:3}pattern(){return u5}extract(e,t){let n=t.index+t[1].length,a=t.index+t[0].length-t[5].length;if(n>0&&e.text.substring(0,n).match("\\d/?$")||a<e.text.length&&e.text.substring(a).match("^/?\\d"))return;let o=e.text.substring(n,a);if(o.match(/^\d\.\d$/)||o.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!t[4]&&0>o.indexOf("/"))return;let r=e.createParsingResult(n,o),s=parseInt(t[this.groupNumberMonth]),i=parseInt(t[this.groupNumberDay]);if((s<1||s>12)&&s>12)if(!(i>=1)||!(i<=12)||!(s<=31))return null;else[i,s]=[s,i];if(i<1||i>31)return null;if(r.start.assign("day",i),r.start.assign("month",s),t[4]){let e=dX(parseInt(t[4]));r.start.assign("year",e)}else{let t=dJ(e.refDate,i,s);r.start.imply("year",t)}return r.addTag("parser/SlashDateFormatParser")}}let u8=RegExp(`(this|last|past|next|after|\\+|-)\\s*(${ur})(?=\\W|$)`,"i"),u7=RegExp(`(this|last|past|next|after|\\+|-)\\s*(${us})(?=\\W|$)`,"i");class me extends ul{allowAbbreviations;constructor(e=!0){super(),this.allowAbbreviations=e}innerPattern(){return this.allowAbbreviations?u8:u7}innerExtract(e,t){let n=t[1].toLowerCase(),a=ui(t[2]);if(!a)return null;switch(n){case"last":case"past":case"-":a=dV(a)}return dG.createRelativeFromReference(e.reference,a)}}function mt(e){return null!=e.text.match(/^-/i)}class mn extends uN{shouldMergeResults(e,t,n){return!!e.match(/^\s*$/i)&&(null!=n.text.match(/^[+-]/i)||mt(n))}mergeResults(e,t,n,a){let o=ui(n.text);mt(n)&&(o=dV(o));let r=dG.createRelativeFromReference(dW.fromDate(t.start.date()),o);return new dY(t.reference,t.index,`${t.text}${e}${n.text}`,r)}}function ma(e){return null!=e.text.match(/\s+(before|from)$/i)}class mo extends uN{patternBetween(){return/^\s*$/i}shouldMergeResults(e,t,n){return!!e.match(this.patternBetween())&&(!!ma(t)||null!=t.text.match(/\s+(after|since)$/i))&&!!n.start.get("day")&&!!n.start.get("month")&&!!n.start.get("year")}mergeResults(e,t,n){let a=ui(t.text);ma(t)&&(a=dV(a));let o=dG.createRelativeFromReference(dW.fromDate(n.start.date()),a);return new dY(n.reference,t.index,`${t.text}${e}${n.text}`,o)}}let mr=RegExp(`^\\s*(${d7})`,"i");class ms{refine(e,t){return t.forEach(function(t){if(!t.start.isDateWithUnknownYear())return;let n=e.text.substring(t.index+t.text.length),a=mr.exec(n);if(!a||a[0].trim().length<=3)return;e.debug(()=>{console.log(`Extracting year: '${a[0]}' into : ${t}`)});let o=ue(a[1]);null!=t.end&&t.end.assign("year",o),t.start.assign("year",o),t.text+=a[0]}),t}}class mi extends uA{constructor(){super()}isValid(e,t){let n=t.text.trim();return n===e.text.trim()||("may"!==n.toLowerCase()||e.text.substring(0,t.index).trim().match(/\b(in)$/i)?!n.toLowerCase().endsWith("the second")||(e.text.substring(t.index+t.text.length).trim().length>0&&e.debug(()=>{console.log(`Removing unlikely result: ${t}`)}),!1):(e.debug(()=>{console.log(`Removing unlikely result: ${t}`)}),!1))}}class ml{createCasualConfiguration(e=!1){let t=this.createConfiguration(!1,e);return t.parsers.push(new uX),t.parsers.push(new uZ),t.parsers.push(new uv),t.parsers.push(new u3),t.parsers.push(new me),t.refiners.push(new mi),t}createConfiguration(e=!0,t=!1){let n=function(e,t=!1){return e.parsers.unshift(new uG),e.refiners.unshift(new uY),e.refiners.unshift(new uz),e.refiners.unshift(new u$),e.refiners.push(new uH),e.refiners.push(new u$),e.refiners.push(new uq),e.refiners.push(new uV(t)),e}({parsers:[new u9(t),new uu(e),new uh,new ug(t),new u4,new uw,new uE(e),new uI(e),new uS(e)],refiners:[new uL]},e);return n.parsers.unshift(new uj(e)),n.refiners.unshift(new mo),n.refiners.unshift(new mn),n.refiners.unshift(new u$),n.refiners.push(new uL),n.refiners.push(new ms),n.refiners.push(new uO),n}}class mc{parsers;refiners;defaultConfig=new ml;constructor(e){e=e||this.defaultConfig.createCasualConfiguration(),this.parsers=[...e.parsers],this.refiners=[...e.refiners]}clone(){return new mc({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(e,t,n){let a=this.parse(e,t,n);return a.length>0?a[0].start.date():null}parse(e,t,n){let a=new mp(e,t,n),o=[];
24return this.parsers.forEach(e=>{let t=mc.executeParser(a,e);o=o.concat(t)}),o.sort((e,t)=>e.index-t.index),this.refiners.forEach(function(e){o=e.refine(a,o)}),o}static executeParser(e,t){let n=[],a=t.pattern(e),o=e.text,r=e.text,s=a.exec(r);for(;s;){let i=s.index+o.length-r.length;s.index=i;let l=t.extract(e,s);if(!l){r=o.substring(s.index+1),s=a.exec(r);continue}let c=null;l instanceof dY?c=l:l instanceof dG?(c=e.createParsingResult(s.index,s[0])).start=l:c=e.createParsingResult(s.index,s[0],l);let p=c.index,d=c.text;e.debug(()=>console.log(`${t.constructor.name} extracted (at index=${p}) '${d}'`)),n.push(c),r=o.substring(p+d.length),s=a.exec(r)}return n}}class mp{text;option;reference;refDate;constructor(e,t,n){this.text=e,this.option=n??{},this.reference=dW.fromInput(t,this.option.timezones),this.refDate=this.reference.instant}createParsingComponents(e){return e instanceof dG?e:new dG(this.reference,e)}createParsingResult(e,t,n,a){let o="string"==typeof t?t:this.text.substring(e,t),r=n?this.createParsingComponents(n):null,s=a?this.createParsingComponents(a):null;return new dY(this.reference,e,o,r,s)}debug(e){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(e):this.option.debug.debug(e))}}let md=new ml,mu=new mc(md.createCasualConfiguration(!1)),mm=new mc(md.createConfiguration(!0,!1)),mh=new mc(md.createCasualConfiguration(!0));function mf(e,t,n){return mu.parse(e,t,n)}function mg(e,t,n){return mu.parseDate(e,t,n)}e.s(["GB",0,mh,"casual",0,mu,"configuration",0,md,"parse",0,mf,"parseDate",0,mg,"strict",0,mm],191748),e.i(191748),e.s(["Chrono",0,mc,"GB",0,mh,"Meridiem",0,_,"ParsingComponents",0,dG,"ParsingResult",0,dY,"ReferenceWithTimezone",0,dW,"Weekday",0,E,"casual",0,mu,"configuration",0,md,"parse",0,mf,"parseDate",0,mg,"strict",0,mm],513165);var mb=e.i(513165),mb=mb;let mv=(0,iu.default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);function my({value:e,onChange:t,placeholder:n=null,disabled:a,...o}){let[r,s]=(0,eZ.useState)(!1),[i,l]=(0,eZ.useState)(e??void 0),[c,p]=(0,eZ.useState)(()=>(0,cg.formatDate)(e)||"");return(0,T.jsxs)(s1.InputGroup,{children:[(0,T.jsx)(s1.InputGroupInput,{disabled:a,onChange:e=>{let n=e.target.value;if(p(n),!n)return void t?.(null);let a=mb.GB.parseDate(n);a&&(t?.(a),l(a))},onKeyDown:e=>{"ArrowDown"===e.key&&(e.preventDefault(),s(!0))},placeholder:(0,cg.formatDate)(e)||((0,cz.isDate)(n)?(0,cg.formatDate)(n):n)||"Select Date",value:c,...o}),(0,T.jsx)(s1.InputGroupAddon,{align:"inline-end",children:(0,T.jsxs)(dN,{onOpenChange:s,open:r,children:[(0,T.jsx)(dM,{asChild:!0,children:(0,T.jsxs)(s1.InputGroupButton,{"aria-label":"Select date",disabled:a,id:"date-picker",size:"icon-xs",variant:"ghost",children:[(0,T.jsx)(mv,{}),(0,T.jsx)("span",{className:"sr-only",children:"Select date"})]})}),(0,T.jsx)(dO,{align:"end",alignOffset:-8,className:"w-auto overflow-hidden p-0",sideOffset:10,children:(0,T.jsx)(da,{mode:"single",month:i,onMonthChange:l,onSelect:e=>{t?.(e??null),p((0,cg.formatDate)(e)||""),s(!1)},selected:e??void 0})})]})})]})}e.s(["DateField",0,function({control:e,name:t,label:n,description:a,showLabel:o=!0,showError:r=!0,...s}){return(0,T.jsx)(tv,{control:e,name:t,render:({field:e,fieldState:t})=>(0,T.jsxs)(C.Field,{"data-invalid":t.invalid,children:[(0,T.jsx)(C.FieldLabel,{className:(0,x.cn)(!o&&"sr-only"),htmlFor:e.name,children:n}),(0,T.jsx)(my,{...e,...s,"aria-invalid":t.invalid,id:e.name}),a&&(0,T.jsx)(C.FieldDescription,{children:a}),r&&t.invalid&&(0,T.jsx)(C.FieldError,{errors:[t.error]})]})})}],430336)},920305,895240,910490,936030,971610,304029,396242,237252,670102,258060,605842,111092,639908,202008,912275,872130,e=>{"use strict";var t=e.i(485846),n=e.i(167922),a=e.i(632137),o=e.i(244425),r=e.i(340579),s=e.i(706063),i=e.i(150489),l=e.i(119302),c=e.i(98340),p=e.i(301685),d=e.i(942791),u=e.i(507693);let m=function(e,t,n){(void 0===n||(0,u.default)(e[t],n))&&(void 0!==n||t in e)||(0,d.default)(e,t,n)};var h=e.i(679457),f=e.i(832726),g=e.i(278883),b=e.i(920750),v=e.i(971527),y=e.i(822500),j=e.i(494878),k=e.i(42125),w=e.i(924904),_=e.i(215529),E=e.i(83689),D=e.i(791947),T=e.i(763082),I=e.i(341720);let x=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var C=e.i(104366),S=e.i(365218);let A=function(e,t,n,a,o,r,s){var i=x(e,n),l=x(t,n),c=s.get(l);if(c)return void m(e,n,c);var p=r?r(i,l,n+"",e,t,s):void 0,d=void 0===p;if(d){var u=(0,j.default)(l),h=!u&&(0,_.default)(l),A=!u&&!h&&(0,I.default)(l);(p=l,u||h||A)?(0,j.default)(i)?p=i:(0,w.default)(i)&&(0,k.default)(i)?p=(0,b.default)(i):h?(d=!1,p=(0,f.default)(l,!0)):A?(d=!1,p=(0,g.default)(l,!0)):p=[]:(0,T.default)(l)||(0,y.default)(l)?(p=i,(0,y.default)(i))?p=(0,C.default)(i,(0,S.default)(i)):(!(0,D.default)(i)||(0,E.default)(i))&&(p=(0,v.default)(l)):d=!1}d&&(s.set(l,p),o(p,l,a,r,s),s.delete(l)),m(e,n,p)},N=function e(t,n,a,o,r){t!==n&&(0,h.default)(n,function(s,i){if
24(r||(r=new p.default),(0,D.default)(s))A(t,n,i,a,e,o,r);else{var l=o?o(x(t,i),s,i+"",t,n,r):void 0;void 0===l&&(l=s),m(t,i,l)}},S.default)};e.s(["default",0,N],895240);var M=e.i(468464),O=e.i(752056);let R=function(e){return(0,M.default)(function(t,n){var a=-1,o=n.length,r=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(r=e.length>3&&"function"==typeof r?(o--,r):void 0,s&&(0,O.default)(n[0],n[1],s)&&(r=o<3?void 0:r,o=1),t=Object(t);++a<o;){var i=n[a];i&&e(t,i,a,r)}return t})};e.s(["default",0,R],910490);var F=R(function(e,t,n){N(e,t,n)});e.s(["merge",0,F],936030);var P=e.i(564946);function L({onChange:e,autocompleteQuery:n,queryOptions:a,value:o,...p}){let d=(0,c.useQueryClient)(),[u,m]=(0,P.useState)([]),[h,f]=(0,P.useState)(!1),g=o?.value?o:null,[b,v]=(0,P.useState)(""),[y,j]=(0,P.useTransition)(),k=(0,P.useRef)(null),w=b.trim(),_=(0,P.useMemo)(()=>u.length>0?u:g?[g]:[],[u,g]);return(0,t.jsxs)(s.Combobox,{filter:null,isItemEqualToValue:(e,t)=>e.value===t.value,items:_,itemToStringLabel:e=>e.label,onInputValueChange:function(...[e,{reason:t}]){if(v(e),k.current?.abort(),k.current=null,f(!1),""===e)return void m([]);if("item-press"===t||e.length<3)return;let o=new AbortController;k.current=o,j(async()=>{let t=await d.fetchQuery(n(F({},a,{query:e}))).catch(e=>((0,r.captureUnexpectedError)(e),null));o.signal.aborted||j(()=>{m(t??[]),f(!t)})})},onValueChange:t=>{v(""),e?.(t?.value?t:null)},value:g,children:[(0,t.jsx)(s.ComboboxInput,{showClear:!0,...p}),(0,t.jsxs)(s.ComboboxContent,{children:[(0,t.jsx)(s.ComboboxEmpty,{children:w.length<3||y||h||u.length>0?null:`No matches for "${w}".`}),(0,t.jsx)(s.ComboboxStatus,{children:y?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Spinner,{}),"Searchingâ¦"]}):h?"Search is unavailable. Try again in a moment.":w.length<3?g?null:"Start typing to searchâ¦":null}),(0,t.jsx)(s.ComboboxList,{children:e=>(0,t.jsx)(s.ComboboxItem,{value:e,children:(0,t.jsx)(i.Item,{className:"p-0",size:"xs",children:(0,t.jsxs)(i.ItemContent,{children:[(0,t.jsx)(i.ItemTitle,{className:"whitespace-nowrap",children:e.label}),e.description&&(0,t.jsx)(i.ItemDescription,{children:e.description})]})})},e.value)})]})]})}e.s(["EntityField",0,function({control:e,name:r,label:s,description:i,rules:l,showLabel:c=!0,showError:p=!0,id:d,...u}){let m=d??r;return(0,t.jsx)(o.Controller,{control:e,name:r,render:({field:e,fieldState:o})=>(0,t.jsxs)(n.Field,{"data-invalid":o.invalid,children:[(0,t.jsx)(n.FieldLabel,{className:(0,a.cn)(!c&&"sr-only"),htmlFor:m,children:s}),(0,t.jsx)(L,{...e,...u,"aria-invalid":o.invalid,id:m}),i&&(0,t.jsx)(n.FieldDescription,{children:i}),p&&o.invalid&&(0,t.jsx)(n.FieldError,{errors:[o.error]})]}),rules:l})}],920305);var B=e.i(981831),H=e.i(183144);e.s(["FileField",0,function({control:e,name:r,label:s,description:i,showLabel:l=!0,showError:c=!0,initialValue:p,...d}){let[u,m]=(0,P.useState)(!1);return(0,t.jsx)(o.Controller,{control:e,name:r,render:({field:e,fieldState:o})=>(0,t.jsxs)(n.Field,{"data-invalid":o.invalid,children:[(0,t.jsx)(n.FieldLabel,{className:(0,a.cn)(!l&&"sr-only"),htmlFor:e.name,children:s}),p&&!u?(0,t.jsx)(n.FieldContent,{children:(0,t.jsxs)("div",{className:"group relative flex w-40 items-center justify-center",children:[(0,t.jsx)("img",{alt:"",className:"ring-border rounded-md shadow-xs ring",src:p}),(0,t.jsx)("div",{className:"bg-background/50 absolute inset-0 rounded-md opacity-0 backdrop-blur-sm transition-opacity group-hover:opacity-100"}),(0,t.jsx)(B.Button,{className:"absolute opacity-0 transition-opacity group-hover:opacity-100",onClick:()=>{m(!0),e.onChange("")},size:"sm",variant:"destructive",children:"Clear"})]})}):(0,t.jsx)(H.Input,{...e,...d,"aria-invalid":o.invalid,id:e.name,type:"file"}),i&&(0,t.jsx)(n.FieldDescription,{children:i}),c&&o.invalid&&(0,t.jsx)(n.FieldError,{errors:[o.error]})]})})}],971610);var U=e.i(794163);function z({id:e,value:n,placeholder:a,options:o,disabled:r,onChange:i,...l}){let c=(0,s.useComboboxAnchor)();return(0,t.jsxs)(s.Combobox,{autoHighlight:!0,disabled:r,id:e,items:o,multiple:!0,onValueChange:i,value:n,...l,children:[(0,t.jsx)(s.ComboboxChips,{className:"contain-inline-size",ref:c,children:(0,t.jsx)(s.ComboboxValue,{children:e=>(0,t.jsxs)(t.Fragment,{children:[e.map(e=>(0,t.jsx)(s.ComboboxChip,{className:"max-w-full",children:(0,t.jsx)("span",{className:"truncate",children:e})},e)),(0,t.jsx)(s.ComboboxChipsInput,{placeholder:n?.length?void 0:a})]})})}),(0,t.jsxs)(s.ComboboxContent,{anchor:c,children:[(0,t.jsx)(s.ComboboxEmpty,{children:"No items found."}),(0,t.jsx)(s.ComboboxList,{children:e=>(0,t.jsx)(s.ComboboxItem,{value:e,children:e},e)})]})]})}e.s(["MoneyField",0,function({control:e,name:r,label:s,description:i,showLabel:l=!0,showError:c=!0,autoComplete:p="off",className:d,...u}
24){return(0,t.jsx)(o.Controller,{control:e,name:r,render:({field:e,fieldState:o})=>(0,t.jsxs)(n.Field,{"data-invalid":o.invalid,children:[(0,t.jsx)(n.FieldLabel,{className:(0,a.cn)(!l&&"sr-only"),htmlFor:e.name,children:s}),(0,t.jsxs)(U.InputGroup,{className:d,children:[(0,t.jsx)(U.InputGroupAddon,{children:(0,t.jsx)(U.InputGroupText,{children:"$"})}),(0,t.jsx)(U.InputGroupInput,{placeholder:"0",...e,value:e.value??"",...u,"aria-invalid":o.invalid,autoComplete:p,id:e.name})]}),i&&(0,t.jsx)(n.FieldDescription,{children:i}),c&&o.invalid&&(0,t.jsx)(n.FieldError,{errors:[o.error]})]})})}],304029),e.s(["MultiSelectField",0,function({control:e,name:r,label:s,description:i,showLabel:l=!0,showError:c=!0,...p}){return(0,t.jsx)(o.Controller,{control:e,name:r,render:({field:e,fieldState:o})=>(0,t.jsxs)(n.Field,{"data-invalid":o.invalid,children:[(0,t.jsx)(n.FieldLabel,{className:(0,a.cn)(!l&&"sr-only"),htmlFor:e.name,children:s}),(0,t.jsx)(z,{...e,...p,"aria-invalid":o.invalid,id:e.name}),i&&(0,t.jsx)(n.FieldDescription,{children:i}),c&&o.invalid&&(0,t.jsx)(n.FieldError,{errors:[o.error]})]})})}],396242);var $=e.i(291967),q=e.i(463697),V=e.i(305153),W=e.i(411273),G=e.i(123749),Y=e.i(74883),K=e.i(487941),Q=e.i(816131),X=e.i(810936),J=e.i(697586),Z="Radio",[ee,et]=(0,V.createContextScope)(Z),[en,ea]=ee(Z),eo=P.forwardRef((e,n)=>{let{__scopeRadio:a,name:o,checked:r=!1,required:s,disabled:i,value:l="on",onCheck:c,form:p,...d}=e,[u,m]=P.useState(null),h=(0,q.useComposedRefs)(n,e=>m(e)),f=P.useRef(!1),g=!u||p||!!u.closest("form");return(0,t.jsxs)(en,{scope:a,checked:r,disabled:i,children:[(0,t.jsx)(W.Primitive.button,{type:"button",role:"radio","aria-checked":r,"data-state":el(r),"data-disabled":i?"":void 0,disabled:i,value:l,...d,ref:h,onClick:(0,$.composeEventHandlers)(e.onClick,e=>{r||c?.(),g&&(f.current=e.isPropagationStopped(),f.current||e.stopPropagation())})}),g&&(0,t.jsx)(ei,{control:u,bubbles:!f.current,name:o,value:l,checked:r,required:s,disabled:i,form:p,style:{transform:"translateX(-100%)"}})]})});eo.displayName=Z;var er="RadioIndicator",es=P.forwardRef((e,n)=>{let{__scopeRadio:a,forceMount:o,...r}=e,s=ea(er,a);return(0,t.jsx)(J.Presence,{present:o||s.checked,children:(0,t.jsx)(W.Primitive.span,{"data-state":el(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:n})})});es.displayName=er;var ei=P.forwardRef(({__scopeRadio:e,control:n,checked:a,bubbles:o=!0,...r},s)=>{let i=P.useRef(null),l=(0,q.useComposedRefs)(i,s),c=(0,X.usePrevious)(a),p=(0,Q.useSize)(n);return P.useEffect(()=>{let e=i.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==a&&t){let n=new Event("click",{bubbles:o});t.call(e,a),e.dispatchEvent(n)}},[c,a,o]),(0,t.jsx)(W.Primitive.input,{type:"radio","aria-hidden":!0,defaultChecked:a,...r,tabIndex:-1,ref:l,style:{...r.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function el(e){return e?"checked":"unchecked"}ei.displayName="RadioBubbleInput";var ec=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],ep="RadioGroup",[ed,eu]=(0,V.createContextScope)(ep,[G.createRovingFocusGroupScope,et]),em=(0,G.createRovingFocusGroupScope)(),eh=et(),[ef,eg]=ed(ep),eb=P.forwardRef((e,n)=>{let{__scopeRadioGroup:a,name:o,defaultValue:r,value:s,required:i=!1,disabled:l=!1,orientation:c,dir:p,loop:d=!0,onValueChange:u,...m}=e,h=em(a),f=(0,K.useDirection)(p),[g,b]=(0,Y.useControllableState)({prop:s,defaultProp:r??null,onChange:u,caller:ep});return(0,t.jsx)(ef,{scope:a,name:o,required:i,disabled:l,value:g,onValueChange:b,children:(0,t.jsx)(G.Root,{asChild:!0,...h,orientation:c,dir:f,loop:d,children:(0,t.jsx)(W.Primitive.div,{role:"radiogroup","aria-required":i,"aria-orientation":c,"data-disabled":l?"":void 0,dir:f,...m,ref:n})})})});eb.displayName=ep;var ev="RadioGroupItem",ey=P.forwardRef((e,n)=>{let{__scopeRadioGroup:a,disabled:o,...r}=e,s=eg(ev,a),i=s.disabled||o,l=em(a),c=eh(a),p=P.useRef(null),d=(0,q.useComposedRefs)(n,p),u=s.value===r.value,m=P.useRef(!1);return P.useEffect(()=>{let e=e=>{ec.includes(e.key)&&(m.current=!0)},t=()=>m.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,t.jsx)(G.Item,{asChild:!0,...l,focusable:!i,active:u,children:(0,t.jsx)(eo,{disabled:i,required:s.required,
24checked:u,...c,...r,name:s.name,ref:d,onCheck:()=>s.onValueChange(r.value),onKeyDown:(0,$.composeEventHandlers)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,$.composeEventHandlers)(r.onFocus,()=>{m.current&&p.current?.click()})})})});ey.displayName=ev;var ej=P.forwardRef((e,n)=>{let{__scopeRadioGroup:a,...o}=e,r=eh(a);return(0,t.jsx)(es,{...r,...o,ref:n})});ej.displayName="RadioGroupIndicator",e.s(["Indicator",0,ej,"Item",0,ey,"RadioGroup",0,eb,"RadioGroupIndicator",0,ej,"RadioGroupItem",0,ey,"Root",0,eb,"createRadioGroupScope",0,eu],334575);var ek=e.i(334575),ek=ek;function ew({className:e,...n}){return(0,t.jsx)(ek.Root,{className:(0,a.cn)("grid w-full gap-2",e),"data-slot":"radio-group",...n})}function e_({className:e,...n}){return(0,t.jsx)(ek.Item,{className:(0,a.cn)("group/radio-group-item peer border-input bg-background focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:bg-input/30 dark:data-checked:bg-primary dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 relative flex aspect-square size-4 shrink-0 rounded-full border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3",e),"data-slot":"radio-group-item",...n,children:(0,t.jsx)(ek.Indicator,{className:"flex size-4 items-center justify-center","data-slot":"radio-group-indicator",children:(0,t.jsx)("span",{className:"bg-primary-foreground absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full"})})})}var eE=e.i(661603);e.s(["RadioGroupField",0,function({control:e,name:r,label:s,description:i,options:l,showLabel:c=!0,showError:p=!0,className:d,disabled:u}){return(0,t.jsx)(o.Controller,{control:e,name:r,render:({field:e,fieldState:o})=>(0,t.jsxs)(n.FieldSet,{children:[(0,t.jsx)(n.FieldLegend,{className:(0,a.cn)(!c&&"sr-only"),variant:"label",children:s}),i&&(0,t.jsx)(n.FieldDescription,{children:i}),(0,t.jsx)(ew,{className:d,disabled:u,name:e.name,onValueChange:e.onChange,value:e.value??"",children:(0,eE.parseOptions)(l).map(a=>(0,t.jsx)(n.FieldLabel,{htmlFor:`${e.name}-${a.value}`,children:(0,t.jsxs)(n.Field,{"data-disabled":u,"data-invalid":o.invalid,orientation:"horizontal",children:[(0,t.jsxs)(n.FieldContent,{children:[(0,t.jsx)(n.FieldTitle,{children:a.label}),a.description&&(0,t.jsx)(n.FieldDescription,{children:a.description})]}),(0,t.jsx)(e_,{"aria-invalid":o.invalid,id:`${e.name}-${a.value}`,value:a.value})]})},a.value))}),p&&o.invalid&&(0,t.jsx)(n.FieldError,{errors:[o.error]})]})})}],237252),e.s(["Skeleton",0,function({className:e,...n}){return(0,t.jsx)("div",{className:(0,a.cn)("bg-muted animate-pulse rounded-md",e),"data-slot":"skeleton",...n})}],670102);var eD=P,eT=e.i(944116),eI=e.i(56032);function ex(e){this.content=e}function eC(e){return e>=56320&&e<57344}function eS(e){return e>=55296&&e<56320}ex.prototype={constructor:ex,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return -1},get:function(e){var t=this.find(e);return -1==t?void 0:this.content[t+1]},update:function(e,t,n){var a=n&&n!=e?this.remove(n):this,o=a.find(e),r=a.content.slice();return -1==o?r.push(n||e,t):(r[o+1]=t,n&&(r[o]=n)),new ex(r)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new ex(n)},addToStart:function(e,t){return new ex([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new ex(n)},addBefore:function(e,t,n){var a=this.remove(t),o=a.content.slice(),r=a.find(e);return o.splice(-1==r?o.length:r,0,t,n),new ex(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=ex.from(e)).size?new ex(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=ex.from(e)).size?new ex(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=ex.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},ex.from=function(e){if(e instanceof ex)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new ex(t)};class eA{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,a=0,o){for(let r=0,s=0;s<t;r++){let i=this.content[r],l=s+i.nodeSize;if(l>e&&!1!==n(i,a+s,o||null,r)&&i.content.size){let o=s+1;i.nodesBetween(Math.max(0,e-o),Math.min(i.content.size,t-o),n,a+o)}s=l}}descendants(e){this.nodesBetween(0,this.size,e)}
24textBetween(e,t,n,a){let o="",r=!0;return this.nodesBetween(e,t,(s,i)=>{let l=s.isText?s.text.slice(Math.max(e,i)-i,t-i):s.isLeaf?a?"function"==typeof a?a(s):a:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&l||s.isTextblock)&&n&&(r?r=!1:o+=n),o+=l},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,a=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(n)&&(a[a.length-1]=t.withText(t.text+n.text),o=1);o<e.content.length;o++)a.push(e.content[o]);return new eA(a,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],a=0;if(t>e)for(let o=0,r=0;r<t;o++){let s=this.content[o],i=r+s.nodeSize;i>e&&((r<e||i>t)&&(s=s.isText?s.cut(Math.max(0,e-r),Math.min(s.text.length,t-r)):s.cut(Math.max(0,e-r-1),Math.min(s.content.size,t-r-1))),n.push(s),a+=s.nodeSize),r=i}return new eA(n,a)}cutByIndex(e,t){return e==t?eA.empty:0==e&&t==this.content.length?this:new eA(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let a=this.content.slice(),o=this.size+t.nodeSize-n.nodeSize;return a[e]=t,new eA(a,o)}addToStart(e){return new eA([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new eA(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let a=this.content[t];e(a,n,t),n+=a.nodeSize}}findDiffStart(e,t=0){return function e(t,n,a){for(let o=0;;o++){if(o==t.childCount||o==n.childCount)return t.childCount==n.childCount?null:a;let r=t.child(o),s=n.child(o);if(r==s){a+=r.nodeSize;continue}if(!r.sameMarkup(s))return a;if(r.isText&&r.text!=s.text){let e=r.text,t=s.text,n=0;for(;e[n]==t[n];n++)a++;return n&&n<e.length&&n<t.length&&eS(e.charCodeAt(n-1))&&eC(e.charCodeAt(n))&&a--,a}if(r.content.size||s.content.size){let t=e(r.content,s.content,a+1);if(null!=t)return t}a+=r.nodeSize}}(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return function e(t,n,a,o){for(let r=t.childCount,s=n.childCount;;){if(0==r||0==s)return r==s?null:{a:a,b:o};let i=t.child(--r),l=n.child(--s),c=i.nodeSize;if(i==l){a-=c,o-=c;continue}if(!i.sameMarkup(l))return{a:a,b:o};if(i.isText&&i.text!=l.text){let e=i.text,t=l.text,n=e.length,r=t.length;for(;n>0&&r>0&&e[n-1]==t[r-1];)n--,r--,a--,o--;return n&&r&&n<e.length&&eS(e.charCodeAt(n-1))&&eC(e.charCodeAt(n))&&(a++,o++),{a:a,b:o}}if(i.content.size||l.content.size){let t=e(i.content,l.content,a-1,o-1);if(t)return t}a-=c,o-=c}}(this,e,t,n)}findIndex(e){if(0==e)return eM(0,e);if(e==this.size)return eM(this.content.length,e);if(e>this.size||e<0)throw RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let a=n+this.child(t).nodeSize;if(a>=e){if(a==e)return eM(t+1,a);return eM(t,n)}n=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return eA.empty;if(!Array.isArray(t))throw RangeError("Invalid input for Fragment.fromJSON");return eA.fromArray(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return eA.empty;let t,n=0;for(let a=0;a<e.length;a++){let o=e[a];n+=o.nodeSize,a&&o.isText&&e[a-1].sameMarkup(o)?(t||(t=e.slice(0,a)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&&t.push(o)}return new eA(t||e,n)}static from(e){if(!e)return eA.empty;if(e instanceof eA)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new eA([e],e.nodeSize);throw RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}eA.empty=new eA([],0);let eN={index:0,offset:0};function eM(e,t){return eN.index=e,eN.offset=t,eN}function eO(e,t){if(e===t)return!0;
vendor: 7,036 bytes, line 24
24if(!(e&&"object"==typeof e)||!(t&&"object"==typeof t))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!eO(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!eO(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class eR{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let a=0;a<e.length;a++){let o=e[a];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,a));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,a)),t.push(this),n=!0),t&&t.push(o)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&eO(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw RangeError(`There is no mark type ${t.type} in this schema`);let a=n.create(t.attrs);return n.checkAttrs(a.attrs),a}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&0==e.length)return eR.none;if(e instanceof eR)return[e];let t=e.slice();return t.sort((e,t)=>e.type.rank-t.type.rank),t}}eR.none=[];class eF extends Error{}class eP{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=function e(t,n,a,o,r,s){let{index:i,offset:l}=t.findIndex(n),c=t.maybeChild(i);if(l==n||c.isText)return s&&o<=0&&r<=0&&!s.canReplace(i,i,a)?null:t.cut(0,n).append(a).append(t.cut(n));let p=e(c.content,n-l-1,a,0==i?o-1:0,i==t.childCount-1?r-1:0,c);return p&&t.replaceChild(i,c.copy(p))}(this.content,e+this.openStart,t,this.openStart+1,this.openEnd+1);return n&&new eP(n,this.openStart,this.openEnd)}removeBetween(e,t){return new eP(function e(t,n,a){let{index:o,offset:r}=t.findIndex(n),s=t.maybeChild(o),{index:i,offset:l}=t.findIndex(a);if(r==n||s.isText){if(l!=a&&!t.child(i).isText)throw RangeError("Removing non-flat range");return t.cut(0,n).append(t.cut(a))}if(o!=i)throw RangeError("Removing non-flat range");return t.replaceChild(o,s.copy(e(s.content,n-r-1,a-r-1)))}(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return eP.empty;let n=t.openStart||0,a=t.openEnd||0;if("number"!=typeof n||"number"!=typeof a)throw RangeError("Invalid input for Slice.fromJSON");return new eP(eA.fromJSON(e,t.content),n,a)}static maxOpen(e,t=!0){let n=0,a=0;for(let a=e.firstChild;a&&!a.isLeaf&&(t||!a.type.spec.isolating);a=a.firstChild)n++;for(let n=e.lastChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.lastChild)a++;return new eP(e,n,a)}}function eL(e,t){if(!t.type.compatibleContent(e.type))throw new eF("Cannot join "+t.type.name+" onto "+e.type.name)}function eB(e,t,n){let a=e.node(n);return eL(a,t.node(n)),a}function eH(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function eU(e,t,n,a){let o=(t||e).node(n),r=0,s=t?t.index(n):o.childCount;e&&(r=e.index(n),e.depth>n?r++:e.textOffset&&(eH(e.nodeAfter,a),r++));for(let e=r;e<s;e++)eH(o.child(e),a);t&&t.depth==n&&t.textOffset&&eH(t.nodeBefore,a)}function ez(e,t){if(!e.type.validContent(t))throw new eF("Invalid content for node "+e.type.name);return e.copy(t)}function e$(e,t,n){let a=[];return eU(null,e,n,a),e.depth>n&&eH(ez(eB(e,t,n+1),e$(e,t,n+1)),a),eU(t,null,n,a),new eA(a)}eP.empty=new eP(eA.empty,0,0);class eq{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],a=e.child(t);return n?e.child(t).cut(n):a}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],a=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)a+=n.child(t).nodeSize;return a}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return eR.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),a=e.maybeChild(t);if(!n){let e=n;n=a,a=e}let o=n.marks;for(var r=0;r<o.length;r++)!1!==o[r].type.spec.inclusive||a&&o[r].isInSet(a.marks)||(o=o[r--].removeFromSet(o));return o}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,a=e.parent.maybeChild(e.index());for(var o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||a&&n[o].isInSet(a.marks)||(n=n[o--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new eY(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw RangeError("Position "+t+" out of range");let n=[],a=0,o=t;for(let t=e;;){let{index:e,offset:r}=t.content.findIndex(o),s=o-r;if(n.push(t,e,a+r),!s||(t=t.child(e)).isText)break;o=s-1,a+=r+1}return new eq(t,n,o)}
24static resolveCached(e,t){let n=eG.get(e);if(n)for(let e=0;e<n.elts.length;e++){let a=n.elts[e];if(a.pos==t)return a}else eG.set(e,n=new eV);let a=n.elts[n.i]=eq.resolve(e,t);return n.i=(n.i+1)%eW,a}}class eV{constructor(){this.elts=[],this.i=0}}let eW=12,eG=new WeakMap;class eY{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}let eK=Object.create(null);class eQ{constructor(e,t,n,a=eR.none){this.type=e,this.attrs=t,this.marks=a,this.content=n||eA.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,a=0){this.content.nodesBetween(e,t,n,a,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,a){return this.content.textBetween(e,t,n,a)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&eO(this.attrs,t||e.defaultAttrs||eK)&&eR.sameSet(this.marks,n||eR.none)}copy(e=null){return e==this.content?this:new eQ(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new eQ(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return eP.empty;let a=this.resolve(e),o=this.resolve(t),r=n?0:a.sharedDepth(t),s=a.start(r);return new eP(a.node(r).content.cut(a.pos-s,o.pos-s),a.depth-r,o.depth-r)}replace(e,t,n){var a=this.resolve(e),o=this.resolve(t);if(n.openStart>a.depth)throw new eF("Inserted content deeper than insertion position");if(a.depth-n.openStart!=o.depth-n.openEnd)throw new eF("Inconsistent open depths");return function e(t,n,a,o){let r=t.index(o),s=t.node(o);if(r==n.index(o)&&o<t.depth-a.openStart){let i=e(t,n,a,o+1);return s.copy(s.content.replaceChild(r,i))}if(!a.content.size)return ez(s,e$(t,n,o));if(a.openStart||a.openEnd||t.depth!=o||n.depth!=o){let{start:e,end:r}=function(e,t){let n=t.depth-e.openStart,a=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)a=t.node(e).copy(eA.from(a));return{start:a.resolveNoCache(e.openStart+n),end:a.resolveNoCache(a.content.size-e.openEnd-n)}}(a,t);return ez(s,function e(t,n,a,o,r){let s=t.depth>r&&eB(t,n,r+1),i=o.depth>r&&eB(a,o,r+1),l=[];return eU(null,t,r,l),s&&i&&n.index(r)==a.index(r)?(eL(s,i),eH(ez(s,e(t,n,a,o,r+1)),l)):(s&&eH(ez(s,e$(t,n,r+1)),l),eU(n,a,r,l),i&&eH(ez(i,e$(a,o,r+1)),l)),eU(o,null,r,l),new eA(l)}(t,e,r,n,o))}{let e=t.parent,o=e.content;return ez(e,o.cut(0,t.parentOffset).append(a.content).append(o.cut(n.parentOffset)))}}(a,o,n,0)}nodeAt(e){for(let t=this;;){let{index:n,offset:a}=t.content.findIndex(e);if(!(t=t.maybeChild(n)))return null;if(a==e||t.isText)return t;e-=a+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let a=this.content.child(t-1);return{node:a,index:t-1,offset:n-a.nodeSize}}
24resolve(e){return eq.resolveCached(this,e)}resolveNoCache(e){return eq.resolve(this,e)}rangeHasMark(e,t,n){let a=!1;return t>e&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(a=!0),!a)),a}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),eJ(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=eA.empty,a=0,o=n.childCount){let r=this.contentMatchAt(e).matchFragment(n,a,o),s=r&&r.matchFragment(this.content,t);if(!s||!s.validEnd)return!1;for(let e=a;e<o;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,a){if(a&&!this.type.allowsMarks(a))return!1;let o=this.contentMatchAt(e).matchType(n),r=o&&o.matchFragment(this.content,t);return!!r&&r.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=eR.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!eR.sameSet(e,this.marks))throw RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){let n;if(!t)throw RangeError("Invalid input for Node.fromJSON");if(t.marks){if(!Array.isArray(t.marks))throw RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw RangeError("Invalid text node in JSON");return e.text(t.text,n)}let a=eA.fromJSON(e,t.content),o=e.nodeType(t.type).create(t.attrs,a,n);return o.type.checkAttrs(o.attrs),o}}eQ.prototype.text=void 0;class eX extends eQ{constructor(e,t,n,a){if(super(e,t,null,a),!n)throw RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):eJ(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new eX(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new eX(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function eJ(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class eZ{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){var n;let a,o=new e0(e,t);if(null==o.next)return eZ.empty;let r=function e(t){let n=[];do n.push(function(t){let n=[];do n.push(function(t){let n=function(t){if(t.eat("(")){let n=e(t);return t.eat(")")||t.err("Missing closing paren"),n}if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=(function(e,t){let n=e.nodeTypes,a=n[t];if(a)return[a];let o=[];for(let e in n){let a=n[e];a.isInGroup(t)&&o.push(a)}return 0==o.length&&e.err("No node type or group '"+t+"' found"),o})(t,t.next).map(e=>(null==t.inline?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e}));return t.pos++,1==e.length?e[0]:{type:"choice",exprs:e}}}(t);for(;;)if(t.eat("+"))n={type:"plus",expr:n};else if(t.eat("*"))n={type:"star",expr:n};else if(t.eat("?"))n={type:"opt",expr:n};else if(t.eat("{"))n=function(e,t){let n=e1(e),a=n;return e.eat(",")&&(a="}"!=e.next?e1(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:a,expr:t}}(t,n);else break;return n}(t));while(t.next&&")"!=t.next&&"|"!=t.next)return 1==n.length?n[0]:{type:"seq",exprs:n}}(t));while(t.eat("|"))return 1==n.length?n[0]:{type:"choice",exprs:n}}(o);o.next&&o.err("Unexpected trailing text");let s=(n=function(e){let t=[[]];return o(function e(t,r){if("choice"==t.type)return t.exprs.reduce((t,n)=>t.concat(e(n,r)),[]);if("seq"==t.type)for(let a=0;;a++){let s=e(t.exprs[a],r);if(a==t.exprs.length-1)return s;o(s,r=n())}else if("star"==t.type){let s=n();return a(r,s),o(e(t.expr,s),s),[a(s)]}else if("plus"==t.type){let s=n();return o(e(t.expr,r),s),o(e(t.expr,s),s),[a(s)]}else if("opt"==t.type)return[a(r)].concat(e(t.expr,r));else if("range"==t.type){let s=r;for(let a=0;a<t.min;a++){let a=n();o(e(t.expr,s),a),s=a}if(-1==t.max)o(e(t.expr,s),s);else for(let r=t.min;r<t.max;r++){let r=n();a(s,r),o(e(t.expr,s),r),s=r}return[a(s)]}else if("name"==t.type)return[a(r,void 0,t.value)];else throw Error("Unknown expr type")}(e,0),n()),t;function n(){return t.push([])-1}function a(e,n,a){let o={term:a,to:n};return t[e].push(o),o}
vendor: 5,572 bytes, line 24
24function o(e,t){e.forEach(e=>e.to=t)}}(r),a=Object.create(null),function e(t){let o=[];t.forEach(e=>{n[e].forEach(({term:e,to:t})=>{let a;if(e){for(let t=0;t<o.length;t++)o[t][0]==e&&(a=o[t][1]);e4(n,t).forEach(t=>{a||o.push([e,a=[]]),-1==a.indexOf(t)&&a.push(t)})}})});let r=a[t.join(",")]=new eZ(t.indexOf(n.length-1)>-1);for(let t=0;t<o.length;t++){let n=o[t][1].sort(e6);r.next.push({type:o[t][0],next:a[n.join(",")]||e(n)})}return r}(e4(n,0)));return function(e,t){for(let n=0,a=[e];n<a.length;n++){let e=a[n],o=!e.validEnd,r=[];for(let t=0;t<e.next.length;t++){let{type:n,next:s}=e.next[t];r.push(n.name),o&&!(n.isText||n.hasRequiredAttrs())&&(o=!1),-1==a.indexOf(s)&&a.push(s)}o&&t.err("Only non-generatable nodes ("+r.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(s,o),s}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let a=this;for(let o=t;a&&o<n;o++)a=a.matchType(e.child(o).type);return a}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let a=[this];return function o(r,s){let i=r.matchFragment(e,n);if(i&&(!t||i.validEnd))return eA.from(s.map(e=>e.createAndFill()));for(let e=0;e<r.next.length;e++){let{type:t,next:n}=r.next[e];if(!(t.isText||t.hasRequiredAttrs())&&-1==a.indexOf(n)){a.push(n);let e=o(n,s.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let a=n.shift(),o=a.match;if(o.matchType(e)){let e=[];for(let t=a;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<o.next.length;e++){let{type:r,next:s}=o.next[e];r.isLeaf||r.hasRequiredAttrs()||r.name in t||a.type&&!s.validEnd||(n.push({match:r.contentMatch,type:r,via:a}),t[r.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return!function t(n){e.push(n);for(let a=0;a<n.next.length;a++)-1==e.indexOf(n.next[a].next)&&t(n.next[a].next)}(this),e.map((t,n)=>{let a=n+(t.validEnd?"*":" ")+" ";for(let n=0;n<t.next.length;n++)a+=(n?", ":"")+t.next[n].type.name+"->"+e.indexOf(t.next[n].next);return a}).join("\n")}}eZ.empty=new eZ(!0);class e0{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw SyntaxError(e+" (in content expression '"+this.string+"')")}}function e1(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function e6(e,t){return t-e}function e4(e,t){let n=[];return function t(a){let o=e[a];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(a);for(let e=0;e<o.length;e++){let{term:a,to:r}=o[e];a||-1!=n.indexOf(r)||t(r)}}(t),n.sort(e6)}function e2(e){let t=Object.create(null);for(let n in e){let a=e[n];if(!a.hasDefault)return null;t[n]=a.default}return t}function e3(e,t){let n=Object.create(null);for(let a in e){let o=t&&t[a];if(void 0===o){let t=e[a];if(t.hasDefault)o=t.default;else throw RangeError("No value supplied for attribute "+a)}n[a]=o}return n}function e5(e,t,n,a){for(let o in t)if(!(o in e))throw RangeError(`Unsupported attribute ${o} for ${n} of type ${a}`);for(let n in e)e[n].validate&&e[n].validate(t[n])}function e9(e,t){let n=Object.create(null);if(t)for(let a in t)n[a]=new e7(e,a,t[a]);return n}class e8{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=e9(e,n.attrs),this.defaultAttrs=e2(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==eZ.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:e3(this.attrs,e)}create(e=null,t,n){if(this.isText)throw Error("NodeType.create can't construct text nodes");return new eQ(this,this.computeAttrs(e),eA.from(t),eR.setFrom(n))}createChecked(e=null,t,n){return t=eA.from(t),this.checkContent(t),new eQ(this,this.computeAttrs(e),t,eR.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=eA.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let a=this.contentMatch.matchFragment(t),o=a&&a.fillBefore(eA.empty,!0);return o?new eQ(this,e,t.append(o),eR.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);
24if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){e5(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){let t;if(null==this.markSet)return e;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:eR.none:e}static compile(e,t){let n=Object.create(null);e.forEach((e,a)=>n[e]=new e8(e,t,a));let a=t.spec.topNode||"doc";if(!n[a])throw RangeError("Schema is missing its top node type ('"+a+"')");if(!n.text)throw RangeError("Every schema needs a 'text' type");for(let e in n.text.attrs)throw RangeError("The text node type should not have attributes");return n}}class e7{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let a=n.split("|");return n=>{let o=null===n?"null":typeof n;if(0>a.indexOf(o))throw RangeError(`Expected value of type ${a} for attribute ${t} on type ${e}, got ${o}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class te{constructor(e,t,n,a){this.name=e,this.rank=t,this.schema=n,this.spec=a,this.attrs=e9(e,a.attrs),this.excluded=null;let o=e2(this.attrs);this.instance=o?new eR(this,o):null}create(e=null){return!e&&this.instance?this.instance:new eR(this,e3(this.attrs,e))}static compile(e,t){let n=Object.create(null),a=0;return e.forEach((e,o)=>n[e]=new te(e,a++,t,o)),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){e5(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class tt{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=ex.from(e.nodes),t.marks=ex.from(e.marks||{}),this.nodes=e8.compile(this.spec.nodes,this),this.marks=te.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw RangeError(e+" can not be both a node and a mark");let t=this.nodes[e],a=t.spec.content||"",o=t.spec.marks;if(t.contentMatch=n[a]||(n[a]=eZ.parse(a,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError("Multiple linebreak nodes defined");if(!t.isInline||!t.isLeaf)throw RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=t}t.markSet="_"==o?null:o?tn(this,o.split(" ")):""!=o&&t.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:tn(this,n.split(" "))}this.nodeFromJSON=e=>eQ.fromJSON(this,e),this.markFromJSON=e=>eR.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,a){if("string"==typeof e)e=this.nodeType(e);else if(e instanceof e8){if(e.schema!=this)throw RangeError("Node type from different schema used ("+e.name+")")}else throw RangeError("Invalid node type: "+e);return e.createChecked(t,n,a)}text(e,t){let n=this.nodes.text;return new eX(n,n.defaultAttrs,e,eR.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw RangeError("Unknown node type: "+e);return t}}function tn(e,t){let n=[];for(let a=0;a<t.length;a++){let o=t[a],r=e.marks[o],s=r;if(r)n.push(r);else for(let t in e.marks){let a=e.marks[t];("_"==o||a.spec.group&&a.spec.group.split(" ").indexOf(o)>-1)&&n.push(s=a)}if(!s)throw SyntaxError("Unknown mark type: '"+t[a]+"'")}return n}class ta{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];
24t.forEach(e=>{if(null!=e.tag)this.tags.push(e);else if(null!=e.style){let t=/[^=]*/.exec(e.style)[0];0>n.indexOf(t)&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new tc(this,t,!1);return n.addAll(e,eR.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new tc(this,t,!0);return n.addAll(e,eR.none,t.from,t.to),eP.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){var a,o;let n=this.tags[r];if(a=e,o=n.tag,(a.matches||a.msMatchesSelector||a.webkitMatchesSelector||a.mozMatchesSelector).call(a,o)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,a){for(let o=a?this.styles.indexOf(a)+1:0;o<this.styles.length;o++){let a=this.styles[o],r=a.style;if(0==r.indexOf(e)&&(!a.context||n.matchesContext(a.context))&&(!(r.length>e.length)||61==r.charCodeAt(e.length)&&r.slice(e.length+1)==t)){if(a.getAttrs){let e=a.getAttrs(t);if(!1===e)continue;a.attrs=e||void 0}return a}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,a=0;for(;a<t.length;a++){let e=t[a];if((null==e.priority?50:e.priority)<n)break}t.splice(a,0,e)}for(let t in e.marks){let a=e.marks[t].spec.parseDOM;a&&a.forEach(e=>{n(e=tp(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)})}for(let t in e.nodes){let a=e.nodes[t].spec.parseDOM;a&&a.forEach(e=>{n(e=tp(e)),e.node||e.ignore||e.mark||(e.node=t)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new ta(e,ta.schemaRules(e)))}}let to={address:!0,article:!0,aside:!0,blockquote:!0,body:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},tr={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ts={ol:!0,ul:!0};function ti(e,t,n){return null!=t?!!t|2*("full"===t):e&&"pre"==e.whitespace?3:-5&n}class tl{constructor(e,t,n,a,o,r){this.type=e,this.attrs=t,this.marks=n,this.solid=a,this.options=r,this.content=[],this.activeMarks=eR.none,this.match=o||(4&r?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(eA.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let t=this.type.contentMatch,n;return(n=t.findWrapping(e.type))?(this.match=t,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e=this.content[this.content.length-1],t;e&&e.isText&&(t=/[ \t\r\n\u000c]+$/.exec(e.text))&&(e.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=e.withText(e.text.slice(0,e.text.length-t[0].length)))}let t=eA.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(eA.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!to.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class tc{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let a=t.topNode,o,r=ti(null,t.preserveWhitespace,0)|4*!!n;o=a?new tl(a.type,a.attrs,eR.none,!0,t.topMatch||a.type.contentMatch,r):n?new tl(null,null,eR.none,!0,null,r):new tl(e.schema.topNodeType,null,eR.none,!0,null,r),this.nodes=[o],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,a=this.top,o=2&a.options?"full":this.localPreserveWS||(1&a.options)>0,{schema:r}=this.parser;if("full"===o||a.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(o)if("full"===o)n=n.replace(/\r\n?/g,"\n");else if(r.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(r.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n<e.length;n++)n&&this.insertNode(r.linebreakReplacement.create(),t,!0),e[n]&&this.insertNode(r.text(e[n]),t,!/\S/.test(e[n]));n=""}else n=n.replace(/\r?\n|\r/g," ");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=a.content[a.content.length-1],o=e.previousSibling;(!t||o&&"BR"==o.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}n&&this.insertNode(r.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let a=this.localPreserveWS,o=this.top;("PRE"==e.tagName||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let r=e.nodeName.toLowerCase(),s;ts.hasOwnProperty(r)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&ts.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let i=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(s=this.parser.matchTag(e,this,n));e:if(i?i.ignore:tr.hasOwnProperty(r))this.findInside(e),this.ignoreFallback(e,t);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(e=i.skip);let n,a=this.needsBlock;if(to.hasOwnProperty(r))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),n=!0,o.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break e}let s=i&&i.skip?t:this.readStyles(e,t);s&&this.addAll(e,s),n&&this.sync(o),this.needsBlock=a}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,i,n,!1===i.consuming?s:void 0)}this.localPreserveWS=a}leafFallback(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let e=0;e<this.parser.matchedStyles.length;e++){let a=this.parser.matchedStyles[e],o=n.getPropertyValue(a);if(o)for(let e;;){let n=this.parser.matchStyle(a,o,this,e);if(!n)break;if(n.ignore)return null;if(t=n.clearMark?t.filter(e=>!n.clearMark(e)):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),!1===n.consuming)e=n;else break}}return t}addElementByRule(e,t,n,a){let o,r;if(t.node)if((r=this.parser.schema.nodes[t.node]).isLeaf)this.insertNode(r.create(t.attrs),n,"BR"==e.nodeName)||this.leafFallback(e,n);else{let e=this.enter(r,t.attrs||null,n,t.preserveWhitespace);e&&(o=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let s=this.top;if(r&&r.isLeaf)this.findInside(e);else if(a)this.addElement(e,n,a);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEac
24h(e=>this.insertNode(e,n,!1));else{let a=e;"string"==typeof t.contentElement?a=e.querySelector(t.contentElement):"function"==typeof t.contentElement?a=t.contentElement(e):t.contentElement&&(a=t.contentElement),this.findAround(e,a,!0),this.addAll(a,n),this.findAround(e,a,!1)}o&&this.sync(s)&&this.open--}addAll(e,t,n,a){let o=n||0;for(let r=n?e.childNodes[n]:e.firstChild,s=null==a?null:e.childNodes[a];r!=s;r=r.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(r,t);this.findAtPoint(e,o)}findPlace(e,t,n){let a,o;for(let t=this.open,r=0;t>=0;t--){let s=this.nodes[t],i=s.findWrapping(e);if(i&&(!a||a.length>i.length+r)&&(a=i,o=s,!i.length))break;if(s.solid){if(n)break;r+=2}}if(!a)return null;this.sync(o);for(let e=0;e<a.length;e++)t=this.enterInner(a[e],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let a=this.findPlace(e,t,n);if(a){this.closeExtra();let t=this.top;t.match&&(t.match=t.match.matchType(e.type));let n=eR.none;for(let o of a.concat(e.marks))(t.type?t.type.allowsMarkType(o.type):td(o.type,e.type))&&(n=o.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,a){let o=this.findPlace(e.create(t),n,!1);return o&&(o=this.enterInner(e,t,n,!0,a)),o}enterInner(e,t,n,a=!1,o){this.closeExtra();let r=this.top;r.match=r.match&&r.match.matchType(e);let s=ti(e,o,r.options);4&r.options&&0==r.content.length&&(s|=4);let i=eR.none;return n=n.filter(t=>(r.type?!r.type.allowsMarkType(t.type):!td(t.type,e))||(i=t.addToSet(i),!1)),this.nodes.push(new tl(e,t,i,a,null,s)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;else this.localPreserveWS&&(this.nodes[t].options|=1);return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let a=0;a<this.find.length;a++)null==this.find[a].pos&&1==e.nodeType&&e.contains(this.find[a].node)&&t.compareDocumentPosition(this.find[a].node)&(n?2:4)&&(this.find[a].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,a=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),o=-(n?n.depth+1:0)+ +!a,r=(e,s)=>{for(;e>=0;e--){let i=t[e];if(""==i){if(e==t.length-1||0==e)continue;for(;s>=o;s--)if(r(e-1,s))return!0;return!1}{let e=s>0||0==s&&a?this.nodes[s].type:n&&s>=o?n.node(s-o).type:null;if(!e||e.name!=i&&!e.isInGroup(i))return!1;s--}}return!0};return r(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}}function tp(e){let t={};for(let n in e)t[n]=e[n];return t}function td(e,t){let n=t.schema.nodes;for(let a in n){let o=n[a];if(!o.allowsMarkType(e))continue;let r=[],s=e=>{r.push(e);for(let n=0;n<e.edgeCount;n++){let{type:a,next:o}=e.edge(n);if(a==t||0>r.indexOf(o)&&s(o))return!0}};if(s(o.contentMatch))return!0}}class tu{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=th(t).createDocumentFragment());let a=n,o=[];
24return e.forEach(e=>{if(o.length||e.marks.length){let n=0,r=0;for(;n<o.length&&r<e.marks.length;){let t=e.marks[r];if(!this.marks[t.type.name]){r++;continue}if(!t.eq(o[n][0])||!1===t.type.spec.spanning)break;n++,r++}for(;n<o.length;)a=o.pop()[1];for(;r<e.marks.length;){let n=e.marks[r++],s=this.serializeMark(n,e.isInline,t);s&&(o.push([n,a]),a.appendChild(s.dom),a=s.contentDOM||s.dom)}}a.appendChild(this.serializeNodeInner(e,t))}),n}serializeNodeInner(e,t){if(e.isText)return th(t).createTextNode(e.text);let{dom:n,contentDOM:a}=tg(th(t),this.nodes[e.type.name](e),null,e.attrs);if(a){if(e.isLeaf)throw RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,a)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let a=e.marks.length-1;a>=0;a--){let o=this.serializeMark(e.marks[a],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}serializeMark(e,t,n={}){let a=this.marks[e.type.name];return a&&tg(th(n),a(e,t),null,e.attrs)}static renderSpec(e,t,n=null,a){return"string"==typeof t?{dom:e.createTextNode(t)}:tg(e,t,n,a)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new tu(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=tm(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return tm(e.marks)}}function tm(e){let t={};for(let n in e){let a=e[n].spec.toDOM;a&&(t[n]=a)}return t}function th(e){return e.document||window.document}let tf=new WeakMap;function tg(e,t,n,a){let o,r,s;if(1==t.nodeType)return{dom:t};if(t.dom&&1==t.dom.nodeType)return t;let i=t[0],l;if("string"!=typeof i)throw RangeError("Invalid array passed to renderSpec");if(a&&(void 0===(r=tf.get(a))&&tf.set(a,(s=null,!function e(t){if(t&&"object"==typeof t)if(Array.isArray(t))if("string"==typeof t[0])s||(s=[]),s.push(t);else for(let n=0;n<t.length;n++)e(t[n]);else for(let n in t)e(t[n])}(a),r=s)),l=r)&&l.indexOf(t)>-1)throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let c=i.indexOf(" ");c>0&&(n=i.slice(0,c),i=i.slice(c+1));let p=n?e.createElementNS(n,i):e.createElement(i),d=t[1],u=1;if(d&&"object"==typeof d&&null==d.nodeType&&!Array.isArray(d)){for(let e in u=2,d)if(null!=d[e]){let t=e.indexOf(" ");t>0?p.setAttributeNS(e.slice(0,t),e.slice(t+1),d[e]):"style"==e&&p.style?p.style.cssText=d[e]:p.setAttribute(e,d[e])}}for(let r=u;r<t.length;r++){let s=t[r];if(0===s){if(r<t.length-1||r>u)throw RangeError("Content hole must be the only child of its parent node");return{dom:p,contentDOM:p}}if("string"==typeof s)p.appendChild(e.createTextNode(s));else{let{dom:t,contentDOM:r}=tg(e,s,n,a);if(p.appendChild(t),r){if(o)throw RangeError("Multiple content holes");o=r}}}return{dom:p,contentDOM:o}}e.s(["DOMParser",0,ta,"DOMSerializer",0,tu,"Fragment",0,eA,"Mark",0,eR,"MarkType",0,te,"Node",0,eQ,"NodeRange",0,eY,"ReplaceError",0,eF,"Schema",0,tt,"Slice",0,eP],258060);class tb{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class tv{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&tv.empty)return tv.empty}recover(e){let t=0,n=65535&e;if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[3*e+2]-this.ranges[3*e+1];return this.ranges[3*n]+t+(e-(65535&e))/65536}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let a=0,o=this.inverted?2:1,r=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let i=this.ranges[s]-(this.inverted?a:0);if(i>e)break;let l=this.ranges[s+o],c=this.ranges[s+r],p=i+l;if(e<=p){let o=l?e==i?-1:e==p?1:t:t,r=i+a+(o<0?0:c);if(n)return r;let d=e==(t<0?i:p)?null:s/3+(e-i)*65536,u=e==i?2:e==p?1:4;return(t<0?e!=i:e!=p)&&(u|=8),new tb(r,u,d)}a+=c-l}return n?e+a:new tb(e+a,0,null)}touches(e,t){let n=0,a=65535&t,o=this.inverted?2:1,r=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let s=this.ranges[t]-(this.inverted?n:0);if(s>e)break;let i=this.ranges[t+o];if(e<=s+i&&t==3*a)return!0;n+=this.ranges[t+r]-i}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;
vendor: 23,379 bytes, line 24
24for(let a=0,o=0;a<this.ranges.length;a+=3){let r=this.ranges[a],s=r-(this.inverted?o:0),i=r+(this.inverted?0:o),l=this.ranges[a+t],c=this.ranges[a+n];e(s,s+l,i,i+c),o+=c-l}}invert(){return new tv(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?tv.empty:new tv(e<0?[0,-e,0]:[0,0,e])}}tv.empty=new tv([]);class ty{constructor(e,t,n=0,a=e?e.length:0){this.mirror=t,this.from=n,this.to=a,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(e=0,t=this.maps.length){return new ty(this._maps,this.mirror,e,t)}appendMap(e,t){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),null!=t&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let a=e.getMirror(t);this.appendMap(e._maps[t],null!=a&&a<t?n+a:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let a=e.getMirror(t);this.appendMap(e._maps[t].invert(),null!=a&&a>t?n-a-1:void 0)}}invert(){let e=new ty;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let a=0;for(let n=this.from;n<this.to;n++){let o=this._maps[n].mapResult(e,t);if(null!=o.recover){let t=this.getMirror(n);if(null!=t&&t>n&&t<this.to){n=t,e=this._maps[t].recover(o.recover);continue}}a|=o.delInfo,e=o.pos}return n?e:new tb(e,a,null)}}let tj=Object.create(null);class tk{getMap(){return tv.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw RangeError("Invalid input for Step.fromJSON");let n=tj[t.stepType];if(!n)throw RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in tj)throw RangeError("Duplicate use of step JSON ID "+e);return tj[e]=t,t.prototype.jsonID=e,t}}class tw{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new tw(e,null)}static fail(e){return new tw(null,e)}static fromReplace(e,t,n,a){try{return tw.ok(e.replace(t,n,a))}catch(e){if(e instanceof eF)return tw.fail(e.message);throw e}}}function t_(e,t,n){let a=[];for(let o=0;o<e.childCount;o++){let r=e.child(o);r.content.size&&(r=r.copy(t_(r.content,t,r))),r.isInline&&(r=t(r,n,o)),a.push(r)}return eA.fromArray(a)}class tE extends tk{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),a=n.node(n.sharedDepth(this.to)),o=new eP(t_(t.content,(e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e,a),t.openStart,t.openEnd);return tw.fromReplace(e,this.from,this.to,o)}invert(){return new tD(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new tE(t.pos,n.pos,this.mark)}merge(e){return e instanceof tE&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new tE(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new tE(t.from,t.to,e.markFromJSON(t.mark))}}tk.jsonID("addMark",tE);class tD extends tk{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new eP(t_(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return tw.fromReplace(e,this.from,this.to,n)}invert(){return new tE(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new tD(t.pos,n.pos,this.mark)}merge(e){return e instanceof tD&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new tD(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new tD(t.from,t.to,e.markFromJSON(t.mark))}}tk.jsonID("removeMark",tD);class tT extends tk{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return tw.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return tw.fromReplace(e,this.pos,this.pos+1,new eP(eA.from(n),0,+!t.isLeaf))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new tT(this.pos,t.marks[n]);return new tT(this.pos,this.mark)}}return new tI(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new tT(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new tT(t.pos,e.markFromJSON(t.mark))}}tk.jsonID("addNodeMark",tT);class tI extends tk{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return tw.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return tw.fromReplace(e,this.pos,this.pos+1,new eP(eA.from(n),0,+!t.isLeaf))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new tT(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new tI(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new tI(t.pos,e.markFromJSON(t.mark))}}tk.jsonID("removeNodeMark",tI);class tx extends tk{constructor(e,t,n,a=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=a}apply(e){return this.structure&&tS(e,this.from,this.to)?tw.fail("Structure replace would overwrite content"):tw.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new tv([this.from,this.to-this.from,this.slice.size])}invert(e){return new tx(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.to,-1),n=this.from==this.to&&tx.MAP_BIAS<0?t:e.mapResult(this.from,1);return n.deletedAcross&&t.deletedAcross?null:new tx(n.pos,Math.max(n.pos,t.pos),this.slice,this.structure)}merge(e){if(!(e instanceof tx)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart)if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;else{let t=this.slice.size+e.slice.size==0?eP.empty:new eP(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new tx(e.from,this.to,t,this.structure)}{let t=this.slice.size+e.slice.size==0?eP.empty:new eP(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new tx(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw RangeError("Invalid input for ReplaceStep.fromJSON");return new tx(t.from,t.to,eP.fromJSON(e,t.slice),!!t.structure)}}tx.MAP_BIAS=1,tk.jsonID("replace",tx);class tC extends tk{constructor(e,t,n,a,o,r,s=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=a,this.slice=o,this.insert=r,this.structure=s}apply(e){if(this.structure&&(tS(e,this.from,this.gapFrom)||tS(e,this.gapTo,this.to)))return tw.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return tw.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?tw.fromReplace(e,this.from,this.to,n):tw.fail("Content does not fit in gap")}getMap(){return new tv([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new tC(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),a=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||a<t.pos||o>n.pos?null:new tC(t.pos,n.pos,a,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new tC(t.from,t.to,t.gapFrom,t.gapTo,eP.fromJSON(e,t.slice),t.insert,!!t.structure)}}function tS(e,t,n){let a=e.resolve(t),o=n-t,r=a.depth;for(;o>0&&r>0&&a.indexAfter(r)==a.node(r).childCount;)r--,o--;if(o>0){let e=a.node(r).maybeChild(a.indexAfter(r));for(;o>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,o--}}return!1}function tA(e,t,n,a=n.contentMatch,o=!0){let r=e.doc.nodeAt(t),s=[],i=t+1;for(let t=0;t<r.childCount;t++){let l=r.child(t),c=i+l.nodeSize,p=a.matchType(l.type);if(p){a=p;for(let t=0;t<l.marks.length;t++)n.allowsMarkType(l.marks[t].type)||e.step(new tD(i,c,l.marks[t]));if(o&&l.isText&&"pre"!=n.whitespace){let e,t=/\r?\n|\r/g,a;for(;e=t.exec(l.text);)a||(a=new eP(eA.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),s.push(new tx(i+e.index,i+e.index+e[0].length,a))}}else s.push(new tx(i,c,eP.empty));i=c}if(!a.validEnd){let t=a.fillBefore(eA.empty,!0);e.replace(i,i,new eP(t,0,0))}for(let t=s.length-1;t>=0;t--)e.step(s[t])}function tN(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,a=0,o=0;;--n){let r=e.$from.node(n),s=e.$from.index(n)+a,i=e.$to.indexAfter(n)-o;if(n<e.depth&&r.canReplace(s,i,t))return n;if(0==n||r.type.spec.isolating||!((0==s||r.canReplace(s,r.childCount))&&(i==r.childCount||r.canReplace(0,i))))break;s&&(a=1),i<r.childCount&&(o=1)}return null}function tM(e,t,n=null,a=e){let o=function(e,t){let{parent:n,startIndex:a,endIndex:o}=e,r=n.contentMatchAt(a).findWrapping(t);if(!r)return null;let s=r.length?r[0]:t;return n.canReplaceWith(a,o,s)?r:null}(e,t),r=o&&function(e,t){let{parent:n,startIndex:a,endIndex:o}=e,r=n.child(a),s=t.contentMatch.findWrapping(r.type);if(!s)return null;let i=(s.length?s[s.length-1]:t).contentMatch;for(let e=a;i&&e<o;e++)i=i.matchType(n.child(e).type);return i&&i.validEnd?s:null}(a,t);return r?o.map(tO).concat({type:t,attrs:n}).concat(r.map(tO)):null}function tO(e){return{type:e,attrs:null}}function tR(e,t,n,a){t.forEach((o,r)=>{if(o.isText){let s,i=/\r?\n|\r/g;for(;s=i.exec(o.text);){let o=e.mapping.slice(a).map(n+1+r+s.index);e.replaceWith(o,o+1,t.type.schema.linebreakReplacement.create())}}})}function tF(e,t,n,a){t.forEach((o,r)=>{if(o.type==o.type.schema.linebreakReplacement){let o=e.mapping.slice(a).map(n+1+r);e.replaceWith(o,o+1,t.type.schema.text("\n"))}})}function tP(e,t,n=1,a){let o=e.resolve(t),r=o.depth-n,s=a&&a[a.length-1]||o.parent;if(r<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!s.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let e=o.depth-1,t=n-2;e>r;e--,t--){let n=o.node(e),r=o.index(e);if(n.type.spec.isolating)return!1;let s=n.content.cutByIndex(r,n.childCount),i=a&&a[t+1];i&&(s=s.replaceChild(0,i.type.create(i.attrs)));let l=a&&a[t]||n;if(!n.canReplace(r+1,n.childCount)||!l.type.validContent(s))return!1}let i=o.indexAfter(r),l=a&&a[0];return o.node(r).canReplaceWith(i,i,l?l.type:o.node(r+1).type)}function tL(e,t){let n=e.resolve(t),a=n.index();return tB(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(a,a+1)}function tB(e,t){return!!(e&&t&&!e.isLeaf&&function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:a}=e.type.schema;for(let o=0;o<t.childCount;o++){let r=t.child(o),s=r.type==a?e.type.schema.nodes.text:r.type;if(!(n=n.matchType(s))||!e.type.allowsMarks(r.marks))return!1}return n.validEnd}(e,t))}function tH(e,t,n=-1){let a=e.resolve(t);for(let e=a.depth;;e--){let o,r,s=a.index(e);if(e==a.depth?(o=a.nodeBefore,r=a.nodeAfter):n>0?(o=a.node(e+1),s++,r=a.node(e).maybeChild(s)):(o=a.node(e).maybeChild(s-1),r=a.node(e+1)),o&&!o.isTextblock&&tB(o,r)&&a.node(e).canReplace(s,s+1))return t;if(0==e)break;t=n<0?a.before(e):a.after(e)}}function tU(e,t,n){let a=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let e=0;e<n.openStart;e++)o=o.firstChild.content;for(let e=1;e<=(0==n.openStart&&n.size?2:1);e++)for(let t=a.depth;t>=0;t--){let n=t==a.depth?0:a.pos<=(a.start(t+1)+a.end(t+1))/2?-1:1,r=a.index(t)+ +(n>0),s=a.node(t),i=!1;if(1==e)i=s.canReplace(r,r,o);else{let e=s.contentMatchAt(r).findWrapping(o.firstChild.type);i=e&&s.canReplaceWith(r,r,e[0])}if(i)return 0==n?a.pos:n<0?a.before(t+1):a.after(t+1)}return null}function tz(e,t,n=t,a=eP.empty){if(t==n&&!a.size)return null;let o=e.resolve(t),r=e.resolve(n);return t$(o,r,a)?new tx(t,n,a):new tq(o,r,a).fit()}function t$(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}tk.jsonID("replaceAround",tC);class tq{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=eA.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=eA.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,a=this.close(e<0?this.$to:n.doc.resolve(e));if(!a)return null;let o=this.placed,r=n.depth,s=a.depth;for(;r&&s&&1==o.childCount;)o=o.firstChild.content,r--,s--;let i=new eP(o,r,s);return e>-1?new tC(n.pos,e,this.$to.pos,this.$to.end(),i,t):i.size||n.pos!=this.$to.pos?new tx(n.pos,a.pos,i):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,a=this.unplaced.openEnd;n<e;n++){let o=t.firstChild;if(t.childCount>1&&(a=0),o.type.spec.isolating&&a<=n){e=n;break}t=o.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e=null,a=(n?(e=tG(this.unplaced.content,n-1).firstChild).content:this.unplaced.content).firstChild;for(let o=this.depth;o>=0;o--){let{type:r,match:s}=this.frontier[o],i,l=null;if(1==t&&(a?s.matchType(a.type)||(l=s.fillBefore(eA.from(a),!1)):e&&r.compatibleContent(e.type)))return{sliceDepth:n,frontierDepth:o,parent:e,inject:l};if(2==t&&a&&(i=s.findWrapping(a.type)))return{sliceDepth:n,frontierDepth:o,parent:e,wrap:i};if(e&&s.matchType(e.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,a=tG(e,t);return!!a.childCount&&!a.firstChild.isLeaf&&(this.unplaced=new eP(e,t+1,Math.max(n,a.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,a=tG(e,t);if(a.childCount<=1&&t>0){let o=e.size-t<=t+a.size;this.unplaced=new eP(tV(e,t-1,1),t-1,o?t-1:n)}else this.unplaced=new eP(tV(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:a,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let e=0;e<o.length;e++)this.openFrontierNode(o[e]);let r=this.unplaced,s=n?n.content:r.content,i=r.openStart-e,l=0,c=[],{match:p,type:d}=this.frontier[t];if(a){for(let e=0;e<a.childCount;e++)c.push(a.child(e));p=p.matchFragment(a)}let u=s.size+e-(r.content.size-r.openEnd);for(;l<s.childCount;){let e=s.child(l),t=p.matchType(e.type);if(!t)break;(++l>1||0==i||e.content.size)&&(p=t,c.push(function e(t,n,a){if(n<=0)return t;let o=t.content;return n>1&&(o=o.replaceChild(0,e(o.firstChild,n-1,1==o.childCount?a-1:0))),n>0&&(o=t.type.contentMatch.fillBefore(o).append(o),a<=0&&(o=o.append(t.type.contentMatch.matchFragment(o).fillBefore(eA.empty,!0)))),t.copy(o)}(e.mark(d.allowedMarks(e.marks)),1==l?i:0,l==s.childCount?u:-1)))}let m=l==s.childCount;m||(u=-1),this.placed=tW(this.placed,t,eA.from(c)),this.frontier[t].match=p,m&&u<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=s;e<u;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=m?0==e?eP.empty:new eP(tV(r.content,e-1,1),e-1,u<0?r.openEnd:e-1):new eP(tV(r.content,e,l),r.openStart,r.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return -1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!tY(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return -1;let{depth:n}=this.$to,a=this.$to.after(n);for(;n>1&&a==this.$to.end(--n);)++a;return a}findCloseLevel(e){t:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:a}=this.frontier[t],o=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),r=tY(e,t,a,n,o);if(r){for(let n=t-1;n>=0;n--){let{match:t,type:a}=this.frontier[n],o=tY(e,n,a,t,!0);if(!o||o.childCount)continue t}return{depth:t,fit:r,move:o?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=tW(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),a=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,a)}return e}openFrontierNode(e,t=null,n){let a=this.frontier[this.depth];a.match=a.match.matchType(e),this.placed=tW(this.placed,this.depth,eA.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(eA.empty,!0);e.childCount&&(this.placed=tW(this.placed,this.frontier.length,e))}}function tV(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(tV(e.firstChild.content,t-1,n)))}function tW(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(tW(e.lastChild.content,t-1,n)))}function tG(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function tY(e,t,n,a,o){let r=e.node(t),s=o?e.indexAfter(t):e.index(t);if(s==r.childCount&&!n.compatibleContent(r.type))return null;let i=a.fillBefore(r.content,!0,s);return i&&!function(e,t,n){for(let a=n;a<t.childCount;a++)if(!e.allowsMarks(t.child(a).marks))return!0;return!1}(n,r.content,s)?i:null}function tK(e,t){let n=[],a=Math.min(e.depth,t.depth);for(let o=a;o>=0;o--){let a=e.start(o);if(a<e.pos-(e.depth-o)||t.end(o)>t.pos+(t.depth-o)||e.node(o).type.spec.isolating||t.node(o).type.spec.isolating)break;(a==t.start(o)||o==e.depth&&o==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&o&&t.start(o-1)==a-1)&&n.push(o)}return n}class tQ extends tk{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return tw.fail("No node at attribute step's position");let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let a=t.type.create(n,null,t.marks);return tw.fromReplace(e,this.pos,this.pos+1,new eP(eA.from(a),0,+!t.isLeaf))}getMap(){return tv.empty}invert(e){return new tQ(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new tQ(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new tQ(t.pos,t.attr,t.value)}}tk.jsonID("attr",tQ);class tX extends tk{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return tw.ok(n)}getMap(){return tv.empty}invert(e){return new tX(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new tX(t.attr,t.value)}}tk.jsonID("docAttr",tX);let tJ=class extends Error{};(tJ=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n}).prototype=Object.create(Error.prototype),tJ.prototype.constructor=tJ,tJ.prototype.name="TransformError";class tZ{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new ty}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new tJ(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n<this.mapping.maps.length;n++){let a=this.mapping.maps[n];n&&(e=a.map(e,1),t=a.map(t,-1)),a.forEach((n,a,o,r)=>{e=Math.min(e,o),t=Math.max(t,r)})}return 1e9==e?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=eP.empty){let a=tz(this.doc,e,t,n);return a&&this.step(a),this}replaceWith(e,t,n){return this.replace(e,t,new eP(eA.from(n),0,0))}delete(e,t){return this.replace(e,t,eP.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return!function(e,t,n,a){if(!a.size)return e.deleteRange(t,n);let o=e.doc.resolve(t),r=e.doc.resolve(n);if(t$(o,r,a))return e.step(new tx(t,n,a));let s=tK(o,r);0==s[s.length-1]&&s.pop();let i=-(o.depth+1);s.unshift(i);for(let e=o.depth,t=o.pos-1;e>0;e--,t--){let n=o.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;s.indexOf(e)>-1?i=e:o.before(e)==t&&s.splice(1,0,-e)}let l=s.indexOf(i),c=[],p=a.openStart;for(let e=a.content,t=0;;t++){let n=e.firstChild;if(c.push(n),t==a.openStart)break;e=n.content}for(let e=p-1;e>=0;e--){var d;let t=c[e],n=(d=t.type).spec.defining||d.spec.definingForContent;if(n&&!t.sameMarkup(o.node(Math.abs(i)-1)))p=e;else if(n||!t.type.isTextblock)break}for(let t=a.openStart;t>=0;t--){let i=(t+p+1)%(a.openStart+1),d=c[i];if(d)for(let t=0;t<s.length;t++){let c=s[(t+l)%s.length],p=!0;c<0&&(p=!1,c=-c);let u=o.node(c-1),m=o.index(c-1);if(u.canReplaceWith(m,m,d.type,d.marks))return e.replace(o.before(c),p?r.after(c):n,new eP(function e(t,n,a,o,r){if(n<a){let r=t.firstChild;t=t.replaceChild(0,r.copy(e(r.content,n+1,a,o,r)))}if(n>o){let e=r.contentMatchAt(0),n=e.fillBefore(t).append(t);t=n.append(e.matchFragment(n).fillBefore(eA.empty,!0))}return t}
24(a.content,0,a.openStart,i),i,a.openEnd))}}let u=e.steps.length;for(let i=s.length-1;i>=0&&(e.replace(t,n,a),!(e.steps.length>u));i--){let e=s[i];e<0||(t=o.before(e),n=r.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){var a=e,o=t;if(!n.isInline&&a==o&&this.doc.resolve(a).parent.content.size){let e=function(e,t,n){let a=e.resolve(t);if(a.parent.canReplaceWith(a.index(),a.index(),n))return t;if(0==a.parentOffset)for(let e=a.depth-1;e>=0;e--){let t=a.index(e);if(a.node(e).canReplaceWith(t,t,n))return a.before(e+1);if(t>0)return null}if(a.parentOffset==a.parent.content.size)for(let e=a.depth-1;e>=0;e--){let t=a.indexAfter(e);if(a.node(e).canReplaceWith(t,t,n))return a.after(e+1);if(t<a.node(e).childCount)break}return null}(this.doc,a,n.type);null!=e&&(a=o=e)}return this.replaceRange(a,o,new eP(eA.from(n),0,0)),this}deleteRange(e,t){return!function(e,t,n){let a=e.doc.resolve(t),o=e.doc.resolve(n);if(a.parent.isTextblock&&o.parent.isTextblock&&a.start()!=o.start()&&0==a.parentOffset&&0==o.parentOffset){let r=a.sharedDepth(n),s=!1;for(let e=a.depth;e>r;e--)a.node(e).type.spec.isolating&&(s=!0);for(let e=o.depth;e>r;e--)o.node(e).type.spec.isolating&&(s=!0);if(!s){for(let e=a.depth;e>0&&t==a.start(e);e--)t=a.before(e);for(let e=o.depth;e>0&&n==o.start(e);e--)n=o.before(e);a=e.doc.resolve(t),o=e.doc.resolve(n)}}let r=tK(a,o);for(let t=0;t<r.length;t++){let n=r[t],s=t==r.length-1;if(s&&0==n||a.node(n).type.contentMatch.validEnd)return e.delete(a.start(n),o.end(n));if(n>0&&(s||a.node(n-1).canReplace(a.index(n-1),o.indexAfter(n-1))))return e.delete(a.before(n),o.after(n))}for(let r=1;r<=a.depth&&r<=o.depth;r++)if(t-a.start(r)==a.depth-r&&n>a.end(r)&&o.end(r)-n!=o.depth-r&&a.start(r-1)==o.start(r-1)&&a.node(r-1).canReplace(a.index(r-1),o.index(r-1)))return e.delete(a.before(r),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return!function(e,t,n){let{$from:a,$to:o,depth:r}=t,s=a.before(r+1),i=o.after(r+1),l=s,c=i,p=eA.empty,d=0;for(let e=r,t=!1;e>n;e--)t||a.index(e)>0?(t=!0,p=eA.from(a.node(e).copy(p)),d++):l--;let u=eA.empty,m=0;for(let e=r,t=!1;e>n;e--)t||o.after(e+1)<o.end(e)?(t=!0,u=eA.from(o.node(e).copy(u)),m++):c++;e.step(new tC(l,c,s,i,new eP(p.append(u),d,m),p.size-d,!0))}(this,e,t),this}join(e,t=1){return!function(e,t,n){let a=null,{linebreakReplacement:o}=e.doc.type.schema,r=e.doc.resolve(t-n),s=r.node().type;if(o&&s.inlineContent){let e="pre"==s.whitespace,t=!!s.contentMatch.matchType(o);e&&!t?a=!1:!e&&t&&(a=!0)}let i=e.steps.length;if(!1===a){let a=e.doc.resolve(t+n);tF(e,a.node(),a.before(),i)}s.inlineContent&&tA(e,t+n-1,s,r.node().contentMatchAt(r.index()),null==a);let l=e.mapping.slice(i),c=l.map(t-n);if(e.step(new tx(c,l.map(t+n,-1),eP.empty,!0)),!0===a){let t=e.doc.resolve(c);tR(e,t.node(),t.before(),e.steps.length)}}(this,e,t),this}wrap(e,t){return!function(e,t,n){let a=eA.empty;for(let e=n.length-1;e>=0;e--){if(a.size){let t=n[e].type.contentMatch.matchFragment(a);if(!t||!t.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}a=eA.from(n[e].type.create(n[e].attrs,a))}let o=t.start,r=t.end;e.step(new tC(o,r,o,r,new eP(a,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,a=null){var o=this;if(!n.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");let r=o.steps.length;return o.doc.nodesBetween(e,t,(e,t)=>{var s,i,l;let c,p,d="function"==typeof a?a(e):a;if(e.isTextblock&&!e.hasMarkup(n,d)&&(s=o.doc,i=o.mapping.slice(r).map(t),l=n,p=(c=s.resolve(i)).index(),c.parent.canReplaceWith(p,p+1,l))){let a=null;if(n.schema.linebreakReplacement){let e="pre"==n.whitespace,t=!!n.contentMatch.matchType(n.schema.linebreakReplacement);e&&!t?a=!1:!e&&t&&(a=!0)}!1===a&&tF(o,e,t,r),tA(o,o.mapping.slice(r).map(t,1),n,void 0,null===a);let s=o.mapping.slice(r),i=s.map(t,1),l=s.map(t+e.nodeSize,1);return o.step(new tC(i,l,i+1,l-1,new eP(eA.from(n.create(d,null,e.marks)),0,0),1,!0)),!0===a&&tR(o,e,t,r),!1}}),this}setNodeMarkup(e,t,n=null,a){return!function(e,t,n,a,o){let r=e.doc.nodeAt(t);if(!r)throw RangeError("No node at given position");n||(n=r.type);let s=n.create(a,null,o||r.marks);if(r.isLeaf)return e.replaceWith(t,t+r.nodeSize,s);if(!n.validContent(r.content))throw RangeError("Invalid content for node type "+n.name);e.step(new tC(t,t+r.nodeSize,t+1,t+r.nodeSize-1,new eP(eA.from(s),0,0),1,!0))}(this,e,t,n,a),this}setNodeAttribute(e,t,n){return this.step(new tQ(e,t,n)),this}setDocAttribute(e,t){return this.step(new tX(e,t)),this}addNodeMark(e,t){return this.step(new tT(e,t)),this}
24removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw RangeError("No node at position "+e);if(t instanceof eR)t.isInSet(n.marks)&&this.step(new tI(e,t));else{let a=n.marks,o,r=[];for(;o=t.isInSet(a);)r.push(new tI(e,o)),a=o.removeFromSet(a);for(let e=r.length-1;e>=0;e--)this.step(r[e])}return this}split(e,t=1,n){return!function(e,t,n=1,a){let o=e.doc.resolve(t),r=eA.empty,s=eA.empty;for(let e=o.depth,t=o.depth-n,i=n-1;e>t;e--,i--){r=eA.from(o.node(e).copy(r));let t=a&&a[i];s=eA.from(t?t.type.create(t.attrs,s):o.node(e).copy(s))}e.step(new tx(t,t,new eP(r.append(s),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){var a;let o,r,s,i;return a=this,s=[],i=[],a.doc.nodesBetween(e,t,(a,l,c)=>{if(!a.isInline)return;let p=a.marks;if(!n.isInSet(p)&&c.type.allowsMarkType(n.type)){let c=Math.max(l,e),d=Math.min(l+a.nodeSize,t),u=n.addToSet(p);for(let e=0;e<p.length;e++)p[e].isInSet(u)||(o&&o.to==c&&o.mark.eq(p[e])?o.to=d:s.push(o=new tD(c,d,p[e])));r&&r.to==c?r.to=d:i.push(r=new tE(c,d,n))}}),s.forEach(e=>a.step(e)),i.forEach(e=>a.step(e)),this}removeMark(e,t,n){var a;let o,r;return a=this,o=[],r=0,a.doc.nodesBetween(e,t,(a,s)=>{if(!a.isInline)return;r++;let i=null;if(n instanceof te){let e=a.marks,t;for(;t=n.isInSet(e);)(i||(i=[])).push(t),e=t.removeFromSet(e)}else n?n.isInSet(a.marks)&&(i=[n]):i=a.marks;if(i&&i.length){let n=Math.min(s+a.nodeSize,t);for(let t=0;t<i.length;t++){let a=i[t],l;for(let e=0;e<o.length;e++){let t=o[e];t.step==r-1&&a.eq(o[e].style)&&(l=t)}l?(l.to=n,l.step=r):o.push({style:a,from:Math.max(s,e),to:n,step:r})}}}),o.forEach(e=>a.step(new tD(e.from,e.to,e.style))),this}clearIncompatible(e,t,n){return tA(this,e,t,n),this}}e.s(["Mapping",0,ty,"RemoveMarkStep",0,tD,"ReplaceAroundStep",0,tC,"ReplaceStep",0,tx,"Transform",0,tZ,"canJoin",0,tL,"canSplit",0,tP,"dropPoint",0,tU,"findWrapping",0,tM,"joinPoint",0,tH,"liftTarget",0,tN,"replaceStep",0,tz],605842);let t0=Object.create(null);class t1{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new t6(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=eP.empty){let n=t.content.lastChild,a=null;for(let e=0;e<t.openEnd;e++)a=n,n=n.lastChild;let o=e.steps.length,r=this.ranges;for(let s=0;s<r.length;s++){let{$from:i,$to:l}=r[s],c=e.mapping.slice(o);e.replaceRange(c.map(i.pos),c.map(l.pos),s?eP.empty:t),0==s&&nn(e,o,(n?n.isInline:a&&a.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,a=this.ranges;for(let o=0;o<a.length;o++){let{$from:r,$to:s}=a[o],i=e.mapping.slice(n),l=i.map(r.pos),c=i.map(s.pos);o?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),nn(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let a=e.parent.inlineContent?new t3(e):nt(e.node(0),e.parent,e.pos,e.index(),t,n);if(a)return a;for(let a=e.depth-1;a>=0;a--){let o=t<0?nt(e.node(0),e.node(a),e.before(a+1),e.index(a),t,n):nt(e.node(0),e.node(a),e.after(a+1),e.index(a)+1,t,n);if(o)return o}return null}
vendor: 6,527 bytes, line 24
24static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new t7(e.node(0))}static atStart(e){return nt(e,e,0,0,1)||new t7(e)}static atEnd(e){return nt(e,e,e.content.size,e.childCount,-1)||new t7(e)}static fromJSON(e,t){if(!t||!t.type)throw RangeError("Invalid input for Selection.fromJSON");let n=t0[t.type];if(!n)throw RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in t0)throw RangeError("Duplicate use of selection JSON ID "+e);return t0[e]=t,t.prototype.jsonID=e,t}getBookmark(){return t3.between(this.$anchor,this.$head).getBookmark()}}t1.prototype.visible=!0;class t6{constructor(e,t){this.$from=e,this.$to=t}}let t4=!1;function t2(e){t4||e.parent.inlineContent||(t4=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class t3 extends t1{constructor(e,t=e){t2(e),t2(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return t1.near(n);let a=e.resolve(t.map(this.anchor));return new t3(a.parent.inlineContent?a:n,n)}replace(e,t=eP.empty){if(super.replace(e,t),t==eP.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof t3&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new t5(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new t3(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let a=e.resolve(t);return new this(a,n==t?a:e.resolve(n))}static between(e,t,n){let a=e.pos-t.pos;if((!n||a)&&(n=a>=0?1:-1),!t.parent.inlineContent){let e=t1.findFrom(t,n,!0)||t1.findFrom(t,-n,!0);if(!e)return t1.near(t,n);t=e.$head}return e.parent.inlineContent||(0==a?e=t:(e=(t1.findFrom(e,-n,!0)||t1.findFrom(e,n,!0)).$anchor).pos<t.pos!=a<0&&(e=t)),new t3(e,t)}}t1.jsonID("text",t3);class t5{constructor(e,t){this.anchor=e,this.head=t}map(e){return new t5(e.map(this.anchor),e.map(this.head))}resolve(e){return t3.between(e.resolve(this.anchor),e.resolve(this.head))}}class t9 extends t1{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:a}=t.mapResult(this.anchor),o=e.resolve(a);return n?t1.near(o):new t9(o)}content(){return new eP(eA.from(this.node),0,0)}eq(e){return e instanceof t9&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new t8(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw RangeError("Invalid input for NodeSelection.fromJSON");return new t9(e.resolve(t.anchor))}static create(e,t){return new t9(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}t9.prototype.visible=!1,t1.jsonID("node",t9);class t8{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new t5(n,n):new t8(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&t9.isSelectable(n)?new t9(t):t1.near(t)}}class t7 extends t1{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=eP.empty){if(t==eP.empty){e.delete(0,e.doc.content.size);let t=t1.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new t7(e)}map(e){return new t7(e)}eq(e){return e instanceof t7}getBookmark(){return ne}}t1.jsonID("all",t7);let ne={map(){return this},resolve:e=>new t7(e)};function nt(e,t,n,a,o,r=!1){if(t.inlineContent)return t3.create(e,n);for(let s=a-(o>0?0:1);o>0?s<t.childCount:s>=0;s+=o){let a=t.child(s);if(a.isAtom){if(!r&&t9.isSelectable(a))return t9.create(e,n-(o<0?a.nodeSize:0))}else{let t=nt(e,a,n+o,o<0?a.childCount:0,o,r);if(t)return t}n+=a.nodeSize*o}return null}function nn(e,t,n){let a,o=e.steps.length-1;if(o<t)return;let r=e.steps[o];(r instanceof tx||r instanceof tC)&&(e.mapping.maps[o].forEach((e,t,n,o)=>{null==a&&(a=o)}),e.setSelection(t1.near(e.doc.resolve(a),n)))}class na extends tZ{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(1|this.updated)&-3,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return eR.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||eR.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let a=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(a.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),!e)return this.deleteRange(t,n);let o=this.storedMarks;if(!o){let e=this.doc.resolve(t);o=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,a.text(e,o)),this.selection.empty||this.selection.to!=t+e.length||this.setSelection(t1.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function no(e,t){return t&&e?e.bind(t):e}class nr{constructor(e,t,n){this.name=e,this.init=no(t.init,n),this.apply=no(t.a
24pply,n)}}let ns=[new nr("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new nr("selection",{init:(e,t)=>e.selection||t1.atStart(t.doc),apply:e=>e.selection}),new nr("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,a)=>a.selection.$cursor?e.storedMarks:null}),new nr("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class ni{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=ns.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new nr(e.key,e.spec.state,e))})}}class nl{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),a=null;for(;;){let o=!1;for(let r=0;r<this.config.plugins.length;r++){let s=this.config.plugins[r];if(s.spec.appendTransaction){let i=a?a[r].n:0,l=a?a[r].state:this,c=i<t.length&&s.spec.appendTransaction.call(s,i?t.slice(i):t,l,n);if(c&&n.filterTransaction(c,r)){if(c.setMeta("appendedTransaction",e),!a){a=[];for(let e=0;e<this.config.plugins.length;e++)a.push(e<r?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}a&&(a[r]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw RangeError("Applying a mismatched transaction");let t=new nl(this.config),n=this.config.fields;for(let a=0;a<n.length;a++){let o=n[a];t[o.name]=o.apply(e,this[o.name],this,t)}return t}get tr(){return new na(this)}static create(e){let t=new ni(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new nl(t);for(let a=0;a<t.fields.length;a++)n[t.fields[a].name]=t.fields[a].init(e,n);return n}reconfigure(e){let t=new ni(this.schema,e.plugins),n=t.fields,a=new nl(t);for(let t=0;t<n.length;t++){let o=n[t].name;a[o]=this.hasOwnProperty(o)?this[o]:n[t].init(e,a)}return a}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(e=>e.toJSON())),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw RangeError("The JSON fields `doc` and `selection` are reserved");let a=e[n],o=a.spec.state;o&&o.toJSON&&(t[n]=o.toJSON.call(a,this[a.key]))}return t}static fromJSON(e,t,n){if(!t)throw RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw RangeError("Required config field 'schema' missing");let a=new ni(e.schema,e.plugins),o=new nl(a);return a.fields.forEach(a=>{if("doc"==a.name)o.doc=eQ.fromJSON(e.schema,t.doc);else if("selection"==a.name)o.selection=t1.fromJSON(o.doc,t.selection);else if("storedMarks"==a.name)t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let s=n[r],i=s.spec.state;if(s.key==a.name&&i&&i.fromJSON&&Object.prototype.hasOwnProperty.call(t,r)){o[a.name]=i.fromJSON.call(s,e,t[r],o);return}}o[a.name]=a.init(e,o)}}),o}}class nc{constructor(e){this.spec=e,this.props={},e.props&&function e(t,n,a){for(let o in t){let r=t[o];r instanceof Function?r=r.bind(n):"handleDOMEvents"==o&&(r=e(r,n,{})),a[o]=r}return a}(e.props,this,this.props),this.key=e.key?e.key.key:nd("plugin")}getState(e){return e[this.key]}}let np=Object.create(null);function nd(e){return e in np?e+"$"+ ++np[e]:(np[e]=0,e+"$")}class nu{constructor(e="key"){this.key=nd(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}e.s(["AllSelection",0,t7,"EditorState",0,nl,"NodeSelection",0,t9,"Plugin",0,nc,"PluginKey",0,nu,"Selection",0,t1,"SelectionRange",0,t6,"TextSelection",0,t3],111092);let nm=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function nh(e,t){let{$cursor:n}=e.selection;return n&&(t?t.endOfTextblock("backward",e):!(n.parentOffset>0))?n:null}
24let nf=(e,t,n)=>{let a=nh(e,n);if(!a)return!1;let o=ny(a);if(!o){let n=a.blockRange(),o=n&&tN(n);return null!=o&&(t&&t(e.tr.lift(n,o).scrollIntoView()),!0)}let r=o.nodeBefore;if(nC(e,o,t,-1))return!0;if(0==a.parent.content.size&&(nb(r,"end")||t9.isSelectable(r)))for(let n=a.depth;;n--){let s=tz(e.doc,a.before(n),a.after(n),eP.empty);if(s&&s.slice.size<s.to-s.from){if(t){let n=e.tr.step(s);n.setSelection(nb(r,"end")?t1.findFrom(n.doc.resolve(n.mapping.map(o.pos,-1)),-1):t9.create(n.doc,o.pos-r.nodeSize)),t(n.scrollIntoView())}return!0}if(1==n||a.node(n-1).childCount>1)break}return!!r.isAtom&&o.depth==a.depth-1&&(t&&t(e.tr.delete(o.pos-r.nodeSize,o.pos).scrollIntoView()),!0)};function ng(e,t,n){let a=t.nodeBefore,o=t.pos-1;for(;!a.isTextblock;o--){if(a.type.spec.isolating)return!1;let e=a.lastChild;if(!e)return!1;a=e}let r=t.nodeAfter,s=t.pos+1;for(;!r.isTextblock;s++){if(r.type.spec.isolating)return!1;let e=r.firstChild;if(!e)return!1;r=e}let i=tz(e.doc,o,s,eP.empty);if(!i||i.from!=o||i instanceof tx&&i.slice.size>=s-o)return!1;if(n){let t=e.tr.step(i);t.setSelection(t3.create(t.doc,o)),n(t.scrollIntoView())}return!0}function nb(e,t,n=!1){for(let a=e;a;a="start"==t?a.firstChild:a.lastChild){if(a.isTextblock)return!0;if(n&&1!=a.childCount)break}return!1}let nv=(e,t,n)=>{let{$head:a,empty:o}=e.selection,r=a;if(!o)return!1;if(a.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):a.parentOffset>0)return!1;r=ny(a)}let s=r&&r.nodeBefore;return!!s&&!!t9.isSelectable(s)&&(t&&t(e.tr.setSelection(t9.create(e.doc,r.pos-s.nodeSize)).scrollIntoView()),!0)};function ny(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function nj(e,t){let{$cursor:n}=e.selection;return n&&(t?t.endOfTextblock("forward",e):!(n.parentOffset<n.parent.content.size))?n:null}let nk=(e,t,n)=>{let a=nj(e,n);if(!a)return!1;let o=n_(a);if(!o)return!1;let r=o.nodeAfter;if(nC(e,o,t,1))return!0;if(0==a.parent.content.size&&(nb(r,"start")||t9.isSelectable(r))){let n=tz(e.doc,a.before(),a.after(),eP.empty);if(n&&n.slice.size<n.to-n.from){if(t){let a=e.tr.step(n);a.setSelection(nb(r,"start")?t1.findFrom(a.doc.resolve(a.mapping.map(o.pos)),1):t9.create(a.doc,a.mapping.map(o.pos))),t(a.scrollIntoView())}return!0}}return!!r.isAtom&&o.depth==a.depth-1&&(t&&t(e.tr.delete(o.pos,o.pos+r.nodeSize).scrollIntoView()),!0)},nw=(e,t,n)=>{let{$head:a,empty:o}=e.selection,r=a;if(!o)return!1;if(a.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):a.parentOffset<a.parent.content.size)return!1;r=n_(a)}let s=r&&r.nodeAfter;return!!s&&!!t9.isSelectable(s)&&(t&&t(e.tr.setSelection(t9.create(e.doc,r.pos)).scrollIntoView()),!0)};function n_(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}let nE=(e,t)=>{let{$head:n,$anchor:a}=e.selection;return!!n.parent.type.spec.code&&!!n.sameParent(a)&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function nD(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}let nT=(e,t)=>{let{$head:n,$anchor:a}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(a))return!1;let o=n.node(-1),r=n.indexAfter(-1),s=nD(o.contentMatchAt(r));if(!s||!o.canReplaceWith(r,r,s))return!1;if(t){let a=n.after(),o=e.tr.replaceWith(a,a,s.createAndFill());o.setSelection(t1.near(o.doc.resolve(a),1)),t(o.scrollIntoView())}return!0},nI=(e,t)=>{let n=e.selection,{$from:a,$to:o}=n;if(n instanceof t7||a.parent.inlineContent||o.parent.inlineContent)return!1;let r=nD(o.parent.contentMatchAt(o.indexAfter()));if(!r||!r.isTextblock)return!1;if(t){let n=(!a.parentOffset&&o.index()<o.parent.childCount?a:o).pos,s=e.tr.insert(n,r.createAndFill());s.setSelection(t3.create(s.doc,n+1)),t(s.scrollIntoView())}return!0},nx=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let a=n.before();if(tP(e.doc,a))return t&&t(e.tr.split(a).scrollIntoView()),!0}let a=n.blockRange(),o=a&&tN(a);return null!=o&&(t&&t(e.tr.lift(a,o).scrollIntoView()),!0)};function nC(e,t,n,a){let o,r,s,i=t.nodeBefore,l=t.nodeAfter,c,p,d=i.type.spec.isolating||l.type.spec.isolating;if(!d&&(o=t.nodeBefore,r=t.nodeAfter,s=t.index(),o&&r&&o.type.compatibleContent(r.type)&&(!o.content.size&&t.parent.canReplace(s-1,s)?(n&&n(e.tr.delete(t.pos-o.nodeSize,t.pos).scrollIntoView()),!0):!!t.parent.canReplace(s,s+1)&&!!(r.isTextblock||tL(e.doc,t.pos))&&(n&&n(e.tr.join(t.pos).scrollIntoView()),!0))))return!0;let u=!d&&t.parent.canReplace(t.index(),t.index()+1);if(u&&(c=(p=i.contentMatchAt(i.childCount)).findWrapping(l.type))&&p.matchType(c[0]||l.type).validEnd){if(n){let a=t.pos+l.nodeSize,o=eA.empty;for(let e=c.length-1;e>=0;e--)o=eA.from(c[e].create(null,o));o=eA.from(i.copy(o));let r=e.tr.step(new tC(t.pos-1,a,t.pos,a,new eP(o,1,0),c.length,!0)),s=r.doc.resolve(a+2*c.length);s.nodeAfter&&s.nodeAfter.type==i.type&&tL(r.doc,s.pos)&&r.join(s.pos),n(r.scrollIntoView())}return!0}let m=l.type.spec.isolating||a>0&&d?null:t1.findFrom(t,1),h=m&&m.$from.blockRange(m.$to),f=h&&tN(
24h);if(null!=f&&f>=t.depth)return n&&n(e.tr.lift(h,f).scrollIntoView()),!0;if(u&&nb(l,"start",!0)&&nb(i,"end")){let a=i,o=[];for(;o.push(a),!a.isTextblock;)a=a.lastChild;let r=l,s=1;for(;!r.isTextblock;r=r.firstChild)s++;if(a.canReplace(a.childCount,a.childCount,r.content)){if(n){let a=eA.empty;for(let e=o.length-1;e>=0;e--)a=eA.from(o[e].copy(a));n(e.tr.step(new tC(t.pos-o.length,t.pos+l.nodeSize,t.pos+s,t.pos+l.nodeSize-s,new eP(a,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function nS(e){return function(t,n){let a=t.selection,o=e<0?a.$from:a.$to,r=o.depth;for(;o.node(r).isInline;){if(!r)return!1;r--}return!!o.node(r).isTextblock&&(n&&n(t.tr.setSelection(t3.create(t.doc,e<0?o.start(r):o.end(r)))),!0)}}let nA=nS(-1),nN=nS(1);function nM(e,t=null){return function(n,a){let o=!1;for(let a=0;a<n.selection.ranges.length&&!o;a++){let{$from:{pos:r},$to:{pos:s}}=n.selection.ranges[a];n.doc.nodesBetween(r,s,(a,r)=>{if(o)return!1;if(!(!a.isTextblock||a.hasMarkup(e,t)))if(a.type==e)o=!0;else{let t=n.doc.resolve(r),a=t.index();o=t.parent.canReplaceWith(a,a+1,e)}})}if(!o)return!1;if(a){let o=n.tr;for(let a=0;a<n.selection.ranges.length;a++){let{$from:{pos:r},$to:{pos:s}}=n.selection.ranges[a];o.setBlockType(r,s,e,t)}a(o.scrollIntoView())}return!0}}function nO(...e){return function(t,n,a){for(let o=0;o<e.length;o++)if(e[o](t,n,a))return!0;return!1}}let nR=nO(nm,nf,nv),nF=nO(nm,nk,nw),nP={Enter:nO(nE,nI,nx,(e,t)=>{if(e.selection instanceof t9&&e.selection.node.isBlock){let{$from:n}=e.selection;return!!n.parentOffset&&!!tP(e.doc,n.pos)&&(t&&t(e.tr.split(n.pos).scrollIntoView()),!0)}if(!e.selection.$from.depth)return!1;let n=e.tr;!e.selection.empty&&(e.selection instanceof t3||e.selection instanceof t7)&&n.deleteSelection();let{$from:a}=n.selection,o=n.steps.length,r=[],s,i,l=!1,c=!1;for(let e=a.depth;;e--){if(a.node(e).isBlock){let t;l=a.end(e)==a.pos+(a.depth-e),c=a.start(e)==a.pos-(a.depth-e),i=nD(a.node(e-1).contentMatchAt(a.indexAfter(e-1)));r.unshift(t||(l&&i?{type:i}:null)),s=e;break}if(1==e)return!1;r.unshift(null)}let p=a.pos,d=tP(n.doc,p,r.length,r);if(d||(r[0]=i?{type:i}:null,d=tP(n.doc,p,r.length,r)),!d)return!1;if(n.split(p,r.length,r),!l&&c&&a.node(s).type!=i){let e=n.mapping.slice(o),t=e.map(a.before(s)),r=n.doc.resolve(t);i&&a.node(s-1).canReplaceWith(r.index(),r.index()+1,i)&&n.setNodeMarkup(e.map(a.before(s)),i)}return t&&t(n.scrollIntoView()),!0}),"Mod-Enter":nT,Backspace:nR,"Mod-Backspace":nR,"Shift-Backspace":nR,Delete:nF,"Mod-Delete":nF,"Mod-a":(e,t)=>(t&&t(e.tr.setSelection(new t7(e.doc))),!0)},nL={"Ctrl-h":nP.Backspace,"Alt-Backspace":nP["Mod-Backspace"],"Ctrl-d":nP.Delete,"Ctrl-Alt-Backspace":nP["Mod-Delete"],"Alt-Delete":nP["Mod-Delete"],"Alt-d":nP["Mod-Delete"],"Ctrl-a":nA,"Ctrl-e":nN};for(let e in nP)nL[e]=nP[e];"u">typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"u">typeof os&&os.platform&&os.platform();let nB=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},nH=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t},nU=null,nz=function(e,t,n){let a=nU||(nU=document.createRange());return a.setEnd(e,null==n?e.nodeValue.length:n),a.setStart(e,t||0),a},n$=function(){nU=null},nq=function(e,t,n,a){return n&&(nW(e,t,n,a,-1)||nW(e,t,n,a,1))},nV=/^(img|br|input|textarea|hr)$/i;function nW(e,t,n,a,o){for(var r;;){if(e==n&&t==a)return!0;if(t==(o<0?0:nG(e))){let n=e.parentNode;if(!n||1!=n.nodeType||nY(e)||nV.test(e.nodeName)||"false"==e.contentEditable)return!1;t=nB(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1;let n=e.childNodes[t+(o<0?-1:0)];if(1==n.nodeType&&"false"==n.contentEditable)if(null==(r=n.pmViewDesc)||!r.ignoreForSelection)return!1;else t+=o;else e=n,t=o<0?nG(e):0}}}function nG(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function nY(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}let nK=function(e){return e.focusNode&&nq(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function nQ(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}let nX="u">typeof navigator?navigator:null,nJ="u">typeof document?document:null,nZ=nX&&nX.userAgent||"",n0=/Edge\/(\d+)/.exec(nZ),n1=/MSIE \d/.exec(nZ),n6=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nZ),n4=!!(n1||n6||n0),n2=n1?document.documentMode:n6?+n6[1]:n0?+n0[1]:0,n3=!n4&&/gecko\/(\d+)/i.test(nZ);n3&&(/Firefox\/(\d+)/.exec(nZ)||[0,0])[1];let n5=!n4&&/Chrome\/(\d+)/.exec(nZ),n9=!!n5,n8=n5?+n5[1]:0,n7=!n4&&!!nX&&/Apple Computer/.test(nX.vendor),ae=n7&&(
vendor: 16,182 bytes, line 24
24/Mobile\/\w+/.test(nZ)||!!nX&&nX.maxTouchPoints>2),at=ae||!!nX&&/Mac/.test(nX.platform),an=!!nX&&/Win/.test(nX.platform),aa=/Android \d/.test(nZ),ao=!!nJ&&"webkitFontSmoothing"in nJ.documentElement.style,ar=ao?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function as(e,t){return"number"==typeof e?e:e[t]}function ai(e,t,n){if(!au(t)&&0==t.left)return;let a=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,r=e.dom.ownerDocument;for(let s=n||e.dom;s;){if(1!=s.nodeType){s=nH(s);continue}let e=s,n=e==r.body,i=n?function(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}(r):function(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,a=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*a}}(e),l=0,c=0;if(t.top<i.top+as(a,"top")?c=-(i.top-t.top+as(o,"top")):t.bottom>i.bottom-as(a,"bottom")&&(c=t.bottom-t.top>i.bottom-i.top?t.top+as(o,"top")-i.top:t.bottom-i.bottom+as(o,"bottom")),t.left<i.left+as(a,"left")?l=-(i.left-t.left+as(o,"left")):t.right>i.right-as(a,"right")&&(l=t.right-i.right+as(o,"right")),l||c)if(n)r.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,a=e.scrollTop;c&&(e.scrollTop+=c),l&&(e.scrollLeft+=l);let o=e.scrollLeft-n,r=e.scrollTop-a;t={left:t.left-o,top:t.top-r,right:t.right-o,bottom:t.bottom-r}}let p=n?"fixed":getComputedStyle(s).position;if(/^(fixed|sticky)$/.test(p))break;s="absolute"==p?s.offsetParent:nH(s)}}function al(e){let t=[],n=e.ownerDocument;for(let a=e;a&&(t.push({dom:a,top:a.scrollTop,left:a.scrollLeft}),e!=n);a=nH(a));return t}function ac(e,t){for(let n=0;n<e.length;n++){let{dom:a,top:o,left:r}=e[n];a.scrollTop!=o+t&&(a.scrollTop=o+t),a.scrollLeft!=r&&(a.scrollLeft=r)}}let ap=null;function ad(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function au(e){return e.top<e.bottom||e.left<e.right}function am(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(au(e))return e}return Array.prototype.find.call(n,au)||e.getBoundingClientRect()}let ah=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function af(e,t,n){let{node:a,offset:o,atom:r}=e.docView.domFromPos(t,n<0?-1:1),s=ao||n3;if(3==a.nodeType)if(s&&(ah.test(a.nodeValue)||(n<0?!o:o==a.nodeValue.length))){let e=am(nz(a,o,o),n);if(n3&&o&&/\s/.test(a.nodeValue[o-1])&&o<a.nodeValue.length){let t=am(nz(a,o-1,o-1),-1);if(t.top==e.top){let n=am(nz(a,o,o+1),-1);if(n.top!=e.top)return ag(n,n.left<t.left)}}return e}else{let e=o,t=o,r=n<0?1:-1;return n<0&&!o?(t++,r=-1):n>=0&&o==a.nodeValue.length?(e--,r=1):n<0?e--:t++,ag(am(nz(a,e,t),r),r<0)}if(!e.state.doc.resolve(t-(r||0)).parent.inlineContent){if(null==r&&o&&(n<0||o==nG(a))){let e=a.childNodes[o-1];if(1==e.nodeType)return ab(e.getBoundingClientRect(),!1)}if(null==r&&o<nG(a)){let e=a.childNodes[o];if(1==e.nodeType)return ab(e.getBoundingClientRect(),!0)}return ab(a.getBoundingClientRect(),n>=0)}if(null==r&&o&&(n<0||o==nG(a))){let e=a.childNodes[o-1],t=3==e.nodeType?nz(e,nG(e)-!s):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return ag(am(t,1),!1)}if(null==r&&o<nG(a)){let e=a.childNodes[o];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?nz(e,0,+!s):1==e.nodeType?e:null:null;if(t)return ag(am(t,-1),!0)}return ag(am(3==a.nodeType?nz(a):a,-n),n>=0)}function ag(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function ab(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function av(e,t,n){let a=e.state,o=e.root.activeElement;a!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{a!=t&&e.updateState(a),o!=e.dom&&o&&o.focus()}}let ay=/[\u0590-\u08ac]/,aj=null,ak=null,aw=!1;class a_{constructor(e,t,n,a){this.parent=e,this.children=t,this.dom=n,this.contentDOM=a,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(e){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let a=this.children[t];if(a==e)return n;n+=a.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){let a;if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode))if(n<0){let n,a;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&!((a=n.pmViewDesc)&&a.parent==this);)n=n.previousSibling;return n?this.posBeforeChild(a)+a.size:this.posAtStart}else{let n,a;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&!((a=n.pmViewDesc)&&a.parent==this);)n=n.nextSibling;return n?this.posBeforeChild(a):this.posAtEnd}if(e==this.dom&&this.contentDOM)a=t>nB(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))a=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){a=!1;break}if(t.previousSibling)break}if(null==a&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){a=!0;break}if(t.nextSibling)break}}return(null==a?n>0:a)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,a=e;a;a=a.parentNode){let o=this.getDesc(a),r;if(o&&(!t||o.node))if(!n||!(r=o.nodeDOM)||(1==r.nodeType?r.contains(1==e.nodeType?e:e.parentNode):r==e))return o;else n=!1}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let a=e;a;a=a.parentNode){let o=this.getDesc(a);if(o)return o.localPosFromDOM(e,t,n)}return -1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let a=this.children[t],o=n+a.size;if(n==e&&o!=n){for(;!a.border&&a.children.length;)for(let e=0;e<a.children.length;e++){let t=a.children[e];if(t.size){a=t;break}}return a}if(e<o)return a.descAt(e-n-a.border);n=o}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,a=0;for(let t=0;n<this.children.length;n++){let o=this.children[n],r=t+o.size;if(r>e||o instanceof aS){a=e-t;break}t=r}if(a)return this.children[n].domFromPos(a-this.children[n].border,t);for(let e;n&&!(e=this.children[n-1]).size&&e instanceof aE&&e.side>=0;n--);if(t<=0){let e,a=!0;for(;(e=n?this.children[n-1]:null)&&e.dom.parentNode!=this.contentDOM;n--,a=!1);return e&&t&&a&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?nB(e.dom)+1:0}}{let e,a=!0;for(;(e=n<this.children.length?this.children[n]:null)&&e.dom.parentNode!=this.contentDOM;n++,a=!1);return e&&a&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?nB(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let a=-1,o=-1;for(let r=n,s=0;;s++){let n=this.children[s],i=r+n.size;if(-1==a&&e<=i){let o=r+n.border;if(e>=o&&t<=i-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,o);e=r;for(let t=s;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){a=nB(n.dom)+1;break}e-=n.size}-1==a&&(a=0)}if(a>-1&&(i>t||s==this.children.length-1)){t=i;for(let e=s+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){o=nB(n.dom);break}t+=n.size}-1==o&&(o=this.contentDOM.childNodes.length);break}r=i}return{node:this.contentDOM,from:e,to:t,fromOffset:a,toOffset:o}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,a=!1){let o=Math.min(e,t),r=Math.max(e,t);for(let s=0,i=0;s<this.children.length;s++){let l=this.children[s],c=i+l.size;if(o>i&&r<c)return l.setSelection(e-i-l.border,t-i-l.border,n,a);i=c}let s=this.domFromPos(e,e?-1:1),i=t==e?s:this.domFromPos(t,t?-1:1),l=n.root.getSelection(),c=n.domSelectionRange(),p=!1;if((n3||n7)&&e==t){let{node:e,offset:t}=s;if(3==e.nodeType){if((p=!!(t&&"\n"==e.nodeValue[t-1]))&&t==e.nodeValue.length)for(let t=e,n;t;t=t.parentNode){if(n=t.nextSibling){"BR"==n.nodeName&&(s=i={node:n.parentNode,offset:nB(n)+1});break}let e=t.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];p=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(n3&&c.focusNode&&c.focusNode!=i.node&&1==c.focusNode.nodeType){let e=c.focusNode.childNodes[c.focusOffset];e&&"false"==e.contentEditable&&(a=!0)}if(!(a||p&&n7)&&nq(s.node,s.offset,c.anchorNode,c.anchorOffset)&&nq(i.node,i.offset,c.focusNode,c.focusOffset))return;let d=!1;if((l.extend||e==t)&&!(p&&n3)){l.collapse(s.node,s.offset);try{e!=t&&l.extend(i.node,i.offset),d=!0}catch(e){}}if(!d){if(e>t){let e=s;s=i,i=e}let n=document.createRange();n.setEnd(i.node,i.offset),n.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,a=0;a<this.children.length;a++){let o=this.children[a],r=n+o.size;if(n==r?e<=r&&t>=n:e<r&&t>n){let a=n+o.border,s=r-o.border;if(e>=a&&t<=s){this.dirty=e==n||t==r?2:1,e==a&&t==s&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=3:o.markDirty(e-a,t-a);return}o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}n=r}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class aE extends a_{constructor(e,t,n,a){let o,r=t.type.toDOM;if("function"==typeof r&&(r=r(n,()=>o?o.parent?o.parent.posBeforeChild(o):void 0:a)),!t.type.spec.raw){if(1!=r.nodeType){let e=document.createElement("span");e.appendChild(r),r=e}r.hasAttribute("contenteditable")||(r.contentEditable="false"),r.classList.add("ProseMirror-widget")}super(e,[],r,null),this.widget=t,this.widget=t,o=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class aD extends a_{constructor(e,t,n,a){super(e,[],t,null),this.textDOM=n,this.text=a}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class aT extends a_{constructor(e,t,n,a,o){super(e,[],n,a),this.mark=t,this.spec=o}static create(e,t,n,a){let o=a.nodeViews[t.type.name],r=o&&o(t,a,n);return r&&r.dom||(r=tu.renderSpec(document,t.type.spec.toDOM(t,n),null,t.attrs)),new aT(e,t,r.dom,r.contentDOM||r.dom,r)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let a=aT.create(this.parent,this.mark,!0,n),o=this.children,r=this.size;t<r&&(o=aU(o,t,r,n)),e>0&&(o=aU(o,0,e,n));for(let e=0;e<o.length;e++)o[e].parent=a;return a.children=o,a}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class aI extends a_{constructor(e,t,n,a,o,r,s){super(e,[],o,r),this.node=t,this.outerDeco=n,this.innerDeco=a,this.nodeDOM=s}static create(e,t,n,a,o,r){let s=o.nodeViews[t.type.name],i,l=s&&s(t,o,()=>i?i.parent?i.parent.posBeforeChild(i):void 0:r,n,a),c=l&&l.dom,p=l&&l.contentDOM;if(t.isText)if(c){if(3!=c.nodeType)throw RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(t.text);else if(!c){let e=tu.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs);({dom:c,contentDOM:p}=e)}p||t.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),t.type.spec.draggable&&(c.draggable=!0));let d=c;return(c=aF(c,n,t),l)?i=new aA(e,t,n,a,c,p||null,d,l):t.isText?new aC(e,t,n,a,c,d):new aI(e,t,n,a,c,p||null,d)}parseRule(e){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let e=this.children.length-1;e>=0;e--){let n=this.children[e];if(this.dom.contains(n.dom.parentNode)){t.contentElement=n.dom.parentNode;break}}if(!t.contentElement){let n=e&&e.find(t=>1==t.nodeType&&0>e.indexOf(t.parentNode)&&this.dom.contains(t));n?t.contentElement=n:t.getContent=()=>eA.empty}}else t.contentElement=this.contentDOM;else t.getContent=()=>this.node.content;return t}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&aP(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return+!this.node.isLeaf}updateChildren(e,t){let n=this.node.inlineContent,a=t,o=e.composing?this.localCompositionInfo(e,t):null,r=o&&o.pos>-1?o:null,s=o&&o.pos<0,i=new aB(this,r&&r.node,e);(function(e,t,n,a){let o=t.locals(e),r=0;if(0==o.length){for(let n=0;n<e.childCount;n++){let s=e.child(n);a(s,o,t.forChild(r,s),n),r+=s.nodeSize}return}let s=0,i=[],l=null;for(let c=0;;){let p,d,u,m;for(;s<o.length&&o[s].to==r;){let e=o[s++];e.widget&&(p?(d||(d=[p])).push(e):p=e)}if(p)if(d){d.sort(aH);for(let e=0;e<d.length;e++)n(d[e],c,!!l)}else n(p,c,!!l);if(l)m=-1,u=l,l=null;else if(c<e.childCount)m=c,u=e.child(c++);else break;for(let e=0;e<i.length;e++)i[e].to<=r&&i.splice(e--,1);for(;s<o.length&&o[s].from<=r&&o[s].to>r;)i.push(o[s++]);let h=r+u.nodeSize;if(u.isText){let e=h;s<o.length&&o[s].from<e&&(e=o[s].from);for(let t=0;t<i.length;t++)i[t].to<e&&(e=i[t].to);e<h&&(l=u.cut(e-r),u=u.cut(0,e-r),h=e,m=-1)}else for(;s<o.length&&o[s].to<h;)s++;let f=u.isInline&&!u.isLeaf?i.filter(e=>!e.inline):i.slice();a(u,f,t.forChild(r,u),m),r=h}})(this.node,this.innerDeco,(t,o,r)=>{t.spec.marks?i.syncToMarks(t.spec.marks,n,e,o):t.type.side>=0&&!r&&i.syncToMarks(o==this.node.childCount?eR.none:this.node.child(o).marks,n,e,o),i.placeWidget(t,e,a)},(t,r,l,c)=>{let p;i.syncToMarks(t.marks,n,e,c),i.findNodeMatch(t,r,l,c)||s&&e.state.selection.from>a&&e.state.selection.to<a+t.nodeSize&&(p=i.findIndexWithChild(o.node))>-1&&i.updateNodeAt(t,r,l,p,e)||i.updateNextNode(t,r,l,e,c,a)||i.addNode(t,r,l,e,a),a+=t.nodeSize}),i.syncToMarks([],n,e,0),this.node.isTextblock&&i.addTextblockHacks(),i.destroyRest(),(i.changed||2==this.dirty)&&(r&&this.protectLocalComposition(e,r),function e(t,n,a){let o=t.firstChild,r=!1;for(let s=0;s<n.length;s++){let i=n[s],l=i.dom;if(l.parentNode==t){for(;l!=o;)o=aL(o),r=!0;o=o.nextSibling}else r=!0,t.insertBefore(l,o);if(i instanceof aT){let n=o?o.previousSibling:t.lastChild;e(i.contentDOM,i.children,a),o=n?n.nextSibling:t.firstChild}}for(;o;)o=aL(o),r=!0;
24r&&a.trackWrites==t&&(a.trackWrites=null)}(this.contentDOM,this.children,e),ae&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:a}=e.state.selection;if(!(e.state.selection instanceof t3)||n<t||a>t+this.node.content.size)return null;let o=e.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(!this.node.inlineContent)return{node:o,pos:-1,text:""};{let e=o.nodeValue,r=function(e,t,n,a){for(let o=0,r=0;o<e.childCount&&r<=a;){let s=e.child(o++),i=r;if(r+=s.nodeSize,!s.isText)continue;let l=s.text;for(;o<e.childCount;){let t=e.child(o++);if(r+=t.nodeSize,!t.isText)break;l+=t.text}if(r>=n){if(r>=a&&l.slice(a-t.length-i,a-i)==t)return a-t.length;let e=i<a?l.lastIndexOf(t,a-i-1):-1;if(e>=0&&e+t.length+i>=n)return i+e;if(n==a&&l.length>=a+t.length-i&&l.slice(a-i,a-i+t.length)==t)return a}}return -1}(this.node.content,e,n-t,a-t);return r<0?null:{node:o,pos:r,text:e}}}protectLocalComposition(e,{node:t,pos:n,text:a}){if(this.getDesc(t))return;let o=t;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let r=new aD(this,o,t,a);e.input.compositionNodes.push(r),this.children=aU(this.children,n,n+a.length,e,r)}update(e,t,n,a){return 3!=this.dirty&&!!e.sameMarkup(this.node)&&(this.updateInner(e,t,n,a),!0)}updateInner(e,t,n,a){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(a,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(aP(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=aR(this.dom,this.nodeDOM,aO(this.outerDeco,this.node,t),aO(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function ax(e,t,n,a,o){aF(a,t,e);let r=new aI(void 0,e,t,n,a,a,a);return r.contentDOM&&r.updateChildren(o,0),r}class aC extends aI{constructor(e,t,n,a,o,r){super(e,t,n,a,o,null,r)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,a){return 3!=this.dirty&&(0==this.dirty||!!this.inParent())&&!!e.sameMarkup(this.node)&&(this.updateOuterDeco(t),(0!=this.dirty||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,a.trackWrites==this.nodeDOM&&(a.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let a=this.node.cut(e,t),o=document.createTextNode(a.text);return new aC(this.parent,a,this.outerDeco,this.innerDeco,o,o)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(0==e||t==this.nodeDOM.nodeValue.length)&&(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class aS extends a_{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class aA extends aI{constructor(e,t,n,a,o,r,s,i){super(e,t,n,a,o,r,s),this.spec=i}update(e,t,n,a){if(3==this.dirty)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let o=this.spec.update(e,t,n);return o&&this.updateInner(e,t,n,a),o}return(!!this.contentDOM||!!e.isLeaf)&&super.update(e,t,n,a)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,a){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,a)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}let aN=function(e){e&&(this.nodeName=e)};aN.prototype=Object.create(null);let aM=[new aN];function aO(e,t,n){if(0==e.length)return aM;let a=n?aM[0]:new aN,o=[a];for(let r=0;r<e.length;r++){let s=e[r].type.attrs;if(s)for(let e in s.nodeName&&o.push(a=new aN(s.nodeName)),s){let r=s[e];null!=r&&(n&&1==o.length&&o.push(a=new aN(t.isInline?"span":"div")),"class"==e?a.class=(a.class?a.class+" ":"")+r:"style"==e?a.style=(a.style?a.style+";":"")+r:"nodeName"!=e&&(a[e]=r))}}return o}
24function aR(e,t,n,a){if(n==aM&&a==aM)return t;let o=t;for(let t=0;t<a.length;t++){let r=a[t],s=n[t];if(t){let t;s&&s.nodeName==r.nodeName&&o!=e&&(t=o.parentNode)&&t.nodeName.toLowerCase()==r.nodeName||((t=document.createElement(r.nodeName)).pmIsDeco=!0,t.appendChild(o),s=aM[0]),o=t}!function(e,t,n){for(let a in t)"class"==a||"style"==a||"nodeName"==a||a in n||e.removeAttribute(a);for(let a in n)"class"!=a&&"style"!=a&&"nodeName"!=a&&n[a]!=t[a]&&e.setAttribute(a,n[a]);if(t.class!=n.class){let a=t.class?t.class.split(" ").filter(Boolean):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<a.length;t++)-1==o.indexOf(a[t])&&e.classList.remove(a[t]);for(let t=0;t<o.length;t++)-1==a.indexOf(o[t])&&e.classList.add(o[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,a;for(;a=n.exec(t.style);)e.style.removeProperty(a[1])}n.style&&(e.style.cssText+=n.style)}}(o,s||aM[0],r)}return o}function aF(e,t,n){return aR(e,e,aM,aO(t,n,1!=e.nodeType))}function aP(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function aL(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class aB{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,a=n.children.length,o=e.childCount,r=new Map,s=[];n:for(;o>0;){let i;for(;;)if(a){let e=n.children[a-1];if(e instanceof aT)n=e,a=e.children.length;else{i=e,a--;break}}else if(n==t)break n;else a=n.parent.children.indexOf(n),n=n.parent;let l=i.node;if(l){if(l!=e.child(o-1))break;--o,r.set(i,o),s.push(i)}}return{index:o,matched:r,matches:s.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n,a){let o=0,r=this.stack.length>>1,s=Math.min(r,e.length);for(;o<s&&(o==r-1?this.top:this.stack[o+1<<1]).matchesMark(e[o])&&!1!==e[o].type.spec.spanning;)o++;for(;o<r;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),r--;for(;r<e.length;){this.stack.push(this.top,this.index+1);let o=-1,s=this.top.children.length;a<this.preMatch.index&&(s=Math.min(this.index+3,s));for(let t=this.index;t<s;t++){let n=this.top.children[t];if(n.matchesMark(e[r])&&!this.isLocked(n.dom)){o=t;break}}if(o<0&&this.index<this.top.children.length){let t=this.top.children[this.index];t instanceof aT&&3!=t.dirty&&t.mark.type==e[r].type&&t.spec.update&&!this.isLocked(t.dom)&&t.spec.update(e[r])&&(t.mark=e[r],o=this.index,this.changed=!0)}if(o>-1)o>this.index&&(this.changed=!0,this.destroyBetween(this.index,o)),this.top=this.top.children[this.index];else{let a=aT.create(this.top,e[r],t,n);this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0}this.index=0,r++}}findNodeMatch(e,t,n,a){let o=-1,r;if(a>=this.preMatch.index&&(r=this.preMatch.matches[a-this.preMatch.index]).parent==this.top&&r.matchesNode(e,t,n))o=this.top.children.indexOf(r,this.index);else for(let a=this.index,r=Math.min(this.top.children.length,a+5);a<r;a++){let r=this.top.children[a];if(r.matchesNode(e,t,n)&&!this.preMatch.matched.has(r)){o=a;break}}return!(o<0)&&(this.destroyBetween(this.index,o),this.index++,!0)}updateNodeAt(e,t,n,a,o){let r=this.top.children[a];return 3==r.dirty&&r.dom==r.contentDOM&&(r.dirty=2),!!r.update(e,t,n,o)&&(this.destroyBetween(this.index,a),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return -1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t){for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e}return -1}e=t}}updateNextNode(e,t,n,a,o,r){for(let s=this.index;s<this.top.children.length;s++){let i=this.top.children[s];if(i instanceof aI){let l=this.preMatch.matched.get(i);if(null!=l&&l!=o)return!1;let c=i.dom,p,d=this.isLocked(c)&&!(e.isText&&i.node&&i.node.isText&&i.nodeDOM.nodeValue==e.text&&3!=i.dirty&&aP(t,i.outerDeco));if(!d&&i.update(e,t,n,a))return this.destroyBetween(this.index,s),i.dom!=c&&(this.changed=!0),this.index++,!0;if(!d&&(p=this.recreateWrapper(i,e,t,n,a,r)))return this.destroyBetween(this.index,s),this.top.children[this.index]=p,p.contentDOM&&(p.dirty=2,p.updateChildren(a,r+1),p.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,a,o,r){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!aP(n,e.outerDeco)||!a.eq(e.innerDeco))return null;let s=aI.create(this.top,t,n,a,o,r);if(s.contentDOM)for(let t of(s.children=e.children,e.children=[],s.children))t.parent=s;return e.destroy(),s}addNode(e,t,n,a,o){let r=aI.create(this.top,e,t,n,a,o);r.contentDOM&&r.updateChildren(a,o+1),this.top.children.splice(this.index++,0,r),this.changed=!0}placeWidget(e,t,n){let a=this.index<this.top.children.length?this.top.children[this.index]:null;if(a&&a.matchesWidget(e)&&(e==a.widget||!a.widget.type.toDOM.parentNode))this.index++;else{let a=new aE(this.top,e,t,n);this.top.children.splice(this.index++,0,a),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof aT;)e=(t=e).children[t.children.length-1];(!e||!(e instanceof aC)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((n
247||n9)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let a=new aS(this.top,[],n,null);t!=this.top?t.children.push(a):t.children.splice(this.index++,0,a),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function aH(e,t){return e.type.side-t.type.side}function aU(e,t,n,a,o){let r=[];for(let s=0,i=0;s<e.length;s++){let l=e[s],c=i,p=i+=l.size;c>=n||p<=t?r.push(l):(c<t&&r.push(l.slice(0,t-c,a)),o&&(r.push(o),o=void 0),p>n&&r.push(l.slice(n-c,l.size,a)))}return r}function az(e,t=null){let n=e.domSelectionRange(),a=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),r=o&&0==o.size,s=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(s<0)return null;let i=a.resolve(s),l,c;if(nK(n)){for(l=s;o&&!o.node;)o=o.parent;let e=o.node;if(o&&e.isAtom&&t9.isSelectable(e)&&o.parent&&!(e.isInline&&function(e,t,n){for(let a=0==t,o=t==nG(e);a||o;){if(e==n)return!0;let t=nB(e);if(!(e=e.parentNode))return!1;a=a&&0==t,o=o&&t==nG(e)}}(n.focusNode,n.focusOffset,o.dom))){let e=o.posBefore;c=new t9(s==e?i:a.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=s,o=s;for(let a=0;a<n.rangeCount;a++){let r=n.getRangeAt(a);t=Math.min(t,e.docView.posFromDOM(r.startContainer,r.startOffset,1)),o=Math.max(o,e.docView.posFromDOM(r.endContainer,r.endOffset,-1))}if(t<0)return null;[l,s]=o==e.state.selection.anchor?[o,t]:[t,o],i=a.resolve(s)}else l=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(l<0)return null}let p=a.resolve(l);if(!c){let n="pointer"==t||e.state.selection.head<i.pos&&!r?1:-1;c=aX(e,p,i,n)}return c}function a$(e){return e.editable?e.hasFocus():aZ(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function aq(e,t=!1){let n=e.state.selection;if(aK(e,n),!a$(e))return;let a=e.input.mouseDown;if(!t&&n9&&a){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&nq(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset)&&a.delaySelUpdate())return void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection();if(!t)return;let n=e.cursorWrapper.dom,a="IMG"==n.nodeName;a?t.collapse(n.parentNode,nB(n)+1):t.collapse(n,0),!a&&!e.state.selection.visible&&n4&&n2<=11&&(n.disabled=!0,n.disabled=!1)}(e);else{var o;let a,r,s,i,{anchor:l,head:c}=n,p,d;aV&&!(n instanceof t3)&&(n.$from.parent.inlineContent||(p=aW(e,n.from)),n.empty||n.$from.parent.inlineContent||(d=aW(e,n.to))),e.docView.setSelection(l,c,e,t),aV&&(p&&aY(p),d&&aY(d)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&((a=(o=e).dom.ownerDocument).removeEventListener("selectionchange",o.input.hideSelectionGuard),s=(r=o.domSelectionRange()).anchorNode,i=r.anchorOffset,a.addEventListener("selectionchange",o.input.hideSelectionGuard=()=>{(r.anchorNode!=s||r.anchorOffset!=i)&&(a.removeEventListener("selectionchange",o.input.hideSelectionGuard),setTimeout(()=>{(!a$(o)||o.state.selection.visible)&&o.dom.classList.remove("ProseMirror-hideselection")},20))})))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}let aV=n7||n9&&n8<63;function aW(e,t){let{node:n,offset:a}=e.docView.domFromPos(t,0),o=a<n.childNodes.length?n.childNodes[a]:null,r=a?n.childNodes[a-1]:null;if(n7&&o&&"false"==o.contentEditable)return aG(o);if((!o||"false"==o.contentEditable)&&(!r||"false"==r.contentEditable)){if(o)return aG(o);else if(r)return aG(r)}}function aG(e){return e.contentEditable="true",n7&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function aY(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function aK(e,t){if(t instanceof t9){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(aQ(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else aQ(e)}function aQ(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function aX(e,t,n,a){return e.someProp("createSelectionBetween",a=>a(e,t,n))||t3.between(t,n,a)}function aJ(e){return(!e.editable||!!e.hasFocus())&&aZ(e)}function aZ(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focu
24sNode.parentNode:t.focusNode))}catch(e){return!1}}function a0(e,t){let{$anchor:n,$head:a}=e.selection,o=t>0?n.max(a):n.min(a),r=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return r&&t1.findFrom(r,t)}function a1(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function a6(e,t,n){let a=e.state.selection;if(a instanceof t3){if(n.indexOf("s")>-1){let{$head:n}=a,o=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let r=e.state.doc.resolve(n.pos+o.nodeSize*(t<0?-1:1));return a1(e,new t3(a.$anchor,r))}else if(!a.empty)return!1;else if(e.endOfTextblock(t>0?"forward":"backward")){let n=a0(e.state,t);return!!n&&n instanceof t9&&a1(e,n)}else if(!(at&&n.indexOf("m")>-1)){let n=a.$head,o=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter,r;if(!o||o.isText)return!1;let s=t<0?n.pos-o.nodeSize:n.pos;return!!(o.isAtom||(r=e.docView.descAt(s))&&!r.contentDOM)&&(t9.isSelectable(o)?a1(e,new t9(t<0?e.state.doc.resolve(n.pos-o.nodeSize):n)):!!ao&&a1(e,new t3(e.state.doc.resolve(t<0?s:s+o.nodeSize))))}}else{if(a instanceof t9&&a.node.isInline)return a1(e,new t3(t>0?a.$to:a.$from));let n=a0(e.state,t);return!!n&&a1(e,n)}}function a4(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function a2(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function a3(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,a=t.focusOffset;if(!n)return;let o,r,s=!1;for(n3&&1==n.nodeType&&a<a4(n)&&a2(n.childNodes[a],-1)&&(s=!0);;)if(a>0)if(1!=n.nodeType)break;else{let e=n.childNodes[a-1];if(a2(e,-1))o=n,r=--a;else if(3==e.nodeType)a=(n=e).nodeValue.length;else break}else if(a5(n))break;else{let t=n.previousSibling;for(;t&&a2(t,-1);)o=n.parentNode,r=nB(t),t=t.previousSibling;if(t)a=a4(n=t);else{if((n=n.parentNode)==e.dom)break;a=0}}s?a9(e,n,a):o&&a9(e,o,r)}(e):function(e){let t,n,a=e.domSelectionRange(),o=a.focusNode,r=a.focusOffset;if(!o)return;let s=a4(o);for(;;)if(r<s){if(1!=o.nodeType)break;if(a2(o.childNodes[r],1))t=o,n=++r;else break}else if(a5(o))break;else{let a=o.nextSibling;for(;a&&a2(a,1);)t=a.parentNode,n=nB(a)+1,a=a.nextSibling;if(a)r=0,s=a4(o=a);else{if((o=o.parentNode)==e.dom)break;r=s=0}}t&&a9(e,t,n)}(e)}function a5(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function a9(e,t,n){if(3!=t.nodeType){let e,a;(a=function(e,t){for(;e&&t==e.childNodes.length&&!nY(e);)t=nB(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=a,n=0):(e=function(e,t){for(;e&&!t&&!nY(e);)t=nB(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let a=e.domSelection();if(!a)return;if(nK(a)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),a.removeAllRanges(),a.addRange(e)}else a.extend&&a.extend(t,n);e.domObserver.setCurSelection();let{state:o}=e;setTimeout(()=>{e.state==o&&aq(e)},50)}function a8(e,t){let n=e.state.doc.resolve(t);if(!(n9||an)&&n.parent.inlineContent){let a=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),o=(n.top+n.bottom)/2;if(o>a.top&&o<a.bottom&&Math.abs(n.left-a.left)>1)return n.left<a.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),o=(n.top+n.bottom)/2;if(o>a.top&&o<a.bottom&&Math.abs(n.left-a.left)>1)return n.left>a.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function a7(e,t,n){let a=e.state.selection;if(a instanceof t3&&!a.empty||n.indexOf("s")>-1||at&&n.indexOf("m")>-1)return!1;let{$from:o,$to:r}=a;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=a0(e.state,t);if(n&&n instanceof t9)return a1(e,n)}if(!o.parent.inlineContent){let n=t<0?o:r,s=a instanceof t7?t1.near(n,t):t1.findFrom(n,t);return!!s&&a1(e,s)}return!1}function oe(e,t){if(!(e.state.selection instanceof t3))return!0;let{$head:n,$anchor:a,empty:o}=e.state.selection;if(!n.sameParent(a))return!0;if(!o)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let r=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(r&&!r.isText){let a=e.state.tr;return t<0?a.delete(n.pos-r.nodeSize,n.pos):a.delete(n.pos,n.pos+r.nodeSize),e.dispatch(a),!0}return!1}function ot(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function on(e,t){e.someProp("transformCopied",n=>{t=n(t,e)});let n=[],{content:a,openStart:o,openEnd:r}=t;for(;o>1&&r>1&&1==a.childCount&&1==a.firstChild.childCount;){o--,r--;let e=a.firstChild;
24n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),a=e.content}let s=e.someProp("clipboardSerializer")||tu.fromSchema(e.state.schema),i=op(),l=i.createElement("div");l.appendChild(s.serializeFragment(a,{document:i}));let c=l.firstChild,p,d=0;for(;c&&1==c.nodeType&&(p=oc[c.nodeName.toLowerCase()]);){for(let e=p.length-1;e>=0;e--){let t=i.createElement(p[e]);for(;l.firstChild;)t.appendChild(l.firstChild);l.appendChild(t),d++}c=l.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${o} ${r}${d?` -${d}`:""} ${JSON.stringify(n)}`),{dom:l,text:e.someProp("clipboardTextSerializer",n=>n(t,e))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function oa(e,t,n,a,o){let r,s,i=o.parent.type.spec.code;if(!n&&!t)return null;let l=!!t&&(a||i||!n);if(l){if(e.someProp("transformPastedText",n=>{t=n(t,i||a,e)}),i)return s=new eP(eA.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0),e.someProp("transformPasted",t=>{s=t(s,e,!0)}),s;let n=e.someProp("clipboardTextParser",n=>n(t,o,a,e));if(n)s=n;else{let n=o.marks(),{schema:a}=e.state,s=tu.fromSchema(a);r=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=r.appendChild(document.createElement("p"));e&&t.appendChild(s.serializeNode(a.text(e,n)))})}}else e.someProp("transformPastedHTML",t=>{n=t(n,e)}),r=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=op(),a=n.body,o=/<([a-z][^>\s]+)/i.exec(e),r;if((r=o&&oc[o[1].toLowerCase()])&&(e=r.map(e=>"<"+e+">").join("")+e+r.map(e=>"</"+e+">").reverse().join("")),a.innerHTML=function(e){let t=window.trustedTypes;if(!t)return e;if(!od){if(od=t.defaultPolicy)try{return od.createHTML(e)}catch(e){}od=t.createPolicy("ProseMirrorClipboard",{createHTML:e=>e})}return od.createHTML(e)}(e),r)for(let e=0;e<r.length;e++)a=a.querySelector(r[e])||a;for(let e=0;e<n.styleSheets.length;e++){let t=n.styleSheets[e];for(let e=0;e<t.rules.length;e++){let n=t.rules[e];if(n instanceof CSSStyleRule){let e=a.querySelectorAll(n.selectorText);for(let t=0;t<e.length;t++)e[t].style.cssText+=n.style.cssText}}}return a}(n),ao&&function(e){let t=e.querySelectorAll(n9?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let a=t[n];1==a.childNodes.length&&"Â "==a.textContent&&a.parentNode&&a.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),a)}}(r);let c=r&&r.querySelector("[data-pm-slice]"),p=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(p&&p[3])for(let e=+p[3];e>0;e--){let e=r.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;r=e}if(s||(s=(e.someProp("clipboardParser")||e.someProp("domParser")||ta.fromSchema(e.state.schema)).parseSlice(r,{preserveWhitespace:!!(l||p),context:o,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||oo.test(e.parentNode.nodeName)?null:{ignore:!0}})),p)s=function(e,t){if(!e.size)return e;let n=e.content.firstChild.type.schema,a;try{a=JSON.parse(t)}catch(t){return e}let{content:o,openStart:r,openEnd:s}=e;for(let e=a.length-2;e>=0;e-=2){let t=n.nodes[a[e]];if(!t||t.hasRequiredAttrs())break;try{t.checkAttrs(a[e+1])}catch(e){break}o=eA.from(t.create(a[e+1],o)),r++,s++}return new eP(o,r,s)}(ol(s,+p[1],+p[2]),p[4]);else if((s=eP.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let a=t.node(n).contentMatchAt(t.index(n)),o,r=[];if(e.forEach(e=>{if(!r)return;let t=a.findWrapping(e.type),n;if(!t)return r=null;if(n=r.length&&o.length&&function e(t,n,a,o,r){if(r<t.length&&r<n.length&&t[r]==n[r]){let s=e(t,n,a,o.lastChild,r+1);if(s)return o.copy(o.content.replaceChild(o.childCount-1,s));if(o.contentMatchAt(o.childCount).matchType(r==t.length-1?a.type:t[r+1]))return o.copy(o.content.append(eA.from(or(a,t,r+1))))}}(t,o,e,r[r.length-1],0))r[r.length-1]=n;else{r.length&&(r[r.length-1]=function e(t,n){if(0==n)return t;let a=t.content.replaceChild(t.childCount-1,e(t.lastChild,n-1)),o=t.contentMatchAt(t.childCount).fillBefore(eA.empty,!0);return t.copy(a.append(o))}(r[r.length-1],o.length));let n=or(e,t);r.push(n),a=a.matchType(n.type),o=t}}),r)return eA.from(r)}return e}(s.content,o),!0)).openStart||s.openEnd){let e=0,t=0;for(let t=s.content.firstChild;e<s.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=s.content.lastChild;t<s.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);s=ol(s,e,t)}return e.someProp("transformPasted",t=>{s=t(s,e,l)}),s}let oo=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function or(e,t,n=0){for(let a=t.length-1;a>=n;a--)e=t[a].create(null,eA.from(e));return e}
24function oi(e,t,n,a,o,r){let s=t<0?e.firstChild:e.lastChild,i=s.content;return e.childCount>1&&(r=0),o<a-1&&(i=oi(i,t,n,a,o+1,r)),o>=n&&(i=t<0?s.contentMatchAt(0).fillBefore(i,r<=o).append(i):i.append(s.contentMatchAt(s.childCount).fillBefore(eA.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(i))}function ol(e,t,n){return t<e.openStart&&(e=new eP(oi(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new eP(oi(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}let oc={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};function op(){return document.implementation.createHTMLDocument("title")}let od=null,ou={},om={},oh={touchstart:!0,touchmove:!0};class of{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function og(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function ob(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>ov(e,t))})}function ov(e,t){return e.someProp("handleDOMEvents",n=>{let a=n[t.type];return!!a&&(a(e,t)||t.defaultPrevented)})}function oy(e){return{left:e.clientX,top:e.clientY}}function oj(e,t,n,a,o){if(-1==a)return!1;let r=e.state.doc.resolve(a);for(let a=r.depth+1;a>0;a--)if(e.someProp(t,t=>a>r.depth?t(e,n,r.nodeAfter,r.before(a),o,!0):t(e,n,r.node(a),r.before(a),o,!1)))return!0;return!1}function ok(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let a=e.state.tr.setSelection(t);"pointer"==n&&a.setMeta("pointer",!0),e.dispatch(a)}function ow(e,t,n){let a=e.state.doc;if(-1==t)return a.inlineContent?t3.create(a,0,a.content.size):null;let o=a.resolve(t);for(let e=o.depth+1;e>0;e--){let t=e>o.depth?o.nodeAfter:o.node(e),r=o.before(e);if(t.inlineContent)return t3.create(a,r+1,r+1+t.content.size);if(n&&t9.isSelectable(t))return t9.create(a,r)}return null}om.keydown=(e,t)=>{if((e.input.shiftKey=16==t.keyCode||t.shiftKey,!oI(e))&&(e.input.lastKeyCode=t.keyCode,e.input.lastKeyCodeTime=Date.now(),!aa||!n9||13!=t.keyCode))if(229!=t.keyCode&&e.domObserver.forceFlush(),!ae||13!=t.keyCode||t.ctrlKey||t.altKey||t.metaKey)e.someProp("handleKeyDown",n=>n(e,t))||function(e,t){let n,a=t.keyCode,o=(n="",t.ctrlKey&&(n+="c"),t.metaKey&&(n+="m"),t.altKey&&(n+="a"),t.shiftKey&&(n+="s"),n);if(8==a||at&&72==a&&"c"==o)return oe(e,-1)||a3(e,-1);if(46==a&&!t.shiftKey||at&&68==a&&"c"==o)return oe(e,1)||a3(e,1);if(13==a||27==a)return!0;if(37==a||at&&66==a&&"c"==o){let t=37==a?"ltr"==a8(e,e.state.selection.from)?-1:1:-1;return a6(e,t,o)||a3(e,t)}if(39==a||at&&70==a&&"c"==o){let t=39==a?"ltr"==a8(e,e.state.selection.from)?1:-1:1;return a6(e,t,o)||a3(e,t)}else if(38==a||at&&80==a&&"c"==o)return a7(e,-1,o)||a3(e,-1);else if(40==a||at&&78==a&&"c"==o)return function(e){if(!n7||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;ot(e,n,"true"),setTimeout(()=>ot(e,n,"false"),20)}return!1}(e)||a7(e,1,o)||a3(e,1);else if(o==(at?"m":"c")&&(66==a||73==a||89==a||90==a))return!0;return!1}(e,t)?t.preventDefault():og(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",t=>t(e,nQ(13,"Enter"))),e.input.lastIOSEnter=0)},200)}},om.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},om.keypress=(e,t)=>{if(oI(e)||!t.charCode||t.ctrlKey&&!t.altKey||at&&t.metaKey)return;if(e.someProp("handleKeyPress",n=>n(e,t)))return void t.preventDefault();let n=e.state.selection;if(!(n instanceof t3)||!n.$from.sameParent(n.$to)){let a=String.fromCharCode(t.charCode),o=()=>e.state.tr.insertText(a).scrollIntoView();/[\r\n]/.test(a)||e.someProp("handleTextInput",t=>t(e,n.$from.pos,n.$to.pos,a,o))||e.dispatch(o()),t.preventDefault()}};let o_=at?"metaKey":"ctrlKey";ou.mousedown=(e,t)=>{var n;let a,o;e.input.shiftKey=t.shiftKey;let r=oA(e),s=Date.now(),i="singleClick";
24s-e.input.lastClick.time<500&&(a=(n=e.input.lastClick).x-t.clientX)*a+(o=n.y-t.clientY)*o<100&&!t[o_]&&e.input.lastClick.button==t.button&&("singleClick"==e.input.lastClick.type?i="doubleClick":"doubleClick"==e.input.lastClick.type&&(i="tripleClick")),e.input.lastClick={time:s,x:t.clientX,y:t.clientY,type:i,button:t.button},e.input.mouseDown&&e.input.mouseDown.done();let l=e.posAtCoords(oy(t));l&&("singleClick"==i?e.input.mouseDown=new oD(e,l,t,!!r):("doubleClick"==i?function(e,t,n,a){return oj(e,"handleDoubleClickOn",t,n,a)||e.someProp("handleDoubleClick",n=>n(e,t,a))}:function(e,t,n,a){return oj(e,"handleTripleClickOn",t,n,a)||e.someProp("handleTripleClick",n=>n(e,t,a))||function(e,t,n){if(0!=n.button)return!1;let a=ow(e,t,!0),o=e.state.doc;return!!a&&(ok(e,a,"pointer"),a instanceof t3&&o.eq(e.state.doc)&&(e.input.mouseDown=new oT(e,a)),!0)}(e,n,a)})(e,l.pos,l.inside,t)?t.preventDefault():og(e,"pointer"))};class oE{constructor(e){this.view=e,this.mightDrag=null,e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this))}up(e){this.done()}move(e){0==e.buttons&&this.done()}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.view.input.mouseDown==this&&(this.view.input.mouseDown=null)}delaySelUpdate(){return!1}}class oD extends oE{constructor(e,t,n,a){let o,r;if(super(e),this.pos=t,this.event=n,this.flushed=a,this.delayedSelectionSync=!1,this.startDoc=e.state.doc,this.selectNode=!!n[o_],this.allowDefault=n.shiftKey,t.inside>-1)o=e.state.doc.nodeAt(t.inside),r=t.inside;else{let n=e.state.doc.resolve(t.pos);o=n.parent,r=n.depth?n.before():0}const s=a?null:n.target,i=s?e.docView.nearestDesc(s,!0):null;this.target=i&&1==i.nodeDOM.nodeType?i.nodeDOM:null;let{selection:l}=e.state;0==n.button&&(o.type.spec.draggable&&!1!==o.type.spec.selectable||l instanceof t9&&l.from<=r&&l.to>r)&&(this.mightDrag={node:o,pos:r,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&n3&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),og(e,"pointer")}done(){super.done(),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>{this.view.isDestroyed||aq(this.view)})}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;if(this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(oy(e))),this.updateAllowDefault(e),this.allowDefault||!t)og(this.view,"pointer");else{var n,a,o,r;(n=this.view,a=t.pos,o=t.inside,r=this.selectNode,oj(n,"handleClickOn",a,o,e)||n.someProp("handleClick",t=>t(n,a,e))||(r?function(e,t){if(-1==t)return!1;let n=e.state.selection,a,o;n instanceof t9&&(a=n.node);let r=e.state.doc.resolve(t);for(let e=r.depth+1;e>0;e--){let t=e>r.depth?r.nodeAfter:r.node(e);if(t9.isSelectable(t)){o=a&&n.$from.depth>0&&e>=n.$from.depth&&r.before(n.$from.depth+1)==n.$from.pos?r.before(n.$from.depth):r.before(e);break}}return null!=o&&(ok(e,t9.create(e.state.doc,o),"pointer"),!0)}(n,o):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),a=n.nodeAfter;return!!(a&&a.isAtom&&t9.isSelectable(a))&&(ok(e,new t9(n),"pointer"),!0)}(n,o)))?e.preventDefault():0==e.button&&(this.flushed||n7&&this.mightDrag&&!this.mightDrag.node.isAtom||n9&&!this.view.state.selection.visible&&2>=Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to)))?(ok(this.view,t1.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):og(this.view,"pointer")}}move(e){this.updateAllowDefault(e),og(this.view,"pointer"),super.move(e)}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}delaySelUpdate(){return!!this.allowDefault&&(this.delayedSelectionSync=!0,!0)}}class oT extends oE{constructor(e,t){super(e),this.startSelection=t,this.startDoc=e.state.doc}move(e){if(0==e.buttons||this.view.isDestroyed||!this.view.state.doc.eq(this.startDoc))return void this.done();e.preventDefault(),og(this.view,"pointer");let t=this.view.posAtCoords(oy(e)),n=t&&ow(this.view,t.inside,!1);if(!n)return;let{doc:a}=this.view.state,o=this.startSelection,[r,s]=n.from<o.from?[o.to,n.from]:[o.from,n.to];ok(this.view,t3.create(a,r,s),"pointer")}}function oI(e,t){return!!e.composing||!!(n7&&500>Math.abs(Date.now()-e.input.compositionEndedAt))&&(e.input.compositionEndedAt=-2e8,!0)}ou.touchstart=e=>{e.input.lastTouch=Date.now(),oA(e),og(e,"pointer")},ou.touchmove=e=>{e.input.lastTouch=Date.now(),og(e,"pointer")},ou.contextmenu=e=>oA(e);let ox=aa?5e3:-1;function oC(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>
24oA(e),t))}function oS(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function oA(e,t=!1){if(!aa||!(e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),oS(e),t||e.docView&&e.docView.dirty){let n=az(e),a=e.state.selection;return n&&!n.eq(a)?e.dispatch(e.state.tr.setSelection(n)):(e.markCursor||t)&&!a.$from.node(a.$from.sharedDepth(a.to)).inlineContent?e.dispatch(e.state.tr.deleteSelection()):e.updateState(e.state),!0}return!1}}om.compositionstart=om.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof t3&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>!1===e.type.spec.inclusive)||n9&&an&&function(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||1!=t.nodeType||n>=t.childNodes.length)return!1;let a=t.childNodes[n];return 1==a.nodeType&&"false"==a.contentEditable}(e)))e.markCursor=e.state.storedMarks||n.marks(),oA(e,!0),e.markCursor=null;else if(oA(e,!t.selection.empty),n3&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,a=t.focusOffset;n&&1==n.nodeType&&0!=a;){let t=a<0?n.lastChild:n.childNodes[a-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,a=-1}}e.input.composing=!0}oC(e,ox)},om.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now(),e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,oC(e,20))};let oN=n4&&n2<15||ae&&ar<604;function oM(e,t,n,a,o){let r=oa(e,t,n,a,e.state.selection.$from);if(e.someProp("handlePaste",t=>t(e,o,r||eP.empty)))return!0;if(!r)return!1;let s=0==r.openStart&&0==r.openEnd&&1==r.content.childCount?r.content.firstChild:null,i=s?e.state.tr.replaceSelectionWith(s,a):e.state.tr.replaceSelection(r);return e.dispatch(i.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function oO(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}ou.copy=om.cut=(e,t)=>{let n=e.state.selection,a="cut"==t.type;if(n.empty)return;let o=oN?null:t.clipboardData,{dom:r,text:s}=on(e,n.content());o?(t.preventDefault(),o.clearData(),o.setData("text/html",r.innerHTML),o.setData("text/plain",s)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let a=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),a.removeAllRanges(),a.addRange(o),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}(e,r),a&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},om.paste=(e,t)=>{if(e.composing&&!aa)return;let n=oN?null:t.clipboardData,a=e.input.shiftKey&&45!=e.input.lastKeyCode;n&&oM(e,oO(n),n.getData("text/html"),a,t)?t.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,a=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(a.contentEditable="true"),a.style.cssText="position: fixed; left: -10000px; top: 10px",a.focus();let o=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout(()=>{e.focus(),a.parentNode&&a.parentNode.removeChild(a),n?oM(e,a.value,null,o,t):oM(e,a.textContent,a.innerHTML,o,t)},50)}(e,t)};class oR{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}let oF=at?"altKey":"ctrlKey";function oP(e,t){let n;return e.someProp("dragCopies",e=>{n=n||e(t)}),null!=n?!n:!t[oF]}for(let e in ou.dragstart=(e,t)=>{let n,a=e.input.mouseDown;if(a&&a.done(),!t.dataTransfer)return;let o=e.state.selection,r=o.empty?null:e.posAtCoords(oy(t));if(r&&r.pos>=o.from&&r.pos<=(o instanceof t9?o.to-1:o.to));else if(a&&a.mightDrag)n=t9.create(e.state.doc,a.mightDrag.pos);else if(t.target&&1==t.target.nodeType){let a=e.docView.nearestDesc(t.target,!0);a&&a.node.type.spec.draggable&&a!=e.docView&&(n=t9.create(e.state.doc,a.posBefore))}
vendor: 4,378 bytes, line 24
24let s=(n||e.state.selection).content(),{dom:i,text:l,slice:c}=on(e,s);t.dataTransfer.files.length&&n9&&!(n8>120)||t.dataTransfer.clearData(),t.dataTransfer.setData(oN?"Text":"text/html",i.innerHTML),t.dataTransfer.effectAllowed="copyMove",oN||t.dataTransfer.setData("text/plain",l),e.dragging=new oR(c,oP(e,t),n)},ou.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},om.dragover=om.dragenter=(e,t)=>t.preventDefault(),om.drop=(e,t)=>{try{!function(e,t,n){if(!t.dataTransfer)return;let a=e.posAtCoords(oy(t));if(!a)return;let o=e.state.doc.resolve(a.pos),r=n&&n.slice;r?e.someProp("transformPasted",t=>{r=t(r,e,!1)}):r=oa(e,oO(t.dataTransfer),oN?null:t.dataTransfer.getData("text/html"),!1,o);let s=!!(n&&oP(e,t));if(e.someProp("handleDrop",n=>n(e,t,r||eP.empty,s)))return t.preventDefault();if(!r)return;t.preventDefault();let i=r?tU(e.state.doc,o.pos,r):o.pos;null==i&&(i=o.pos);let l=e.state.tr;if(s){let{node:e}=n;e?e.replace(l):l.deleteSelection()}let c=l.mapping.map(i),p=0==r.openStart&&0==r.openEnd&&1==r.content.childCount,d=l.doc;if(p?l.replaceRangeWith(c,c,r.content.firstChild):l.replaceRange(c,c,r),l.doc.eq(d))return;let u=l.doc.resolve(c);if(p&&t9.isSelectable(r.content.firstChild)&&u.nodeAfter&&u.nodeAfter.sameMarkup(r.content.firstChild))l.setSelection(new t9(u));else{let t=l.mapping.map(i);l.mapping.maps[l.mapping.maps.length-1].forEach((e,n,a,o)=>t=o),l.setSelection(aX(e,u,l.doc.resolve(t)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))}(e,t,e.dragging)}finally{e.dragging=null}},ou.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&aq(e)},20))},ou.blur=(e,t)=>{e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),t.relatedTarget&&e.dom.contains(t.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},ou.beforeinput=(e,t)=>{if(aa&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",t=>t(e,nQ(8,"Backspace")))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}},om)ou[e]=om[e];function oL(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class oB{constructor(e,t){this.toDOM=e,this.spec=t||oq,this.side=this.spec.side||0}map(e,t,n,a){let{pos:o,deleted:r}=e.mapResult(t.from+a,this.side<0?-1:1);return r?null:new oz(o-n,o-n,this)}valid(){return!0}eq(e){return this==e||e instanceof oB&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&oL(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class oH{constructor(e,t){this.attrs=e,this.spec=t||oq}map(e,t,n,a){let o=e.map(t.from+a,this.spec.inclusiveStart?-1:1)-n,r=e.map(t.to+a,this.spec.inclusiveEnd?1:-1)-n;return o>=r?null:new oz(o,r,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof oH&&oL(this.attrs,e.attrs)&&oL(this.spec,e.spec)}static is(e){return e.type instanceof oH}destroy(){}}class oU{constructor(e,t){this.attrs=e,this.spec=t||oq}map(e,t,n,a){let o=e.mapResult(t.from+a,1);if(o.deleted)return null;let r=e.mapResult(t.to+a,-1);return r.deleted||r.pos<=o.pos?null:new oz(o.pos-n,r.pos-n,this)}valid(e,t){let{index:n,offset:a}=e.content.findIndex(t.from),o;return a==t.from&&!(o=e.child(n)).isText&&a+o.nodeSize==t.to}eq(e){return this==e||e instanceof oU&&oL(this.attrs,e.attrs)&&oL(this.spec,e.spec)}destroy(){}}class oz{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new oz(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new oz(e,e,new oB(t,n))}static inline(e,t,n,a){return new oz(e,t,new oH(n,a))}static node(e,t,n,a){return new oz(e,t,new oU(n,a))}get spec(){return this.type.spec}get inline(){return this.type instanceof oH}get widget(){return this.type instanceof oB}}let o$=[],oq={};class oV{constructor(e,t){this.local=e.length?e:o$,this.children=t.length?t:o$}static create(e,t){return t.length?oX(t,e,0,oq):oW}
vendor: 4,097 bytes, line 24
24find(e,t,n){let a=[];return this.findInner(null==e?0:e,null==t?1e9:t,a,0,n),a}findInner(e,t,n,a,o){for(let r=0;r<this.local.length;r++){let s=this.local[r];s.from<=t&&s.to>=e&&(!o||o(s.spec))&&n.push(s.copy(s.from+a,s.to+a))}for(let r=0;r<this.children.length;r+=3)if(this.children[r]<t&&this.children[r+1]>e){let s=this.children[r]+1;this.children[r+2].findInner(e-s,t-s,n,a+s,o)}}map(e,t,n){return this==oW||0==e.maps.length?this:this.mapInner(e,t,0,0,n||oq)}mapInner(e,t,n,a,o){let r;for(let s=0;s<this.local.length;s++){let i=this.local[s].map(e,n,a);i&&i.type.valid(t,i)?(r||(r=[])).push(i):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?function(e,t,n,a,o,r,s){let i=e.slice();for(let e=0,t=r;e<n.maps.length;e++){let a=0;n.maps[e].forEach((e,n,o,r)=>{let s=r-o-(n-e);for(let o=0;o<i.length;o+=3){let r=i[o+1];if(r<0||e>r+t-a)continue;let l=i[o]+t-a;n>=l?i[o+1]=e<=l?-2:-1:e>=t&&s&&(i[o]+=s,i[o+1]+=s)}a+=s}),t=n.maps[e].map(t,-1)}let l=!1;for(let t=0;t<i.length;t+=3)if(i[t+1]<0){if(-2==i[t+1]){l=!0,i[t+1]=-1;continue}let c=n.map(e[t]+r),p=c-o;if(p<0||p>=a.content.size){l=!0;continue}let d=n.map(e[t+1]+r,-1)-o,{index:u,offset:m}=a.content.findIndex(p),h=a.maybeChild(u);if(h&&m==p&&m+h.nodeSize==d){let a=i[t+2].mapInner(n,h,c+1,e[t]+r+1,s);a!=oW?(i[t]=p,i[t+1]=d,i[t+2]=a):(i[t+1]=-2,l=!0)}else l=!0}if(l){let l=oX(function(e,t,n,a,o,r,s){for(let i=0;i<e.length;i+=3)-1==e[i+1]&&function e(t,r){for(let e=0;e<t.local.length;e++){let i=t.local[e].map(a,o,r);i?n.push(i):s.onRemove&&s.onRemove(t.local[e].spec)}for(let n=0;n<t.children.length;n+=3)e(t.children[n+2],t.children[n]+r+1)}(e[i+2],t[i]+r+1);return n}(i,e,t,n,o,r,s),a,0,s);t=l.local;for(let e=0;e<i.length;e+=3)i[e+1]<0&&(i.splice(e,3),e-=3);for(let e=0,t=0;e<l.children.length;e+=3){let n=l.children[e];for(;t<i.length&&i[t]<n;)t+=3;i.splice(t,0,l.children[e],l.children[e+1],l.children[e+2])}}return new oV(t.sort(oJ),i)}(this.children,r||[],e,t,n,a,o):r?new oV(r.sort(oJ),o$):oW}add(e,t){return t.length?this==oW?oV.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let a,o=0;e.forEach((e,r)=>{let s=r+n,i;if(i=oK(t,e,s)){for(a||(a=this.children.slice());o<a.length&&a[o]<r;)o+=3;a[o]==r?a[o+2]=a[o+2].addInner(e,i,s+1):a.splice(o,0,r,r+e.nodeSize,oX(i,e,s+1,oq)),o+=3}});let r=oY(o?oQ(t):t,-n);for(let t=0;t<r.length;t++)r[t].type.valid(e,r[t])||r.splice(t--,1);return new oV(r.length?this.local.concat(r).sort(oJ):this.local,a||this.children)}remove(e){return 0==e.length||this==oW?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,a=this.local;for(let a=0;a<n.length;a+=3){let o,r=n[a]+t,s=n[a+1]+t;for(let t=0,n;t<e.length;t++)(n=e[t])&&n.from>r&&n.to<s&&(e[t]=null,(o||(o=[])).push(n));if(!o)continue;n==this.children&&(n=this.children.slice());let i=n[a+2].removeInner(o,r+1);i!=oW?n[a+2]=i:(n.splice(a,3),a-=3)}if(a.length){for(let n=0,o;n<e.length;n++)if(o=e[n])for(let e=0;e<a.length;e++)a[e].eq(o,t)&&(a==this.local&&(a=this.local.slice()),a.splice(e--,1))}return n==this.children&&a==this.local?this:a.length||n.length?new oV(a,n):oW}forChild(e,t){let n,a;if(this==oW)return this;if(t.isLeaf)return oV.empty;for(let t=0;t<this.children.length;t+=3)if(this.children[t]>=e){this.children[t]==e&&(n=this.children[t+2]);break}let o=e+1,r=o+t.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<r&&t.to>o&&t.type instanceof oH){let e=Math.max(o,t.from)-o,n=Math.min(r,t.to)-o;e<n&&(a||(a=[])).push(t.copy(e,n))}}if(a){let e=new oV(a.sort(oJ),o$);return n?new oG([e,n]):e}return n||oW}eq(e){if(this==e)return!0;if(!(e instanceof oV)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return oZ(this.localsInner(e))}localsInner(e){if(this==oW)return o$;if(e.inlineContent||!this.local.some(oH.is))return this.local;let t=[];for(let e=0;e<this.local.length;
vendor: 5,076 bytes, line 24
24e++)this.local[e].type instanceof oH||t.push(this.local[e]);return t}forEachSet(e){e(this)}}oV.empty=new oV([],[]),oV.removeOverlap=oZ;let oW=oV.empty;class oG{constructor(e){this.members=e}map(e,t){let n=this.members.map(n=>n.map(e,t,oq));return oG.from(n)}forChild(e,t){if(t.isLeaf)return oV.empty;let n=[];for(let a=0;a<this.members.length;a++){let o=this.members[a].forChild(e,t);o!=oW&&(o instanceof oG?n=n.concat(o.members):n.push(o))}return oG.from(n)}eq(e){if(!(e instanceof oG)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let a=0;a<this.members.length;a++){let o=this.members[a].localsInner(e);if(o.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<o.length;e++)t.push(o[e])}else t=o}return t?oZ(n?t:t.sort(oJ)):o$}static from(e){switch(e.length){case 0:return oW;case 1:return e[0];default:return new oG(e.every(e=>e instanceof oV)?e:e.reduce((e,t)=>e.concat(t instanceof oV?t:t.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function oY(e,t){if(!t||!e.length)return e;let n=[];for(let a=0;a<e.length;a++){let o=e[a];n.push(new oz(o.from+t,o.to+t,o.type))}return n}function oK(e,t,n){if(t.isLeaf)return null;let a=n+t.nodeSize,o=null;for(let t=0,r;t<e.length;t++)(r=e[t])&&r.from>n&&r.to<a&&((o||(o=[])).push(r),e[t]=null);return o}function oQ(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function oX(e,t,n,a){let o=[],r=!1;t.forEach((t,s)=>{let i=oK(e,t,s+n);if(i){r=!0;let e=oX(i,t,n+s+1,a);e!=oW&&o.push(s,s+t.nodeSize,e)}});let s=oY(r?oQ(e):e,-n).sort(oJ);for(let e=0;e<s.length;e++)s[e].type.valid(t,s[e])||(a.onRemove&&a.onRemove(s[e].spec),s.splice(e--,1));return s.length||o.length?new oV(s,o):oW}function oJ(e,t){return e.from-t.from||e.to-t.to}function oZ(e){let t=e;for(let n=0;n<t.length-1;n++){let a=t[n];if(a.from!=a.to)for(let o=n+1;o<t.length;o++){let r=t[o];if(r.from==a.from){r.to!=a.to&&(t==e&&(t=e.slice()),t[o]=r.copy(r.from,a.to),o0(t,o+1,r.copy(a.to,r.to)));continue}r.from<a.to&&(t==e&&(t=e.slice()),t[n]=a.copy(a.from,r.from),o0(t,o,a.copy(r.from,a.to)));break}}return t}function o0(e,t,n){for(;t<e.length&&oJ(n,e[t])>0;)t++;e.splice(t,0,n)}function o1(e){let t=[];return e.someProp("decorations",n=>{let a=n(e.state);a&&a!=oW&&t.push(a)}),e.cursorWrapper&&t.push(oV.create(e.state.doc,[e.cursorWrapper.deco])),oG.from(t)}let o6={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},o4=n4&&n2<=11;class o2{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class o3{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new o2,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e]);n4&&n2<=11&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():n7&&e.composing&&t.some(e=>"childList"==e.type&&"TR"==e.target.nodeName)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),o4&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,o6)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(aJ(this.view)){if(this.suppressingSelectionUpdates)return aq(this.view);if(n4&&n2<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();
24if(e.focusNode&&nq(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,n;for(let n=e.focusNode;n;n=nH(n))t.add(n);for(let a=e.anchorNode;a;a=nH(a))if(t.has(a)){n=a;break}let a=n&&this.view.docView.nearestDesc(n);if(a&&a.ignoreMutation({type:"selection",target:3==n.nodeType?n.parentNode:n}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){var e;let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let a=t.domSelectionRange(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(a)&&aJ(t)&&!this.ignoreSelectionChange(a),r=-1,s=-1,i=!1,l=[];if(t.editable)for(let e=0;e<n.length;e++){let t=this.registerMutation(n[e],l);t&&(r=r<0?t.from:Math.min(t.from,r),s=s<0?t.to:Math.max(t.to,s),t.typeOver&&(i=!0))}if(l.some(e=>"BR"==e.nodeName)&&(8==t.input.lastKeyCode||46==t.input.lastKeyCode||n9&&(t.composing||t.input.compositionEndedAt>Date.now()-50)&&n.some(e=>"childList"==e.type&&e.removedNodes.length))){for(let e of l)if("BR"==e.nodeName&&e.parentNode){let t=e.nextSibling;for(;t&&1==t.nodeType;){if("false"==t.contentEditable){e.parentNode.removeChild(e);break}t=t.firstChild}}}else if(n3&&l.length){let e=l.filter(e=>"BR"==e.nodeName);if(2==e.length){let[t,n]=e;t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}else{let{focusNode:n}=this.currentSelection;for(let a of e){let e=a.parentNode;e&&"LI"==e.nodeName&&(!n||function(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}(t,n)!=e)&&a.remove()}}}let c=null;r<0&&o&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)<Date.now()-300&&nK(a)&&(c=az(t))&&c.eq(t1.near(t.state.doc.resolve(0),1))?(t.input.lastFocus=0,aq(t),this.currentSelection.set(a),t.scrollToSelection()):(r>-1||o)&&(r>-1&&(t.docView.markDirty(r,s),e=t,!o5.has(e)&&(o5.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace))&&(e.requiresGeckoHackNode=n3,o9||(console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),o9=!0))),t.input.badSafariComposition&&(t.input.badSafariComposition=!1,function(e,t){var n;let{focusNode:a,focusOffset:o}=e.domSelectionRange();for(let r of t)if((null==(n=r.parentNode)?void 0:n.nodeName)=="TR"){let t=r.nextSibling;for(;t&&"TD"!=t.nodeName&&"TH"!=t.nodeName;)t=t.nextSibling;if(t){let n=t;for(;;){let e=n.firstChild;if(!e||1!=e.nodeType||"false"==e.contentEditable||/^(BR|IMG)$/.test(e.nodeName))break;n=e}n.insertBefore(r,n.firstChild),a==r&&e.domSelection().collapse(r,o)}else r.parentNode.removeChild(r)}}(t,l)),this.handleDOMChange(r,s,i,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(a)||aq(t),this.currentSelection.set(a))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style"))||!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++){let a=e.addedNodes[n];t.push(a),3==a.nodeType&&(this.lastChangedTextNode=a)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let a=e.previousSibling,o=e.nextSibling;if(n4&&n2<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:r}=e.addedNodes[t];(!n||0>Array.prototype.indexOf.call(e.addedNodes,n))&&(a=n),(!r||0>Array.prototype.indexOf.call(e.addedNodes,r))&&(o=r)}let r=a&&a.parentNode==e.target?nB(a)+1:0,s=n.localPosFromDOM(e.target,r,-1),i=o&&o.parentNode==e.target?nB(o):e.target.childNodes.length;return{from:s,to:n.localPosFromDOM(e.target,i,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let o5=new WeakMap,o9=!1;function o8(e,t){let n=t.startContainer,a=t.startOffset,o=t.endContainer,r=t.endOffset,s=e.domAtPos(e.state.selection.anchor);return nq(s.node,s.offset,o,r)&&([n,a,o,r]=[o,r,n,a]),{anchorNode:n,anchorOffset:a,focusNode:o,focusOffset:r}}let o7=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;
vendor: 1,307 bytes, line 24
24function re(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:aX(e,t.resolve(n.anchor),t.resolve(n.head))}function rt(e,t,n){let a=e.depth,o=t?e.end():e.pos;for(;a>0&&(t||e.indexAfter(a)==e.node(a).childCount);)a--,o++,t=!1;if(n){let t=e.node(a).maybeChild(e.indexAfter(a));for(;t&&!t.isLeaf;)t=t.firstChild,o++}return o}class rn{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new of,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(ri),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=rr(this),ro(this),this.nodeViews=rs(this),this.docView=ax(this.state.doc,ra(this),o1(this),this.dom,this),this.domObserver=new o3(this,(e,t,n,a)=>(function(e,t,n,a,o){let r,s,i,l=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=az(e,t);
24if(n&&!e.state.selection.eq(n)){if(n9&&aa&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",t=>t(e,nQ(13,"Enter"))))return;let a=e.state.tr.setSelection(n);"pointer"==t?a.setMeta("pointer",!0):"key"==t&&a.scrollIntoView(),l&&a.setMeta("composition",l),e.dispatch(a)}return}let c=e.state.doc.resolve(t),p=c.sharedDepth(n);t=c.before(p+1),n=e.state.doc.resolve(n).after(p+1);let d=e.state.selection,u=function(e,t,n,a){let o,r,{node:s,fromOffset:i,toOffset:l,from:c,to:p}=e.docView.parseRange(t,n),d=e.domSelectionRange(),u=d.anchorNode;if(u&&e.dom.contains(1==u.nodeType?u:u.parentNode)&&(r=[{node:u,offset:d.anchorOffset}],nK(d)||r.push({node:d.focusNode,offset:d.focusOffset})),n9&&8===e.input.lastKeyCode)for(let e=l;e>i;e--){let t=s.childNodes[e-1],n=t.pmViewDesc;if("BR"==t.nodeName&&!n){l=e;break}if(!n||n.size)break}let m=e.state.doc,h=e.someProp("domParser")||ta.fromSchema(e.state.schema),f=m.resolve(c),g=null,b=h.parse(s,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:i,to:l,preserveWhitespace:"pre"!=f.parent.type.whitespace||"full",findPositions:r,ruleFromNode:(o=a,e=>{let t=e.pmViewDesc;if(t)return t.parseRule(o);if("BR"==e.nodeName&&e.parentNode){if(n7&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}else if(e.parentNode.lastChild==e||n7&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}),context:f});if(r&&null!=r[0].pos){let e=r[0].pos,t=r[1]&&r[1].pos;null==t&&(t=e),g={anchor:e+c,head:t+c}}return{doc:b,sel:g,from:c,to:p}}(e,t,n,o),m=e.state.doc,h=m.slice(u.from,u.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(r=e.state.selection.to,s="end"):(r=e.state.selection.from,s="start"),e.input.lastKeyCode=null;let f=function(e,t,n,a,o){let r=e.findDiffStart(t,n),s=n+e.size,i=n+t.size;if(null==r)return null;let{a:l,b:c}=e.findDiffEnd(t,s,i);if("end"==o){let e=Math.max(0,r-Math.min(l,c));a-=l+e-r}if(l<r&&s<i){let e=a<=r&&a>=l?r-a:0;r-=e,c=r+(c-l),l=r}else if(c<r){let e=a<=r&&a>=c?r-a:0;r-=e,l=r+(l-c),c=r}return{start:r,endA:l,endB:c}}(h.content,u.doc.content,u.from,r,s);if(f&&e.input.domChangeCount++,(ae&&e.input.lastIOSEnter>Date.now()-225||aa)&&o.some(e=>1==e.nodeType&&!o7.test(e.nodeName))&&(!f||f.endA>=f.endB)&&e.someProp("handleKeyDown",t=>t(e,nQ(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!f)if(a&&d instanceof t3&&!d.empty&&d.$head.sameParent(d.$anchor)&&!e.composing&&!(u.sel&&u.sel.anchor!=u.sel.head))f={start:d.from,endA:d.to,endB:d.to};else{if(u.sel){let t=re(e,e.state.doc,u.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);l&&n.setMeta("composition",l),e.dispatch(n)}}return}e.state.selection.from<e.state.selection.to&&f.start==f.endB&&e.state.selection instanceof t3&&(f.start>e.state.selection.from&&f.start<=e.state.selection.from+2&&e.state.selection.from>=u.from?f.start=e.state.selection.from:f.endA<e.state.selection.to&&f.endA>=e.state.selection.to-2&&e.state.selection.to<=u.to&&(f.endB+=e.state.selection.to-f.endA,f.endA=e.state.selection.to)),n4&&n2<=11&&f.endB==f.start+1&&f.endA==f.start&&f.start>u.from&&" Â "==u.doc.textBetween(f.start-u.from-1,f.start-u.from+1)&&(f.start--,f.endA--,f.endB--);let g=u.doc.resolveNoCache(f.start-u.from),b=u.doc.resolveNoCache(f.endB-u.from),v=m.resolve(f.start),y=g.sameParent(b)&&g.parent.inlineContent&&v.end()>=f.endA;if((ae&&e.input.lastIOSEnter>Date.now()-225&&(!y||o.some(e=>"DIV"==e.nodeName||"P"==e.nodeName))||!y&&g.pos<u.doc.content.size&&(!g.sameParent(b)||!g.parent.inlineContent)&&g.pos<b.pos&&!/\S/.test(u.doc.textBetween(g.pos,b.pos,"","")))&&e.someProp("handleKeyDown",t=>t(e,nQ(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>f.start&&function(e,t,n,a,o){if(n-t<=o.pos-a.pos||rt(a,!0,!1)<o.pos)return!1;let r=e.resolve(t);if(!a.parent.isTextblock){let e=r.nodeAfter;return null!=e&&n==t+e.nodeSize}if(r.parentOffset<r.parent.content.size||!r.parent.isTextblock)return!1;let s=e.resolve(rt(r,!0,!0));return!(!s.parent.isTextblock||s.pos>n||rt(s,!0,!1)<n)&&a.parent.content.cut(a.parentOffset).eq(s.parent.content)}(m,f.start,f.endA,g,b)&&e.someProp("handleKeyDown",t=>t(e,nQ(8,"Backspace")))){aa&&n9&&e.domObserver.suppressSelectionUpdates();return}
vendor: 5,055 bytes, line 24
24n9&&f.endB==f.start&&(e.input.lastChromeDelete=Date.now()),aa&&!y&&g.start()!=b.start()&&0==b.parentOffset&&g.depth==b.depth&&u.sel&&u.sel.anchor==u.sel.head&&u.sel.head==f.endA&&(f.endB-=2,b=u.doc.resolveNoCache(f.endB-u.from),setTimeout(()=>{e.someProp("handleKeyDown",function(t){return t(e,nQ(13,"Enter"))})},20));let j=f.start,k=f.endA,w=t=>{let n=t||e.state.tr.replace(j,k,u.doc.slice(f.start-u.from,f.endB-u.from));if(u.sel){let t=re(e,n.doc,u.sel);t&&!(n9&&e.composing&&t.empty&&(f.start!=f.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==j||t.head==n.mapping.map(k)-1)||n4&&t.empty&&t.head==j)&&n.setSelection(t)}return l&&n.setMeta("composition",l),n.scrollIntoView()};if(y)if(g.pos==b.pos){n4&&n2<=11&&0==g.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>aq(e),20));let t=w(e.state.tr.delete(j,k)),n=m.resolve(f.start).marksAcross(m.resolve(f.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(f.endA==f.endB&&(i=function(e,t){let n=e.firstChild.marks,a=t.firstChild.marks,o=n,r=a,s,i,l;for(let e=0;e<a.length;e++)o=a[e].removeFromSet(o);for(let e=0;e<n.length;e++)r=n[e].removeFromSet(r);if(1==o.length&&0==r.length)i=o[0],s="add",l=e=>e.mark(i.addToSet(e.marks));else{if(0!=o.length||1!=r.length)return null;i=r[0],s="remove",l=e=>e.mark(i.removeFromSet(e.marks))}let c=[];for(let e=0;e<t.childCount;e++)c.push(l(t.child(e)));if(eA.from(c).eq(e))return{mark:i,type:s}}(g.parent.content.cut(g.parentOffset,b.parentOffset),v.parent.content.cut(v.parentOffset,f.endA-v.start())))){let t=w(e.state.tr);"add"==i.type?t.addMark(j,k,i.mark):t.removeMark(j,k,i.mark),e.dispatch(t)}else if(g.parent.child(g.index()).isText&&g.index()==b.index()-!b.textOffset){let t=g.parent.textBetween(g.parentOffset,b.parentOffset),n=()=>w(e.state.tr.insertText(t,j,k));e.someProp("handleTextInput",a=>a(e,j,k,t,n))||e.dispatch(n())}else e.dispatch(w());else e.dispatch(w())})(this,e,t,n,a)),this.domObserver.start(),function(e){for(let t in ou){let n=ou[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}(e,t)||ov(e,t)||!e.editable&&t.type in om||n(e,t)},oh[t]?{passive:!0}:void 0)}n7&&e.dom.addEventListener("input",()=>null),ob(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;for(let t in this._props={},e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&ob(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(ri),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];for(let n in t.state=this.state,e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n,a,o;let r=this.state,s=!1,i=!1;e.storedMarks&&this.composing&&(oS(this),i=!0),this.state=e;let l=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=rs(this);(function(e,t){let n=0,a=0;for(let a in e){if(e[a]!=t[a])return!0;n++}for(let e in t)a++;return n!=a})(e,this.nodeViews)&&(this.nodeViews=e,s=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&ob(this),this.editable=rr(this),ro(this);let c=o1(this),p=ra(this),d=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",u=s||!this.docView.matchesNode(e.doc,p,c);(u||!e.selection.eq(r.selection))&&(i=!0);let m="preserve"==d&&i&&null==this.dom.style.overflowAnchor&&function(e){let t,n,a=e.dom.getBoundingClientRect(),o=Math.max(0,a.top);for(let r=(a.left+a.right)/2,s=o+1;s<Math.min(innerHeight,a.bottom);s+=5){let a=e.root.elementFromPoint(r,s);if(!a||a==e.dom||!e.dom.contains(a))continue;let i=a.getBoundingClientRect();if(i.top>=o-20){t=a,n=i.top;break}}return{refDOM:t,refTop:n,stack:al(e.dom)}}(this);if(i){let t,n,i;this.domObserver.stop();let l=u&&(n4||n9)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&(a=r.selection,o=e.selection,i=Math.min(a.$anchor.sharedDepth(a.head),o.$anchor.sharedDepth(o.head)),a.$anchor.start(i)!=o.$anchor.start(i));if(u){let t=n9?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=function(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=nG(e=e.childNodes[t-1])}else{if(!e.parentNode||nY(e))return null;t=nB(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),a=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||nY(e))return null;t=nB(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);
24if(n&&a&&n!=a){let t=a.pmViewDesc,o=e.domObserver.lastChangedTextNode;if(n==o||a==o)return o;if(!t||!t.isText(a.nodeValue))return a;if(e.input.compositionNode==a){let e=n.pmViewDesc;if(!(!e||!e.isText(n.nodeValue)))return a}}return n||a}(this)),(s||!this.docView.update(e.doc,p,c,this))&&(this.docView.updateOuterDeco(p),this.docView.destroy(),this.docView=ax(e.doc,p,c,this.dom,this)),!t||this.trackWrites&&this.dom.contains(this.trackWrites)||(l=!0)}let d=this.input.mouseDown;l||!(d&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&(t=this.docView.domFromPos(this.state.selection.anchor,0),n=this.domSelectionRange(),nq(t.node,t.offset,n.anchorNode,n.anchorOffset))&&d.delaySelUpdate())?aq(this,l):(aK(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null==(n=this.dragging)?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==d?this.dom.scrollTop=0:"to selection"==d?this.scrollToSelection():m&&function({refDOM:e,refTop:t,stack:n}){let a=e?e.getBoundingClientRect().top:0;ac(n,0==a?0:a-t)}(m)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&this.dom.contains(1==e.nodeType?e:e.parentNode))if(this.someProp("handleScrollToSelection",e=>e(this)));else if(this.state.selection instanceof t9){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&ai(this,t.getBoundingClientRect(),e)}else ai(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,a=-1;if(n.from<this.state.doc.content.size&&this.state.doc.nodeAt(n.from)==n.node)a=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&e<this.state.doc.content.size&&this.state.doc.nodeAt(e))==n.node&&(a=e)}this.dragging=new oR(e.slice,e.move,a<0?void 0:t9.create(this.state.doc,a))}someProp(e,t){let n=this._props&&this._props[e],a;if(null!=n&&(a=t?t(n):n))return a;for(let n=0;n<this.directPlugins.length;n++){let o=this.directPlugins[n].props[e];if(null!=o&&(a=t?t(o):o))return a}let o=this.state.plugins;if(o)for(let n=0;n<o.length;n++){let r=o[n].props[e];if(null!=r&&(a=t?t(r):r))return a}}hasFocus(){if(n4){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(ap)return e.focus(ap);let t=al(e);e.focus(null==ap?{get preventScroll(){return ap={preventScroll:!0},!0}}:void 0),ap||(ap=!1,ac(t,0))}(this.dom),aq(this),this.domObserver.start()}get root(){let e=this._root;if(null==e){for(let e=this.dom.parentNode;e;e=e.parentNode)if(9==e.nodeType||11==e.nodeType&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e}return e||document}updateRoot(){this._root=null}posAtCoords(e){return function(e,t){var n;let a,o,r=e.dom.ownerDocument,s,i=0,l=function(e,t,n){if(e.caretPositionFromPoint)try{let a=e.caretPositionFromPoint(t,n);if(a)return{node:a.offsetNode,offset:Math.min(nG(a.offsetNode),a.offset)}}catch(e){}if(e.caretRangeFromPoint){let a=e.caretRangeFromPoint(t,n);if(a)return{node:a.startContainer,offset:Math.min(nG(a.startContainer),a.startOffset)}}}(r,t.left,t.top);l&&({node:s,offset:i}=l);let c=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!c||!e.dom.contains(1!=c.nodeType?c.parentNode:c)){let n=e.dom.getBoundingClientRect();if(!ad(t,n)||!(c=function e(t,n,a){let o=t.childNodes.length;if(o&&a.top<a.bottom)for(let r=Math.max(0,Math.min(o-1,Math.floor(o*(n.top-a.top)/(a.bottom-a.top))-2)),s=r;;){let a=t.childNodes[s];if(1==a.nodeType){let t=a.getClientRects();for(let o=0;o<t.length;o++){let r=t[o];if(ad(n,r))return e(a,n,r)}}if((s=(s+1)%o)==r)break}return t}(e.dom,t,n)))return null}
24if(n7)for(let e=c;s&&e;e=nH(e))e.draggable&&(s=void 0);if(c=(a=(n=c).parentNode)&&/^li$/i.test(a.nodeName)&&t.left<n.getBoundingClientRect().left?a:n,s){let n;if(n3&&1==s.nodeType&&(i=Math.min(i,s.childNodes.length))<s.childNodes.length){let e=s.childNodes[i],n;"IMG"==e.nodeName&&(n=e.getBoundingClientRect()).right<=t.left&&n.bottom>t.top&&i++}ao&&i&&1==s.nodeType&&1==(n=s.childNodes[i-1]).nodeType&&"false"==n.contentEditable&&n.getBoundingClientRect().top>=t.top&&i--,s==e.dom&&i==s.childNodes.length-1&&1==s.lastChild.nodeType&&t.top>s.lastChild.getBoundingClientRect().bottom?o=e.state.doc.content.size:(0==i||1!=s.nodeType||"BR"!=s.childNodes[i-1].nodeName)&&(o=function(e,t,n,a){let o=-1;for(let n=t,r=!1;n!=e.dom;){let t=e.docView.nearestDesc(n,!0),s;if(!t)return null;if(1==t.dom.nodeType&&(t.node.isBlock&&t.parent||!t.contentDOM)&&((s=t.dom.getBoundingClientRect()).width||s.height)&&(t.node.isBlock&&t.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(t.dom.nodeName)&&(!r&&s.left>a.left||s.top>a.top?o=t.posBefore:(!r&&s.right<a.left||s.bottom<a.top)&&(o=t.posAfter),r=!0),!t.contentDOM&&o<0&&!t.node.isText))return(t.node.isBlock?a.top<(s.top+s.bottom)/2:a.left<(s.left+s.right)/2)?t.posBefore:t.posAfter;n=t.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,-1)}(e,s,i,t))}null==o&&(o=function(e,t,n){let{node:a,offset:o}=function e(t,n){let a,o,r,s=2e8,i,l=0,c=n.top,p=n.top;for(let e=t.firstChild,d=0;e;e=e.nextSibling,d++){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=nz(e).getClientRects()}for(let u=0;u<t.length;u++){let m=t[u];if(m.top<=c&&m.bottom>=p){c=Math.max(m.bottom,c),p=Math.min(m.top,p);let t=m.left>n.left?m.left-n.left:m.right<n.left?n.left-m.right:0;if(t<s){r=e,s=t,i=t&&3==r.nodeType?{left:m.right<n.left?m.right:m.left,top:n.top}:n,1==e.nodeType&&t&&(l=d+ +(n.left>=(m.left+m.right)/2));continue}}else m.top>n.top&&!a&&m.left<=n.left&&m.right>=n.left&&(a=e,o={left:Math.max(m.left,Math.min(m.right,n.left)),top:m.top});!r&&(n.left>=m.right&&n.top>=m.top||n.left>=m.left&&n.top>=m.bottom)&&(l=d+1)}}return(!r&&a&&(r=a,i=o,s=0),r&&3==r.nodeType)?function(e,t){let n=e.nodeValue.length,a=document.createRange(),o;for(let r=0;r<n;r++){a.setEnd(e,r+1),a.setStart(e,r);let n=am(a,1);if(n.top!=n.bottom&&ad(t,n)){o={node:e,offset:r+ +(t.left>=(n.left+n.right)/2)};break}}return a.detach(),o||{node:e,offset:0}}(r,i):!r||s&&1==r.nodeType?{node:t,offset:l}:e(r,i)}(t,n),r=-1;if(1==a.nodeType&&!a.firstChild){let e=a.getBoundingClientRect();r=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(a,o,r)}(e,c,t));let p=e.docView.nearestDesc(c,!0);return{pos:o,inside:p?p.posAtStart-p.border:-1}}(this,e)}coordsAtPos(e,t=1){return af(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let a=this.docView.posFromDOM(e,t,n);if(null==a)throw RangeError("DOM position not inside the editor");return a}endOfTextblock(e,t){return function(e,t,n){let a,o;return aj==t&&ak==n?aw:(aj=t,ak=n,aw="up"==n||"down"==n?(a=t.selection,o="up"==n?a.$from:a.$to,av(e,t,()=>{let{node:t}=e.docView.domFromPos(o.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let a=af(e,o.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=nz(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let o=t[e];if(o.bottom>o.top+1&&("up"==n?a.top-o.top>(o.bottom-a.top)*2:o.bottom-a.bottom>(a.bottom-o.top)*2))return!1}}return!0})):function(e,t,n){let{$head:a}=t.selection;if(!a.parent.isTextblock)return!1;let o=a.parentOffset,r=o==a.parent.content.size,s=e.domSelection();return s?ay.test(a.parent.textContent)&&s.modify?av(e,t,()=>{let{focusNode:t,focusOffset:o,anchorNode:r,anchorOffset:i}=e.domSelectionRange(),l=s.caretBidiLevel;s.modify("move",n,"character");let c=a.depth?e.docView.domAfterPos(a.before()):e.dom,{focusNode:p,focusOffset:d}=e.domSelectionRange(),u=p&&!c.contains(1==p.nodeType?p:p.parentNode)||t==p&&o==d;try{s.collapse(r,i),t&&(t!=r||o!=i)&&s.extend&&s.extend(t,o)}catch(e){}return null!=l&&(s.caretBidiLevel=l),u}):"left"==n||"backward"==n?!o:r:a.pos==a.start()||a.pos==a.end()}
24(e,t,n))}(this,t||this.state,e)}pasteHTML(e,t){return oM(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return oM(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return on(this,e)}destroy(){if(this.docView){for(let e in this.input.mouseDown&&this.input.mouseDown.done(),this.domObserver.stop(),this.input.eventHandlers)this.dom.removeEventListener(e,this.input.eventHandlers[e]);clearTimeout(this.input.composingTimeout),clearTimeout(this.input.lastIOSEnterFallbackTimeout),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],o1(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,n$()}}get isDestroyed(){return null==this.docView}dispatchEvent(e){!ov(this,e)&&ou[e.type]&&(this.editable||!(e.type in om))&&ou[e.type](this,e)}domSelectionRange(){let e=this.domSelection();return e?n7&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){let n;if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return o8(e,n)}function a(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",a,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",a,!0),n?o8(e,n):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function ra(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))}),t.translate||(t.translate="no"),[oz.node(0,e.state.doc.content.size,t)]}function ro(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:oz.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function rr(e){return!e.someProp("editable",t=>!1===t(e.state))}function rs(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function ri(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw RangeError("Plugins passed directly to the view must not have a state component")}rn.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))},e.s(["Decoration",0,oz,"DecorationSet",0,oV,"EditorView",0,rn],639908);for(var rl={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},rc={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},rp="u">typeof navigator&&/Mac/.test(navigator.platform),rd="u">typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),ru=0;ru<10;ru++)rl[48+ru]=rl[96+ru]=String(ru);for(var ru=1;ru<=24;ru++)rl[ru+111]="F"+ru;for(var ru=65;ru<=90;ru++)rl[ru]=String.fromCharCode(ru+32),rc[ru]=String.fromCharCode(ru);for(var rm in rl)rc.hasOwnProperty(rm)||(rc[rm]=rl[rm]);let rh="u">typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),rf="u">typeof navigator&&/Win/.test(navigator.platform);
24function rg(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function rb(e){return new nc({props:{handleKeyDown:rv(e)}})}function rv(e){let t=function(e){let t=Object.create(null);for(let n in e)t[function(e){let t,n,a,o,r=e.split(/-(?!$)/),s=r[r.length-1];"Space"==s&&(s=" ");for(let e=0;e<r.length-1;e++){let s=r[e];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else if(/^s(hift)?$/i.test(s))a=!0;else if(/^mod$/i.test(s))rh?o=!0:n=!0;else throw Error("Unrecognized modifier name: "+s)}return t&&(s="Alt-"+s),n&&(s="Ctrl-"+s),o&&(s="Meta-"+s),a&&(s="Shift-"+s),s}(n)]=e[n];return t}(e);return function(e,n){var a;let o=("Esc"==(a=!(rp&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||rd&&n.shiftKey&&n.key&&1==n.key.length||"Unidentified"==n.key)&&n.key||(n.shiftKey?rc:rl)[n.keyCode]||n.key||"Unidentified")&&(a="Escape"),"Del"==a&&(a="Delete"),"Left"==a&&(a="ArrowLeft"),"Up"==a&&(a="ArrowUp"),"Right"==a&&(a="ArrowRight"),"Down"==a&&(a="ArrowDown"),a),r,s=t[rg(o,n)];if(s&&s(e.state,e.dispatch,e))return!0;if(1==o.length&&" "!=o){if(n.shiftKey){let a=t[rg(o,n,!1)];if(a&&a(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(rf&&n.ctrlKey&&n.altKey)&&(r=rl[n.keyCode])&&r!=o){let a=t[rg(r,n)];if(a&&a(e.state,e.dispatch,e))return!0}}return!1}}e.s(["keydownHandler",0,rv,"keymap",0,rb],202008);var ry=Object.defineProperty,rj=(e,t)=>{for(var n in t)ry(e,n,{get:t[n],enumerable:!0})};function rk(e){let{state:t,transaction:n}=e,{selection:a}=n,{doc:o}=n,{storedMarks:r}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return r},get selection(){return a},get doc(){return o},get tr(){return a=n.selection,o=n.doc,r=n.storedMarks,n}}}var rw=class{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){let{rawCommands:e,editor:t,state:n}=this,{view:a}=t,{tr:o}=n,r=this.buildProps(o);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,(...e)=>{let n=t(...e)(r);return o.getMeta("preventDispatch")||this.hasCustomState||a.dispatch(o),n}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){let{rawCommands:n,editor:a,state:o}=this,{view:r}=a,s=[],i=!!e,l=e||o.tr,c=()=>(i||!t||l.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(l),s.every(e=>!0===e)),p={...Object.fromEntries(Object.entries(n).map(([e,n])=>[e,(...e)=>{let a=this.buildProps(l,t),o=n(...e)(a);return s.push(o),p}])),run:c};return p}createCan(e){let{rawCommands:t,state:n}=this,a=e||n.tr,o=this.buildProps(a,!1);return{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>t(...e)({...o,dispatch:void 0})])),chain:()=>this.createChain(a,!1)}}buildProps(e,t=!0){let{rawCommands:n,editor:a,state:o}=this,{view:r}=a,s={tr:e,editor:a,view:r,state:rk({state:o,transaction:e}),dispatch:t?()=>void 0:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map(([e,t])=>[e,(...e)=>t(...e)(s)]))}};return s}},r_={};rj(r_,{blur:()=>rE,clearContent:()=>rD,clearNodes:()=>rT,command:()=>rI,createParagraphNear:()=>rx,cut:()=>rC,deleteCurrentNode:()=>rS,deleteNode:()=>rN,deleteRange:()=>rM,deleteSelection:()=>rO,enter:()=>rR,exitCode:()=>rF,extendMarkRange:()=>r$,first:()=>rq,focus:()=>rQ,forEach:()=>rX,insertContent:()=>rJ,insertContentAt:()=>r6,joinBackward:()=>r3,joinDown:()=>r2,joinForward:()=>r5,joinItemBackward:()=>r9,joinItemForward:()=>r8,joinTextblockBackward:()=>r7,joinTextblockForward:()=>se,joinUp:()=>r4,keyboardShortcut:()=>sn,lift:()=>so,liftEmptyBlock:()=>sr,liftListItem:()=>ss,newlineInCode:()=>si,resetAttributes:()=>sp,scrollIntoView:()=>sd,selectAll:()=>su,selectNodeBackward:()=>sm,selectNodeForward:()=>sh,selectParentNode:()=>sf,selectTextblockEnd:()=>sg,selectTextblockStart:()=>sb,setContent:()=>sy,setMark:()=>sZ,setMeta:()=>s0,setNode:()=>s1,setNodeSelection:()=>s6,setTextDirection:()=>s4,setTextSelection:()=>s2,sinkListItem:()=>s3,splitBlock:()=>s9,splitListItem:()=>s8,toggleList:()=>it,toggleMark:()=>ia,toggleNode:()=>io,toggleWrap:()=>ir,undoInputRule:()=>is,unsetAllMarks:()=>ii,unsetMark:()=>il,unsetTextDirection:()=>ic,updateAttributes:()=>ip,wrapIn:()=>id,wrapInList:()=>iu});var rE=()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{var n;e.isDestroyed||(t.dom.blur(),null==(n=null==window?void 0:window.getSelection())||n.removeAllRanges())}),!0),rD=(e=!0)=>({commands:t})=>t.setContent("",{emitUpdate:e}),rT=()=>({state:e,tr:t,dispatch:n})=>{let{selection:a}=t,{ranges:o}=a;
24return!n||(o.forEach(({$from:n,$to:a})=>{e.doc.nodesBetween(n.pos,a.pos,(e,n)=>{if(e.type.isText)return;let{doc:a,mapping:o}=t,r=a.resolve(o.map(n)),s=a.resolve(o.map(n+e.nodeSize)),i=r.blockRange(s);if(!i)return;let l=tN(i);if(e.type.isTextblock){let{defaultType:e}=r.parent.contentMatchAt(r.index());t.setNodeMarkup(i.start,e)}(l||0===l)&&t.lift(i,l)})}),!0)},rI=e=>t=>e(t),rx=()=>({state:e,dispatch:t})=>nI(e,t),rC=(e,t)=>({editor:n,tr:a})=>{let{state:o}=n,r=o.doc.slice(e.from,e.to);a.deleteRange(e.from,e.to);let s=a.mapping.map(t);return a.insert(s,r.content),a.setSelection(new t3(a.doc.resolve(Math.max(s-1,0)))),!0},rS=()=>({tr:e,dispatch:t})=>{let{selection:n}=e,a=n.$anchor.node();if(a.content.size>0)return!1;let o=e.selection.$anchor;for(let n=o.depth;n>0;n-=1)if(o.node(n).type===a.type){if(t){let t=o.before(n),a=o.after(n);e.delete(t,a).scrollIntoView()}return!0}return!1};function rA(e,t){if("string"==typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}var rN=e=>({tr:t,state:n,dispatch:a})=>{let o=rA(e,n.schema),r=t.selection.$anchor;for(let e=r.depth;e>0;e-=1)if(r.node(e).type===o){if(a){let n=r.before(e),a=r.after(e);t.delete(n,a).scrollIntoView()}return!0}return!1},rM=e=>({tr:t,dispatch:n})=>{let{from:a,to:o}=e;return n&&t.delete(a,o),!0},rO=()=>({state:e,dispatch:t})=>nm(e,t),rR=()=>({commands:e})=>e.keyboardShortcut("Enter"),rF=()=>({state:e,dispatch:t})=>nT(e,t);function rP(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function rL(e,t,n={strict:!0}){let a=Object.keys(t);return!a.length||a.every(a=>n.strict?t[a]===e[a]:rP(t[a])?t[a].test(e[a]):t[a]===e[a])}function rB(e,t,n={}){return e.find(e=>e.type===t&&rL(Object.fromEntries(Object.keys(n).map(t=>[t,e.attrs[t]])),n))}function rH(e,t,n={}){return!!rB(e,t,n)}function rU(e,t,n){if(!e||!t)return;let a=e.parent.childAfter(e.parentOffset);if(a.node&&a.node.marks.some(e=>e.type===t)||(a=e.parent.childBefore(e.parentOffset)),!a.node||!a.node.marks.some(e=>e.type===t))return;if(!n){let e=a.node.marks.find(e=>e.type===t);e&&(n=e.attrs)}if(!rB([...a.node.marks],t,n))return;let o=a.index,r=e.start()+a.offset,s=o+1,i=r+a.node.nodeSize;for(;o>0&&rH([...e.parent.child(o-1).marks],t,n);)o-=1,r-=e.parent.child(o).nodeSize;for(;s<e.parent.childCount&&rH([...e.parent.child(s).marks],t,n);)i+=e.parent.child(s).nodeSize,s+=1;return{from:r,to:i}}function rz(e,t){if("string"==typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}var r$=(e,t)=>({tr:n,state:a,dispatch:o})=>{let r=rz(e,a.schema),{doc:s,selection:i}=n,{$from:l,from:c,to:p}=i;if(o){let e=rU(l,r,t);if(e&&e.from<=c&&e.to>=p){let t=t3.create(s,e.from,e.to);n.setSelection(t)}}return!0},rq=e=>t=>{let n="function"==typeof e?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1};function rV(e){return e instanceof t3}function rW(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function rG(e,t=null){if(!t)return null;let n=t1.atStart(e),a=t1.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return a;let o=n.from,r=a.to;return"all"===t?t3.create(e,rW(0,o,r),rW(e.content.size,o,r)):t3.create(e,rW(t,o,r),rW(t,o,r))}function rY(){return"Android"===navigator.platform||/android/i.test(navigator.userAgent)}function rK(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}var rQ=(e=null,t={})=>({editor:n,view:a,tr:o,dispatch:r})=>{t={scrollIntoView:!0,...t};let s=()=>{(rK()||rY())&&a.dom.focus(),"u">typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!rK()&&!rY()&&a.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{!n.isDestroyed&&(a.focus(),(null==t?void 0:t.scrollIntoView)&&n.commands.scrollIntoView())})};try{if(a.hasFocus()&&null===e||!1===e)return!0}catch{return!1}if(r&&null===e&&!rV(n.state.selection))return s(),!0;let i=rG(o.doc,e)||n.state.selection,l=n.state.selection.eq(i);return r&&(l||o.setSelection(i),l&&o.storedMarks&&o.setStoredMarks(o.storedMarks),s()),!0},rX=(e,t)=>n=>e.every((e,a)=>t(e,{...n,index:a})),rJ=(e,t)=>
24({tr:n,commands:a})=>a.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),rZ=e=>{let t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){let a=t[n];3===a.nodeType&&a.nodeValue&&/^(\n\s\s|\n)$/.test(a.nodeValue)?e.removeChild(a):1===a.nodeType&&rZ(a)}return e};function r0(e){if("u"<typeof window)throw Error("[tiptap error]: there is no window object available, so this function cannot be used");let t=`<body>${e}</body>`;return rZ(new window.DOMParser().parseFromString(t,"text/html").body)}function r1(e,t,n){if(e instanceof eQ||e instanceof eA)return e;n={slice:!0,parseOptions:{},...n};let a="object"==typeof e&&null!==e,o="string"==typeof e;if(a)try{if(Array.isArray(e)&&e.length>0)return eA.fromArray(e.map(e=>t.nodeFromJSON(e)));let a=t.nodeFromJSON(e);return n.errorOnInvalidContent&&a.check(),a}catch(a){if(n.errorOnInvalidContent)throw Error("[tiptap error]: Invalid JSON content",{cause:a});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",a),r1("",t,n)}if(o){if(n.errorOnInvalidContent){let a=!1,o="",r=new tt({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:e=>(a=!0,o="string"==typeof e?e:e.outerHTML,null)}]}})});if(n.slice?ta.fromSchema(r).parseSlice(r0(e),n.parseOptions):ta.fromSchema(r).parse(r0(e),n.parseOptions),n.errorOnInvalidContent&&a)throw Error("[tiptap error]: Invalid HTML content",{cause:Error(`Invalid element found: ${o}`)})}let a=ta.fromSchema(t);return n.slice?a.parseSlice(r0(e),n.parseOptions).content:a.parse(r0(e),n.parseOptions)}return r1("",t,n)}var r6=(e,t,n)=>({tr:a,dispatch:o,editor:r})=>{var s;if(o){let o,i;n={parseOptions:r.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let l=e=>{r.emit("contentError",{editor:r,error:e,disableCollaboration:()=>{"collaboration"in r.storage&&"object"==typeof r.storage.collaboration&&r.storage.collaboration&&(r.storage.collaboration.isDisabled=!0)}})},c={preserveWhitespace:"full",...n.parseOptions};if(!n.errorOnInvalidContent&&!r.options.enableContentCheck&&r.options.emitContentError)try{r1(t,r.schema,{parseOptions:c,errorOnInvalidContent:!0})}catch(e){l(e)}try{o=r1(t,r.schema,{parseOptions:c,errorOnInvalidContent:null!=(s=n.errorOnInvalidContent)?s:r.options.enableContentCheck})}catch(e){return l(e),!1}let{from:p,to:d}="number"==typeof e?{from:e,to:e}:{from:e.from,to:e.to},u=!0,m=!0;if((!("type"in o)?o:[o]).forEach(e=>{e.check(),u=!!u&&e.isText&&0===e.marks.length,m=!!m&&e.isBlock}),p===d&&m){let{parent:e}=a.doc.resolve(p);!e.isTextblock||e.type.spec.code||e.childCount||(p-=1,d+=1)}if(u){if(Array.isArray(t))i=t.map(e=>e.text||"").join("");else if(t instanceof eA){let e="";t.forEach(t=>{t.text&&(e+=t.text)}),i=e}else i="object"==typeof t&&t&&t.text?t.text:t;a.insertText(i,p,d)}else{i=o;let e=a.doc.resolve(p),t=e.node(),n=0===e.parentOffset,r=t.isText||t.isTextblock,s=t.content.size>0;n&&r&&s&&m&&(p=Math.max(0,p-1)),a.replaceWith(p,d,i)}n.updateSelection&&function(e,t){let n=e.steps.length-1;if(n<t)return;let a=e.steps[n];if(!(a instanceof tx||a instanceof tC))return;let o=e.mapping.maps[n],r=0;o.forEach((e,t,n,a)=>{0===r&&(r=a)}),e.setSelection(t1.near(e.doc.resolve(r),-1))}(a,a.steps.length-1),n.applyInputRules&&a.setMeta("applyInputRules",{from:p,text:i}),n.applyPasteRules&&a.setMeta("applyPasteRules",{from:p,text:i})}return!0},r4=()=>({state:e,dispatch:t})=>((e,t)=>{let n=e.selection,a=n instanceof t9,o;if(a){if(n.node.isTextblock||!tL(e.doc,n.from))return!1;o=n.from}else if(null==(o=tH(e.doc,n.from,-1)))return!1;if(t){let n=e.tr.join(o);a&&n.setSelection(t9.create(n.doc,o-e.doc.resolve(o).nodeBefore.nodeSize)),t(n.scrollIntoView())}return!0})(e,t),r2=()=>({state:e,dispatch:t})=>((e,t)=>{let n=e.selection,a;if(n instanceof t9){if(n.node.isTextblock||!tL(e.doc,n.to))return!1;a=n.to}else if(null==(a=tH(e.doc,n.to,1)))return!1;return t&&t(e.tr.join(a).scrollIntoView()),!0})(e,t),r3=()=>({state:e,dispatch:t})=>nf(e,t),r5=()=>({state:e,dispatch:t})=>nk(e,t),r9=()=>({state:e,dispatch:t,tr:n})=>{try{let a=tH(e.doc,e.selection.$from.pos,-1);if(null==a)return!1;return n.join(a,2),t&&t(n),!0}catch{return!1}},r8=()=>({state:e,dispatch:t,tr:n})=>{try{let a=tH(e.doc,e.selection.$from.pos,1);if(null==a)return!1;return n.join(a,2),t&&t(n),!0}catch{return!1}},r7=()=>({state:e,dispatch:t})=>((e,t)=>{let n=nh(e,void 0);if(!n)return!1;let a=ny(n);return!!a&&ng(e,a,t)})(e,t),se=()=>({state:e,dispatch:t})=>((e,t)=>{let n=nj(e,void 0);if(!n)return!1;let a=n_(n);return!!a&&ng(e,a,t)})(e,t);function st(){return"u">typeof navigator&&/Mac/.test(navigator.platform)}var sn=e=>({editor:t,view:n,tr:a,dispatch:o})=>{let r=(function(e){let t,n,a,o,r=e.split(/-(?!$)/),s=r[r.length-1];"Space"===s&&(s=" ");for(let e=0;e<r.length-1;e+=1){let s=r[e];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else if(/^s(hift)?$/i.test(s))a=!0;else if(/^mod$/i.test(s))rK()||st()?o=!0:n=!0;else throw Error(`Unrecognized modifier name: ${s}`)}return t&&(s=`Alt-${s}`),n&&(s=`Ctrl-${s}`),o&&(s=`Meta-${s}`),a&&(s=`Shift-${s}`),s})(e).split(/-(?!$)/),s=r.find(e=>!["Alt","Ctrl","Meta","Shift"].includes(e)),i=new KeyboardEvent("keydown",{key:"Space"
24===s?" ":s,altKey:r.includes("Alt"),ctrlKey:r.includes("Ctrl"),metaKey:r.includes("Meta"),shiftKey:r.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction(()=>{n.someProp("handleKeyDown",e=>e(n,i))});return null==l||l.steps.forEach(e=>{let t=e.map(a.mapping);t&&o&&a.maybeStep(t)}),!0};function sa(e,t,n={}){let{from:a,to:o,empty:r}=e.selection,s=t?rA(t,e.schema):null,i=[];e.doc.nodesBetween(a,o,(e,t)=>{if(e.isText)return;let n=Math.max(a,t),r=Math.min(o,t+e.nodeSize);i.push({node:e,from:n,to:r})});let l=o-a,c=i.filter(e=>!s||s.name===e.node.type.name).filter(e=>rL(e.node.attrs,n,{strict:!1}));return r?!!c.length:c.reduce((e,t)=>e+t.to-t.from,0)>=l}var so=(e,t={})=>({state:n,dispatch:a})=>{let o=rA(e,n.schema);return!!sa(n,o,t)&&((e,t)=>{let{$from:n,$to:a}=e.selection,o=n.blockRange(a),r=o&&tN(o);return null!=r&&(t&&t(e.tr.lift(o,r).scrollIntoView()),!0)})(n,a)},sr=()=>({state:e,dispatch:t})=>nx(e,t),ss=e=>({state:t,dispatch:n})=>{var a;return(a=rA(e,t.schema),function(e,t){let{$from:n,$to:o}=e.selection,r=n.blockRange(o,e=>e.childCount>0&&e.firstChild.type==a);return!!r&&(!t||(n.node(r.depth-1).type==a?function(e,t,n,a){let o=e.tr,r=a.end,s=a.$to.end(a.depth);r<s&&(o.step(new tC(r-1,s,r,s,new eP(eA.from(n.create(null,a.parent.copy())),1,0),1,!0)),a=new eY(o.doc.resolve(a.$from.pos),o.doc.resolve(s),a.depth));let i=tN(a);if(null==i)return!1;o.lift(a,i);let l=o.doc.resolve(o.mapping.map(r,-1)-1);return tL(o.doc,l.pos)&&l.nodeBefore.type==l.nodeAfter.type&&o.join(l.pos),t(o.scrollIntoView()),!0}(e,t,a,r):function(e,t,n){let a=e.tr,o=n.parent;for(let e=n.end,t=n.endIndex-1,r=n.startIndex;t>r;t--)e-=o.child(t).nodeSize,a.delete(e-1,e+1);let r=a.doc.resolve(n.start),s=r.nodeAfter;if(a.mapping.map(n.end)!=n.start+r.nodeAfter.nodeSize)return!1;let i=0==n.startIndex,l=n.endIndex==o.childCount,c=r.node(-1),p=r.index(-1);if(!c.canReplace(p+ +!i,p+1,s.content.append(l?eA.empty:eA.from(o))))return!1;let d=r.pos,u=d+s.nodeSize;return a.step(new tC(d-!!i,u+ +!!l,d+1,u-1,new eP((i?eA.empty:eA.from(o.copy(eA.empty))).append(l?eA.empty:eA.from(o.copy(eA.empty))),+!i,+!l),+!i)),t(a.scrollIntoView()),!0}(e,t,r)))})(t,n)},si=()=>({state:e,dispatch:t})=>nE(e,t);function sl(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function sc(e,t){let n="string"==typeof t?[t]:t;return Object.keys(e).reduce((t,a)=>(n.includes(a)||(t[a]=e[a]),t),{})}var sp=(e,t)=>({tr:n,state:a,dispatch:o})=>{let r=null,s=null,i=sl("string"==typeof e?e:e.name,a.schema);if(!i)return!1;"node"===i&&(r=rA(e,a.schema)),"mark"===i&&(s=rz(e,a.schema));let l=!1;return n.selection.ranges.forEach(e=>{a.doc.nodesBetween(e.$from.pos,e.$to.pos,(e,a)=>{r&&r===e.type&&(l=!0,o&&n.setNodeMarkup(a,void 0,sc(e.attrs,t))),s&&e.marks.length&&e.marks.forEach(r=>{s===r.type&&(l=!0,o&&n.addMark(a,a+e.nodeSize,s.create(sc(r.attrs,t))))})})}),l},sd=()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),su=()=>({tr:e,dispatch:t})=>{if(t){let t=new t7(e.doc);e.setSelection(t)}return!0},sm=()=>({state:e,dispatch:t})=>nv(e,t),sh=()=>({state:e,dispatch:t})=>nw(e,t),sf=()=>({state:e,dispatch:t})=>((e,t)=>{let{$from:n,to:a}=e.selection,o,r=n.sharedDepth(a);return 0!=r&&(o=n.before(r),t&&t(e.tr.setSelection(t9.create(e.doc,o))),!0)})(e,t),sg=()=>({state:e,dispatch:t})=>nN(e,t),sb=()=>({state:e,dispatch:t})=>nA(e,t);function sv(e,t,n={},a={}){return r1(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:a.errorOnInvalidContent})}var sy=(e,{errorOnInvalidContent:t,emitUpdate:n=!0,parseOptions:a={}}={})=>({editor:o,tr:r,dispatch:s,commands:i})=>{let{doc:l}=r;if("full"!==a.preserveWhitespace){let i=sv(e,o.schema,a,{errorOnInvalidContent:null!=t?t:o.options.enableContentCheck});return s&&r.replaceWith(0,l.content.size,i).setMeta("preventUpdate",!n),!0}return s&&r.setMeta("preventUpdate",!n),i.insertContentAt({from:0,to:l.content.size},e,{parseOptions:a,errorOnInvalidContent:null!=t?t:o.options.enableContentCheck})};function sj(e,t){let n=rz(t,e.schema),{from:a,to:o,empty:r}=e.selection,s=[];r?(e.storedMarks&&s.push(...e.storedMarks),s.push(...e.selection.$head.marks())):e.doc.nodesBetween(a,o,e=>{s.push(...e.marks)});let i=s.find(e=>
24e.type.name===n.name);return i?{...i.attrs}:{}}function sk(e,t){let n=new tZ(e);return t.forEach(e=>{e.steps.forEach(e=>{n.step(e)})}),n}function sw(e){return t=>(function(e,t){for(let n=e.depth;n>0;n-=1){let a=e.node(n);if(t(a))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:a}}})(t.$from,e)}function s_(e,t,n){return void 0===e.config[t]&&e.parent?s_(e.parent,t,n):"function"==typeof e.config[t]?e.config[t].bind({...n,parent:e.parent?s_(e.parent,t,n):null}):e.config[t]}function sE(e){return e.map(e=>{let t={name:e.name,options:e.options,storage:e.storage},n=s_(e,"addExtensions",t);return n?[e,...sE(n())]:e}).flat(10)}function sD(e,t){let n=tu.fromSchema(t).serializeFragment(e),a=document.implementation.createHTMLDocument().createElement("div");return a.appendChild(n),a.innerHTML}function sT(e){return"function"==typeof e}function sI(e,t,...n){return sT(e)?t?e.bind(t)(...n):e(...n):e}function sx(e){let t=e.filter(e=>"extension"===e.type);return{baseExtensions:t,nodeExtensions:e.filter(e=>"node"===e.type),markExtensions:e.filter(e=>"mark"===e.type)}}function sC(e){let t=[],{nodeExtensions:n,markExtensions:a}=sx(e),o=[...n,...a],r={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},s=n.filter(e=>"text"!==e.name).map(e=>e.name),i=a.map(e=>e.name),l=[...s,...i];return e.forEach(e=>{let n={name:e.name,options:e.options,storage:e.storage,extensions:o},a=s_(e,"addGlobalAttributes",n);a&&a().forEach(e=>{(Array.isArray(e.types)?e.types:"*"===e.types?l:"nodes"===e.types?s:"marks"===e.types?i:[]).forEach(n=>{Object.entries(e.attributes).forEach(([e,a])=>{t.push({type:n,name:e,attribute:{...r,...a}})})})})}),o.forEach(e=>{let n={name:e.name,options:e.options,storage:e.storage},a=s_(e,"addAttributes",n);a&&Object.entries(a()).forEach(([n,a])=>{let o={...r,...a};"function"==typeof(null==o?void 0:o.default)&&(o.default=o.default()),(null==o?void 0:o.isRequired)&&(null==o?void 0:o.default)===void 0&&delete o.default,t.push({type:e.name,name:n,attribute:o})})}),t}function sS(e){let t=[],n=function(e){let t=[],n="",a=!1,o=!1,r=0,s=e.length;for(let i=0;i<s;i+=1){let s=e[i];if("'"===s&&!o){a=!a,n+=s;continue}if('"'===s&&!a){o=!o,n+=s;continue}if(!a&&!o){if("("===s){r+=1,n+=s;continue}if(")"===s&&r>0){r-=1,n+=s;continue}if(";"===s&&0===r){t.push(n),n="";continue}}n+=s}return n&&t.push(n),t}(e||""),a=n.length;for(let e=0;e<a;e+=1){let a=n[e],o=a.indexOf(":");if(-1===o)continue;let r=a.slice(0,o).trim(),s=a.slice(o+1).trim();r&&s&&t.push([r,s])}return t}function sA(...e){return e.filter(e=>!!e).reduce((e,t)=>{let n={...e};return Object.entries(t).forEach(([e,t])=>{if(!n[e]){n[e]=t;return}if("class"===e){let a=t?String(t).split(" "):[],o=n[e]?n[e].split(" "):[],r=a.filter(e=>!o.includes(e));n[e]=[...o,...r].join(" ")}else if("style"===e){let a=new Map([...sS(n[e]),...sS(t)]);n[e]=Array.from(a.entries()).map(([e,t])=>`${e}: ${t}`).join("; ")}else n[e]=t}),n},{})}function sN(e,t){return t.filter(t=>t.type===e.type.name).filter(e=>e.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]}).reduce((e,t)=>sA(e,t),{})}function sM(e,t){return"style"in e?e:{...e,getAttrs:n=>{let a=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===a)return!1;let o=t.reduce((e,t)=>{var a;let o=t.attribute.parseHTML?t.attribute.parseHTML(n):"string"!=typeof(a=n.getAttribute(t.name))?a:a.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(a):"true"===a||"false"!==a&&a;return null==o?e:{...e,[t.name]:o}},{});return{...a,...o}}}}function sO(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>!("attrs"===e&&function(e={}){return 0===Object.keys(e).length&&e.constructor===Object}(t))&&null!=t))}function sR(e){var t,n;let a={};return!(null==(t=null==e?void 0:e.attribute)?void 0:t.isRequired)&&"default"in((null==e?void 0:e.attribute)||{})&&(a.default=e.attribute.default),(null==(n=null==e?void 0:e.attribute)?void 0:n.validate)!==void 0&&(a.validate=e.attribute.validate),[e.name,a]}function sF(e){return e.sort((e,t)=>{let n=s_(e,"priority")||100,a=s_(t,"priority")||100;return n>a?-1:+(n<a)})}function sP(e){var t;let n=sF(sE(e)),a=Array.from(new Set((t=n.map(e=>
24e.name)).filter((e,n)=>t.indexOf(e)!==n)));return a.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${a.map(e=>`'${e}'`).join(", ")}]. This can lead to issues.`),n}function sL(e,t,n){let{from:a,to:o}=t,{blockSeparator:r="\n\n",textSerializers:s={}}=n||{},i="";return e.nodesBetween(a,o,(e,n,l,c)=>{var p;e.isBlock&&n>a&&(i+=r);let d=null==s?void 0:s[e.type.name];if(d)return l&&(i+=d({node:e,pos:n,parent:l,index:c,range:t})),!1;e.isText&&(i+=null==(p=null==e?void 0:e.text)?void 0:p.slice(Math.max(a,n)-n,o-n))}),i}function sB(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}function sH(e,t){let n=sl("string"==typeof t?t:t.name,e.schema);return"node"===n?function(e,t){let n=rA(t,e.schema),{from:a,to:o}=e.selection,r=[];e.doc.nodesBetween(a,o,e=>{r.push(e)});let s=r.reverse().find(e=>e.type.name===n.name);return s?{...s.attrs}:{}}(e,t):"mark"===n?sj(e,t):{}}function sU(e){let t,{mapping:n,steps:a}=e,o=[];return n.maps.forEach((e,t)=>{let r=[];if(e.ranges.length)e.forEach((e,t)=>{r.push({from:e,to:t})});else{let{from:e,to:n}=a[t];if(void 0===e||void 0===n)return;r.push({from:e,to:n})}r.forEach(({from:e,to:a})=>{let r=n.slice(t).map(e,-1),s=n.slice(t).map(a),i=n.invert().map(r,-1),l=n.invert().map(s);o.push({oldRange:{from:i,to:l},newRange:{from:r,to:s}})})}),1===(t=function(e,t=JSON.stringify){let n={};return e.filter(e=>{let a=t(e);return!Object.prototype.hasOwnProperty.call(n,a)&&(n[a]=!0)})}(o)).length?t:t.filter((e,n)=>!t.filter((e,t)=>t!==n).some(t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))}function sz(e,t,n){let a=[];return e===t?n.resolve(e).marks().forEach(t=>{let o=rU(n.resolve(e),t.type);o&&a.push({mark:t,...o})}):n.nodesBetween(e,t,(e,t)=>{e&&(null==e?void 0:e.nodeSize)!==void 0&&a.push(...e.marks.map(n=>({from:t,to:t+e.nodeSize,mark:n})))}),a}function s$(e,t){return t.nodes[e]||t.marks[e]||null}function sq(e,t,n){return Object.fromEntries(Object.entries(n).filter(([n])=>{let a=e.find(e=>e.type===t&&e.name===n);return!!a&&a.attribute.keepOnSplit}))}function sV(e,t,n={}){let{empty:a,ranges:o}=e.selection,r=t?rz(t,e.schema):null;if(a)return!!(e.storedMarks||e.selection.$from.marks()).filter(e=>!r||r.name===e.type.name).find(e=>rL(e.attrs,n,{strict:!1}));let s=0,i=[];if(o.forEach(({$from:t,$to:n})=>{let a=t.pos,o=n.pos;e.doc.nodesBetween(a,o,(e,t)=>{if(r&&e.inlineContent&&!e.type.allowsMarkType(r))return!1;if(!e.isText&&!e.marks.length)return;let n=Math.max(a,t),l=Math.min(o,t+e.nodeSize);s+=l-n,i.push(...e.marks.map(e=>({mark:e,from:n,to:l})))})}),0===s)return!1;let l=i.filter(e=>!r||r.name===e.mark.type.name).filter(e=>rL(e.mark.attrs,n,{strict:!1})).reduce((e,t)=>e+t.to-t.from,0),c=i.filter(e=>!r||e.mark.type!==r&&e.mark.type.excludes(r)).reduce((e,t)=>e+t.to-t.from,0);return(l>0?l+c:l)>=s}function sW(e,t){return Array.isArray(t)?t.some(t=>("string"==typeof t?t:t.name)===e.name):t}function sG(e,t){let{nodeExtensions:n}=sx(t),a=n.find(t=>t.name===e);if(!a)return!1;let o={name:a.name,options:a.options,storage:a.storage},r=sI(s_(a,"group",o));return"string"==typeof r&&r.split(" ").includes("list")}function sY(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var a;if(n){if("hardBreak"===e.type.name)return!0;if(e.isText)return!/\S/.test(null!=(a=e.text)?a:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(0===e.content.childCount)return!0;if(t){let a=!0;return e.content.forEach(e=>{!1!==a&&(sY(e,{ignoreWhitespace:n,checkChildren:t})||(a=!1))}),a}return!1}function sK({selection:e,pos:t,nodeSize:n,selectedOnTextSelection:a=!1}){let{from:o,to:r}=e;return!!(o<=t&&r>=t+n||a&&rV(e)&&o>t&&r<t+n)}var sQ=class e{constructor(e){this.position=e}static fromJSON(t){return new e(t.position)}toJSON(){return{position:this.position}}};function sX(e,t){let n=t.mapping.mapResult(e.position);return{position:new sQ(n.pos),mapResult:n}}function sJ(e){return new sQ(e)}var sZ=(e,t={})=>({tr:n,state:a,dispatch:o})=>{let{selection:r}=n,{empty:s,ranges:i}=r,l=rz(e,a.schema);if(o)if(s){let e=sj(a,l);n.addStoredMark(l.create({...e,...t}))}
24else i.forEach(e=>{let o=e.$from.pos,r=e.$to.pos;a.doc.nodesBetween(o,r,(e,a)=>{let s=Math.max(a,o),i=Math.min(a+e.nodeSize,r);e.marks.find(e=>e.type===l)?e.marks.forEach(e=>{l===e.type&&n.addMark(s,i,l.create({...e.attrs,...t}))}):n.addMark(s,i,l.create(t))})});return function(e,t,n){var a;let{selection:o}=t,r=null;if(rV(o)&&(r=o.$cursor),r){let t=null!=(a=e.storedMarks)?a:r.marks();return r.parent.type.allowsMarkType(n)&&(!!n.isInSet(t)||!t.some(e=>e.type.excludes(n)))}let{ranges:s}=o;return s.some(({$from:t,$to:a})=>{let o=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,a.pos,(e,t,a)=>{if(o)return!1;if(e.isInline){let t=!a||a.type.allowsMarkType(n),r=!!n.isInSet(e.marks)||!e.marks.some(e=>e.type.excludes(n));o=t&&r}return!o}),o})}(a,n,l)},s0=(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),s1=(e,t={})=>({state:n,dispatch:a,chain:o})=>{let r,s=rA(e,n.schema);return(n.selection.$anchor.sameParent(n.selection.$head)&&(r=n.selection.$anchor.parent.attrs),s.isTextblock)?o().command(({commands:e})=>!!nM(s,{...r,...t})(n)||e.clearNodes()).command(({state:e})=>nM(s,{...r,...t})(e,a)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},s6=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,a=rW(e,0,n.content.size),o=t9.create(n,a);t.setSelection(o)}return!0},s4=(e,t)=>({tr:n,state:a,dispatch:o})=>{let r,s,{selection:i}=a;return"number"==typeof t?(r=t,s=t):t&&"from"in t&&"to"in t?(r=t.from,s=t.to):(r=i.from,s=i.to),o&&n.doc.nodesBetween(r,s,(t,a)=>{t.isText||n.setNodeMarkup(a,void 0,{...t.attrs,dir:e})}),!0},s2=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,{from:a,to:o}="number"==typeof e?{from:e,to:e}:e,r=t3.atStart(n).from,s=t3.atEnd(n).to,i=rW(a,r,s),l=rW(o,r,s),c=t3.create(n,i,l);t.setSelection(c)}return!0},s3=e=>({state:t,dispatch:n})=>{var a;return(a=rA(e,t.schema),function(e,t){let{$from:n,$to:o}=e.selection,r=n.blockRange(o,e=>e.childCount>0&&e.firstChild.type==a);if(!r)return!1;let s=r.startIndex;if(0==s)return!1;let i=r.parent,l=i.child(s-1);if(l.type!=a)return!1;if(t){let n=l.lastChild&&l.lastChild.type==i.type,o=eA.from(n?a.create():null),s=new eP(eA.from(a.create(null,eA.from(i.type.create(null,o)))),n?3:1,0),c=r.start,p=r.end;t(e.tr.step(new tC(c-(n?3:1),p,c,p,s,1,!0)).scrollIntoView())}return!0})(t,n)};function s5(e,t){let n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){let a=n.filter(e=>null==t?void 0:t.includes(e.type.name));e.tr.ensureMarks(a)}}var s9=({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:a,editor:o})=>{let{selection:r,doc:s}=t,{$from:i,$to:l}=r,c=sq(o.extensionManager.attributes,i.node().type.name,i.node().attrs);if(r instanceof t9&&r.node.isBlock)return!!i.parentOffset&&!!tP(s,i.pos)&&(a&&(e&&s5(n,o.extensionManager.splittableMarks),t.split(i.pos).scrollIntoView()),!0);if(!i.parent.isBlock)return!1;let p=l.parentOffset===l.parent.content.size,d=0===i.depth?void 0:function(e){for(let t=0;t<e.edgeCount;t+=1){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(i.node(-1).contentMatchAt(i.indexAfter(-1))),u=p&&d?[{type:d,attrs:c}]:void 0,m=tP(t.doc,t.mapping.map(i.pos),1,u);if(!u&&!m&&tP(t.doc,t.mapping.map(i.pos),1,d?[{type:d}]:void 0)&&(m=!0,u=d?[{type:d,attrs:c}]:void 0),a){if(m&&(r instanceof t3&&t.deleteSelection(),t.split(t.mapping.map(i.pos),1,u),d&&!p&&!i.parentOffset&&i.parent.type!==d)){let e=t.mapping.map(i.before()),n=t.doc.resolve(e);i.node(-1).canReplaceWith(n.index(),n.index()+1,d)&&t.setNodeMarkup(t.mapping.map(i.before()),d)}e&&s5(n,o.extensionManager.splittableMarks),t.scrollIntoView()}return m},s8=(e,t={})=>({tr:n,state:a,dispatch:o,editor:r})=>{var s;let i=rA(e,a.schema),{$from:l,$to:c}=a.selection,p=a.selection.node;if(p&&p.isBlock||l.depth<2||!l.sameParent(c))return!1;let d=l.node(-1);if(d.type!==i)return!1;let u=r.extensionManager.attributes;if(0===l.parent.content.size&&l.node(-1).childCount===l.indexAfter(-1)){if(2===l.depth||l.node(-3).type!==i||l.index(-2)!==l.node(-2).childCount-1)return!1;if(o){let e=eA.empty,a=l.index(-1)?1:l.index(-2)?2:3;for(let t=l.depth-a;t>=l.depth-3;t-=1)e=eA.from(l.node(t).copy(e));let o=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,r={...sq(u,l.node().type.name,l.node().attrs),...t}
24,c=(null==(s=i.contentMatch.defaultType)?void 0:s.createAndFill(r))||void 0;e=e.append(eA.from(i.createAndFill(null,c)||void 0));let p=l.before(l.depth-(a-1));n.replace(p,l.after(-o),new eP(e,4-a,0));let d=-1;n.doc.nodesBetween(p,n.doc.content.size,(e,t)=>{if(d>-1)return!1;e.isTextblock&&0===e.content.size&&(d=t+1)}),d>-1&&n.setSelection(t3.near(n.doc.resolve(d))),n.scrollIntoView()}return!0}let m=c.pos===l.end()?d.contentMatchAt(0).defaultType:null,h={...sq(u,d.type.name,d.attrs),...t},f={...sq(u,l.node().type.name,l.node().attrs),...t};n.delete(l.pos,c.pos);let g=m?[{type:i,attrs:h},{type:m,attrs:f}]:[{type:i,attrs:h}];if(!tP(n.doc,l.pos,2))return!1;if(o){let{selection:e,storedMarks:t}=a,{splittableMarks:s}=r.extensionManager,i=t||e.$to.parentOffset&&e.$from.marks();if(n.split(l.pos,2,g).scrollIntoView(),!i||!o)return!0;let c=i.filter(e=>s.includes(e.type.name));n.ensureMarks(c)}return!0},s7=(e,t)=>{let n=sw(e=>e.type===t)(e.selection);if(!n)return!0;let a=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===a)return!0;let o=e.doc.nodeAt(a);return!(n.node.type===(null==o?void 0:o.type)&&tL(e.doc,n.pos))||(e.join(n.pos),!0)},ie=(e,t)=>{let n=sw(e=>e.type===t)(e.selection);if(!n)return!0;let a=e.doc.resolve(n.start).after(n.depth);if(void 0===a)return!0;let o=e.doc.nodeAt(a);return!(n.node.type===(null==o?void 0:o.type)&&tL(e.doc,a))||(e.join(a),!0)},it=(e,t,n,a={})=>({editor:o,tr:r,state:s,dispatch:i,chain:l,commands:c,can:p})=>{let{extensions:d,splittableMarks:u}=o.extensionManager,m=rA(e,s.schema),h=rA(t,s.schema),{selection:f,storedMarks:g}=s,{$from:b,$to:v}=f,y=b.blockRange(v),j=g||f.$to.parentOffset&&f.$from.marks();if(!y)return!1;let k=sw(e=>sG(e.type.name,d))(f),w=0===f.from&&f.to===s.doc.content.size,_=s.doc.content.content,E=1===_.length?_[0]:null,D=w&&E&&sG(E.type.name,d)?{node:E,pos:0,depth:0}:null,T=null!=k?k:D,I=!!k&&y.depth>=1&&y.depth-k.depth<=1,x=!!D;if((I||x)&&T){if(T.node.type===m)return w&&x?l().command(({tr:e,dispatch:t})=>{let n=function(e){let t=e.doc,n=t.firstChild;if(!n)return null;let a=t.resolve(1),o=t.resolve(n.nodeSize-1);return t3.between(a,o)}(e);return!!n&&(e.setSelection(n),t&&t(e),!0)}).liftListItem(h).run():c.liftListItem(h);if(sG(T.node.type.name,d)&&m.validContent(T.node.content))return l().command(()=>(r.setNodeMarkup(T.pos,m),!0)).command(()=>s7(r,m)).command(()=>ie(r,m)).run()}return n&&j&&i?l().command(()=>{let e=p().wrapInList(m,a),t=j.filter(e=>u.includes(e.type.name));return r.ensureMarks(t),!!e||c.clearNodes()}).wrapInList(m,a).command(()=>s7(r,m)).command(()=>ie(r,m)).run():l().command(()=>!!p().wrapInList(m,a)||c.clearNodes()).wrapInList(m,a).command(()=>s7(r,m)).command(()=>ie(r,m)).run()},ia=(e,t={},n={})=>({state:a,commands:o})=>{let{extendEmptyMarkRange:r=!1}=n,s=rz(e,a.schema);return sV(a,s,t)?o.unsetMark(s,{extendEmptyMarkRange:r}):o.setMark(s,t)},io=(e,t,n={})=>({state:a,commands:o})=>{let r,s=rA(e,a.schema),i=rA(t,a.schema),l=sa(a,s,n);return(a.selection.$anchor.sameParent(a.selection.$head)&&(r=a.selection.$anchor.parent.attrs),l)?o.setNode(i,r):o.setNode(s,{...r,...n})},ir=(e,t={})=>({state:n,commands:a})=>{let o=rA(e,n.schema);return sa(n,o,t)?a.lift(o):a.wrapIn(o,t)},is=()=>({state:e,dispatch:t})=>{let n=e.plugins;for(let a=0;a<n.length;a+=1){let o,r=n[a];if(r.spec.isInputRules&&(o=r.getState(e))){if(t){let t=e.tr,n=o.transform;for(let e=n.steps.length-1;e>=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(o.text){let n=t.doc.resolve(o.from).marks();t.replaceWith(o.from,o.to,e.schema.text(o.text,n))}else t.delete(o.from,o.to)}return!0}}return!1},ii=()=>({tr:e,dispatch:t})=>{let{selection:n}=e,{empty:a,ranges:o}=n;return!!a||(t&&o.forEach(t=>{e.removeMark(t.$from.pos,t.$to.pos)}),!0)},il=(e,t={})=>({tr:n,state:a,dispatch:o})=>{var r;let{extendEmptyMarkRange:s=!1}=t,{selection:i}=n,l=rz(e,a.schema),{$from:c,empty:p,ranges:d}=i;if(!o)return!0;if(p&&s){let{from:e,to:t}=i,a=null==(r=c.marks().find(e=>e.type===l))?void 0:r.attrs,o=rU(c,l,a);o&&(e=o.from,t=o.to),n.removeMark(e,t,l)}else d.forEach(e=>{n.removeMark(e.$from.pos,e.$to.pos,l)});return n.removeStoredMark(l),!0},ic=e=>({tr:t,state:n,dispatch:a})=>{let o,r,{selection:s}=n;return"number"==typeof e?(o=e,r=e):e&&"from"in e&&"to"in e?(o=e.from,r=e.to):(o=s.from,r=s.to),a&&t.doc.nodesBetween(o,r,(e,n)=>{if(e.isText)return;let a={...e.attrs};delete a.dir,t.setNodeMarkup(n,void 0,a)}),!0},ip=(e,t={})=>({tr:n,state:a,dispatch:o})=>{let r=null,s=null,i=sl("string"==typeof e?e:e.name,a.schema);if(!i)return!1;"node"===i&&(r=rA(e,a.schema)),"mark"===i&&(s=rz(e,a.schema));let l=!1;
24return n.selection.ranges.forEach(e=>{let i,c,p,d,u=e.$from.pos,m=e.$to.pos;n.selection.empty?a.doc.nodesBetween(u,m,(e,t)=>{r&&r===e.type&&(l=!0,p=Math.max(t,u),d=Math.min(t+e.nodeSize,m),i=t,c=e)}):a.doc.nodesBetween(u,m,(e,a)=>{a<u&&r&&r===e.type&&(l=!0,p=Math.max(a,u),d=Math.min(a+e.nodeSize,m),i=a,c=e),a>=u&&a<=m&&(r&&r===e.type&&(l=!0,o&&n.setNodeMarkup(a,void 0,{...e.attrs,...t})),s&&e.marks.length&&e.marks.forEach(r=>{if(s===r.type&&(l=!0,o)){let o=Math.max(a,u),i=Math.min(a+e.nodeSize,m);n.addMark(o,i,s.create({...r.attrs,...t}))}}))}),c&&(void 0!==i&&o&&n.setNodeMarkup(i,void 0,{...c.attrs,...t}),s&&c.marks.length&&c.marks.forEach(e=>{s===e.type&&o&&n.addMark(p,d,s.create({...e.attrs,...t}))}))}),l},id=(e,t={})=>({state:n,dispatch:a})=>(function(e,t=null){return function(n,a){let{$from:o,$to:r}=n.selection,s=o.blockRange(r),i=s&&tM(s,e,t);return!!i&&(a&&a(n.tr.wrap(s,i).scrollIntoView()),!0)}})(rA(e,n.schema),t)(n,a),iu=(e,t={})=>({state:n,dispatch:a})=>(function(e,t=null){return function(n,a){let{$from:o,$to:r}=n.selection,s=o.blockRange(r);if(!s)return!1;let i=a?n.tr:null;return!!function(e,t,n,a=null){let o=!1,r=t,s=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&0==t.startIndex){if(0==t.$from.index(t.depth-1))return!1;let e=s.resolve(t.start-2);r=new eY(e,e,t.depth),t.endIndex<t.parent.childCount&&(t=new eY(t.$from,s.resolve(t.$to.end(t.depth)),t.depth)),o=!0}let i=tM(r,n,a,t);return!!i&&(e&&function(e,t,n,a,o){let r=eA.empty;for(let e=n.length-1;e>=0;e--)r=eA.from(n[e].type.create(n[e].attrs,r));e.step(new tC(t.start-2*!!a,t.end,t.start,t.end,new eP(r,0,0),n.length,!0));let s=0;for(let e=0;e<n.length;e++)n[e].type==o&&(s=e+1);let i=n.length-s,l=t.start+n.length-2*!!a,c=t.parent;for(let n=t.startIndex,a=t.endIndex,o=!0;n<a;n++,o=!1)!o&&tP(e.doc,l,i)&&(e.split(l,i),l+=2*i),l+=c.child(n).nodeSize}(e,t,i,o,n),!0)}(i,s,e,t)&&(a&&a(i.scrollIntoView()),!0)}})(rA(e,n.schema),t)(n,a),im=class{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){let n=this.callbacks[e];return n&&n.forEach(e=>e.apply(this,t)),this}off(e,t){let n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter(e=>e!==t):delete this.callbacks[e]),this}once(e,t){let n=(...a)=>{this.off(e,n),t.apply(this,a)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}},ih=class{constructor(e){var t;this.find=e.find,this.handler=e.handler,this.undoable=null==(t=e.undoable)||t}};function ig(e){var t;let{editor:n,from:a,to:o,text:r,rules:s,plugin:i}=e,{view:l}=n;if(l.composing)return!1;let c=l.state.doc.resolve(a);if(c.parent.type.spec.code||(null==(t=c.nodeBefore||c.nodeAfter)?void 0:t.marks.find(e=>e.type.spec.code)))return!1;let p=!1,d=((e,t=500)=>{let n="",a=e.parentOffset;return e.parent.nodesBetween(Math.max(0,a-t),a,(e,t,o,r)=>{var s,i;let l=(null==(i=(s=e.type.spec).toText)?void 0:i.call(s,{node:e,pos:t,parent:o,index:r}))||e.textContent||"%leaf%";n+=e.isAtom&&!e.isText?l:l.slice(0,Math.max(0,a-t))}),n})(c)+r;return s.forEach(e=>{if(p)return;let t=((e,t)=>{if(rP(t))return t.exec(e);let n=t(e);if(!n)return null;let a=[n.text];return a.index=n.index,a.input=e,a.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),a.push(n.replaceWith)),a})(d,e.find);if(!t)return;let s=l.state.tr,c=rk({state:l.state,transaction:s}),u={from:a-(t[0].length-r.length),to:o},{commands:m,chain:h,can:f}=new rw({editor:n,state:c});null!==e.handler({state:c,range:u,match:t,commands:m,chain:h,can:f})&&s.steps.length&&(e.undoable&&s.setMeta(i,{transform:s,from:a,to:o,text:r}),l.dispatch(s),p=!0)}),p}function ib(e){return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}var iv=class{constructor(e={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...e},this.name=this.config.name}get options(){return{...sI(s_(this,"addOptions",{name:this.name}))||{}}}get storage(){return{...sI(s_(this,"addStorage",{name:this.name,options:this.options}))||{}}}configure(e={}){let t=this.extend({...this.config,addOptions:()=>(function e(t,n){let a={...t};
24return ib(t)&&ib(n)&&Object.keys(n).forEach(o=>{ib(n[o])&&ib(t[o])?a[o]=e(t[o],n[o]):a[o]=n[o]}),a})(this.options,e)});return t.name=this.name,t.parent=this.parent,this.child=null,t}extend(e={}){let t=new this.constructor({...this.config,...e});return t.parent=this,this.child=t,t.name="name"in e?e.name:t.parent.name,t}},iy=class e extends iv{constructor(){super(...arguments),this.type="mark"}static create(t={}){return new e("function"==typeof t?t():t)}static handleExit({editor:e,mark:t}){let{tr:n}=e.state,a=e.state.selection.$from;if(a.pos===a.end()){let o=a.marks();if(!o.find(e=>(null==e?void 0:e.type.name)===t.name))return!1;let r=o.find(e=>(null==e?void 0:e.type.name)===t.name);return r&&n.removeStoredMark(r),n.insertText(" ",a.pos),e.view.dispatch(n),!0}return!1}configure(e){return super.configure(e)}extend(e){let t="function"==typeof e?e():e;return super.extend(t)}},ij=class{constructor(e){this.find=e.find,this.handler=e.handler}},ik=null,iw=class{constructor(e,t){this.splittableMarks=[],this.editor=t,this.baseExtensions=e,this.extensions=sP(e),this.schema=function(e,t){var n;let a=sC(e),{nodeExtensions:o,markExtensions:r}=sx(e),s=null==(n=o.find(e=>s_(e,"topNode")))?void 0:n.name;return new tt({topNode:s,nodes:Object.fromEntries(o.map(n=>{let o=a.filter(e=>e.type===n.name),r={name:n.name,options:n.options,storage:n.storage,editor:t},s=sO({...e.reduce((e,t)=>{let a=s_(t,"extendNodeSchema",r);return{...e,...a?a(n):{}}},{}),content:sI(s_(n,"content",r)),marks:sI(s_(n,"marks",r)),group:sI(s_(n,"group",r)),inline:sI(s_(n,"inline",r)),atom:sI(s_(n,"atom",r)),selectable:sI(s_(n,"selectable",r)),draggable:sI(s_(n,"draggable",r)),code:sI(s_(n,"code",r)),whitespace:sI(s_(n,"whitespace",r)),linebreakReplacement:sI(s_(n,"linebreakReplacement",r)),defining:sI(s_(n,"defining",r)),isolating:sI(s_(n,"isolating",r)),attrs:Object.fromEntries(o.map(sR))}),i=sI(s_(n,"parseHTML",r));i&&(s.parseDOM=i.map(e=>sM(e,o)));let l=s_(n,"renderHTML",r);l&&(s.toDOM=e=>l({node:e,HTMLAttributes:sN(e,o)}));let c=s_(n,"renderText",r);return c&&(s.toText=c),[n.name,s]})),marks:Object.fromEntries(r.map(n=>{let o=a.filter(e=>e.type===n.name),r={name:n.name,options:n.options,storage:n.storage,editor:t},s=sO({...e.reduce((e,t)=>{let a=s_(t,"extendMarkSchema",r);return{...e,...a?a(n):{}}},{}),inclusive:sI(s_(n,"inclusive",r)),excludes:sI(s_(n,"excludes",r)),group:sI(s_(n,"group",r)),spanning:sI(s_(n,"spanning",r)),code:sI(s_(n,"code",r)),attrs:Object.fromEntries(o.map(sR))}),i=sI(s_(n,"parseHTML",r));i&&(s.parseDOM=i.map(e=>sM(e,o)));let l=s_(n,"renderHTML",r);return l&&(s.toDOM=e=>l({mark:e,HTMLAttributes:sN(e,o)})),[n.name,s]}))})}(this.extensions,t),this.setupExtensions()}get commands(){return this.extensions.reduce((e,t)=>{let n={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:this.editor,type:s$(t.name,this.schema)},a=s_(t,"addCommands",n);return a?{...e,...a()}:e},{})}get plugins(){let{editor:e}=this;return sF([...this.extensions].reverse()).flatMap(t=>{let n={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:s$(t.name,this.schema)},a=[],o=s_(t,"addKeyboardShortcuts",n),r={};if("mark"===t.type&&s_(t,"exitable",n)&&(r.ArrowRight=()=>iy.handleExit({editor:e,mark:t})),o){let t=Object.fromEntries(Object.entries(o()).map(([t,n])=>[t,()=>n({editor:e})]));r={...r,...t}}let s=rb(r);a.push(s);let i=s_(t,"addInputRules",n);if(sW(t,e.options.enableInputRules)&&i){let t=i();if(t&&t.length){let n=function(e){let{editor:t,rules:n}=e,a=new nc({state:{init:()=>null,apply(e,o,r){let s=e.getMeta(a);if(s)return s;let i=e.getMeta("applyInputRules");return i&&setTimeout(()=>{let{text:e}=i;"string"==typeof e||(e=sD(eA.from(e),r.schema));let{from:o}=i,s=o+e.length;ig({editor:t,from:o,to:s,text:e,rules:n,plugin:a})}),e.selectionSet||e.docChanged?null:o}},props:{handleTextInput:(e,o,r,s)=>ig({editor:t,from:o,to:r,text:s,rules:n,plugin:a}),handleDOMEvents:{compositionend:e=>(setTimeout(()=>{let{$cursor:o}=e.state.selection;o&&ig({editor:t,from:o.pos,to:o.pos,text:"",rules:n,plugin:a})}),!1)},handleKeyDown(e,o){if("Enter"!==o.key)return!1;let{$cursor:r}=e.state.selection;return!!r&&ig({editor:t,from:r.pos,to:r.pos,text:"\n",rules:n,plugin:a})}},isInputRules:!0});return a}({editor:e,rules:t}),o=Array.isArray(n)?n:[n];a.push(...o)}}let l=s_(t,"addPasteRules",n);if(sW(t,e.options.enablePasteRules)&&l){let t=l();if(t&&t.length){let n=function(e){let t,{editor:n,rules:a}=e,o=null,r=!1,s=!1,i="u">typeof ClipboardEvent?new ClipboardEvent("paste"):null;try{t="u">typeof DragEvent?new DragEvent("drop"):null}catch{t=null}let l=({state:e,from:a,to:o,rule:r,pasteEvt:s})=>{let l=e.tr;if(function(e){let{editor:t,state:n,from:a,to:o,rule:r,pasteEvent:s,dropEvent:i}=e,{commands:l,chain:c,can:p}=new rw({editor:t,state:n}),d=[];return n.doc.nodesBetween(a,o,(e,t)=>{var u,m,h,f,g;if((null==(m=null==(u=e.type)?void 0:u.spec)?void 0:m.code)||!(e.isText||e.isTextblock||e.isInline))return;let b=null!=(g=null!=(f=null==(h=e.content)?void 0:h.size)?f:e.nodeSize)?g:0,v=Math.max(a,t),y=Math.min(o,t+b);v>=y||((e,t,n)=>{if(rP(t))return[...e.matchAll(t)];let a=t(e,n);return a?a.map(t=>{let n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n}):[]})(e.isText?e.text||"":e.textBetween(v-t,y-t,void 0,""),r.find,s).forEac
24h(e=>{if(void 0===e.index)return;let t=v+e.index+1,a=t+e[0].length,o={from:n.tr.mapping.map(t),to:n.tr.mapping.map(a)},u=r.handler({state:n,range:o,match:e,commands:l,chain:c,can:p,pasteEvent:s,dropEvent:i});d.push(u)})}),d.every(e=>null!==e)}({editor:n,state:rk({state:e,transaction:l}),from:Math.max(a-1,0),to:o.b-1,rule:r,pasteEvent:s,dropEvent:t})&&l.steps.length){try{t="u">typeof DragEvent?new DragEvent("drop"):null}catch{t=null}return i="u">typeof ClipboardEvent?new ClipboardEvent("paste"):null,l}};return a.map(e=>new nc({view(e){let t=t=>{var a;(o=(null==(a=e.dom.parentElement)?void 0:a.contains(t.target))?e.dom.parentElement:null)&&(ik=n)},a=()=>{ik&&(ik=null)};return window.addEventListener("dragstart",t),window.addEventListener("dragend",a),{destroy(){window.removeEventListener("dragstart",t),window.removeEventListener("dragend",a)}}},props:{handleDOMEvents:{drop:(e,n)=>{if(s=o===e.dom.parentElement,t=n,!s){let e=ik;(null==e?void 0:e.isEditable)&&setTimeout(()=>{let t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})},10)}return!1},paste:(e,t)=>{var n;let a=null==(n=t.clipboardData)?void 0:n.getData("text/html");return i=t,r=!!(null==a?void 0:a.includes("data-pm-slice")),!1}}},appendTransaction:(t,n,a)=>{let o=t[0],c="paste"===o.getMeta("uiEvent")&&!r,p="drop"===o.getMeta("uiEvent")&&!s,d=o.getMeta("applyPasteRules"),u=!!d;if(!c&&!p&&!u)return;if(u){var m,h;let t,{text:n}=d;"string"==typeof n||(n=sD(eA.from(n),a.schema));let{from:o}=d,r=o+n.length;return l({rule:e,state:a,from:o,to:{b:r},pasteEvt:(m=n,null==(h=(t=new ClipboardEvent("paste",{clipboardData:new DataTransfer})).clipboardData)||h.setData("text/html",m),t)})}let f=n.doc.content.findDiffStart(a.doc.content),g=n.doc.content.findDiffEnd(a.doc.content);if("number"==typeof f&&g&&f!==g.b)return l({rule:e,state:a,from:f,to:g,pasteEvt:i})}}))}({editor:e,rules:t});a.push(...n)}}let c=s_(t,"addProseMirrorPlugins",n);if(c){let e=c();a.push(...e)}return a})}get attributes(){return sC(this.extensions)}get nodeViews(){let{editor:e}=this,{nodeExtensions:t}=sx(this.extensions);return Object.fromEntries(t.filter(e=>!!s_(e,"addNodeView")).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),a={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:rA(t.name,this.schema)},o=s_(t,"addNodeView",a);if(!o)return[];let r=o();return r?[t.name,(a,o,s,i,l)=>{let c=sN(a,n);return r({node:a,view:o,getPos:s,decorations:i,innerDecorations:l,editor:e,extension:t,HTMLAttributes:c})}]:[]}))}dispatchTransaction(e){let{editor:t}=this;return sF([...this.extensions].reverse()).reduceRight((e,n)=>{let a={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:s$(n.name,this.schema)},o=s_(n,"dispatchTransaction",a);return o?t=>{o.call(a,{transaction:t,next:e})}:e},e)}transformPastedHTML(e){let{editor:t}=this;return sF([...this.extensions]).reduce((e,n)=>{let a={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:s$(n.name,this.schema)},o=s_(n,"transformPastedHTML",a);return o?(t,n)=>{let r=e(t,n);return o.call(a,r)}:e},e||(e=>e))}get markViews(){let{editor:e}=this,{markExtensions:t}=sx(this.extensions);return Object.fromEntries(t.filter(e=>!!s_(e,"addMarkView")).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),a={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:rz(t.name,this.schema)},o=s_(t,"addMarkView",a);return o?[t.name,(a,r,s)=>{let i=sN(a,n);return o()({mark:a,view:r,inline:s,editor:e,extension:t,HTMLAttributes:i,updateAttributes:t=>{iX(a,e,t)}})}]:[]}))}destroy(){this.extensions.forEach(e=>{let t=e;for(;t.parent;){let e=t.parent;e.child===t&&(e.child=null),t=e}}),this.extensions=[],this.baseExtensions=[],this.schema=null,this.editor=null}setupExtensions(){let e=this.extensions;this.editor.extensionStorage=Object.fromEntries(e.map(e=>[e.name,e.storage])),e.forEach(e=>{var t;let n={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:s$(e.name,this.schema)};"mark"===e.type&&(null==(t=sI(s_(e,"keepOnSplit",n)))||t)&&this.splittableMarks.push(e.name);let a=s_(e,"onBeforeCreate",n),o=s_(e,"onCreate",n),r=s_(e,"onUpdate",n),s=s_(e,"onSelectionUpdate",n),i=s_(e,"onTransaction",n),l=s_(e,"onFocus",n),c=s_(e,"onBlur",n),p=s_(e,"onDestroy",n);a&&this.editor.on("beforeCreate",a),o&&this.editor.on("create",o),r&&this.editor.on("update",r),s&&this.editor.on("selectionUpdate",s),i&&this.editor.on("transaction",i),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),p&&this.editor.on("destroy",p)})}};iw.resolve=sP,iw.sort=sF,iw.flatten=sE,rj({}
24,{ClipboardTextSerializer:()=>iE,Commands:()=>iD,Delete:()=>iT,Drop:()=>iI,Editable:()=>ix,FocusEvents:()=>iS,Keymap:()=>iA,Paste:()=>iN,Tabindex:()=>iM,TextDirection:()=>iO,focusEventsPluginKey:()=>iC});var i_=class e extends iv{constructor(){super(...arguments),this.type="extension"}static create(t={}){return new e("function"==typeof t?t():t)}configure(e){return super.configure(e)}extend(e){let t="function"==typeof e?e():e;return super.extend(t)}},iE=i_.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new nc({key:new nu("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{let{editor:e}=this,{state:t,schema:n}=e,{doc:a,selection:o}=t,{ranges:r}=o,s=Math.min(...r.map(e=>e.$from.pos)),i=Math.max(...r.map(e=>e.$to.pos)),l=sB(n);return sL(a,{from:s,to:i},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}}),iD=i_.create({name:"commands",addCommands:()=>({...r_})}),iT=i_.create({name:"delete",onUpdate({transaction:e,appendedTransactions:t}){var n,a,o;let r=()=>{var n,a,o,r;if(null!=(r=null==(o=null==(a=null==(n=this.editor.options.coreExtensionOptions)?void 0:n.delete)?void 0:a.filterTransaction)?void 0:o.call(a,e))?r:e.getMeta("y-sync$"))return;let s=sk(e.before,[e,...t]);sU(s).forEach(t=>{s.mapping.mapResult(t.oldRange.from).deletedAfter&&s.mapping.mapResult(t.oldRange.to).deletedBefore&&s.before.nodesBetween(t.oldRange.from,t.oldRange.to,(n,a)=>{let o=a+n.nodeSize-2,r=t.oldRange.from<=a&&o<=t.oldRange.to;this.editor.emit("delete",{type:"node",node:n,from:a,to:o,newFrom:s.mapping.map(a),newTo:s.mapping.map(o),deletedRange:t.oldRange,newRange:t.newRange,partial:!r,editor:this.editor,transaction:e,combinedTransform:s})})});let i=s.mapping;s.steps.forEach((t,n)=>{var a,o;if(t instanceof tD){let r=i.slice(n).map(t.from,-1),l=i.slice(n).map(t.to),c=i.invert().map(r,-1),p=i.invert().map(l),d=r>0&&(null==(a=s.doc.nodeAt(r-1))?void 0:a.marks.some(e=>e.eq(t.mark))),u=null==(o=s.doc.nodeAt(l))?void 0:o.marks.some(e=>e.eq(t.mark));this.editor.emit("delete",{type:"mark",mark:t.mark,from:t.from,to:t.to,deletedRange:{from:c,to:p},newRange:{from:r,to:l},partial:!!(u||d),editor:this.editor,transaction:e,combinedTransform:s})}})};null==(o=null==(a=null==(n=this.editor.options.coreExtensionOptions)?void 0:n.delete)?void 0:a.async)||o?setTimeout(r,0):r()}}),iI=i_.create({name:"drop",addProseMirrorPlugins(){return[new nc({key:new nu("tiptapDrop"),props:{handleDrop:(e,t,n,a)=>{this.editor.emit("drop",{editor:this.editor,event:t,slice:n,moved:a})}}})]}}),ix=i_.create({name:"editable",addProseMirrorPlugins(){return[new nc({key:new nu("editable"),props:{editable:()=>this.editor.options.editable}})]}}),iC=new nu("focusEvents"),iS=i_.create({name:"focusEvents",addProseMirrorPlugins(){let{editor:e}=this;return[new nc({key:iC,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;let a=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(a),!1},blur:(t,n)=>{e.isFocused=!1;let a=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(a),!1}}}})]}}),iA=i_.create({name:"keymap",addKeyboardShortcuts(){let e=()=>this.editor.commands.first(({commands:e})=>[()=>e.undoInputRule(),()=>e.command(({tr:t})=>{let{selection:n,doc:a}=t,{empty:o,$anchor:r}=n,{pos:s,parent:i}=r,l=r.parent.isTextblock&&s>0?t.doc.resolve(s-1):r,c=l.parent.type.spec.isolating,p=r.pos-r.parentOffset,d=c&&1===l.parent.childCount?p===r.pos:t1.atStart(a).from===s;return!!o&&!!i.type.isTextblock&&!i.textContent.length&&!!d&&(!d||"paragraph"!==r.parent.type.name)&&e.clearNodes()}),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()]),n={Enter:()=>this.editor.commands.first(({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},a={...n},o={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return rK()||st()?o:a},addProseMirrorPlugins(){return[new nc({key:new nu("clearDocument"),appendTransaction:(e,t,n)=>{if(e.some(e=>e.getMeta("composition")))return;let a=e.some(e=>e.docChanged)&&!t.doc.eq(n.doc),o=e.some(e=>e.getMeta("preventClearDocument"));if(!a||o)return;let{empty:r,from:s,to:i}=t.selection,l=t1.atStart(t.doc).from,c=t1.atEnd(t.doc).to;
24if(r||s!==l||i!==c||!sY(n.doc))return;let p=n.tr,d=rk({state:n,transaction:p}),{commands:u}=new rw({editor:this.editor,state:d});if(u.clearNodes(),p.steps.length)return p}})]}}),iN=i_.create({name:"paste",addProseMirrorPlugins(){return[new nc({key:new nu("tiptapPaste"),props:{handlePaste:(e,t,n)=>{this.editor.emit("paste",{editor:this.editor,event:t,slice:n})}}})]}}),iM=i_.create({name:"tabindex",addOptions:()=>({value:void 0}),addProseMirrorPlugins(){return[new nc({key:new nu("tabindex"),props:{attributes:()=>{var e;return this.editor.isEditable||void 0!==this.options.value?{tabindex:null!=(e=this.options.value)?e:"0"}:{}}}})]}}),iO=i_.create({name:"textDirection",addOptions:()=>({direction:void 0}),addGlobalAttributes(){if(!this.options.direction)return[];let{nodeExtensions:e}=sx(this.extensions);return[{types:e.filter(e=>"text"!==e.name).map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{let t=e.getAttribute("dir");return t&&("ltr"===t||"rtl"===t||"auto"===t)?t:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new nc({key:new nu("textDirection"),props:{attributes:()=>{let e=this.options.direction;return e?{dir:e}:{}}}})]}}),iR=class e{constructor(e,t,n=!1,a=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=a}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!=(e=this.actualDepth)?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can\u2019t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+ +!this.node.isText}get parent(){if(0===this.depth)return null;let t=this.resolvedPos.start(this.resolvedPos.depth-1);return new e(this.resolvedPos.doc.resolve(t),this.editor)}get before(){let t=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.from-3)),new e(t,this.editor)}get after(){let t=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.to+3)),new e(t,this.editor)}get children(){let t=[];return this.node.content.forEach((n,a)=>{let o=n.isBlock&&!n.isTextblock,r=n.isAtom&&!n.isText,s=n.isInline,i=this.pos+a+ +!r;if(i<0||i>this.resolvedPos.doc.nodeSize-2)return;let l=this.resolvedPos.doc.resolve(i);if(!o&&!s&&l.depth<=this.depth)return;let c=new e(l,this.editor,o,o||s?n:null);o&&(c.actualDepth=this.depth+1),t.push(c)}),t}get firstChild(){return this.children[0]||null}get lastChild(){let e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,a=this.parent;for(;a&&!n;){if(a.node.type.name===e)if(Object.keys(t).length>0){let e=a.node.attrs,n=Object.keys(t);for(let a=0;a<n.length;a+=1){let o=n[a];if(e[o]!==t[o])break}}else n=a;a=a.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let a=[];if(!this.children||0===this.children.length)return a;let o=Object.keys(t);return this.children.forEach(r=>{n&&a.length>0||(r.node.type.name===e&&o.every(e=>t[e]===r.node.attrs[e])&&a.push(r),n&&a.length>0||(a=a.concat(r.querySelectorAll(e,t,n))))}),a}setAttribute(e){let{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}},iF=`.ProseMirror { 25 position: relative; 26} 27 28.ProseMirror { 29 word-wrap: break-word; 30 white-space: pre-wrap; 31 white-space: break-spaces; 32 -webkit-font-variant-ligatures: none; 33 font-variant-ligatures: none; 34 font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */ 35} 36 37.ProseMirror [contenteditable="false"] { 38 white-space: normal; 39} 40 41.ProseMirror [contenteditable="false"] [contenteditable="true"] { 42 white-space: pre-wrap; 43} 44 45.ProseMirror pre { 46 white-space: pre-wrap; 47} 48 49img.ProseMirror-separator { 50 display: inline !important; 51 border: none !important; 52 margin: 0 !important; 53 width: 0 !important; 54 height: 0 !important; 55} 56 57.ProseMirror-gapcursor { 58 display: none; 59 pointer-events: none; 60 position: absolute; 61 margin: 0; 62} 63 64.ProseMirror-gapcursor:after {
65 content: ""; 66 display: block; 67 position: absolute; 68 top: -2px; 69 width: 20px; 70 border-top: 1px solid black; 71 animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite; 72} 73 74@keyframes ProseMirror-cursor-blink { 75 to { 76 visibility: hidden; 77 } 78} 79 80.ProseMirror-hideselection *::selection { 81 background: transparent; 82} 83 84.ProseMirror-hideselection *::-moz-selection { 85 background: transparent; 86} 87 88.ProseMirror-hideselection * { 89 caret-color: transparent; 90} 91 92.ProseMirror-focused .ProseMirror-gapcursor { 93 display: block; 94}`,iP=class extends im{constructor(e={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.destroyed=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:"u">typeof document?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:sX,createMappablePosition:sJ},this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n)),this.on("paste",({event:e,slice:t})=>this.options.onPaste(e,t)),this.on("delete",this.options.onDelete);const t=this.createDoc(),n=rG(t,this.options.autofocus);this.editorState=nl.create({doc:t,schema:this.schema,selection:n||void 0}),this.options.element&&this.mount(this.options.element)}mount(e){if("u"<typeof document)throw Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(e),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(!1!==this.options.autofocus&&null!==this.options.autofocus&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){let e=this.editorView.dom;(null==e?void 0:e.editor)&&delete e.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{"function"==typeof this.css.remove?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(e){console.warn("Failed to remove CSS element:",e)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&"u">typeof document&&(this.css=function(e,t){let n=document.querySelector("style[data-tiptap-style]");if(null!==n)return n;let a=document.createElement("style");return t&&a.setAttribute("nonce",t),a.setAttribute("data-tiptap-style",""),a.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(a),a}(iF,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.editorView&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}
94),t&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:e=>{this.editorState=e},dispatch:e=>{this.dispatchTransaction(e)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(e,t)=>{if(this.editorView)return this.editorView[t];if("state"===t)return this.editorState;if(t in e)return Reflect.get(e,t);throw Error(`[tiptap error]: The editor view is not available. Cannot access view['${t}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(e,t){let n=sT(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],a=this.state.reconfigure({plugins:n});return this.view.updateState(a),a}unregisterPlugin(e){if(this.isDestroyed)return;let t=this.state.plugins,n=t;if([].concat(e).forEach(e=>{let t="string"==typeof e?`${e}$`:e.key;n=n.filter(e=>!e.key.startsWith(t))}),t.length===n.length)return;let a=this.state.reconfigure({plugins:n});return this.view.updateState(a),a}createExtensionManager(){var e,t,n,a;let o=[...this.options.enableCoreExtensions?[ix,iE.configure({blockSeparator:null==(t=null==(e=this.options.coreExtensionOptions)?void 0:e.clipboardTextSerializer)?void 0:t.blockSeparator}),iD,iS,iA,iM.configure({value:null==(a=null==(n=this.options.coreExtensionOptions)?void 0:n.tabindex)?void 0:a.value}),iI,iN,iT,iO.configure({direction:this.options.textDirection})].filter(e=>"object"!=typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[e.name]):[],...this.options.extensions].filter(e=>["extension","node","mark"].includes(null==e?void 0:e.type));this.extensionManager=new iw(o,this)}createCommandManager(){this.commandManager=new rw({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let e;try{e=sv(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(t){if(!(t instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(t.message))throw t;this.emit("contentError",{editor:this,error:t,disableCollaboration:()=>{"collaboration"in this.storage&&"object"==typeof this.storage.collaboration&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(e=>"collaboration"!==e.name),this.createExtensionManager()}}),e=sv(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return e}createView(e){let{editorProps:t,enableExtensionDispatchTransaction:n}=this.options,a=t.dispatchTransaction||this.dispatchTransaction.bind(this),o=n?this.extensionManager.dispatchTransaction(a):a,r=t.transformPastedHTML,s=this.extensionManager.transformPastedHTML(r);this.editorView=new rn(e,{...t,attributes:{role:"textbox",...null==t?void 0:t.attributes},dispatchTransaction:o,transformPastedHTML:s,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});let i=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(i),this.prependClass(),this.injectCSS(),this.view.dom.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;let t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(e=>{var t;return null==(t=this.capturedTransaction)?void 0:t.step(e)});return}let{state:t,transactions:n}=this.state.applyTransaction(e),a=!this.state.selection.eq(t.selection),o=n.includes(e),r=this.state;
94if(this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),!o)return;this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e,appendedTransactions:n.slice(1)}),a&&this.emit("selectionUpdate",{editor:this,transaction:e});let s=n.findLast(e=>e.getMeta("focus")||e.getMeta("blur")),i=null==s?void 0:s.getMeta("focus"),l=null==s?void 0:s.getMeta("blur");i&&this.emit("focus",{editor:this,event:i.event,transaction:s}),l&&this.emit("blur",{editor:this,event:l.event,transaction:s}),e.getMeta("preventUpdate")||!n.some(e=>e.docChanged)||r.doc.eq(t.doc)||this.emit("update",{editor:this,transaction:e,appendedTransactions:n.slice(1)})}getAttributes(e){return sH(this.state,e)}isActive(e,t){let n="string"==typeof e?e:null,a="string"==typeof e?t:e;return function(e,t,n={}){if(!t)return sa(e,null,n)||sV(e,null,n);let a=sl(t,e.schema);return"node"===a?sa(e,t,n):"mark"===a&&sV(e,t,n)}(this.state,n,a)}getJSON(){return this.state.doc.toJSON()}getHTML(){return sD(this.state.doc.content,this.schema)}getText(e){var t,n;let a,{blockSeparator:o="\n\n",textSerializers:r={}}=e||{};return t=this.state.doc,n={blockSeparator:o,textSerializers:{...sB(this.schema),...r}},a={from:0,to:t.content.size},sL(t,a,n)}get isEmpty(){return sY(this.state.doc)}destroy(){this.destroyed||(this.destroyed=!0,this.emit("destroy"),this.unmount(),this.removeAllListeners(),this.extensionManager.destroy(),this.extensionManager=null,this.schema=null,this.commandManager=null,this.extensionStorage={})}get isDestroyed(){var e,t;return null==(t=null==(e=this.editorView)?void 0:e.isDestroyed)||t}$node(e,t){var n;return(null==(n=this.$doc)?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null==(n=this.$doc)?void 0:n.querySelectorAll(e,t))||null}$pos(e){return new iR(this.state.doc.resolve(e),this)}get $doc(){return this.$pos(0)}},iL=class{constructor(e){var t,n,a,o,r,s;this.directions=["bottom-left","bottom-right","top-left","top-right"],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:"",wrapper:"",handle:"",resizing:""},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=e=>{if(!this.isResizing||!this.activeHandle)return;let t=e.clientX-this.startX,n=e.clientY-this.startY;this.handleResize(t,n)},this.handleTouchMove=e=>{if(!this.isResizing||!this.activeHandle)return;let t=e.touches[0];if(!t)return;let n=t.clientX-this.startX,a=t.clientY-this.startY;this.handleResize(n,a)},this.handleMouseUp=()=>{if(!this.isResizing)return;let e=this.element.offsetWidth,t=this.element.offsetHeight;this.onCommit(e,t),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)},this.handleKeyDown=e=>{"Shift"===e.key&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=e=>{"Shift"===e.key&&(this.isShiftKeyPressed=!1)},this.node=e.node,this.editor=e.editor,this.element=e.element,this.contentElement=e.contentElement,this.getPos=e.getPos,this.onResize=e.onResize,this.onCommit=e.onCommit,this.onUpdate=e.onUpdate,(null==(t=e.options)?void 0:t.min)&&(this.minSize={...this.minSize,...e.options.min}),(null==(n=e.options)?void 0:n.max)&&(this.maxSize=e.options.max),(null==(a=null==e?void 0:e.options)?void 0:a.directions)&&(this.directions=e.options.directions),(null==(o=e.options)?void 0:o.preserveAspectRatio)&&(this.preserveAspectRatio=e.options.preserveAspectRatio),(null==(r=e.options)?void 0:r.className)&&(this.classNames={container:e.options.className.container||"",wrapper:e.options.className.wrapper||"",handle:e.options.className.handle||"",resizing:e.options.className.resizing||""}),(null==(s=e.options)?void 0:s.createCustomHandle)&&(this.createCustomHandle=e.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on("update",this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){var e;return null!=(e=this.contentElement)?e:null}handleEditorUpdate(){let e=this.editor.isEditable;e!==this.lastEditableState&&(this.lastEditableState=e,e?e&&0===this.handleMap.size&&this.attachHandles():this.removeHandles())}update(e,t,n){return e.type===this.node.type&&(this.node=e,!this.onUpdate||this.onUpdate(e,t,n))}destroy(){this.isResizing&&(this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off("update",this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){let e=document.createElement("div");return e.dataset.resizeContainer="",e.dataset.node=this.node.type.n
94ame,e.style.display=this.node.type.isInline?"inline-flex":"flex",this.classNames.container&&(e.className=this.classNames.container),e.appendChild(this.wrapper),e}createWrapper(){let e=document.createElement("div");return e.style.position="relative",e.style.display="block",e.dataset.resizeWrapper="",this.classNames.wrapper&&(e.className=this.classNames.wrapper),e.appendChild(this.element),e}createHandle(e){let t=document.createElement("div");return t.dataset.resizeHandle=e,t.style.position="absolute",this.classNames.handle&&(t.className=this.classNames.handle),t}positionHandle(e,t){let n=t.includes("top"),a=t.includes("bottom"),o=t.includes("left"),r=t.includes("right");n&&(e.style.top="0"),a&&(e.style.bottom="0"),o&&(e.style.left="0"),r&&(e.style.right="0"),("top"===t||"bottom"===t)&&(e.style.left="0",e.style.right="0"),("left"===t||"right"===t)&&(e.style.top="0",e.style.bottom="0")}attachHandles(){this.directions.forEach(e=>{let t;(t=this.createCustomHandle?this.createCustomHandle(e):this.createHandle(e))instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${e}") did not return an HTMLElement. Falling back to default handle.`),t=this.createHandle(e)),this.createCustomHandle||this.positionHandle(t,e),t.addEventListener("mousedown",t=>this.handleResizeStart(t,e)),t.addEventListener("touchstart",t=>this.handleResizeStart(t,e)),this.handleMap.set(e,t),this.wrapper.appendChild(t)})}removeHandles(){this.handleMap.forEach(e=>e.remove()),this.handleMap.clear()}applyInitialSize(){let e=this.node.attrs.width,t=this.node.attrs.height;e?(this.element.style.width=`${e}px`,this.initialWidth=e):this.initialWidth=this.element.offsetWidth,t?(this.element.style.height=`${t}px`,this.initialHeight=t):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(e,t){e.preventDefault(),e.stopPropagation(),this.isResizing=!0,this.activeHandle=t,"touches"in e?(this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY):(this.startX=e.clientX,this.startY=e.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState="true",this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}handleResize(e,t){if(!this.activeHandle)return;let n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:a,height:o}=this.calculateNewDimensions(this.activeHandle,e,t),r=this.applyConstraints(a,o,n);this.element.style.width=`${r.width}px`,this.element.style.height=`${r.height}px`,this.onResize&&this.onResize(r.width,r.height)}calculateNewDimensions(e,t,n){let a=this.startWidth,o=this.startHeight,r=e.includes("right"),s=e.includes("left"),i=e.includes("bottom"),l=e.includes("top");return(r?a=this.startWidth+t:s&&(a=this.startWidth-t),i?o=this.startHeight+n:l&&(o=this.startHeight-n),("right"===e||"left"===e)&&(a=this.startWidth+(r?t:-t)),("top"===e||"bottom"===e)&&(o=this.startHeight+(i?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed)?this.applyAspectRatio(a,o,e):{width:a,height:o}}applyConstraints(e,t,n){var a,o,r,s;if(!n){let n=Math.max(this.minSize.width,e),r=Math.max(this.minSize.height,t);return(null==(a=this.maxSize)?void 0:a.width)&&(n=Math.min(this.maxSize.width,n)),(null==(o=this.maxSize)?void 0:o.height)&&(r=Math.min(this.maxSize.height,r)),{width:n,height:r}}let i=e,l=t;return i<this.minSize.width&&(l=(i=this.minSize.width)/this.aspectRatio),l<this.minSize.height&&(i=(l=this.minSize.height)*this.aspectRatio),(null==(r=this.maxSize)?void 0:r.width)&&i>this.maxSize.width&&(l=(i=this.maxSize.width)/this.aspectRatio),(null==(s=this.maxSize)?void 0:s.height)&&l>this.maxSize.height&&(i=(l=this.maxSize.height)*this.aspectRatio),{width:i,height:l}}applyAspectRatio(e,t,n){return"left"===n||"right"===n?{width:e,height:e/this.aspectRatio}:"top"===n||"bottom"===n?{width:t*this.aspectRatio,height:t}:{width:e,height:e/this.aspectRatio}}};function iB(e){if(!(null==e?void 0:e.trim()))return{};let t={},n=[],a=e.replace(/["']([^"']*)["']/g,e=>(n.push(e),`__QUOTED_${n.length-1}
94__`)),o=a.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);o&&(t.class=o.map(e=>e.trim().slice(1)).join(" "));let r=a.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);r&&(t.id=r[1]),Array.from(a.matchAll(/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g)).forEach(([,e,a])=>{var o;let r=n[parseInt((null==(o=a.match(/__QUOTED_(\d+)__/))?void 0:o[1])||"0",10)];r&&(t[e]=r.slice(1,-1))});let s=a.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g,"").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return s&&s.split(/\s+/).filter(Boolean).forEach(e=>{e.match(/^[a-zA-Z][\w-]*$/)&&(t[e]=!0)}),t}function iH(e){if(!e||0===Object.keys(e).length)return"";let t=[];return e.class&&String(e.class).split(/\s+/).filter(Boolean).forEach(e=>t.push(`.${e}`)),e.id&&t.push(`#${e.id}`),Object.entries(e).forEach(([e,n])=>{"class"!==e&&"id"!==e&&(!0===n?t.push(e):!1!==n&&null!=n&&t.push(`${e}="${String(n)}"`))}),t.join(" ")}function iU(e){let{nodeName:t,name:n,parseAttributes:a=iB,serializeAttributes:o=iH,defaultAttributes:r={},requiredAttributes:s=[],allowedAttributes:i}=e,l=n||t;return{parseMarkdown:(e,n)=>{let a={...r,...e.attributes};return n.createNode(t,a,[])},markdownTokenizer:{name:t,level:"block",start(e){var t;let n=RegExp(`^:::${l}(?:\\s|$)`,"m"),a=null==(t=e.match(n))?void 0:t.index;return void 0!==a?a:-1},tokenize(e,n,o){let r=RegExp(`^:::${l}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),i=e.match(r);if(!i)return;let c=a(i[1]||"");if(!s.find(e=>!(e in c)))return{type:t,raw:i[0],attributes:c}}},renderMarkdown:e=>{let t=o((e=>{if(!i)return e;let t={};return i.forEach(n=>{n in e&&(t[n]=e[n])}),t})(e.attrs||{})),n=t?` {${t}}`:"";return`:::${l}${n} :::`}}}function iz(e){let{nodeName:t,name:n,getContent:a,parseAttributes:o=iB,serializeAttributes:r=iH,defaultAttributes:s={},content:i="block",allowedAttributes:l}=e,c=n||t;return{parseMarkdown:(e,n)=>{let o;if(a){let t=a(e);o="string"==typeof t?[{type:"text",text:t}]:t}else o="block"===i?n.parseChildren(e.tokens||[]):n.parseInline(e.tokens||[]);let r={...s,...e.attributes};return n.createNode(t,r,o)},markdownTokenizer:{name:t,level:"block",start(e){var t;let n=RegExp(`^:::${c}`,"m"),a=null==(t=e.match(n))?void 0:t.index;return void 0!==a?a:-1},tokenize(e,n,a){var r;let s=RegExp(`^:::${c}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),l=e.match(s);if(!l)return;let[p,d=""]=l,u=o(d),m=1,h=p.length,f="",g=/^:::([\w-]*)(\s.*)?/gm,b=e.slice(h);for(g.lastIndex=0;;){let n=g.exec(b);if(null===n)break;let o=n.index,s=n[1];if(null==(r=n[2])||!r.endsWith(":::")){if(s)m+=1;else if(0==(m-=1)){let r=b.slice(0,o);f=r.trim();let s=e.slice(0,h+o+n[0].length),l=[];if(f)if("block"===i)for((l=a.blockTokens(r)).forEach(e=>{e.text&&(!e.tokens||0===e.tokens.length)&&(e.tokens=a.inlineTokens(e.text))});l.length>0;){let e=l[l.length-1];if("paragraph"!==e.type||e.text&&""!==e.text.trim())break;l.pop()}else l=a.inlineTokens(f);return{type:t,raw:s,attributes:u,content:f,tokens:l}}}}}},renderMarkdown:(e,t)=>{let n=r((e=>{if(!l)return e;let t={};return l.forEach(n=>{n in e&&(t[n]=e[n])}),t})(e.attrs||{})),a=n?` {${n}}`:"",o=t.renderChildren(e.content||[],"\n\n");return`:::${c}${a} 95 96${o} 97 98:::`}}}function i$(e){if(!e.trim())return{};let t={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g,a=n.exec(e);for(;null!==a;){let[,o,r,s]=a;t[o]=r||s,a=n.exec(e)}return t}function iq(e){return Object.entries(e).filter(([,e])=>null!=e).map(([e,t])=>`${e}="${t}"`).join(" ")}function iV(e){let{nodeName:t,name:n,getContent:a,parseAttributes:o=i$,serializeAttributes:r=iq,defaultAttributes:s={},selfClosing:i=!1,allowedAttributes:l}=e,c=n||t,p=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(e,n)=>{let o={...s,...e.attributes};if(i)return n.createNode(t,o);let r=a?a(e):e.content||"";return r?n.createNode(t,o,[n.createTextNode(r)]):n.createNode(t,o,[])},markdownTokenizer:{name:t,level:"inline",start(e){let t=i?RegExp(`\\[${p}\\s*[^\\]]*\\]`):RegExp(`\\[${p}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${p}\\]`),n=e.match(t),a=null==n?void 0:n.index;return void 0!==a?a:-1},tokenize(e,n,a){let r=i?RegExp(`^\\[${p}\\s*([^\\]]*)\\]`):RegExp(`^\\[${p}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${p}\\]`),s=e.match(r);if(!s)return;let l="",c="";if(i){let[,e]=s;c=e}else{let[,e,t]=s;c=e,l=t||""}let d=o(c.trim());return{type:t,raw:s[0],content:l.trim(),attributes:d}}},renderMarkdown:e=>{let t="";a?t=a(e):e.content&&e.content.length>0&&(t=e.content.filter(e=>"text"===e.type).map(e=>e.text).join(""));let n=r((e=>{if(!l)return e;let t={};return l.forEach(n=>{let a="string"==typeof n?n:n.name,o="string"==typeof n?void 0:n.skipIfDefault;if(a in e){let n=e[a];if(void 0!==o&&n===o)return;t[a]=n}}),t})(e.attrs||{})),o=n?` ${n}`:"";return i?`[${c}${o}]`:`[${c}${o}]${t}[/${c}]`}}}function iW(e,t,n){var a,o,r,s;let i=e.split("\n"),l=[],c="",p=0,d=t.baseIndentSize||2;for(;p<i.length;){let e,u=i[p],m=u.match(t.itemPattern);if(!m)if(l.length>0)break;else{if(""!==u.trim())return;p+=1,c=`${c}${u} 99`;continue}let h=t.extractItemData(m),{indentLevel:f,mainContent:g}=h;c=`${c}${u} 100`;let b=[g];for(p+=1;p<i.length;){let e=i[p];if(""===e.trim()){let t=i.slice(p+1).findIndex(e=>""!==e.trim());if(-1===t)break;
100if(((null==(o=null==(a=i[p+1+t].match(/^(\s*)/))?void 0:a[1])?void 0:o.length)||0)>f){b.push(e),c=`${c}${e} 101`,p+=1;continue}break}if(((null==(s=null==(r=e.match(/^(\s*)/))?void 0:r[1])?void 0:s.length)||0)>f)b.push(e),c=`${c}${e} 102`,p+=1;else break}let v=b.slice(1);if(v.length>0){let a=v.map(e=>e.slice(f+d)).join("\n");a.trim()&&(e=t.customNestedParser?t.customNestedParser(a):n.blockTokens(a))}let y=t.createToken(h,e);l.push(y)}if(0!==l.length)return{items:l,raw:c}}function iG(e,t,n,a){if(!e||!Array.isArray(e.content))return"";let o="function"==typeof n?n(a):n,[r,...s]=e.content,i=t.renderChildren([r]),l=`${o}${i}`;return s&&s.length>0&&s.forEach((e,n)=>{var a,o;let r=null!=(o=null==(a=t.renderChild)?void 0:a.call(t,e,n+1))?o:t.renderChildren([e]);if(null!=r){let n=r.split("\n").map(e=>e?t.indent(e):t.indent("")).join("\n");l+="paragraph"===e.type?` 103 104${n}`:` 105${n}`}}),l}rj({},{createAtomBlockMarkdownSpec:()=>iU,createBlockMarkdownSpec:()=>iz,createInlineMarkdownSpec:()=>iV,parseAttributes:()=>iB,parseIndentedBlocks:()=>iW,renderNestedMarkdownContent:()=>iG,serializeAttributes:()=>iH});var iY=new WeakMap;function iK(e,t){let n=iY.get(e);if(!n){let t={callbacks:new Set,rafId:null,handler:()=>{null!==t.rafId&&cancelAnimationFrame(t.rafId),t.rafId=requestAnimationFrame(()=>{t.rafId=null,t.callbacks.forEach(e=>e())})}};iY.set(e,t),e.on("update",t.handler),n=t}n.callbacks.add(t)}function iQ(e,t){let n=iY.get(e);n&&(n.callbacks.delete(t),0===n.callbacks.size&&(null!==n.rafId&&cancelAnimationFrame(n.rafId),e.off("update",n.handler),iY.delete(e)))}function iX(e,t,n={}){let{state:a}=t,{doc:o,tr:r}=a;o.descendants((t,a)=>{let o=r.mapping.map(a),s=r.mapping.map(a)+t.nodeSize,i=null;if(t.marks.forEach(t=>{if(t!==e)return!1;i=t}),!i)return;let l=!1;if(Object.keys(n).forEach(e=>{n[e]!==i.attrs[e]&&(l=!0)}),l){let t=e.type.create({...e.attrs,...n});r.removeMark(o,s,e.type),r.addMark(o,s,t)}}),r.docChanged&&t.view.dispatch(r)}var iJ=class{constructor(e,t,n){this.component=e,this.editor=t.editor,this.options={...n},this.mark=t.mark,this.HTMLAttributes=t.HTMLAttributes}get dom(){return this.editor.view.dom}get contentDOM(){return null}updateAttributes(e,t){iX(t||this.mark,this.editor,e)}ignoreMutation(e){return!this.dom||!this.contentDOM||("function"==typeof this.options.ignoreMutation?this.options.ignoreMutation({mutation:e}):!("selection"===e.type||this.dom.contains(e.target)&&"childList"===e.type&&(rK()||rY())&&this.editor.isFocused&&[...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every(e=>e.isContentEditable))&&(this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)))}},iZ=class e extends iv{constructor(){super(...arguments),this.type="node"}static create(t={}){return new e("function"==typeof t?t():t)}configure(e){return super.configure(e)}extend(e){let t="function"==typeof e?e():e;return super.extend(t)}},i0=class{constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,...n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.innerDecorations=t.innerDecorations,this.view=t.view,this.HTMLAttributes=t.HTMLAttributes,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,a,o,r,s,i;let{view:l}=this.editor,c=e.target,p=3===c.nodeType?null==(t=c.parentElement)?void 0:t.closest("[data-drag-handle]"):c.closest("[data-drag-handle]");if(!this.dom||(null==(n=this.contentDOM)?void 0:n.contains(c))||!p)return;let d=0,u=0;if(this.dom!==p){let t=this.dom.getBoundingClientRect(),n=p.getBoundingClientRect(),i=null!=(o=e.offsetX)?o:null==(a=e.nativeEvent)?void 0:a.offsetX,l=null!=(s=e.offsetY)?s:null==(r=e.nativeEvent)?void 0:r.offsetY;d=n.x-t.x+i,u=n.y-t.y+l}let m=this.dom.cloneNode(!0);try{let e=this.dom.getBoundingClientRect();m.style.width=`${Math.round(e.width)}px`,m.style.height=`${Math.round(e.height)}px`,m.style.boxSizing="border-box",m.style.pointerEvents="none"}catch{}let h=null;try{(h=document.createElement("div")).style.position="absolute",h.style.top="-9999px",h.style.left="-9999px",h.style.pointerEvents="none",h.appendChild(m),document.body.appendChild(h),null==(i=e.dataTransfer)||i.setDragImage(m,d,u)}finally{h&&setTimeout(()=>{try{null==h||h.remove()}catch{}},0)}let f=this.getPos();if("number"!=typeof f)return;let g=t9.create(l.state.doc,f),b=l.state.tr.setSelection(g);l.dispatch(b)}stopEvent(e){var t;if(!this.dom)return!1;if("function"==typeof this.options.stopEvent)return this.options.stopEvent({event:e});let n=e.target;if(!(this.dom.contains(n)&&!(null==(t=this.contentDOM)?void 0:t.contains(n))))return!1;let a=e.type.startsWith("drag"),o="dragover"===e.type||"dragenter"===e.type,r="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!r&&!a)return!0;let{isEditable:s}=this.editor,{isDragging:i}=this,l=!!this.node.type.spec.draggable,c=t9.isSelectable(this.node),p="copy"===e.type,d="paste"===e.type,u="cut"===e.type,m="mou
105sedown"===e.type;if(!l&&c&&a&&e.target===this.dom&&e.preventDefault(),l&&a&&!i&&e.target===this.dom)return e.preventDefault(),!1;if(l&&s&&!i&&m){let e=n.closest("[data-drag-handle]");e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener("dragend",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("drop",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("mouseup",()=>{this.isDragging=!1},{once:!0}))}return!i&&!o&&!r&&!p&&!d&&!u&&(!m||!c)&&!0}ignoreMutation(e){return!this.dom||!this.contentDOM||("function"==typeof this.options.ignoreMutation?this.options.ignoreMutation({mutation:e}):!!this.node.isLeaf||!!this.node.isAtom||!("selection"===e.type||this.dom.contains(e.target)&&"childList"===e.type&&(rK()||rY())&&this.editor.isFocused&&[...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every(e=>e.isContentEditable))&&(this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)))}updateAttributes(e){this.editor.commands.command(({tr:t})=>{let n=this.getPos();return"number"==typeof n&&(t.setNodeMarkup(n,void 0,{...this.node.attrs,...e}),!0)})}deleteNode(){let e=this.getPos();if("number"!=typeof e)return;let t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}};e.s(["Editor",0,iP,"Extension",0,i_,"InputRule",0,ih,"Mark",0,iy,"MarkView",0,iJ,"Node",0,iZ,"NodeView",0,i0,"PasteRule",0,ij,"ResizableNodeView",0,iL,"callOrReturn",0,sI,"canInsertNode",0,function(e,t){let{selection:n}=e,{$from:a}=n;if(n instanceof t9){let e=a.index();return a.parent.canReplaceWith(e,e+1,t)}let o=a.depth;for(;o>=0;){let e=a.index(o);if(a.node(o).contentMatchAt(e).matchType(t))return!0;o-=1}return!1},"cancelPositionCheck",0,iQ,"combineTransactionSteps",0,sk,"escapeForRegEx",0,function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},"findChildrenInRange",0,function(e,t,n){let a=[];return e.nodesBetween(t.from,t.to,(e,t)=>{n(e)&&a.push({node:e,pos:t})}),a},"getAttributes",0,sH,"getChangedRanges",0,sU,"getExtensionField",0,s_,"getMarksBetween",0,sz,"getNodeAtPosition",0,(e,t,n,a=20)=>{let o=e.doc.resolve(n),r=a,s=null;for(;r>0&&null===s;){let e=o.node(r);(null==e?void 0:e.type.name)===t?s=e:r-=1}return[s,r]},"getNodeType",0,rA,"getRenderedAttributes",0,sN,"isAtEndOfNode",0,(e,t)=>{let{$from:n,$to:a,$anchor:o}=e.selection;if(t){let n=sw(e=>e.type.name===t)(e.selection);if(!n)return!1;let a=e.doc.resolve(n.pos+1);return o.pos+1===a.end()}return!(a.parentOffset<a.parent.nodeSize-2)&&n.pos===a.pos},"isAtStartOfNode",0,e=>{let{$from:t,$to:n}=e.selection;return!(t.parentOffset>0)&&t.pos===n.pos},"isNodeActive",0,sa,"isNodeEmpty",0,sY,"isNodeSelection",0,function(e){return e instanceof t9},"isNodeViewSelected",0,sK,"markInputRule",0,function(e){return new ih({find:e.find,handler:({state:t,range:n,match:a})=>{let o=sI(e.getAttributes,void 0,a);if(!1===o||null===o)return null;let{tr:r}=t,s=a[a.length-1],i=a[0];if(s){let a=i.search(/\S/),l=n.from+i.indexOf(s),c=l+s.length;if(sz(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>l).length)return null;c<n.to&&r.delete(c,n.to),l>n.from&&r.delete(n.from+a,l);let p=n.from+a+s.length;r.addMark(n.from+a,p,e.type.create(o||{})),r.removeStoredMark(e.type)}},undoable:e.undoable})},"markPasteRule",0,function(e){return new ij({find:e.find,handler:({state:t,range:n,match:a,pasteEvent:o})=>{let r=sI(e.getAttributes,void 0,a,o);if(!1===r||null===r)return null;let{tr:s}=t,i=a[a.length-1],l=a[0],c=n.to;if(i){let o=l.search(/\S/),p=n.from+l.indexOf(i),d=p+i.length;if(sz(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>p).length)return null;d<n.to&&s.delete(d,n.to),p>n.from&&s.delete(n.from+o,p),c=n.from+o+i.length,s.addMark(n.from+o,c,e.type.create(r||{})),void 0!==a.index&&void 0!==a.input&&a.index+a[0].length>=a.input.length||s.removeStoredMark(e.type)}}})},"mergeAttributes",0,sA,"nodeInputRule",0,function(e){return new ih({find:e.find,handler:({state:t,range:n,match:a})=>{let o=sI(e.getAttributes,void 0,a)||{},{tr:r}=t,s=n.from,i=n.to,l=e.type.create(o);if(a[1]){let e=s+a[0].lastIndexOf(a[1]);e>i?e=i:i=e+a[1].length;let t=a[0][a[0].length-1];r.insertText(t,s+a[0].length-1),r.replaceWith(e,i,l)}else if(a[0]){let t=e.type.isInline?s:s-1;r.insert(t,e.type.create(o)).delete(r.mapping.map(s),r.mapping.map(i))}r.scrollIntoView()},undoable:e.undoable})},"parseIndentedBlocks",0,iW,"renderNestedMarkdownContent",0,iG,"schedulePositionCheck",0,iK,"textInputRule",0,function(e){return new ih({find:e.find,handler:({state:t,range:n,match:a})=>{let o=e.replace,r=n.from,s=n.to;if(a[1]){let e=a[0].lastIndexOf(a[1]);o+=a[0].slice(e+a[1].length);let t=(r+=e)-s;t>0&&(o=a[0].slice(e-t,e)+o,r=s)}t.tr.insertText(o,r,s)},undoable:e.undoable})},"textblockTypeInputRule",0,function(e){return new ih({find:e.find,handler:({state:t,range:n,match:a})=>{let o=t.doc.resolve(n.from),r=sI(e.getAttributes,void 0,a)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,r)},undoable:e.undoable})},"wrappingInputRule",0,function(e){return new ih({find:e.find,handler:({state:t,range:n,match:a,chain:o})=>{let r=sI(e.getAttributes,void 0,a)||{},s=t.tr.delete(n.from,n.to),i=s.doc.resolve(n.from).blockRange(),l=i&&tM(i,e.type,r);if(!l)return null;if(s.wrap(i,l),e.keepMarks&&e.editor){let{selection:n,storedMarks:a}=t,{splittableMarks:o}=e.editor.extensionManager,r=a||n.$to.parentOffset&&n.$from.marks();if(r){let e=r.filter(e=>
105o.includes(e.type.name));s.ensureMarks(e)}}if(e.keepAttributes){let t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";o().updateAttributes(t,r).run()}let c=s.doc.resolve(n.from-1).nodeBefore;c&&c.type===e.type&&tL(s.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(a,c))&&s.join(n.from-1)},undoable:e.undoable})}],912275);let{getOwnPropertyNames:i1,getOwnPropertySymbols:i6}=Object,{hasOwnProperty:i4}=Object.prototype;function i2(e,t){return function(n,a,o){return e(n,a,o)&&t(n,a,o)}}function i3(e){return function(t,n,a){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,a);let{cache:o}=a,r=o.get(t),s=o.get(n);if(r&&s)return r===n&&s===t;o.set(t,n),o.set(n,t);let i=e(t,n,a);return o.delete(t),o.delete(n),i}}function i5(e){return i1(e).concat(i6(e))}let i9=Object.hasOwn||((e,t)=>i4.call(e,t));function i8(e,t){return e===t||!e&&!t&&e!=e&&t!=t}let{getOwnPropertyDescriptor:i7,keys:le}=Object;function lt(e,t){return e.byteLength===t.byteLength&&lm(new Uint8Array(e),new Uint8Array(t))}
105function ln(e,t,n){let a=e.length;if(t.length!==a)return!1;for(;a-- >0;)if(!n.equals(e[a],t[a],a,a,e,t,n))return!1;return!0}function la(e,t){return e.byteLength===t.byteLength&&lm(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function lo(e,t){return i8(e.getTime(),t.getTime())}function lr(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function ls(e,t){return e===t}function li(e,t,n){let a,o,r=e.size;if(r!==t.size)return!1;if(!r)return!0;let s=Array(r),i=e.entries(),l=0;for(;(a=i.next())&&!a.done;){let r=t.entries(),i=!1,c=0;for(;(o=r.next())&&!o.done;){if(s[c]){c++;continue}let r=a.value,p=o.value;if(n.equals(r[0],p[0],l,c,e,t,n)&&n.equals(r[1],p[1],r[0],p[0],e,t,n)){i=s[c]=!0;break}c++}if(!i)return!1;l++}return!0}function ll(e,t,n){let a=le(e),o=a.length;if(le(t).length!==o)return!1;for(;o-- >0;)if(!lf(e,t,n,a[o]))return!1;return!0}function lc(e,t,n){let a,o,r,s=i5(e),i=s.length;if(i5(t).length!==i)return!1;for(;i-- >0;)if(!lf(e,t,n,a=s[i])||(o=i7(e,a),r=i7(t,a),(o||r)&&(!o||!r||o.configurable!==r.configurable||o.enumerable!==r.enumerable||o.writable!==r.writable)))return!1;return!0}function lp(e,t){return i8(e.valueOf(),t.valueOf())}function ld(e,t){return e.source===t.source&&e.flags===t.flags}function lu(e,t,n){let a,o,r=e.size;if(r!==t.size)return!1;if(!r)return!0;let s=Array(r),i=e.values();for(;(a=i.next())&&!a.done;){let r=t.values(),i=!1,l=0;for(;(o=r.next())&&!o.done;){if(!s[l]&&n.equals(a.value,o.value,a.value,o.value,e,t,n)){i=s[l]=!0;break}l++}if(!i)return!1}return!0}function lm(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function lh(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function lf(e,t,n,a){return("_owner"===a||"__o"===a||"__v"===a)&&(!!e.$$typeof||!!t.$$typeof)||i9(t,a)&&n.equals(e[a],t[a],a,a,e,t,n)}let lg={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},lb=Object.prototype.toString,lv=ly();function ly(e={}){let{circular:t=!1,createInternalComparator:n,createState:a,strict:o=!1}=e,r=function({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:a,areErrorsEqual:o,areFunctionsEqual:r,areMapsEqual:s,areNumbersEqual:i,areObjectsEqual:l,arePrimitiveWrappersEqual:c,areRegExpsEqual:p,areSetsEqual:d,areTypedArraysEqual:u,areUrlsEqual:m,unknownTagComparators:h}){return function(f,g,b){if(f===g)return!0;if(null==f||null==g)return!1;let v=typeof f;if(v!==typeof g)return!1;if("object"!==v)return"number"===v?i(f,g,b):"function"===v&&r(f,g,b);let y=f.constructor;if(y!==g.constructor)return!1;if(y===Object)return l(f,g,b);if(Array.isArray(f))return t(f,g,b);if(y===Date)return a(f,g,b);if(y===RegExp)return p(f,g,b);if(y===Map)return s(f,g,b);if(y===Set)return d(f,g,b);let j=lb.call(f);if("[object Date]"===j)return a(f,g,b);if("[object RegExp]"===j)return p(f,g,b);if("[object Map]"===j)return s(f,g,b);if("[object Set]"===j)return d(f,g,b);if("[object Object]"===j)return"function"!=typeof f.then&&"function"!=typeof g.then&&l(f,g,b);if("[object URL]"===j)return m(f,g,b);if("[object Error]"===j)return o(f,g,b);if("[object Arguments]"===j)return l(f,g,b);if(lg[j])return u(f,g,b);if("[object ArrayBuffer]"===j)return e(f,g,b);if("[object DataView]"===j)return n(f,g,b);if("[object Boolean]"===j||"[object Number]"===j||"[object String]"===j)return c(f,g,b);if(h){let e=h[j];if(!e){let t=null!=f?f[Symbol.toStringTag]:void 0;t&&(e=h[t])}if(e)return e(f,g,b)}return!1}}(function({circular:e,createCustomConfig:t,strict:n}){let a={areArrayBuffersEqual:lt,areArraysEqual:n?lc:ln,areDataViewsEqual:la,areDatesEqual:lo,areErrorsEqual:lr,areFunctionsEqual:ls,areMapsEqual:n?i2(li,lc):li,areNumbersEqual:i8,areObjectsEqual:n?lc:ll,arePrimitiveWrappersEqual:lp,areRegExpsEqual:ld,areSetsEqual:n?i2(lu,lc):lu,areTypedArraysEqual:n?i2(lm,lc):lm,areUrlsEqual:lh,unknownTagComparators:void 0};if(t&&(a=Object.assign({},a,t(a))),e){let e=i3(a.areArraysEqual),t=i3(a.areMapsEqual),n=i3(a.areObjectsEqual),o=i3(a.areSetsEqual);a=Object.assign({},a,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:o})}return a}(e)),s=n?n(r):function(e,t,n,a,o,s,i){return r(e,t,i)};return function({circular:e,comparator:t,createState:n,equals:a,str
105ict:o}){if(n)return function(r,s){let{cache:i=e?new WeakMap:void 0,meta:l}=n();return t(r,s,{cache:i,equals:a,meta:l,strict:o})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:a,meta:void 0,strict:o})};let r={cache:void 0,equals:a,meta:void 0,strict:o};return function(e,n){return t(e,n,r)}}({circular:t,comparator:r,createState:a,equals:s,strict:o})}ly({strict:!0}),ly({circular:!0}),ly({circular:!0,strict:!0}),ly({createInternalComparator:()=>i8}),ly({strict:!0,createInternalComparator:()=>i8}),ly({circular:!0,createInternalComparator:()=>i8}),ly({circular:!0,createInternalComparator:()=>i8,strict:!0});var lj=e.i(596482),lk=({contentComponent:e})=>{let n=(0,eI.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getServerSnapshot);return(0,t.jsx)(t.Fragment,{children:Object.values(n)})},lw=class extends eD.default.Component{constructor(e){super(e),this.editorContentRef=eD.default.createRef()}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var e;let t=this.props.editor;if(t&&!t.isDestroyed&&(null==(e=t.view.dom)?void 0:e.parentNode)){let e,n;if(t.contentComponent)return;let a=this.editorContentRef.current;a.append(...t.view.dom.parentNode.childNodes),t.setOptions({element:a}),e=new Set,n={},t.contentComponent={subscribe:t=>(e.add(t),()=>{e.delete(t)}),getSnapshot:()=>n,getServerSnapshot:()=>n,setRenderer(t,a){n={...n,[t]:eT.default.createPortal(a.reactElement,a.element,t)},e.forEach(e=>e())},removeRenderer(t){let a={...n};delete a[t],n=a,e.forEach(e=>e())}},t.createNodeViews(),t.isEditorContentInitialized=!0,this.forceUpdate()}}componentWillUnmount(){var e;let t=this.props.editor;if(t){t.isEditorContentInitialized=!1,t.isDestroyed||t.view.setProps({nodeViews:{}}),t.contentComponent=null;try{if(!(null==(e=t.view.dom)?void 0:e.parentNode))return;let n=document.createElement("div");n.append(...t.view.dom.parentNode.childNodes),t.setOptions({element:n})}catch{}}}render(){let{editor:e,innerRef:n,...a}=this.props;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:((...e)=>t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})})(n,this.editorContentRef),...a}),(null==e?void 0:e.contentComponent)&&(0,t.jsx)(lk,{contentComponent:e.contentComponent})]})}},l_=(0,eD.forwardRef)((e,t)=>{let n=eD.default.useMemo(()=>Math.floor(0xffffffff*Math.random()).toString(),[e.editor]);return eD.default.createElement(lw,{key:n,innerRef:t,...e})}),lE=eD.default.memo(l_),lD="u">typeof window?eD.useLayoutEffect:eD.useEffect,lT=class{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){let e=()=>{this.transactionNumber+=1,this.subscribers.forEach(e=>e())},t=this.editor;return t.on("transaction",e),()=>{t.off("transaction",e)}}}};function lI(e){var t;let[n]=(0,eD.useState)(()=>new lT(e.editor)),a=(0,lj.useSyncExternalStoreWithSelector)(n.subscribe,n.getSnapshot,n.getServerSnapshot,e.selector,null!=(t=e.equalityFn)?t:lv);return lD(()=>n.watch(e.editor),[e.editor,n]),(0,eD.useDebugValue)(a),a}var lx="u"<typeof window,lC=lx||!!("u">typeof window&&window.next),lS=class e{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e
105=>e())}getInitialEditor(){return void 0===this.options.current.immediatelyRender?lx||lC?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender)?this.createEditor():null}createEditor(){return new iP({...this.options.current,onBeforeCreate:(...e)=>{var t,n;return null==(n=(t=this.options.current).onBeforeCreate)?void 0:n.call(t,...e)},onBlur:(...e)=>{var t,n;return null==(n=(t=this.options.current).onBlur)?void 0:n.call(t,...e)},onCreate:(...e)=>{var t,n;return null==(n=(t=this.options.current).onCreate)?void 0:n.call(t,...e)},onDestroy:(...e)=>{var t,n;return null==(n=(t=this.options.current).onDestroy)?void 0:n.call(t,...e)},onFocus:(...e)=>{var t,n;return null==(n=(t=this.options.current).onFocus)?void 0:n.call(t,...e)},onSelectionUpdate:(...e)=>{var t,n;return null==(n=(t=this.options.current).onSelectionUpdate)?void 0:n.call(t,...e)},onTransaction:(...e)=>{var t,n;return null==(n=(t=this.options.current).onTransaction)?void 0:n.call(t,...e)},onUpdate:(...e)=>{var t,n;return null==(n=(t=this.options.current).onUpdate)?void 0:n.call(t,...e)},onContentError:(...e)=>{var t,n;return null==(n=(t=this.options.current).onContentError)?void 0:n.call(t,...e)},onDrop:(...e)=>{var t,n;return null==(n=(t=this.options.current).onDrop)?void 0:n.call(t,...e)},onPaste:(...e)=>{var t,n;return null==(n=(t=this.options.current).onPaste)?void 0:n.call(t,...e)},onDelete:(...e)=>{var t,n;return null==(n=(t=this.options.current).onDelete)?void 0:n.call(t,...e)}})}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(n=>!!["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(n)||("extensions"===n&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every((e,n)=>{var a;return e===(null==(a=t.extensions)?void 0:a[n])}):e[n]===t[n]))}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===t.length?e.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((t,n)=>t===e[n]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){let e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){t&&t.setOptions(this.options.current);return}t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))},1)}},lA=(0,eD.createContext)({editor:null});lA.Consumer;var lN=(0,eD.createContext)({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),lM=()=>(0,eD.useContext)(lN),lO=eD.default.forwardRef((e,n)=>{let{onDragStart:a}=lM(),o=e.as||"div";return(0,t.jsx)(o,{...e,ref:n,"data-node-view-wrapper":"",onDragStart:a,style:{whiteSpace:"normal",...e.style}})});function lR(e){return!!("function"==typeof e&&e.prototype&&e.prototype.isReactComponent)}function lF(e){return!!("object"==typeof e&&e.$$typeof&&("Symbol(react.forward_ref)"===e.$$typeof.toString()||"react.forward_ref"===e.$$typeof.description))}var lP=class{constructor(e,{editor:t,props:n={},as:a="div",className:o=""}){this.ref=null,this.destroyed=!1,this.id=Math.floor(0xffffffff*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(a),this.element.classList.add("react-renderer"),o&&this.element.classList.add(...o.split(" ")),this.editor.isEditorContentInitialized?(0,eT.flushSync)(()=>{this.render()}):queueMicrotask(()=>{this.destroyed||this.render()})}render(){var e;if(this.destroyed)return;let n=this.component,a=this.props,o=this.editor,r=function(){try{if(eD.version)return parseInt(eD.version.split(".")[0],10)>=19}catch{}return!1}(),s=function(e){if(lR(e)||lF(e))return!0;
105if("object"==typeof e&&e.$$typeof&&("Symbol(react.memo)"===e.$$typeof.toString()||"react.memo"===e.$$typeof.description)){let t=e.type;if(t)return lR(t)||lF(t)}return!1}(n),i={...a};i.ref&&!(r||s)&&delete i.ref,!i.ref&&(r||s)&&(i.ref=e=>{this.ref=e}),this.reactElement=(0,t.jsx)(n,{...i}),null==(e=null==o?void 0:o.contentComponent)||e.setRenderer(this.id,this)}updateProps(e={}){this.destroyed||(this.props={...this.props,...e},this.render())}destroy(){var e;this.destroyed=!0;let t=this.editor;null==(e=null==t?void 0:t.contentComponent)||e.removeRenderer(this.id);try{this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}catch{}}updateAttributes(e){Object.keys(e).forEach(t=>{this.element.setAttribute(t,e[t])})}};eD.default.createContext({markViewContentRef:()=>{}});var lL=class extends i0{constructor(e,t,n){if(super(e,t,n),this.selectionRafId=null,this.positionCheckCallback=null,this.cachedExtensionWithSyncedStorage=null,!this.node.isLeaf){this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement.dataset.nodeViewContentReact="",this.contentDOMElement.dataset.nodeViewWrapper="",this.contentDOMElement.style.whiteSpace="inherit";const e=this.dom.querySelector("[data-node-view-content]");if(!e)return;e.appendChild(this.contentDOMElement)}}get extensionWithSyncedStorage(){if(!this.cachedExtensionWithSyncedStorage){let e=this.editor,t=this.extension;this.cachedExtensionWithSyncedStorage=new Proxy(t,{get(n,a,o){var r;return"storage"===a?null!=(r=e.storage[t.name])?r:{}:Reflect.get(n,a,o)}})}return this.cachedExtensionWithSyncedStorage}mount(){let e={editor:this.editor,node:this.node,decorations:this.decorations,innerDecorations:this.innerDecorations,view:this.view,selected:!1,extension:this.extensionWithSyncedStorage,HTMLAttributes:this.HTMLAttributes,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode(),ref:(0,eD.createRef)()};if(!this.component.displayName){let e;this.component.displayName=(e=this.extension.name).charAt(0).toUpperCase()+e.substring(1)}let n={onDragStart:this.onDragStart.bind(this),nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&(e.hasAttribute("data-node-view-wrapper")&&e.removeAttribute("data-node-view-wrapper"),e.appendChild(this.contentDOMElement))}},a=this.component,o=(0,eD.memo)(e=>(0,t.jsx)(lN.Provider,{value:n,children:(0,eD.createElement)(a,e)}));o.displayName="ReactNodeView";let r=this.node.isInline?"span":"div";this.options.as&&(r=this.options.as);let{className:s=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.renderer=new lP(o,{editor:this.editor,props:e,as:r,className:`node-${this.node.type.name} ${s}`.trim()}),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.updateElementAttributes(),this.currentPos=this.getPos(),this.positionCheckCallback=()=>{let e=this.getPos();"number"==typeof e&&e!==this.currentPos&&(this.currentPos=e,this.renderer.updateProps({getPos:()=>this.getPos()}),"function"==typeof this.options.attrs&&this.updateElementAttributes())},iK(this.editor,this.positionCheckCallback)}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null==(e=this.renderer.element.firstElementChild)?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){this.selectionRafId&&(cancelAnimationFrame(this.selectionRafId),this.selectionRafId=null),this.selectionRafId=requestAnimationFrame(()=>{this.selectionRafId=null;let e=this.currentPos;if("number"==typeof e)if(sK({selection:this.editor.state.selection,pos:e,nodeSize:this.node.nodeSize,selectedOnTextSelection:this.options.selectedOnTextSelection})){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}})}update(e,t,n){let a=e=>{this.renderer.updateProps(e),"function"==typeof this.options.attrs&&this.updateElementAttributes()};if(e.type!==this.node.type)return!1;if("function"==typeof this.options.update){let o=this.node,r=this.decorations,s=this.innerDecorations;return this.node=e,this.decorations=t,this.innerDecorations=n,this.currentPos=this.getPos(),this.options.update({oldNode:o,oldDecorations:r,newNode:e,newDecorations:t,oldInnerDecorations:s,innerDecorations:n,updateProps:()=>a({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage})})}let o=this.getPos();return e===this.node&&this.decorations===t&&this.innerDecorations===n?o===this.currentPos||(this.currentPos=o,a({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage,getPos:()=>this.getPos()}),!0):(this.node=e,this.decorations=t,this.innerDecorations=n,this.currentPos=o,a({node:e,decorations:t,innerDecorations:n,extension:this.extensionWithSyncedStorage}),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.positionCheckCallback&&(iQ(this.editor,this.positionCheckCallback),this.positionCheckCallback=null),this.contentDOMElement=null,this.selectionRafId&&(cancelAnimationFrame(this.selectionRafId),this.selectionRafId=null)}updateElementAttributes(){if(this.options.attrs){let e={};if("function"==typeof this.options.attrs){let t=this.editor.extensionManager.attributes,n=sN(this.node,t);e=this.options.attrs({node:this.node,HTMLAttributes:n}
105)}else e=this.options.attrs;this.renderer.updateAttributes(e)}}},lB=(0,eD.createContext)({get editor(){throw Error("useTiptap must be used within a <Tiptap> provider")}});function lH({editor:e,instance:n,children:a}){let o=null!=e?e:n;if(!o)throw Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");let r=(0,eD.useMemo)(()=>({editor:o}),[o]),s=(0,eD.useMemo)(()=>({editor:o}),[o]);return(0,t.jsx)(lA.Provider,{value:s,children:(0,t.jsx)(lB.Provider,{value:r,children:a})})}function lU({...e}){let{editor:n}=(0,eD.useContext)(lB);return(0,t.jsx)(lE,{editor:n,...e})}lB.displayName="TiptapContext",lH.displayName="Tiptap",lU.displayName="Tiptap.Content",Object.assign(lH,{Content:lU}),e.s(["EditorContent",0,lE,"NodeViewContent",0,function({as:e="div",...n}){let{nodeViewContentRef:a,nodeViewContentChildren:o}=lM();return(0,t.jsx)(e,{...n,ref:a,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...n.style},children:o})},"NodeViewWrapper",0,lO,"ReactNodeViewRenderer",0,function(e,t){return n=>n.editor.contentComponent?new lL(e,n,t):{}},"useEditor",0,function(e={},t=[]){let n=(0,eD.useRef)(e);n.current=e;let[a]=(0,eD.useState)(()=>new lS(n)),o=(0,eI.useSyncExternalStore)(a.subscribe,a.getEditor,a.getServerSnapshot);return(0,eD.useDebugValue)(o),(0,eD.useEffect)(a.onRender(t)),lI({editor:o,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction||void 0===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),o},"useEditorState",0,lI],872130)},522236,811623,484552,238240,e=>{"use strict";e.i(758965);var t=e.i(694800);e.i(136571),e.i(430336),e.i(920305),e.i(971610),e.i(628050),e.i(304029),e.i(396242),e.i(237252);var n=e.i(485846),a=e.i(167922),o=e.i(632137);e.i(670102);var r=e.i(872130);e.i(102751),e.i(511356);var s=e.i(912275),i=e.i(111092),l=e.i(639908),c=new i.PluginKey("suggestion"),p=new Map,d=function(){var e=null;try{e=document.createElement("canvas").getContext("2d")}catch(e){}if(!e)return function(){return!1};var t=Math.floor(12.5);return e.font=t+"px Arial, Sans-Serif",e.textBaseline="top",e.canvas.width=40,e.canvas.height=25,function(t){e.clearRect(0,0,40,25),e.fillStyle="#FF0000",e.fillText(t,0,22),e.fillStyle="#0000FF",e.fillText(t,20,22);for(var n=e.getImageData(0,0,20,25).data,a=n.length,o=0;o<a&&!n[o+3];o+=4);if(o>=a)return!1;var r=20+o/4%20,s=Math.floor(o/4/20),i=e.getImageData(r,s,1,1).data;return n[o]===i[0]&&n[o+2]===i[2]&&!(e.measureText(t).width>=20)}}(),u=[{emoji:"ð¦",name:"regional_indicator_a",shortcodes:["regional_indicator_a"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð§",name:"regional_indicator_b",shortcodes:["regional_indicator_b"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¨",name:"regional_indicator_c",shortcodes:["regional_indicator_c"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð©",name:"regional_indicator_d",shortcodes:["regional_indicator_d"],tags:[],group:"",emoticons:[],version:0},{emoji:"ðª",name:"regional_indicator_e",shortcodes:["regional_indicator_e"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð«",name:"regional_indicator_f",shortcodes:["regional_indicator_f"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¬",name:"regional_indicator_g",shortcodes:["regional_indicator_g"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð",name:"regional_indicator_h",shortcodes:["regional_indicator_h"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð®",name:"regional_indicator_i",shortcodes:["regional_indicator_i"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¯",name:"regional_indicator_j",shortcodes:["regional_indicator_j"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð°",name:"regional_indicator_k",shortcodes:["regional_indicator_k"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð±",name:"regional_indicator_l",shortcodes:["regional_indicator_l"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð²",name:"regional_indicator_m",shortcodes:["regional_indicator_m"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð³",name:"regional_indicator_n",shortcodes:["regional_indicator_n"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð´",name:"regional_indicator_o",shortcodes:["regional_indicator_o"],tags:[],group:"",emoticons:[],version:0},{emoji:"ðµ",name:"regional_indicator_p",shortcodes:["regional_indicator_p"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¶",name:"regional_indicator_q",shortcodes:["regional_indicator_q"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð·",name:"regional_indicator_r",shortcodes:["regional_indicator_r"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¸",name:"regional_indicator_s",shortcodes:["regional_indicator_s"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¹",name:"regional_indicator_t",shortcodes:["regional_indicator_t"],tags:[],group:"",emoticons:[],version:0}
105,{emoji:"ðº",name:"regional_indicator_u",shortcodes:["regional_indicator_u"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð»",name:"regional_indicator_v",shortcodes:["regional_indicator_v"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¼",name:"regional_indicator_w",shortcodes:["regional_indicator_w"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð½",name:"regional_indicator_x",shortcodes:["regional_indicator_x"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¾",name:"regional_indicator_y",shortcodes:["regional_indicator_y"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð¿",name:"regional_indicator_z",shortcodes:["regional_indicator_z"],tags:[],group:"",emoticons:[],version:0},{emoji:"ð",name:"grinning",shortcodes:["grinning","grinning_face"],tags:["cheerful","cheery","face","grin","grinning","happy","laugh","nice","smile","smiling","teeth"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f600.png"},{emoji:"ð",name:"smiley",shortcodes:["grinning_face_with_big_eyes","smiley"],tags:["awesome","big","eyes","face","grin","grinning","happy","mouth","open","smile","smiling","teeth","yay"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f603.png"},{emoji:"ð",name:"smile",shortcodes:["grinning_face_with_closed_eyes","smile"],tags:["eye","eyes","face","grin","grinning","happy","laugh","lol","mouth","open","smile","smiling"],group:"",emoticons:[":D"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f604.png"},{emoji:"ð",name:"grin",shortcodes:["beaming_face","grin"],tags:["beaming","eye","eyes","face","grin","grinning","happy","nice","smile","smiling","teeth"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f601.png"},{emoji:"ð",name:"laughing",shortcodes:["laughing","lol","satisfied","squinting_face"],tags:["closed","eyes","face","grinning","haha","hahaha","happy","laugh","lol","mouth","open","rofl","smile","smiling","squinting"],group:"",emoticons:["xD","XD"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f606.png"},{emoji:"ð
",name:"sweat_smile",shortcodes:["grinning_face_with_sweat","sweat_smile"],tags:["cold","dejected","excited","face","grinning","mouth","nervous","open","smile","smiling","stress","stressed","sweat"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f605.png"},{emoji:"ð¤£",name:"rofl",shortcodes:["rofl"],tags:["crying","face","floor","funny","haha","happy","hehe","hilarious","joy","laugh","lmao","lol","rofl","roflmao","rolling","tear"],group:"",emoticons:[":'D"],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f923.png"},{emoji:"ð",name:"joy",shortcodes:["joy","lmao","tears_of_joy"],tags:["crying","face","feels","funny","haha","happy","hehe","hilarious","joy","laugh","lmao","lol","rofl","roflmao","tear"],group:"",emoticons:[":')"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f602.png"},{emoji:"ð",name:"slightly_smiling_face",shortcodes:["slightly_smiling_face"],tags:["face","happy","slightly","smile","smiling"],group:"",emoticons:[":)"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f642.png"},{emoji:"ð",name:"upside_down_face",shortcodes:["upside_down_face"],tags:["face","hehe","smile","upside-down"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f643.png"},{emoji:"ð« ",name:"melting_face",shortcodes:["melt","melting_face"],tags:["disappear","dissolve","embarrassed","face","haha","heat","hot","liquid","lol","melt","melting","sarcasm","sarcastic"],group:"",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae0.png"},{emoji:"ð",name:"wink",shortcodes:["wink","winking_face"],tags:["face","flirt","heartbreaker","sexy","slide","tease","wink","winking","winks"],group:"",emoticons:[";)"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f609.png"},{emoji:"ð",name:"blush",shortcodes:["blush","smiling_face_with_closed_eyes"],tags:["blush","eye","eyes","face","glad","satisfied","smile","smiling"],group:"",emoticons:[":>"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f60a.png"}
105,{emoji:"ð",name:"innocent",shortcodes:["halo","innocent"],tags:["angel","angelic","angels","blessed","face","fairy","fairytale","fantasy","halo","happy","innocent","peaceful","smile","smiling","spirit","tale"],group:"",emoticons:["o:)","O:)"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f607.png"},{emoji:"ð¥°",name:"smiling_face_with_three_hearts",shortcodes:["smiling_face_with_3_hearts"],tags:["3","adore","crush","face","heart","hearts","ily","love","romance","smile","smiling","you"],group:"",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f970.png"},{emoji:"ð",name:"heart_eyes",shortcodes:["heart_eyes","smiling_face_with_heart_eyes"],tags:["143","bae","eye","face","feels","heart-eyes","hearts","ily","kisses","love","romance","romantic","smile","xoxo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f60d.png"},{emoji:"ð¤©",name:"star_struck",shortcodes:["star_struck"],tags:["excited","eyes","face","grinning","smile","star","starry-eyed","wow"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f929.png"},{emoji:"ð",name:"kissing_heart",shortcodes:["blowing_a_kiss","kissing_heart"],tags:["adorbs","bae","blowing","face","flirt","heart","ily","kiss","love","lover","miss","muah","romantic","smooch","xoxo","you"],group:"",emoticons:[":x",":X"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f618.png"},{emoji:"ð",name:"kissing",shortcodes:["kissing","kissing_face"],tags:["143","date","dating","face","flirt","ily","kiss","love","smooch","smooches","xoxo","you"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f617.png"},{emoji:"âº",name:"relaxed",shortcodes:["relaxed","smiling_face"],tags:["face","happy","outlined","relaxed","smile","smiling"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/263a-fe0f.png"},{emoji:"ð",name:"kissing_closed_eyes",shortcodes:["kissing_closed_eyes","kissing_face_with_closed_eyes"],tags:["143","bae","blush","closed","date","dating","eye","eyes","face","flirt","ily","kisses","kissing","smooches","xoxo"],group:"",emoticons:[":*"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f61a.png"},{emoji:"ð",name:"kissing_smiling_eyes",shortcodes:["kissing_face_with_smiling_eyes","kissing_smiling_eyes"],tags:["143","closed","date","dating","eye","eyes","face","flirt","ily","kiss","kisses","kissing","love","night","smile","smiling"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f619.png"},{emoji:"ð¥²",name:"smiling_face_with_tear",shortcodes:["smiling_face_with_tear"],tags:["face","glad","grateful","happy","joy","pain","proud","relieved","smile","smiley","smiling","tear","touched"],group:"",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f972.png"},{emoji:"ð",name:"yum",shortcodes:["savoring_food","yum"],tags:["delicious","eat","face","food","full","hungry","savor","smile","smiling","tasty","um","yum","yummy"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f60b.png"},{emoji:"ð",name:"stuck_out_tongue",shortcodes:["face_with_tongue","stuck_out_tongue"],tags:["awesome","cool","face","nice","party","stuck-out","sweet","tongue"],group:"",emoticons:[":p",":P"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f61b.png"},{emoji:"ð",name:"stuck_out_tongue_winking_eye",shortcodes:["stuck_out_tongue_winking_eye"],tags:["crazy","epic","eye","face","funny","joke","loopy","nutty","party","stuck-out","tongue","wacky","weirdo","wink","winking","yolo"],group:"",emoticons:[";p",";P"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f61c.png"},{emoji:"ð¤ª",name:"zany_face",shortcodes:["zany","zany_face"],tags:["crazy","eye","eyes","face","goofy","large","small","zany"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f92a.png"},{emoji:"ð",name:"stuck_out_tongue_closed_eyes",shortcodes:["stuck_out_tongue_closed_eyes"],tags:["closed","eye","eyes","face","gross","horrible","omg","squinting","stuck-out","taste","tongue","whatever","yolo"],group:"",emoticons:["xp","xP","XP"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f61d.png"},{emoji:"ð¤",name:"money_mouth_face",shortcodes:["money_mouth_face"],tags:["face","money","money-mouth","mouth","paid"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f911.png"},{emoji:"ð¤",name:"hugs",shortcodes:["hug","hugging","hugging_face"],tags:["face","hands","hug","hugging","open","smiling"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f917.png"},{emoji:"ð¤",name:"hand_over_mouth",shortcodes:["face_with_hand_over_mouth","hand_over_mouth"],tags:["face","giggle","giggling","hand","mouth","oops","realization","secret","shock","
105sudden","surprise","whoops"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f92d.png"},{emoji:"ð«¢",name:"face_with_open_eyes_and_hand_over_mouth",shortcodes:["face_with_open_eyes_hand_over_mouth","gasp"],tags:["amazement","awe","disbelief","embarrass","eyes","face","gasp","hand","mouth","omg","open","over","quiet","scared","shock","surprise"],group:"",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae2.png"},{emoji:"ð«£",name:"face_with_peeking_eye",shortcodes:["face_with_peeking_eye","peek"],tags:["captivated","embarrass","eye","face","hide","hiding","peek","peeking","peep","scared","shy","stare"],group:"",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae3.png"},{emoji:"ð¤«",name:"shushing_face",shortcodes:["shush","shushing_face"],tags:["face","quiet","shh","shush","shushing"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f92b.png"},{emoji:"ð¤",name:"thinking",shortcodes:["thinking","thinking_face","wtf"],tags:["chin","consider","face","hmm","ponder","pondering","thinking","wondering"],group:"",emoticons:[":l",":L"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f914.png"},{emoji:"ð«¡",name:"saluting_face",shortcodes:["salute","saluting_face"],tags:["face","good","luck","maâam","ok","respect","salute","saluting","sir","troops","yes"],group:"",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae1.png"},{emoji:"ð¤",name:"zipper_mouth_face",shortcodes:["zipper_mouth","zipper_mouth_face"],tags:["face","keep","mouth","quiet","secret","shut","zip","zipper","zipper-mouth"],group:"",emoticons:[":z",":Z"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f910.png"},{emoji:"ð¤¨",name:"raised_eyebrow",shortcodes:["face_with_raised_eyebrow","raised_eyebrow"],tags:["disapproval","disbelief","distrust","emoji","eyebrow","face","hmm","mild","raised","skeptic","skeptical","skepticism","surprise","what"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f928.png"},{emoji:"ð",name:"neutral_face",shortcodes:["neutral","neutral_face"],tags:["awkward","blank","deadpan","expressionless","face","fine","jealous","meh","neutral","oh","shade","straight","unamused","unhappy","unimpressed","whatever"],group:"",emoticons:[":|"],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f610.png"},{emoji:"ð",name:"expressionless",shortcodes:["expressionless","expressionless_face"],tags:["awkward","dead","expressionless","face","fine","inexpressive","jealous","meh","not","oh","omg","straight","uh","unhappy","unimpressed","whatever"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f611.png"},{emoji:"ð¶",name:"no_mouth",shortcodes:["no_mouth"],tags:["awkward","blank","expressionless","face","mouth","mouthless","mute","quiet","secret","silence","silent","speechless"],group:"",emoticons:[":#"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f636.png"},{emoji:"ð«¥",name:"dotted_line_face",shortcodes:["dotted_line_face"],tags:["depressed","disappear","dotted","face","hidden","hide","introvert","invisible","line","meh","whatever","wtv"],group:"",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae5.png"},{emoji:"ð¶âð«",name:"face_in_clouds",shortcodes:["in_clouds"],tags:["absentminded","clouds","face","fog","head"],group:"",emoticons:[],version:13.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f636-200d-1f32b-fe0f.png"},{emoji:"ð",name:"smirk",shortcodes:["smirk","smirking","smirking_face"],tags:["boss","dapper","face","flirt","homie","kidding","leer","shade","slick","
105sly","smirk","smug","snicker","suave","suspicious","swag"],group:"",emoticons:[":j"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f60f.png"},{emoji:"ð",name:"unamused",shortcodes:["unamused","unamused_face"],tags:["...","bored","face","fine","jealous","jel","jelly","pissed","smh","ugh","uhh","unamused","unhappy","weird","whatever"],group:"",emoticons:[":?"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f612.png"},{emoji:"ð",name:"roll_eyes",shortcodes:["rolling_eyes"],tags:["eyeroll","eyes","face","rolling","shade","ugh","whatever"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f644.png"},{emoji:"ð¬",name:"grimacing",shortcodes:["grimacing","grimacing_face"],tags:["awk","awkward","dentist","face","grimace","grimacing","grinning","smile","smiling"],group:"",emoticons:["8D"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f62c.png"},{emoji:"ð®âð¨",name:"face_exhaling",shortcodes:["exhale","exhaling"],tags:["blow","blowing","exhale","exhaling","exhausted","face","gasp","groan","relief","sigh","smiley","smoke","whisper","whistle"],group:"",emoticons:[],version:13.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f62e-200d-1f4a8.png"},{emoji:"ð¤¥",name:"lying_face",shortcodes:["lying","lying_face"],tags:["face","liar","lie","lying","pinocchio"],group:"",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f925.png"},{emoji:"ð«¨",name:"shaking_face",shortcodes:["shaking","shaking_face"],tags:["crazy","daze","earthquake","face","omg","panic","shaking","shock","surprise","vibrate","whoa","wow"],group:"",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae8.png"},{emoji:"ðââ",name:"head_shaking_horizontally",shortcodes:["head_shaking_horizontally"],tags:["head","horizontally","no","shake","shaking"],group:"",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f642-200d-2194-fe0f.png"},{emoji:"ðââ",name:"head_shaking_vertically",shortcodes:["head_shaking_vertically"],tags:["head","nod","shaking","vertically","yes"],group:"",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f642-200d-2195-fe0f.png"},{emoji:"ð",name:"relieved",shortcodes:["relieved","relieved_face"],tags:["calm","face","peace","relief","relieved","zen"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f60c.png"},{emoji:"ð",name:"pensive",shortcodes:["pensive","pensive_face"],tags:["awful","bored","dejected","died","disappointed","face","losing","lost","pensive","sad","sucks"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f614.png"},{emoji:"ðª",name:"sleepy",shortcodes:["sleepy","sleepy_face"],tags:["crying","face","good","night","sad","sleep","sleeping","sleepy","tired"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f62a.png"},{emoji:"ð¤¤",name:"drooling_face",shortcodes:["drooling","drooling_face"],tags:["drooling","face"],group:"",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f924.png"},{emoji:"ð´",name:"sleeping",shortcodes:["sleeping","sleeping_face"],tags:["bed","bedtime","face","good","goodnight","nap","night","sleep","sleeping","tired","whatever","yawn","zzz"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f634.png"},{emoji:"ð«©",name:"face_with_eye_bags",shortcodes:["face_with_eye_bags"],tags:["bags","bored","exhausted","eyes","face","fatigued","late","sleepy","tired","weary"],group:"",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae9.png"},{emoji:"ð·",name:"mask",shortcodes:["mask","medical_mask"],tags:["cold","dentist","dermatologist","doctor","dr","face","germs","mask","medical","medicine","sick"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f637.png"},{emoji:"ð¤",name:"face_with_thermometer",shortcodes:["face_with_thermometer"],tags:["face","ill","sick","thermometer"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f912.png"},{emoji:"ð¤",name:"face_with_head_bandage",shortcodes:["face_with_head_bandage"],tags:["bandage","face","head-bandage","hurt","injury","ouch"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f915.png"},{emoji:"ð¤¢",name:"nauseated_face",shortcodes:["nauseated","nauseated_face"],tags:["face","gross","nasty","nauseated","sick","vomit"],group:"",emoticons:["%("],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f922.png"},{emoji:"ð¤®",name:"vomiting_face",shortcodes:["face_vomiting","vomiting"],tags:["barf","ew","face","gross","puke","sick","spew","throw","up","vomit","vomiting"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f92e.png"},{emoji:"ð¤§",name:"sneezing_face",shortcodes:["sneezing","sneezing_face"],tags:["face","fever","flu","gesundheit","sick","sneeze","sneezing"],group:"",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f927.png"},{emoji:"ð¥µ",name:"hot_face",shortcodes:["hot","hot_face"],tags:["dying","face","feverish","heat","hot","panting","red-faced","stroke","sweating","tongue"],group:"",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f975.png"},{emoji:"ð¥¶",name:"cold_face",shortcodes:["cold","cold_face"],tags:["blue","blue-faced","cold","face","freezing","frostbite","icicles","subzero","teeth"],group:"",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f976.png"},{emoji:"ð¥´",name:"woozy_face",shortcodes:["woozy","woozy_face"],tags:["dizzy","drunk","eyes","face","intoxicated","mouth","tipsy","uneven","wavy","woozy"],group:"",emoticons:[":&"],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f974.png"},{emoji:"ðµ",name:"dizzy_face",shortcodes:["dizzy_face","knocked_out"],tags:["crossed-out","dead","dizzy","eyes","face","feels","knocked","out","sick","tired"],group:"",emoticons:["xo","XO"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f635.png"},{emoji:"ðµâð«",name:"face_with_spiral_eyes",shortcodes:["dizzy_eyes"],tags:["confused","dizzy","eyes","face","hypnotized","omg","smiley","spiral","trouble","whoa","woah","woozy"],group:"",emoticons:[],version:13.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f635-200d-1f4ab.png"},{emoji:"ð¤¯",name:"exploding_head",shortcodes:["exploding_head"],tags:["blown","explode","exploding","head","mind","mindblown","no","shocked","way"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f92f.png"},{emoji:"ð¤ ",name:"cowboy_hat_face",shortcodes:["cowboy","cowboy_face"],tags:["cowboy","cowgirl","face","hat"],group:"",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f920.png"},{emoji:"ð¥³",name:"partying_face",shortcodes:["hooray","partying","partying_face"],tags:["bday","birthday","celebrate","celebration","excited","face","happy","hat","hooray","horn","party","partying"],group:"",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f973.png"},{emoji:"ð¥¸",name:"disguised_face",shortcodes:["disguised","disguised_face"],tags:["disguise","eyebrow","face","glasses","incognito","moustache","mustache","nose","person","spy","tache","tash"],group:"",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f978.png"},{emoji:"ð",name:"sunglasses",shortcodes:["smiling_face_with_sunglasses","sunglasses_cool","too_cool"],tags:["awesome","beach","bright","bro","chilling","cool","face","rad","relaxed","shades","slay","smile","style","sunglasses","swag","win"],group:"",emoticons:["8)"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f60e.png"}
105,{emoji:"ð¤",name:"nerd_face",shortcodes:["nerd","nerd_face"],tags:["brainy","clever","expert","face","geek","gifted","glasses","intelligent","nerd","smart"],group:"",emoticons:[":B"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f913.png"},{emoji:"ð§",name:"monocle_face",shortcodes:["face_with_monocle"],tags:["classy","face","fancy","monocle","rich","stuffy","wealthy"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d0.png"},{emoji:"ð",name:"confused",shortcodes:["confused","confused_face"],tags:["befuddled","confused","confusing","dunno","face","frown","hm","meh","not","sad","sorry","sure"],group:"",emoticons:[":/"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f615.png"},{emoji:"ð«¤",name:"face_with_diagonal_mouth",shortcodes:["face_with_diagonal_mouth"],tags:["confused","confusion","diagonal","disappointed","doubt","doubtful","face","frustrated","frustration","meh","mouth","skeptical","unsure","whatever","wtv"],group:"",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae4.png"},{emoji:"ð",name:"worried",shortcodes:["worried","worried_face"],tags:["anxious","butterflies","face","nerves","nervous","sad","stress","stressed","surprised","worried","worry"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f61f.png"},{emoji:"ð",name:"slightly_frowning_face",shortcodes:["slightly_frowning_face"],tags:["face","frown","frowning","sad","slightly"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f641.png"},{emoji:"â¹",name:"frowning_face",shortcodes:["white_frowning_face"],tags:["face","frown","frowning","sad"],group:"",emoticons:[":("],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2639-fe0f.png"},{emoji:"ð®",name:"open_mouth",shortcodes:["face_with_open_mouth","open_mouth"],tags:["believe","face","forgot","mouth","omg","open","shocked","surprised","sympathy","unbelievable","unreal","whoa","wow","you"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f62e.png"},{emoji:"ð¯",name:"hushed",shortcodes:["hushed","hushed_face"],tags:["epic","face","hushed","omg","stunned","surprised","whoa","woah"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f62f.png"},{emoji:"ð²",name:"astonished",shortcodes:["astonished","astonished_face"],tags:["astonished","cost","face","no","omg","shocked","totally","way"],group:"",emoticons:[":o",":O"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f632.png"},{emoji:"ð³",name:"flushed",shortcodes:["flushed","flushed_face"],tags:["amazed","awkward","crazy","dazed","dead","disbelief","embarrassed","face","flushed","geez","heat","hot","impressed","jeez","what","wow"],group:"",emoticons:[":$"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f633.png"},{emoji:"ð«ª",name:"distorted_face",shortcodes:["distorted_face"],tags:["anxiety","bloated","panic","shocked","surprised","vulnerable"],group:"",emoticons:[],version:17},{emoji:"ð¥º",name:"pleading_face",shortcodes:["pleading","pleading_face"],tags:["begging","big","eyes","face","mercy","not","pleading","please","pretty","puppy","sad","why"],group:"",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f97a.png"},{emoji:"ð¥¹",name:"face_holding_back_tears",shortcodes:["face_holding_back_tears","watery_eyes"],tags:["admiration","aww","back","cry","embarrassed","face","feelings","grateful","gratitude","holding","joy","please","proud","resist","sad","tears"],group:"",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f979.png"},{emoji:"ð¦",name:"frowning",shortcodes:["frowning","frowning_face"],tags:["caught","face","frown","frowning","guard","mouth","open","scared","scary","surprise","what","wow"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f626.png"},{emoji:"ð§",name:"anguished",shortcodes:["anguished","anguished_face"],tags:["anguished","face","forgot","scared","scary","stressed","surprise","unhappy","what","wow"],group:"",emoticons:[":s",":S"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f627.png"},{emoji:"ð¨",name:"fearful",shortcodes:["fearful","fearful_face"],tags:["afraid","anxious","blame","face","fear","fearful","scared","worried"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f628.png"},{emoji:"ð°",name:"cold_sweat",shortcodes:["anxious","anxious_face","cold_sweat"],tags:["anxious","blue","cold","eek","face","mouth","nervous","open","rushed","scared","sweat","yikes"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f630.png"},{emoji:"ð¥",name:"disappointed_relieved",shortcodes:["disappointed_relieved","sad_relieved_face"],tags:["anxious","call","close","complicated","disappointed","face","not","relieved","sad","sweat","time","whew"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f625.png"},{emoji:"ð¢",name:"cry",shortcodes:["cry","crying_face"],tags:["awful","cry","crying","face","feels","miss","sad","tear","triste","unhappy"],group:"",emoticons:[":'("],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f622.png"},{emoji:"ð",name:"sob",shortcodes:["loudly_crying_face","sob"],tags:["bawling","cry","crying","face","loudly","sad","sob","tear","tears","unhappy"],group:"",emoticons:[":'o"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f62d.png"},{emoji:"ð±",name:"scream",shortcodes:["scream","screaming_in_fear"],tags:["epic","face","fear","fearful","munch","scared","scream","screamer","screaming","shocked","surprised","woah"],group:"",emoticons:["Dx"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f631.png"},{emoji:"ð",name:"confounded",shortcodes:["confounded","confounded_face"],tags:["annoyed","confounded","confused","cringe","distraught","face","feels","frustrated","mad","sad"],group:"",emoticons:["x(","X("],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f616.png"},{emoji:"ð£",name:"persevere",shortcodes:["persevere","persevering_face"],tags:["concentrate","concentration","face","focus","headache","persevere","persevering"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f623.png"},{emoji:"ð",name:"disappointed",shortcodes:["disappointed","disappointed_face"],tags:["awful","blame","dejected","disappointed","face","fail","losing","sad","unhappy"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f61e.png"},{emoji:"ð",name:"sweat",shortcodes:["downcast_face","sweat"],tags:["close","cold","downcast","face","feels","headache","nervous","sad","scared","sweat","yikes"],group:"",emoticons:[":<"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f613.png"},{emoji:"ð©",name:"weary",shortcodes:["weary","weary_face"],tags:["crying","face","fail","feels","hungry","mad","nooo","sad","sleepy","tired","unhappy","weary"],group:"",emoticons:["D:"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f629.png"},{emoji:"ð«",name:"tired_face",shortcodes:["tired","tired_face"],tags:["cost","face","feels","nap","sad","sneeze","tired"],group:"",emoticons:[":c",":C"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f62b.png"},{emoji:"ð¥±",name:"yawning_face",shortcodes:["yawn","yawning","yawning_face"],tags:["bedtime","bored","face","goodnight","nap","night","sleep","sleepy","tired","whatever","yawn","yawning","zzz"],group:"",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f971.png"},{emoji:"ð¤",name:"triumph",shortcodes:["nose_steam","triumph"],tags:["anger","angry","face","feels","fume","fuming","furious","fury","mad","nose","steam","triumph","unhappy","won"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f624.png"},{emoji:"ð¡",name:"pout",shortcodes:["pout","pouting_face","rage"],tags:["anger","angry","enraged","face","feels","mad","maddening","pouting","rage","red","shade","unhappy","upset"],group:"",emoticons:[">:/"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f621.png"},{emoji:"ð ",name:"angry",shortcodes:["angry","angry_face"],tags:["anger","angry","blame","face","feels","frustrated","mad","maddening","rage","shade","unhappy","upset"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f620.png"},{emoji:"ð¤¬",name:"cursing_face",shortcodes:["censored","face_with_symbols_on_mouth"],tags:["censor","cursing","cussing","face","mad","mouth","pissed","swearing","symbols"],group:"",emoticons:[":@"],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f92c.png"},{emoji:"ð",name:"smiling_imp",shortcodes:["smiling_imp"],tags:["demon","devil","evil","face","fairy","fairytale","fantasy","horns","purple","shade","smile","smiling","tale"],group:"",emoticons:[">:)"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f608.png"},{emoji:"ð¿",name:"imp",shortcodes:["angry_imp","imp"],tags:["angry","demon","devil","evil","face","fairy","fairytale","fantasy","horns","imp","mischievous","purple","shade","tale"],group:"",emoticons:[">:("],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f47f.png"},{emoji:"ð",name:"skull",shortcodes:["skull"],tags:["body","dead","death","face","fairy","fairytale","iâm","lmao","monster","tale","yolo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f480.png"},{emoji:"â ",name:"skull_and_crossbones",shortcodes:["skull_and_crossbones"],tags:["bone","crossbones","dead","death","face","monster","skull"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2620-fe0f.png"},{emoji:"ð©",name:"hankey",shortcodes:["poop","shit"],tags:["bs","comic","doo","dung","face","fml","monster","pile","poo","poop","smelly","smh","stink","stinks","stinky","turd"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a9.png"},{emoji:"ð¤¡",name:"clown_face",shortcodes:["clown","clown_face"],tags:["clown","face"],group:"",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f921.png"},{emoji:"ð¹",name:"japanese_ogre",shortcodes:["japanese_ogre","ogre"],tags:["creature","devil","face","fairy","fairytale","fantasy","mask","monster","scary","tale"],group:"",emoticons:[">0)"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f479.png"},{emoji:"ðº",name:"japanese_goblin",shortcodes:["goblin","japanese_goblin"],tags:["angry","creature","face","fairy","fairytale","fantasy","mask","mean","monster","tale"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f47a.png"},{emoji:"ð»",name:"ghost",shortcodes:["ghost"],tags:["boo","creature","excited","face","fairy","fairytale","fantasy","halloween","haunting","monster","scary","silly","tale"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f47b.png"},{emoji:"ð½",name:"alien",shortcodes:["alien"],tags:["creature","extraterrestrial","face","fairy","fairytale","fantasy","monster","space","tale","ufo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f47d.png"},{emoji:"ð¾",name:"space_invader",shortcodes:["alien_monster","space_invader"],tags:["alien","creature","extraterrestrial","face","fairy","fairytale","fantasy","game","gamer","games","monster","pixelated","space","tale","ufo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f47e.png"},{emoji:"ð¤",name:"robot",shortcodes:["robot","robot_face"],tags:["face","monster"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f916.png"},{emoji:"ðº",name:"smiley_cat",shortcodes:["grinning_cat","smiley_cat"],tags:["animal","cat","face","grinning","mouth","open","smile","smiling"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f63a.png"},{emoji:"ð¸",name:"smile_cat",shortcodes:["grinning_cat_with_closed_eyes","smile_cat"],tags:["animal","cat","eye","eyes","face","grin","grinning","smile","smiling"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f638.png"},{emoji:"ð¹",name:"joy_cat",shortcodes:["joy_cat","tears_of_joy_cat"],tags:["animal","cat","face","joy","laugh","laughing","lol","tear","tears"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f639.png"},{emoji:"ð»",name:"heart_eyes_cat",shortcodes:["heart_eyes_cat","smiling_cat_with_heart_eyes"],tags:["animal","cat","eye","face","heart","heart-eyes","love","smile","smiling"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f63b.png"}
105,{emoji:"ð¼",name:"smirk_cat",shortcodes:["smirk_cat","wry_smile_cat"],tags:["animal","cat","face","ironic","smile","wry"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f63c.png"},{emoji:"ð½",name:"kissing_cat",shortcodes:["kissing_cat"],tags:["animal","cat","closed","eye","eyes","face","kiss","kissing"],group:"",emoticons:[":3"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f63d.png"},{emoji:"ð",name:"scream_cat",shortcodes:["scream_cat","weary_cat"],tags:["animal","cat","face","oh","surprised","weary"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f640.png"},{emoji:"ð¿",name:"crying_cat_face",shortcodes:["crying_cat"],tags:["animal","cat","cry","crying","face","sad","tear"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f63f.png"},{emoji:"ð¾",name:"pouting_cat",shortcodes:["pouting_cat"],tags:["animal","cat","face","pouting"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f63e.png"},{emoji:"ð",name:"see_no_evil",shortcodes:["see_no_evil"],tags:["embarrassed","evil","face","forbidden","forgot","gesture","hide","monkey","no","omg","prohibited","scared","secret","smh","watch"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f648.png"},{emoji:"ð",name:"hear_no_evil",shortcodes:["hear_no_evil"],tags:["animal","ears","evil","face","forbidden","gesture","hear","listen","monkey","no","not","prohibited","secret","shh","tmi"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f649.png"},{emoji:"ð",name:"speak_no_evil",shortcodes:["speak_no_evil"],tags:["animal","evil","face","forbidden","gesture","monkey","no","not","oops","prohibited","quiet","secret","speak","stealth"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64a.png"},{emoji:"ð",name:"love_letter",shortcodes:["love_letter"],tags:["heart","letter","love","mail","romance","valentine"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f48c.png"},{emoji:"ð",name:"cupid",shortcodes:["cupid","heart_with_arrow"],tags:["143","adorbs","arrow","cupid","date","emotion","heart","ily","love","romance","valentine"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f498.png"},{emoji:"ð",name:"gift_heart",shortcodes:["gift_heart","heart_with_ribbon"],tags:["143","anniversary","emotion","heart","ily","kisses","ribbon","valentine","xoxo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f49d.png"},{emoji:"ð",name:"sparkling_heart",shortcodes:["sparkling_heart"],tags:["143","emotion","excited","good","heart","ily","kisses","morning","night","sparkle","sparkling","xoxo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f496.png"},{emoji:"ð",name:"heartpulse",shortcodes:["growing_heart","heartpulse"],tags:["143","emotion","excited","growing","heart","heartpulse","ily","kisses","muah","nervous","pulse","xoxo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f497.png"},{emoji:"ð",name:"heartbeat",shortcodes:["beating_heart","heartbeat"],tags:["143","beating","cardio","emotion","heart","heartbeat","ily","love","pulsating","pulse"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f493.png"},{emoji:"ð",name:"revolving_hearts",shortcodes:["revolving_hearts"],tags:["143","adorbs","anniversary","emotion","heart","hearts","revolving"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f49e.png"},{emoji:"ð",name:"two_hearts",shortcodes:["two_hearts"],tags:["143","anniversary","date","dating","emotion","heart","hearts","ily","kisses","love","loving","two","xoxo"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f495.png"},{emoji:"ð",name:"heart_decoration",shortcodes:["heart_decoration"],tags:["143","decoration","emotion","heart","hearth","purple","white"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f49f.png"},{emoji:"â£",name:"heavy_heart_exclamation",shortcodes:["heart_exclamation"],tags:["exclamation","heart","heavy","mark","punctuation"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2763-fe0f.png"},{emoji:"ð",name:"broken_heart",shortcodes:["broken_heart"],tags:["break","broken","crushed","emotion","heart","heartbroken","lonely","sad"],group:"",emoticons:["</3"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f494.png"},{emoji:"â¤âð¥",name:"heart_on_fire",shortcodes:["heart_on_fire"],tags:["burn","fire","heart","love","lust","sacred"],group:"",emoticons:[],version:13.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2764-fe0f-200d-1f525.png"},{emoji:"â¤âð©¹",name:"mending_heart",shortcodes:["mending_heart"],tags:["healthier","heart","improving","mending","recovering","recuperating","well"],group:"",emoticons:[],version:13.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2764-fe0f-200d-1fa79.png"},{emoji:"â¤",name:"heart",shortcodes:["heart","red_heart"],tags:["emotion","heart","love","red"],group:"",emoticons:["<3"],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2764-fe0f.png"},{emoji:"ð©·",name:"pink_heart",shortcodes:["pink_heart"],tags:["143","adorable","cute","emotion","heart","ily","like","love","pink","special","sweet"],group:"",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa77.png"},{emoji:"ð§¡",name:"orange_heart",shortcodes:["orange_heart"],tags:["143","heart","orange"],group:"",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e1.png"},{emoji:"ð",name:"yellow_heart",shortcodes:["yellow_heart"],tags:["143","cardiac","emotion","heart","ily","love","yellow"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f49b.png"},{emoji:"ð",name:"green_heart",shortcodes:["green_heart"],tags:["143","emotion","green","heart","ily","love","romantic"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f49a.png"},{emoji:"ð",name:"blue_heart",shortcodes:["blue_heart"],tags:["143","blue","emotion","heart","ily","love","romance"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f499.png"},{emoji:"ð©µ",name:"light_blue_heart",shortcodes:["light_blue_heart"],tags:["143","blue","cute","cyan","emotion","heart","ily","light","like","love","sky","special","teal"],group:"",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa75.png"},{emoji:"ð",name:"purple_heart",shortcodes:["purple_heart"],tags:["143","bestest","emotion","heart","ily","love","purple"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f49c.png"},{emoji:"ð¤",name:"brown_heart",shortcodes:["brown_heart"],tags:["143","brown","heart"],group:"",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f90e.png"},{emoji:"ð¤",name:"black_heart",shortcodes:["black_heart"],tags:["black","evil","heart","wicked"],group:"",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5a4.png"},{emoji:"ð©¶",name:"grey_heart",shortcodes:["gray_heart","grey_heart"],tags:["143","emotion","gray","grey","heart","ily","love","silver","slate","special"],group:"",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa76.png"},{emoji:"ð¤",name:"white_heart",shortcodes:["white_heart"],tags:["143","heart","white"],group:"",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f90d.png"},{emoji:"ð",name:"kiss",shortcodes:["kiss"],tags:["dating","emotion","heart","kiss","kissing","lips","mark","romance","sexy"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f48b.png"},{emoji:"ð¯",name:"100",shortcodes:["100"],tags:["100","a+","agree","clearly","definitely","faithful","fleek","full","hundred","keep","perfect","point","score","true","truth","yup"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4af.png"},{emoji:"ð¢",name:"anger",shortcodes:["anger"],tags:["anger","angry","comic","mad","symbol","upset"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a2.png"},{emoji:"ð«¯",name:"fight_cloud",shortcodes:["fight_cloud"],tags:["argument","brawl","debate","disagreement","fight","ruckus","wrestle"],group:"",emoticons:[],version:17},{emoji:"ð¥",name:"boom",shortcodes:["boom","collision"],tags:["bomb","boom","collide","comic","explode"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a5.png"},{emoji:"ð«",name:"dizzy",shortcodes:["dizzy"],tags:["comic","shining","shooting","star","stars"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ab.png"},{emoji:"ð¦",name:"sweat_drops",shortcodes:["sweat_drops"],tags:["comic","drip","droplet","droplets","drops","splashing","squirt","sweat","water","wet","work","workout"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a6.png"}
105,{emoji:"ð¨",name:"dash",shortcodes:["dash","dashing_away"],tags:["away","cloud","comic","dash","dashing","fart","fast","go","gone","gotta","running","smoke"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a8.png"},{emoji:"ð³",name:"hole",shortcodes:["hole"],tags:["hole"],group:"",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f573-fe0f.png"},{emoji:"ð¬",name:"speech_balloon",shortcodes:["speech_balloon"],tags:["balloon","bubble","comic","dialog","message","sms","speech","talk","text","typing"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ac.png"},{emoji:"ðâð¨ï¸",name:"eye_speech_bubble",shortcodes:["eye_in_speech_bubble"],tags:["balloon","bubble","eye","speech","witness"],group:"",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f441-fe0f-200d-1f5e8-fe0f.png"},{emoji:"ð¨",name:"left_speech_bubble",shortcodes:["left_speech_bubble"],tags:["balloon","bubble","dialog","left","speech"],group:"",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5e8-fe0f.png"},{emoji:"ð¯",name:"right_anger_bubble",shortcodes:["right_anger_bubble"],tags:["anger","angry","balloon","bubble","mad","right"],group:"",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5ef-fe0f.png"},{emoji:"ð",name:"thought_balloon",shortcodes:["thought_balloon"],tags:["balloon","bubble","cartoon","cloud","comic","daydream","decisions","dream","idea","invent","invention","realize","think","thoughts","wonder"],group:"",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ad.png"},{emoji:"ð¤",name:"zzz",shortcodes:["zzz"],tags:["comic","good","goodnight","night","sleep","sleeping","sleepy","tired","zzz"],group:"",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a4.png"},{emoji:"ð",name:"wave",shortcodes:["wave","waving_hand"],tags:["bye","cya","g2g","greetings","gtg","hand","hello","hey","hi","later","outtie","ttfn","ttyl","wave","yo","you"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f44b.png"},{emoji:"ð¤",name:"raised_back_of_hand",shortcodes:["raised_back_of_hand"],tags:["back","backhand","hand","raised"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f91a.png"},{emoji:"ð",name:"raised_hand_with_fingers_splayed",shortcodes:["raised_hand_with_fingers_splayed"],tags:["finger","fingers","hand","raised","splayed","stop"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f590-fe0f.png"},{emoji:"â",name:"hand",shortcodes:["high_five","raised_hand"],tags:["5","five","hand","high","raised","stop"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/270b.png"},{emoji:"ð",name:"vulcan_salute",shortcodes:["vulcan"],tags:["finger","hand","hands","salute","vulc
105an"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f596.png"},{emoji:"ð«±",name:"rightwards_hand",shortcodes:["rightwards_hand"],tags:["hand","handshake","hold","reach","right","rightward","rightwards","shake"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf1.png"},{emoji:"ð«²",name:"leftwards_hand",shortcodes:["leftwards_hand"],tags:["hand","handshake","hold","left","leftward","leftwards","reach","shake"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf2.png"},{emoji:"ð«³",name:"palm_down_hand",shortcodes:["palm_down"],tags:["dismiss","down","drop","dropped","hand","palm","pick","shoo","up"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf3.png"},{emoji:"ð«´",name:"palm_up_hand",shortcodes:["palm_up"],tags:["beckon","catch","come","hand","hold","know","lift","me","offer","palm","tell"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf4.png"},{emoji:"ð«·",name:"leftwards_pushing_hand",shortcodes:["leftwards_pushing_hand"],tags:["block","five","halt","hand","high","hold","leftward","leftwards","pause","push","pushing","refuse","slap","stop","wait"],group:"people & body",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf7.png"},{emoji:"ð«¸",name:"rightwards_pushing_hand",shortcodes:["rightwards_pushing_hand"],tags:["block","five","halt","hand","high","hold","pause","push","pushing","refuse","rightward","rightwards","slap","stop","wait"],group:"people & body",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf8.png"},{emoji:"ð",name:"ok_hand",shortcodes:["ok_hand"],tags:["awesome","bet","dope","fleek","fosho","got","gotcha","hand","legit","ok","okay","pinch","rad","sure","sweet","three"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f44c.png"},{emoji:"ð¤",name:"pinched_fingers",shortcodes:["pinch","pinched_fingers"],tags:["fingers","gesture","hand","hold","huh","interrogation","patience","pinched","relax","sarcastic","ugh","what","zip"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f90c.png"},{emoji:"ð¤",name:"pinching_hand",shortcodes:["pinching_hand"],tags:["amount","bit","fingers","hand","little","pinching","small","sort"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f90f.png"},{emoji:"â",name:"v",shortcodes:["v","victory"],tags:["hand","peace","v","victory"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/270c-fe0f.png"},{emoji:"ð¤",name:"crossed_fingers",shortcodes:["fingers_crossed"],tags:["cross","crossed","finger","fingers","hand","luck"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f91e.png"},{emoji:"ð«°",name:"hand_with_index_finger_and_thumb_crossed",shortcodes:["hand_with_index_finger_and_thumb_crossed"],tags:["<3","crossed","expensive","finger","hand","heart","index","love","money","snap","thumb"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf0.png"},{emoji:"ð¤",name:"love_you_gesture",shortcodes:["love_you_gesture"],tags:["fingers","gesture","hand","ily","love","love-you","three","you"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f91f.png"},{emoji:"ð¤",name:"metal",shortcodes:["metal","sign_of_the_horns"],tags:["finger","hand","horns","rock-on","sign"],group:"people & body",emoticons:["\\m/","\\M/"],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f918.png"},{emoji:"ð¤",name:"call_me_hand",shortcodes:["call_me_hand"],tags:["call","hand","hang","loose","me","shaka"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f919.png"},{emoji:"ð",name:"point_left",shortcodes:["point_left"],tags:["backhand","finger","hand","index","left","point","pointing"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f448.png"},{emoji:"ð",name:"point_right",shortcodes:["point_right"],tags:["backhand","finger","hand","index","point","pointing","right"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f449.png"},{emoji:"ð",name:"point_up_2",shortcodes:["point_up"],tags:["backhand","finger","hand","index","point","pointing","up"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f446.png"},{emoji:"ð",name:"fu",shortcodes:["middle_finger"],tags:["finger","hand","middle"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f595.png"},{emoji:"ð",name:"point_down",shortcodes:["point_down"],tags:["backhand","down","finger","hand","index","point","pointing"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f447.png"},{emoji:"â",name:"point_up",shortcodes:["point_up_2"],tags:["finger","hand","index","point","pointing","this","up"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/261d-fe0f.png"},{emoji:"ð«µ",name:"index_pointing_at_the_viewer",shortcodes:["point_forward"],tags:["at","finger","hand","index","pointing","poke","viewer","you"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf5.png"},{emoji:"ð",name:"+1",shortcodes:["+1","thumbsup","yes"],tags:["+1","good","hand","like","thumb","up","yes"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f44d.png"},{emoji:"ð",name:"-1",shortcodes:["-1","no","thumbsdown"],tags:["-1","bad","dislike","down","good","hand","no","nope","thumb","thumbs"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f44e.png"},{emoji:"â",name:"fist",shortcodes:["fist"],tags:["clenched","fist","hand","punch","raised","solidarity"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/270a.png"},{emoji:"ð",name:"facepunch",shortcodes:["punch"],tags:["absolutely","agree","boom","bro","bruh","bump","clenched","correct","fist","hand","knuckle","oncoming","pound","punch","rock","ttyl"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f44a.png"},{emoji:"ð¤",name:"fist_left",shortcodes:["left_facing_fist"],tags:["fist","left-facing","leftwards"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f91b.png"},{emoji:"ð¤",name:"fist_right",shortcodes:["right_facing_fist"],tags:["fist","right-facing","rightwards"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f91c.png"},{emoji:"ð",name:"clap",shortcodes:["clap","clapping_hands"],tags:["applause","approval","awesome","clap","congrats","congratulations","excited","good","great","hand","homie","job","nice","prayed","well","yay"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f44f.png"},{emoji:"ð",name:"raised_hands",shortcodes:["raised_hands"],tags:["celebration","gesture","hand","hands","hooray","praise","raised","raising"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64c.png"},{emoji:"ð«¶",name:"heart_hands",shortcodes:["heart_hands"],tags:["<3","hands","heart","love","you"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faf6.png"},{emoji:"ð",name:"open_hands",shortcodes:["open_hands"],tags:["hand","hands","hug","jazz","open","swerve"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f450.png"},{emoji:"ð¤²",name:"palms_up_together",shortcodes:["palms_up_together"],tags:["cupped","dua","hands","palms","pray","prayer","together","up","wish"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f932.png"},{emoji:"ð¤",name:"handshake",shortcodes:["handshake"],tags:["agreement","deal","hand","meeting","shake"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f91d.png"},{emoji:"ð",name:"pray",shortcodes:["folded_hands","pray"],tags:["appreciate","ask","beg","blessed","bow","cmon","five","folded","gesture","hand","high","please","pray","thanks","thx"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64f.png"},{emoji:"â",name:"writing_hand",shortcodes:["writing_hand"],tags:["hand","write","writing"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/270d-fe0f.png"},{emoji:"ð
",name:"nail_care",shortcodes:["nail_care","nail_polish"],tags:["bored","care","cosmetics","done","makeup","manicure","nail","polish","whatever"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f485.png"},{emoji:"ð¤³",name:"selfie",shortcodes:["selfie"],tags:["camera","phone"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f933.png"},{emoji:"ðª",name:"muscle",shortcodes:["muscle","right_bicep"],tags:["arm","beast","bench","biceps","bodybuilder","bro","curls","flex","gains","gym","jacked","muscle","press","ripped","strong","weightlift"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4aa.png"},{emoji:"ð¦¾",name:"mechanical_arm",shortcodes:["mechanical_arm"],tags:["accessibility","arm","mechanical","prosthetic"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9be.png"},{emoji:"ð¦¿",name:"mechanical_leg",shortcodes:["mechanical_leg"],tags:["accessibility","leg","mechanical","prosthetic"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9bf.png"},{emoji:"ð¦µ",name:"leg",shortcodes:["leg"],tags:["bent","foot","kick","knee","limb"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b5.png"},{emoji:"ð¦¶",name:"foot",shortcodes:["foot"],tags:["ankle","feet","kick","stomp"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b6.png"},{emoji:"ð",name:"ear",shortcodes:["ear"],tags:["body","ears","hear","hearing","listen","listening","sound"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f442.png"},{emoji:"ð¦»",name:"ear_with_hearing_aid",shortcodes:["ear_with_hearing_aid","hearing_aid"],tags:["accessibility","aid","ear","hard","hearing"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9bb.png"},{emoji:"ð",name:"nose",shortcodes:["nose"],tags:["body","noses","nosey","odor","smell","smells"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f443.png"},{emoji:"ð§ ",name:"brain",shortcodes:["brain"],tags:["intelligent","smart"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e0.png"},{emoji:"ð«",name:"anatomical_heart",shortcodes:["anatomical_heart"],tags:["anatomical","beat","cardiology","heart","heartbeat","organ","pulse","real","red"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fac0.png"},{emoji:"ð«",name:"lungs",shortcodes:["lungs"],tags:["breath","breathe","exhalation","inhalation","lung","organ","respiration"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fac1.png"},{emoji:"ð¦·",name:"tooth",shortcodes:["tooth"],tags:["dentist","pearly","teeth","white"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b7.png"},{emoji:"ð¦´",name:"bone",shortcodes:["bone"],tags:["bones","dog","skeleton","wishbone"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b4.png"},{emoji:"ð",name:"eyes",shortcodes:["eyes"],tags:["body","eye","face","googly","look","looking","omg","peep","see","seeing"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f440.png"},{emoji:"ð",name:"eye",shortcodes:["eye"],tags:["1","body","one"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f441-fe0f.png"},{emoji:"ð
",name:"tongue",shortcodes:["tongue"],tags:["body","lick","slurp"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f445.png"},{emoji:"ð",name:"lips",shortcodes:["lips","mouth"],tags:["beauty","body","kiss","kissing","lips","lipstick"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f444.png"},{emoji:"ð«¦",name:"biting_lip",shortcodes:["biting_lip"],tags:["anxious","bite","biting","fear","flirt","flirting","kiss","lip","lipstick","nervous","sexy","uncomfortable","worried","worry"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae6.png"},{emoji:"ð¶",name:"baby",shortcodes:["baby"],tags:["babies","children","goo","infant","newborn","pregnant","young"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f476.png"},{emoji:"ð§",name:"child",shortcodes:["child"],tags:["bright-eyed","grandchild","kid","young","younger"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d2.png"}
105,{emoji:"ð¦",name:"boy",shortcodes:["boy"],tags:["bright-eyed","child","grandson","kid","son","young","younger"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f466.png"},{emoji:"ð§",name:"girl",shortcodes:["girl"],tags:["bright-eyed","child","daughter","granddaughter","kid","virgo","young","younger","zodiac"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f467.png"},{emoji:"ð§",name:"adult",shortcodes:["adult"],tags:["adult"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1.png"},{emoji:"ð±",name:"blond_haired_person",shortcodes:["blond_haired"],tags:["blond","blond-haired","human","person"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f471.png"},{emoji:"ð¨",name:"man",shortcodes:["man"],tags:["adult","bro"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468.png"},{emoji:"ð§",name:"bearded_person",shortcodes:["person_bearded"],tags:["beard","bearded","person","whiskers"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d4.png"},{emoji:"ð§ââ",name:"man_beard",shortcodes:["man_bearded"],tags:["beard","bearded","man","whiskers"],group:"people & body",emoticons:[],version:13.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d4-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"woman_beard",shortcodes:["woman_bearded"],tags:["beard","bearded","whiskers","woman"],group:"people & body",emoticons:[],version:13.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d4-200d-2640-fe0f.png"},{emoji:"ð¨âð¦°",name:"red_haired_man",shortcodes:["man_red_haired"],tags:["adult","bro","man","red hair"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9b0.png"},{emoji:"ð¨âð¦±",name:"curly_haired_man",shortcodes:["man_curly_haired"],tags:["adult","bro","curly hair","man"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9b1.png"},{emoji:"ð¨âð¦³",name:"white_haired_man",shortcodes:["man_white_haired"],tags:["adult","bro","man","white hair"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9b3.png"},{emoji:"ð¨âð¦²",name:"bald_man",shortcodes:["man_bald"],tags:["adult","bald","bro","man"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9b2.png"},{emoji:"ð©",name:"woman",shortcodes:["woman"],tags:["adult","lady"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469.png"},{emoji:"ð©âð¦°",name:"red_haired_woman",shortcodes:["woman_red_haired"],tags:["adult","lady","red hair","woman"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9b0.png"},{emoji:"ð§âð¦°",name:"person_red_hair",shortcodes:["red_haired"],tags:["adult","person","red hair"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9b0.png"},{emoji:"ð©âð¦±",name:"curly_haired_woman",shortcodes:["woman_curly_haired"],tags:["adult","curly hair","lady","woman"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9b1.png"},{emoji:"ð§âð¦±",name:"person_curly_hair",shortcodes:["curly_haired"],tags:["adult","curly hair","person"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9b1.png"},{emoji:"ð©âð¦³",name:"white_haired_woman",shortcodes:["woman_white_haired"],tags:["adult","lady","white hair","woman"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9b3.png"},{emoji:"ð§âð¦³",name:"person_white_hair",shortcodes:["white_haired"],tags:["adult","person","white hair"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9b3.png"}
105,{emoji:"ð©âð¦²",name:"bald_woman",shortcodes:["woman_bald"],tags:["adult","bald","lady","woman"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9b2.png"},{emoji:"ð§âð¦²",name:"person_bald",shortcodes:["bald"],tags:["adult","bald","person"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9b2.png"},{emoji:"ð±ââ",name:"blond_haired_woman",shortcodes:["woman_blond_haired"],tags:["blond","blond-haired","blonde","hair","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f471-200d-2640-fe0f.png"},{emoji:"ð±ââ",name:"blond_haired_man",shortcodes:["man_blond_haired"],tags:["blond","blond-haired","hair","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f471-200d-2642-fe0f.png"},{emoji:"ð§",name:"older_adult",shortcodes:["older_adult"],tags:["adult","elderly","grandparent","old","person","wise"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d3.png"},{emoji:"ð´",name:"older_man",shortcodes:["older_man"],tags:["adult","bald","elderly","gramps","grandfather","grandpa","man","old","wise"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f474.png"},{emoji:"ðµ",name:"older_woman",shortcodes:["older_woman"],tags:["adult","elderly","grandma","grandmother","granny","lady","old","wise","woman"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f475.png"},{emoji:"ð",name:"frowning_person",shortcodes:["person_frowning"],tags:["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","person","upset"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64d.png"},{emoji:"ðââ",name:"frowning_man",shortcodes:["man_frowning"],tags:["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","man","upset"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64d-200d-2642-fe0f.png"},{emoji:"ðââ",name:"frowning_woman",shortcodes:["woman_frowning"],tags:["annoyed","disappointed","disgruntled","disturbed","frown","frowning","frustrated","gesture","irritated","upset","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64d-200d-2640-fe0f.png"},{emoji:"ð",name:"pouting_face",shortcodes:["person_pouting","pouting"],tags:["disappointed","downtrodden","frown","grimace","person","pouting","scowl","sulk","upset","whine"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64e.png"},{emoji:"ðââ",name:"pouting_man",shortcodes:["man_pouting"],tags:["disappointed","downtrodden","frown","grimace","man","pouting","scowl","sulk","upset","whine"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64e-200d-2642-fe0f.png"},{emoji:"ðââ",name:"pouting_woman",shortcodes:["woman_pouting"],tags:["disappointed","downtrodden","frown","grimace","pouting","scowl","sulk","upset","whine","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64e-200d-2640-fe0f.png"},{emoji:"ð
",name:"no_good",shortcodes:["no_good","person_gesturing_no"],tags:["forbidden","gesture","hand","no","not","person","prohibit"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f645.png"},{emoji:"ð
ââ",name:"ng_man",shortcodes:["man_gesturing_no"],tags:["forbidden","gesture","hand","man","no","not","prohibit"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f645-200d-2642-fe0f.png"},{emoji:"ð
ââ",name:"ng_woman",shortcodes:["woman_gesturing_no"],tags:["forbidden","gesture","hand","no","not","prohibit","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f645-200d-2640-fe0f.png"},{emoji:"ð",name:"ok_person",shortcodes:["all_good","person_gesturing_ok"],tags:["exercise","gesture","gesturing","hand","ok","omg","person"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f646.png"},{emoji:"ðââ",name:"ok_man",shortcodes:["man_gesturing_ok"],tags:["exercise","gesture","gesturing","hand","man","ok","omg"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f646-200d-2642-fe0f.png"},{emoji:"ðââ",name:"ok_woman",shortcodes:["woman_gesturing_ok"],tags:["exercise","gesture","gesturing","hand","ok","omg","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f646-200d-2640-fe0f.png"},{emoji:"ð",name:"information_desk_person",shortcodes:["person_tipping_hand"],tags:["fetch","flick","flip","gossip","hand","person","sarcasm","sarcastic","sassy","seriously","tipping","whatever"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f481.png"},{emoji:"ðââ",name:"sassy_man",shortcodes:["man_tipping_hand"],tags:["fetch","flick","flip","gossip","hand","man","sarcasm","sarcastic","sassy","seriously","tipping","whatever"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f481-200d-2642-fe0f.png"},{emoji:"ðââ",name:"sassy_woman",shortcodes:["woman_tipping_hand"],tags:["fetch","flick","flip","gossip","hand","sarcasm","sarcastic","sassy","seriously","tipping","whatever","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f481-200d-2640-fe0f.png"},{emoji:"ð",name:"raising_hand",shortcodes:["person_raising_hand"],tags:["gesture","hand","here","know","me","person","pick","question","raise","raising"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64b.png"},{emoji:"ðââ",name:"raising_hand_man",shortcodes:["man_raising_hand"],tags:["gesture","hand","here","know","man","me","pick","question","raise","raising"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64b-200d-2642-fe0f.png"},{emoji:"ðââ",name:"raising_hand_woman",shortcodes:["woman_raising_hand"],tags:["gesture","hand","here","know","me","pick","question","raise","raising","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f64b-200d-2640-fe0f.png"},{emoji:"ð§",name:"deaf_person",shortcodes:["deaf_person"],tags:["accessibility","deaf","ear","gesture","hear","person"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cf.png"},{emoji:"ð§ââ",name:"deaf_man",shortcodes:["deaf_man"],tags:["accessibility","deaf","ear","gesture","hear","man"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cf-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"deaf_woman",shortcodes:["deaf_woman"],tags:["accessibility","deaf","ear","gesture","hear","woman"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cf-200d-2640-fe0f.png"},{emoji:"ð",name:"bow",shortcodes:["bow","person_bowing"],tags:["apology","ask","beg","bow","bowing","favor","forgive","gesture","meditate","meditation","person","pity","regret","sorry"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f647.png"},{emoji:"ðââ",name:"bowing_man",shortcodes:["man_bowing"],tags:["apology","ask","beg","bow","bowing","favor","forgive","gesture","man","meditate","meditation","pity","regret","sorry"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f647-200d-2642-fe0f.png"},{emoji:"ðââ",name:"bowing_woman",shortcodes:["woman_bowing"],tags:["apology","ask","beg","bow","bowing","favor","forgive","gesture","meditate","meditation","pity","regret","sorry","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f647-200d-2640-fe0f.png"},{emoji:"ð¤¦",name:"facepalm",shortcodes:["facepalm","person_facepalming"],tags:["again","bewilder","disbelief","exasperation","facepalm","no","not","oh","omg","person","shock","
105smh"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f926.png"},{emoji:"ð¤¦ââ",name:"man_facepalming",shortcodes:["man_facepalming"],tags:["again","bewilder","disbelief","exasperation","facepalm","man","no","not","oh","omg","shock","smh"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f926-200d-2642-fe0f.png"},{emoji:"ð¤¦ââ",name:"woman_facepalming",shortcodes:["woman_facepalming"],tags:["again","bewilder","disbelief","exasperation","facepalm","no","not","oh","omg","shock","smh","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f926-200d-2640-fe0f.png"},{emoji:"ð¤·",name:"shrug",shortcodes:["person_shrugging","shrug"],tags:["doubt","dunno","guess","idk","ignorance","indifference","knows","maybe","person","shrug","shrugging","whatever","who"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f937.png"},{emoji:"ð¤·ââ",name:"man_shrugging",shortcodes:["man_shrugging"],tags:["doubt","dunno","guess","idk","ignorance","indifference","knows","man","maybe","shrug","shrugging","whatever","who"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f937-200d-2642-fe0f.png"},{emoji:"ð¤·ââ",name:"woman_shrugging",shortcodes:["woman_shrugging"],tags:["doubt","dunno","guess","idk","ignorance","indifference","knows","maybe","shrug","shrugging","whatever","who","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f937-200d-2640-fe0f.png"},{emoji:"ð§ââ",name:"health_worker",shortcodes:["health_worker"],tags:["doctor","health","healthcare","nurse","therapist","worker"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-2695-fe0f.png"},{emoji:"ð¨ââ",name:"man_health_worker",shortcodes:["man_health_worker"],tags:["doctor","health","healthcare","man","nurse","therapist","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-2695-fe0f.png"},{emoji:"ð©ââ",name:"woman_health_worker",shortcodes:["woman_health_worker"],tags:["doctor","health","healthcare","nurse","therapist","woman","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-2695-fe0f.png"},{emoji:"ð§âð",name:"student",shortcodes:["student"],tags:["graduate"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f393.png"},{emoji:"ð¨âð",name:"man_student",shortcodes:["man_student"],tags:["graduate","man","student"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f393.png"},{emoji:"ð©âð",name:"woman_student",shortcodes:["woman_student"],tags:["graduate","student","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f393.png"},{emoji:"ð§âð«",name:"teacher",shortcodes:["teacher"],tags:["instructor","lecturer","professor"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f3eb.png"},{emoji:"ð¨âð«",name:"man_teacher",shortcodes:["man_teacher"],tags:["instructor","lecturer","man","professor","teacher"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f3eb.png"},{emoji:"ð©âð«",name:"woman_teacher",shortcodes:["woman_teacher"],tags:["instructor","lecturer","professor","teacher","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f3eb.png"},{emoji:"ð§ââ",name:"judge",shortcodes:["judge"],tags:["justice","law","scales"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-2696-fe0f.png"},{emoji:"ð¨ââ",name:"man_judge",shortcodes:["man_judge"],tags:["judge","justice","law","man","scales"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-2
10500d-2696-fe0f.png"},{emoji:"ð©ââ",name:"woman_judge",shortcodes:["woman_judge"],tags:["judge","justice","law","scales","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-2696-fe0f.png"},{emoji:"ð§âð¾",name:"farmer",shortcodes:["farmer"],tags:["gardener","rancher"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f33e.png"},{emoji:"ð¨âð¾",name:"man_farmer",shortcodes:["man_farmer"],tags:["farmer","gardener","man","rancher"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f33e.png"},{emoji:"ð©âð¾",name:"woman_farmer",shortcodes:["woman_farmer"],tags:["farmer","gardener","rancher","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f33e.png"},{emoji:"ð§âð³",name:"cook",shortcodes:["cook"],tags:["chef"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f373.png"},{emoji:"ð¨âð³",name:"man_cook",shortcodes:["man_cook"],tags:["chef","cook","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f373.png"},{emoji:"ð©âð³",name:"woman_cook",shortcodes:["woman_cook"],tags:["chef","cook","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f373.png"},{emoji:"ð§âð§",name:"mechanic",shortcodes:["mechanic"],tags:["electrician","plumber","tradesperson"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f527.png"},{emoji:"ð¨âð§",name:"man_mechanic",shortcodes:["man_mechanic"],tags:["electrician","man","mechanic","plumber","tradesperson"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f527.png"},{emoji:"ð©âð§",name:"woman_mechanic",shortcodes:["woman_mechanic"],tags:["electrician","mechanic","plumber","tradesperson","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f527.png"},{emoji:"ð§âð",name:"factory_worker",shortcodes:["factory_worker"],tags:["assembly","factory","industrial","worker"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f3ed.png"},{emoji:"ð¨âð",name:"man_factory_worker",shortcodes:["man_factory_worker"],tags:["assembly","factory","industrial","man","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f3ed.png"},{emoji:"ð©âð",name:"woman_factory_worker",shortcodes:["woman_factory_worker"],tags:["assembly","factory","industrial","woman","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f3ed.png"},{emoji:"ð§âð¼",name:"office_worker",shortcodes:["office_worker"],tags:["architect","business","manager","office","white-collar","worker"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f4bc.png"},{emoji:"ð¨âð¼",name:"man_office_worker",shortcodes:["man_office_worker"],tags:["architect","business","man","manager","office","white-collar","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f4bc.png"},{emoji:"ð©âð¼",name:"woman_office_worker",shortcodes:["woman_office_worker"],tags:["architect","business","manager","office","white-collar","woman","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f4bc.png"},{emoji:"ð§âð¬",name:"scientist",shortcodes:["scientist"],tags:["biologist","chemist","engineer","mathematician","physicist"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f52c.png"}
105,{emoji:"ð¨âð¬",name:"man_scientist",shortcodes:["man_scientist"],tags:["biologist","chemist","engineer","man","mathematician","physicist","scientist"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f52c.png"},{emoji:"ð©âð¬",name:"woman_scientist",shortcodes:["woman_scientist"],tags:["biologist","chemist","engineer","mathematician","physicist","scientist","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f52c.png"},{emoji:"ð§âð»",name:"technologist",shortcodes:["technologist"],tags:["coder","computer","developer","inventor","software"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f4bb.png"},{emoji:"ð¨âð»",name:"man_technologist",shortcodes:["man_technologist"],tags:["coder","computer","developer","inventor","man","software","technologist"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f4bb.png"},{emoji:"ð©âð»",name:"woman_technologist",shortcodes:["woman_technologist"],tags:["coder","computer","developer","inventor","software","technologist","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f4bb.png"},{emoji:"ð§âð¤",name:"singer",shortcodes:["singer"],tags:["actor","entertainer","rock","rockstar","star"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f3a4.png"},{emoji:"ð¨âð¤",name:"man_singer",shortcodes:["man_singer"],tags:["actor","entertainer","man","rock","rockstar","singer","star"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f3a4.png"},{emoji:"ð©âð¤",name:"woman_singer",shortcodes:["woman_singer"],tags:["actor","entertainer","rock","rockstar","singer","star","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f3a4.png"},{emoji:"ð§âð¨",name:"artist",shortcodes:["artist"],tags:["palette"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f3a8.png"},{emoji:"ð¨âð¨",name:"man_artist",shortcodes:["man_artist"],tags:["artist","man","palette"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f3a8.png"},{emoji:"ð©âð¨",name:"woman_artist",shortcodes:["woman_artist"],tags:["artist","palette","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f3a8.png"},{emoji:"ð§ââ",name:"pilot",shortcodes:["pilot"],tags:["plane"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-2708-fe0f.png"},{emoji:"ð¨ââ",name:"man_pilot",shortcodes:["man_pilot"],tags:["man","pilot","plane"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-2708-fe0f.png"},{emoji:"ð©ââ",name:"woman_pilot",shortcodes:["woman_pilot"],tags:["pilot","plane","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-2708-fe0f.png"},{emoji:"ð§âð",name:"astronaut",shortcodes:["astronaut"],tags:["rocket","space"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f680.png"},{emoji:"ð¨âð",name:"man_astronaut",shortcodes:["man_astronaut"],tags:["astronaut","man","rocket","space"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-2
10500d-1f680.png"},{emoji:"ð©âð",name:"woman_astronaut",shortcodes:["woman_astronaut"],tags:["astronaut","rocket","space","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f680.png"},{emoji:"ð§âð",name:"firefighter",shortcodes:["firefighter"],tags:["fire","firetruck"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f692.png"},{emoji:"ð¨âð",name:"man_firefighter",shortcodes:["man_firefighter"],tags:["fire","firefighter","firetruck","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f692.png"},{emoji:"ð©âð",name:"woman_firefighter",shortcodes:["woman_firefighter"],tags:["fire","firefighter","firetruck","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f692.png"},{emoji:"ð®",name:"cop",shortcodes:["cop","police_officer"],tags:["apprehend","arrest","citation","cop","law","officer","over","police","pulled","undercover"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46e.png"},{emoji:"ð®ââ",name:"policeman",shortcodes:["man_police_officer"],tags:["apprehend","arrest","citation","cop","law","man","officer","over","police","pulled","undercover"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46e-200d-2642-fe0f.png"},{emoji:"ð®ââ",name:"policewoman",shortcodes:["woman_police_officer"],tags:["apprehend","arrest","citation","cop","law","officer","over","police","pulled","undercover","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46e-200d-2640-fe0f.png"},{emoji:"ðµ",name:"detective",shortcodes:["detective"],tags:["sleuth","spy"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f575-fe0f.png"},{emoji:"ðµââï¸",name:"male_detective",shortcodes:["man_detective"],tags:["detective","man","sleuth","spy"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f575-fe0f-200d-2642-fe0f.png"},{emoji:"ðµââï¸",name:"female_detective",shortcodes:["woman_detective"],tags:["detective","sleuth","spy","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f575-fe0f-200d-2640-fe0f.png"},{emoji:"ð",name:"guard",shortcodes:["guard"],tags:["buckingham","helmet","london","palace"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f482.png"},{emoji:"ðââ",name:"guardsman",shortcodes:["man_guard"],tags:["buckingham","guard","helmet","london","man","palace"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f482-200d-2642-fe0f.png"},{emoji:"ðââ",name:"guardswoman",shortcodes:["woman_guard"],tags:["buckingham","guard","helmet","london","palace","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f482-200d-2640-fe0f.png"},{emoji:"ð¥·",name:"ninja",shortcodes:["ninja"],tags:["assassin","fight","fighter","hidden","person","secret","skills","sly","soldier","stealth","war"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f977.png"},{emoji:"ð·",name:"construction_worker",shortcodes:["construction_worker"],tags:["build","construction","fix","hardhat","hat","man","person","rebuild","remodel","repair","work","worker"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f477.png"},{emoji:"ð·ââ",name:"construction_worker_man",shortcodes:["man_construction_worker"],tags:["build","construction","fix","hardhat","hat","man","rebuild","remodel","repair","work","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f477-200d-2642-fe0f.png"},{emoji:"ð·ââ",name:"construction_worker_woman",shortcodes:["woman_construction_worker"],tags:["build","construction","fix","hardhat","hat","man","rebuild","remodel","repair","woman","work","worker"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f477-200d-2640-fe0f.png"},{emoji:"ð«
",name:"person_with_crown",shortcodes:["person_with_crown","royalty"],tags:["crown","monarch","noble","person","regal","royal","royalty"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fac5.png"},{emoji:"ð¤´",name:"prince",shortcodes:["prince"],tags:["crown","fairy","fairytale","fantasy","king","royal","royalty","tale"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f934.png"}
105,{emoji:"ð¸",name:"princess",shortcodes:["princess"],tags:["crown","fairy","fairytale","fantasy","queen","royal","royalty","tale"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f478.png"},{emoji:"ð³",name:"person_with_turban",shortcodes:["person_wearing_turban"],tags:["person","turban","wearing"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f473.png"},{emoji:"ð³ââ",name:"man_with_turban",shortcodes:["man_wearing_turban"],tags:["man","turban","wearing"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f473-200d-2642-fe0f.png"},{emoji:"ð³ââ",name:"woman_with_turban",shortcodes:["woman_wearing_turban"],tags:["turban","wearing","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f473-200d-2640-fe0f.png"},{emoji:"ð²",name:"man_with_gua_pi_mao",shortcodes:["person_with_skullcap"],tags:["cap","chinese","gua","guapi","hat","mao","person","pi","skullcap"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f472.png"},{emoji:"ð§",name:"woman_with_headscarf",shortcodes:["woman_with_headscarf"],tags:["bandana","head","headscarf","hijab","kerchief","mantilla","tichel","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d5.png"},{emoji:"ð¤µ",name:"person_in_tuxedo",shortcodes:["person_in_tuxedo"],tags:["formal","person","tuxedo","wedding"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f935.png"},{emoji:"ð¤µââ",name:"man_in_tuxedo",shortcodes:["man_in_tuxedo"],tags:["formal","groom","man","tuxedo","wedding"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f935-200d-2642-fe0f.png"},{emoji:"ð¤µââ",name:"woman_in_tuxedo",shortcodes:["woman_in_tuxedo"],tags:["formal","tuxedo","wedding","woman"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f935-200d-2640-fe0f.png"},{emoji:"ð°",name:"person_with_veil",shortcodes:["person_with_veil"],tags:["person","veil","wedding"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f470.png"},{emoji:"ð°ââ",name:"man_with_veil",shortcodes:["man_with_veil"],tags:["man","veil","wedding"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f470-200d-2642-fe0f.png"},{emoji:"ð°ââ",name:"bride_with_veil",shortcodes:["woman_with_veil"],tags:["bride","veil","wedding","woman"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f470-200d-2640-fe0f.png"},{emoji:"ð¤°",name:"pregnant_woman",shortcodes:["pregnant_woman"],tags:["pregnant","woman"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f930.png"},{emoji:"ð«",name:"pregnant_man",shortcodes:["pregnant_man"],tags:["belly","bloated","full","man","overeat","pregnant"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fac3.png"},{emoji:"ð«",name:"pregnant_person",shortcodes:["pregnant_person"],tags:["belly","bloated","full","overeat","person","pregnant","stuffed"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fac4.png"},{emoji:"ð¤±",name:"breast_feeding",shortcodes:["breast_feeding"],tags:["baby","breast","feeding","mom","mother","nursing","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f931.png"},{emoji:"ð©âð¼",name:"woman_feeding_baby",shortcodes:["woman_feeding_baby"],tags:["baby","feed","feeding","mom","mother","nanny","newborn","nursing","woman"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f37c.png"},{emoji:"ð¨âð¼",name:"man_feeding_baby",shortcodes:["man_feeding_baby"],tags:["baby","dad","father","feed","feeding","man","nanny","newborn","nursing"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-2
10500d-1f37c.png"},{emoji:"ð§âð¼",name:"person_feeding_baby",shortcodes:["person_feeding_baby"],tags:["baby","feed","feeding","nanny","newborn","nursing","parent"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f37c.png"},{emoji:"ð¼",name:"angel",shortcodes:["angel"],tags:["angel","baby","church","face","fairy","fairytale","fantasy","tale"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f47c.png"},{emoji:"ð
",name:"santa",shortcodes:["santa"],tags:["celebration","christmas","claus","fairy","fantasy","father","holiday","merry","santa","tale","xmas"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f385.png"},{emoji:"ð¤¶",name:"mrs_claus",shortcodes:["mrs_claus"],tags:["celebration","christmas","claus","fairy","fantasy","holiday","merry","mother","mrs","santa","tale","xmas"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f936.png"},{emoji:"ð§âð",name:"mx_claus",shortcodes:["mx_claus"],tags:["celebration","christmas","claus","fairy","fantasy","holiday","merry","mx","santa","tale","xmas"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f384.png"},{emoji:"ð¦¸",name:"superhero",shortcodes:["superhero"],tags:["good","hero","superpower"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b8.png"},{emoji:"ð¦¸ââ",name:"superhero_man",shortcodes:["man_superhero"],tags:["good","hero","man","superhero","superpower"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b8-200d-2642-fe0f.png"},{emoji:"ð¦¸ââ",name:"superhero_woman",shortcodes:["woman_superhero"],tags:["good","hero","heroine","superhero","superpower","woman"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b8-200d-2640-fe0f.png"},{emoji:"ð¦¹",name:"supervillain",shortcodes:["supervillain"],tags:["bad","criminal","evil","superpower","villain"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b9.png"},{emoji:"ð¦¹ââ",name:"supervillain_man",shortcodes:["man_supervillain"],tags:["bad","criminal","evil","man","superpower","supervillain","villain"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b9-200d-2642-fe0f.png"},{emoji:"ð¦¹ââ",name:"supervillain_woman",shortcodes:["woman_supervillain"],tags:["bad","criminal","evil","superpower","supervillain","villain","woman"],group:"people & body",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9b9-200d-2640-fe0f.png"},{emoji:"ð§",name:"mage",shortcodes:["mage"],tags:["fantasy","magic","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d9.png"},{emoji:"ð§ââ",name:"mage_man",shortcodes:["man_mage"],tags:["fantasy","mage","magic","man","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard"],group:"people & body",emoticons:[":{>"],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d9-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"mage_woman",shortcodes:["woman_mage"],tags:["fantasy","mage","magic","play","sorcerer","sorceress","sorcery","spell","summon","witch","wizard","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d9-200d-2640-fe0f.png"},{emoji:"ð§",name:"fairy",shortcodes:["fairy"],tags:["fairytale","fantasy","myth","person","pixie","tale","wings"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9da.png"},{emoji:"ð§ââ",name:"fairy_man",shortcodes:["man_fairy"],tags:["fairy","fairytale","fantasy","man","myth","oberon","person","pixie","puck","tale","wings"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9da-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"fairy_woman",shortcodes:["woman_fairy"],tags:["fairy","fairytale","fantasy","myth","person","pixie","tale","titania","wings","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9da-200d-2640-fe0f.png"},{emoji:"ð§",name:"vampire",shortcodes:["vampire"],tags:["blood","dracula","fangs","halloween","scary","supernatural","teeth","undead"],group:"people & body",emoticons:[":E"],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9db.png"},{emoji:"ð§ââ",name:"vampire_man",shortcodes:["man_vampire"],tags:["blood","fangs","halloween","man","scary","supernatural","teeth","undead","vampire"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9db-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"vampire_woman",shortcodes:["woman_vampire"],tags:["blood","fangs","halloween","scary","supernatural","teeth","undead","vampire","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9db-200d-2640-fe0f.png"},{emoji:"ð§",name:"merperson",shortcodes:["merperson"],tags:["creature","fairytale","folklore","ocean","sea","siren","trident"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9dc.png"},{emoji:"ð§ââ",name:"merman",shortcodes:["merman"],tags:["creature","fairytale","folklore","neptune","ocean","poseidon","
105sea","siren","trident","triton"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9dc-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"mermaid",shortcodes:["mermaid"],tags:["creature","fairytale","folklore","merwoman","ocean","sea","siren","trident"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9dc-200d-2640-fe0f.png"},{emoji:"ð§",name:"elf",shortcodes:["elf"],tags:["elves","enchantment","fantasy","folklore","magic","magical","myth"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9dd.png"},{emoji:"ð§ââ",name:"elf_man",shortcodes:["man_elf"],tags:["elf","elves","enchantment","fantasy","folklore","magic","magical","man","myth"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9dd-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"elf_woman",shortcodes:["woman_elf"],tags:["elf","elves","enchantment","fantasy","folklore","magic","magical","myth","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9dd-200d-2640-fe0f.png"},{emoji:"ð§",name:"genie",shortcodes:["genie"],tags:["djinn","fantasy","jinn","lamp","myth","rub","wishes"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9de.png"},{emoji:"ð§ââ",name:"genie_man",shortcodes:["man_genie"],tags:["djinn","fantasy","genie","jinn","lamp","man","myth","rub","wishes"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9de-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"genie_woman",shortcodes:["woman_genie"],tags:["djinn","fantasy","genie","jinn","lamp","myth","rub","wishes","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9de-200d-2640-fe0f.png"},{emoji:"ð§",name:"zombie",shortcodes:["zombie"],tags:["apocalypse","dead","halloween","horror","scary","undead","walking"],group:"people & body",emoticons:["8#"],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9df.png"},{emoji:"ð§ââ",name:"zombie_man",shortcodes:["man_zombie"],tags:["apocalypse","dead","halloween","horror","man","scary","undead","walking","zombie"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9df-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"zombie_woman",shortcodes:["woman_zombie"],tags:["apocalypse","dead","halloween","horror","scary","undead","walking","woman","zombie"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9df-200d-2640-fe0f.png"},{emoji:"ð§",name:"troll",shortcodes:["troll"],tags:["fairy","fantasy","monster","tale","trolling"],group:"people & body",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cc.png"},{emoji:"ð«",name:"hairy_creature",shortcodes:["hairy_creature"],tags:["bigfoot","cryptid","forest","giant","hairy","sasquatch","woodwose","yeti"],group:"people & body",emoticons:[],version:17},{emoji:"ð",name:"massage",shortcodes:["massage","person_getting_massage"],tags:["face","getting","headache","massage","person","relax","relaxing","salon","soothe","spa","tension","therapy","treatment"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f486.png"},{emoji:"ðââ",name:"massage_man",shortcodes:["man_getting_massage"],tags:["face","getting","headache","man","massage","relax","relaxing","salon","soothe","spa","tension","therapy","treatment"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f486-200d-2642-fe0f.png"},{emoji:"ðââ",name:"massage_woman",shortcodes:["woman_getting_massage"],tags:["face","getting","headache","massage","relax","relaxing","salon","soothe","spa","tension","therapy","treatment","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f486-200d-2640-fe0f.png"},{emoji:"ð",name:"haircut",shortcodes:["haircut","person_getting_haircut"],tags:["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","parlor","person","shears","style"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f487.png"},{emoji:"ðââ",name:"haircut_man",shortcodes:["man_getting_haircut"],tags:["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","man","parlor","person","shears","style"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f487-200d-2642-fe0f.png"},{emoji:"ðââ",name:"haircut_woman",shortcodes:["woman_getting_haircut"],tags:["barber","beauty","chop","cosmetology","cut","groom","hair","haircut","parlor","person","shears","style","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f487-200d-2640-fe0f.png"},{emoji:"ð¶",name:"walking",shortcodes:["person_walking","walking"],tags:["amble","gait","hike","man","pace","pedestrian","person","stride","stroll","walk","walking"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b6.png"},{emoji:"ð¶ââ",name:"walking_man",shortcodes:["man_walking"],tags:["amble","gait","hike","man","pace","pedestrian","
105stride","stroll","walk","walking"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b6-200d-2642-fe0f.png"},{emoji:"ð¶ââ",name:"walking_woman",shortcodes:["woman_walking"],tags:["amble","gait","hike","man","pace","pedestrian","stride","stroll","walk","walking","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b6-200d-2640-fe0f.png"},{emoji:"ð¶ââ¡",name:"person_walking_right",shortcodes:["person_walking_right"],tags:["amble","facing","gait","hike","man","pace","pedestrian","person","right","stride","stroll","walk","walking"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b6-200d-27a1-fe0f.png"},{emoji:"ð¶ââââ¡ï¸",name:"woman_walking_right",shortcodes:["woman_walking_right"],tags:["amble","facing","gait","hike","man","pace","pedestrian","right","stride","stroll","walk","walking","woman"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b6-200d-2640-fe0f-200d-27a1-fe0f.png"},{emoji:"ð¶ââââ¡ï¸",name:"man_walking_right",shortcodes:["man_walking_right"],tags:["amble","facing","gait","hike","man","pace","pedestrian","right","stride","stroll","walk","walking"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b6-200d-2642-fe0f-200d-27a1-fe0f.png"},{emoji:"ð§",name:"standing_person",shortcodes:["person_standing","standing"],tags:["person","stand","standing"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cd.png"},{emoji:"ð§ââ",name:"standing_man",shortcodes:["man_standing"],tags:["man","stand","standing"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cd-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"standing_woman",shortcodes:["woman_standing"],tags:["stand","standing","woman"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cd-200d-2640-fe0f.png"},{emoji:"ð§",name:"kneeling_person",shortcodes:["kneeling","person_kneeling"],tags:["kneel","kneeling","knees","person"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ce.png"},{emoji:"ð§ââ",name:"kneeling_man",shortcodes:["man_kneeling"],tags:["kneel","kneeling","knees","man"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ce-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"kneeling_woman",shortcodes:["woman_kneeling"],tags:["kneel","kneeling","knees","woman"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ce-200d-2640-fe0f.png"},{emoji:"ð§ââ¡",name:"person_kneeling_right",shortcodes:["person_kneeling_right"],tags:["facing","kneel","kneeling","knees","person","right"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ce-200d-27a1-fe0f.png"},{emoji:"ð§ââââ¡ï¸",name:"woman_kneeling_right",shortcodes:["woman_kneeling_right"],tags:["facing","kneel","kneeling","knees","right","woman"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ce-200d-2640-fe0f-200d-27a1-fe0f.png"},{emoji:"ð§ââââ¡ï¸",name:"man_kneeling_right",shortcodes:["man_kneeling_right"],tags:["facing","kneel","kneeling","knees","man","right"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ce-200d-2642-fe0f-200d-27a1-fe0f.png"},{emoji:"ð§âð¦¯",name:"person_with_probing_cane",shortcodes:["person_with_probing_cane","person_with_white_c
105ane"],tags:["accessibility","blind","cane","person","probing","white"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9af.png"},{emoji:"ð§âð¦¯ââ¡",name:"person_with_white_cane_right",shortcodes:["person_with_white_cane_right"],tags:["accessibility","blind","cane","facing","person","probing","right","white"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9af-200d-27a1-fe0f.png"},{emoji:"ð¨âð¦¯",name:"man_with_probing_cane",shortcodes:["man_with_probing_cane","man_with_white_cane"],tags:["accessibility","blind","cane","man","probing","white"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9af.png"},{emoji:"ð¨âð¦¯ââ¡",name:"man_with_white_cane_right",shortcodes:["man_with_white_cane_right"],tags:["accessibility","blind","cane","facing","man","probing","right","white"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9af-200d-27a1-fe0f.png"},{emoji:"ð©âð¦¯",name:"woman_with_probing_cane",shortcodes:["woman_with_probing_cane","woman_with_white_cane"],tags:["accessibility","blind","cane","probing","white","woman"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9af.png"},{emoji:"ð©âð¦¯ââ¡",name:"woman_with_white_cane_right",shortcodes:["woman_with_white_cane_right"],tags:["accessibility","blind","cane","facing","probing","right","white","woman"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9af-200d-27a1-fe0f.png"},{emoji:"ð§âð¦¼",name:"person_in_motorized_wheelchair",shortcodes:["person_in_motorized_wheelchair"],tags:["accessibility","motorized","person","wheelchair"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9bc.png"},{emoji:"ð§âð¦¼ââ¡",name:"person_in_motorized_wheelchair_right",shortcodes:["person_in_motorized_wheelchair_right"],tags:["accessibility","facing","motorized","person","right","wheelchair"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9bc-200d-27a1-fe0f.png"},{emoji:"ð¨âð¦¼",name:"man_in_motorized_wheelchair",shortcodes:["man_in_motorized_wheelchair"],tags:["accessibility","man","motorized","wheelchair"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9bc.png"},{emoji:"ð¨âð¦¼ââ¡",name:"man_in_motorized_wheelchair_right",shortcodes:["man_in_motorized_wheelchair_right"],tags:["accessibility","facing","man","motorized","right","wheelchair"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9bc-200d-27a1-fe0f.png"},{emoji:"ð©âð¦¼",name:"woman_in_motorized_wheelchair",shortcodes:["woman_in_motorized_wheelchair"],tags:["accessibility","motorized","wheelchair","woman"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9bc.png"},{emoji:"ð©âð¦¼ââ¡",name:"woman_in_motorized_wheelchair_right",shortcodes:["woman_in_motorized_wheelchair_right"],tags:["accessibility","facing","motorized","right","wheelchair","woman"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9bc-200d-27a1-fe0f.png"},{emoji:"ð§âð¦½",name:"person_in_manual_wheelchair",shortcodes:["person_in_manual_wheelchair"],tags:["accessibility","manual","person","wheelchair"],group:"people & body",emoticons:[],version:12.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9bd.png"},{emoji:"ð§âð¦½ââ¡",name:"person_in_manual_wheelchair_right",shortcodes:["person_in_manual_wheelchair_right"],tags:["accessibility","facing","manual","person","right","wheelchair"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9bd-200d-27a1-fe0f.png"},{emoji:"ð¨âð¦½",name:"man_in_manual_wheelchair",shortcodes:["man_in_manual_wheelchair"],tags:["accessibility","man","manual","wheelchair"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-2
10500d-1f9bd.png"},{emoji:"ð¨âð¦½ââ¡",name:"man_in_manual_wheelchair_right",shortcodes:["man_in_manual_wheelchair_right"],tags:["accessibility","facing","man","manual","right","wheelchair"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f9bd-200d-27a1-fe0f.png"},{emoji:"ð©âð¦½",name:"woman_in_manual_wheelchair",shortcodes:["woman_in_manual_wheelchair"],tags:["accessibility","manual","wheelchair","woman"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9bd.png"},{emoji:"ð©âð¦½ââ¡",name:"woman_in_manual_wheelchair_right",shortcodes:["woman_in_manual_wheelchair_right"],tags:["accessibility","facing","manual","right","wheelchair","woman"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f9bd-200d-27a1-fe0f.png"},{emoji:"ð",name:"runner",shortcodes:["person_running","running"],tags:["fast","hurry","marathon","move","person","quick","race","racing","run","rush","speed"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c3.png"},{emoji:"ðââ",name:"running_man",shortcodes:["man_running"],tags:["fast","hurry","man","marathon","move","quick","race","racing","run","rush","speed"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c3-200d-2642-fe0f.png"},{emoji:"ðââ",name:"running_woman",shortcodes:["woman_running"],tags:["fast","hurry","marathon","move","quick","race","racing","run","rush","speed","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c3-200d-2640-fe0f.png"},{emoji:"ðââ¡",name:"person_running_right",shortcodes:["person_running_right"],tags:["facing","fast","hurry","marathon","move","person","quick","race","racing","right","run","rush","speed"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c3-200d-27a1-fe0f.png"},{emoji:"ðââââ¡ï¸",name:"woman_running_right",shortcodes:["woman_running_right"],tags:["facing","fast","hurry","marathon","move","quick","race","racing","right","run","rush","speed","woman"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c3-200d-2640-fe0f-200d-27a1-fe0f.png"},{emoji:"ðââââ¡ï¸",name:"man_running_right",shortcodes:["man_running_right"],tags:["facing","fast","hurry","man","marathon","move","quick","race","racing","right","run","rush","speed"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c3-200d-2642-fe0f-200d-27a1-fe0f.png"},{emoji:"ð§âð©°",name:"ballet_dancer",shortcodes:["ballet_dancer"],tags:["ballet","dancer"],group:"people & body",emoticons:[],version:17},{emoji:"ð",name:"dancer",shortcodes:["dancer","woman_dancing"],tags:["dance","dancer","dancing","elegant","festive","flair","flamenco","groove","letâs","salsa","tango","woman"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f483.png"},{emoji:"ðº",name:"man_dancing",shortcodes:["man_dancing"],tags:["dance","dancer","dancing","elegant","festive","flair","flamenco","groove","letâs","man","salsa","tango"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f57a.png"},{emoji:"ð´",name:"business_suit_levitating",shortcodes:["levitate","levitating","person_in_suit_levitating"],tags:["business","levitating","person","suit"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f574-fe0f.png"},{emoji:"ð¯",name:"dancers",shortcodes:["dancers","people_with_bunny_ears_partying"],tags:["bestie","bff","bunny","counterpart","dancer","double","ear","
105identical","pair","party","partying","people","soulmate","twin","twinsies"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46f.png"},{emoji:"ð¯ââ",name:"dancing_men",shortcodes:["men_with_bunny_ears_partying"],tags:["bestie","bff","bunny","counterpart","dancer","double","ear","identical","men","pair","party","partying","people","soulmate","twin","twinsies"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46f-200d-2642-fe0f.png"},{emoji:"ð¯ââ",name:"dancing_women",shortcodes:["women_with_bunny_ears_partying"],tags:["bestie","bff","bunny","counterpart","dancer","double","ear","identical","pair","party","partying","people","soulmate","twin","twinsies","women"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46f-200d-2640-fe0f.png"},{emoji:"ð§",name:"sauna_person",shortcodes:["person_in_steamy_room"],tags:["day","luxurious","pamper","person","relax","room","sauna","spa","steam","steambath","unwind"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d6.png"},{emoji:"ð§ââ",name:"sauna_man",shortcodes:["man_in_steamy_room"],tags:["day","luxurious","man","pamper","relax","room","sauna","spa","steam","steambath","unwind"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d6-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"sauna_woman",shortcodes:["woman_in_steamy_room"],tags:["day","luxurious","pamper","relax","room","sauna","spa","steam","steambath","unwind","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d6-200d-2640-fe0f.png"},{emoji:"ð§",name:"climbing",shortcodes:["climbing","person_climbing"],tags:["climb","climber","climbing","mountain","person","rock","scale","up"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d7.png"},{emoji:"ð§ââ",name:"climbing_man",shortcodes:["man_climbing"],tags:["climb","climber","climbing","man","mountain","rock","scale","up"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d7-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"climbing_woman",shortcodes:["woman_climbing"],tags:["climb","climber","climbing","mountain","rock","scale","up","woman"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d7-200d-2640-fe0f.png"},{emoji:"ð¤º",name:"person_fencing",shortcodes:["fencer","fencing","person_fencing"],tags:["fencer","fencing","person","sword"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93a.png"},{emoji:"ð",name:"horse_racing",shortcodes:["horse_racing"],tags:["horse","jockey","racehorse","racing","riding","sport"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c7.png"},{emoji:"â·",name:"skier",shortcodes:["person_skiing","skier","skiing"],tags:["ski","snow"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f7-fe0f.png"},{emoji:"ð",name:"snowboarder",shortcodes:["person_snowboarding","snowboarder","snowboarding"],tags:["ski","snow","snowboard","sport"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c2.png"},{emoji:"ð",name:"golfing",shortcodes:["golfer","golfing","person_golfing"],tags:["ball","birdie","caddy","driving","golf","golfing","green","person","pga","putt","range","tee"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cc-fe0f.png"},{emoji:"ðââï¸",name:"golfing_man",shortcodes:["man_golfing"],tags:["ball","birdie","caddy","driving","golf","golfing","green","man","pga","putt","range","tee"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cc-fe0f-200d-2642-fe0f.png"},{emoji:"ðââï¸",name:"golfing_woman",shortcodes:["woman_golfing"],tags:["ball","birdie","caddy","driving","golf","golfing","green","pga","putt","range","tee","
105woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cc-fe0f-200d-2640-fe0f.png"},{emoji:"ð",name:"surfer",shortcodes:["person_surfing","surfer","surfing"],tags:["beach","ocean","person","sport","surf","surfer","surfing","swell","waves"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c4.png"},{emoji:"ðââ",name:"surfing_man",shortcodes:["man_surfing"],tags:["beach","man","ocean","sport","surf","surfer","surfing","swell","waves"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c4-200d-2642-fe0f.png"},{emoji:"ðââ",name:"surfing_woman",shortcodes:["woman_surfing"],tags:["beach","ocean","person","sport","surf","surfer","surfing","swell","waves"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c4-200d-2640-fe0f.png"},{emoji:"ð£",name:"rowboat",shortcodes:["person_rowing_boat","rowboat"],tags:["boat","canoe","cruise","fishing","lake","oar","paddle","person","raft","river","row","rowboat","rowing"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a3.png"},{emoji:"ð£ââ",name:"rowing_man",shortcodes:["man_rowing_boat"],tags:["boat","canoe","cruise","fishing","lake","man","oar","paddle","raft","river","row","rowboat","rowing"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a3-200d-2642-fe0f.png"},{emoji:"ð£ââ",name:"rowing_woman",shortcodes:["woman_rowing_boat"],tags:["boat","canoe","cruise","fishing","lake","oar","paddle","raft","river","row","rowboat","rowing","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a3-200d-2640-fe0f.png"},{emoji:"ð",name:"swimmer",shortcodes:["person_swimming","swimmer","swimming"],tags:["freestyle","person","sport","swim","swimmer","swimming","triathlon"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ca.png"},{emoji:"ðââ",name:"swimming_man",shortcodes:["man_swimming"],tags:["freestyle","man","sport","swim","swimmer","swimming","triathlon"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ca-200d-2642-fe0f.png"},{emoji:"ðââ",name:"swimming_woman",shortcodes:["woman_swimming"],tags:["freestyle","man","sport","swim","swimmer","swimming","triathlon"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ca-200d-2640-fe0f.png"},{emoji:"â¹",name:"bouncing_ball_person",shortcodes:["person_bouncing_ball"],tags:["athletic","ball","basketball","bouncing","championship","dribble","net","person","player","throw"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f9-fe0f.png"},{emoji:"â¹ââï¸",name:"basketball_man",shortcodes:["man_bouncing_ball"],tags:["athletic","ball","basketball","bouncing","championship","dribble","man","net","player","throw"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f9-fe0f-200d-2642-fe0f.png"},{emoji:"â¹ââï¸",name:"basketball_woman",shortcodes:["woman_bouncing_ball"],tags:["athletic","ball","basketball","bouncing","championship","dribble","net","player","throw","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f9-fe0f-200d-2640-fe0f.png"},{emoji:"ð",name:"weight_lifting",shortcodes:["person_lifting_weights","weight_lifter","weight_lifting"],tags:["barbell","bodybuilder","deadlift","lifter","lifting","person","powerlifting","
105weight","weightlifter","weights","workout"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cb-fe0f.png"},{emoji:"ðââï¸",name:"weight_lifting_man",shortcodes:["man_lifting_weights"],tags:["barbell","bodybuilder","deadlift","lifter","lifting","man","powerlifting","weight","weightlifter","weights","workout"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cb-fe0f-200d-2642-fe0f.png"},{emoji:"ðââï¸",name:"weight_lifting_woman",shortcodes:["woman_lifting_weights"],tags:["barbell","bodybuilder","deadlift","lifter","lifting","powerlifting","weight","weightlifter","weights","woman","workout"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cb-fe0f-200d-2640-fe0f.png"},{emoji:"ð´",name:"bicyclist",shortcodes:["bicyclist","biking","person_biking"],tags:["bicycle","bicyclist","bike","biking","cycle","cyclist","person","riding","sport"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b4.png"},{emoji:"ð´ââ",name:"biking_man",shortcodes:["man_biking"],tags:["bicycle","bicyclist","bike","biking","cycle","cyclist","man","riding","sport"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b4-200d-2642-fe0f.png"},{emoji:"ð´ââ",name:"biking_woman",shortcodes:["woman_biking"],tags:["bicycle","bicyclist","bike","biking","cycle","cyclist","riding","sport","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b4-200d-2640-fe0f.png"},{emoji:"ðµ",name:"mountain_bicyclist",shortcodes:["mountain_bicyclist","mountain_biking","person_mountain_biking"],tags:["bicycle","bicyclist","bike","biking","cycle","cyclist","mountain","person","riding","sport"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b5.png"},{emoji:"ðµââ",name:"mountain_biking_man",shortcodes:["man_mountain_biking"],tags:["bicycle","bicyclist","bike","biking","cycle","cyclist","man","mountain","riding","sport"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b5-200d-2642-fe0f.png"},{emoji:"ðµââ",name:"mountain_biking_woman",shortcodes:["woman_mountain_biking"],tags:["bicycle","bicyclist","bike","biking","cycle","cyclist","mountain","riding","sport","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b5-200d-2640-fe0f.png"},{emoji:"ð¤¸",name:"cartwheeling",shortcodes:["cartwheeling","person_cartwheel"],tags:["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","person","somersault"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f938.png"},{emoji:"ð¤¸ââ",name:"man_cartwheeling",shortcodes:["man_cartwheeling"],tags:["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","man","somersault"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f938-200d-2642-fe0f.png"},{emoji:"ð¤¸ââ",name:"woman_cartwheeling",shortcodes:["woman_cartwheeling"],tags:["active","cartwheel","cartwheeling","excited","flip","gymnastics","happy","somersault","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f938-200d-2640-fe0f.png"},{emoji:"ð¤¼",name:"wrestling",shortcodes:["people_wrestling","wrestlers","wrestling"],tags:["combat","duel","grapple","people","ring","tournament","wrestle","wrestling"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93c.png"},{emoji:"ð¤¼ââ",name:"men_wrestling",shortcodes:["men_wrestling"],tags:["combat","duel","grapple","men","ring","tournament","wrestle","wrestling"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93c-200d-2642-fe0f.png"},{emoji:"ð¤¼ââ",name:"women_wrestling",shortcodes:["women_wrestling"],tags:["combat","duel","grapple","ring","tournament","women","wrestle","wrestling"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93c-200d-2640-fe0f.png"},{emoji:"ð¤½",name:"water_polo",shortcodes:["person_playing_water_polo","water_polo"],tags:["person","playing","polo","sport","swimming","water","waterpolo"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93d.png"},{emoji:"ð¤½ââ",name:"man_playing_water_polo",shortcodes:["man_playing_water_polo"],tags:["man","playing","polo","sport","swimming","water","waterpolo"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93d-200d-2642-fe0f.png"},{emoji:"ð¤½ââ",name:"woman_playing_water_polo",shortcodes:["woman_playing_water_polo"],tags:["playing","polo","sport","swimming","water","waterpolo","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93d-200d-2640-fe0f.png"},{emoji:"ð¤¾",name:"handball_person",shortcodes:["handball","person_playing_handball"],tags:["athletics","ball","catch","chuck","handball","hurl","lob","person","pitch","playing","sport","throw","toss"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93e.png"},{emoji:"ð¤¾ââ",name:"man_playing_handball",shortcodes:["man_playing_handball"],tags:["athletics","ball","catch","chuck","handball","hurl","lob","man","pitch","playing","sport","throw","toss"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93e-200d-2642-fe0f.png"},{emoji:"ð¤¾ââ",name:"woman_playing_handball",shortcodes:["woman_playing_handball"],tags:["athletics","ball","catch","chuck","handball","hurl","lob","pitch","playing","sport","throw","toss","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93e-200d-2640-fe0f.png"},{emoji:"ð¤¹",name:"juggling_person",shortcodes:["juggler","juggling","person_juggling"],tags:["act","balance","balancing","handle","juggle","juggling","manage","multitask","person","skill"],group:"people & body",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f939.png"},{emoji:"ð¤¹ââ",name:"man_juggling",shortcodes:["man_juggling"],tags:["act","balance","balancing","handle","juggle","juggling","man","manage","multitask","skill"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f939-200d-2642-fe0f.png"}
105,{emoji:"ð¤¹ââ",name:"woman_juggling",shortcodes:["woman_juggling"],tags:["act","balance","balancing","handle","juggle","juggling","manage","multitask","skill","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f939-200d-2640-fe0f.png"},{emoji:"ð§",name:"lotus_position",shortcodes:["person_in_lotus_position"],tags:["cross","legged","legs","lotus","meditation","peace","person","position","relax","serenity","yoga","yogi","zen"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d8.png"},{emoji:"ð§ââ",name:"lotus_position_man",shortcodes:["man_in_lotus_position"],tags:["cross","legged","legs","lotus","man","meditation","peace","position","relax","serenity","yoga","yogi","zen"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d8-200d-2642-fe0f.png"},{emoji:"ð§ââ",name:"lotus_position_woman",shortcodes:["woman_in_lotus_position"],tags:["cross","legged","legs","lotus","meditation","peace","position","relax","serenity","woman","yoga","yogi","zen"],group:"people & body",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d8-200d-2640-fe0f.png"},{emoji:"ð",name:"bath",shortcodes:["bath","person_taking_bath"],tags:["bath","bathtub","person","taking","tub"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6c0.png"},{emoji:"ð",name:"sleeping_bed",shortcodes:["person_in_bed","sleeping_accommodation"],tags:["bed","bedtime","good","goodnight","hotel","nap","night","person","sleep","tired","zzz"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6cc.png"},{emoji:"ð§âð¤âð§",name:"people_holding_hands",shortcodes:["people_holding_hands"],tags:["bae","bestie","bff","couple","dating","flirt","friends","hand","hold","people","twins"],group:"people & body",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f91d-200d-1f9d1.png"},{emoji:"ð",name:"two_women_holding_hands",shortcodes:["two_women_holding_hands"],tags:["bae","bestie","bff","couple","dating","flirt","friends","girls","hand","hold","sisters","twins","women"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46d.png"},{emoji:"ð«",name:"couple",shortcodes:["couple"],tags:["bae","bestie","bff","couple","dating","flirt","friends","hand","hold","man","twins","woman"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46b.png"},{emoji:"ð¬",name:"two_men_holding_hands",shortcodes:["two_men_holding_hands"],tags:["bae","bestie","bff","boys","brothers","couple","dating","flirt","friends","hand","hold","men","twins"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46c.png"},{emoji:"ð",name:"couplekiss",shortcodes:["couple_kiss","couplekiss"],tags:["anniversary","babe","bae","couple","date","dating","heart","love","mwah","person","romance","together","xoxo"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f48f.png"},{emoji:"ð©ââ¤âðâð¨",name:"couplekiss_man_woman",shortcodes:["kiss_mw","kiss_wm"],tags:["anniversary","babe","bae","couple","date","dating","heart","kiss","love","man","mwah","person","romance","together","woman","xoxo"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-2764-fe0f-200d-1f48b-200d-1f468.png"},{emoji:"ð¨ââ¤âðâð¨",name:"couplekiss_man_man",shortcodes:["kiss_mm"],tags:["anniversary","babe","bae","couple","date","dating","heart","kiss","love","man","mwah","person","romance","together","xoxo"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-2
10500d-2764-fe0f-200d-1f48b-200d-1f468.png"},{emoji:"ð©ââ¤âðâð©",name:"couplekiss_woman_woman",shortcodes:["kiss_ww"],tags:["anniversary","babe","bae","couple","date","dating","heart","kiss","love","mwah","person","romance","together","woman","xoxo"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-2764-fe0f-200d-1f48b-200d-1f469.png"},{emoji:"ð",name:"couple_with_heart",shortcodes:["couple_with_heart"],tags:["anniversary","babe","bae","couple","dating","heart","kiss","love","person","relationship","romance","together","you"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f491.png"},{emoji:"ð©ââ¤âð¨",name:"couple_with_heart_woman_man",shortcodes:["couple_with_heart_mw","couple_with_heart_wm"],tags:["anniversary","babe","bae","couple","dating","heart","kiss","love","man","person","relationship","romance","together","woman","you"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-2764-fe0f-200d-1f468.png"},{emoji:"ð¨ââ¤âð¨",name:"couple_with_heart_man_man",shortcodes:["couple_with_heart_mm"],tags:["anniversary","babe","bae","couple","dating","heart","kiss","love","man","person","relationship","romance","together","you"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-2764-fe0f-200d-1f468.png"},{emoji:"ð©ââ¤âð©",name:"couple_with_heart_woman_woman",shortcodes:["couple_with_heart_ww"],tags:["anniversary","babe","bae","couple","dating","heart","kiss","love","person","relationship","romance","together","woman","you"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-2764-fe0f-200d-1f469.png"},{emoji:"ð¨âð©âð¦",name:"family_man_woman_boy",shortcodes:["family_mwb"],tags:["boy","child","family","man","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f469-200d-1f466.png"},{emoji:"ð¨âð©âð§",name:"family_man_woman_girl",shortcodes:["family_mwg"],tags:["child","family","girl","man","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f469-200d-1f467.png"},{emoji:"ð¨âð©âð§âð¦",name:"family_man_woman_girl_boy",shortcodes:["family_mwgb"],tags:["boy","child","family","girl","man","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f469-200d-1f467-200d-1f466.png"},{emoji:"ð¨âð©âð¦âð¦",name:"family_man_woman_boy_boy",shortcodes:["family_mwbb"],tags:["boy","child","family","man","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f469-200d-1f466-200d-1f466.png"},{emoji:"ð¨âð©âð§âð§",name:"family_man_woman_girl_girl",shortcodes:["family_mwgg"],tags:["child","family","girl","man","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f469-200d-1f467-200d-1f467.png"},{emoji:"ð¨âð¨âð¦",name:"family_man_man_boy",shortcodes:["family_mmb"],tags:["boy","child","family","man"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f468-200d-1f466.png"},{emoji:"ð¨âð¨âð§",name:"family_man_man_girl",shortcodes:["family_mmg"],tags:["child","family","girl","man"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f468-200d-1f467.png"},{emoji:"ð¨âð¨âð§âð¦",name:"family_man_man_girl_boy",shortcodes:["family_mmgb"],tags:["boy","child","family","girl","man"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-2
10500d-1f468-200d-1f467-200d-1f466.png"},{emoji:"ð¨âð¨âð¦âð¦",name:"family_man_man_boy_boy",shortcodes:["family_mmbb"],tags:["boy","child","family","man"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f468-200d-1f466-200d-1f466.png"},{emoji:"ð¨âð¨âð§âð§",name:"family_man_man_girl_girl",shortcodes:["family_mmgg"],tags:["child","family","girl","man"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f468-200d-1f467-200d-1f467.png"},{emoji:"ð©âð©âð¦",name:"family_woman_woman_boy",shortcodes:["family_wwb"],tags:["boy","child","family","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f469-200d-1f466.png"},{emoji:"ð©âð©âð§",name:"family_woman_woman_girl",shortcodes:["family_wwg"],tags:["child","family","girl","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f469-200d-1f467.png"},{emoji:"ð©âð©âð§âð¦",name:"family_woman_woman_girl_boy",shortcodes:["family_wwgb"],tags:["boy","child","family","girl","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f469-200d-1f467-200d-1f466.png"},{emoji:"ð©âð©âð¦âð¦",name:"family_woman_woman_boy_boy",shortcodes:["family_wwbb"],tags:["boy","child","family","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f469-200d-1f466-200d-1f466.png"},{emoji:"ð©âð©âð§âð§",name:"family_woman_woman_girl_girl",shortcodes:["family_wwgg"],tags:["child","family","girl","woman"],group:"people & body",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f469-200d-1f467-200d-1f467.png"},{emoji:"ð¨âð¦",name:"family_man_boy",shortcodes:["family_mb"],tags:["boy","child","family","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f466.png"},{emoji:"ð¨âð¦âð¦",name:"family_man_boy_boy",shortcodes:["family_mbb"],tags:["boy","child","family","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f466-200d-1f466.png"},{emoji:"ð¨âð§",name:"family_man_girl",shortcodes:["family_mg"],tags:["child","family","girl","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f467.png"},{emoji:"ð¨âð§âð¦",name:"family_man_girl_boy",shortcodes:["family_mgb"],tags:["boy","child","family","girl","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f467-200d-1f466.png"},{emoji:"ð¨âð§âð§",name:"family_man_girl_girl",shortcodes:["family_mgg"],tags:["child","family","girl","man"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f468-200d-1f467-200d-1f467.png"},{emoji:"ð©âð¦",name:"family_woman_boy",shortcodes:["family_wb"],tags:["boy","child","family","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f466.png"},{emoji:"ð©âð¦âð¦",name:"family_woman_boy_boy",shortcodes:["family_wbb"],tags:["boy","child","family","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f466-200d-1f466.png"},{emoji:"ð©âð§",name:"family_woman_girl",shortcodes:["family_wg"],tags:["child","family","girl","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f467.png"},{emoji:"ð©âð§âð¦",name:"family_woman_girl_boy",shortcodes:["family_wgb"],tags:["boy","child","family","girl","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f467-200d-1f466.png"},{emoji:"ð©âð§âð§",name:"family_woman_girl_girl",shortcodes:["family_wgg"],tags:["child","family","girl","woman"],group:"people & body",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f469-200d-1f467-200d-1f467.png"},{emoji:"ð£",name:"speaking_head",shortcodes:["speaking_head"],tags:["face","head","silhouette","speak","speaking"],group:"people & body",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5e3-fe0f.png"},{emoji:"ð¤",name:"bust_in_silhouette",shortcodes:["bust_in_silhouette"],tags:["bust","mysterious","shadow","silhouette"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f464.png"},{emoji:"ð¥",name:"busts_in_silhouette",shortcodes:["busts_in_silhouette"],tags:["bff","bust","busts","everyone","friend","friends","people","silhouette"],group:"people & body",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f465.png"},{emoji:"ð«",name:"people_hugging",shortcodes:["people_hugging"],tags:["comfort","embrace","farewell","friendship","goodbye","hello","hug","hugging","love","people","thanks"],group:"people & body",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fac2.png"},{emoji:"ðª",name:"family",shortcodes:["family"],tags:["child"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f46a.png"},{emoji:"ð§âð§âð§",name:"family_aac",shortcodes:["family_aac"],tags:["adult","child","family"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9d1-200d-1f9d2.png"},{emoji:"ð§âð§âð§âð§",name:"family_aacc",shortcodes:["family_aacc"],tags:["adult","child","family"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9d1-200d-1f9d2-200d-1f9d2.png"},{emoji:"ð§âð§",name:"family_aa",shortcodes:["family_aa","family_ac"],tags:["adult","child","family"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9d2.png"},{emoji:"ð§âð§âð§",name:"family_acc",shortcodes:["family_acc"],tags:["adult","child","family"],group:"people & body",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9d1-200d-1f9d2-200d-1f9d2.png"},{emoji:"ð£",name:"footprints",shortcodes:["footprints"],tags:["barefoot","clothing","footprint","omw","print","walk"],group:"people & body",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f463.png"},{emoji:"ð«",name:"fingerprint",shortcodes:["fingerprint"],tags:["clue","crime","detective","forensics","identity","mystery","print","safety","trace"],group:"people & body",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fac6.png"},{emoji:"ð»",name:"tone1",shortcodes:["tone1","tone_light"],tags:["1â2","light","skin","tone","type"],group:"components",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3fb.png"},{emoji:"ð¼",name:"tone2",shortcodes:["tone2","tone_medium_light"],tags:["3","medium-light","skin","tone","type"],group:"components",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3fc.png"},{emoji:"ð½",name:"tone3",shortcodes:["tone3","tone_medium"],tags:["4","medium","skin","tone","type"],group:"components",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3fd.png"},{emoji:"ð¾",name:"tone4",shortcodes:["tone4","tone_medium_dark"],tags:["5","medium-dark","skin","tone","type"],group:"components",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3fe.png"},{emoji:"ð¿",name:"tone5",shortcodes:["tone5","tone_dark"],tags:["6","dark","skin","tone","type"],group:"components",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ff.png"},{emoji:"ð¦°",name:"red_hair",shortcodes:["red_hair"],tags:["ginger","hair","red","redhead"],group:"components",emoticons:[],version:11},{emoji:"ð¦±",name:"curly_hair",shortcodes:["curly_hair"],tags:["afro","curly","hair","ringlets"],group:"components",emoticons:[],version:11},{emoji:"ð¦³",name:"white_hair",shortcodes:["white_hair"],tags:["gray","hair","old","white"],group:"components",emoticons:[],version:11},{emoji:"ð¦²",name:"no_hair",shortcodes:["no_hair"],tags:["chemotherapy","hair","hairless","no","shaven"],group:"components",emoticons:[],version:11},{emoji:"ðµ",name:"monkey_face",shortcodes:["monkey_face"],tags:["animal","banana","face","monkey"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f435.png"},{emoji:"ð",name:"monkey",shortcodes:["monkey"],tags:["animal","banana"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f412.png"}
105,{emoji:"ð¦",name:"gorilla",shortcodes:["gorilla"],tags:["animal"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f98d.png"},{emoji:"ð¦§",name:"orangutan",shortcodes:["orangutan"],tags:["animal","ape","monkey"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a7.png"},{emoji:"ð¶",name:"dog",shortcodes:["dog_face"],tags:["adorbs","animal","dog","face","pet","puppies","puppy"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f436.png"},{emoji:"ð",name:"dog2",shortcodes:["dog"],tags:["animal","animals","dogs","pet"],group:"animals & nature",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f415.png"},{emoji:"ð¦®",name:"guide_dog",shortcodes:["guide_dog"],tags:["accessibility","animal","blind","dog","guide"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ae.png"},{emoji:"ðâð¦º",name:"service_dog",shortcodes:["service_dog"],tags:["accessibility","animal","assistance","dog","service"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f415-200d-1f9ba.png"},{emoji:"ð©",name:"poodle",shortcodes:["poodle"],tags:["animal","dog","fluffy"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f429.png"},{emoji:"ðº",name:"wolf",shortcodes:["wolf","wolf_face"],tags:["animal","face"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f43a.png"},{emoji:"ð¦",name:"fox_face",shortcodes:["fox","fox_face"],tags:["animal","face"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f98a.png"},{emoji:"ð¦",name:"raccoon",shortcodes:["raccoon"],tags:["animal","curious","sly"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f99d.png"},{emoji:"ð±",name:"cat",shortcodes:["cat_face"],tags:["animal","cat","face","kitten","kitty","pet"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f431.png"},{emoji:"ð",name:"cat2",shortcodes:["cat"],tags:["animal","animals","cats","kitten","pet"],group:"animals & nature",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f408.png"},{emoji:"ðââ¬",name:"black_cat",shortcodes:["black_cat"],tags:["animal","black","cat","feline","halloween","meow","unlucky"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f408-200d-2b1b.png"},{emoji:"ð¦",name:"lion",shortcodes:["lion","lion_face"],tags:["alpha","animal","face","leo","mane","order","rawr","roar","safari","strong","zodiac"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f981.png"},{emoji:"ð¯",name:"tiger",shortcodes:["tiger_face"],tags:["animal","big","cat","face","predator","tiger"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f42f.png"},{emoji:"ð
",name:"tiger2",shortcodes:["tiger"],tags:["animal","big","cat","predator","zoo"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f405.png"},{emoji:"ð",name:"leopard",shortcodes:["leopard"],tags:["animal","big","cat","predator","zoo"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f406.png"},{emoji:"ð´",name:"horse",shortcodes:["horse_face"],tags:["animal","dressage","equine","face","farm","horse","horses"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f434.png"},{emoji:"ð«",name:"moose",shortcodes:["moose"],tags:["alces","animal","antlers","elk","mammal"],group:"animals & nature",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1face.png"},{emoji:"ð«",name:"donkey",shortcodes:["donkey"],tags:["animal","ass","burro","hinny","mammal","mule","stubborn"],group:"animals & nature",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1facf.png"},{emoji:"ð",name:"racehorse",shortcodes:["horse","racehorse"],tags:["animal","equestr
105ian","farm","racehorse","racing"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f40e.png"},{emoji:"ð¦",name:"unicorn",shortcodes:["unicorn","unicorn_face"],tags:["face"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f984.png"},{emoji:"ð¦",name:"zebra",shortcodes:["zebra"],tags:["animal","stripe"],group:"animals & nature",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f993.png"},{emoji:"ð¦",name:"deer",shortcodes:["deer"],tags:["animal"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f98c.png"},{emoji:"ð¦¬",name:"bison",shortcodes:["bison"],tags:["animal","buffalo","herd","wisent"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ac.png"},{emoji:"ð®",name:"cow",shortcodes:["cow_face"],tags:["animal","cow","face","farm","milk","moo"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f42e.png"},{emoji:"ð",name:"ox",shortcodes:["ox"],tags:["animal","animals","bull","farm","taurus","zodiac"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f402.png"},{emoji:"ð",name:"water_buffalo",shortcodes:["water_buffalo"],tags:["animal","buffalo","water","zoo"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f403.png"},{emoji:"ð",name:"cow2",shortcodes:["cow"],tags:["animal","animals","farm","milk","moo"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f404.png"},{emoji:"ð·",name:"pig",shortcodes:["pig_face"],tags:["animal","bacon","face","farm","pig","pork"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f437.png"},{emoji:"ð",name:"pig2",shortcodes:["pig"],tags:["animal","bacon","farm","pork","sow"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f416.png"},{emoji:"ð",name:"boar",shortcodes:["boar"],tags:["animal","pig"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f417.png"},{emoji:"ð½",name:"pig_nose",shortcodes:["pig_nose"],tags:["animal","face","farm","nose","pig","smell","snout"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f43d.png"},{emoji:"ð",name:"ram",shortcodes:["ram"],tags:["animal","aries","horns","male","sheep","zodiac","zoo"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f40f.png"},{emoji:"ð",name:"sheep",shortcodes:["ewe","sheep"],tags:["animal","baa","farm","female","fluffy","lamb","sheep","wool"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f411.png"},{emoji:"ð",name:"goat",shortcodes:["goat"],tags:["animal","capricorn","farm","milk","zodiac"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f410.png"},{emoji:"ðª",name:"dromedary_camel",shortcodes:["dromedary_camel"],tags:["animal","desert","dromedary","hump","one"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f42a.png"},{emoji:"ð«",name:"camel",shortcodes:["camel"],tags:["animal","bactrian","camel","desert","hump","two","two-hump"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f42b.png"},{emoji:"ð¦",name:"llama",shortcodes:["llama"],tags:["alpaca","animal","guanaco","vicuña","wool"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f999.png"},{emoji:"ð¦",name:"giraffe",shortcodes:["giraffe"],tags:["animal","spots"],group:"animals & nature",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f992.png"},{emoji:"ð",name:"elephant",shortcodes:["elephant"],tags:["animal"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f418.png"}
105,{emoji:"ð¦£",name:"mammoth",shortcodes:["mammoth"],tags:["animal","extinction","large","tusk","wooly"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a3.png"},{emoji:"ð¦",name:"rhinoceros",shortcodes:["rhino","rhinoceros"],tags:["animal"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f98f.png"},{emoji:"ð¦",name:"hippopotamus",shortcodes:["hippo"],tags:["animal","hippo"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f99b.png"},{emoji:"ð",name:"mouse",shortcodes:["mouse_face"],tags:["animal","face","mouse"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f42d.png"},{emoji:"ð",name:"mouse2",shortcodes:["mouse"],tags:["animal","animals"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f401.png"},{emoji:"ð",name:"rat",shortcodes:["rat"],tags:["animal"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f400.png"},{emoji:"ð¹",name:"hamster",shortcodes:["hamster","hamster_face"],tags:["animal","face","pet"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f439.png"},{emoji:"ð°",name:"rabbit",shortcodes:["rabbit_face"],tags:["animal","bunny","face","pet","rabbit"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f430.png"},{emoji:"ð",name:"rabbit2",shortcodes:["rabbit"],tags:["animal","bunny","pet"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f407.png"},{emoji:"ð¿",name:"chipmunk",shortcodes:["chipmunk"],tags:["animal","squirrel"],group:"animals & nature",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f43f-fe0f.png"},{emoji:"ð¦«",name:"beaver",shortcodes:["beaver"],tags:["animal","dam","teeth"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ab.png"},{emoji:"ð¦",name:"hedgehog",shortcodes:["hedgehog"],tags:["animal","spiny"],group:"animals & nature",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f994.png"},{emoji:"ð¦",name:"bat",shortcodes:["bat"],tags:["animal","vampire"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f987.png"},{emoji:"ð»",name:"bear",shortcodes:["bear","bear_face"],tags:["animal","face","grizzly","growl","honey"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f43b.png"},{emoji:"ð»ââ",name:"polar_bear",shortcodes:["polar_bear","polar_bear_face"],tags:["animal","arctic","bear","polar","white"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f43b-200d-2744-fe0f.png"},{emoji:"ð¨",name:"koala",shortcodes:["koala","koala_face"],tags:["animal","australia","bear","down","face","marsupial","under"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f428.png"},{emoji:"ð¼",name:"panda_face",shortcodes:["panda","panda_face"],tags:["animal","bamboo","face"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f43c.png"},{emoji:"ð¦¥",name:"sloth",shortcodes:["sloth"],tags:["lazy","slow"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a5.png"},{emoji:"ð¦¦",name:"otter",shortcodes:["otter"],tags:["animal","fishing","playful"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a6.png"},{emoji:"ð¦¨",name:"skunk",shortcodes:["skunk"],tags:["animal","stink"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a8.png"},{emoji:"ð¦",name:"kangaroo",shortcodes:["kangaroo"],tags:["animal","joey","jump","marsupial"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f998.png"},{emoji:"ð¦¡",name:"badger",shortcodes:["badger"],tags:["animal","honey","pester"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a1.png"},{emoji:"ð¾",name:"feet",shortcodes:["paw_prints"],tags:["feet","paw","paws","print","prints"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f43e.png"},{emoji:"ð¦",name:"turkey",shortcodes:["turkey"],tags:["bird","gobble","thanksgiving"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f983.png"},{emoji:"ð",name:"chicken",shortcodes:["chicken","chicken_face"],tags:["animal","bird","ornithology"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f414.png"},{emoji:"ð",name:"rooster",shortcodes:["rooster"],tags:["animal","bird","ornithology"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f413.png"},{emoji:"ð£",name:"hatching_chick",shortcodes:["hatching_chick"],tags:["animal","baby","bird","chick","egg","hatching"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f423.png"},{emoji:"ð¤",name:"baby_chick",shortcodes:["baby_chick"],tags:["animal","baby","bird","chick","ornithology"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f424.png"},{emoji:"ð¥",name:"hatched_chick",shortcodes:["hatched_chick"],tags:["animal","baby","bird","chick","front-facing","newborn","ornithology"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f425.png"},{emoji:"ð¦",name:"bird",shortcodes:["bird","bird_face"],tags:["animal","ornithology"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f426.png"},{emoji:"ð§",name:"penguin",shortcodes:["penguin","penguin_face"],tags:["animal","antarctica","bird","ornithology"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f427.png"},{emoji:"ð",name:"dove",shortcodes:["dove"],tags:["bird","fly","ornithology","peace"],group:"animals & nature",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f54a-fe0f.png"},{emoji:"ð¦
",name:"eagle",shortcodes:["eagle"],tags:["animal","bird","ornithology"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f985.png"},{emoji:"ð¦",name:"duck",shortcodes:["duck"],tags:["animal","bird","ornithology"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f986.png"}
105,{emoji:"ð¦¢",name:"swan",shortcodes:["swan"],tags:["animal","bird","cygnet","duckling","ornithology","ugly"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a2.png"},{emoji:"ð¦",name:"owl",shortcodes:["owl"],tags:["animal","bird","ornithology","wise"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f989.png"},{emoji:"ð¦¤",name:"dodo",shortcodes:["dodo"],tags:["animal","bird","extinction","large","ornithology"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a4.png"},{emoji:"ðª¶",name:"feather",shortcodes:["feather"],tags:["bird","flight","light","plumage"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab6.png"},{emoji:"ð¦©",name:"flamingo",shortcodes:["flamingo"],tags:["animal","bird","flamboyant","ornithology","tropical"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a9.png"},{emoji:"ð¦",name:"peacock",shortcodes:["peacock"],tags:["animal","bird","colorful","ornithology","ostentatious","peahen","pretty","proud"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f99a.png"},{emoji:"ð¦",name:"parrot",shortcodes:["parrot"],tags:["animal","bird","ornithology","pirate","talk"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f99c.png"},{emoji:"ðª½",name:"wing",shortcodes:["wing"],tags:["angelic","ascend","aviation","bird","fly","flying","heavenly","mythology","soar"],group:"animals & nature",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fabd.png"},{emoji:"ð¦ââ¬",name:"black_bird",shortcodes:["black_bird"],tags:["animal","beak","bird","black","caw","corvid","crow","ornithology","raven","rook"],group:"animals & nature",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f426-200d-2b1b.png"},{emoji:"ðª¿",name:"goose",shortcodes:["goose"],tags:["animal","bird","duck","flock","fowl","gaggle","gander","geese","honk","ornithology","silly"],group:"animals & nature",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fabf.png"},{emoji:"ð¦âð¥",name:"phoenix",shortcodes:["phoenix"],tags:["ascend","ascension","emerge","fantasy","firebird","glory","immortal","rebirth","reincarnation","reinvent","renewal","revival","revive","rise","transform"],group:"animals & nature",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f426-200d-1f525.png"},{emoji:"ð¸",name:"frog",shortcodes:["frog","frog_face"],tags:["animal","face"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f438.png"},{emoji:"ð",name:"crocodile",shortcodes:["crocodile"],tags:["animal","zoo"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f40a.png"},{emoji:"ð¢",name:"turtle",shortcodes:["turtle"],tags:["animal","terrapin","tortoise"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f422.png"},{emoji:"ð¦",name:"lizard",shortcodes:["lizard"],tags:["animal","reptile"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f98e.png"},{emoji:"ð",name:"snake",shortcodes:["snake"],tags:["animal","bearer","ophiuchus","serpent","zodiac"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f40d.png"},{emoji:"ð²",name:"dragon_face",shortcodes:["dragon_face"],tags:["animal","dragon","face","fairy","fairytale","tale"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f432.png"},{emoji:"ð",name:"dragon",shortcodes:["dragon"],tags:["animal","fairy","fairytale","knights","tale"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f409.png"},{emoji:"ð¦",name:"sauropod",shortcodes:["sauropod"],tags:["brachiosaurus","brontosaurus","dinosaur","diplodocus"],group:"animals & nature",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f995.png"},{emoji:"ð¦",name:"t-rex",shortcodes:["t-rex","trex"],tags:["dinosaur","rex","t","t-rex","tyrannosaurus"],group:"animals & nature",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f996.png"},{emoji:"ð³",name:"whale",shortcodes:["spouting_whale"],tags:["animal","beach","face","ocean","spouting","whale"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f433.png"},{emoji:"ð",name:"whale2",shortcodes:["whale"],tags:["animal","beach","ocean"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f40b.png"},{emoji:"ð¬",name:"dolphin",shortcodes:["dolphin"],tags:["animal","beach","flipper","ocean"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f42c.png"},{emoji:"ð«",name:"orca",shortcodes:["orca"],tags:["marine","ocean","whale"],group:"animals & nature",emoticons:[],version:17},{emoji:"ð¦",name:"seal",shortcodes:["seal"],tags:["animal","lion","ocean","sea"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ad.png"},{emoji:"ð",name:"fish",shortcodes:["fish"],tags:["animal","dinner","fishes","fishing","pisces","zodiac"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f41f.png"},{emoji:"ð ",name:"tropical_fish",shortcodes:["tropical_fish"],tags:["animal","fish","fishes","tropical"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f420.png"},{emoji:"ð¡",name:"blowfish",shortcodes:["blowfish"],tags:["animal","fish"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f421.png"},{emoji:"ð¦",name:"shark",shortcodes:["shark"],tags:["animal","fish"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f988.png"},{emoji:"ð",name:"octopus",shortcodes:["octopus"],tags:["animal","creature","ocean"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f419.png"},{emoji:"ð",name:"shell",shortcodes:["shell"],tags:["animal","beach","conch","sea","shell","spiral"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f41a.png"},{emoji:"ðª¸",name:"coral",shortcodes:["coral"],tags:["change","climate","ocean","reef","sea"],group:"animals & nature",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab8.png"},{emoji:"ðª¼",name:"jellyfish",shortcodes:["jellyfish"],tags:["animal","aquarium","burn","invertebrate","jelly","life","marine","ocean","ouch","plankton","sea","sting","stinger","tentacles"],group:"animals & nature",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fabc.png"},{emoji:"ð¦",name:"crab",shortcodes:["crab"],tags:["cancer","zodiac"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f980.png"},{emoji:"ð¦",name:"lobster",shortcodes:["lobster"],tags:["animal","bisque","claws","seafood"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f99e.png"},{emoji:"ð¦",name:"shrimp",shortcodes:["shrimp"],tags:["food","shellfish","small"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f990.png"},{emoji:"ð¦",name:"squid",shortcodes:["squid"],tags:["animal","food","mollusk"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f991.png"},{emoji:"ð¦ª",name:"oyster",shortcodes:["oyster"],tags:["diving","pearl"],group:"animals & nature",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9aa.png"},{emoji:"ð",name:"snail",shortcodes:["snail"],tags:["animal","escargot","garden","nature","slug"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f40c.png"},{emoji:"ð¦",name:"butterfly",shortcodes:["butterfly"],tags:["insect","pretty"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f98b.png"},{emoji:"ð",name:"bug",shortcodes:["bug"],tags:["animal","garden","insect"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f41b.png"},{emoji:"ð",name:"ant",shortcodes:["ant"],tags:["animal","garden","insect"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f41c.png"},{emoji:"ð",name:"bee",shortcodes:["bee"],tags:["animal","bee","bumblebee","honey","insect","nature","spring"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f41d.png"},{emoji:"ðª²",name:"beetle",shortcodes:["beetle"],tags:["animal","bug","insect"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab2.png"},{emoji:"ð",name:"lady_beetle",shortcodes:["lady_beetle"],tags:["animal","beetle","garden","insect","lady","ladybird","ladybug","nature"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f41e.png"},{emoji:"ð¦",name:"cricket",shortcodes:["cricket"],tags:["animal","bug","grasshopper","insect","orthoptera"],group:"animals & nature",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f997.png"},{emoji:"ðª³",name:"cockroach",shortcodes:["cockroach"],tags:["animal","insect","pest","roach"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab3.png"},{emoji:"ð·",name:"spider",shortcodes:["spider"],tags:["animal","insect"],group:"animals & nature",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f577-fe0f.png"},{emoji:"ð¸",name:"spider_web",shortcodes:["spider_web"],tags:["spider","web"],group:"animals & nature",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f578-fe0f.png"},{emoji:"ð¦",name:"scorpion",shortcodes:["scorpion"],tags:["scorpio","scorpius","zodiac"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f982.png"},{emoji:"ð¦",name:"mosquito",shortcodes:["mosquito"],tags:["bite","disease","fever","insect","malaria","pest","virus"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f99f.png"},{emoji:"ðª°",name:"fly",shortcodes:["fly"],tags:["animal","disease","insect","maggot","pest","rotting"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab0.png"},{emoji:"ðª±",name:"worm",shortcodes:["worm"],tags:["animal","annelid","earthworm","parasite"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab1.png"},{emoji:"ð¦ ",name:"microbe",shortcodes:["microbe"],tags:["amoeba","bacteria","scie
105nce","virus"],group:"animals & nature",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9a0.png"},{emoji:"ð",name:"bouquet",shortcodes:["bouquet"],tags:["anniversary","birthday","date","flower","love","plant","romance"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f490.png"},{emoji:"ð¸",name:"cherry_blossom",shortcodes:["cherry_blossom"],tags:["blossom","cherry","flower","plant","spring","springtime"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f338.png"},{emoji:"ð®",name:"white_flower",shortcodes:["white_flower"],tags:["flower","white"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ae.png"},{emoji:"ðª·",name:"lotus",shortcodes:["lotus"],tags:["beauty","buddhism","calm","flower","hinduism","peace","purity","serenity"],group:"animals & nature",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab7.png"},{emoji:"ðµ",name:"rosette",shortcodes:["rosette"],tags:["plant"],group:"animals & nature",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f5-fe0f.png"},{emoji:"ð¹",name:"rose",shortcodes:["rose"],tags:["beauty","elegant","flower","love","plant","red","valentine"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f339.png"},{emoji:"ð¥",name:"wilted_flower",shortcodes:["wilted_flower"],tags:["dying","flower","wilted"],group:"animals & nature",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f940.png"},{emoji:"ðº",name:"hibiscus",shortcodes:["hibiscus"],tags:["flower","plant"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f33a.png"},{emoji:"ð»",name:"sunflower",shortcodes:["sunflower"],tags:["flower","outdoors","plant","sun"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f33b.png"},{emoji:"ð¼",name:"blossom",shortcodes:["blossom"],tags:["buttercup","dandelion","flower","plant"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f33c.png"},{emoji:"ð·",name:"tulip",shortcodes:["tulip"],tags:["blossom","flower","growth","plant"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f337.png"},{emoji:"ðª»",name:"hyacinth",shortcodes:["hyacinth"],tags:["bloom","bluebonnet","flower","indigo","lavender","lilac","lupine","plant","purple","shrub","snapdragon","spring","violet"],group:"animals & nature",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fabb.png"},{emoji:"ð±",name:"seedling",shortcodes:["seedling"],tags:["plant","sapling","sprout","young"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f331.png"},{emoji:"ðª´",name:"potted_plant",shortcodes:["potted_plant"],tags:["decor","grow","house","nurturing","plant","pot","potted"],group:"animals & nature",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab4.png"},{emoji:"ð²",name:"evergreen_tree",shortcodes:["evergreen_tree"],tags:["christmas","evergreen","forest","pine","tree"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f332.png"},{emoji:"ð³",name:"deciduous_tree",shortcodes:["deciduous_tree"],tags:["deciduous","forest","green","habitat","shedding","tree"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f333.png"},{emoji:"ð´",name:"palm_tree",shortcodes:["palm_tree"],tags:["beach","palm","plant","tree","tropical"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f334.png"},{emoji:"ðµ",name:"cactus",shortcodes:["cactus"],tags:["desert","drought","nature","plant"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f335.png"}
105,{emoji:"ð¾",name:"ear_of_rice",shortcodes:["ear_of_rice","sheaf_of_rice"],tags:["ear","grain","grains","plant","rice","sheaf"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f33e.png"},{emoji:"ð¿",name:"herb",shortcodes:["herb"],tags:["leaf","plant"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f33f.png"},{emoji:"â",name:"shamrock",shortcodes:["shamrock"],tags:["irish","plant"],group:"animals & nature",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2618-fe0f.png"},{emoji:"ð",name:"four_leaf_clover",shortcodes:["four_leaf_clover"],tags:["4","clover","four","four-leaf","irish","leaf","lucky","plant"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f340.png"},{emoji:"ð",name:"maple_leaf",shortcodes:["maple_leaf"],tags:["falling","leaf","maple"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f341.png"},{emoji:"ð",name:"fallen_leaf",shortcodes:["fallen_leaf"],tags:["autumn","fall","fallen","falling","leaf"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f342.png"},{emoji:"ð",name:"leaves",shortcodes:["leaves"],tags:["blow","flutter","fluttering","leaf","wind"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f343.png"},{emoji:"ðª¹",name:"empty_nest",shortcodes:["empty_nest","nest"],tags:["branch","empty","home","nest","nesting"],group:"animals & nature",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab9.png"},{emoji:"ðªº",name:"nest_with_eggs",shortcodes:["nest_with_eggs"],tags:["bird","branch","egg","eggs","nest","nesting"],group:"animals & nature",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faba.png"},{emoji:"ð",name:"mushroom",shortcodes:["mushroom"],tags:["fungus","toadstool"],group:"animals & nature",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f344.png"},{emoji:"ðª¾",name:"leafless_tree",shortcodes:["leafless_tree"],tags:["bare","barren","branches","dead","drought","leafless","tree","trunk","winter","wood"],group:"animals & nature",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fabe.png"},{emoji:"ð",name:"grapes",shortcodes:["grapes"],tags:["dionysus","fruit","grape"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f347.png"},{emoji:"ð",name:"melon",shortcodes:["melon"],tags:["cantaloupe","fruit"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f348.png"},{emoji:"ð",name:"watermelon",shortcodes:["watermelon"],tags:["fruit"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f349.png"},{emoji:"ð",name:"mandarin",shortcodes:["orange","tangerine"],tags:["c","citrus","fruit","nectarine","orange","vitamin"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f34a.png"},{emoji:"ð",name:"lemon",shortcodes:["lemon"],tags:["citrus","fruit","sour"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f34b.png"},{emoji:"ðâð©",name:"lime",shortcodes:["lime"],tags:["acidity","citrus","cocktail","fruit","garnish","key","margarita","mojito","refreshing","salsa","sour","tangy","tequila","tropical","zest"],group:"food & drink",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f34b-200d-1f7e9.png"},{emoji:"ð",name:"banana",shortcodes:["banana"],tags:["fruit","potassium"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f34c.png"},{emoji:"ð",name:"pineapple",shortcodes:["pineapple"],tags:["colada","fruit","pina","tropical"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f34d.png"},{emoji:"ð¥",name:"mango",shortcodes:["mango"],tags:["food","fruit","tropical"],group:"food & drink",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f96d.png"},{emoji:"ð",name:"apple",shortcodes:["apple","red_apple"],tags:["apple","diet","food","fruit","health","red","ripe"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f34e.png"},{emoji:"ð",name:"green_apple",shortcodes:["green_apple"],tags:["apple","fruit","green"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f34f.png"},{emoji:"ð",name:"pear",shortcodes:["pear"],tags:["fruit"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f350.png"},{emoji:"ð",name:"peach",shortcodes:["peach"],tags:["fruit"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f351.png"},{emoji:"ð",name:"cherries",shortcodes:["cherries"],tags:["berries","cherry","fruit","red"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f352.png"},{emoji:"ð",name:"strawberry",shortcodes:["strawberry"],tags:["berry","fruit"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f353.png"},{emoji:"ð«",name:"blueberries",shortcodes:["blueberries"],tags:["berries","berry","bilberry","blue","blueberry","food","fruit"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad0.png"},{emoji:"ð¥",name:"kiwi_fruit",shortcodes:["kiwi"],tags:["food","fruit","kiwi"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f95d.png"},{emoji:"ð
",name:"tomato",shortcodes:["tomato"],tags:["food","fruit","vegetable"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f345.png"},{emoji:"ð«",name:"olive",shortcodes:["olive"],tags:["food"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad2.png"},{emoji:"ð¥¥",name:"coconut",shortcodes:["coconut"],tags:["colada","palm","piña"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f965.png"},{emoji:"ð¥",name:"avocado",shortcodes:["avocado"],tags:["food","fruit"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f951.png"},{emoji:"ð",name:"eggplant",shortcodes:["eggplant"],tags:["aubergine","vegetable"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f346.png"},{emoji:"ð¥",name:"potato",shortcodes:["potato"],tags:["food","vegetable"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f954.png"},{emoji:"ð¥",name:"carrot",shortcodes:["carrot"],tags:["food","vegetable"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f955.png"},{emoji:"ð½",name:"corn",shortcodes:["corn","ear_of_corn"],tags:["corn","crops","ear","farm","maize","maze"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f33d.png"},{emoji:"ð¶",name:"hot_pepper",shortcodes:["hot_pepper"],tags:["hot","pepper"],group:"food & drink",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f336-fe0f.png"},{emoji:"ð«",name:"bell_pepper",shortcodes:["bell_pepper"],tags:["bell","capsicum","food","pepper","vegetable"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad1.png"},{emoji:"ð¥",name:"cucumber",shortcodes:["cucumber"],tags:["food","pickle","vegetable"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f952.png"},{emoji:"ð¥¬",name:"leafy_green",shortcodes:["leafy_green"],tags:["bok","burgers","cabbage","choy","green","kale","leafy","lettuce","salad"],group:"food & drink",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f96c.png"},{emoji:"ð¥¦",name:"broccoli",shortcodes:["broccoli"],tags:["cabbage","wild"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f966.png"},{emoji:"ð§",name:"garlic",shortcodes:["garlic"],tags:["flavoring"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c4.png"},{emoji:"ð§
",name:"onion",shortcodes:["onion"],tags:["flavoring"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c5.png"},{emoji:"ð¥",name:"peanuts",shortcodes:["peanuts"],tags:["food","nut","peanut","vegetable"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f95c.png"},{emoji:"ð«",name:"beans",shortcodes:["beans"],tags:["food","kidney","legume","small"],group:"food & drink",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad8.png"},{emoji:"ð°",name:"chestnut",shortcodes:["chestnut"],tags:["almond","plant"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f330.png"},{emoji:"ð«",name:"ginger_root",shortcodes:["ginger"],tags:["beer","ginger","health","herb","natural","root","spice"],group:"food & drink",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fada.png"},{emoji:"ð«",name:"pea_pod",shortcodes:["pea"],tags:["beans","beanstalk","edamame","legume","pea","pod","soybean","vegetable","veggie"],group:"food & drink",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fadb.png"},{emoji:"ðâð«",name:"brown_mushroom",shortcodes:["brown_mushroom"],tags:["food","fungi","fungus","mushroom","nature","pizza","portobello","shiitake","shroom","spore","sprout","toppings","truffle","vegetable","vegetarian","veggie"],group:"food & drink",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f344-200d-1f7eb.png"},{emoji:"ð«",name:"root_vegetable",shortcodes:["root_vegetable"],tags:["beet","food","garden","radish","root","salad","turnip","vegetable","vegetarian"],group:"food & drink",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fadc.png"},{emoji:"ð",name:"bread",shortcodes:["bread"],tags:["carbs","food","grain","loaf","restaurant","toast","wheat"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f35e.png"}
105,{emoji:"ð¥",name:"croissant",shortcodes:["croissant"],tags:["bread","breakfast","crescent","food","french","roll"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f950.png"},{emoji:"ð¥",name:"baguette_bread",shortcodes:["baguette_bread"],tags:["baguette","bread","food","french"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f956.png"},{emoji:"ð«",name:"flatbread",shortcodes:["flatbread"],tags:["arepa","bread","food","gordita","lavash","naan","pita"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad3.png"},{emoji:"ð¥¨",name:"pretzel",shortcodes:["pretzel"],tags:["convoluted","twisted"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f968.png"},{emoji:"ð¥¯",name:"bagel",shortcodes:["bagel"],tags:["bakery","bread","breakfast","schmear"],group:"food & drink",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f96f.png"},{emoji:"ð¥",name:"pancakes",shortcodes:["pancakes"],tags:["breakfast","crêpe","food","hotcake","pancake"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f95e.png"},{emoji:"ð§",name:"waffle",shortcodes:["waffle"],tags:["breakfast","indecisive","iron"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c7.png"},{emoji:"ð§",name:"cheese",shortcodes:["cheese"],tags:["cheese","wedge"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c0.png"},{emoji:"ð",name:"meat_on_bone",shortcodes:["meat_on_bone"],tags:["bone","meat"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f356.png"},{emoji:"ð",name:"poultry_leg",shortcodes:["poultry_leg"],tags:["bone","chicken","drumstick","hungry","leg","poultry","turkey"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f357.png"},{emoji:"ð¥©",name:"cut_of_meat",shortcodes:["cut_of_meat"],tags:["chop","cut","lambchop","meat","porkchop","red","steak"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f969.png"},{emoji:"ð¥",name:"bacon",shortcodes:["bacon"],tags:["breakfast","food","meat"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f953.png"},{emoji:"ð",name:"hamburger",shortcodes:["hamburger"],tags:["burger","eat","fast","food","hungry"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f354.png"},{emoji:"ð",name:"fries",shortcodes:["french_fries","fries"],tags:["fast","food","french","fries"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f35f.png"},{emoji:"ð",name:"pizza",shortcodes:["pizza"],tags:["cheese","food","hungry","pepperoni","slice"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f355.png"},{emoji:"ð",name:"hotdog",shortcodes:["hotdog"],tags:["dog","frankfurter","hot","hotdog","sausage"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f32d.png"},{emoji:"ð¥ª",name:"sandwich",shortcodes:["sandwich"],tags:["bread"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f96a.png"},{emoji:"ð®",name:"taco",shortcodes:["taco"],tags:["mexican"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f32e.png"},{emoji:"ð¯",name:"burrito",shortcodes:["burrito"],tags:["mexican","wrap"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f32f.png"},{emoji:"ð«",name:"tamale",shortcodes:["tamale"],tags:["food","mexican","pamonha","wrapped"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad4.png"},{emoji:"ð¥",name:"stuffed_flatbread",shortcodes:["stuffed_flatbread"],tags:["falafel","flatbread","food","gyro","kebab","stuffed"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f959.png"},{emoji:"ð§",name:"falafel",shortcodes:["falafel"],tags:["chickpea","meatball"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c6.png"},{emoji:"ð¥",name:"egg",shortcodes:["egg"],tags:["breakfast","food"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f95a.png"},{emoji:"ð³",name:"fried_egg",shortcodes:["cooking","fried_egg"],tags:["breakfast","easy","egg","fry","frying","over","pan","restaurant","side","sunny","up"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f373.png"},{emoji:"ð¥",name:"shallow_pan_of_food",shortcodes:["shallow_pan_of_food"],tags:["casserole","food","paella","pan","shallow"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f958.png"},{emoji:"ð²",name:"stew",shortcodes:["pot_of_food","stew"],tags:["food","pot","soup","stew"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f372.png"},{emoji:"ð«",name:"fondue",shortcodes:["fondue"],tags:["cheese","chocolate","food","melted","pot","ski"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad5.png"},{emoji:"ð¥£",name:"bowl_with_spoon",shortcodes:["bowl_with_spoon"],tags:["bowl","breakfast","cereal","congee","oatmeal","porridge","spoon"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f963.png"},{emoji:"ð¥",name:"green_salad",shortcodes:["green_salad","salad"],tags:["food","green","salad"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f957.png"},{emoji:"ð¿",name:"popcorn",shortcodes:["popcorn"],tags:["corn","movie","pop"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f37f.png"},{emoji:"ð§",name:"butter",shortcodes:["butter"],tags:["dairy"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c8.png"},{emoji:"ð§",name:"salt",shortcodes:["salt"],tags:["condiment","flavor","mad","salty","shaker","taste","upset"],group:"food & drink",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c2.png"},{emoji:"ð¥«",name:"canned_food",shortcodes:["canned_food"],tags:["can","canned","food"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f96b.png"}
105,{emoji:"ð±",name:"bento",shortcodes:["bento","bento_box"],tags:["bento","box","food"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f371.png"},{emoji:"ð",name:"rice_cracker",shortcodes:["rice_cracker"],tags:["cracker","food","rice"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f358.png"},{emoji:"ð",name:"rice_ball",shortcodes:["rice_ball"],tags:["ball","food","japanese","rice"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f359.png"},{emoji:"ð",name:"rice",shortcodes:["cooked_rice","rice"],tags:["cooked","food","rice"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f35a.png"},{emoji:"ð",name:"curry",shortcodes:["curry","curry_rice"],tags:["curry","food","rice"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f35b.png"},{emoji:"ð",name:"ramen",shortcodes:["ramen","steaming_bowl"],tags:["bowl","chopsticks","food","noodle","pho","ramen","soup","steaming"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f35c.png"},{emoji:"ð",name:"spaghetti",shortcodes:["spaghetti"],tags:["food","meatballs","pasta","restaurant"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f35d.png"},{emoji:"ð ",name:"sweet_potato",shortcodes:["sweet_potato"],tags:["food","potato","roasted","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f360.png"},{emoji:"ð¢",name:"oden",shortcodes:["oden"],tags:["food","kebab","restaurant","seafood","skewer","stick"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f362.png"},{emoji:"ð£",name:"sushi",shortcodes:["sushi"],tags:["food"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f363.png"},{emoji:"ð¤",name:"fried_shrimp",shortcodes:["fried_shrimp"],tags:["fried","prawn","shrimp","tempura"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f364.png"},{emoji:"ð¥",name:"fish_cake",shortcodes:["fish_cake"],tags:["cake","fish","food","pastry","restaurant","swirl"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f365.png"},{emoji:"ð¥®",name:"moon_cake",shortcodes:["moon_cake"],tags:["autumn","cake","festival","moon","yuèbÇng"],group:"food & drink",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f96e.png"},{emoji:"ð¡",name:"dango",shortcodes:["dango"],tags:["dessert","japanese","skewer","stick","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f361.png"},{emoji:"ð¥",name:"dumpling",shortcodes:["dumpling"],tags:["empanada","gyÅza","jiaozi","pierogi","potsticker"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f95f.png"},{emoji:"ð¥ ",name:"fortune_cookie",shortcodes:["fortune_cookie"],tags:["cookie","fortune","prophecy"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f960.png"},{emoji:"ð¥¡",name:"takeout_box",shortcodes:["takeout_box"],tags:["box","chopsticks","delivery","food","oyster","pail","takeout"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f961.png"},{emoji:"ð¦",name:"icecream",shortcodes:["icecream","soft_serve"],tags:["cream","dessert","food","ice","icecream","restaurant","serve","soft","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f366.png"},{emoji:"ð§",name:"shaved_ice",shortcodes:["shaved_ice"],tags:["dessert","ice","restaurant","shaved","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f367.png"},{emoji:"ð¨",name:"ice_cream",shortcodes:["ice_cream"],tags:["cream","dessert","food","ice","restaurant","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f368.png"},{emoji:"ð©",name:"doughnut",shortcodes:["doughnut"],tags:["breakfast","dessert","donut","food","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f369.png"},{emoji:"ðª",name:"cookie",shortcodes:["cookie"],tags:["chip","chocolate","dessert","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f36a.png"},{emoji:"ð",name:"birthday",shortcodes:["birthday","birthday_cake"],tags:["bday","birthday","cake","celebration","dessert","happy","pastry","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f382.png"},{emoji:"ð°",name:"cake",shortcodes:["cake","shortcake"],tags:["cake","dessert","pastry","slice","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f370.png"},{emoji:"ð§",name:"cupcake",shortcodes:["cupcake"],tags:["bakery","dessert","sprinkles","sugar","sweet","treat"],group:"food & drink",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c1.png"},{emoji:"ð¥§",name:"pie",shortcodes:["pie"],tags:["apple","filling","fruit","meat","pastry","pumpkin","slice"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f967.png"},{emoji:"ð«",name:"chocolate_bar",shortcodes:["chocolate_bar"],tags:["bar","candy","chocolate","dessert","halloween","sweet","tooth"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f36b.png"},{emoji:"ð¬",name:"candy",shortcodes:["candy"],tags:["cavities","dessert","halloween","restaurant","sweet","tooth","wrapper"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f36c.png"},{emoji:"ð",name:"lollipop",shortcodes:["lollipop"],tags:["candy","dessert","food","restaurant","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f36d.png"},{emoji:"ð®",name:"custard",shortcodes:["custard"],tags:["dessert","pudding","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f36e.png"},{emoji:"ð¯",name:"honey_pot",shortcodes:["honey_pot"],tags:["barrel","bear","food","honey","honeypot","jar","pot","sweet"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f36f.png"},{emoji:"ð¼",name:"baby_bottle",shortcodes:["baby_bottle"],tags:["babies","baby","birth","born","bottle","drink","infant","milk","newborn"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f37c.png"},{emoji:"ð¥",name:"milk_glass",shortcodes:["glass_of_milk","milk"],tags:["drink","glass","milk"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f95b.png"},{emoji:"â",name:"coffee",shortcodes:["coffee"],tags:["beverage","cafe","caffeine","chai","coffee","drink","hot","morning","steaming","tea"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2615.png"},{emoji:"ð«",name:"teapot",shortcodes:["teapot"],tags:["brew","drink","food","pot","tea"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad6.png"}
105,{emoji:"ðµ",name:"tea",shortcodes:["tea"],tags:["beverage","cup","drink","handle","oolong","tea","teacup"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f375.png"},{emoji:"ð¶",name:"sake",shortcodes:["sake"],tags:["bar","beverage","bottle","cup","drink","restaurant"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f376.png"},{emoji:"ð¾",name:"champagne",shortcodes:["champagne"],tags:["bar","bottle","cork","drink","popping"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f37e.png"},{emoji:"ð·",name:"wine_glass",shortcodes:["wine_glass"],tags:["alcohol","bar","beverage","booze","club","drink","drinking","drinks","glass","restaurant","wine"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f377.png"},{emoji:"ð¸",name:"cocktail",shortcodes:["cocktail"],tags:["alcohol","bar","booze","club","cocktail","drink","drinking","drinks","glass","mad","martini","men"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f378.png"},{emoji:"ð¹",name:"tropical_drink",shortcodes:["tropical_drink"],tags:["alcohol","bar","booze","club","cocktail","drink","drinking","drinks","drunk","mai","party","tai","tropical","tropics"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f379.png"},{emoji:"ðº",name:"beer",shortcodes:["beer"],tags:["alcohol","ale","bar","beer","booze","drink","drinking","drinks","mug","octoberfest","oktoberfest","pint","stein","summer"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f37a.png"},{emoji:"ð»",name:"beers",shortcodes:["beers"],tags:["alcohol","bar","beer","booze","bottoms","cheers","clink","clinking","drinking","drinks","mugs"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f37b.png"},{emoji:"ð¥",name:"clinking_glasses",shortcodes:["clinking_glasses"],tags:["celebrate","clink","clinking","drink","glass","glasses"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f942.png"},{emoji:"ð¥",name:"tumbler_glass",shortcodes:["tumbler_glass","whisky"],tags:["glass","liquor","scotch","shot","tumbler","whiskey","whisky"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f943.png"},{emoji:"ð«",name:"pouring_liquid",shortcodes:["pour","pouring_liquid"],tags:["accident","drink","empty","glass","liquid","oops","pour","pouring","spill","water"],group:"food & drink",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad7.png"},{emoji:"ð¥¤",name:"cup_with_straw",shortcodes:["cup_with_straw"],tags:["cup","drink","juice","malt","soda","soft","straw","water"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f964.png"},{emoji:"ð§",name:"bubble_tea",shortcodes:["boba_drink","bubble_tea"],tags:["boba","bubble","food","milk","pearl","tea"],group:"food & drink",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9cb.png"},{emoji:"ð§",name:"beverage_box",shortcodes:["beverage_box","juice_box"],tags:["beverage","box","juice","straw","sweet"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c3.png"},{emoji:"ð§",name:"mate",shortcodes:["mate"],tags:["drink"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9c9.png"},{emoji:"ð§",name:"ice_cube",shortcodes:["ice","ice_cube"],tags:["cold","cube","iceberg"],group:"food & drink",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ca.png"},{emoji:"ð¥¢",name:"chopsticks",shortcodes:["chopsticks"],tags:["hashi","jeotgarak","kuaizi"],group:"food & drink",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f962.png"},{emoji:"ð½",name:"plate_with_cutlery",shortcodes:["fork_knife_plate"],tags:["cooking","dinner","eat","fork","knife","plate"],group:"food & drink",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f37d-fe0f.png"},{emoji:"ð´",name:"fork_and_knife",shortcodes:["fork_and_knife"],tags:["breakfast","breaky","cooking","cutlery","delicious","dinner","eat","feed","food","fork","hungry","knife","lunch","restaurant","yum","yummy"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f374.png"},{emoji:"ð¥",name:"spoon",shortcodes:["spoon"],tags:["eat","tableware"],group:"food & drink",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f944.png"},{emoji:"ðª",name:"hocho",shortcodes:["knife"],tags:["chef","cooking","hocho","kitchen","knife","tool","weapon"],group:"food & drink",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f52a.png"},{emoji:"ð«",name:"jar",shortcodes:["jar"],tags:["condiment","container","empty","nothing","sauce","store"],group:"food & drink",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fad9.png"},{emoji:"ðº",name:"amphora",shortcodes:["amphora"],tags:["aquarius","cooking","drink","jug","tool","weapon","zodiac"],group:"food & drink",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3fa.png"},{emoji:"ð",name:"earth_africa",shortcodes:["earth_africa","earth_europe"],tags:["africa","earth","europe","europe-africa","globe","showing","world"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f30d.png"},{emoji:"ð",name:"earth_americas",shortcodes:["earth_americas"],tags:["americas","earth","globe","showing","world"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f30e.png"},{emoji:"ð",name:"earth_asia",shortcodes:["earth_asia"],tags:["asia","asia-australia","australia","earth","globe","showing","world"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f30f.png"}
105,{emoji:"ð",name:"globe_with_meridians",shortcodes:["globe_with_meridians"],tags:["earth","globe","internet","meridians","web","world","worldwide"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f310.png"},{emoji:"ðº",name:"world_map",shortcodes:["world_map"],tags:["map","world"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5fa-fe0f.png"},{emoji:"ð¾",name:"japan",shortcodes:["japan_map"],tags:["japan","map"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5fe.png"},{emoji:"ð§",name:"compass",shortcodes:["compass"],tags:["direction","magnetic","navigation","orienteering"],group:"travel & places",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ed.png"},{emoji:"ð",name:"mountain_snow",shortcodes:["mountain_snow"],tags:["cold","mountain","snow","snow-capped"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d4-fe0f.png"},{emoji:"â°",name:"mountain",shortcodes:["mountain"],tags:["mountain"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f0-fe0f.png"},{emoji:"ð",name:"landslide",shortcodes:["landslide"],tags:["avalanche","danger","disaster","earthquake","mountain","mudslide","rocks"],group:"travel & places",emoticons:[],version:17},{emoji:"ð",name:"volcano",shortcodes:["volcano"],tags:["eruption","mountain","nature"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f30b.png"},{emoji:"ð»",name:"mount_fuji",shortcodes:["mount_fuji"],tags:["fuji","mount","mountain","nature"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5fb.png"},{emoji:"ð",name:"camping",shortcodes:["camping"],tags:["camping"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d5-fe0f.png"},{emoji:"ð",name:"beach_umbrella",shortcodes:["beach","beach_with_umbrella"],tags:["beach","umbrella"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d6-fe0f.png"},{emoji:"ð",name:"desert",shortcodes:["desert"],tags:["desert"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3dc-fe0f.png"},{emoji:"ð",name:"desert_island",shortcodes:["desert_island","island"],tags:["desert","island"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3dd-fe0f.png"},{emoji:"ð",name:"national_park",shortcodes:["national_park"],tags:["national","park"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3de-fe0f.png"},{emoji:"ð",name:"stadium",shortcodes:["stadium"],tags:["stadium"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3df-fe0f.png"},{emoji:"ð",name:"classical_building",shortcodes:["classical_building"],tags:["building","classical"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3db-fe0f.png"},{emoji:"ð",name:"building_construction",shortcodes:["building_construction","construction_site"],tags:["building","construction","crane"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d7-fe0f.png"},{emoji:"ð§±",name:"bricks",shortcodes:["bricks"],tags:["bricks","clay","mortar","wall"],group:"travel & places",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f1.png"},{emoji:"ðª¨",name:"rock",shortcodes:["rock"],tags:["boulder","heavy","solid","stone","tough"],group:"travel & places",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa8.png"},{emoji:"ðªµ",name:"wood",shortcodes:["wood"],tags:["log","lumber","timber"],group:"travel & places",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fab5.png"},{emoji:"ð",name:"hut",shortcodes:["hut"],tags:["home","house","roundhouse","shelter","yurt"],group:"travel & places",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6d6.png"},{emoji:"ð",name:"houses",shortcodes:["homes","houses"],tags:["house"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d8-fe0f.png"},{emoji:"ð",name:"derelict_house",shortcodes:["derelict_house","house_abandoned"],tags:["derelict","home","house"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3da-fe0f.png"},{emoji:"ð ",name:"house",shortcodes:["house"],tags:["building","country","heart","home","ranch","settle","simple","suburban","suburbia","where"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e0.png"},{emoji:"ð¡",name:"house_with_garden",shortcodes:["house_with_garden"],tags:["building","country","garden","heart","home","house","ranch","settle","simple","suburban","suburbia","where"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e1.png"},{emoji:"ð¢",name:"office",shortcodes:["office"],tags:["building","city","cubical","job","office"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e2.png"},{emoji:"ð£",name:"post_office",shortcodes:["post_office"],tags:["building","japanese","office","post"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e3.png"},{emoji:"ð¤",name:"european_post_office",shortcodes:["european_post_office"],tags:["building","european","office","post"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e4.png"},{emoji:"ð¥",name:"hospital",shortcodes:["hospital"],tags:["building","doctor","medicine"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e5.png"},{emoji:"ð¦",name:"bank",shortcodes:["bank"],tags:["building"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e6.png"},{emoji:"ð¨",name:"hotel",shortcodes:["hotel"],tags:["building"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e8.png"},{emoji:"ð©",name:"love_hotel",shortcodes:["love_hotel"],tags:["building","hotel","love"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e9.png"},{emoji:"ðª",name:"convenience_store",shortcodes:["convenience_store"],tags:["24","building","convenience","hours","store"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ea.png"},{emoji:"ð«",name:"school",shortcodes:["school"],tags:["building"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3eb.png"},{emoji:"ð¬",name:"department_store",shortcodes:["department_store"],tags:["building","department","store"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ec.png"},{emoji:"ð",name:"factory",shortcodes:["factory"],tags:["building"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ed.png"},{emoji:"ð¯",name:"japanese_castle",shortcodes:["japanese_castle"],tags:["building","castle","japanese"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ef.png"},{emoji:"ð°",name:"european_castle",shortcodes:["castle","european_castle"],tags:["building","european"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f0.png"},{emoji:"ð",name:"wedding",shortcodes:["wedding"],tags:["chapel","hitched","nuptials","romance"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f492.png"},{emoji:"ð¼",name:"tokyo_tower",shortcodes:["tokyo_tower"],tags:["tokyo","tower"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5fc.png"},{emoji:"ð½",name:"statue_of_liberty",shortcodes:["statue_of_liberty"],tags:["liberty","new","ny","nyc","statue","york"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5fd.png"},{emoji:"âª",name:"church",shortcodes:["church"],tags:["bless","chapel","christian","cross","religion"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26ea.png"},{emoji:"ð",name:"mosque",shortcodes:["mosque"],tags:["islam","masjid","muslim","religion"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f54c.png"},{emoji:"ð",name:"hindu_temple",shortcodes:["hindu_temple"],tags:["hindu","temple"],group:"travel & places",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6d5.png"},{emoji:"ð",name:"synagogue",shortcodes:["synagogue"],tags:["jew","jewish","judaism","religion","temple"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f54d.png"},{emoji:"â©",name:"shinto_shrine",shortcodes:["shinto_shrine"],tags:["religion","shinto","shrine"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26e9-fe0f.png"},{emoji:"ð",name:"kaaba",shortcodes:["kaaba"],tags:["hajj","islam","muslim","religion","umrah"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f54b.png"},{emoji:"â²",name:"fountain",shortcodes:["fountain"],tags:["fountain"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f2.png"},{emoji:"âº",name:"tent",shortcodes:["tent"],tags:["camping"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26fa.png"}
105,{emoji:"ð",name:"foggy",shortcodes:["foggy"],tags:["fog"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f301.png"},{emoji:"ð",name:"night_with_stars",shortcodes:["night_with_stars"],tags:["night","star","stars"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f303.png"},{emoji:"ð",name:"cityscape",shortcodes:["cityscape"],tags:["city"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d9-fe0f.png"},{emoji:"ð",name:"sunrise_over_mountains",shortcodes:["sunrise_over_mountains"],tags:["morning","mountains","over","sun","sunrise"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f304.png"},{emoji:"ð
",name:"sunrise",shortcodes:["sunrise"],tags:["morning","nature","sun"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f305.png"},{emoji:"ð",name:"city_sunset",shortcodes:["city_dusk"],tags:["at","building","city","cityscape","dusk","evening","landscape","sun","sunset"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f306.png"},{emoji:"ð",name:"city_sunrise",shortcodes:["city_sunrise","city_sunset"],tags:["building","dusk","sun"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f307.png"},{emoji:"ð",name:"bridge_at_night",shortcodes:["bridge_at_night"],tags:["at","bridge","night"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f309.png"},{emoji:"â¨",name:"hotsprings",shortcodes:["hotsprings"],tags:["hot","hotsprings","springs","steaming"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2668-fe0f.png"},{emoji:"ð ",name:"carousel_horse",shortcodes:["carousel_horse"],tags:["carousel","entertainment","horse"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a0.png"},{emoji:"ð",name:"playground_slide",shortcodes:["playground_slide","slide"],tags:["amusement","park","play","playground","playing","slide","sliding","theme"],group:"travel & places",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6dd.png"},{emoji:"ð¡",name:"ferris_wheel",shortcodes:["ferris_wheel"],tags:["amusement","ferris","park","theme","wheel"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a1.png"},{emoji:"ð¢",name:"roller_coaster",shortcodes:["roller_coaster"],tags:["amusement","coaster","park","roller","theme"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a2.png"},{emoji:"ð",name:"barber",shortcodes:["barber","barber_pole"],tags:["barber","cut","fresh","haircut","pole","shave"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f488.png"},{emoji:"ðª",name:"circus_tent",shortcodes:["circus_tent"],tags:["circus","tent"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3aa.png"},{emoji:"ð",name:"steam_locomotive",shortcodes:["steam_locomotive"],tags:["caboose","engine","railway","steam","train","trains","travel"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f682.png"},{emoji:"ð",name:"railway_car",shortcodes:["railway_car"],tags:["car","electric","railway","train","tram","travel","trolleybus"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f683.png"},{emoji:"ð",name:"bullettrain_side",shortcodes:["bullettrain_side"],tags:["high-speed","railway","shinkansen","speed","train"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f684.png"},{emoji:"ð
",name:"bullettrain_front",shortcodes:["bullettrain_front"],tags:["bullet","high-speed","nose","railway","shinkansen","speed","train","travel"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f685.png"}
105,{emoji:"ð",name:"train2",shortcodes:["train"],tags:["arrived","choo","railway"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f686.png"},{emoji:"ð",name:"metro",shortcodes:["metro"],tags:["subway","travel"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f687.png"},{emoji:"ð",name:"light_rail",shortcodes:["light_rail"],tags:["arrived","light","monorail","rail","railway"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f688.png"},{emoji:"ð",name:"station",shortcodes:["station"],tags:["railway","train"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f689.png"},{emoji:"ð",name:"tram",shortcodes:["tram"],tags:["trolleybus"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f68a.png"},{emoji:"ð",name:"monorail",shortcodes:["monorail"],tags:["vehicle"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f69d.png"},{emoji:"ð",name:"mountain_railway",shortcodes:["mountain_railway"],tags:["car","mountain","railway","trip"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f69e.png"},{emoji:"ð",name:"train",shortcodes:["tram_car"],tags:["bus","car","tram","trolley","trolleybus"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f68b.png"},{emoji:"ð",name:"bus",shortcodes:["bus"],tags:["school","vehicle"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f68c.png"},{emoji:"ð",name:"oncoming_bus",shortcodes:["oncoming_bus"],tags:["bus","cars","oncoming"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f68d.png"},{emoji:"ð",name:"trolleybus",shortcodes:["trolleybus"],tags:["bus","tram","trolley"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f68e.png"},{emoji:"ð",name:"minibus",shortcodes:["minibus"],tags:["bus","drive","van","vehicle"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f690.png"},{emoji:"ð",name:"ambulance",shortcodes:["ambulance"],tags:["emergency","vehicle"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f691.png"},{emoji:"ð",name:"fire_engine",shortcodes:["fire_engine"],tags:["engine","fire","truck"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f692.png"},{emoji:"ð",name:"police_car",shortcodes:["police_car"],tags:["5â0","car","cops","patrol","police"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f693.png"},{emoji:"ð",name:"oncoming_police_car",shortcodes:["oncoming_police_car"],tags:["car","oncoming","police"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f694.png"},{emoji:"ð",name:"taxi",shortcodes:["taxi"],tags:["cab","cabbie","car","drive","vehicle","yellow"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f695.png"},{emoji:"ð",name:"oncoming_taxi",shortcodes:["oncoming_taxi"],tags:["cab","cabbie","cars","drove","hail","oncoming","taxi","yellow"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f696.png"},{emoji:"ð",name:"car",shortcodes:["car","red_car"],tags:["car","driving","vehicle"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f697.png"},{emoji:"ð",name:"oncoming_automobile",shortcodes:["oncoming_automobile"],tags:["automobile","car","cars","drove","oncoming","vehicle"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f698.png"}
105,{emoji:"ð",name:"blue_car",shortcodes:["blue_car","suv"],tags:["car","drive","recreational","sport","sportutility","utility","vehicle"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f699.png"},{emoji:"ð»",name:"pickup_truck",shortcodes:["pickup_truck"],tags:["automobile","car","flatbed","pick-up","pickup","transportation","truck"],group:"travel & places",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6fb.png"},{emoji:"ð",name:"truck",shortcodes:["delivery_truck","truck"],tags:["car","delivery","drive","truck","vehicle"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f69a.png"},{emoji:"ð",name:"articulated_lorry",shortcodes:["articulated_lorry"],tags:["articulated","car","drive","lorry","move","semi","truck","vehicle"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f69b.png"},{emoji:"ð",name:"tractor",shortcodes:["tractor"],tags:["vehicle"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f69c.png"},{emoji:"ð",name:"racing_car",shortcodes:["racing_car"],tags:["car","racing","zoom"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ce-fe0f.png"},{emoji:"ð",name:"motorcycle",shortcodes:["motorcycle"],tags:["racing"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cd-fe0f.png"},{emoji:"ðµ",name:"motor_scooter",shortcodes:["motor_scooter"],tags:["motor","scooter"],group:"travel & places",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f5.png"},{emoji:"ð¦½",name:"manual_wheelchair",shortcodes:["manual_wheelchair"],tags:["accessibility","manual","wheelchair"],group:"travel & places",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9bd.png"},{emoji:"ð¦¼",name:"motorized_wheelchair",shortcodes:["motorized_wheelchair"],tags:["accessibility","motorized","wheelchair"],group:"travel & places",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9bc.png"},{emoji:"ðº",name:"auto_rickshaw",shortcodes:["auto_rickshaw"],tags:["auto","rickshaw","tuk"],group:"travel & places",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6fa.png"},{emoji:"ð²",name:"bike",shortcodes:["bicycle","bike"],tags:["bike","class","cycle","cycling","cyclist","gang","ride","spin","spinning"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b2.png"},{emoji:"ð´",name:"kick_scooter",shortcodes:["scooter"],tags:["kick","scooter"],group:"travel & places",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f4.png"},{emoji:"ð¹",name:"skateboard",shortcodes:["skateboard"],tags:["board","skate","skater","wheels"],group:"travel & places",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f9.png"},{emoji:"ð¼",name:"roller_skate",shortcodes:["roller_skate"],tags:["blades","roller","skate","skates","sport"],group:"travel & places",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6fc.png"},{emoji:"ð",name:"busstop",shortcodes:["busstop"],tags:["bus","busstop","stop"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f68f.png"},{emoji:"ð£",name:"motorway",shortcodes:["motorway"],tags:["highway","road"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6e3-fe0f.png"},{emoji:"ð¤",name:"railway_track",shortcodes:["railway_track"],tags:["railway","track","train"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6e4-fe0f.png"}
105,{emoji:"ð¢",name:"oil_drum",shortcodes:["oil_drum"],tags:["drum","oil"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6e2-fe0f.png"},{emoji:"â½",name:"fuelpump",shortcodes:["fuelpump"],tags:["diesel","fuel","fuelpump","gas","gasoline","pump","station"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26fd.png"},{emoji:"ð",name:"wheel",shortcodes:["wheel"],tags:["car","circle","tire","turn","vehicle"],group:"travel & places",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6de.png"},{emoji:"ð¨",name:"rotating_light",shortcodes:["rotating_light"],tags:["alarm","alert","beacon","car","emergency","light","police","revolving","siren"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a8.png"},{emoji:"ð¥",name:"traffic_light",shortcodes:["traffic_light"],tags:["horizontal","intersection","light","signal","stop","stoplight","traffic"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a5.png"},{emoji:"ð¦",name:"vertical_traffic_light",shortcodes:["vertical_traffic_light"],tags:["drove","intersection","light","signal","stop","stoplight","traffic","vertical"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a6.png"},{emoji:"ð",name:"stop_sign",shortcodes:["octagonal_sign","stop_sign"],tags:["octagonal","sign","stop"],group:"travel & places",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6d1.png"},{emoji:"ð§",name:"construction",shortcodes:["construction"],tags:["barrier"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a7.png"},{emoji:"â",name:"anchor",shortcodes:["anchor"],tags:["ship","tool"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2693.png"},{emoji:"ð",name:"ring_buoy",shortcodes:["lifebuoy","ring_buoy"],tags:["buoy","float","life","lifesaver","preserver","rescue","ring","safety","save","saver","swim"],group:"travel & places",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6df.png"},{emoji:"âµ",name:"boat",shortcodes:["sailboat"],tags:["boat","resort","sailing","sea","yacht"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f5.png"},{emoji:"ð¶",name:"canoe",shortcodes:["canoe"],tags:["boat"],group:"travel & places",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f6.png"},{emoji:"ð¤",name:"speedboat",shortcodes:["speedboat"],tags:["billionaire","boat","lake","luxury","millionaire","summer","travel"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a4.png"},{emoji:"ð³",name:"passenger_ship",shortcodes:["cruise_ship","passenger_ship"],tags:["passenger","ship"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f3-fe0f.png"},{emoji:"â´",name:"ferry",shortcodes:["ferry"],tags:["boat","passenger"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f4-fe0f.png"},{emoji:"ð¥",name:"motor_boat",shortcodes:["motorboat"],tags:["boat","motor","motorboat"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6e5-fe0f.png"},{emoji:"ð¢",name:"ship",shortcodes:["ship"],tags:["boat","passenger","travel"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a2.png"},{emoji:"â",name:"airplane",shortcodes:["airplane"],tags:["aeroplane","fly","flying","jet","plane","travel"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2708-fe0f.png"},{emoji:"ð©",name:"small_airplane",shortcodes:["small_airplane"],tags:["aeroplane","airplane","plane","small"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6e9-fe0f.png"},{emoji:"ð«",name:"flight_departure",shortcodes:["airplane_departure"],tags:["aeroplane","airplane","check-in","departure","departures","plane"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6eb.png"},{emoji:"ð¬",name:"flight_arrival",shortcodes:["airplane_arriving"],tags:["aeroplane","airplane","arrival","arrivals","arriving","landing","plane"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6ec.png"},{emoji:"ðª",name:"parachute",shortcodes:["parachute"],tags:["hang-glide","parasail","skydive"],group:"travel & places",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa82.png"},{emoji:"ðº",name:"seat",shortcodes:["seat"],tags:["chair"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ba.png"},{emoji:"ð",name:"helicopter",shortcodes:["helicopter"],tags:["copter","roflcopter","travel","vehicle"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f681.png"},{emoji:"ð",name:"suspension_railway",shortcodes:["suspension_railway"],tags:["railway","suspension"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f69f.png"},{emoji:"ð ",name:"mountain_cableway",shortcodes:["mountain_cableway"],tags:["cable","cableway","gondola","lift","mountain","ski"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a0.png"},{emoji:"ð¡",name:"aerial_tramway",shortcodes:["aerial_tramway"],tags:["aerial","cable","car","gondola","ropeway","tramway"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a1.png"},{emoji:"ð°",name:"artificial_satellite",shortcodes:["satellite"],tags:["space"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f0-fe0f.png"},{emoji:"ð",name:"rocket",shortcodes:["rocket"],tags:["launch","rockets","space","travel"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f680.png"},{emoji:"ð¸",name:"flying_saucer",shortcodes:["flying_saucer"],tags:["aliens","extra","flying","saucer","terrestrial","ufo"],group:"travel & places",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f8.png"},{emoji:"ð",name:"bellhop_bell",shortcodes:["bellhop"],tags:["bell","bellhop","hotel"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6ce-fe0f.png"},{emoji:"ð§³",name:"luggage",shortcodes:["luggage"],tags:["bag","packing","roller","suitcase","travel"],group:"travel & places",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f3.png"},{emoji:"â",name:"hourglass",shortcodes:["hourglass"],tags:["done","hourglass","sand","time","timer"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/231b.png"},{emoji:"â³",name:"hourglass_flowing_sand",shortcodes:["hourglass_flowing_sand"],tags:["done","flowing","hourglass","hours","not","sand","timer","waiting","yolo"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23f3.png"}
105,{emoji:"â",name:"watch",shortcodes:["watch"],tags:["clock","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/231a.png"},{emoji:"â°",name:"alarm_clock",shortcodes:["alarm_clock"],tags:["alarm","clock","hours","hrs","late","time","waiting"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23f0.png"},{emoji:"â±",name:"stopwatch",shortcodes:["stopwatch"],tags:["clock","time"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23f1-fe0f.png"},{emoji:"â²",name:"timer_clock",shortcodes:["timer_clock"],tags:["clock","timer"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23f2-fe0f.png"},{emoji:"ð°",name:"mantelpiece_clock",shortcodes:["clock"],tags:["clock","mantelpiece","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f570-fe0f.png"},{emoji:"ð",name:"clock12",shortcodes:["clock12"],tags:["12","12:00","clock","oâclock","time","twelve"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f55b.png"},{emoji:"ð§",name:"clock1230",shortcodes:["clock1230"],tags:["12","12:30","30","clock","thirty","time","twelve"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f567.png"},{emoji:"ð",name:"clock1",shortcodes:["clock1"],tags:["1","1:00","clock","one","oâclock","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f550.png"},{emoji:"ð",name:"clock130",shortcodes:["clock130"],tags:["1","1:30","30","clock","one","thirty","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f55c.png"},{emoji:"ð",name:"clock2",shortcodes:["clock2"],tags:["2","2:00","clock","oâclock","time","two"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f551.png"},{emoji:"ð",name:"clock230",shortcodes:["clock230"],tags:["2","2:30","30","clock","thirty","time","two"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f55d.png"},{emoji:"ð",name:"clock3",shortcodes:["clock3"],tags:["3","3:00","clock","oâclock","three","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f552.png"},{emoji:"ð",name:"clock330",shortcodes:["clock330"],tags:["3","30","3:30","clock","thirty","three","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f55e.png"},{emoji:"ð",name:"clock4",shortcodes:["clock4"],tags:["4","4:00","clock","four","oâclock","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f553.png"},{emoji:"ð",name:"clock430",shortcodes:["clock430"],tags:["30","4","4:30","clock","four","thirty","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f55f.png"},{emoji:"ð",name:"clock5",shortcodes:["clock5"],tags:["5","5:00","clock","five","oâclock","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f554.png"},{emoji:"ð ",name:"clock530",shortcodes:["clock530"],tags:["30","5","5:30","clock","five","thirty","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f560.png"},{emoji:"ð",name:"clock6",shortcodes:["clock6"],tags:["6","6:00","clock","oâclock","six","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f555.png"},{emoji:"ð¡",name:"clock630",shortcodes:["clock630"],tags:["30","6","6:30","clock","six","thirty"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f561.png"},{emoji:"ð",name:"clock7",shortcodes:["clock7"],tags:["0","7","7:00","clock","oâclock","seven"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f556.png"},{emoji:"ð¢",name:"clock730",shortcodes:["clock730"],tags:["30","7","7:30","clock","seven","thirty"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f562.png"},{emoji:"ð",name:"clock8",shortcodes:["clock8"],tags:["8","8:00","clock","eight","oâclock","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f557.png"},{emoji:"ð£",name:"clock830",shortcodes:["clock830"],tags:["30","8","8:30","clock","eight","thirty","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f563.png"},{emoji:"ð",name:"clock9",shortcodes:["clock9"],tags:["9","9:00","clock","nine","oâclock","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f558.png"},{emoji:"ð¤",name:"clock930",shortcodes:["clock930"],tags:["30","9","9:30","clock","nine","thirty","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f564.png"},{emoji:"ð",name:"clock10",shortcodes:["clock10"],tags:["0","10","10:00","clock","oâclock","ten"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f559.png"},{emoji:"ð¥",name:"clock1030",shortcodes:["clock1030"],tags:["10","10:30","30","clock","ten","thirty","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f565.png"},{emoji:"ð",name:"clock11",shortcodes:["clock11"],tags:["11","11:00","clock","eleven","oâclock","time"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f55a.png"},{emoji:"ð¦",name:"clock1130",shortcodes:["clock1130"],tags:["11","11:30","30","clock","eleven","thirty","time"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f566.png"},{emoji:"ð",name:"new_moon",shortcodes:["new_moon"],tags:["dark","moon","new","space"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f311.png"},{emoji:"ð",name:"waxing_crescent_moon",shortcodes:["waxing_crescent_moon"],tags:["crescent","dreams","moon","space","waxing"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f312.png"},{emoji:"ð",name:"first_quarter_moon",shortcodes:["first_quarter_moon"],tags:["first","moon","quarter","space"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f313.png"},{emoji:"ð",name:"moon",shortcodes:["waxing_gibbous_moon"],tags:["gibbous","moon","space","waxing"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f314.png"},{emoji:"ð",name:"full_moon",shortcodes:["full_moon"],tags:["full","moon","space"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f315.png"},{emoji:"ð",name:"waning_gibbous_moon",shortcodes:["waning_gibbous_moon"],tags:["gibbous","moon","space","waning"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f316.png"},{emoji:"ð",name:"last_quarter_moon",shortcodes:["last_quarter_moon"],tags:["last","moon","quarter","space"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f317.png"},{emoji:"ð",name:"waning_crescent_moon",shortcodes:["waning_crescent_moon"],tags:["crescent","moon","space","waning"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f318.png"},{emoji:"ð",name:"crescent_moon",shortcodes:["crescent_moon"],tags:["crescent","moon","ramadan","space"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f319.png"}
105,{emoji:"ð",name:"new_moon_with_face",shortcodes:["new_moon_with_face"],tags:["face","moon","new","space"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f31a.png"},{emoji:"ð",name:"first_quarter_moon_with_face",shortcodes:["first_quarter_moon_with_face"],tags:["face","first","moon","quarter","space"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f31b.png"},{emoji:"ð",name:"last_quarter_moon_with_face",shortcodes:["last_quarter_moon_with_face"],tags:["dreams","face","last","moon","quarter"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f31c.png"},{emoji:"ð¡",name:"thermometer",shortcodes:["thermometer"],tags:["weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f321-fe0f.png"},{emoji:"â",name:"sunny",shortcodes:["sun"],tags:["bright","rays","space","sunny","weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2600-fe0f.png"},{emoji:"ð",name:"full_moon_with_face",shortcodes:["full_moon_with_face"],tags:["bright","face","full","moon"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f31d.png"},{emoji:"ð",name:"sun_with_face",shortcodes:["sun_with_face"],tags:["beach","bright","day","face","heat","shine","sun","sunny","sunshine","weather"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f31e.png"},{emoji:"ðª",name:"ringed_planet",shortcodes:["ringed_planet","saturn"],tags:["planet","ringed","saturn","saturnine"],group:"travel & places",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa90.png"},{emoji:"â",name:"star",shortcodes:["star"],tags:["astronomy","medium","stars","white"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2b50.png"},{emoji:"ð",name:"star2",shortcodes:["glowing_star","star2"],tags:["glittery","glow","glowing","night","shining","sparkle","star","win"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f31f.png"},{emoji:"ð ",name:"stars",shortcodes:["shooting_star","stars"],tags:["falling","night","shooting","space","star"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f320.png"},{emoji:"ð",name:"milky_way",shortcodes:["milky_way"],tags:["milky","space","way"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f30c.png"},{emoji:"â",name:"cloud",shortcodes:["cloud"],tags:["weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2601-fe0f.png"},{emoji:"â
",name:"partly_sunny",shortcodes:["partly_sunny","sun_behind_cloud"],tags:["behind","cloud","cloudy","sun","weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26c5.png"},{emoji:"â",name:"cloud_with_lightning_and_rain",shortcodes:["stormy","thunder_cloud_and_rain"],tags:["cloud","lightning","rain","thunder","thunderstorm"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26c8-fe0f.png"},{emoji:"ð¤",name:"sun_behind_small_cloud",shortcodes:["sun_behind_small_cloud","sunny"],tags:["behind","cloud","sun","weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f324-fe0f.png"},{emoji:"ð¥",name:"sun_behind_large_cloud",shortcodes:["cloudy","sun_behind_large_cloud"],tags:["behind","cloud","sun","weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f325-fe0f.png"},{emoji:"ð¦",name:"sun_behind_rain_cloud",shortcodes:["sun_and_rain","sun_behind_rain_cloud"],tags:["behind","cloud","rain","sun","weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f326-fe0f.png"},{emoji:"ð§",name:"cloud_with_rain",shortcodes:["cloud_with_rain","rainy"],tags:["cloud","rain","weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f327-fe0f.png"},{emoji:"ð¨",name:"cloud_with_snow",shortcodes:["cloud_with_snow","snowy"],tags:["cloud","cold","snow","weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f328-fe0f.png"},{emoji:"ð©",name:"cloud_with_lightning",shortcodes:["cloud_with_lightning","lightning"],tags:["cloud","lightning","weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f329-fe0f.png"},{emoji:"ðª",name:"tornado",shortcodes:["tornado"],tags:["cloud","weather","whirlwind"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f32a-fe0f.png"},{emoji:"ð«",name:"fog",shortcodes:["fog"],tags:["cloud","weather"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f32b-fe0f.png"},{emoji:"ð¬",name:"wind_face",shortcodes:["wind_blowing_face"],tags:["blow","cloud","face","wind"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f32c-fe0f.png"},{emoji:"ð",name:"cyclone",shortcodes:["cyclone"],tags:["dizzy","hurricane","twister","typhoon","weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f300.png"},{emoji:"ð",name:"rainbow",shortcodes:["rainbow"],tags:["gay","genderqueer","glbt","glbtq","lesbian","lgbt","lgbtq","lgbtqia","nature","pride","queer","rain","trans","transgender","weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f308.png"},{emoji:"ð",name:"closed_umbrella",shortcodes:["closed_umbrella"],tags:["closed","clothing","rain","umbrella"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f302.png"},{emoji:"â",name:"open_umbrella",shortcodes:["umbrella"],tags:["clothing","rain"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2602-fe0f.png"},{emoji:"â",name:"umbrella",shortcodes:["umbrella_with_rain"],tags:["clothing","drop","drops","rain","umbrella","weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2614.png"},{emoji:"â±",name:"parasol_on_ground",shortcodes:["beach_umbrella","umbrella_on_ground"],tags:["ground","rain","sun","umbrella"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f1-fe0f.png"},{emoji:"â¡",name:"zap",shortcodes:["high_voltage","zap"],tags:["danger","electric","electricity","high","lightning","nature","thunder","thunderbolt","voltage","zap"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26a1.png"},{emoji:"â",name:"snowflake",shortcodes:["snowflake"],tags:["cold","snow","weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2744-fe0f.png"},{emoji:"â",name:"snowman_with_snow",shortcodes:["snowman2"],tags:["cold","man","snow"],group:"travel & places",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2603-fe0f.png"},{emoji:"â",name:"snowman",shortcodes:["snowman"],tags:["cold","man","snow","snowman"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26c4.png"},{emoji:"â",name:"comet",shortcodes:["comet"],tags:["space"],group:"travel & places",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2604-fe0f.png"},{emoji:"ð¥",name:"fire",shortcodes:["fire"],tags:["af","burn","flame","hot","lit","litaf","tool"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f525.png"},{emoji:"ð§",name:"droplet",shortcodes:["droplet"],tags:["cold","comic","drop","nature","sad","sweat","tear","water","weather"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a7.png"},{emoji:"ð",name:"ocean",shortcodes:["ocean","water_wave"],tags:["nature","ocean","surf","surfer","surfing","water","wave"],group:"travel & places",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f30a.png"},{emoji:"ð",name:"jack_o_lantern",shortcodes:["jack_o_lantern"],tags:["celebration","halloween","jack","lantern","pumpkin"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f383.png"},{emoji:"ð",name:"christmas_tree",shortcodes:["christmas_tree"],tags:["celebration","christmas","tree"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f384.png"},{emoji:"ð",name:"fireworks",shortcodes:["fireworks"],tags:["boom","celebration","entertainment","yolo"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f386.png"},{emoji:"ð",name:"sparkler",shortcodes:["sparkler"],tags:["boom","celebration","fireworks","
105sparkle"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f387.png"},{emoji:"ð§¨",name:"firecracker",shortcodes:["firecracker"],tags:["dynamite","explosive","fire","fireworks","light","pop","popping","spark"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e8.png"},{emoji:"â¨",name:"sparkles",shortcodes:["sparkles"],tags:["*","magic","sparkle","star"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2728.png"},{emoji:"ð",name:"balloon",shortcodes:["balloon"],tags:["birthday","celebrate","celebration"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f388.png"},{emoji:"ð",name:"tada",shortcodes:["party","party_popper","tada"],tags:["awesome","birthday","celebrate","celebration","excited","hooray","party","popper","tada","woohoo"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f389.png"},{emoji:"ð",name:"confetti_ball",shortcodes:["confetti_ball"],tags:["ball","celebrate","celebration","confetti","party","woohoo"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f38a.png"},{emoji:"ð",name:"tanabata_tree",shortcodes:["tanabata_tree"],tags:["banner","celebration","japanese","tanabata","tree"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f38b.png"},{emoji:"ð",name:"bamboo",shortcodes:["bamboo"],tags:["bamboo","celebration","decoration","japanese","pine","plant"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f38d.png"},{emoji:"ð",name:"dolls",shortcodes:["dolls"],tags:["celebration","doll","dolls","festival","japanese"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f38e.png"},{emoji:"ð",name:"flags",shortcodes:["carp_streamer","flags"],tags:["carp","celebration","streamer"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f38f.png"},{emoji:"ð",name:"wind_chime",shortcodes:["wind_chime"],tags:["bell","celebration","chime","wind"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f390.png"},{emoji:"ð",name:"rice_scene",shortcodes:["moon_ceremony","rice_scene"],tags:["celebration","ceremony","moon","viewing"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f391.png"},{emoji:"ð§§",name:"red_envelope",shortcodes:["red_envelope"],tags:["envelope","gift","good","hóngbÄo","lai","luck","money","red","see"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e7.png"},{emoji:"ð",name:"ribbon",shortcodes:["ribbon"],tags:["celebration"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f380.png"},{emoji:"ð",name:"gift",shortcodes:["gift"],tags:["birthday","bow","box","celebration","christmas","gift","present","surprise","wrapped"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f381.png"},{emoji:"ð",name:"reminder_ribbon",shortcodes:["reminder_ribbon"],tags:["celebration","reminder","ribbon"],group:"activities",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f397-fe0f.png"},{emoji:"ð",name:"tickets",shortcodes:["admission_tickets","tickets"],tags:["admission","ticket","tickets"],group:"activities",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f39f-fe0f.png"},{emoji:"ð«",name:"ticket",shortcodes:["ticket"],tags:["admission","stub"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ab.png"},{emoji:"ð",name:"medal_military",shortcodes:["military_medal"],tags:["award","celebration","medal","military"],group:"activities",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f396-fe0f.png"},{emoji:"ð",name:"trophy",shortcodes:["trophy"],tags:["champion","champs","prize","slay","sport","victory","win","winning"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c6.png"},{emoji:"ð
",name:"medal_sports",shortcodes:["sports_medal"],tags:["award","gold","medal","sports","winner"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c5.png"},{emoji:"ð¥",name:"1st_place_medal",shortcodes:["1st","first_place_medal"],tags:["1st","first","gold","medal","place"],group:"activities",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f947.png"},{emoji:"ð¥",name:"2nd_place_medal",shortcodes:["2nd","second_place_medal"],tags:["2nd","medal","place","second","silver"],group:"activities",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f948.png"},{emoji:"ð¥",name:"3rd_place_medal",shortcodes:["3rd","third_place_medal"],tags:["3rd","bronze","medal","place","third"],group:"activities",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f949.png"},{emoji:"â½",name:"soccer",shortcodes:["soccer"],tags:["ball","football","futbol","soccer","sport"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26bd.png"},{emoji:"â¾",name:"baseball",shortcodes:["baseball"],tags:["ball","sport"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26be.png"},{emoji:"ð¥",name:"softball",shortcodes:["softball"],tags:["ball","glove","sports","underarm"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f94e.png"},{emoji:"ð",name:"basketball",shortcodes:["basketball"],tags:["ball","hoop","sport"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c0.png"},{emoji:"ð",name:"volleyball",shortcodes:["volleyball"],tags:["ball","game"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d0.png"},{emoji:"ð",name:"football",shortcodes:["football"],tags:["american","ball","bowl","football","sport","super"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c8.png"},{emoji:"ð",name:"rugby_football",shortcodes:["rugby_football"],tags:["ball","football","rugby","sport"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c9.png"},{emoji:"ð¾",name:"tennis",shortcodes:["tennis"],tags:["ball","racquet","sport"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3be.png"},{emoji:"ð¥",name:"flying_disc",shortcodes:["flying_disc"],tags:["disc","flying","ultimate"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f94f.png"},{emoji:"ð³",name:"bowling",shortcodes:["bowling"],tags:["ball","game","sport","strike"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b3.png"},{emoji:"ð",name:"cricket_game",shortcodes:["cricket_game"],tags:["ball","bat","cricket","game"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3cf.png"},{emoji:"ð",name:"field_hockey",shortcodes:["field_hockey"],tags:["ball","field","game","hockey","stick"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d1.png"},{emoji:"ð",name:"ice_hockey",shortcodes:["hockey"],tags:["game","hockey","ice","puck","stick"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d2.png"},{emoji:"ð¥",name:"lacrosse",shortcodes:["lacrosse"],tags:["ball","goal","sports","stick"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f94d.png"},{emoji:"ð",name:"ping_pong",shortcodes:["ping_pong"],tags:["ball","bat","game","paddle","ping","pingpong","pong","table","tennis"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3d3.png"}
105,{emoji:"ð¸",name:"badminton",shortcodes:["badminton"],tags:["birdie","game","racquet","shuttlecock"],group:"activities",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f8.png"},{emoji:"ð¥",name:"boxing_glove",shortcodes:["boxing_glove"],tags:["boxing","glove"],group:"activities",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f94a.png"},{emoji:"ð¥",name:"martial_arts_uniform",shortcodes:["martial_arts_uniform"],tags:["arts","judo","karate","martial","taekwondo","uniform"],group:"activities",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f94b.png"},{emoji:"ð¥
",name:"goal_net",shortcodes:["goal_net"],tags:["goal","net"],group:"activities",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f945.png"},{emoji:"â³",name:"golf",shortcodes:["golf"],tags:["flag","golf","hole","sport"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f3.png"},{emoji:"â¸",name:"ice_skate",shortcodes:["ice_skate"],tags:["ice","skate","skating"],group:"activities",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26f8-fe0f.png"},{emoji:"ð£",name:"fishing_pole_and_fish",shortcodes:["fishing_pole","fishing_pole_and_fish"],tags:["entertainment","fish","fishing","pole","sport"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a3.png"},{emoji:"ð¤¿",name:"diving_mask",shortcodes:["diving_mask"],tags:["diving","mask","scuba","snorkeling"],group:"activities",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f93f.png"},{emoji:"ð½",name:"running_shirt_with_sash",shortcodes:["running_shirt","running_shirt_with_sash"],tags:["athletics","running","sash","shirt"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3bd.png"},{emoji:"ð¿",name:"ski",shortcodes:["ski"],tags:["ski","snow","sport"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3bf.png"},{emoji:"ð·",name:"sled",shortcodes:["sled"],tags:["luge","sledge","sleigh","snow","toboggan"],group:"activities",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6f7.png"},{emoji:"ð¥",name:"curling_stone",shortcodes:["curling_stone"],tags:["curling","game","rock","stone"],group:"activities",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f94c.png"},{emoji:"ð¯",name:"dart",shortcodes:["bullseye","dart","direct_hit"],tags:["bull","dart","direct","entertainment","game","hit","target"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3af.png"},{emoji:"ðª",name:"yo_yo",shortcodes:["yo_yo"],tags:["fluctuate","toy"],group:"activities",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa80.png"},{emoji:"ðª",name:"kite",shortcodes:["kite"],tags:["fly","soar"],group:"activities",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa81.png"},{emoji:"ð«",name:"gun",shortcodes:["gun","pistol"],tags:["gun","handgun","pistol","revolver","tool","water","weapon"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f52b.png"},{emoji:"ð±",name:"8ball",shortcodes:["8ball","billiards"],tags:["8","8ball","ball","billiard","eight","game","pool"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b1.png"},{emoji:"ð®",name:"crystal_ball",shortcodes:["crystal_ball"],tags:["ball","crystal","fairy","fairytale","fantasy","fortune","future","magic","tale","tool"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f52e.png"},{emoji:"ðª",name:"magic_wand",shortcodes:["magic_wand"],tags:["magic","magician","wand","witch","wizard"],group:"activities",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa84.png"},{emoji:"ð®",name:"video_game",shortcodes:["controller","video_game"],tags:["controller","entertainment","game","video"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ae.png"},{emoji:"ð¹",name:"joystick",shortcodes:["joystick"],tags:["game","video","videogame"],group:"activities",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f579-fe0f.png"},{emoji:"ð°",name:"slot_machine",shortcodes:["slot_machine"],tags:["casino","gamble","gambling","game","machine","slot","slots"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b0.png"},{emoji:"ð²",name:"game_die",shortcodes:["game_die"],tags:["dice","die","entertainment","game"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b2.png"},{emoji:"ð§©",name:"jigsaw",shortcodes:["jigsaw","puzzle_piece"],tags:["clue","interlocking","jigsaw","piece","puzzle"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e9.png"},{emoji:"ð§¸",name:"teddy_bear",shortcodes:["teddy_bear"],tags:["bear","plaything","plush","stuffed","teddy","toy"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f8.png"},{emoji:"ðª
",name:"pinata",shortcodes:["pinata"],tags:["candy","celebrate","celebration","cinco","de","festive","mayo","party","pinada","pinata"],group:"activities",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa85.png"},{emoji:"ðª©",name:"mirror_ball",shortcodes:["disco","disco_ball","mirror_ball"],tags:["ball","dance","disco","glitter","mirror","party"],group:"activities",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa9.png"},{emoji:"ðª",name:"nesting_dolls",shortcodes:["nesting_dolls"],tags:["babooshka","baboushka","babushka","doll","dolls","matryoshka","nesting","russia"],group:"activities",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa86.png"},{emoji:"â ",name:"spades",shortcodes:["spades"],tags:["card","game","spade","suit"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2660-fe0f.png"},{emoji:"â¥",name:"hearts",shortcodes:["hearts"],tags:["card","emotion","game","heart","hearts","suit"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2665-fe0f.png"},{emoji:"â¦",name:"diamonds",shortcodes:["diamonds"],tags:["card","diamond","game","suit"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2666-fe0f.png"},{emoji:"â£",name:"clubs",shortcodes:["clubs"],tags:["card","club","clubs","game","suit"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2663-fe0f.png"},{emoji:"â",name:"chess_pawn",shortcodes:["chess_pawn"],tags:["chess","dupe","expendable","pawn"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/265f-fe0f.png"},{emoji:"ð",name:"black_joker",shortcodes:["black_joker"],tags:["card","game","wildcard"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f0cf.png"},{emoji:"ð",name:"mahjong",shortcodes:["mahjong"],tags:["dragon","game","mahjong","red"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f004.png"},{emoji:"ð´",name:"flower_playing_cards",shortcodes:["flower_playing_cards"],tags:["card","cards","flower","game","japanese","playing"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b4.png"},{emoji:"ð",name:"performing_arts",shortcodes:["performing_arts"],tags:["actor","actress","art","arts","entertainment","mask","performing","theater","theatre","thespian"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ad.png"},{emoji:"ð¼",name:"framed_picture",shortcodes:["frame_with_picture","framed_picture"],tags:["art","frame","framed","museum","painting","picture"],group:"activities",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5bc-fe0f.png"},{emoji:"ð¨",name:"art",shortcodes:["art","palette"],tags:["art","artist","artsy","arty","colorful","creative","entertainment","museum","painter","painting","palette"],group:"activities",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a8.png"},{emoji:"ð§µ",name:"thread",shortcodes:["thread"],tags:["needle","sewing","spool","string"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f5.png"},{emoji:"ðª¡",name:"sewing_needle",shortcodes:["sewing_needle"],tags:["embroidery","needle","sew","sewing","stitches","sutures","tailoring","thread"],group:"activities",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa1.png"},{emoji:"ð§¶",name:"yarn",shortcodes:["yarn"],tags:["ball","crochet","knit"],group:"activities",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f6.png"},{emoji:"ðª¢",name:"knot",shortcodes:["knot"],tags:["cord","rope","tangled","tie","t
105wine","twist"],group:"activities",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa2.png"},{emoji:"ð",name:"eyeglasses",shortcodes:["eyeglasses","glasses"],tags:["clothing","eye","eyeglasses","eyewear"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f453.png"},{emoji:"ð¶",name:"dark_sunglasses",shortcodes:["sunglasses"],tags:["dark","eye","eyewear","glasses"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f576-fe0f.png"},{emoji:"ð¥½",name:"goggles",shortcodes:["goggles"],tags:["dive","eye","protection","scuba","swimming","welding"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f97d.png"},{emoji:"ð¥¼",name:"lab_coat",shortcodes:["lab_coat"],tags:["clothes","coat","doctor","dr","experiment","jacket","lab","scientist","white"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f97c.png"},{emoji:"ð¦º",name:"safety_vest",shortcodes:["safety_vest"],tags:["emergency","safety","vest"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ba.png"},{emoji:"ð",name:"necktie",shortcodes:["necktie"],tags:["clothing","employed","serious","shirt","tie"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f454.png"},{emoji:"ð",name:"shirt",shortcodes:["shirt"],tags:["blue","casual","clothes","clothing","collar","dressed","shirt","shopping","tshirt","weekend"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f455.png"},{emoji:"ð",name:"jeans",shortcodes:["jeans"],tags:["blue","casual","clothes","clothing","denim","dressed","pants","shopping","trousers","weekend"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f456.png"},{emoji:"ð§£",name:"scarf",shortcodes:["scarf"],tags:["bundle","cold","neck","up"],group:"objects",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e3.png"},{emoji:"ð§¤",name:"gloves",shortcodes:["gloves"],tags:["hand"],group:"objects",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e4.png"},{emoji:"ð§¥",name:"coat",shortcodes:["coat"],tags:["brr","bundle","cold","jacket","up"],group:"objects",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e5.png"},{emoji:"ð§¦",name:"socks",shortcodes:["socks"],tags:["stocking"],group:"objects",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e6.png"},{emoji:"ð",name:"dress",shortcodes:["dress"],tags:["clothes","clothing","dressed","fancy","shopping"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f457.png"},{emoji:"ð",name:"kimono",shortcodes:["kimono"],tags:["clothing","comfortable"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f458.png"},{emoji:"ð¥»",name:"sari",shortcodes:["sari"],tags:["clothing","dress"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f97b.png"},{emoji:"ð©±",name:"one_piece_swimsuit",shortcodes:["one_piece_swimsuit"],tags:["bathing","one-piece","suit","swimsuit"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa71.png"},{emoji:"ð©²",name:"swim_brief",shortcodes:["briefs"],tags:["bathing","one-piece","suit","swimsuit","underwear"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa72.png"},{emoji:"ð©³",name:"shorts",shortcodes:["shorts"],tags:["bathing","pants","suit","swimsuit","underwear"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa73.png"},{emoji:"ð",name:"bikini",shortcodes:["bikini"],tags:["bathing","beach","clothing","pool","suit","swim"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f459.png"},{emoji:"ð",name:"womans_clothes",shortcodes:["womans_clothes"],tags:["blouse","clothes","clothing","collar","dress","dressed","lady","shirt","shopping","woman","womanâs"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f45a.png"},{emoji:"ðª",name:"folding_hand_fan",shortcodes:["folding_fan"],tags:["clack","clap","cool","cooling","dance","fan","flirt","flutter","folding","hand","hot","shy"],group:"objects",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faad.png"}
105,{emoji:"ð",name:"purse",shortcodes:["purse"],tags:["clothes","clothing","coin","dress","fancy","handbag","shopping"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f45b.png"},{emoji:"ð",name:"handbag",shortcodes:["handbag"],tags:["bag","clothes","clothing","dress","lady","purse","shopping"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f45c.png"},{emoji:"ð",name:"pouch",shortcodes:["clutch_bag","pouch"],tags:["bag","clothes","clothing","clutch","dress","handbag","pouch","purse"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f45d.png"},{emoji:"ð",name:"shopping",shortcodes:["shopping_bags"],tags:["bag","bags","hotel","shopping"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6cd-fe0f.png"},{emoji:"ð",name:"school_satchel",shortcodes:["backpack","school_satchel"],tags:["backpacking","bag","bookbag","education","rucksack","satchel","school"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f392.png"},{emoji:"ð©´",name:"thong_sandal",shortcodes:["thong_sandal"],tags:["beach","flip","flop","sandal","sandals","shoe","thong","thongs","zÅri"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa74.png"},{emoji:"ð",name:"mans_shoe",shortcodes:["mans_shoe"],tags:["brown","clothes","clothing","feet","foot","kick","man","manâs","shoe","shoes","shopping"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f45e.png"},{emoji:"ð",name:"athletic_shoe",shortcodes:["athletic_shoe","sneaker"],tags:["athletic","clothes","clothing","fast","kick","running","shoe","shoes","shopping","sneaker","tennis"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f45f.png"},{emoji:"ð¥¾",name:"hiking_boot",shortcodes:["hiking_boot"],tags:["backpacking","boot","brown","camping","hiking","outdoors","shoe"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f97e.png"},{emoji:"ð¥¿",name:"flat_shoe",shortcodes:["flat_shoe","womans_flat_shoe"],tags:["ballet","comfy","flat","flats","shoe","slip-on","slipper"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f97f.png"},{emoji:"ð ",name:"high_heel",shortcodes:["high_heel"],tags:["clothes","clothing","dress","fashion","heel","heels","high-heeled","shoe","shoes","shopping","stiletto","woman"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f460.png"},{emoji:"ð¡",name:"sandal",shortcodes:["sandal"],tags:["clothing","sandal","shoe","woman","womanâs"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f461.png"},{emoji:"ð©°",name:"ballet_shoes",shortcodes:["ballet_shoes"],tags:["ballet","dance","shoes"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa70.png"},{emoji:"ð¢",name:"boot",shortcodes:["boot"],tags:["boot","clothes","clothing","dress","shoe","shoes","shopping","woman","womanâs"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f462.png"},{emoji:"ðª®",name:"hair_pick",shortcodes:["hair_pick"],tags:["afro","comb","groom","hair","pick"],group:"objects",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faae.png"},{emoji:"ð",name:"crown",shortcodes:["crown"],tags:["clothing","family","king","medieval","queen","royal","royalty","win"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f451.png"},{emoji:"ð",name:"womans_hat",shortcodes:["womans_hat"],tags:["clothes","clothing","garden","hat","hats","party","woman","womanâs"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f452.png"},{emoji:"ð©",name:"tophat",shortcodes:["top_hat","tophat"],tags:["clothes","clothing","fancy","formal","hat","magic","top","tophat"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a9.png"},{emoji:"ð",name:"mortar_board",shortcodes:["graduation_cap","mortar_board"],tags:["cap","celebration","clothing","education","graduation","hat","scholar"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f393.png"},{emoji:"ð§¢",name:"billed_cap",shortcodes:["billed_cap"],tags:["baseball","bent","billed","cap","dad","hat"],group:"objects",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9e2.png"},{emoji:"ðª",name:"military_helmet",shortcodes:["military_helmet"],tags:["army","helmet","military","soldier","war","warrior"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa96.png"},{emoji:"â",name:"rescue_worker_helmet",shortcodes:["helmet_with_cross","rescue_worker_helmet"],tags:["aid","cross","face","hat","helmet","rescue","workerâs"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26d1-fe0f.png"},{emoji:"ð¿",name:"prayer_beads",shortcodes:["prayer_beads"],tags:["beads","clothing","necklace","prayer","religion"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ff.png"},{emoji:"ð",name:"lipstick",shortcodes:["lipstick"],tags:["cosmetics","date","makeup"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f484.png"},{emoji:"ð",name:"ring",shortcodes:["ring"],tags:["diamond","engaged","engagement","married","romance","shiny","sparkling","
105wedding"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f48d.png"},{emoji:"ð",name:"gem",shortcodes:["gem"],tags:["diamond","engagement","gem","jewel","money","romance","stone","wedding"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f48e.png"},{emoji:"ð",name:"mute",shortcodes:["mute","no_sound"],tags:["mute","muted","quiet","silent","sound","speaker"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f507.png"},{emoji:"ð",name:"speaker",shortcodes:["low_volume","quiet_sound","speaker"],tags:["low","soft","sound","speaker","volume"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f508.png"},{emoji:"ð",name:"sound",shortcodes:["medium_volumne","sound"],tags:["medium","sound","speaker","volume"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f509.png"},{emoji:"ð",name:"loud_sound",shortcodes:["high_volume","loud_sound"],tags:["high","loud","music","sound","speaker","volume"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f50a.png"},{emoji:"ð¢",name:"loudspeaker",shortcodes:["loudspeaker"],tags:["address","communication","loud","public","sound"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e2.png"},{emoji:"ð£",name:"mega",shortcodes:["mega","megaphone"],tags:["cheering","sound"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e3.png"},{emoji:"ð¯",name:"postal_horn",shortcodes:["postal_horn"],tags:["horn","post","postal"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ef.png"},{emoji:"ð",name:"bell",shortcodes:["bell"],tags:["break","church","sound"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f514.png"},{emoji:"ð",name:"no_bell",shortcodes:["no_bell"],tags:["bell","forbidden","mute","no","not","prohibited","quiet","silent","slash","sound"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f515.png"},{emoji:"ð¼",name:"musical_score",shortcodes:["musical_score"],tags:["music","musical","note","score"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3bc.png"},{emoji:"ðµ",name:"musical_note",shortcodes:["musical_note"],tags:["music","musical","note","sound"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b5.png"},{emoji:"ð¶",name:"notes",shortcodes:["musical_notes","notes"],tags:["music","musical","note","notes","sound"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b6.png"},{emoji:"ð",name:"studio_microphone",shortcodes:["studio_microphone"],tags:["mic","microphone","music","studio"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f399-fe0f.png"},{emoji:"ð",name:"level_slider",shortcodes:["level_slider"],tags:["level","music","slider"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f39a-fe0f.png"},{emoji:"ð",name:"control_knobs",shortcodes:["control_knobs"],tags:["control","knobs","music"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f39b-fe0f.png"},{emoji:"ð¤",name:"microphone",shortcodes:["microphone"],tags:["karaoke","mic","music","sing","sound"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a4.png"},{emoji:"ð§",name:"headphones",shortcodes:["headphones"],tags:["earbud","sound"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a7.png"},{emoji:"ð»",name:"radio",shortcodes:["radio"],tags:["entertainment","tbt","video"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4fb.png"},{emoji:"ð·",name:"saxophone",shortcodes:["saxophone"],tags:["instrument","music","sax"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b7.png"},{emoji:"ðº",name:"trumpet",shortcodes:["trumpet"],tags:["instrument","music"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ba.png"},{emoji:"ðª",name:"trombone",shortcodes:["trombone"],tags:["brass","instrument","jazz","music","sad","slide"],group:"objects",emoticons:[],version:17},{emoji:"ðª",name:"accordion",shortcodes:["accordion"],tags:["box","concertina","instrument","music","squeeze","squeezebox"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa97.png"},{emoji:"ð¸",name:"guitar",shortcodes:["guitar"],tags:["instrument","music","strat"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b8.png"},{emoji:"ð¹",name:"musical_keyboard",shortcodes:["musical_keyboard"],tags:["instrument","keyboard","music","musical","piano"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3b9.png"},{emoji:"ð»",name:"violin",shortcodes:["violin"],tags:["instrument","music"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3bb.png"},{emoji:"ðª",name:"banjo",shortcodes:["banjo"],tags:["music","stringed"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa95.png"},{emoji:"ð¥",name:"drum",shortcodes:["drum"],tags:["drumsticks","music"],group:"objects",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f941.png"},{emoji:"ðª",name:"long_drum",shortcodes:["long_drum"],tags:["beat","conga","drum","instrument","long","rhythm"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa98.png"},{emoji:"ðª",name:"maracas",shortcodes:["maracas"],tags:["cha","dance","instrument","music","party","percussion","rattle","shake","shaker"],group:"objects",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa87.png"},{emoji:"ðª",name:"flute",shortcodes:["flute"],tags:["band","fife","flautist","instrument","marching","music","orchestra","piccolo","pipe","recorder","woodwind"],group:"objects",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa88.png"},{emoji:"ðª",name:"harp",shortcodes:["harp"],tags:["cupid","instrument","love","music","orchestra"],group:"objects",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa89.png"},{emoji:"ð±",name:"iphone",shortcodes:["android","iphone","mobile_phone"],tags:["cell","communication","mobile","phone","telephone"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f1.png"},{emoji:"ð²",name:"calling",shortcodes:["calling","mobile_phone_arrow"],tags:["arrow","build","call","cell","communication","mobile","phone","receive","telephone"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f2.png"},{emoji:"â",name:"phone",shortcodes:["telephone"],tags:["phone"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/260e-fe0f.png"},{emoji:"ð",name:"telephone_receiver",shortcodes:["telephone_receiver"],tags:["communication","phone","receiver","telephone","voip"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4de.png"},{emoji:"ð",name:"pager",shortcodes:["pager"],tags:["communication"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4df.png"},{emoji:"ð ",name:"fax",shortcodes:["fax","fax_machine"],tags:["communication","fax","machine"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e0.png"},{emoji:"ð",name:"battery",shortcodes:["battery"],tags:["battery"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f50b.png"},{emoji:"ðª«",name:"low_battery",shortcodes:["low_battery"],tags:["battery","drained","electronic","energy","low","power"],group:"objects",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faab.png"},{emoji:"ð",name:"electric_plug",shortcodes:["electric_plug"],tags:["electric","electricity","plug"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f50c.png"},{emoji:"ð»",name:"computer",shortcodes:["laptop"],tags:["computer","office","pc","personal"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4bb.png"},{emoji:"ð¥",name:"desktop_computer",shortcodes:["computer","desktop_computer"],tags:["computer","desktop","monitor"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5a5-fe0f.png"},{emoji:"ð¨",name:"printer",shortcodes:["printer"],tags:["computer"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5a8-fe0f.png"},{emoji:"â¨",name:"keyboard",shortcodes:["keyboard"],tags:["computer"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2328-fe0f.png"},{emoji:"ð±",name:"computer_mouse",shortcodes:["computer_mouse"],tags:["computer","mouse"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5b1-fe0f.png"},{emoji:"ð²",name:"trackball",shortcodes:["trackball"],tags:["computer"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5b2-fe0f.png"},{emoji:"ð½",name:"minidisc",shortcodes:["computer_disk","minidisc"],tags:["computer","disk","minidisk","optical"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4bd.png"}
105,{emoji:"ð¾",name:"floppy_disk",shortcodes:["floppy_disk"],tags:["computer","disk","floppy"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4be.png"},{emoji:"ð¿",name:"cd",shortcodes:["cd","optical_disk"],tags:["blu-ray","cd","computer","disk","dvd","optical"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4bf.png"},{emoji:"ð",name:"dvd",shortcodes:["dvd"],tags:["blu-ray","cd","computer","disk","optical"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c0.png"},{emoji:"ð§®",name:"abacus",shortcodes:["abacus"],tags:["calculation","calculator"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ee.png"},{emoji:"ð¥",name:"movie_camera",shortcodes:["movie_camera"],tags:["bollywood","camera","cinema","film","hollywood","movie","record"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a5.png"},{emoji:"ð",name:"film_strip",shortcodes:["film_frames"],tags:["cinema","film","frames","movie"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f39e-fe0f.png"},{emoji:"ð½",name:"film_projector",shortcodes:["film_projector"],tags:["cinema","film","movie","projector","video"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4fd-fe0f.png"},{emoji:"ð¬",name:"clapper",shortcodes:["clapper"],tags:["action","board","clapper","movie"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ac.png"},{emoji:"ðº",name:"tv",shortcodes:["tv"],tags:["tv","video"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4fa.png"},{emoji:"ð·",name:"camera",shortcodes:["camera"],tags:["photo","selfie","snap","tbt","trip","video"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f7.png"},{emoji:"ð¸",name:"camera_flash",shortcodes:["camera_with_flash"],tags:["camera","flash","video"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f8.png"},{emoji:"ð¹",name:"video_camera",shortcodes:["video_camera"],tags:["camcorder","camera","tbt","video"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f9.png"},{emoji:"ð¼",name:"vhs",shortcodes:["vhs","videocassette"],tags:["old","school","tape","vcr","vhs","video"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4fc.png"},{emoji:"ð",name:"mag",shortcodes:["mag"],tags:["glass","lab","left","left-pointing","magnifying","science","search","tilted","tool"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f50d.png"},{emoji:"ð",name:"mag_right",shortcodes:["mag_right"],tags:["contact","glass","lab","magnifying","right","right-pointing","science","search","tilted","tool"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f50e.png"},{emoji:"ð¯",name:"candle",shortcodes:["candle"],tags:["light"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f56f-fe0f.png"},{emoji:"ð¡",name:"bulb",shortcodes:["bulb","light_bulb"],tags:["bulb","comic","electric","idea","light"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a1.png"},{emoji:"ð¦",name:"flashlight",shortcodes:["flashlight"],tags:["electric","light","tool","torch"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f526.png"},{emoji:"ð®",name:"izakaya_lantern",shortcodes:["izakaya_lantern","red_paper_lantern"],tags:["bar","lantern","light","paper","red","restaurant"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3ee.png"},{emoji:"ðª",name:"diya_lamp",shortcodes:["diya_lamp"],tags:["diya","lamp","light","oil"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa94.png"},{emoji:"ð",name:"notebook_with_decorative_cover",shortcodes:["notebook_with_decorative_cover"],tags:["book","cover","decorated","decorative","education","notebook","school","writing"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d4.png"},{emoji:"ð",name:"closed_book",shortcodes:["closed_book"],tags:["book","closed","education"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d5.png"},{emoji:"ð",name:"book",shortcodes:["book","open_book"],tags:["book","education","fantasy","knowledge","library","novels","open","reading"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d6.png"},{emoji:"ð",name:"green_book",shortcodes:["green_book"],tags:["book","education","fantasy","green","library","reading"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d7.png"},{emoji:"ð",name:"blue_book",shortcodes:["blue_book"],tags:["blue","book","education","fantasy","library","reading"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d8.png"},{emoji:"ð",name:"orange_book",shortcodes:["orange_book"],tags:["book","education","fantasy","library","orange","reading"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d9.png"},{emoji:"ð",name:"books",shortcodes:["books"],tags:["book","education","fantasy","knowledge","library","novels","reading","school","study"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4da.png"},{emoji:"ð",name:"notebook",shortcodes:["notebook"],tags:["notebook"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d3.png"},{emoji:"ð",name:"ledger",shortcodes:["ledger"],tags:["notebook"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d2.png"},{emoji:"ð",name:"page_with_curl",shortcodes:["page_with_curl"],tags:["curl","document","page","paper"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c3.png"},{emoji:"ð",name:"scroll",shortcodes:["scroll"],tags:["paper"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4dc.png"},{emoji:"ð",name:"page_facing_up",shortcodes:["page_facing_up"],tags:["document","facing","page","paper","up"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c4.png"},{emoji:"ð°",name:"newspaper",shortcodes:["newspaper"],tags:["communication","news","paper"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f0.png"},{emoji:"ð",name:"newspaper_roll",shortcodes:["rolled_up_newspaper"],tags:["news","newspaper","paper","rolled","rolled-up"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5de-fe0f.png"},{emoji:"ð",name:"bookmark_tabs",shortcodes:["bookmark_tabs"],tags:["bookmark","mark","marker","tabs"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d1.png"},{emoji:"ð",name:"bookmark",shortcodes:["bookmark"],tags:["mark"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f516.png"},{emoji:"ð·",name:"label",shortcodes:["label"],tags:["tag"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f7-fe0f.png"},{emoji:"ðª",name:"coin",shortcodes:["coin"],tags:["dollar","euro","gold","metal","money","rich","silver","treasure"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa99.png"},{emoji:"ð°",name:"moneybag",shortcodes:["moneybag"],tags:["bag","bank","bet","billion","cash","cost","dollar","gold","million","money","moneybag","paid","paying","pot","rich","win"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b0.png"},{emoji:"ðª",name:"treasure_chest",shortcodes:["treasure_chest"],tags:["gem","gold","jewels","loot","money","prize","silver","valuables","wealth"],group:"objects",emoticons:[],version:17},{emoji:"ð´",name:"yen",shortcodes:["yen"],tags:["bank","banknote","bill","currency","money","note","yen"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b4.png"},{emoji:"ðµ",name:"dollar",shortcodes:["dollar"],tags:["bank","banknote","bill","currency","dollar","money","note"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b5.png"},{emoji:"ð¶",name:"euro",shortcodes:["euro"],tags:["100","bank","banknote","bill","currency","euro","money","note","rich"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b6.png"},{emoji:"ð·",name:"pound",shortcodes:["pound"],tags:["bank","banknote","bill","billion","cash","currency","money","note","pound","pounds"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b7.png"},{emoji:"ð¸",name:"money_with_wings",shortcodes:["money_with_wings"],tags:["bank","banknote","bill","billion","cash","dollar","fly","million","money","note","pay","wings"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b8.png"},{emoji:"ð³",name:"credit_card",shortcodes:["credit_card"],tags:["bank","card","cash","charge","credit","money","pay"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b3.png"},{emoji:"ð§¾",name:"receipt",shortcodes:["receipt"],tags:["accounting","bookkeeping","evidence","invoice","proof"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9fe.png"},{emoji:"ð¹",name:"chart",shortcodes:["chart"],tags:["bank","chart","currency","graph","growth","increasing","market","money","rise","trend","upward","yen"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b9.png"},{emoji:"â",name:"envelope",shortcodes:["envelope"],tags:["e-mail","email","letter"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2709-fe0f.png"},{emoji:"ð§",name:"e-mail",shortcodes:["e-mail","email"],tags:["email","letter","mail"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e7.png"},{emoji:"ð¨",name:"incoming_envelope",shortcodes:["incoming_envelope"],tags:["delivering","e-mail","email","envelope","incoming","letter","mail","receive","sent"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e8.png"},{emoji:"ð©",name:"envelope_with_arrow",shortcodes:["envelope_with_arrow"],tags:["arrow","communication","down","e-mail","email","envelope","letter","mail","outgoing","send","sent"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e9.png"},{emoji:"ð¤",name:"outbox_tray",shortcodes:["outbox_tray"],tags:["box","email","letter","mail","outbox","sent","tray"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e4.png"},{emoji:"ð¥",name:"inbox_tray",shortcodes:["inbox_tray"],tags:["box","email","inbox","letter","mail","receive","tray","zero"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e5.png"},{emoji:"ð¦",name:"package",shortcodes:["package"],tags:["box","communication","delivery","parcel","shipping"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e6.png"},{emoji:"ð«",name:"mailbox",shortcodes:["mailbox"],tags:["closed","communication","flag","mail","mailbox","postbox","raised"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4eb.png"},{emoji:"ðª",name:"mailbox_closed",shortcodes:["mailbox_closed"],tags:["closed","flag","lowered","mail","mailbox","postbox"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ea.png"},{emoji:"ð¬",name:"mailbox_with_mail",shortcodes:["mailbox_with_mail"],tags:["flag","mail","mailbox","open","postbox","raised"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ec.png"},{emoji:"ð",name:"mailbox_with_no_mail",shortcodes:["mailbox_with_no_mail"],tags:["flag","lowered","mail","mailbox","open","postbox"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ed.png"},{emoji:"ð®",name:"postbox",shortcodes:["postbox"],tags:["mail","mailbox"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ee.png"},{emoji:"ð³",name:"ballot_box",shortcodes:["ballot_box"],tags:["ballot","box"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5f3-fe0f.png"},{emoji:"â",name:"pencil2",shortcodes:["pencil"],tags:["pencil"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/270f-fe0f.png"},{emoji:"â",name:"black_nib",shortcodes:["black_nib"],tags:["black","nib","pen"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2712-fe0f.png"},{emoji:"ð",name:"fountain_pen",shortcodes:["fountain_pen"],tags:["fountain","pen"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f58b-fe0f.png"},{emoji:"ð",name:"pen",shortcodes:["pen"],tags:["ballpoint"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f58a-fe0f.png"},{emoji:"ð",name:"paintbrush",shortcodes:["paintbrush"],tags:["painting"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f58c-fe0f.png"},{emoji:"ð",name:"crayon",shortcodes:["crayon"],tags:["crayon"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f58d-fe0f.png"},{emoji:"ð",name:"memo",shortcodes:["memo"],tags:["communication","media","notes","pencil"],group:"objects",emoticons:[],version:.6,fallbackImage:"ht
105tps://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4dd.png"},{emoji:"ð¼",name:"briefcase",shortcodes:["briefcase"],tags:["office"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4bc.png"},{emoji:"ð",name:"file_folder",shortcodes:["file_folder"],tags:["file","folder"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c1.png"},{emoji:"ð",name:"open_file_folder",shortcodes:["open_file_folder"],tags:["file","folder","open"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c2.png"},{emoji:"ð",name:"card_index_dividers",shortcodes:["card_index_dividers"],tags:["card","dividers","index"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5c2-fe0f.png"},{emoji:"ð
",name:"date",shortcodes:["date"],tags:["date"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c5.png"},{emoji:"ð",name:"calendar",shortcodes:["calendar"],tags:["calendar","tear-off"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c6.png"},{emoji:"ð",name:"spiral_notepad",shortcodes:["notepad_spiral"],tags:["note","notepad","pad","spiral"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5d2-fe0f.png"},{emoji:"ð",name:"spiral_calendar",shortcodes:["calendar_spiral"],tags:["calendar","pad","spiral"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5d3-fe0f.png"},{emoji:"ð",name:"card_index",shortcodes:["card_index"],tags:["card","index","old","rolodex","school"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c7.png"},{emoji:"ð",name:"chart_with_upwards_trend",shortcodes:["chart_increasing","chart_with_upwards_trend"],tags:["chart","data","graph","growth","increasing","right","trend","up","upward"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c8.png"},{emoji:"ð",name:"chart_with_downwards_trend",shortcodes:["chart_decreasing","chart_with_downwards_trend"],tags:["chart","data","decreasing","down","downward","graph","negative","trend"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4c9.png"},{emoji:"ð",name:"bar_chart",shortcodes:["bar_chart"],tags:["bar","chart","data","graph"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ca.png"},{emoji:"ð",name:"clipboard",shortcodes:["clipboard"],tags:["do","list","notes"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4cb.png"},{emoji:"ð",name:"pushpin",shortcodes:["pushpin"],tags:["collage","pin"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4cc.png"},{emoji:"ð",name:"round_pushpin",shortcodes:["round_pushpin"],tags:["location","map","pin","pushpin","round"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4cd.png"},{emoji:"ð",name:"paperclip",shortcodes:["paperclip"],tags:["paperclip"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4ce.png"},{emoji:"ð",name:"paperclips",shortcodes:["paperclips"],tags:["link","linked","paperclip","paperclips"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f587-fe0f.png"},{emoji:"ð",name:"straight_ruler",shortcodes:["straight_ruler"],tags:["angle","edge","math","ruler","straight","straightedge"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4cf.png"},{emoji:"ð",name:"triangular_ruler",shortcodes:["triangular_ruler"],tags:["angle","math","rule","ruler","set","slide","triangle","triangular"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4d0.png"},{emoji:"â",name:"scissors",shortcodes:["scissors"],tags:["cut","cutting","paper","tool"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2702-fe0f.png"},{emoji:"ð",name:"card_file_box",shortcodes:["card_file_box"],tags:["box","card","file"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5c3-fe0f.png"},{emoji:"ð",name:"file_cabinet",shortcodes:["file_cabinet"],tags:["cabinet","file","filing","paper"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5c4-fe0f.png"}
105,{emoji:"ð",name:"wastebasket",shortcodes:["trashcan","wastebasket"],tags:["can","garbage","trash","waste"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5d1-fe0f.png"},{emoji:"ð",name:"lock",shortcodes:["lock","locked"],tags:["closed","lock","private"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f512.png"},{emoji:"ð",name:"unlock",shortcodes:["unlock","unlocked"],tags:["cracked","lock","open","unlock"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f513.png"},{emoji:"ð",name:"lock_with_ink_pen",shortcodes:["lock_with_ink_pen","locked_with_pen"],tags:["ink","lock","locked","nib","pen","privacy"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f50f.png"},{emoji:"ð",name:"closed_lock_with_key",shortcodes:["closed_lock_with_key","locked_with_key"],tags:["bike","closed","key","lock","locked","secure"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f510.png"},{emoji:"ð",name:"key",shortcodes:["key"],tags:["keys","lock","major","password","unlock"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f511.png"},{emoji:"ð",name:"old_key",shortcodes:["old_key"],tags:["clue","key","lock","old"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5dd-fe0f.png"},{emoji:"ð¨",name:"hammer",shortcodes:["hammer"],tags:["home","improvement","repairs","tool"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f528.png"},{emoji:"ðª",name:"axe",shortcodes:["axe"],tags:["ax","chop","hatchet","split","wood"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa93.png"},{emoji:"â",name:"pick",shortcodes:["pick"],tags:["hammer","mining","tool"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26cf-fe0f.png"},{emoji:"â",name:"hammer_and_pick",shortcodes:["hammer_and_pick"],tags:["hammer","pick","tool"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2692-fe0f.png"},{emoji:"ð ",name:"hammer_and_wrench",shortcodes:["hammer_and_wrench"],tags:["hammer","spanner","tool","wrench"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6e0-fe0f.png"},{emoji:"ð¡",name:"dagger",shortcodes:["dagger"],tags:["knife","weapon"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5e1-fe0f.png"},{emoji:"â",name:"crossed_swords",shortcodes:["crossed_swords"],tags:["crossed","swords","weapon"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2694-fe0f.png"},{emoji:"ð£",name:"bomb",shortcodes:["bomb"],tags:["boom","comic","dangerous","explosion","hot"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a3.png"},{emoji:"ðª",name:"boomerang",shortcodes:["boomerang"],tags:["rebound","repercussion","weapon"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa83.png"},{emoji:"ð¹",name:"bow_and_arrow",shortcodes:["bow_and_arrow"],tags:["archer","archery","arrow","bow","sagittarius","tool","weapon","zodiac"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f9.png"},{emoji:"ð¡",name:"shield",shortcodes:["shield"],tags:["weapon"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6e1-fe0f.png"}
105,{emoji:"ðª",name:"carpentry_saw",shortcodes:["carpentry_saw"],tags:["carpenter","carpentry","cut","lumber","saw","tool","trim"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa9a.png"},{emoji:"ð§",name:"wrench",shortcodes:["wrench"],tags:["home","improvement","spanner","tool"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f527.png"},{emoji:"ðª",name:"screwdriver",shortcodes:["screwdriver"],tags:["flathead","handy","screw","tool"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa9b.png"},{emoji:"ð©",name:"nut_and_bolt",shortcodes:["nut_and_bolt"],tags:["bolt","home","improvement","nut","tool"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f529.png"},{emoji:"â",name:"gear",shortcodes:["gear"],tags:["cog","cogwheel","tool"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2699-fe0f.png"},{emoji:"ð",name:"clamp",shortcodes:["clamp","compression"],tags:["compress","tool","vice"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5dc-fe0f.png"},{emoji:"â",name:"balance_scale",shortcodes:["scales"],tags:["balance","justice","libra","scale","scales","tool","weight","zodiac"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2696-fe0f.png"},{emoji:"ð¦¯",name:"probing_cane",shortcodes:["probing_cane","white_cane"],tags:["accessibility","blind","cane","probing","white"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9af.png"},{emoji:"ð",name:"link",shortcodes:["link"],tags:["links"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f517.png"},{emoji:"ââð¥",name:"broken_chain",shortcodes:["broken_chain"],tags:["break","breaking","broken","chain","cuffs","freedom"],group:"objects",emoticons:[],version:15.1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26d3-fe0f-200d-1f4a5.png"},{emoji:"â",name:"chains",shortcodes:["chains"],tags:["chain"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26d3-fe0f.png"},{emoji:"ðª",name:"hook",shortcodes:["hook"],tags:["catch","crook","curve","ensnare","point","selling"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa9d.png"},{emoji:"ð§°",name:"toolbox",shortcodes:["toolbox"],tags:["box","chest","mechanic","red","tool"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f0.png"},{emoji:"ð§²",name:"magnet",shortcodes:["magnet"],tags:["attraction","horseshoe","magnetic","negative","positive","shape","u"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f2.png"},{emoji:"ðª",name:"ladder",shortcodes:["ladder"],tags:["climb","rung","step"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa9c.png"},{emoji:"ðª",name:"shovel",shortcodes:["shovel"],tags:["bury","dig","garden","hole","plant","scoop","snow","spade"],group:"objects",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa8f.png"},{emoji:"â",name:"alembic",shortcodes:["alembic"],tags:["chemistry","tool"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2697-fe0f.png"},{emoji:"ð§ª",name:"test_tube",shortcodes:["test_tube"],tags:["chemist","chemistry","experiment","lab","science","test","tube"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ea.png"},{emoji:"ð§«",name:"petri_dish",shortcodes:["petri_dish"],tags:["bacteria","biologist","biology","culture","dish","lab","petri"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9eb.png"},{emoji:"ð§¬",name:"dna",shortcodes:["dna","double_helix"],tags:["biologist","evolution","gene","genetics","life"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ec.png"},{emoji:"ð¬",name:"microscope",shortcodes:["microscope"],tags:["experiment","lab","science","tool"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f52c.png"},{emoji:"ð",name:"telescope",shortcodes:["telescope"],tags:["contact","extraterrestrial","science","tool"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f52d.png"}
105,{emoji:"ð¡",name:"satellite",shortcodes:["satellite_antenna"],tags:["aliens","antenna","contact","dish","satellite","science"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4e1.png"},{emoji:"ð",name:"syringe",shortcodes:["syringe"],tags:["doctor","flu","medicine","needle","shot","sick","tool","vaccination"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f489.png"},{emoji:"ð©¸",name:"drop_of_blood",shortcodes:["drop_of_blood"],tags:["bleed","blood","donation","drop","injury","medicine","menstruation"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa78.png"},{emoji:"ð",name:"pill",shortcodes:["pill"],tags:["doctor","drugs","medicated","medicine","pills","sick","vitamin"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f48a.png"},{emoji:"ð©¹",name:"adhesive_bandage",shortcodes:["adhesive_bandage","bandaid"],tags:["adhesive","bandage"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa79.png"},{emoji:"ð©¼",name:"crutch",shortcodes:["crutch"],tags:["aid","cane","disability","help","hurt","injured","mobility","stick"],group:"objects",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa7c.png"},{emoji:"ð©º",name:"stethoscope",shortcodes:["stethoscope"],tags:["doctor","heart","medicine"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa7a.png"},{emoji:"ð©»",name:"x_ray",shortcodes:["x-ray","xray"],tags:["bones","doctor","medical","skeleton","skull","xray"],group:"objects",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa7b.png"},{emoji:"ðª",name:"door",shortcodes:["door"],tags:["back","closet","front"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6aa.png"},{emoji:"ð",name:"elevator",shortcodes:["elevator"],tags:["accessibility","hoist","lift"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6d7.png"},{emoji:"ðª",name:"mirror",shortcodes:["mirror"],tags:["makeup","reflection","reflector","speculum"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa9e.png"},{emoji:"ðª",name:"window",shortcodes:["window"],tags:["air","frame","fresh","opening","transparent","view"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa9f.png"},{emoji:"ð",name:"bed",shortcodes:["bed"],tags:["hotel","sleep"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6cf-fe0f.png"},{emoji:"ð",name:"couch_and_lamp",shortcodes:["couch_and_lamp"],tags:["couch","hotel","lamp"],group:"objects",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6cb-fe0f.png"},{emoji:"ðª",name:"chair",shortcodes:["chair"],tags:["seat","sit"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa91.png"},{emoji:"ð½",name:"toilet",shortcodes:["toilet"],tags:["bathroom"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6bd.png"},{emoji:"ðª ",name:"plunger",shortcodes:["plunger"],tags:["cup","force","plumber","poop","suction","toilet"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa0.png"},{emoji:"ð¿",name:"shower",shortcodes:["shower"],tags:["water"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6bf.png"},{emoji:"ð",name:"bathtub",shortcodes:["bathtub"],tags:["bath"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6c1.png"},{emoji:"ðª¤",name:"mouse_trap",shortcodes:["mouse_trap"],tags:["bait","cheese","lure","mouse","mousetrap","snare","trap"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa4.png"},{emoji:"ðª",name:"razor",shortcodes:["razor"],tags:["sharp","shave"],group:"objects",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fa92.png"},{emoji:"ð§´",name:"lotion_bottle",shortcodes:["lotion_bottle"],tags:["bottle","lotion","moisturizer","shampoo","sunscreen"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f4.png"},{emoji:"ð§·",name:"safety_pin",shortcodes:["safety_pin"],tags:["diaper","pin","punk","rock","safety"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f7.png"},{emoji:"ð§¹",name:"broom",shortcodes:["broom"],tags:["cleaning","sweeping","witch"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9f9.png"},{emoji:"ð§º",name:"basket",shortcodes:["basket"],tags:["farming","laundry","picnic"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9fa.png"},{emoji:"ð§»",name:"roll_of_paper",shortcodes:["roll_of_paper","toilet_paper"],tags:["paper","roll","toilet","towels"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9fb.png"},{emoji:"ðª£",name:"bucket",shortcodes:["bucket"],tags:["cask","pail","vat"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa3.png"},{emoji:"ð§¼",name:"soap",shortcodes:["soap"],tags:["bar","bathing","clean","cleaning","lather","soapdish"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9fc.png"},{emoji:"ð«§",name:"bubbles",shortcodes:["bubbles"],tags:["bubble","burp","clean","floating","pearl","soap","underwater"],group:"objects",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fae7.png"},{emoji:"ðª¥",name:"toothbrush",shortcodes:["toothbrush"],tags:["bathroom","brush","clean","dental","hygiene","teeth","toiletry"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa5.png"},{emoji:"ð§½",name:"sponge",shortcodes:["sponge"],tags:["absorbing","cleaning","porous","soak"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9fd.png"},{emoji:"ð§¯",name:"fire_extinguisher",shortcodes:["fire_extinguisher"],tags:["extinguish","extinguisher","fire","quench"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ef.png"},{emoji:"ð",name:"shopping_cart",shortcodes:["shopping_cart"],tags:["cart","shopping","trolley"],group:"objects",emoticons:[],version:3,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6d2.png"},{emoji:"ð¬",name:"smoking",shortcodes:["cigarette","smoking"],tags:["smoking"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6ac.png"},{emoji:"â°",name:"coffin",shortcodes:["coffin"],tags:["dead","death","vampire"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26b0-fe0f.png"},{emoji:"ðª¦",name:"headstone",shortcodes:["headstone"],tags:["cemetery","dead","grave","graveyard","memorial","rip","tomb","tombstone"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa6.png"},{emoji:"â±",name:"funeral_urn",shortcodes:["funeral_urn"],tags:["ashes","death","funeral","urn"],group:"objects",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26b1-fe0f.png"},{emoji:"ð§¿",name:"nazar_amulet",shortcodes:["nazar_amulet"],tags:["amulet","bead","blue","charm","evil-eye","nazar","talisman"],group:"objects",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f9ff.png"},{emoji:"ðª¬",name:"hamsa",shortcodes:["hamsa"],tags:["amulet","fatima","fortune","guide","hand","mary","miriam","palm","protect","protection"],group:"objects",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faac.png"},{emoji:"ð¿",name:"moyai",shortcodes:["moai","moyai"],tags:["face","moyai","statue","stoneface","travel"],group:"objects",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f5ff.png"},{emoji:"ðª§",name:"placard",shortcodes:["placard"],tags:["card","demonstration","notice","picket","plaque","protest","sign"],group:"objects",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faa7.png"},{emoji:"ðªª",name:"identification_card",shortcodes:["id_card"],tags:["card","credentials","document","id","identification","license","security"],group:"objects",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faaa.png"},{emoji:"ð§",name:"atm",shortcodes:["atm"],tags:["atm","automated","bank","cash","money","sign","teller"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3e7.png"},{emoji:"ð®",name:"put_litter_in_its_place",shortcodes:["litter_bin","put_litter_in_its_place"],tags:["bin","litter","litterbin","
105sign"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6ae.png"},{emoji:"ð°",name:"potable_water",shortcodes:["potable_water"],tags:["drinking","potable","water"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b0.png"},{emoji:"â¿",name:"wheelchair",shortcodes:["handicapped","wheelchair"],tags:["access","handicap","symbol","wheelchair"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/267f.png"},{emoji:"ð¹",name:"mens",shortcodes:["mens"],tags:["bathroom","lavatory","man","menâs","restroom","room","toilet","wc"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b9.png"},{emoji:"ðº",name:"womens",shortcodes:["womens"],tags:["bathroom","lavatory","restroom","room","toilet","wc","woman","womenâs"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6ba.png"},{emoji:"ð»",name:"restroom",shortcodes:["bathroom","restroom"],tags:["bathroom","lavatory","toilet","wc"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6bb.png"},{emoji:"ð¼",name:"baby_symbol",shortcodes:["baby_symbol"],tags:["baby","changing","symbol"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6bc.png"},{emoji:"ð¾",name:"wc",shortcodes:["water_closet","wc"],tags:["bathroom","closet","lavatory","restroom","toilet","water","wc"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6be.png"},{emoji:"ð",name:"passport_control",shortcodes:["passport_control"],tags:["control","passport"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6c2.png"},{emoji:"ð",name:"customs",shortcodes:["customs"],tags:["packing"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6c3.png"},{emoji:"ð",name:"baggage_claim",shortcodes:["baggage_claim"],tags:["arrived","baggage","bags","case","checked","claim","journey","packing","plane","ready","travel","trip"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6c4.png"},{emoji:"ð
",name:"left_luggage",shortcodes:["left_luggage"],tags:["baggage","case","left","locker","luggage"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6c5.png"},{emoji:"â ",name:"warning",shortcodes:["warning"],tags:["caution"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26a0-fe0f.png"},{emoji:"ð¸",name:"children_crossing",shortcodes:["children_crossing"],tags:["child","children","crossing","pedestrian","traffic"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b8.png"},{emoji:"â",name:"no_entry",shortcodes:["no_entry"],tags:["do","entry","fail","forbidden","no","not","pass","prohibited","traffic"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26d4.png"},{emoji:"ð«",name:"no_entry_sign",shortcodes:["no_entry_sign"],tags:["entry","forbidden","no","not","smoke"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6ab.png"},{emoji:"ð³",name:"no_bicycles",shortcodes:["no_bicycles"],tags:["bicycle","bicycles","bike","forbidden","no","not","prohibited"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b3.png"},{emoji:"ð",name:"no_smoking",shortcodes:["no_smoking"],tags:["forbidden","no","not","prohibited","smoke","smoking"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6ad.png"},{emoji:"ð¯",name:"do_not_litter",shortcodes:["do_not_litter","no_littering"],tags:["forbidden","litter","littering","no","not","prohibited"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6af.png"},{emoji:"ð±",name:"non-potable_water",shortcodes:["non-potable_water"],tags:["dry","non-drinking","non-potable","prohibited","water"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b1.png"},{emoji:"ð·",name:"no_pedestrians",shortcodes:["no_pedestrians"],tags:["forbidden","no","not","pedestrian","pedestrians","prohibited"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6b7.png"},{emoji:"ðµ",name:"no_mobile_phones",shortcodes:["no_mobile_phones"],tags:["cell","forbidden","mobile","no","not","phone","phones","prohibited","telephone"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f5.png"},{emoji:"ð",name:"underage",shortcodes:["no_one_under_18","underage"],tags:["18","age","eighteen","forbidden","no","not","one","prohibited","restriction","underage"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f51e.png"},{emoji:"â¢",name:"radioactive",shortcodes:["radioactive"],tags:["sign"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2622-fe0f.png"},{emoji:"â£",name:"biohazard",shortcodes:["biohazard"],tags:["sign"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2623-fe0f.png"},{emoji:"â¬",name:"arrow_up",shortcodes:["arrow_up"],tags:["arrow","cardinal","direction","north","up"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2b06-fe0f.png"},{emoji:"â",name:"arrow_upper_right",shortcodes:["arrow_upper_right"],tags:["arrow","direction","intercardinal","northeast","up-right"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2197-fe0f.png"},{emoji:"â¡",name:"arrow_right",shortcodes:["arrow_right"],tags:["arrow","cardinal","direction","east","right"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/27a1-fe0f.png"},{emoji:"â",name:"arrow_lower_right",shortcodes:["arrow_lower_right"],tags:["arrow","direction","down-right","intercardinal","southeast"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2198-fe0f.png"},{emoji:"â¬",name:"arrow_down",shortcodes:["arrow_down"],tags:["arrow","cardinal","direction","down","south"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2b07-fe0f.png"},{emoji:"â",name:"arrow_lower_left",shortcodes:["arrow_lower_left"],tags:["arrow","direction","down-left","intercardinal","southwest"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2199-fe0f.png"},{emoji:"â¬
",name:"arrow_left",shortcodes:["arrow_left"],tags:["arrow","cardinal","direction","left","west"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2b05-fe0f.png"},{emoji:"â",name:"arrow_upper_left",shortcodes:["arrow_upper_left"],tags:["arrow","direction","intercardinal","northwest","up-left"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2196-fe0f.png"},{emoji:"â",name:"arrow_up_down",shortcodes:["arrow_up_down"],tags:["arrow","up-down"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2195-fe0f.png"},{emoji:"â",name:"left_right_arrow",shortcodes:["left_right_arrow"],tags:["arrow","left-right"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2194-fe0f.png"},{emoji:"â©",name:"leftwards_arrow_with_hook",shortcodes:["arrow_left_hook","leftwards_arrow_with_hook"],tags:["arrow","curving","left","right"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/21
105a9-fe0f.png"},{emoji:"âª",name:"arrow_right_hook",shortcodes:["arrow_right_hook","rightwards_arrow_with_hook"],tags:["arrow","curving","left","right"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/21aa-fe0f.png"},{emoji:"⤴",name:"arrow_heading_up",shortcodes:["arrow_heading_up"],tags:["arrow","curving","right","up"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2934-fe0f.png"},{emoji:"⤵",name:"arrow_heading_down",shortcodes:["arrow_heading_down"],tags:["arrow","curving","down","right"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2935-fe0f.png"},{emoji:"ð",name:"arrows_clockwise",shortcodes:["arrows_clockwise","clockwise"],tags:["arrow","arrows","clockwise","refresh","reload","vertical"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f503.png"},{emoji:"ð",name:"arrows_counterclockwise",shortcodes:["arrows_counterclockwise","counterclockwise"],tags:["again","anticlockwise","arrow","arrows","button","counterclockwise","deja","refresh","rewindershins","vu"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f504.png"},{emoji:"ð",name:"back",shortcodes:["back"],tags:["arrow","back"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f519.png"},{emoji:"ð",name:"end",shortcodes:["end"],tags:["arrow","end"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f51a.png"},{emoji:"ð",name:"on",shortcodes:["on"],tags:["arrow","mark","on!"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f51b.png"}
105,{emoji:"ð",name:"soon",shortcodes:["soon"],tags:["arrow","brb","omw","soon"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f51c.png"},{emoji:"ð",name:"top",shortcodes:["top"],tags:["arrow","homie","top","up"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f51d.png"},{emoji:"ð",name:"place_of_worship",shortcodes:["place_of_worship"],tags:["place","pray","religion","worship"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6d0.png"},{emoji:"â",name:"atom_symbol",shortcodes:["atom","atom_symbol"],tags:["atheist","atom","symbol"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/269b-fe0f.png"},{emoji:"ð",name:"om",shortcodes:["om"],tags:["hindu","religion"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f549-fe0f.png"},{emoji:"â¡",name:"star_of_david",shortcodes:["star_of_david"],tags:["david","jew","jewish","judaism","religion","star"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2721-fe0f.png"},{emoji:"â¸",name:"wheel_of_dharma",shortcodes:["wheel_of_dharma"],tags:["buddhist","dharma","religion","wheel"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2638-fe0f.png"},{emoji:"â¯",name:"yin_yang",shortcodes:["yin_yang"],tags:["difficult","lives","religion","tao","taoist","total","yang","yin","yinyang"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/262f-fe0f.png"},{emoji:"â",name:"latin_cross",shortcodes:["latin_cross"],tags:["christ","christian","cross","latin","religion"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/271d-fe0f.png"},{emoji:"â¦",name:"orthodox_cross",shortcodes:["orthodox_cross"],tags:["christian","cross","orthodox","religion"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2626-fe0f.png"},{emoji:"âª",name:"star_and_crescent",shortcodes:["star_and_crescent"],tags:["crescent","islam","muslim","ramadan","religion","star"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/262a-fe0f.png"},{emoji:"â®",name:"peace_symbol",shortcodes:["peace","peace_symbol"],tags:["healing","peace","peaceful","symbol"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/262e-fe0f.png"},{emoji:"ð",name:"menorah",shortcodes:["menorah"],tags:["candelabrum","candlestick","hanukkah","jewish","judaism","religion"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f54e.png"},{emoji:"ð¯",name:"six_pointed_star",shortcodes:["six_pointed_star"],tags:["dotted","fortune","jewish","judaism","six-pointed","star"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f52f.png"},{emoji:"ðª¯",name:"khanda",shortcodes:["khanda"],tags:["deg","fateh","khalsa","religion","sikh","sikhism","tegh"],group:"symbols",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1faaf.png"},{emoji:"â",name:"aries",shortcodes:["aries"],tags:["aries","horoscope","ram","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2648.png"},{emoji:"â",name:"taurus",shortcodes:["taurus"],tags:["bull","horoscope","ox","taurus","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2649.png"},{emoji:"â",name:"gemini",shortcodes:["gemini"],tags:["gemini","horoscope","twins","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/264a.png"},{emoji:"â",name:"cancer",shortcodes:["cancer"],tags:["cancer","crab","horoscope","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/264b.png"},{emoji:"â",name:"leo",shortcodes:["leo"],tags:["horoscope","leo","lion","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/264c.png"},{emoji:"â",name:"virgo",shortcodes:["virgo"],tags:["horoscope","virgo","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/264d.png"},{emoji:"â",name:"libra",shortcodes:["libra"],tags:["balance","horoscope","justice","libra","scales","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/264e.png"},{emoji:"â",name:"scorpius",shortcodes:["scorpius"],tags:["horoscope","scorpio","scorpion","scorpius","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/264f.png"},{emoji:"â",name:"sagittarius",shortcodes:["sagittarius"],tags:["archer","horoscope","sagittarius","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2650.png"},{emoji:"â",name:"capricorn",shortcodes:["capricorn"],tags:["capricorn","goat","horoscope","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2651.png"},{emoji:"â",name:"aquarius",shortcodes:["aquarius"],tags:["aquarius","bearer","horoscope","water","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2652.png"},{emoji:"â",name:"pisces",shortcodes:["pisces"],tags:["fish","horoscope","pisces","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2653.png"},{emoji:"â",name:"ophiuchus",shortcodes:["ophiuchus"],tags:["bearer","ophiuchus","serpent","snake","zodiac"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26ce.png"},{emoji:"ð",name:"twisted_rightwards_arrows",shortcodes:["shuffle","twisted_rightwards_arrows"],tags:["arrow","button","crossed","shuffle","tracks"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f500.png"},{emoji:"ð",name:"repeat",shortcodes:["repeat"],tags:["arrow","button","clockwise","repeat"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f501.png"},{emoji:"ð",name:"repeat_one",shortcodes:["repeat_one"],tags:["arrow","button","clockwise","once","repeat","single"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f502.png"},{emoji:"â¶",name:"arrow_forward",shortcodes:["arrow_forward","play"],tags:["arrow","button","play","right","triangle"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25b6-fe0f.png"},{emoji:"â©",name:"fast_forward",shortcodes:["fast_forward"],tags:["arrow","button","double","fast","fast-forward","forward"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23e9.png"},{emoji:"â",name:"next_track_button",shortcodes:["next_track"],tags:["arrow","button","next","scene","track","triangle"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23ed-fe0f.png"},{emoji:"â¯",name:"play_or_pause_button",shortcodes:["play_pause"],tags:["arrow","button","pause","play","right","triangle"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23ef-fe0f.png"},{emoji:"â",name:"arrow_backward",shortcodes:["arrow_backward","reverse"],tags:["arrow","button","left","reverse","triangle"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25c0-fe0f.png"},{emoji:"âª",name:"rewind",shortcodes:["fast_reverse","rewind"],tags:["arrow","button","double","fast","reverse","rewind"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23ea.png"},{emoji:"â®",name:"previous_track_button",shortcodes:["previous_track"],tags:["arrow","button","last","previous","sce
105ne","track","triangle"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23ee-fe0f.png"},{emoji:"ð¼",name:"arrow_up_small",shortcodes:["arrow_up_small","up"],tags:["arrow","button","red","up","upwards"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f53c.png"},{emoji:"â«",name:"arrow_double_up",shortcodes:["arrow_double_up","fast_up"],tags:["arrow","button","double","fast","up"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23eb.png"},{emoji:"ð½",name:"arrow_down_small",shortcodes:["arrow_down_small","down"],tags:["arrow","button","down","downwards","red"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f53d.png"},{emoji:"â¬",name:"arrow_double_down",shortcodes:["arrow_double_down","fast_down"],tags:["arrow","button","double","down","fast"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23ec.png"},{emoji:"â¸",name:"pause_button",shortcodes:["pause"],tags:["bar","button","double","pause","vertical"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23f8-fe0f.png"},{emoji:"â¹",name:"stop_button",shortcodes:["stop"],tags:["button","square","stop"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23f9-fe0f.png"},{emoji:"âº",name:"record_button",shortcodes:["record"],tags:["button","circle","record"],group:"symbols",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23fa-fe0f.png"},{emoji:"â",name:"eject_button",shortcodes:["eject"],tags:["button","eject"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/23cf-fe0f.png"},{emoji:"ð¦",name:"cinema",shortcodes:["cinema"],tags:["camera","film","movie"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3a6.png"},{emoji:"ð
",name:"low_brightness",shortcodes:["dim_button","low_brightness"],tags:["brightness","button","dim","low"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f505.png"},{emoji:"ð",name:"high_brightness",shortcodes:["bright_button","high_brightness"],tags:["bright","brightness","button","light"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f506.png"},{emoji:"ð¶",name:"signal_strength",shortcodes:["antenna_bars","signal_strength"],tags:["antenna","bar","bars","cell","communication","mobile","phone","signal","telephone"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f6.png"},{emoji:"ð",name:"wireless",shortcodes:["wireless"],tags:["broadband","computer","connectivity","hotspot","
105internet","network","router","smartphone","wi-fi","wifi","wlan"],group:"symbols",emoticons:[],version:15,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6dc.png"},{emoji:"ð³",name:"vibration_mode",shortcodes:["vibration_mode"],tags:["cell","communication","mobile","mode","phone","telephone","vibration"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f3.png"},{emoji:"ð´",name:"mobile_phone_off",shortcodes:["mobile_phone_off"],tags:["cell","mobile","off","phone","telephone"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4f4.png"},{emoji:"â",name:"female_sign",shortcodes:["female","female_sign"],tags:["female","sign","woman"],group:"symbols",emoticons:[],version:4},{emoji:"â",name:"male_sign",shortcodes:["male","male_sign"],tags:["male","man","sign"],group:"symbols",emoticons:[],version:4},{emoji:"â§",name:"transgender_symbol",shortcodes:["transgender_symbol"],tags:["symbol","transgender"],group:"symbols",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26a7-fe0f.png"},{emoji:"â",name:"heavy_multiplication_x",shortcodes:["multiplication","multiply"],tags:["cancel","multiplication","sign","x","Ã"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2716-fe0f.png"},{emoji:"â",name:"heavy_plus_sign",shortcodes:["plus"],tags:["+"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2795.png"},{emoji:"â",name:"heavy_minus_sign",shortcodes:["minus"],tags:["-","heavy","math","sign","â"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2796.png"},{emoji:"â",name:"heavy_division_sign",shortcodes:["divide","division"],tags:["division","heavy","math","sign","÷"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2797.png"},{emoji:"ð°",name:"heavy_equals_sign",shortcodes:["heavy_equals_sign"],tags:["answer","equal","equality","equals","heavy","math","sign"],group:"symbols",emoticons:[],version:14,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7f0.png"},{emoji:"â¾",name:"infinity",shortcodes:["infinity"],tags:["forever","unbounded","universal"],group:"symbols",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/267e-fe0f.png"},{emoji:"â¼",name:"bangbang",shortcodes:["bangbang","double_exclamation"],tags:["!","!!","bangbang","double","exclamation","mark","punctuation"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/203c-fe0f.png"},{emoji:"â",name:"interrobang",shortcodes:["exclamation_question","interrobang"],tags:["!","!?","?","exclamation","interrobang","mark","punctuation","question"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2049-fe0f.png"},{emoji:"â",name:"question",shortcodes:["question"],tags:["?","mark","punctuation","question","red"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2753.png"},{emoji:"â",name:"grey_question",shortcodes:["white_question"],tags:["?","mark","outlined","punctuation","question","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2754.png"},{emoji:"â",name:"grey_exclamation",shortcodes:["white_exclamation"],tags:["!","exclamation","mark","outlined","punctuation","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2755.png"},{emoji:"â",name:"exclamation",shortcodes:["exclamation"],tags:["!","exclamation","mark","punctuation","red"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2757.png"}
105,{emoji:"ã°",name:"wavy_dash",shortcodes:["wavy_dash"],tags:["dash","punctuation","wavy"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/3030-fe0f.png"},{emoji:"ð±",name:"currency_exchange",shortcodes:["currency_exchange"],tags:["bank","currency","exchange","money"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b1.png"},{emoji:"ð²",name:"heavy_dollar_sign",shortcodes:["heavy_dollar_sign"],tags:["billion","cash","charge","currency","dollar","heavy","million","money","pay","sign"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4b2.png"},{emoji:"â",name:"medical_symbol",shortcodes:["medical","medical_symbol"],tags:["aesculapius","medical","medicine","staff","symbol"],group:"symbols",emoticons:[],version:4},{emoji:"â»",name:"recycle",shortcodes:["recycle","recycling_symbol"],tags:["recycle","recycling","symbol"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/267b-fe0f.png"},{emoji:"â",name:"fleur_de_lis",shortcodes:["fleur-de-lis"],tags:["knights"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/269c-fe0f.png"},{emoji:"ð±",name:"trident",shortcodes:["trident"],tags:["anchor","emblem","poseidon","ship","tool","trident"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f531.png"},{emoji:"ð",name:"name_badge",shortcodes:["name_badge"],tags:["badge","name"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4db.png"},{emoji:"ð°",name:"beginner",shortcodes:["beginner"],tags:["beginner","chevron","green","japanese","leaf","symbol","tool","yellow"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f530.png"},{emoji:"â",name:"o",shortcodes:["hollow_red_circle","red_o"],tags:["circle","heavy","hollow","large","o","red"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2b55.png"},{emoji:"â
",name:"white_check_mark",shortcodes:["check_mark_button","white_check_mark"],tags:["button","check","checked","checkmark","complete","completed","done","fixed","mark","tick","â"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2705.png"},{emoji:"â",name:"ballot_box_with_check",shortcodes:["ballot_box_with_check"],tags:["ballot","box","check","checked","done","off","tick","â"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2611-fe0f.png"},{emoji:"â",name:"heavy_check_mark",shortcodes:["check_mark","heavy_check_mark"],tags:["check","checked","checkmark","done","heavy","mark","tick","â"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2714-fe0f.png"},{emoji:"â",name:"x",shortcodes:["cross_mark","x"],tags:["cancel","cross","mark","multiplication","multiply","x","Ã"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/274c.png"},{emoji:"â",name:"negative_squared_cross_mark",shortcodes:["cross_mark_button","negative_squared_cross_mark"],tags:["button","cross","mark","multiplication","multiply","square","x","Ã"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/274e.png"},{emoji:"â°",name:"curly_loop",shortcodes:["curly_loop"],tags:["curl","curly","loop"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/27b0.png"},{emoji:"â¿",name:"loop",shortcodes:["double_curly_loop","loop"],tags:["curl","curly","double","loop"],group:"symbols",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/27bf.png"},{emoji:"ã½",name:"part_alternation_mark",shortcodes:["part_alternation_mark"],tags:["alternation","mark","part"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/303d-fe0f.png"},{emoji:"â³",name:"eight_spoked_asterisk",shortcodes:["eight_spoked_asterisk"],tags:["*","asterisk","eight-spoked"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2733-fe0f.png"},{emoji:"â´",name:"eight_pointed_black_star",shortcodes:["eight_pointed_black_star"],tags:["*","eight-pointed","star"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2734-fe0f.png"},{emoji:"â",name:"sparkle",shortcodes:["sparkle"],tags:["*"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2747-fe0f.png"},{emoji:"©",name:"copyright",shortcodes:["copyright"],tags:["c"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/00a9-fe0f.png"}
105,{emoji:"®",name:"registered",shortcodes:["registered"],tags:["r"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/00ae-fe0f.png"},{emoji:"â¢",name:"tm",shortcodes:["tm","trade_mark"],tags:["mark","tm","trade","trademark"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2122-fe0f.png"},{emoji:"ð«",name:"splatter",shortcodes:["splatter"],tags:["drip","holi","ink","liquid","mess","paint","spill","stain"],group:"symbols",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1fadf.png"},{emoji:"#â£",name:"hash",shortcodes:["hash","number_sign"],tags:["keycap"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0023-fe0f-20e3.png"},{emoji:"*â£",name:"asterisk",shortcodes:["asterisk"],tags:["keycap"],group:"symbols",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/002a-fe0f-20e3.png"},{emoji:"0â£",name:"zero",shortcodes:["zero"],tags:["0","keycap","zero"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0030-fe0f-20e3.png"},{emoji:"1â£",name:"one",shortcodes:["one"],tags:["1","keycap","one"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0031-fe0f-20e3.png"},{emoji:"2â£",name:"two",shortcodes:["two"],tags:["2","keycap","two"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0032-fe0f-20e3.png"},{emoji:"3â£",name:"three",shortcodes:["three"],tags:["3","keycap","three"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0033-fe0f-20e3.png"},{emoji:"4â£",name:"four",shortcodes:["four"],tags:["4","four","keycap"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0034-fe0f-20e3.png"},{emoji:"5â£",name:"five",shortcodes:["five"],tags:["5","five","keycap"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0035-fe0f-20e3.png"},{emoji:"6â£",name:"six",shortcodes:["six"],tags:["6","keycap","six"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0036-fe0f-20e3.png"},{emoji:"7â£",name:"seven",shortcodes:["seven"],tags:["7","keycap","seven"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0037-fe0f-20e3.png"},{emoji:"8â£",name:"eight",shortcodes:["eight"],tags:["8","eight","keycap"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0038-fe0f-20e3.png"},{emoji:"9â£",name:"nine",shortcodes:["nine"],tags:["9","keycap","nine"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/0039-fe0f-20e3.png"},{emoji:"ð",name:"keycap_ten",shortcodes:["ten"],tags:["keycap"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f51f.png"},{emoji:"ð ",name:"capital_abcd",shortcodes:["capital_abcd"],tags:["abcd","input","latin","letters","uppercase"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f520.png"},{emoji:"ð¡",name:"abcd",shortcodes:["abcd"],tags:["abcd","input","latin","letters","lowercase"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f521.png"},{emoji:"ð¢",name:"1234",shortcodes:["1234"],tags:["1234","input","numbers"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f522.png"},{emoji:"ð£",name:"symbols",shortcodes:["symbols"],tags:["%","&","input","symbols","âª","ã"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f523.png"},{emoji:"ð¤",name:"abc",shortcodes:["abc"],tags:["abc","alphabet","input","latin","letters"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f524.png"},{emoji:"ð
°",name:"a",shortcodes:["a","a_blood"],tags:["blood","button","type"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f170-fe0f.png"},{emoji:"ð",name:"ab",shortcodes:["ab","ab_blood"],tags:["ab","blood","button","type"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f18e.png"},{emoji:"ð
±",name:"b",shortcodes:["b","b_blood"],tags:["b","blood","button","type"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f171-fe0f.png"},{emoji:"ð",name:"cl",shortcodes:["cl"],tags:["button","cl"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f191.png"},{emoji:"ð",name:"cool",shortcodes:["cool"],tags:["button","cool"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f192.png"},{emoji:"ð",name:"free",shortcodes:["free"],tags:["button","free"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f193.png"},{emoji:"â¹",name:"information_source",shortcodes:["info","information_source"],tags:["i"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2139-fe0f.png"},{emoji:"ð",name:"id",shortcodes:["id"],tags:["button","id","identity"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f194.png"},{emoji:"â",name:"m",shortcodes:["m"],tags:["circle","circled","m"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/24c2-fe0f.png"},{emoji:"ð",name:"new",shortcodes:["new"],tags:["button","new"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f195.png"},{emoji:"ð",name:"ng",shortcodes:["ng"],tags:["button","ng"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f196.png"},{emoji:"ð
¾",name:"o2",shortcodes:["o","o_blood"],tags:["blood","button","o","type"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f17e-fe0f.png"},{emoji:"ð",name:"ok",shortcodes:["ok"],tags:["button","ok","okay"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f197.png"},{emoji:"ð
¿",name:"parking",shortcodes:["parking"],tags:["button","p","parking"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f17f-fe0f.png"},{emoji:"ð",name:"sos",shortcodes:["sos"],tags:["button","help","sos"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f198.png"},{emoji:"ð",name:"up",shortcodes:["up2"],tags:["button","mark","up","up!"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f199.png"},{emoji:"ð",name:"vs",shortcodes:["vs"],tags:["button","versus","vs"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f19a.png"},{emoji:"ð",name:"koko",shortcodes:["ja_here","koko"],tags:["button","here","japanese","katakana"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f201.png"},{emoji:"ð",name:"sa",shortcodes:["ja_service_charge"],tags:["button","charge","japanese","katakana","service"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f202-fe0f.png"},{emoji:"ð·",name:"u6708",shortcodes:["ja_monthly_amount"],tags:["amount","button","ideograph","japanese","monthly"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f237-fe0f.png"},{emoji:"ð¶",name:"u6709",shortcodes:["ja_not_free_of_carge"],tags:["button","charge","free","ideograph","japanese","not"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f236.png"},{emoji:"ð¯",name:"u6307",shortcodes:["ja_reserved"],tags:["button","ideograph","japanese","reserved"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f22f.png"},{emoji:"ð",name:"ideograph_advantage",shortcodes:["ideograph_advantage","ja_bargain"],tags:["bargain","button","ideograph","japanese"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f250.png"},{emoji:"ð¹",name:"u5272",shortcodes:["ja_discount"],tags:["button","discount","
105ideograph","japanese"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f239.png"},{emoji:"ð",name:"u7121",shortcodes:["ja_free_of_charge"],tags:["button","charge","free","ideograph","japanese"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f21a.png"},{emoji:"ð²",name:"u7981",shortcodes:["ja_prohibited"],tags:["button","ideograph","japanese","prohibited"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f232.png"},{emoji:"ð",name:"accept",shortcodes:["accept","ja_acceptable"],tags:["acceptable","button","ideograph","japanese"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f251.png"},{emoji:"ð¸",name:"u7533",shortcodes:["ja_application"],tags:["application","button","ideograph","japanese"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f238.png"},{emoji:"ð´",name:"u5408",shortcodes:["ja_passing_grade"],tags:["button","grade","ideograph","japanese","passing"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f234.png"},{emoji:"ð³",name:"u7a7a",shortcodes:["ja_vacancy"],tags:["button","ideograph","japanese","vacancy"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f233.png"},{emoji:"ã",name:"congratulations",shortcodes:["congratulations","ja_congratulations"],tags:["button","congratulations","ideograph","japanese"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/3297-fe0f.png"},{emoji:"ã",name:"secret",shortcodes:["ja_secret","secret"],tags:["button","ideograph","japanese","secret"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/3299-fe0f.png"},{emoji:"ðº",name:"u55b6",shortcodes:["ja_open_for_business"],tags:["business","button","ideograph","japanese","open"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f23a.png"},{emoji:"ðµ",name:"u6e80",shortcodes:["ja_no_vacancy"],tags:["button","ideograph","japanese","no","vacancy"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f235.png"},{emoji:"ð´",name:"red_circle",shortcodes:["red_circle"],tags:["circle","geometric","red"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f534.png"},{emoji:"ð ",name:"orange_circle",shortcodes:["orange_circle"],tags:["circle","orange"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e0.png"},{emoji:"ð¡",name:"yellow_circle",shortcodes:["yellow_circle"],tags:["circle","yellow"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e1.png"},{emoji:"ð¢",name:"green_circle",shortcodes:["green_circle"],tags:["circle","green"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e2.png"},{emoji:"ðµ",name:"large_blue_circle",shortcodes:["blue_circle"],tags:["blue","circle","geometric"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f535.png"},{emoji:"ð£",name:"purple_circle",shortcodes:["purple_circle"],tags:["circle","purple"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e3.png"},{emoji:"ð¤",name:"brown_circle",shortcodes:["brown_circle"],tags:["brown","circle"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e4.png"},{emoji:"â«",name:"black_circle",shortcodes:["black_circle"],tags:["black","circle","geometric"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26ab.png"},{emoji:"âª",name:"white_circle",shortcodes:["white_circle"],tags:["circle","geometric","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/26aa.png"},{emoji:"ð¥",name:"red_square",shortcodes:["red_square"],tags:["card","penalty","red","square"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e5.png"},{emoji:"ð§",name:"orange_square",shortcodes:["orange_square"],tags:["orange","square"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e7.png"},{emoji:"ð¨",name:"yellow_square",shortcodes:["yellow_square"],tags:["card","penalty","square","yellow"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e8.png"},{emoji:"ð©",name:"green_square",shortcodes:["green_square"],tags:["green","square"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e9.png"},{emoji:"ð¦",name:"blue_square",shortcodes:["blue_square"],tags:["blue","square"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7e6.png"},{emoji:"ðª",name:"purple_square",shortcodes:["purple_square"],tags:["purple","square"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7ea.png"},{emoji:"ð«",name:"brown_square",shortcodes:["brown_square"],tags:["brown","square"],group:"symbols",emoticons:[],version:12,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f7eb.png"},{emoji:"â¬",name:"black_large_square",shortcodes:["black_large_square"],tags:["black","geometric","large","square"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2b1b.png"},{emoji:"â¬",name:"white_large_square",shortcodes:["white_large_square"],tags:["geometric","large","square","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/2b1c.png"},{emoji:"â¼",name:"black_medium_square",shortcodes:["black_medium_square"],tags:["black","geometric","medium","square"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25fc-fe0f.png"},{emoji:"â»",name:"white_medium_square",shortcodes:["white_medium_square"],tags:["geometric","medium","square","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25fb-fe0f.png"},{emoji:"â¾",name:"black_medium_small_square",shortcodes:["black_medium_small_square"],tags:["black","geometric","medium-small","square"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25fe.png"},{emoji:"â½",name:"white_medium_small_square",shortcodes:["white_medium_small_square"],tags:["geometric","medium-small","square","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25fd.png"},{emoji:"âª",name:"black_small_square",shortcodes:["black_small_square"],tags:["black","geometric","small","square"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25aa-fe0f.png"},{emoji:"â«",name:"white_small_square",shortcodes:["white_small_square"],tags:["geometric","small","square","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/25ab-fe0f.png"},{emoji:"ð¶",name:"large_orange_diamond",shortcodes:["large_orange_diamond"],tags:["diamond","geometric","large","orange"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f536.png"},{emoji:"ð·",name:"large_blue_diamond",shortcodes:["large_blue_diamond"],tags:["blue","diamond","geometric","large"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f537.png"},{emoji:"ð¸",name:"small_orange_diamond",shortcodes:["small_orange_diamond"],tags:["diamond","geometric","orange","small"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f538.png"},{emoji:"ð¹",name:"small_blue_diamond",shortcodes:["small_blue_diamond"],tags:["blue","diamond","geometric","small"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f539.png"},{emoji:"ðº",name:"small_red_triangle",shortcodes:["small_red_triangle"],tags:["geometric","pointed","red","triangle","up"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f53a.png"},{emoji:"ð»",name:"small_red_triangle_down",shortcodes:["small_red_triangle_down"],tags:["down","geometric","pointed","red","triangle"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f53b.png"},{emoji:"ð ",name:"diamond_shape_with_a_dot_inside",shortcodes:["diamond_shape_with_a_dot_inside","diamond_with_a_dot"],tags:["comic","diamond","dot","geometric"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f4a0.png"},{emoji:"ð",name:"radio_button",shortcodes:["radio_button"],tags:["button","geometric","radio"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f518.png"},{emoji:"ð³",name:"white_square_button",shortcodes:["white_square_button"],tags:["button","geometric","outlined","square","white"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f533.png"},{emoji:"ð²",name:"black_square_button",shortcodes:["black_square_button"],tags:["black","button","geometric","square"],group:"symbols",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f532.png"}
105,{emoji:"ð",name:"checkered_flag",shortcodes:["checkered_flag"],tags:["checkered","chequered","finish","flag","flags","game","race","racing","sport","win"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3c1.png"},{emoji:"ð©",name:"triangular_flag_on_post",shortcodes:["triangular_flag","triangular_flag_on_post"],tags:["construction","flag","golf","post","triangular"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f6a9.png"},{emoji:"ð",name:"crossed_flags",shortcodes:["crossed_flags"],tags:["celebration","cross","crossed","flags","japanese"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f38c.png"},{emoji:"ð´",name:"black_flag",shortcodes:["black_flag"],tags:["black","flag","waving"],group:"flags",emoticons:[],version:1,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f4.png"},{emoji:"ð³",name:"white_flag",shortcodes:["white_flag"],tags:["flag","waving","white"],group:"flags",emoticons:[],version:.7,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f3-fe0f.png"},{emoji:"ð³âð",name:"rainbow_flag",shortcodes:["rainbow_flag"],tags:["bisexual","flag","gay","genderqueer","glbt","glbtq","lesbian","lgbt","lgbtq","lgbtqia","pride","queer","rainbow","trans","transgender"],group:"flags",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f3-fe0f-200d-1f308.png"},{emoji:"ð³ââ§ï¸",name:"transgender_flag",shortcodes:["transgender_flag"],tags:["blue","flag","light","pink","transgender","white"],group:"flags",emoticons:[],version:13,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f3-fe0f-200d-26a7-fe0f.png"},{emoji:"ð´ââ ",name:"pirate_flag",shortcodes:["jolly_roger","pirate_flag"],tags:["flag","jolly","pirate","plunder","roger","treasure"],group:"flags",emoticons:[],version:11,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f4-200d-2620-fe0f.png"},{emoji:"ð¦ð¨",name:"ascension_island",shortcodes:["ascension_island","flag_ac"],tags:["AC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1e8.png"},{emoji:"ð¦ð©",name:"andorra",shortcodes:["andorra","flag_ad"],tags:["AD","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1e9.png"},{emoji:"ð¦ðª",name:"united_arab_emirates",shortcodes:["flag_ae","united_arab_emirates"],tags:["AE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1ea.png"},{emoji:"ð¦ð«",name:"afghanistan",shortcodes:["afghanistan","flag_af"],tags:["AF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1eb.png"},{emoji:"ð¦ð¬",name:"antigua_barbuda",shortcodes:["antigua_barbuda","flag_ag"],tags:["AG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1ec.png"},{emoji:"ð¦ð®",name:"anguilla",shortcodes:["anguilla","flag_ai"],tags:["AI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1ee.png"},{emoji:"ð¦ð±",name:"albania",shortcodes:["albania","flag_al"],tags:["AL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1f1.png"},{emoji:"ð¦ð²",name:"armenia",shortcodes:["armenia","flag_am"],tags:["AM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1f2.png"},{emoji:"ð¦ð´",name:"angola",shortcodes:["angola","flag_ao"],tags:["AO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1f4.png"}
105,{emoji:"ð¦ð¶",name:"antarctica",shortcodes:["antarctica","flag_aq"],tags:["AQ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1f6.png"},{emoji:"ð¦ð·",name:"argentina",shortcodes:["argentina","flag_ar"],tags:["AR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1f7.png"},{emoji:"ð¦ð¸",name:"american_samoa",shortcodes:["american_samoa","flag_as"],tags:["AS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1f8.png"},{emoji:"ð¦ð¹",name:"austria",shortcodes:["austria","flag_at"],tags:["AT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1f9.png"},{emoji:"ð¦ðº",name:"australia",shortcodes:["australia","flag_au"],tags:["AU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1fa.png"},{emoji:"ð¦ð¼",name:"aruba",shortcodes:["aruba","flag_aw"],tags:["AW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1fc.png"},{emoji:"ð¦ð½",name:"aland_islands",shortcodes:["aland_islands","flag_ax"],tags:["AX","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1fd.png"},{emoji:"ð¦ð¿",name:"azerbaijan",shortcodes:["azerbaijan","flag_az"],tags:["AZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e6-1f1ff.png"},{emoji:"ð§ð¦",name:"bosnia_herzegovina",shortcodes:["bosnia_herzegovina","flag_ba"],tags:["BA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1e6.png"},{emoji:"ð§ð§",name:"barbados",shortcodes:["barbados","flag_bb"],tags:["BB","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1e7.png"},{emoji:"ð§ð©",name:"bangladesh",shortcodes:["bangladesh","flag_bd"],tags:["BD","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1e9.png"},{emoji:"ð§ðª",name:"belgium",shortcodes:["belgium","flag_be"],tags:["BE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1ea.png"},{emoji:"ð§ð«",name:"burkina_faso",shortcodes:["burkina_faso","flag_bf"],tags:["BF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1eb.png"},{emoji:"ð§ð¬",name:"bulgaria",shortcodes:["bulgaria","flag_bg"],tags:["BG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1ec.png"},{emoji:"ð§ð",name:"bahrain",shortcodes:["bahrain","flag_bh"],tags:["BH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1ed.png"},{emoji:"ð§ð®",name:"burundi",shortcodes:["burundi","flag_bi"],tags:["BI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1ee.png"},{emoji:"ð§ð¯",name:"benin",shortcodes:["benin","flag_bj"],tags:["BJ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1ef.png"},{emoji:"ð§ð±",name:"st_barthelemy",shortcodes:["flag_bl","st_barthelemy"],tags:["BL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f1.png"},{emoji:"ð§ð²",name:"bermuda",shortcodes:["bermuda","flag_bm"],tags:["BM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f2.png"},{emoji:"ð§ð³",name:"brunei",shortcodes:["brunei","flag_bn"],tags:["BN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f3.png"},{emoji:"ð§ð´",name:"bolivia",shortcodes:["bolivia","flag_bo"],tags:["BO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f4.png"},{emoji:"ð§ð¶",name:"caribbean_netherlands",shortcodes:["caribbean_netherlands","flag_bq"],tags:["BQ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f6.png"},{emoji:"ð§ð·",name:"brazil",shortcodes:["brazil","flag_br"],tags:["BR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f7.png"},{emoji:"ð§ð¸",name:"bahamas",shortcodes:["bahamas","flag_bs"],tags:["BS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f8.png"},{emoji:"ð§ð¹",name:"bhutan",shortcodes:["bhutan","flag_bt"],tags:["BT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1f9.png"},{emoji:"ð§ð»",name:"bouvet_island",shortcodes:["bouvet_island","flag_bv"],tags:["BV","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1fb.png"},{emoji:"ð§ð¼",name:"botswana",shortcodes:["botswana","flag_bw"],tags:["BW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1fc.png"},{emoji:"ð§ð¾",name:"belarus",shortcodes:["belarus","flag_by"],tags:["BY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1fe.png"},{emoji:"ð§ð¿",name:"belize",shortcodes:["belize","flag_bz"],tags:["BZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e7-1f1ff.png"},{emoji:"ð¨ð¦",name:"canada",shortcodes:["canada","flag_ca"],tags:["CA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1e6.png"},{emoji:"ð¨ð¨",name:"cocos_islands",shortcodes:["cocos_islands","flag_cc"],tags:["CC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1e8.png"}
105,{emoji:"ð¨ð©",name:"congo_kinshasa",shortcodes:["congo_kinshasa","flag_cd"],tags:["CD","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1e9.png"},{emoji:"ð¨ð«",name:"central_african_republic",shortcodes:["central_african_republic","flag_cf"],tags:["CF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1eb.png"},{emoji:"ð¨ð¬",name:"congo_brazzaville",shortcodes:["congo_brazzaville","flag_cg"],tags:["CG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1ec.png"},{emoji:"ð¨ð",name:"switzerland",shortcodes:["flag_ch","switzerland"],tags:["CH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1ed.png"},{emoji:"ð¨ð®",name:"cote_divoire",shortcodes:["cote_divoire","flag_ci"],tags:["CI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1ee.png"},{emoji:"ð¨ð°",name:"cook_islands",shortcodes:["cook_islands","flag_ck"],tags:["CK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f0.png"},{emoji:"ð¨ð±",name:"chile",shortcodes:["chile","flag_cl"],tags:["CL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f1.png"},{emoji:"ð¨ð²",name:"cameroon",shortcodes:["cameroon","flag_cm"],tags:["CM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f2.png"},{emoji:"ð¨ð³",name:"cn",shortcodes:["china","flag_cn"],tags:["CN","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f3.png"},{emoji:"ð¨ð´",name:"colombia",shortcodes:["colombia","flag_co"],tags:["CO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f4.png"},{emoji:"ð¨ðµ",name:"clipperton_island",shortcodes:["clipperton_island","flag_cp"],tags:["CP","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f5.png"},{emoji:"ð¨ð¶",name:"flag_cq",shortcodes:["flag_cq","sark"],tags:["CQ","flag"],group:"flags",emoticons:[],version:16,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f6.png"},{emoji:"ð¨ð·",name:"costa_rica",shortcodes:["costa_rica","flag_cr"],tags:["CR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1f7.png"},{emoji:"ð¨ðº",name:"cuba",shortcodes:["cuba","flag_cu"],tags:["CU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1fa.png"},{emoji:"ð¨ð»",name:"cape_verde",shortcodes:["cape_verde","flag_cv"],tags:["CV","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1fb.png"},{emoji:"ð¨ð¼",name:"curacao",shortcodes:["curacao","flag_cw"],tags:["CW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1fc.png"},{emoji:"ð¨ð½",name:"christmas_island",shortcodes:["christmas_island","flag_cx"],tags:["CX","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1fd.png"},{emoji:"ð¨ð¾",name:"cyprus",shortcodes:["cyprus","flag_cy"],tags:["CY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1fe.png"},{emoji:"ð¨ð¿",name:"czech_republic",shortcodes:["czech_republic","czechia","flag_cz"],tags:["CZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e8-1f1ff.png"},{emoji:"ð©ðª",name:"de",shortcodes:["flag_de","germany"],tags:["DE","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e9-1f1ea.png"},{emoji:"ð©ð¬",name:"diego_garcia",shortcodes:["diego_garcia","flag_dg"],tags:["DG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e9-1f1ec.png"},{emoji:"ð©ð¯",name:"djibouti",shortcodes:["djibouti","flag_dj"],tags:["DJ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e9-1f1ef.png"},{emoji:"ð©ð°",name:"denmark",shortcodes:["denmark","flag_dk"],tags:["DK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e9-1f1f0.png"},{emoji:"ð©ð²",name:"dominica",shortcodes:["dominica","flag_dm"],tags:["DM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e9-1f1f2.png"},{emoji:"ð©ð´",name:"dominican_republic",shortcodes:["dominican_republic","flag_do"],tags:["DO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e9-1f1f4.png"},{emoji:"ð©ð¿",name:"algeria",shortcodes:["algeria","flag_dz"],tags:["DZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1e9-1f1ff.png"},{emoji:"ðªð¦",name:"ceuta_melilla",shortcodes:["ceuta_melilla","flag_ea"],tags:["EA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1e6.png"}
105,{emoji:"ðªð¨",name:"ecuador",shortcodes:["ecuador","flag_ec"],tags:["EC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1e8.png"},{emoji:"ðªðª",name:"estonia",shortcodes:["estonia","flag_ee"],tags:["EE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1ea.png"},{emoji:"ðªð¬",name:"egypt",shortcodes:["egypt","flag_eg"],tags:["EG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1ec.png"},{emoji:"ðªð",name:"western_sahara",shortcodes:["flag_eh","western_sahara"],tags:["EH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1ed.png"},{emoji:"ðªð·",name:"eritrea",shortcodes:["eritrea","flag_er"],tags:["ER","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1f7.png"},{emoji:"ðªð¸",name:"es",shortcodes:["flag_es","spain"],tags:["ES","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1f8.png"},{emoji:"ðªð¹",name:"ethiopia",shortcodes:["ethiopia","flag_et"],tags:["ET","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1f9.png"},{emoji:"ðªðº",name:"eu",shortcodes:["european_union","flag_eu"],tags:["EU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ea-1f1fa.png"},{emoji:"ð«ð®",name:"finland",shortcodes:["finland","flag_fi"],tags:["FI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1eb-1f1ee.png"},{emoji:"ð«ð¯",name:"fiji",shortcodes:["fiji","flag_fj"],tags:["FJ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1eb-1f1ef.png"},{emoji:"ð«ð°",name:"falkland_islands",shortcodes:["falkland_islands","flag_fk"],tags:["FK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1eb-1f1f0.png"},{emoji:"ð«ð²",name:"micronesia",shortcodes:["flag_fm","micronesia"],tags:["FM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1eb-1f1f2.png"},{emoji:"ð«ð´",name:"faroe_islands",shortcodes:["faroe_islands","flag_fo"],tags:["FO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1eb-1f1f4.png"},{emoji:"ð«ð·",name:"fr",shortcodes:["flag_fr","france"],tags:["FR","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1eb-1f1f7.png"},{emoji:"ð¬ð¦",name:"gabon",shortcodes:["flag_ga","gabon"],tags:["GA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1e6.png"},{emoji:"ð¬ð§",name:"gb",shortcodes:["flag_gb","uk","united_kingdom"],tags:["GB","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1e7.png"},{emoji:"ð¬ð©",name:"grenada",shortcodes:["flag_gd","grenada"],tags:["GD","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1e9.png"},{emoji:"ð¬ðª",name:"georgia",shortcodes:["flag_ge","georgia"],tags:["GE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1ea.png"},{emoji:"ð¬ð«",name:"french_guiana",shortcodes:["flag_gf","french_guiana"],tags:["GF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1eb.png"},{emoji:"ð¬ð¬",name:"guernsey",shortcodes:["flag_gg","guernsey"],tags:["GG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1ec.png"},{emoji:"ð¬ð",name:"ghana",shortcodes:["flag_gh","ghana"],tags:["GH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1ed.png"},{emoji:"ð¬ð®",name:"gibraltar",shortcodes:["flag_gi","gibraltar"],tags:["GI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1ee.png"},{emoji:"ð¬ð±",name:"greenland",shortcodes:["flag_gl","greenland"],tags:["GL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f1.png"},{emoji:"ð¬ð²",name:"gambia",shortcodes:["flag_gm","gambia"],tags:["GM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f2.png"},{emoji:"ð¬ð³",name:"guinea",shortcodes:["flag_gn","guinea"],tags:["GN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f3.png"},{emoji:"ð¬ðµ",name:"guadeloupe",shortcodes:["flag_gp","guadeloupe"],tags:["GP","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f5.png"},{emoji:"ð¬ð¶",name:"equatorial_guinea",shortcodes:["equatorial_guinea","flag_gq"],tags:["GQ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f
1056.png"},{emoji:"ð¬ð·",name:"greece",shortcodes:["flag_gr","greece"],tags:["GR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f7.png"},{emoji:"ð¬ð¸",name:"south_georgia_south_sandwich_islands",shortcodes:["flag_gs","south_georgia_south_sandwich_islands"],tags:["GS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f8.png"},{emoji:"ð¬ð¹",name:"guatemala",shortcodes:["flag_gt","guatemala"],tags:["GT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1f9.png"},{emoji:"ð¬ðº",name:"guam",shortcodes:["flag_gu","guam"],tags:["GU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1fa.png"},{emoji:"ð¬ð¼",name:"guinea_bissau",shortcodes:["flag_gw","guinea_bissau"],tags:["GW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1fc.png"},{emoji:"ð¬ð¾",name:"guyana",shortcodes:["flag_gy","guyana"],tags:["GY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ec-1f1fe.png"},{emoji:"ðð°",name:"hong_kong",shortcodes:["flag_hk","hong_kong"],tags:["HK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ed-1f1f0.png"},{emoji:"ðð²",name:"heard_mcdonald_islands",shortcodes:["flag_hm","heard_mcdonald_islands"],tags:["HM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ed-1f1f2.png"},{emoji:"ðð³",name:"honduras",shortcodes:["flag_hn","honduras"],tags:["HN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ed-1f1f3.png"},{emoji:"ðð·",name:"croatia",shortcodes:["croatia","flag_hr"],tags:["HR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ed-1f1f7.png"},{emoji:"ðð¹",name:"haiti",shortcodes:["flag_ht","haiti"],tags:["HT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ed-1f1f9.png"},{emoji:"ððº",name:"hungary",shortcodes:["flag_hu","hungary"],tags:["HU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ed-1f1fa.png"}
105,{emoji:"ð®ð¨",name:"canary_islands",shortcodes:["canary_islands","flag_ic"],tags:["IC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1e8.png"},{emoji:"ð®ð©",name:"indonesia",shortcodes:["flag_id","indonesia"],tags:["ID","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1e9.png"},{emoji:"ð®ðª",name:"ireland",shortcodes:["flag_ie","ireland"],tags:["IE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1ea.png"},{emoji:"ð®ð±",name:"israel",shortcodes:["flag_il","israel"],tags:["IL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f1.png"},{emoji:"ð®ð²",name:"isle_of_man",shortcodes:["flag_im","isle_of_man"],tags:["IM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f2.png"},{emoji:"ð®ð³",name:"india",shortcodes:["flag_in","india"],tags:["IN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f3.png"},{emoji:"ð®ð´",name:"british_indian_ocean_territory",shortcodes:["british_indian_ocean_territory","flag_io"],tags:["IO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f4.png"},{emoji:"ð®ð¶",name:"iraq",shortcodes:["flag_iq","iraq"],tags:["IQ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f6.png"},{emoji:"ð®ð·",name:"iran",shortcodes:["flag_ir","iran"],tags:["IR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f7.png"},{emoji:"ð®ð¸",name:"iceland",shortcodes:["flag_is","iceland"],tags:["IS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f8.png"},{emoji:"ð®ð¹",name:"it",shortcodes:["flag_it","italy"],tags:["IT","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ee-1f1f9.png"},{emoji:"ð¯ðª",name:"jersey",shortcodes:["flag_je","jersey"],tags:["JE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ef-1f1ea.png"},{emoji:"ð¯ð²",name:"jamaica",shortcodes:["flag_jm","jamaica"],tags:["JM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ef-1f1f2.png"},{emoji:"ð¯ð´",name:"jordan",shortcodes:["flag_jo","jordan"],tags:["JO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ef-1f1f4.png"},{emoji:"ð¯ðµ",name:"jp",shortcodes:["flag_jp","japan"],tags:["JP","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ef-1f1f5.png"},{emoji:"ð°ðª",name:"kenya",shortcodes:["flag_ke","kenya"],tags:["KE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1ea.png"},{emoji:"ð°ð¬",name:"kyrgyzstan",shortcodes:["flag_kg","kyrgyzstan"],tags:["KG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1ec.png"},{emoji:"ð°ð",name:"cambodia",shortcodes:["cambodia","flag_kh"],tags:["KH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1ed.png"},{emoji:"ð°ð®",name:"kiribati",shortcodes:["flag_ki","kiribati"],tags:["KI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1ee.png"},{emoji:"ð°ð²",name:"comoros",shortcodes:["comoros","flag_km"],tags:["KM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1f2.png"},{emoji:"ð°ð³",name:"st_kitts_nevis",shortcodes:["flag_kn","st_kitts_nevis"],tags:["KN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1f3.png"},{emoji:"ð°ðµ",name:"north_korea",shortcodes:["flag_kp","north_korea"],tags:["KP","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1f5.png"},{emoji:"ð°ð·",name:"kr",shortcodes:["flag_kr","south_korea"],tags:["KR","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1f7.png"},{emoji:"ð°ð¼",name:"kuwait",shortcodes:["flag_kw","kuwait"],tags:["KW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1fc.png"},{emoji:"ð°ð¾",name:"cayman_islands",shortcodes:["cayman_islands","flag_ky"],tags:["KY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1fe.png"},{emoji:"ð°ð¿",name:"kazakhstan",shortcodes:["flag_kz","kazakhstan"],tags:["KZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f0-1f1ff.png"},{emoji:"ð±ð¦",name:"laos",shortcodes:["flag_la","laos"],tags:["LA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1e6.png"},{emoji:"ð±ð§",name:"lebanon",shortcodes:["flag_lb","lebanon"],tags:["LB","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1e7.png"}
105,{emoji:"ð±ð¨",name:"st_lucia",shortcodes:["flag_lc","st_lucia"],tags:["LC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1e8.png"},{emoji:"ð±ð®",name:"liechtenstein",shortcodes:["flag_li","liechtenstein"],tags:["LI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1ee.png"},{emoji:"ð±ð°",name:"sri_lanka",shortcodes:["flag_lk","sri_lanka"],tags:["LK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1f0.png"},{emoji:"ð±ð·",name:"liberia",shortcodes:["flag_lr","liberia"],tags:["LR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1f7.png"},{emoji:"ð±ð¸",name:"lesotho",shortcodes:["flag_ls","lesotho"],tags:["LS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1f8.png"},{emoji:"ð±ð¹",name:"lithuania",shortcodes:["flag_lt","lithuania"],tags:["LT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1f9.png"},{emoji:"ð±ðº",name:"luxembourg",shortcodes:["flag_lu","luxembourg"],tags:["LU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1fa.png"},{emoji:"ð±ð»",name:"latvia",shortcodes:["flag_lv","latvia"],tags:["LV","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1fb.png"},{emoji:"ð±ð¾",name:"libya",shortcodes:["flag_ly","libya"],tags:["LY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f1-1f1fe.png"},{emoji:"ð²ð¦",name:"morocco",shortcodes:["flag_ma","morocco"],tags:["MA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1e6.png"},{emoji:"ð²ð¨",name:"monaco",shortcodes:["flag_mc","monaco"],tags:["MC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1e8.png"},{emoji:"ð²ð©",name:"moldova",shortcodes:["flag_md","moldova"],tags:["MD","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1e9.png"},{emoji:"ð²ðª",name:"montenegro",shortcodes:["flag_me","montenegro"],tags:["ME","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1ea.png"},{emoji:"ð²ð«",name:"st_martin",shortcodes:["flag_mf","st_martin"],tags:["MF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1eb.png"},{emoji:"ð²ð¬",name:"madagascar",shortcodes:["flag_mg","madagascar"],tags:["MG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1ec.png"},{emoji:"ð²ð",name:"marshall_islands",shortcodes:["flag_mh","marshall_islands"],tags:["MH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1ed.png"},{emoji:"ð²ð°",name:"macedonia",shortcodes:["flag_mk","macedonia"],tags:["MK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f0.png"},{emoji:"ð²ð±",name:"mali",shortcodes:["flag_ml","mali"],tags:["ML","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f1.png"},{emoji:"ð²ð²",name:"myanmar",shortcodes:["burma","flag_mm","myanmar"],tags:["MM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f2.png"},{emoji:"ð²ð³",name:"mongolia",shortcodes:["flag_mn","mongolia"],tags:["MN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f3.png"},{emoji:"ð²ð´",name:"macau",shortcodes:["flag_mo","macao","macau"],tags:["MO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f4.png"},{emoji:"ð²ðµ",name:"northern_mariana_islands",shortcodes:["flag_mp","northern_mariana_islands"],tags:["MP","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f5.png"},{emoji:"ð²ð¶",name:"martinique",shortcodes:["flag_mq","martinique"],tags:["MQ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f6.png"},{emoji:"ð²ð·",name:"mauritania",shortcodes:["flag_mr","mauritania"],tags:["MR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f7.png"},{emoji:"ð²ð¸",name:"montserrat",shortcodes:["flag_ms","montserrat"],tags:["MS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f8.png"},{emoji:"ð²ð¹",name:"malta",shortcodes:["flag_mt","malta"],tags:["MT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1f9.png"},{emoji:"ð²ðº",name:"mauritius",shortcodes:["flag_mu","mauritius"],tags:["MU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1fa.png"},{emoji:"ð²ð»",name:"maldives",shortcodes:["flag_mv","maldives"],tags:["MV","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1fb.png"},{emoji:"ð²ð¼",name:"malawi",shortcodes:["flag_mw","malawi"],tags:["MW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1fc.png"},{emoji:"ð²ð½",name:"mexico",shortcodes:["flag_mx","mexico"],tags:["MX","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1fd.png"},{emoji:"ð²ð¾",name:"malaysia",shortcodes:["flag_my","malaysia"],tags:["MY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1fe.png"},{emoji:"ð²ð¿",name:"mozambique",shortcodes:["flag_mz","mozambique"],tags:["MZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f2-1f1ff.png"},{emoji:"ð³ð¦",name:"namibia",shortcodes:["flag_na","namibia"],tags:["NA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1e6.png"},{emoji:"ð³ð¨",name:"new_caledonia",shortcodes:["flag_nc","new_caledonia"],tags:["NC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1e8.png"},{emoji:"ð³ðª",name:"niger",shortcodes:["flag_ne","niger"],tags:["NE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1ea.png"},{emoji:"ð³ð«",name:"norfolk_island",shortcodes:["flag_nf","norfolk_island"],tags:["NF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1eb.png"},{emoji:"ð³ð¬",name:"nigeria",shortcodes:["flag_ng","nigeria"],tags:["NG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1ec.png"},{emoji:"ð³ð®",name:"nicaragua",shortcodes:["flag_ni","nicaragua"],tags:["NI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1ee.png"},{emoji:"ð³ð±",name:"netherlands",shortcodes:["flag_nl","netherlands"],tags:["NL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1f1.png"},{emoji:"ð³ð´",name:"norway",shortcodes:["flag_no","norway"],tags:["NO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1f4.png"},{emoji:"ð³ðµ",name:"nepal",shortcodes:["flag_np","nepal"],tags:["NP","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1f5.png"},{emoji:"ð³ð·",name:"nauru",shortcodes:["flag_nr","nauru"],tags:["NR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1f7.png"},{emoji:"ð³ðº",name:"niue",shortcodes:["flag_nu","niue"],tags:["NU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1fa.png"},{emoji:"ð³ð¿",name:"new_zealand",shortcodes:["flag_nz","new_zealand"],tags:["NZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f3-1f1ff.png"},{emoji:"ð´ð²",name:"oman",shortcodes:["flag_om","oman"],tags:["OM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f4-1f1f2.png"},{emoji:"ðµð¦",name:"panama",shortcodes:["flag_pa","panama"],tags:["PA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1e6.png"},{emoji:"ðµðª",name:"peru",shortcodes:["flag_pe","peru"],tags:["PE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1ea.png"},{emoji:"ðµð«",name:"french_polynesia",shortcodes:["flag_pf","french_polynesia"],tags:["PF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1eb.png"},{emoji:"ðµð¬",name:"papua_new_guinea",shortcodes:["flag_pg","papua_new_guinea"],tags:["PG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1ec.png"},{emoji:"ðµð",name:"philippines",shortcodes:["flag_ph","philippines"],tags:["PH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1ed.png"},{emoji:"ðµð°",name:"pakistan",shortcodes:["flag_pk","pakistan"],tags:["PK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1f0.png"},{emoji:"ðµð±",name:"poland",shortcodes:["flag_pl","poland"],tags:["PL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1f1.png"},{emoji:"ðµð²",name:"st_pierre_miquelon",shortcodes:["flag_pm","st_pierre_miquelon"],tags:["PM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1f2.png"},{emoji:"ðµð³",name:"pitcairn_islands",shortcodes:["flag_pn","pitcairn_islands"],tags:["PN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1f3.png"},{emoji:"ðµð·",name:"puerto_rico",shortcodes:["flag_pr","puerto_rico"],tags:["PR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1f7.png"},{emoji:"ðµð¸",name:"palestinian_territories",shortcodes:["flag_ps","palestinian_territories"],tags:["PS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1f8.png"},{emoji:"ðµð¹",name:"portugal",shortcodes:["flag_pt","portugal"],tags:["PT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1f9.png"},{emoji:"ðµð¼",name:"palau",shortcodes:["flag_pw","palau"],tags:["PW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1fc.png"},{emoji:"ðµð¾",name:"paraguay",shortcodes:["flag_py","paraguay"],tags:["PY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f5-1f1fe.png"},{emoji:"ð¶ð¦",name:"qatar",shortcodes:["flag_qa","qatar"],tags:["QA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f
1056-1f1e6.png"},{emoji:"ð·ðª",name:"reunion",shortcodes:["flag_re","reunion"],tags:["RE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f7-1f1ea.png"},{emoji:"ð·ð´",name:"romania",shortcodes:["flag_ro","romania"],tags:["RO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f7-1f1f4.png"},{emoji:"ð·ð¸",name:"serbia",shortcodes:["flag_rs","serbia"],tags:["RS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f7-1f1f8.png"},{emoji:"ð·ðº",name:"ru",shortcodes:["flag_ru","russia"],tags:["RU","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f7-1f1fa.png"},{emoji:"ð·ð¼",name:"rwanda",shortcodes:["flag_rw","rwanda"],tags:["RW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f7-1f1fc.png"},{emoji:"ð¸ð¦",name:"saudi_arabia",shortcodes:["flag_sa","saudi_arabia"],tags:["SA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1e6.png"},{emoji:"ð¸ð§",name:"solomon_islands",shortcodes:["flag_sb","solomon_islands"],tags:["SB","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1e7.png"},{emoji:"ð¸ð¨",name:"seychelles",shortcodes:["flag_sc","seychelles"],tags:["SC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1e8.png"},{emoji:"ð¸ð©",name:"sudan",shortcodes:["flag_sd","sudan"],tags:["SD","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1e9.png"},{emoji:"ð¸ðª",name:"sweden",shortcodes:["flag_se","sweden"],tags:["SE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1ea.png"},{emoji:"ð¸ð¬",name:"singapore",shortcodes:["flag_sg","singapore"],tags:["SG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1ec.png"},{emoji:"ð¸ð",name:"st_helena",shortcodes:["flag_sh","st_helena"],tags:["SH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1ed.png"},{emoji:"ð¸ð®",name:"slovenia",shortcodes:["flag_si","slovenia"],tags:["SI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1ee.png"},{emoji:"ð¸ð¯",name:"svalbard_jan_mayen",shortcodes:["flag_sj","svalbard_jan_mayen"],tags:["SJ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1ef.png"},{emoji:"ð¸ð°",name:"slovakia",shortcodes:["flag_sk","slovakia"],tags:["SK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f0.png"},{emoji:"ð¸ð±",name:"sierra_leone",shortcodes:["flag_sl","sierra_leone"],tags:["SL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f1.png"},{emoji:"ð¸ð²",name:"san_marino",shortcodes:["flag_sm","san_marino"],tags:["SM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f2.png"},{emoji:"ð¸ð³",name:"senegal",shortcodes:["flag_sn","senegal"],tags:["SN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f3.png"},{emoji:"ð¸ð´",name:"somalia",shortcodes:["flag_so","somalia"],tags:["SO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f4.png"},{emoji:"ð¸ð·",name:"suriname",shortcodes:["flag_sr","suriname"],tags:["SR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f7.png"},{emoji:"ð¸ð¸",name:"south_sudan",shortcodes:["flag_ss","south_sudan"],tags:["SS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f8.png"},{emoji:"ð¸ð¹",name:"sao_tome_principe",shortcodes:["flag_st","sao_tome_principe"],tags:["ST","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1f9.png"},{emoji:"ð¸ð»",name:"el_salvador",shortcodes:["el_salvador","flag_sv"],tags:["SV","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1fb.png"}
105,{emoji:"ð¸ð½",name:"sint_maarten",shortcodes:["flag_sx","sint_maarten"],tags:["SX","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1fd.png"},{emoji:"ð¸ð¾",name:"syria",shortcodes:["flag_sy","syria"],tags:["SY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1fe.png"},{emoji:"ð¸ð¿",name:"swaziland",shortcodes:["eswatini","flag_sz","swaziland"],tags:["SZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f8-1f1ff.png"},{emoji:"ð¹ð¦",name:"tristan_da_cunha",shortcodes:["flag_ta","tristan_da_cunha"],tags:["TA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1e6.png"},{emoji:"ð¹ð¨",name:"turks_caicos_islands",shortcodes:["flag_tc","turks_caicos_islands"],tags:["TC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1e8.png"},{emoji:"ð¹ð©",name:"chad",shortcodes:["chad","flag_td"],tags:["TD","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1e9.png"},{emoji:"ð¹ð«",name:"french_southern_territories",shortcodes:["flag_tf","french_southern_territories"],tags:["TF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1eb.png"},{emoji:"ð¹ð¬",name:"togo",shortcodes:["flag_tg","togo"],tags:["TG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1ec.png"},{emoji:"ð¹ð",name:"thailand",shortcodes:["flag_th","thailand"],tags:["TH","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1ed.png"},{emoji:"ð¹ð¯",name:"tajikistan",shortcodes:["flag_tj","tajikistan"],tags:["TJ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1ef.png"},{emoji:"ð¹ð°",name:"tokelau",shortcodes:["flag_tk","tokelau"],tags:["TK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1f0.png"},{emoji:"ð¹ð±",name:"timor_leste",shortcodes:["flag_tl","timor_leste"],tags:["TL","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1f1.png"},{emoji:"ð¹ð²",name:"turkmenistan",shortcodes:["flag_tm","turkmenistan"],tags:["TM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1f2.png"},{emoji:"ð¹ð³",name:"tunisia",shortcodes:["flag_tn","tunisia"],tags:["TN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1f3.png"},{emoji:"ð¹ð´",name:"tonga",shortcodes:["flag_to","tonga"],tags:["TO","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1f4.png"},{emoji:"ð¹ð·",name:"tr",shortcodes:["flag_tr","turkey_tr"],tags:["TR","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1f7.png"},{emoji:"ð¹ð¹",name:"trinidad_tobago",shortcodes:["flag_tt","trinidad_tobago"],tags:["TT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1f9.png"},{emoji:"ð¹ð»",name:"tuvalu",shortcodes:["flag_tv","tuvalu"],tags:["TV","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1fb.png"},{emoji:"ð¹ð¼",name:"taiwan",shortcodes:["flag_tw","taiwan"],tags:["TW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1fc.png"},{emoji:"ð¹ð¿",name:"tanzania",shortcodes:["flag_tz","tanzania"],tags:["TZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1f9-1f1ff.png"},{emoji:"ðºð¦",name:"ukraine",shortcodes:["flag_ua","ukraine"],tags:["UA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fa-1f1e6.png"},{emoji:"ðºð¬",name:"uganda",shortcodes:["flag_ug","uganda"],tags:["UG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fa-1f1ec.png"},{emoji:"ðºð²",name:"us_outlying_islands",shortcodes:["flag_um","us_outlying_islands"],tags:["UM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fa-1f1f2.png"},{emoji:"ðºð³",name:"united_nations",shortcodes:["flag_un","un","united_nations"],tags:["UN","flag"],group:"flags",emoticons:[],version:4,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fa-1f1f3.png"},{emoji:"ðºð¸",name:"us",shortcodes:["flag_us","united_states","usa"],tags:["US","flag"],group:"flags",emoticons:[],version:.6,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fa-1f1f8.png"},{emoji:"ðºð¾",name:"uruguay",shortcodes:["flag_uy","uruguay"],tags:["UY","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fa-1f1fe.png"},{emoji:"ðºð¿",name:"uzbekistan",shortcodes:["flag_uz","uzbekistan"],tags:["UZ","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fa-1f1ff.png"},{emoji:"ð»ð¦",name:"vatican_city",shortcodes:["flag_va","vatican_city"],tags:["VA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fb-1f1e6.png"},{emoji:"ð»ð¨",name:"st_vincent_grenadines",shortcodes:["flag_vc","st_vincent_grenadines"],tags:["VC","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fb-1f1e8.png"},{emoji:"ð»ðª",name:"venezuela",shortcodes:["flag_ve","venezuela"],tags:["VE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fb-1f1ea.png"},{emoji:"ð»ð¬",name:"british_virgin_islands",shortcodes:["british_virgin_islands","flag_vg"],tags:["VG","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fb-1f1ec.png"},{emoji:"ð»ð®",name:"us_virgin_islands",shortcodes:["flag_vi","us_virgin_islands"],tags:["VI","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fb-1f1ee.png"},{emoji:"ð»ð³",name:"vietnam",shortcodes:["flag_vn","vietnam"],tags:["VN","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fb-1f1f3.png"},{emoji:"ð»ðº",name:"vanuatu",shortcodes:["flag_vu","vanuatu"],tags:["VU","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fb-1f1fa.png"}
105,{emoji:"ð¼ð«",name:"wallis_futuna",shortcodes:["flag_wf","wallis_futuna"],tags:["WF","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fc-1f1eb.png"},{emoji:"ð¼ð¸",name:"samoa",shortcodes:["flag_ws","samoa"],tags:["WS","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fc-1f1f8.png"},{emoji:"ð½ð°",name:"kosovo",shortcodes:["flag_xk","kosovo"],tags:["XK","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fd-1f1f0.png"},{emoji:"ð¾ðª",name:"yemen",shortcodes:["flag_ye","yemen"],tags:["YE","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fe-1f1ea.png"},{emoji:"ð¾ð¹",name:"mayotte",shortcodes:["flag_yt","mayotte"],tags:["YT","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1fe-1f1f9.png"},{emoji:"ð¿ð¦",name:"south_africa",shortcodes:["flag_za","south_africa"],tags:["ZA","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ff-1f1e6.png"},{emoji:"ð¿ð²",name:"zambia",shortcodes:["flag_zm","zambia"],tags:["ZM","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ff-1f1f2.png"},{emoji:"ð¿ð¼",name:"zimbabwe",shortcodes:["flag_zw","zimbabwe"],tags:["ZW","flag"],group:"flags",emoticons:[],version:2,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f1ff-1f1fc.png"},{emoji:"ð´ó §ó ¢ó ¥ó ®ó §ó ¿",name:"england",shortcodes:["england","flag_gbeng"],tags:["flag","gbeng"],group:"flags",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f4-e0067-e0062-e0065-e006e-e0067-e007f.png"},{emoji:"ð´ó §ó ¢ó ³ó £ó ´ó ¿",name:"scotland",shortcodes:["flag_gbsct","scotland"],tags:["flag","gbsct"],group:"flags",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f4-e0067-e0062-e0073-e0063-e0074-e007f.png"},{emoji:"ð´ó §ó ¢ó ·ó ¬ó ³ó ¿",name:"wales",shortcodes:["flag_gbwls","wales"],tags:["flag","gbwls"],group:"flags",emoticons:[],version:5,fallbackImage:"https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/1f3f4-e0067-e0062-e0077-e006c-e0073-e007f.png"}];function m(e,t){return t.find(t=>e===t.name||t.shortcodes.includes(e))}[...u];var h=new i.PluginKey("emojiSuggestion"),f=/:([a-zA-Z0-9_+-]+):$/,g=/(^|\s):([a-zA-Z0-9_+-]+):/g;s.Node.create({name:"emoji",inline:!0,group:"inline",selectable:!1,addOptions(){return{HTMLAttributes:{},emojis:u,enableEmoticons:!1,forceFallbackImages:!1,suggestion:{char:":",pluginKey:h,command:({editor:e,range:t,props:n})=>{var a;let o=e.view.state.selection.$to.nodeAfter;(null==(a=null==o?void 0:o.text)?void 0:a.startsWith(" "))&&(t.to+=1),e.chain().focus().insertContentAt(t,[{type:this.name,attrs:n},{type:"text",text:" "}]).command(({tr:e,state:t})=>(e.setStoredMarks(t.doc.resolve(t.selection.to-2).marks()),!0)).run()},allow:({state:e,range:t})=>{let n=e.doc.resolve(t.from),a=e.schema.nodes[this.name];return!!n.parent.type.contentMatch.matchType(a)}}}},addStorage(){let{emojis:e}=this.options,t=(function(e,t=JSON.stringify){let n={};return e.filter(e=>{let a=t(e);return!Object.prototype.hasOwnProperty.call(n,a)&&(n[a]=!0)})})(e.map(e=>e.version)).filter(e=>"number"==typeof e).reduce((t,n)=>{let a=e.find(e=>e.version===n&&e.emoji);return{...t,[n]:!!a&&function(e){if(p.has(e))return p.get(e);var t=d(e);return p.set(e,t),t}(a.emoji)}},{});return{emojis:this.options.emojis,isSupported:e=>!!e.version&&t[e.version]}},addAttributes:()=>({name:{default:null,parseHTML:e=>e.dataset.name,renderHTML:e=>({"data-name":e.name})}}),parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({HTMLAttributes:e,node:t}){let n=m(t.attrs.name,this.options.emojis),a=(0,s.mergeAttributes)(e,this.options.HTMLAttributes,{"data-type":this.name});if(!n)return["span",a,`:${t.attrs.name}:`];let o=this.storage.isSupported(n),r=!!(null==n?void 0:n.emoji),i=!!(null==n?void 0:n.fallbackImage);return["span",a,this.options.forceFallbackImages&&!r||this.options.forceFallbackImages&&i||this.options.forceFallbackImages&&!o&&i||(!o||!r)&&i?["img",{src:n.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle",alt:`${n.name} emoji`}]:n.emoji||`:${n.shortcodes[0]}:`]},renderText({node:e}){let t=m(e.attrs.name,this.options.emojis);return(null==t?void 0:t.emoji)||`:${e.attrs.name}:`},renderMarkdown:e=>{var t;return(null==(t=e.attrs)?void 0:t.name)?`:${e.attrs.name}:`:""},addCommands(){return{setEmoji:e=>({chain:t})=>{let n=m(e,this.options.emojis);return!!n&&(t().insertContent({type:this.name,attrs:{name:n.name}}).command(({tr:e,state:t})=>(e.setStoredMarks(t.doc.resolve(t.selection.to-1).marks()),!0)).run(),!0)}}},addInputRules(){let e=[];
105if(e.push(new s.InputRule({find:f,handler:({range:e,match:t,chain:n})=>{let a=t[1];m(a,this.options.emojis)&&n().insertContentAt(e,{type:this.name,attrs:{name:a}}).command(({tr:e,state:t})=>(e.setStoredMarks(t.doc.resolve(t.selection.to-1).marks()),!0)).run()}})),this.options.enableEmoticons){let t=this.options.emojis.flatMap(e=>e.emoticons).filter(e=>e),n=RegExp(`(?:^|\\s)(${t.map(e=>(0,s.escapeForRegEx)(e)).join("|")}) $`);e.push((0,s.nodeInputRule)({find:n,type:this.type,getAttributes:e=>{let t=this.options.emojis.find(t=>{var n;return null==(n=t.emoticons)?void 0:n.includes(e[1])});if(t)return{name:t.name}}}))}return e},addPasteRules(){return[new s.PasteRule({find:g,handler:({range:e,match:t,chain:n})=>{let a=t[1]||"",o=t[2];if(!m(o,this.options.emojis))return;let r=e.from+a.length,s=e.to;n().insertContentAt({from:r,to:s},{type:this.name,attrs:{name:o}},{updateSelection:!1}).command(({tr:e,state:t})=>(e.setStoredMarks(t.doc.resolve(t.selection.to-1).marks()),!0)).run()}})]},addProseMirrorPlugins(){return[function({pluginKey:e=c,editor:t,char:n="@",allowSpaces:a=!1,allowToIncludeChar:o=!1,allowedPrefixes:r=[" "],startOfLine:p=!1,decorationTag:d="span",decorationClass:u="suggestion",decorationContent:m="",decorationEmptyClass:h="is-empty",command:f=()=>null,items:g=()=>[],render:b=()=>({}),allow:v=()=>!0,findSuggestionMatch:y=function(e){var t;let{char:n,allowSpaces:a,allowToIncludeChar:o,allowedPrefixes:r,startOfLine:i,$position:l}=e,c=a&&!o,p=(0,s.escapeForRegEx)(n),d=RegExp(`\\s${p}$`),u=i?"^":"",m=o?"":p,h=c?RegExp(`${u}${p}.*?(?=\\s${m}|$)`,"gm"):RegExp(`${u}(?:^)?${p}[^\\s${m}]*`,"gm"),f=(null==(t=l.nodeBefore)?void 0:t.isText)&&l.nodeBefore.text;if(!f)return null;let g=l.pos-f.length,b=Array.from(f.matchAll(h)).pop();if(!b||void 0===b.input||void 0===b.index)return null;let v=b.input.slice(Math.max(0,b.index-1),b.index),y=RegExp(`^[${null==r?void 0:r.join("")}\0]?$`).test(v);if(null!==r&&!y)return null;let j=g+b.index,k=j+b[0].length;return(c&&d.test(f.slice(k-1,k+1))&&(b[0]+=" ",k+=1),j<l.pos&&k>=l.pos)?{range:{from:j,to:k},query:b[0].slice(n.length),text:b[0]}:null},shouldShow:j,shouldResetDismissed:k}){let w,_=null==b?void 0:b(),E=a&&!o,D=()=>{let e=t.state.selection.$anchor.pos,{top:n,right:a,bottom:o,left:r}=t.view.coordsAtPos(e);try{return new DOMRect(r,n,a-r,o-n)}catch{return null}},T=(n,a)=>a?()=>{let a=e.getState(t.state),o=null==a?void 0:a.decorationId,r=n.dom.querySelector(`[data-decoration-id="${o}"]`);return(null==r?void 0:r.getBoundingClientRect())||null}:D,I=new i.Plugin({key:e,view(){return{update:async(e,n)=>{var a,o,r,s,i,l,c;let p=null==(a=this.key)?void 0:a.getState(n),d=null==(o=this.key)?void 0:o.getState(e.state),u=p.active&&d.active&&p.range.from!==d.range.from,m=!p.active&&d.active,h=p.active&&!d.active,b=!m&&!h&&p.query!==d.query,v=m||u&&b,y=b||u,j=h||u&&b;if(!v&&!y&&!j)return;let k=j&&!v?p:d,E=e.dom.querySelector(`[data-decoration-id="${k.decorationId}"]`);w={editor:t,range:k.range,query:k.query,text:k.text,items:[],command:e=>f({editor:t,range:k.range,props:e}),decorationNode:E,clientRect:T(e,E)},v&&(null==(r=null==_?void 0:_.onBeforeStart)||r.call(_,w)),y&&(null==(s=null==_?void 0:_.onBeforeUpdate)||s.call(_,w)),(y||v)&&(w.items=await g({editor:t,query:k.query})),j&&(null==(i=null==_?void 0:_.onExit)||i.call(_,w)),y&&(null==(l=null==_?void 0:_.onUpdate)||l.call(_,w)),v&&(null==(c=null==_?void 0:_.onStart)||c.call(_,w))},destroy:()=>{var e;w&&(null==(e=null==_?void 0:_.onExit)||e.call(_,w))}}},state:{init:()=>({active:!1,range:{from:0,to:0},query:null,text:null,composing:!1,dismissedRange:null}),apply(s,i,l,c){let{isEditable:d}=t,{composing:u}=t.view,{selection:m}=s,{empty:h,from:f}=m,g={...i},b=s.getMeta(e);if(b&&b.exit)return g.active=!1,g.decorationId=null,g.range={from:0,to:0},g.query=null,g.text=null,g.dismissedRange=i.active?{...i.range}:i.dismissedRange,g;if(g.composing=u,s.docChanged&&null!==g.dismissedRange&&(g.dismissedRange={from:s.mapping.map(g.dismissedRange.from),to:s.mapping.map(g.dismissedRange.to)}),d&&(h||t.view.composing)){(f<i.range.from||f>i.range.to)&&!u&&!i.composing&&(g.active=!1);let e=y({char:n,allowSpaces:a,allowToIncludeChar:o,allowedPrefixes:r,startOfLine:p,$position:m.$from}),l=`id_${Math.floor(0xffffffff*Math.random())}`;e&&v({editor:t,state:c,range:e.range,isActive:i.active})&&(!j||j({editor:t,range:e.range,query:e.query,text:e.text,transaction:s}))?(null===g.dismissedRange||(({match:e,dismissedRange:n,state:a,transaction:o})=>(null==k?!void 0:!k({editor:t,state:a,range:n,match:e,transaction:o,allowSpaces:E}
105))&&(E?e.range.from===n.from:e.range.from===n.from&&!(o.docChanged&&o.steps.some(e=>{let t=e.slice;if(!(null==t?void 0:t.content))return!1;let n=t.content.textBetween(0,t.content.size,"\n");return/\s/.test(n)}))))({match:e,dismissedRange:g.dismissedRange,state:c,transaction:s})||(g.dismissedRange=null),null===g.dismissedRange?(g.active=!0,g.decorationId=i.decorationId?i.decorationId:l,g.range=e.range,g.query=e.query,g.text=e.text):g.active=!1):(e||(g.dismissedRange=null),g.active=!1)}else g.active=!1;return g.active||(g.decorationId=null,g.range={from:0,to:0},g.query=null,g.text=null),g}},props:{handleKeyDown(n,a){var o,r;let{active:s,range:i}=I.getState(n.state);if(!s)return!1;if("Escape"===a.key||"Esc"===a.key){let r=I.getState(n.state);return null==(o=null==_?void 0:_.onKeyDown)||o.call(_,{view:n,event:a,range:r.range}),!function(n,a){var o;try{let a=e.getState(n.state),r=(null==a?void 0:a.decorationId)?n.dom.querySelector(`[data-decoration-id="${a.decorationId}"]`):null,s={editor:t,range:(null==a?void 0:a.range)||{from:0,to:0},query:(null==a?void 0:a.query)||null,text:(null==a?void 0:a.text)||null,items:[],command:e=>f({editor:t,range:(null==a?void 0:a.range)||{from:0,to:0},props:e}),decorationNode:r,clientRect:T(n,r)};null==(o=null==_?void 0:_.onExit)||o.call(_,s)}catch{}let r=n.state.tr.setMeta(a,{exit:!0});n.dispatch(r)}(n,e),!0}return(null==(r=null==_?void 0:_.onKeyDown)?void 0:r.call(_,{view:n,event:a,range:i}))||!1},decorations(e){let{active:t,range:n,decorationId:a,query:o}=I.getState(e);if(!t)return null;let r=!(null==o?void 0:o.length),s=[u];return r&&s.push(h),l.DecorationSet.create(e.doc,[l.Decoration.inline(n.from,n.to,{nodeName:d,class:s.join(" "),"data-decoration-id":a,"data-decoration-content":m})])}}});return I}({editor:this.editor,...this.options.suggestion}),new i.Plugin({key:new i.PluginKey("emoji"),props:{handleDoubleClickOn:(e,t,n)=>{if(n.type!==this.type)return!1;let a=t+n.nodeSize;return this.editor.commands.setTextSelection({from:t,to:a}),!0}},appendTransaction:(e,t,n)=>{if(this.editor.view.composing||!(e.some(e=>e.docChanged)&&!t.doc.eq(n.doc)))return;let{tr:a}=n,o=(0,s.combineTransactionSteps)(t.doc,e);if((0,s.getChangedRanges)(o).forEach(({newRange:e})=>
105{n.doc.resolve(e.from).parent.type.spec.code||(0,s.findChildrenInRange)(n.doc,e,e=>e.type.isText).forEach(({node:e,pos:t})=>{e.text&&[...e.text.matchAll(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8
105E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g)].forEach(e=>{var o;if(void 0===e.index)return;let r=e[0],s=null==(o=this.options.emojis.find(e=>e.emoji===r.replace("ï¸","").replace("ï¸","")))?void 0:o.shortcodes[0];if(!s)return;let i=a.mapping.map(t+e.index);if(n.doc.resolve(i).parent.type.spec.code)return;let l=i+r.length,c=this.type.create({name:s});a.replaceRangeWith(i,l,c),a.setStoredMarks(n.doc.resolve(i).marks())})})}),a.steps.length)return a}})]}}),s.Extension.create({name:"fileHandler",addOptions:()=>({onPaste:void 0,onDrop:void 0,allowedMimeTypes:void 0}),addProseMirrorPlugins(){return[(({key:e,editor:t,onPaste:n,onDrop:a,allowedMimeTypes:o})=>new i.Plugin({key:e||new i.PluginKey("fileHandler"),props:{handleDrop(e,n){var r;if(!a||!(null==(r=n.dataTransfer)?void 0:r.files.length))return!1;let s=e.posAtCoords({left:n.clientX,top:n.clientY}),i=Array.from(n.dataTransfer.files);return o&&(i=i.filter(e=>o.includes(e.type))),0!==i.length&&(n.preventDefault(),n.stopPropagation(),a(t,i,(null==s?void 0:s.pos)||0),!0)},handlePaste(e,a){var r;if(!n||!(null==(r=a.clipboardData)?void 0:r.files.length))return!1;let s=Array.from(a.clipboardData.files),i=a.clipboardData.getData("text/html");return o&&(s=s.filter(e=>o.includes(e.type))),0!==s.length&&(a.preventDefault(),a.stopPropagation(),n(t,s,i),!(i.length>0))}}}))({key:new i.PluginKey(this.name),editor:this.editor,allowedMimeTypes:this.options.allowedMimeTypes,onDrop:this.options.onDrop,onPaste:this.options.onPaste})]}});var b=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/;s.Node.create({name:"image",addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{},resize:!1}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes:()=>({src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){return["img",(0,s.mergeAttributes)(this.options.HTMLAttributes,e)]},parseMarkdown:(e,t)=>t.createNode("image",{src:e.href,title:e.title,alt:e.text}),renderMarkdown:e=>{var t,n,a,o,r,s;let i=null!=(n=null==(t=e.attrs)?void 0:t.src)?n:"",l=null!=(o=null==(a=e.attrs)?void 0:a.alt)?o:"",c=null!=(s=null==(r=e.attrs)?void 0:r.title)?s:"";return c?``:``}
105,addNodeView(){if(!this.options.resize||!this.options.resize.enabled||"u"<typeof document)return null;let{directions:e,minWidth:t,minHeight:n,alwaysPreserveAspectRatio:a}=this.options.resize;return({node:o,getPos:r,HTMLAttributes:i,editor:l})=>{let c=document.createElement("img");Object.entries(i).forEach(([e,t])=>{if(null!=t)switch(e){case"width":case"height":break;default:c.setAttribute(e,t)}}),c.src=i.src;let p=new s.ResizableNodeView({element:c,editor:l,node:o,getPos:r,onResize:(e,t)=>{c.style.width=`${e}px`,c.style.height=`${t}px`},onCommit:(e,t)=>{let n=r();void 0!==n&&this.editor.chain().setNodeSelection(n).updateAttributes(this.name,{width:e,height:t}).run()},onUpdate:(e,t,n)=>e.type===o.type,options:{directions:e,min:{width:t,height:n},preserveAspectRatio:!0===a}}),d=p.dom;return d.style.visibility="hidden",d.style.pointerEvents="none",c.onload=()=>{d.style.visibility="",d.style.pointerEvents=""},p}},addCommands(){return{setImage:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e})}},addInputRules(){return[(0,s.nodeInputRule)({find:b,type:this.type,getAttributes:e=>{let[,,t,n,a]=e;return{src:n,alt:t,title:a}}})]}});var v=e.i(605842);class y{constructor(e,t){var n;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=null!=(n=t.width)?n:1,this.color=!1===t.color?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(t=>{let n=e=>{this[t](e)};return e.dom.addEventListener(t,n),{name:t,handler:n}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){if(null!=this.cursorPos&&t.doc!=e.state.doc)if(this.lastDragEvent){let e=this.computeTarget(this.lastDragEvent);e==this.cursorPos?this.updateOverlay():this.setCursor(e)}else this.updateOverlay()}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e,t,n=this.editorView.state.doc.resolve(this.cursorPos),a=!n.parent.inlineContent,o,r=this.editorView.dom,s=r.getBoundingClientRect(),i=s.width/r.offsetWidth,l=s.height/r.offsetHeight;if(a){let e=n.nodeBefore,t=n.nodeAfter;if(e||t){let n=this.editorView.nodeDOM(this.cursorPos-(e?e.nodeSize:0));if(n){let a=n.getBoundingClientRect(),r=e?a.bottom:a.top;e&&t&&(r=(r+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let s=this.width/2*l;o={left:a.left,right:a.right,top:r-s,bottom:r+s}}}}if(!o){let e=this.editorView.coordsAtPos(this.cursorPos),t=this.width/2*i;o={left:e.left-t,right:e.left+t,top:e.top,bottom:e.bottom}}let c=this.editorView.dom.offsetParent;if(!this.element&&(this.element=c.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",a),this.element.classList.toggle("prosemirror-dropcursor-inline",!a),c&&(c!=document.body||"static"!=getComputedStyle(c).position)){let n=c.getBoundingClientRect(),a=n.width/c.offsetWidth,o=n.height/c.offsetHeight;e=n.left-c.scrollLeft*a,t=n.top-c.scrollTop*o}else e=-pageXOffset,t=-pageYOffset;this.element.style.left=(o.left-e)/i+"px",this.element.style.top=(o.top-t)/l+"px",this.element.style.width=(o.right-o.left)/i+"px",this.element.style.height=(o.bottom-o.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),a=n&&n.type.spec.disableDropCursor,o="function"==typeof a?a(this.editorView,t,e):a;if(!t||o)return null;let r=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let e=(0,v.dropPoint)(this.editorView.state.doc,r,this.editorView.dragging.slice);null!=e&&(r=e)}return r}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let t=this.computeTarget(e);null!=t&&(this.setCursor(t),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}var j=e.i(202008),k=i,w=e.i(258060);class _ extends k.Selection{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return _.valid(n)?new _(n):k.Selection.near(n)}content(){return w.Slice.empty}eq(e){return e instanceof _&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for GapCursor.fromJSON");return new _(e.resolve(t.pos))}getBookmark(){return new E(this.anchor)}static valid(e){let t=e.parent;if(t.inlineContent||!function(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),a=e.node(t);if(0==n){if(a.type.spec.isolating)return!0;continue}for(let e=a.child(n-1);;e=e.lastChild){if(0==e.childCount&&!e.inlineContent||D(e.type))return!0;
105if(e.inlineContent)return!1}}return!0}(e)||!function(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),a=e.node(t);if(n==a.childCount){if(a.type.spec.isolating)return!0;continue}for(let e=a.child(n);;e=e.firstChild){if(0==e.childCount&&!e.inlineContent||D(e.type))return!0;if(e.inlineContent)return!1}}return!0}(e))return!1;let n=t.type.spec.allowGapCursor;if(null!=n)return n;let a=t.contentMatchAt(e.index()).defaultType;return a&&a.isTextblock}static findGapCursorFrom(e,t,n=!1){a:for(;;){if(!n&&_.valid(e))return e;let a=e.pos,o=null;for(let n=e.depth;;n--){let r=e.node(n);if(t>0?e.indexAfter(n)<r.childCount:e.index(n)>0){o=r.child(t>0?e.indexAfter(n):e.index(n)-1);break}if(0==n)return null;a+=t;let s=e.doc.resolve(a);if(_.valid(s))return s}for(;;){let r=t>0?o.firstChild:o.lastChild;if(!r){if(o.isAtom&&!o.isText&&!k.NodeSelection.isSelectable(o)){e=e.doc.resolve(a+o.nodeSize*t),n=!1;continue a}break}o=r,a+=t;let s=e.doc.resolve(a);if(_.valid(s))return s}return null}}}_.prototype.visible=!1,_.findFrom=_.findGapCursorFrom,k.Selection.jsonID("gapcursor",_);class E{constructor(e){this.pos=e}map(e){return new E(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return _.valid(t)?new _(t):k.Selection.near(t)}}function D(e){return e.isAtom||e.spec.isolating||e.spec.createGapCursor}let T=(0,j.keydownHandler)({ArrowLeft:I("horiz",-1),ArrowRight:I("horiz",1),ArrowUp:I("vert",-1),ArrowDown:I("vert",1)});function I(e,t){let n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,a,o){let r=e.selection,s=t>0?r.$to:r.$from,i=r.empty;if(r instanceof k.TextSelection){if(!o.endOfTextblock(n)||0==s.depth)return!1;i=!1,s=e.doc.resolve(t>0?s.after():s.before())}let l=_.findGapCursorFrom(s,t,i);return!!l&&(a&&a(e.tr.setSelection(new _(l))),!0)}}function x(e,t,n){if(!e||!e.editable)return!1;let a=e.state.doc.resolve(t);if(!_.valid(a))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return!(o&&o.inside>-1&&k.NodeSelection.isSelectable(e.state.doc.nodeAt(o.inside)))&&(e.dispatch(e.state.tr.setSelection(new _(a))),!0)}function C(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof _))return!1;let{$from:n}=e.state.selection,a=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!a)return!1;let o=w.Fragment.empty;for(let e=a.length-1;e>=0;e--)o=w.Fragment.from(a[e].createAndFill(null,o));let r=e.state.tr.replace(n.pos,n.pos,new w.Slice(o,0,0));return r.setSelection(k.TextSelection.near(r.doc.resolve(n.pos+1))),e.dispatch(r),!1}function S(e){if(!(e.selection instanceof _))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",l.DecorationSet.create(e.doc,[l.Decoration.widget(e.selection.head,t,{key:"gapcursor"})])}var A=function(){};A.prototype.append=function(e){return e.length?(e=A.from(e),!this.length&&e||e.length<200&&this.leafAppend(e)||this.length<200&&e.leafPrepend(this)||this.appendInner(e)):this},A.prototype.prepend=function(e){return e.length?A.from(e).append(this):this},A.prototype.appendInner=function(e){return new M(this,e)},A.prototype.slice=function(e,t){return(void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t)?A.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},A.prototype.get=function(e){if(!(e<0)&&!(e>=this.length))return this.getInner(e)},A.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},A.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var a=[];return this.forEach(function(t,n){return a.push(e(t,n))},t,n),a},A.from=function(e){return e instanceof A?e:e&&e.length?new N(e):A.empty};var N=function(e){function t(t){e.call(this),this.values=t}t.__proto__=e,t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,a){for(var o=t;o<n;o++)if(!1===e(this.values[o],a+o))return!1},t.prototype.forEachInvertedInner=function(e,t,n,a){for(var o=t-1;o>=n;o--)if(!1===e(this.values[o],a+o))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=200)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=200)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(A);A.empty=new N([]);var M=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return t.__proto__=e,t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,a){var o=this.left.length;if(t<o&&!1===this.left.forEachInner(e,t,Math.min(n,o),a)||n>o&&!1===this.right.forEachInner(e,Math.max(t-o,0),Math.min(this.length,n)-o,a+o))return!1},t.prototype.forEachInvertedInner=function(e,t,n,a){var o=this.left.length;if(t>o&&!1===this.right.forEachInvertedInner(e,t-o,Math.max(n,o)-o,a+o)||n<o&&!1===this.left.forEachInvertedInner(e,Math.min(t,o),n,a))return!1},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(A);class O{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){let n,a,o,r;if(0==this.eventCount)return null;let s=this.items.length;for(;;s--)if(this.items.get(s-1).selection){--s;break}t&&(a=(n=this.remapping(s,this.items.length)).maps.length);let i=e.tr,l=[],c=[];
105return this.items.forEach((e,t)=>{if(!e.step){n||(a=(n=this.remapping(s,t+1)).maps.length),a--,c.push(e);return}if(n){c.push(new R(e.map));let t=e.step.map(n.slice(a)),o;t&&i.maybeStep(t).doc&&(o=i.mapping.maps[i.mapping.maps.length-1],l.push(new R(o,void 0,void 0,l.length+c.length))),a--,o&&n.appendMap(o,a)}else i.maybeStep(e.step);if(e.selection)return o=n?e.selection.map(n.slice(a)):e.selection,r=new O(this.items.slice(0,s).append(c.reverse().concat(l)),this.eventCount-1),!1},this.items.length,0),{remaining:r,transform:i,selection:o}}addTransform(e,t,n,a){var o,r;let s,i=[],l=this.eventCount,c=this.items,p=!a&&c.length?c.get(c.length-1):null;for(let n=0;n<e.steps.length;n++){let o=e.steps[n].invert(e.docs[n]),r=new R(e.mapping.maps[n],o,t),s;(s=p&&p.merge(r))&&(r=s,n?i.pop():c=c.slice(0,c.length-1)),i.push(r),t&&(l++,t=void 0),a||(p=r)}let d=l-n.depth;return d>P&&(o=c,r=d,o.forEach((e,t)=>{if(e.selection&&0==r--)return s=t,!1}),c=o.slice(s),l-=d),new O(c.append(i),l)}remapping(e,t){let n=new v.Mapping;return this.items.forEach((t,a)=>{let o=null!=t.mirrorOffset&&a-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,o)},e,t),n}addMaps(e){return 0==this.eventCount?this:new O(this.items.append(e.map(e=>new R(e))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let n=[],a=Math.max(0,this.items.length-t),o=e.mapping,r=e.steps.length,s=this.eventCount;this.items.forEach(e=>{e.selection&&s--},a);let i=t;this.items.forEach(t=>{let a=o.getMirror(--i);if(null==a)return;r=Math.min(r,a);let l=o.maps[a];if(t.step){let r=e.steps[a].invert(e.docs[a]),c=t.selection&&t.selection.map(o.slice(i+1,a));c&&s++,n.push(new R(l,r,c))}else n.push(new R(l))},a);let l=[];for(let e=t;e<r;e++)l.push(new R(o.maps[e]));let c=new O(this.items.slice(0,a).append(l).append(n),s);return c.emptyItemCount()>500&&(c=c.compress(this.items.length-n.length)),c}emptyItemCount(){let e=0;return this.items.forEach(t=>{!t.step&&e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),n=t.maps.length,a=[],o=0;return this.items.forEach((r,s)=>{if(s>=e)a.push(r),r.selection&&o++;else if(r.step){let e=r.step.map(t.slice(n)),s=e&&e.getMap();if(n--,s&&t.appendMap(s,n),e){let i=r.selection&&r.selection.map(t.slice(n));i&&o++;let l=new R(s.invert(),e,i),c,p=a.length-1;(c=a.length&&a[p].merge(l))?a[p]=c:a.push(l)}}else r.map&&n--},this.items.length,0),new O(A.from(a.reverse()),o)}}O.empty=new O(A.empty,0);class R{constructor(e,t,n,a){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=a}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new R(t.getMap().invert(),t,this.selection)}}}class F{constructor(e,t,n,a,o){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=a,this.prevComposition=o}}let P=20;function L(e){let t=[];for(let n=e.length-1;n>=0&&0==t.length;n--)e[n].forEach((e,n,a,o)=>t.push(a,o));return t}function B(e,t){if(!e)return null;let n=[];for(let a=0;a<e.length;a+=2){let o=t.map(e[a],1),r=t.map(e[a+1],-1);o<=r&&n.push(o,r)}return n}let H=!1,U=null;function z(e){let t=e.plugins;if(U!=t){H=!1,U=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){H=!0;break}}return H}let $=new i.PluginKey("history"),q=new i.PluginKey("closeHistory");function V(e,t){return(n,a)=>{let o=$.getState(n);if(!o||0==(e?o.undone:o.done).eventCount)return!1;if(a){let r=function(e,t,n){let a=z(t),o=$.get(t).spec.config,r=(n?e.undone:e.done).popEvent(t,a);if(!r)return null;let s=r.selection.resolve(r.transform.doc),i=(n?e.done:e.undone).addTransform(r.transform,t.selection.getBookmark(),o,a),l=new F(n?i:r.remaining,n?r.remaining:i,null,0,-1);return r.transform.setSelection(s).setMeta($,{redo:n,historyState:l})}(o,n,e);r&&a(t?r.scrollIntoView():r)}return!0}}let W=V(!1,!0),G=V(!0,!0);V(!1,!1),V(!0,!1),s.Extension.create({name:"characterCount",addOptions:()=>({limit:null,mode:"textSize",textCounter:e=>e.length,wordCounter:e=>e.split(" ").filter(e=>""!==e).length}),addStorage:()=>({characters:()=>0,words:()=>0}),onBeforeCreate(){this.storage.characters=e=>{let t=(null==e?void 0:e.node)||this.editor.state.doc;if("textSize"===((null==e?void 0:e.mode)||this.options.mode)){let e=t.textBetween(0,t.content.size,void 0," ");return this.options.textCounter(e)}return t.nodeSize},this.storage.words=e=>{let t=(null==e?void 0:e.node)||this.editor.state.doc,n=t.textBetween(0,t.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new i.Plugin({key:new i.PluginKey("characterCount"),appendTransaction:(t,n,a)=>
105{if(e)return;let o=this.options.limit;if(null==o||0===o){e=!0;return}let r=this.storage.characters({node:a.doc});if(r>o){console.warn(`[CharacterCount] Initial content exceeded limit of ${o} characters. Content was automatically trimmed.`);let t=a.tr.deleteRange(0,r-o);return e=!0,t}e=!0},filterTransaction:(e,t)=>{let n=this.options.limit;if(!e.docChanged||0===n||null==n)return!0;let a=this.storage.characters({node:t.doc}),o=this.storage.characters({node:e.doc});if(o<=n||a>n&&o>n&&o<=a)return!0;if(a>n&&o>n&&o>a||!e.getMeta("paste"))return!1;let r=e.selection.$head.pos;return e.deleteRange(r-(o-n),r),!(this.storage.characters({node:e.doc})>n)}})]}});var Y=s.Extension.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[function(e={}){return new i.Plugin({view:t=>new y(t,e)})}(this.options)]}});s.Extension.create({name:"focus",addOptions:()=>({className:"has-focus",mode:"all"}),addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("focus"),props:{decorations:({doc:e,selection:t})=>{let{isEditable:n,isFocused:a}=this.editor,{anchor:o}=t,r=[];if(!n||!a)return l.DecorationSet.create(e,[]);let s=0;"deepest"===this.options.mode&&e.descendants((e,t)=>{if(!e.isText){if(!(o>=t&&o<=t+e.nodeSize-1))return!1;s+=1}});let i=0;return e.descendants((e,t)=>!e.isText&&!!(o>=t&&o<=t+e.nodeSize-1)&&((i+=1,"deepest"===this.options.mode&&s-i>0||"shallowest"===this.options.mode&&i>1)?"deepest"===this.options.mode:void r.push(l.Decoration.node(t,t+e.nodeSize,{class:this.options.className})))),l.DecorationSet.create(e,r)}}})]}});var K=s.Extension.create({name:"gapCursor",addProseMirrorPlugins:()=>[new k.Plugin({props:{decorations:S,createSelectionBetween:(e,t,n)=>t.pos==n.pos&&_.valid(n)?new _(n):null,handleClick:x,handleKeyDown:T,handleDOMEvents:{beforeinput
105:C}}})],extendNodeSchema(e){var t;let n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:null!=(t=(0,s.callOrReturn)((0,s.getExtensionField)(e,"allowGapCursor",n)))?t:null}}}),Q="placeholder";function X({types:e,node:t}){return t&&Array.isArray(e)&&e.includes(t.type)||(null==t?void 0:t.type)===e}s.Extension.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:Q,placeholder:"Write something â¦",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){let e=this.options.dataAttribute?`data-${this.options.dataAttribute.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}`:`data-${Q}`;return[new i.Plugin({key:new i.PluginKey("placeholder"),props:{decorations:({doc:t,selection:n})=>{let a=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:o}=n,r=[];if(!a)return null;let i=this.editor.isEmpty;return t.descendants((t,n)=>{let a=o>=n&&o<=n+t.nodeSize,c=!t.isLeaf&&(0,s.isNodeEmpty)(t);if(!t.type.isTextblock)return this.options.includeChildren;if((a||!this.options.showOnlyCurrent)&&c){let o=[this.options.emptyNodeClass];i&&o.push(this.options.emptyEditorClass);let s=l.Decoration.node(n,n+t.nodeSize,{class:o.join(" "),[e]:"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:t,pos:n,hasAnchor:a}):this.options.placeholder});r.push(s)}return this.options.includeChildren}),l.DecorationSet.create(t,r)}}})]}}),s.Extension.create({name:"selection",addOptions:()=>({className:"selection"}),addProseMirrorPlugins(){let{editor:e,options:t}=this;return[new i.Plugin({key:new i.PluginKey("selection"),props:{decorations:n=>n.selection.empty||e.isFocused||!e.isEditable||(0,s.isNodeSelection)(n.selection)||e.view.dragging?null:l.DecorationSet.create(n.doc,[l.Decoration.inline(n.selection.from,n.selection.to,{class:t.className})])}})]}});var J=s.Extension.create({name:"trailingNode",addOptions:()=>({node:void 0,notAfter:[]}),addProseMirrorPlugins(){var e;let t=new i.PluginKey(this.name),n=this.options.node||(null==(e=this.editor.schema.topNodeType.contentMatch.defaultType)?void 0:e.name)||"paragraph",a=Object.entries(this.editor.schema.nodes).map(([,e])=>e).filter(e=>(this.options.notAfter||[]).concat(n).includes(e.name));return[new i.Plugin({key:t,appendTransaction:(e,a,o)=>{let{doc:r,tr:s,schema:i}=o,l=t.getState(o),c=r.content.size,p=i.nodes[n];if(!e.some(e=>e.getMeta("skipTrailingNode"))&&l)return s.insert(c,p.create())},state:{init:(e,t)=>!X({node:t.tr.doc.lastChild,types:a}),apply:(e,t)=>!e.docChanged||e.getMeta("__uniqueIDTransaction")?t:!X({node:e.doc.lastChild,types:a})}})]}}),Z=s.Extension.create({name:"undoRedo",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:e,dispatch:t})=>W(e,t),redo:()=>({state:e,dispatch:t})=>G(e,t)}),addProseMirrorPlugins(){return[function(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new i.Plugin({key:$,state:{init:()=>new F(O.empty,O.empty,null,0,-1),apply:(t,n,a)=>(function(e,t,n,a){let o=n.getMeta($),r;if(o)return o.historyState;n.getMeta(q)&&(e=new F(e.done,e.undone,null,0,-1));let s=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(s&&s.getMeta($))if(s.getMeta($).redo)return new F(e.done.addTransform(n,void 0,a,z(t)),e.undone,L(n.mapping.maps),e.prevTime,e.prevComposition);else return new F(e.done,e.undone.addTransform(n,void 0,a,z(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||s&&!1===s.getMeta("addToHistory"))if(r=n.getMeta("rebased"))return new F(e.done.rebased(n,r),e.undone.rebased(n,r),B(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);else return new F(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),B(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);{let o=n.getMeta("composition"),r=0==e.prevTime||!s&&e.prevComposition!=o&&(e.prevTime<(n.time||0)-a.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;
105return e.mapping.maps[0].forEach((e,a)=>{for(let o=0;o<t.length;o+=2)e<=t[o+1]&&a>=t[o]&&(n=!0)}),n}(n,e.prevRanges)),i=s?B(e.prevRanges,n.mapping):L(n.mapping.maps);return new F(e.done.addTransform(n,r?t.selection.getBookmark():void 0,a,z(t)),O.empty,i,n.time,null==o?e.prevComposition:o)}})(n,a,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,a="historyUndo"==n?W:"historyRedo"==n?G:null;return!!a&&!!e.editable&&(t.preventDefault(),a(e.state,e.dispatch))}}}})}(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()}}}),ee=(e,t=0)=>{let n=[];return!e.children.length||t>20||Array.from(e.children).forEach(e=>{"SPAN"===e.tagName?n.push(e):e.children.length&&n.push(...ee(e,t+1))}),n},et=s.Mark.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{},mergeNestedSpanStyles:!0}),parseHTML(){return[{tag:"span",consuming:!1,getAttrs:e=>{var t;return!!e.hasAttribute("style")&&(this.options.mergeNestedSpanStyles&&(t=e).children.length&&ee(t).forEach(e=>{var t,n;let a=e.getAttribute("style"),o=null==(n=null==(t=e.parentElement)?void 0:t.closest("span"))?void 0:n.getAttribute("style");e.setAttribute("style",`${o};${a}`)}),{})}}]},renderHTML({HTMLAttributes:e}){return["span",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleTextStyle:e=>({commands:t})=>t.toggleMark(this.name,e),removeEmptyTextStyle:()=>({tr:e})=>{let{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,(t,n)=>{if(t.isTextblock)return!0;t.marks.filter(e=>e.type===this.type).some(e=>Object.values(e.attrs).some(e=>!!e))||e.removeMark(n,n+t.nodeSize,this.type)}),!0}}}}),en=s.Extension.create({name:"backgroundColor",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{backgroundColor:{default:null,parseHTML:e=>{var t;let n=e.getAttribute("style");if(n){let e=n.split(";").map(e=>e.trim()).filter(Boolean);for(let t=e.length-1;t>=0;t-=1){let n=e[t].split(":");if(n.length>=2){let e=n[0].trim().toLowerCase(),t=n.slice(1).join(":").trim();if("background-color"===e)return t.replace(/['"]+/g,"")}}}return null==(t=e.style.backgroundColor)?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.backgroundColor?{style:`background-color: ${e.backgroundColor}`}:{}}}}]},addCommands:()=>({setBackgroundColor:e=>({chain:t})=>t().setMark("textStyle",{backgroundColor:e}).run(),unsetBackgroundColor:()=>({chain:e})=>e().setMark("textStyle",{backgroundColor:null}).removeEmptyTextStyle().run()})}),ea=s.Extension.create({name:"color",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{var t;let n=e.getAttribute("style");if(n){let e=n.split(";").map(e=>e.trim()).filter(Boolean);for(let t=e.length-1;t>=0;t-=1){let n=e[t].split(":");if(n.length>=2){let e=n[0].trim().toLowerCase(),t=n.slice(1).join(":").trim();if("color"===e)return t.replace(/['"]+/g,"")}}}return null==(t=e.style.color)?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.color?{style:`color: ${e.color}`}:{}}}}]},addCommands:()=>({setColor:e=>({chain:t})=>t().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()})}),eo=s.Extension.create({name:"fontFamily",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:e=>e.style.fontFamily,renderHTML:e=>e.fontFamily?{style:`font-family: ${e.fontFamily}`}:{}}}}]},addCommands:()=>({setFontFamily:e=>({chain:t})=>t().setMark("textStyle",{fontFamily:e}).run(),unsetFontFamily:()=>({chain:e})=>e().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()})}),er=s.Extension.create({name:"fontSize",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:e=>e.style.fontSize,renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands:()=>({setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()})}),es=s.Extension.create({name:"lineHeight",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:e=>e.style.lineHeight,renderHTML:e=>e.lineHeight?{style:`line-height: ${e.lineHeight}`}:{}}}}]},addCommands:()=>({setLineHeight:e=>({chain:t})=>t().setMark("textStyle",{lineHeight:e}).run(),unsetLineHeight:()=>({chain:e})=>e().setMark("textStyle",{lineHeight:null}).removeEmptyTextStyle().run()})});s.Extension.create({name:"textStyleKit",addExtensions(){let e=[];return!1!==this.options.backgroundColor&&e.push(en.configure(this.options.backgroundColor)),!1!==this.options.color&&e.push(ea.configure(this.options.color)),!1!==this.options.fontFamily&&e.push(eo.configure(this.options.fontFamily)),!1!==this.options.fontSize&&e.push(er.configure(this.options.fontSize)),!1!==this.options.lineHeight&&e.push(es.configure(this.options.lineHeight)),!1!==this.options.textStyle&&e.push(et.configure(this.options.textStyle)),e}});var ei=e=>(0,s.textInputRule)({find:/(?:^|[\s{[(<'"\u2018\u201C])(")$/,replace:null!=e?e:"â"}),el=e=>(0,s.textInputRule)({find:/"$/,replace:null!=e?e:"â"}),ec=e=>(0,s.textInputRule)({find:/(?:^|[\s{[(<'"\u2018\u201C])(')$/,replace:null!=e?e:"â"}
105),ep=e=>(0,s.textInputRule)({find:/'$/,replace:null!=e?e:"â"});s.Extension.create({name:"typography",addOptions:()=>({closeDoubleQuote:"â",closeSingleQuote:"â",copyright:"©",ellipsis:"â¦",emDash:"â",laquo:"«",leftArrow:"â",multiplication:"Ã",notEqual:"â ",oneHalf:"½",oneQuarter:"¼",openDoubleQuote:"â",openSingleQuote:"â",plusMinus:"±",raquo:"»",registeredTrademark:"®",rightArrow:"â",servicemark:"â ",superscriptThree:"³",superscriptTwo:"²",threeQuarters:"¾",trademark:"â¢"}),addInputRules(){var e,t;let n,a,o,r,i,l,c,p,d,u,m,h,f,g,b,v,y,j,k=[];!1!==this.options.emDash&&k.push((n=this.options.emDash,(0,s.textInputRule)({find:/--$/,replace:null!=n?n:"â"}))),!1!==this.options.ellipsis&&k.push((a=this.options.ellipsis,(0,s.textInputRule)({find:/\.\.\.$/,replace:null!=a?a:"â¦"})));let w="rtl"===this.editor.options.textDirection;if(null==(e=this.options.doubleQuotes)?void 0:e.rtl){let{open:e,close:t}=this.options.doubleQuotes.rtl;k.push(ei(e)),k.push(el(t))}else w?(k.push(ei("â")),k.push(el("â"))):(!1!==this.options.openDoubleQuote&&k.push(ei(this.options.openDoubleQuote)),!1!==this.options.closeDoubleQuote&&k.push(el(this.options.closeDoubleQuote)));if(null==(t=this.options.singleQuotes)?void 0:t.rtl){let{open:e,close:t}=this.options.singleQuotes.rtl;k.push(ec(e)),k.push(ep(t))}else w?(k.push(ec("â")),k.push(ep("â"))):(!1!==this.options.openSingleQuote&&k.push(ec(this.options.openSingleQuote)),!1!==this.options.closeSingleQuote&&k.push(ep(this.options.closeSingleQuote)));return!1!==this.options.leftArrow&&k.push((o=this.options.leftArrow,(0,s.textInputRule)({find:/<-$/,replace:null!=o?o:"â"}))),!1!==this.options.rightArrow&&k.push((r=this.options.rightArrow,(0,s.textInputRule)({find:/->$/,replace:null!=r?r:"â"}))),!1!==this.options.copyright&&k.push((i=this.options.copyright,(0,s.textInputRule)({find:/\(c\)$/,replace:null!=i?i:"©"}))),!1!==this.options.trademark&&k.push((l=this.options.trademark,(0,s.textInputRule)({find:/\(tm\)$/,replace:null!=l?l:"â¢"}))),!1!==this.options.servicemark&&k.push((c=this.options.servicemark,(0,s.textInputRule)({find:/\(sm\)$/,replace:null!=c?c:"â "}))),!1!==this.options.registeredTrademark&&k.push((p=this.options.registeredTrademark,(0,s.textInputRule)({find:/\(r\)$/,replace:null!=p?p:"®"}))),!1!==this.options.oneHalf&&k.push((d=this.options.oneHalf,(0,s.textInputRule)({find:/(?:^|\s)(1\/2)\s$/,replace:null!=d?d:"½"}))),!1!==this.options.plusMinus&&k.push((u=this.options.plusMinus,(0,s.textInputRule)({find:/\+\/-$/,replace:null!=u?u:"±"}))),!1!==this.options.notEqual&&k.push((m=this.options.notEqual,(0,s.textInputRule)({find:/!=$/,replace:null!=m?m:"â "}))),!1!==this.options.laquo&&k.push((h=this.options.laquo,(0,s.textInputRule)({find:/<<$/,replace:null!=h?h:"«"}))),!1!==this.options.raquo&&k.push((f=this.options.raquo,(0,s.textInputRule)({find:/>>$/,replace:null!=f?f:"»"}))),!1!==this.options.multiplication&&k.push((g=this.options.multiplication,(0,s.textInputRule)({find:/\d+\s?([*x])\s?\d+$/,replace:null!=g?g:"Ã"}))),!1!==this.options.superscriptTwo&&k.push((b=this.options.superscriptTwo,(0,s.textInputRule)({find:/\^2$/,replace:null!=b?b:"²"}))),!1!==this.options.superscriptThree&&k.push((v=this.options.superscriptThree,(0,s.textInputRule)({find:/\^3$/,replace:null!=v?v:"³"}))),!1!==this.options.oneQuarter&&k.push((y=this.options.oneQuarter,(0,s.textInputRule)({find:/(?:^|\s)(1\/4)\s$/,replace:null!=y?y:"¼"}))),!1!==this.options.threeQuarters&&k.push((j=this.options.threeQuarters,(0,s.textInputRule)({find:/(?:^|\s)(3\/4)\s$/,replace:null!=j?j:"¾"}))),k}});var ed=(e,t)=>{if("slot"===e)return 0;if(e instanceof Function)return e(t);let{children:n,...a}=null!=t?t:{};if("svg"===e)throw Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[e,a,n]},eu=/^\s*>\s$/,em=s.Node.create({name:"blockquote",addOptions:()=>({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=>[{tag:"blockquote"}],renderHTML({HTMLAttributes:e}){return ed("blockquote",{...(0,s.mergeAttributes)(this.options.HTMLAttributes,e),children:ed("slot",{})})},parseMarkdown:(e,t)=>{var n;let a=null!=(n=t.parseBlockChildren)?n:t.parseChildren;return t.createNode("blockquote",void 0,a(e.tokens||[]))},renderMarkdown:(e,t)=>{if(!e.content)return"";let n=[];return e.content.forEach((e,a)=>{var o,r;let s=(null!=(r=null==(o=t.renderChild)?void 0:o.call(t,e,a))?r:t.renderChildren([e])).split("\n").map(e=>""===e.trim()?">":`> ${e}`);n.push(s.join("\n"))}),n.join(` 106> 107`)},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}}
107,addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[(0,s.wrappingInputRule)({find:eu,type:this.type})]}}),eh=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,ef=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,eg=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,eb=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,ev=s.Mark.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return ed("strong",{...(0,s.mergeAttributes)(this.options.HTMLAttributes,e),children:ed("slot",{})})},markdownTokenName:"strong",parseMarkdown:(e,t)=>t.applyMark("bold",t.parseInline(e.tokens||[])),markdownOptions:{htmlReopen:{open:"<strong>",close:"</strong>"}},renderMarkdown:(e,t)=>`**${t.renderChildren(e)}**`,addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[(0,s.markInputRule)({find:eh,type:this.t
107ype}),(0,s.markInputRule)({find:eg,type:this.type})]},addPasteRules(){return[(0,s.markPasteRule)({find:ef,type:this.type}),(0,s.markPasteRule)({find:eb,type:this.type})]}}),ey=/(^|[^`])`([^`]+)`(?!`)$/,ej=/(^|[^`])`([^`]+)`(?!`)/g,ek=s.Mark.create({name:"code",addOptions:()=>({HTMLAttributes:{}}),excludes:"_",code:!0,exitable:!0,parseHTML:()=>[{tag:"code"}],renderHTML({HTMLAttributes:e}){return["code",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},markdownTokenName:"codespan",parseMarkdown:(e,t)=>t.applyMark("code",[{type:"text",text:e.text||""}]),renderMarkdown:(e,t)=>e.content?`\`${t.renderChildren(e.content)}\``:"",addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[(0,s.markInputRule)({find:ey,type:this.type})]},addPasteRules(){return[(0,s.markPasteRule)({find:ej,type:this.type})]}}),ew=/^```([a-z]+)?[\s\n]$/,e_=/^~~~([a-z]+)?[\s\n]$/,eE=s.Node.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:4,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;let{languageClassPrefix:n}=this.options;if(!n)return null;let a=[...(null==(t=e.firstElementChild)?void 0:t.classList)||[]].filter(e=>e.startsWith(n)).map(e=>e.replace(n,""))[0];return a||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:e,HTMLAttributes:t}){return["pre",(0,s.mergeAttributes)(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(e,t)=>{var n,a;return(null==(n=e.raw)?void 0:n.startsWith("```"))===!1&&(null==(a=e.raw)?void 0:a.startsWith("~~~"))===!1&&"indented"!==e.codeBlockStyle?[]:t.createNode("codeBlock",{language:e.lang||null},e.text?[t.createTextNode(e.text)]:[])},renderMarkdown:(e,t)=>{var n;let a=(null==(n=e.attrs)?void 0:n.language)||"";return e.content?[`\`\`\`${a}`,t.renderChildren(e.content),"```"].join("\n"):`\`\`\`${a} 108 109\`\`\``},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{let{empty:e,$anchor:t}=this.editor.state.selection,n=1===t.pos;return!!e&&t.parent.type.name===this.name&&(!!n||!t.parent.textContent.length)&&this.editor.commands.clearNodes()},Tab:({editor:e})=>{var t;if(!this.options.enableTabIndentation)return!1;let n=null!=(t=this.options.tabSize)?t:4,{state:a}=e,{selection:o}=a,{$from:r,empty:s}=o;if(r.parent.type!==this.type)return!1;let i=" ".repeat(n);return s?e.commands.insertContent(i):e.commands.command(({tr:e})=>{let{from:t,to:n}=o,r=a.doc.textBetween(t,n,"\n","\n").split("\n").map(e=>i+e).join("\n");return e.replaceWith(t,n,a.schema.text(r)),!0})},"Shift-Tab":({editor:e})=>{var t;if(!this.options.enableTabIndentation)return!1;let n=null!=(t=this.options.tabSize)?t:4,{state:a}=e,{selection:o}=a,{$from:r,empty:s}=o;return r.parent.type===this.type&&(s?e.commands.command(({tr:e})=>{var t;let{pos:o}=r,s=r.start(),l=r.end(),c=a.doc.textBetween(s,l,"\n","\n").split("\n"),p=0,d=0,u=o-s;for(let e=0;e<c.length;e+=1){if(d+c[e].length>=u){p=e;break}d+=c[e].length+1}let m=Math.min(((null==(t=c[p].match(/^ */))?void 0:t[0])||"").length,n);if(0===m)return!0;let h=s;for(let e=0;e<p;e+=1)h+=c[e].length+1;return e.delete(h,h+m),o-h<=m&&e.setSelection(i.TextSelection.create(e.doc,h)),!0}):e.commands.command(({tr:e})=>{let{from:t,to:r}=o,s=a.doc.textBetween(t,r,"\n","\n").split("\n").map(e=>{var t;let a=Math.min(((null==(t=e.match(/^ */))?void 0:t[0])||"").length,n);return e.slice(a)}).join("\n");return e.replaceWith(t,r,a.schema.text(s)),!0}))},Enter:({editor:e})=>
109{if(!this.options.exitOnTripleEnter)return!1;let{state:t}=e,{selection:n}=t,{$from:a,empty:o}=n;if(!o||a.parent.type!==this.type)return!1;let r=a.parentOffset===a.parent.nodeSize-2,s=a.parent.textContent.endsWith("\n\n");return!!r&&!!s&&e.chain().command(({tr:e})=>(e.delete(a.pos-2,a.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;let{state:t}=e,{selection:n,doc:a}=t,{$from:o,empty:r}=n;if(!r||o.parent.type!==this.type||o.parentOffset!==o.parent.nodeSize-2)return!1;let s=o.after();return void 0!==s&&(a.nodeAt(s)?e.commands.command(({tr:e})=>(e.setSelection(i.Selection.near(a.resolve(s))),!0)):e.commands.exitCode())}}},addInputRules(){return[(0,s.textblockTypeInputRule)({find:ew,type:this.type,getAttributes:e=>({language:e[1]})}),(0,s.textblockTypeInputRule)({find:e_,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new i.Plugin({key:new i.PluginKey("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;let n=t.clipboardData.getData("text/plain"),a=t.clipboardData.getData("vscode-editor-data"),o=a?JSON.parse(a):void 0,r=null==o?void 0:o.mode;if(!n||!r)return!1;let{tr:s,schema:l}=e.state,c=l.text(n.replace(/\r\n?/g,"\n"));return s.replaceSelectionWith(this.type.create({language:r},c)),s.selection.$from.parent.type!==this.type&&s.setSelection(i.TextSelection.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}}),eD=s.Node.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,"\n\n"):""}),eT=s.Node.create({name:"hardBreak",markdownTokenName:"br",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:e}){return["br",(0,s.mergeAttributes)(this.options.HTMLAttributes,e)]},renderText:()=>"\n",renderMarkdown:()=>` 110`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:a})=>e.first([()=>e.exitCode(),()=>e.command(()=>{let{selection:e,storedMarks:o}=n;if(e.$from.parent.type.spec.isolating)return!1;let{keepMarks:r}=this.options,{splittableMarks:s}=a.extensionManager,i=o||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command(({tr:e,dispatch:t})=>{if(t&&i&&r){let t=i.filter(e=>s.includes(e.type.name));e.ensureMarks(t)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),eI=s.Node.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){let n=this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0];return[`h${n}`,(0,s.mergeAttributes)(this.options.HTMLAttributes,t),0]},parseMarkdown:(e,t)=>t.createNode("heading",{level:e.depth||1},t.parseInline(e.tokens||[])),renderMarkdown:(e,t)=>{var n;let a=(null==(n=e.attrs)?void 0:n.level)?parseInt(e.attrs.level,10):1,o="#".repeat(a);return e.content?`${o} ${t.renderChildren(e.content)}`:""},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,...{[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}}),{})},addInputRules(){return this.options.levels.map(e=>(0,s.textblockTypeInputRule)({find:RegExp(`^(#{${Math.min(...this.options.levels)},${e}}
110)\\s$`),type:this.type,getAttributes:{level:e}}))}}),ex=s.Node.create({name:"horizontalRule",addOptions:()=>({HTMLAttributes:{},nextNodeType:"paragraph"}),group:"block",parseHTML:()=>[{tag:"hr"}],renderHTML({HTMLAttributes:e}){return["hr",(0,s.mergeAttributes)(this.options.HTMLAttributes,e)]},markdownTokenName:"hr",parseMarkdown:(e,t)=>t.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{if(!(0,s.canInsertNode)(t,t.schema.nodes[this.name]))return!1;let{selection:n}=t,{$to:a}=n,o=e();return(0,s.isNodeSelection)(n)?o.insertContentAt(a.pos,{type:this.name}):o.insertContent({type:this.name}),o.command(({state:e,tr:t,dispatch:n})=>{if(n){let{$to:n}=t.selection,a=n.end();if(n.nodeAfter)n.nodeAfter.isTextblock?t.setSelection(i.TextSelection.create(t.doc,n.pos+1)):n.nodeAfter.isBlock?t.setSelection(i.NodeSelection.create(t.doc,n.pos)):t.setSelection(i.TextSelection.create(t.doc,n.pos));else{let o=e.schema.nodes[this.options.nextNodeType]||n.parent.type.contentMatch.defaultType,r=null==o?void 0:o.create();r&&(t.insert(a,r),t.setSelection(i.TextSelection.create(t.doc,a+1)))}t.scrollIntoView()}return!0}).run()}}},addInputRules(){return[(0,s.nodeInputRule)({find:/^(?:---|â-|___\s|\*\*\*\s)$/,type:this.t
110ype})]}}),eC=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,eS=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,eA=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,eN=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,eM=s.Mark.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>"normal"!==e.style.fontStyle&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(e,t)=>t.applyMark("italic",t.parseInline(e.tokens||[])),markdownOptions:{htmlReopen:{open:"<em>",close:"</em>"}},renderMarkdown:(e,t)=>`*${t.renderChildren(e)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[(0,s.markInputRule)({find:eC,type:this.t
110ype}),(0,s.markInputRule)({find:eA,type:this.type})]},addPasteRules(){return[(0,s.markPasteRule)({find:eS,type:this.type}),(0,s.markPasteRule)({find:eN,type:this.type})]}});let eO="numeric",eR="ascii",eF="alpha",eP="asciinumeric",eL="alphanumeric",eB="domain",eH="emoji",eU="whitespace";function ez(e,t,n){for(let a in t[eO]&&(t[eP]=!0,t[eL]=!0),t[eR]&&(t[eP]=!0,t[eF]=!0),t[eP]&&(t[eL]=!0),t[eF]&&(t[eL]=!0),t[eL]&&(t[eB]=!0),t[eH]&&(t[eB]=!0),t){let t=(a in n||(n[a]=[]),n[a]);0>t.indexOf(e)&&t.push(e)}}function e$(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}e$.groups={},e$.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t<this.jr.length;t++){let n=this.jr[t][0],a=this.jr[t][1];if(a&&n.test(e))return a}return this.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,a){for(let o=0;o<e.length;o++)this.tt(e[o],t,n,a)},tr(e,t,n,a){let o;return a=a||e$.groups,t&&t.j?o=t:(o=new e$(t),n&&a&&ez(t,n,a)),this.jr.push([e,o]),o},ts(e,t,n,a){let o=this,r=e.length;if(!r)return o;for(let t=0;t<r-1;t++)o=o.tt(e[t]);return o.tt(e[r-1],t,n,a)},tt(e,t,n,a){if(a=a||e$.groups,t&&t.j)return this.j[e]=t,t;let o,r=this.go(e);return r?(Object.assign((o=new e$).j,r.j),o.jr.push.apply(o.jr,r.jr),o.jd=r.jd,o.t=r.t):o=new e$,t&&(a&&(o.t&&"string"==typeof o.t?ez(t,Object.assign(function(e,t){let n={};for(let a in t)t[a].indexOf(e)>=0&&(n[a]=!0);return n}(o.t,a),n),a):n&&ez(t,n,a)),o.t=t),this.j[e]=o,o}};let eq=(e,t,n,a,o)=>e.ta(t,n,a,o),eV=(e,t,n,a,o)=>e.tr(t,n,a,o),eW=(e,t,n,a,o)=>e.ts(t,n,a,o),eG=(e,t,n,a,o)=>e.tt(t,n,a,o),eY="WORD",eK="UWORD",eQ="ASCIINUMERICAL",eX="ALPHANUMERICAL",eJ="LOCALHOST",eZ="UTLD",e0="SCHEME",e1="SLASH_SCHEME",e6="OPENBRACE",e4="CLOSEBRACE",e2="OPENBRACKET",e3="CLOSEBRACKET",e5="OPENPAREN",e9="CLOSEPAREN",e8="OPENANGLEBRACKET",e7="CLOSEANGLEBRACKET",te="FULLWIDTHLEFTPAREN",tt="FULLWIDTHRIGHTPAREN",tn="LEFTCORNERBRACKET",ta="RIGHTCORNERBRACKET",to="LEFTWHITECORNERBRACKET",tr="RIGHTWHITECORNERBRACKET",ts="FULLWIDTHLESSTHAN",ti="FULLWIDTHGREATERTHAN",tl="AMPERSAND",tc="APOSTROPHE",tp="ASTERISK",td="BACKSLASH",tu="BACKTICK",tm="CARET",th="COLON",tf="COMMA",tg="DOLLAR",tb="EQUALS",tv="EXCLAMATION",ty="HYPHEN",tj="PERCENT",tk="PIPE",tw="PLUS",t_="POUND",tE="QUERY",tD="QUOTE",tT="FULLWIDTHMIDDLEDOT",tI="SEMI",tx="SLASH",tC="TILDE",tS="UNDERSCORE",tA="EMOJI";var tN=Object.freeze({__proto__:null,ALPHANUMERICAL:eX,AMPERSAND:tl,APOSTROPHE:tc,ASCIINUMERICAL:eQ,ASTERISK:tp,AT:"AT",BACKSLASH:td,BACKTICK:tu,CARET:tm,CLOSEANGLEBRACKET:e7,CLOSEBRACE:e4,CLOSEBRACKET:e3,CLOSEPAREN:e9,COLON:th,COMMA:tf,DOLLAR:tg,DOT:"DOT",EMOJI:tA,EQUALS:tb,EXCLAMATION:tv,FULLWIDTHGREATERTHAN:ti,FULLWIDTHLEFTPAREN:te,FULLWIDTHLESSTHAN:ts,FULLWIDTHMIDDLEDOT:tT,FULLWIDTHRIGHTPAREN:tt,HYPHEN:ty,LEFTCORNERBRACKET:tn,LEFTWHITECORNERBRACKET:to,LOCALHOST:eJ,NL:"NL",NUM:"NUM",OPENANGLEBRACKET:e8,OPENBRACE:e6,OPENBRACKET:e2,OPENPAREN:e5,PERCENT:tj,PIPE:tk,PLUS:tw,POUND:t_,QUERY:tE,QUOTE:tD,RIGHTCORNERBRACKET:ta,RIGHTWHITECORNERBRACKET:tr,SCHEME:e0,SEMI:tI,SLASH:tx,SLASH_SCHEME:e1,SYM:"SYM",TILDE:tC,TLD:"TLD",UNDERSCORE:tS,UTLD:eZ,UWORD:eK,WORD:eY,WS:"WS"});let tM=/[a-z]/,tO=/\p{L}/u,tR=/\p{Emoji}/u,tF=/\d/,tP=/\s/,tL=null,tB=null;function tH(e,t){let n=function(e){let t=[],n=e.length,a=0;for(;a<n;){let o,r=e.charCodeAt(a),s=r<55296||r>56319||a+1===n||(o=e.charCodeAt(a+1))<56320||o>57343?e[a]:e.slice(a,a+2);t.push(s),a+=s.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),a=n.length,o=[],r=0,s=0;for(;s<a;){let i=e,l=null,c=0,p=null,d=-1,u=-1;for(;s<a&&(l=i.go(n[s]));)(i=l).accepts()?(d=0,u=0,p=i):d>=0&&(d+=n[s].length,u++),c+=n[s].length,r+=n[s].length,s++;r-=d,s-=u,c-=d,o.push({t:p.t,v:t.slice(r-c,r),s:r-c,e:r})}return o}function tU(e,t,n,a,o){let r,s=t.length;for(let n=0;n<s-1;n++){let s=t[n];e.j[s]?r=e.j[s]:((r=new e$(a)).jr=o.slice(),e.j[s]=r),e=r}return(r=new e$(n)).jr=o.slice(),e.j[t[s-1]]=r,r}function tz(e){let t=[],n=[],a=0;for(;a<e.length;){let o=0;for(;"0123456789".indexOf(e[a+o])>=0;)o++;if(o>0){t.push(n.join(""));for(let t=parseInt(e.substring(a,a+o),10);t>0;t--)n.pop();a+=o}else n.push(e[a]),a++}return t}let t$={defaultProtocol:"http",events:null,format:tV,formatHref:tV,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function tq(e,t=null){let n=Object.assign({},t$);e&&(n=Object.assign(n,e instanceof tq?e.o:e));let a=n.ignoreTags,o=[];for(let e=0;e<a.length;e++)o.push(a[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=o}function tV(e){return e}function tW(e,t){this.t="token",this.v=e,this.tk=t}
110function tG(e,t){class n extends tW{constructor(t,n){super(t,n),this.t=e}}for(let e in t)n.prototype[e]=t[e];return n.t=e,n}tq.prototype={o:t$,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){let a=null!=t,o=this.o[e];return o&&("object"==typeof o?"function"==typeof(o=n.t in o?o[n.t]:t$[e])&&a&&(o=o(t,n)):"function"==typeof o&&a&&(o=o(t,n.t,n))),o},getObj(e,t,n){let a=this.o[e];return"function"==typeof a&&null!=t&&(a=a(t,n.t,n)),a},render(e){let t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},tW.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),n=e.get("truncate",t,this),a=e.get("format",t,this);return n&&a.length>n?a.substring(0,n)+"â¦":a},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=t$.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){let t=this.toHref(e.get("defaultProtocol")),n=e.get("formatHref",t,this),a=e.get("tagName",t,this),o=this.toFormattedString(e),r={},s=e.get("className",t,this),i=e.get("target",t,this),l=e.get("rel",t,this),c=e.getObj("attributes",t,this),p=e.getObj("events",t,this);return r.href=n,s&&(r.class=s),i&&(r.target=i),l&&(r.rel=l),c&&Object.assign(r,c),{tagName:a,attributes:r,content:o,eventListeners:p}}};let tY=tG("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),tK=tG("text"),tQ=tG("nl"),tX=tG("url",{isLink:!0,toHref(e=t$.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==eJ&&e[1].t===th}}),tJ=e=>new e$(e);function tZ(e,t,n){let a=n[0].s,o=n[n.length-1].e;return new e(t.slice(a,o),n)}let t0="u">typeof console&&console&&console.warn||(()=>{}),t1={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function t6(e,t=!1){if(t1.initialized&&t0(`linkifyjs: already initialized - will not register custom scheme "${e}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw Error(`linkifyjs: incorrect scheme format. 1111. Must only contain digits, lowercase ASCII letters or "-" 1122. Cannot start or end with "-" 1133. "-" cannot repeat`);t1.customSchemes.push([e,t])}function t4(e){return t1.initialized||function(){t1.scanner=function(e=[]){let t={};e$.groups=t;let n=new e$;null==tL&&(tL=tz("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
113ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==tB&&(tB=tz("ελ1Ï
2бг1ел3деÑи4еÑ2каÑолик6ом3мÐ
113ºÐ´2он1Ñква6онлайн5Ñг3ÑÑÑ2Ñ2ÑайÑ3Ñб3ÑкÑ3Òаз3Õ°Õ¡Õµ3×שר××5×§××3Ø§Ø¨ÙØ¸Ø¨Ù5راÙ
ÙÙ5ÙØ§Ø±Ø¯Ù4Ø¨ØØ±ÙÙ5جزائر5Ø³Ø¹ÙØ¯ÙØ©6عÙÙØ§Ù5Ù
غرب5Ù
ارات5ÛØ±Ø§Ù5بارت2زار4ÙØªÙ3ھارت5تÙÙØ³4Ø³ÙØ¯Ø§Ù3Ø±ÙØ©5Ø´Ø¨ÙØ©4عراÙ2ب2Ù
اÙ4ÙÙØ³Ø·ÙÙ6ÙØ·Ø±3ÙØ§Ø«ÙÙÙÙ6ÙÙ
3Ù
صر2ÙÙØ³Ùا5ÙØ±ÙتاÙÙØ§7ÙØ¹4ÙÙ
راÙ5پاکستاÙ7ÚØ§Ø±Øª4à¤à¥à¤®3नà¥à¤3à¤à¤¾à¤°à¤¤0मà¥3à¥à¤¤5सà¤à¤à¤ न5বাà¦à¦²à¦¾5à¦à¦¾à¦°à¦¤2ৰত4à¨à¨¾à¨°à¨¤4àªàª¾àª°àª¤4à¬à¬¾à¬°à¬¤4à®à®¨à¯à®¤à®¿à®¯à®¾6லà®à¯à®à¯6à®à®¿à®à¯à®à®ªà¯à®ªà¯à®°à¯11à°à°¾à°°à°¤à±5à²à²¾à²°à²¤4à´à´¾à´°à´¤à´5à¶½à¶à¶à·4à¸à¸à¸¡3à¹à¸à¸¢3ລາວ3áá2ã¿ããª3ã¢ãã¾ã³4ã¯ã©ã¦ã4ã°ã¼ã°ã«4ã³ã 2ã¹ãã¢3ã»ã¼ã«3ãã¡ãã·ã§ã³6ãã¤ã³ã4ä¸ç2ä¸ä¿¡1å½1å1æç½3äºé©¬é3ä¼ä¸2ä½å±±2ä¿¡æ¯2å¥åº·2å
«å¦2å
¬å¸1ç2å°æ¹¾1ç£2åå1åº1æ 2åé0大é
åº5å¨çº¿2大æ¿2天主æ3娱ä¹2å®¶é»2广ä¸2å¾®å2æ
å2æç±ä½ 3ææº2æè2æ¿å¡1åº2æ°å å¡2é»2æ¶å°2æ¸ç±2æºæ2淡马é¡3游æ2æ¾³é2ç¹ç2ç§»å¨2ç»ç»æºæ4ç½å1åº1ç«1ç»2èé2è°·æ2è´ç©2é販2éå¢2é»è¨çç§4é£å©æµ¦3é£å2é¤å
2馿 ¼éæ3港2ë·ë·1ì»´2ì¼ì±2íêµ2")),eG(n,"'",tc),eG(n,"{",e6),eG(n,"}",e4),eG(n,"[",e2),eG(n,"]",e3),eG(n,"(",e5),eG(n,")",e9),eG(n,"<",e8),eG(n,">",e7),eG(n,"ï¼",te),eG(n,"ï¼",tt),eG(n,"ã",tn),eG(n,"ã",ta),eG(n,"ã",to),eG(n,"ã",tr),eG(n,"ï¼",ts),eG(n,"ï¼",ti),eG(n,"&",tl),eG(n,"*",tp),eG(n,"@","AT"),eG(n,"`",tu),eG(n,"^",tm),eG(n,":",th),eG(n,",",tf),eG(n,"$",tg),eG(n,".","DOT"),eG(n,"=",tb),eG(n,"!",tv),eG(n,"-",ty),eG(n,"%",tj),eG(n,"|",tk),eG(n,"+",tw),eG(n,"#",t_),eG(n,"?",tE),eG(n,'"',tD),eG(n,"/",tx),eG(n,";",tI),eG(n,"~",tC),eG(n,"_",tS),eG(n,"\\",td),eG(n,"ã»",tT);let a=eV(n,tF,"NUM",{[eO]:!0});eV(a,tF,a);let o=eV(a,tM,eQ,{[eP]:!0}),r=eV(a,tO,eX,{[eL]:!0}),s=eV(n,tM,eY,{[eR]:!0});eV(s,tF,o),eV(s,tM,s),eV(o,tF,o),eV(o,tM,o);let i=eV(n,tO,eK,{[eF]:!0});eV(i,tM),eV(i,tF,r),eV(i,tO,i),eV(r,tF,r),eV(r,tM),eV(r,tO,r);let l=eG(n,"\n","NL",{[eU]:!0}),c=eG(n,"\r","WS",{[eU]:!0}),p=eV(n,tP,"WS",{[eU]:!0});eG(n,"",p),eG(c,"\n",l),eG(c,"",p),eV(c,tP,p),eG(p,"\r"),eG(p,"\n"),eV(p,tP,p),eG(p,"",p);let d=eV(n,tR,tA,{[eH]:!0});eG(d,"#"),eV(d,tR,d),eG(d,"ï¸",d);let u=eG(d,"â");eG(u,"#"),eV(u,tR,d);let m=[[tM,s],[tF,o]],h=[[tM,null],[tO,i],[tF,r]];for(let e=0;e<tL.length;e++)tU(n,tL[e],"TLD",eY,m);for(let e=0;e<tB.length;e++)tU(n,tB[e],eZ,eK,h);ez("TLD",{tld:!0,ascii:!0},t),ez(eZ,{utld:!0,alpha:!0},t),tU(n,"file",e0,eY,m),tU(n,"mailto",e0,eY,m),tU(n,"http",e1,eY,m),tU(n,"https",e1,eY,m),tU(n,"ftp",e1,eY,m),tU(n,"ftps",e1,eY,m),ez(e0,{scheme:!0,ascii:!0},t),ez(e1,{slashscheme:!0,ascii:!0},t),e=e.sort((e,t)=>e[0]>t[0]?1:-1);for(let t=0;t<e.length;t++){let a=e[t][0],o=e[t][1]?{scheme:!0}:{slashscheme:!0};a.indexOf("-")>=0?o[eB]=!0:tM.test(a)?tF.test(a)?o[eP]=!0:o[eR]=!0:o[eO]=!0,eW(n,a,a,o)}return eW(n,"localhost",eJ,{ascii:!0}),n.jd=new e$("SYM"),{start:n,tokens:Object.assign({groups:t},tN)}}(t1.customSchemes);for(let e=0;e<t1.tokenQueue.length;e++)t1.tokenQueue[e][1]({scanner:t1.scanner});t1.parser=function({groups:e}){let t=e.domain.concat([tl,tp,"AT",td,tu,tm,tg,tb,ty,"NUM",tj,tk,tw,t_,tx,"SYM",tC,tS]),n=[tc,th,tf,"DOT",tv,tj,tE,tD,tI,e8,e7,e6,e4,e3,e2,e5,e9,te,tt,tn,ta,to,tr,ts,ti],a=[tl,tc,tp,td,tu,tm,tg,tb,ty,e6,e4,tj,tk,tw,t_,tE,tx,"SYM",tC,tS],o=tJ(),r=eG(o,tC);eq(r,a,r),eq(r,e.domain,r);let s=tJ(),i=tJ(),l=tJ();eq(o,e.domain,s),eq(o,e.scheme,i),eq(o,e.slashscheme,l),eq(s,a,r),eq(s,e.domain,s);let c=eG(s,"AT");eG(r,"AT",c),eG(i,"AT",c),eG(l,"AT",c);let p=eG(r,"DOT");eq(p,a,r),eq(p,e.domain,r);let d=tJ();eq(c,e.domain,d),eq(d,e.domain,d);let u=eG(d,"DOT");eq(u,e.domain,d);let m=tJ(tY);eq(u,e.tld,m),eq(u,e.utld,m),eG(c,eJ,m);let h=eG(d,ty);eG(h,ty,h),eq(h,e.domain,d),eq(m,e.domain,d),eG(m,"DOT",u),eG(m,ty,h),eq(eG(m,th),e.numeric,tY);let f=eG(s,ty),g=eG(s,"DOT");eG(f,ty,f),eq(f,e.domain,s),eq(g,a,r),eq(g,e.domain,s);let b=tJ(tX);eq(g,e.tld,b),eq(g,e.utld,b),eq(b,e.domain,s),eq(b,a,r),eG(b,"DOT",g),eG(b,ty,f),eG(b,"AT",c);let v=eG(b,th),y=tJ(tX);eq(v,e.numeric,y);let j=tJ(tX),k=tJ();eq(j,t,j),eq(j,n,k),eq(k,t,j),eq(k,n,k),eG(b,tx,j),eG(y,tx,j);let w=eG(i,th),_=eG(l,th),E=eG(_,tx),D=eG(E,tx);eq(i,e.domain,s),eG(i,"DOT",g),eG(i,ty,f),eq(l,e.domain,s),eG(l,"DOT",g),eG(l,ty,f),eq(w,e.domain,j),eG(w,tx,j),eG(w,tE,j),eq(D,e.domain,j),eq(D,t,j),eG(D,tx,j);let T=[[e6,e4],[e2,e3],[e5,e9],[e8,e7],[te,tt],[tn,ta],[to,tr],[ts,ti]];for(let e=0;e<T.length;e++){let[a,o]=T[e],r=eG(j,a);eG(k,a,r),eG(r,o,j);let s=tJ(tX);eq(r,t,s);let i=tJ();eq(r,n),eq(s,t,s),eq(s,n,i),eq(i,t,s),eq(i,n,i),eG(s,o,j),eG(i,o,j)}return eG(o,eJ,b),eG(o,"NL",tQ),{start:o,tokens:tN}}(t1.scanner.tokens);for(let e=0;e<t1.pluginQueue.length;e++)t1.pluginQueue[e][1]({scanner:t1.scanner,parser:t1.parser});t1.initialized=!0}(),function(e,t,n){let a=n.length,o=0,r=[],s=[];for(;o<a;){let i=e,l=null,c=null,p=0,d=null,u=-1;for(;o<a&&!(l=i.go(n[o].t));)s.push(n[o++]);for(;o<a&&(c=l||i.go(n[o].t));)l=null,(i=c).accepts()?(u=0,d=i):u>=0&&u++,o++,p++;if(u<0)(o-=p)<a&&(s.push(n[o]),o++);else{s.length>0&&(r.push(tZ(tK,t,s)),s=[]),o-=u,p-=u;let e=d.t,a=n.slice(o-p,o);
113r.push(tZ(e,t,a))}}return s.length>0&&r.push(tZ(tK,t,s)),r}(t1.parser.start,e,tH(t1.scanner.start,e))}function t2(e,t=null,n=null){if(t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}let a=new tq(n),o=t4(e),r=[];for(let e=0;e<o.length;e++){let n=o[e];n.isLink&&(!t||n.t===t)&&a.check(n)&&r.push(n.toFormattedObject(a))}return r}t4.scan=tH;var t3="[\0- Â áá â-\u2029âã]",t5=new RegExp(t3),t9=RegExp(`${t3}$`),t8=RegExp(t3,"g");function t7(e,t){let n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(e=>{let t="string"==typeof e?e:e.scheme;t&&n.push(t)}),!e||e.replace(t8,"").match(RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var ne=s.Mark.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{"string"==typeof e?t6(e):t6(e.scheme,e.optionalSlashes)})},onDestroy(){e$.groups={},t1.scanner=null,t1.parser=null,t1.tokenQueue=[],t1.pluginQueue=[],t1.customSchemes=[],t1.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!t7(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>{let t=/^[a-z][a-z0-9+.-]*:\/\//i.test(e),n=/^[a-z][a-z0-9+.-]*:/i.test(e);if(t||n&&!e.includes("@"))return!0;let a=(e.includes("@")?e.split("@").pop():e).split(/[/?#:]/)[0];return!/^\d{1,3}(\.\d{1,3}){3}$/.test(a)&&!!/\./.test(a)}}),addAttributes(){return{href:{default:null,parseHTML:e=>e.getAttribute("href")},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{let t=e.getAttribute("href");return!!t&&!!this.options.isAllowedUri(t,{defaultValidate:e=>!!t7(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!t7(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]:["a",(0,s.mergeAttributes)(this.options.HTMLAttributes,{...e,href:""}),0]},markdownTokenName:"link",parseMarkdown:(e,t)=>t.applyMark("link",t.parseInline(e.tokens||[]),{href:e.href,title:e.title||null}),renderMarkdown:(e,t)=>{var n,a,o,r;let s=null!=(a=null==(n=e.attrs)?void 0:n.href)?a:"",i=null!=(r=null==(o=e.attrs)?void 0:o.title)?r:"",l=t.renderChildren(e);return i?`[${l}](${s} "${i}")`:`[${l}](${s})`},addCommands(){return{setLink:e=>({chain:t})=>{let{href:n}=e;return!!this.options.isAllowedUri(n,{defaultValidate:e=>!!t7(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&t().setMark(this.name,e).setMeta("preventAutolink",!0).run()},toggleLink:e=>({chain:t})=>{let{href:n}=e||{};return(!n||!!this.options.isAllowedUri(n,{defaultValidate:e=>!!t7(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[(0,s.markPasteRule)({find:e=>{let t=[];if(e){let{protocols:n,defaultProtocol:a}=this.options,o=t2(e).filter(e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!t7(e,n),protocols:n,defaultProtocol:a}));o.length&&o.forEach(e=>{this.options.shouldAutoLink(e.value)&&t.push({text:e.value,data:{href:e.href},index:e.start})})}return t}
113,type:this.type,getAttributes:e=>{var t;return{href:null==(t=e.data)?void 0:t.href}}})]},addProseMirrorPlugins(){var e,t,n;let a=[],{protocols:o,defaultProtocol:r}=this.options;return this.options.autolink&&a.push((e={type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!t7(e,o),protocols:o,defaultProtocol:r}),shouldAutoLink:this.options.shouldAutoLink},new i.Plugin({key:new i.PluginKey("autolink"),appendTransaction:(t,n,a)=>{let o=t.some(e=>e.docChanged)&&!n.doc.eq(a.doc),r=t.some(e=>e.getMeta("preventAutolink"));if(!o||r)return;let{tr:i}=a,l=(0,s.combineTransactionSteps)(n.doc,[...t]);if((0,s.getChangedRanges)(l).forEach(({newRange:t})=>{let n,o,r=(0,s.findChildrenInRange)(a.doc,t,e=>e.isTextblock);if(r.length>1)n=r[0],o=a.doc.textBetween(n.pos,n.pos+n.node.nodeSize,void 0," ");else if(r.length){let e=a.doc.textBetween(t.from,t.to," "," ");if(!t9.test(e))return;n=r[0],o=a.doc.textBetween(n.pos,t.to,void 0," ")}if(n&&o){let t=o.split(t5).filter(Boolean);if(t.length<=0)return!1;let r=t[t.length-1],l=n.pos+o.lastIndexOf(r);if(!r)return!1;let c=t4(r).map(t=>t.toObject(e.defaultProtocol));if(!(1===c.length?c[0].isLink:3===c.length&&!!c[1].isLink&&["()","[]"].includes(c[0].value+c[2].value)))return!1;c.filter(e=>e.isLink).map(e=>({...e,from:l+e.start+1,to:l+e.end+1})).filter(e=>!a.schema.marks.code||!a.doc.rangeHasMark(e.from,e.to,a.schema.marks.code)).filter(t=>e.validate(t.value)).filter(t=>e.shouldAutoLink(t.value)).forEach(t=>{(0,s.getMarksBetween)(t.from,t.to,a.doc).some(t=>t.mark.type===e.type)||i.addMark(t.from,t.to,e.type.create({href:t.href}))})}}),i.steps.length)return i}}))),a.push((t={type:this.type,editor:this.editor,openOnClick:"whenNotEditable"===this.options.openOnClick||this.options.openOnClick,enableClickSelection:this.options.enableClickSelection},new i.Plugin({key:new i.PluginKey("handleClickLink"),props:{handleClick:(e,n,a)=>{var o,r;if(0!==a.button||!e.editable)return!1;let i=null;if(a.target instanceof HTMLAnchorElement)i=a.target;else{let e=a.target;if(!e)return!1;let n=t.editor.view.dom;(i=e.closest("a"))&&!n.contains(i)&&(i=null)}if(!i)return!1;let l=!1;if(t.enableClickSelection&&(l=t.editor.commands.extendMarkRange(t.type.name)),t.openOnClick){let n=(0,s.getAttributes)(e.state,t.type.name),a=null!=(o=i.href)?o:n.href,c=null!=(r=i.target)?r:n.target;a&&(window.open(a,c),l=!0)}return l}}}))),this.options.linkOnPaste&&a.push((n={editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink},new i.Plugin({key:new i.PluginKey("handlePasteLink"),props:{handlePaste:(e,t,a)=>{let{shouldAutoLink:o}=n,{state:r}=e,{selection:s}=r,{empty:i}=s;if(i)return!1;let l="";a.content.forEach(e=>{l+=e.textContent});let c=t2(l,{defaultProtocol:n.defaultProtocol}).find(e=>e.isLink&&e.value===l);return!!l&&!!c&&(void 0===o||!!o(c.value))&&n.editor.commands.setMark(n.type,{href:c.href})}}}))),a}}),nt=Object.defineProperty,nn="textStyle",na=/^\s*([-+*])\s$/,no=s.Node.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},markdownTokenName:"list",parseMarkdown:(e,t)=>"list"!==e.type||e.ordered?[]:{type:"bulletList",content:e.items?t.parseChildren(e.items):[]},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,"\n"):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(nn)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=(0,s.wrappingInputRule)({find:na,type:this.t
113ype});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,s.wrappingInputRule)({find:na,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(nn),editor:this.editor})),[e]}}),nr=s.Node.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},markdownTokenName:"list_item",parseMarkdown:(e,t)=>{var n,a,o,r;if("list_item"!==e.type)return[];let s=null!=(n=t.parseBlockChildren)?n:t.parseChildren,i=[];if(e.tokens&&e.tokens.length>0){let n;if(n=null==(a=e.tokens)?void 0:a[0],e.text&&(null==(o=e.tokens)?void 0:o.length)===1&&(null==n?void 0:n.type)==="list"&&n.ordered&&n.raw===e.text)return{type:"listItem",content:[{type:"paragraph",content:(r=e.text||"",t.tokenizeInline?t.parseInline(t.tokenizeInline(r)):t.parseInline([{type:"text",raw:r,text:r}]))}]};if(e.tokens.some(e=>"paragraph"===e.type))i=s(e.tokens);else{let n=e.tokens[0];if(n&&"text"===n.type&&n.tokens&&n.tokens.length>0){if(i=[{type:"paragraph",content:t.parseInline(n.tokens)}],e.tokens.length>1){let t=s(e.tokens.slice(1));i.push(...t)}}else i=s(e.tokens)}}return 0===i.length&&(i=[{type:"paragraph",content:[]}]),{type:"listItem",content:i}},renderMarkdown:(e,t,n)=>(0,s.renderNestedMarkdownContent)(e,t,e=>{var t,n;if("bulletList"===e.parentType)return"- ";if("orderedList"===e.parentType){let a=(null==(n=null==(t=e.meta)?void 0:t.parentAttrs)?void 0:n.start)||1;return`${a+e.index}. `}return"- "},n),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),ns={},ni={findListItemPos:()=>nc,getNextListDepth:()=>np,handleBackspace:()=>nh,handleDelete:()=>nb,hasListBefore:()=>nd,hasListItemAfter:()=>nv,hasListItemBefore:()=>nu,listItemHasSubList:()=>nm,nextListIsDeeper:()=>nf,nextListIsHigher:()=>ng};for(var nl in ni)nt(ns,nl,{get:ni[nl],enumerable:!0});var nc=(e,t)=>{let{$from:n}=t.selection,a=(0,s.getNodeType)(e,t.schema),o=n.depth,r=n.pos,i=null;for(;o>0&&null===i;)n.node(o).type===a?i=o:(o-=1,r-=1);return null===i?null:{$pos:t.doc.resolve(r),depth:i}},np=(e,t)=>{let n=nc(e,t);if(!n)return!1;let[,a]=(0,s.getNodeAtPosition)(t,e,n.$pos.pos+4);return a},nd=(e,t,n)=>{let{$anchor:a}=e.selection,o=Math.max(0,a.pos-2),r=e.doc.resolve(o).node();return!!r&&!!n.includes(r.type.name)},nu=(e,t)=>{var n;let{$anchor:a}=t.selection,o=t.doc.resolve(a.pos-2);return 0!==o.index()&&(null==(n=o.nodeBefore)?void 0:n.type.name)===e},nm=(e,t,n)=>{if(!n)return!1;let a=(0,s.getNodeType)(e,t.schema),o=!1;return n.descendants(e=>{e.type===a&&(o=!0)}),o},nh=(e,t,n)=>{if(e.commands.undoInputRule())return!0;if(e.state.selection.from!==e.state.selection.to)return!1;if(!(0,s.isNodeActive)(e.state,t)&&nd(e.state,t,n)){let{$anchor:n}=e.state.selection,a=e.state.doc.resolve(n.before()-1),o=[];a.node().descendants((e,n)=>{e.type.name===t&&o.push({node:e,pos:n})});let r=o.at(-1);if(!r)return!1;let s=e.state.doc.resolve(a.start()+r.pos+1);return e.chain().cut({from:n.start()-1,to:n.end()+1},s.end()).joinForward().run()}if(!(0,s.isNodeActive)(e.state,t)||!(0,s.isAtStartOfNode)(e.state))return!1;let a=nc(t,e.state);if(!a)return!1;let o=e.state.doc.resolve(a.$pos.pos-2).node(a.depth),r=nm(t,e.state,o);return nu(t,e.state)&&!r?e.commands.joinItemBackward():e.chain().liftListItem(t).run()},nf=(e,t)=>{let n=np(e,t),a=nc(e,t);return!!a&&!!n&&n>a.depth},ng=(e,t)=>{let n=np(e,t),a=nc(e,t);return!!a&&!!n&&n<a.depth},nb=(e,t)=>{if(!(0,s.isNodeActive)(e.state,t)||!(0,s.isAtEndOfNode)(e.state,t))return!1;let{selection:n}=e.state,{$from:a,$to:o}=n;return!(!n.empty&&a.sameParent(o))&&(nf(t,e.state)?e.chain().focus(e.state.selection.from+4).lift(t).joinBackward().run():ng(t,e.state)?e.chain().joinForward().joinBackward().run():e.commands.joinItemForward())},nv=(e,t)=>{var n;let{$anchor:a}=t.selection,o=t.doc.resolve(a.pos-a.parentOffset-2);return o.index()!==o.parent.childCount-1&&(null==(n=o.nodeAfter)?void 0:n.type.name)===e},ny=s.Extension.create({name:"listKeymap",addOptions:()=>({listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}),addKeyboardShortcuts(){return{Delete:({editor:e})=>{let t=!1;
113return this.options.listTypes.forEach(({itemName:n})=>{void 0!==e.state.schema.nodes[n]&&nb(e,n)&&(t=!0)}),t},"Mod-Delete":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{void 0!==e.state.schema.nodes[n]&&nb(e,n)&&(t=!0)}),t},Backspace:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:a})=>{void 0!==e.state.schema.nodes[n]&&nh(e,n,a)&&(t=!0)}),t},"Mod-Backspace":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:a})=>{void 0!==e.state.schema.nodes[n]&&nh(e,n,a)&&(t=!0)}),t}}}}),nj=/^(\s*)(\d+)\.\s+(.*)$/,nk=/^\s/,nw="textStyle",n_=/^(\d+)\.\s$/,nE=s.Node.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){let{start:t,...n}=e;return 1===t?["ol",(0,s.mergeAttributes)(this.options.HTMLAttributes,n),0]:["ol",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},markdownTokenName:"list",parseMarkdown:(e,t)=>{var n;if("list"!==e.type||!e.ordered)return[];let a=e.start||1,o=e.items?(n=e.items,n.map(e=>{if("list_item"!==e.type)return t.parseChildren([e])[0];let n=[];return e.tokens&&e.tokens.length>0&&e.tokens.forEach(e=>{if("paragraph"===e.type||"list"===e.type||"blockquote"===e.type||"code"===e.type)n.push(...t.parseChildren([e]));else if("text"===e.type&&e.tokens){let a=t.parseChildren([e]);n.push({type:"paragraph",content:a})}else{let a=t.parseChildren([e]);a.length>0&&n.push(...a)}}),{type:"listItem",content:n}})):[];return 1!==a?{type:"orderedList",attrs:{start:a},content:o}:{type:"orderedList",content:o}},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,"\n"):"",markdownTokenizer:{name:"orderedList",level:"block",start:e=>{let t=e.match(/^(\s*)(\d+)\.\s+/),n=null==t?void 0:t.index;return void 0!==n?n:-1},tokenize:(e,t,n)=>{var a;let o=e.split("\n"),[r,s]=function(e){let t=[],n=0,a=0;for(;n<e.length;){let o=e[n],r=o.match(nj);if(!r)break;let[,s,i,l]=r,c=s.length,p=[l],d=n+1,u=[o],m=!1;for(;d<e.length;){let t=e[d];if(t.match(nj))break;if(""===t.trim())u.push(t),p.push(""),m=!0,d+=1;else if(t.match(nk))u.push(t),p.push(t.slice(c+2)),d+=1;else{if(m)break;u.push(t),p.push(t),d+=1}}t.push({indent:c,number:parseInt(i,10),content:p.join("\n").trim(),contentLines:p,raw:u.join("\n")}),a=d,n=d}return[t,a]}(o);if(0===r.length)return;let i=function e(t,n,a){let o=[],r=0;for(;r<t.length;){let s=t[r];if(s.indent===n){let{paragraphLines:i,blockLines:l}=function(e){let t=[],n=[],a=!1;return e.forEach(e=>{let o;if(a)return void n.push(e);if(""===e.trim()||t.length>0&&(o=e.trimStart(),/^[-+*]\s+/.test(o)||/^\d+\.\s+/.test(o)||/^>\s?/.test(o)||/^```/.test(o)||/^~~~/.test(o))){a=!0,n.push(e);return}t.push(e)}),{paragraphLines:t,blockLines:n}}(s.contentLines),c=i.join("\n").trim(),p=[];c&&p.push({type:"paragraph",raw:c,tokens:a.inlineTokens(c)});let d=l.join("\n").trim();if(d){let e=a.blockTokens(d);p.push(...e)}let u=r+1,m=[];for(;u<t.length&&t[u].indent>n;)m.push(t[u]),u+=1;if(m.length>0){let t=Math.min(...m.map(e=>e.indent)),n=e(m,t,a);p.push({type:"list",ordered:!0,start:m[0].number,items:n,raw:m.map(e=>e.raw).join("\n")})}o.push({type:"list_item",raw:s.raw,tokens:p}),r=u}else r+=1}return o}(r,0,n);if(0!==i.length)return{type:"list",ordered:!0,start:(null==(a=r[0])?void 0:a.number)||1,items:i,raw:o.slice(0,s).join("\n")}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(nw)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=(0,s.wrappingInputRule)({find:n_,type:this.t
113ype,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,s.wrappingInputRule)({find:n_,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(nw)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}}),nD=/^\s*(\[([( |x])?\])\s$/,nT=s.Node.create({name:"taskItem",addOptions:()=>({nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}),content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes:()=>({checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{let t=e.getAttribute("data-checked");return""===t||"true"===t},renderHTML:e=>({"data-checked":e.checked})}}),parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",(0,s.mergeAttributes)(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(e,t)=>{let n=[];if(e.tokens&&e.tokens.length>0?n.push(t.createNode("paragraph",{},t.parseInline(e.tokens))):e.text?n.push(t.createNode("paragraph",{},[t.createNode("text",{text:e.text})])):n.push(t.createNode("paragraph",{},[])),e.nestedTokens&&e.nestedTokens.length>0){let a=t.parseChildren(e.nestedTokens);n.push(...a)}return t.createNode("taskItem",{checked:e.checked||!1},n)},renderMarkdown:(e,t)=>{var n;let a=(null==(n=e.attrs)?void 0:n.checked)?"x":" ",o=`- [${a}] `;return(0,s.renderNestedMarkdownContent)(e,t,o)},addKeyboardShortcuts(){let e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:a})=>{let o=document.createElement("li"),r=document.createElement("label"),i=document.createElement("span"),l=document.createElement("input"),c=document.createElement("div"),p=e=>{var t,n;l.ariaLabel=(null==(n=null==(t=this.options.a11y)?void 0:t.checkboxLabel)?void 0:n.call(t,e,l.checked))||`Task item checkbox for ${e.textContent||"empty task item"}`};p(e),r.contentEditable="false",l.type="checkbox",l.addEventListener("mousedown",e=>e.preventDefault()),l.addEventListener("change",t=>{if(!a.isEditable&&!this.options.onReadOnlyChecked){l.checked=!l.checked;return}let{checked:o}=t.target;a.isEditable&&"function"==typeof n&&a.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:e})=>{let t=n();if("number"!=typeof t)return!1;let a=e.doc.nodeAt(t);return e.setNodeMarkup(t,void 0,{...null==a?void 0:a.attrs,checked:o}),!0}).run(),a.isEditable||!this.options.onReadOnlyChecked||this.options.onReadOnlyChecked(e,o)||(l.checked=!l.checked)}),Object.entries(this.options.HTMLAttributes).forEach(([e,t])=>{o.setAttribute(e,t)}),o.dataset.checked=e.attrs.checked,l.checked=e.attrs.checked,r.append(l,i),o.append(r,c),Object.entries(t).forEach(([e,t])=>{o.setAttribute(e,t)});let d=new Set(Object.keys(t));return{dom:o,contentDOM:c,update:e=>{if(e.type!==this.type)return!1;o.dataset.checked=e.attrs.checked,l.checked=e.attrs.checked,p(e);let t=a.extensionManager.attributes,n=(0,s.getRenderedAttributes)(e,t),r=new Set(Object.keys(n)),i=this.options.HTMLAttributes;return d.forEach(e=>{r.has(e)||(e in i?o.setAttribute(e,i[e]):o.removeAttribute(e))}),Object.entries(n).forEach(([e,t])=>{null==t?e in i?o.setAttribute(e,i[e]):o.removeAttribute(e):o.setAttribute(e,t)}),d=r,!0}}}},addInputRules(){return[(0,s.wrappingInputRule)({find:nD,type:this.t
113ype,getAttributes:e=>({checked:"x"===e[e.length-1]})})]}}),nI=s.Node.create({name:"taskList",addOptions:()=>({itemTypeName:"taskItem",HTMLAttributes:{}}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",(0,s.mergeAttributes)(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},parseMarkdown:(e,t)=>t.createNode("taskList",{},t.parseChildren(e.items||[])),renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,"\n"):"",markdownTokenizer:{name:"taskList",level:"block",start(e){var t;let n=null==(t=e.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))?void 0:t.index;return void 0!==n?n:-1},tokenize(e,t,n){let a=e=>{let t=(0,s.parseIndentedBlocks)(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:"x"===e[3].toLowerCase()}),createToken:(e,t)=>({type:"taskItem",raw:"",mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:a},n);return t?[{type:"taskList",raw:t.raw,items:t.items}]:n.blockTokens(e)},o=(0,s.parseIndentedBlocks)(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:"x"===e[3].toLowerCase()}),createToken:(e,t)=>({type:"taskItem",raw:"",mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:a},n);if(o)return{type:"taskList",raw:o.raw,items:o.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});s.Extension.create({name:"listKit",addExtensions(){let e=[];return!1!==this.options.bulletList&&e.push(no.configure(this.options.bulletList)),!1!==this.options.listItem&&e.push(nr.configure(this.options.listItem)),!1!==this.options.listKeymap&&e.push(ny.configure(this.options.listKeymap)),!1!==this.options.orderedList&&e.push(nE.configure(this.options.orderedList)),!1!==this.options.taskItem&&e.push(nT.configure(this.options.taskItem)),!1!==this.options.taskList&&e.push(nI.configure(this.options.taskList)),e}});var nx=" ",nC=s.Node.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},parseMarkdown:(e,t)=>{let n=e.tokens||[];if(1===n.length&&"image"===n[0].type)return t.parseChildren([n[0]]);let a=t.parseInline(n);return 1===n.length&&"text"===n[0].type&&(n[0].raw===nx||n[0].text===nx||"Â "===n[0].raw||"Â "===n[0].text)&&1===a.length&&"text"===a[0].type&&(a[0].text===nx||"Â "===a[0].text)?t.createNode("paragraph",void 0,[]):t.createNode("paragraph",void 0,a)},renderMarkdown:(e,t,n)=>{var a,o;if(!e)return"";let r=Array.isArray(e.content)?e.content:[];if(0===r.length){let e=Array.isArray(null==(a=null==n?void 0:n.previousNode)?void 0:a.content)?n.previousNode.content:[];return(null==(o=null==n?void 0:n.previousNode)?void 0:o.type)==="paragraph"&&0===e.length?nx:""}return t.renderChildren(r)},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),nS=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,nA=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,nN=s.Mark.create({name:"strike",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("line-through")&&{}}],renderHTML({HTMLAttributes:e}){return["s",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},markdownTokenName:"del",parseMarkdown:(e,t)=>t.applyMark("strike",t.parseInline(e.tokens||[])),renderMarkdown:(e,t)=>`~~${t.renderChildren(e)}~~`,addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}}
113,addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[(0,s.markInputRule)({find:nS,type:this.type})]},addPasteRules(){return[(0,s.markPasteRule)({find:nA,type:this.type})]}}),nM=s.Node.create({name:"text",group:"inline",parseMarkdown:e=>({type:"text",text:e.text||""}),renderMarkdown:e=>e.text||""}),nO=s.Mark.create({name:"underline",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("underline")&&{}}],renderHTML({HTMLAttributes:e}){return["u",(0,s.mergeAttributes)(this.options.HTMLAttributes,e),0]},parseMarkdown(e,t){return t.applyMark(this.name||"underline",t.parseInline(e.tokens||[]))},renderMarkdown:(e,t)=>`++${t.renderChildren(e)}++`,markdownTokenizer:{name:"underline",level:"inline",start:e=>e.indexOf("++"),tokenize(e,t,n){let a=/^(\+\+)([\s\S]+?)(\+\+)/.exec(e);if(!a)return;let o=a[2].trim();return{type:"underline",raw:a[0],text:o,tokens:n.inlineTokens(o)}}},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});s.Extension.create({name:"starterKit",addExtensions(){var e,t,n,a;let o=[];return!1!==this.options.bold&&o.push(ev.configure(this.options.bold)),!1!==this.options.blockquote&&o.push(em.configure(this.options.blockquote)),!1!==this.options.bulletList&&o.push(no.configure(this.options.bulletList)),!1!==this.options.code&&o.push(ek.configure(this.options.code)),!1!==this.options.codeBlock&&o.push(eE.configure(this.options.codeBlock)),!1!==this.options.document&&o.push(eD.configure(this.options.document)),!1!==this.options.dropcursor&&o.push(Y.configure(this.options.dropcursor)),!1!==this.options.gapcursor&&o.push(K.configure(this.options.gapcursor)),!1!==this.options.hardBreak&&o.push(eT.configure(this.options.hardBreak)),!1!==this.options.heading&&o.push(eI.configure(this.options.heading)),!1!==this.options.undoRedo&&o.push(Z.configure(this.options.undoRedo)),!1!==this.options.horizontalRule&&o.push(ex.configure(this.options.horizontalRule)),!1!==this.options.italic&&o.push(eM.configure(this.options.italic)),!1!==this.options.listItem&&o.push(nr.configure(this.options.listItem)),!1!==this.options.listKeymap&&o.push(ny.configure(null==(e=this.options)?void 0:e.listKeymap)),!1!==this.options.link&&o.push(ne.configure(null==(t=this.options)?void 0:t.link)),!1!==this.options.orderedList&&o.push(nE.configure(this.options.orderedList)),!1!==this.options.paragraph&&o.push(nC.configure(this.options.paragraph)),!1!==this.options.strike&&o.push(nN.configure(this.options.strike)),!1!==this.options.text&&o.push(nM.configure(this.options.text)),!1!==this.options.underline&&o.push(nO.configure(null==(n=this.options)?void 0:n.underline)),!1!==this.options.trailingNode&&o.push(J.configure(null==(a=this.options)?void 0:a.trailingNode)),o}});var nR=e.i(981831);let nF=` 114 margin-top: 8px; 115 margin-bottom: 8px; 116 display: inline-block; 117 font-size: 15px; 118 line-height: 1.5; 119 font-weight: 500; 120 border-radius: 4px; 121 background-color: #1c1917; 122 padding: 12px 24px; 123 text-align: center; 124 color: #ffffff; 125 text-decoration: none; 126`;function nP(e){return(0,n.jsx)(r.NodeViewWrapper,{className:"react-component text-background",children:(0,n.jsx)(nR.Button,{asChild:!0,className:(0,o.cn)("hover:bg-primary",{"border-ring ring-ring/50 ring-[3px]":e.selected}),children:(0,n.jsx)(r.NodeViewContent,{})})})}s.Node.create({name:"emailButton",group:"block",content:"inline*",defining:!0,addAttributes:()=>({href:{default:"",parseHTML:e=>e.getAttribute("href")}}),addOptions:()=>({HTMLAttributes:{"data-email-button":"",style:nF}}),parseHTML:()=>[{tag:"a[data-email-button]"}],renderHTML({node:e,HTMLAttributes:t}){return["a",(0,s.mergeAttributes)({href:e.attrs.href},this.options.HTMLAttributes,t),0]},addCommands(){return{setEmailButton:e=>({commands:t})=>t.setNode(this.name,e),unsetEmailButton:()=>({commands:e})=>e.setNode("paragraph")}},addNodeView:()=>(0,r.ReactNodeViewRenderer)(nP,{selectedOnTextSelection:!0}
126)});var nL=e.i(477130),nB=e.i(540796);let nH=(0,nB.default)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);function nU(e){return(0,n.jsx)(r.NodeViewWrapper,{className:"react-component inline-block",children:(0,n.jsxs)(nL.Badge,{className:(0,o.cn)("align-middle",{"border-ring ring-ring/50 ring-[3px]":e.selected}),variant:"violet",children:[(0,n.jsx)(nH,{"data-icon":"inline-start"}),e.node.attrs.label]})})}s.Node.create({name:"token",group:"inline",inline:!0,atom:!0,addAttributes:()=>({label:{parseHTML:e=>e.dataset.tokenLabel,renderHTML:e=>({"data-token-label":e.label})},value:{parseHTML:e=>e.dataset.tokenValue,renderHTML:e=>({"data-token-value":e.value})}}),parseHTML:()=>[{tag:"span[data-token-value]"}],renderHTML:({node:e,HTMLAttributes:t})=>["span",(0,s.mergeAttributes)(t),e.attrs.value],addNodeView:()=>(0,r.ReactNodeViewRenderer)(nU)}),e.i(7202),e.i(360112),e.i(936030),e.i(661603);var nz=e.i(734686),n$=e.i(468464),nq=e.i(895240),nV=e.i(791947);let nW=function e(t,n,a,o,r,s){return(0,nV.default)(t)&&(0,nV.default)(n)&&(s.set(n,t),(0,nq.default)(t,n,void 0,e,s),s.delete(n)),t};var nG=(0,e.i(910490).default)(function(e,t,n,a){(0,nq.default)(e,t,n,a)});(0,n$.default)(function(e){return e.push(void 0,nW),(0,nz.default)(nG,void 0,e)});var nY=e.i(675917);nY.defaultSchema,[...nY.defaultSchema.tagNames??[]],nY.defaultSchema.attributes,[...nY.defaultSchema.attributes?.a??[]],[...nY.defaultSchema.attributes?.span??[]],nY.defaultSchema.protocols,[...nY.defaultSchema.protocols?.href??[]],e.i(765918),e.i(168982),(0,nB.default)("redo",[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]]),(0,nB.default)("undo",[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]]),e.i(107772),e.i(183144),(0,nB.default)("square-mouse-pointer",[["path",{d:"M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z",key:"xwnzip"}],["path",{d:"M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6",key:"14rsvq"}]]);var nK=e.i(564946);e.i(622589);var nQ=e.i(794163);e.i(370491),e.i(875811),e.i(420119),(0,nB.default)("bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]),(0,nB.default)("heading-1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]),(0,nB.default)("heading-2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]),(0,nB.default)("heading-3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]),(0,nB.default)("italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]),(0,nB.default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]),(0,nB.default)("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]),(0,nB.default)("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]),(0,nB.default)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",ke
126y:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);var nX=e.i(244425);e.i(6913);var nJ=e.i(291967),nZ=e.i(463697),n0=e.i(305153),n1=e.i(74883),n6=e.i(810936),n4=e.i(816131),n2=e.i(411273),n3="Switch",[n5,n9]=(0,n0.createContextScope)(n3),[n8,n7]=n5(n3),ae=nK.forwardRef((e,t)=>{let{__scopeSwitch:a,name:o,checked:r,defaultChecked:s,required:i,disabled:l,value:c="on",onCheckedChange:p,form:d,...u}=e,[m,h]=nK.useState(null),f=(0,nZ.useComposedRefs)(t,e=>h(e)),g=nK.useRef(!1),b=!m||d||!!m.closest("form"),[v,y]=(0,n1.useControllableState)({prop:r,defaultProp:s??!1,onChange:p,caller:n3});return(0,n.jsxs)(n8,{scope:a,checked:v,disabled:l,children:[(0,n.jsx)(n2.Primitive.button,{type:"button",role:"switch","aria-checked":v,"aria-required":i,"data-state":ao(v),"data-disabled":l?"":void 0,disabled:l,value:c,...u,ref:f,onClick:(0,nJ.composeEventHandlers)(e.onClick,e=>{y(e=>!e),b&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})}),b&&(0,n.jsx)(aa,{control:m,bubbles:!g.current,name:o,value:c,checked:v,required:i,disabled:l,form:d,style:{transform:"translateX(-100%)"}})]})});ae.displayName=n3;var at="SwitchThumb",an=nK.forwardRef((e,t)=>{let{__scopeSwitch:a,...o}=e,r=n7(at,a);return(0,n.jsx)(n2.Primitive.span,{"data-state":ao(r.checked),"data-disabled":r.disabled?"":void 0,...o,ref:t})});an.displayName=at;var aa=nK.forwardRef(({__scopeSwitch:e,control:t,checked:a,bubbles:o=!0,...r},s)=>{let i=nK.useRef(null),l=(0,nZ.useComposedRefs)(i,s),c=(0,n6.usePrevious)(a),p=(0,n4.useSize)(t);return nK.useEffect(()=>{let e=i.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==a&&t){let n=new Event("click",{bubbles:o});t.call(e,a),e.dispatchEvent(n)}},[c,a,o]),(0,n.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...r,tabIndex:-1,ref:l,style:{...r.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function ao(e){return e?"checked":"unchecked"}aa.displayName="SwitchBubbleInput",e.s(["Root",0,ae,"Switch",0,ae,"SwitchThumb",0,an,"Thumb",0,an,"createSwitchScope",0,n9],29057);var ar=e.i(29057),ar=ar;function as({className:e,size:t="default",...a}){return(0,n.jsx)(ar.Root,{className:(0,o.cn)("peer group/switch focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 relative inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 aria-invalid:ring-3 data-disabled:cursor-not-allowed data-disabled:opacity-50 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px]",e),"data-size":t,"data-slot":"switch",...a,children:(0,n.jsx)(ar.Thumb,{className:"bg-background dark:data-checked:bg-primary-foreground dark:data-unchecked:bg-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0","data-slot":"switch-thumb"})})}e.s(["SwitchField",0,function({control:e,name:t,label:r,description:s,showLabel:i=!0,showError:l=!0,id:c,...p}){let d=c??t;return(0,n.jsx)(nX.Controller,{control:e,name:t,render:({field:e,fieldState:t})=>(0,n.jsxs)(a.Field,{"data-invalid":t.invalid,orientation:"horizontal",children:[(0,n.jsx)(as,{"aria-invalid":t.invalid,checked:e.value??!1,id:d,name:e.name,onCheckedChange:e.onChange,...p}),(0,n.jsxs)(a.FieldContent,{children:[(0,n.jsx)(a.FieldLabel,{className:(0,o.cn)(!i&&"sr-only"),htmlFor:d,children:r}),s&&(0,n.jsx)(a.FieldDescription,{children:s}),l&&t.invalid&&(0,n.jsx)(a.FieldError,{errors:[t.error]})]})]})})}],811623);var ai=e.i(636273);e.s(["TextareaField",0,function({control:e,name:r,label:s,description:i,showLabel:l=!0,showError:c=!0,autoComplete:p="off",maxLength:d,...u}
126){return(0,n.jsx)(nX.Controller,{control:e,name:r,render:({field:e,fieldState:r})=>(0,n.jsxs)(a.Field,{"data-invalid":r.invalid,children:[(0,n.jsx)(a.FieldLabel,{className:(0,o.cn)(!l&&"sr-only"),htmlFor:e.name,children:s}),d?(0,n.jsxs)(nQ.InputGroup,{children:[(0,n.jsx)(nQ.InputGroupTextarea,{...e,value:e.value??"",...u,"aria-invalid":r.invalid,autoComplete:p,id:e.name}),(0,n.jsx)(nQ.InputGroupAddon,{align:"block-end",children:(0,n.jsx)(t.CharacterCount,{className:"ml-auto",length:e.value?.length??0,maxLength:d})})]}):(0,n.jsx)(ai.Textarea,{...e,value:e.value??"",...u,"aria-invalid":r.invalid,autoComplete:p,id:e.name}),i&&(0,n.jsx)(a.FieldDescription,{children:i}),c&&r.invalid&&(0,n.jsx)(a.FieldError,{errors:[r.error]})]})})}],484552),e.s([],522236);var al=e.i(51449),ac=e.i(259864),ap=e.i(578889),ad=e.i(766271),au=class extends ap.Subscribable{#h;#D=void 0;#T;#I;constructor(e,t){super(),this.#h=e,this.setOptions(t),this.bindMethods(),this.#x()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#h.defaultMutationOptions(e),(0,ad.shallowEqualObjects)(this.options,t)||this.#h.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#T,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,ad.hashKey)(t.mutationKey)!==(0,ad.hashKey)(this.options.mutationKey)?this.reset():this.#T?.state.status==="pending"&&this.#T.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#T?.removeObserver(this)}onMutationUpdate(e){this.#x(),this.#C(e)}getCurrentResult(){return this.#D}reset(){this.#T?.removeObserver(this),this.#T=void 0,this.#x(),this.#C()}mutate(e,t){return this.#I=t,this.#T?.removeObserver(this),this.#T=this.#h.getMutationCache().build(this.#h,this.options),this.#T.addObserver(this),this.#T.execute(e)}#x(){let e=this.#T?.state??(0,al.getDefaultState)();this.#D={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#C(e){ac.notifyManager.batch(()=>{if(this.#I&&this.hasListeners()){let t=this.#D.variables,n=this.#D.context,a={client:this.#h,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#I.onSuccess?.(e.data,t,n,a)}catch(e){Promise.reject(e)}try{this.#I.onSettled?.(e.data,null,t,n,a)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#I.onError?.(e.error,t,n,a)}catch(e){Promise.reject(e)}try{this.#I.onSettled?.(void 0,e.error,t,n,a)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#D)})})}},am=e.i(98340);e.s(["useMutation",0,function(e,t){let n=(0,am.useQueryClient)(t),[a]=nK.useState(()=>new au(n,e));nK.useEffect(()=>{a.setOptions(e)},[a,e]);let o=nK.useSyncExternalStore(nK.useCallback(e=>a.subscribe(ac.notifyManager.batchCalls(e)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),r=nK.useCallback((e,t)=>{a.mutate(e,t).catch(ad.noop)},[a]);if(o.error&&(0,ad.shouldThrowError)(a.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:r,mutateAsync:o.mutate}}],238240)},259199,e=>{"use strict";var t=e.i(564946);function n(e){let t=window.matchMedia("(max-width: 767px)");return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function a(){return window.innerWidth<768}function o(){}e.s(["useIsMobile",0,function(){return(0,t.useSyncExternalStore)(n,a,o)}])}]); 127 128//# sourceMappingURL=1qbudrjdo_yid.js.map 129//# chunkId=01a0f928-d677-77e2-97cc-2d081e1fbdd0
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.