import{$ as e,B as t,D as n,Dt as r,E as i,Et as a,F as o,Ft as s,H as c,Ht as l,I as u,K as d,L as f,M as p,N as m,Nt as h,Ot as g,P as _,Pt as v,Q as y,R as b,St as x,Tt as S,Ut as C,V as w,Vt as T,Y as E,Z as ee,_ as D,_t as O,a as te,at as k,b as A,c as j,dt as ne,f as re,ft as M,g as N,gt as P,ht as F,it as ie,kt as ae,l as I,lt as L,ot as oe,pt as se,q as ce,tt as le,u as ue,ut as R,w as de,wt as fe,x as pe,xt as z,y as me,z as he,zt as B}from"./BHlvaIqp.js";import{r as ge}from"./Byec0Tgm.js";import"./xihTtKlq.js";import{n as _e,t as ve}from"./Ch05eTWO.js";var ye=(...e)=>_e(e.filter(e=>!e||typeof e==`boolean`?!1:typeof e==`string`).join(` `)),be=e=>`immich-ui-${e}`,xe=0,Se=()=>`ui-id-${xe++}`,Ce=e=>typeof e==`string`||!!(e&&typeof e==`object`&&`path`in e),we=({icons:e,color:t,override:n,fallback:r})=>{if(n)return n;if(n!==!1)return e[t]??r},Te=e=>Array.isArray(e)?e:e?[e]:[],Ee=e=>e.replaceAll(`&`,`&`).replaceAll(``,`>`).replaceAll(`"`,`"`).replaceAll(`'`,`'`),De=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),Oe=(e,t)=>{let n=Ee(e),r=t.filter(Boolean).toSorted((e,t)=>t.length-e.length).map(e=>De(e));return r.length===0?n:n.replaceAll(RegExp(`(${r.join(`|`)})`,`gi`),`$1 `)},ke={primary:`text-primary`,secondary:`text-dark`,success:`text-success`,danger:`text-danger`,warning:`text-warning`,info:`text-info`},V={color:ke,textColor:{...ke,muted:`text-gray-600 dark:text-gray-400`},inputSegmentCommon:`focus:bg-light-300 focus:text-light-900 dark:focus:bg-light-700 dark:focus:text-light-100 rounded tabular-nums outline-none`,inputCommon:`disabled:text-dark dark:disabled:text-gray-200 bg-transparent transition outline-none disabled:cursor-not-allowed`,inputContainerCommon:`bg-gray-100 ring-1 ring-gray-200 focus-within:ring-primary dark:focus-within:ring-primary transition outline-none data-disabled:cursor-not-allowed dark:bg-gray-800 dark:ring-neutral-700 data-disabled:bg-light-300 data-disabled:dark:bg-gray-900 has-user-invalid:focus-within:ring-danger has-user-invalid:dark:focus-within:ring-danger has-user-invalid:ring-danger-300 has-user-invalid:dark:ring-danger-300`,inputContainerBits:`data-disabled:text-dark data-disabled:dark:text-gray-200 data-invalid:focus-within:ring-danger data-invalid:dark:focus-within:ring-danger data-invalid:ring-danger-300 data-invalid:dark:ring-danger-300`,shape:{rectangle:`rounded-none`,"semi-round":``,round:`rounded-full`},inputRoundedSize:{tiny:`rounded-lg`,small:`rounded-lg`,medium:`rounded-lg`,large:`rounded-lg`,giant:`rounded-lg`},border:{true:`border`,false:``},borderColor:{primary:`border-primary`,secondary:`border-dark`,success:`border-success`,danger:`border-danger`,warning:`border-warning`,info:`border-info`},fillColor:{primary:`fill-primary`,secondary:`fill-dark`,success:`fill-success`,danger:`fill-danger`,warning:`fill-warning`,info:`fill-info`},filledColor:{primary:`bg-primary text-light`,secondary:`bg-dark text-light`,success:`bg-success text-light`,danger:`bg-danger text-light`,warning:`bg-warning text-light`,info:`bg-info text-light`},filledColorHover:{primary:`not-disabled:hover:bg-primary/80`,secondary:`not-disabled:hover:bg-dark/80`,success:`not-disabled:hover:bg-success/80`,danger:`not-disabled:hover:bg-danger/80`,warning:`not-disabled:hover:bg-warning/80`,info:`not-disabled:hover:bg-info/80`},textSize:{tiny:`text-xs`,small:`text-sm`,medium:`text-base`,large:`text-lg`,giant:`text-xl`},fontWeight:{thin:`font-thin`,"extra-light":`font-extralight`,light:`font-light`,normal:`font-normal`,medium:`font-medium`,"semi-bold":`font-semibold`,bold:`font-bold`,"extra-bold":`font-extrabold`,black:`font-black`},tableSpacing:{tiny:``,small:`py-1`,medium:`py-2`,large:`py-3`,giant:`py-4`}};ve({base:V.inputSegmentCommon,variants:{padding:{narrow:`p-0.5`,wide:`px-1 py-0.5`}}});var Ae=ve({base:ye(V.inputCommon,`w-full flex-1 py-2.5`),variants:{textSize:V.textSize,leadingPadding:{base:`pl-4`,icon:`pl-0`},trailingPadding:{base:`pr-4`,icon:`pr-0`},roundedSize:{tiny:`rounded-lg`,small:`rounded-lg`,medium:`rounded-lg`,large:`rounded-lg`,giant:`rounded-lg`}}}),je=ve({base:ye(V.inputContainerCommon,V.inputContainerBits,`flex w-full items-center`),variants:{shape:V.shape,roundedSize:V.inputRoundedSize,invalid:{true:`focus-within:ring-danger dark:focus-within:ring-danger dark:ring-danger-300 ring-danger-300`}}}),Me=new Set([`$$slots`,`$$events`,`$$legacy`,`size`,`viewBox`,`class`,`indicator`,`flipped`,`flopped`,`spin`,`strokeColor`,`strokeWidth`,`role`,`title`,`icon`,`color`,`description`]),Ne=t(`
Aquileo | `),Pe=t(` `),Fe=t(` `),Ie=t(` `);function Le(e,t){g(t,!0);let n=j(t,`size`,3,`1em`),i=j(t,`viewBox`,3,`0 0 24 24`),a=j(t,`class`,3,``),c=j(t,`flipped`,3,!1),l=j(t,`flopped`,3,!1),u=j(t,`spin`,3,!1),d=j(t,`strokeColor`,3,`transparent`),p=j(t,`strokeWidth`,3,2),h=j(t,`role`,3,`img`),_=j(t,`color`,3,`currentColor`),v=I(t,Me),y=z(()=>{let[e,t,n,r]=i().split(` `,4);if(t&&n&&r){let e=Math.min(Number(n),Number(r))/8;return{x:Number(n)-e,y:Number(t)+e,radius:e}}}),b=ve({variants:{color:V.textColor}});var x=Ie();N(x,e=>({width:n(),height:n(),viewBox:i(),class:e,stroke:d(),"stroke-width":p(),role:h(),...v}),[()=>ye(a(),c()&&`-scale-x-100`,l()&&`rotate-180`,u()&&`animate-spin`)],void 0,void 0,`svelte-1m8j6zq`);var S=L(x),C=e=>{var n=Ne(),r=L(n,!0);s(n),ie(()=>o(r,t.title)),f(e,n)};m(S,e=>{t.title&&e(C)});var w=ne(S),T=e=>{var n=Pe(),r=L(n,!0);s(n),ie(()=>o(r,t.description)),f(e,n)};m(w,e=>{t.description&&e(T)});var ee=ne(w),O=ne(ee),te=e=>{var n=Fe();ie(e=>{D(n,`cx`,E(y).x),D(n,`cy`,E(y).y),D(n,`r`,E(y).radius),me(n,0,e)},[()=>A(b({color:t.indicator}))]),f(e,n)};m(O,e=>{t.indicator&&E(y)&&e(te)}),s(x),ie(()=>{D(ee,`d`,typeof t.icon==`string`?t.icon:t.icon.path),D(ee,`fill`,_())}),f(e,x),r()}var Re=he(``);function ze(e,t){g(t,!0);let n=j(t,`size`,3,`medium`),i=j(t,`color`,3,`primary`),a=ve({base:`fill-primary animate-spin text-gray-400 dark:text-gray-600`,variants:{size:{tiny:`h-3`,small:`h-4`,medium:`h-5`,large:`h-6`,giant:`h-12`},color:V.fillColor}});var o=Re(),c=L(o);s(o),ie(e=>me(c,0,e),[()=>A(ye(a({color:i(),size:n()}),t.class))]),f(e,o),r()}var Be;(function(e){e.Field=`field`,e.HelperText=`helped-text`,e.AppShell=`app-shell`,e.AppShellHeader=`app-shell-header`,e.AppShellBar=`app-shell-bar`,e.AppShellSidebar=`app-shell-sidebar`,e.Card=`card`,e.CardHeader=`card-header`,e.CardBody=`card-body`,e.CardFooter=`card-footer`,e.ControlBar=`control-bar`,e.ControlBarHeader=`control-bar-header`,e.ControlBarContent=`control-bar-content`,e.ControlBarOverflow=`control-bar-overflow`,e.Modal=`modal`,e.ModalHeader=`modal-header`,e.ModalBody=`modal-body`,e.ModalFooter=`modal-footer`,e.Table=`table`,e.TableHeader=`table-header`,e.TableBody=`table-body`,e.TableFooter=`table-footer`})(Be||={});var Ve={CarouselImage:`z-1`,CodeBlockCopyButton:`z-10`,AppShellSidebar:`z-30`,AppShellBar:`z-35`,ModalBackdrop:`z-40`,ModalContent:`z-50`,SelectDropdown:`z-55`,ToastPanel:`z-60`,ContextMenu:`z-70!`,Tooltip:`z-90`,ScreencastOverlay:`z-10000`};function He(e){return typeof e==`object`&&!!e}var Ue=[`string`,`number`,`bigint`,`boolean`];function We(e){return e==null||Ue.includes(typeof e)?!0:Array.isArray(e)?e.every(e=>We(e)):typeof e==`object`&&Object.getPrototypeOf(e)===Object.prototype}var Ge=Symbol(`box`),Ke=Symbol(`is-writable`);function H(e,t){let n=z(e);return t?{[Ge]:!0,[Ke]:!0,get current(){return E(n)},set current(e){t(e)}}:{[Ge]:!0,get current(){return e()}}}function qe(e){return He(e)&&Ge in e}function Je(e){let t=O(M(e));return{[Ge]:!0,[Ke]:!0,get current(){return E(t)},set current(e){F(t,e,!0)}}}function Ye(...e){return function(t){for(let n of e)if(n){if(t.defaultPrevented)return;typeof n==`function`?n.call(this,t):n.current?.call(this,t)}}}var Xe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ze=/\n/g,Qe=/^\s*/,$e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,et=/^:\s*/,tt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,nt=/^[;\s]*/,rt=/^\s+|\s+$/g,it=`
`,at=`/`,ot=`*`,st=``,ct=`comment`,lt=`declaration`;function ut(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var n=1,r=1;function i(e){var t=e.match(Ze);t&&(n+=t.length);var i=e.lastIndexOf(it);r=~i?e.length-i:r+e.length}function a(){var e={line:n,column:r};return function(t){return t.position=new o(e),l(),t}}function o(e){this.start=e,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(i){var a=Error(t.source+`:`+n+`:`+r+`: `+i);if(a.reason=i,a.filename=t.source,a.line=n,a.column=r,a.source=e,!t.silent)throw a}function c(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function l(){c(Qe)}function u(e){var t;for(e||=[];t=d();)t!==!1&&e.push(t);return e}function d(){var t=a();if(!(at!=e.charAt(0)||ot!=e.charAt(1))){for(var n=2;st!=e.charAt(n)&&(ot!=e.charAt(n)||at!=e.charAt(n+1));)++n;if(n+=2,st===e.charAt(n-1))return s(`End of comment missing`);var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:ct,comment:o})}}function f(){var e=a(),t=c($e);if(t){if(d(),!c(et))return s(`property missing ':'`);var n=c(tt),r=e({type:lt,property:dt(t[0].replace(Xe,st)),value:n?dt(n[0].replace(Xe,st)):st});return c(nt),r}}function p(){var e=[];u(e);for(var t;t=f();)t!==!1&&(e.push(t),u(e));return e}return l(),p()}function dt(e){return e?e.replace(rt,st):st}function ft(e,t){let n=null;if(!e||typeof e!=`string`)return n;let r=ut(e),i=typeof t==`function`;return r.forEach(e=>{if(e.type!==`declaration`)return;let{property:r,value:a}=e;i?t(r,a,e):a&&(n||={},n[r]=a)}),n}var pt=/\d/,mt=[`-`,`_`,`/`,`.`];function ht(e=``){if(!pt.test(e))return e!==e.toLowerCase()}function gt(e){let t=[],n=``,r,i;for(let a of e){let e=mt.includes(a);if(e===!0){t.push(n),n=``,r=void 0;continue}let o=ht(a);if(i===!1){if(r===!1&&o===!0){t.push(n),n=a,r=o;continue}if(r===!0&&o===!1&&n.length>1){let e=n.at(-1);t.push(n.slice(0,Math.max(0,n.length-1))),n=e+a,r=o;continue}}n+=a,r=o,i=e}return t.push(n),t}function _t(e){return e?gt(e).map(e=>yt(e)).join(``):``}function vt(e){return bt(_t(e||``))}function yt(e){return e?e[0].toUpperCase()+e.slice(1):``}function bt(e){return e?e[0].toLowerCase()+e.slice(1):``}function xt(e){if(!e)return{};let t={};function n(e,n){if(e.startsWith(`-moz-`)||e.startsWith(`-webkit-`)||e.startsWith(`-ms-`)||e.startsWith(`-o-`)){t[_t(e)]=n;return}if(e.startsWith(`--`)){t[e]=n;return}t[vt(e)]=n}return ft(e,n),t}function St(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}function Ct(e,t){let n=RegExp(e,`g`);return e=>{if(typeof e!=`string`)throw TypeError(`expected an argument of type string, but got ${typeof e}`);return e.match(n)?e.replace(n,t):e}}var wt=Ct(/[A-Z]/,e=>`-${e.toLowerCase()}`);function Tt(e){if(!e||typeof e!=`object`||Array.isArray(e))throw TypeError(`expected an argument of type object, but got ${typeof e}`);return Object.keys(e).map(t=>`${wt(t)}: ${e[t]};`).join(`
`)}function Et(e={}){return Tt(e).replace(`
`,` `)}var Dt=new Set(`onabort.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onauxclick.onbeforeinput.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncompositionend.oncompositionstart.oncompositionupdate.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onfocusin.onfocusout.onformdata.ongotpointercapture.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onload.onloadeddata.onloadedmetadata.onloadstart.onlostpointercapture.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onpaste.onpause.onplay.onplaying.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointermove.onpointerout.onpointerover.onpointerup.onprogress.onratechange.onreset.onresize.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectionchange.onselectstart.onslotchange.onstalled.onsubmit.onsuspend.ontimeupdate.ontoggle.ontouchcancel.ontouchend.ontouchmove.ontouchstart.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onvolumechange.onwaiting.onwebkitanimationend.onwebkitanimationiteration.onwebkitanimationstart.onwebkittransitionend.onwheel`.split(`.`));function Ot(e){return Dt.has(e)}function kt(...e){let t={...e[0]};for(let n=1;ns.has(e)))&&se(o)}return a}delete(e){var t=this.#e,n=t.get(e),r=super.delete(e);return n!==void 0&&(t.delete(e),F(n,-1)),r&&(F(this.#n,super.size),se(this.#t)),r}clear(){if(super.size!==0){super.clear();var e=this.#e;F(this.#n,0);for(var t of e.values())F(t,-1);se(this.#t),e.clear()}}#a(){E(this.#t);var e=this.#e;if(this.#n.v!==e.size){for(var t of super.keys())if(!e.has(t)){var n=this.#i(0);e.set(t,n)}}for([,n]of this.#e)E(n)}keys(){return E(this.#t),super.keys()}values(){return this.#a(),super.values()}entries(){return this.#a(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return E(this.#n),super.size}},Nt=class{#e;#t;constructor(e,t){this.#e=e,this.#t=x(t)}get current(){return this.#t(),this.#e()}},Pt=/\(.+\)/,Ft=new Set([`all`,`print`,`screen`,`and`,`or`,`not`,`only`]),It=class extends Nt{constructor(e,t){let n=Pt.test(e)||e.split(/[\s,]+/).some(e=>Ft.has(e.trim()))?e:`(${e})`,r=window.matchMedia(n);super(()=>r.matches,e=>d(r,`change`,e))}};new class{#e;#t;constructor(e={}){let{window:t=At,document:n=t?.document}=e;t!==void 0&&(this.#e=n,this.#t=x(e=>{let n=d(t,`focusin`,e),r=d(t,`focusout`,e);return()=>{n(),r()}}))}get current(){return this.#t?.(),this.#e?jt(this.#e):null}};function Lt(e){return typeof e==`function`}var Rt=class{#e;#t;constructor(e){this.#e=e,this.#t=Symbol(e)}get key(){return this.#t}exists(){return a(this.#t)}get(){let e=S(this.#t);if(e===void 0)throw Error(`Context "${this.#e}" not found`);return e}getOr(e){let t=S(this.#t);return t===void 0?e:t}set(e){return ae(this.#t,e)}};function zt(e,t){switch(e){case`post`:k(t);break;case`pre`:oe(t);break}}function Bt(e,t,n,r={}){let{lazy:i=!1}=r,a=!i,o=Array.isArray(e)?[]:void 0;zt(t,()=>{let t=Array.isArray(e)?e.map(e=>e()):e();if(!a){a=!0,o=t;return}let r=y(()=>n(t,o));return o=t,r})}function Vt(e,t,n){let r=le(()=>{let i=!1;Bt(e,t,(e,t)=>{if(i){r();return}let a=n(e,t);return i=!0,a},{lazy:!0})});k(()=>r)}function U(e,t,n){Bt(e,`post`,t,n)}function Ht(e,t,n){Bt(e,`pre`,t,n)}U.pre=Ht;function Ut(e,t){Vt(e,`post`,t)}function Wt(e,t){Vt(e,`pre`,t)}Ut.pre=Wt;function Gt(e){return Lt(e)?e():e}var Kt=class{#e={width:0,height:0};#t=!1;#n;#r;#i;#a=z(()=>(E(this.#s)?.(),this.getSize().width));#o=z(()=>(E(this.#s)?.(),this.getSize().height));#s=z(()=>{let e=Gt(this.#r);if(e)return x(t=>{if(!this.#i)return;let n=new this.#i.ResizeObserver(e=>{this.#t=!0;for(let t of e){let e=this.#n.box===`content-box`?t.contentBoxSize:t.borderBoxSize,n=Array.isArray(e)?e:[e];this.#e.width=n.reduce((e,t)=>Math.max(e,t.inlineSize),0),this.#e.height=n.reduce((e,t)=>Math.max(e,t.blockSize),0)}t()});return n.observe(e),()=>{this.#t=!1,n.disconnect()}})});constructor(e,t={box:`border-box`}){this.#i=t.window??At,this.#n=t,this.#r=e,this.#e={width:0,height:0}}calculateSize(){let e=Gt(this.#r);if(!e||!this.#i)return;let t=e.offsetWidth,n=e.offsetHeight;if(this.#n.box===`border-box`)return{width:t,height:n};let r=this.#i.getComputedStyle(e),i=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),a=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),o=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),s=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth);return{width:t-i-o,height:n-a-s}}getSize(){return this.#t?this.#e:this.calculateSize()??this.#e}get current(){return E(this.#s)?.(),this.getSize()}get width(){return E(this.#a)}get height(){return E(this.#o)}};function qt(e,t){let n,r=null;return(...i)=>new Promise(a=>{r&&r(void 0),r=a,clearTimeout(n),n=setTimeout(async()=>{let t=await e(...i);r&&=(r(t),null)},t)})}function Jt(e,t){let n=0,r=null;return(...i)=>{let a=Date.now();return n&&a-n{E(f).forEach(e=>e()),F(f,[],!0)},m=e=>{F(f,[...E(f),e],!0)},h=async(e,n,r=!1)=>{try{F(u,!0),F(d,void 0),p();let i=new AbortController;m(()=>i.abort());let a=await t(e,n,{data:E(l),refetching:r,onCleanup:m,signal:i.signal});return F(l,a,!0),a}catch(e){e instanceof DOMException&&e.name===`AbortError`||F(d,e,!0);return}finally{F(u,!1)}},g=s?qt(h,s):c?Jt(h,c):h,_=Array.isArray(e)?e:[e],v;return r((t,n)=>{a&&v||(v=t,g(Array.isArray(e)?t:t[0],Array.isArray(e)?n:n?.[0]))},{lazy:i}),{get current(){return E(l)},get loading(){return E(u)},get error(){return E(d)},mutate:e=>{F(l,e,!0)},refetch:t=>{let n=_.map(e=>e());return g(Array.isArray(e)?n:n[0],Array.isArray(e)?n:n[0],t??!0)}}}function Xt(e,t,n){return Yt(e,t,n,(t,n)=>{let r=Array.isArray(e)?e:[e];U(()=>r.map(e=>e()),(e,n)=>{t(e,n??[])},n)})}function Zt(e,t,n){return Yt(e,t,n,(t,n)=>{let r=Array.isArray(e)?e:[e];U.pre(()=>r.map(e=>e()),(e,n)=>{t(e,n??[])},n)})}Xt.pre=Zt;function Qt(e){k(()=>()=>{e()})}function $t(e){k(()=>y(()=>e()))}function en(e,t){return setTimeout(t,e)}function tn(e){ee().then(e)}var nn=1,rn=9,an=11;function on(e){return He(e)&&e.nodeType===nn&&typeof e.nodeName==`string`}function sn(e){return He(e)&&e.nodeType===rn}function cn(e){return He(e)&&e.constructor?.name===`VisualViewport`}function ln(e){return He(e)&&e.nodeType!==void 0}function un(e){return ln(e)&&e.nodeType===an&&`host`in e}function dn(e,t){if(!e||!t||!on(e)||!on(t))return!1;let n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&un(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function fn(e){return sn(e)?e:cn(e)?e.document:e?.ownerDocument??document}function pn(e){return un(e)?pn(e.host):sn(e)?e.defaultView??window:on(e)?e.ownerDocument?.defaultView??window:window}function mn(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var hn=class{element;#e=z(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return E(this.#e)}set root(e){F(this.#e,e)}constructor(e){typeof e==`function`?this.element=H(e):this.element=e}getDocument=()=>fn(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>mn(this.root);isActiveElement=e=>e===this.getActiveElement();getElementById(e){return this.root.getElementById(e)}querySelector=e=>this.root?this.root.querySelector(e):null;querySelectorAll=e=>this.root?this.root.querySelectorAll(e):[];setTimeout=(e,t)=>this.getWindow().setTimeout(e,t);clearTimeout=e=>this.getWindow().clearTimeout(e)};function gn(e,t){return{[ce()]:n=>qe(e)?(e.current=n,y(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e.current=null,t?.(null))}):(e(n),y(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e(null),t?.(null))})}}function _n(e){return e?`true`:`false`}function vn(e){return e?``:void 0}function yn(e){return e?`open`:`closed`}function bn(e){return e===`starting`?{"data-starting-style":``}:e===`ending`?{"data-ending-style":``}:{}}function xn(e,t){return t?`mixed`:e?`true`:`false`}var Sn=class{#e;#t;attrs;constructor(e){this.#e=e.getVariant?e.getVariant():null,this.#t=this.#e?`data-${this.#e}-`:`data-${e.component}-`,this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(e=>[e,this.getAttr(e)]))}getAttr(e,t){return t?`data-${t}-${e}`:`${this.#t}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function Cn(e){let t=new Sn(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var wn=`Enter`,Tn=typeof document2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function On(e){return e instanceof HTMLElement}function kn(e){return e instanceof Element}function An(e){return e instanceof Element||e instanceof SVGElement}function jn(e){return e.matches(`:focus-visible`)}function Mn(e){return e!==null}var Nn=class{#e;#t=null;#n=null;#r=0;constructor(e){this.#e=e,Qt(()=>this.#i())}#i(){this.#t!==null&&(window.cancelAnimationFrame(this.#t),this.#t=null),this.#n?.disconnect(),this.#n=null,this.#r++}run(e){this.#i();let t=this.#e.ref.current;if(!t)return;if(typeof t.getAnimations!=`function`){this.#a(e);return}let n=this.#r,r=()=>{n===this.#r&&this.#a(e)},i=()=>{if(n!==this.#r)return;let e=t.getAnimations();if(e.length===0){r();return}Promise.all(e.map(e=>e.finished)).then(()=>{r()}).catch(()=>{if(n===this.#r){if(t.getAnimations().some(e=>e.pending||e.playState!==`finished`)){i();return}r()}})},a=()=>{this.#t=window.requestAnimationFrame(()=>{this.#t=null,i()})};if(!this.#e.afterTick.current){a();return}this.#t=window.requestAnimationFrame(()=>{this.#t=null;let e=`data-starting-style`;if(!t.hasAttribute(e)){a();return}this.#n=new MutationObserver(()=>{n===this.#r&&(t.hasAttribute(e)||(this.#n?.disconnect(),this.#n=null,a()))}),this.#n.observe(t,{attributes:!0,attributeFilter:[e]})})}#a(e){let t=()=>{e()};this.#e.afterTick?tn(t):t()}},Pn=class{#e;#t;#n;#r=O(!1);#i=O(void 0);#a=!1;#o=null;constructor(e){this.#e=e,F(this.#r,e.open.current,!0),this.#t=e.enabled??!0,this.#n=new Nn({ref:this.#e.ref,afterTick:this.#e.open}),Qt(()=>this.#s()),U(()=>this.#e.open.current,e=>{if(!this.#a){this.#a=!0;return}if(this.#s(),!e&&this.#e.shouldSkipExitAnimation?.()){F(this.#r,!1),F(this.#i,void 0),this.#e.onComplete?.();return}if(e&&F(this.#r,!0),F(this.#i,e?`starting`:`ending`,!0),e&&(this.#o=window.requestAnimationFrame(()=>{this.#o=null,this.#e.open.current&&F(this.#i,void 0)})),!this.#t){e||F(this.#r,!1),F(this.#i,void 0),this.#e.onComplete?.();return}this.#n.run(()=>{e===this.#e.open.current&&(this.#e.open.current||F(this.#r,!1),F(this.#i,void 0),this.#e.onComplete?.())})})}get shouldRender(){return E(this.#r)}get transitionStatus(){return E(this.#i)}#s(){this.#o!==null&&(window.cancelAnimationFrame(this.#o),this.#o=null)}};function W(){}function Fn(e,t){return t===void 0?`bits-${e}`:`bits-${e}-${t}`}function In(e,t){var r=b();p(R(r),()=>t.children,e=>{var r=b();n(R(r),()=>t.children??B),f(e,r)}),f(e,r)}var Ln=new Rt(`BitsConfig`);function Rn(){let e=new zn(null,{});return Ln.getOr(e).opts}var zn=class{opts;constructor(e,t){let n=Bn(e,t);this.opts={defaultPortalTo:n(e=>e.defaultPortalTo),defaultLocale:n(e=>e.defaultLocale)}}};function Bn(e,t){return n=>H(()=>{let r=n(t)?.current;if(r!==void 0)return r;if(e!==null)return n(e.opts)?.current})}function Vn(e,t){return n=>{let r=Rn();return H(()=>{let i=n();if(i!==void 0)return i;let a=e(r).current;return a===void 0?t:a})}}var Hn=Vn(e=>e.defaultPortalTo,`body`);function Un(e,t){g(t,!0);let i=Hn(()=>t.to),a=fe(),o=z(s);function s(){if(!Tn||t.disabled)return null;let e=null;return e=typeof i.current==`string`?document.querySelector(i.current):i.current,e}let c;function l(){c&&=(u(c),null)}U([()=>E(o),()=>t.disabled],([e,n])=>{if(!e||n){l();return}return c=_(In,{target:e,props:{children:t.children},context:a}),()=>{l()}});var d=b(),p=R(d),h=e=>{var r=b();n(R(r),()=>t.children??B),f(e,r)};m(p,e=>{t.disabled&&e(h)}),f(e,d),r()}var Wn=class{eventName;options;constructor(e,t={bubbles:!0,cancelable:!0}){this.eventName=e,this.options=t}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,t){let n=this.createEvent(t);return e.dispatchEvent(n),n}listen(e,t,n){return d(e,this.eventName,e=>{t(e)},n)}};function Gn(e,t=500){let n=null,r=(...r)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)};return r.destroy=()=>{n!==null&&(clearTimeout(n),n=null)},r}function Kn(e,t){return e===t||e.contains(t)}function qn(e){return e?.ownerDocument??document}function Jn(e,t){let{clientX:n,clientY:r}=e,i=t.getBoundingClientRect();return ni.right||ri.bottom}var Yn=[`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] *)`],Xn=Yn.join(`,`),Zn=typeof Element>`u`,Qn=Zn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,$n=!Zn&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},er=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):er(e.parentNode))},tr=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},nr=function(e,t,n){if(er(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Xn));return t&&Qn.call(e,Xn)&&r.unshift(e),r=r.filter(n),r},rr=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!er(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=rr(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{Qn.call(a,Xn)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!er(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=rr(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},ir=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},ar=function(e){if(!e)throw Error(`No node provided`);return e.tabIndexsummary:first-of-type`)?e.parentElement:e;if(Qn.call(i,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var a=e;e;){var o=e.parentElement,s=$n(e);if(o&&!o.shadowRoot&&r(o)===!0)return gr(e);e=e.assignedSlot?e.assignedSlot:!o&&s!==e.ownerDocument?s.host:o}e=a}if(hr(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return gr(e);return!1},vr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n=0)},Sr=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=or(a,i),s=i?Sr(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(sr).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Cr=function(e,t){return t||={},Sr(t.getShadowRoot?rr([e],t.includeContainer,{filter:br.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:xr}):nr(e,t.includeContainer,br.bind(null,t)))},wr=function(e,t){return t||={},t.getShadowRoot?rr([e],t.includeContainer,{filter:yr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):nr(e,t.includeContainer,yr.bind(null,t))},Tr=Yn.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),Er=function(e,t){if(t||={},!e)throw Error(`No node provided`);return Qn.call(e,Tr)!==!1&&yr(t,e)},Dr=`data-context-menu-trigger`,Or=`data-context-menu-content`;new Rt(`Menu.Root`),new Rt(`Menu.Root | Menu.Sub`),new Rt(`Menu.Content`),new Rt(`Menu.Group | Menu.RadioGroup`),new Rt(`Menu.RadioGroup`),new Rt(`Menu.CheckboxGroup`),new Wn(`bitsmenuopen`,{bubbles:!1,cancelable:!0}),Cn({component:`menu`,parts:[`trigger`,`content`,`sub-trigger`,`item`,`group`,`group-heading`,`checkbox-group`,`checkbox-item`,`radio-group`,`radio-item`,`separator`,`sub-content`,`arrow`]}),globalThis.bitsDismissableLayers??=new Map;var kr=class e{static create(t){return new e(t)}opts;#e;#t;#n={pointerdown:!1};#r=!1;#i=!1;#a=void 0;#o;#s=W;constructor(e){this.opts=e,this.#t=e.interactOutsideBehavior,this.#e=e.onInteractOutside,this.#o=e.onFocusOutside,k(()=>{this.#a=qn(this.opts.ref.current)});let t=W,n=()=>{this.#g(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),t()};U([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return en(1,()=>{this.opts.ref.current&&(globalThis.bitsDismissableLayers.set(this,this.#t),t(),t=this.#l())}),n}),Qt(()=>{this.#g.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),this.#s(),t()})}#c=e=>{e.defaultPrevented||this.opts.ref.current&&tn(()=>{!this.opts.ref.current||this.#h(e.target)||e.target&&!this.#i&&this.#o.current?.(e)})};#l(){return St(d(this.#a,`pointerdown`,St(this.#f,this.#m),{capture:!0}),d(this.#a,`pointerdown`,St(this.#p,this.#d)),d(this.#a,`focusin`,this.#c))}#u=e=>{let t=e;t.defaultPrevented&&(t=Nr(e)),this.#e.current(e)};#d=Gn(e=>{if(!this.opts.ref.current){this.#s();return}let t=this.opts.isValidEvent.current(e,this.opts.ref.current)||Mr(e,this.opts.ref.current);if(!this.#r||this.#_()||!t){this.#s();return}let n=e;if(n.defaultPrevented&&(n=Nr(n)),this.#t.current!==`close`&&this.#t.current!==`defer-otherwise-close`){this.#s();return}e.pointerType===`touch`?(this.#s(),this.#s=d(this.#a,`click`,this.#u,{once:!0})):this.#e.current(n)},10);#f=e=>{this.#n[e.type]=!0};#p=e=>{this.#n[e.type]=!1};#m=()=>{this.opts.ref.current&&(this.#r=jr(this.opts.ref.current))};#h=e=>this.opts.ref.current?Kn(this.opts.ref.current,e):!1;#g=Gn(()=>{for(let e in this.#n)this.#n[e]=!1;this.#r=!1},20);#_(){return Object.values(this.#n).some(Boolean)}#v=()=>{this.#i=!0};#y=()=>{this.#i=!1};props={onfocuscapture:this.#v,onblurcapture:this.#y}};function Ar(e=[...globalThis.bitsDismissableLayers]){return e.findLast(([e,{current:t}])=>t===`close`||t===`ignore`)}function jr(e){let t=[...globalThis.bitsDismissableLayers],n=Ar(t);if(n)return n[0].opts.ref.current===e;let[r]=t[0];return r.opts.ref.current===e}function Mr(e,t){let n=e.target;if(!An(n))return!1;let r=!!n.closest(`[${Dr}]`),i=!!t.closest(`[${Or}]`);return`button`in e&&e.button>0&&!r?!1:`button`in e&&e.button===0&&r&&i?!0:r&&i?!1:qn(n).documentElement.contains(n)&&!Kn(t,n)&&Jn(e,t)}function Nr(e){let t=e.currentTarget,n=e.target,r;r=e instanceof PointerEvent?new PointerEvent(e.type,e):new PointerEvent(`pointerdown`,e);let i=!1;return new Proxy(r,{get:(r,a)=>a===`currentTarget`?t:a===`target`?n:a===`preventDefault`?()=>{i=!0,typeof r.preventDefault==`function`&&r.preventDefault()}:a===`defaultPrevented`?i:a in r?r[a]:e[a]})}function Pr(e,t){g(t,!0);let i=j(t,`interactOutsideBehavior`,3,`close`),a=j(t,`onInteractOutside`,3,W),o=j(t,`onFocusOutside`,3,W),s=j(t,`isValidEvent`,3,()=>!1),c=kr.create({id:H(()=>t.id),interactOutsideBehavior:H(()=>i()),onInteractOutside:H(()=>a()),enabled:H(()=>t.enabled),onFocusOutside:H(()=>o()),isValidEvent:H(()=>s()),ref:t.ref});var l=b();n(R(l),()=>t.children??B,()=>({props:c.props})),f(e,l),r()}globalThis.bitsEscapeLayers??=new Map;var Fr=class e{static create(t){return new e(t)}opts;domContext;constructor(e){this.opts=e,this.domContext=new hn(this.opts.ref);let t=W;U(()=>e.enabled.current,n=>(n&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#e()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#e=()=>d(this.domContext.getDocument(),`keydown`,this.#t,{passive:!1});#t=e=>{if(e.key!==`Escape`||!Ir(this))return;let t=new KeyboardEvent(e.type,e);e.preventDefault();let n=this.opts.escapeKeydownBehavior.current;n!==`close`&&n!==`defer-otherwise-close`||this.opts.onEscapeKeydown.current(t)}};function Ir(e){let t=[...globalThis.bitsEscapeLayers],n=t.findLast(([e,{current:t}])=>t===`close`||t===`ignore`);if(n)return n[0]===e;let[r]=t[0];return r===e}function Lr(e,t){g(t,!0);let i=j(t,`escapeKeydownBehavior`,3,`close`),a=j(t,`onEscapeKeydown`,3,W);Fr.create({escapeKeydownBehavior:H(()=>i()),onEscapeKeydown:H(()=>a()),enabled:H(()=>t.enabled),ref:t.ref});var o=b();n(R(o),()=>t.children??B),f(e,o),r()}var Rr=class e{static instance;#e=Je([]);#t=new WeakMap;#n=new WeakMap;static getInstance(){return this.instance||=new e,this.instance}register(e){let t=this.getActive();t&&t!==e&&t.pause();let n=document.activeElement;n&&n!==document.body&&this.#n.set(e,n),this.#e.current=this.#e.current.filter(t=>t!==e),this.#e.current.unshift(e)}unregister(e){this.#e.current=this.#e.current.filter(t=>t!==e);let t=this.getActive();t&&t.resume()}getActive(){return this.#e.current[0]}setFocusMemory(e,t){this.#t.set(e,t)}getFocusMemory(e){return this.#t.get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){this.#n.set(e,t)}getPreFocusMemory(e){return this.#n.get(e)}clearPreFocusMemory(e){this.#n.delete(e)}},zr=class e{#e=!1;#t=null;#n=Rr.getInstance();#r=[];#i;constructor(e){this.#i=e}get paused(){return this.#e}pause(){this.#e=!0}resume(){this.#e=!1}#a(){for(let e of this.#r)e();this.#r=[]}mount(e){this.#t&&this.unmount(),this.#t=e,this.#n.register(this),this.#c(),this.#o()}unmount(){this.#t&&=(this.#a(),this.#s(),this.#n.unregister(this),this.#n.clearPreFocusMemory(this),null)}#o(){if(!this.#t)return;let e=new CustomEvent(`focusScope.onOpenAutoFocus`,{bubbles:!1,cancelable:!0});this.#i.onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!this.#t)return;let e=this.#u();e?(e.focus(),this.#n.setFocusMemory(this,e)):this.#t.focus()})}#s(){let e=new CustomEvent(`focusScope.onCloseAutoFocus`,{bubbles:!1,cancelable:!0});if(this.#i.onCloseAutoFocus.current?.(e),!e.defaultPrevented){let e=this.#n.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#c(){if(!this.#t||!this.#i.trap.current)return;let e=this.#t,t=e.ownerDocument;this.#r.push(d(t,`focusin`,t=>{if(this.#e||!this.#n.isActiveScope(this))return;let n=t.target;if(n)if(e.contains(n))this.#n.setFocusMemory(this,n);else{let n=this.#n.getFocusMemory(this);if(n&&e.contains(n)&&Er(n))t.preventDefault(),n.focus();else{let t=this.#u(),n=this.#d()[0];(t||n||e).focus()}}},{capture:!0}),d(e,`keydown`,e=>{if(!this.#i.loop||this.#e||e.key!==`Tab`||!this.#n.isActiveScope(this))return;let n=this.#l();if(n.length===0)return;let r=n[0],i=n[n.length-1];!e.shiftKey&&t.activeElement===i?(e.preventDefault(),r.focus()):e.shiftKey&&t.activeElement===r&&(e.preventDefault(),i.focus())}));let n=new MutationObserver(()=>{let t=this.#n.getFocusMemory(this);if(t&&!e.contains(t)){let t=this.#u(),n=this.#d()[0],r=t||n;r?(r.focus(),this.#n.setFocusMemory(this,r)):e.focus()}});n.observe(e,{childList:!0,subtree:!0}),this.#r.push(()=>n.disconnect())}#l(){return this.#t?Cr(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}#u(){return this.#l()[0]||null}#d(){return this.#t?wr(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let n=null;return U([()=>t.ref.current,()=>t.enabled.current],([r,i])=>{r&&i?(n||=new e(t),n.mount(r)):n&&=(n.unmount(),null)}),Qt(()=>{n?.unmount()}),{get props(){return{tabindex:-1}}}}};function Br(e,t){g(t,!0);let i=j(t,`enabled`,3,!1),a=j(t,`trapFocus`,3,!1),o=j(t,`loop`,3,!1),s=j(t,`onCloseAutoFocus`,3,W),c=j(t,`onOpenAutoFocus`,3,W),l=zr.use({enabled:H(()=>i()),trap:H(()=>a()),loop:o(),onCloseAutoFocus:H(()=>s()),onOpenAutoFocus:H(()=>c()),ref:t.ref});var u=b();n(R(u),()=>t.focusScope??B,()=>({props:l.props})),f(e,u),r()}var Vr=()=>{};globalThis.bitsTextSelectionLayers??=new Map;var Hr=class e{static create(t){return new e(t)}opts;domContext;#e=W;#t=!1;#n=Vr;#r=Vr;constructor(e){this.opts=e,this.domContext=new hn(e.ref);let t=W;U(()=>[this.opts.enabled.current,this.opts.onPointerDown.current,this.opts.onPointerUp.current],([e,n,r])=>(this.#t=e,this.#n=n,this.#r=r,e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=this.#i()),()=>{this.#t=!1,t(),this.#s(),globalThis.bitsTextSelectionLayers.delete(this)}))}#i(){return St(d(this.domContext.getDocument(),`pointerdown`,this.#o),d(this.domContext.getDocument(),`pointerup`,Ye(this.#s,this.#a)))}#a=e=>{this.#r(e)};#o=e=>{let t=this.opts.ref.current,n=e.target;!On(t)||!On(n)||!this.#t||!Kr(this)||!dn(t,n)||(this.#n(e),!e.defaultPrevented&&(this.#e=Wr(t,this.domContext.getDocument().body)))};#s=()=>{this.#e(),this.#e=W}},Ur=e=>e.style.userSelect||e.style.webkitUserSelect;function Wr(e,t){let n=Ur(t),r=Ur(e);return Gr(t,`none`),Gr(e,`text`),()=>{Gr(t,n),Gr(e,r)}}function Gr(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function Kr(e){let t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;let n=t.at(-1);return n?n[0]===e:!1}function qr(e,t){g(t,!0);let i=j(t,`preventOverflowTextSelection`,3,!0),a=j(t,`onPointerDown`,3,W),o=j(t,`onPointerUp`,3,W);Hr.create({id:H(()=>t.id),onPointerDown:H(()=>a()),onPointerUp:H(()=>o()),enabled:H(()=>t.enabled&&i()),ref:t.ref});var s=b();n(R(s),()=>t.children??B),f(e,s),r()}globalThis.bitsIdCounter??={current:0};function Jr(e=`bits`){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}var Yr=class{#e;#t=0;#n=O();#r;constructor(e){this.#e=e}#i(){--this.#t,this.#r&&this.#t{F(this.#n,this.#e(...e),!0)})),k(()=>()=>{this.#i()}),E(this.#n)}},Xr=new Mt,Zr=O(null),Qr=null,$r=null,ei=!1,ti=H(()=>{for(let e of Xr.values())if(e)return!0;return!1}),ni=null,ri=new Yr(()=>{function e(){document.body.setAttribute(`style`,E(Zr)??``),document.body.style.removeProperty(`--scrollbar-width`),En&&Qr?.(),F(Zr,null)}function t(){$r!==null&&(window.clearTimeout($r),$r=null)}function n(e,n){t(),ei=!0,ni=Date.now();let r=ni,i=()=>{$r=null,ni===r&&(ai(Xr)?ei=!1:(ei=!1,n()))},a=e===null?24:e;$r=window.setTimeout(i,a)}function r(){E(Zr)===null&&Xr.size===0&&!ei&&F(Zr,document.body.getAttribute(`style`),!0)}return U(()=>ti.current,()=>{if(!ti.current)return;r(),ei=!1;let e=getComputedStyle(document.documentElement),t=getComputedStyle(document.body),n=e.scrollbarGutter?.includes(`stable`)||t.scrollbarGutter?.includes(`stable`),i=window.innerWidth-document.documentElement.clientWidth,a={padding:Number.parseInt(t.paddingRight??`0`,10)+i,margin:Number.parseInt(t.marginRight??`0`,10)};i>0&&!n&&(document.body.style.paddingRight=`${a.padding}px`,document.body.style.marginRight=`${a.margin}px`,document.body.style.setProperty(`--scrollbar-width`,`${i}px`)),document.body.style.overflow=`hidden`,En&&(Qr=d(document,`touchmove`,e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),tn(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})}),Qt(()=>()=>{Qr?.()}),{get lockMap(){return Xr},resetBodyStyle:e,scheduleCleanupIfNoNewLocks:n,cancelPendingCleanup:t,ensureInitialStyleCaptured:r}}),ii=class{#e=Jr();#t;#n=()=>null;#r;locked;constructor(e,t=()=>null){this.#t=e,this.#n=t,this.#r=ri.get(),this.#r&&(this.#r.cancelPendingCleanup(),this.#r.ensureInitialStyleCaptured(),this.#r.lockMap.set(this.#e,this.#t??!1),this.locked=H(()=>this.#r.lockMap.get(this.#e)??!1,e=>this.#r.lockMap.set(this.#e,e)),Qt(()=>{if(this.#r.lockMap.delete(this.#e),ai(this.#r.lockMap))return;let e=this.#n();this.#r.scheduleCleanupIfNoNewLocks(e,()=>{this.#r.resetBodyStyle()})}))}};function ai(e){for(let[t,n]of e)if(n)return!0;return!1}function oi(e,t){g(t,!0);let n=j(t,`preventScroll`,3,!0),i=j(t,`restoreScrollDelay`,3,null);n()&&new ii(n(),()=>i()),r()}var si=new Set([`$$slots`,`$$events`,`$$legacy`,`href`,`type`,`children`,`disabled`,`ref`]);function ci(e,t){g(t,!0);let i=j(t,`disabled`,3,!1),a=j(t,`ref`,15,null),o=I(t,si);var s=b();de(R(s),()=>t.href?`a`:`button`,!1,(e,r)=>{re(e,e=>a(e),()=>a()),N(e,()=>({"data-button-root":!0,type:t.href?void 0:t.type,href:t.href&&!i()?t.href:void 0,disabled:t.href?void 0:i(),"aria-disabled":t.href?i():void 0,role:t.href&&i()?`link`:void 0,tabindex:t.href&&i()?-1:0,...o}));var s=b();n(R(s),()=>t.children??B),f(r,s)}),f(e,s),r()}h();var li=[`top`,`right`,`bottom`,`left`],ui=Math.min,di=Math.max,fi=Math.round,pi=Math.floor,mi=e=>({x:e,y:e}),hi={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function gi(e,t,n){return di(e,ui(t,n))}function _i(e,t){return typeof e==`function`?e(t):e}function vi(e){return e.split(`-`)[0]}function yi(e){return e.split(`-`)[1]}function bi(e){return e===`x`?`y`:`x`}function xi(e){return e===`y`?`height`:`width`}function Si(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Ci(e){return bi(Si(e))}function wi(e,t,n){n===void 0&&(n=!1);let r=yi(e),i=Ci(e),a=xi(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Ni(o)),[o,Ni(o)]}function Ti(e){let t=Ni(e);return[Ei(e),t,Ei(t)]}function Ei(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Di=[`left`,`right`],Oi=[`right`,`left`],ki=[`top`,`bottom`],Ai=[`bottom`,`top`];function ji(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Oi:Di:t?Di:Oi;case`left`:case`right`:return t?ki:Ai;default:return[]}}function Mi(e,t,n,r){let i=yi(e),a=ji(vi(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Ei)))),a}function Ni(e){let t=vi(e);return hi[t]+e.slice(t.length)}function Pi(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fi(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Pi(e)}function Ii(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Li(e,t,n){let{reference:r,floating:i}=e,a=Si(t),o=Ci(t),s=xi(o),c=vi(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(yi(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Ri(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=_i(t,e),p=Fi(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ii(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Ii(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var zi=50,Bi=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ri},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Li(l,r,c),f=r,p=0,m={};for(let n=0;n({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=_i(e,t)||{};if(l==null)return{};let d=Fi(u),f={x:n,y:r},p=Ci(i),m=xi(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=ui(d[_],T),ee=ui(d[v],T),D=E,O=C-h[m]-ee,te=C/2-h[m]/2+w,k=gi(D,te,O),A=!c.arrow&&yi(i)!=null&&te!==k&&a.reference[m]/2-(teeSi(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Si(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function Ui(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Wi(e){return li.some(t=>e[t]>=0)}var Gi=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=_i(e,t);switch(i){case`referenceHidden`:{let e=Ui(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Wi(e)}}}case`escaped`:{let e=Ui(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Wi(e)}}}default:return{}}}}},Ki=new Set([`left`,`top`]);async function qi(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=vi(n),s=yi(n),c=Si(n)===`y`,l=Ki.has(o)?-1:1,u=a&&c?-1:1,d=_i(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Ji=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await qi(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Yi=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=_i(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Si(vi(i)),p=bi(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=gi(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=gi(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Xi=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=_i(e,t),u={x:n,y:r},d=Si(i),f=bi(d),p=u[f],m=u[d],h=_i(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;pn&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Ki.has(vi(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);mr&&(m=r)}return{[f]:p,[d]:m}}}},Zi=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=_i(e,t),u=await o.detectOverflow(t,l),d=vi(i),f=yi(i),p=Si(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ui(h-u[g],v),x=ui(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=di(u.left,0),t=di(u.right,0),n=di(u.top,0),r=di(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:di(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:di(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function Qi(){return typeof window`u`?!1:e instanceof ShadowRoot||e instanceof ea(e).ShadowRoot}function oa(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=_a(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function sa(e){return/^(table|td|th)$/.test($i(e))}function ca(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var la=/transform|translate|scale|rotate|perspective|filter/,ua=/paint|layout|strict|content/,da=e=>!!e&&e!==`none`,fa;function pa(e){let t=ra(e)?_a(e):e;return da(t.transform)||da(t.translate)||da(t.scale)||da(t.rotate)||da(t.perspective)||!ha()&&(da(t.backdropFilter)||da(t.filter))||la.test(t.willChange||``)||ua.test(t.contain||``)}function ma(e){let t=ya(e);for(;ia(t)&&!ga(t);){if(pa(t))return t;if(ca(t))return null;t=ya(t)}return null}function ha(){return fa??=typeof CSSra(e)&&$i(e)!==`body`),i=null,a=_a(e).position===`fixed`,o=a?ya(e):e;for(;ra(o)&&!ga(o);){let t=_a(o),n=pa(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||oa(o)&&!n&&za(e,o))?r=r.filter(e=>e!==o):i=t,o=ya(o)}return t.set(e,r),r}function Va(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?ca(t)?[]:Ba(t,this._c):[].concat(n),r],o=Ra(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e{o(!1,1e-7)},1e3)}n===1&&!Xa(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Qa(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=wa(e),u=i||a?[...l?xa(l):[],...t?xa(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Za(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?ka(e):null;c&&g();function g(){let t=ka(e);h&&!Xa(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var $a=Ji,eo=Yi,to=Hi,no=Zi,ro=Gi,io=Vi,ao=Xi,oo=(e,t,n)=>{let r=new Map,i={platform:Ya,...n},a={...i.platform,_c:r};return Bi(e,t,{...i,platform:a})};function so(e){return typeof e==`function`?e():e}function co(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function lo(e,t){let n=co(e);return Math.round(t*n)/n}function uo(e){return{[`--bits-${e}-content-transform-origin`]:`var(--bits-floating-transform-origin)`,[`--bits-${e}-content-available-width`]:`var(--bits-floating-available-width)`,[`--bits-${e}-content-available-height`]:`var(--bits-floating-available-height)`,[`--bits-${e}-anchor-width`]:`var(--bits-floating-anchor-width)`,[`--bits-${e}-anchor-height`]:`var(--bits-floating-anchor-height)`}}function fo(e){let t=e.whileElementsMounted,n=z(()=>so(e.open)??!0),r=z(()=>so(e.middleware)),i=z(()=>so(e.transform)??!0),a=z(()=>so(e.placement)??`bottom`),o=z(()=>so(e.strategy)??`absolute`),s=z(()=>so(e.sideOffset)??0),c=z(()=>so(e.alignOffset)??0),l=e.reference,u=O(0),d=O(0),f=Je(null),p=O(M(E(o))),m=O(M(E(a))),h=O(M({})),g=O(!1),_=!1,v=0,y=z(()=>{let e=f.current?lo(f.current,E(u)):E(u),t=f.current?lo(f.current,E(d)):E(d);return E(i)?{position:E(p),left:`0`,top:`0`,transform:`translate(${e}px, ${t}px)`,...f.current&&co(f.current)>=1.5&&{willChange:`transform`}}:{position:E(p),left:`${e}px`,top:`${t}px`}}),b;function x(){if(l.current===null||f.current===null)return;let e=l.current,t=f.current,i=++v;oo(e,t,{middleware:E(r),placement:E(a),strategy:E(o)}).then(r=>{if(i===v&&!(l.current!==e||f.current!==t)){if(po(e)){F(h,{...E(h),hide:{...E(h).hide,referenceHidden:!0}},!0);return}if(!E(n)&&E(u)!==0&&E(d)!==0){let e=Math.max(Math.abs(E(s)),Math.abs(E(c)),15);if(r.x{t===void 0&&E(n)&&x()}),k(C),k(()=>{if(t!==void 0){if(T(),!E(n)){_=!1;return}if(!E(g)){_=!1;return}if(!_){_=!0;return}x()}}),k(w),k(()=>S),{floating:f,reference:l,get strategy(){return E(p)},get placement(){return E(m)},get middlewareData(){return E(h)},get isPositioned(){return E(g)},get floatingStyles(){return E(y)},get update(){return x}}}function po(e){return e instanceof Element?!e.isConnected||e instanceof HTMLElement&&e.hidden?!0:e.getClientRects().length===0:!1}var mo={top:`bottom`,right:`left`,bottom:`top`,left:`right`},ho=new Rt(`Floating.Root`),go=new Rt(`Floating.Content`),_o=new Rt(`Floating.Root`),vo=class e{static create(t=!1){return t?_o.set(new e):ho.set(new e)}anchorNode=Je(null);customAnchorNode=Je(null);triggerNode=Je(null);constructor(){k(()=>{this.customAnchorNode.current?typeof this.customAnchorNode.current==`string`?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}},yo=class e{static create(t,n=!1){return n?go.set(new e(t,_o.get())):go.set(new e(t,ho.get()))}opts;root;contentRef=Je(null);wrapperRef=Je(null);arrowRef=Je(null);contentAttachment=gn(this.contentRef);wrapperAttachment=gn(this.wrapperRef);arrowAttachment=gn(this.arrowRef);arrowId=Je(Jr());#e=z(()=>{if(typeof this.opts.style==`string`)return xt(this.opts.style);if(!this.opts.style)return{}});#t=void 0;#n=new Kt(()=>this.arrowRef.current??void 0);#r=z(()=>this.#n?.width??0);#i=z(()=>this.#n?.height??0);#a=z(()=>this.opts.side?.current+(this.opts.align.current===`center`?``:`-${this.opts.align.current}`));#o=z(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#s=z(()=>E(this.#o).length>0);get hasExplicitBoundaries(){return E(this.#s)}set hasExplicitBoundaries(e){F(this.#s,e)}#c=z(()=>({padding:this.opts.collisionPadding.current,boundary:E(this.#o).filter(Mn),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return E(this.#c)}set detectOverflowOptions(e){F(this.#c,e)}#l=O(void 0);#u=O(void 0);#d=O(void 0);#f=O(void 0);#p=z(()=>[$a({mainAxis:this.opts.sideOffset.current+E(this.#i),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&eo({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current===`partial`?ao():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&to({...this.detectOverflowOptions}),no({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:n})=>{let{width:r,height:i}=e.reference;F(this.#l,t,!0),F(this.#u,n,!0),F(this.#d,r,!0),F(this.#f,i,!0)}}),this.arrowRef.current&&io({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),bo({arrowWidth:E(this.#r),arrowHeight:E(this.#i)}),this.opts.hideWhenDetached.current&&ro({strategy:`referenceHidden`,...this.detectOverflowOptions})].filter(Boolean));get middleware(){return E(this.#p)}set middleware(e){F(this.#p,e)}floating;#m=z(()=>So(this.floating.placement));get placedSide(){return E(this.#m)}set placedSide(e){F(this.#m,e)}#h=z(()=>Co(this.floating.placement));get placedAlign(){return E(this.#h)}set placedAlign(e){F(this.#h,e)}#g=z(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return E(this.#g)}set arrowX(e){F(this.#g,e)}#_=z(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return E(this.#_)}set arrowY(e){F(this.#_,e)}#v=z(()=>this.floating.middlewareData.arrow?.centerOffset!==0);get cannotCenterArrow(){return E(this.#v)}set cannotCenterArrow(e){F(this.#v,e)}#y=O();get contentZIndex(){return E(this.#y)}set contentZIndex(e){F(this.#y,e,!0)}#b=z(()=>mo[this.placedSide]);get arrowBaseSide(){return E(this.#b)}set arrowBaseSide(e){F(this.#b,e)}#x=z(()=>({id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":``,style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,"--bits-floating-available-width":`${E(this.#l)}px`,"--bits-floating-available-height":`${E(this.#u)}px`,"--bits-floating-anchor-width":`${E(this.#d)}px`,"--bits-floating-anchor-height":`${E(this.#f)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:`hidden`,"pointer-events":`none`},...E(this.#e)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return E(this.#x)}set wrapperProps(e){F(this.#x,e)}#S=z(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:Et({...E(this.#e)}),...this.contentAttachment}));get props(){return E(this.#S)}set props(e){F(this.#S,e)}#C=z(()=>({position:`absolute`,left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[this.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[this.placedSide],visibility:this.cannotCenterArrow?`hidden`:void 0}));get arrowStyle(){return E(this.#C)}set arrowStyle(e){F(this.#C,e)}constructor(e,t){this.opts=e,this.root=t,this.#t=e.updatePositionStrategy,e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),U(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=fo({strategy:()=>this.opts.strategy.current,placement:()=>E(this.#a),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...e)=>Qa(...e,{animationFrame:this.#t?.current===`always`}),open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),k(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),U(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;let t=pn(e),n=t.requestAnimationFrame(()=>{if(this.contentRef.current!==e||!this.opts.enabled.current)return;let n=t.getComputedStyle(e).zIndex;n!==this.contentZIndex&&(this.contentZIndex=n)});return()=>{t.cancelAnimationFrame(n)}}),k(()=>{this.floating.floating.current=this.wrapperRef.current})}};function bo(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=xo(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function xo(e){let[t,n=`center`]=e.split(`-`);return[t,n]}function So(e){return xo(e)[0]}function Co(e){return xo(e)[1]}function wo(e,t){g(t,!0);let i=j(t,`tooltip`,3,!1);vo.create(i());var a=b();n(R(a),()=>t.children??B),f(e,a),r()}function To(e,t){g(t,!0);let i=j(t,`side`,3,`bottom`),a=j(t,`sideOffset`,3,0),o=j(t,`align`,3,`center`),s=j(t,`alignOffset`,3,0),c=j(t,`arrowPadding`,3,0),l=j(t,`avoidCollisions`,3,!0),u=j(t,`collisionBoundary`,19,()=>[]),d=j(t,`collisionPadding`,3,0),p=j(t,`hideWhenDetached`,3,!1),m=j(t,`onPlaced`,3,()=>{}),h=j(t,`sticky`,3,`partial`),_=j(t,`updatePositionStrategy`,3,`optimized`),v=j(t,`strategy`,3,`fixed`),y=j(t,`dir`,3,`ltr`),x=j(t,`style`,19,()=>({})),S=j(t,`wrapperId`,19,Jr),C=j(t,`customAnchor`,3,null),w=j(t,`tooltip`,3,!1),T=yo.create({side:H(()=>i()),sideOffset:H(()=>a()),align:H(()=>o()),alignOffset:H(()=>s()),id:H(()=>t.id),arrowPadding:H(()=>c()),avoidCollisions:H(()=>l()),collisionBoundary:H(()=>u()),collisionPadding:H(()=>d()),hideWhenDetached:H(()=>p()),onPlaced:H(()=>m()),sticky:H(()=>h()),updatePositionStrategy:H(()=>_()),strategy:H(()=>v()),dir:H(()=>y()),style:H(()=>x()),enabled:H(()=>t.enabled),wrapperId:H(()=>S()),customAnchor:H(()=>C())},w()),ee=z(()=>kt(T.wrapperProps,{style:{pointerEvents:`auto`}}));var D=b();n(R(D),()=>t.content??B,()=>({props:T.props,wrapperProps:E(ee)})),f(e,D),r()}function Eo(e,t){g(t,!0),te(()=>{t.onPlaced?.()});var i=b();n(R(i),()=>t.content??B,()=>({props:{},wrapperProps:{}})),f(e,i),r()}var Do=new Set([`$$slots`,`$$events`,`$$legacy`,`content`,`isStatic`,`onPlaced`]);function Oo(e,t){let n=j(t,`isStatic`,3,!1),r=I(t,Do);var i=b(),a=R(i),o=e=>{Eo(e,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},s=e=>{To(e,ue({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>r))};m(a,e=>{n()?e(o):e(s,-1)}),f(e,i)}var ko=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled.ref.tooltip.contentPointerEvents`.split(`.`)),Ao=he(` `,1);function jo(e,t){g(t,!0);let i=j(t,`interactOutsideBehavior`,3,`close`),a=j(t,`trapFocus`,3,!0),o=j(t,`isValidEvent`,3,()=>!1),s=j(t,`customAnchor`,3,null),c=j(t,`isStatic`,3,!1),l=j(t,`tooltip`,3,!1),u=j(t,`contentPointerEvents`,3,`auto`),d=I(t,ko),p=z(()=>t.preventScroll??!0),h=z(()=>t.strategy??(E(p)?`fixed`:`absolute`));Oo(e,{get isStatic(){return c()},get id(){return t.id},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return E(h)},get dir(){return t.dir},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return s()},get enabled(){return t.enabled},get tooltip(){return l()},content:(e,r)=>{let s=()=>(r?.()).props,c=()=>(r?.()).wrapperProps;var l=Ao(),h=R(l),g=e=>{oi(e,{get preventScroll(){return E(p)}})},_=e=>{oi(e,{get preventScroll(){return E(p)}})};m(h,e=>{t.forceMount&&t.enabled?e(g):t.forceMount||e(_,1)}),Br(ne(h,2),{get onOpenAutoFocus(){return t.onOpenAutoFocus},get onCloseAutoFocus(){return t.onCloseAutoFocus},get loop(){return t.loop},get enabled(){return t.enabled},get trapFocus(){return a()},get forceMount(){return t.forceMount},get ref(){return t.ref},focusScope:(e,r)=>{let a=()=>(r?.()).props;Lr(e,{get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,r)=>{Pr(e,{get id(){return t.id},get onInteractOutside(){return t.onInteractOutside},get onFocusOutside(){return t.onFocusOutside},get interactOutsideBehavior(){return i()},get isValidEvent(){return o()},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,r)=>{let i=()=>(r?.()).props;qr(e,{get id(){return t.id},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,r)=>{var o=b(),l=R(o);{let e=z(()=>({props:kt(d,s(),i(),a(),{style:{pointerEvents:u()}}),wrapperProps:c()}));n(l,()=>t.popper??B,()=>E(e))}f(e,o)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),f(e,l)},$$slots:{content:!0}}),r()}var Mo=new Set(`$$slots.$$events.$$legacy.popper.open.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.ref.shouldRender`.split(`.`));function No(e,t){let n=j(t,`interactOutsideBehavior`,3,`close`),r=j(t,`trapFocus`,3,!0),i=j(t,`isValidEvent`,3,()=>!1),a=j(t,`customAnchor`,3,null),o=j(t,`isStatic`,3,!1),s=I(t,Mo);var c=b(),l=R(c),u=e=>{jo(e,ue({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>s))};m(l,e=>{t.shouldRender&&e(u)}),f(e,c)}var Po=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled`.split(`.`));function Fo(e,t){let n=j(t,`interactOutsideBehavior`,3,`close`),r=j(t,`trapFocus`,3,!0),i=j(t,`isValidEvent`,3,()=>!1),a=j(t,`customAnchor`,3,null),o=j(t,`isStatic`,3,!1),s=I(t,Po);jo(e,ue({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.enabled},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside}},()=>s,{forceMount:!0}))}function Io(e,t){let[n,r]=e,i=!1,a=t.length;for(let e=0,o=a-1;e=r!=l>=r&&n=t.left&&e[0]=t.top&&e[1]Math.abs(s)?o>0?`right`:`left`:s>0?`bottom`:`top`}var zo=class{#e;#t;#n;#r=null;#i=null;#a=[];#o=null;#s=null;#c=null;#l(){this.#s!==null&&(cancelAnimationFrame(this.#s),this.#s=null)}#u(){this.#l(),this.#s=requestAnimationFrame(()=>{this.#s=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())})}#d(){this.#c!==null&&(clearTimeout(this.#c),this.#c=null)}#f(){this.#n!==null&&(this.#d(),this.#c=window.setTimeout(()=>{this.#c=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())},this.#n))}constructor(e){this.#e=e,this.#t=e.buffer??1;let t=e.transitIntentTimeout;this.#n=typeof t==`number`&&t>0?t:null,U([e.triggerNode,e.contentNode,e.enabled],([e,t,n])=>{if(!e||!t||!n){this.#o=null,this.#m();return}return this.#o&&this.#o!==e&&this.#m(),this.#o=e,[d(fn(e),`pointermove`,n=>{this.#p([n.clientX,n.clientY],e,t)}),d(e,`pointerleave`,e=>{let n=e.relatedTarget;if(kn(n)&&t.contains(n))return;let r=this.#e.ignoredTargets?.()??[];kn(n)&&r.some(e=>e===n||e.contains(n))||(this.#a=kn(n)&&r.length>0?r.filter(e=>n.contains(e)):[],this.#r=[e.clientX,e.clientY],this.#i=`content`,this.#u())}),d(e,`pointerenter`,()=>{this.#m()}),d(t,`pointerenter`,()=>{this.#m()}),d(t,`pointerleave`,t=>{let n=t.relatedTarget;kn(n)&&e.contains(n)||(this.#r=[t.clientX,t.clientY],this.#i=`trigger`,this.#u())})].reduce((e,t)=>()=>{e(),t()},()=>{})})}#p(e,t,n){if(!this.#r||!this.#i)return;this.#l(),this.#f();let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.#i===`content`&&Lo(e,i)){this.#m();return}if(this.#i===`trigger`&&Lo(e,r)){this.#m();return}if(this.#i===`content`&&this.#a.length>0)for(let t of this.#a){let n=t.getBoundingClientRect();if(Lo(e,n))return;let i=Ro(r,n),a=this.#h(r,n,i);if(a&&Io(e,a))return}let a=Ro(r,i),o=this.#h(r,i,a);if(o&&Io(e,o))return;let s=this.#i===`content`?i:r;Io(e,this.#g(this.#r,s,a,this.#i))||(this.#m(),this.#e.onPointerExit())}#m(){this.#r=null,this.#i=null,this.#a=[],this.#l(),this.#d()}#h(e,t,n){let r=this.#t;switch(n){case`top`:return[[Math.min(e.left,t.left)-r,e.top],[Math.min(e.left,t.left)-r,t.bottom],[Math.max(e.right,t.right)+r,t.bottom],[Math.max(e.right,t.right)+r,e.top]];case`bottom`:return[[Math.min(e.left,t.left)-r,e.bottom],[Math.min(e.left,t.left)-r,t.top],[Math.max(e.right,t.right)+r,t.top],[Math.max(e.right,t.right)+r,e.bottom]];case`left`:return[[e.left,Math.min(e.top,t.top)-r],[t.right,Math.min(e.top,t.top)-r],[t.right,Math.max(e.bottom,t.bottom)+r],[e.left,Math.max(e.bottom,t.bottom)+r]];case`right`:return[[e.right,Math.min(e.top,t.top)-r],[t.left,Math.min(e.top,t.top)-r],[t.left,Math.max(e.bottom,t.bottom)+r],[e.right,Math.max(e.bottom,t.bottom)+r]]}}#g(e,t,n,r){let i=this.#t*4,[a,o]=e;switch(r===`trigger`?this.#_(n):n){case`top`:return[[a-i,o+i],[a+i,o+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case`bottom`:return[[a-i,o-i],[a+i,o-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case`left`:return[[a+i,o-i],[a+i,o+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case`right`:return[[a-i,o-i],[a-i,o+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}#_(e){switch(e){case`top`:return`bottom`;case`bottom`:return`top`;case`left`:return`right`;case`right`:return`left`}}},Bo=class{#e;#t;#n=null;constructor(e,t){this.#t=e,this.#e=t,this.stop=this.stop.bind(this),this.start=this.start.bind(this),Qt(this.stop)}#r(){this.#n!==null&&(window.clearTimeout(this.#n),this.#n=null)}stop(){this.#r()}start(...e){this.#r(),this.#n=window.setTimeout(()=>{this.#n=null,this.#t(...e)},this.#e)}},Vo=Cn({component:`tooltip`,parts:[`content`,`trigger`]}),Ho=new Rt(`Tooltip.Provider`),Uo=new Rt(`Tooltip.Root`),Wo=class{#e=O(M(new Map));get triggers(){return E(this.#e)}set triggers(e){F(this.#e,e,!0)}#t=O(null);get activeTriggerId(){return E(this.#t)}set activeTriggerId(e){F(this.#t,e,!0)}#n=z(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return E(this.#n)}set activeTriggerNode(e){F(this.#n,e)}#r=z(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return E(this.#r)}set activePayload(e){F(this.#r,e)}register=e=>{let t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#i()};update=e=>{let t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#i()};unregister=e=>{if(!this.triggers.has(e))return;let t=new Map(this.triggers);t.delete(e),this.triggers=t,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{if(e===null){this.activeTriggerId=null;return}if(!this.triggers.has(e)){this.activeTriggerId=null;return}this.activeTriggerId=e};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>{let e=this.triggers.entries().next();return e.done?null:e.value[0]};#i=()=>{let e=this.activeTriggerId;e!==null&&(this.triggers.has(e)||(this.activeTriggerId=null))}},Go=class e{static create(t){return Ho.set(new e(t))}opts;#e=O(!0);get isOpenDelayed(){return E(this.#e)}set isOpenDelayed(e){F(this.#e,e,!0)}isPointerInTransit=Je(!1);#t;#n=O(null);constructor(e){this.opts=e,this.#t=new Bo(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),$t(()=>d(window,`scroll`,e=>{let t=E(this.#n);if(!t)return;let n=t.triggerNode;if(!n)return;let r=e.target;(r instanceof Element||r instanceof Document)&&r.contains(n)&&t.handleClose()}))}#r=()=>{if(this.opts.skipDelayDuration.current===0){this.isOpenDelayed=!0;return}else this.#t.start()};#i=()=>{this.#t.stop()};onOpen=e=>{E(this.#n)&&E(this.#n)!==e&&E(this.#n).handleClose(),this.#i(),this.isOpenDelayed=!1,F(this.#n,e,!0)};onClose=e=>{E(this.#n)===e&&(F(this.#n,null),this.#r())};isTooltipOpen=e=>E(this.#n)===e},Ko=class e{static create(t){return Uo.set(new e(t,Ho.get()))}opts;provider;#e=z(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return E(this.#e)}set delayDuration(e){F(this.#e,e)}#t=z(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return E(this.#t)}set disableHoverableContent(e){F(this.#t,e)}#n=z(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return E(this.#n)}set disableCloseOnTriggerClick(e){F(this.#n,e)}#r=z(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return E(this.#r)}set disabled(e){F(this.#r,e)}#i=z(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return E(this.#i)}set ignoreNonKeyboardFocus(e){F(this.#i,e)}registry;tether;#a=O(null);get contentNode(){return E(this.#a)}set contentNode(e){F(this.#a,e,!0)}contentPresence;#o=O(!1);#s;#c=z(()=>this.opts.open.current?E(this.#o)?`delayed-open`:`instant-open`:`closed`);get stateAttr(){return E(this.#c)}set stateAttr(e){F(this.#c,e)}constructor(e,t){this.opts=e,this.provider=t,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new Wo,this.#s=new Bo(()=>{F(this.#o,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,$t(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new Pn({open:this.opts.open,ref:H(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),U(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#s=new Bo(()=>{F(this.#o,!0),this.opts.open.current=!0},this.delayDuration))}),U(()=>this.opts.open.current,e=>{e?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),U(()=>this.opts.triggerId.current,e=>{e!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(e)}),U(()=>this.registry.activeTriggerId,e=>{this.opts.triggerId.current!==e&&(this.opts.triggerId.current=e)})}handleOpen=()=>{this.#s.stop(),F(this.#o,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#s.stop(),this.opts.open.current=!1};#l=()=>{this.#s.stop();let e=!this.provider.isOpenDelayed,t=this.delayDuration??0;e||t===0?(F(this.#o,!1),this.opts.open.current=!0):this.#s.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#l()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#s.stop()};ensureActiveTrigger=()=>{if(this.registry.activeTriggerId!==null&&this.registry.has(this.registry.activeTriggerId))return;if(this.opts.triggerId.current!==null&&this.registry.has(this.opts.triggerId.current)){this.registry.setActiveTrigger(this.opts.triggerId.current);return}let e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{let t=this.registry.activeTriggerId===e;this.registry.unregister(e),t&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}},qo=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,Uo.get(),null)}opts;root;tether;attachment;#e=Je(!1);#t=O(!1);domContext;#n=null;#r=!1;#i=null;constructor(e,t,n){this.opts=e,this.root=t,this.tether=n,this.domContext=new hn(e.ref),this.attachment=gn(this.opts.ref,e=>this.#s(e)),U(()=>this.opts.id.current,()=>{this.#s(this.opts.ref.current)}),U(()=>this.opts.payload.current,()=>{this.#s(this.opts.ref.current)}),U(()=>this.opts.disabled.current,()=>{this.#s(this.opts.ref.current)}),$t(()=>(this.#r=!0,this.#s(this.opts.ref.current),()=>{let e=this.#a(),t=this.#i;t&&(this.tether?this.tether.registry.unregister(t):e?.unregisterTrigger(t)),this.#i=null,this.#r=!1}))}#a=()=>this.tether?.root??this.root;#o=()=>{let e=this.#a();return this.opts.disabled.current||!!e?.disabled};#s=e=>{if(!this.#r)return;let t=this.opts.id.current,n=this.opts.payload.current,r=this.opts.disabled.current;if(this.#i&&this.#i!==t){let e=this.#a();this.tether?this.tether.registry.unregister(this.#i):e?.unregisterTrigger(this.#i)}let i={id:t,node:e,payload:n,disabled:r},a=this.#a();this.tether?(this.tether.registry.has(t)?this.tether.registry.update(i):this.tether.registry.register(i),r&&this.tether.registry.activeTriggerId===t&&a?.opts.open.current&&a.handleClose()):a?.registry.has(t)?a.updateTrigger(i):a?.registerTrigger(i),this.#i=t};#c=()=>{this.#n!==null&&(clearTimeout(this.#n),this.#n=null)};handlePointerUp=()=>{this.#e.current=!1};#l=()=>{this.#o()||(this.#e.current=!1)};#u=()=>{this.#o()||(this.#e.current=!0,this.domContext.getDocument().addEventListener(`pointerup`,()=>{this.handlePointerUp()},{once:!0}))};#d=e=>{let t=this.#a();if(t){if(this.#o()){t.opts.open.current&&t.handleClose();return}if(e.pointerType!==`touch`){if(t.provider.isPointerInTransit.current){this.#c(),this.#n=window.setTimeout(()=>{t.provider.isPointerInTransit.current&&(t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),F(this.#t,!0))},250);return}t.onTriggerEnter(this.opts.id.current),F(this.#t,!0)}}};#f=e=>{let t=this.#a();if(t){if(this.#o()){t.opts.open.current&&t.handleClose();return}e.pointerType!==`touch`&&(E(this.#t)||(this.#c(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),F(this.#t,!0)))}};#p=e=>{let t=this.#a();if(!t||this.#o())return;if(this.#c(),!t.isActiveTrigger(this.opts.id.current)){F(this.#t,!1);return}let n=e.relatedTarget;if(kn(n)){for(let e of t.registry.triggers.values())if(e.node===n){if(t.provider.opts.skipDelayDuration.current>0){F(this.#t,!1);return}t.handleClose(),F(this.#t,!1);return}}t.onTriggerLeave(),F(this.#t,!1)};#m=e=>{let t=this.#a();if(t&&!this.#e.current){if(this.#o()){t.opts.open.current&&t.handleClose();return}t.ignoreNonKeyboardFocus&&!jn(e.currentTarget)||(t.setActiveTrigger(this.opts.id.current),t.handleOpen())}};#h=()=>{let e=this.#a();!e||this.#o()||e.handleClose()};#g=()=>{let e=this.#a();!e||e.disableCloseOnTriggerClick||this.#o()||e.handleClose()};#_=z(()=>{let e=this.#a(),t=!!(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),n=this.#o();return{id:this.opts.id.current,"aria-describedby":t?e?.contentNode?.id:void 0,"data-state":t?e?.stateAttr:`closed`,"data-disabled":vn(n),"data-delay-duration":`${e?.delayDuration??0}`,[Vo.trigger]:``,tabindex:n?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#l,onpointerdown:this.#u,onpointerenter:this.#d,onpointermove:this.#f,onpointerleave:this.#p,onfocus:this.#m,onblur:this.#h,onclick:this.#g,...this.attachment}});get props(){return E(this.#_)}set props(e){F(this.#_,e)}},Jo=class e{static create(t){return new e(t,Uo.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=gn(this.opts.ref,e=>this.root.contentNode=e),new zo({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,transitIntentTimeout:180,ignoredTargets:()=>{if(this.root.provider.opts.skipDelayDuration.current===0)return[];let e=[],t=this.root.triggerNode;for(let n of this.root.registry.triggers.values())n.node&&n.node!==t&&e.push(n.node);return e},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{if(kn(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),!e.defaultPrevented&&this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#e=z(()=>({open:this.root.opts.open.current}));get snippetProps(){return E(this.#e)}set snippetProps(e){F(this.#e,e)}#t=z(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":vn(this.root.disabled),...bn(this.root.contentPresence.transitionStatus),style:{outline:`none`},[Vo.content]:``,...this.attachment}));get props(){return E(this.#t)}set props(e){F(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function Yo(e,t){g(t,!0);let i=j(t,`open`,15,!1),a=j(t,`triggerId`,15,null),o=j(t,`onOpenChange`,3,W),s=j(t,`onOpenChangeComplete`,3,W),c=Ko.create({open:H(()=>i(),e=>{i(e),o()(e)}),triggerId:H(()=>a(),e=>{a(e)}),delayDuration:H(()=>t.delayDuration),disableCloseOnTriggerClick:H(()=>t.disableCloseOnTriggerClick),disableHoverableContent:H(()=>t.disableHoverableContent),ignoreNonKeyboardFocus:H(()=>t.ignoreNonKeyboardFocus),disabled:H(()=>t.disabled),onOpenChangeComplete:H(()=>s()),tether:H(()=>t.tether)});wo(e,{tooltip:!0,children:(e,r)=>{var i=b();n(R(i),()=>t.children??B,()=>({open:c.opts.open.current,triggerId:c.activeTriggerId,payload:c.activePayload})),f(e,i)},$$slots:{default:!0}}),r()}var Xo=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`side`,`sideOffset`,`align`,`avoidCollisions`,`arrowPadding`,`sticky`,`strategy`,`hideWhenDetached`,`customAnchor`,`collisionPadding`,`onInteractOutside`,`onEscapeKeydown`,`forceMount`,`style`]),Zo=he(``);function Qo(e,t){let i=w();g(t,!0);let a=j(t,`id`,19,()=>Fn(i)),o=j(t,`ref`,15,null),c=j(t,`side`,3,`top`),l=j(t,`sideOffset`,3,0),u=j(t,`align`,3,`center`),d=j(t,`avoidCollisions`,3,!0),p=j(t,`arrowPadding`,3,0),h=j(t,`sticky`,3,`partial`),_=j(t,`hideWhenDetached`,3,!1),v=j(t,`collisionPadding`,3,0),y=j(t,`onInteractOutside`,3,W),x=j(t,`onEscapeKeydown`,3,W),S=j(t,`forceMount`,3,!1),C=I(t,Xo),T=Jo.create({id:H(()=>a()),ref:H(()=>o(),e=>o(e)),onInteractOutside:H(()=>y()),onEscapeKeydown:H(()=>x())}),ee=z(()=>({side:c(),sideOffset:l(),align:u(),avoidCollisions:d(),arrowPadding:p(),sticky:h(),hideWhenDetached:_(),collisionPadding:v(),strategy:t.strategy,customAnchor:t.customAnchor??T.root.triggerNode})),D=z(()=>kt(C,E(ee),T.props));var O=b(),te=R(O),k=e=>{{let r=(e,r)=>{let i=()=>(r?.()).props,a=()=>(r?.()).wrapperProps,o=z(()=>kt(a(),{style:{pointerEvents:T.root.disableHoverableContent?`none`:void 0}})),c=z(()=>kt(i(),{style:uo(`tooltip`)},{style:t.style}));var l=b(),u=R(l),d=e=>{var r=b(),i=R(r);{let e=z(()=>({props:E(c),wrapperProps:E(o),...T.snippetProps}));n(i,()=>t.child,()=>E(e))}f(e,r)},p=e=>{var r=Zo();N(r,()=>({...E(o)}));var i=L(r);N(i,()=>({...E(c)})),n(L(i),()=>t.children??B),s(i),s(r),f(e,r)};m(u,e=>{t.child?e(d):e(p,-1)}),f(e,l)},i=z(()=>T.root.disableHoverableContent?`none`:`auto`);Fo(e,ue(()=>E(D),()=>T.popperProps,{get enabled(){return T.root.opts.open.current},get id(){return a()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return T.opts.ref},tooltip:!0,get shouldRender(){return T.shouldRender},get contentPointerEvents(){return E(i)},popper:r,$$slots:{popper:!0}}))}},A=e=>{{let r=(e,r)=>{let i=()=>(r?.()).props,a=()=>(r?.()).wrapperProps,o=z(()=>kt(a(),{style:{pointerEvents:T.root.disableHoverableContent?`none`:void 0}})),c=z(()=>kt(i(),{style:uo(`tooltip`)},{style:t.style}));var l=b(),u=R(l),d=e=>{var r=b(),i=R(r);{let e=z(()=>({props:E(c),wrapperProps:E(o),...T.snippetProps}));n(i,()=>t.child,()=>E(e))}f(e,r)},p=e=>{var r=Zo();N(r,()=>({...E(o)}));var i=L(r);N(i,()=>({...E(c)})),n(L(i),()=>t.children??B),s(i),s(r),f(e,r)};m(u,e=>{t.child?e(d):e(p,-1)}),f(e,l)},i=z(()=>T.root.disableHoverableContent?`none`:`auto`);No(e,ue(()=>E(D),()=>T.popperProps,{get open(){return T.root.opts.open.current},get id(){return a()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return T.opts.ref},tooltip:!0,get shouldRender(){return T.shouldRender},get contentPointerEvents(){return E(i)},popper:r,$$slots:{popper:!0}}))}};m(te,e=>{S()?e(k):S()||e(A,1)}),f(e,O),r()}var $o=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`disabled`,`payload`,`tether`,`type`,`tabindex`,`ref`]),es=he(` `);function ts(e,t){let i=w();g(t,!0);let a=j(t,`id`,19,()=>Fn(i)),o=j(t,`disabled`,3,!1),c=j(t,`type`,3,`button`),l=j(t,`tabindex`,3,0),u=j(t,`ref`,15,null),d=I(t,$o),p=qo.create({id:H(()=>a()),disabled:H(()=>o()??!1),tabindex:H(()=>l()??0),payload:H(()=>t.payload),tether:H(()=>t.tether),ref:H(()=>u(),e=>u(e))}),h=z(()=>kt(d,p.props,{type:c()}));var _=b(),v=R(_),y=e=>{var r=b();n(R(r),()=>t.child,()=>({props:E(h)})),f(e,r)},x=e=>{var r=es();N(r,()=>({...E(h)})),n(L(r),()=>t.children??B),s(r),f(e,r)};m(v,e=>{t.child?e(y):e(x,-1)}),f(e,_),r()}var ns=new Set([`$$slots`,`$$events`,`$$legacy`,`open`,`child`,`text`]),rs=he(` `,1);function is(e,t){g(t,!0);let a=j(t,`open`,15,!1),s=I(t,ns);var l=b(),u=R(l),d=e=>{var n=b();i(R(n),()=>Yo,(e,n)=>{n(e,ue(()=>s,{get open(){return a()},set open(e){a(e)},children:(e,n)=>{var r=rs(),a=R(r);i(a,()=>ts,(e,n)=>{n(e,{get child(){return t.child}})}),i(ne(a,2),()=>Un,(e,n)=>{n(e,{children:(e,n)=>{var r=b();i(R(r),()=>Qo,(e,n)=>{n(e,{sideOffset:8,get class(){return`tooltip-content bg-light-800 text-light ${Ve.Tooltip??``} rounded-lg px-3.5 py-2 text-xs shadow-lg`},children:(e,n)=>{v();var r=c();ie(()=>o(r,t.text)),f(e,r)},$$slots:{default:!0}})}),f(e,r)},$$slots:{default:!0}})}),f(e,r)},$$slots:{default:!0}}))}),f(e,n)},p=e=>{var r=b();n(R(r),()=>t.child,()=>({props:{}})),f(e,r)};m(u,e=>{t.text?e(d):e(p,-1)}),f(e,l),r()}var as=(e,t)=>{let{skipEmptyStrings:n=!0,skipNullValues:r=!0}=t??{},i=Object.entries(e??{}).filter(e=>{let t=e[1];return t===void 0||r&&t===null?!1:!(n&&t===``)}).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`);return i.length===0?``:`?${i.join(`&`)}`},os={issue:`issues`,pr:`pull`,discussion:`discussions`},ss=(e,t,n)=>e===`immich-app`&&t===`immich`?`#${n}`:e===`immich-app`||e===t?`${t}/#${n}`:`${e}/${t}#${n}`,cs=e=>{typeof e==`number`&&(e={number:e});let{org:t=`immich-app`,repo:n=`immich`,number:r,type:i=`pr`}=e??{};return{href:`https://github.com/${t}/${n}/${os[i]}/${r}`,text:ss(t,n,r)}},ls=e=>!e||!e.endsWith(`immich.app`)?!1:e===`immich.app`||e.startsWith(`pr-`)?`root`:e.split(`.`,1)[0],us=async e=>{let t=ds(e);fs(t)?window.open(t,`_blank`,`noreferrer`):await ge(t)},ds=(e,t)=>{if(!fs(e))return e;try{let n=new URL(e),r=ls(n.hostname),i=ls(t??globalThis.location?.hostname??`ui.immich.app`);return r&&r===i?n.pathname:n.href}catch{return e}},fs=e=>{try{let t=new URL(location.href);return new URL(e,t).origin!==t.origin}catch{return!1}},ps=(e,t,n)=>{let r=t?`${t.title} | ${e.title}`:e.title,i=t?.description??e.description,a=t?.imageUrl??e?.imageUrl,o=t?`${e.title} — ${e.description}`:e.title;return{type:n?`article`:`website`,siteName:o,title:r,description:i,imageUrl:a,article:n?{publishedTime:n.publishedTime.toISO(),modifiedTime:n.modifiedTime?.toISO(),expirationTime:n.expirationTime?.toISO(),authors:n.authors,section:n.section,tags:n.tags}:void 0}},ms=({$if:e})=>!e||!!e(),hs=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`type`,`href`,`variant`,`color`,`shape`,`size`,`loading`,`fullWidth`,`leadingIcon`,`trailingIcon`,`icon`,`title`,`class`,`children`]),gs=he(`
`),_s=he(` `,1),vs=he(`
`),ys=he(` `);function bs(e,t){g(t,!0);let a=e=>{var r=_s(),i=R(r),a=e=>{var n=gs();Le(L(n),{size:`100%`,get class(){return ee[p()]},get icon(){return t.leadingIcon},"aria-hidden":!0}),s(n),f(e,n)};m(i,e=>{t.leadingIcon&&!h()&&e(a)});var o=ne(i,2);n(o,()=>t.children??B);var c=ne(o,2),l=e=>{Le(e,{size:`100%`,get class(){return ee[p()]},get icon(){return t.trailingIcon},"aria-hidden":!0})};m(c,e=>{t.trailingIcon&&e(l)}),f(e,r)},o=e=>{var n=b(),r=R(n),i=e=>{var n=vs(),r=L(n);ze(r,{get color(){return t.color},get size(){return w[p()]}});var i=ne(r,2),o=e=>{a(e)};m(i,e=>{v()||e(o)}),s(n),f(e,n)},o=e=>{a(e)};m(r,e=>{h()?e(i):e(o,-1)}),f(e,n)},c=j(t,`ref`,15,null),l=j(t,`type`,3,`button`),u=j(t,`variant`,3,`filled`),d=j(t,`shape`,3,`semi-round`),p=j(t,`size`,3,`medium`),h=j(t,`loading`,3,!1),_=j(t,`fullWidth`,3,!1),v=j(t,`icon`,3,!1),y=j(t,`class`,3,``),x=I(t,hs),S=z(()=>t.disabled||h()),C=ve({base:`flex items-center justify-center gap-1 rounded-md text-sm font-medium outline-offset-2 transition-colors focus-visible:outline-2`,variants:{disabled:{true:`cursor-not-allowed disabled:opacity-50 aria-disabled:opacity-50`,false:`cursor-pointer`},shape:V.shape,fullWidth:{true:`w-full`},textPadding:{tiny:`px-3 py-1`,small:`px-4 py-2`,medium:`px-5 py-2`,large:`px-8 py-2.5`,giant:`px-10 py-3`},textSize:V.textSize,iconSize:{tiny:`h-6 w-6`,small:`h-8 w-8`,medium:`h-10 w-10`,large:`h-12 w-12`,giant:`h-14 w-14`},roundedSize:{tiny:`rounded-lg`,small:`rounded-lg`,medium:`rounded-xl`,large:`rounded-xl`,giant:`rounded-2xl`},focusOutlineColor:{primary:`outline-primary`,secondary:`outline-dark`,success:`outline-success`,danger:`outline-danger`,warning:`outline-warning`,info:`outline-info`},filledColor:V.filledColor,filledColorHover:V.filledColorHover,outlineColor:{primary:`border-primary bg-primary/10 text-primary not-disabled:hover:bg-primary/20 border`,secondary:`border-dark bg-light-100 text-dark not-disabled:hover:bg-light-200 border`,success:`border-success bg-success/10 text-success not-disabled:hover:bg-success/20 border`,danger:`border-danger bg-danger/10 text-danger not-disabled:hover:bg-danger/20 border`,warning:`border-warning bg-warning/10 text-warning not-disabled:hover:bg-warning/20 border`,info:`border-info bg-info/10 text-info not-disabled:hover:bg-info/20 border`},ghostColor:{primary:`text-primary not-disabled:hover:bg-primary/15`,secondary:`text-dark not-disabled:hover:bg-dark/10`,success:`text-success not-disabled:hover:bg-success/15`,danger:`text-danger not-disabled:hover:bg-danger/15`,warning:`text-warning not-disabled:hover:bg-warning/15`,info:`text-info not-disabled:hover:bg-info/15`}}}),w={tiny:`tiny`,small:`tiny`,medium:`small`,large:`medium`,giant:`large`},T=z(()=>ye(C({shape:d(),fullWidth:_(),textPadding:v()?void 0:p(),textSize:p(),iconSize:v()?p():void 0,disabled:E(S),roundedSize:d()===`semi-round`?p():void 0,filledColor:u()===`filled`?t.color:void 0,filledColorHover:u()===`filled`?t.color:void 0,outlineColor:u()===`outline`?t.color:void 0,ghostColor:u()===`ghost`?t.color:void 0,focusOutlineColor:t.color}),y())),ee={tiny:`h-4 w-4`,small:`h-4 w-4`,medium:`h-4 w-4`,large:`h-6 w-6`,giant:`h-8 w-8`};is(e,{get text(){return t.title},child:(e,n)=>{let r=()=>(n?.()).props;var a=b(),u=R(a),d=e=>{let n=z(()=>ds(t.href)),i=z(()=>fs(E(n)));var a=ys();N(a,()=>({...r(),href:E(n),class:E(T),"aria-disabled":E(S),target:E(i)?`_blank`:void 0,rel:E(i)?`noopener noreferrer`:void 0,...x}));var l=L(a);o(l),s(a),re(a,e=>c(e),()=>c()),f(e,a)},p=e=>{var t=b();i(R(t),()=>ci,(e,t)=>{t(e,ue(r,{get class(){return E(T)},get type(){return l()}},()=>x,{get disabled(){return E(S)},get"aria-disabled"(){return E(S)},get ref(){return c()},set ref(e){c(e)},children:(e,t)=>{o(e)},$$slots:{default:!0}}))}),f(e,t)};m(u,e=>{t.href?e(d):e(p,-1)}),f(e,a)},$$slots:{child:!0}}),r()}var xs=`M10 4A4 4 0 0 0 6 8A4 4 0 0 0 10 12A4 4 0 0 0 14 8A4 4 0 0 0 10 4M17 12C16.87 12 16.76 12.09 16.74 12.21L16.55 13.53C16.25 13.66 15.96 13.82 15.7 14L14.46 13.5C14.35 13.5 14.22 13.5 14.15 13.63L13.15 15.36C13.09 15.47 13.11 15.6 13.21 15.68L14.27 16.5C14.25 16.67 14.24 16.83 14.24 17C14.24 17.17 14.25 17.33 14.27 17.5L13.21 18.32C13.12 18.4 13.09 18.53 13.15 18.64L14.15 20.37C14.21 20.5 14.34 20.5 14.46 20.5L15.7 20C15.96 20.18 16.24 20.35 16.55 20.47L16.74 21.79C16.76 21.91 16.86 22 17 22H19C19.11 22 19.22 21.91 19.24 21.79L19.43 20.47C19.73 20.34 20 20.18 20.27 20L21.5 20.5C21.63 20.5 21.76 20.5 21.83 20.37L22.83 18.64C22.89 18.53 22.86 18.4 22.77 18.32L21.7 17.5C21.72 17.33 21.74 17.17 21.74 17C21.74 16.83 21.73 16.67 21.7 16.5L22.76 15.68C22.85 15.6 22.88 15.47 22.82 15.36L21.82 13.63C21.76 13.5 21.63 13.5 21.5 13.5L20.27 14C20 13.82 19.73 13.65 19.42 13.53L19.23 12.21C19.22 12.09 19.11 12 19 12H17M10 14C5.58 14 2 15.79 2 18V20H11.68A7 7 0 0 1 11 17A7 7 0 0 1 11.64 14.09C11.11 14.03 10.56 14 10 14M18 15.5C18.83 15.5 19.5 16.17 19.5 17C19.5 17.83 18.83 18.5 18 18.5C17.16 18.5 16.5 17.83 16.5 17C16.5 16.17 17.17 15.5 18 15.5Z`,Ss=`M12,5.5A3.5,3.5 0 0,1 15.5,9A3.5,3.5 0 0,1 12,12.5A3.5,3.5 0 0,1 8.5,9A3.5,3.5 0 0,1 12,5.5M5,8C5.56,8 6.08,8.15 6.53,8.42C6.38,9.85 6.8,11.27 7.66,12.38C7.16,13.34 6.16,14 5,14A3,3 0 0,1 2,11A3,3 0 0,1 5,8M19,8A3,3 0 0,1 22,11A3,3 0 0,1 19,14C17.84,14 16.84,13.34 16.34,12.38C17.2,11.27 17.62,9.85 17.47,8.42C17.92,8.15 18.44,8 19,8M5.5,18.25C5.5,16.18 8.41,14.5 12,14.5C15.59,14.5 18.5,16.18 18.5,18.25V20H5.5V18.25M0,20V18.5C0,17.11 1.89,15.94 4.45,15.6C3.86,16.28 3.5,17.22 3.5,18.25V20H0M24,20H20.5V18.25C20.5,17.22 20.14,16.28 19.55,15.6C22.11,15.94 24,17.11 24,18.5V20Z`,Cs=`M12,5A3.5,3.5 0 0,0 8.5,8.5A3.5,3.5 0 0,0 12,12A3.5,3.5 0 0,0 15.5,8.5A3.5,3.5 0 0,0 12,5M12,7A1.5,1.5 0 0,1 13.5,8.5A1.5,1.5 0 0,1 12,10A1.5,1.5 0 0,1 10.5,8.5A1.5,1.5 0 0,1 12,7M5.5,8A2.5,2.5 0 0,0 3,10.5C3,11.44 3.53,12.25 4.29,12.68C4.65,12.88 5.06,13 5.5,13C5.94,13 6.35,12.88 6.71,12.68C7.08,12.47 7.39,12.17 7.62,11.81C6.89,10.86 6.5,9.7 6.5,8.5C6.5,8.41 6.5,8.31 6.5,8.22C6.2,8.08 5.86,8 5.5,8M18.5,8C18.14,8 17.8,8.08 17.5,8.22C17.5,8.31 17.5,8.41 17.5,8.5C17.5,9.7 17.11,10.86 16.38,11.81C16.5,12 16.63,12.15 16.78,12.3C16.94,12.45 17.1,12.58 17.29,12.68C17.65,12.88 18.06,13 18.5,13C18.94,13 19.35,12.88 19.71,12.68C20.47,12.25 21,11.44 21,10.5A2.5,2.5 0 0,0 18.5,8M12,14C9.66,14 5,15.17 5,17.5V19H19V17.5C19,15.17 14.34,14 12,14M4.71,14.55C2.78,14.78 0,15.76 0,17.5V19H3V17.07C3,16.06 3.69,15.22 4.71,14.55M19.29,14.55C20.31,15.22 21,16.06 21,17.07V19H24V17.5C24,15.76 21.22,14.78 19.29,14.55M12,16C13.53,16 15.24,16.5 16.23,17H7.77C8.76,16.5 10.47,16 12,16Z`,ws=`M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z`,Ts=`M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z`,Es=`M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M12,13C14.67,13 20,14.33 20,17V20H4V17C4,14.33 9.33,13 12,13M12,14.9C9.03,14.9 5.9,16.36 5.9,17V18.1H18.1V17C18.1,16.36 14.97,14.9 12,14.9Z`,Ds=`M15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4M15,5.9C16.16,5.9 17.1,6.84 17.1,8C17.1,9.16 16.16,10.1 15,10.1A2.1,2.1 0 0,1 12.9,8A2.1,2.1 0 0,1 15,5.9M4,7V10H1V12H4V15H6V12H9V10H6V7H4M15,13C12.33,13 7,14.33 7,17V20H23V17C23,14.33 17.67,13 15,13M15,14.9C17.97,14.9 21.1,16.36 21.1,17V18.1H8.9V17C8.9,16.36 12,14.9 15,14.9Z`,Os=`M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z`,ks=`M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1M11,15H13V17H11V15M11,7H13V13H11V7`,As=`M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16`,js=`M16.61 15.15C16.15 15.15 15.77 14.78 15.77 14.32S16.15 13.5 16.61 13.5H16.61C17.07 13.5 17.45 13.86 17.45 14.32C17.45 14.78 17.07 15.15 16.61 15.15M7.41 15.15C6.95 15.15 6.57 14.78 6.57 14.32C6.57 13.86 6.95 13.5 7.41 13.5H7.41C7.87 13.5 8.24 13.86 8.24 14.32C8.24 14.78 7.87 15.15 7.41 15.15M16.91 10.14L18.58 7.26C18.67 7.09 18.61 6.88 18.45 6.79C18.28 6.69 18.07 6.75 18 6.92L16.29 9.83C14.95 9.22 13.5 8.9 12 8.91C10.47 8.91 9 9.24 7.73 9.82L6.04 6.91C5.95 6.74 5.74 6.68 5.57 6.78C5.4 6.87 5.35 7.08 5.44 7.25L7.1 10.13C4.25 11.69 2.29 14.58 2 18H22C21.72 14.59 19.77 11.7 16.91 10.14H16.91Z`,Ms=`M7 7H5A2 2 0 0 0 3 9V17H5V13H7V17H9V9A2 2 0 0 0 7 7M7 11H5V9H7M14 7H10V17H12V13H14A2 2 0 0 0 16 11V9A2 2 0 0 0 14 7M14 11H12V9H14M20 9V15H21V17H17V15H18V9H17V7H21V9Z`,Ns=`M2.09 16.8H3.75V9.76H2.09M2.92 8.84C3.44 8.84 3.84 8.44 3.84 7.94C3.84 7.44 3.44 7.04 2.92 7.04C2.4 7.04 2 7.44 2 7.94C2 8.44 2.4 8.84 2.92 8.84M9.25 7.06C6.46 7.06 4.7 8.96 4.7 12C4.7 15.06 6.46 16.96 9.25 16.96C12.04 16.96 13.8 15.06 13.8 12C13.8 8.96 12.04 7.06 9.25 7.06M9.25 8.5C10.96 8.5 12.05 9.87 12.05 12C12.05 14.15 10.96 15.5 9.25 15.5C7.54 15.5 6.46 14.15 6.46 12C6.46 9.87 7.54 8.5 9.25 8.5M14.5 14.11C14.57 15.87 16 16.96 18.22 16.96C20.54 16.96 22 15.82 22 14C22 12.57 21.18 11.77 19.23 11.32L18.13 11.07C16.95 10.79 16.47 10.42 16.47 9.78C16.47 9 17.2 8.45 18.28 8.45C19.38 8.45 20.13 9 20.21 9.89H21.84C21.8 8.2 20.41 7.06 18.29 7.06C16.21 7.06 14.73 8.21 14.73 9.91C14.73 11.28 15.56 12.13 17.33 12.53L18.57 12.82C19.78 13.11 20.27 13.5 20.27 14.2C20.27 15 19.47 15.57 18.31 15.57C17.15 15.57 16.26 15 16.16 14.11H14.5Z`,Ps=`M6,2A4,4 0 0,1 10,6V8H14V6A4,4 0 0,1 18,2A4,4 0 0,1 22,6A4,4 0 0,1 18,10H16V14H18A4,4 0 0,1 22,18A4,4 0 0,1 18,22A4,4 0 0,1 14,18V16H10V18A4,4 0 0,1 6,22A4,4 0 0,1 2,18A4,4 0 0,1 6,14H8V10H6A4,4 0 0,1 2,6A4,4 0 0,1 6,2M16,18A2,2 0 0,0 18,20A2,2 0 0,0 20,18A2,2 0 0,0 18,16H16V18M14,10H10V14H14V10M6,16A2,2 0 0,0 4,18A2,2 0 0,0 6,20A2,2 0 0,0 8,18V16H6M8,6A2,2 0 0,0 6,4A2,2 0 0,0 4,6A2,2 0 0,0 6,8H8V6M18,8A2,2 0 0,0 20,6A2,2 0 0,0 18,4A2,2 0 0,0 16,6V8H18Z`,Fs=`M3,4H9.11L16.15,18H21V20H14.88L7.84,6H3V4M14,4H21V6H14V4Z`,Is=`M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z`,Ls=`M20 21H4V10H6V19H18V10H20V21M3 3H21V9H3V3M9.5 11H14.5C14.78 11 15 11.22 15 11.5V13H9V11.5C9 11.22 9.22 11 9.5 11M5 5V7H19V5H5Z`,Rs=`M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z`,zs=`M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z`,Bs=`M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z`,Vs=`M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z`,Hs=`M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z`,Us=`M5 9H7.31L7.63 6H9.63L9.31 9H11.31L11.63 6H13.63L13.31 9H15V11H13.1L12.9 13H15V15H12.69L12.37 18H10.37L10.69 15H8.69L8.37 18H6.37L6.69 15H5V13H6.9L7.1 11H5V9M9.1 11L8.9 13H10.9L11.1 11M19 6H17V14H19M19 16H17V18H19Z`,Ws=`M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M13,4V12L10.5,9.75L8,12V4H6V20H10C10.54,20.81 11.23,21.5 12.03,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H18A2,2 0 0,1 20,4V11.81C19.42,11.26 18.75,10.81 18,10.5V4H13Z`,Gs=`M17,3H7A2,2 0 0,0 5,5V21L12,18L19,21V5C19,3.89 18.1,3 17,3Z`,Ks=`M19.36,2.72L20.78,4.14L15.06,9.85C16.13,11.39 16.28,13.24 15.38,14.44L9.06,8.12C10.26,7.22 12.11,7.37 13.65,8.44L19.36,2.72M5.93,17.57C3.92,15.56 2.69,13.16 2.35,10.92L7.23,8.83L14.67,16.27L12.58,21.15C10.34,20.81 7.94,19.58 5.93,17.57Z`,qs=`M14,12H10V10H14M14,16H10V14H14M20,8H17.19C16.74,7.22 16.12,6.55 15.37,6.04L17,4.41L15.59,3L13.42,5.17C12.96,5.06 12.5,5 12,5C11.5,5 11.04,5.06 10.59,5.17L8.41,3L7,4.41L8.62,6.04C7.88,6.55 7.26,7.22 6.81,8H4V10H6.09C6.04,10.33 6,10.66 6,11V12H4V14H6V15C6,15.34 6.04,15.67 6.09,16H4V18H6.81C7.85,19.79 9.78,21 12,21C14.22,21 16.15,19.79 17.19,18H20V16H17.91C17.96,15.67 18,15.34 18,15V14H20V12H18V11C18,10.66 17.96,10.33 17.91,10H20V8Z`,Js=`M12,6C13.11,6 14,5.1 14,4C14,3.62 13.9,3.27 13.71,2.97L12,0L10.29,2.97C10.1,3.27 10,3.62 10,4A2,2 0 0,0 12,6M16.6,16L15.53,14.92L14.45,16C13.15,17.29 10.87,17.3 9.56,16L8.5,14.92L7.4,16C6.75,16.64 5.88,17 4.96,17C4.23,17 3.56,16.77 3,16.39V21A1,1 0 0,0 4,22H20A1,1 0 0,0 21,21V16.39C20.44,16.77 19.77,17 19.04,17C18.12,17 17.25,16.64 16.6,16M18,9H13V7H11V9H6A3,3 0 0,0 3,12V13.54C3,14.62 3.88,15.5 4.96,15.5C5.5,15.5 6,15.3 6.34,14.93L8.5,12.8L10.61,14.93C11.35,15.67 12.64,15.67 13.38,14.93L15.5,12.8L17.65,14.93C18,15.3 18.5,15.5 19.03,15.5C20.11,15.5 21,14.62 21,13.54V12A3,3 0 0,0 18,9Z`,Ys=`M7,10H12V15H7M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z`,Xs=`M19 3H18V1H16V3H8V1H6V3H5C3.9 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H19C20.11 21 21 20.11 21 19V5C21 3.89 20.11 3 19 3M19 19H5V9H19V19M19 7H5V5H19M7 11H12V16H7`,Zs=`M1,5H3V19H1V5M5,5H7V19H5V5M22,5H10A1,1 0 0,0 9,6V18A1,1 0 0,0 10,19H22A1,1 0 0,0 23,18V6A1,1 0 0,0 22,5M11,17L13.5,13.85L15.29,16L17.79,12.78L21,17H11Z`,Qs=`M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z`,$s=`M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z`,ec=`M20 16V4H8V16M22 16C22 17.1 21.1 18 20 18H8C6.9 18 6 17.1 6 16V4C6 2.9 6.9 2 8 2H20C21.1 2 22 2.9 22 4M16 20V22H4C2.9 22 2 21.1 2 20V7H4V20M16 11H18V14H16M13 6H15V14H13M10 8H12V14H10Z`,tc=`M2,5H10V2H12V22H10V18H6V15H10V13H4V10H10V8H2V5M14,5H17V8H14V5M14,10H19V13H14V10M14,15H22V18H14V15Z`,nc=`M16,11.78L20.24,4.45L21.97,5.45L16.74,14.5L10.23,10.75L5.46,19H22V21H2V3H4V17.54L9.5,8L16,11.78Z`,rc=`M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z`,ic=`M0.41,13.41L6,19L7.41,17.58L1.83,12M22.24,5.58L11.66,16.17L7.5,12L6.07,13.41L11.66,19L23.66,7M18,7L16.59,5.58L10.24,11.93L11.66,13.34L18,7Z`,ac=`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z`,oc=`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z`,sc=`M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z`,cc=`M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z`,lc=`M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z`,uc=`M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z`,dc=`M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z`,fc=`M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z`,pc=`M8.27,3L3,8.27V15.73L8.27,21H15.73L21,15.73V8.27L15.73,3M8.41,7L12,10.59L15.59,7L17,8.41L13.41,12L17,15.59L15.59,17L12,13.41L8.41,17L7,15.59L10.59,12L7,8.41`,mc=`M9.41 20H6.5C5 20 3.68 19.5 2.61 18.43C1.54 17.38 1 16.09 1 14.58C1 13.28 1.39 12.12 2.17 11.1C2.96 10.08 4 9.43 5.25 9.15C5.67 7.62 6.5 6.38 7.75 5.43C9 4.5 10.42 4 12 4C13.95 4 15.61 4.68 16.96 6.04C18.32 7.39 19 9.05 19 11C20.15 11.13 21.11 11.63 21.86 12.5C22.5 13.23 22.86 14.06 22.96 15H20.96C20.86 14.5 20.64 14.09 20.27 13.73C19.79 13.24 19.2 13 18.5 13H17V11C17 9.62 16.5 8.44 15.54 7.46C14.57 6.5 13.39 6 12 6C10.62 6 9.44 6.5 8.46 7.46C7.5 8.44 7 9.62 7 11H6.5C5.53 11 4.71 11.34 4.03 12.03C3.34 12.71 3 13.53 3 14.5S3.34 16.3 4.03 17C4.71 17.67 5.53 18 6.5 18H9C9 18.72 9.15 19.39 9.41 20M23 17V19H21V21H19V19H16.8C16.4 20.2 15.3 21 14 21C12.3 21 11 19.7 11 18S12.3 15 14 15C15.3 15 16.4 15.8 16.8 17H23M15 18C15 17.5 14.6 17 14 17S13 17.5 13 18 13.4 19 14 19 15 18.5 15 18Z`,hc=`M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z`,gc=`M6.5 20Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13Q12.18 20 11.59 19.41 11 18.83 11 18V12.85L9.4 14.4L8 13L12 9L16 13L14.6 14.4L13 12.85V18H18.5Q19.55 18 20.27 17.27 21 16.55 21 15.5 21 14.45 20.27 13.73 19.55 13 18.5 13H17V11Q17 8.93 15.54 7.46 14.08 6 12 6 9.93 6 8.46 7.46 7 8.93 7 11H6.5Q5.05 11 4.03 12.03 3 13.05 3 14.5 3 15.95 4.03 17 5.05 18 6.5 18H9V20M12 13Z`,_c=`M5,3H7V5H5V10A2,2 0 0,1 3,12A2,2 0 0,1 5,14V19H7V21H5C3.93,20.73 3,20.1 3,19V15A2,2 0 0,0 1,13H0V11H1A2,2 0 0,0 3,9V5A2,2 0 0,1 5,3M19,3A2,2 0 0,1 21,5V9A2,2 0 0,0 23,11H24V13H23A2,2 0 0,0 21,15V19A2,2 0 0,1 19,21H17V19H19V14A2,2 0 0,1 21,12A2,2 0 0,1 19,10V5H17V3H19M12,15A1,1 0 0,1 13,16A1,1 0 0,1 12,17A1,1 0 0,1 11,16A1,1 0 0,1 12,15M8,15A1,1 0 0,1 9,16A1,1 0 0,1 8,17A1,1 0 0,1 7,16A1,1 0 0,1 8,15M16,15A1,1 0 0,1 17,16A1,1 0 0,1 16,17A1,1 0 0,1 15,16A1,1 0 0,1 16,15Z`,vc=`M5,3C3.89,3 3,3.89 3,5V19C3,20.11 3.89,21 5,21H11V3M13,3V11H21V5C21,3.89 20.11,3 19,3M13,13V21H19C20.11,21 21,20.11 21,19V13`,yc=`M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z`,bc=`M11,17H4A2,2 0 0,1 2,15V3A2,2 0 0,1 4,1H16V3H4V15H11V13L15,16L11,19V17M19,21V7H8V13H6V7A2,2 0 0,1 8,5H19A2,2 0 0,1 21,7V21A2,2 0 0,1 19,23H8A2,2 0 0,1 6,21V19H8V21H19Z`,xc=`M7,17V1H5V5H1V7H5V17A2,2 0 0,0 7,19H17V23H19V19H23V17M17,15H19V7C19,5.89 18.1,5 17,5H9V7H17V15Z`,Sc=`M20.94 11C20.5 6.83 17.17 3.5 13 3.06V1H11V3.06C9.87 3.18 8.81 3.5 7.84 4.03L9.34 5.53C10.16 5.19 11.06 5 12 5C15.87 5 19 8.13 19 12C19 12.94 18.81 13.84 18.5 14.65L20 16.15C20.5 15.19 20.82 14.13 20.95 13H23V11H20.94M3 4.27L5.04 6.31C3.97 7.62 3.25 9.23 3.06 11H1V13H3.06C3.5 17.17 6.83 20.5 11 20.94V23H13V20.94C14.77 20.74 16.38 20.03 17.69 18.96L19.73 21L21 19.73L4.27 3L3 4.27M16.27 17.54C15.09 18.45 13.61 19 12 19C8.13 19 5 15.87 5 12C5 10.39 5.55 8.91 6.46 7.73L16.27 17.54Z`,Cc=`M12,3C7.58,3 4,4.79 4,7C4,9.21 7.58,11 12,11C16.42,11 20,9.21 20,7C20,4.79 16.42,3 12,3M4,9V12C4,14.21 7.58,16 12,16C16.42,16 20,14.21 20,12V9C20,11.21 16.42,13 12,13C7.58,13 4,11.21 4,9M4,14V17C4,19.21 7.58,21 12,21C16.42,21 20,19.21 20,17V14C20,16.21 16.42,18 12,18C7.58,18 4,16.21 4,14Z`,wc=`M12 3C7.58 3 4 4.79 4 7V17C4 19.21 7.59 21 12 21S20 19.21 20 17V7C20 4.79 16.42 3 12 3M18 17C18 17.5 15.87 19 12 19S6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16S16.39 15.55 18 14.77V17M18 12.45C16.7 13.4 14.42 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11C14.39 11 16.53 10.47 18 9.64V12.45M12 9C8.13 9 6 7.5 6 7S8.13 5 12 5C15.87 5 18 6.5 18 7S15.87 9 12 9Z`,Tc=`M3 6H21V4H3C1.9 4 1 4.9 1 6V18C1 19.1 1.9 20 3 20H7V18H3V6M13 12H9V13.78C8.39 14.33 8 15.11 8 16C8 16.89 8.39 17.67 9 18.22V20H13V18.22C13.61 17.67 14 16.88 14 16S13.61 14.33 13 13.78V12M11 17.5C10.17 17.5 9.5 16.83 9.5 16S10.17 14.5 11 14.5 12.5 15.17 12.5 16 11.83 17.5 11 17.5M22 8H16C15.5 8 15 8.5 15 9V19C15 19.5 15.5 20 16 20H22C22.5 20 23 19.5 23 19V9C23 8.5 22.5 8 22 8M21 18H17V10H21V18Z`,Ec=`M12,14C10.89,14 10,13.1 10,12C10,10.89 10.89,10 12,10C13.11,10 14,10.89 14,12A2,2 0 0,1 12,14M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z`,Dc=`M21.81 10.25C21.75 10.21 21.25 9.82 20.17 9.82C19.89 9.82 19.61 9.85 19.33 9.9C19.12 8.5 17.95 7.79 17.9 7.76L17.61 7.59L17.43 7.86C17.19 8.22 17 8.63 16.92 9.05C16.72 9.85 16.84 10.61 17.25 11.26C16.76 11.54 15.96 11.61 15.79 11.61H2.62C2.28 11.61 2 11.89 2 12.24C2 13.39 2.18 14.54 2.58 15.62C3.03 16.81 3.71 17.69 4.58 18.23C5.56 18.83 7.17 19.17 9 19.17C9.79 19.17 10.61 19.1 11.42 18.95C12.54 18.75 13.62 18.36 14.61 17.79C15.43 17.32 16.16 16.72 16.78 16C17.83 14.83 18.45 13.5 18.9 12.35H19.09C20.23 12.35 20.94 11.89 21.33 11.5C21.59 11.26 21.78 10.97 21.92 10.63L22 10.39L21.81 10.25M3.85 11.24H5.61C5.69 11.24 5.77 11.17 5.77 11.08V9.5C5.77 9.42 5.7 9.34 5.61 9.34H3.85C3.76 9.34 3.69 9.41 3.69 9.5V11.08C3.7 11.17 3.76 11.24 3.85 11.24M6.28 11.24H8.04C8.12 11.24 8.2 11.17 8.2 11.08V9.5C8.2 9.42 8.13 9.34 8.04 9.34H6.28C6.19 9.34 6.12 9.41 6.12 9.5V11.08C6.13 11.17 6.19 11.24 6.28 11.24M8.75 11.24H10.5C10.6 11.24 10.67 11.17 10.67 11.08V9.5C10.67 9.42 10.61 9.34 10.5 9.34H8.75C8.67 9.34 8.6 9.41 8.6 9.5V11.08C8.6 11.17 8.66 11.24 8.75 11.24M11.19 11.24H12.96C13.04 11.24 13.11 11.17 13.11 11.08V9.5C13.11 9.42 13.05 9.34 12.96 9.34H11.19C11.11 9.34 11.04 9.41 11.04 9.5V11.08C11.04 11.17 11.11 11.24 11.19 11.24M6.28 9H8.04C8.12 9 8.2 8.91 8.2 8.82V7.25C8.2 7.16 8.13 7.09 8.04 7.09H6.28C6.19 7.09 6.12 7.15 6.12 7.25V8.82C6.13 8.91 6.19 9 6.28 9M8.75 9H10.5C10.6 9 10.67 8.91 10.67 8.82V7.25C10.67 7.16 10.61 7.09 10.5 7.09H8.75C8.67 7.09 8.6 7.15 8.6 7.25V8.82C8.6 8.91 8.66 9 8.75 9M11.19 9H12.96C13.04 9 13.11 8.91 13.11 8.82V7.25C13.11 7.16 13.04 7.09 12.96 7.09H11.19C11.11 7.09 11.04 7.15 11.04 7.25V8.82C11.04 8.91 11.11 9 11.19 9M11.19 6.72H12.96C13.04 6.72 13.11 6.65 13.11 6.56V5C13.11 4.9 13.04 4.83 12.96 4.83H11.19C11.11 4.83 11.04 4.89 11.04 5V6.56C11.04 6.64 11.11 6.72 11.19 6.72M13.65 11.24H15.41C15.5 11.24 15.57 11.17 15.57 11.08V9.5C15.57 9.42 15.5 9.34 15.41 9.34H13.65C13.57 9.34 13.5 9.41 13.5 9.5V11.08C13.5 11.17 13.57 11.24 13.65 11.24`,Oc=`M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z`,kc=`M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4V8L12 13L20 8V18Z`,Ac=`M2,7V8.5H3V17H4.5V7C3.7,7 2.8,7 2,7M6,7V7L6,16H7V17H14V16H22V7H6M17.5,9A2.5,2.5 0 0,1 20,11.5A2.5,2.5 0 0,1 17.5,14A2.5,2.5 0 0,1 15,11.5A2.5,2.5 0 0,1 17.5,9Z`,jc=`M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z`,Mc=`M12 9C13.7 9 15 10.3 15 12S13.7 15 12 15 9 13.7 9 12 10.3 9 12 9M18 18.5L19.8 16.7C19.3 16.3 18.7 16 18 16C16.6 16 15.5 17.1 15.5 18.5S16.6 21 18 21C18.8 21 19.5 20.6 20 20H21.7C21.1 21.5 19.7 22.5 18 22.5C15.8 22.5 14 20.7 14 18.5S15.8 14.5 18 14.5C19.1 14.5 20.1 14.9 20.8 15.7L22 14.5V18.5H18M12 18.5C12 18.2 12 17.8 12.1 17.5H12C8.2 17.5 4.8 15.4 3.2 12C4.8 8.6 8.2 6.5 12 6.5S19.2 8.6 20.8 12C20.7 12.1 20.7 12.2 20.6 12.4C21.2 12.6 21.8 12.9 22.4 13.3C22.6 12.9 22.8 12.4 23 12C21.3 7.6 17 4.5 12 4.5S2.7 7.6 1 12C2.7 16.4 7 19.5 12 19.5H12.1C12 19.2 12 18.8 12 18.5Z`,Nc=`M9,11.75A1.25,1.25 0 0,0 7.75,13A1.25,1.25 0 0,0 9,14.25A1.25,1.25 0 0,0 10.25,13A1.25,1.25 0 0,0 9,11.75M15,11.75A1.25,1.25 0 0,0 13.75,13A1.25,1.25 0 0,0 15,14.25A1.25,1.25 0 0,0 16.25,13A1.25,1.25 0 0,0 15,11.75M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,11.71 4,11.42 4.05,11.14C6.41,10.09 8.28,8.16 9.26,5.77C11.07,8.33 14.05,10 17.42,10C18.2,10 18.95,9.91 19.67,9.74C19.88,10.45 20,11.21 20,12C20,16.41 16.41,20 12,20Z`,Pc=`M10.25,13A1.25,1.25 0 0,1 9,14.25A1.25,1.25 0 0,1 7.75,13A1.25,1.25 0 0,1 9,11.75A1.25,1.25 0 0,1 10.25,13M15,11.75A1.25,1.25 0 0,0 13.75,13A1.25,1.25 0 0,0 15,14.25A1.25,1.25 0 0,0 16.25,13A1.25,1.25 0 0,0 15,11.75M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12M10.66,4.12C12.06,6.44 14.6,8 17.5,8C17.96,8 18.41,7.95 18.84,7.88C17.44,5.56 14.9,4 12,4C11.54,4 11.09,4.05 10.66,4.12M4.42,9.47C6.13,8.5 7.45,6.92 8.08,5.03C6.37,6 5.05,7.58 4.42,9.47M20,12C20,11.22 19.88,10.47 19.67,9.76C18.97,9.91 18.25,10 17.5,10C14.37,10 11.58,8.56 9.74,6.31C8.69,8.87 6.6,10.88 4,11.86C4,11.9 4,11.95 4,12C4,16.41 7.59,20 12,20C16.41,20 20,16.41 20,12Z`,Fc=`M9,11.75A1.25,1.25 0 0,0 7.75,13A1.25,1.25 0 0,0 9,14.25A1.25,1.25 0 0,0 10.25,13A1.25,1.25 0 0,0 9,11.75M15,11.75A1.25,1.25 0 0,0 13.75,13A1.25,1.25 0 0,0 15,14.25A1.25,1.25 0 0,0 16.25,13A1.25,1.25 0 0,0 15,11.75M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12C3.97,11.71 3.97,11.43 4,11.14C6.38,10.1 8.27,8.17 9.26,5.77C11.13,8.42 14.17,10 17.42,10C18.18,10 18.93,9.91 19.67,9.74C20.92,14 18.5,18.43 14.26,19.67C13.5,19.89 12.76,20 12,20M0,2A2,2 0 0,1 2,0H6V2H2V6H0V2M24,22A2,2 0 0,1 22,24H18V22H22V18H24V22M2,24A2,2 0 0,1 0,22V18H2V22H6V24H2M22,0A2,2 0 0,1 24,2V6H22V2H18V0H22Z`,Ic=`M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z`,Lc=`M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z`,Rc=`M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H13C12.59,21.75 12.2,21.44 11.86,21.1C9.22,18.67 9.05,14.56 11.5,11.92C13.69,9.5 17.33,9.13 20,11V8L14,2M13,9V3.5L18.5,9H13M20.31,18.9C21.64,16.79 21,14 18.91,12.68C16.8,11.35 14,12 12.69,14.08C11.35,16.19 12,18.97 14.09,20.3C15.55,21.23 17.41,21.23 18.88,20.32L22,23.39L23.39,22L20.31,18.9M16.5,19A2.5,2.5 0 0,1 14,16.5A2.5,2.5 0 0,1 16.5,14A2.5,2.5 0 0,1 19,16.5A2.5,2.5 0 0,1 16.5,19Z`,zc=`M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,12L16,16H13.5V19H10.5V16H8L12,12Z`,Bc=`M7,2V13H10V22L17,10H13L17,2H7Z`,Vc=`M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z`,Hc=`M22,4H14L12,2H6A2,2 0 0,0 4,4V16A2,2 0 0,0 6,18H22A2,2 0 0,0 24,16V6A2,2 0 0,0 22,4M2,6H0V11H0V20A2,2 0 0,0 2,22H20V20H2V6Z`,Uc=`M10,4L12,6H20A2,2 0 0,1 22,8V11.5C21.23,11.18 20.39,11 19.5,11A6.5,6.5 0 0,0 13,17.5C13,18.39 13.18,19.23 13.5,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10M19,12V13.5A4,4 0 0,1 23,17.5C23,18.32 22.75,19.08 22.33,19.71L21.24,18.62C21.41,18.28 21.5,17.9 21.5,17.5A2.5,2.5 0 0,0 19,15V16.5L16.75,14.25L19,12M19,23V21.5A4,4 0 0,1 15,17.5C15,16.68 15.25,15.92 15.67,15.29L16.76,16.38C16.59,16.72 16.5,17.1 16.5,17.5A2.5,2.5 0 0,0 19,20V18.5L21.25,20.75L19,23Z`,Wc=`M17,12V3A1,1 0 0,0 16,2H3A1,1 0 0,0 2,3V17L6,13H16A1,1 0 0,0 17,12M21,6H19V15H6V17A1,1 0 0,0 7,18H18L22,22V7A1,1 0 0,0 21,6Z`,Gc=`M15,4V11H5.17L4,12.17V4H15M16,2H3A1,1 0 0,0 2,3V17L6,13H16A1,1 0 0,0 17,12V3A1,1 0 0,0 16,2M21,6H19V15H6V17A1,1 0 0,0 7,18H18L22,22V7A1,1 0 0,0 21,6Z`,Kc=`M6.5,6C7.47,6 8.37,6.5 9.11,7.38C9.66,6.79 10.31,6.36 11,6.15V4A2,2 0 0,1 13,2H15V4H13V6.15C13.69,6.36 14.34,6.79 14.89,7.38C15.63,6.5 16.53,6 17.5,6C20,6 22,9.36 22,13.5C22,17.64 20,21 17.5,21C16.53,21 15.63,20.5 14.89,19.62C14.08,20.5 13.08,21 12,21C10.92,21 9.92,20.5 9.11,19.62C8.37,20.5 7.47,21 6.5,21C4,21 2,17.64 2,13.5C2,9.36 4,6 6.5,6M9,10L7.75,12.25H10.25L9,10M15,10L13.75,12.25H16.25L15,10M8,17H10L11,16L12,17H14L15,16L16,17L17.5,14L13.92,14.62L13,16L12,15H10L9,16L8,15L6,14L8,17Z`,qc=`M21.71 8.71C22.96 7.46 22.39 6 21.71 5.29L18.71 2.29C17.45 1.04 16 1.61 15.29 2.29L13.59 4H11C9.1 4 8 5 7.44 6.15L3 10.59V14.59L2.29 15.29C1.04 16.55 1.61 18 2.29 18.71L5.29 21.71C5.83 22.25 6.41 22.45 6.96 22.45C7.67 22.45 8.32 22.1 8.71 21.71L11.41 19H15C16.7 19 17.56 17.94 17.87 16.9C19 16.6 19.62 15.74 19.87 14.9C21.42 14.5 22 13.03 22 12V9H21.41L21.71 8.71M20 12C20 12.45 19.81 13 19 13L18 13L18 14C18 14.45 17.81 15 17 15L16 15L16 16C16 16.45 15.81 17 15 17H10.59L7.31 20.28C7 20.57 6.82 20.4 6.71 20.29L3.72 17.31C3.43 17 3.6 16.82 3.71 16.71L5 15.41V11.41L7 9.41V11C7 12.21 7.8 14 10 14S13 12.21 13 11H20V12M20.29 7.29L18.59 9H11V11C11 11.45 10.81 12 10 12S9 11.45 9 11V8C9 7.54 9.17 6 11 6H14.41L16.69 3.72C17 3.43 17.18 3.6 17.29 3.71L20.28 6.69C20.57 7 20.4 7.18 20.29 7.29Z`,Jc=`M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z`,Yc=`M12.1,18.55L12,18.65L11.89,18.55C7.14,14.24 4,11.39 4,8.5C4,6.5 5.5,5 7.5,5C9.04,5 10.54,6 11.07,7.36H12.93C13.46,6 14.96,5 16.5,5C18.5,5 20,6.5 20,8.5C20,11.39 16.86,14.24 12.1,18.55M16.5,3C14.76,3 13.09,3.81 12,5.08C10.91,3.81 9.24,3 7.5,3C4.42,3 2,5.41 2,8.5C2,12.27 5.4,15.36 10.55,20.03L12,21.35L13.45,20.03C18.6,15.36 22,12.27 22,8.5C22,5.41 19.58,3 16.5,3Z`,Xc=`M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3`,Zc=`M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z`,Qc=`M6,19L9,15.14L11.14,17.72L14.14,13.86L18,19H6M6,4H11V12L8.5,10.5L6,12M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2Z`,$c=`M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6`,el=`M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3M15.96,10.29L13.21,13.83L11.25,11.47L8.5,15H19.5L15.96,10.29Z`,tl=`M13 19C13 19.7 13.13 20.37 13.35 21H5C3.9 21 3 20.11 3 19V5C3 3.9 3.9 3 5 3H19C20.11 3 21 3.9 21 5V13.35C20.37 13.13 19.7 13 19 13V5H5V19H13M13.96 12.29L11.21 15.83L9.25 13.47L6.5 17H13.35C13.75 15.88 14.47 14.91 15.4 14.21L13.96 12.29M20 18V15H18V18H15V20H18V23H20V20H23V18H20Z`,nl=`M15.5,2C18,2 20,4 20,6.5C20,7.38 19.75,8.21 19.31,8.9L22.39,12L21,13.39L17.88,10.32C17.19,10.75 16.37,11 15.5,11C13,11 11,9 11,6.5C11,4 13,2 15.5,2M15.5,4A2.5,2.5 0 0,0 13,6.5A2.5,2.5 0 0,0 15.5,9A2.5,2.5 0 0,0 18,6.5A2.5,2.5 0 0,0 15.5,4M7.5,14.5L4,19H18L13.5,13L10,17.5L7.5,14.5M20,20A2,2 0 0,1 18,22H4A2,2 0 0,1 2,20V6A2,2 0 0,1 4,4H9.5C9.18,4.77 9,5.61 9,6.5A6.5,6.5 0 0,0 15.5,13C16.18,13 16.84,12.89 17.46,12.7L20,15.24V20Z`,rl=`M14,12L10,8V11H2V13H10V16M20,18V6C20,4.89 19.1,4 18,4H6A2,2 0 0,0 4,6V9H6V6H18V18H6V15H4V18A2,2 0 0,0 6,20H18A2,2 0 0,0 20,18Z`,il=`M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z`,al=`M12.3 7.29C12.5 7.11 12.74 7 13 7C13.27 7 13.5 7.11 13.71 7.29C13.9 7.5 14 7.74 14 8C14 8.27 13.9 8.5 13.71 8.71C13.5 8.9 13.27 9 13 9C12.74 9 12.5 8.9 12.3 8.71C12.11 8.5 12 8.27 12 8C12 7.74 12.11 7.5 12.3 7.29M9.8 11.97C9.8 11.97 11.97 10.25 12.76 10.18C13.5 10.12 13.35 10.97 13.28 11.41L13.27 11.47C13.13 12 12.96 12.64 12.79 13.25C12.41 14.64 12.04 16 12.13 16.25C12.23 16.59 12.85 16.16 13.3 15.86C13.36 15.82 13.41 15.78 13.46 15.75C13.46 15.75 13.54 15.67 13.62 15.78C13.64 15.81 13.66 15.84 13.68 15.86C13.77 16 13.82 16.05 13.7 16.13L13.66 16.15C13.44 16.3 12.5 16.96 12.12 17.2C11.71 17.47 10.14 18.37 10.38 16.62C10.59 15.39 10.87 14.33 11.09 13.5C11.5 12 11.68 11.32 10.76 11.91C10.39 12.13 10.17 12.27 10.04 12.36C9.93 12.44 9.92 12.44 9.85 12.31L9.82 12.25L9.77 12.17C9.7 12.07 9.7 12.06 9.8 11.97M22 12C22 17.5 17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2C17.5 2 22 6.5 22 12M20 12C20 7.58 16.42 4 12 4C7.58 4 4 7.58 4 12C4 16.42 7.58 20 12 20C16.42 20 20 16.42 20 12Z`,ol=`M21 18H15V15H13.3C12.2 17.4 9.7 19 7 19C3.1 19 0 15.9 0 12S3.1 5 7 5C9.7 5 12.2 6.6 13.3 9H24V15H21V18M17 16H19V13H22V11H11.9L11.7 10.3C11 8.3 9.1 7 7 7C4.2 7 2 9.2 2 12S4.2 17 7 17C9.1 17 11 15.7 11.7 13.7L11.9 13H17V16M7 15C5.3 15 4 13.7 4 12S5.3 9 7 9 10 10.3 10 12 8.7 15 7 15M7 11C6.4 11 6 11.4 6 12S6.4 13 7 13 8 12.6 8 12 7.6 11 7 11Z`,sl=`M19,10H17V8H19M19,13H17V11H19M16,10H14V8H16M16,13H14V11H16M16,17H8V15H16M7,10H5V8H7M7,13H5V11H7M8,11H10V13H8M8,8H10V10H8M11,11H13V13H11M11,8H13V10H11M20,5H4C2.89,5 2,5.89 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7C22,5.89 21.1,5 20,5Z`,cl=`M1 7H7V9H3V11H7V13H3V15H7V17H1V7M11 7H15V9H11V11H13C14.11 11 15 11.9 15 13V15C15 16.11 14.11 17 13 17H9V15H13V13H11C9.9 13 9 12.11 9 11V9C9 7.9 9.9 7 11 7M19 7H21C22.11 7 23 7.9 23 9V10H21V9H19V15H21V14H23V15C23 16.11 22.11 17 21 17H19C17.9 17 17 16.11 17 15V9C17 7.9 17.9 7 19 7Z`,ll=`M19,7V11H5.83L9.41,7.41L8,6L2,12L8,18L9.41,16.58L5.83,13H21V7H19Z`,ul=`M7,22H9V24H7V22M11,22H13V24H11V22M15,22H17V24H15V22M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H20V17H4V7M5,8V10H7V8H5M8,8V10H10V8H8M11,8V10H13V8H11M14,8V10H16V8H14M17,8V10H19V8H17M5,11V13H7V11H5M8,11V13H10V11H8M11,11V13H13V11H11M14,11V13H16V11H14M17,11V13H19V11H17M8,14V16H16V14H8Z`,dl=`M20,18H22V6H20M11.59,7.41L15.17,11H1V13H15.17L11.59,16.58L13,18L19,12L13,6L11.59,7.41Z`,fl=`M4 6H2V18H4M11 6L5 12L11 18L12.41 16.58L8.83 13H23V11H8.83L12.41 7.41L11 6Z`,pl=`M16.84,2.73C16.45,2.73 16.07,2.88 15.77,3.17L13.65,5.29L18.95,10.6L21.07,8.5C21.67,7.89 21.67,6.94 21.07,6.36L17.9,3.17C17.6,2.88 17.22,2.73 16.84,2.73M12.94,6L4.84,14.11L7.4,14.39L7.58,16.68L9.86,16.85L10.15,19.41L18.25,11.3M4.25,15.04L2.5,21.73L9.2,19.94L8.96,17.78L6.65,17.61L6.47,15.29`,ml=`M9 10A3.04 3.04 0 0 1 12 7A3.04 3.04 0 0 1 15 10A3.04 3.04 0 0 1 12 13A3.04 3.04 0 0 1 9 10M12 19L16 20V16.92A7.54 7.54 0 0 1 12 18A7.54 7.54 0 0 1 8 16.92V20M12 4A5.78 5.78 0 0 0 7.76 5.74A5.78 5.78 0 0 0 6 10A5.78 5.78 0 0 0 7.76 14.23A5.78 5.78 0 0 0 12 16A5.78 5.78 0 0 0 16.24 14.23A5.78 5.78 0 0 0 18 10A5.78 5.78 0 0 0 16.24 5.74A5.78 5.78 0 0 0 12 4M20 10A8.04 8.04 0 0 1 19.43 12.8A7.84 7.84 0 0 1 18 15.28V23L12 21L6 23V15.28A7.9 7.9 0 0 1 4 10A7.68 7.68 0 0 1 6.33 4.36A7.73 7.73 0 0 1 12 2A7.73 7.73 0 0 1 17.67 4.36A7.68 7.68 0 0 1 20 10Z`,hl=`M12,2A7,7 0 0,1 19,9C19,11.38 17.81,13.47 16,14.74V17A1,1 0 0,1 15,18H9A1,1 0 0,1 8,17V14.74C6.19,13.47 5,11.38 5,9A7,7 0 0,1 12,2M9,21V20H15V21A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21M12,4A5,5 0 0,0 7,9C7,11.05 8.23,12.81 10,13.58V16H14V13.58C15.77,12.81 17,11.05 17,9A5,5 0 0,0 12,4Z`,gl=`M13 22V19.96L19.13 13.83L21.17 15.88L15.04 22H13M21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15M20.54 8.46C20.73 8.65 20.9 8.86 21.06 9.08L19.68 10.45C19.15 9.5 18.15 8.9 17 8.9H13V7H17C18.33 7 19.6 7.53 20.54 8.46M3.9 12C3.9 10.29 5.29 8.9 7 8.9H11V7H7C5.67 7 4.4 7.53 3.46 8.46C2.53 9.4 2 10.67 2 12C2 13.33 2.53 14.6 3.46 15.54C4.4 16.47 5.67 17 7 17H11V15.1H7C5.29 15.1 3.9 13.71 3.9 12M8 13H16V11H8V13Z`,_l=`M9 5.82L7.36 4.16C8.09 2.31 9.89 1 12 1C14.76 1 17 3.24 17 6V8H18C19.11 8 20 8.9 20 10V16.8L11.2 8H15V6C15 4.34 13.66 3 12 3C10.41 3 9.11 4.25 9 5.82M22.11 21.46L20.84 22.73L19.46 21.35C19.1 21.75 18.58 22 18 22H6C4.89 22 4 21.11 4 20V10C4 8.89 4.9 8 6 8H6.11L1.11 3L2.39 1.73L22.11 21.46M13.85 15.74L11.26 13.15C10.5 13.44 10 14.16 10 15C10 16.11 10.9 17 12 17C12.84 17 13.56 16.5 13.85 15.74Z`,vl=`M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z`,yl=`M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z`,bl=`M17 22V20H20V17H22V20.5C22 20.89 21.84 21.24 21.54 21.54C21.24 21.84 20.89 22 20.5 22H17M7 22H3.5C3.11 22 2.76 21.84 2.46 21.54C2.16 21.24 2 20.89 2 20.5V17H4V20H7V22M17 2H20.5C20.89 2 21.24 2.16 21.54 2.46C21.84 2.76 22 3.11 22 3.5V7H20V4H17V2M7 2V4H4V7H2V3.5C2 3.11 2.16 2.76 2.46 2.46C2.76 2.16 3.11 2 3.5 2H7M10.5 6C13 6 15 8 15 10.5C15 11.38 14.75 12.2 14.31 12.9L17.57 16.16L16.16 17.57L12.9 14.31C12.2 14.75 11.38 15 10.5 15C8 15 6 13 6 10.5C6 8 8 6 10.5 6M10.5 8C9.12 8 8 9.12 8 10.5C8 11.88 9.12 13 10.5 13C11.88 13 13 11.88 13 10.5C13 9.12 11.88 8 10.5 8Z`,xl=`M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z`,Sl=`M12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5M12,2A7,7 0 0,1 19,9C19,14.25 12,22 12,22C12,22 5,14.25 5,9A7,7 0 0,1 12,2M12,4A5,5 0 0,0 7,9C7,10 7,12 12,18.71C17,12 17,10 17,9A5,5 0 0,0 12,4Z`,Cl=`M20.5,3L20.34,3.03L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21L3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19.03 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3M10,5.47L14,6.87V18.53L10,17.13V5.47M5,6.46L8,5.45V17.15L5,18.31V6.46M19,17.54L16,18.55V6.86L19,5.7V17.54Z`,wl=`M21,12C21,9.97 20.33,8.09 19,6.38V17.63C20.33,15.97 21,14.09 21,12M17.63,19H6.38C7.06,19.55 7.95,20 9.05,20.41C10.14,20.8 11.13,21 12,21C12.88,21 13.86,20.8 14.95,20.41C16.05,20 16.94,19.55 17.63,19M11,17L7,9V17H11M17,9L13,17H17V9M12,14.53L15.75,7H8.25L12,14.53M17.63,5C15.97,3.67 14.09,3 12,3C9.91,3 8.03,3.67 6.38,5H17.63M5,17.63V6.38C3.67,8.09 3,9.97 3,12C3,14.09 3.67,15.97 5,17.63M23,12C23,15.03 21.94,17.63 19.78,19.78C17.63,21.94 15.03,23 12,23C8.97,23 6.38,21.94 4.22,19.78C2.06,17.63 1,15.03 1,12C1,8.97 2.06,6.38 4.22,4.22C6.38,2.06 8.97,1 12,1C15.03,1 17.63,2.06 19.78,4.22C21.94,6.38 23,8.97 23,12Z`,Tl=`M2,2H6V4H4V20H6V22H2V2M20,4H18V2H22V22H18V20H20V4M9,5H10V10H11V11H8V10H9V6L8,6.5V5.5L9,5M15,13H16V18H17V19H14V18H15V14L14,14.5V13.5L15,13M9,13C10.1,13 11,14.34 11,16C11,17.66 10.1,19 9,19C7.9,19 7,17.66 7,16C7,14.34 7.9,13 9,13M9,14C8.45,14 8,14.9 8,16C8,17.1 8.45,18 9,18C9.55,18 10,17.1 10,16C10,14.9 9.55,14 9,14M15,5C16.1,5 17,6.34 17,8C17,9.66 16.1,11 15,11C13.9,11 13,9.66 13,8C13,6.34 13.9,5 15,5M15,6C14.45,6 14,6.9 14,8C14,9.1 14.45,10 15,10C15.55,10 16,9.1 16,8C16,6.9 15.55,6 15,6Z`,El=`M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z`,Dl=`M8 17L12 13H15.2C15.6 14.2 16.7 15 18 15C19.7 15 21 13.7 21 12S19.7 9 18 9C16.7 9 15.6 9.8 15.2 11H12L8 7V3H3V8H6L10.2 12L6 16H3V21H8V17Z`,Ol=`M3,12V6.75L9,5.43V11.91L3,12M20,3V11.75L10,11.9V5.21L20,3M3,13L9,13.09V19.9L3,18.75V13M20,13.25V22L10,20.09V13.1L20,13.25Z`,kl=`M19,13H5V11H19V13Z`,Al=`M21,16H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10V20H8V22H16V20H14V18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z`,jl=`M10 16.5L16 12L10 7.5M22 12C22 6.46 17.54 2 12 2C10.83 2 9.7 2.19 8.62 2.56L9.32 4.5C10.17 4.16 11.06 3.97 12 3.97C16.41 3.97 20.03 7.59 20.03 12C20.03 16.41 16.41 20.03 12 20.03C7.59 20.03 3.97 16.41 3.97 12C3.97 11.06 4.16 10.12 4.5 9.28L2.56 8.62C2.19 9.7 2 10.83 2 12C2 17.54 6.46 22 12 22C17.54 22 22 17.54 22 12M5.47 3.97C6.32 3.97 7 4.68 7 5.47C7 6.32 6.32 7 5.47 7C4.68 7 3.97 6.32 3.97 5.47C3.97 4.68 4.68 3.97 5.47 3.97Z`,Ml=`M22 10V13.81C21.39 13.46 20.72 13.22 20 13.09V12H4V20H13.09C13.21 20.72 13.46 21.39 13.81 22H4C2.9 22 2 21.11 2 20V10H22M16.71 7.07L13.97 3.54L12 3.93L14.75 7.46L16.71 7.07M21.62 6.1L20.84 2.18L16.91 2.96L19.65 6.5L21.62 6.1M11.81 8.05L9.07 4.5L7.1 4.91L9.85 8.44L11.81 8.05M4.16 5.5L3.18 5.69C2.1 5.9 1.39 6.96 1.61 8.04L2 10L6.9 9.03L4.16 5.5M17 22L22 19L17 16V22Z`,Nl=`M2 5V19H14V17H12C10.89 17 10 16.11 10 15V9C10 7.89 10.89 7 12 7H14V5M14 7V9H16V7M14 9H12V15H14M14 15V17H16V15M5 7H7C8.11 7 9 7.89 9 9V15C9 16.11 8.11 17 7 17H5C3.89 17 3 16.11 3 15V9C3 7.89 3.89 7 5 7M17 7V17H19V13H20V14H21V17H23V14H22V12H23V8H22V7M5 9V15H7V9M19 9H21V11H19Z`,Pl=`M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z`,Fl=`M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z`,Il=`M12,2.5L8,7H16L12,2.5M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M8,17L12,21.5L16,17H8Z`,Ll=`M21 4H3C1.9 4 1 4.9 1 6V18C1 19.1 1.9 20 3 20H21C22.1 20 23 19.1 23 18V6C23 4.9 22.1 4 21 4M21 18H3V6H21V18M14.5 11L11 15.5L8.5 12.5L5 17H19L14.5 11Z`,Rl=`M14.53 1.45L13.45 2.53L15.05 4.13C15.27 4.38 15.38 4.67 15.38 5S15.27 5.64 15.05 5.86L11.5 9.47L12.5 10.55L16.13 6.94C16.66 6.35 16.92 5.7 16.92 5C16.92 4.3 16.66 3.64 16.13 3.05L14.53 1.45M10.55 3.47L9.47 4.55L10.08 5.11C10.3 5.33 10.41 5.63 10.41 6S10.3 6.67 10.08 6.89L9.47 7.45L10.55 8.53L11.11 7.92C11.64 7.33 11.91 6.69 11.91 6C11.91 5.28 11.64 4.63 11.11 4.03L10.55 3.47M21 5.06C20.31 5.06 19.67 5.33 19.08 5.86L13.45 11.5L14.53 12.5L20.11 6.94C20.36 6.69 20.66 6.56 21 6.56S21.64 6.69 21.89 6.94L22.5 7.55L23.53 6.47L22.97 5.86C22.38 5.33 21.72 5.06 21 5.06M7 8L2 22L16 17L7 8M19 11.06C18.3 11.06 17.66 11.33 17.06 11.86L15.47 13.45L16.55 14.53L18.14 12.94C18.39 12.69 18.67 12.56 19 12.56C19.33 12.56 19.63 12.69 19.88 12.94L21.5 14.53L22.55 13.5L20.95 11.86C20.36 11.33 19.7 11.06 19 11.06Z`,zl=`M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z`,Bl=`M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M10,8V16L15,12L10,8Z`,Vl=`M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M10,16.5L16,12L10,7.5V16.5Z`,Hl=`M19 5V19H5V5H19M21 3H3V21H21V3M17 17H7V16H17V17M17 15H7V14H17V15M17 12H7V7H17V12Z`,Ul=`M6.5 9C7.3 9 8 9.7 8 10.5V11.5C8 12.1 7.6 12.6 7.1 12.9L8 15H6.5L5.6 13H4.5V15H3V9H6.5M6.5 11.5V10.5H4.5V11.5H6.5M10.25 9H12.75L14.25 15H12.75L12.38 13.5H10.63L10.25 15H8.75L10.25 9M11 12H12L11.75 11H11.25L11 12M20 9H21.5L20 15H18.5L17.74 11.96L17 15H15.5L14 9H15.5L16.24 12L17 9H18.5L19.24 12L20 9Z`,Wl=`M16,16.92C15.67,16.97 15.34,17 15,17C14.66,17 14.33,16.97 14,16.92V13.41L11.5,15.89C11,15.5 10.5,15 10.11,14.5L12.59,12H9.08C9.03,11.67 9,11.34 9,11C9,10.66 9.03,10.33 9.08,10H12.59L10.11,7.5C10.3,7.25 10.5,7 10.76,6.76V6.76C11,6.5 11.25,6.3 11.5,6.11L14,8.59V5.08C14.33,5.03 14.66,5 15,5C15.34,5 15.67,5.03 16,5.08V8.59L18.5,6.11C19,6.5 19.5,7 19.89,7.5L17.41,10H20.92C20.97,10.33 21,10.66 21,11C21,11.34 20.97,11.67 20.92,12H17.41L19.89,14.5C19.7,14.75 19.5,15 19.24,15.24V15.24C19,15.5 18.75,15.7 18.5,15.89L16,13.41V16.92H16V16.92M5,19A2,2 0 0,1 7,17A2,2 0 0,1 9,19A2,2 0 0,1 7,21A2,2 0 0,1 5,19H5Z`,Gl=`M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z`,Kl=`M13.13 22.19L11.5 18.36C13.07 17.78 14.54 17 15.9 16.09L13.13 22.19M5.64 12.5L1.81 10.87L7.91 8.1C7 9.46 6.22 10.93 5.64 12.5M21.61 2.39C21.61 2.39 16.66 .269 11 5.93C8.81 8.12 7.5 10.53 6.65 12.64C6.37 13.39 6.56 14.21 7.11 14.77L9.24 16.89C9.79 17.45 10.61 17.63 11.36 17.35C13.5 16.53 15.88 15.19 18.07 13C23.73 7.34 21.61 2.39 21.61 2.39M14.54 9.46C13.76 8.68 13.76 7.41 14.54 6.63S16.59 5.85 17.37 6.63C18.14 7.41 18.15 8.68 17.37 9.46C16.59 10.24 15.32 10.24 14.54 9.46M8.88 16.53L7.47 15.12L8.88 16.53M6.24 22L9.88 18.36C9.54 18.27 9.21 18.12 8.91 17.91L4.83 22H6.24M2 22H3.41L8.18 17.24L6.76 15.83L2 20.59V22M2 19.17L6.09 15.09C5.88 14.79 5.73 14.47 5.64 14.12L2 17.76V19.17Z`,ql=`M12 7C6.5 7 2 9.2 2 12C2 14.2 4.9 16.1 9 16.8V20L13 16L9 12V14.7C5.8 14.1 4 12.8 4 12C4 10.9 7 9 12 9S20 10.9 20 12C20 12.7 18.5 13.9 16 14.5V16.6C19.5 15.8 22 14.1 22 12C22 9.2 17.5 7 12 7Z`,Jl=`M12,3C10.73,3 9.6,3.8 9.18,5H3V7H4.95L2,14C1.53,16 3,17 5.5,17C8,17 9.56,16 9,14L6.05,7H9.17C9.5,7.85 10.15,8.5 11,8.83V20H2V22H22V20H13V8.82C13.85,8.5 14.5,7.85 14.82,7H17.95L15,14C14.53,16 16,17 18.5,17C21,17 22.56,16 22,14L19.05,7H21V5H14.83C14.4,3.8 13.27,3 12,3M12,5A1,1 0 0,1 13,6A1,1 0 0,1 12,7A1,1 0 0,1 11,6A1,1 0 0,1 12,5M5.5,10.25L7,14H4L5.5,10.25M18.5,10.25L20,14H17L18.5,10.25Z`,Yl=`M15,20A1,1 0 0,0 16,19V4H8A1,1 0 0,0 7,5V16H5V5A3,3 0 0,1 8,2H19A3,3 0 0,1 22,5V6H20V5A1,1 0 0,0 19,4A1,1 0 0,0 18,5V9L18,19A3,3 0 0,1 15,22H5A3,3 0 0,1 2,19V18H13A2,2 0 0,0 15,20M9,6H14V8H9V6M9,10H14V12H9V10M9,14H14V16H9V14Z`,Xl=`M12,12H19C18.47,16.11 15.72,19.78 12,20.92V12H5V6.3L12,3.19M12,1L3,5V11C3,16.55 6.84,21.73 12,23C17.16,21.73 21,16.55 21,11V5L12,1Z`,Zl=`M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z`,Ql=`M21,12L14,5V9C7,10 4,15 3,20C5.5,16.5 9,14.9 14,14.9V19L21,12Z`,$l=`M11 9V5L18 12L11 19V14.9C6 14.9 2.5 16.5 0 20C1 15 4 10 11 9M17 8V5L24 12L17 19V16L21 12L17 8Z`,eu=`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M14 16V13C10.39 13 7.81 14.43 6 17C6.72 13.33 8.94 9.73 14 9V6L19 11L14 16Z`,tu=`M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z`,nu=`M19 6H17C17 3.2 14.8 1 12 1S7 3.2 7 6H5C3.9 6 3 6.9 3 8V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V8C21 6.9 20.1 6 19 6M12 3C13.7 3 15 4.3 15 6H9C9 4.3 10.3 3 12 3M19 20H5V8H19V20M12 12C10.3 12 9 10.7 9 9H7C7 11.8 9.2 14 12 14S17 11.8 17 9H15C15 10.7 13.7 12 12 12Z`,ru=`M12 16C13.66 16 15 14.66 15 13C15 11.88 14.39 10.9 13.5 10.39L3.79 4.77L9.32 14.35C9.82 15.33 10.83 16 12 16M12 3C10.19 3 8.5 3.5 7.03 4.32L9.13 5.53C10 5.19 11 5 12 5C16.42 5 20 8.58 20 13C20 15.21 19.11 17.21 17.66 18.65H17.65C17.26 19.04 17.26 19.67 17.65 20.06C18.04 20.45 18.68 20.45 19.07 20.07C20.88 18.26 22 15.76 22 13C22 7.5 17.5 3 12 3M2 13C2 15.76 3.12 18.26 4.93 20.07C5.32 20.45 5.95 20.45 6.34 20.06C6.73 19.67 6.73 19.04 6.34 18.65C4.89 17.2 4 15.21 4 13C4 12 4.19 11 4.54 10.1L3.33 8C2.5 9.5 2 11.18 2 13Z`,iu=`M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z`,au=`M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z`,ou=`M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z`,su=`M16.8 17C16.4 15.8 15.3 15 14 15C12.3 15 11 16.3 11 18S12.3 21 14 21C15.3 21 16.4 20.2 16.8 19H19V21H21V19H23V17H16.8M14 19C13.4 19 13 18.5 13 18S13.4 17 14 17 15 17.5 15 18 14.6 19 14 19M9 18H4V14H10V15C10.9 13.8 12.4 13 14 13C15.1 13 16.1 13.4 17 14H18V15H20V6C20 4.9 19.1 4 18 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H9.4C9.1 19.4 9 18.7 9 18M12 8H18V12H12V8M4 8H10V12H4V8Z`,cu=`M5.5,7A1.5,1.5 0 0,1 4,5.5A1.5,1.5 0 0,1 5.5,4A1.5,1.5 0 0,1 7,5.5A1.5,1.5 0 0,1 5.5,7M21.41,11.58L12.41,2.58C12.05,2.22 11.55,2 11,2H4C2.89,2 2,2.89 2,4V11C2,11.55 2.22,12.05 2.59,12.41L11.58,21.41C11.95,21.77 12.45,22 13,22C13.55,22 14.05,21.77 14.41,21.41L21.41,14.41C21.78,14.05 22,13.55 22,13C22,12.44 21.77,11.94 21.41,11.58Z`,lu=`M15,18C11.68,18 9,15.31 9,12C9,8.68 11.68,6 15,6A6,6 0 0,1 21,12A6,6 0 0,1 15,18M4,13A1,1 0 0,1 3,12A1,1 0 0,1 4,11A1,1 0 0,1 5,12A1,1 0 0,1 4,13M22,3H7.63C6.97,3 6.38,3.32 6,3.81L0,12L6,20.18C6.38,20.68 6.97,21 7.63,21H22A2,2 0 0,0 24,19V5C24,3.89 23.1,3 22,3M13,11A1,1 0 0,0 14,10A1,1 0 0,0 13,9A1,1 0 0,0 12,10A1,1 0 0,0 13,11M15,16C16.86,16 18.35,14.72 18.8,13H11.2C11.65,14.72 13.14,16 15,16M17,11A1,1 0 0,0 18,10A1,1 0 0,0 17,9A1,1 0 0,0 16,10A1,1 0 0,0 17,11Z`,uu=`M5.5,9A1.5,1.5 0 0,0 7,7.5A1.5,1.5 0 0,0 5.5,6A1.5,1.5 0 0,0 4,7.5A1.5,1.5 0 0,0 5.5,9M17.41,11.58C17.77,11.94 18,12.44 18,13C18,13.55 17.78,14.05 17.41,14.41L12.41,19.41C12.05,19.77 11.55,20 11,20C10.45,20 9.95,19.78 9.58,19.41L2.59,12.42C2.22,12.05 2,11.55 2,11V6C2,4.89 2.89,4 4,4H9C9.55,4 10.05,4.22 10.41,4.58L17.41,11.58M13.54,5.71L14.54,4.71L21.41,11.58C21.78,11.94 22,12.45 22,13C22,13.55 21.78,14.05 21.42,14.41L16.04,19.79L15.04,18.79L20.75,13L13.54,5.71Z`,du=`M21,6V8H3V6H21M3,18H12V16H3V18M3,13H21V11H3V13Z`,fu=`M7.5,2C5.71,3.15 4.5,5.18 4.5,7.5C4.5,9.82 5.71,11.85 7.53,13C4.46,13 2,10.54 2,7.5A5.5,5.5 0 0,1 7.5,2M19.07,3.5L20.5,4.93L4.93,20.5L3.5,19.07L19.07,3.5M12.89,5.93L11.41,5L9.97,6L10.39,4.3L9,3.24L10.75,3.12L11.33,1.47L12,3.1L13.73,3.13L12.38,4.26L12.89,5.93M9.59,9.54L8.43,8.81L7.31,9.59L7.65,8.27L6.56,7.44L7.92,7.35L8.37,6.06L8.88,7.33L10.24,7.36L9.19,8.23L9.59,9.54M19,13.5A5.5,5.5 0 0,1 13.5,19C12.28,19 11.15,18.6 10.24,17.93L17.93,10.24C18.6,11.15 19,12.28 19,13.5M14.6,20.08L17.37,18.93L17.13,22.28L14.6,20.08M18.93,17.38L20.08,14.61L22.28,17.15L18.93,17.38M20.08,12.42L18.94,9.64L22.28,9.88L20.08,12.42M9.63,18.93L12.4,20.08L9.87,22.27L9.63,18.93Z`,pu=`M4 2V8H2V2H4M2 22V16H4V22H2M5 12C5 13.11 4.11 14 3 14C1.9 14 1 13.11 1 12C1 10.9 1.9 10 3 10C4.11 10 5 10.9 5 12M24 6V18C24 19.11 23.11 20 22 20H10C8.9 20 8 19.11 8 18V14L6 12L8 10V6C8 4.89 8.9 4 10 4H22C23.11 4 24 4.89 24 6M10 6V18H22V6H10Z`,mu=`M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z`,hu=`M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z`,gu=`M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z`,_u=`M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z`,vu=`M19 8H15V14H9V8H5L12 1L19 8M14.17 6L12 3.83L9.83 6H11V12H13V6H14.17M5 16V18H19V16H5M19 20V22H5V20H19Z`,yu=`M3,1C1.89,1 1,1.89 1,3V14C1,15.11 1.89,16 3,16C4.33,16 7,16 7,16C7,16 7,18.67 7,20C7,21.11 7.89,22 9,22H20C21.11,22 22,21.11 22,20V9C22,7.89 21.11,7 20,7C18.67,7 16,7 16,7C16,7 16,4.33 16,3C16,1.89 15.11,1 14,1H3M3,3H14C14,4.33 14,7 14,7H9C7.89,7 7,7.89 7,9V14C7,14 4.33,14 3,14V3M9,9H14V14H9V9M16,9C16,9 18.67,9 20,9V20H9C9,18.67 9,16 9,16H14C15.11,16 16,15.11 16,14V9Z`,bu=`M17,10.5V7A1,1 0 0,0 16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5Z`,xu=`M15,8V16H5V8H15M16,6H4A1,1 0 0,0 3,7V17A1,1 0 0,0 4,18H16A1,1 0 0,0 17,17V13.5L21,17.5V6.5L17,10.5V7A1,1 0 0,0 16,6Z`,Su=`M8 13H12V15L15 12L12 9V11H8V9L5 12L8 15V13M18 9.5V6C18 5.4 17.5 5 17 5H3C2.5 5 2 5.4 2 6V18C2 18.5 2.5 19 3 19H17C17.5 19 18 18.5 18 18V14.5L22 18.5V5.5L18 9.5M16 17H4V7H16V17Z`,Cu=`M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z`,wu=`M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z`,Tu=`M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z`,Eu=`M21,5H3V7H21V5M3,19H10V17H3V19M3,13H18C19,13 20,13.43 20,15C20,16.57 19,17 18,17H16V15L12,18L16,21V19H18C20.95,19 22,17.73 22,15C22,12.28 21,11 18,11H3V13Z`,Du=new Set([`$$slots`,`$$events`,`$$legacy`,`tag`,`color`,`fontWeight`,`variant`,`size`,`class`,`children`]);function Ou(e,t){g(t,!0);let i=j(t,`tag`,3,`p`),a=I(t,Du),o=ve({variants:{color:{muted:`text-gray-600 dark:text-gray-400`,primary:`text-primary`,secondary:`text-dark`,success:`text-success`,danger:`text-danger`,warning:`text-warning`,info:`text-info`},fontWeight:V.fontWeight,size:V.textSize,variant:{italic:`italic`}}}),s=z(()=>ye(o({color:t.color,size:t.size,fontWeight:t.fontWeight,variant:t.variant}),t.class));var c=b();de(R(c),i,!1,(e,r)=>{N(e,()=>({class:E(s),...a}));var i=b();n(R(i),()=>t.children??B),f(r,i)}),f(e,c),r()}var ku=new Set([`$$slots`,`$$events`,`$$legacy`,`color`,`inline`,`size`,`fontWeight`,`class`]);function Au(e,t){g(t,!0);let n=j(t,`fontWeight`,3,`normal`),i=I(t,ku),a=ve({variants:{size:V.textSize}});{let r=z(()=>t.inline?`span`:`p`),o=z(()=>ye(a({size:t.size}),t.class));Ou(e,ue({get tag(){return E(r)},get color(){return t.color},get fontWeight(){return n()},get class(){return E(o)}},()=>i))}r()}var ju=new Set([`$$slots`,`$$events`,`$$legacy`,`tag`,`size`,`fontWeight`,`class`,`children`]);function Mu(e,t){g(t,!0);let i=j(t,`tag`,3,`p`),a=j(t,`size`,3,`medium`),o=j(t,`fontWeight`,3,`bold`),s=I(t,ju),c=ve({base:`leading-none tracking-tight`,variants:{size:{tiny:`text-sm md:text-base`,small:`text-lg md:text-xl`,medium:`text-xl md:text-2xl`,large:`text-3xl md:text-4xl`,giant:`text-4xl md:text-5xl`,title:`text-5xl md:text-6xl`}}}),l=z(()=>ye(c({size:a()}),t.class));Ou(e,ue({get tag(){return i()},get fontWeight(){return o()},get class(){return E(l)}},()=>s,{children:(e,r)=>{var i=b();n(R(i),()=>t.children??B),f(e,i)},$$slots:{default:!0}})),r()}var Nu=class extends Error{},Pu=class extends Nu{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Fu=class extends Nu{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},Iu=class extends Nu{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},Lu=class extends Nu{},Ru=class extends Nu{constructor(e){super(`Invalid unit ${e}`)}},G=class extends Nu{},zu=class extends Nu{constructor(){super(`Zone is an abstract class`)}},K=`numeric`,Bu=`short`,Vu=`long`,Hu={year:K,month:K,day:K},Uu={year:K,month:Bu,day:K},Wu={year:K,month:Bu,day:K,weekday:Bu},Gu={year:K,month:Vu,day:K},Ku={year:K,month:Vu,day:K,weekday:Vu},qu={hour:K,minute:K},Ju={hour:K,minute:K,second:K},Yu={hour:K,minute:K,second:K,timeZoneName:Bu},Xu={hour:K,minute:K,second:K,timeZoneName:Vu},Zu={hour:K,minute:K,hourCycle:`h23`},Qu={hour:K,minute:K,second:K,hourCycle:`h23`},$u={hour:K,minute:K,second:K,hourCycle:`h23`,timeZoneName:Bu},ed={hour:K,minute:K,second:K,hourCycle:`h23`,timeZoneName:Vu},td={year:K,month:K,day:K,hour:K,minute:K},nd={year:K,month:K,day:K,hour:K,minute:K,second:K},rd={year:K,month:Bu,day:K,hour:K,minute:K},id={year:K,month:Bu,day:K,hour:K,minute:K,second:K},ad={year:K,month:Bu,day:K,weekday:Bu,hour:K,minute:K},od={year:K,month:Vu,day:K,hour:K,minute:K,timeZoneName:Bu},sd={year:K,month:Vu,day:K,hour:K,minute:K,second:K,timeZoneName:Bu},cd={year:K,month:Vu,day:K,weekday:Vu,hour:K,minute:K,timeZoneName:Vu},ld={year:K,month:Vu,day:K,weekday:Vu,hour:K,minute:K,second:K,timeZoneName:Vu},ud=class{get type(){throw new zu}get name(){throw new zu}get ianaName(){return this.name}get isUniversal(){throw new zu}offsetName(e,t){throw new zu}formatOffset(e,t){throw new zu}offset(e){throw new zu}equals(e){throw new zu}get isValid(){throw new zu}},dd=null,fd=class e extends ud{static get instance(){return dd===null&&(dd=new e),dd}get type(){return`system`}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return Zf(e,t,n)}formatOffset(e,t){return tp(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type===`system`}get isValid(){return!0}},pd=new Map;function md(e){let t=pd.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,era:`short`}),pd.set(e,t)),t}var hd={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function gd(e,t){let n=e.format(t).replace(/\u200E/g,``),[,r,i,a,o,s,c,l]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n);return[a,r,i,o,s,c,l]}function _d(e,t){let n=e.formatToParts(t),r=[];for(let e=0;e=0?f:1e3+f,(u-d)/(60*1e3)}equals(e){return e.type===`iana`&&e.name===this.name}get isValid(){return this.valid}},bd={};function xd(e,t={}){let n=JSON.stringify([e,t]),r=bd[n];return r||(r=new Intl.ListFormat(e,t),bd[n]=r),r}var Sd=new Map;function Cd(e,t={}){let n=JSON.stringify([e,t]),r=Sd.get(n);return r===void 0&&(r=new Intl.DateTimeFormat(e,t),Sd.set(n,r)),r}var wd=new Map;function Td(e,t={}){let n=JSON.stringify([e,t]),r=wd.get(n);return r===void 0&&(r=new Intl.NumberFormat(e,t),wd.set(n,r)),r}var Ed=new Map;function Dd(e,t={}){let{base:n,...r}=t,i=JSON.stringify([e,r]),a=Ed.get(i);return a===void 0&&(a=new Intl.RelativeTimeFormat(e,t),Ed.set(i,a)),a}var Od=null;function kd(){return Od||(Od=new Intl.DateTimeFormat().resolvedOptions().locale,Od)}var Ad=new Map;function jd(e){let t=Ad.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),Ad.set(e,t)),t}var Md=new Map;function Nd(e){let t=Md.get(e);if(!t){let n=new Intl.Locale(e);t=`getWeekInfo`in n?n.getWeekInfo():n.weekInfo,`minimalDays`in t||(t={...Ud,...t}),Md.set(e,t)}return t}function Pd(e){let t=e.indexOf(`-x-`);t!==-1&&(e=e.substring(0,t));let n=e.indexOf(`-u-`);if(n===-1)return[e];{let t,r;try{t=Cd(e).resolvedOptions(),r=e}catch{let i=e.substring(0,n);t=Cd(i).resolvedOptions(),r=i}let{numberingSystem:i,calendar:a}=t;return[r,i,a]}}function Fd(e,t,n){return n||t?(e.includes(`-u-`)||(e+=`-u`),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}function Id(e){let t=[];for(let n=1;n0){let t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=Td(e,t)}}format(e){if(this.inf){let t=this.floor?Math.floor(e):e;return this.inf.format(t)}else return X(this.floor?Math.floor(e):Uf(e,3),this.padTo)}},Vd=class{constructor(e,t,n){this.opts=n,this.originalZone=void 0;let r;if(this.opts.timeZone)this.dt=e;else if(e.zone.type===`fixed`){let t=-1*(e.offset/60),n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;e.offset!==0&&yd.create(n).valid?(r=n,this.dt=e):(r=`UTC`,this.dt=e.offset===0?e:e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type===`system`?this.dt=e:e.zone.type===`iana`?(this.dt=e,r=e.zone.name):(r=`UTC`,this.dt=e.setZone(`UTC`).plus({minutes:e.offset}),this.originalZone=e.zone);let i={...this.opts};i.timeZone=i.timeZone||r,this.dtf=Cd(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(``):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if(e.type===`timeZoneName`){let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}else return e}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Hd=class{constructor(e,t,n){this.opts={style:`long`,...n},!t&&jf()&&(this.rtf=Dd(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):bp(t,e,this.opts.numeric,this.opts.style!==`long`)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}},Ud={firstDay:1,minimalDays:4,weekend:[6,7]},q=class e{static fromOpts(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,i,a=!1){let o=t||J.defaultLocale,s=o||(a?`en-US`:kd()),c=n||J.defaultNumberingSystem,l=r||J.defaultOutputCalendar,u=Lf(i)||J.defaultWeekSettings;return new e(s,c,l,u,o)}static resetCache(){Od=null,Sd.clear(),wd.clear(),Ed.clear(),Ad.clear(),Md.clear()}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:i}={}){return e.create(t,n,r,i)}constructor(e,t,n,r,i){let[a,o,s]=Pd(e);this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.weekSettings=r,this.intl=Fd(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached??=zd(this),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem===`latn`)&&(this.outputCalendar===null||this.outputCalendar===`gregory`);return e&&t?`en`:`intl`}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Lf(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Rd(this,e,op,()=>{let n=this.intl===`ja`||this.intl.startsWith(`ja-`);t&=!n;let r=t?{month:e,day:`numeric`}:{month:e},i=t?`format`:`standalone`;if(!this.monthsCache[i][e]){let t=n?e=>this.dtFormatter(e,r).format():e=>this.extract(e,r,`month`);this.monthsCache[i][e]=Id(t)}return this.monthsCache[i][e]})}weekdays(e,t=!1){return Rd(this,e,up,()=>{let n=t?{weekday:e,year:`numeric`,month:`long`,day:`numeric`}:{weekday:e},r=t?`format`:`standalone`;return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=Ld(e=>this.extract(e,n,`weekday`))),this.weekdaysCache[r][e]})}meridiems(){return Rd(this,void 0,()=>dp,()=>{if(!this.meridiemCache){let e={hour:`numeric`,hourCycle:`h12`};this.meridiemCache=[Q.utc(2016,11,13,9),Q.utc(2016,11,13,19)].map(t=>this.extract(t,e,`dayperiod`))}return this.meridiemCache})}eras(e){return Rd(this,e,hp,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Q.utc(-40,1,1),Q.utc(2017,1,1)].map(e=>this.extract(e,t,`era`))),this.eraCache[e]})}extract(e,t,n){let r=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===n);return r?r.value:null}numberFormatter(e={}){return new Bd(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Vd(e,this.intl,t)}relFormatter(e={}){return new Hd(this.intl,this.isEnglish(),e)}listFormatter(e={}){return xd(this.intl,e)}isEnglish(){return this.locale===`en`||this.locale.toLowerCase()===`en-us`||jd(this.intl).locale.startsWith(`en-us`)}getWeekSettings(){return this.weekSettings?this.weekSettings:Mf()?Nd(this.locale):Ud}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},Wd=null,Gd=class e extends ud{static get utcInstance(){return Wd===null&&(Wd=new e(0)),Wd}static instance(t){return t===0?e.utcInstance:new e(t)}static parseSpecifier(t){if(t){let n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(Qf(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return`fixed`}get name(){return this.fixed===0?`UTC`:`UTC${tp(this.fixed,`narrow`)}`}get ianaName(){return this.fixed===0?`Etc/UTC`:`Etc/GMT${tp(-this.fixed,`narrow`)}`}offsetName(){return this.name}formatOffset(e,t){return tp(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type===`fixed`&&e.fixed===this.fixed}get isValid(){return!0}},Kd=class extends ud{constructor(e){super(),this.zoneName=e}get type(){return`invalid`}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return``}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function qd(e,t){if(Y(e)||e===null)return t;if(e instanceof ud)return e;if(kf(e)){let n=e.toLowerCase();return n==="default"?t:n===`local`||n===`system`?fd.instance:n===`utc`||n===`gmt`?Gd.utcInstance:Gd.parseSpecifier(n)||yd.create(e)}else if(Df(e))return Gd.instance(e);else if(typeof e==`object`&&`offset`in e&&typeof e.offset==`function`)return e;else return new Kd(e)}var Jd={arab:`[٠-٩]`,arabext:`[۰-۹]`,bali:`[᭐-᭙]`,beng:`[০-৯]`,deva:`[०-९]`,fullwide:`[0-9]`,gujr:`[૦-૯]`,hanidec:`[〇|一|二|三|四|五|六|七|八|九]`,khmr:`[០-៩]`,knda:`[೦-೯]`,laoo:`[໐-໙]`,limb:`[᥆-᥏]`,mlym:`[൦-൯]`,mong:`[᠐-᠙]`,mymr:`[၀-၉]`,orya:`[୦-୯]`,tamldec:`[௦-௯]`,telu:`[౦-౯]`,thai:`[๐-๙]`,tibt:`[༠-༩]`,latn:`\\d`},Yd={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Xd=Jd.hanidec.replace(/[\[|\]]/g,``).split(``);function Zd(e){let t=parseInt(e,10);if(isNaN(t)){t=``;for(let n=0;n=n&&rDate.now(),nf=`system`,rf=null,af=null,of=null,sf=60,cf,lf=null,J=class{static get now(){return tf}static set now(e){tf=e}static set defaultZone(e){nf=e}static get defaultZone(){return qd(nf,fd.instance)}static get defaultLocale(){return rf}static set defaultLocale(e){rf=e}static get defaultNumberingSystem(){return af}static set defaultNumberingSystem(e){af=e}static get defaultOutputCalendar(){return of}static set defaultOutputCalendar(e){of=e}static get defaultWeekSettings(){return lf}static set defaultWeekSettings(e){lf=Lf(e)}static get twoDigitCutoffYear(){return sf}static set twoDigitCutoffYear(e){sf=e%100}static get throwOnInvalid(){return cf}static set throwOnInvalid(e){cf=e}static resetCaches(){q.resetCache(),yd.resetCache(),Q.resetCache(),$d()}},uf=class{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},df=[0,31,59,90,120,151,181,212,243,273,304,334],ff=[0,31,60,91,121,152,182,213,244,274,305,335];function pf(e,t){return new uf(`unit out of range`,`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function mf(e,t,n){let r=new Date(Date.UTC(e,t-1,n));e=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);let i=r.getUTCDay();return i===0?7:i}function hf(e,t,n){return n+(Wf(e)?ff:df)[t-1]}function gf(e,t){let n=Wf(e)?ff:df,r=n.findIndex(e=>eYf(r,t,n)?(l=r+1,c=1):l=r,{weekYear:l,weekNumber:c,weekday:s,...np(e)}}function yf(e,t=4,n=1){let{weekYear:r,weekNumber:i,weekday:a}=e,o=_f(mf(r,1,t),n),s=Gf(r),c=i*7+a-o-7+t,l;cs?(l=r+1,c-=Gf(r)):l=r;let{month:u,day:d}=gf(l,c);return{year:l,month:u,day:d,...np(e)}}function bf(e){let{year:t,month:n,day:r}=e;return{year:t,ordinal:hf(t,n,r),...np(e)}}function xf(e){let{year:t,ordinal:n}=e,{month:r,day:i}=gf(t,n);return{year:t,month:r,day:i,...np(e)}}function Sf(e,t){if(!Y(e.localWeekday)||!Y(e.localWeekNumber)||!Y(e.localWeekYear)){if(!Y(e.weekday)||!Y(e.weekNumber)||!Y(e.weekYear))throw new Lu(`Cannot mix locale-based week fields with ISO-based week fields`);return Y(e.localWeekday)||(e.weekday=e.localWeekday),Y(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Y(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Cf(e,t=4,n=1){let r=Of(e.weekYear),i=Rf(e.weekNumber,1,Yf(e.weekYear,t,n)),a=Rf(e.weekday,1,7);return r?i?!a&&pf(`weekday`,e.weekday):pf(`week`,e.weekNumber):pf(`weekYear`,e.weekYear)}function wf(e){let t=Of(e.year),n=Rf(e.ordinal,1,Gf(e.year));return t?!n&&pf(`ordinal`,e.ordinal):pf(`year`,e.year)}function Tf(e){let t=Of(e.year),n=Rf(e.month,1,12),r=Rf(e.day,1,Kf(e.year,e.month));return t?n?!r&&pf(`day`,e.day):pf(`month`,e.month):pf(`year`,e.year)}function Ef(e){let{hour:t,minute:n,second:r,millisecond:i}=e,a=Rf(t,0,23)||t===24&&n===0&&r===0&&i===0,o=Rf(n,0,59),s=Rf(r,0,59),c=Rf(i,0,999);return a?o?s?!c&&pf(`millisecond`,i):pf(`second`,r):pf(`minute`,n):pf(`hour`,t)}function Y(e){return e===void 0}function Df(e){return typeof e==`number`}function Of(e){return typeof e==`number`&&e%1==0}function kf(e){return typeof e==`string`}function Af(e){return Object.prototype.toString.call(e)===`[object Date]`}function jf(){try{return typeof Intl{let i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i},null)[1]}function Ff(e,t){return t.reduce((t,n)=>(t[n]=e[n],t),{})}function If(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Lf(e){if(e==null)return null;if(typeof e!=`object`)throw new G(`Week settings must be an object`);if(!Rf(e.firstDay,1,7)||!Rf(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!Rf(e,1,7)))throw new G(`Invalid week settings`);return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Rf(e,t,n){return Of(e)&&e>=t&&e0?Math.ceil(e*r)/r:Math.floor(e*r)/r;case`trunc`:return Math.trunc(e*r)/r;case`round`:return Math.round(e*r)/r;case`floor`:return Math.floor(e*r)/r;case`ceil`:return Math.ceil(e*r)/r;default:throw RangeError(`Value rounding ${n} is out of range`)}}function Wf(e){return e%4==0&&(e%100!=0||e%400==0)}function Gf(e){return Wf(e)?366:365}function Kf(e,t){let n=zf(t-1,12)+1,r=e+(t-n)/12;return n===2?Wf(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function qf(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Jf(e,t,n){return-_f(mf(e,1,t),n)+t-1}function Yf(e,t=4,n=1){let r=Jf(e,t,n),i=Jf(e+1,t,n);return(Gf(e)-r+i)/7}function Xf(e){return e>99?e:e>J.twoDigitCutoffYear?1900+e:2e3+e}function Zf(e,t,n,r=null){let i=new Date(e),a={hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`};r&&(a.timeZone=r);let o={timeZoneName:t,...a},s=new Intl.DateTimeFormat(n,o).formatToParts(i).find(e=>e.type.toLowerCase()===`timezonename`);return s?s.value:null}function Qf(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);let r=parseInt(t,10)||0,i=n=0?`+`:`-`;switch(t){case`short`:return`${i}${X(n,2)}:${X(r,2)}`;case`narrow`:return`${i}${n}${r>0?`:${r}`:``}`;case`techie`:return`${i}${X(n,2)}${X(r,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function np(e){return Ff(e,[`hour`,`minute`,`second`,`millisecond`])}var rp=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],ip=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],ap=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`];function op(e){switch(e){case`narrow`:return[...ap];case`short`:return[...ip];case`long`:return[...rp];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`];case`2-digit`:return[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`,`10`,`11`,`12`];default:return null}}var sp=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],cp=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`,`Sun`],lp=[`M`,`T`,`W`,`T`,`F`,`S`,`S`];function up(e){switch(e){case`narrow`:return[...lp];case`short`:return[...cp];case`long`:return[...sp];case`numeric`:return[`1`,`2`,`3`,`4`,`5`,`6`,`7`];default:return null}}var dp=[`AM`,`PM`],fp=[`Before Christ`,`Anno Domini`],pp=[`BC`,`AD`],mp=[`B`,`A`];function hp(e){switch(e){case`narrow`:return[...mp];case`short`:return[...pp];case`long`:return[...fp];default:return null}}function gp(e){return dp[e.hour0||r)&&i.push({literal:r||/^\s+$/.test(n),val:n===``?`'`:n}),t=null,n=``,r=!r):r||o===t?n+=o:(n.length>0&&i.push({literal:/^\s+$/.test(n),val:n}),n=o,t=o)}return n.length>0&&i.push({literal:r||/^\s+$/.test(n),val:n}),i}static macroTokenToFormatOpts(e){return Sp[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,n=void 0){if(this.opts.forceSimple)return X(e,t);let r={...this.opts};return t>0&&(r.padTo=t),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(t,n){let r=this.loc.listingMode()===`en`,i=this.loc.outputCalendar&&this.loc.outputCalendar!==`gregory`,a=(e,n)=>this.loc.extract(t,e,n),o=e=>t.isOffsetFixed&&t.offset===0&&e.allowZ?`Z`:t.isValid?t.zone.formatOffset(t.ts,e.format):``,s=()=>r?gp(t):a({hour:`numeric`,hourCycle:`h12`},`dayperiod`),c=(e,n)=>r?vp(t,e):a(n?{month:e}:{month:e,day:`numeric`},`month`),l=(e,n)=>r?_p(t,e):a(n?{weekday:e}:{weekday:e,month:`long`,day:`numeric`},`weekday`),u=n=>{let r=e.macroTokenToFormatOpts(n);return r?this.formatWithSystemDefault(t,r):n},d=e=>r?yp(t,e):a({era:e},`era`);return xp(e.parseFormat(n),e=>{switch(e){case`S`:return this.num(t.millisecond);case`u`:case`SSS`:return this.num(t.millisecond,3);case`s`:return this.num(t.second);case`ss`:return this.num(t.second,2);case`uu`:return this.num(Math.floor(t.millisecond/10),2);case`uuu`:return this.num(Math.floor(t.millisecond/100));case`m`:return this.num(t.minute);case`mm`:return this.num(t.minute,2);case`h`:return this.num(t.hour%12==0?12:t.hour%12);case`hh`:return this.num(t.hour%12==0?12:t.hour%12,2);case`H`:return this.num(t.hour);case`HH`:return this.num(t.hour,2);case`Z`:return o({format:`narrow`,allowZ:this.opts.allowZ});case`ZZ`:return o({format:`short`,allowZ:this.opts.allowZ});case`ZZZ`:return o({format:`techie`,allowZ:this.opts.allowZ});case`ZZZZ`:return t.zone.offsetName(t.ts,{format:`short`,locale:this.loc.locale});case`ZZZZZ`:return t.zone.offsetName(t.ts,{format:`long`,locale:this.loc.locale});case`z`:return t.zoneName;case`a`:return s();case`d`:return i?a({day:`numeric`},`day`):this.num(t.day);case`dd`:return i?a({day:`2-digit`},`day`):this.num(t.day,2);case`c`:return this.num(t.weekday);case`ccc`:return l(`short`,!0);case`cccc`:return l(`long`,!0);case`ccccc`:return l(`narrow`,!0);case`E`:return this.num(t.weekday);case`EEE`:return l(`short`,!1);case`EEEE`:return l(`long`,!1);case`EEEEE`:return l(`narrow`,!1);case`L`:return i?a({month:`numeric`,day:`numeric`},`month`):this.num(t.month);case`LL`:return i?a({month:`2-digit`,day:`numeric`},`month`):this.num(t.month,2);case`LLL`:return c(`short`,!0);case`LLLL`:return c(`long`,!0);case`LLLLL`:return c(`narrow`,!0);case`M`:return i?a({month:`numeric`},`month`):this.num(t.month);case`MM`:return i?a({month:`2-digit`},`month`):this.num(t.month,2);case`MMM`:return c(`short`,!1);case`MMMM`:return c(`long`,!1);case`MMMMM`:return c(`narrow`,!1);case`y`:return i?a({year:`numeric`},`year`):this.num(t.year);case`yy`:return i?a({year:`2-digit`},`year`):this.num(t.year.toString().slice(-2),2);case`yyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,4);case`yyyyyy`:return i?a({year:`numeric`},`year`):this.num(t.year,6);case`G`:return d(`short`);case`GG`:return d(`long`);case`GGGGG`:return d(`narrow`);case`kk`:return this.num(t.weekYear.toString().slice(-2),2);case`kkkk`:return this.num(t.weekYear,4);case`W`:return this.num(t.weekNumber);case`WW`:return this.num(t.weekNumber,2);case`n`:return this.num(t.localWeekNumber);case`nn`:return this.num(t.localWeekNumber,2);case`ii`:return this.num(t.localWeekYear.toString().slice(-2),2);case`iiii`:return this.num(t.localWeekYear,4);case`o`:return this.num(t.ordinal);case`ooo`:return this.num(t.ordinal,3);case`q`:return this.num(t.quarter);case`qq`:return this.num(t.quarter,2);case`X`:return this.num(Math.floor(t.ts/1e3));case`x`:return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,n){let r=this.opts.signMode===`negativeLargestOnly`?-1:1,i=e=>{switch(e[0]){case`S`:return`milliseconds`;case`s`:return`seconds`;case`m`:return`minutes`;case`h`:return`hours`;case`d`:return`days`;case`w`:return`weeks`;case`M`:return`months`;case`y`:return`years`;default:return null}},a=(e,t)=>n=>{let a=i(n);if(a){let i=t.isNegativeDuration&&a!==t.largestUnit?r:1,o;return o=this.opts.signMode===`negativeLargestOnly`&&a!==t.largestUnit?`never`:this.opts.signMode===`all`?`always`:`auto`,this.num(e.get(a)*i,n.length,o)}else return n},o=e.parseFormat(n),s=o.reduce((e,{literal:t,val:n})=>t?e:e.concat(n),[]),c=t.shiftTo(...s.map(i).filter(e=>e));return xp(o,a(c,{isNegativeDuration:ce+t.source,``);return RegExp(`^${t}$`)}function Ep(...e){return t=>e.reduce(([e,n,r],i)=>{let[a,o,s]=i(t,r);return[{...e,...a},o||n,s]},[{},null,1]).slice(0,2)}function Dp(e,...t){if(e==null)return[null,null];for(let[n,r]of t){let t=n.exec(e);if(t)return r(t)}return[null,null]}function Op(...e){return(t,n)=>{let r={},i;for(i=0;ie!==void 0&&(t||e&&u)?-e:e;return[{years:f(Vf(n)),months:f(Vf(r)),weeks:f(Vf(i)),days:f(Vf(a)),hours:f(Vf(o)),minutes:f(Vf(s)),seconds:f(Vf(c),c===`-0`),milliseconds:f(Hf(l),d)}]}var Xp={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zp(e,t,n,r,i,a,o){let s={year:t.length===2?Xf(Bf(t)):Bf(t),month:ip.indexOf(n)+1,day:Bf(r),hour:Bf(i),minute:Bf(a)};return o&&(s.second=Bf(o)),e&&(s.weekday=e.length>3?sp.indexOf(e)+1:cp.indexOf(e)+1),s}var Qp=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $p(e){let[,t,n,r,i,a,o,s,c,l,u,d]=e,f=Zp(t,i,r,n,a,o,s),p;return p=c?Xp[c]:l?0:Qf(u,d),[f,new Gd(p)]}function em(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).trim()}var tm=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,nm=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,rm=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function im(e){let[,t,n,r,i,a,o,s]=e;return[Zp(t,i,r,n,a,o,s),Gd.utcInstance]}function am(e){let[,t,n,r,i,a,o,s]=e;return[Zp(t,s,n,r,i,a,o),Gd.utcInstance]}var om=Tp(Pp,Np),sm=Tp(Fp,Np),cm=Tp(Ip,Np),lm=Tp(Mp),um=Ep(Up,Wp,Gp,Kp),dm=Ep(Lp,Wp,Gp,Kp),fm=Ep(Rp,Wp,Gp,Kp),pm=Ep(Wp,Gp,Kp);function mm(e){return Dp(e,[om,um],[sm,dm],[cm,fm],[lm,pm])}function hm(e){return Dp(em(e),[Qp,$p])}function gm(e){return Dp(e,[tm,im],[nm,im],[rm,am])}function _m(e){return Dp(e,[Jp,Yp])}var vm=Ep(Wp);function ym(e){return Dp(e,[qp,vm])}var bm=Tp(zp,Vp),xm=Tp(Bp),Sm=Ep(Wp,Gp,Kp);function Cm(e){return Dp(e,[bm,um],[xm,Sm])}var wm=`Invalid Duration`,Tm={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Em={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Tm},Dm=146097/400,Om=146097/4800,km={years:{quarters:4,months:12,weeks:Dm/7,days:Dm,hours:Dm*24,minutes:Dm*24*60,seconds:Dm*24*60*60,milliseconds:Dm*24*60*60*1e3},quarters:{months:3,weeks:Dm/28,days:Dm/4,hours:Dm*24/4,minutes:Dm*24*60/4,seconds:Dm*24*60*60/4,milliseconds:Dm*24*60*60*1e3/4},months:{weeks:Om/7,days:Om,hours:Om*24,minutes:Om*24*60,seconds:Om*24*60*60,milliseconds:Om*24*60*60*1e3},...Tm},Am=[`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],jm=Am.slice(0).reverse();function Mm(e,t,n=!1){return new Im({values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function Nm(e,t){let n=t.milliseconds??0;for(let r of jm.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function Pm(e,t){let n=Nm(e,t){if(Y(t[i]))return r;if(r){let a=t[r]*n,o=e[i][r],s=Math.floor(a/o);t[i]+=s*n,t[r]-=s*o*n}return i},null),Am.reduce((n,r)=>{if(Y(t[r]))return n;if(n){let i=t[n]%1;t[n]-=i,t[r]+=i*e[n][r]}return r},null)}function Fm(e){let t={};for(let[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}var Im=class e{constructor(e){let t=e.conversionAccuracy===`longterm`||!1,n=t?km:Em;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||q.create(),this.conversionAccuracy=t?`longterm`:`casual`,this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,n){return e.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(typeof t!=`object`||!t)throw new G(`Duration.fromObject: argument expected to be an object, got ${t===null?`null`:typeof t}`);return new e({values:ep(t,e.normalizeUnit),loc:q.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(Df(t))return e.fromMillis(t);if(e.isDuration(t))return t;if(typeof t==`object`)return e.fromObject(t);throw new G(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){let[r]=_m(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){let[r]=ym(t);return r?e.fromObject(r,n):e.invalid(`unparsable`,`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new G(`need to specify a reason the Duration is invalid`);let r=t instanceof uf?t:new uf(t,n);if(J.throwOnInvalid)throw new Iu(r);return new e({invalid:r})}static normalizeUnit(e){let t={year:`years`,years:`years`,quarter:`quarters`,quarters:`quarters`,month:`months`,months:`months`,week:`weeks`,weeks:`weeks`,day:`days`,days:`days`,hour:`hours`,hours:`hours`,minute:`minutes`,minutes:`minutes`,second:`seconds`,seconds:`seconds`,millisecond:`milliseconds`,milliseconds:`milliseconds`}[e&&e.toLowerCase()];if(!t)throw new Ru(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let n={...t,floor:t.round!==!1&&t.floor!==!1};return this.isValid?Cp.create(this.loc,n).formatDurationFromString(this,e):wm}toHuman(e={}){if(!this.isValid)return wm;let t=e.showZeros!==!1,n=Am.map(n=>{let r=this.values[n];return Y(r)||r===0&&!t?null:this.loc.numberFormatter({style:`unit`,unitDisplay:`long`,...e,unit:n.slice(0,-1)}).format(r)}).filter(e=>e);return this.loc.listFormatter({type:`conjunction`,style:e.listStyle||`narrow`,...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e=`P`;return this.years!==0&&(e+=this.years+`Y`),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+`M`),this.weeks!==0&&(e+=this.weeks+`W`),this.days!==0&&(e+=this.days+`D`),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+=`T`),this.hours!==0&&(e+=this.hours+`H`),this.minutes!==0&&(e+=this.minutes+`M`),(this.seconds!==0||this.milliseconds!==0)&&(e+=Uf(this.seconds+this.milliseconds/1e3,3)+`S`),e===`P`&&(e+=`T0S`),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:`extended`,...e,includeOffset:!1},Q.fromMillis(t,{zone:`UTC`}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Nm(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t),r={};for(let e of Am)(If(n.values,e)||If(this.values,e))&&(r[e]=n.get(e)+this.get(e));return Mm(this,{values:r},!0)}minus(t){if(!this.isValid)return this;let n=e.fromDurationLike(t);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let n of Object.keys(this.values))t[n]=$f(e(this.values[n],n));return Mm(this,{values:t},!0)}get(t){return this[e.normalizeUnit(t)]}set(t){if(!this.isValid)return this;let n={...this.values,...ep(t,e.normalizeUnit)};return Mm(this,{values:n})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){let i={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:r,conversionAccuracy:n};return Mm(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Pm(this.matrix,e),Mm(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Fm(this.normalize().shiftToAll().toObject());return Mm(this,{values:e},!0)}shiftTo(...t){if(!this.isValid||t.length===0)return this;t=t.map(t=>e.normalizeUnit(t));let n={},r={},i=this.toObject(),a;for(let e of Am)if(t.indexOf(e)>=0){a=e;let t=0;for(let n in r)t+=this.matrix[n][e]*r[n],r[n]=0;Df(i[e])&&(t+=i[e]);let o=Math.trunc(t);n[e]=o,r[e]=(t*1e3-o*1e3)/1e3}else Df(i[e])&&(r[e]=i[e]);for(let e in r)r[e]!==0&&(n[a]+=e===a?r[e]:r[e]/this.matrix[a][e]);return Pm(this.matrix,n),Mm(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo(`years`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return Mm(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Fm(this.values);return Mm(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(e,t){return e===void 0||e===0?t===void 0||t===0:e===t}for(let n of Am)if(!t(this.values[n],e.values[n]))return!1;return!0}},Lm=`Invalid Interval`;function Rm(e,t){return!e||!e.isValid?zm.invalid(`missing or invalid start`):!t||!t.isValid?zm.invalid(`missing or invalid end`):te:!1}isBefore(e){return this.isValid?this.ee:!1}set({start:t,end:n}={}){return this.isValid?e.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];let n=t.map(Vh).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:i}=this,a=0;for(;i+this.e?this.e:t;r.push(e.fromDateTimes(i,o)),i=o,a+=1}return r}splitBy(t){let n=Im.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as(`milliseconds`)===0)return[];let{s:r}=this,i=1,a,o=[];for(;re*i));a=+t>+this.e?this.e:t,o.push(e.fromDateTimes(r,a)),r=a,i+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(t){if(!this.isValid)return this;let n=this.s>t.s?this.s:t.s,r=this.e=r?null:e.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;let n=this.st.e?this.e:t.e;return e.fromDateTimes(n,r)}static merge(e){let[t,n]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n],[[],null]);return n&&t.push(n),t}static xor(t){let n=null,r=0,i=[],a=t.map(e=>[{time:e.s,type:`s`},{time:e.e,type:`e`}]),o=Array.prototype.concat(...a).sort((e,t)=>e.time-t.time);for(let t of o)r+=t.type===`s`?1:-1,r===1?n=t.time:(n&&+n!=+t.time&&i.push(e.fromDateTimes(n,t.time)),n=null);return e.merge(i)}difference(...t){return e.xor([this].concat(t)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Lm}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Hu,t={}){return this.isValid?Cp.create(this.s.loc.clone(t),e).formatInterval(this):Lm}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Lm}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Lm}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Lm}toFormat(e,{separator:t=` – `}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Lm}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Im.invalid(this.invalidReason)}mapEndpoints(t){return e.fromDateTimes(t(this.s),t(this.e))}},Bm=class{static hasDST(e=J.defaultZone){let t=Q.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return yd.isValidZone(e)}static normalizeZone(e){return qd(e,J.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||q.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||q.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||q.create(e)).getWeekendDays().slice()}static months(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||q.create(t,n,i)).months(e)}static monthsFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:i=`gregory`}={}){return(r||q.create(t,n,i)).months(e,!0)}static weekdays(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||q.create(t,n,null)).weekdays(e)}static weekdaysFormat(e=`long`,{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||q.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return q.create(e).meridiems()}static eras(e=`short`,{locale:t=null}={}){return q.create(t,null,`gregory`).eras(e)}static features(){return{relative:jf(),localeWeek:Mf()}}};function Vm(e,t){let n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf(`day`).valueOf(),r=n(t)-n(e);return Math.floor(Im.fromMillis(r).as(`days`))}function Hm(e,t,n){let r=[[`years`,(e,t)=>t.year-e.year],[`quarters`,(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],[`months`,(e,t)=>t.month-e.month+(t.year-e.year)*12],[`weeks`,(e,t)=>{let n=Vm(e,t);return(n-n%7)/7}],[`days`,Vm]],i={},a=e,o,s;for(let[c,l]of r)n.indexOf(c)>=0&&(o=c,i[c]=l(e,t),s=a.plus(i),s>t?(i[c]--,e=a.plus(i),e>t&&(s=e,i[c]--,e=a.plus(i))):e=s);return[e,i,s,o]}function Um(e,t,n,r){let[i,a,o,s]=Hm(e,t,n),c=t-i,l=n.filter(e=>[`hours`,`minutes`,`seconds`,`milliseconds`].indexOf(e)>=0);l.length===0&&(o0?Im.fromMillis(c,r).shiftTo(...l).plus(u):u}var Wm=`missing Intl.DateTimeFormat.formatToParts support`;function Z(e,t=e=>e){return{regex:e,deser:([e])=>t(Zd(e))}}var Gm=`[ \xA0]`,Km=new RegExp(Gm,`g`);function qm(e){return e.replace(/\./g,`\\.?`).replace(Km,Gm)}function Jm(e){return e.replace(/\./g,``).replace(Km,` `).toLowerCase()}function Ym(e,t){return e===null?null:{regex:RegExp(e.map(qm).join(`|`)),deser:([n])=>e.findIndex(e=>Jm(n)===Jm(e))+t}}function Xm(e,t){return{regex:e,deser:([,e,t])=>Qf(e,t),groups:t}}function Zm(e){return{regex:e,deser:([e])=>e}}function Qm(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,`\\$&`)}function $m(e,t){let n=ef(t),r=ef(t,`{2}`),i=ef(t,`{3}`),a=ef(t,`{4}`),o=ef(t,`{6}`),s=ef(t,`{1,2}`),c=ef(t,`{1,3}`),l=ef(t,`{1,6}`),u=ef(t,`{1,9}`),d=ef(t,`{2,4}`),f=ef(t,`{4,6}`),p=e=>({regex:RegExp(Qm(e.val)),deser:([e])=>e,literal:!0}),m=(m=>{if(e.literal)return p(m);switch(m.val){case`G`:return Ym(t.eras(`short`),0);case`GG`:return Ym(t.eras(`long`),0);case`y`:return Z(l);case`yy`:return Z(d,Xf);case`yyyy`:return Z(a);case`yyyyy`:return Z(f);case`yyyyyy`:return Z(o);case`M`:return Z(s);case`MM`:return Z(r);case`MMM`:return Ym(t.months(`short`,!0),1);case`MMMM`:return Ym(t.months(`long`,!0),1);case`L`:return Z(s);case`LL`:return Z(r);case`LLL`:return Ym(t.months(`short`,!1),1);case`LLLL`:return Ym(t.months(`long`,!1),1);case`d`:return Z(s);case`dd`:return Z(r);case`o`:return Z(c);case`ooo`:return Z(i);case`HH`:return Z(r);case`H`:return Z(s);case`hh`:return Z(r);case`h`:return Z(s);case`mm`:return Z(r);case`m`:return Z(s);case`q`:return Z(s);case`qq`:return Z(r);case`s`:return Z(s);case`ss`:return Z(r);case`S`:return Z(c);case`SSS`:return Z(i);case`u`:return Zm(u);case`uu`:return Zm(s);case`uuu`:return Z(n);case`a`:return Ym(t.meridiems(),0);case`kkkk`:return Z(a);case`kk`:return Z(d,Xf);case`W`:return Z(s);case`WW`:return Z(r);case`E`:case`c`:return Z(n);case`EEE`:return Ym(t.weekdays(`short`,!1),1);case`EEEE`:return Ym(t.weekdays(`long`,!1),1);case`ccc`:return Ym(t.weekdays(`short`,!0),1);case`cccc`:return Ym(t.weekdays(`long`,!0),1);case`Z`:case`ZZ`:return Xm(RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case`ZZZ`:return Xm(RegExp(`([+-]${s.source})(${r.source})?`),2);case`z`:return Zm(/[a-z_+-/]{1,256}?/i);case` `:return Zm(/[^\S\n\r]/);default:return p(m)}})(e)||{invalidReason:Wm};return m.token=e,m}var eh={year:{"2-digit":`yy`,numeric:`yyyyy`},month:{numeric:`M`,"2-digit":`MM`,short:`MMM`,long:`MMMM`},day:{numeric:`d`,"2-digit":`dd`},weekday:{short:`EEE`,long:`EEEE`},dayperiod:`a`,dayPeriod:`a`,hour12:{numeric:`h`,"2-digit":`hh`},hour24:{numeric:`H`,"2-digit":`HH`},minute:{numeric:`m`,"2-digit":`mm`},second:{numeric:`s`,"2-digit":`ss`},timeZoneName:{long:`ZZZZZ`,short:`ZZZ`}};function th(e,t,n){let{type:r,value:i}=e;if(r===`literal`){let e=/^\s+$/.test(i);return{literal:!e,val:e?` `:i}}let a=t[r],o=r;r===`hour`&&(o=t.hour12==null?t.hourCycle==null?n.hour12?`hour12`:`hour24`:t.hourCycle===`h11`||t.hourCycle===`h12`?`hour12`:`hour24`:t.hour12?`hour12`:`hour24`);let s=eh[o];if(typeof s==`object`&&(s=s[a]),s)return{literal:!1,val:s}}function nh(e){return[`^${e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,``)}$`,e]}function rh(e,t,n){let r=e.match(t);if(r){let e={},t=1;for(let i in n)if(If(n,i)){let a=n[i],o=a.groups?a.groups+1:1;!a.literal&&a.token&&(e[a.token.val[0]]=a.deser(r.slice(t,t+o))),t+=o}return[r,e]}else return[r,{}]}function ih(e){let t=e=>{switch(e){case`S`:return`millisecond`;case`s`:return`second`;case`m`:return`minute`;case`h`:case`H`:return`hour`;case`d`:return`day`;case`o`:return`ordinal`;case`L`:case`M`:return`month`;case`y`:return`year`;case`E`:case`c`:return`weekday`;case`W`:return`weekNumber`;case`k`:return`weekYear`;case`q`:return`quarter`;default:return null}},n=null,r;return Y(e.z)||(n=yd.create(e.z)),Y(e.Z)||(n||=new Gd(e.Z),r=e.Z),Y(e.q)||(e.M=(e.q-1)*3+1),Y(e.h)||(e.h{let i=t(r);return i&&(n[i]=e[r]),n},{}),n,r]}var ah=null;function oh(){return ah||=Q.fromMillis(1555555555555),ah}function sh(e,t){if(e.literal)return e;let n=fh(Cp.macroTokenToFormatOpts(e.val),t);return n==null||n.includes(void 0)?e:n}function ch(e,t){return Array.prototype.concat(...e.map(e=>sh(e,t)))}var lh=class{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=ch(Cp.parseFormat(t),e),this.units=this.tokens.map(t=>$m(t,e)),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){let[e,t]=nh(this.units);this.regex=RegExp(e,`i`),this.handlers=t}}explainFromTokens(e){if(this.isValid){let[t,n]=rh(e,this.regex,this.handlers),[r,i,a]=n?ih(n):[null,null,void 0];if(If(n,`a`)&&If(n,`H`))throw new Lu(`Can't include meridiem when specifying 24-hour format`);return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:r,zone:i,specificOffset:a}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function uh(e,t,n){return new lh(e,n).explainFromTokens(t)}function dh(e,t,n){let{result:r,zone:i,specificOffset:a,invalidReason:o}=uh(e,t,n);return[r,i,a,o]}function fh(e,t){if(!e)return null;let n=Cp.create(t,e).dtFormatter(oh()),r=n.formatToParts(),i=n.resolvedOptions();return r.map(t=>th(t,e,i))}var ph=`Invalid DateTime`,mh=864e13;function hh(e){return new uf(`unsupported zone`,`the zone "${e.name}" is not supported`)}function gh(e){return e.weekData===null&&(e.weekData=vf(e.c)),e.weekData}function _h(e){return e.localWeekData===null&&(e.localWeekData=vf(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function vh(e,t){let n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Q({...n,...t,old:n})}function yh(e,t,n){let r=e-t*60*1e3,i=n.offset(r);if(t===i)return[r,t];r-=(i-t)*60*1e3;let a=n.offset(r);return i===a?[r,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function bh(e,t){e+=t*60*1e3;let n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function xh(e,t,n){return yh(qf(e),t,n)}function Sh(e,t){let n=e.o,r=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:r,month:i,day:Math.min(e.c.day,Kf(r,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=Im.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as(`milliseconds`),[s,c]=yh(qf(a),n,e.zone);return o!==0&&(s+=o,c=e.zone.offset(s)),{ts:s,o:c}}function Ch(e,t,n,r,i,a){let{setZone:o,zone:s}=n;if(e&&Object.keys(e).length!==0||t){let r=t||s,i=Q.fromObject(e,{...n,zone:r,specificOffset:a});return o?i:i.setZone(s)}else return Q.invalid(new uf(`unparsable`,`the input "${i}" can't be parsed as ${r}`))}function wh(e,t,n=!0){return e.isValid?Cp.create(q.create(`en-US`),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Th(e,t,n){let r=e.c.year>9999||e.c.year=0&&(i+=`+`),i+=X(e.c.year,r?6:4),n===`year`)return i;if(t){if(i+=`-`,i+=X(e.c.month),n===`month`)return i;i+=`-`}else if(i+=X(e.c.month),n===`month`)return i;return i+=X(e.c.day),i}function Eh(e,t,n,r,i,a,o){let s=!n||e.c.millisecond!==0||e.c.second!==0,c=``;switch(o){case`day`:case`month`:case`year`:break;default:if(c+=X(e.c.hour),o===`hour`)break;if(t){if(c+=`:`,c+=X(e.c.minute),o===`minute`)break;s&&(c+=`:`,c+=X(e.c.second))}else{if(c+=X(e.c.minute),o===`minute`)break;s&&(c+=X(e.c.second))}if(o===`second`)break;s&&(!r||e.c.millisecond!==0)&&(c+=`.`,c+=X(e.c.millisecond,3))}return i&&(e.isOffsetFixed&&e.offset===0&&!a?c+=`Z`:e.o(e=Uf(e,r||n.calendary?0:2,n.calendary?`round`:i),t.loc.clone(n).relFormatter(n).format(e,a)),o=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return a(o(n.unit),n.unit);for(let e of n.units){let t=o(e);if(Math.abs(t)>=1)return a(t,e)}return a(e>t?-0:0,n.units[n.units.length-1])}function Rh(e){let t={},n;return e.length>0&&typeof e[e.length-1]==`object`?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}var zh,Bh=new Map,Q=class e{constructor(e){let t=e.zone||J.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new uf(`invalid input`):null)||(t.isValid?null:hh(t));this.ts=Y(e.ts)?J.now():e.ts;let r=null,i=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,i]=[e.old.c,e.old.o];else{let a=Df(e.o)&&!e.old?e.o:t.offset(this.ts);r=bh(this.ts,a),n=Number.isNaN(r.year)?new uf(`invalid input`):null,r=n?null:r,i=n?null:a}this._zone=t,this.loc=e.loc||q.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}static now(){return new e({})}static local(){let[e,t]=Rh(arguments),[n,r,i,a,o,s,c]=t;return Ih({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static utc(){let[e,t]=Rh(arguments),[n,r,i,a,o,s,c]=t;return e.zone=Gd.utcInstance,Ih({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c},e)}static fromJSDate(t,n={}){let r=Af(t)?t.valueOf():NaN;if(Number.isNaN(r))return e.invalid(`invalid input`);let i=qd(n.zone,J.defaultZone);return i.isValid?new e({ts:r,zone:i,loc:q.fromObject(n)}):e.invalid(hh(i))}static fromMillis(t,n={}){if(!Df(t))throw new G(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`);return tmh?e.invalid(`Timestamp out of range`):new e({ts:t,zone:qd(n.zone,J.defaultZone),loc:q.fromObject(n)})}static fromSeconds(t,n={}){if(Df(t))return new e({ts:t*1e3,zone:qd(n.zone,J.defaultZone),loc:q.fromObject(n)});throw new G(`fromSeconds requires a numerical input`)}static fromObject(t,n={}){t||={};let r=qd(n.zone,J.defaultZone);if(!r.isValid)return e.invalid(hh(r));let i=q.fromObject(n),a=ep(t,Ph),{minDaysInFirstWeek:o,startOfWeek:s}=Sf(a,i),c=J.now(),l=Y(n.specificOffset)?r.offset(c):n.specificOffset,u=!Y(a.ordinal),d=!Y(a.year),f=!Y(a.month)||!Y(a.day),p=d||f,m=a.weekYear||a.weekNumber;if((p||u)&&m)throw new Lu(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(f&&u)throw new Lu(`Can't mix ordinal dates with month/day`);let h=m||a.weekday&&!p,g,_,v=bh(c,l);h?(g=jh,_=Oh,v=vf(v,o,s)):u?(g=Mh,_=kh,v=bf(v)):(g=Ah,_=Dh);let y=!1;for(let e of g){let t=a[e];Y(t)?y?a[e]=_[e]:a[e]=v[e]:y=!0}let b=(h?Cf(a,o,s):u?wf(a):Tf(a))||Ef(a);if(b)return e.invalid(b);let[x,S]=xh(h?yf(a,o,s):u?xf(a):a,l,r),C=new e({ts:x,zone:r,o:S,loc:i});return a.weekday&&p&&t.weekday!==C.weekday?e.invalid(`mismatched weekday`,`you can't specify both a weekday of ${a.weekday} and a date of ${C.toISO()}`):C.isValid?C:e.invalid(C.invalid)}static fromISO(e,t={}){let[n,r]=mm(e);return Ch(n,r,t,`ISO 8601`,e)}static fromRFC2822(e,t={}){let[n,r]=hm(e);return Ch(n,r,t,`RFC 2822`,e)}static fromHTTP(e,t={}){let[n,r]=gm(e);return Ch(n,r,t,`HTTP`,t)}static fromFormat(t,n,r={}){if(Y(t)||Y(n))throw new G(`fromFormat requires an input string and a format`);let{locale:i=null,numberingSystem:a=null}=r,[o,s,c,l]=dh(q.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),t,n);return l?e.invalid(l):Ch(o,s,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return e.fromFormat(t,n,r)}static fromSQL(e,t={}){let[n,r]=Cm(e);return Ch(n,r,t,`SQL`,e)}static invalid(t,n=null){if(!t)throw new G(`need to specify a reason the DateTime is invalid`);let r=t instanceof uf?t:new uf(t,n);if(J.throwOnInvalid)throw new Pu(r);return new e({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let n=fh(e,q.fromObject(t));return n?n.map(e=>e?e.val:null).join(``):null}static expandFormat(e,t={}){return ch(Cp.parseFormat(e),q.fromObject(t)).map(e=>e.val).join(``)}static resetCache(){zh=void 0,Bh.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?gh(this).weekYear:NaN}get weekNumber(){return this.isValid?gh(this).weekNumber:NaN}get weekday(){return this.isValid?gh(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?_h(this).weekday:NaN}get localWeekNumber(){return this.isValid?_h(this).weekNumber:NaN}get localWeekYear(){return this.isValid?_h(this).weekYear:NaN}get ordinal(){return this.isValid?bf(this.c).ordinal:NaN}get monthShort(){return this.isValid?Bm.months(`short`,{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Bm.months(`long`,{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Bm.weekdays(`short`,{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Bm.weekdays(`long`,{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:`short`,locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:`long`,locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,t=6e4,n=qf(this.c),r=this.zone.offset(n-e),i=this.zone.offset(n+e),a=this.zone.offset(n-r*t),o=this.zone.offset(n-i*t);if(a===o)return[this];let s=n-a*t,c=n-o*t,l=bh(s,a),u=bh(c,o);return l.hour===u.hour&&l.minute===u.minute&&l.second===u.second&&l.millisecond===u.millisecond?[vh(this,{ts:s}),vh(this,{ts:c})]:[this]}get isInLeapYear(){return Wf(this.year)}get daysInMonth(){return Kf(this.year,this.month)}get daysInYear(){return this.isValid?Gf(this.year):NaN}get weeksInWeekYear(){return this.isValid?Yf(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Yf(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:n,calendar:r}=Cp.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(Gd.instance(e),t)}toLocal(){return this.setZone(J.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=qd(t,J.defaultZone),t.equals(this.zone))return this;if(t.isValid){let e=this.ts;if(n||r){let n=t.offset(this.ts),r=this.toObject();[e]=xh(r,n,t)}return vh(this,{ts:e,zone:t})}else return e.invalid(hh(t))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){let r=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n});return vh(this,{loc:r})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let t=ep(e,Ph),{minDaysInFirstWeek:n,startOfWeek:r}=Sf(t,this.loc),i=!Y(t.weekYear)||!Y(t.weekNumber)||!Y(t.weekday),a=!Y(t.ordinal),o=!Y(t.year),s=!Y(t.month)||!Y(t.day),c=o||s,l=t.weekYear||t.weekNumber;if((c||a)&&l)throw new Lu(`Can't mix weekYear/weekNumber units with year/month/day or ordinals`);if(s&&a)throw new Lu(`Can't mix ordinal dates with month/day`);let u;i?u=yf({...vf(this.c,n,r),...t},n,r):Y(t.ordinal)?(u={...this.toObject(),...t},Y(t.day)&&(u.day=Math.min(Kf(u.year,u.month),u.day))):u=xf({...bf(this.c),...t});let[d,f]=xh(u,this.o,this.zone);return vh(this,{ts:d,o:f})}plus(e){if(!this.isValid)return this;let t=Im.fromDurationLike(e);return vh(this,Sh(this,t))}minus(e){if(!this.isValid)return this;let t=Im.fromDurationLike(e).negate();return vh(this,Sh(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let n={},r=Im.normalizeUnit(e);switch(r){case`years`:n.month=1;case`quarters`:case`months`:n.day=1;case`weeks`:case`days`:n.hour=0;case`hours`:n.minute=0;case`minutes`:n.second=0;case`seconds`:n.millisecond=0;break}if(r===`weeks`)if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;t=3&&(s+=`T`),s+=Eh(this,o,t,n,r,i,a),s}toISODate({format:e=`extended`,precision:t=`day`}={}){return this.isValid?Th(this,e===`extended`,Nh(t)):null}toISOWeekDate(){return wh(this,`kkkk-'W'WW-c`)}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:i=!1,format:a=`extended`,precision:o=`milliseconds`}={}){return this.isValid?(o=Nh(o),(r&&Ah.indexOf(o)>=3?`T`:``)+Eh(this,a===`extended`,t,e,n,i,o)):null}toRFC2822(){return wh(this,`EEE, dd LLL yyyy HH:mm:ss ZZZ`,!1)}toHTTP(){return wh(this.toUTC(),`EEE, dd LLL yyyy HH:mm:ss 'GMT'`)}toSQLDate(){return this.isValid?Th(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r=`HH:mm:ss.SSS`;return(t||e)&&(n&&(r+=` `),t?r+=`z`:e&&(r+=`ZZ`)),wh(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():ph}[Symbol.for(`nodejs.util.inspect.custom`)](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t=`milliseconds`,n={}){if(!this.isValid||!e.isValid)return Im.invalid(`created by diffing an invalid DateTime`);let r={locale:this.locale,numberingSystem:this.numberingSystem,...n},i=Nf(t).map(Im.normalizeUnit),a=e.valueOf()>this.valueOf(),o=Um(a?this:e,a?e:this,i,r);return a?o.negate():o}diffNow(t=`milliseconds`,n={}){return this.diff(e.now(),t,n)}until(e){return this.isValid?zm.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;let r=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,n)e.valueOf(),Math.min)}static max(...t){if(!t.every(e.isDateTime))throw new G(`max requires all arguments be DateTimes`);return Pf(t,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){let{locale:r=null,numberingSystem:i=null}=n;return uh(q.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0}),e,t)}static fromStringExplain(t,n,r={}){return e.fromFormatExplain(t,n,r)}static buildFormatParser(e,t={}){let{locale:n=null,numberingSystem:r=null}=t;return new lh(q.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),e)}static fromFormatParser(t,n,r={}){if(Y(t)||Y(n))throw new G(`fromFormatParser requires an input string and a format parser`);let{locale:i=null,numberingSystem:a=null}=r,o=q.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});if(!o.equals(n.locale))throw new G(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);let{result:s,zone:c,specificOffset:l,invalidReason:u}=n.explainFromTokens(t);return u?e.invalid(u):Ch(s,c,r,`format ${n.format}`,t,l)}static get DATE_SHORT(){return Hu}static get DATE_MED(){return Uu}static get DATE_MED_WITH_WEEKDAY(){return Wu}static get DATE_FULL(){return Gu}static get DATE_HUGE(){return Ku}static get TIME_SIMPLE(){return qu}static get TIME_WITH_SECONDS(){return Ju}static get TIME_WITH_SHORT_OFFSET(){return Yu}static get TIME_WITH_LONG_OFFSET(){return Xu}static get TIME_24_SIMPLE(){return Zu}static get TIME_24_WITH_SECONDS(){return Qu}static get TIME_24_WITH_SHORT_OFFSET(){return $u}static get TIME_24_WITH_LONG_OFFSET(){return ed}static get DATETIME_SHORT(){return td}static get DATETIME_SHORT_WITH_SECONDS(){return nd}static get DATETIME_MED(){return rd}static get DATETIME_MED_WITH_SECONDS(){return id}static get DATETIME_MED_WITH_WEEKDAY(){return ad}static get DATETIME_FULL(){return od}static get DATETIME_FULL_WITH_SECONDS(){return sd}static get DATETIME_HUGE(){return cd}static get DATETIME_HUGE_WITH_SECONDS(){return ld}};function Vh(e){if(Q.isDateTime(e))return e;if(e&&e.valueOf&&Df(e.valueOf()))return Q.fromJSDate(e);if(e&&typeof e==`object`)return Q.fromObject(e);throw new G(`Unknown datetime argument: ${e}, of type ${typeof e}`)}var Hh=l({default:()=>Uh}),Uh=`---
id: 0199bf43-5985-714c-8e5c-aa94e65a0176
title: New API documentation
description: The Immich API documentation has been moved to a new home.
publishedAt: 2025-09-23
authors: [Jason Rasmussen]
---