@sveltia/cms 0.186.0 → 0.187.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/sveltia-cms.js +36 -36
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +36 -36
- package/dist/sveltia-cms.mjs.map +1 -1
- package/locales/fr.json +1 -0
- package/locales/pt-PT.json +1 -1
- package/package.json +1 -1
package/dist/sveltia-cms.mjs
CHANGED
|
@@ -15,32 +15,32 @@ object-assign
|
|
|
15
15
|
@license MIT
|
|
16
16
|
*/
|
|
17
17
|
var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(e==null)throw TypeError(`Object.assign cannot be called with null or undefined`);return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String(`abc`);if(e[5]=`de`,Object.getOwnPropertyNames(e)[0]===`5`)return!1;for(var t={},n=0;n<10;n++)t[`_`+String.fromCharCode(n)]=n;if(Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(``)!==`0123456789`)return!1;var r={};return`abcdefghijklmnopqrst`.split(``).forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join(``)===`abcdefghijklmnopqrst`}catch{return!1}}t.exports=o()?Object.assign:function(e,t){for(var o,s=a(e),c,l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]),o)r.call(o,u)&&(s[u]=o[u]);if(n){c=n(o);for(var d=0;d<c.length;d++)i.call(o,c[d])&&(s[c[d]]=o[c[d]])}}return s}})),p=s(((e,t)=>{var n=f(),r={};function i(e,t,n,r,i,a,o,s){if(!e){var c;if(t===void 0)c=Error(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var l=[n,r,i,a,o,s],u=0;c=Error(t.replace(/%s/g,function(){return l[u++]})),c.name=`Invariant Violation`}throw c.framesToPop=1,c}}var a=`mixins`;function o(e){return e}function s(e,t,s){var c=[],l={mixins:`DEFINE_MANY`,statics:`DEFINE_MANY`,propTypes:`DEFINE_MANY`,contextTypes:`DEFINE_MANY`,childContextTypes:`DEFINE_MANY`,getDefaultProps:`DEFINE_MANY_MERGED`,getInitialState:`DEFINE_MANY_MERGED`,getChildContext:`DEFINE_MANY_MERGED`,render:`DEFINE_ONCE`,componentWillMount:`DEFINE_MANY`,componentDidMount:`DEFINE_MANY`,componentWillReceiveProps:`DEFINE_MANY`,shouldComponentUpdate:`DEFINE_ONCE`,componentWillUpdate:`DEFINE_MANY`,componentDidUpdate:`DEFINE_MANY`,componentWillUnmount:`DEFINE_MANY`,UNSAFE_componentWillMount:`DEFINE_MANY`,UNSAFE_componentWillReceiveProps:`DEFINE_MANY`,UNSAFE_componentWillUpdate:`DEFINE_MANY`,updateComponent:`OVERRIDE_BASE`},u={getDerivedStateFromProps:`DEFINE_MANY_MERGED`},d={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=n({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=n({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?g(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=n({},e.propTypes,t)},statics:function(e,t){m(e,t)},autobind:function(){}};function f(e,t){var n=l.hasOwnProperty(t)?l[t]:null;S.hasOwnProperty(t)&&i(n===`OVERRIDE_BASE`,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i(n===`DEFINE_MANY`||n===`DEFINE_MANY_MERGED`,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,n){if(n){i(typeof n!=`function`,`ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object.`),i(!t(n),`ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.`);var r=e.prototype,o=r.__reactAutoBindPairs;for(var s in n.hasOwnProperty(a)&&d.mixins(e,n.mixins),n)if(n.hasOwnProperty(s)&&s!==a){var c=n[s],u=r.hasOwnProperty(s);if(f(u,s),d.hasOwnProperty(s))d[s](e,c);else{var p=l.hasOwnProperty(s);if(typeof c==`function`&&!p&&!u&&n.autobind!==!1)o.push(s,c),r[s]=c;else if(u){var m=l[s];i(p&&(m===`DEFINE_MANY_MERGED`||m===`DEFINE_MANY`),`ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.`,m,s),m===`DEFINE_MANY_MERGED`?r[s]=g(r[s],c):m===`DEFINE_MANY`&&(r[s]=_(r[s],c))}else r[s]=c}}}}function m(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in d),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){i((u.hasOwnProperty(n)?u[n]:null)===`DEFINE_MANY_MERGED`,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=g(e[n],r);return}e[n]=r}}}function h(e,t){for(var n in i(e&&t&&typeof e==`object`&&typeof t==`object`,`mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.`),t)t.hasOwnProperty(n)&&(i(e[n]===void 0,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function g(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(n==null)return r;if(r==null)return n;var i={};return h(i,n),h(i,r),i}}function _(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){return t.bind(e)}function y(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],i=t[n+1];e[r]=v(e,i)}}var b={componentDidMount:function(){this.__isMounted=!0}},x={componentWillUnmount:function(){this.__isMounted=!1}},S={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},C=function(){};n(C.prototype,e.prototype,S);function w(e){var t=o(function(e,n,a){this.__reactAutoBindPairs.length&&y(this),this.props=e,this.context=n,this.refs=r,this.updater=a||s,this.state=null;var o=this.getInitialState?this.getInitialState():null;i(typeof o==`object`&&!Array.isArray(o),`%s.getInitialState(): must return an object or null`,t.displayName||`ReactCompositeComponent`),this.state=o});for(var n in t.prototype=new C,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],c.forEach(p.bind(null,t)),p(t,b),p(t,e),p(t,x),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[n]||(t.prototype[n]=null);return t}return w}t.exports=s})),m=s(((e,t)=>{var n=d(),r=p();if(n===void 0)throw Error(`create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.`);var i=new n.Component().updater;t.exports=r(n.Component,n.isValidElement,i)})),h,g;function _(){return(_=o((()=>{h=e=>typeof e==`object`&&!!e&&!Array.isArray(e),g=e=>JSON.parse(JSON.stringify(e))})))()}function v(e){return typeof e==`function`}function y(e){return typeof e?.then==`function`}function b(e){for(var t=0;t<e.length;t++)e[t]()}function x(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function S(e,t,n=!1){return e===void 0?n?t():t:e}function C(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}var w,T,ee,te,ne,re,ie,ae,oe,se,ce,E;function le(){return(le=o((()=>{w=Array.isArray,T=Array.prototype.indexOf,ee=Array.prototype.includes,te=Array.from,ne=Object.defineProperty,re=Object.getOwnPropertyDescriptor,ie=Object.getOwnPropertyDescriptors,ae=Object.prototype,oe=Array.prototype,se=Object.getPrototypeOf,ce=Object.isExtensible,E=()=>{}})))()}var ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie;function Le(){return(Le=o((()=>{ue=1<<24,de=1024,fe=2048,pe=4096,me=8192,he=16384,ge=32768,_e=1<<25,ve=65536,ye=1<<18,be=1<<19,xe=1<<20,Se=1<<25,Ce=65536,we=1<<21,Te=1<<22,Ee=1<<23,De=Symbol(`$state`),Oe=Symbol(`legacy props`),ke=Symbol(``),Ae=Symbol(`attributes`),je=Symbol(`class`),Me=Symbol(`style`),Ne=Symbol(`text`),Pe=Symbol(`form reset`),Fe=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ie=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`)})))()}function Re(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function ze(){return(ze=o((()=>{})))()}function Be(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Ve(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function He(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Ue(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function We(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Ge(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ke(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function qe(){throw Error(`https://svelte.dev/e/set_context_after_init`)}function Je(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ye(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Xe(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ze(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Qe(){return(Qe=o((()=>{ze()})))()}var $e,et,tt,nt,rt;function it(){return(it=o((()=>{$e={},et=Symbol(`uninitialized`),tt=`http://www.w3.org/1999/xhtml`,nt=`http://www.w3.org/2000/svg`,rt=`http://www.w3.org/1998/Math/MathML`})))()}function at(){console.warn(`https://svelte.dev/e/derived_inert`)}function ot(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function st(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function ct(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}function lt(){return(lt=o((()=>{})))()}function ut(e){gt=e}function dt(e){if(e===null)throw ot(),$e;return _t=e}function ft(){return dt(Nr(_t))}function D(e){if(gt){if(Nr(_t)!==null)throw ot(),$e;_t=e}}function pt(e=1){if(gt){for(var t=e,n=_t;t--;)n=Nr(n);_t=n}}function mt(e=!0){for(var t=0,n=_t;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Nr(n);e&&n.remove(),n=i}}function ht(e){if(!e||e.nodeType!==8)throw ot(),$e;return e.data}var gt,_t;function vt(){return(vt=o((()=>{Le(),it(),lt(),Ur(),gt=!1})))()}function yt(e){return e===this.v}function bt(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function xt(e){return!bt(e,this.v)}var St,Ct;function wt(){return(wt=o((()=>{St=!1,Ct=!1})))()}function Tt(){return(Tt=o((()=>{})))()}function Et(e,t=!1,n=!1){return Dt(e,new Map,``,Ot,null,n)}function Dt(e,t,n,r,i=null,a=!1){if(typeof e==`object`&&e){var o=t.get(e);if(o!==void 0)return o;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(w(e)){var s=Array(e.length);t.set(e,s),i!==null&&t.set(i,s);for(var c=0;c<e.length;c+=1){var l=e[c];c in e&&(s[c]=Dt(l,t,n,r,null,a))}return s}if(se(e)===ae){s={},t.set(e,s),i!==null&&t.set(i,s);for(var u of Object.keys(e))s[u]=Dt(e[u],t,n,r,null,a);return s}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON==`function`&&!a)return Dt(e.toJSON(),t,n,r,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}var Ot;function kt(){return(kt=o((()=>{Tt(),le(),Ot=[]})))()}function At(){return(At=o((()=>{kt(),Le(),vi(),Xi()})))()}function jt(){return(jt=o((()=>{le(),ze()})))()}function Mt(e){zt=e}function Nt(e){return Lt(`getContext`).get(e)}function Pt(e,t){let n=Lt(`setContext`);if(St){var r=Hi.f;!Bi&&r&32&&!zt.i||qe()}return n.set(e,t),t}function Ft(){return Lt(`getAllContexts`)}function O(e,t=!1,n){zt={p:zt,i:!1,c:null,e:null,s:e,x:null,r:Hi,l:Ct&&!t?{s:null,u:null,$:[]}:null}}function k(e){var t=zt,n=t.e;if(n!==null){t.e=null;for(var r of n)Xr(r)}return e!==void 0&&(t.x=e),t.i=!0,zt=t.p,e??{}}function It(){return!Ct||zt!==null&&zt.l===null}function Lt(e){return zt===null&&Re(e),zt.c??=new Map(Rt(zt)||void 0)}function Rt(e){let t=e.p;for(;t!==null;){let e=t.c;if(e!==null)return e;t=t.p}return null}var zt;function Bt(){return(Bt=o((()=>{Qe(),Xi(),vi(),wt(),Le(),zt=null})))()}function Vt(){var e=Wt;Wt=[],b(e)}function Ht(e){if(Wt.length===0&&!cr){var t=Wt;queueMicrotask(()=>{t===Wt&&Vt()})}Wt.push(e)}function Ut(){for(;Wt.length>0;)Vt()}var Wt;function Gt(){return(Gt=o((()=>{le(),gr(),Wt=[]})))()}function Kt(e){var t=Hi;if(t===null)return Bi.f|=Ee,e;if(!(t.f&32768)&&!(t.f&4))throw e;qt(e,t)}function qt(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}function Jt(){return(Jt=o((()=>{it(),Ur(),Le(),le(),Xi()})))()}function Yt(e,t){e.f=e.f&Zt|t}function Xt(e){e.f&512||e.deps===null?Yt(e,de):Yt(e,pe)}var Zt;function Qt(){return(Qt=o((()=>{Le(),Zt=~(fe|pe|de)})))()}function $t(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=Ce,$t(t.deps))}function en(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),$t(e.deps),Yt(e,de)}function tn(){return(tn=o((()=>{Le(),Qt()})))()}function nn(e,t,n){if(e==null)return t(void 0),n&&n(void 0),E;let r=Li(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}function rn(){return(rn=o((()=>{Xi(),le()})))()}function eee(e,t){return{subscribe:an(e,t).subscribe}}function an(e,t=E){let n=null,r=new Set;function i(t){if(bt(e,t)&&(e=t,n)){let t=!sn.length;for(let t of r)t[1](),sn.push(t,e);if(t){for(let e=0;e<sn.length;e+=2)sn[e][0](sn[e+1]);sn.length=0}}}function a(t){i(t(e))}function o(o,s=E){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||E),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}function on(e,t,n){let r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw Error(`derived() expects stores as input, got a falsy value`);let a=t.length<2;return eee(n,(e,n)=>{let o=!1,s=[],c=0,l=E,u=()=>{if(c)return;l();let i=t(r?s[0]:s,e,n);a?e(i):l=typeof i==`function`?i:E},d=i.map((e,t)=>nn(e,e=>{s[t]=e,c&=~(1<<t),o&&u()},()=>{c|=1<<t}));return o=!0,u(),function(){b(d),l(),o=!1}})}function A(e){let t;return nn(e,e=>t=e)(),t}var sn;function cn(){return(cn=o((()=>{le(),rn(),sn=[]})))()}function j(e,t,n){let r=n[t]??={store:null,source:vr(void 0),unsubscribe:E};if(r.store!==e&&!(_n in n)){if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=E;else{var i=!0;r.unsubscribe=nn(e,e=>{i?r.source.v=e:P(r.source,e)}),i=!1}}return e&&_n in n?A(e):z(r.source)}function ln(e,t){return dn(e,t),t}function un(){let e={};function t(){Jr(()=>{for(var t in e)e[t].unsubscribe();ne(e,_n,{enumerable:!1,value:!0})})}return[e,t]}function dn(e,t){hn=!0;try{e.set(t)}finally{hn=!1}}function fn(e,t,n){return dn(e,n),t}function pn(){gn=!0}function mn(e){var t=gn;try{return gn=!1,[e(),gn]}finally{gn=t}}var hn,gn,_n;function vn(){return(vn=o((()=>{rn(),cn(),le(),Xi(),vi(),Tr(),hn=!1,gn=!1,_n=Symbol(`unmounted`)})))()}function yn(){return(yn=o((()=>{Le(),kt(),Xi()})))()}function bn(e,t){if(t){let t=document.body;e.autofocus=!0,Ht(()=>{document.activeElement===t&&e.focus()})}}function xn(e){gt&&Mr(e)!==null&&Pr(e)}function Sn(){Cn||(Cn=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[Pe]?.()})},{capture:!0}))}var Cn;function wn(){return(wn=o((()=>{vt(),Ur(),Gt(),Le(),Cn=!1})))()}function Tn(e){var t=Bi,n=Hi;Si(null),Ci(null);try{return e()}finally{Si(t),Ci(n)}}function En(e,t,n,r=n){e.addEventListener(t,()=>Tn(n));let i=e[Pe];i?e[Pe]=()=>{i(),r(!0)}:e[Pe]=()=>r(!0),Sn()}function Dn(){return(Dn=o((()=>{vi(),Xi(),Le(),wn()})))()}function On(e){let t=0,n=_r(0),r;return()=>{qr()&&(z(n),ni(()=>(t===0&&(r=Li(()=>e(()=>br(n)))),t+=1,()=>{Ht(()=>{--t,t===0&&(r?.(),r=void 0,br(n))})})))}}function kn(){return(kn=o((()=>{Xi(),vi(),Tr(),At(),Gt()})))()}function An(e,t,n,r){new Mn(e,t,n,r)}var jn,Mn;function Nn(){return(Nn=o((()=>{Le(),it(),Bt(),Jt(),vi(),Xi(),vt(),Gt(),Qe(),lt(),gr(),Tr(),At(),kn(),Ur(),tn(),jn=ve|be,Mn=class{parent;is_pending=!1;transform_error;#e;#t=gt?_t:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=On(()=>(this.#m=_r(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=Hi;t.b=this,t.f|=128,n(e)},this.parent=Hi.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=ii(()=>{if(gt){let e=this.#t;ft();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#y():this.#g()}else this.#b()},jn),gt&&(this.#e=_t)}#g(){try{this.#a=oi(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed,{reset:n,invoke_onerror:r}=this.#v(e);Ht(r),t&&(this.#s=oi(()=>{t(this.#e,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;let r=()=>{if(t){ct();return}t=!0,n&&Ze(),this.#s!==null&&pi(this.#s,()=>{this.#s=null}),this.#S(()=>{this.#b()})};return{reset:r,invoke_onerror:()=>{try{n=!0,this.#n.onerror?.(e,r),n=!1}catch(e){qt(e,this.#i&&this.#i.parent)}}}}#y(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=oi(()=>e(this.#e)),Ht(()=>{var e=this.#c=document.createDocumentFragment(),t=jr();e.append(t),this.#a=this.#S(()=>oi(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,pi(this.#o,()=>{this.#o=null}),this.#x(ir))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=oi(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();_i(this.#a,e);let t=this.#n.pending;this.#o=oi(()=>t(this.#e))}else this.#x(ir)}catch(e){this.error(e)}}#x(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){en(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#S(e){var t=Hi,n=Bi,r=zt;Ci(this.#i),Si(this.#i),Mt(this.#i.ctx);try{return mr.ensure(),e()}catch(e){return Kt(e),null}finally{Ci(t),Si(n),Mt(r)}}#C(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#C(e,t);return}this.#u+=e,this.#u===0&&(this.#x(t),this.#o&&pi(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#C(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Ht(()=>{this.#d=!1,this.#m&&yr(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),z(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;ir?.is_fork?(this.#a&&ir.skip_effect(this.#a),this.#o&&ir.skip_effect(this.#o),this.#s&&ir.skip_effect(this.#s),ir.oncommit(()=>{this.#w(e)})):this.#w(e)}#w(e){this.#a&&=(ui(this.#a),null),this.#o&&=(ui(this.#o),null),this.#s&&=(ui(this.#s),null),gt&&(dt(this.#t),pt(),dt(mt()));let t=this.#n.failed,n=e=>{let{reset:n,invoke_onerror:r}=this.#v(e);r(),t&&(this.#s=this.#S(()=>{try{return oi(()=>{var r=Hi;r.b=this,r.f|=128,t(this.#e,()=>e,()=>n)})}catch(e){return qt(e,this.#i.parent),null}}))};Ht(()=>{var t;try{t=this.transform_error(e)}catch(e){qt(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(n,e=>qt(e,this.#i&&this.#i.parent)):n(t)})}}})))()}function Pn(e,t,n,r){let i=It()?zn:Vn;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=Hi,c=Fn(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){qt(e,s)}In()}}var d=Ln();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>Bn(e))).then(u).catch(e=>qt(e,s)).finally(d)}l?l.then(()=>{c(),f(),In()}):f()}function Fn(){var e=Hi,t=Bi,n=zt,r=ir;return function(i=!0){Ci(e),Si(t),Mt(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function In(e=!0){Ci(null),Si(null),Mt(null),e&&ir?.deactivate()}function Ln(){var e=Hi,t=e.b,n=ir,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function Rn(){return(Rn=o((()=>{Le(),Bt(),Nn(),Jt(),Xi(),gr(),qn(),vi(),Gt()})))()}function zn(e){var t=2|fe;return Hi!==null&&(Hi.f|=be),{ctx:zt,deps:null,effects:null,equals:yt,f:t,fn:e,reactions:null,rv:0,v:et,wv:0,parent:Hi,ac:null}}function Bn(e,t,n){let r=Hi;r===null&&Be();var i=void 0,a=_r(et),o=!Bi,s=new Set;return ti(()=>{var t=Hi,n=x();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==Fe&&n.reject(e)}).finally(In)}catch(e){n.reject(e),In()}var c=ir;if(o){if(t.f&32768)var l=Ln();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Kn);else for(let e of s.values())e.reject(Kn);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Kn&&(c.activate(),t?(a.f|=Ee,yr(a,t)):(a.f&8388608&&(a.f^=Ee),yr(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),Jr(()=>{for(let e of s)e.reject(Kn)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function M(e){let t=zn(e);return St||wi(t),t}function Vn(e){let t=zn(e);return t.equals=xt,t}function Hn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ui(t[n])}}function Un(e){var t,n=Hi,r=e.parent;if(!zi&&r!==null&&e.v!==et&&r.f&24576)return at(),e.v;Ci(r);try{e.f&=~Ce,Hn(e),t=Ai(e)}finally{Ci(n)}return t}function Wn(e){var t=Un(e);if(!e.equals(t)&&(e.wv=Di(),(!ir?.is_fork||e.deps===null)&&(ir===null?e.v=t:(ir.capture(e,t,!0),ar?.capture(e,t,!0)),e.deps===null))){Yt(e,de);return}zi||(or===null?Xt(e):(qr()||ir?.is_fork)&&or.set(e,t))}function tee(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&Tn(()=>{t.ac.abort(Fe),t.ac=null}),t.fn!==null&&(t.teardown=E),Mi(t,0),ci(t))}function Gn(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&Ni(t)}var Kn;function qn(){return(qn=o((()=>{Le(),Xi(),Dn(),Qe(),lt(),vi(),Tr(),jt(),wt(),Bt(),it(),gr(),Rn(),le(),Qt(),Kn=Symbol(`obsolete`)})))()}function Jn(e){var t=cr;cr=!0;try{var n;for(e&&(ir!==null&&!ir.is_fork&&ir.flush(),n=e());;){if(Ut(),ir===null)return n;ir.flush()}}finally{cr=t}}function Yn(){try{Ge()}catch(e){qt(e,sr)}}function Xn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Oi(r)&&(hr=new Set,Ni(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&fi(r),hr?.size>0)){Cr.clear();for(let e of hr){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)hr.has(n)&&(hr.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Ni(n)}}hr.clear()}}hr=null}}function Zn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Zn(i,t,n,r):e&4194320&&!(e&2048)&&Qn(i,t,r)&&(Yt(i,fe),$n(i))}}function Qn(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(ee.call(t,r))return!0;if(r.f&2&&Qn(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function $n(e){ir.schedule(e)}function er(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),Yt(e,de);for(var n=e.first;n!==null;)er(n,t),n=n.next}}function tr(e){Yt(e,de);for(var t=e.first;t!==null;)tr(t),t=t.next}var nr,rr,ir,ar,or,sr,cr,lr,ur,dr,fr,pr,mr,hr;function gr(){return(gr=o((()=>{Le(),wt(),le(),Xi(),Qe(),Gt(),Jt(),Tr(),vi(),tn(),it(),Qt(),vn(),jt(),yn(),qn(),nr=null,rr=null,ir=null,ar=null,or=null,sr=null,cr=!1,lr=!1,ur=null,dr=null,fr=0,pr=1,mr=class e{id=pr++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){rr===null?nr=rr=this:(rr.#n=this,this.#t=rr),rr=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)Yt(r,fe),t(r);for(r of n.m)Yt(r,pe),t(r)}this.#p.add(e)}#g(){this.#e=!0,fr++>1e3&&(this.#S(),Yn());for(let e of this.#u)this.#d.delete(e),Yt(e,fe),this.schedule(e);for(let e of this.#d)Yt(e,pe),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=ur=[],r=[],i=dr=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw tr(e),this.#h()||this.discard(),t}if(ir=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(ur=null,dr=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)er(e,t);i.length>0&&ir.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),ar=this,Xn(r),Xn(n),ar=null,this.#s?.resolve();var s=ir;if(this.#a===0&&(this.#c.length===0||s!==null)&&(this.#S(),St&&(this.#x(),ir=s)),this.#c.length>0){if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this}s!==null&&s.#g()}#_(e,t,n){e.f^=de;for(var r=e.first;r!==null;){var i=r.f,a=!!(i&96);if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=de:i&4?t.push(r):St&&i&16777224?n.push(r):Oi(r)&&(i&16&&this.#d.add(r),Ni(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),Yt(i,fe),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#S(),ir=this,this.#g()}#b(e){for(var t=0;t<e.length;t+=1)en(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==et&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),or?.set(e,t)),this.is_fork||(e.v=t)}activate(){ir=this}deactivate(){ir=null,or=null}flush(){try{lr=!0,ir=this,this.#g()}finally{fr=0,sr=null,ur=null,dr=null,lr=!1,ir=null,or=null,Cr.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(Kn);this.#S(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}#x(){for(let u=nr;u!==null;u=u.#n){var e=u.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(u.current.has(r)){var n=u.current.get(r)[0];if(e&&i!==n)u.current.set(r,[i,a]);else continue}t.push(r)}if(e)for(let[e,t]of this.async_deriveds){let n=u.async_deriveds.get(e);n&&t.promise.then(n.resolve).catch(n.reject)}var r=[...u.current.keys()].filter(e=>!u.current.get(e)[1]);if(!(!u.#e||r.length===0)){var i=r.filter(e=>!this.current.has(e));if(i.length===0)e&&u.discard();else if(t.length>0){if(e)for(let e of this.#p)u.unskip_effect(e,e=>{e.f&4194320?u.schedule(e):u.#b([e])});u.activate();var a=new Set,o=new Map;for(var s of t)Zn(s,i,a,o);o=new Map;var c=[...u.current].filter(([e,t])=>{let n=this.current.get(e);return!n||n[0]!==t[0]||n[1]!==t[1]}).map(([e])=>e);if(c.length>0)for(let e of this.#l)!(e.f&155648)&&Qn(e,c,o)&&(e.f&4194320?(Yt(e,fe),u.schedule(e)):u.#u.add(e));if(u.#c.length>0&&!u.#m){u.apply();for(var l of u.#c)u.#_(l,[],[]);u.#c=[]}u.deactivate()}}}}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,Ht(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=x()).promise}static ensure(){if(ir===null){let t=ir=new e;!lr&&!cr&&Ht(()=>{t.#e||t.flush()})}return ir}apply(){if(!St||!this.is_fork&&this.#t===null&&this.#n===null){or=null;return}or=new Map;for(let[e,[t]]of this.current)or.set(e,t);for(let t=nr;t!==null;t=t.#n)if(!(t===this||t.is_fork)){var e=!1;if(t.id<this.id){for(let[n,[,r]]of t.current)if(!r&&this.current.has(n)){e=!0;break}}if(!e)for(let[e,n]of t.previous)or.has(e)||or.set(e,n)}}schedule(e){if(sr=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(ur!==null&&t===Hi&&(St||(Bi===null||!(Bi.f&2))&&!hn))return;if(n&96){if(!(n&1024))return;t.f^=de}}this.#c.push(t)}#S(){if(this.linked){var e=this.#t,t=this.#n;e===null?nr=t:e.#n=t,t===null?rr=e:t.#t=e,this.linked=!1}}},hr=null})))()}function _r(e,t){return{f:0,v:e,reactions:null,equals:yt,rv:0,wv:0}}function N(e,t){let n=_r(e,t);return wi(n),n}function vr(e,t=!1,n=!0){let r=_r(e);return t||(r.equals=xt),Ct&&n&&zt!==null&&zt.l!==null&&(zt.l.s??=[]).push(r),r}function P(e,t,n=!1){return Bi!==null&&(!Vi||Bi.f&131072)&&It()&&Bi.f&4325394&&(Ui===null||!Ui.has(e))&&Xe(),yr(e,n?Er(t):t,dr)}function yr(e,t,n=null){if(!e.equals(t)){Cr.set(e,zi?t:e.v);var r=mr.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&Un(t),or===null&&Xt(t)}e.wv=Di(),xr(e,fe,n),It()&&Hi!==null&&Hi.f&1024&&!(Hi.f&96)&&(Ki===null?Ti([e]):Ki.push(e)),!r.is_fork&&Sr.size>0&&!wr&&nee()}return t}function nee(){wr=!1;for(let e of Sr){e.f&1024&&Yt(e,pe);let t;try{t=Oi(e)}catch{t=!0}t&&Ni(e)}Sr.clear()}function br(e){P(e,e.v+1)}function xr(e,t,n){var r=e.reactions;if(r!==null)for(var i=It(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===Hi)){var l=(c&fe)===0;if(l&&Yt(s,t),c&131072)Sr.add(s);else if(c&2){var u=s;or?.delete(u),c&65536||(c&512&&(Hi===null||!(Hi.f&2097152))&&(s.f|=Ce),xr(u,pe,n))}else if(l){var d=s;c&16&&hr!==null&&hr.add(d),n===null?$n(d):n.push(d)}}}}var Sr,Cr,wr;function Tr(){return(Tr=o((()=>{Xi(),Le(),Qe(),wt(),At(),jt(),Bt(),gr(),Or(),qn(),Qt(),Sr=new Set,Cr=new Map,wr=!1})))()}function Er(e){if(typeof e!=`object`||!e||De in e)return e;let t=se(e);if(t!==ae&&t!==oe)return e;var n=new Map,r=w(e),i=N(0),a=null,o=Yi,s=e=>{if(Yi===o)return e();var t=Bi,n=Yi;Si(null),Ei(o);var r=e();return Si(t),Ei(n),r};return r&&n.set(`length`,N(e.length,a)),new Proxy(e,{defineProperty(e,t,r){(!(`value`in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&Je();var i=n.get(t);return i===void 0?s(()=>{var e=N(r.value,a);return n.set(t,e),e}):P(i,r.value,!0),!0},deleteProperty(e,t){var r=n.get(t);if(r===void 0){if(t in e){let e=s(()=>N(et,a));n.set(t,e),br(i)}}else P(r,et),br(i);return!0},get(t,r,i){if(r===De)return e;var o=n.get(r),c=r in t;if(o===void 0&&(!c||re(t,r)?.writable)&&(o=s(()=>N(Er(c?t[r]:et),a)),n.set(r,o)),o!==void 0){var l=z(o);return l===et?void 0:l}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var i=n.get(t);i&&(r.value=z(i))}else if(r===void 0){var a=n.get(t),o=a?.v;if(a!==void 0&&o!==et)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return r},has(e,t){if(t===De)return!0;var r=n.get(t),i=r!==void 0&&r.v!==et||Reflect.has(e,t);return(r!==void 0||Hi!==null&&(!i||re(e,t)?.writable))&&(r===void 0&&(r=s(()=>N(i?Er(e[t]):et,a)),n.set(t,r)),z(r)===et)?!1:i},set(e,t,o,c){var l=n.get(t),u=t in e;if(r&&t===`length`)for(var d=o;d<l.v;d+=1){var f=n.get(d+``);f===void 0?d in e&&(f=s(()=>N(et,a)),n.set(d+``,f)):P(f,et)}if(l===void 0)(!u||re(e,t)?.writable)&&(l=s(()=>N(void 0,a)),P(l,Er(o)),n.set(t,l));else{u=l.v!==et;var p=s(()=>Er(o));P(l,p)}var m=Reflect.getOwnPropertyDescriptor(e,t);if(m?.set&&m.set.call(c,o),!u){if(r&&typeof t==`string`){var h=n.get(`length`),g=Number(t);Number.isInteger(g)&&g>=h.v&&P(h,g+1)}br(i)}return!0},ownKeys(e){z(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return t===void 0||t.v!==et});for(var[r,a]of n)a.v!==et&&!(r in e)&&t.push(r);return t},setPrototypeOf(){Ye()}})}function Dr(e){try{if(typeof e==`object`&&e&&De in e)return e[De]}catch{}return e}function ree(e,t){return Object.is(Dr(e),Dr(t))}function Or(){return(Or=o((()=>{Xi(),le(),Tr(),Le(),it(),Qe(),At(),jt(),wt()})))()}function kr(){return(kr=o((()=>{lt(),Or()})))()}function Ar(){if(Rr===void 0){Rr=window,zr=document,Br=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Vr=re(t,`firstChild`).get,Hr=re(t,`nextSibling`).get,ce(e)&&(e[je]=void 0,e[Ae]=null,e[Me]=void 0,e.__e=void 0),ce(n)&&(n[Ne]=void 0)}}function jr(e=``){return document.createTextNode(e)}function Mr(e){return Vr.call(e)}function Nr(e){return Hr.call(e)}function F(e,t){if(!gt)return Mr(e);var n=Mr(_t);if(n===null)n=_t.appendChild(jr());else if(t&&n.nodeType!==3){var r=jr();return n?.before(r),dt(r),r}return t&&Lr(n),dt(n),n}function I(e,t=!1){if(!gt){var n=Mr(e);return n instanceof Comment&&n.data===``?Nr(n):n}if(t){if(_t?.nodeType!==3){var r=jr();return _t?.before(r),dt(r),r}Lr(_t)}return _t}function L(e,t=1,n=!1){let r=gt?_t:e;for(var i;t--;)i=r,r=Nr(r);if(!gt)return r;if(n){if(r?.nodeType!==3){var a=jr();return r===null?i?.after(a):r.before(a),dt(a),a}Lr(r)}return dt(r),r}function Pr(e){e.textContent=``}function Fr(){return!St||hr!==null?!1:(Hi.f&ge)!==0}function Ir(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function Lr(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}var Rr,zr,Br,Vr,Hr;function Ur(){return(Ur=o((()=>{vt(),kr(),le(),Xi(),wt(),Le(),gr(),it()})))()}function Wr(e){Hi===null&&(Bi===null&&We(e),Ue()),zi&&He(e)}function Gr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Kr(e,t){var n=Hi;n!==null&&n.f&8192&&(e|=me);var r={ctx:zt,deps:null,nodes:null,f:e|fe|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};ir?.register_created_effect(r);var i=r;if(e&4)ur===null?mr.ensure().schedule(r):ur.push(r);else if(t!==null){try{Ni(r)}catch(e){throw ui(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ve))}if(i!==null&&(i.parent=n,n!==null&&Gr(i,n),Bi!==null&&Bi.f&2&&!(e&64))){var a=Bi;(a.effects??=[]).push(i)}return r}function qr(){return Bi!==null&&!Vi}function Jr(e){let t=Kr(8,null);return Yt(t,de),t.teardown=e,t}function Yr(e){Wr(`$effect`);var t=Hi.f;if(!Bi&&t&32&&zt!==null&&!zt.i){var n=zt;(n.e??=[]).push(e)}else return Xr(e)}function Xr(e){return Kr(4|xe,e)}function Zr(e){return Wr(`$effect.pre`),Kr(8|xe,e)}function Qr(e){mr.ensure();let t=Kr(64|be,e);return()=>{ui(t)}}function $r(e){mr.ensure();let t=Kr(64|be,e);return(e={})=>new Promise(n=>{e.outro?pi(t,()=>{ui(t),n(void 0)}):(ui(t),n(void 0))})}function ei(e){return Kr(4,e)}function ti(e){return Kr(Te|be,e)}function ni(e,t=0){return Kr(8|t,e)}function R(e,t=[],n=[],r=[]){Pn(r,t,n,t=>{Kr(8,()=>{e(...t.map(z))})})}function ri(e,t=[],n=[],r=[]){Pn(r,t,n,t=>{Kr(4,()=>e(...t.map(z)))})}function ii(e,t=0){return Kr(16|t,e)}function ai(e,t=0){return Kr(ue|t,e)}function oi(e){return Kr(32|be,e)}function si(e){var t=e.teardown;if(t!==null){let e=zi,n=Bi;xi(!0),Si(null);try{t.call(null)}finally{xi(e),Si(n)}}}function ci(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Tn(()=>{e.abort(Fe)});var r=n.next;n.f&64?n.parent=null:ui(n,t),n=r}}function li(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||ui(t),t=n}}function ui(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(di(e.nodes.start,e.nodes.end),n=!0),e.f|=_e,ci(e,t&&!n),Mi(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();si(e),e.f^=_e,e.f|=he;var i=e.parent;i!==null&&i.first!==null&&fi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function di(e,t){for(;e!==null;){var n=e===t?null:Nr(e);e.remove(),e=n}}function fi(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function pi(e,t,n=!0){var r=[];mi(e,r,!0);var i=()=>{n&&ui(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function mi(e,t,n){if(!(e.f&8192)){e.f^=me;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=!!(i.f&65536)||!!(i.f&32)&&!!(e.f&16);mi(i,t,o?n:!1)}i=a}}}function hi(e){gi(e,!0)}function gi(e,t){if(e.f&8192){e.f^=me,e.f&1024||(Yt(e,fe),mr.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=!!(n.f&65536)||!!(n.f&32);gi(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function _i(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Nr(n);t.append(n),n=i}}function vi(){return(vi=o((()=>{Xi(),Le(),Qe(),le(),Ur(),Bt(),gr(),Rn(),Dn(),Qt()})))()}var yi;function bi(){return(bi=o((()=>{Tr(),Xi(),yi=null})))()}function xi(e){zi=e}function Si(e){Bi=e}function Ci(e){Hi=e}function wi(e){Bi!==null&&(!St||Bi.f&2)&&(Ui??=new Set).add(e)}function Ti(e){Ki=e}function Ei(e){Yi=e}function Di(){return++qi}function Oi(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~Ce),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Oi(a)&&Wn(a),a.wv>e.wv)return!0}t&512&&or===null&&Yt(e,de)}return!1}function ki(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!St&&Ui!==null&&Ui.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?ki(a,t,!1):t===a&&(n?Yt(a,fe):a.f&1024&&Yt(a,pe),$n(a))}}function Ai(e){var t=Wi,n=Gi,r=Ki,i=Bi,a=Ui,o=zt,s=Vi,c=Yi,l=e.f;Wi=null,Gi=0,Ki=null,Bi=l&96?null:e,Ui=null,Mt(e.ctx),Vi=!1,Yi=++Ji,e.ac!==null&&(Tn(()=>{e.ac.abort(Fe)}),e.ac=null);try{e.f|=we;var u=e.fn,d=u();e.f|=ge;var f=e.deps,p=ir?.is_fork;if(Wi!==null){var m;if(p||Mi(e,Gi),f!==null&&Gi>0)for(f.length=Gi+Wi.length,m=0;m<Wi.length;m++)f[Gi+m]=Wi[m];else e.deps=f=Wi;if(qr()&&e.f&512)for(m=Gi;m<f.length;m++)(f[m].reactions??=[]).push(e)}else!p&&f!==null&&Gi<f.length&&(Mi(e,Gi),f.length=Gi);if(It()&&Ki!==null&&!Vi&&f!==null&&!(e.f&6146))for(m=0;m<Ki.length;m++)ki(Ki[m],e);if(i!==null&&i!==e){if(Ji++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Ji;if(t!==null)for(let e of t)e.rv=Ji;Ki!==null&&(r===null?r=Ki:r.push(...Ki))}return e.f&8388608&&(e.f^=Ee),d}catch(e){return Kt(e)}finally{e.f^=we,Wi=t,Gi=n,Ki=r,Bi=i,Ui=a,Mt(o),Vi=s,Yi=c}}function ji(e,t){let n=t.reactions;if(n!==null){var r=T.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(Wi===null||!ee.call(Wi,t))){var a=t;a.f&512&&(a.f^=512,a.f&=~Ce),a.v!==et&&Xt(a),a.ac!==null&&Tn(()=>{a.ac.abort(Fe),a.ac=null,Yt(a,fe)}),tee(a),Mi(a,0)}}function Mi(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ji(e,n[r])}function Ni(e){var t=e.f;if(!(t&16384)){Yt(e,de);var n=Hi,r=Ri;Hi=e,Ri=!(t&96);try{t&16777232?li(e):ci(e),si(e);var i=Ai(e);e.teardown=typeof i==`function`?i:null,e.wv=qi}finally{Ri=r,Hi=n}}}async function Pi(){if(St)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),Jn()}function z(e){var t=!!(e.f&2);if(yi?.add(e),Bi!==null&&!Vi&&!(Hi!==null&&Hi.f&16384)&&(Ui===null||!Ui.has(e))){var n=Bi.deps;if(Bi.f&2097152)e.rv<Ji&&(e.rv=Ji,Wi===null&&n!==null&&n[Gi]===e?Gi++:Wi===null?Wi=[e]:Wi.push(e));else{Bi.deps??=[],ee.call(Bi.deps,e)||Bi.deps.push(e);var r=e.reactions;r===null?e.reactions=[Bi]:ee.call(r,Bi)||r.push(Bi)}}if(zi&&Cr.has(e))return Cr.get(e);if(t){var i=e;if(zi){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Ii(i))&&(a=Un(i)),Cr.set(i,a),a}var o=!(i.f&512)&&!Vi&&Bi!==null&&(Ri||!!(Bi.f&512)),s=(i.f&ge)===0;Oi(i)&&(o&&(i.f|=512),Wn(i)),o&&!s&&(Gn(i),Fi(i))}if(or?.has(e))return or.get(e);if(e.f&8388608)throw e.v;return e.v}function Fi(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Gn(t),Fi(t))}function Ii(e){if(e.v===et)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Cr.has(t)||t.f&2&&Ii(t))return!0;return!1}function Li(e){var t=Vi;try{return Vi=!0,e()}finally{Vi=t}}var Ri,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi;function Xi(){return(Xi=o((()=>{le(),vi(),Le(),Tr(),qn(),wt(),At(),jt(),Bt(),gr(),Jt(),it(),bi(),Dn(),Qt(),lt(),Ri=!1,zi=!1,Bi=null,Vi=!1,Hi=null,Ui=null,Wi=null,Gi=0,Ki=null,qi=1,Ji=0,Yi=Ji})))()}function Zi(){return(Zi=o((()=>{J(),ic(),vi()})))()}function Qi(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}function $i(e){return ra.includes(e)}function ea(e){return e=e.toLowerCase(),aa[e]??e}function ta(e){return oa.includes(e)}function na(e){return ca.includes(e)}var ra,ia,aa,oa,sa,ca;function la(){return(la=o((()=>{ra=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`],ia=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),aa={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`},[...ia],oa=[`touchstart`,`touchmove`],sa=[`$state`,`$state.raw`,`$derived`,`$derived.by`],[...sa],ca=[`textarea`,`script`,`style`,`title`]})))()}function ua(){return(ua=o((()=>{Le(),la(),Xi()})))()}function da(){return(da=o((()=>{})))()}function fa(){return(fa=o((()=>{Le(),vt(),Bt()})))()}function pa(e){if(!gt)return;e.removeAttribute(`onload`),e.removeAttribute(`onerror`);let t=e.__e;t!==void 0&&(e.__e=void 0,queueMicrotask(()=>{e.isConnected&&e.dispatchEvent(t)}))}function ma(e,t,n,r={}){function i(e){if(r.capture||ya.call(t,e),!e.cancelBubble)return Tn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?Ht(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function ha(e,t,n,r={}){var i=ma(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function ga(e,t,n,r,i){var a={capture:r,passive:i},o=ma(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Jr(()=>{t.removeEventListener(e,o,a)})}function _a(e,t,n){(t[ba]??={})[e]=n}function va(e){for(var t=0;t<e.length;t++)xa.add(e[t]);for(var n of Sa)n(e)}function ya(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Ca=e;var o=0,s=Ca===e&&e[ba];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[ba]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){ne(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=Bi,d=Hi;Si(null),Ci(null);try{for(var f,p=[];a!==null&&a!==t;){try{var m=a[ba]?.[r];m!=null&&(!a.disabled||e.target===a)&&m.call(a,e)}catch(e){f?p.push(e):f=e}if(e.cancelBubble)break;o++,a=o<i.length?i[o]:null}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[ba]=t,delete e.currentTarget,Si(u),Ci(d)}}}var ba,xa,Sa,Ca;function wa(){return(wa=o((()=>{vi(),le(),vt(),Gt(),Xi(),Dn(),ba=Symbol(`events`),xa=new Set,Sa=new Set,Ca=null})))()}function Ta(e){return Da?.createHTML(e)??e}function Ea(e){var t=Ir(`template`);return t.innerHTML=Ta(e.replaceAll(`<!>`,`<!---->`)),t.content}var Da;function Oa(){return(Oa=o((()=>{Ur(),Da=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e})})))()}function ka(e,t){var n=Hi;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function B(e,t){var n=!!(t&1),r=!!(t&2),i,a=!e.startsWith(`<!>`);return()=>{if(gt)return ka(_t,null),_t;i===void 0&&(i=Ea(a?e:`<!>`+e),n||(i=Mr(i)));var t=r||Br?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Mr(t),s=t.lastChild;ka(o,s)}else ka(t,t);return t}}function Aa(e=``){if(!gt){var t=jr(e+``);return ka(t,t),t}var n=_t;return n.nodeType===3?Lr(n):(n.before(n=jr()),dt(n)),ka(n,n),n}function V(){if(gt)return ka(_t,null),_t;var e=document.createDocumentFragment(),t=document.createComment(``),n=jr();return e.append(t,n),ka(t,n),e}function H(e,t){if(gt){var n=Hi;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=_t),ft();return}e!==null&&e.before(t)}function ja(){if(gt&&_t&&_t.nodeType===8&&_t.textContent?.startsWith(`$`)){let e=_t.textContent.substring(1);return ft(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function Ma(){return(Ma=o((()=>{vt(),Ur(),Oa(),Xi(),it(),Le()})))()}function Na(e){La=e}function U(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[Ne]??=e.nodeValue)&&(e[Ne]=n,e.nodeValue=`${n}`)}function Pa(e,t){return Fa(e,t)}function Fa(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:o=!0,transformError:s}){Ar();var c=void 0,l=$r(()=>{var l=n??t.appendChild(jr());An(l,{pending:()=>{}},t=>{O({});var n=zt;if(a&&(n.c=a),i&&(r.$$events=i),gt&&ka(t,null),La=o,c=e(t,r)||{},La=!0,gt&&(Hi.nodes.end=_t,_t===null||_t.nodeType!==8||_t.data!==`]`))throw ot(),$e;k()},s);var u=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!u.has(r)){u.add(r);var i=ta(r);for(let e of[t,document]){var a=Ra.get(e);a===void 0&&(a=new Map,Ra.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,ya,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return d(te(xa)),Sa.add(d),()=>{for(var e of u)for(let n of[t,document]){var r=Ra.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,ya),r.delete(e),r.size===0&&Ra.delete(n)):r.set(e,i)}Sa.delete(d),l!==n&&l.parentNode?.removeChild(l)}});return za.set(c,l),c}function Ia(e,t){let n=za.get(e);return n?(za.delete(e),n(t)):Promise.resolve()}var La,Ra,za;function Ba(){return(Ba=o((()=>{Ur(),it(),Xi(),Bt(),vi(),vt(),le(),wa(),lt(),Qe(),Ma(),la(),Le(),Nn(),Ra=new Map,za=new WeakMap})))()}function Va(){return(Va=o((()=>{Le(),vt(),vi(),Tr(),Ba(),Xi()})))()}function Ha(){return(Ha=o((()=>{le(),Le(),Bt(),la()})))()}function Ua(){return(Ua=o((()=>{Bt()})))()}function Wa(){return(Wa=o((()=>{kt(),vi(),Xi(),jt()})))()}function Ga(){return(Ga=o((()=>{Rn(),Xi(),vt(),Ma()})))()}var Ka;function qa(){return(qa=o((()=>{gr(),vi(),Le(),vt(),Ur(),Ka=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)hi(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(hi(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(ui(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();_i(r,t),t.append(jr()),this.#n.set(e,{effect:r,fragment:t})}else ui(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),pi(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(ui(n.effect),this.#n.delete(e))};ensure(e,t){var n=ir,r=Fr();if(t&&!this.#t.has(e)&&!this.#n.has(e)){if(r){var i=document.createDocumentFragment(),a=jr();i.append(a),this.#n.set(e,{effect:oi(()=>t(a)),fragment:i})}else this.#t.set(e,oi(()=>t(this.anchor)))}if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else gt&&(this.anchor=_t),this.#a(n)}}})))()}function Ja(e,t,n,r,i){gt&&ft();var a=It(),o=et,s=a?_r(o):vr(o,!1,!1),c=a?_r(o):vr(o,!1,!1),l=new Ka(e);ii(()=>{var a=ir,o=t(),u=!1;let d=gt&&y(o)===(e.data===`[!`);if(d&&(dt(mt()),ut(!1)),y(o)){var f=Fn(),p=!1;let e=e=>{if(!u){p=!0,f(!1),ir===a&&a.deactivate(),mr.ensure();try{e()}finally{In(!1),cr||Jn()}}};o.then(t=>{e(()=>{yr(s,t),l.ensure(Xa,r&&(e=>r(e,s)))})},t=>{e(()=>{if(yr(c,t),l.ensure(Za,i&&(e=>i(e,c))),!i)throw c.v})}),gt?l.ensure(Ya,n):Ht(()=>{p||e(()=>{l.ensure(Ya,n)})})}else yr(s,o),l.ensure(Xa,r&&(e=>r(e,s)));return d&&ut(!0),()=>{u=!0}})}var Ya,Xa,Za;function Qa(){return(Qa=o((()=>{le(),vi(),Tr(),vt(),Gt(),it(),Bt(),gr(),qa(),Rn(),Ya=0,Xa=1,Za=2})))()}function W(e,t,n=!1){var r;gt&&(r=_t,ft());var i=new Ka(e),a=n?ve:0;function o(e,t){if(gt){var n=ht(r);if(e!==parseInt(n.substring(1))){var a=mt();dt(a),i.anchor=a,ut(!1),i.ensure(e,t),ut(!0);return}}i.ensure(e,t)}ii(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function $a(){return($a=o((()=>{Le(),vt(),vi(),qa()})))()}function eo(e,t,n){gt&&ft();var r=new Ka(e),i=!It();ii(()=>{var e=t();e!==e&&(e=to),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}var to;function no(){return(no=o((()=>{Bt(),vi(),vt(),qa(),to=Symbol(`NaN`)})))()}function ro(e,t){gt&&dt(Mr(e)),ni(()=>{var n=t();for(var r in n){var i=n[r];i?e.style.setProperty(r,i):e.style.removeProperty(r)}})}function io(){return(io=o((()=>{vi(),vt(),Ur()})))()}function ao(e,t){return t}function oo(e,t,n){for(var r=[],i=t.length,a,o=t.length,s=0;s<i;s++){let n=t[s];pi(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;so(e,te(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else--o},!1)}if(o===0){var c=r.length===0&&n!==null;if(c){var l=n,u=l.parentNode;Pr(u),u.append(l),e.items.clear()}so(e,t,!c)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function so(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=Se,_i(a,document.createDocumentFragment())):ui(t[i],n)}}function co(e,t,n,r,i,a=null){var o=e,s=new Map;if(t&4){var c=e;o=gt?dt(Mr(c)):c.appendChild(jr())}gt&&ft();var l=null,u=Vn(()=>{var e=n();return w(e)?e:e==null?[]:te(e)}),d,f=new Map,p=!0;function m(e){g.effect.f&16384||(g.pending.delete(e),g.fallback=l,uo(g,d,o,t,r),l!==null&&(d.length===0?l.f&33554432?(l.f^=Se,fo(l,null,o)):hi(l):pi(l,()=>{l=null})))}function h(e){g.pending.delete(e)}var g={effect:ii(()=>{d=z(u);var e=d.length;let c=!1;gt&&ht(o)===`[!`!=(e===0)&&(o=mt(),dt(o),ut(!1),c=!0);for(var g=new Set,_=ir,v=Fr(),y=0;y<e;y+=1){gt&&_t.nodeType===8&&_t.data===`]`&&(o=_t,c=!0,ut(!1));var b=d[y],x=r(b,y),S=p?null:s.get(x);S?(S.v&&yr(S.v,b),S.i&&yr(S.i,y),v&&_.unskip_effect(S.e)):(S=iee(s,p?o:mo??=jr(),b,x,y,i,t,n),p||(S.e.f|=Se),s.set(x,S)),g.add(x)}if(e===0&&a&&!l&&(p?l=oi(()=>a(o)):(l=oi(()=>a(mo??=jr())),l.f|=Se)),e>g.size&&Ve(``,``,``),gt&&e>0&&dt(mt()),!p){if(f.set(_,g),v){for(let[e,t]of s)g.has(e)||_.skip_effect(t.e);_.oncommit(m),_.ondiscard(h)}else m(_)}c&&ut(!0),z(u)}),flags:t,items:s,pending:f,outrogroups:null,fallback:l};p=!1,gt&&(o=_t)}function lo(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function uo(e,t,n,r,i){var a=!!(r&8),o=t.length,s=e.items,c=lo(e.effect.first),l,u=null,d,f=[],p=[],m,h,g,_;if(a)for(_=0;_<o;_+=1)m=t[_],h=i(m,_),g=s.get(h).e,g.f&33554432||(g.nodes?.a?.measure(),(d??=new Set).add(g));for(_=0;_<o;_+=1){if(m=t[_],h=i(m,_),g=s.get(h).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(g),t.done.delete(g);if(g.f&8192&&(hi(g),a&&(g.nodes?.a?.unfix(),(d??=new Set).delete(g))),g.f&33554432){if(g.f^=Se,g===c)fo(g,null,n);else{var v=u?u.next:c;g===e.effect.last&&(e.effect.last=g.prev),g.prev&&(g.prev.next=g.next),g.next&&(g.next.prev=g.prev),po(e,u,g),po(e,g,v),fo(g,v,n),u=g,f=[],p=[],c=lo(u.next);continue}}if(g!==c){if(l!==void 0&&l.has(g)){if(f.length<p.length){var y=p[0],b;u=y.prev;var x=f[0],S=f[f.length-1];for(b=0;b<f.length;b+=1)fo(f[b],y,n);for(b=0;b<p.length;b+=1)l.delete(p[b]);po(e,x.prev,S.next),po(e,u,x),po(e,S,y),c=y,u=S,--_,f=[],p=[]}else l.delete(g),fo(g,c,n),po(e,g.prev,g.next),po(e,g,u===null?e.effect.first:u.next),po(e,u,g),u=g;continue}for(f=[],p=[];c!==null&&c!==g;)(l??=new Set).add(c),p.push(c),c=lo(c.next);if(c===null)continue}g.f&33554432||f.push(g),u=g,c=lo(g.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(so(e,te(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(c!==null||l!==void 0){var C=[];if(l!==void 0)for(g of l)g.f&8192||C.push(g);for(;c!==null;)!(c.f&8192)&&c!==e.fallback&&C.push(c),c=lo(c.next);var w=C.length;if(w>0){var T=r&4&&o===0?n:null;if(a){for(_=0;_<w;_+=1)C[_].nodes?.a?.measure();for(_=0;_<w;_+=1)C[_].nodes?.a?.fix()}oo(e,C,T)}}a&&Ht(()=>{if(d!==void 0)for(g of d)g.nodes?.a?.apply()})}function iee(e,t,n,r,i,a,o,s){var c=o&1?o&16?_r(n):vr(n,!1,!1):null,l=o&2?_r(i):null;return{v:c,i:l,e:oi(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function fo(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=Nr(r);if(a.before(r),r===i)return;r=o}}function po(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}var mo;function ho(){return(ho=o((()=>{it(),vt(),Ur(),vi(),Tr(),le(),Le(),Gt(),Xi(),qn(),gr(),Qe(),At()})))()}function go(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;gt&&(o=dt(Mr(c)))}R(()=>{var e=Hi;if(s===(s=t()??``)){gt&&ft();return}if(n&&!gt){e.nodes=null,c.innerHTML=s,s!==``&&ka(Mr(c),c.lastChild);return}if(e.nodes!==null&&(di(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(gt){for(var a=_t.data,l=ft(),u=l;l!==null&&(l.nodeType!==8||l.data!==``);)u=l,l=Nr(l);if(l===null)throw ot(),$e;ka(_t,u),o=dt(l);return}var d=Ir(r?`svg`:i?`math`:`template`,r?nt:i?rt:void 0);d.innerHTML=s;var f=r||i?d:d.content;if(ka(Mr(f),f.lastChild),r||i)for(;Mr(f);)o.before(Mr(f));else o.before(f)}})}function _o(){return(_o=o((()=>{it(),vi(),vt(),Ma(),lt(),la(),Bt(),Ur(),Xi(),Le()})))()}function vo(){return(vo=o((()=>{vt()})))()}function yo(){return(yo=o((()=>{la()})))()}function bo(e,t,...n){var r=new Ka(e);ii(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ve)}function xo(){return(xo=o((()=>{Le(),vi(),Bt(),vt(),Oa(),Ma(),Qe(),Ur(),yo(),qa()})))()}function So(e,t,n){var r;gt&&(r=_t,ft());var i=new Ka(e);ii(()=>{var e=t()??null;if(gt&&ht(r)===`[`!=(e!==null)){var a=mt();dt(a),i.anchor=a,ut(!1),i.ensure(e,e&&(t=>n(t,e))),ut(!0);return}i.ensure(e,e&&(t=>n(t,e)))},ve)}function Co(){return(Co=o((()=>{Le(),vi(),vt(),qa(),it()})))()}var wo,To;function Eo(){return(Eo=o((()=>{le(),wo=()=>performance.now(),To={tick:e=>requestAnimationFrame(e),now:()=>wo(),tasks:new Set}})))()}function Do(){let e=To.now();To.tasks.forEach(t=>{t.c(e)||(To.tasks.delete(t),t.f())}),To.tasks.size!==0&&To.tick(Do)}function Oo(e){let t;return To.tasks.size===0&&To.tick(Do),{promise:new Promise(n=>{To.tasks.add(t={c:e,f:n})}),abort(){To.tasks.delete(t)}}}function ko(){return(ko=o((()=>{Eo()})))()}function Ao(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function jo(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=Ao(n.trim());t[i]=r.trim()}return t}function Mo(e){Io=e}function No(e,t,n){var r=(Io??Hi).nodes,i,a,o,s=null;r.a??={element:e,measure(){i=this.element.getBoundingClientRect()},apply(){if(o?.abort(),a=this.element.getBoundingClientRect(),i.left!==a.left||i.right!==a.right||i.top!==a.top||i.bottom!==a.bottom){let e=t()(this.element,{from:i,to:a},n?.());o=Po(this.element,e,void 0,1,()=>{},()=>{o?.abort(),o=void 0})}},fix(){if(!e.getAnimations().length){var{position:t,width:n,height:r}=getComputedStyle(e);if(t!==`absolute`&&t!==`fixed`){var a=e.style;s={position:a.position,width:a.width,height:a.height,transform:a.transform},a.position=`absolute`,a.width=n,a.height=r;var o=e.getBoundingClientRect();if(i.left!==o.left||i.top!==o.top){var c=`translate(${i.left-o.left}px, ${i.top-o.top}px)`;a.transform=a.transform?`${a.transform} ${c}`:c}}}},unfix(){if(s){var t=e.style;t.position=s.position,t.width=s.width,t.height=s.height,t.transform=s.transform}}},r.a.element=e}function Po(e,t,n,r,i,a){var o=r===1;if(v(t)){var s,c=!1;return Ht(()=>{c||(s=Po(e,t({direction:o?`in`:`out`}),n,r,i,a))}),{abort:()=>{c=!0,s?.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return i(),a(),{abort:E,deactivate:E,reset:E,t:()=>r};let{delay:l=0,css:u,tick:d,easing:f=Fo}=t;var p=[];if(o&&n===void 0&&(d&&d(0,1),u)){var m=jo(u(0,1));p.push(m,m)}var h=()=>1-r,g=e.animate(p,{duration:l,fill:`forwards`});return g.onfinish=()=>{g.cancel(),i();var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),l=[];if(c>0){var p=!1;if(u)for(var m=Math.ceil(c/(1e3/60)),_=0;_<=m;_+=1){var v=o+s*f(_/m),y=jo(u(v,1-v));l.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),h=()=>{var e=g.currentTime;return o+s*f(e/c)},d&&Oo(()=>{if(g.playState!==`running`)return!1;var e=h();return d(e,1-e),!0})}g=e.animate(l,{duration:c,fill:`forwards`}),g.onfinish=()=>{h=()=>r,d?.(r,1-r),a()}},{abort:()=>{g&&(g.cancel(),g.effect=null,g.onfinish=E)},deactivate:()=>{a=E},reset:()=>{r===0&&d?.(1,0)},t:()=>h()}}var Fo,Io;function Lo(){return(Lo=o((()=>{le(),vi(),Xi(),ko(),Ba(),Le(),Gt(),Dn(),Fo=e=>e,Io=null})))()}function Ro(e,t,n,r,i,a){let o=gt;gt&&ft();var s=null;gt&&_t.nodeType===1&&(s=_t,ft());var c=gt?_t:e,l=Hi,u=new Ka(c,!1);ii(()=>{let e=t()||null;var a=i?i():n||e===`svg`?nt:void 0;if(e===null){u.ensure(null,null),Na(!0);return}return u.ensure(e,t=>{if(e){if(s=gt?s:Ir(e,a),ka(s,s),r){var n=null;gt&&na(e)&&s.append(n=document.createComment(``));var i=gt?Mr(s):s.appendChild(jr());gt&&(i===null?ut(!1):dt(i)),Mo(l),r(s,i),n?.remove(),Mo(null)}Hi.nodes.end=s,t.before(s)}gt&&dt(t)}),Na(!0),()=>{e&&Na(!1)}},ve),Jr(()=>{Na(!0)}),o&&(ut(!0),dt(c))}function zo(){return(zo=o((()=>{it(),vt(),Ur(),vi(),Ba(),Xi(),Bt(),Le(),Ma(),la(),qa(),Lo()})))()}function Bo(e,t){let n=null,r=gt;var i;if(gt){n=_t;for(var a=Mr(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=Nr(a);if(a===null)ut(!1);else{var o=Nr(a);a.remove(),dt(o)}}gt||(i=document.head.appendChild(jr()));try{ii(()=>{var e=oi(()=>t(i));e.f|=ye})}finally{r&&(ut(!0),dt(n))}}function Vo(){return(Vo=o((()=>{vt(),Ur(),vi(),Le()})))()}function G(e,t){ei(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Ir(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function Ho(){return(Ho=o((()=>{da(),vi(),Ur()})))()}function Uo(){return(Uo=o((()=>{vi(),Xi()})))()}function Wo(e,t){var n=void 0,r;ai(()=>{n!==(n=t())&&(r&&=(ui(r),null),n&&(r=oi(()=>{ei(()=>n(e))})))})}function Go(){return(Go=o((()=>{vi()})))()}function Ko(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ko(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function qo(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ko(e))&&(r&&(r+=` `),r+=t);return r}function Jo(){return(Jo=o((()=>{})))()}function Yo(e){return typeof e==`object`?qo(e):e??``}function Xo(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||es.includes(r[o-1]))&&(s===r.length||es.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Zo(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Qo(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function $o(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Qo)),i&&c.push(...Object.keys(i).map(Qo));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Qo(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Zo(r)),i&&(n+=Zo(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}var es;function ts(){return(ts=o((()=>{Jo(),le(),es=[...`
|
|
18
|
-
\r\f\xA0\v`]})))()}function ns(e,t,n,r,i,a){var o=e[je];if(gt||o!==n||o===void 0){var s=Xo(n,r,a);(!gt||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[je]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function rs(){return(rs=o((()=>{ts(),Le(),vt()})))()}function is(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function as(e,t,n,r){var i=e[Me];if(gt||i!==t){var a=$o(t,r);(!gt||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[Me]=t}else r&&(Array.isArray(r)?(is(e,n?.[0],r[0]),is(e,n?.[1],r[1],`important`)):is(e,n,r));return r}function os(){return(os=o((()=>{ts(),Le(),vt()})))()}function ss(e,t,n=!1){if(e.multiple){if(t==null)return;if(!w(t))return st();for(var r of e.options)r.selected=t.includes(ls(r));return}for(r of e.options)if(ree(ls(r),t)){r.selected=!0;return}(!n||t!==void 0)&&(e.selectedIndex=-1)}function cs(e){var t=new MutationObserver(()=>{`__value`in e&&ss(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),Jr(()=>{t.disconnect()})}function ls(e){return`__value`in e?e.__value:e.value}function us(){return(us=o((()=>{vi(),Dn(),Or(),le(),lt(),gr()})))()}function ds(e){if(gt){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;K(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;K(e,`checked`,null),e.checked=r}}};e[Pe]=n,Ht(n),Sn()}}function fs(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function K(e,t,n,r){var i=hs(e);gt&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===xs)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ke]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&gs(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ps(e,t,n,r,i=!1,a=!1){if(gt&&i&&e.nodeName===Ss){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||ds(o)}var s=hs(e),c=s[ys],l=!s[bs];let u=gt&&c;u&&ut(!1);var d=t||{},f=e.nodeName===Cs;for(var p in t)p in n||(n[p]=null);n.class?n.class=Yo(n.class):(r||n[_s])&&(n.class=null),n[vs]&&(n.style??=null);var m=gs(e);if(e.nodeName===Ss&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==d.type||h===void 0&&e.hasAttribute(`type`))&&(d.type=h,K(e,`type`,h,a))}for(let i in n){let o=n[i];if(f&&i===`value`&&o==null){e.value=e.__value=``,d[i]=o;continue}if(i===`class`){ns(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[_s],n[_s]),d[i]=o,d[_s]=n[_s];continue}if(i===`style`){as(e,o,t?.[vs],n[vs]),d[i]=o,d[vs]=n[vs];continue}var g=d[i];if(!(o===g&&!(o===void 0&&e.hasAttribute(i)))){d[i]=o;var _=i[0]+i[1];if(_!==`$$`){if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=$i(r);if(Qi(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(o!=null)continue;e.removeEventListener(r,d[n],t),d[n]=null}if(v)_a(r,e,o),va([r]);else if(o!=null){function a(e){d[i].call(this,e)}d[n]=ma(r,e,a,t)}}else if(i===`style`)K(e,i,o);else if(i===`autofocus`)bn(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&f)fs(e,o);else{var y=i;l||(y=ea(y));var b=y===`defaultValue`||y===`defaultChecked`;if(o==null&&!c&&!b){if(s[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i)}else b||m.includes(y)&&(c||typeof o!=`string`)?(e[y]=o,y in s&&(s[y]=et)):typeof o!=`function`&&K(e,y,o,a)}}}}return u&&ut(!0),d}function ms(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Pn(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===ws,l=!1;if(ai(()=>{var u=t(...n.map(z)),d=ps(e,r,u,a,o,s);l&&c&&`value`in u&&ss(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||ui(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&ui(i[t]),i[t]=oi(()=>Wo(e,()=>f))),d[t]=f}r=d}),c){var u=e;ei(()=>{ss(u,r.value,!0),cs(u)})}l=!0})}function hs(e){return e[Ae]??={[ys]:e.nodeName.includes(`-`),[bs]:e.namespaceURI===tt}}function gs(e){var t=e.getAttribute(`is`)||e.nodeName,n=Ts.get(t);if(n)return n;Ts.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=ie(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.push(o);i=se(i)}return n}var _s,vs,ys,bs,xs,Ss,Cs,ws,Ts;function Es(){return(Es=o((()=>{vt(),le(),wa(),wn(),lt(),Le(),Gt(),la(),Xi(),Go(),ts(),rs(),os(),it(),vi(),us(),Rn(),_s=Symbol(`class`),vs=Symbol(`style`),ys=Symbol(`is custom element`),bs=Symbol(`is html`),xs=Ie?`link`:`LINK`,Ss=Ie?`input`:`INPUT`,Cs=Ie?`option`:`OPTION`,ws=Ie?`select`:`SELECT`,Ts=new Map})))()}function Ds(){return(Ds=o((()=>{vt(),Ur(),Oa(),Go()})))()}function Os(){return(Os=o((()=>{Dn()})))()}function ks(e,t,n=t){var r=new WeakSet;En(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=As(e)?js(a):a,n(a),ir!==null&&r.add(ir),await Pi(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(gt&&e.defaultValue!==e.value||Li(t)==null&&e.value)&&(n(As(e)?js(e.value):e.value),ir!==null&&r.add(ir)),ni(()=>{var n=t();if(e===document.activeElement){var i=St?ar:ir;if(r.has(i))return}As(e)&&n===js(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function As(e){var t=e.type;return t===`number`||t===`range`}function js(e){return e===``?null:+e}function Ms(){return(Ms=o((()=>{vi(),Dn(),Qe(),Or(),Gt(),vt(),Xi(),gr(),wt()})))()}function Ns(){return(Ns=o((()=>{vi(),Dn()})))()}function Ps(){return(Ps=o((()=>{Dn()})))()}function Fs(){return(Fs=o((()=>{vi(),le()})))()}function Is(){return(Is=o((()=>{vi(),Xi()})))()}function Ls(e,t){return e===t||e?.[De]===t}function Rs(e={},t,n,r){var i=zt.r,a=Hi;return ei(()=>{var o,s;return ni(()=>{o=s,s=r?.()||[],Li(()=>{Ls(n(...s),e)||(t(e,...s),o&&Ls(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&Ls(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function zs(){return(zs=o((()=>{Le(),Bt(),vi(),Xi()})))()}function Bs(){return(Bs=o((()=>{vi(),Dn()})))()}function Vs(){return(Vs=o((()=>{vi(),Dn()})))()}function Hs(){return(Hs=o((()=>{le(),vi(),wa()})))()}function Us(){return(Us=o((()=>{le(),Bt(),qn(),vi(),Xi()})))()}function Ws(){return(Ws=o((()=>{Tr(),Xi(),le()})))()}function Gs(e,t,n){return new Proxy({props:e,exclude:t},qs)}function Ks(...e){return new Proxy({props:e},Js)}function q(e,t,n,r){var i=!Ct||!!(n&2),a=!!(n&8),o=!!(n&16),s=r,c=!0,l=void 0,u=()=>o&&i?(l??=zn(r),z(l)):(c&&(c=!1,s=o?Li(r):r),s);let d;if(a){var f=De in e||Oe in e;d=re(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=mn(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=u(),d&&(i&&Ke(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?u():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?zn:Vn)(()=>(_=!1,h()));a&&z(v);var y=Hi;return(function(e,t){if(arguments.length>0){let n=t?z(v):i&&a?Er(e):e;return P(v,n),_=!0,s!==void 0&&(s=n),e}return zi&&_||y.f&16384?v.v:z(v)})}var qs,Js;function Ys(){return(Ys=o((()=>{it(),le(),Tr(),qn(),Xi(),Qe(),Le(),Or(),vn(),wt(),vi(),qs={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}},Js={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(v(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];v(i)&&(i=i());let a=re(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(v(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=re(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===De||t===Oe)return!1;for(let n of e.props)if(v(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(v(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}}})))()}function Xs(){return(Xs=o((()=>{Bt(),vi(),vn(),Rn()})))()}function Zs(){return(Zs=o((()=>{Le(),vi(),Tr(),Ba(),Xi(),gr(),le(),Bt(),wt(),Qt(),Hs()})))()}function Qs(){return(Qs=o((()=>{Zs(),vi(),Ma(),le(),Ur()})))()}function $s(){return($s=o((()=>{Le(),kt(),Xi()})))()}function J(){return(J=o((()=>{Zi(),Bt(),ua(),fa(),Va(),Ha(),Ua(),At(),Wa(),Ga(),Qa(),$a(),no(),io(),ho(),_o(),vo(),xo(),Co(),zo(),Vo(),Ho(),Uo(),Go(),Es(),rs(),wa(),wn(),Ds(),os(),Lo(),Os(),Ms(),Ns(),Ps(),Fs(),us(),Is(),zs(),Bs(),Vs(),vt(),Hs(),Us(),Ws(),Ma(),Rn(),gr(),qn(),vi(),Tr(),Ys(),vn(),Nn(),bi(),Ba(),Xi(),Xs(),Eo(),Or(),Qs(),Ur(),ts(),kt(),le(),yo(),kr(),$s()})))()}function ec(){return(ec=o((()=>{vt()})))()}function tc(e){zt===null&&Re(`onMount`),Ct&&zt.l!==null?rc(zt).m.push(e):Yr(()=>{let t=Li(e);if(typeof t==`function`)return t})}function nc(e){zt===null&&Re(`onDestroy`),tc(()=>()=>Li(e))}function rc(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}function ic(){return(ic=o((()=>{Xi(),le(),J(),Qe(),wt(),Bt(),gr(),ec(),Ba(),xo()})))()}function Y(){return(Y=o((()=>{typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`)})))()}function ac(e,t){G(e,cc);let n=Gs(t,oc);var r=sc();ms(r,()=>({...n,class:`sui icon material-symbols-outlined ${t.class??``}`,"aria-hidden":!(`aria-label`in n)}),void 0,void 0,void 0,`svelte-vlipw7`);var i=F(r,!0);D(r),R(()=>U(i,t.name)),H(e,r)}var oc,sc,cc;function lc(){return(lc=o((()=>{Y(),J(),oc=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`name`]),sc=B(`<span> </span>`),cc={hash:`svelte-vlipw7`,code:`.icon.small-arrow.svelte-vlipw7 {overflow:hidden;width:12px;text-indent:-6px;}`}})))()}function uc(e,t){G(e,pc);let n=q(t,`ariaLive`,3,`assertive`),r=Gs(t,dc);var i=fc();ms(i,()=>({...r,role:`alert`,class:`sui alert ${t.status??``}`,"aria-live":n()}),void 0,void 0,void 0,`svelte-1qqronr`);var a=F(i),o=e=>{var n=V();bo(I(n),()=>t.icon),H(e,n)},s=e=>{{let n=M(()=>t.status===`success`?`check_circle`:t.status);ac(e,{get name(){return z(n)}})}};W(a,e=>{t.icon?e(o):e(s,-1)}),bo(L(a,2),()=>t.children??E),D(i),H(e,i)}var dc,fc,pc;function mc(){return(mc=o((()=>{Y(),J(),lc(),dc=new Set([`$$slots`,`$$events`,`$$legacy`,`status`,`ariaLive`,`children`,`icon`]),fc=B(`<div><!> <!></div>`),pc={hash:`svelte-1qqronr`,code:`.alert.svelte-1qqronr {display:flex;align-items:center;gap:var(--gap, 8px);padding:var(--padding, 8px);border-width:var(--border-width, var(--sui-control-medium-border-width));border-style:var(--border-style, solid);border-radius:var(--border-radius, var(--sui-control-medium-border-radius));font-size:var(--font-size, var(--sui-font-size-default));}.alert.error.svelte-1qqronr {border-color:var(--sui-error-border-color);color:var(--sui-error-foreground-color);background-color:var(--sui-error-background-color);}.alert.warning.svelte-1qqronr {border-color:var(--sui-warning-border-color);color:var(--sui-warning-foreground-color);background-color:var(--sui-warning-background-color);}.alert.info.svelte-1qqronr {border-color:var(--sui-info-border-color);color:var(--sui-info-foreground-color);background-color:var(--sui-info-background-color);}.alert.success.svelte-1qqronr {border-color:var(--sui-success-border-color);color:var(--sui-success-foreground-color);background-color:var(--sui-success-background-color);}`}})))()}function hc(e,t){let n=t,r=e.slice(n).match(gc);r&&(n+=r[0].length);let i=e.slice(n).match(_c);if(!i)return null;let a=i[0];if(vc.test(a))return null;n+=a.length;let o=e.slice(n).match(gc);return o&&(n+=o[0].length),{value:a.normalize(),end:n}}var gc,_c,vc,yc;function bc(){return(bc=o((()=>{gc=/^[\u061c\u200e\u200f\u2066-\u2069]+/,_c=/^[-.+0-9A-Z_a-z\u{a1}-\u{61b}\u{61d}-\u{167f}\u{1681}-\u{1fff}\u{200b}-\u{200d}\u{2010}-\u{2027}\u{2030}-\u{205e}\u{2060}-\u{2065}\u{206a}-\u{2fff}\u{3001}-\u{d7ff}\u{e000}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{1fffd}\u{20000}-\u{2fffd}\u{30000}-\u{3fffd}\u{40000}-\u{4fffd}\u{50000}-\u{5fffd}\u{60000}-\u{6fffd}\u{70000}-\u{7fffd}\u{80000}-\u{8fffd}\u{90000}-\u{9fffd}\u{a0000}-\u{afffd}\u{b0000}-\u{bfffd}\u{c0000}-\u{cfffd}\u{d0000}-\u{dfffd}\u{e0000}-\u{efffd}\u{f0000}-\u{ffffd}\u{100000}-\u{10fffd}]+/u,vc=/^[-.0-9]/,yc=(e,t)=>e.slice(t).match(_c)?.[0]??``})))()}var xc;function Sc(){return(Sc=o((()=>{xc=Symbol.for(`CST`)})))()}var Cc,wc,Tc,Ec,Dc;function Oc(){return(Oc=o((()=>{Sc(),Cc=class extends Error{type;constructor(e,t){super(t),this.type=e}},wc=class extends Cc{start;end;constructor(e,t,n,r){let i=r?`Missing ${r}`:e;t>=0&&(i+=` at ${t}`),super(e,i),this.start=t,this.end=n??t+1}},Tc=class extends wc{constructor(e,t){let{start:n,end:r}=t[xc]??{start:-1,end:-1};super(e,n,r)}},Ec=class extends Cc{source;cause;constructor(e,t,n,r){super(e,t),this.source=n,r!==void 0&&(this.cause=r)}},Dc=class extends Cc{source;cause;constructor(e,t){super(e,t),this.source=`�`}}})))()}function kc(e,t){if(Zc.startsWith(e,Xc))t&&(Xc+=e.length);else throw Qc(Xc,e)}function Ac(e){Xc=0,Zc=e;let t=Pc();if(Zc.startsWith(`.match`,Xc))return jc(t);let n=t.length>0||Zc.startsWith(`{{`,Xc);!n&&Xc>0&&(Xc=0);let r=Nc(n);if(n&&(qc(),Xc<Zc.length))throw $c(`extra-content`,Xc,Zc.length);return{type:`message`,declarations:t,pattern:r}}function jc(e){Xc+=6,qc(!0);let t=[];for(;Zc[Xc]===`$`;)t.push(Hc()),qc(!0);if(t.length===0)throw $c(`empty-token`,Xc);let n=[];for(;Xc<Zc.length;)n.push(Mc()),qc();return{type:`select`,declarations:e,selectors:t,variants:n}}function Mc(){let e=[];for(;Xc<Zc.length;){qc(e.length?`{`:!1);let t=Zc[Xc];if(t===`{`)break;if(t===`*`)e.push({type:`*`}),Xc+=1;else{let t=Uc(!0);t.value=t.value.normalize(),e.push(t)}}return{keys:e,value:Nc(!0)}}function Nc(e){if(e){if(Zc.startsWith(`{{`,Xc))Xc+=2;else throw Qc(Xc,`{{`)}let t=[];loop:for(;Xc<Zc.length;)switch(Zc[Xc]){case`{`:t.push(Lc(!0));break;case`}`:if(!e)throw $c(`parse-error`,Xc);break loop;default:t.push(Bc())}if(e){if(Zc.startsWith(`}}`,Xc))Xc+=2;else throw Qc(Xc,`}}`)}return t}function Pc(){let e=[];qc();loop:for(;Zc[Xc]===`.`;){switch(Zc.substr(Xc,6)){case`.input`:e.push(Fc());break;case`.local`:e.push(Ic());break;case`.match`:break loop;default:throw $c(`parse-error`,Xc)}qc()}return e}function Fc(){Xc+=6,qc(),kc(`{`,!1);let e=Xc,t=Lc(!1);if(t.type===`expression`&&t.arg?.type===`variable`)return{type:`input`,name:t.arg.name,value:t};throw $c(`bad-input-expression`,e,Xc)}function Ic(){Xc+=6,qc(!0),kc(`$`,!0);let e=Kc();return qc(),kc(`=`,!0),qc(),kc(`{`,!1),{type:`local`,name:e,value:Lc(!1)}}function Lc(e){let t=Xc;Xc+=1,qc();let n=Vc(!1);n&&qc(`}`);let r=Zc[Xc],i,a;switch(r){case`@`:case`}`:break;case`:`:{Xc+=1,i={type:`function`,name:Gc()};let e=Rc();e&&(i.options=e);break}case`#`:case`/`:{if(n||!e)throw $c(`parse-error`,Xc);Xc+=1,a={type:`markup`,kind:r===`#`?`open`:`close`,name:Gc()};let t=Rc();t&&(a.options=t);break}default:throw $c(`parse-error`,Xc)}let o=zc();if(a?.kind===`open`&&Zc[Xc]===`/`&&(a.kind=`standalone`,Xc+=1),kc(`}`,!0),i){let e=n?{type:`expression`,arg:n,functionRef:i}:{type:`expression`,functionRef:i};return o&&(e.attributes=o),e}if(a)return o&&(a.attributes=o),a;if(!n)throw $c(`empty-token`,t,Xc);return o?{type:`expression`,arg:n,attributes:o}:{type:`expression`,arg:n}}function Rc(){qc(`/}`);let e={},t=!0;for(;Xc<Zc.length;){let n=Zc[Xc];if(n===`@`||n===`/`||n===`}`)break;let r=Xc,i=Gc();if(Object.hasOwn(e,i))throw $c(`duplicate-option-name`,r,Xc);qc(),kc(`=`,!0),qc(),e[i]=Vc(!0),t=!1,qc(`/}`)}return t?null:e}function zc(){let e={},t=!0;for(;Zc[Xc]===`@`;){let n=Xc;Xc+=1;let r=Gc();if(Object.hasOwn(e,r))throw $c(`duplicate-attribute`,n,Xc);qc(`=/}`),Zc[Xc]===`=`?(Xc+=1,qc(),e[r]=Uc(!0),qc(`/}`)):e[r]=!0,t=!1}return t?null:e}function Bc(){let e=``,t=Xc;loop:for(;t<Zc.length;++t)switch(Zc[t]){case`\\`:{let n=Zc[t+1];if(!`\\{|}`.includes(n))throw $c(`bad-escape`,t,t+2);e+=Zc.substring(Xc,t)+n,t+=1,Xc=t+1;break}case`{`:case`}`:break loop}return e+=Zc.substring(Xc,t),Xc=t,e}function Vc(e){return Zc[Xc]===`$`?Hc():Uc(e)}function Hc(){return Xc+=1,{type:`variable`,name:Kc()}}function Uc(e){if(Zc[Xc]===`|`)return Wc();let t=yc(Zc,Xc);if(!t){if(e)throw $c(`empty-token`,Xc);return}return Xc+=t.length,{type:`literal`,value:t}}function Wc(){Xc+=1;let e=``;for(let t=Xc;t<Zc.length;++t)switch(Zc[t]){case`\\`:{let n=Zc[t+1];if(!`\\{|}`.includes(n))throw $c(`bad-escape`,t,t+2);e+=Zc.substring(Xc,t)+n,t+=1,Xc=t+1;break}case`|`:return e+=Zc.substring(Xc,t),Xc=t+1,{type:`literal`,value:e}}throw Qc(Zc.length,`|`)}function Gc(){let e=Kc();return Zc[Xc]===`:`?(Xc+=1,e+`:`+Kc()):e}function Kc(){let e=hc(Zc,Xc);if(!e)throw $c(`empty-token`,Xc);return Xc=e.end,e.value}function qc(e=!1){let t=Zc[Xc],n=!1;if(e){for(;Jc.has(t);)t=Zc[++Xc];for(;Yc.has(t);)t=Zc[++Xc],n=!0}for(;Jc.has(t)||Yc.has(t);)t=Zc[++Xc];if(e&&!n&&(e===!0||!e.includes(Zc[Xc])))throw Qc(Xc,`' '`)}var Jc,Yc,Xc,Zc,Qc,$c;function el(){return(el=o((()=>{bc(),Oc(),Jc=new Set(``),Yc=new Set(`
|
|
19
|
-
\r `),Qc=(e,t)=>new wc(`missing-syntax`,e,e+t.length,t),$c=(...e)=>new wc(...e)})))()}function tl(e,t){let{node:n,pattern:r}=t,{functionRef:i=n,attributes:a=null,declaration:o=n,expression:s=n,key:c=n,markup:l=n,options:u=null,value:d=n,variant:f=n}=t,p=(e,t)=>{if(e){let n=u?.(e,t);if(d)for(let n of Object.values(e))d(n,t,`option`);n?.()}},m=(e,t)=>{if(e){let n=a?.(e,t);if(d)for(let n of Object.values(e))n!==!0&&d(n,t,`attribute`);n?.()}},h=(e,t)=>{if(typeof e==`object`){let n;switch(e.type){case`expression`:if(n=s?.(e,t),e.arg&&d?.(e.arg,t,`arg`),e.functionRef){let n=i?.(e.functionRef,t,e.arg);p(e.functionRef.options,t),n?.()}m(e.attributes,t);break;case`markup`:n=l?.(e,t),p(e.options,t),m(e.attributes,t)}n?.()}},g=e=>{let t=r?.(e);for(let t of e)h(t,`placeholder`);t?.()};for(let t of e.declarations){let e=o?.(t);t.value&&h(t.value,`declaration`),e?.()}if(e.type===`message`)g(e.pattern);else{if(d)for(let t of e.selectors)d(t,`selector`,`arg`);for(let t of e.variants){let e=f?.(t);c&&t.keys.forEach(c),g(t.value),e?.()}}}function nl(e,t=(e,t)=>{throw new Tc(e,t)}){let n=0,r=null,i=new Set,a=new Set,o=new Set,s=new Set,c=new Set,l=new Set,u=!0;tl(e,{declaration(e){if(e.name)return(e.value.functionRef||e.type===`local`&&e.value.arg?.type===`variable`&&i.has(e.value.arg.name))&&i.add(e.name),e.type===`local`&&s.add(e.name),u=e.type===`local`,()=>{a.has(e.name)?t(`duplicate-declaration`,e):a.add(e.name)}},expression({functionRef:e}){e&&o.add(e.name)},value(e,o,s){if(e.type===`variable`)switch(c.add(e.name),o){case`declaration`:(s!==`arg`||u)&&a.add(e.name);break;case`selector`:n+=1,r=e,i.has(e.name)||t(`missing-selector-annotation`,e)}},variant(e){let{keys:i}=e;i.length!==n&&t(`key-mismatch`,e);let a=JSON.stringify(i.map(e=>e.type===`literal`?e.value:0));l.has(a)?t(`duplicate-variant`,e):l.add(a),r&&=i.every(e=>e.type===`*`)?null:e}}),r&&t(`missing-fallback`,r);for(let e of s)c.delete(e);return{functions:o,variables:c}}function rl(){return(rl=o((()=>{Oc()})))()}function il(e){if(e)try{typeof e==`string`&&(e=new Intl.Locale(e));let t=e.getTextInfo?.()??e.textInfo;if(t?.direction)return t.direction;let n=e.maximize().script;if(n)return al.includes(n)?`rtl`:`ltr`}catch{}return`auto`}var al;function ol(){return(ol=o((()=>{al=`Adlm,Arab,Hebr,Mand,Nkoo,Rohg,Syrc,Thaa`})))()}function sl(e){if(e&&typeof e==`object`&&(e=e.valueOf()),typeof e==`boolean`)return e;if(e&&typeof e==`object`&&(e=String(e)),e===`true`)return!0;if(e===`false`)return!1;throw RangeError(`Not a boolean`)}function cl(e){if(e&&typeof e==`object`&&(e=e.valueOf()),e&&typeof e==`object`&&(e=String(e)),typeof e==`string`&&/^(0|[1-9][0-9]*)$/.test(e)&&(e=Number(e)),typeof e==`number`&&e>=0&&Number.isInteger(e))return e;throw RangeError(`Not a positive integer`)}function ll(e){if(e&&typeof e==`object`&&(e=e.valueOf()),typeof e==`string`)return e;if(e&&typeof e==`object`)return String(e);throw RangeError(`Not a string`)}function ul(e){let t;if(typeof e==`object`){let n=e?.valueOf;typeof n==`function`&&(t=e.options,e=n.call(e))}if(typeof e==`string`)try{e=JSON.parse(e)}catch{}if(typeof e!=`bigint`&&typeof e!=`number`)throw new Dc(`bad-operand`,`Input is not numeric`);return{value:e,options:t}}function dl(e,t,n,r){let{dir:i,locales:a}=e;n.useGrouping===`never`&&(n.useGrouping=!1),r&&`select`in n&&!e.literalOptionKeys.has(`select`)&&(e.onError(`bad-option`,`The option select may only be set by a literal value`),r=!1);let o,s,c,l;return{type:`number`,get dir(){return i??=(o??=Intl.NumberFormat.supportedLocalesOf(a,n)[0],il(o)),i},get options(){return{...n}},selectKey:r?e=>{let r=t;n.style===`percent`&&(r*=typeof r==`bigint`?100n:100);let i=String(r);if(e.has(i))return i;if(n.select===`exact`)return null;let o=n.select?{...n,select:void 0,type:n.select}:n;return c??=new Intl.PluralRules(a,o).select(Number(r)),e.has(c)?c:null}:void 0,toParts(){s??=new Intl.NumberFormat(a,n);let e=s.formatToParts(t);return o??=s.resolvedOptions().locale,i??=il(o),i===`ltr`||i===`rtl`?[{type:`number`,dir:i,locale:o,parts:e}]:[{type:`number`,locale:o,parts:e}]},toString(){return s??=new Intl.NumberFormat(a,n),l??=s.format(t),l},valueOf:()=>t}}function fl(e,t,n){let r=ul(n),i=r.value,a=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`decimal`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`minimumIntegerDigits`:case`minimumFractionDigits`:case`maximumFractionDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:case`roundingIncrement`:a[n]=cl(r);break;case`roundingMode`:case`roundingPriority`:case`select`:case`signDisplay`:case`trailingZeroDisplay`:case`useGrouping`:a[n]=ll(r)}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :number option ${n}`)}return dl(e,i,a,!0)}function pl(e,t,n){let r=ul(n),i=Number.isFinite(r.value)?Math.round(r.value):r.value,a=Object.assign({},r.options,{maximumFractionDigits:0,minimumFractionDigits:void 0,minimumSignificantDigits:void 0,style:`decimal`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`minimumIntegerDigits`:case`maximumSignificantDigits`:a[n]=cl(r);break;case`select`:case`signDisplay`:case`useGrouping`:a[n]=ll(r)}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :integer option ${n}`)}return dl(e,i,a,!0)}function ml(){return(ml=o((()=>{ol(),Oc()})))()}function hl(e,t,n){let r=ul(n),i=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`currency`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`currency`:case`currencySign`:case`roundingMode`:case`roundingPriority`:case`trailingZeroDisplay`:case`useGrouping`:i[n]=ll(r);break;case`minimumIntegerDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:case`roundingIncrement`:i[n]=cl(r);break;case`currencyDisplay`:{let t=ll(r);t===`never`?e.onError(`unsupported-operation`,`Currency display "never" is not yet supported`):i[n]=t;break}case`fractionDigits`:{let e=ll(r);if(e===`auto`)i.minimumFractionDigits=void 0,i.maximumFractionDigits=void 0;else{let t=cl(e);i.minimumFractionDigits=t,i.maximumFractionDigits=t}break}}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :currency option ${n}`)}if(!i.currency)throw new Dc(`bad-operand`,`A currency code is required for :currency`);return dl(e,r.value,i,!1)}function gl(){return(gl=o((()=>{Oc(),ml()})))()}function _l(e,t,n,r){let i={localeMatcher:t.localeMatcher},a=r;if(typeof a==`object`&&a){let t=a.options;t&&(i.calendar=t.calendar,e!==`date`&&(i.hour12=t.hour12),i.timeZone=t.timeZone),typeof a.valueOf==`function`&&(a=a.valueOf())}switch(typeof a){case`number`:case`string`:a=new Date(a)}if(!(a instanceof Date)||isNaN(a.getTime()))throw new Dc(`bad-operand`,`Input is not a valid date`);if(n.calendar!==void 0)try{i.calendar=ll(n.calendar)}catch{t.onError(`bad-option`,`Invalid :${e} calendar option value`)}if(n.hour12!==void 0&&e!==`date`)try{i.hour12=sl(n.hour12)}catch{t.onError(`bad-option`,`Invalid :${e} hour12 option value`)}if(n.timeZone!==void 0){let r;try{r=ll(n.timeZone)}catch{t.onError(`bad-option`,`Invalid :${e} timeZone option value`)}if(r===`input`)i.timeZone===void 0&&t.onError(`bad-operand`,`Missing input timeZone value for :${e}`);else if(r!==void 0){if(i.timeZone!==void 0&&r!==i.timeZone)throw new Dc(`bad-option`,`Time zone conversion is not supported`);i.timeZone=r}}if(e!==`time`){let r=e===`date`?`fields`:`dateFields`,a=e===`date`?`length`:`dateLength`,o=vl(t,n,r,yl)??`year-month-day`,s=vl(t,n,a,bl),c=new Set(o.split(`-`));c.has(`year`)&&(i.year=`numeric`),c.has(`month`)&&(i.month=s===`long`?`long`:s===`short`?`numeric`:`short`),c.has(`day`)&&(i.day=`numeric`),c.has(`weekday`)&&(i.weekday=s===`long`?`long`:`short`)}if(e!==`date`){switch(vl(t,n,e===`time`?`precision`:`timePrecision`,xl)){case`hour`:i.hour=`numeric`;break;case`second`:i.hour=`numeric`,i.minute=`numeric`,i.second=`numeric`;break;default:i.hour=`numeric`,i.minute=`numeric`}i.timeZoneName=vl(t,n,`timeZoneStyle`,Sl)}let o=new Intl.DateTimeFormat(t.locales,i),s=t.dir,c,l;return{type:`datetime`,get dir(){return s??=(c??=o.resolvedOptions().locale,il(c)),s},get options(){return{...i}},toParts(){let e=o.formatToParts(a);return c??=o.resolvedOptions().locale,s??=il(c),s===`ltr`||s===`rtl`?[{type:`datetime`,dir:s,locale:c,parts:e}]:[{type:`datetime`,locale:c,parts:e}]},toString(){return l??=o.format(a),l},valueOf:()=>a}}function vl(e,t,n,r){let i=t[n];if(i!==void 0)try{let e=ll(i);if(r&&!r.has(e))throw Error();return e}catch{e.onError(`bad-option`,`Invalid value for ${n} option`)}}var yl,bl,xl,Sl,Cl,wl,Tl;function El(){return(El=o((()=>{ol(),Oc(),yl=new Set([`weekday`,`day-weekday`,`month-day`,`month-day-weekday`,`year-month-day`,`year-month-day-weekday`]),bl=new Set([`long`,`medium`,`short`]),xl=new Set([`hour`,`minute`,`second`]),Sl=new Set([`long`,`short`]),Cl=(e,t,n)=>_l(`datetime`,e,t,n),wl=(e,t,n)=>_l(`date`,e,t,n),Tl=(e,t,n)=>_l(`time`,e,t,n)})))()}function aee(e,t,n){let{value:r,options:i}=ul(n),a;try{a=`add`in t?cl(t.add):-1}catch{throw new Dc(`bad-option`,`Value ${t.add} is not valid for :offset option add`)}let o;try{o=`subtract`in t?cl(t.subtract):-1}catch{throw new Dc(`bad-option`,`Value ${t.subtract} is not valid for :offset option subtract`)}if(a<0==o<0)throw new Dc(`bad-option`,`Exactly one of "add" or "subtract" is required as an :offset option`);let s=a<0?-o:a;return r+=typeof r==`number`?s:BigInt(s),fl(e,{},{valueOf:()=>r,options:i})}function Dl(){return(Dl=o((()=>{Oc(),ml()})))()}function Ol(e,t,n){let r=ul(n),i=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`percent`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`roundingMode`:case`roundingPriority`:case`signDisplay`:case`trailingZeroDisplay`:case`useGrouping`:i[n]=ll(r);break;case`minimumFractionDigits`:case`maximumFractionDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:i[n]=cl(r)}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :percent option ${n}`)}return dl(e,r.value,i,!0)}function kl(){return(kl=o((()=>{ml()})))()}function Al(e,t,n){let r=n===void 0?``:String(n),i=r.normalize();return{type:`string`,dir:e.dir??`auto`,selectKey:e=>e.has(i)?i:null,toParts(){let{dir:t}=e,n=e.locales[0];return t===`ltr`||t===`rtl`?[{type:`string`,dir:t,locale:n,value:r}]:[{type:`string`,locale:n,value:r}]},toString:()=>r,valueOf:()=>r}}function jl(e,t,n){let r=ul(n),i=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`unit`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`signDisplay`:case`roundingMode`:case`roundingPriority`:case`trailingZeroDisplay`:case`unit`:case`unitDisplay`:case`useGrouping`:i[n]=ll(r);break;case`minimumIntegerDigits`:case`minimumFractionDigits`:case`maximumFractionDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:case`roundingIncrement`:i[n]=cl(r)}}catch(t){t instanceof Cc?e.onError(t):e.onError(`bad-option`,`Value ${r} is not valid for :currency option ${n}`)}if(!i.unit)throw new Dc(`bad-operand`,`A unit identifier is required for :unit`);return dl(e,r.value,i,!1)}function Ml(){return(Ml=o((()=>{Oc(),ml()})))()}var Nl,Pl;function Fl(){return(Fl=o((()=>{gl(),El(),ml(),Dl(),kl(),Ml(),Nl={integer:pl,number:fl,offset:aee,string:Al},Nl=Object.freeze(Object.assign(Object.create(null),Nl)),Pl={currency:hl,date:wl,datetime:Cl,percent:Ol,time:Tl,unit:jl},Pl=Object.freeze(Object.assign(Object.create(null),Pl))})))()}var Il;function Ll(){return(Ll=o((()=>{Il=Symbol(`bidi-isolate`)})))()}var Rl;function zl(){return(zl=o((()=>{Rl=(e=`�`)=>({type:`fallback`,source:e,toParts:()=>[{type:`fallback`,source:e}],toString:()=>`{${e}}`})})))()}var Bl;function Vl(){return(Vl=o((()=>{Bl=(e,t)=>({type:`unknown`,source:e,dir:`auto`,toParts:()=>[{type:`unknown`,value:t}],toString:()=>String(t),valueOf:()=>t})})))()}var Hl;function Ul(){return(Ul=o((()=>{Oc(),ru(),Hl=class{#e;#t;#n;dir;id;constructor(e,t,n){this.#e=e,this.#n=t,this.dir=void 0;let r=n&&Object.hasOwn(n,`u:dir`)?n[`u:dir`]:void 0;if(r){let t=String(tu(e,r));if(t===`ltr`||t===`rtl`||t===`auto`)this.dir=t;else if(t!==`inherit`){let t=new Dc(`bad-option`,`Unsupported value for u:dir option`);t.source=nu(r),e.onError(t)}}let i=n&&Object.hasOwn(n,`u:id`)?n[`u:id`]:void 0;if(this.id=i?String(tu(e,i)):void 0,n){this.#t=new Set;for(let[e,t]of Object.entries(n))t.type===`literal`&&this.#t.add(e)}}get literalOptionKeys(){return new Set(this.#t)}get localeMatcher(){return this.#e.localeMatcher}get locales(){return this.#e.locales.map(String)}onError(e,t){let n;e instanceof Dc?n=e:typeof e==`string`&&typeof t==`string`?n=new Dc(e,t):(n=new Dc(`function-error`,String(e)),n.cause=e),n.source=this.#n,this.#e.onError(n)}}})))()}function Wl(e,t,{name:n,options:r}){let i=`:${n}`,a=nu(t)??i;try{let o=t?[tu(e,t)]:[],s=e.functions[n];if(!s)throw new Ec(`unknown-function`,`Unknown function ${i}`,a);let c=new Hl(e,a,r),l=s(c,Gl(e,r),...o);if(typeof l!=`object`||!l||typeof l.type!=`string`)throw new Ec(`bad-function-result`,`Function ${i} did not return a MessageValue`,a);let u={source:a};return c.dir&&(u.dir=c.dir,u[Il]=!0),c.id&&typeof l.toParts==`function`&&(u.toParts=()=>{let e=l.toParts();for(let t of e)t.id=c.id;return e}),{...l,...u}}catch(t){return e.onError(t instanceof Cc?t:new Ec(`bad-function-result`,String(t),a,t)),Rl(a)}}function Gl(e,t){let n=Object.create(null);if(t)for(let[r,i]of Object.entries(t))r.startsWith(`u:`)||(n[r]=tu(e,i));return n}function Kl(){return(Kl=o((()=>{Oc(),zl(),Ll(),Ul(),ru()})))()}function ql(e,{arg:t,functionRef:n}){if(n)return Wl(e,t,n);switch(t?.type){case`literal`:{let n=`|${t.value}|`,r=Al(new Hl(e,n),{},t.value);return r.source=n,r}case`variable`:return Zl(e,t);default:throw Error(`Unsupported expression: ${t?.type}`)}}function Jl(){return(Jl=o((()=>{Ul(),Kl(),eu()})))()}function Yl(e,t){if($l(e)){if(t in e)return e[t];let n=t.split(`.`);for(let t=n.length-1;t>0;--t){let r=n.slice(0,t).join(`.`);if(r in e){let i=n.slice(t).join(`.`);return Yl(e[r],i)}}for(let[n,r]of Object.entries(e))if(n.normalize()===t)return r}}function Xl(e,{name:t}){let n=Yl(e.scope,t);if(n===void 0){let n=`$`+t,r=`Variable not available: ${n}`;e.onError(new Ec(`unresolved-variable`,r,n))}else if(n instanceof Ql){let r=ql(n.scope?{...e,scope:n.scope}:e,n.expression);return e.scope[t]=r,e.localVars.add(r),r}return n}function Zl(e,t){let n=`$`+t.name,r=Xl(e,t);if(r===void 0)return Rl(n);let i=typeof r;if(i===`object`){let t=r;if(t.type===`fallback`)return Rl(n);if(e.localVars.has(t))return t.source=n,t;r instanceof Number?i=`number`:r instanceof String&&(i=`string`)}let a;switch(i){case`bigint`:case`number`:a=e.functions.number;break;case`string`:a=e.functions.string;break;default:return Bl(n,r)}let o=new Hl(e,n),s=a(o,{},r);return s.source=n,s}var Ql,$l;function eu(){return(eu=o((()=>{Oc(),zl(),Vl(),Ul(),Jl(),Ql=class{expression;scope;constructor(e,t){this.expression=e,this.scope=t}},$l=e=>e!==null&&(typeof e==`object`||typeof e==`function`)})))()}function tu(e,t){switch(t.type){case`literal`:return t.value;case`variable`:return Xl(e,t);default:throw Error(`Unsupported value: ${t.type}`)}}function nu(e){switch(e?.type){case`literal`:return`|`+e.value.replaceAll(`\\`,`\\\\`).replaceAll(`|`,`\\|`)+`|`;case`variable`:return`$`+e.name;default:return}}function ru(){return(ru=o((()=>{eu()})))()}function iu(e,{kind:t,name:n,options:r}){let i={type:`markup`,kind:t,name:n},a=r?Object.entries(r):null;if(a?.length){i.options={};for(let[t,n]of a)if(t===`u:dir`){let r=new Dc(`bad-option`,`The option ${t} is not valid for markup`);r.source=nu(n),e.onError(r)}else{let r=tu(e,n);typeof r==`object`&&typeof r?.valueOf==`function`&&(r=r.valueOf()),t===`u:id`?i.id=String(r):i.options[t]=r}}return i}function au(){return(au=o((()=>{Oc(),ru()})))()}function ou(e,t){if(t.type===`message`)return t.pattern;let n=t.selectors.map(t=>{let n=Zl(e,t),r;return typeof n.selectKey==`function`?r=n.selectKey.bind(n):(e.onError(new Ec(`bad-selector`,`Selector does not support selection`,n.source)),r=()=>null),{selectKey:r,source:n.source,best:null,keys:null}}),r=t.variants;loop:for(let i=0;i<n.length;++i){let a=n[i];if(!a.keys){a.keys=new Set;for(let{keys:e}of r){let t=e[i];if(!t)break loop;t.type!==`*`&&a.keys.add(t.value)}}try{a.best=a.keys.size?a.selectKey(a.keys):null}catch(t){e.onError(new Ec(`bad-selector`,`Selection failed`,a.source,t)),a.selectKey=()=>null,a.best=null}if(r=r.filter(e=>{let t=e.keys[i];return t.type===`*`?a.best==null:a.best===t.value}),r.length===0){if(i===0)break;let e=n[i-1];e.best==null?e.keys?.clear():e.keys?.delete(e.best);for(let e=i;e<n.length;++e)n[e].keys=null;r=t.variants,i=-1}}let i=r[0];return i?i.value:(e.onError(new Ec(`no-match`,`No variant was selected!?`,`.match`)),[])}function su(){return(su=o((()=>{Oc(),eu()})))()}var cu;function lu(){return(lu=o((()=>{el(),rl(),ol(),Oc(),Fl(),Ll(),au(),Jl(),eu(),su(),cu=class{#e;#t;#n;#r;#i;#a;constructor(e,t,n){this.#e=n?.bidiIsolation!==`none`,this.#n=n?.localeMatcher??`best fit`,this.#r=Array.isArray(e)?e.map(e=>new Intl.Locale(e)):e?[new Intl.Locale(e)]:[],this.#t=n?.dir??il(this.#r[0]),this.#i=typeof t==`string`?Ac(t):t,nl(this.#i),this.#a=n?.functions?Object.assign(Object.create(null),Nl,n.functions):Nl}format(e,t){let n=this.#o(e,t),r=``;for(let e of ou(n,this.#i))if(typeof e==`string`)r+=e;else if(e.type===`markup`)iu(n,e);else{let t;try{if(t=ql(n,e),typeof t.toString==`function`){if(this.#e&&(this.#t!==`ltr`||t.dir!==`ltr`||t[Il])){let e=t.dir===`ltr`?``:t.dir===`rtl`?``:``;r+=e+t.toString()+``}else r+=t.toString()}else{let e=new Dc(`not-formattable`,`Message part is not formattable`);throw e.source=t.source,e}}catch(e){n.onError(e);let i=`{${t?.source??`�`}}`;r+=this.#e?``+i+``:i}}return r}formatToParts(e,t){let n=this.#o(e,t),r=[];for(let e of ou(n,this.#i))if(typeof e==`string`)r.push({type:`text`,value:e});else if(e.type===`markup`)r.push(iu(n,e));else{let t;try{if(t=ql(n,e),typeof t.toParts==`function`){let e=t.toParts();if(this.#e&&(this.#t!==`ltr`||t.dir!==`ltr`||t[Il])){let n=t.dir===`ltr`?``:t.dir===`rtl`?``:``;r.push({type:`bidiIsolation`,value:n},...e,{type:`bidiIsolation`,value:``})}else r.push(...e)}else{let e=new Dc(`not-formattable`,`Message part is not formattable`);throw e.source=t.source,e}}catch(e){n.onError(e);let i={type:`fallback`,source:t?.source??`�`};this.#e?r.push({type:`bidiIsolation`,value:``},i,{type:`bidiIsolation`,value:``}):r.push(i)}}return r}#o(e,t=e=>{try{process.emitWarning(e)}catch{console.warn(e)}}){let n={...e};for(let t of this.#i.declarations)n[t.name]=new Ql(t.value,t.type===`input`?e??{}:void 0);return{onError:t,localeMatcher:this.#n,locales:this.#r,localVars:new WeakSet,functions:this.#a,scope:n}}}})))()}function uu(){return(uu=o((()=>{lu()})))()}function du(){return(du=o((()=>{J(),Tr(),At(),Xi()})))()}function fu(){return(fu=o((()=>{Tr(),At(),Xi()})))()}var pu;function mu(){return(mu=o((()=>{Tr(),At(),Xi(),pu=class extends Map{#e=new Map;#t=N(0);#n=N(0);#r=Yi||-1;constructor(e){if(super(),e){for(var[t,n]of e)super.set(t,n);this.#n.v=super.size}}#i(e){return Yi===this.#r?N(e):_r(e)}has(e){var t=this.#e,n=t.get(e);if(n===void 0){if(super.has(e))n=this.#i(0),t.set(e,n);else return z(this.#t),!1}return z(n),!0}forEach(e,t){this.#a(),super.forEach(e,t)}get(e){var t=this.#e,n=t.get(e);if(n===void 0){if(super.has(e))n=this.#i(0),t.set(e,n);else{z(this.#t);return}}return z(n),super.get(e)}set(e,t){var n=this.#e,r=n.get(e),i=super.get(e),a=super.set(e,t),o=this.#t;if(r===void 0)r=this.#i(0),n.set(e,r),P(this.#n,super.size),br(o);else if(i!==t){br(r);var s=o.reactions===null?null:new Set(o.reactions);(s===null||!r.reactions?.every(e=>s.has(e)))&&br(o)}return a}delete(e){var t=this.#e,n=t.get(e),r=super.delete(e);return n!==void 0&&(t.delete(e),P(n,-1)),r&&(P(this.#n,super.size),br(this.#t)),r}clear(){if(super.size!==0){super.clear();var e=this.#e;P(this.#n,0);for(var t of e.values())P(t,-1);br(this.#t),e.clear()}}#a(){z(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)z(n)}keys(){return z(this.#t),super.keys()}values(){return this.#a(),super.values()}entries(){return this.#a(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return z(this.#n),super.size}}})))()}function hu(){return(hu=o((()=>{Tr(),At(),Xi(),gu()})))()}function gu(){return(gu=o((()=>{Tr(),At(),Xi(),hu()})))()}function _u(){return(_u=o((()=>{wa()})))()}function vu(){return(vu=o((()=>{kn()})))()}function yu(){return(yu=o((()=>{_u(),vu()})))()}function bu(){return(bu=o((()=>{du(),fu(),mu(),gu(),hu(),yu(),kn()})))()}var xu,Su,Cu,wu,Tu,Eu,Du,Ou,ku,Au,ju,Mu,Nu,Pu,Fu,Iu,Lu,Ru,zu,Bu,X;function Z(){return(Z=o((()=>{J(),uu(),Fl(),bu(),Intl.MessageFormat??=cu,xu=N(``),Su=Er([]),Cu=Er({}),wu=``,Tu=``,Du=new Set([`ar`,`arc`,`ckb`,`dv`,`fa`,`ha`,`he`,`khw`,`ks`,`ku`,`nqo`,`ps`,`sd`,`ug`,`ur`,`yi`]),Ou=e=>e.textInfo?.direction??(Du.has(e.language)?`rtl`:`ltr`),ku=(e=z(xu))=>{if(!e)return!1;try{return Ou(new Intl.Locale(e))===`rtl`}catch{return!1}},Au=(e,t)=>{if(!e||!t.length||t.includes(e))return e;try{let n=new Intl.Locale(e).language;return t.find(e=>{try{return new Intl.Locale(e).language===n}catch{return!1}})??e}catch{return e}},ju=(e,t=``)=>Object.entries(e).reduce((e,[n,r])=>{let i=t?`${t}.${n}`:n;return typeof r==`object`&&r&&!Array.isArray(r)?Object.assign(e,ju(r,i)):e[i]=r,e},Object.create(null)),Mu=e=>{Su.includes(e)||(Su.push(e),Tu=Au(wu,Su))},Nu=(e,...t)=>{if(typeof e!=`string`||!e)throw TypeError(`addMessages: localeCode must be a non-empty string (got ${JSON.stringify(e)})`);t.forEach((e,t)=>{if(typeof e!=`object`||!e||Array.isArray(e))throw TypeError(`addMessages: maps[${t}] must be a plain object (got ${Array.isArray(e)?`array`:typeof e})`)}),Mu(e),Cu[e]??={},t.forEach(t=>{Object.entries(ju(t)).forEach(([t,n])=>{Cu[e][t]=new Intl.MessageFormat(e,String(n),{functions:Pl})})}),z(xu)&&!Su.includes(z(xu))&&Lu.set(z(xu))},Pu=new pu,Fu=new pu,Iu=(e=z(xu))=>{if(typeof e!=`string`)throw TypeError(`waitLocale: localeCode must be a string (got ${typeof e})`);if(!e)return Promise.resolve();if(!Fu.has(e)){let t=Pu.get(e);if(t){let n=Promise.resolve(t()).then(t=>{Nu(e,t)},()=>{Fu.delete(e),z(xu)===e&&!Cu[e]&&Tu&&P(xu,Tu,!0)});Fu.set(e,n)}else Fu.set(e,Promise.resolve())}return Fu.get(e)??Promise.resolve()},Lu={get current(){return z(xu)},set(e){if(typeof e!=`string`)throw TypeError(`locale.set: value must be a string (got ${typeof e})`);let t=Su.length?Au(e,Su):e;if(e&&Su.length&&!Su.includes(t)&&Tu&&Su.includes(Tu)&&(t=Tu),P(xu,t,!0),typeof document<`u`&&t){document.documentElement.lang=t;try{let e=new Intl.Locale(t);document.documentElement.dir=Ou(e)}catch{}}return Iu(t)}},Ru=(e,t)=>{if(typeof e!=`string`||!e)throw TypeError(`register: localeCode must be a non-empty string (got ${JSON.stringify(e)})`);if(typeof t!=`function`)throw TypeError(`register: loader must be a function (got ${typeof t})`);Pu.set(e,t),Fu.delete(e),Mu(e),z(xu)&&!Su.includes(z(xu))&&Lu.set(z(xu))},zu=()=>typeof navigator>`u`?void 0:navigator.languages?.[0]??navigator.language,Bu=e=>{if(!e||typeof e.fallbackLocale!=`string`)throw TypeError(`init: fallbackLocale must be a string (got ${JSON.stringify(e?.fallbackLocale)})`);if(e.initialLocale!==void 0&&typeof e.initialLocale!=`string`)throw TypeError(`init: initialLocale must be a string (got ${typeof e.initialLocale})`);if(e.handleMissingMessage!==void 0&&typeof e.handleMissingMessage!=`function`)throw TypeError(`init: handleMissingMessage must be a function (got ${typeof e.handleMissingMessage})`);wu=e.fallbackLocale,Tu=Au(wu,Su),Eu=e.handleMissingMessage,e.formats,e.initialLocale&&Lu.set(e.initialLocale)},X=(e,{values:t={},locale:n,default:r}={})=>{if(e==null)throw TypeError(`format: key must be a string or message object (got ${JSON.stringify(e)})`);if(typeof e==`object`){let{id:t,values:n={},locale:r,default:i}=e;return X(t,{values:n,locale:r,default:i})}let i=n??z(xu),a=Tu,o=Cu[i]?.[e]?.format(t)??(i===a?void 0:Cu[a]?.[e]?.format(t));if(o!==void 0)return o;if(Eu){let t=Eu(e,i,r);if(t!==void 0)return t}return r??e}})))()}var Vu,Hu,Uu,Wu,Gu,Ku,qu;function Ju(){return(Ju=o((()=>{Hu=()=>(Vu??=navigator.userAgentData?.platform===`macOS`||navigator.platform.startsWith(`Mac`),Vu),Uu=[`Ctrl`,`Meta`,`Alt`,`Shift`],Wu=new Set([`Space`,`Enter`,`Escape`,`Tab`,`Backspace`,`Delete`,`Insert`,`Home`,`End`,`PageUp`,`PageDown`,`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,...Array.from({length:24},(e,t)=>`F${t+1}`)]),Gu=(e,t)=>/^\d$/.test(e)?t.code===`Digit${e}`:Wu.has(e)?t.code===e:e.toLowerCase()===t.key.toLowerCase(),Ku=(e,t)=>{let{ctrlKey:n,metaKey:r,altKey:i,shiftKey:a,key:o,code:s}=e;return!o&&!s?!1:t.replace(/\bAccel\b/g,Hu()?`Meta`:`Ctrl`).split(/\s+/).some(t=>{let o=t.split(`+`);return o.includes(`Ctrl`)&&!n||o.includes(`Meta`)&&!r||o.includes(`Alt`)&&!i||o.includes(`Shift`)&&!a||!o.includes(`Ctrl`)&&n||!o.includes(`Meta`)&&r||!o.includes(`Alt`)&&i||!o.includes(`Shift`)&&a?!1:o.filter(e=>!Uu.includes(e)).every(t=>Gu(t,e))})},qu=(e=``)=>{let t=e?e.replace(/\bAccel\b/g,Hu()?`Meta`:`Ctrl`):void 0;return t?e=>{let n=n=>{let{disabled:r}=e;if(!e.getClientRects().length||!Ku(n,t))return;let{top:i,left:a}=e.getBoundingClientRect();r&&e.style.setProperty(`pointer-events`,`auto`);let o=document.elementsFromPoint(a+4,i+4).includes(e);r&&e.style.removeProperty(`pointer-events`),o&&(n.preventDefault(),r||(e.focus(),e.click()))};return globalThis.addEventListener(`keydown`,n,{capture:!0}),e.setAttribute(`aria-keyshortcuts`,t),()=>{globalThis.removeEventListener(`keydown`,n,{capture:!0}),e.removeAttribute(`aria-keyshortcuts`)}}:()=>()=>{}}})))()}function Yu(e,t){G(e,Zu);let n=q(t,`lines`,3,1),r=q(t,`children`,3,void 0);var i=Xu();bo(F(i),()=>r()??E),D(i),R(()=>as(i,`-webkit-line-clamp: ${n()??``}; line-clamp: ${n()??``};`)),H(e,i)}var Xu,Zu;function Qu(){return(Qu=o((()=>{Y(),J(),Xu=B(`<span role="none" class="sui truncated-text svelte-q6uxw4"><!></span>`),Zu={hash:`svelte-q6uxw4`,code:`.truncated-text.svelte-q6uxw4 {display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;}`}})))()}var $u;function ed(){return(ed=o((()=>{$u=(e=0)=>new Promise(t=>{globalThis.setTimeout(()=>{t(void 0)},e)})})))()}function td(e){if(e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray)return new DataView(e.buffer,e.byteOffset,e.byteLength);if(e instanceof ArrayBuffer)return new DataView(e);throw TypeError("Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray")}function oee(e,t,n){n||={};let r,i;switch(t){case`RFC3548`:case`RFC4648`:r=nd,i=!0;break;case`RFC4648-HEX`:r=rd,i=!0;break;case`Crockford`:r=id,i=!1;break;default:throw Error(`Unknown base32 variant: `+t)}let a=n.padding===void 0?i:n.padding,o=td(e),s=0,c=0,l=``;for(let e=0;e<o.byteLength;e++)for(c=c<<8|o.getUint8(e),s+=8;s>=5;)l+=r[c>>>s-5&31],s-=5;if(s>0&&(l+=r[c<<5-s&31]),a)for(;l.length%8!=0;)l+=`=`;return l}var nd,rd,id;function ad(){return(ad=o((()=>{nd=`ABCDEFGHIJKLMNOPQRSTUVWXYZ234567`,rd=`0123456789ABCDEFGHIJKLMNOPQRSTUV`,id=`0123456789ABCDEFGHJKMNPQRSTVWXYZ`})))()}var od,sd,cd,ld;function ud(){return(ud=o((()=>{ad(),od=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/,sd=e=>{let t=globalThis.crypto.randomUUID();return e===`short`?t.split(`-`).pop():e===`shorter`?t.split(`-`).shift():typeof e==`number`?t.split(`-`).join(``).slice(0,e):t},cd=()=>{let e=sd().replaceAll(`-`,``),{buffer:t}=new Uint8Array(e.match(/../g).map(e=>parseInt(e,16)));return oee(t,`RFC4648`,{padding:!1}).toLowerCase()},ld=async(e,{algorithm:t=`SHA-1`,format:n=`hex`}={})=>{let r;if(typeof e==`string`){let t=new TextEncoder().encode(e);r=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}else if(e instanceof ArrayBuffer)r=e;else if(ArrayBuffer.isView(e)){let t=e;r=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}else if(e&&typeof e.arrayBuffer==`function`)r=await e.arrayBuffer();else throw Error(`Unsupported input type for getHash`);let i=await globalThis.crypto.subtle.digest(t,r);return n===`binary`?Array.from(new Uint8Array(i),e=>String.fromCharCode(e)).join(``):Array.from(new Uint8Array(i),e=>e.toString(16).padStart(2,`0`)).join(``)}})))()}var dd,fd,pd,md,hd,gd,_d,vd;function yd(){return(yd=o((()=>{ud(),pd=(e=`e`,t=7)=>[e,sd(t)].join(`-`),md=e=>{dd?.delete(e),fd?.unobserve(e)},hd=()=>{if(`IntersectionObserver`in globalThis)return fd||(dd=new WeakMap,fd=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,target:t})=>{if(!e||!(t instanceof HTMLElement))return;let n=dd?.get(t);n&&(n(),md(t))})}),fd)},gd=e=>{let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=globalThis;return r>0&&i>0&&t<a&&n<o},_d=e=>{if(`requestAnimationFrame`in globalThis){globalThis.requestAnimationFrame(e);return}globalThis.setTimeout(e,16)},vd=e=>{let t=hd();if(t)return gd(e)?Promise.resolve(void 0):new Promise(n=>{dd?.set(e,n),_d(()=>{t.observe(e)})})}})))()}var bd,xd;function Sd(){return(Sd=o((()=>{J(),yd(),ed(),_u(),bd=class{#e=N(!1);get open(){return z(this.#e)}set open(e){P(this.#e,e,!0),e?this.checkPosition():this.anchorElement.getAttribute(`aria-expanded`)===`true`&&window.requestAnimationFrame(()=>{let{activeElement:e}=document;(!e||e===document.body||this.popupElement?.contains(e))&&this.anchorElement.focus()}),this.anchorElement.setAttribute(`aria-expanded`,String(e))}#t=N(Er({inset:void 0,zIndex:void 0,minWidth:void 0,maxWidth:void 0,height:void 0}));get style(){return z(this.#t)}set style(e){P(this.#t,e,!0)}observer=new IntersectionObserver(e=>{e.forEach(({intersectionRect:e,rootBounds:t})=>{if(!e||!t)return;let n=this.contentElement??this.popupElement?.querySelector(`.content`)??null;if(!n)return;let{scrollHeight:r,scrollWidth:i}=n,a=e.top-8,o=t.height-e.bottom-8,{position:s}=this,c;document.dir===`rtl`&&(s.endsWith(`-left`)?s=s.replace(`-left`,`-right`):s.endsWith(`-right`)&&(s=s.replace(`-right`,`-left`)),s.startsWith(`left-`)?s=s.replace(`left-`,`right-`):s.startsWith(`right-`)&&(s=s.replace(`right-`,`left-`))),s.startsWith(`bottom-`)&&r>o&&(a>o?(s=s.replace(`bottom-`,`top-`),c=a):c=o),s.endsWith(`-left`)&&e.left+i>t.width-8&&(s=s.replace(`-left`,`-right`)),s.endsWith(`-right`)&&e.right-i<8&&(s=s.replace(`-right`,`-left`));let l={inset:[s.startsWith(`bottom-`)?`${Math.round(e.bottom)}px`:s.endsWith(`-top`)?`${Math.round(e.top)}px`:`auto`,s.startsWith(`left-`)?`${Math.round(t.width-e.left)}px`:s.endsWith(`-right`)?`${Math.round(t.width-e.right)}px`:`auto`,s.startsWith(`top-`)?`${Math.round(t.height-e.top)}px`:s.endsWith(`-bottom`)?`${Math.round(t.height-e.bottom)}px`:`auto`,s.startsWith(`right-`)?`${Math.round(e.right)}px`:s.endsWith(`-left`)?`${Math.round(e.left)}px`:`auto`].join(` `),zIndex:1e3,minWidth:`${Math.round(e.width)}px`,maxWidth:s.endsWith(`-left`)?`${Math.round(t.width-e.left-8)}px`:`${Math.round(e.right-8)}px`,height:c?`${Math.round(c)}px`:`auto`};(l.inset!==this.style.inset||l.zIndex!==this.style.zIndex||l.minWidth!==this.style.minWidth||l.maxWidth!==this.style.maxWidth||l.height!==this.style.height)&&(this.style=l)})});popupElement=void 0;contentElement=void 0;#n=void 0;constructor(e,t,n,r){this.anchorElement=e,this.position=n,this.positionBaseElement=r??e,this.id=pd(`popup`),this.anchorElement.setAttribute(`aria-expanded`,`false`),ha(e,`click`,()=>{!this.isDisabled&&!this.isReadOnly&&(this.open=!this.open)}),ha(e,`keydown`,e=>{let{key:t,ctrlKey:n,metaKey:r,shiftKey:i,altKey:a}=e,o=i||a||n||r;!this.isDisabled&&!this.isReadOnly&&[`Enter`,` `].includes(t)&&!o&&(e.preventDefault(),e.stopPropagation(),this.open=!this.open)}),ha(e,`transitionstart`,()=>{this.anchorElement.closest(`.hiding, .hidden, [hidden]`)&&this.hideImmediately()}),this.intersectionObserver=new IntersectionObserver(([e])=>{!e.isIntersecting&&this.open&&this.hideImmediately()}),this.intersectionObserver.observe(this.anchorElement),this.resizeObserver=new ResizeObserver(()=>{cancelAnimationFrame(this._rafId),this._rafId=requestAnimationFrame(()=>this.checkPosition())}),this.resizeObserver.observe(this.positionBaseElement),t&&this.attachPopupElement(t)}attachPopupElement(e,t){if(this.popupElement===e&&this.contentElement===t)return;this.detachPopupElement(),this.popupElement=e,this.contentElement=t;let n=t??e;n.id=this.id,this.anchorElement.setAttribute(`aria-controls`,this.id);let r=ha(e,`click`,e=>{e.stopPropagation();let t=e.target;this.open&&(t===this.popupElement||t.matches(`[role^="menuitem"], [role="option"]`))&&(this.open=!1)}),i=ha(e,`keydown`,e=>{let{key:t,ctrlKey:n,metaKey:r,shiftKey:i,altKey:a}=e;t===`Escape`&&!(i||a||n||r)&&(e.preventDefault(),e.stopPropagation(),this.open=!1)});this.#n=()=>{r(),i()}}detachPopupElement(){this.#n?.(),this.#n=void 0,this.anchorElement.getAttribute(`aria-controls`)===this.id&&this.anchorElement.removeAttribute(`aria-controls`),this.popupElement=void 0,this.contentElement=void 0}get isDisabled(){return this.anchorElement.matches(`[aria-disabled="true"]`)}get isReadOnly(){return this.anchorElement.matches(`[aria-readonly="true"]`)}checkPosition(){this.popupElement&&(this.observer.unobserve(this.positionBaseElement),this.observer.observe(this.positionBaseElement))}async hideImmediately(){this.popupElement&&(this.popupElement.hidden=!0),this.open=!1,await $u(50),this.popupElement&&(this.popupElement.hidden=!1)}destroy(){this.detachPopupElement(),this.intersectionObserver?.disconnect(),this.resizeObserver?.disconnect(),this.observer?.disconnect(),this._rafId&&cancelAnimationFrame(this._rafId)}},xd=(...e)=>new bd(...e)})))()}function Cd(e,t){var n=V();bo(I(n),()=>t.children??E),H(e,n)}function wd(){return(wd=o((()=>{Y(),J()})))()}function Td(e,t){O(t,!0),G(e,kd);let n=e=>{var n=V(),l=I(n),d=e=>{var n=Od(),l=({target:e})=>{i()&&s()&&e?.matches(`dialog`)&&(i(i().returnValue=`cancel`,!0),r(!1))},d=e=>{e.preventDefault(),i()&&c()&&(i(i().returnValue=`cancel`,!0),r(!1))};ms(n,()=>({...u,inert:!z(p),role:a(),class:`sui modal ${t.class??``}`,onclick:l,oncancel:d,[_s]:{backdrop:o(),open:z(p),active:z(m)}}),void 0,void 0,void 0,`svelte-o5o43a`);var f=F(n);bo(f,()=>t.extraContent??E),bo(L(f,2),()=>t.children??E),D(n),Rs(n,e=>i(e),()=>i()),H(e,n)};W(l,e=>{z(v)&&e(d)}),H(e,n)},r=q(t,`open`,15,!1),i=q(t,`dialog`,15),a=q(t,`role`,3,`dialog`),o=q(t,`showBackdrop`,3,!1),s=q(t,`lightDismiss`,3,!1),c=q(t,`escapeDismiss`,3,!0),l=q(t,`keepContent`,3,!1),u=Gs(t,Dd),d=()=>{i()?.focus()},f=e=>{i()&&(i(i().returnValue=e,!0),r(!1))},p=N(!1),m=N(!1),h=N(!1),g=N(0),_=Nt(Ed);Pt(Ed,{retain:()=>{Li(()=>{P(g,z(g)+1)})},release:()=>{Li(()=>{P(g,z(g)-1)})}});let v=M(()=>l()||z(h)||z(g)>0),y=!1,b=0,x=e=>Math.max(0,...e.split(`,`).map(e=>Number.parseFloat(e)||0))*1e3,S=async()=>{if(await Pi(),!i())return;let{transitionDuration:e,transitionDelay:t}=getComputedStyle(i()),n=x(e)+x(t)+100,r=new AbortController,{signal:a}=r;i().addEventListener(`transitionend`,e=>{e.target===i()&&r.abort()},{signal:a});let o=window.setTimeout(()=>r.abort(),n);await new Promise(e=>{a.addEventListener(`abort`,()=>e(void 0))}),window.clearTimeout(o)},C=async()=>{if(y)return;y=!0,b+=1;let e=b;t.onOpening?.(new CustomEvent(`Opening`)),P(h,!0),await Pi(),!(e!==b||!i()||i().open)&&(i().showModal(),t.onOpen?.(new CustomEvent(`Open`)),i().getBoundingClientRect(),P(p,!0),await S(),e===b&&P(m,!0))},w=async()=>{if(!y)return;y=!1,b+=1;let e=b,n=z(p),r=i()?.returnValue??``;t.onClosing?.(new CustomEvent(`Closing`)),i()?.open&&(document.body.inert=!0,i().close(),document.body.inert=!1),P(m,!1),P(p,!1),n&&await S(),e===b&&(P(h,!1),r===`ok`&&t.onOk?.(new CustomEvent(`Ok`)),r===`cancel`&&t.onCancel?.(new CustomEvent(`Cancel`)),t.onClose?.(new CustomEvent(`Close`,{detail:{returnValue:r}})),i()&&i(i().returnValue=``,!0))},T=Ft();return tc(()=>{let e=Pa(Cd,{target:document.querySelector(`.sui.app-shell`)??document.body,props:{children:n},context:T});return()=>{i()?.close(),Ia(e)}}),Yr(()=>{r()?C():w()}),Yr(()=>{if(z(h))return _?.retain(),()=>{_?.release()}}),k({focus:d,close:f})}var Ed,Dd,Od,kd;function Ad(){return(Ad=o((()=>{Y(),J(),ic(),wd(),Ed=Symbol(`sui-modal-retainer`),Dd=new Set([`$$slots`,`$$events`,`$$legacy`,`open`,`dialog`,`class`,`role`,`showBackdrop`,`lightDismiss`,`escapeDismiss`,`keepContent`,`children`,`extraContent`,`onOpening`,`onOpen`,`onClosing`,`onOk`,`onCancel`,`onClose`]),Od=B(`<dialog><!> <!></dialog>`),kd={hash:`svelte-o5o43a`,code:`dialog.svelte-o5o43a {position:fixed;inset:0;z-index:9999999;display:flex;justify-content:center;align-items:center;overflow:hidden;outline:0;margin:0;border:0;padding:0;width:100dvw;max-width:100dvw;height:100dvh;max-height:100dvh;color:var(--sui-primary-foreground-color);background:transparent;-webkit-user-select:none;user-select:none;touch-action:none;pointer-events:all;cursor:default;}dialog.svelte-o5o43a::backdrop {background:transparent;}dialog.backdrop.svelte-o5o43a {background-color:var(--sui-popup-backdrop-color);}dialog.open.svelte-o5o43a {transition-duration:50ms;opacity:1;}dialog.svelte-o5o43a:not(.open) {transition-duration:400ms;opacity:0;}dialog[hidden].svelte-o5o43a {transition-duration:1ms !important;}dialog.svelte-o5o43a:not(.active) {pointer-events:none !important;}dialog.svelte-o5o43a:not(.active) * {transition-duration:0ms !important;pointer-events:none !important;}`}})))()}function jd(e,t){O(t,!0),G(e,Pd);let n=e=>{var n=Nd();let o,s;bo(F(n),()=>t.children??E),D(n),Rs(n,e=>a(e),()=>a()),R(()=>{K(n,`hidden`,!r()),o=ns(n,1,`content ${t.class??``} ${z(m)??``}`,`svelte-5hbfun`,o,{touch:z(_)}),s=as(n,``,s,{inset:z(h)?.style.inset,"z-index":z(h)?.style.zIndex,"min-width":z(h)?.style.minWidth,"max-width":z(h)?.style.maxWidth,"max-height":z(h)?.style.height,visibility:z(h)?.style.inset?void 0:`hidden`})}),ga(`mouseenter`,n,()=>{i(!0),l()&&window.clearTimeout(g)}),ga(`mouseleave`,n,()=>{i(!1),l()&&(g=window.setTimeout(()=>{r(!1)},200))}),H(e,n)},r=q(t,`open`,15,!1),i=q(t,`hovered`,15,!1),a=q(t,`content`,15,void 0),o=q(t,`showBackdrop`,3,void 0),s=q(t,`position`,3,`bottom-left`),c=q(t,`positionBaseElement`,3,void 0),l=q(t,`parentDialogElement`,3,void 0),u=q(t,`touchOptimized`,3,!1),d=Gs(t,Md),f=N(void 0),p=N(!1),m=N(void 0),h=N(void 0),g=0;Yr(()=>{z(h)&&r(z(h).open)}),Yr(()=>{l()&&!z(f)&&a()&&(P(f,l()),z(f).append(a()))}),Yr(()=>{t.anchor&&!z(h)&&(P(h,xd(t.anchor,void 0,s(),c()),!0),P(m,t.anchor.getAttribute(`aria-haspopup`)??void 0,!0))}),Yr(()=>{if(z(h)&&z(f)&&a())return z(h).attachPopupElement(z(f),a()),()=>{z(h)?.detachPopupElement()}}),Yr(()=>{r()&&z(f)&&z(h)?.checkPosition()});let _=M(()=>u()&&z(p));tc(()=>(P(p,globalThis.matchMedia(`(pointer: coarse)`).matches,!0),()=>{z(h)?.destroy?.(),globalThis.clearTimeout(g)}));var v=V(),y=I(v),b=e=>{n(e)},x=e=>{{let i=M(()=>o()??z(_));Td(e,Ks(()=>d,{role:`none`,class:`popup`,get showBackdrop(){return z(i)},lightDismiss:!0,onOpen:async e=>{if(t.onOpen?.(e),await $u(100),!a())return;let n=a().querySelector(`[tabindex]:not([aria-disabled="true"])`);n?n.focus():(a(a().tabIndex=-1,!0),a().focus())},get dialog(){return z(f)},set dialog(e){P(f,e,!0)},get open(){return r()},set open(e){r(e)},children:(e,t)=>{n(e)},$$slots:{default:!0}}))}};W(y,e=>{l()?e(b):e(x,-1)}),H(e,v),k()}var Md,Nd,Pd;function Fd(){return(Fd=o((()=>{Y(),J(),ed(),ic(),Sd(),Ad(),Md=new Set([`$$slots`,`$$events`,`$$legacy`,`open`,`hovered`,`content`,`class`,`showBackdrop`,`anchor`,`position`,`positionBaseElement`,`parentDialogElement`,`touchOptimized`,`children`,`onOpen`]),Nd=B(`<div role="none"><!></div>`),Pd={hash:`svelte-5hbfun`,code:`.content.svelte-5hbfun {position:absolute;overflow-y:auto;outline-width:0 !important;width:auto;color:var(--sui-primary-foreground-color);background-color:var(--sui-secondary-background-color-translucent);box-shadow:0 8px 16px var(--sui-popup-shadow-color);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition-property:opacity, transform;}.content.menu.svelte-5hbfun {border-width:var(--sui-menu-border-width, 1px);border-style:var(--sui-menu-border-style, solid);border-color:var(--sui-menu-border-width, var(--sui-secondary-border-color));border-radius:var(--sui-menu-border-radius, 4px);padding:var(--sui-menu-padding, 4px);}.content.menu.svelte-5hbfun .sui.menu {border-width:0;border-radius:0;padding:0;background-color:transparent;}.content.listbox.svelte-5hbfun {border-width:var(--sui-listbox-border-width, 1px);border-style:var(--sui-listbox-border-style, solid);border-color:var(--sui-listbox-border-width, var(--sui-secondary-border-color));border-radius:var(--sui-listbox-border-radius, 4px);padding:var(--sui-listbox-padding, 4px);}.content.listbox.svelte-5hbfun .sui.listbox {border-width:0;border-radius:0;padding:0;background-color:transparent;}.content.touch.svelte-5hbfun {position:static;border-width:0 !important;border-radius:4px !important;padding:8px;min-width:320px !important;max-width:calc(100dvw - 32px) !important;max-height:calc(100dvh - 32px) !important;}dialog.open .content.touch.svelte-5hbfun {transform:scale(100%) !important;}dialog:not(.open) .content.touch.svelte-5hbfun {transform:scale(90%);}.content.touch.combobox.svelte-5hbfun .sui.listbox {gap:4px;padding:8px 4px !important;}dialog.open .content.svelte-5hbfun {transition-duration:50ms;opacity:1;transform:translateY(2px);}dialog:not(.open) .content.svelte-5hbfun {transition-duration:300ms;opacity:0;transform:translateY(-8px);}`}})))()}function Id(e,t){O(t,!0),G(e,Vd);let n=q(t,`element`,15),r=q(t,`class`,3,``),i=q(t,`type`,3,`button`),a=q(t,`role`,3,`button`),o=q(t,`name`,3,void 0),s=q(t,`value`,3,void 0),c=q(t,`valueType`,19,()=>typeof s()),l=q(t,`hidden`,3,!1),u=q(t,`disabled`,3,!1),d=q(t,`readonly`,3,!1),f=q(t,`pressed`,3,void 0),p=q(t,`keyShortcuts`,3,void 0),m=q(t,`label`,3,``),h=q(t,`lines`,3,1),g=q(t,`variant`,3,void 0),_=q(t,`size`,3,`medium`),v=q(t,`iconic`,3,!1),y=q(t,`pill`,3,!1),b=q(t,`flex`,3,!1),x=q(t,`popupPosition`,3,`bottom-left`),S=q(t,`showPopupBackdrop`,3,!1),C=Gs(t,Ld);var w=Bd(),T=I(w);ms(T,()=>({...C,class:`sui button ${g()??``} ${_()??``} ${r()??``}`,type:i(),name:o(),value:s(),hidden:l(),disabled:u(),role:a(),"aria-hidden":l(),"aria-disabled":u(),"aria-readonly":d(),"aria-pressed":f(),"data-type":c(),"data-name":o(),"data-label":m(),"data-value":s(),[_s]:{iconic:v(),pill:y(),flex:b()}}),void 0,void 0,void 0,`svelte-1jfksbx`);var ee=F(T);bo(ee,()=>t.startIcon??E);var te=L(ee,2),ne=e=>{var n=V(),r=I(n),i=e=>{var t=Rd();Yu(F(t),{get lines(){return h()},children:(e,t)=>{pt();var n=Aa();R(()=>U(n,m())),H(e,n)},$$slots:{default:!0}}),D(t),H(e,t)},a=e=>{var n=Rd();bo(F(n),()=>t.children??E),D(n),H(e,n)};W(r,e=>{m()?e(i):e(a,-1)}),H(e,n)},re=e=>{var n=zd(),r=I(n),i=e=>{var t=Rd();Yu(F(t),{get lines(){return h()},children:(e,t)=>{pt();var n=Aa();R(()=>U(n,m())),H(e,n)},$$slots:{default:!0}}),D(t),H(e,t)};W(r,e=>{m()&&e(i)}),bo(L(r,2),()=>t.children??E),H(e,n)};W(te,e=>{g()===`link`?e(ne):e(re,-1)}),bo(L(te,2),()=>t.endIcon??E),D(T),Rs(T,e=>n(e),()=>n()),Wo(T,()=>qu(p()));var ie=L(T,2),ae=e=>{jd(e,{get anchor(){return n()},get position(){return x()},get showBackdrop(){return S()},touchOptimized:!0,children:(e,n)=>{var r=V();bo(I(r),()=>t.popup),H(e,r)},$$slots:{default:!0}})};W(ie,e=>{t.popup&&e(ae)}),H(e,w),k()}var Ld,Rd,zd,Bd,Vd;function Hd(){return(Hd=o((()=>{Y(),J(),Ju(),Qu(),Fd(),Ld=new Set(`$$slots.$$events.$$legacy.element.class.type.role.name.value.valueType.hidden.disabled.readonly.pressed.keyShortcuts.label.lines.variant.size.iconic.pill.flex.popupPosition.showPopupBackdrop.children.startIcon.endIcon.popup`.split(`.`)),Rd=B(`<span role="none" class="label svelte-1jfksbx"><!></span>`),zd=B(`<!> <!>`,1),Bd=B(`<button><!> <!> <!></button> <!>`,1),Vd={hash:`svelte-1jfksbx`,code:`button.svelte-1jfksbx {flex:none;display:inline-flex;align-items:center;gap:4px;margin:var(--sui-focus-ring-width);border-width:0;border-style:solid;border-color:transparent;padding:0;color:var(--sui-control-foreground-color, inherit);background-color:transparent;box-shadow:none;font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);font-weight:var(--sui-font-weight-normal, normal);text-align:start;cursor:pointer;transition:all 200ms;}button[hidden].svelte-1jfksbx {display:none !important;}button.svelte-1jfksbx:not(:disabled):focus-visible {z-index:1;}button.svelte-1jfksbx:is(.primary:where(.svelte-1jfksbx), .secondary:where(.svelte-1jfksbx), .tertiary:where(.svelte-1jfksbx), .ghost:where(.svelte-1jfksbx)) {justify-content:center;border-width:1px;}button.svelte-1jfksbx:is(.primary:where(.svelte-1jfksbx), .secondary:where(.svelte-1jfksbx), .tertiary:where(.svelte-1jfksbx), .ghost:where(.svelte-1jfksbx)) .label:where(.svelte-1jfksbx):only-child {padding:0 4px;}button.primary.svelte-1jfksbx {border-width:var(--sui-button-primary-border-width, 1px);border-style:var(--sui-button-primary-border-style, solid);border-color:var(--sui-button-primary-border-color, var(--sui-primary-accent-color));color:var(--sui-button-primary-foreground-color, var(--sui-primary-accent-color-inverted));background-color:var(--sui-button-primary-background-color, var(--sui-primary-accent-color));font-weight:var(--sui-button-primary-font-weight, var(--sui-font-weight-normal, normal));}button.primary.svelte-1jfksbx:is(:where(.svelte-1jfksbx):hover, :where(.svelte-1jfksbx):focus-visible, [aria-expanded=true]:where(.svelte-1jfksbx)) {color:var(--sui-button-primary-foreground-color-focus, var(--sui-button-primary-foreground-color, var(--sui-primary-accent-color-inverted)));background-color:var(--sui-button-primary-background-color-focus, var(--sui-primary-accent-color-light));}button.primary.svelte-1jfksbx:active {color:var(--sui-button-primary-foreground-color-active, var(--sui-button-primary-foreground-color, var(--sui-primary-accent-color-inverted)));background-color:var(--sui-button-primary-background-color-active, var(--sui-primary-accent-color-dark));}button.secondary.svelte-1jfksbx {border-width:var(--sui-button-secondary-border-width, 1px);border-style:var(--sui-button-secondary-border-style, solid);border-color:var(--sui-button-secondary-border-color, var(--sui-primary-accent-color));color:var(--sui-button-secondary-foreground-color, var(--sui-primary-accent-color-text));background-color:var(--sui-button-secondary-background-color, var(--sui-button-background-color));font-weight:var(--sui-button-secondary-font-weight, var(--sui-font-weight-normal, normal));}button.secondary.svelte-1jfksbx:is(:where(.svelte-1jfksbx):hover, :where(.svelte-1jfksbx):focus-visible, [aria-expanded=true]:where(.svelte-1jfksbx)) {color:var(--sui-button-secondary-foreground-color-focus, var(--sui-button-secondary-foreground-color, var(--sui-primary-accent-color-text)));background-color:var(--sui-button-secondary-background-color-focus, var(--sui-hover-background-color));}button.secondary.svelte-1jfksbx:active {color:var(--sui-button-secondary-foreground-color-active, var(--sui-button-secondary-foreground-color, var(--sui-primary-accent-color-text)));background-color:var(--sui-button-secondary-background-color-active, var(--sui-active-background-color));}button.secondary[aria-pressed=true].svelte-1jfksbx {color:var(--sui-button-secondary-foreground-color-pressed);background-color:var(--sui-button-secondary-background-color-pressed, var(--sui-primary-accent-color));}button.tertiary.svelte-1jfksbx {border-width:var(--sui-button-tertiary-border-width, 1px);border-style:var(--sui-button-tertiary-border-style, solid);border-color:var(--sui-button-tertiary-border-color, var(--sui-button-border-color));color:var(--sui-button-tertiary-foreground-color, var(--sui-highlight-foreground-color));background-color:var(--sui-button-tertiary-background-color, var(--sui-button-background-color));font-weight:var(--sui-button-tertiary-font-weight, var(--sui-font-weight-normal, normal));}button.tertiary.svelte-1jfksbx:is(:where(.svelte-1jfksbx):hover, :where(.svelte-1jfksbx):focus-visible, [aria-expanded=true]:where(.svelte-1jfksbx)) {color:var(--sui-button-tertiary-foreground-color-focus, var(--sui-button-tertiary-foreground-color, var(--sui-highlight-foreground-color)));background-color:var(--sui-button-tertiary-background-color-focus, var(--sui-hover-background-color));}button.tertiary.svelte-1jfksbx:active {color:var(--sui-button-tertiary-foreground-color-active, var(--sui-button-tertiary-foreground-color, var(--sui-highlight-foreground-color)));background-color:var(--sui-button-tertiary-background-color-active, var(--sui-active-background-color));}button.tertiary[aria-pressed=true].svelte-1jfksbx {color:var(--sui-button-tertiary-foreground-color-pressed);background-color:var(--sui-button-tertiary-background-color-pressed, var(--sui-selected-background-color));}button.ghost.svelte-1jfksbx {font-weight:var(--sui-button-ghost-font-weight, var(--sui-font-weight-normal, normal));}button.ghost.svelte-1jfksbx:is(:where(.svelte-1jfksbx):hover, :where(.svelte-1jfksbx):focus-visible, [aria-expanded=true]:where(.svelte-1jfksbx)) {color:var(--sui-button-ghost-foreground-color-focus);background-color:var(--sui-button-ghost-background-color-focus, var(--sui-hover-background-color));}button.ghost.svelte-1jfksbx:active {color:var(--sui-button-ghost-foreground-color-active);background-color:var(--sui-button-ghost-background-color-active, var(--sui-active-background-color));}button.ghost[aria-pressed=true].svelte-1jfksbx {color:var(--sui-button-ghost-foreground-color-pressed);background-color:var(--sui-button-ghost-background-color-pressed, var(--sui-selected-background-color));}button.link.svelte-1jfksbx {outline:0;margin:0;border-radius:0 !important;padding:0 !important;height:auto !important;color:var(--sui-button-link-foreground-color, var(--sui-primary-accent-color-text));}button.link.svelte-1jfksbx .label:where(.svelte-1jfksbx) {padding:0;line-height:var(--sui-line-height-compact);text-decoration:var(--sui-button-link-text-decoration, none);text-underline-offset:2px;white-space:normal;}:is(:root, :host)[data-underline-links='true'] button.link.svelte-1jfksbx .label:where(.svelte-1jfksbx) {text-decoration:underline;}button.link.svelte-1jfksbx:is(:where(.svelte-1jfksbx):hover, :where(.svelte-1jfksbx):focus, :where(.svelte-1jfksbx):active) .label:where(.svelte-1jfksbx) {text-decoration:var(--sui-button-link-text-decoration-focus, underline);}button.small.svelte-1jfksbx {border-radius:var(--sui-button-small-border-radius);padding:var(--sui-button-small-padding);height:var(--sui-button-small-height);font-size:var(--sui-button-small-font-size, var(--sui-font-size-small));}button.small.svelte-1jfksbx .icon {font-size:var(--sui-font-size-large);}button.medium.svelte-1jfksbx {border-radius:var(--sui-button-medium-border-radius);padding:var(--sui-button-medium-padding);height:var(--sui-button-medium-height);font-size:var(--sui-button-medium-font-size, var(--sui-font-size-default));}button.large.svelte-1jfksbx {border-radius:var(--sui-button-large-border-radius);padding:var(--sui-button-large-padding);height:var(--sui-button-large-height);font-size:var(--sui-button-large-font-size, var(--sui-font-size-large));}button.pill.svelte-1jfksbx {border-radius:80px;padding:var(--sui-button-medium-pill-padding, 0 12px);}button.flex.svelte-1jfksbx:not([hidden]) {display:inline-flex;flex:auto;width:-moz-available;width:-webkit-fill-available;width:stretch;}button.iconic.svelte-1jfksbx {justify-content:center;padding:0;aspect-ratio:1/1;}button.danger.svelte-1jfksbx {background-color:var(--sui-error-background-color);}button.svelte-1jfksbx .label:where(.svelte-1jfksbx) {padding:0 4px;}button.svelte-1jfksbx > * {pointer-events:none;}button.svelte-1jfksbx :has([slot=start-icon] + [slot=end-icon]) {gap:0;}`}})))()}function Ud(e,t){O(t,!0),G(e,Kd);let n=q(t,`show`,15,!0),r=q(t,`dismissible`,3,!0),i=q(t,`status`,3,`info`),a=q(t,`ariaLive`,3,`polite`),o=q(t,`children`,3,void 0),s=q(t,`icon`,3,void 0);var c=V(),l=I(c),u=e=>{var t=Gd(),c=F(t),l=F(c),u=e=>{var t=V();bo(I(t),s),H(e,t)},d=e=>{{let t=M(()=>i()===`success`?`check_circle`:i());ac(e,{get name(){return z(t)}})}};W(l,e=>{s()?e(u):e(d,-1)}),bo(L(l,2),()=>o()??E),D(c);var f=L(c,2),p=e=>{var t=Wd(),r=F(t);{let e=M(()=>X(`_sui.dismiss`));Id(r,{iconic:!0,size:`small`,variant:`ghost`,get"aria-label"(){return z(e)},onclick:()=>{n(!1)},children:(e,t)=>{ac(e,{name:`close`})},$$slots:{default:!0}})}D(t),H(e,t)};W(f,e=>{r()&&e(p)}),D(t),R(()=>{ns(t,1,`infobar ${i()??``}`,`svelte-1ezl39g`),K(c,`aria-live`,a())}),H(e,t)};W(l,e=>{n()&&e(u)}),H(e,c),k()}var Wd,Gd,Kd;function qd(){return(qd=o((()=>{Y(),J(),Z(),Hd(),lc(),Wd=B(`<div role="none"><!></div>`),Gd=B(`<div role="none"><div role="alert" class="message svelte-1ezl39g"><!> <!></div> <!></div>`),Kd={hash:`svelte-1ezl39g`,code:`.infobar.svelte-1ezl39g {flex:none;display:flex;align-items:center;gap:var(--sui-infobar-gap, 8px);border-width:var(--sui-infobar-border-width, 0 0 1px);border-style:var(--sui-infobar-border-style, solid);padding:var(--sui-infobar-padding, 0);min-height:var(--sui-infobar-min-height, 32px);font-size:var(--sui-infobar-font-size, var(--sui-font-size-small));}.infobar.info.svelte-1ezl39g {border-color:var(--sui-info-border-color);color:var(--sui-info-foreground-color);background-color:var(--sui-info-background-color);}.infobar.warning.svelte-1ezl39g {border-color:var(--sui-warning-border-color);color:var(--sui-warning-foreground-color);background-color:var(--sui-warning-background-color);}.infobar.error.svelte-1ezl39g {border-color:var(--sui-error-border-color);color:var(--sui-error-foreground-color);background-color:var(--sui-error-background-color);}.infobar.success.svelte-1ezl39g {border-color:var(--sui-success-border-color);color:var(--sui-success-foreground-color);background-color:var(--sui-success-background-color);}.message.svelte-1ezl39g {flex:auto;display:flex;align-items:center;justify-content:var(--sui-infobar-message-justify-content, start);gap:var(--sui-infobar-message-gap, 6px);padding:var(--sui-infobar-message-padding, 6px);}.message.svelte-1ezl39g button {font-size:inherit !important;}.message.svelte-1ezl39g .icon {font-size:16px; /* !hardcoded */}`}})))()}function Jd(e,t){G(e,Zd);let n=Gs(t,Yd);var r=Xd();ms(r,()=>({role:`none`,class:`sui bottom-navigation ${t.class??``}`,...n}),void 0,void 0,void 0,`svelte-ksj6hn`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var Yd,Xd,Zd;function Qd(){return(Qd=o((()=>{Y(),J(),Yd=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),Xd=B(`<div><!></div>`),Zd={hash:`svelte-ksj6hn`,code:`.bottom-navigation.svelte-ksj6hn {height:var(--sui-bottom-navigation-height, var(--sui-primary-toolbar-size));border-top-width:var(--sui-bottom-navigation-border-color, 1px);border-top-style:var(--sui-bottom-navigation-border-style, solid);border-top-color:var(--sui-bottom-navigation-border-color, var(--sui-secondary-border-color));}.bottom-navigation.svelte-ksj6hn:is([inert]:where(.svelte-ksj6hn), [hidden]:where(.svelte-ksj6hn)) {display:none;}.bottom-navigation.svelte-ksj6hn .buttons {flex:auto;display:flex;align-items:center;justify-content:space-evenly;}`}})))()}function $d(e,t){G(e,nf);let n=q(t,`ariaLabel`,3,void 0),r=Gs(t,ef);var i=tf();ms(i,()=>({...r,role:`group`,class:`sui button-group ${t.class??``}`,"aria-label":n()}),void 0,void 0,void 0,`svelte-1ujprbz`),bo(F(i),()=>t.children??E),D(i),H(e,i)}var ef,tf,nf;function rf(){return(rf=o((()=>{Y(),J(),ef=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`ariaLabel`,`children`]),tf=B(`<div><!></div>`),nf={hash:`svelte-1ujprbz`,code:`.button-group.svelte-1ujprbz {flex:none;display:inline-flex;align-items:center;}`}})))()}function af(e,t){G(e,sf);let n=q(t,`children`,3,void 0);var r=of();bo(F(r),()=>n()??E),D(r),H(e,r)}var of,sf;function cf(){return(cf=o((()=>{Y(),J(),of=B(`<div role="none" class="sui floating-action-button-wrapper svelte-e3gwxp"><!></div>`),sf={hash:`svelte-e3gwxp`,code:`.floating-action-button-wrapper.svelte-e3gwxp {display:contents;}
|
|
20
|
-
@media (width < 768px) {.floating-action-button-wrapper.svelte-
|
|
21
|
-
}`}})))()}var lf,uf,df,ff,pf;function mf(){return(mf=o((()=>{J(),ic(),lf=Symbol(`sui-option-registry`),uf=class{#e=N(!1);get expanded(){return z(this.#e)}set expanded(e){P(this.#e,e,!0)}#t=N([]);get count(){return z(this.#t).length}get selectedEntry(){return z(this.#t).find(e=>e.selected)}register(e){return P(this.#t,[...z(this.#t),e]),()=>{P(this.#t,z(this.#t).filter(t=>t!==e))}}find(e){return z(this.#t).find(t=>t.value===e)}selectOnly(e){z(this.#t).forEach(t=>{let n=t.value===e;t.selected!==n&&(t.selected=n)})}},df=()=>Pt(lf,new uf),ff=()=>Nt(lf),pf=e=>{let{type:t=`string`,name:n,label:r}=e.dataset,{value:i}=e.dataset;return t===`number`?(i=Number(i),Number.isNaN(i)&&(i=null)):t===`boolean`?i=i===`true`:t===`string`&&(i=i?String(i):``),{target:e,type:t,name:n,label:r,value:i}}})))()}var hf,gf,_f,vf,yf,bf,xf,Sf;function Cf(){return(Cf=o((()=>{J(),Z(),yd(),ed(),mf(),hf=/\p{Diacritic}/gu,gf=e=>(e=e.trim(),e?e.normalize(`NFD`).replace(hf,``).toLocaleLowerCase():``),_f={grid:{orientation:`vertical`,childRoles:[`row`],childSelectedAttr:`aria-selected`,focusChild:!0,selectFirst:!0,controlsPanel:!1,rovingTabStop:`selected`},listbox:{orientation:`vertical`,childRoles:[`option`],childSelectedAttr:`aria-selected`,focusChild:!1,selectFirst:!1,controlsPanel:!1,rovingTabStop:`selected`},menu:{orientation:`vertical`,childRoles:[`menuitem`,`menuitemcheckbox`,`menuitemradio`],childSelectedAttr:`aria-checked`,focusChild:!0,selectFirst:!1,controlsPanel:!1,rovingTabStop:`first`},menubar:{orientation:`horizontal`,childRoles:[`menuitem`,`menuitemcheckbox`,`menuitemradio`],childSelectedAttr:`aria-checked`,focusChild:!0,selectFirst:!1,controlsPanel:!1,rovingTabStop:`first`},radiogroup:{orientation:`horizontal`,childRoles:[`radio`],childSelectedAttr:`aria-checked`,focusChild:!0,selectFirst:!1,controlsPanel:!1,rovingTabStop:`selected`},tablist:{orientation:`horizontal`,childRoles:[`tab`],childSelectedAttr:`aria-selected`,focusChild:!0,selectFirst:!0,controlsPanel:!0,rovingTabStop:`selected`}},vf=`a[href], button, input, select, textarea, summary, [tabindex]`,yf=()=>[...document.querySelectorAll(vf)].filter(e=>e.tabIndex>=0&&!e.matches(`:disabled, [aria-disabled="true"], [hidden], [inert], [inert] *`)&&!!e.getClientRects().length),bf=e=>{let t=e;for(;t;){if(t.id){let e=document.querySelector(`[aria-haspopup="menu"][aria-controls="${CSS.escape(t.id)}"]`);if(e)return e}t=t.parentElement}return null},xf=class{constructor(e,{clickToSelect:t=!0}={}){e.dispatchEvent(new CustomEvent(`Initializing`)),this.parent=e,this.role=e.getAttribute(`role`),this.multi=this.parent.getAttribute(`aria-multiselectable`)===`true`,this.id=pd(this.role),this.parentGroupSelector=`[role="group"], [role="${this.role}"]`,this.clickToSelect=t,this._onClick=e=>{this.onClick(e)},this._onKeyDown=e=>{this.onKeyDown(e)};let{orientation:n,childRoles:r,childSelectedAttr:i,focusChild:a,selectFirst:o,controlsPanel:s,rovingTabStop:c}=_f[this.role];this.orientation=this.grid?`horizontal`:this.parent.getAttribute(`aria-orientation`)??n,this.childRoles=r,this.childSelectedAttr=i,this.childSelectedProp=i.replace(`aria-`,``),this.focusChild=a,this.selectFirst=o,this.controlsPanel=s,this.rovingTabStop=c,this.parent.tabIndex=a?-1:0,(async()=>{await $u(100),this.activate()})()}activate(){let{parent:e,allMembers:t,selected:n}=this;t.forEach((e,t)=>{let r=e.getAttribute(this.childSelectedAttr)===`true`||(n?e===n:this.selectFirst&&t===0),i=this.controlsPanel?document.querySelector(`#${e.getAttribute(`aria-controls`)}`):null;e.id||=`${this.id}-item-${t+1}`,e.setAttribute(this.childSelectedAttr,String(r)),i&&(i.inert=!r,i.setAttribute(`aria-labelledby`,e.id),i.setAttribute(`aria-hidden`,String(!r)),r&&globalThis.setTimeout(()=>{try{i.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`auto`})}catch{i.scrollIntoView(!0)}},300))}),this.updateTabStop(),e.addEventListener(`click`,this._onClick),e.addEventListener(`keydown`,this._onKeyDown),e.dispatchEvent(new CustomEvent(`Initialized`))}updateTabStop(){let{allMembers:e,activeMembers:t}=this;if(!this.focusChild){e.forEach(e=>{e.tabIndex=-1});return}let n=this.rovingTabStop===`selected`?t.find(e=>e.matches(`[${this.childSelectedAttr}="true"]`))??t[0]:t[0];e.forEach(e=>{e.tabIndex=e===n?0:-1})}get selector(){return this.childRoles.map(e=>`[role="${e}"]`).join(`,`)}get allMembers(){return[...this.parent.querySelectorAll(this.selector)]}get activeMembers(){return this.allMembers.filter(e=>!e.matches(`[aria-disabled="true"], [aria-hidden="true"]`))}get opener(){return bf(this.parent)}get parentMenuItem(){let{opener:e}=this;return e?.matches(`[role^="menuitem"]`)?e:null}closeMenuChain(){let{opener:e}=this,t=e,n=null;for(let e=0;e<10&&t;e+=1){n=t,t.getAttribute(`aria-expanded`)===`true`&&t.click();let e=t.closest(`[role="menu"], [role="menubar"]`);t=e?bf(e):null}return n}async leaveMenu(e){let t=this.closeMenuChain();if(!t)return;t.focus(),await $u(50);let n=yf(),r=n.indexOf(t);r>-1&&n[r+(e?-1:1)]?.focus()}async enterSubmenu(e){let t=e.getAttribute(`aria-controls`);if(!t)return;e.getAttribute(`aria-expanded`)!==`true`&&e.click();let n=document.getElementById(t);for(let e=0;e<20;e+=1){let e=[...n?.querySelectorAll(this.selector)??[]].find(e=>!e.matches(`[aria-disabled="true"], [aria-hidden="true"]`));if(e?.focus(),e&&document.activeElement===e)return;await $u(20)}}leaveSubmenu(e){e.getAttribute(`aria-expanded`)===`true`&&e.click(),e.focus()}get selected(){return this.activeMembers.find(e=>e.matches(`[${this.childSelectedAttr}="true"]`))}get isDisabled(){return this.parent.matches(`[aria-disabled="true"]`)}get isReadOnly(){return this.parent.matches(`[aria-readonly="true"]`)}get grid(){return this.role===`grid`||this.role===`listbox`&&this.parent.matches(`.grid`)}selectTarget(e,t){if(this.isDisabled||this.isReadOnly){e.preventDefault();return}let n=t.getAttribute(`role`),r=t.closest(this.parentGroupSelector),i=e.type===`click`,a=e.type===`keydown`&&e.key===` `;this.activeMembers.forEach(o=>{let s=o.matches(`[role="menuitemcheckbox"]`),c=o.matches(`[role="menuitemradio"]`);if((s||c)&&(o.getAttribute(`role`)!==n||o.closest(this.parentGroupSelector)!==r))return;let l=s||this.multi,u=c||!l,d=o===t,f=o.matches(`[${this.childSelectedAttr}="true"]`),p=this.controlsPanel?o.getAttribute(`aria-controls`):null,m=p?document.getElementById(p):null;l&&d&&(i||a)&&(o.setAttribute(this.childSelectedAttr,String(!f)),o.dispatchEvent(new CustomEvent(`Change`,{detail:{[this.childSelectedProp]:!f}})),f||o.dispatchEvent(new CustomEvent(`Select`))),u&&f!==d&&(!c||a||i)&&(o.setAttribute(this.childSelectedAttr,String(d)),o.dispatchEvent(new CustomEvent(`Change`,{detail:{[this.childSelectedProp]:d}})),d&&(e.type===`keydown`&&o.matches(`[role="radio"]`)&&o.click(),o.dispatchEvent(new CustomEvent(`Select`)))),this.focusChild?globalThis.requestAnimationFrame(()=>{o.tabIndex=d?0:-1,d&&(o.focus(),o.dispatchEvent(new CustomEvent(`Focus`)))}):(o.classList.toggle(`focused`,d),d&&o.dispatchEvent(new CustomEvent(`Focus`))),m&&(m.inert=!d,m.setAttribute(`aria-hidden`,String(!d)),d&&globalThis.setTimeout(()=>{try{m.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`auto`})}catch{m.scrollIntoView(!0)}},300)),d&&(this.parent.setAttribute(`aria-activedescendant`,o.id),globalThis.setTimeout(()=>{try{o.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`auto`})}catch{o.scrollIntoView(!0)}},300))}),this.parent.dispatchEvent(new CustomEvent(`Change`,{detail:pf(t)}))}onClick(e){let t=e.target,n=t.matches(this.selector)?t:t.closest(this.selector);!n||e.button!==0||!this.clickToSelect||this.selectTarget(e,n)}onKeyDown(e){let{key:t,ctrlKey:n,metaKey:r,shiftKey:i,altKey:a}=e,o=i||a||n||r,s=this.childRoles.includes(`menuitem`);if(t===`Tab`&&s&&!n&&!r&&!a){e.preventDefault(),this.leaveMenu(i);return}if(o)return;let c=e.target,{allMembers:l,activeMembers:u}=this,d=(()=>{if(!this.focusChild)return u.find(e=>e.matches(`.focused`));if(c.matches(this.selector))return c})();if([`Enter`,` `,`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`].includes(t)&&e.preventDefault(),t===`Enter`){d?.click();return}if(t===` `){d&&this.selectTarget(e,d);return}if(t===`Escape`&&s){let{parentMenuItem:t}=this;if(t){e.preventDefault(),e.stopPropagation(),this.leaveSubmenu(t);return}}if(this.orientation===`vertical`&&s){let e=ku()?`ArrowLeft`:`ArrowRight`,n=ku()?`ArrowRight`:`ArrowLeft`;if(t===e&&d?.getAttribute(`aria-haspopup`)===`menu`){this.enterSubmenu(d);return}if(t===n){let{parentMenuItem:e}=this;if(e){this.leaveSubmenu(e);return}}}let f,p;if(this.grid){let e=Math.floor(this.parent.clientWidth/u[0].clientWidth),n=ku();f=d?l.indexOf(d):-1,t===`ArrowUp`&&f>0&&(p=l[f-e]),t===`ArrowDown`&&f<l.length-1&&(p=l[f+e]),t===`ArrowLeft`&&f>0&&(p=l[f+(n?1:-1)]),t===`ArrowRight`&&f<l.length-1&&(p=l[f+(n?-1:1)]),p?.matches(`[aria-disabled="true"], [aria-hidden="true"]`)&&(p=void 0)}else{f=d?u.indexOf(d):-1;let e=ku(),n=this.orientation===`horizontal`?e?`ArrowRight`:`ArrowLeft`:`ArrowUp`,r=this.orientation===`horizontal`?e?`ArrowLeft`:`ArrowRight`:`ArrowDown`;t===n&&(f>0&&(p=u[f-1]),f<=0&&(p=u[u.length-1])),t===r&&(f<u.length-1&&(p=u[f+1]),f===u.length-1&&([p]=u))}p&&p!==d&&this.selectTarget(e,p)}destroy(){this.parent.removeEventListener(`click`,this._onClick),this.parent.removeEventListener(`keydown`,this._onKeyDown)}onUpdate({searchTerms:e}){let t=gf(e),n=t?t.split(/\s+/):[],{allMembers:r,parent:i}=this,a=r.map(e=>{let t=gf(e.dataset.searchValue??e.dataset.label??e.querySelector(`.label`)?.textContent??e.textContent),r=!n.every(e=>t.includes(e));return e.dispatchEvent(new CustomEvent(`Toggle`,{detail:{hidden:r}})),r}).filter(e=>!e).length;i.dispatchEvent(new CustomEvent(`Filter`,{detail:{matched:a,total:r.length}}))}},Sf=e=>t=>{let n=typeof e==`function`,r=n?e():e,i=new xf(t,r);return n&&Yr(()=>{i.onUpdate(e())}),()=>{i.destroy()}}})))()}function wf(e,t){O(t,!0),G(e,Df);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`readonly`,3,!1),a=q(t,`required`,3,!1),o=q(t,`invalid`,3,!1),s=q(t,`ariaLabel`,3,void 0),c=Gs(t,Tf);var l=Ef();ms(l,()=>({...c,role:`radiogroup`,class:`sui select-button-group ${t.class??``}`,hidden:n(),tabindex:`-1`,"aria-hidden":n(),"aria-disabled":r(),"aria-readonly":i(),"aria-required":a(),"aria-invalid":o(),"aria-label":s()}),void 0,void 0,void 0,`svelte-1db6qlu`);var u=F(l);bo(F(u),()=>t.children??E),D(u),D(l),Wo(l,Sf),R(()=>u.inert=r()),H(e,l),k()}var Tf,Ef,Df;function Of(){return(Of=o((()=>{Y(),J(),Cf(),Tf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`ariaLabel`,`children`]),Ef=B(`<div><div role="none" class="inner svelte-1db6qlu"><!></div></div>`),Df={hash:`svelte-1db6qlu`,code:`.select-button-group.svelte-1db6qlu {flex:none;display:inline-flex;align-items:center;margin:var(--sui-focus-ring-width);}.select-button-group.svelte-1db6qlu:focus-visible {outline-width:0 !important;}.select-button-group.svelte-1db6qlu button {margin:0 !important;border-radius:0 !important;color:var(--sui-primary-foreground-color);}.select-button-group.svelte-1db6qlu button:first-child {border-start-start-radius:4px !important;border-end-start-radius:4px !important;}.select-button-group.svelte-1db6qlu button:not(:first-child) {border-inline-start-width:0;}.select-button-group.svelte-1db6qlu button:last-child {border-start-end-radius:4px !important;border-end-end-radius:4px !important;}.select-button-group.svelte-1db6qlu button[aria-checked=true] {color:var(--sui-highlight-foreground-color);background-color:var(--sui-selected-background-color);}.select-button-group.svelte-1db6qlu [aria-invalid=true] button {border-color:var(--sui-error-border-color);}.select-button-group.svelte-1db6qlu [aria-disabled=false] button[aria-disabled=true] {filter:grayscale(0) opacity(1);}.select-button-group.svelte-1db6qlu [aria-disabled=false] button[aria-disabled=true] * {filter:grayscale(1) opacity(0.35);}.inner.svelte-1db6qlu {display:contents;}`}})))()}function kf(e,t){O(t,!0);let n=q(t,`selected`,15,!1),r=Gs(t,Af);Id(e,Ks(()=>r,{role:`radio`,get class(){return`sui select-button ${t.class??``}`},get"aria-checked"(){return n()},onChange:e=>{n(e.detail.selected),t.onChange?.(e)}})),k()}var Af;function jf(){return(jf=o((()=>{Y(),J(),Hd(),Af=new Set([`$$slots`,`$$events`,`$$legacy`,`selected`,`class`,`onChange`])})))()}function Mf(e,t){O(t,!0);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`popupPosition`,3,`bottom-left`),a=q(t,`popupPositionBaseElement`,3,void 0),o=q(t,`showPopupBackdrop`,3,!1),s=q(t,`label`,3,``),c=q(t,`variant`,3,void 0),l=q(t,`size`,3,`medium`),u=q(t,`iconic`,3,!1),d=Gs(t,Nf),f=N(void 0);var p={focus:()=>{z(f)?.focus()}},m=Pf(),h=I(m);return Id(h,Ks(()=>d,{get class(){return`sui menu-button ${t.class??``}`},get hidden(){return n()},get disabled(){return r()},get label(){return s()},get variant(){return c()},get size(){return l()},get iconic(){return u()},"aria-haspopup":`menu`,get element(){return z(f)},set element(e){P(f,e,!0)},startIcon:e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},children:e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},endIcon:e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.endIcon),H(e,n)},a=e=>{ac(e,{name:`more_vert`})},o=e=>{ac(e,{name:`arrow_drop_down`,class:`small-arrow`})};W(r,e=>{t.endIcon?e(i):u()?e(a,1):e(o,-1)}),H(e,n)},$$slots:{startIcon:!0,default:!0,endIcon:!0}})),jd(L(h,2),{get anchor(){return z(f)},get position(){return i()},get positionBaseElement(){return a()},get showBackdrop(){return o()},children:(e,n)=>{var r=V();bo(I(r),()=>t.popup??E),H(e,r)},$$slots:{default:!0}}),H(e,m),k(p)}var Nf,Pf;function Ff(){return(Ff=o((()=>{Y(),J(),Hd(),lc(),Fd(),Nf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`popupPosition`,`popupPositionBaseElement`,`showPopupBackdrop`,`label`,`variant`,`size`,`iconic`,`children`,`startIcon`,`endIcon`,`popup`]),Pf=B(`<!> <!>`,1)})))()}function If(e,t){O(t,!0),G(e,zf);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`label`,3,``),a=q(t,`variant`,3,void 0),o=q(t,`size`,3,`medium`),s=q(t,`popupPosition`,3,`bottom-left`),c=q(t,`showPopupBackdrop`,3,!1),l=Gs(t,Lf),u=N(void 0);var d=Rf(),f=F(d);Id(f,Ks(()=>l,{get hidden(){return n()},get disabled(){return r()},get label(){return i()},get variant(){return a()},get size(){return o()}}));var p=L(f,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.chevronIcon),H(e,n)},a=e=>{ac(e,{name:`arrow_drop_down`,class:`small-arrow`})};W(r,e=>{t.chevronIcon?e(i):e(a,-1)}),H(e,n)},i=e=>{var n=V();bo(I(n),()=>t.popup??E),H(e,n)},l=M(()=>X(`_sui.split_button.more_options`));Mf(p,{iconic:!0,get hidden(){return n()},get disabled(){return r()},get variant(){return a()},get size(){return o()},get"aria-label"(){return z(l)},get popupPosition(){return s()},get popupPositionBaseElement(){return z(u)},get showPopupBackdrop(){return c()},endIcon:e,popup:i,$$slots:{endIcon:!0,popup:!0}})}D(d),Rs(d,e=>P(u,e),()=>z(u)),R(e=>{K(d,`hidden`,n()),K(d,`aria-hidden`,n()),K(d,`aria-disabled`,r()),K(d,`aria-label`,e)},[()=>X(`_sui.split_button.x_options`,{values:{name:i()}})]),H(e,d),k()}var Lf,Rf,zf;function Bf(){return(Bf=o((()=>{Y(),J(),Z(),lc(),Ff(),Hd(),Lf=new Set([`$$slots`,`$$events`,`$$legacy`,`hidden`,`disabled`,`label`,`variant`,`size`,`popupPosition`,`showPopupBackdrop`,`chevronIcon`,`popup`]),Rf=B(`<div role="group" class="sui split-button svelte-xpdome"><!> <!></div>`),zf={hash:`svelte-xpdome`,code:`.split-button.svelte-xpdome {flex:none;display:inline-flex;margin:var(--sui-focus-ring-width);}.split-button.svelte-xpdome button {margin:0;}.split-button.svelte-xpdome button.menu-button {border-inline-start-width:0;border-start-start-radius:0;border-end-start-radius:0;aspect-ratio:3/4;}.split-button.svelte-xpdome button:not(.menu-button) {border-start-end-radius:0;border-end-end-radius:0;}`}})))()}function Vf(e,t){G(e,Wf);let n=q(t,`hidden`,3,!1),r=q(t,`orientation`,3,`horizontal`),i=q(t,`ariaLabel`,3,void 0),a=Gs(t,Hf);var o=Uf();ms(o,()=>({...a,role:`separator`,class:`sui divider ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-orientation":r(),"aria-label":i()}),void 0,void 0,void 0,`svelte-enfg5b`),H(e,o)}var Hf,Uf,Wf;function Gf(){return(Gf=o((()=>{Y(),J(),Hf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`orientation`,`ariaLabel`]),Uf=B(`<div></div>`),Wf={hash:`svelte-enfg5b`,code:`.divider.svelte-enfg5b {flex:none;background-color:var(--sui-secondary-border-color);}.divider[aria-orientation=horizontal].svelte-enfg5b {margin:8px 0;width:100%;height:1px;}.divider[aria-orientation=vertical].svelte-enfg5b {margin:0 8px;width:1px;height:100%;}`}})))()}function Kf(e,t){G(e,Yf);let n=q(t,`flex`,3,!1),r=Gs(t,qf);var i=Jf();ms(i,()=>({...r,role:`none`,class:`sui spacer ${t.class??``}`,[_s]:{flex:n()}}),void 0,void 0,void 0,`svelte-1u68mim`),H(e,i)}var qf,Jf,Yf;function Xf(){return(Xf=o((()=>{Y(),J(),qf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`flex`]),Jf=B(`<div></div>`),Yf={hash:`svelte-1u68mim`,code:`.spacer.flex.svelte-1u68mim:not([hidden]) {display:block;flex:auto;}.spacer.svelte-1u68mim:not(.flex) {width:8px;height:8px;}`}})))()}function Zf(e,t){G(e,ep);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`orientation`,3,`horizontal`),a=q(t,`ariaLabel`,3,void 0),o=Gs(t,Qf);var s=$f();ms(s,()=>({...o,role:`group`,class:`sui checkbox-group ${t.class??``} ${i()??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-roledescription":`checkbox group`,"aria-label":a()}),void 0,void 0,void 0,`svelte-16xfzeh`);var c=F(s);bo(F(c),()=>t.children??E),D(c),D(s),R(()=>c.inert=r()),H(e,s)}var Qf,$f,ep;function tp(){return(tp=o((()=>{Y(),J(),Qf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`orientation`,`ariaLabel`,`children`]),$f=B(`<div><div role="none" class="inner svelte-16xfzeh"><!></div></div>`),ep={hash:`svelte-16xfzeh`,code:`.checkbox-group.svelte-16xfzeh {display:inline-flex;}.checkbox-group.horizontal.svelte-16xfzeh {gap:8px;align-items:center;flex-wrap:wrap;}.checkbox-group.vertical.svelte-16xfzeh {gap:4px;flex-direction:column;}
|
|
22
|
-
@media (pointer: coarse) {.checkbox-group.vertical.svelte-
|
|
23
|
-
}.inner.svelte-
|
|
24
|
-
@media (max-height: 400px) {.content.small.svelte-
|
|
25
|
-
}.content.medium.svelte-
|
|
26
|
-
@media (max-height: 600px) {.content.medium.svelte-
|
|
27
|
-
}.content.large.svelte-
|
|
28
|
-
@media (max-height: 800px) {.content.large.svelte-
|
|
29
|
-
}.content.x-large.svelte-
|
|
30
|
-
@media (max-height: 1000px) {.content.x-large.svelte-
|
|
31
|
-
}:is(.header.svelte-
|
|
32
|
-
@media (width < 768px) {.footer.svelte-
|
|
33
|
-
}.body.svelte-
|
|
34
|
-
@media (width < 768px) {.body.svelte-
|
|
35
|
-
}`}})))()}function _p(e,t){O(t,!0);let n=q(t,`open`,15,!1),r=Gs(t,vp);cp(e,Ks(()=>r,{role:`alertdialog`,showCancel:!1,get open(){return n()},set open(e){n(e)}})),k()}var vp;function yp(){return(yp=o((()=>{Y(),J(),gp(),vp=new Set([`$$slots`,`$$events`,`$$legacy`,`open`])})))()}function bp(e,t){O(t,!0);let n=q(t,`open`,15,!1),r=Gs(t,xp);cp(e,Ks(()=>r,{role:`alertdialog`,get open(){return n()},set open(e){n(e)}})),k()}var xp;function Sp(){return(Sp=o((()=>{Y(),J(),gp(),xp=new Set([`$$slots`,`$$events`,`$$legacy`,`open`])})))()}function Cp(e,t){let n=ja();O(t,!0),G(e,Dp);let r=q(t,`value`,15),i=q(t,`element`,15),a=q(t,`role`,3,`textbox`),o=q(t,`keyShortcuts`,3,void 0),s=q(t,`dir`,3,void 0),c=q(t,`name`,3,void 0),l=q(t,`showInlineLabel`,3,!1),u=q(t,`inputmode`,3,`text`),d=q(t,`flex`,3,!1),f=q(t,`monospace`,3,!1),p=q(t,`debounce`,3,!1),m=q(t,`hidden`,3,!1),h=q(t,`disabled`,3,!1),g=q(t,`readonly`,3,!1),_=q(t,`required`,3,!1),v=q(t,`invalid`,3,!1),y=q(t,`ariaLabel`,3,void 0),b=Gs(t,wp),x=M(()=>typeof p()==`number`?p():300),S=0;Yr(()=>()=>{clearTimeout(S)});let C=e=>{r(i()?.value),t.oninput?.(e)},w=e=>{let t=e;p()?(clearTimeout(S),S=setTimeout(()=>{C(t)},z(x))):C(t)};var T=Ep();let ee;var te=F(T);ms(te,()=>({...b,value:r(),type:`text`,role:a(),dir:s(),name:c(),tabindex:h()?-1:0,disabled:h()||void 0,readonly:g()||void 0,inputmode:u(),"aria-label":y(),"aria-hidden":m(),"aria-disabled":h(),"aria-readonly":g(),"aria-required":_(),"aria-invalid":v(),oninputcapture:w}),void 0,void 0,void 0,`svelte-
|
|
36
|
-
.label.svelte-
|
|
37
|
-
@media (pointer: coarse) {[role=listbox].svelte-
|
|
38
|
-
}[role=listbox].svelte-
|
|
39
|
-
@media (pointer: coarse) {.menu.svelte-
|
|
40
|
-
}.menu.svelte-
|
|
41
|
-
@media (pointer: coarse) {.radio-group.vertical.svelte-
|
|
42
|
-
}.radio-group.svelte-nvo1b5 [aria-invalid=true] button {border-color:var(--sui-error-border-color);}.radio-group.svelte-nvo1b5 [aria-invalid=true] button[aria-checked=true] {border-color:var(--sui-error-border-color);}.radio-group.svelte-nvo1b5 [aria-invalid=true] button[aria-checked=true]::before {background-color:var(--sui-error-border-color);}.inner.svelte-nvo1b5 {display:contents;}`}})))()}function bm(e,t){let n=ja();O(t,!0),G(e,Ree);let r=q(t,`checked`,7,!1),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`name`,3,void 0),s=q(t,`value`,3,void 0),c=q(t,`valueType`,3,void 0),l=q(t,`label`,3,void 0),u=q(t,`group`,15),d=Gs(t,Fee),f=N(void 0);Yr(()=>{typeof u()==`string`&&(u()===s()?r()||r(!0):r()&&r(!1))});var p=Lee(),m=e=>{e.target.matches(`button`)||z(f)?.click()};ms(p,()=>({...d,role:`none`,class:`sui radio ${t.class??``}`,hidden:i(),onclick:m,[_s]:{disabled:a()}}),void 0,void 0,void 0,`svelte-1yaa4yf`);var h=F(p);Id(h,{role:`radio`,get id(){return n},get hidden(){return i()},get disabled(){return a()},get name(){return o()},get value(){return s()},get valueType(){return c()},get"aria-checked"(){return r()},get"aria-labelledby"(){return`${n}-label`},onclick:e=>{e.preventDefault(),!(a()||r())&&(r(!0),typeof u()==`string`&&u(s()))},get onChange(){return t.onChange},get onSelect(){return t.onSelect},get element(){return z(f)},set element(e){P(f,e,!0)}});var g=L(h,2),_=e=>{var r=Iee(),i=F(r),a=e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},o=e=>{var t=Aa();R(()=>U(t,l())),H(e,t)};W(i,e=>{t.children?e(a):e(o,-1)}),D(r),R(()=>K(r,`id`,`${n}-label`)),H(e,r)};W(g,e=>{(t.children||l())&&e(_)}),D(p),H(e,p),k()}var Fee,Iee,Lee,Ree;function xm(){return(xm=o((()=>{Y(),J(),Hd(),Fee=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`class`,`hidden`,`disabled`,`name`,`value`,`valueType`,`label`,`group`,`children`,`onChange`,`onSelect`]),Iee=B(`<label class="svelte-1yaa4yf"><!></label>`),Lee=B(`<span><!> <!></span>`),Ree={hash:`svelte-1yaa4yf`,code:`.radio.svelte-1yaa4yf {display:inline-flex;align-items:center;gap:8px;margin:var(--sui-focus-ring-width);color:var(--sui-control-foreground-color);font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;}.radio.svelte-1yaa4yf :hover button {background-color:var(--sui-hover-background-color);}.radio.svelte-1yaa4yf :hover button[aria-checked=true] {border-color:var(--sui-primary-accent-color-light);color:var(--sui-primary-accent-color-text);}.radio.svelte-1yaa4yf :hover button[aria-checked=true]::before {background-color:var(--sui-primary-accent-color-light);}.radio.svelte-1yaa4yf :active button {background-color:var(--sui-active-background-color);}.radio.svelte-1yaa4yf :active button[aria-checked=true] {border-color:var(--sui-primary-accent-color-dark);color:var(--sui-primary-accent-color-dark);}.radio.svelte-1yaa4yf button {flex:none;justify-content:center;overflow:hidden;margin:0 !important;border-width:1.5px;border-color:var(--sui-checkbox-border-color);border-radius:var(--sui-checkbox-height);padding:0;width:var(--sui-checkbox-height);height:var(--sui-checkbox-height);background-color:var(--sui-checkbox-background-color);transition:all 200ms;}.radio.svelte-1yaa4yf button::before {content:"";border-radius:var(--sui-checkbox-height);width:calc(var(--sui-checkbox-height) - 7px);height:calc(var(--sui-checkbox-height) - 7px);background-color:var(--sui-primary-accent-color);opacity:0;transition:all 200ms;will-change:opacity;}.radio.svelte-1yaa4yf button[aria-checked=true] {border-color:var(--sui-primary-accent-color);}.radio.svelte-1yaa4yf button[aria-checked=true]::before {opacity:1;}.radio.svelte-1yaa4yf label:where(.svelte-1yaa4yf) {cursor:inherit;}`}})))()}function zee(e,t){O(t,!0),G(e,Uee);let n=q(t,`disabled`,3,!1),r=q(t,`showHandleBar`,3,!1),i=q(t,`ariaLabel`,3,void 0),a=Gs(t,Bee),o=Nt(`paneGroup`);if(!o)throw Error(`<ResizableHandle> must be used inside a <ResizablePaneGroup>`);let s=o.registerHandle(),c=M(()=>o.direction===`horizontal`),l=M(()=>o.sizes),u=M(()=>z(l)[s]??0),d=M(()=>o.getPaneConstraints(s)),f=M(()=>Math.max(z(d).minSize,100-o.paneDefs.reduce((e,t,n)=>e+(n===s?0:o.getPaneConstraints(n).maxSize),0))),p=M(()=>Math.min(z(d).maxSize,100-o.paneDefs.reduce((e,t,n)=>e+(n===s?0:o.getPaneConstraints(n).minSize),0))),m=N(void 0),h=N(!1),g=N(0),_=N(0),v=N(!1),y=()=>{let e=z(m)?.closest(`.resizable-pane-group`);return e?z(c)?e.clientWidth:e.clientHeight:0},b=e=>{let{screenX:t,screenY:r,pointerId:i}=e;if(n()||!z(h)||i!==z(_))return;e.preventDefault(),e.stopPropagation();let a=z(c)?t:r,l=a-z(g),u=y();if(!u)return;let d=l/u*100;z(c)&&ku()&&(d=-d),P(g,a,!0),o.resize(s,d)},x=e=>{let{pointerId:n}=e;!z(h)||n!==z(_)||(z(m)?.releasePointerCapture(n),P(h,!1),P(g,0),P(_,0),t.onResizeEnd?.(),document.removeEventListener(`pointermove`,b),document.removeEventListener(`pointerup`,x),document.removeEventListener(`pointercancel`,x))},S=e=>{if(n())return;e.preventDefault(),e.stopPropagation();let{screenX:r,screenY:i,pointerId:a}=e;P(h,!0),P(g,z(c)?r:i,!0),P(_,a,!0),z(m)?.setPointerCapture(a),t.onResizeStart?.(),document.addEventListener(`pointermove`,b),document.addEventListener(`pointerup`,x),document.addEventListener(`pointercancel`,x)},C=e=>{if(n())return;let{key:r,shiftKey:i}=e,a=i?10:1,l=0;if(r===`Enter`){e.preventDefault(),e.stopPropagation(),o.toggleCollapse(s);return}if(r===`Home`){e.preventDefault(),e.stopPropagation(),o.resize(s,-100);return}if(r===`End`){e.preventDefault(),e.stopPropagation(),o.resize(s,100);return}if(z(c)){let e=ku();if(r===`ArrowLeft`)l=e?a:-a;else if(r===`ArrowRight`)l=e?-a:a;else return}else if(r===`ArrowUp`)l=-a;else if(r===`ArrowDown`)l=a;else return;e.preventDefault(),e.stopPropagation(),z(v)||(P(v,!0),t.onResizeStart?.()),o.resize(s,l)},w=()=>{z(v)&&(P(v,!1),t.onResizeEnd?.())};var T=Hee();ms(T,e=>({...a,role:`separator`,tabindex:n()?-1:0,"aria-orientation":z(c)?`vertical`:`horizontal`,"aria-valuenow":e,"aria-valuemin":z(f),"aria-valuemax":z(p),"aria-controls":o.paneDefs[s]?.id,"aria-disabled":n()||void 0,"aria-label":i(),class:`sui resizable-handle ${t.class??``??``}`,onpointerdown:S,onkeydown:C,onblur:w,[_s]:{horizontal:z(c),vertical:!z(c),disabled:n(),dragging:z(h)}}),[()=>Math.round(z(u))],void 0,void 0,`svelte-kn6thx`);var ee=F(T),te=e=>{var n=V();bo(I(n),()=>t.children),H(e,n)},ne=e=>{H(e,Vee())};W(ee,e=>{t.children?e(te):r()&&e(ne,1)}),D(T),Rs(T,e=>P(m,e),()=>z(m)),H(e,T),k()}var Bee,Vee,Hee,Uee;function Sm(){return(Sm=o((()=>{Y(),J(),Z(),ic(),Bee=new Set([`$$slots`,`$$events`,`$$legacy`,`disabled`,`showHandleBar`,`class`,`ariaLabel`,`children`,`onResizeStart`,`onResizeEnd`]),Vee=B(`<div role="none" class="handle-bar svelte-kn6thx"></div>`),Hee=B(`<div><!></div>`),Uee={hash:`svelte-kn6thx`,code:`.resizable-handle.svelte-kn6thx {position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:center;touch-action:none;outline-offset:0;background-color:transparent;transition:background-color 200ms;}.resizable-handle.svelte-kn6thx:focus-visible, .resizable-handle.svelte-kn6thx:hover, .resizable-handle.dragging.svelte-kn6thx {outline:none;z-index:1;background-color:var(--sui-primary-accent-color-translucent-light);}.resizable-handle.svelte-kn6thx:focus-visible .handle-bar:where(.svelte-kn6thx), .resizable-handle.svelte-kn6thx:hover .handle-bar:where(.svelte-kn6thx), .resizable-handle.dragging.svelte-kn6thx .handle-bar:where(.svelte-kn6thx) {background-color:var(--sui-primary-accent-color);}.resizable-handle.disabled.svelte-kn6thx {pointer-events:none;opacity:0.4;}.resizable-handle.horizontal.svelte-kn6thx {width:var(--sui-resizable-handle-size, 4px);height:100%;cursor:col-resize;}.resizable-handle.horizontal.svelte-kn6thx .handle-bar:where(.svelte-kn6thx) {width:2px;height:40%;min-height:20px;}.resizable-handle.vertical.svelte-kn6thx {width:100%;height:var(--sui-resizable-handle-size, 4px);cursor:row-resize;}.resizable-handle.vertical.svelte-kn6thx .handle-bar:where(.svelte-kn6thx) {height:2px;width:40%;min-width:20px;}.resizable-handle.svelte-kn6thx .handle-bar:where(.svelte-kn6thx) {border-radius:1px;background-color:hsl(var(--sui-border-color-1-hsl));transition:background-color 200ms;}`}})))()}function Wee(e,t){O(t,!0),G(e,qee);let n=q(t,`direction`,3,`horizontal`),r=Gs(t,Gee),i=Er([]),a=N(void 0),o=Er([]),s=Er([]),c=0,l=()=>z(a)?n()===`horizontal`?z(a).clientWidth:z(a).clientHeight:0,u=(e,t)=>{if(typeof e==`number`)return e;if(!e||typeof e!=`string`)return t;let n=e.trim(),r=n.match(/^(-?\d+(?:\.\d+)?)%$/);if(r)return Number(r[1]);let i=l();if(!i)return t;let a=n.match(/^(-?\d+(?:\.\d+)?)px$/i);if(a)return Number(a[1])/i*100;let o=n.match(/^(-?\d+(?:\.\d+)?)(dvw|vw|dvh|vh)$/i);if(o){let e=Number(o[1]),t=o[2].toLowerCase().endsWith(`w`)?window.innerWidth:window.innerHeight;return e/100*t/i*100}return t},d=e=>{let t=i[e];if(!t)return{minSize:0,maxSize:100};let n=Math.max(0,u(t.minSize,0)),r=Math.min(100,u(t.maxSize,100));return{minSize:n,maxSize:Math.max(n,r)}},f=()=>{if(!i.length)return;let e=i.map(e=>e.defaultSize===void 0?NaN:u(e.defaultSize,NaN)),t=e.filter(e=>!Number.isNaN(e)).reduce((e,t)=>e+t,0),n=e.filter(e=>Number.isNaN(e)).length,r=Math.max(0,100-t),a=n>0?r/n:0,s=e.map(e=>Number.isNaN(e)?a:e);o.splice(0,o.length,...s)},p=(e,n)=>{let r=e,i=e+1;if(r<0||i>=o.length)return;let{minSize:a,maxSize:s}=d(r),{minSize:c,maxSize:l}=d(i),u=o[r],f=o[i],p=Math.min(s-u,f-c),m=Math.min(u-a,l-f),h=n>0?Math.min(n,p):-Math.min(-n,m);o[r]=u+h,o[i]=f-h,t.onResize?.({sizes:o.map(e=>Number(e.toFixed(1)))})};Pt(`paneGroup`,{get direction(){return n()},sizes:o,registerPane:({id:e,defaultSize:t,minSize:n,maxSize:r})=>{let a=i.length;return i.push({id:e,defaultSize:t,minSize:n,maxSize:r}),{index:a}},registerHandle:()=>{let e=c;return c+=1,e},resize:p,toggleCollapse:e=>{let{minSize:t}=d(e);if(s[e]!==void 0){let t=s[e]-o[e];s[e]=void 0,p(e,t)}else s[e]=o[e],p(e,-(o[e]-t))},getPaneConstraints:d,paneDefs:i}),Yr(()=>{i.length&&!o.length&&f()});var m=Kee();ms(m,()=>({...r,role:`none`,class:`sui resizable-pane-group ${n()??``} ${t.class??``??``}`,"data-direction":n()}),void 0,void 0,void 0,`svelte-1ho65r`),bo(F(m),()=>t.children??E),D(m),Rs(m,e=>P(a,e),()=>z(a)),H(e,m),k()}var Gee,Kee,qee;function Cm(){return(Cm=o((()=>{Y(),J(),ic(),Gee=new Set([`$$slots`,`$$events`,`$$legacy`,`direction`,`class`,`children`,`onResize`]),Kee=B(`<div><!></div>`),qee={hash:`svelte-1ho65r`,code:`.resizable-pane-group.svelte-1ho65r {display:flex;overflow:hidden;}.resizable-pane-group.horizontal.svelte-1ho65r {flex-direction:row;width:100%;height:100%;}.resizable-pane-group.vertical.svelte-1ho65r {flex-direction:column;width:100%;height:100%;}`}})))()}function wm(e,t){let n=ja();O(t,!0);let r=q(t,`defaultSize`,3,void 0),i=q(t,`minSize`,3,0),a=q(t,`maxSize`,3,100),o=Gs(t,Jee),s=Nt(`paneGroup`);if(!s)throw Error(`<ResizablePane> must be used inside a <ResizablePaneGroup>`);let{index:c}=s.registerPane({id:n,defaultSize:r(),minSize:i(),maxSize:a()}),l=M(()=>s.direction),u=M(()=>s.sizes[c]),d=M(()=>z(u)===void 0?typeof r()==`number`?`${r()}%`:r()??`0%`:`${z(u)}%`);Yr(()=>{z(u)!==void 0&&Li(()=>t.onResize?.({size:Number(z(u).toFixed(1))}))});var f=Tm();ms(f,()=>({...o,id:n,role:`none`,class:`sui resizable-pane ${t.class??``??``}`,[vs]:{"flex-basis":z(d),"flex-grow":`0`,"flex-shrink":`0`,"overflow-x":z(l)===`horizontal`?`auto`:void 0,"overflow-y":z(l)===`vertical`?`auto`:void 0}})),bo(F(f),()=>t.children??E),D(f),H(e,f),k()}var Jee,Tm;function Em(){return(Em=o((()=>{Y(),J(),ic(),Jee=new Set([`$$slots`,`$$events`,`$$legacy`,`defaultSize`,`minSize`,`maxSize`,`class`,`children`,`onResize`]),Tm=B(`<div><!></div>`)})))()}function Dm(e,t){O(t,!0),G(e,Am);let n=q(t,`itemChunkSize`,3,25),r=N(Er(n())),i=N(void 0),a=M(()=>t.items.length>z(r)),o=new IntersectionObserver(([{isIntersecting:e}])=>{e&&(z(a)?P(r,z(r)+n()):o.disconnect())});Yr(()=>{z(i)&&o.observe(z(i))});var s=km(),c=I(s);co(c,19,()=>t.items.slice(0,z(r)),(e,n)=>e[t.itemKey]??n,(e,n,r)=>{var i=V();bo(I(i),()=>t.renderItem,()=>z(n),()=>z(r)),H(e,i)});var l=L(c,2),u=e=>{var t=Om();Rs(t,e=>P(i,e),()=>z(i)),H(e,t)};W(l,e=>{z(a)&&e(u)}),H(e,s),k()}var Om,km,Am;function jm(){return(jm=o((()=>{Y(),J(),Om=B(`<div role="none" class="spinner svelte-1geo4g"></div>`),km=B(`<!> <!>`,1),Am={hash:`svelte-1geo4g`,code:`.spinner.svelte-1geo4g {height:1px;}`}})))()}function Mm(e,t){let n=ja();O(t,!0),G(e,Fm);let r=q(t,`value`,15),i=q(t,`flex`,3,!1),a=q(t,`hidden`,3,!1),o=q(t,`disabled`,3,!1),s=q(t,`readonly`,3,!1),c=q(t,`required`,3,!1),l=q(t,`invalid`,3,!1),u=Gs(t,Nm),d=N(void 0);var f={focus:()=>{z(d)?.focus()}},p=Pm();let m;var h=F(p),g=F(h),_=e=>{var n=V();bo(I(n),()=>t.searchIcon),H(e,n)},v=e=>{ac(e,{name:`search`})};W(g,e=>{t.searchIcon?e(_):e(v,-1)}),D(h);var y=L(h,2);Cp(y,Ks({dir:`auto`},()=>u,{role:`searchbox`,get id(){return n},get flex(){return i()},get hidden(){return a()},get disabled(){return o()},get readonly(){return s()},get required(){return c()},get invalid(){return l()},inputmode:`search`,get element(){return z(d)},set element(e){P(d,e,!0)},get value(){return r()},set value(e){r(e)}}));var b=L(y,2),x=e=>{{let i=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.closeIcon),H(e,n)},a=e=>{ac(e,{name:`close`})};W(r,e=>{t.closeIcon?e(i):e(a,-1)}),H(e,n)},a=M(()=>X(`_sui.clear`));Id(e,{iconic:!0,get"aria-label"(){return z(a)},get"aria-controls"(){return n},onclick:()=>{r(``),z(d)?.focus(),t.onClear?.()},startIcon:i,$$slots:{startIcon:!0}})}};return W(b,e=>{r()&&e(x)}),D(p),R(()=>{K(p,`role`,a()?void 0:`none`),m=ns(p,1,`sui search-bar ${t.class??``}`,`svelte-tzyg7j`,m,{flex:i(),disabled:o(),readonly:s()}),K(p,`hidden`,a()),K(p,`aria-hidden`,a())}),H(e,p),k(f)}var Nm,Pm,Fm;function Im(){return(Im=o((()=>{Y(),J(),Z(),Hd(),lc(),Op(),Nm=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`flex`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`searchIcon`,`closeIcon`,`onClear`]),Pm=B(`<div><span role="none" class="svelte-tzyg7j"><!></span> <!> <!></div>`),Fm={hash:`svelte-tzyg7j`,code:`.search-bar.svelte-tzyg7j {display:inline-flex;align-items:center;position:relative;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-singleline-min-width);}.search-bar.flex.svelte-tzyg7j:not([hidden]) {display:inline-flex;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}.search-bar.svelte-tzyg7j > span:where(.svelte-tzyg7j) {position:absolute;inset-block:0;inset-inline-start:0;inset-inline-end:auto;z-index:2;display:flex;align-items:center;justify-content:center;width:var(--sui-button-medium-height);height:var(--sui-button-medium-height);}.search-bar.svelte-tzyg7j .icon {font-size:calc(var(--sui-textbox-height) * 0.6);opacity:0.5;}.search-bar.svelte-tzyg7j > button {position:absolute;inset-block:0;inset-inline-start:auto;inset-inline-end:0;z-index:2;margin:0 !important;height:var(--sui-button-medium-height);}.search-bar.svelte-tzyg7j .label {--sui-textbox-singleline-padding: 0 36px;}.search-bar.svelte-tzyg7j .text-input {flex:auto;margin:0 !important;width:0;min-width:0 !important;}.search-bar.svelte-tzyg7j input {z-index:1;padding:0 var(--sui-button-medium-height) !important;width:100%;}`}})))()}function Yee(e,t){let n=ja();O(t,!0),G(e,Hm);let r=q(t,`value`,15),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`readonly`,3,!1),s=q(t,`required`,3,!1),c=q(t,`invalid`,3,!1),l=q(t,`editable`,3,!0),u=q(t,`position`,3,`bottom-left`),d=q(t,`filterThreshold`,3,5),f=q(t,`ariaLabel`,3,void 0),p=Gs(t,Lm),m=N(!1),h=N(void 0),g=N(void 0),_=N(void 0),v=N(void 0),y=N(void 0),b=N(void 0),x=N(``),S=N(!1),C=N(``),w=N(0),T=M(()=>!z(C)||z(w)>0),ee=M(()=>z(h)??z(g)),te=df(),ne=()=>{let e=te.find(r());e&&(P(x,e.label,!0),te.selectOnly(r()))},re=e=>{let n=pf(e);r(n.value),ne(),t.onChange?.(new CustomEvent(`Change`,{detail:n}))};Yr(()=>{te.expanded=z(m)}),Yr(()=>{if(!z(y))return;let e=z(m)?z(b):z(v);e&&z(y).parentElement!==e&&e.append(z(y))}),tc(()=>{let e=te.selectedEntry;e&&(r(e.value),P(x,e.label,!0),t.onChange?.(new CustomEvent(`Change`,{detail:{target:void 0,type:e.type,name:e.name,label:e.label,value:e.value}})))}),Yr(()=>{r(),ne()});var ie=Vm(),ae=I(ie);ms(ae,()=>({...p,role:`none`,class:`sui combobox ${t.class??``}`,hidden:i(),[_s]:{editable:l()}}),void 0,void 0,void 0,`svelte-hapifa`);var oe=F(ae),se=e=>{var t=Rm();ms(t,()=>({...p,role:`combobox`,id:n,tabindex:a()?-1:0,"aria-expanded":z(m),"aria-hidden":i(),"aria-disabled":a(),"aria-readonly":o(),"aria-required":s(),"aria-invalid":c(),"aria-haspopup":`listbox`,"aria-label":f(),[_s]:{selected:r()!==void 0}}),void 0,void 0,void 0,`svelte-hapifa`);var l=F(t);Yu(F(l),{children:(e,t)=>{pt();var n=Aa();R(e=>U(n,e),[()=>r()===void 0?X(`_sui.combobox.select_an_option`):z(x)]),H(e,n)},$$slots:{default:!0}}),D(l),D(t),Rs(t,e=>P(h,e),()=>z(h)),H(e,t)},ce=e=>{{let t=M(()=>r()===void 0?``:String(r()));Cp(e,Ks(()=>p,{dir:`auto`,role:`combobox`,get id(){return n},get value(){return z(t)},get hidden(){return i()},get disabled(){return a()},get readonly(){return o()},get required(){return s()},get invalid(){return c()},get"aria-expanded"(){return z(m)},"aria-haspopup":`listbox`,get"aria-label"(){return f()},get element(){return z(g)},set element(e){P(g,e,!0)}}))}};W(oe,e=>{l()?e(ce,-1):e(se)});var le=L(oe,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.chevronIcon),H(e,n)},a=e=>{ac(e,{name:`expand_more`})};W(r,e=>{t.chevronIcon?e(i):e(a,-1)}),H(e,n)},r=M(()=>!l()||o()||a()?-1:0),s=M(()=>z(m)?X(`_sui.collapse`):X(`_sui.expand`)),c=M(()=>z(m)?`${n}-popup`:void 0);Id(le,{variant:`ghost`,iconic:!0,get hidden(){return i()},get disabled(){return a()},get tabindex(){return z(r)},get"aria-label"(){return z(s)},get"aria-controls"(){return z(c)},get"aria-expanded"(){return z(m)},onclick:e=>{e.preventDefault(),e.stopPropagation(),!a()&&!o()&&P(m,!z(m))},startIcon:e,$$slots:{startIcon:!0}})}D(ae);var ue=L(ae,2),de=F(ue);Kp(F(de),{get id(){return`${n}-listbox`},class:`in-combobox`,get searchTerms(){return z(C)},onclick:e=>{e.target.matches(`[role="option"]`)&&re(e.target)},onFilter:e=>{P(w,e.detail.matched,!0)},children:(e,n)=>{var r=V();bo(I(r),()=>t.children??E),H(e,r)},$$slots:{default:!0}}),D(de),Rs(de,e=>P(y,e),()=>z(y)),D(ue),Rs(ue,e=>P(v,e),()=>z(v)),jd(L(ue,2),{get id(){return`${n}-popup`},class:`combobox`,get anchor(){return z(ee)},get position(){return u()},touchOptimized:!0,onOpen:()=>{P(S,d()!==-1&&te.count>d(),!0),P(C,``)},get content(){return z(_)},set content(e){P(_,e,!0)},get open(){return z(m)},set open(e){P(m,e,!0)},children:(e,t)=>{var r=Bm(),i=F(r),a=e=>{{let t=M(()=>X(`_sui.combobox.filter_options`));Mm(e,{flex:!0,get"aria-label"(){return z(t)},get"aria-controls"(){return`${n}-listbox`},onkeydown:e=>{[`ArrowUp`,`ArrowDown`,`Enter`].includes(e.key)&&(e.preventDefault(),z(_)?.querySelector(`.sui.listbox`)?.dispatchEvent(new KeyboardEvent(`keydown`,e)))},get value(){return z(C)},set value(e){P(C,e,!0)}})}};W(i,e=>{z(S)&&e(a)});var o=L(i,2);Rs(o,e=>P(b,e),()=>z(b));var s=L(o,2),c=e=>{var t=zm(),n=F(t,!0);D(t),R(e=>U(n,e),[()=>X(`_sui.combobox.no_matching_options`)]),H(e,t)};W(s,e=>{z(T)||e(c)}),D(r),H(e,r)},$$slots:{default:!0}}),H(e,ie),k()}var Lm,Rm,zm,Bm,Vm,Hm;function Um(){return(Um=o((()=>{Y(),J(),Z(),ic(),mf(),Hd(),lc(),qp(),Im(),Op(),Qu(),Fd(),Lm=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`editable`,`position`,`filterThreshold`,`ariaLabel`,`children`,`chevronIcon`,`onChange`]),Rm=B(`<div><div role="none" class="label svelte-hapifa"><!></div></div>`),zm=B(`<div role="alert" class="no-options svelte-hapifa" aria-live="assertive"> </div>`),Bm=B(`<div role="none" class="combobox-inner svelte-hapifa"><!> <div role="none" class="listbox-slot svelte-hapifa"></div> <!></div>`),Vm=B(`<div><!> <!></div> <div role="none" class="idle-host" hidden=""><div role="none" class="option-host svelte-hapifa"><!></div></div> <!>`,1),Hm={hash:`svelte-hapifa`,code:`:is(.option-host.svelte-hapifa, .listbox-slot.svelte-hapifa) {display:contents;}.combobox.svelte-hapifa {margin:var(--sui-focus-ring-width);display:flex;align-items:center;position:relative;min-width:var(--sui-combobox-min-width, calc(var(--sui-option-height) * 5));}.combobox.svelte-hapifa div[role=combobox]:where(.svelte-hapifa) {display:flex;align-items:center;border-width:1px;border-color:var(--sui-control-border-color);border-radius:var(--sui-textbox-border-radius);padding-block:0;padding-inline-start:calc(var(--sui-textbox-height) / 4);padding-inline-end:var(--sui-textbox-height);width:100%;height:var(--sui-textbox-height);color:var(--sui-control-foreground-color);background-color:var(--sui-disabled-background-color);font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);-webkit-user-select:none;user-select:none;cursor:pointer;transition:all 200ms;}.combobox.svelte-hapifa div[role=combobox]:where(.svelte-hapifa):not(.selected) {font-style:italic;}.combobox.svelte-hapifa div[role=combobox]:where(.svelte-hapifa):is(:where(.svelte-hapifa):hover, :where(.svelte-hapifa):focus) {background-color:var(--sui-hover-background-color);}.combobox.svelte-hapifa div[role=combobox][aria-invalid=true]:where(.svelte-hapifa) {border-color:var(--sui-error-border-color);}.combobox.svelte-hapifa div[role=combobox]:where(.svelte-hapifa) .label:where(.svelte-hapifa) {width:100%;}.combobox.svelte-hapifa .icon {font-size:var(--sui-font-size-xx-large);opacity:0.5;}.combobox.svelte-hapifa > .icon {position:absolute;inset-block-start:8px;inset-inline-start:8px;z-index:1;}.combobox.svelte-hapifa > button {position:absolute;inset-block-start:0;inset-inline-end:0;z-index:1;margin:0 !important;border-start-start-radius:0;border-end-start-radius:0;background-color:transparent !important;}.combobox.svelte-hapifa > button[tabindex="-1"] {pointer-events:none;}.combobox.svelte-hapifa :not(.editable) > button {background-color:transparent !important;}.combobox.svelte-hapifa .text-input {margin:0 !important;width:100% !important;}.combobox.svelte-hapifa input {padding-block:0;padding-inline:8px 32px;width:0;}.combobox.svelte-hapifa + [role=listbox] {position:fixed;z-index:100;border-radius:var(--sui-control-medium-border-radius);box-shadow:0 8px 16px var(--sui-popup-shadow-color);overflow:auto;background-color:var(--sui-secondary-background-color);-webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px);
|
|
43
|
-
/* Add .1s delay before the position can be determined */transition:opacity 100ms 100ms;}.combobox.svelte-hapifa + [role=listbox]:not(.open) {opacity:0;pointer-events:none;}.combobox-inner.svelte-hapifa {display:flex;flex-direction:column;overflow:hidden;}.combobox-inner.svelte-hapifa .sui.search-bar {flex:none;}.combobox-inner.svelte-hapifa .sui.listbox {flex:auto;overflow-y:auto;}.combobox-inner.svelte-hapifa .no-options:where(.svelte-hapifa) {flex:none;display:flex;align-items:center;padding:var(--sui-option-padding);height:var(--sui-option-height);color:var(--sui-tertiary-foreground-color);}`}})))()}function Xee(e){let t=e-1;return t*t*t+1}function Zee(e,{from:t,to:n},r={}){var{delay:i=0,duration:a=e=>Math.sqrt(e)*120,easing:o=Xee}=r,s=getComputedStyle(e),c=s.transform===`none`?``:s.transform,[l,u]=s.transformOrigin.split(` `).map(parseFloat);l/=e.clientWidth,u/=e.clientHeight;var d=Qee(e),f=e.clientWidth/n.width/d,p=e.clientHeight/n.height/d,m=t.left+t.width*l,h=t.top+t.height*u,g=n.left+n.width*l,_=n.top+n.height*u,v=(m-g)*f,y=(h-_)*p,b=t.width/n.width,x=t.height/n.height;return{delay:i,duration:typeof a==`function`?a(Math.sqrt(v*v+y*y)):a,easing:o,css:(e,t)=>`transform: ${c} translate(${t*v}px, ${t*y}px) scale(${e+t*b}, ${e+t*x});`}}function Qee(e){if(`currentCSSZoom`in e)return e.currentCSSZoom;for(var t=e,n=1;t!==null;)n*=+getComputedStyle(t).zoom,t=t.parentElement;return n}function Wm(){return(Wm=o((()=>{})))()}function Gm(e,t){O(t,!0);let n=q(t,`value`,15),r=q(t,`hidden`,3,!1),i=q(t,`disabled`,3,!1),a=q(t,`readonly`,3,!1),o=q(t,`required`,3,!1),s=q(t,`invalid`,3,!1),c=Gs(t,Km);Yee(e,Ks(()=>c,{get class(){return`sui select ${t.class??``}`},get hidden(){return r()},get disabled(){return i()},get readonly(){return a()},get required(){return o()},get invalid(){return s()},get onChange(){return t.onChange},editable:!1,get value(){return n()},set value(e){n(e)},children:(e,n)=>{var r=V();bo(I(r),()=>t.children??E),H(e,r)},$$slots:{default:!0}})),k()}var Km;function qm(){return(qm=o((()=>{Y(),J(),Um(),Km=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`onChange`])})))()}function $ee(e,t){O(t,!0),G(e,Zm);let n=q(t,`values`,31,()=>Er([])),r=q(t,`max`,3,void 0),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`readonly`,3,!1),s=q(t,`required`,3,!1),c=q(t,`invalid`,3,!1),l=Gs(t,Jm),u=M(()=>new Map(t.options.map(e=>[e.value,e]))),d=M(()=>ku()?`ArrowRight`:`ArrowLeft`),f=M(()=>ku()?`ArrowLeft`:`ArrowRight`),p=N(void 0),m=N(void 0),h=N(void 0),g=N(void 0),_=(e,r)=>{if(e===r)return;let i=[...n()],[a]=i.splice(e,1);i.splice(r,0,a),n(i),t.onReorder?.(new CustomEvent(`Reorder`,{detail:{values:i}}))},v=async(e,t)=>{_(e,t),await Pi(),(z(p)?.querySelectorAll(`.label[tabindex]`)?.[t])?.focus()};var y=Xm();let b;var x=F(y);co(x,30,n,e=>e,(e,r,i)=>{let s=M(()=>z(u).get(r)),c=M(()=>z(s)?.label||z(s)?.value||r);var l=Ym();let p;var m=F(l),_=F(m,!0);D(m);var y=L(m,2),b=e=>{{let i=e=>{ac(e,{name:`close`})},s=M(()=>a()||o()),l=M(()=>X(`_sui.select_tags.remove_x`,{values:{name:z(c)}}));Id(e,{iconic:!0,size:`small`,get disabled(){return z(s)},get"aria-label"(){return z(l)},onclick:()=>{n(n().filter(e=>e!==r)),t.onRemoveValue?.(new CustomEvent(`RemoveValue`,{detail:{value:r}}))},startIcon:i,$$slots:{startIcon:!0}})}};W(y,e=>{z(s)&&e(b)}),D(l),R(()=>{K(l,`draggable`,!a()&&!o()),p=ns(l,1,`svelte-1ucvjn`,null,p,{"drag-source":z(h)===z(i),"drop-before":z(g)===z(i)&&z(h)!==z(i)&&z(h)!==z(i)-1,"drop-after":z(g)===n().length&&z(i)===n().length-1&&z(h)!==n().length-1}),K(m,`tabindex`,a()||o()?void 0:0),U(_,z(c))}),ga(`dragstart`,l,e=>{P(h,z(i),!0),e.dataTransfer&&(e.dataTransfer.setData(`text/plain`,z(c)),e.dataTransfer.effectAllowed=`move`)}),ga(`dragover`,l,e=>{e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`move`);let t=e.currentTarget.getBoundingClientRect(),n=e.clientX<t.left+t.width/2;P(g,n===ku()?z(i)+1:z(i),!0)}),ga(`drop`,l,async e=>{e.preventDefault();let t=z(h),n=z(g);P(h,void 0),P(g,void 0),t!==void 0&&n!==void 0&&n!==t&&n!==t+1&&await v(t,n>t?n-1:n)}),ga(`dragend`,l,()=>{P(h,void 0),P(g,void 0)}),_a(`keydown`,m,async e=>{let{key:t}=e,r=t===z(d)&&z(i)>0?z(i)-1:t===z(f)&&z(i)<n().length-1?z(i)+1:t===`Home`&&z(i)>0?0:t===`End`&&z(i)<n().length-1?n().length-1:-1;r!==-1&&(e.preventDefault(),await v(z(i),r))}),No(l,()=>Zee,()=>({duration:200})),H(e,l)}),D(x);var S=L(x,2),C=e=>{{let r=M(()=>a()||o());Gm(e,Ks(()=>l,{get disabled(){return z(r)},get readonly(){return o()},get required(){return s()},get invalid(){return c()},onChange:()=>{z(m)&&(n([...n(),z(m)]),t.onAddValue?.(new CustomEvent(`AddValue`,{detail:{value:z(m)}})),P(m,void 0))},get value(){return z(m)},set value(e){P(m,e,!0)},children:(e,r)=>{var i=V();co(I(i),17,()=>t.options,({label:e,value:t,searchValue:n})=>t,(e,t)=>{let r=()=>z(t).label,i=()=>z(t).value,a=()=>z(t).searchValue;var o=V(),s=I(o),c=e=>{Xp(e,{get label(){return r()},get value(){return i()},get searchValue(){return a()}})},l=M(()=>!n().includes(i()));W(s,e=>{z(l)&&e(c)}),H(e,o)}),H(e,i)},$$slots:{default:!0}}))}};W(S,e=>{(typeof r()!=`number`||n().length<r())&&n().length<t.options.length&&e(C)}),D(y),Rs(y,e=>P(p,e),()=>z(p)),R(e=>{b=ns(y,1,`sui select-tags ${t.class??``}`,`svelte-1ucvjn`,b,{disabled:a()||o()}),K(y,`hidden`,i()),K(x,`aria-label`,e)},[()=>X(`_sui.select_tags.selected_options`)]),H(e,y),k()}var Jm,Ym,Xm,Zm;function Qm(){return(Qm=o((()=>{Y(),J(),Z(),ic(),Wm(),Hd(),lc(),em(),qm(),Jm=new Set([`$$slots`,`$$events`,`$$legacy`,`values`,`options`,`max`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`onAddValue`,`onRemoveValue`,`onReorder`]),Ym=B(`<span role="none"><span class="label svelte-1ucvjn" role="option" aria-selected="true"> </span> <!></span>`),Xm=B(`<div role="none"><span role="listbox" aria-multiselectable="true" class="svelte-1ucvjn"></span> <!></div>`),Zm={hash:`svelte-1ucvjn`,code:`.select-tags.svelte-1ucvjn {display:flex;flex-wrap:wrap;align-items:center;}.select-tags.disabled.svelte-1ucvjn {pointer-events:none;}.select-tags.disabled.svelte-1ucvjn > :where(.svelte-1ucvjn) {opacity:0.5;}.select-tags.svelte-1ucvjn span[role=listbox]:where(.svelte-1ucvjn) {display:contents;}.select-tags.svelte-1ucvjn span[draggable]:where(.svelte-1ucvjn) {display:inline-flex;align-items:center;position:relative;margin:var(--sui-focus-ring-width);padding:0;padding-inline-start:8px;border-radius:var(--sui-control-medium-border-radius);background-color:var(--sui-secondary-background-color);cursor:grab;outline:none;}.select-tags.svelte-1ucvjn span[draggable]:where(.svelte-1ucvjn):focus-within {outline:var(--sui-focus-ring-width) solid var(--sui-focus-ring-color);}.select-tags.svelte-1ucvjn span[draggable].drag-source:where(.svelte-1ucvjn) {opacity:0.4;cursor:grabbing;}.select-tags.svelte-1ucvjn span[draggable].drop-before:where(.svelte-1ucvjn)::before, .select-tags.svelte-1ucvjn span[draggable].drop-after:where(.svelte-1ucvjn)::after {content:"";position:absolute;top:0;bottom:0;margin-left:-1px;border-radius:1px;width:4px;background-color:var(--sui-primary-accent-color);pointer-events:none;}.select-tags.svelte-1ucvjn span[draggable].drop-before:where(.svelte-1ucvjn)::before {inset-inline-start:calc(-1 * var(--sui-focus-ring-width) - 1px);}.select-tags.svelte-1ucvjn span[draggable].drop-after:where(.svelte-1ucvjn)::after {inset-inline-end:calc(-1 * var(--sui-focus-ring-width) - 1px);}.select-tags.svelte-1ucvjn span[draggable]:where(.svelte-1ucvjn) .label:where(.svelte-1ucvjn) {outline:none;}.select-tags.svelte-1ucvjn span[draggable]:where(.svelte-1ucvjn) button {outline-offset:-2px;}.select-tags.svelte-1ucvjn span[draggable]:where(.svelte-1ucvjn) .icon {font-size:var(--sui-font-size-large);}`},va([`keydown`])})))()}function ete(e,t){O(t,!0),G(e,rh);let n=q(t,`value`,15,0),r=q(t,`min`,3,0),i=q(t,`max`,3,100),a=q(t,`sliderLabel`,3,``),o=q(t,`values`,15,void 0),s=q(t,`sliderLabels`,3,void 0),c=q(t,`step`,3,1),l=q(t,`optionLabels`,19,()=>[]),u=q(t,`hidden`,3,!1),d=q(t,`disabled`,3,!1),f=q(t,`readonly`,3,!1),p=q(t,`invalid`,3,!1),m=Gs(t,$m),h=M(()=>Array.isArray(o())),g=N(void 0),_=N(0),v=N(Er([])),y=N(Er([])),b=N(0),x=N(0),S=Er([0,0]),C=N(!1),w=N(0),T=N(0),ee=e=>{let t=Math.min(z(_),Math.max(0,ku()?z(_)-e:e)),r=z(v).findLastIndex(e=>e<=t),i=z(v).findIndex(e=>t<=e),a;a=r===-1?i:i===-1||Math.abs(z(v)[r]-t)<Math.abs(z(v)[i]-t)?r:i,!(S[z(T)]===z(v)[a]||z(h)&&(z(T)===0&&S[1]<=z(v)[a]||z(T)===1&&S[0]>=z(v)[a]))&&(z(h)?(o(o()[z(T)]=z(y)[a],!0),o([...o()])):n(z(y)[a]))},te=(e,t=0)=>{let{key:a,ctrlKey:s,metaKey:c,shiftKey:l,altKey:u}=e,p=l||u||s||c;if(d()||f()||p)return;let m=z(h)?o()[t]:n(),g=-1,_=ku(),b=_?[`ArrowDown`,`ArrowRight`]:[`ArrowDown`,`ArrowLeft`],x=_?[`ArrowUp`,`ArrowLeft`]:[`ArrowUp`,`ArrowRight`];if(b.includes(a)&&(m>r()&&(g=z(y).indexOf(m)-1),e.preventDefault(),e.stopPropagation()),x.includes(a)&&(m<i()&&(g=z(y).indexOf(m)+1),e.preventDefault(),e.stopPropagation()),g>-1){if(z(h)&&(t===0&&S[1]<=z(v)[g]||t===1&&S[0]>=z(v)[g]))return;z(h)?(o(o()[t]=z(y)[g],!0),o([...o()])):n(z(y)[g])}},ne=e=>{let{screenX:t,pointerId:n}=e;if(d()||f()||!z(C)||n!==z(w))return;e.preventDefault(),e.stopPropagation();let r=t-z(x),i=z(b)+r;ee(i)},re=e=>{let{pointerId:t,target:n}=e;if(d()||f()||!z(C)||t!==z(w))return;e.stopPropagation();let r=n;if(r.matches(`.base-bar, .slider-bar`)){let t=z(g).getBoundingClientRect(),n=e.clientX-t.left;ee(n)}r.releasePointerCapture(t),P(C,!1),P(b,0),P(x,0),P(w,0),P(T,0),document.removeEventListener(`pointermove`,ne),document.removeEventListener(`pointerup`,re),document.removeEventListener(`pointercancel`,re)},ie=(e,t=0)=>{if(d()||f())return;e.preventDefault(),e.stopPropagation(),P(C,!0);let{clientX:n,screenX:r,pointerId:i,target:a}=e,o=a,s=z(g).getBoundingClientRect();P(b,n-s.left),P(x,r,!0),P(w,i,!0),P(T,t,!0),o.setPointerCapture(i),document.addEventListener(`pointermove`,ne),document.addEventListener(`pointerup`,re),document.addEventListener(`pointercancel`,re)},ae=()=>{if(z(h)){let[e,n]=o();S[0]=z(v)[z(y).indexOf(e)],S[1]=z(v)[z(y).indexOf(n)],t.onChange?.({values:o()})}else S[0]=z(v)[z(y).indexOf(n())],t.onChange?.({value:n()})},oe=()=>{if(!z(g))return;P(_,z(g).clientWidth,!0);let e=(i()-r())/c()+1,t=z(_)/(e-1),n=Array.from({length:e});P(y,n.map((e,t)=>t*c()+r(),10),!0),P(v,n.map((e,n)=>n*t),!0),ae()};tc(()=>{let e=new ResizeObserver(()=>oe()),t=globalThis.matchMedia(`(pointer: coarse)`);return e.observe(z(g)),t.addEventListener(`change`,oe),oe(),()=>{e.disconnect(),t.removeEventListener(`change`,oe)}}),Yr(()=>{n(),o(),ae()});var se=nh();ga(`click`,zr.body,()=>{P(C,!1)}),ms(se,()=>({...m,role:`none`,class:`sui slider ${t.class??``}`,hidden:u(),[_s]:{disabled:d(),readonly:f(),invalid:p()}}),void 0,void 0,void 0,`svelte-1sez1zb`);var ce=F(se),E=L(F(ce),2);let le;var ue=L(E,2);let de;var fe=L(ue,2),pe=e=>{var t=eh();let n;R(()=>{K(t,`tabindex`,d()?-1:0),K(t,`aria-label`,s()?.[1]),K(t,`aria-hidden`,u()),K(t,`aria-disabled`,d()),K(t,`aria-readonly`,f()),K(t,`aria-invalid`,p()),K(t,`aria-valuemin`,r()),K(t,`aria-valuemax`,i()),K(t,`aria-valuenow`,o()?.[1]),n=as(t,``,n,{"inset-inline-start":`${S[1]??``}px`})}),_a(`pointerdown`,t,e=>ie(e,1)),_a(`keydown`,t,e=>te(e,1)),H(e,t)};W(fe,e=>{z(h)&&e(pe)});var me=L(fe,2),he=e=>{var t=V();co(I(t),19,l,(e,t)=>`${t}-${e}`,(e,t,n)=>{var r=th();let i;var a=F(r,!0);D(r),R(()=>{i=as(r,``,i,{"inset-inline-start":`${z(_)/(l().length-1)*z(n)}px`}),U(a,z(t))}),H(e,r)}),H(e,t)};W(me,e=>{l().length&&e(he)}),D(ce),Rs(ce,e=>P(g,e),()=>z(g)),D(se),R(()=>{le=as(E,``,le,{"inset-inline-start":`${(z(h)?S[0]:0)??``}px`,width:`${(z(h)?S[1]-S[0]:S[0])??``}px`}),K(ue,`tabindex`,d()?-1:0),K(ue,`aria-label`,z(h)?s()?.[0]:a()),K(ue,`aria-hidden`,u()),K(ue,`aria-disabled`,d()),K(ue,`aria-readonly`,f()),K(ue,`aria-invalid`,p()),K(ue,`aria-valuemin`,r()),K(ue,`aria-valuemax`,i()),K(ue,`aria-valuenow`,z(h)?o()?.[0]:n()),de=as(ue,``,de,{"inset-inline-start":`${S[0]??``}px`})}),_a(`pointerdown`,ce,e=>ie(e)),_a(`pointerdown`,ue,e=>ie(e,0)),_a(`keydown`,ue,e=>te(e,0)),H(e,se),k()}var $m,eh,th,nh,rh;function ih(){return(ih=o((()=>{Y(),J(),Z(),ic(),$m=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`min`,`max`,`sliderLabel`,`values`,`sliderLabels`,`step`,`optionLabels`,`class`,`hidden`,`disabled`,`readonly`,`invalid`,`children`,`onChange`]),eh=B(`<div role="slider" class="svelte-1sez1zb"></div>`),th=B(`<span role="none" class="label svelte-1sez1zb"> </span>`),nh=B(`<div><div role="none" class="base svelte-1sez1zb"><div role="none" class="base-bar svelte-1sez1zb"></div> <div class="slider-bar svelte-1sez1zb"></div> <div role="slider" class="svelte-1sez1zb"></div> <!> <!></div></div>`),rh={hash:`svelte-1sez1zb`,code:`.slider.svelte-1sez1zb {position:relative;display:inline-block;margin:var(--sui-focus-ring-width);padding:4px 6px;touch-action:none;}.slider.svelte-1sez1zb:hover .base-bar:where(.svelte-1sez1zb) {background-color:var(--sui-hover-background-color);}.slider.svelte-1sez1zb:active .base-bar:where(.svelte-1sez1zb) {background-color:var(--sui-active-background-color);}.base.svelte-1sez1zb {position:relative;width:var(--sui-slider-base-width, 240px);height:calc(var(--sui-checkbox-height) / 2);cursor:pointer;}.base-bar.svelte-1sez1zb {border-width:1px;border-style:solid;border-color:var(--sui-control-border-color);border-radius:var(--sui-checkbox-height);background-color:var(--sui-slider-background-color, var(--sui-secondary-background-color));transition:all 200ms;width:100%;height:100%;}.slider-bar.svelte-1sez1zb {position:absolute;top:0;height:calc(var(--sui-checkbox-height) / 2);border-radius:var(--sui-checkbox-height);background-color:var(--sui-primary-accent-color-light);}.invalid.svelte-1sez1zb .slider-bar:where(.svelte-1sez1zb) {background-color:var(--sui-error-border-color);}[role=slider].svelte-1sez1zb {position:absolute;top:0;border:3px solid var(--sui-primary-accent-color-light);border-radius:var(--sui-checkbox-height);width:calc(var(--sui-checkbox-height) - 2px);height:calc(var(--sui-checkbox-height) - 2px);background-color:var(--sui-primary-accent-color-inverted);cursor:pointer;}[role=slider].svelte-1sez1zb:dir(ltr) {transform:translate(calc((var(--sui-checkbox-height) / 2 - 1px) * -1), calc((var(--sui-checkbox-height) / 4 - 1px) * -1));}[role=slider].svelte-1sez1zb:dir(rtl) {transform:translate(calc(var(--sui-checkbox-height) / 2 - 1px), calc((var(--sui-checkbox-height) / 4 - 1px) * -1));}.invalid.svelte-1sez1zb [role=slider]:where(.svelte-1sez1zb) {border-color:var(--sui-error-border-color);}.label.svelte-1sez1zb {position:absolute;top:calc(var(--sui-checkbox-height) / 2 + 8px);font-size:var(--sui-font-size-x-small);}.label.svelte-1sez1zb:dir(ltr) {transform:translateX(-50%);}.label.svelte-1sez1zb:dir(rtl) {transform:translateX(50%);}`},va([`pointerdown`,`keydown`])})))()}function ah(e,t){O(t,!0),G(e,ch);let n=q(t,`checked`,15),r=q(t,`label`,3,void 0),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`readonly`,3,!1),s=q(t,`required`,3,!1),c=q(t,`invalid`,3,!1),l=q(t,`ariaLabel`,3,void 0),u=Gs(t,oh);var d=sh(),f=()=>{!a()&&!o()&&(n(!n()),t.onChange?.(new CustomEvent(`Change`,{detail:{checked:n()}})))};ms(d,()=>({...u,role:`switch`,class:`sui switch ${t.class??``}`,type:`button`,hidden:i(),disabled:a()||void 0,"aria-checked":n(),"aria-hidden":i(),"aria-disabled":a(),"aria-readonly":o(),"aria-required":s(),"aria-invalid":c(),"aria-label":l(),onclick:f}),void 0,void 0,void 0,`svelte-52zfd1`);var p=L(F(d),2),m=e=>{var t=Aa();R(()=>U(t,r())),H(e,t)},h=e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)};W(p,e=>{r()?e(m):e(h,-1)}),D(d),H(e,d),k()}var oh,sh,ch;function lh(){return(lh=o((()=>{Y(),J(),oh=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`label`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`ariaLabel`,`children`,`onChange`]),sh=B(`<button><span role="none" class="svelte-52zfd1"></span> <!></button>`),ch={hash:`svelte-52zfd1`,code:`button.svelte-52zfd1 {display:inline-flex;align-items:center;gap:8px;margin:var(--sui-focus-ring-width);border-width:0;border-style:solid;border-color:transparent;padding:0;color:var(--sui-control-foreground-color);background-color:transparent;box-shadow:none;font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);font-weight:var(--sui-font-weight-normal, normal);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;}button[aria-invalid=true].svelte-52zfd1 span:where(.svelte-52zfd1) {background-color:var(--sui-error-border-color) !important;}button:hover[aria-checked=false].svelte-52zfd1 span:where(.svelte-52zfd1) {background-color:var(--sui-hover-background-color);}button:hover[aria-checked=true].svelte-52zfd1 span:where(.svelte-52zfd1) {background-color:var(--sui-primary-accent-color-light);}button:active[aria-checked=false].svelte-52zfd1 span:where(.svelte-52zfd1) {background-color:var(--sui-active-background-color);}button:active[aria-checked=true].svelte-52zfd1 span:where(.svelte-52zfd1) {background-color:var(--sui-primary-accent-color-dark);}button.svelte-52zfd1:focus-visible {outline:0;}button.svelte-52zfd1:focus-visible span:where(.svelte-52zfd1) {outline-color:var(--sui-focus-ring-color);}button[aria-checked=true].svelte-52zfd1 span:where(.svelte-52zfd1) {background-color:var(--sui-primary-accent-color);border-color:transparent;}button[aria-checked=true].svelte-52zfd1 span:where(.svelte-52zfd1)::before {--translateX: var(--sui-checkbox-height) * 2 - var(--sui-checkbox-height);border-color:var(--sui-primary-accent-color);background-color:var(--sui-primary-accent-color-inverted);}button[aria-checked=true].svelte-52zfd1 span:where(.svelte-52zfd1):dir(ltr)::before {transform:translateX(calc(var(--translateX)));}button[aria-checked=true].svelte-52zfd1 span:where(.svelte-52zfd1):dir(rtl)::before {transform:translateX(calc((var(--translateX)) * -1));}span.svelte-52zfd1 {position:relative;width:calc(var(--sui-checkbox-height) * 2);height:var(--sui-checkbox-height);padding:0 2px;display:inline-flex;align-items:center;border-width:1.5px;border-style:solid;border-color:var(--sui-checkbox-border-color);border-radius:var(--sui-checkbox-height);background-color:var(--sui-control-background-color);transition:all 200ms;}span.svelte-52zfd1::before {display:inline-block;width:calc(var(--sui-checkbox-height) - 6px);height:calc(var(--sui-checkbox-height) - 6px);border-radius:var(--sui-checkbox-height);background-color:var(--sui-checkbox-border-color);transition:all 200ms;content:"";}`}})))()}function uh(e,t){G(e,ph);let n=Gs(t,dh);var r=fh();ms(r,()=>({...n,role:`cell`,class:`sui table-cell ${t.class??``}`}),void 0,void 0,void 0,`svelte-1ik2h0e`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var dh,fh,ph;function mh(){return(mh=o((()=>{Y(),J(),dh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),fh=B(`<div><!></div>`),ph={hash:`svelte-1ik2h0e`,code:`.table-cell.svelte-1ik2h0e {display:table-cell;}`}})))()}function tte(e,t){G(e,_h);let n=Gs(t,hh);var r=gh();ms(r,()=>({...n,role:`row`,class:`sui table-row ${t.class??``}`}),void 0,void 0,void 0,`svelte-1acs1py`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var hh,gh,_h;function vh(){return(vh=o((()=>{Y(),J(),hh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),gh=B(`<div><!></div>`),_h={hash:`svelte-1acs1py`,code:`.table-row.svelte-1acs1py {display:table-row;height:var(--sui-primary-row-height);}`}})))()}function nte(e,t){G(e,xh);let n=q(t,`ariaLabel`,3,void 0),r=Gs(t,yh);var i=bh();ms(i,()=>({...r,role:`table`,class:`sui table ${t.class??``}`,"aria-label":n()}),void 0,void 0,void 0,`svelte-biyg5f`),bo(F(i),()=>t.children??E),D(i),H(e,i)}var yh,bh,xh;function Sh(){return(Sh=o((()=>{Y(),J(),yh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`ariaLabel`,`children`]),bh=B(`<div><!></div>`),xh={hash:`svelte-biyg5f`,code:`.table.svelte-biyg5f {display:table;margin:var(--sui-focus-ring-width);width:calc(100% - var(--sui-focus-ring-width) * 2);}.table.data.svelte-biyg5f {border-collapse:collapse;}.table.data.svelte-biyg5f :is(.table-col-header, .table-row-header, .table-cell) {border:1px solid var(--sui-secondary-border-color);padding:8px 8px;}`}})))()}function rte(e,t){O(t,!0),G(e,Th);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`orientation`,3,`horizontal`),a=q(t,`name`,3,void 0),o=q(t,`ariaLabel`,3,void 0),s=Gs(t,Ch),c=N(void 0),l=N(void 0),u=()=>{globalThis.requestAnimationFrame(()=>{let e=z(c)?.querySelector(`[role="tab"][aria-selected="true"]`);if(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;P(l,Object.entries({top:t,left:n,width:r,height:i}).map(([e,t])=>`${e}: ${t}px`).join(`; `),!0)}else P(l,void 0)})};tc(()=>{let e=new ResizeObserver(()=>{u()});return e.observe(z(c)),()=>{e.disconnect()}});var d=wh(),f=()=>{u()},p=e=>{u(),t.onChange?.(e)};ms(d,()=>({...s,role:`tablist`,class:`sui tab-list ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-orientation":i(),"aria-label":o(),"data-name":a()||void 0,onInitialized:f,onChange:p}),void 0,void 0,void 0,`svelte-9sjo1b`);var m=F(d);bo(F(m),()=>t.children??E),D(m);var h=L(m,2);D(d),Rs(d,e=>P(c,e),()=>z(c)),Wo(d,Sf),R(()=>{m.inert=r(),as(h,z(l))}),H(e,d),k()}var Ch,wh,Th;function Eh(){return(Eh=o((()=>{Y(),J(),ic(),Cf(),Ch=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`orientation`,`name`,`ariaLabel`,`children`,`onChange`]),wh=B(`<div><div role="none" class="inner svelte-9sjo1b"><!></div> <div role="none" class="indicator svelte-9sjo1b"></div></div>`),Th={hash:`svelte-9sjo1b`,code:`.tab-list.svelte-9sjo1b {flex:none;position:relative;display:flex;align-items:center;margin:var(--sui-tab-list-margin, var(--sui-focus-ring-width));border-color:var(--sui-tab-list-border-color, var(--sui-control-border-color));border-radius:var(--sui-tab-list-border-radius, 0);background-color:var(--sui-tab-list-background-color, transparent);}.tab-list[aria-orientation=horizontal].svelte-9sjo1b {gap:var(--sui-horizontal-tab-list-gap, var(--sui-tab-list-gap, 8px));margin-block:var(--sui-horizontal-tab-list-margin-block, 0 32px);margin-inline:var(--sui-horizontal-tab-list-margin-inline, 0);border-block-width:var(--sui-horizontal-tab-list-border-block-width, 0 1px);border-inline-width:var(--sui-horizontal-tab-list-border-inline-width, 0 0);padding:var(--sui-horizontal-tab-list-padding, var(--sui-tab-list-padding, 0 16px));}.tab-list[aria-orientation=horizontal].svelte-9sjo1b button {width:var(--sui-horizontal-tab-width, var(--sui-tab-width, auto));height:var(--sui-horizontal-tab-height, var(--sui-tab-height, 100%));justify-content:var(--sui-horizontal-tab-justify-content, center);}.tab-list[aria-orientation=horizontal].svelte-9sjo1b .indicator:where(.svelte-9sjo1b) {border-block-width:var(--sui-horizontal-tab-list-indicator-border-block-width, 0 2px);border-inline-width:var(--sui-horizontal-tab-list-indicator-border-inline-width, 0 0);}.tab-list[aria-orientation=vertical].svelte-9sjo1b {gap:var(--sui-vertical-tab-list-gap, var(--sui-tab-list-gap, 8px));flex-direction:column;margin-block:var(--sui-vertical-tab-list-margin-block, 0);margin-inline:var(--sui-vertical-tab-list-margin-inline, 0 32px);border-block-width:var(--sui-vertical-tab-list-border-block-width, 0 0);border-inline-width:var(--sui-vertical-tab-list-border-inline-width, 0 1px);padding:var(--sui-vertical-tab-list-padding, var(--sui-tab-list-padding, 8px 0));width:var(--sui-vertical-tab-list-width, auto);}.tab-list[aria-orientation=vertical].svelte-9sjo1b button {justify-content:var(--sui-vertical-tab-justify-content, flex-start);padding-inline-end:32px;width:var(--sui-vertical-tab-width, var(--sui-tab-width, 100%));height:var(--sui-vertical-tab-height, var(--sui-tab-height, auto));}.tab-list[aria-orientation=vertical].svelte-9sjo1b .indicator:where(.svelte-9sjo1b) {border-block-width:var(--sui-vertical-tab-list-indicator-border-block-width, 0 0);border-inline-width:var(--sui-vertical-tab-list-indicator-border-inline-width, 0 2px);}.tab-list.svelte-9sjo1b button {position:relative;z-index:1;border-color:transparent;margin:0 !important;border-radius:var(--sui-tab-border-radius, 0);font-family:var(--sui-tab-font-family, var(--sui-control-font-family, inherit));font-size:var(--sui-tab-font-size, var(--sui-control-font-size, inherit));font-weight:var(--sui-tab-font-weight, var(--sui-control-font-weight, var(--sui-font-weight-normal, normal)));}.inner.svelte-9sjo1b {display:contents;}.indicator.svelte-9sjo1b {position:absolute;z-index:0;inset:auto;border-radius:var(--sui-tab-list-indicator-border-radius, 0);border-color:var(--sui-tab-list-indicator-border-color, var(--sui-primary-accent-color-light));background-color:var(--sui-tab-list-indicator-background-color, transparent);box-shadow:var(--sui-tab-list-indicator-box-shadow, none);pointer-events:none;transition:var(--sui-tab-list-indicator-transition, all 200ms);}`}})))()}function ite(e,t){G(e,ote);let n=Gs(t,Dh);var r=ate();ms(r,()=>({...n,role:`tabpanel`,class:`sui tab-panel ${t.class??``}`}),void 0,void 0,void 0,`svelte-1lz9urp`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var Dh,ate,ote;function ste(){return(ste=o((()=>{Y(),J(),Dh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),ate=B(`<div><!></div>`),ote={hash:`svelte-1lz9urp`,code:`.tab-panel.svelte-1lz9urp {flex:auto;transition:all 200ms;}.tab-panel[aria-hidden=true].svelte-1lz9urp, .tab-panel.svelte-1lz9urp:not([aria-hidden]) {display:none;}`}})))()}function cte(e,t){let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`selected`,3,!1),a=Gs(t,lte);Id(e,Ks(()=>a,{role:`tab`,get class(){return`sui tab ${t.class??``}`},get hidden(){return n()},get disabled(){return r()},get"aria-selected"(){return i()},startIcon:e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},children:e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},endIcon:e=>{var n=V();bo(I(n),()=>t.endIcon??E),H(e,n)},$$slots:{startIcon:!0,default:!0,endIcon:!0}}))}var lte;function ute(){return(ute=o((()=>{Y(),J(),Hd(),lte=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`selected`,`children`,`startIcon`,`endIcon`])})))()}function Oh(e,t){O(t,!0),G(e,pte);let n=q(t,`show`,15,!1),r=q(t,`id`,3,void 0),i=q(t,`duration`,3,5e3),a=q(t,`position`,7,`auto`),o=Gs(t,dte),s=N(void 0),c=N(void 0),l=N(void 0),u=N(0);tc(()=>(P(c,document.querySelector(`.sui.toast-base.enabled`)??void 0,!0),z(c)?z(s)?.remove():(P(c,z(s),!0),z(c)&&(z(c).classList.add(`enabled`),(document.querySelector(`.sui.app-shell`)??document.body).appendChild(z(c)),z(c).showPopover&&(z(c).popover=`manual`,z(c).showPopover()))),()=>{z(l)?.remove()})),tc(()=>{if(a()!==`auto`)return;let e=globalThis.matchMedia(`(width < 1024px)`),t=()=>{a(e.matches?`bottom-center`:`bottom-right`)};return t(),e.addEventListener(`change`,t),()=>{e.removeEventListener(`change`,t)}}),Yr(()=>{z(c)&&z(l)&&z(c).appendChild(z(l))}),Yr(()=>{r(),n(),i(),Li(()=>{globalThis.clearTimeout(z(u))}),n()&&i()&&P(u,globalThis.setTimeout(()=>{n(!1)},i()),!0)});var d=fte(),f=I(d);Rs(f,e=>P(s,e),()=>z(s));var p=L(f,2);ms(p,()=>({...o,class:`sui toast ${a()??``}`,"aria-hidden":!n()}),void 0,void 0,void 0,`svelte-wzohsv`),bo(F(p),()=>t.children??E),D(p),Rs(p,e=>P(l,e),()=>z(l)),H(e,d),k()}var dte,fte,pte;function kh(){return(kh=o((()=>{Y(),J(),ic(),dte=new Set([`$$slots`,`$$events`,`$$legacy`,`show`,`id`,`duration`,`position`,`children`]),fte=B(`<div role="none" class="sui toast-base svelte-wzohsv"></div> <div><!></div>`,1),pte={hash:`svelte-wzohsv`,code:`.toast-base.svelte-wzohsv {position:fixed;inset:16px;z-index:99999;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:8px;margin:0;border:0;padding:0;width:auto;height:auto;background-color:transparent;font-family:var(--sui-font-family-default);font-size:var(--sui-font-size-default);font-weight:var(--sui-font-weight-normal, normal);text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;}body:has(.sui.bottom-navigation:not([inert]:not([hidden]))) .toast-base {bottom:calc(var(--sui-bottom-navigation-height) + 16px);}.toast.svelte-wzohsv {position:absolute;width:max-content;max-width:80dvw;box-shadow:0 8px 16px var(--sui-popup-shadow-color);opacity:1;transition-duration:250ms;will-change:opacity;}.toast[aria-hidden=true].svelte-wzohsv {display:block;opacity:0;}.toast.top-left.svelte-wzohsv {inset-block-start:0;inset-block-end:auto;inset-inline-start:0;inset-inline-end:auto;}.toast.top-center.svelte-wzohsv {inset-block-start:0;inset-block-end:auto;inset-inline-start:50%;inset-inline-end:auto;}.toast.top-center.svelte-wzohsv:dir(ltr) {transform:translateX(-50%);}.toast.top-center.svelte-wzohsv:dir(rtl) {transform:translateX(50%);}.toast.top-right.svelte-wzohsv {inset-block-start:0;inset-block-end:auto;inset-inline-start:auto;inset-inline-end:0;}.toast.bottom-left.svelte-wzohsv {inset-block-start:auto;inset-block-end:0;inset-inline-start:0;inset-inline-end:auto;}.toast.bottom-center.svelte-wzohsv {inset-block-start:auto;inset-block-end:0;inset-inline-start:50%;inset-inline-end:auto;}.toast.bottom-center.svelte-wzohsv:dir(ltr) {transform:translateX(-50%);}.toast.bottom-center.svelte-wzohsv:dir(rtl) {transform:translateX(50%);}.toast.bottom-right.svelte-wzohsv {inset-block-start:auto;inset-block-end:0;inset-inline-start:auto;inset-inline-end:0;}`}})))()}var Ah=s(((e,t)=>{
|
|
18
|
+
\r\f\xA0\v`]})))()}function ns(e,t,n,r,i,a){var o=e[je];if(gt||o!==n||o===void 0){var s=Xo(n,r,a);(!gt||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[je]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function rs(){return(rs=o((()=>{ts(),Le(),vt()})))()}function is(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function as(e,t,n,r){var i=e[Me];if(gt||i!==t){var a=$o(t,r);(!gt||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[Me]=t}else r&&(Array.isArray(r)?(is(e,n?.[0],r[0]),is(e,n?.[1],r[1],`important`)):is(e,n,r));return r}function os(){return(os=o((()=>{ts(),Le(),vt()})))()}function ss(e,t,n=!1){if(e.multiple){if(t==null)return;if(!w(t))return st();for(var r of e.options)r.selected=t.includes(ls(r));return}for(r of e.options)if(ree(ls(r),t)){r.selected=!0;return}(!n||t!==void 0)&&(e.selectedIndex=-1)}function cs(e){var t=new MutationObserver(()=>{`__value`in e&&ss(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),Jr(()=>{t.disconnect()})}function ls(e){return`__value`in e?e.__value:e.value}function us(){return(us=o((()=>{vi(),Dn(),Or(),le(),lt(),gr()})))()}function ds(e){if(gt){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;K(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;K(e,`checked`,null),e.checked=r}}};e[Pe]=n,Ht(n),Sn()}}function fs(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function K(e,t,n,r){var i=hs(e);gt&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===xs)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ke]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&gs(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ps(e,t,n,r,i=!1,a=!1){if(gt&&i&&e.nodeName===Ss){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||ds(o)}var s=hs(e),c=s[ys],l=!s[bs];let u=gt&&c;u&&ut(!1);var d=t||{},f=e.nodeName===Cs;for(var p in t)p in n||(n[p]=null);n.class?n.class=Yo(n.class):(r||n[_s])&&(n.class=null),n[vs]&&(n.style??=null);var m=gs(e);if(e.nodeName===Ss&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==d.type||h===void 0&&e.hasAttribute(`type`))&&(d.type=h,K(e,`type`,h,a))}for(let i in n){let o=n[i];if(f&&i===`value`&&o==null){e.value=e.__value=``,d[i]=o;continue}if(i===`class`){ns(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[_s],n[_s]),d[i]=o,d[_s]=n[_s];continue}if(i===`style`){as(e,o,t?.[vs],n[vs]),d[i]=o,d[vs]=n[vs];continue}var g=d[i];if(!(o===g&&!(o===void 0&&e.hasAttribute(i)))){d[i]=o;var _=i[0]+i[1];if(_!==`$$`){if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=$i(r);if(Qi(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(o!=null)continue;e.removeEventListener(r,d[n],t),d[n]=null}if(v)_a(r,e,o),va([r]);else if(o!=null){function a(e){d[i].call(this,e)}d[n]=ma(r,e,a,t)}}else if(i===`style`)K(e,i,o);else if(i===`autofocus`)bn(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&f)fs(e,o);else{var y=i;l||(y=ea(y));var b=y===`defaultValue`||y===`defaultChecked`;if(o==null&&!c&&!b){if(s[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i)}else b||m.includes(y)&&(c||typeof o!=`string`)?(e[y]=o,y in s&&(s[y]=et)):typeof o!=`function`&&K(e,y,o,a)}}}}return u&&ut(!0),d}function ms(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Pn(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===ws,l=!1;if(ai(()=>{var u=t(...n.map(z)),d=ps(e,r,u,a,o,s);l&&c&&`value`in u&&ss(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||ui(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&ui(i[t]),i[t]=oi(()=>Wo(e,()=>f))),d[t]=f}r=d}),c){var u=e;ei(()=>{ss(u,r.value,!0),cs(u)})}l=!0})}function hs(e){return e[Ae]??={[ys]:e.nodeName.includes(`-`),[bs]:e.namespaceURI===tt}}function gs(e){var t=e.getAttribute(`is`)||e.nodeName,n=Ts.get(t);if(n)return n;Ts.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=ie(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.push(o);i=se(i)}return n}var _s,vs,ys,bs,xs,Ss,Cs,ws,Ts;function Es(){return(Es=o((()=>{vt(),le(),wa(),wn(),lt(),Le(),Gt(),la(),Xi(),Go(),ts(),rs(),os(),it(),vi(),us(),Rn(),_s=Symbol(`class`),vs=Symbol(`style`),ys=Symbol(`is custom element`),bs=Symbol(`is html`),xs=Ie?`link`:`LINK`,Ss=Ie?`input`:`INPUT`,Cs=Ie?`option`:`OPTION`,ws=Ie?`select`:`SELECT`,Ts=new Map})))()}function Ds(){return(Ds=o((()=>{vt(),Ur(),Oa(),Go()})))()}function Os(){return(Os=o((()=>{Dn()})))()}function ks(e,t,n=t){var r=new WeakSet;En(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=As(e)?js(a):a,n(a),ir!==null&&r.add(ir),await Pi(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(gt&&e.defaultValue!==e.value||Li(t)==null&&e.value)&&(n(As(e)?js(e.value):e.value),ir!==null&&r.add(ir)),ni(()=>{var n=t();if(e===document.activeElement){var i=St?ar:ir;if(r.has(i))return}As(e)&&n===js(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function As(e){var t=e.type;return t===`number`||t===`range`}function js(e){return e===``?null:+e}function Ms(){return(Ms=o((()=>{vi(),Dn(),Qe(),Or(),Gt(),vt(),Xi(),gr(),wt()})))()}function Ns(){return(Ns=o((()=>{vi(),Dn()})))()}function Ps(){return(Ps=o((()=>{Dn()})))()}function Fs(){return(Fs=o((()=>{vi(),le()})))()}function Is(){return(Is=o((()=>{vi(),Xi()})))()}function Ls(e,t){return e===t||e?.[De]===t}function Rs(e={},t,n,r){var i=zt.r,a=Hi;return ei(()=>{var o,s;return ni(()=>{o=s,s=r?.()||[],Li(()=>{Ls(n(...s),e)||(t(e,...s),o&&Ls(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&Ls(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function zs(){return(zs=o((()=>{Le(),Bt(),vi(),Xi()})))()}function Bs(){return(Bs=o((()=>{vi(),Dn()})))()}function Vs(){return(Vs=o((()=>{vi(),Dn()})))()}function Hs(){return(Hs=o((()=>{le(),vi(),wa()})))()}function Us(){return(Us=o((()=>{le(),Bt(),qn(),vi(),Xi()})))()}function Ws(){return(Ws=o((()=>{Tr(),Xi(),le()})))()}function Gs(e,t,n){return new Proxy({props:e,exclude:t},qs)}function Ks(...e){return new Proxy({props:e},Js)}function q(e,t,n,r){var i=!Ct||!!(n&2),a=!!(n&8),o=!!(n&16),s=r,c=!0,l=void 0,u=()=>o&&i?(l??=zn(r),z(l)):(c&&(c=!1,s=o?Li(r):r),s);let d;if(a){var f=De in e||Oe in e;d=re(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=mn(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=u(),d&&(i&&Ke(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?u():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?zn:Vn)(()=>(_=!1,h()));a&&z(v);var y=Hi;return(function(e,t){if(arguments.length>0){let n=t?z(v):i&&a?Er(e):e;return P(v,n),_=!0,s!==void 0&&(s=n),e}return zi&&_||y.f&16384?v.v:z(v)})}var qs,Js;function Ys(){return(Ys=o((()=>{it(),le(),Tr(),qn(),Xi(),Qe(),Le(),Or(),vn(),wt(),vi(),qs={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}},Js={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(v(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];v(i)&&(i=i());let a=re(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(v(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=re(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===De||t===Oe)return!1;for(let n of e.props)if(v(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(v(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}}})))()}function Xs(){return(Xs=o((()=>{Bt(),vi(),vn(),Rn()})))()}function Zs(){return(Zs=o((()=>{Le(),vi(),Tr(),Ba(),Xi(),gr(),le(),Bt(),wt(),Qt(),Hs()})))()}function Qs(){return(Qs=o((()=>{Zs(),vi(),Ma(),le(),Ur()})))()}function $s(){return($s=o((()=>{Le(),kt(),Xi()})))()}function J(){return(J=o((()=>{Zi(),Bt(),ua(),fa(),Va(),Ha(),Ua(),At(),Wa(),Ga(),Qa(),$a(),no(),io(),ho(),_o(),vo(),xo(),Co(),zo(),Vo(),Ho(),Uo(),Go(),Es(),rs(),wa(),wn(),Ds(),os(),Lo(),Os(),Ms(),Ns(),Ps(),Fs(),us(),Is(),zs(),Bs(),Vs(),vt(),Hs(),Us(),Ws(),Ma(),Rn(),gr(),qn(),vi(),Tr(),Ys(),vn(),Nn(),bi(),Ba(),Xi(),Xs(),Eo(),Or(),Qs(),Ur(),ts(),kt(),le(),yo(),kr(),$s()})))()}function ec(){return(ec=o((()=>{vt()})))()}function tc(e){zt===null&&Re(`onMount`),Ct&&zt.l!==null?rc(zt).m.push(e):Yr(()=>{let t=Li(e);if(typeof t==`function`)return t})}function nc(e){zt===null&&Re(`onDestroy`),tc(()=>()=>Li(e))}function rc(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}function ic(){return(ic=o((()=>{Xi(),le(),J(),Qe(),wt(),Bt(),gr(),ec(),Ba(),xo()})))()}function Y(){return(Y=o((()=>{typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`)})))()}function ac(e,t){G(e,cc);let n=Gs(t,oc);var r=sc();ms(r,()=>({...n,class:`sui icon material-symbols-outlined ${t.class??``}`,"aria-hidden":!(`aria-label`in n)}),void 0,void 0,void 0,`svelte-926lmf`);var i=F(r,!0);D(r),R(()=>U(i,t.name)),H(e,r)}var oc,sc,cc;function lc(){return(lc=o((()=>{Y(),J(),oc=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`name`]),sc=B(`<span> </span>`),cc={hash:`svelte-926lmf`,code:`.icon.small-arrow.svelte-926lmf {overflow:hidden;width:12px;text-indent:-6px;}`}})))()}function uc(e,t){G(e,pc);let n=q(t,`ariaLive`,3,`assertive`),r=Gs(t,dc);var i=fc();ms(i,()=>({...r,role:`alert`,class:`sui alert ${t.status??``}`,"aria-live":n()}),void 0,void 0,void 0,`svelte-147fkdz`);var a=F(i),o=e=>{var n=V();bo(I(n),()=>t.icon),H(e,n)},s=e=>{{let n=M(()=>t.status===`success`?`check_circle`:t.status);ac(e,{get name(){return z(n)}})}};W(a,e=>{t.icon?e(o):e(s,-1)}),bo(L(a,2),()=>t.children??E),D(i),H(e,i)}var dc,fc,pc;function mc(){return(mc=o((()=>{Y(),J(),lc(),dc=new Set([`$$slots`,`$$events`,`$$legacy`,`status`,`ariaLive`,`children`,`icon`]),fc=B(`<div><!> <!></div>`),pc={hash:`svelte-147fkdz`,code:`.alert.svelte-147fkdz {display:flex;align-items:center;gap:var(--gap, 8px);padding:var(--padding, 8px);border-width:var(--border-width, var(--sui-control-medium-border-width));border-style:var(--border-style, solid);border-radius:var(--border-radius, var(--sui-control-medium-border-radius));font-size:var(--font-size, var(--sui-font-size-default));}.alert.error.svelte-147fkdz {border-color:var(--sui-error-border-color);color:var(--sui-error-foreground-color);background-color:var(--sui-error-background-color);}.alert.warning.svelte-147fkdz {border-color:var(--sui-warning-border-color);color:var(--sui-warning-foreground-color);background-color:var(--sui-warning-background-color);}.alert.info.svelte-147fkdz {border-color:var(--sui-info-border-color);color:var(--sui-info-foreground-color);background-color:var(--sui-info-background-color);}.alert.success.svelte-147fkdz {border-color:var(--sui-success-border-color);color:var(--sui-success-foreground-color);background-color:var(--sui-success-background-color);}`}})))()}function hc(e,t){let n=t,r=e.slice(n).match(gc);r&&(n+=r[0].length);let i=e.slice(n).match(_c);if(!i)return null;let a=i[0];if(vc.test(a))return null;n+=a.length;let o=e.slice(n).match(gc);return o&&(n+=o[0].length),{value:a.normalize(),end:n}}var gc,_c,vc,yc;function bc(){return(bc=o((()=>{gc=/^[\u061c\u200e\u200f\u2066-\u2069]+/,_c=/^[-.+0-9A-Z_a-z\u{a1}-\u{61b}\u{61d}-\u{167f}\u{1681}-\u{1fff}\u{200b}-\u{200d}\u{2010}-\u{2027}\u{2030}-\u{205e}\u{2060}-\u{2065}\u{206a}-\u{2fff}\u{3001}-\u{d7ff}\u{e000}-\u{fdcf}\u{fdf0}-\u{fffd}\u{10000}-\u{1fffd}\u{20000}-\u{2fffd}\u{30000}-\u{3fffd}\u{40000}-\u{4fffd}\u{50000}-\u{5fffd}\u{60000}-\u{6fffd}\u{70000}-\u{7fffd}\u{80000}-\u{8fffd}\u{90000}-\u{9fffd}\u{a0000}-\u{afffd}\u{b0000}-\u{bfffd}\u{c0000}-\u{cfffd}\u{d0000}-\u{dfffd}\u{e0000}-\u{efffd}\u{f0000}-\u{ffffd}\u{100000}-\u{10fffd}]+/u,vc=/^[-.0-9]/,yc=(e,t)=>e.slice(t).match(_c)?.[0]??``})))()}var xc;function Sc(){return(Sc=o((()=>{xc=Symbol.for(`CST`)})))()}var Cc,wc,Tc,Ec,Dc;function Oc(){return(Oc=o((()=>{Sc(),Cc=class extends Error{type;constructor(e,t){super(t),this.type=e}},wc=class extends Cc{start;end;constructor(e,t,n,r){let i=r?`Missing ${r}`:e;t>=0&&(i+=` at ${t}`),super(e,i),this.start=t,this.end=n??t+1}},Tc=class extends wc{constructor(e,t){let{start:n,end:r}=t[xc]??{start:-1,end:-1};super(e,n,r)}},Ec=class extends Cc{source;cause;constructor(e,t,n,r){super(e,t),this.source=n,r!==void 0&&(this.cause=r)}},Dc=class extends Cc{source;cause;constructor(e,t){super(e,t),this.source=`�`}}})))()}function kc(e,t){if(Zc.startsWith(e,Xc))t&&(Xc+=e.length);else throw Qc(Xc,e)}function Ac(e){Xc=0,Zc=e;let t=Pc();if(Zc.startsWith(`.match`,Xc))return jc(t);let n=t.length>0||Zc.startsWith(`{{`,Xc);!n&&Xc>0&&(Xc=0);let r=Nc(n);if(n&&(qc(),Xc<Zc.length))throw $c(`extra-content`,Xc,Zc.length);return{type:`message`,declarations:t,pattern:r}}function jc(e){Xc+=6,qc(!0);let t=[];for(;Zc[Xc]===`$`;)t.push(Hc()),qc(!0);if(t.length===0)throw $c(`empty-token`,Xc);let n=[];for(;Xc<Zc.length;)n.push(Mc()),qc();return{type:`select`,declarations:e,selectors:t,variants:n}}function Mc(){let e=[];for(;Xc<Zc.length;){qc(e.length?`{`:!1);let t=Zc[Xc];if(t===`{`)break;if(t===`*`)e.push({type:`*`}),Xc+=1;else{let t=Uc(!0);t.value=t.value.normalize(),e.push(t)}}return{keys:e,value:Nc(!0)}}function Nc(e){if(e){if(Zc.startsWith(`{{`,Xc))Xc+=2;else throw Qc(Xc,`{{`)}let t=[];loop:for(;Xc<Zc.length;)switch(Zc[Xc]){case`{`:t.push(Lc(!0));break;case`}`:if(!e)throw $c(`parse-error`,Xc);break loop;default:t.push(Bc())}if(e){if(Zc.startsWith(`}}`,Xc))Xc+=2;else throw Qc(Xc,`}}`)}return t}function Pc(){let e=[];qc();loop:for(;Zc[Xc]===`.`;){switch(Zc.substr(Xc,6)){case`.input`:e.push(Fc());break;case`.local`:e.push(Ic());break;case`.match`:break loop;default:throw $c(`parse-error`,Xc)}qc()}return e}function Fc(){Xc+=6,qc(),kc(`{`,!1);let e=Xc,t=Lc(!1);if(t.type===`expression`&&t.arg?.type===`variable`)return{type:`input`,name:t.arg.name,value:t};throw $c(`bad-input-expression`,e,Xc)}function Ic(){Xc+=6,qc(!0),kc(`$`,!0);let e=Kc();return qc(),kc(`=`,!0),qc(),kc(`{`,!1),{type:`local`,name:e,value:Lc(!1)}}function Lc(e){let t=Xc;Xc+=1,qc();let n=Vc(!1);n&&qc(`}`);let r=Zc[Xc],i,a;switch(r){case`@`:case`}`:break;case`:`:{Xc+=1,i={type:`function`,name:Gc()};let e=Rc();e&&(i.options=e);break}case`#`:case`/`:{if(n||!e)throw $c(`parse-error`,Xc);Xc+=1,a={type:`markup`,kind:r===`#`?`open`:`close`,name:Gc()};let t=Rc();t&&(a.options=t);break}default:throw $c(`parse-error`,Xc)}let o=zc();if(a?.kind===`open`&&Zc[Xc]===`/`&&(a.kind=`standalone`,Xc+=1),kc(`}`,!0),i){let e=n?{type:`expression`,arg:n,functionRef:i}:{type:`expression`,functionRef:i};return o&&(e.attributes=o),e}if(a)return o&&(a.attributes=o),a;if(!n)throw $c(`empty-token`,t,Xc);return o?{type:`expression`,arg:n,attributes:o}:{type:`expression`,arg:n}}function Rc(){qc(`/}`);let e={},t=!0;for(;Xc<Zc.length;){let n=Zc[Xc];if(n===`@`||n===`/`||n===`}`)break;let r=Xc,i=Gc();if(Object.hasOwn(e,i))throw $c(`duplicate-option-name`,r,Xc);qc(),kc(`=`,!0),qc(),e[i]=Vc(!0),t=!1,qc(`/}`)}return t?null:e}function zc(){let e={},t=!0;for(;Zc[Xc]===`@`;){let n=Xc;Xc+=1;let r=Gc();if(Object.hasOwn(e,r))throw $c(`duplicate-attribute`,n,Xc);qc(`=/}`),Zc[Xc]===`=`?(Xc+=1,qc(),e[r]=Uc(!0),qc(`/}`)):e[r]=!0,t=!1}return t?null:e}function Bc(){let e=``,t=Xc;loop:for(;t<Zc.length;++t)switch(Zc[t]){case`\\`:{let n=Zc[t+1];if(!`\\{|}`.includes(n))throw $c(`bad-escape`,t,t+2);e+=Zc.substring(Xc,t)+n,t+=1,Xc=t+1;break}case`{`:case`}`:break loop}return e+=Zc.substring(Xc,t),Xc=t,e}function Vc(e){return Zc[Xc]===`$`?Hc():Uc(e)}function Hc(){return Xc+=1,{type:`variable`,name:Kc()}}function Uc(e){if(Zc[Xc]===`|`)return Wc();let t=yc(Zc,Xc);if(!t){if(e)throw $c(`empty-token`,Xc);return}return Xc+=t.length,{type:`literal`,value:t}}function Wc(){Xc+=1;let e=``;for(let t=Xc;t<Zc.length;++t)switch(Zc[t]){case`\\`:{let n=Zc[t+1];if(!`\\{|}`.includes(n))throw $c(`bad-escape`,t,t+2);e+=Zc.substring(Xc,t)+n,t+=1,Xc=t+1;break}case`|`:return e+=Zc.substring(Xc,t),Xc=t+1,{type:`literal`,value:e}}throw Qc(Zc.length,`|`)}function Gc(){let e=Kc();return Zc[Xc]===`:`?(Xc+=1,e+`:`+Kc()):e}function Kc(){let e=hc(Zc,Xc);if(!e)throw $c(`empty-token`,Xc);return Xc=e.end,e.value}function qc(e=!1){let t=Zc[Xc],n=!1;if(e){for(;Jc.has(t);)t=Zc[++Xc];for(;Yc.has(t);)t=Zc[++Xc],n=!0}for(;Jc.has(t)||Yc.has(t);)t=Zc[++Xc];if(e&&!n&&(e===!0||!e.includes(Zc[Xc])))throw Qc(Xc,`' '`)}var Jc,Yc,Xc,Zc,Qc,$c;function el(){return(el=o((()=>{bc(),Oc(),Jc=new Set(``),Yc=new Set(`
|
|
19
|
+
\r `),Qc=(e,t)=>new wc(`missing-syntax`,e,e+t.length,t),$c=(...e)=>new wc(...e)})))()}function tl(e,t){let{node:n,pattern:r}=t,{functionRef:i=n,attributes:a=null,declaration:o=n,expression:s=n,key:c=n,markup:l=n,options:u=null,value:d=n,variant:f=n}=t,p=(e,t)=>{if(e){let n=u?.(e,t);if(d)for(let n of Object.values(e))d(n,t,`option`);n?.()}},m=(e,t)=>{if(e){let n=a?.(e,t);if(d)for(let n of Object.values(e))n!==!0&&d(n,t,`attribute`);n?.()}},h=(e,t)=>{if(typeof e==`object`){let n;switch(e.type){case`expression`:if(n=s?.(e,t),e.arg&&d?.(e.arg,t,`arg`),e.functionRef){let n=i?.(e.functionRef,t,e.arg);p(e.functionRef.options,t),n?.()}m(e.attributes,t);break;case`markup`:n=l?.(e,t),p(e.options,t),m(e.attributes,t)}n?.()}},g=e=>{let t=r?.(e);for(let t of e)h(t,`placeholder`);t?.()};for(let t of e.declarations){let e=o?.(t);t.value&&h(t.value,`declaration`),e?.()}if(e.type===`message`)g(e.pattern);else{if(d)for(let t of e.selectors)d(t,`selector`,`arg`);for(let t of e.variants){let e=f?.(t);c&&t.keys.forEach(c),g(t.value),e?.()}}}function nl(e,t=(e,t)=>{throw new Tc(e,t)}){let n=0,r=null,i=new Set,a=new Set,o=new Set,s=new Set,c=new Set,l=new Set,u=!0;tl(e,{declaration(e){if(e.name)return(e.value.functionRef||e.type===`local`&&e.value.arg?.type===`variable`&&i.has(e.value.arg.name))&&i.add(e.name),e.type===`local`&&s.add(e.name),u=e.type===`local`,()=>{a.has(e.name)?t(`duplicate-declaration`,e):a.add(e.name)}},expression({functionRef:e}){e&&o.add(e.name)},value(e,o,s){if(e.type===`variable`)switch(c.add(e.name),o){case`declaration`:(s!==`arg`||u)&&a.add(e.name);break;case`selector`:n+=1,r=e,i.has(e.name)||t(`missing-selector-annotation`,e)}},variant(e){let{keys:i}=e;i.length!==n&&t(`key-mismatch`,e);let a=JSON.stringify(i.map(e=>e.type===`literal`?e.value:0));l.has(a)?t(`duplicate-variant`,e):l.add(a),r&&=i.every(e=>e.type===`*`)?null:e}}),r&&t(`missing-fallback`,r);for(let e of s)c.delete(e);return{functions:o,variables:c}}function rl(){return(rl=o((()=>{Oc()})))()}function il(e){if(e)try{typeof e==`string`&&(e=new Intl.Locale(e));let t=e.getTextInfo?.()??e.textInfo;if(t?.direction)return t.direction;let n=e.maximize().script;if(n)return al.includes(n)?`rtl`:`ltr`}catch{}return`auto`}var al;function ol(){return(ol=o((()=>{al=`Adlm,Arab,Hebr,Mand,Nkoo,Rohg,Syrc,Thaa`})))()}function sl(e){if(e&&typeof e==`object`&&(e=e.valueOf()),typeof e==`boolean`)return e;if(e&&typeof e==`object`&&(e=String(e)),e===`true`)return!0;if(e===`false`)return!1;throw RangeError(`Not a boolean`)}function cl(e){if(e&&typeof e==`object`&&(e=e.valueOf()),e&&typeof e==`object`&&(e=String(e)),typeof e==`string`&&/^(0|[1-9][0-9]*)$/.test(e)&&(e=Number(e)),typeof e==`number`&&e>=0&&Number.isInteger(e))return e;throw RangeError(`Not a positive integer`)}function ll(e){if(e&&typeof e==`object`&&(e=e.valueOf()),typeof e==`string`)return e;if(e&&typeof e==`object`)return String(e);throw RangeError(`Not a string`)}function ul(e){let t;if(typeof e==`object`){let n=e?.valueOf;typeof n==`function`&&(t=e.options,e=n.call(e))}if(typeof e==`string`)try{e=JSON.parse(e)}catch{}if(typeof e!=`bigint`&&typeof e!=`number`)throw new Dc(`bad-operand`,`Input is not numeric`);return{value:e,options:t}}function dl(e,t,n,r){let{dir:i,locales:a}=e;n.useGrouping===`never`&&(n.useGrouping=!1),r&&`select`in n&&!e.literalOptionKeys.has(`select`)&&(e.onError(`bad-option`,`The option select may only be set by a literal value`),r=!1);let o,s,c,l;return{type:`number`,get dir(){return i??=(o??=Intl.NumberFormat.supportedLocalesOf(a,n)[0],il(o)),i},get options(){return{...n}},selectKey:r?e=>{let r=t;n.style===`percent`&&(r*=typeof r==`bigint`?100n:100);let i=String(r);if(e.has(i))return i;if(n.select===`exact`)return null;let o=n.select?{...n,select:void 0,type:n.select}:n;return c??=new Intl.PluralRules(a,o).select(Number(r)),e.has(c)?c:null}:void 0,toParts(){s??=new Intl.NumberFormat(a,n);let e=s.formatToParts(t);return o??=s.resolvedOptions().locale,i??=il(o),i===`ltr`||i===`rtl`?[{type:`number`,dir:i,locale:o,parts:e}]:[{type:`number`,locale:o,parts:e}]},toString(){return s??=new Intl.NumberFormat(a,n),l??=s.format(t),l},valueOf:()=>t}}function fl(e,t,n){let r=ul(n),i=r.value,a=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`decimal`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`minimumIntegerDigits`:case`minimumFractionDigits`:case`maximumFractionDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:case`roundingIncrement`:a[n]=cl(r);break;case`roundingMode`:case`roundingPriority`:case`select`:case`signDisplay`:case`trailingZeroDisplay`:case`useGrouping`:a[n]=ll(r)}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :number option ${n}`)}return dl(e,i,a,!0)}function pl(e,t,n){let r=ul(n),i=Number.isFinite(r.value)?Math.round(r.value):r.value,a=Object.assign({},r.options,{maximumFractionDigits:0,minimumFractionDigits:void 0,minimumSignificantDigits:void 0,style:`decimal`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`minimumIntegerDigits`:case`maximumSignificantDigits`:a[n]=cl(r);break;case`select`:case`signDisplay`:case`useGrouping`:a[n]=ll(r)}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :integer option ${n}`)}return dl(e,i,a,!0)}function ml(){return(ml=o((()=>{ol(),Oc()})))()}function hl(e,t,n){let r=ul(n),i=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`currency`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`currency`:case`currencySign`:case`roundingMode`:case`roundingPriority`:case`trailingZeroDisplay`:case`useGrouping`:i[n]=ll(r);break;case`minimumIntegerDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:case`roundingIncrement`:i[n]=cl(r);break;case`currencyDisplay`:{let t=ll(r);t===`never`?e.onError(`unsupported-operation`,`Currency display "never" is not yet supported`):i[n]=t;break}case`fractionDigits`:{let e=ll(r);if(e===`auto`)i.minimumFractionDigits=void 0,i.maximumFractionDigits=void 0;else{let t=cl(e);i.minimumFractionDigits=t,i.maximumFractionDigits=t}break}}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :currency option ${n}`)}if(!i.currency)throw new Dc(`bad-operand`,`A currency code is required for :currency`);return dl(e,r.value,i,!1)}function gl(){return(gl=o((()=>{Oc(),ml()})))()}function _l(e,t,n,r){let i={localeMatcher:t.localeMatcher},a=r;if(typeof a==`object`&&a){let t=a.options;t&&(i.calendar=t.calendar,e!==`date`&&(i.hour12=t.hour12),i.timeZone=t.timeZone),typeof a.valueOf==`function`&&(a=a.valueOf())}switch(typeof a){case`number`:case`string`:a=new Date(a)}if(!(a instanceof Date)||isNaN(a.getTime()))throw new Dc(`bad-operand`,`Input is not a valid date`);if(n.calendar!==void 0)try{i.calendar=ll(n.calendar)}catch{t.onError(`bad-option`,`Invalid :${e} calendar option value`)}if(n.hour12!==void 0&&e!==`date`)try{i.hour12=sl(n.hour12)}catch{t.onError(`bad-option`,`Invalid :${e} hour12 option value`)}if(n.timeZone!==void 0){let r;try{r=ll(n.timeZone)}catch{t.onError(`bad-option`,`Invalid :${e} timeZone option value`)}if(r===`input`)i.timeZone===void 0&&t.onError(`bad-operand`,`Missing input timeZone value for :${e}`);else if(r!==void 0){if(i.timeZone!==void 0&&r!==i.timeZone)throw new Dc(`bad-option`,`Time zone conversion is not supported`);i.timeZone=r}}if(e!==`time`){let r=e===`date`?`fields`:`dateFields`,a=e===`date`?`length`:`dateLength`,o=vl(t,n,r,yl)??`year-month-day`,s=vl(t,n,a,bl),c=new Set(o.split(`-`));c.has(`year`)&&(i.year=`numeric`),c.has(`month`)&&(i.month=s===`long`?`long`:s===`short`?`numeric`:`short`),c.has(`day`)&&(i.day=`numeric`),c.has(`weekday`)&&(i.weekday=s===`long`?`long`:`short`)}if(e!==`date`){switch(vl(t,n,e===`time`?`precision`:`timePrecision`,xl)){case`hour`:i.hour=`numeric`;break;case`second`:i.hour=`numeric`,i.minute=`numeric`,i.second=`numeric`;break;default:i.hour=`numeric`,i.minute=`numeric`}i.timeZoneName=vl(t,n,`timeZoneStyle`,Sl)}let o=new Intl.DateTimeFormat(t.locales,i),s=t.dir,c,l;return{type:`datetime`,get dir(){return s??=(c??=o.resolvedOptions().locale,il(c)),s},get options(){return{...i}},toParts(){let e=o.formatToParts(a);return c??=o.resolvedOptions().locale,s??=il(c),s===`ltr`||s===`rtl`?[{type:`datetime`,dir:s,locale:c,parts:e}]:[{type:`datetime`,locale:c,parts:e}]},toString(){return l??=o.format(a),l},valueOf:()=>a}}function vl(e,t,n,r){let i=t[n];if(i!==void 0)try{let e=ll(i);if(r&&!r.has(e))throw Error();return e}catch{e.onError(`bad-option`,`Invalid value for ${n} option`)}}var yl,bl,xl,Sl,Cl,wl,Tl;function El(){return(El=o((()=>{ol(),Oc(),yl=new Set([`weekday`,`day-weekday`,`month-day`,`month-day-weekday`,`year-month-day`,`year-month-day-weekday`]),bl=new Set([`long`,`medium`,`short`]),xl=new Set([`hour`,`minute`,`second`]),Sl=new Set([`long`,`short`]),Cl=(e,t,n)=>_l(`datetime`,e,t,n),wl=(e,t,n)=>_l(`date`,e,t,n),Tl=(e,t,n)=>_l(`time`,e,t,n)})))()}function aee(e,t,n){let{value:r,options:i}=ul(n),a;try{a=`add`in t?cl(t.add):-1}catch{throw new Dc(`bad-option`,`Value ${t.add} is not valid for :offset option add`)}let o;try{o=`subtract`in t?cl(t.subtract):-1}catch{throw new Dc(`bad-option`,`Value ${t.subtract} is not valid for :offset option subtract`)}if(a<0==o<0)throw new Dc(`bad-option`,`Exactly one of "add" or "subtract" is required as an :offset option`);let s=a<0?-o:a;return r+=typeof r==`number`?s:BigInt(s),fl(e,{},{valueOf:()=>r,options:i})}function Dl(){return(Dl=o((()=>{Oc(),ml()})))()}function Ol(e,t,n){let r=ul(n),i=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`percent`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`roundingMode`:case`roundingPriority`:case`signDisplay`:case`trailingZeroDisplay`:case`useGrouping`:i[n]=ll(r);break;case`minimumFractionDigits`:case`maximumFractionDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:i[n]=cl(r)}}catch{e.onError(`bad-option`,`Value ${r} is not valid for :percent option ${n}`)}return dl(e,r.value,i,!0)}function kl(){return(kl=o((()=>{ml()})))()}function Al(e,t,n){let r=n===void 0?``:String(n),i=r.normalize();return{type:`string`,dir:e.dir??`auto`,selectKey:e=>e.has(i)?i:null,toParts(){let{dir:t}=e,n=e.locales[0];return t===`ltr`||t===`rtl`?[{type:`string`,dir:t,locale:n,value:r}]:[{type:`string`,locale:n,value:r}]},toString:()=>r,valueOf:()=>r}}function jl(e,t,n){let r=ul(n),i=Object.assign({},r.options,{localeMatcher:e.localeMatcher,style:`unit`});for(let[n,r]of Object.entries(t))if(r!==void 0)try{switch(n){case`signDisplay`:case`roundingMode`:case`roundingPriority`:case`trailingZeroDisplay`:case`unit`:case`unitDisplay`:case`useGrouping`:i[n]=ll(r);break;case`minimumIntegerDigits`:case`minimumFractionDigits`:case`maximumFractionDigits`:case`minimumSignificantDigits`:case`maximumSignificantDigits`:case`roundingIncrement`:i[n]=cl(r)}}catch(t){t instanceof Cc?e.onError(t):e.onError(`bad-option`,`Value ${r} is not valid for :currency option ${n}`)}if(!i.unit)throw new Dc(`bad-operand`,`A unit identifier is required for :unit`);return dl(e,r.value,i,!1)}function Ml(){return(Ml=o((()=>{Oc(),ml()})))()}var Nl,Pl;function Fl(){return(Fl=o((()=>{gl(),El(),ml(),Dl(),kl(),Ml(),Nl={integer:pl,number:fl,offset:aee,string:Al},Nl=Object.freeze(Object.assign(Object.create(null),Nl)),Pl={currency:hl,date:wl,datetime:Cl,percent:Ol,time:Tl,unit:jl},Pl=Object.freeze(Object.assign(Object.create(null),Pl))})))()}var Il;function Ll(){return(Ll=o((()=>{Il=Symbol(`bidi-isolate`)})))()}var Rl;function zl(){return(zl=o((()=>{Rl=(e=`�`)=>({type:`fallback`,source:e,toParts:()=>[{type:`fallback`,source:e}],toString:()=>`{${e}}`})})))()}var Bl;function Vl(){return(Vl=o((()=>{Bl=(e,t)=>({type:`unknown`,source:e,dir:`auto`,toParts:()=>[{type:`unknown`,value:t}],toString:()=>String(t),valueOf:()=>t})})))()}var Hl;function Ul(){return(Ul=o((()=>{Oc(),ru(),Hl=class{#e;#t;#n;dir;id;constructor(e,t,n){this.#e=e,this.#n=t,this.dir=void 0;let r=n&&Object.hasOwn(n,`u:dir`)?n[`u:dir`]:void 0;if(r){let t=String(tu(e,r));if(t===`ltr`||t===`rtl`||t===`auto`)this.dir=t;else if(t!==`inherit`){let t=new Dc(`bad-option`,`Unsupported value for u:dir option`);t.source=nu(r),e.onError(t)}}let i=n&&Object.hasOwn(n,`u:id`)?n[`u:id`]:void 0;if(this.id=i?String(tu(e,i)):void 0,n){this.#t=new Set;for(let[e,t]of Object.entries(n))t.type===`literal`&&this.#t.add(e)}}get literalOptionKeys(){return new Set(this.#t)}get localeMatcher(){return this.#e.localeMatcher}get locales(){return this.#e.locales.map(String)}onError(e,t){let n;e instanceof Dc?n=e:typeof e==`string`&&typeof t==`string`?n=new Dc(e,t):(n=new Dc(`function-error`,String(e)),n.cause=e),n.source=this.#n,this.#e.onError(n)}}})))()}function Wl(e,t,{name:n,options:r}){let i=`:${n}`,a=nu(t)??i;try{let o=t?[tu(e,t)]:[],s=e.functions[n];if(!s)throw new Ec(`unknown-function`,`Unknown function ${i}`,a);let c=new Hl(e,a,r),l=s(c,Gl(e,r),...o);if(typeof l!=`object`||!l||typeof l.type!=`string`)throw new Ec(`bad-function-result`,`Function ${i} did not return a MessageValue`,a);let u={source:a};return c.dir&&(u.dir=c.dir,u[Il]=!0),c.id&&typeof l.toParts==`function`&&(u.toParts=()=>{let e=l.toParts();for(let t of e)t.id=c.id;return e}),{...l,...u}}catch(t){return e.onError(t instanceof Cc?t:new Ec(`bad-function-result`,String(t),a,t)),Rl(a)}}function Gl(e,t){let n=Object.create(null);if(t)for(let[r,i]of Object.entries(t))r.startsWith(`u:`)||(n[r]=tu(e,i));return n}function Kl(){return(Kl=o((()=>{Oc(),zl(),Ll(),Ul(),ru()})))()}function ql(e,{arg:t,functionRef:n}){if(n)return Wl(e,t,n);switch(t?.type){case`literal`:{let n=`|${t.value}|`,r=Al(new Hl(e,n),{},t.value);return r.source=n,r}case`variable`:return Zl(e,t);default:throw Error(`Unsupported expression: ${t?.type}`)}}function Jl(){return(Jl=o((()=>{Ul(),Kl(),eu()})))()}function Yl(e,t){if($l(e)){if(t in e)return e[t];let n=t.split(`.`);for(let t=n.length-1;t>0;--t){let r=n.slice(0,t).join(`.`);if(r in e){let i=n.slice(t).join(`.`);return Yl(e[r],i)}}for(let[n,r]of Object.entries(e))if(n.normalize()===t)return r}}function Xl(e,{name:t}){let n=Yl(e.scope,t);if(n===void 0){let n=`$`+t,r=`Variable not available: ${n}`;e.onError(new Ec(`unresolved-variable`,r,n))}else if(n instanceof Ql){let r=ql(n.scope?{...e,scope:n.scope}:e,n.expression);return e.scope[t]=r,e.localVars.add(r),r}return n}function Zl(e,t){let n=`$`+t.name,r=Xl(e,t);if(r===void 0)return Rl(n);let i=typeof r;if(i===`object`){let t=r;if(t.type===`fallback`)return Rl(n);if(e.localVars.has(t))return t.source=n,t;r instanceof Number?i=`number`:r instanceof String&&(i=`string`)}let a;switch(i){case`bigint`:case`number`:a=e.functions.number;break;case`string`:a=e.functions.string;break;default:return Bl(n,r)}let o=new Hl(e,n),s=a(o,{},r);return s.source=n,s}var Ql,$l;function eu(){return(eu=o((()=>{Oc(),zl(),Vl(),Ul(),Jl(),Ql=class{expression;scope;constructor(e,t){this.expression=e,this.scope=t}},$l=e=>e!==null&&(typeof e==`object`||typeof e==`function`)})))()}function tu(e,t){switch(t.type){case`literal`:return t.value;case`variable`:return Xl(e,t);default:throw Error(`Unsupported value: ${t.type}`)}}function nu(e){switch(e?.type){case`literal`:return`|`+e.value.replaceAll(`\\`,`\\\\`).replaceAll(`|`,`\\|`)+`|`;case`variable`:return`$`+e.name;default:return}}function ru(){return(ru=o((()=>{eu()})))()}function iu(e,{kind:t,name:n,options:r}){let i={type:`markup`,kind:t,name:n},a=r?Object.entries(r):null;if(a?.length){i.options={};for(let[t,n]of a)if(t===`u:dir`){let r=new Dc(`bad-option`,`The option ${t} is not valid for markup`);r.source=nu(n),e.onError(r)}else{let r=tu(e,n);typeof r==`object`&&typeof r?.valueOf==`function`&&(r=r.valueOf()),t===`u:id`?i.id=String(r):i.options[t]=r}}return i}function au(){return(au=o((()=>{Oc(),ru()})))()}function ou(e,t){if(t.type===`message`)return t.pattern;let n=t.selectors.map(t=>{let n=Zl(e,t),r;return typeof n.selectKey==`function`?r=n.selectKey.bind(n):(e.onError(new Ec(`bad-selector`,`Selector does not support selection`,n.source)),r=()=>null),{selectKey:r,source:n.source,best:null,keys:null}}),r=t.variants;loop:for(let i=0;i<n.length;++i){let a=n[i];if(!a.keys){a.keys=new Set;for(let{keys:e}of r){let t=e[i];if(!t)break loop;t.type!==`*`&&a.keys.add(t.value)}}try{a.best=a.keys.size?a.selectKey(a.keys):null}catch(t){e.onError(new Ec(`bad-selector`,`Selection failed`,a.source,t)),a.selectKey=()=>null,a.best=null}if(r=r.filter(e=>{let t=e.keys[i];return t.type===`*`?a.best==null:a.best===t.value}),r.length===0){if(i===0)break;let e=n[i-1];e.best==null?e.keys?.clear():e.keys?.delete(e.best);for(let e=i;e<n.length;++e)n[e].keys=null;r=t.variants,i=-1}}let i=r[0];return i?i.value:(e.onError(new Ec(`no-match`,`No variant was selected!?`,`.match`)),[])}function su(){return(su=o((()=>{Oc(),eu()})))()}var cu;function lu(){return(lu=o((()=>{el(),rl(),ol(),Oc(),Fl(),Ll(),au(),Jl(),eu(),su(),cu=class{#e;#t;#n;#r;#i;#a;constructor(e,t,n){this.#e=n?.bidiIsolation!==`none`,this.#n=n?.localeMatcher??`best fit`,this.#r=Array.isArray(e)?e.map(e=>new Intl.Locale(e)):e?[new Intl.Locale(e)]:[],this.#t=n?.dir??il(this.#r[0]),this.#i=typeof t==`string`?Ac(t):t,nl(this.#i),this.#a=n?.functions?Object.assign(Object.create(null),Nl,n.functions):Nl}format(e,t){let n=this.#o(e,t),r=``;for(let e of ou(n,this.#i))if(typeof e==`string`)r+=e;else if(e.type===`markup`)iu(n,e);else{let t;try{if(t=ql(n,e),typeof t.toString==`function`){if(this.#e&&(this.#t!==`ltr`||t.dir!==`ltr`||t[Il])){let e=t.dir===`ltr`?``:t.dir===`rtl`?``:``;r+=e+t.toString()+``}else r+=t.toString()}else{let e=new Dc(`not-formattable`,`Message part is not formattable`);throw e.source=t.source,e}}catch(e){n.onError(e);let i=`{${t?.source??`�`}}`;r+=this.#e?``+i+``:i}}return r}formatToParts(e,t){let n=this.#o(e,t),r=[];for(let e of ou(n,this.#i))if(typeof e==`string`)r.push({type:`text`,value:e});else if(e.type===`markup`)r.push(iu(n,e));else{let t;try{if(t=ql(n,e),typeof t.toParts==`function`){let e=t.toParts();if(this.#e&&(this.#t!==`ltr`||t.dir!==`ltr`||t[Il])){let n=t.dir===`ltr`?``:t.dir===`rtl`?``:``;r.push({type:`bidiIsolation`,value:n},...e,{type:`bidiIsolation`,value:``})}else r.push(...e)}else{let e=new Dc(`not-formattable`,`Message part is not formattable`);throw e.source=t.source,e}}catch(e){n.onError(e);let i={type:`fallback`,source:t?.source??`�`};this.#e?r.push({type:`bidiIsolation`,value:``},i,{type:`bidiIsolation`,value:``}):r.push(i)}}return r}#o(e,t=e=>{try{process.emitWarning(e)}catch{console.warn(e)}}){let n={...e};for(let t of this.#i.declarations)n[t.name]=new Ql(t.value,t.type===`input`?e??{}:void 0);return{onError:t,localeMatcher:this.#n,locales:this.#r,localVars:new WeakSet,functions:this.#a,scope:n}}}})))()}function uu(){return(uu=o((()=>{lu()})))()}function du(){return(du=o((()=>{J(),Tr(),At(),Xi()})))()}function fu(){return(fu=o((()=>{Tr(),At(),Xi()})))()}var pu;function mu(){return(mu=o((()=>{Tr(),At(),Xi(),pu=class extends Map{#e=new Map;#t=N(0);#n=N(0);#r=Yi||-1;constructor(e){if(super(),e){for(var[t,n]of e)super.set(t,n);this.#n.v=super.size}}#i(e){return Yi===this.#r?N(e):_r(e)}has(e){var t=this.#e,n=t.get(e);if(n===void 0){if(super.has(e))n=this.#i(0),t.set(e,n);else return z(this.#t),!1}return z(n),!0}forEach(e,t){this.#a(),super.forEach(e,t)}get(e){var t=this.#e,n=t.get(e);if(n===void 0){if(super.has(e))n=this.#i(0),t.set(e,n);else{z(this.#t);return}}return z(n),super.get(e)}set(e,t){var n=this.#e,r=n.get(e),i=super.get(e),a=super.set(e,t),o=this.#t;if(r===void 0)r=this.#i(0),n.set(e,r),P(this.#n,super.size),br(o);else if(i!==t){br(r);var s=o.reactions===null?null:new Set(o.reactions);(s===null||!r.reactions?.every(e=>s.has(e)))&&br(o)}return a}delete(e){var t=this.#e,n=t.get(e),r=super.delete(e);return n!==void 0&&(t.delete(e),P(n,-1)),r&&(P(this.#n,super.size),br(this.#t)),r}clear(){if(super.size!==0){super.clear();var e=this.#e;P(this.#n,0);for(var t of e.values())P(t,-1);br(this.#t),e.clear()}}#a(){z(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)z(n)}keys(){return z(this.#t),super.keys()}values(){return this.#a(),super.values()}entries(){return this.#a(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return z(this.#n),super.size}}})))()}function hu(){return(hu=o((()=>{Tr(),At(),Xi(),gu()})))()}function gu(){return(gu=o((()=>{Tr(),At(),Xi(),hu()})))()}function _u(){return(_u=o((()=>{wa()})))()}function vu(){return(vu=o((()=>{kn()})))()}function yu(){return(yu=o((()=>{_u(),vu()})))()}function bu(){return(bu=o((()=>{du(),fu(),mu(),gu(),hu(),yu(),kn()})))()}var xu,Su,Cu,wu,Tu,Eu,Du,Ou,ku,Au,ju,Mu,Nu,Pu,Fu,Iu,Lu,Ru,zu,Bu,X;function Z(){return(Z=o((()=>{J(),uu(),Fl(),bu(),Intl.MessageFormat??=cu,xu=N(``),Su=Er([]),Cu=Er({}),wu=``,Tu=``,Du=new Set([`ar`,`arc`,`ckb`,`dv`,`fa`,`ha`,`he`,`khw`,`ks`,`ku`,`nqo`,`ps`,`sd`,`ug`,`ur`,`yi`]),Ou=e=>e.textInfo?.direction??(Du.has(e.language)?`rtl`:`ltr`),ku=(e=z(xu))=>{if(!e)return!1;try{return Ou(new Intl.Locale(e))===`rtl`}catch{return!1}},Au=(e,t)=>{if(!e||!t.length||t.includes(e))return e;try{let n=new Intl.Locale(e).language;return t.find(e=>{try{return new Intl.Locale(e).language===n}catch{return!1}})??e}catch{return e}},ju=(e,t=``)=>Object.entries(e).reduce((e,[n,r])=>{let i=t?`${t}.${n}`:n;return typeof r==`object`&&r&&!Array.isArray(r)?Object.assign(e,ju(r,i)):e[i]=r,e},Object.create(null)),Mu=e=>{Su.includes(e)||(Su.push(e),Tu=Au(wu,Su))},Nu=(e,...t)=>{if(typeof e!=`string`||!e)throw TypeError(`addMessages: localeCode must be a non-empty string (got ${JSON.stringify(e)})`);t.forEach((e,t)=>{if(typeof e!=`object`||!e||Array.isArray(e))throw TypeError(`addMessages: maps[${t}] must be a plain object (got ${Array.isArray(e)?`array`:typeof e})`)}),Mu(e),Cu[e]??={},t.forEach(t=>{Object.entries(ju(t)).forEach(([t,n])=>{Cu[e][t]=new Intl.MessageFormat(e,String(n),{functions:Pl})})}),z(xu)&&!Su.includes(z(xu))&&Lu.set(z(xu))},Pu=new pu,Fu=new pu,Iu=(e=z(xu))=>{if(typeof e!=`string`)throw TypeError(`waitLocale: localeCode must be a string (got ${typeof e})`);if(!e)return Promise.resolve();if(!Fu.has(e)){let t=Pu.get(e);if(t){let n=Promise.resolve(t()).then(t=>{Nu(e,t)},()=>{Fu.delete(e),z(xu)===e&&!Cu[e]&&Tu&&P(xu,Tu,!0)});Fu.set(e,n)}else Fu.set(e,Promise.resolve())}return Fu.get(e)??Promise.resolve()},Lu={get current(){return z(xu)},set(e){if(typeof e!=`string`)throw TypeError(`locale.set: value must be a string (got ${typeof e})`);let t=Su.length?Au(e,Su):e;if(e&&Su.length&&!Su.includes(t)&&Tu&&Su.includes(Tu)&&(t=Tu),P(xu,t,!0),typeof document<`u`&&t){document.documentElement.lang=t;try{let e=new Intl.Locale(t);document.documentElement.dir=Ou(e)}catch{}}return Iu(t)}},Ru=(e,t)=>{if(typeof e!=`string`||!e)throw TypeError(`register: localeCode must be a non-empty string (got ${JSON.stringify(e)})`);if(typeof t!=`function`)throw TypeError(`register: loader must be a function (got ${typeof t})`);Pu.set(e,t),Fu.delete(e),Mu(e),z(xu)&&!Su.includes(z(xu))&&Lu.set(z(xu))},zu=()=>typeof navigator>`u`?void 0:navigator.languages?.[0]??navigator.language,Bu=e=>{if(!e||typeof e.fallbackLocale!=`string`)throw TypeError(`init: fallbackLocale must be a string (got ${JSON.stringify(e?.fallbackLocale)})`);if(e.initialLocale!==void 0&&typeof e.initialLocale!=`string`)throw TypeError(`init: initialLocale must be a string (got ${typeof e.initialLocale})`);if(e.handleMissingMessage!==void 0&&typeof e.handleMissingMessage!=`function`)throw TypeError(`init: handleMissingMessage must be a function (got ${typeof e.handleMissingMessage})`);wu=e.fallbackLocale,Tu=Au(wu,Su),Eu=e.handleMissingMessage,e.formats,e.initialLocale&&Lu.set(e.initialLocale)},X=(e,{values:t={},locale:n,default:r}={})=>{if(e==null)throw TypeError(`format: key must be a string or message object (got ${JSON.stringify(e)})`);if(typeof e==`object`){let{id:t,values:n={},locale:r,default:i}=e;return X(t,{values:n,locale:r,default:i})}let i=n??z(xu),a=Tu,o=Cu[i]?.[e]?.format(t)??(i===a?void 0:Cu[a]?.[e]?.format(t));if(o!==void 0)return o;if(Eu){let t=Eu(e,i,r);if(t!==void 0)return t}return r??e}})))()}var Vu,Hu,Uu,Wu,Gu,Ku,qu;function Ju(){return(Ju=o((()=>{Hu=()=>(Vu??=navigator.userAgentData?.platform===`macOS`||navigator.platform.startsWith(`Mac`),Vu),Uu=[`Ctrl`,`Meta`,`Alt`,`Shift`],Wu=new Set([`Space`,`Enter`,`Escape`,`Tab`,`Backspace`,`Delete`,`Insert`,`Home`,`End`,`PageUp`,`PageDown`,`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`,...Array.from({length:24},(e,t)=>`F${t+1}`)]),Gu=(e,t)=>/^\d$/.test(e)?t.code===`Digit${e}`:Wu.has(e)?t.code===e:e.toLowerCase()===t.key.toLowerCase(),Ku=(e,t)=>{let{ctrlKey:n,metaKey:r,altKey:i,shiftKey:a,key:o,code:s}=e;return!o&&!s?!1:t.replace(/\bAccel\b/g,Hu()?`Meta`:`Ctrl`).split(/\s+/).some(t=>{let o=t.split(`+`);return o.includes(`Ctrl`)&&!n||o.includes(`Meta`)&&!r||o.includes(`Alt`)&&!i||o.includes(`Shift`)&&!a||!o.includes(`Ctrl`)&&n||!o.includes(`Meta`)&&r||!o.includes(`Alt`)&&i||!o.includes(`Shift`)&&a?!1:o.filter(e=>!Uu.includes(e)).every(t=>Gu(t,e))})},qu=(e=``)=>{let t=e?e.replace(/\bAccel\b/g,Hu()?`Meta`:`Ctrl`):void 0;return t?e=>{let n=n=>{let{disabled:r}=e;if(!e.getClientRects().length||!Ku(n,t))return;let{top:i,left:a}=e.getBoundingClientRect();r&&e.style.setProperty(`pointer-events`,`auto`);let o=document.elementsFromPoint(a+4,i+4).includes(e);r&&e.style.removeProperty(`pointer-events`),o&&(n.preventDefault(),r||(e.focus(),e.click()))};return globalThis.addEventListener(`keydown`,n,{capture:!0}),e.setAttribute(`aria-keyshortcuts`,t),()=>{globalThis.removeEventListener(`keydown`,n,{capture:!0}),e.removeAttribute(`aria-keyshortcuts`)}}:()=>()=>{}}})))()}function Yu(e,t){G(e,Zu);let n=q(t,`lines`,3,1),r=q(t,`children`,3,void 0);var i=Xu();bo(F(i),()=>r()??E),D(i),R(()=>as(i,`-webkit-line-clamp: ${n()??``}; line-clamp: ${n()??``};`)),H(e,i)}var Xu,Zu;function Qu(){return(Qu=o((()=>{Y(),J(),Xu=B(`<span role="none" class="sui truncated-text svelte-1t9685w"><!></span>`),Zu={hash:`svelte-1t9685w`,code:`.truncated-text.svelte-1t9685w {display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;overflow-wrap:anywhere;}`}})))()}var $u;function ed(){return(ed=o((()=>{$u=(e=0)=>new Promise(t=>{globalThis.setTimeout(()=>{t(void 0)},e)})})))()}function td(e){if(e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray)return new DataView(e.buffer,e.byteOffset,e.byteLength);if(e instanceof ArrayBuffer)return new DataView(e);throw TypeError("Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray")}function oee(e,t,n){n||={};let r,i;switch(t){case`RFC3548`:case`RFC4648`:r=nd,i=!0;break;case`RFC4648-HEX`:r=rd,i=!0;break;case`Crockford`:r=id,i=!1;break;default:throw Error(`Unknown base32 variant: `+t)}let a=n.padding===void 0?i:n.padding,o=td(e),s=0,c=0,l=``;for(let e=0;e<o.byteLength;e++)for(c=c<<8|o.getUint8(e),s+=8;s>=5;)l+=r[c>>>s-5&31],s-=5;if(s>0&&(l+=r[c<<5-s&31]),a)for(;l.length%8!=0;)l+=`=`;return l}var nd,rd,id;function ad(){return(ad=o((()=>{nd=`ABCDEFGHIJKLMNOPQRSTUVWXYZ234567`,rd=`0123456789ABCDEFGHIJKLMNOPQRSTUV`,id=`0123456789ABCDEFGHJKMNPQRSTVWXYZ`})))()}var od,sd,cd,ld;function ud(){return(ud=o((()=>{ad(),od=/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/,sd=e=>{let t=globalThis.crypto.randomUUID();return e===`short`?t.split(`-`).pop():e===`shorter`?t.split(`-`).shift():typeof e==`number`?t.split(`-`).join(``).slice(0,e):t},cd=()=>{let e=sd().replaceAll(`-`,``),{buffer:t}=new Uint8Array(e.match(/../g).map(e=>parseInt(e,16)));return oee(t,`RFC4648`,{padding:!1}).toLowerCase()},ld=async(e,{algorithm:t=`SHA-1`,format:n=`hex`}={})=>{let r;if(typeof e==`string`){let t=new TextEncoder().encode(e);r=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}else if(e instanceof ArrayBuffer)r=e;else if(ArrayBuffer.isView(e)){let t=e;r=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}else if(e&&typeof e.arrayBuffer==`function`)r=await e.arrayBuffer();else throw Error(`Unsupported input type for getHash`);let i=await globalThis.crypto.subtle.digest(t,r);return n===`binary`?Array.from(new Uint8Array(i),e=>String.fromCharCode(e)).join(``):Array.from(new Uint8Array(i),e=>e.toString(16).padStart(2,`0`)).join(``)}})))()}var dd,fd,pd,md,hd,gd,_d,vd;function yd(){return(yd=o((()=>{ud(),pd=(e=`e`,t=7)=>[e,sd(t)].join(`-`),md=e=>{dd?.delete(e),fd?.unobserve(e)},hd=()=>{if(`IntersectionObserver`in globalThis)return fd||(dd=new WeakMap,fd=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,target:t})=>{if(!e||!(t instanceof HTMLElement))return;let n=dd?.get(t);n&&(n(),md(t))})}),fd)},gd=e=>{let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=globalThis;return r>0&&i>0&&t<a&&n<o},_d=e=>{if(`requestAnimationFrame`in globalThis){globalThis.requestAnimationFrame(e);return}globalThis.setTimeout(e,16)},vd=e=>{let t=hd();if(t)return gd(e)?Promise.resolve(void 0):new Promise(n=>{dd?.set(e,n),_d(()=>{t.observe(e)})})}})))()}var bd,xd;function Sd(){return(Sd=o((()=>{J(),yd(),ed(),_u(),bd=class{#e=N(!1);get open(){return z(this.#e)}set open(e){P(this.#e,e,!0),e?this.checkPosition():this.anchorElement.getAttribute(`aria-expanded`)===`true`&&window.requestAnimationFrame(()=>{let{activeElement:e}=document;(!e||e===document.body||this.popupElement?.contains(e))&&this.anchorElement.focus()}),this.anchorElement.setAttribute(`aria-expanded`,String(e))}#t=N(Er({inset:void 0,zIndex:void 0,minWidth:void 0,maxWidth:void 0,height:void 0}));get style(){return z(this.#t)}set style(e){P(this.#t,e,!0)}observer=new IntersectionObserver(e=>{e.forEach(({intersectionRect:e,rootBounds:t})=>{if(!e||!t)return;let n=this.contentElement??this.popupElement?.querySelector(`.content`)??null;if(!n)return;let{scrollHeight:r,scrollWidth:i}=n,a=e.top-8,o=t.height-e.bottom-8,{position:s}=this,c;document.dir===`rtl`&&(s.endsWith(`-left`)?s=s.replace(`-left`,`-right`):s.endsWith(`-right`)&&(s=s.replace(`-right`,`-left`)),s.startsWith(`left-`)?s=s.replace(`left-`,`right-`):s.startsWith(`right-`)&&(s=s.replace(`right-`,`left-`))),s.startsWith(`bottom-`)&&r>o&&(a>o?(s=s.replace(`bottom-`,`top-`),c=a):c=o),s.endsWith(`-left`)&&e.left+i>t.width-8&&(s=s.replace(`-left`,`-right`)),s.endsWith(`-right`)&&e.right-i<8&&(s=s.replace(`-right`,`-left`));let l={inset:[s.startsWith(`bottom-`)?`${Math.round(e.bottom)}px`:s.endsWith(`-top`)?`${Math.round(e.top)}px`:`auto`,s.startsWith(`left-`)?`${Math.round(t.width-e.left)}px`:s.endsWith(`-right`)?`${Math.round(t.width-e.right)}px`:`auto`,s.startsWith(`top-`)?`${Math.round(t.height-e.top)}px`:s.endsWith(`-bottom`)?`${Math.round(t.height-e.bottom)}px`:`auto`,s.startsWith(`right-`)?`${Math.round(e.right)}px`:s.endsWith(`-left`)?`${Math.round(e.left)}px`:`auto`].join(` `),zIndex:1e3,minWidth:`${Math.round(e.width)}px`,maxWidth:s.endsWith(`-left`)?`${Math.round(t.width-e.left-8)}px`:`${Math.round(e.right-8)}px`,height:c?`${Math.round(c)}px`:`auto`};(l.inset!==this.style.inset||l.zIndex!==this.style.zIndex||l.minWidth!==this.style.minWidth||l.maxWidth!==this.style.maxWidth||l.height!==this.style.height)&&(this.style=l)})});popupElement=void 0;contentElement=void 0;#n=void 0;constructor(e,t,n,r){this.anchorElement=e,this.position=n,this.positionBaseElement=r??e,this.id=pd(`popup`),this.anchorElement.setAttribute(`aria-expanded`,`false`),ha(e,`click`,()=>{!this.isDisabled&&!this.isReadOnly&&(this.open=!this.open)}),ha(e,`keydown`,e=>{let{key:t,ctrlKey:n,metaKey:r,shiftKey:i,altKey:a}=e,o=i||a||n||r;!this.isDisabled&&!this.isReadOnly&&[`Enter`,` `].includes(t)&&!o&&(e.preventDefault(),e.stopPropagation(),this.open=!this.open)}),ha(e,`transitionstart`,()=>{this.anchorElement.closest(`.hiding, .hidden, [hidden]`)&&this.hideImmediately()}),this.intersectionObserver=new IntersectionObserver(([e])=>{!e.isIntersecting&&this.open&&this.hideImmediately()}),this.intersectionObserver.observe(this.anchorElement),this.resizeObserver=new ResizeObserver(()=>{cancelAnimationFrame(this._rafId),this._rafId=requestAnimationFrame(()=>this.checkPosition())}),this.resizeObserver.observe(this.positionBaseElement),t&&this.attachPopupElement(t)}attachPopupElement(e,t){if(this.popupElement===e&&this.contentElement===t)return;this.detachPopupElement(),this.popupElement=e,this.contentElement=t;let n=t??e;n.id=this.id,this.anchorElement.setAttribute(`aria-controls`,this.id);let r=ha(e,`click`,e=>{e.stopPropagation();let t=e.target;this.open&&(t===this.popupElement||t.matches(`[role^="menuitem"], [role="option"]`))&&(this.open=!1)}),i=ha(e,`keydown`,e=>{let{key:t,ctrlKey:n,metaKey:r,shiftKey:i,altKey:a}=e;t===`Escape`&&!(i||a||n||r)&&(e.preventDefault(),e.stopPropagation(),this.open=!1)});this.#n=()=>{r(),i()}}detachPopupElement(){this.#n?.(),this.#n=void 0,this.anchorElement.getAttribute(`aria-controls`)===this.id&&this.anchorElement.removeAttribute(`aria-controls`),this.popupElement=void 0,this.contentElement=void 0}get isDisabled(){return this.anchorElement.matches(`[aria-disabled="true"]`)}get isReadOnly(){return this.anchorElement.matches(`[aria-readonly="true"]`)}checkPosition(){this.popupElement&&(this.observer.unobserve(this.positionBaseElement),this.observer.observe(this.positionBaseElement))}async hideImmediately(){this.popupElement&&(this.popupElement.hidden=!0),this.open=!1,await $u(50),this.popupElement&&(this.popupElement.hidden=!1)}destroy(){this.detachPopupElement(),this.intersectionObserver?.disconnect(),this.resizeObserver?.disconnect(),this.observer?.disconnect(),this._rafId&&cancelAnimationFrame(this._rafId)}},xd=(...e)=>new bd(...e)})))()}function Cd(e,t){var n=V();bo(I(n),()=>t.children??E),H(e,n)}function wd(){return(wd=o((()=>{Y(),J()})))()}function Td(e,t){O(t,!0),G(e,kd);let n=e=>{var n=V(),l=I(n),d=e=>{var n=Od(),l=({target:e})=>{i()&&s()&&e?.matches(`dialog`)&&(i(i().returnValue=`cancel`,!0),r(!1))},d=e=>{e.preventDefault(),i()&&c()&&(i(i().returnValue=`cancel`,!0),r(!1))};ms(n,()=>({...u,inert:!z(p),role:a(),class:`sui modal ${t.class??``}`,onclick:l,oncancel:d,[_s]:{backdrop:o(),open:z(p),active:z(m)}}),void 0,void 0,void 0,`svelte-f610ae`);var f=F(n);bo(f,()=>t.extraContent??E),bo(L(f,2),()=>t.children??E),D(n),Rs(n,e=>i(e),()=>i()),H(e,n)};W(l,e=>{z(v)&&e(d)}),H(e,n)},r=q(t,`open`,15,!1),i=q(t,`dialog`,15),a=q(t,`role`,3,`dialog`),o=q(t,`showBackdrop`,3,!1),s=q(t,`lightDismiss`,3,!1),c=q(t,`escapeDismiss`,3,!0),l=q(t,`keepContent`,3,!1),u=Gs(t,Dd),d=()=>{i()?.focus()},f=e=>{i()&&(i(i().returnValue=e,!0),r(!1))},p=N(!1),m=N(!1),h=N(!1),g=N(0),_=Nt(Ed);Pt(Ed,{retain:()=>{Li(()=>{P(g,z(g)+1)})},release:()=>{Li(()=>{P(g,z(g)-1)})}});let v=M(()=>l()||z(h)||z(g)>0),y=!1,b=0,x=e=>Math.max(0,...e.split(`,`).map(e=>Number.parseFloat(e)||0))*1e3,S=async()=>{if(await Pi(),!i())return;let{transitionDuration:e,transitionDelay:t}=getComputedStyle(i()),n=x(e)+x(t)+100,r=new AbortController,{signal:a}=r;i().addEventListener(`transitionend`,e=>{e.target===i()&&r.abort()},{signal:a});let o=window.setTimeout(()=>r.abort(),n);await new Promise(e=>{a.addEventListener(`abort`,()=>e(void 0))}),window.clearTimeout(o)},C=async()=>{if(y)return;y=!0,b+=1;let e=b;t.onOpening?.(new CustomEvent(`Opening`)),P(h,!0),await Pi(),!(e!==b||!i()||i().open)&&(i().showModal(),t.onOpen?.(new CustomEvent(`Open`)),i().getBoundingClientRect(),P(p,!0),await S(),e===b&&P(m,!0))},w=async()=>{if(!y)return;y=!1,b+=1;let e=b,n=z(p),r=i()?.returnValue??``;t.onClosing?.(new CustomEvent(`Closing`)),i()?.open&&(document.body.inert=!0,i().close(),document.body.inert=!1),P(m,!1),P(p,!1),n&&await S(),e===b&&(P(h,!1),r===`ok`&&t.onOk?.(new CustomEvent(`Ok`)),r===`cancel`&&t.onCancel?.(new CustomEvent(`Cancel`)),t.onClose?.(new CustomEvent(`Close`,{detail:{returnValue:r}})),i()&&i(i().returnValue=``,!0))},T=Ft();return tc(()=>{let e=Pa(Cd,{target:document.querySelector(`.sui.app-shell`)??document.body,props:{children:n},context:T});return()=>{i()?.close(),Ia(e)}}),Yr(()=>{r()?C():w()}),Yr(()=>{if(z(h))return _?.retain(),()=>{_?.release()}}),k({focus:d,close:f})}var Ed,Dd,Od,kd;function Ad(){return(Ad=o((()=>{Y(),J(),ic(),wd(),Ed=Symbol(`sui-modal-retainer`),Dd=new Set([`$$slots`,`$$events`,`$$legacy`,`open`,`dialog`,`class`,`role`,`showBackdrop`,`lightDismiss`,`escapeDismiss`,`keepContent`,`children`,`extraContent`,`onOpening`,`onOpen`,`onClosing`,`onOk`,`onCancel`,`onClose`]),Od=B(`<dialog><!> <!></dialog>`),kd={hash:`svelte-f610ae`,code:`dialog.svelte-f610ae {position:fixed;inset:0;z-index:9999999;display:flex;justify-content:center;align-items:center;overflow:hidden;outline:0;margin:0;border:0;padding:0;width:100dvw;max-width:100dvw;height:100dvh;max-height:100dvh;color:var(--sui-primary-foreground-color);background:transparent;-webkit-user-select:none;user-select:none;touch-action:none;pointer-events:all;cursor:default;}dialog.svelte-f610ae::backdrop {background:transparent;}dialog.backdrop.svelte-f610ae {background-color:var(--sui-popup-backdrop-color);}dialog.open.svelte-f610ae {transition-duration:50ms;opacity:1;}dialog.svelte-f610ae:not(.open) {transition-duration:400ms;opacity:0;}dialog[hidden].svelte-f610ae {transition-duration:1ms !important;}dialog.svelte-f610ae:not(.active) {pointer-events:none !important;}dialog.svelte-f610ae:not(.active) * {transition-duration:0ms !important;pointer-events:none !important;}`}})))()}function jd(e,t){O(t,!0),G(e,Pd);let n=e=>{var n=Nd();let o,s;bo(F(n),()=>t.children??E),D(n),Rs(n,e=>a(e),()=>a()),R(()=>{K(n,`hidden`,!r()),o=ns(n,1,`content ${t.class??``} ${z(m)??``}`,`svelte-15gkiv3`,o,{touch:z(_)}),s=as(n,``,s,{inset:z(h)?.style.inset,"z-index":z(h)?.style.zIndex,"min-width":z(h)?.style.minWidth,"max-width":z(h)?.style.maxWidth,"max-height":z(h)?.style.height,visibility:z(h)?.style.inset?void 0:`hidden`})}),ga(`mouseenter`,n,()=>{i(!0),l()&&window.clearTimeout(g)}),ga(`mouseleave`,n,()=>{i(!1),l()&&(g=window.setTimeout(()=>{r(!1)},200))}),H(e,n)},r=q(t,`open`,15,!1),i=q(t,`hovered`,15,!1),a=q(t,`content`,15,void 0),o=q(t,`showBackdrop`,3,void 0),s=q(t,`position`,3,`bottom-left`),c=q(t,`positionBaseElement`,3,void 0),l=q(t,`parentDialogElement`,3,void 0),u=q(t,`touchOptimized`,3,!1),d=Gs(t,Md),f=N(void 0),p=N(!1),m=N(void 0),h=N(void 0),g=0;Yr(()=>{z(h)&&r(z(h).open)}),Yr(()=>{l()&&!z(f)&&a()&&(P(f,l()),z(f).append(a()))}),Yr(()=>{t.anchor&&!z(h)&&(P(h,xd(t.anchor,void 0,s(),c()),!0),P(m,t.anchor.getAttribute(`aria-haspopup`)??void 0,!0))}),Yr(()=>{if(z(h)&&z(f)&&a())return z(h).attachPopupElement(z(f),a()),()=>{z(h)?.detachPopupElement()}}),Yr(()=>{r()&&z(f)&&z(h)?.checkPosition()});let _=M(()=>u()&&z(p));tc(()=>(P(p,globalThis.matchMedia(`(pointer: coarse)`).matches,!0),()=>{z(h)?.destroy?.(),globalThis.clearTimeout(g)}));var v=V(),y=I(v),b=e=>{n(e)},x=e=>{{let i=M(()=>o()??z(_));Td(e,Ks(()=>d,{role:`none`,class:`popup`,get showBackdrop(){return z(i)},lightDismiss:!0,onOpen:async e=>{if(t.onOpen?.(e),await $u(100),!a())return;let n=a().querySelector(`[tabindex]:not([aria-disabled="true"])`);n?n.focus():(a(a().tabIndex=-1,!0),a().focus())},get dialog(){return z(f)},set dialog(e){P(f,e,!0)},get open(){return r()},set open(e){r(e)},children:(e,t)=>{n(e)},$$slots:{default:!0}}))}};W(y,e=>{l()?e(b):e(x,-1)}),H(e,v),k()}var Md,Nd,Pd;function Fd(){return(Fd=o((()=>{Y(),J(),ed(),ic(),Sd(),Ad(),Md=new Set([`$$slots`,`$$events`,`$$legacy`,`open`,`hovered`,`content`,`class`,`showBackdrop`,`anchor`,`position`,`positionBaseElement`,`parentDialogElement`,`touchOptimized`,`children`,`onOpen`]),Nd=B(`<div role="none"><!></div>`),Pd={hash:`svelte-15gkiv3`,code:`.content.svelte-15gkiv3 {position:absolute;overflow-y:auto;outline-width:0 !important;width:auto;color:var(--sui-primary-foreground-color);background-color:var(--sui-secondary-background-color-translucent);box-shadow:0 8px 16px var(--sui-popup-shadow-color);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transition-property:opacity, transform;}.content.menu.svelte-15gkiv3 {border-width:var(--sui-menu-border-width, 1px);border-style:var(--sui-menu-border-style, solid);border-color:var(--sui-menu-border-width, var(--sui-secondary-border-color));border-radius:var(--sui-menu-border-radius, 4px);padding:var(--sui-menu-padding, 4px);}.content.menu.svelte-15gkiv3 .sui.menu {border-width:0;border-radius:0;padding:0;background-color:transparent;}.content.listbox.svelte-15gkiv3 {border-width:var(--sui-listbox-border-width, 1px);border-style:var(--sui-listbox-border-style, solid);border-color:var(--sui-listbox-border-width, var(--sui-secondary-border-color));border-radius:var(--sui-listbox-border-radius, 4px);padding:var(--sui-listbox-padding, 4px);}.content.listbox.svelte-15gkiv3 .sui.listbox {border-width:0;border-radius:0;padding:0;background-color:transparent;}.content.touch.svelte-15gkiv3 {position:static;border-width:0 !important;border-radius:4px !important;padding:8px;min-width:320px !important;max-width:calc(100dvw - 32px) !important;max-height:calc(100dvh - 32px) !important;}dialog.open .content.touch.svelte-15gkiv3 {transform:scale(100%) !important;}dialog:not(.open) .content.touch.svelte-15gkiv3 {transform:scale(90%);}.content.touch.combobox.svelte-15gkiv3 .sui.listbox {gap:4px;padding:8px 4px !important;}dialog.open .content.svelte-15gkiv3 {transition-duration:50ms;opacity:1;transform:translateY(2px);}dialog:not(.open) .content.svelte-15gkiv3 {transition-duration:300ms;opacity:0;transform:translateY(-8px);}`}})))()}function Id(e,t){O(t,!0),G(e,Vd);let n=q(t,`element`,15),r=q(t,`class`,3,``),i=q(t,`type`,3,`button`),a=q(t,`role`,3,`button`),o=q(t,`name`,3,void 0),s=q(t,`value`,3,void 0),c=q(t,`valueType`,19,()=>typeof s()),l=q(t,`hidden`,3,!1),u=q(t,`disabled`,3,!1),d=q(t,`readonly`,3,!1),f=q(t,`pressed`,3,void 0),p=q(t,`keyShortcuts`,3,void 0),m=q(t,`label`,3,``),h=q(t,`lines`,3,1),g=q(t,`variant`,3,void 0),_=q(t,`size`,3,`medium`),v=q(t,`iconic`,3,!1),y=q(t,`pill`,3,!1),b=q(t,`flex`,3,!1),x=q(t,`popupPosition`,3,`bottom-left`),S=q(t,`showPopupBackdrop`,3,!1),C=Gs(t,Ld);var w=Bd(),T=I(w);ms(T,()=>({...C,class:`sui button ${g()??``} ${_()??``} ${r()??``}`,type:i(),name:o(),value:s(),hidden:l(),disabled:u(),role:a(),"aria-hidden":l(),"aria-disabled":u(),"aria-readonly":d(),"aria-pressed":f(),"data-type":c(),"data-name":o(),"data-label":m(),"data-value":s(),[_s]:{iconic:v(),pill:y(),flex:b()}}),void 0,void 0,void 0,`svelte-unuvv1`);var ee=F(T);bo(ee,()=>t.startIcon??E);var te=L(ee,2),ne=e=>{var n=V(),r=I(n),i=e=>{var t=Rd();Yu(F(t),{get lines(){return h()},children:(e,t)=>{pt();var n=Aa();R(()=>U(n,m())),H(e,n)},$$slots:{default:!0}}),D(t),H(e,t)},a=e=>{var n=Rd();bo(F(n),()=>t.children??E),D(n),H(e,n)};W(r,e=>{m()?e(i):e(a,-1)}),H(e,n)},re=e=>{var n=zd(),r=I(n),i=e=>{var t=Rd();Yu(F(t),{get lines(){return h()},children:(e,t)=>{pt();var n=Aa();R(()=>U(n,m())),H(e,n)},$$slots:{default:!0}}),D(t),H(e,t)};W(r,e=>{m()&&e(i)}),bo(L(r,2),()=>t.children??E),H(e,n)};W(te,e=>{g()===`link`?e(ne):e(re,-1)}),bo(L(te,2),()=>t.endIcon??E),D(T),Rs(T,e=>n(e),()=>n()),Wo(T,()=>qu(p()));var ie=L(T,2),ae=e=>{jd(e,{get anchor(){return n()},get position(){return x()},get showBackdrop(){return S()},touchOptimized:!0,children:(e,n)=>{var r=V();bo(I(r),()=>t.popup),H(e,r)},$$slots:{default:!0}})};W(ie,e=>{t.popup&&e(ae)}),H(e,w),k()}var Ld,Rd,zd,Bd,Vd;function Hd(){return(Hd=o((()=>{Y(),J(),Ju(),Qu(),Fd(),Ld=new Set(`$$slots.$$events.$$legacy.element.class.type.role.name.value.valueType.hidden.disabled.readonly.pressed.keyShortcuts.label.lines.variant.size.iconic.pill.flex.popupPosition.showPopupBackdrop.children.startIcon.endIcon.popup`.split(`.`)),Rd=B(`<span role="none" class="label svelte-unuvv1"><!></span>`),zd=B(`<!> <!>`,1),Bd=B(`<button><!> <!> <!></button> <!>`,1),Vd={hash:`svelte-unuvv1`,code:`button.svelte-unuvv1 {flex:none;display:inline-flex;align-items:center;gap:4px;margin:var(--sui-focus-ring-width);border-width:0;border-style:solid;border-color:transparent;padding:0;color:var(--sui-control-foreground-color, inherit);background-color:transparent;box-shadow:none;font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);font-weight:var(--sui-font-weight-normal, normal);text-align:start;cursor:pointer;transition:all 200ms;}button[hidden].svelte-unuvv1 {display:none !important;}button.svelte-unuvv1:not(:disabled):focus-visible {z-index:1;}button.svelte-unuvv1:is(.primary:where(.svelte-unuvv1), .secondary:where(.svelte-unuvv1), .tertiary:where(.svelte-unuvv1), .ghost:where(.svelte-unuvv1)) {justify-content:center;border-width:1px;}button.svelte-unuvv1:is(.primary:where(.svelte-unuvv1), .secondary:where(.svelte-unuvv1), .tertiary:where(.svelte-unuvv1), .ghost:where(.svelte-unuvv1)) .label:where(.svelte-unuvv1):only-child {padding:0 4px;}button.primary.svelte-unuvv1 {border-width:var(--sui-button-primary-border-width, 1px);border-style:var(--sui-button-primary-border-style, solid);border-color:var(--sui-button-primary-border-color, var(--sui-primary-accent-color));color:var(--sui-button-primary-foreground-color, var(--sui-primary-accent-color-inverted));background-color:var(--sui-button-primary-background-color, var(--sui-primary-accent-color));font-weight:var(--sui-button-primary-font-weight, var(--sui-font-weight-normal, normal));}button.primary.svelte-unuvv1:is(:where(.svelte-unuvv1):hover, :where(.svelte-unuvv1):focus-visible, [aria-expanded=true]:where(.svelte-unuvv1)) {color:var(--sui-button-primary-foreground-color-focus, var(--sui-button-primary-foreground-color, var(--sui-primary-accent-color-inverted)));background-color:var(--sui-button-primary-background-color-focus, var(--sui-primary-accent-color-light));}button.primary.svelte-unuvv1:active {color:var(--sui-button-primary-foreground-color-active, var(--sui-button-primary-foreground-color, var(--sui-primary-accent-color-inverted)));background-color:var(--sui-button-primary-background-color-active, var(--sui-primary-accent-color-dark));}button.secondary.svelte-unuvv1 {border-width:var(--sui-button-secondary-border-width, 1px);border-style:var(--sui-button-secondary-border-style, solid);border-color:var(--sui-button-secondary-border-color, var(--sui-primary-accent-color));color:var(--sui-button-secondary-foreground-color, var(--sui-primary-accent-color-text));background-color:var(--sui-button-secondary-background-color, var(--sui-button-background-color));font-weight:var(--sui-button-secondary-font-weight, var(--sui-font-weight-normal, normal));}button.secondary.svelte-unuvv1:is(:where(.svelte-unuvv1):hover, :where(.svelte-unuvv1):focus-visible, [aria-expanded=true]:where(.svelte-unuvv1)) {color:var(--sui-button-secondary-foreground-color-focus, var(--sui-button-secondary-foreground-color, var(--sui-primary-accent-color-text)));background-color:var(--sui-button-secondary-background-color-focus, var(--sui-hover-background-color));}button.secondary.svelte-unuvv1:active {color:var(--sui-button-secondary-foreground-color-active, var(--sui-button-secondary-foreground-color, var(--sui-primary-accent-color-text)));background-color:var(--sui-button-secondary-background-color-active, var(--sui-active-background-color));}button.secondary[aria-pressed=true].svelte-unuvv1 {color:var(--sui-button-secondary-foreground-color-pressed);background-color:var(--sui-button-secondary-background-color-pressed, var(--sui-primary-accent-color));}button.tertiary.svelte-unuvv1 {border-width:var(--sui-button-tertiary-border-width, 1px);border-style:var(--sui-button-tertiary-border-style, solid);border-color:var(--sui-button-tertiary-border-color, var(--sui-button-border-color));color:var(--sui-button-tertiary-foreground-color, var(--sui-highlight-foreground-color));background-color:var(--sui-button-tertiary-background-color, var(--sui-button-background-color));font-weight:var(--sui-button-tertiary-font-weight, var(--sui-font-weight-normal, normal));}button.tertiary.svelte-unuvv1:is(:where(.svelte-unuvv1):hover, :where(.svelte-unuvv1):focus-visible, [aria-expanded=true]:where(.svelte-unuvv1)) {color:var(--sui-button-tertiary-foreground-color-focus, var(--sui-button-tertiary-foreground-color, var(--sui-highlight-foreground-color)));background-color:var(--sui-button-tertiary-background-color-focus, var(--sui-hover-background-color));}button.tertiary.svelte-unuvv1:active {color:var(--sui-button-tertiary-foreground-color-active, var(--sui-button-tertiary-foreground-color, var(--sui-highlight-foreground-color)));background-color:var(--sui-button-tertiary-background-color-active, var(--sui-active-background-color));}button.tertiary[aria-pressed=true].svelte-unuvv1 {color:var(--sui-button-tertiary-foreground-color-pressed);background-color:var(--sui-button-tertiary-background-color-pressed, var(--sui-selected-background-color));}button.ghost.svelte-unuvv1 {font-weight:var(--sui-button-ghost-font-weight, var(--sui-font-weight-normal, normal));}button.ghost.svelte-unuvv1:is(:where(.svelte-unuvv1):hover, :where(.svelte-unuvv1):focus-visible, [aria-expanded=true]:where(.svelte-unuvv1)) {color:var(--sui-button-ghost-foreground-color-focus);background-color:var(--sui-button-ghost-background-color-focus, var(--sui-hover-background-color));}button.ghost.svelte-unuvv1:active {color:var(--sui-button-ghost-foreground-color-active);background-color:var(--sui-button-ghost-background-color-active, var(--sui-active-background-color));}button.ghost[aria-pressed=true].svelte-unuvv1 {color:var(--sui-button-ghost-foreground-color-pressed);background-color:var(--sui-button-ghost-background-color-pressed, var(--sui-selected-background-color));}button.link.svelte-unuvv1 {outline:0;margin:0;border-radius:0 !important;padding:0 !important;height:auto !important;color:var(--sui-button-link-foreground-color, var(--sui-primary-accent-color-text));}button.link.svelte-unuvv1 .label:where(.svelte-unuvv1) {padding:0;line-height:var(--sui-line-height-compact);text-decoration:var(--sui-button-link-text-decoration, none);text-underline-offset:2px;white-space:normal;}:is(:root, :host)[data-underline-links='true'] button.link.svelte-unuvv1 .label:where(.svelte-unuvv1) {text-decoration:underline;}button.link.svelte-unuvv1:is(:where(.svelte-unuvv1):hover, :where(.svelte-unuvv1):focus, :where(.svelte-unuvv1):active) .label:where(.svelte-unuvv1) {text-decoration:var(--sui-button-link-text-decoration-focus, underline);}button.small.svelte-unuvv1 {border-radius:var(--sui-button-small-border-radius);padding:var(--sui-button-small-padding);height:var(--sui-button-small-height);font-size:var(--sui-button-small-font-size, var(--sui-font-size-small));}button.small.svelte-unuvv1 .icon {font-size:var(--sui-font-size-large);}button.medium.svelte-unuvv1 {border-radius:var(--sui-button-medium-border-radius);padding:var(--sui-button-medium-padding);height:var(--sui-button-medium-height);font-size:var(--sui-button-medium-font-size, var(--sui-font-size-default));}button.large.svelte-unuvv1 {border-radius:var(--sui-button-large-border-radius);padding:var(--sui-button-large-padding);height:var(--sui-button-large-height);font-size:var(--sui-button-large-font-size, var(--sui-font-size-large));}button.pill.svelte-unuvv1 {border-radius:80px;padding:var(--sui-button-medium-pill-padding, 0 12px);}button.flex.svelte-unuvv1:not([hidden]) {display:inline-flex;flex:auto;width:-moz-available;width:-webkit-fill-available;width:stretch;}button.iconic.svelte-unuvv1 {justify-content:center;padding:0;aspect-ratio:1/1;}button.danger.svelte-unuvv1 {background-color:var(--sui-error-background-color);}button.svelte-unuvv1 .label:where(.svelte-unuvv1) {padding:0 4px;}button.svelte-unuvv1 > * {pointer-events:none;}button.svelte-unuvv1 :has([slot=start-icon] + [slot=end-icon]) {gap:0;}`}})))()}function Ud(e,t){O(t,!0),G(e,Kd);let n=q(t,`show`,15,!0),r=q(t,`dismissible`,3,!0),i=q(t,`status`,3,`info`),a=q(t,`ariaLive`,3,`polite`),o=q(t,`children`,3,void 0),s=q(t,`icon`,3,void 0);var c=V(),l=I(c),u=e=>{var t=Gd(),c=F(t),l=F(c),u=e=>{var t=V();bo(I(t),s),H(e,t)},d=e=>{{let t=M(()=>i()===`success`?`check_circle`:i());ac(e,{get name(){return z(t)}})}};W(l,e=>{s()?e(u):e(d,-1)}),bo(L(l,2),()=>o()??E),D(c);var f=L(c,2),p=e=>{var t=Wd(),r=F(t);{let e=M(()=>X(`_sui.dismiss`));Id(r,{iconic:!0,size:`small`,variant:`ghost`,get"aria-label"(){return z(e)},onclick:()=>{n(!1)},children:(e,t)=>{ac(e,{name:`close`})},$$slots:{default:!0}})}D(t),H(e,t)};W(f,e=>{r()&&e(p)}),D(t),R(()=>{ns(t,1,`infobar ${i()??``}`,`svelte-wippac`),K(c,`aria-live`,a())}),H(e,t)};W(l,e=>{n()&&e(u)}),H(e,c),k()}var Wd,Gd,Kd;function qd(){return(qd=o((()=>{Y(),J(),Z(),Hd(),lc(),Wd=B(`<div role="none"><!></div>`),Gd=B(`<div role="none"><div role="alert" class="message svelte-wippac"><!> <!></div> <!></div>`),Kd={hash:`svelte-wippac`,code:`.infobar.svelte-wippac {flex:none;display:flex;align-items:center;gap:var(--sui-infobar-gap, 8px);border-width:var(--sui-infobar-border-width, 0 0 1px);border-style:var(--sui-infobar-border-style, solid);padding:var(--sui-infobar-padding, 0);min-height:var(--sui-infobar-min-height, 32px);font-size:var(--sui-infobar-font-size, var(--sui-font-size-small));}.infobar.info.svelte-wippac {border-color:var(--sui-info-border-color);color:var(--sui-info-foreground-color);background-color:var(--sui-info-background-color);}.infobar.warning.svelte-wippac {border-color:var(--sui-warning-border-color);color:var(--sui-warning-foreground-color);background-color:var(--sui-warning-background-color);}.infobar.error.svelte-wippac {border-color:var(--sui-error-border-color);color:var(--sui-error-foreground-color);background-color:var(--sui-error-background-color);}.infobar.success.svelte-wippac {border-color:var(--sui-success-border-color);color:var(--sui-success-foreground-color);background-color:var(--sui-success-background-color);}.message.svelte-wippac {flex:auto;display:flex;align-items:center;justify-content:var(--sui-infobar-message-justify-content, start);gap:var(--sui-infobar-message-gap, 6px);padding:var(--sui-infobar-message-padding, 6px);}.message.svelte-wippac button {font-size:inherit !important;}.message.svelte-wippac .icon {font-size:16px; /* !hardcoded */}`}})))()}function Jd(e,t){G(e,Zd);let n=Gs(t,Yd);var r=Xd();ms(r,()=>({role:`none`,class:`sui bottom-navigation ${t.class??``}`,...n}),void 0,void 0,void 0,`svelte-y4e89n`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var Yd,Xd,Zd;function Qd(){return(Qd=o((()=>{Y(),J(),Yd=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),Xd=B(`<div><!></div>`),Zd={hash:`svelte-y4e89n`,code:`.bottom-navigation.svelte-y4e89n {height:var(--sui-bottom-navigation-height, var(--sui-primary-toolbar-size));border-top-width:var(--sui-bottom-navigation-border-color, 1px);border-top-style:var(--sui-bottom-navigation-border-style, solid);border-top-color:var(--sui-bottom-navigation-border-color, var(--sui-secondary-border-color));}.bottom-navigation.svelte-y4e89n:is([inert]:where(.svelte-y4e89n), [hidden]:where(.svelte-y4e89n)) {display:none;}.bottom-navigation.svelte-y4e89n .buttons {flex:auto;display:flex;align-items:center;justify-content:space-evenly;}`}})))()}function $d(e,t){G(e,nf);let n=q(t,`ariaLabel`,3,void 0),r=Gs(t,ef);var i=tf();ms(i,()=>({...r,role:`group`,class:`sui button-group ${t.class??``}`,"aria-label":n()}),void 0,void 0,void 0,`svelte-ym8e5b`),bo(F(i),()=>t.children??E),D(i),H(e,i)}var ef,tf,nf;function rf(){return(rf=o((()=>{Y(),J(),ef=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`ariaLabel`,`children`]),tf=B(`<div><!></div>`),nf={hash:`svelte-ym8e5b`,code:`.button-group.svelte-ym8e5b {flex:none;display:inline-flex;align-items:center;}`}})))()}function af(e,t){G(e,sf);let n=q(t,`children`,3,void 0);var r=of();bo(F(r),()=>n()??E),D(r),H(e,r)}var of,sf;function cf(){return(cf=o((()=>{Y(),J(),of=B(`<div role="none" class="sui floating-action-button-wrapper svelte-1bj0cgt"><!></div>`),sf={hash:`svelte-1bj0cgt`,code:`.floating-action-button-wrapper.svelte-1bj0cgt {display:contents;}
|
|
20
|
+
@media (width < 768px) {.floating-action-button-wrapper.svelte-1bj0cgt {display:block;position:fixed;inset-inline-end:16px;inset-block-end:72px;z-index:100;}.floating-action-button-wrapper.svelte-1bj0cgt button {border-radius:50%;height:56px;box-shadow:0 4px 8px rgba(0, 0, 0, 0.4);}.floating-action-button-wrapper.svelte-1bj0cgt button .icon {font-size:32px;}
|
|
21
|
+
}`}})))()}var lf,uf,df,ff,pf;function mf(){return(mf=o((()=>{J(),ic(),lf=Symbol(`sui-option-registry`),uf=class{#e=N(!1);get expanded(){return z(this.#e)}set expanded(e){P(this.#e,e,!0)}#t=N([]);get count(){return z(this.#t).length}get selectedEntry(){return z(this.#t).find(e=>e.selected)}register(e){return P(this.#t,[...z(this.#t),e]),()=>{P(this.#t,z(this.#t).filter(t=>t!==e))}}find(e){return z(this.#t).find(t=>t.value===e)}selectOnly(e){z(this.#t).forEach(t=>{let n=t.value===e;t.selected!==n&&(t.selected=n)})}},df=()=>Pt(lf,new uf),ff=()=>Nt(lf),pf=e=>{let{type:t=`string`,name:n,label:r}=e.dataset,{value:i}=e.dataset;return t===`number`?(i=Number(i),Number.isNaN(i)&&(i=null)):t===`boolean`?i=i===`true`:t===`string`&&(i=i?String(i):``),{target:e,type:t,name:n,label:r,value:i}}})))()}var hf,gf,_f,vf,yf,bf,xf,Sf;function Cf(){return(Cf=o((()=>{J(),Z(),yd(),ed(),mf(),hf=/\p{Diacritic}/gu,gf=e=>(e=e.trim(),e?e.normalize(`NFD`).replace(hf,``).toLocaleLowerCase():``),_f={grid:{orientation:`vertical`,childRoles:[`row`],childSelectedAttr:`aria-selected`,focusChild:!0,selectFirst:!0,controlsPanel:!1,rovingTabStop:`selected`},listbox:{orientation:`vertical`,childRoles:[`option`],childSelectedAttr:`aria-selected`,focusChild:!1,selectFirst:!1,controlsPanel:!1,rovingTabStop:`selected`},menu:{orientation:`vertical`,childRoles:[`menuitem`,`menuitemcheckbox`,`menuitemradio`],childSelectedAttr:`aria-checked`,focusChild:!0,selectFirst:!1,controlsPanel:!1,rovingTabStop:`first`},menubar:{orientation:`horizontal`,childRoles:[`menuitem`,`menuitemcheckbox`,`menuitemradio`],childSelectedAttr:`aria-checked`,focusChild:!0,selectFirst:!1,controlsPanel:!1,rovingTabStop:`first`},radiogroup:{orientation:`horizontal`,childRoles:[`radio`],childSelectedAttr:`aria-checked`,focusChild:!0,selectFirst:!1,controlsPanel:!1,rovingTabStop:`selected`},tablist:{orientation:`horizontal`,childRoles:[`tab`],childSelectedAttr:`aria-selected`,focusChild:!0,selectFirst:!0,controlsPanel:!0,rovingTabStop:`selected`}},vf=`a[href], button, input, select, textarea, summary, [tabindex]`,yf=()=>[...document.querySelectorAll(vf)].filter(e=>e.tabIndex>=0&&!e.matches(`:disabled, [aria-disabled="true"], [hidden], [inert], [inert] *`)&&!!e.getClientRects().length),bf=e=>{let t=e;for(;t;){if(t.id){let e=document.querySelector(`[aria-haspopup="menu"][aria-controls="${CSS.escape(t.id)}"]`);if(e)return e}t=t.parentElement}return null},xf=class{constructor(e,{clickToSelect:t=!0}={}){e.dispatchEvent(new CustomEvent(`Initializing`)),this.parent=e,this.role=e.getAttribute(`role`),this.multi=this.parent.getAttribute(`aria-multiselectable`)===`true`,this.id=pd(this.role),this.parentGroupSelector=`[role="group"], [role="${this.role}"]`,this.clickToSelect=t,this._onClick=e=>{this.onClick(e)},this._onKeyDown=e=>{this.onKeyDown(e)};let{orientation:n,childRoles:r,childSelectedAttr:i,focusChild:a,selectFirst:o,controlsPanel:s,rovingTabStop:c}=_f[this.role];this.orientation=this.grid?`horizontal`:this.parent.getAttribute(`aria-orientation`)??n,this.childRoles=r,this.childSelectedAttr=i,this.childSelectedProp=i.replace(`aria-`,``),this.focusChild=a,this.selectFirst=o,this.controlsPanel=s,this.rovingTabStop=c,this.parent.tabIndex=a?-1:0,(async()=>{await $u(100),this.activate()})()}activate(){let{parent:e,allMembers:t,selected:n}=this;t.forEach((e,t)=>{let r=e.getAttribute(this.childSelectedAttr)===`true`||(n?e===n:this.selectFirst&&t===0),i=this.controlsPanel?document.querySelector(`#${e.getAttribute(`aria-controls`)}`):null;e.id||=`${this.id}-item-${t+1}`,e.setAttribute(this.childSelectedAttr,String(r)),i&&(i.inert=!r,i.setAttribute(`aria-labelledby`,e.id),i.setAttribute(`aria-hidden`,String(!r)),r&&globalThis.setTimeout(()=>{try{i.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`auto`})}catch{i.scrollIntoView(!0)}},300))}),this.updateTabStop(),e.addEventListener(`click`,this._onClick),e.addEventListener(`keydown`,this._onKeyDown),e.dispatchEvent(new CustomEvent(`Initialized`))}updateTabStop(){let{allMembers:e,activeMembers:t}=this;if(!this.focusChild){e.forEach(e=>{e.tabIndex=-1});return}let n=this.rovingTabStop===`selected`?t.find(e=>e.matches(`[${this.childSelectedAttr}="true"]`))??t[0]:t[0];e.forEach(e=>{e.tabIndex=e===n?0:-1})}get selector(){return this.childRoles.map(e=>`[role="${e}"]`).join(`,`)}get allMembers(){return[...this.parent.querySelectorAll(this.selector)]}get activeMembers(){return this.allMembers.filter(e=>!e.matches(`[aria-disabled="true"], [aria-hidden="true"]`))}get opener(){return bf(this.parent)}get parentMenuItem(){let{opener:e}=this;return e?.matches(`[role^="menuitem"]`)?e:null}closeMenuChain(){let{opener:e}=this,t=e,n=null;for(let e=0;e<10&&t;e+=1){n=t,t.getAttribute(`aria-expanded`)===`true`&&t.click();let e=t.closest(`[role="menu"], [role="menubar"]`);t=e?bf(e):null}return n}async leaveMenu(e){let t=this.closeMenuChain();if(!t)return;t.focus(),await $u(50);let n=yf(),r=n.indexOf(t);r>-1&&n[r+(e?-1:1)]?.focus()}async enterSubmenu(e){let t=e.getAttribute(`aria-controls`);if(!t)return;e.getAttribute(`aria-expanded`)!==`true`&&e.click();let n=document.getElementById(t);for(let e=0;e<20;e+=1){let e=[...n?.querySelectorAll(this.selector)??[]].find(e=>!e.matches(`[aria-disabled="true"], [aria-hidden="true"]`));if(e?.focus(),e&&document.activeElement===e)return;await $u(20)}}leaveSubmenu(e){e.getAttribute(`aria-expanded`)===`true`&&e.click(),e.focus()}get selected(){return this.activeMembers.find(e=>e.matches(`[${this.childSelectedAttr}="true"]`))}get isDisabled(){return this.parent.matches(`[aria-disabled="true"]`)}get isReadOnly(){return this.parent.matches(`[aria-readonly="true"]`)}get grid(){return this.role===`grid`||this.role===`listbox`&&this.parent.matches(`.grid`)}selectTarget(e,t){if(this.isDisabled||this.isReadOnly){e.preventDefault();return}let n=t.getAttribute(`role`),r=t.closest(this.parentGroupSelector),i=e.type===`click`,a=e.type===`keydown`&&e.key===` `;this.activeMembers.forEach(o=>{let s=o.matches(`[role="menuitemcheckbox"]`),c=o.matches(`[role="menuitemradio"]`);if((s||c)&&(o.getAttribute(`role`)!==n||o.closest(this.parentGroupSelector)!==r))return;let l=s||this.multi,u=c||!l,d=o===t,f=o.matches(`[${this.childSelectedAttr}="true"]`),p=this.controlsPanel?o.getAttribute(`aria-controls`):null,m=p?document.getElementById(p):null;l&&d&&(i||a)&&(o.setAttribute(this.childSelectedAttr,String(!f)),o.dispatchEvent(new CustomEvent(`Change`,{detail:{[this.childSelectedProp]:!f}})),f||o.dispatchEvent(new CustomEvent(`Select`))),u&&f!==d&&(!c||a||i)&&(o.setAttribute(this.childSelectedAttr,String(d)),o.dispatchEvent(new CustomEvent(`Change`,{detail:{[this.childSelectedProp]:d}})),d&&(e.type===`keydown`&&o.matches(`[role="radio"]`)&&o.click(),o.dispatchEvent(new CustomEvent(`Select`)))),this.focusChild?globalThis.requestAnimationFrame(()=>{o.tabIndex=d?0:-1,d&&(o.focus(),o.dispatchEvent(new CustomEvent(`Focus`)))}):(o.classList.toggle(`focused`,d),d&&o.dispatchEvent(new CustomEvent(`Focus`))),m&&(m.inert=!d,m.setAttribute(`aria-hidden`,String(!d)),d&&globalThis.setTimeout(()=>{try{m.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`auto`})}catch{m.scrollIntoView(!0)}},300)),d&&(this.parent.setAttribute(`aria-activedescendant`,o.id),globalThis.setTimeout(()=>{try{o.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`auto`})}catch{o.scrollIntoView(!0)}},300))}),this.parent.dispatchEvent(new CustomEvent(`Change`,{detail:pf(t)}))}onClick(e){let t=e.target,n=t.matches(this.selector)?t:t.closest(this.selector);!n||e.button!==0||!this.clickToSelect||this.selectTarget(e,n)}onKeyDown(e){let{key:t,ctrlKey:n,metaKey:r,shiftKey:i,altKey:a}=e,o=i||a||n||r,s=this.childRoles.includes(`menuitem`);if(t===`Tab`&&s&&!n&&!r&&!a){e.preventDefault(),this.leaveMenu(i);return}if(o)return;let c=e.target,{allMembers:l,activeMembers:u}=this,d=(()=>{if(!this.focusChild)return u.find(e=>e.matches(`.focused`));if(c.matches(this.selector))return c})();if([`Enter`,` `,`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`].includes(t)&&e.preventDefault(),t===`Enter`){d?.click();return}if(t===` `){d&&this.selectTarget(e,d);return}if(t===`Escape`&&s){let{parentMenuItem:t}=this;if(t){e.preventDefault(),e.stopPropagation(),this.leaveSubmenu(t);return}}if(this.orientation===`vertical`&&s){let e=ku()?`ArrowLeft`:`ArrowRight`,n=ku()?`ArrowRight`:`ArrowLeft`;if(t===e&&d?.getAttribute(`aria-haspopup`)===`menu`){this.enterSubmenu(d);return}if(t===n){let{parentMenuItem:e}=this;if(e){this.leaveSubmenu(e);return}}}let f,p;if(this.grid){let e=Math.floor(this.parent.clientWidth/u[0].clientWidth),n=ku();f=d?l.indexOf(d):-1,t===`ArrowUp`&&f>0&&(p=l[f-e]),t===`ArrowDown`&&f<l.length-1&&(p=l[f+e]),t===`ArrowLeft`&&f>0&&(p=l[f+(n?1:-1)]),t===`ArrowRight`&&f<l.length-1&&(p=l[f+(n?-1:1)]),p?.matches(`[aria-disabled="true"], [aria-hidden="true"]`)&&(p=void 0)}else{f=d?u.indexOf(d):-1;let e=ku(),n=this.orientation===`horizontal`?e?`ArrowRight`:`ArrowLeft`:`ArrowUp`,r=this.orientation===`horizontal`?e?`ArrowLeft`:`ArrowRight`:`ArrowDown`;t===n&&(f>0&&(p=u[f-1]),f<=0&&(p=u[u.length-1])),t===r&&(f<u.length-1&&(p=u[f+1]),f===u.length-1&&([p]=u))}p&&p!==d&&this.selectTarget(e,p)}destroy(){this.parent.removeEventListener(`click`,this._onClick),this.parent.removeEventListener(`keydown`,this._onKeyDown)}onUpdate({searchTerms:e}){let t=gf(e),n=t?t.split(/\s+/):[],{allMembers:r,parent:i}=this,a=r.map(e=>{let t=gf(e.dataset.searchValue??e.dataset.label??e.querySelector(`.label`)?.textContent??e.textContent),r=!n.every(e=>t.includes(e));return e.dispatchEvent(new CustomEvent(`Toggle`,{detail:{hidden:r}})),r}).filter(e=>!e).length;i.dispatchEvent(new CustomEvent(`Filter`,{detail:{matched:a,total:r.length}}))}},Sf=e=>t=>{let n=typeof e==`function`,r=n?e():e,i=new xf(t,r);return n&&Yr(()=>{i.onUpdate(e())}),()=>{i.destroy()}}})))()}function wf(e,t){O(t,!0),G(e,Df);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`readonly`,3,!1),a=q(t,`required`,3,!1),o=q(t,`invalid`,3,!1),s=q(t,`ariaLabel`,3,void 0),c=Gs(t,Tf);var l=Ef();ms(l,()=>({...c,role:`radiogroup`,class:`sui select-button-group ${t.class??``}`,hidden:n(),tabindex:`-1`,"aria-hidden":n(),"aria-disabled":r(),"aria-readonly":i(),"aria-required":a(),"aria-invalid":o(),"aria-label":s()}),void 0,void 0,void 0,`svelte-1w64wtu`);var u=F(l);bo(F(u),()=>t.children??E),D(u),D(l),Wo(l,Sf),R(()=>u.inert=r()),H(e,l),k()}var Tf,Ef,Df;function Of(){return(Of=o((()=>{Y(),J(),Cf(),Tf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`ariaLabel`,`children`]),Ef=B(`<div><div role="none" class="inner svelte-1w64wtu"><!></div></div>`),Df={hash:`svelte-1w64wtu`,code:`.select-button-group.svelte-1w64wtu {flex:none;display:inline-flex;align-items:center;margin:var(--sui-focus-ring-width);}.select-button-group.svelte-1w64wtu:focus-visible {outline-width:0 !important;}.select-button-group.svelte-1w64wtu button {margin:0 !important;border-radius:0 !important;color:var(--sui-primary-foreground-color);}.select-button-group.svelte-1w64wtu button:first-child {border-start-start-radius:4px !important;border-end-start-radius:4px !important;}.select-button-group.svelte-1w64wtu button:not(:first-child) {border-inline-start-width:0;}.select-button-group.svelte-1w64wtu button:last-child {border-start-end-radius:4px !important;border-end-end-radius:4px !important;}.select-button-group.svelte-1w64wtu button[aria-checked=true] {color:var(--sui-highlight-foreground-color);background-color:var(--sui-selected-background-color);}.select-button-group.svelte-1w64wtu [aria-invalid=true] button {border-color:var(--sui-error-border-color);}.select-button-group.svelte-1w64wtu [aria-disabled=false] button[aria-disabled=true] {filter:grayscale(0) opacity(1);}.select-button-group.svelte-1w64wtu [aria-disabled=false] button[aria-disabled=true] * {filter:grayscale(1) opacity(0.35);}.inner.svelte-1w64wtu {display:contents;}`}})))()}function kf(e,t){O(t,!0);let n=q(t,`selected`,15,!1),r=Gs(t,Af);Id(e,Ks(()=>r,{role:`radio`,get class(){return`sui select-button ${t.class??``}`},get"aria-checked"(){return n()},onChange:e=>{n(e.detail.selected),t.onChange?.(e)}})),k()}var Af;function jf(){return(jf=o((()=>{Y(),J(),Hd(),Af=new Set([`$$slots`,`$$events`,`$$legacy`,`selected`,`class`,`onChange`])})))()}function Mf(e,t){O(t,!0);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`popupPosition`,3,`bottom-left`),a=q(t,`popupPositionBaseElement`,3,void 0),o=q(t,`showPopupBackdrop`,3,!1),s=q(t,`label`,3,``),c=q(t,`variant`,3,void 0),l=q(t,`size`,3,`medium`),u=q(t,`iconic`,3,!1),d=Gs(t,Nf),f=N(void 0);var p={focus:()=>{z(f)?.focus()}},m=Pf(),h=I(m);return Id(h,Ks(()=>d,{get class(){return`sui menu-button ${t.class??``}`},get hidden(){return n()},get disabled(){return r()},get label(){return s()},get variant(){return c()},get size(){return l()},get iconic(){return u()},"aria-haspopup":`menu`,get element(){return z(f)},set element(e){P(f,e,!0)},startIcon:e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},children:e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},endIcon:e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.endIcon),H(e,n)},a=e=>{ac(e,{name:`more_vert`})},o=e=>{ac(e,{name:`arrow_drop_down`,class:`small-arrow`})};W(r,e=>{t.endIcon?e(i):u()?e(a,1):e(o,-1)}),H(e,n)},$$slots:{startIcon:!0,default:!0,endIcon:!0}})),jd(L(h,2),{get anchor(){return z(f)},get position(){return i()},get positionBaseElement(){return a()},get showBackdrop(){return o()},children:(e,n)=>{var r=V();bo(I(r),()=>t.popup??E),H(e,r)},$$slots:{default:!0}}),H(e,m),k(p)}var Nf,Pf;function Ff(){return(Ff=o((()=>{Y(),J(),Hd(),lc(),Fd(),Nf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`popupPosition`,`popupPositionBaseElement`,`showPopupBackdrop`,`label`,`variant`,`size`,`iconic`,`children`,`startIcon`,`endIcon`,`popup`]),Pf=B(`<!> <!>`,1)})))()}function If(e,t){O(t,!0),G(e,zf);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`label`,3,``),a=q(t,`variant`,3,void 0),o=q(t,`size`,3,`medium`),s=q(t,`popupPosition`,3,`bottom-left`),c=q(t,`showPopupBackdrop`,3,!1),l=Gs(t,Lf),u=N(void 0);var d=Rf(),f=F(d);Id(f,Ks(()=>l,{get hidden(){return n()},get disabled(){return r()},get label(){return i()},get variant(){return a()},get size(){return o()}}));var p=L(f,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.chevronIcon),H(e,n)},a=e=>{ac(e,{name:`arrow_drop_down`,class:`small-arrow`})};W(r,e=>{t.chevronIcon?e(i):e(a,-1)}),H(e,n)},i=e=>{var n=V();bo(I(n),()=>t.popup??E),H(e,n)},l=M(()=>X(`_sui.split_button.more_options`));Mf(p,{iconic:!0,get hidden(){return n()},get disabled(){return r()},get variant(){return a()},get size(){return o()},get"aria-label"(){return z(l)},get popupPosition(){return s()},get popupPositionBaseElement(){return z(u)},get showPopupBackdrop(){return c()},endIcon:e,popup:i,$$slots:{endIcon:!0,popup:!0}})}D(d),Rs(d,e=>P(u,e),()=>z(u)),R(e=>{K(d,`hidden`,n()),K(d,`aria-hidden`,n()),K(d,`aria-disabled`,r()),K(d,`aria-label`,e)},[()=>X(`_sui.split_button.x_options`,{values:{name:i()}})]),H(e,d),k()}var Lf,Rf,zf;function Bf(){return(Bf=o((()=>{Y(),J(),Z(),lc(),Ff(),Hd(),Lf=new Set([`$$slots`,`$$events`,`$$legacy`,`hidden`,`disabled`,`label`,`variant`,`size`,`popupPosition`,`showPopupBackdrop`,`chevronIcon`,`popup`]),Rf=B(`<div role="group" class="sui split-button svelte-3ue06"><!> <!></div>`),zf={hash:`svelte-3ue06`,code:`.split-button.svelte-3ue06 {flex:none;display:inline-flex;margin:var(--sui-focus-ring-width);}.split-button.svelte-3ue06 button {margin:0;}.split-button.svelte-3ue06 button.menu-button {border-inline-start-width:0;border-start-start-radius:0;border-end-start-radius:0;aspect-ratio:3/4;}.split-button.svelte-3ue06 button:not(.menu-button) {border-start-end-radius:0;border-end-end-radius:0;}`}})))()}function Vf(e,t){G(e,Wf);let n=q(t,`hidden`,3,!1),r=q(t,`orientation`,3,`horizontal`),i=q(t,`ariaLabel`,3,void 0),a=Gs(t,Hf);var o=Uf();ms(o,()=>({...a,role:`separator`,class:`sui divider ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-orientation":r(),"aria-label":i()}),void 0,void 0,void 0,`svelte-1emoj5r`),H(e,o)}var Hf,Uf,Wf;function Gf(){return(Gf=o((()=>{Y(),J(),Hf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`orientation`,`ariaLabel`]),Uf=B(`<div></div>`),Wf={hash:`svelte-1emoj5r`,code:`.divider.svelte-1emoj5r {flex:none;background-color:var(--sui-secondary-border-color);}.divider[aria-orientation=horizontal].svelte-1emoj5r {margin:8px 0;width:100%;height:1px;}.divider[aria-orientation=vertical].svelte-1emoj5r {margin:0 8px;width:1px;height:100%;}`}})))()}function Kf(e,t){G(e,Yf);let n=q(t,`flex`,3,!1),r=Gs(t,qf);var i=Jf();ms(i,()=>({...r,role:`none`,class:`sui spacer ${t.class??``}`,[_s]:{flex:n()}}),void 0,void 0,void 0,`svelte-nw0uv2`),H(e,i)}var qf,Jf,Yf;function Xf(){return(Xf=o((()=>{Y(),J(),qf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`flex`]),Jf=B(`<div></div>`),Yf={hash:`svelte-nw0uv2`,code:`.spacer.flex.svelte-nw0uv2:not([hidden]) {display:block;flex:auto;}.spacer.svelte-nw0uv2:not(.flex) {width:8px;height:8px;}`}})))()}function Zf(e,t){G(e,ep);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`orientation`,3,`horizontal`),a=q(t,`ariaLabel`,3,void 0),o=Gs(t,Qf);var s=$f();ms(s,()=>({...o,role:`group`,class:`sui checkbox-group ${t.class??``} ${i()??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-roledescription":`checkbox group`,"aria-label":a()}),void 0,void 0,void 0,`svelte-iyjz4p`);var c=F(s);bo(F(c),()=>t.children??E),D(c),D(s),R(()=>c.inert=r()),H(e,s)}var Qf,$f,ep;function tp(){return(tp=o((()=>{Y(),J(),Qf=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`orientation`,`ariaLabel`,`children`]),$f=B(`<div><div role="none" class="inner svelte-iyjz4p"><!></div></div>`),ep={hash:`svelte-iyjz4p`,code:`.checkbox-group.svelte-iyjz4p {display:inline-flex;}.checkbox-group.horizontal.svelte-iyjz4p {gap:8px;align-items:center;flex-wrap:wrap;}.checkbox-group.vertical.svelte-iyjz4p {gap:4px;flex-direction:column;}
|
|
22
|
+
@media (pointer: coarse) {.checkbox-group.vertical.svelte-iyjz4p {gap:8px;}
|
|
23
|
+
}.inner.svelte-iyjz4p {display:contents;}`}})))()}function np(e,t){let n=ja();O(t,!0),G(e,op);let r=q(t,`checked`,15),i=q(t,`name`,3,void 0),a=q(t,`value`,3,void 0),o=q(t,`hidden`,3,!1),s=q(t,`disabled`,3,!1),c=q(t,`readonly`,3,!1),l=q(t,`required`,3,!1),u=q(t,`invalid`,3,!1),d=q(t,`label`,3,void 0),f=q(t,`ariaLabel`,3,void 0),p=q(t,`group`,15),m=Gs(t,rp),h=N(void 0),g=M(()=>r()===`mixed`);Yr(()=>{Array.isArray(p())&&(p().includes(a())?r()!==!0&&r(!0):r()!==!1&&r(!1))});var _=ap();let v;var y=F(_),b=F(y);{let e=e=>{var n=V(),i=I(n),a=e=>{var n=V();bo(I(n),()=>t.checkIcon),H(e,n)},o=e=>{ac(e,{name:`remove`})},s=e=>{ac(e,{name:`check`})};W(i,e=>{t.checkIcon?e(a):z(g)?e(o,1):r()&&e(s,2)}),H(e,n)},d=M(()=>f()||void 0),_=M(()=>f()?void 0:`${n}-label`);Id(b,Ks(()=>m,{role:`checkbox`,get id(){return n},get name(){return i()},get value(){return a()},get hidden(){return o()},get disabled(){return s()},get readonly(){return c()},get required(){return l()},get"aria-invalid"(){return u()},get"aria-checked"(){return r()},get"aria-label"(){return z(d)},get"aria-labelledby"(){return z(_)},onclick:e=>{e.preventDefault(),e.stopPropagation(),!(s()||c())&&(r(z(g)?!0:!r()),Array.isArray(p())&&(r()?p().includes(a())||p([...p(),a()]):p().includes(a())&&p(p().filter(e=>e!==a()))),t.onChange?.(new CustomEvent(`Change`,{detail:{checked:r()}})))},get element(){return z(h)},set element(e){P(h,e,!0)},startIcon:e,$$slots:{startIcon:!0}}))}var x=L(b,2),S=e=>{var r=ip(),i=F(r),a=e=>{var n=V();bo(I(n),()=>t.children),H(e,n)},o=e=>{var t=Aa();R(()=>U(t,d())),H(e,t)};W(i,e=>{t.children?e(a):e(o,-1)}),D(r),R(()=>K(r,`id`,`${n}-label`)),H(e,r)};W(x,e=>{(t.children||d())&&e(S)}),D(y),D(_),R(()=>{v=ns(_,1,`sui checkbox ${t.class??``}`,`svelte-1zl0d3`,v,{checked:r(),indeterminate:z(g),disabled:s(),readonly:c()}),K(_,`hidden`,o()),y.inert=s()}),_a(`click`,_,e=>{e.preventDefault(),e.stopPropagation(),e.target.matches(`button`)||z(h)?.click()}),H(e,_),k()}var rp,ip,ap,op;function sp(){return(sp=o((()=>{Y(),J(),Hd(),lc(),rp=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`class`,`name`,`value`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`label`,`ariaLabel`,`group`,`onChange`,`children`,`checkIcon`]),ip=B(`<label class="svelte-1zl0d3"><!></label>`),ap=B(`<div role="none"><div role="none" class="inner svelte-1zl0d3"><!> <!></div></div>`),op={hash:`svelte-1zl0d3`,code:`.checkbox.svelte-1zl0d3 {display:inline-flex;align-items:center;gap:8px;margin:var(--sui-focus-ring-width);color:var(--sui-control-foreground-color);font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;}.checkbox.svelte-1zl0d3:hover button {background-color:var(--sui-hover-background-color);}.checkbox.svelte-1zl0d3:hover button[aria-checked=true] {background-color:var(--sui-primary-accent-color-light);}.checkbox.svelte-1zl0d3:active button {background-color:var(--sui-active-background-color);}.checkbox.svelte-1zl0d3:active button[aria-checked=true] {background-color:var(--sui-primary-accent-color-dark);}.checkbox.svelte-1zl0d3 button {flex:none;align-items:center;justify-content:center;overflow:hidden;margin:0 !important;border-width:var(--sui-checkbox-border-width, 1.5px);border-color:var(--sui-checkbox-border-color);border-radius:var(--sui-checkbox-border-radius);padding:0;width:var(--sui-checkbox-height);height:var(--sui-checkbox-height);color:var(--sui-primary-accent-text-color);background-color:var(--sui-checkbox-background-color);transition:all 200ms;}.checkbox.svelte-1zl0d3 button[aria-checked=true] {border-color:var(--sui-checkbox-border-color-checked, var(--sui-primary-accent-color));color:var(--sui-checkbox-foreground-color-checked, var(--sui-primary-accent-color-inverted));background-color:var(--sui-checkbox-background-color-checked, var(--sui-primary-accent-color));}.checkbox.svelte-1zl0d3 button[aria-invalid=true] {border-color:var(--sui-error-border-color);color:var(--sui-error-foreground-color);}.checkbox.svelte-1zl0d3 button[aria-checked=true][aria-invalid=true] {background-color:var(--sui-checkbox-background-color);}.checkbox.svelte-1zl0d3 button .icon {font-size:calc(var(--sui-checkbox-height) - 2px);}.checkbox.svelte-1zl0d3 label:where(.svelte-1zl0d3) {cursor:inherit;}.inner.svelte-1zl0d3 {display:contents;}`},va([`click`])})))()}function cp(e,t){let n=ja();O(t,!0),G(e,hp);let r=q(t,`open`,15,!1);q(t,`value`,11,``);let i=q(t,`role`,3,`dialog`),a=q(t,`size`,3,`medium`),o=q(t,`showClose`,3,!1),s=q(t,`showOk`,3,!0),c=q(t,`showCancel`,3,!0),l=q(t,`okLabel`,3,``),u=q(t,`okShortcuts`,3,void 0),d=q(t,`okDisabled`,3,!1),f=q(t,`cancelLabel`,3,``),p=q(t,`cancelShortcuts`,3,void 0),m=q(t,`cancelDisabled`,3,!1),h=q(t,`focusInput`,3,!0),g=Gs(t,lp),_=N(void 0),v=N(void 0);Yr(()=>{if(r()&&z(v)){let e=!1;return(async()=>{await $u(50),!e&&(h()?((z(v)?.querySelector(`input, button.primary`))?.focus(),(z(v)?.querySelector(`input`))?.select()):z(_)?.focus())})(),()=>{e=!0}}});{let h=M(()=>t.header?void 0:t.title),y=M(()=>t.header?t.title:`${n}-title`);Rs(Td(e,Ks(()=>g,{get role(){return i()},get id(){return n},class:`dialog`,get"aria-label"(){return z(h)},get"aria-labelledby"(){return z(y)},get"aria-describedby"(){return`${n}-body`},showBackdrop:!0,get open(){return r()},set open(e){r(e)},children:(e,r)=>{var i=mp(),h=F(i),g=e=>{var r=dp(),i=F(r),a=e=>{var n=V();bo(I(n),()=>t.header),H(e,n)},s=e=>{var r=up(),i=I(r),a=F(i,!0);D(i);var s=L(i,2);Kf(s,{flex:!0});var c=L(s,2);bo(c,()=>t.headerExtra??E);var l=L(c,2),u=e=>{{let r=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.closeIcon),H(e,n)},a=e=>{ac(e,{name:`close`})};W(r,e=>{t.closeIcon?e(i):e(a,-1)}),H(e,n)},i=M(()=>X(`_sui.close`));Id(e,{variant:`ghost`,iconic:!0,get"aria-label"(){return z(i)},get"aria-controls"(){return n},onclick:()=>{z(_)?.close(`close`)},startIcon:r,$$slots:{startIcon:!0}})}};W(l,e=>{o()&&e(u)}),R(()=>{K(i,`id`,`${n}-title`),U(a,t.title)}),H(e,r)};W(i,e=>{t.header?e(a):e(s,-1)}),D(r),H(e,r)};W(h,e=>{(t.title||o()||t.header||t.headerExtra)&&e(g)});var y=L(h,2);bo(F(y),()=>t.children??E),D(y);var b=L(y,2),x=e=>{var n=pp(),r=F(n),i=e=>{var n=V();bo(I(n),()=>t.footer??E),H(e,n)},a=e=>{var n=fp(),r=I(n);bo(r,()=>t.footerExtra??E);var i=L(r,2);Kf(i,{flex:!0});var a=L(i,2),o=e=>{{let t=M(()=>l()||X(`_sui.ok`));Id(e,{variant:`primary`,get label(){return z(t)},get keyShortcuts(){return u()},get disabled(){return d()},onclick:()=>{z(_)?.close(`ok`)}})}};W(a,e=>{s()&&e(o)});var h=L(a,2),g=e=>{{let t=M(()=>f()||X(`_sui.cancel`));Id(e,{variant:`secondary`,get label(){return z(t)},get keyShortcuts(){return p()},get disabled(){return m()},onclick:()=>{z(_)?.close(`cancel`)}})}};W(h,e=>{c()&&e(g)}),H(e,n)};W(r,e=>{t.footer?e(i):e(a,-1)}),D(n),H(e,n)};W(b,e=>{(s()||c()||t.footer||t.footerExtra)&&e(x)}),D(i),Rs(i,e=>P(v,e),()=>z(v)),R(()=>{ns(i,1,`content ${t.class??``} ${a()??``}`,`svelte-e7auth`),K(y,`id`,`${n}-body`)}),H(e,i)},$$slots:{default:!0}})),e=>P(_,e,!0),()=>z(_))}k()}var lp,up,dp,fp,pp,mp,hp;function gp(){return(gp=o((()=>{Y(),J(),Z(),ed(),Hd(),Xf(),lc(),Ad(),lp=new Set(`$$slots.$$events.$$legacy.open.value.title.role.size.class.showClose.showOk.showCancel.okLabel.okShortcuts.okDisabled.cancelLabel.cancelShortcuts.cancelDisabled.focusInput.children.header.headerExtra.footer.footerExtra.closeIcon.input`.split(`.`)),up=B(`<div role="none" class="title svelte-e7auth"> </div> <!> <!> <!>`,1),dp=B(`<div role="none" class="header svelte-e7auth"><!></div>`),fp=B(`<!> <!> <!> <!>`,1),pp=B(`<div role="none" class="footer svelte-e7auth"><!></div>`),mp=B(`<div role="none"><!> <div role="none" class="body svelte-e7auth"><!></div> <!></div>`),hp={hash:`svelte-e7auth`,code:`.content.svelte-e7auth {position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--sui-dialog-content-border-radius, 4px);max-width:calc(100dvw - var(--sui-dialog-content-margin, 16px) * 2);background-color:var(--sui-dialog-content-background-color, var(--sui-secondary-background-color-translucent));box-shadow:var(--sui-dialog-content-box-shadow, 0 8px 16px var(--sui-popup-shadow-color));-webkit-backdrop-filter:var(--sui-dialog-content-backdrop-filter, blur(16px));backdrop-filter:var(--sui-dialog-content-backdrop-filter, blur(16px));transition-property:transform;}dialog.open .content.svelte-e7auth {transition-duration:150ms;transform:scale(100%);}dialog:not(.open) .content.svelte-e7auth {transition-duration:300ms;transform:scale(90%);}.content.small.svelte-e7auth {width:var(--sui-dialog-small-content-width, var(--sui-dialog-content-width, 400px));max-height:var(--sui-dialog-small-content-max-height, var(--sui-dialog-content-max-height, 400px));}
|
|
24
|
+
@media (max-height: 400px) {.content.small.svelte-e7auth {max-height:calc(100dvh - 32px);}
|
|
25
|
+
}.content.medium.svelte-e7auth {width:var(--sui-dialog-medium-content-width, var(--sui-dialog-content-width, 600px));max-height:var(--sui-dialog-medium-content-max-height, var(--sui-dialog-content-max-height, 600px));}
|
|
26
|
+
@media (max-height: 600px) {.content.medium.svelte-e7auth {max-height:calc(100dvh - 32px);}
|
|
27
|
+
}.content.large.svelte-e7auth {width:var(--sui-dialog-large-content-width, var(--sui-dialog-content-width, 800px));max-height:var(--sui-dialog-large-content-max-height, var(--sui-dialog-content-max-height, 800px));}
|
|
28
|
+
@media (max-height: 800px) {.content.large.svelte-e7auth {max-height:calc(100dvh - 32px);}
|
|
29
|
+
}.content.x-large.svelte-e7auth {width:var(--sui-dialog-x-large-content-width, var(--sui-dialog-content-width, 1000px));max-height:var(--sui-dialog-x-large-content-max-height, var(--sui-dialog-content-max-height, 1000px));}
|
|
30
|
+
@media (max-height: 1000px) {.content.x-large.svelte-e7auth {max-height:calc(100dvh - 32px);}
|
|
31
|
+
}:is(.header.svelte-e7auth, .footer.svelte-e7auth) {display:flex;align-items:center;gap:4px;}.header.svelte-e7auth {box-sizing:content-box;margin:var(--sui-dialog-header-margin, 0 16px);border-width:var(--sui-dialog-header-border-width, 0 0 1px);border-color:var(--sui-dialog-header-border-color, var(--sui-secondary-border-color));padding:var(--sui-dialog-header-padding, 16px 8px);height:var(--sui-dialog-header-height, 32px);}.header.svelte-e7auth .title:where(.svelte-e7auth) {font-size:var(--sui-font-size-large);font-weight:var(--sui-font-weight-bold);}.footer.svelte-e7auth {margin:var(--sui-dialog-footer-margin, 0 24px 24px);}
|
|
32
|
+
@media (width < 768px) {.footer.svelte-e7auth {margin:var(--sui-dialog-footer-margin, 0 16px 16px);}
|
|
33
|
+
}.body.svelte-e7auth {overflow:auto;margin:var(--sui-dialog-body-margin, 24px 24px);white-space:normal;line-height:var(--sui-line-height-compact);}
|
|
34
|
+
@media (width < 768px) {.body.svelte-e7auth {margin:var(--sui-dialog-body-margin, 16px 16px);}
|
|
35
|
+
}`}})))()}function _p(e,t){O(t,!0);let n=q(t,`open`,15,!1),r=Gs(t,vp);cp(e,Ks(()=>r,{role:`alertdialog`,showCancel:!1,get open(){return n()},set open(e){n(e)}})),k()}var vp;function yp(){return(yp=o((()=>{Y(),J(),gp(),vp=new Set([`$$slots`,`$$events`,`$$legacy`,`open`])})))()}function bp(e,t){O(t,!0);let n=q(t,`open`,15,!1),r=Gs(t,xp);cp(e,Ks(()=>r,{role:`alertdialog`,get open(){return n()},set open(e){n(e)}})),k()}var xp;function Sp(){return(Sp=o((()=>{Y(),J(),gp(),xp=new Set([`$$slots`,`$$events`,`$$legacy`,`open`])})))()}function Cp(e,t){let n=ja();O(t,!0),G(e,Dp);let r=q(t,`value`,15),i=q(t,`element`,15),a=q(t,`role`,3,`textbox`),o=q(t,`keyShortcuts`,3,void 0),s=q(t,`dir`,3,void 0),c=q(t,`name`,3,void 0),l=q(t,`showInlineLabel`,3,!1),u=q(t,`inputmode`,3,`text`),d=q(t,`flex`,3,!1),f=q(t,`monospace`,3,!1),p=q(t,`debounce`,3,!1),m=q(t,`hidden`,3,!1),h=q(t,`disabled`,3,!1),g=q(t,`readonly`,3,!1),_=q(t,`required`,3,!1),v=q(t,`invalid`,3,!1),y=q(t,`ariaLabel`,3,void 0),b=Gs(t,wp),x=M(()=>typeof p()==`number`?p():300),S=0;Yr(()=>()=>{clearTimeout(S)});let C=e=>{r(i()?.value),t.oninput?.(e)},w=e=>{let t=e;p()?(clearTimeout(S),S=setTimeout(()=>{C(t)},z(x))):C(t)};var T=Ep();let ee;var te=F(T);ms(te,()=>({...b,value:r(),type:`text`,role:a(),dir:s(),name:c(),tabindex:h()?-1:0,disabled:h()||void 0,readonly:g()||void 0,inputmode:u(),"aria-label":y(),"aria-hidden":m(),"aria-disabled":h(),"aria-readonly":g(),"aria-required":_(),"aria-invalid":v(),oninputcapture:w}),void 0,void 0,void 0,`svelte-9nxrkh`,!0),Rs(te,e=>i(e),()=>i()),Wo(te,()=>qu(o()));var ne=L(te,2),re=e=>{var t=Tp();let i;Yu(F(t),{children:(e,t)=>{pt();var n=Aa();R(()=>U(n,y())),H(e,n)},$$slots:{default:!0}}),D(t),R(()=>{K(t,`id`,`${n}-label`),i=ns(t,1,`label svelte-9nxrkh`,null,i,{hidden:!!r()})}),H(e,t)};W(ne,e=>{y()&&l()&&e(re)}),D(T),R(()=>{ee=ns(T,1,`sui text-input ${t.class??``}`,`svelte-9nxrkh`,ee,{flex:d(),monospace:f(),disabled:h(),readonly:g()}),K(T,`hidden`,m()),te.dir=te.dir}),H(e,T),k()}var wp,Tp,Ep,Dp;function Op(){return(Op=o((()=>{Y(),J(),Ju(),Qu(),wp=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`element`,`role`,`keyShortcuts`,`dir`,`name`,`showInlineLabel`,`inputmode`,`flex`,`monospace`,`debounce`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`ariaLabel`,`children`,`oninput`]),Tp=B(`<span aria-hidden="true"><!></span>`),Ep=B(`<div role="none"><input/> <!></div>`),Dp={hash:`svelte-9nxrkh`,code:`.text-input.svelte-9nxrkh {display:inline-flex;align-items:center;position:relative;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-singleline-min-width);}.text-input.flex.svelte-9nxrkh:not([hidden]) {display:inline-flex;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}.text-input.monospace.svelte-9nxrkh {--sui-textbox-font-family: var(--sui-font-family-monospace, monospace);}input.svelte-9nxrkh:is(:where(.svelte-9nxrkh):-webkit-autofill, :where(.svelte-9nxrkh):-webkit-autofill:focus) {transition:background-color 0s 600000s, color 0s 600000s;}input.svelte-9nxrkh {display:inline-block;flex:auto;border-width:var(--sui-textbox-border-width, 1px);border-color:var(--sui-textbox-border-color);border-radius:var(--sui-textbox-border-radius);padding:var(--sui-textbox-singleline-padding);min-width:0;height:var(--sui-textbox-height);color:var(--sui-textbox-foreground-color);background-color:var(--sui-textbox-background-color);font-family:var(--sui-textbox-font-family);font-size:var(--sui-textbox-font-size);line-height:var(--sui-textbox-singleline-line-height);font-weight:var(--sui-textbox-font-weight, var(--sui-font-weight-normal, normal));text-align:var(--sui-textbox-text-align, start);text-indent:var(--sui-textbox-text-indent, 0);text-transform:var(--sui-textbox-text-transform, none);letter-spacing:var(--sui-textbox-letter-spacing, normal);word-spacing:var(--sui-word-spacing-normal, normal);transition:all 200ms;}input.svelte-9nxrkh:focus {color:var(--sui-textbox-foreground-color-focus, var(--sui-textbox-foreground-color));background-color:var(--sui-textbox-background-color-focus, var(--sui-textbox-background-color));}input.svelte-9nxrkh:read-only {color:var(--sui-tertiary-foreground-color);border-color:var(--sui-textbox-border-color) !important;}input.svelte-9nxrkh:is(:where(.svelte-9nxrkh):disabled, :where(.svelte-9nxrkh):read-only) {background-color:var(--sui-disabled-background-color);}input[aria-invalid=true].svelte-9nxrkh {border-color:var(--sui-error-border-color);}input.svelte-9nxrkh ~ button {flex:none;margin-inline-start:-1px;border-width:1px;border-color:var(--sui-textbox-border-color);height:var(--sui-textbox-height);aspect-ratio:1/1;}input.svelte-9nxrkh ~ button:last-child {border-start-start-radius:0;border-start-end-radius:4px;border-end-end-radius:4px;border-end-start-radius:0;}input.svelte-9nxrkh ~ button .icon {font-size:var(--sui-font-size-xx-large);}.label.svelte-9nxrkh {position:absolute;inset:var(--sui-textbox-singleline-padding);z-index:2;display:flex;align-items:center;justify-content:var(--sui-textbox-placeholder-text-align, var(--sui-textbox-text-align, start));pointer-events:none;}.label.hidden.svelte-9nxrkh {opacity:0;}input.svelte-9nxrkh:focus + .label:where(.svelte-9nxrkh) {opacity:0;}input.svelte-9nxrkh::placeholder,
|
|
36
|
+
.label.svelte-9nxrkh {color:var(--sui-textbox-placeholder-foreground-color, var(--sui-textbox-foreground-color));opacity:var(--sui-textbox-placeholder-opacity, 0.5);font-family:var(--sui-textbox-placeholder-font-family, var(--sui-textbox-font-family));font-size:var(--sui-textbox-placeholder-font-size, var(--sui-textbox-font-size));line-height:var(--sui-textbox-placeholder-singleline-line-height, var(--sui-textbox-singleline-line-height));font-weight:var(--sui-textbox-placeholder-font-weight, var(--sui-textbox-font-weight, var(--sui-font-weight-normal, normal)));text-align:var(--sui-textbox-placeholder-text-align, var(--sui-textbox-text-align, start));text-indent:var(--sui-textbox-placeholder-text-indent, var(--sui-textbox-text-indent, 0));letter-spacing:var(--sui-textbox-placeholder-letter-spacing, var(--sui-textbox-letter-spacing, normal));}`}})))()}function kp(e,t){O(t,!0),G(e,Mp);let n=q(t,`open`,15,!1),r=q(t,`value`,15,``),i=q(t,`textboxAttrs`,19,()=>({})),a=Gs(t,Ap);cp(e,Ks(()=>a,{role:`alertdialog`,get open(){return n()},set open(e){n(e)},children:(e,n)=>{var a=jp(),o=I(a);bo(o,()=>t.children??E);var s=L(o,2),c=F(s),l=e=>{var n=V();bo(I(n),()=>t.input),H(e,n)},u=e=>{Cp(e,Ks({dir:`auto`,flex:!0,autofocus:!0},i,{get onkeydown(){return t.onkeydown},get onkeyup(){return t.onkeyup},get onkeypress(){return t.onkeypress},get oninput(){return t.oninput},get value(){return r()},set value(e){r(e)}}))};W(c,e=>{t.input?e(l):e(u,-1)}),D(s),H(e,a)},$$slots:{default:!0}})),k()}var Ap,jp,Mp;function Np(){return(Np=o((()=>{Y(),J(),Op(),gp(),Ap=new Set([`$$slots`,`$$events`,`$$legacy`,`open`,`value`,`textboxAttrs`,`children`,`input`,`onkeydown`,`onkeyup`,`onkeypress`,`oninput`]),jp=B(`<!> <div class="input-outer svelte-twmj12"><!></div>`,1),Mp={hash:`svelte-twmj12`,code:`.input-outer.svelte-twmj12 {margin:12px 0 0;}`}})))()}function Pp(e,t){O(t,!0);let n=q(t,`accept`,3,void 0),r=q(t,`multiple`,3,!1),i=q(t,`onSelect`,3,void 0),a=q(t,`onCancel`,3,void 0),o=N(void 0);var s={open:()=>{z(o)?.click()}},c=see();return Rs(c,e=>P(o,e),()=>z(o)),R(()=>{K(c,`accept`,n()),c.multiple=r()}),_a(`change`,c,({target:e})=>{let t=[...e.files];i()?.({files:t,file:t[0]})}),ga(`cancel`,c,e=>{e.stopPropagation(),a()?.()}),H(e,c),k(s)}var see;function Fp(){return(Fp=o((()=>{Y(),J(),see=B(`<input class="sui file-picker" type="file" hidden=""/>`),va([`change`])})))()}function Ip(e,t){let n=ja();G(e,dee);let r=q(t,`label`,3,``),i=Gs(t,cee);var a=uee();ms(a,()=>({...i,role:`rowgroup`,class:`sui grid-body row-group ${t.class??``}`,"aria-labelledby":r()?`${n}-label`:void 0,"aria-roledescription":`grid body`}),void 0,void 0,void 0,`svelte-b90hsk`);var o=F(a),s=e=>{var t=lee();Ro(F(t),()=>`th`,!1,(e,t)=>{ms(e,()=>({role:`columnheader`,id:`${n}-label`,colspan:`9999`,class:``}),void 0,void 0,void 0,`svelte-b90hsk`);var i=Aa();R(()=>U(i,r())),H(t,i)}),D(t),H(e,t)};W(o,e=>{r()&&e(s)}),bo(L(o,2),()=>t.children??E),D(a),H(e,a)}var cee,lee,uee,dee;function Lp(){return(Lp=o((()=>{Y(),J(),cee=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`label`,`children`]),lee=B(`<div role="row" class="row-group-caption svelte-b90hsk"><!></div>`),uee=B(`<div><!> <!></div>`),dee={hash:`svelte-b90hsk`,code:`[role=rowgroup].svelte-b90hsk {display:table-row-group;}[role=row].svelte-b90hsk {display:table-row;}[role=columnheader].svelte-b90hsk {display:table-cell;padding:8px;color:var(--sui-secondary-foreground-color);background-color:var(--sui-secondary-background-color);font-size:var(--sui-font-size-default);text-align:start;}`}})))()}function Rp(e,t){G(e,mee);let n=Gs(t,fee);var r=pee();ms(r,()=>({...n,role:`gridcell`,class:`sui grid-cell ${t.class??``}`}),void 0,void 0,void 0,`svelte-18laddk`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var fee,pee,mee;function zp(){return(zp=o((()=>{Y(),J(),fee=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),pee=B(`<div><!></div>`),mee={hash:`svelte-18laddk`,code:`.grid-cell.svelte-18laddk {display:table-cell;}`}})))()}function Bp(e,t){G(e,Vp);let n=q(t,`selected`,3,!1),r=Gs(t,hee);var i=gee();ms(i,()=>({...r,role:`row`,class:`sui grid-row ${t.class??``}`,tabindex:`0`,"aria-selected":n()}),void 0,void 0,void 0,`svelte-1b5dkc0`),bo(F(i),()=>t.children??E),D(i),H(e,i)}var hee,gee,Vp;function Hp(){return(Hp=o((()=>{Y(),J(),hee=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`selected`,`children`]),gee=B(`<div><!></div>`),Vp={hash:`svelte-1b5dkc0`,code:`.grid-row.svelte-1b5dkc0 {display:table-row;height:var(--sui-primary-row-height);}`}})))()}function _ee(e,t){O(t,!0),G(e,Wp);let n=q(t,`element`,15),r=q(t,`multiple`,3,!1),i=q(t,`clickToSelect`,3,!0),a=q(t,`ariaLabel`,3,void 0),o=Gs(t,vee);var s=Up(),c=e=>{t.onChange?.(e)};ms(s,()=>({...o,role:`grid`,class:`sui grid ${t.class??``}`,"aria-multiselectable":r(),"aria-label":a(),onChange:c}),void 0,void 0,void 0,`svelte-17zondp`),bo(F(s),()=>t.children??E),D(s),Rs(s,e=>n(e),()=>n()),Wo(s,()=>Sf({clickToSelect:i()})),H(e,s),k()}var vee,Up,Wp;function Gp(){return(Gp=o((()=>{Y(),J(),Cf(),vee=new Set([`$$slots`,`$$events`,`$$legacy`,`element`,`class`,`multiple`,`clickToSelect`,`ariaLabel`,`children`,`onChange`]),Up=B(`<div><!></div>`),Wp={hash:`svelte-17zondp`,code:`.grid.svelte-17zondp {display:table;margin:var(--sui-focus-ring-width);width:calc(100% - var(--sui-focus-ring-width) * 2);}.grid.data.svelte-17zondp {border-collapse:collapse;}.grid.data.svelte-17zondp :is(.grid-col-header, .grid-row-header, .grid-cell) {border:1px solid var(--sui-secondary-border-color);padding:8px 8px;}`}})))()}function Kp(e,t){O(t,!0),G(e,xee);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`readonly`,3,!1),a=q(t,`required`,3,!1),o=q(t,`invalid`,3,!1),s=q(t,`multiple`,3,!1),c=q(t,`searchTerms`,3,``),l=q(t,`ariaLabel`,3,void 0),u=Gs(t,yee),d=N(!1);var f=bee(),p=e=>{let{detail:{matched:n,total:r}}=e;P(d,n!==r),t.onFilter?.(e)};ms(f,()=>({...u,role:`listbox`,class:`sui listbox ${t.class??``}`,tabindex:r()?-1:0,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-readonly":i(),"aria-required":a(),"aria-invalid":o(),"aria-multiselectable":s(),"aria-label":l(),onFilter:p,[_s]:{filtered:z(d)}}),void 0,void 0,void 0,`svelte-18kjbmj`);var m=F(f);bo(F(m),()=>t.children??E),D(m),D(f),Wo(f,()=>Sf(()=>({searchTerms:c()}))),R(()=>m.inert=r()),H(e,f),k()}var yee,bee,xee;function qp(){return(qp=o((()=>{Y(),J(),Cf(),yee=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`multiple`,`searchTerms`,`ariaLabel`,`children`,`onFilter`]),bee=B(`<div><div role="none" class="inner svelte-18kjbmj"><!></div></div>`),xee={hash:`svelte-18kjbmj`,code:`[role=listbox].svelte-18kjbmj {display:flex;flex-direction:column;margin:var(--sui-focus-ring-width);border-width:var(--sui-listbox-border-width, 1px);border-style:var(--sui-listbox-border-style, solid);border-color:var(--sui-listbox-border-width, var(--sui-secondary-border-color));border-radius:var(--sui-listbox-border-radius, 4px);padding:var(--sui-listbox-padding, 4px);min-width:var(--sui-listbox-min-width, calc(var(--sui-option-height) * 5));color:var(--sui-listbox-foreground-color);background-color:var(--sui-listbox-background-color);font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);}
|
|
37
|
+
@media (pointer: coarse) {[role=listbox].svelte-18kjbmj {gap:8px 0;}
|
|
38
|
+
}[role=listbox].svelte-18kjbmj [role=separator] {margin:4px 0;background-color:var(--sui-control-border-color);}[role=listbox][aria-invalid=true].svelte-18kjbmj {border-color:var(--sui-error-border-color);}[role=listbox].tabs.svelte-18kjbmj {padding:0;border-block-start-width:0;border-block-end-width:0;border-inline-end-width:1px;border-inline-start-width:0;border-color:var(--sui-control-border-color);}[role=listbox].tabs.svelte-18kjbmj .option button {justify-content:flex-start;border-width:0;border-inline-end-width:2px;border-color:transparent;padding:0 12px;border-start-end-radius:0;border-end-end-radius:0;height:var(--sui-tab-medium-height);}[role=listbox].tabs.svelte-18kjbmj .option button[aria-selected=true] {border-color:var(--sui-primary-accent-color-light);}[role=listbox].tabs.svelte-18kjbmj .option button .icon {display:none;}[role=listbox].in-combobox.svelte-18kjbmj:focus-visible {outline-color:transparent;}[role=listbox].filtered.svelte-18kjbmj [role=separator] {display:none;}.inner.svelte-18kjbmj {display:contents;}`}})))()}function Jp(e,t){let n=ja();G(e,wee);let r=q(t,`hidden`,3,!1),i=q(t,`disabled`,3,!1),a=q(t,`label`,3,``),o=Gs(t,See);var s=Cee();ms(s,()=>({...o,role:`group`,id:n,class:`sui option-group ${t.class??``}`,hidden:r(),"aria-hidden":r(),"aria-disabled":i(),"aria-labelledby":`${n}-label`,"aria-roledescription":`option group`}),void 0,void 0,void 0,`svelte-1j6k7ub`);var c=F(s);Yu(F(c),{children:(e,t)=>{pt();var n=Aa();R(()=>U(n,a())),H(e,n)},$$slots:{default:!0}}),D(c);var l=L(c,2);bo(F(l),()=>t.children??E),D(l),D(s),R(()=>{K(c,`id`,`${n}-label`),l.inert=i()}),H(e,s)}var See,Cee,wee;function Yp(){return(Yp=o((()=>{Y(),J(),Qu(),See=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`label`,`children`]),Cee=B(`<div><div role="none" class="label svelte-1j6k7ub"><!></div> <div role="none" class="inner svelte-1j6k7ub"><!></div></div>`),wee={hash:`svelte-1j6k7ub`,code:`.option-group.svelte-1j6k7ub:not(:first-child) {margin:12px 0 0;}.label.svelte-1j6k7ub {margin:8px;color:var(--sui-secondary-foreground-color);font-size:var(--sui-font-size-small);}.inner.svelte-1j6k7ub {display:contents;}`}})))()}function Xp(e,t){O(t,!0),G(e,$p);let n=q(t,`selected`,15,!1),r=q(t,`hidden`,15,!1),i=q(t,`disabled`,3,!1),a=q(t,`value`,19,()=>t.label),o=q(t,`searchValue`,19,()=>t.label),s=q(t,`wrap`,3,!1),c=Gs(t,Tee),l=ff();l&&nc(l.register({get value(){return a()},get label(){return t.label},get name(){return t.name},get type(){return t.valueType??typeof a()},get selected(){return n()},set selected(e){n(e)},get disabled(){return i()}}));let u=M(()=>!l||l.expanded);var d=V(),f=I(d),p=e=>{var l=Qp();let u;Id(F(l),Ks(()=>c,{role:`option`,tabindex:`-1`,get"aria-selected"(){return n()},get label(){return t.label},get value(){return a()},get hidden(){return r()},get disabled(){return i()},get"data-search-value"(){return o()},onChange:e=>{n(e.detail.selected),t.onChange?.(e)},onToggle:e=>{r(e.detail.hidden),r()&&n(!1),t.onToggle?.(e)},startIcon:e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},children:(e,r)=>{var i=Zp(),a=I(i),o=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.checkIcon),H(e,n)},a=e=>{ac(e,{class:`check`,name:`check`})};W(r,e=>{t.checkIcon?e(i):e(a,-1)}),H(e,n)};W(a,e=>{n()&&e(o)}),bo(L(a,2),()=>t.children??E),H(e,i)},$$slots:{startIcon:!0,default:!0}})),D(l),R(()=>{u=ns(l,1,`sui option ${t.class??``}`,`svelte-13o4vv9`,u,{wrap:s()}),K(l,`hidden`,r())}),H(e,l)};W(f,e=>{z(u)&&e(p)}),H(e,d),k()}var Tee,Zp,Qp,$p;function em(){return(em=o((()=>{Y(),J(),ic(),mf(),Hd(),lc(),Tee=new Set([`$$slots`,`$$events`,`$$legacy`,`selected`,`hidden`,`class`,`disabled`,`label`,`value`,`searchValue`,`wrap`,`children`,`checkIcon`,`startIcon`,`onChange`,`onToggle`]),Zp=B(`<!> <!>`,1),Qp=B(`<div role="none"><!></div>`),$p={hash:`svelte-13o4vv9`,code:`.option.svelte-13o4vv9 {display:contents;}.option.svelte-13o4vv9:focus-visible {outline-width:0 !important;}.option.svelte-13o4vv9 .wrap button {white-space:normal;}.option.svelte-13o4vv9 button {flex:none;display:flex;gap:4px;margin:0 !important;border-radius:var(--sui-option-border-radius);padding:var(--sui-option-padding);width:100%;height:auto;min-height:var(--sui-option-height);}.option.svelte-13o4vv9 button:active {background-color:var(--sui-active-background-color);}.option.svelte-13o4vv9 button[aria-selected=true] .icon.check {color:var(--sui-primary-accent-color-text);}.option.svelte-13o4vv9 button * {flex:none;}.option.svelte-13o4vv9 button .label {flex:auto;}.option.svelte-13o4vv9 :is(.focused, button:hover) {color:var(--sui-highlight-foreground-color);background-color:var(--sui-hover-background-color);}.option.svelte-13o4vv9 .icon.check {margin:-2px;}`}})))()}function tm(e,t){O(t,!0),G(e,im);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`ariaLabel`,3,void 0),a=Gs(t,nm);var o=rm(),s=e=>{t.onChange?.(e)};ms(o,()=>({...a,role:`menu`,class:`sui menu ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-label":i(),onChange:s}),void 0,void 0,void 0,`svelte-ods4kv`),bo(F(o),()=>t.children??E),D(o),Wo(o,Sf),H(e,o),k()}var nm,rm,im;function am(){return(am=o((()=>{Y(),J(),Cf(),nm=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`ariaLabel`,`children`,`onChange`]),rm=B(`<div><!></div>`),im={hash:`svelte-ods4kv`,code:`.menu.svelte-ods4kv {display:flex;flex-direction:column;margin:0;border-width:var(--sui-menu-border-width, 1px);border-style:var(--sui-menu-border-style, solid);border-color:var(--sui-menu-border-width, var(--sui-secondary-border-color));border-radius:var(--sui-menu-border-radius, 4px);padding:var(--sui-menu-padding, 4px);}
|
|
39
|
+
@media (pointer: coarse) {.menu.svelte-ods4kv {gap:8px 0;}
|
|
40
|
+
}.menu.svelte-ods4kv [role=separator] {margin:var(--sui-menu-divider-margin, 4px);background-color:var(--sui-menu-divider-color, var(--sui-control-border-color));}`}})))()}function om(e,t){O(t,!0),G(e,dm);let n=q(t,`role`,3,`menuitem`),r=q(t,`hidden`,3,!1),i=q(t,`disabled`,3,!1),a=q(t,`label`,3,``),o=q(t,`popupPosition`,3,`right-top`),s=Gs(t,sm),c=N(!1),l=N(!1),u=N(void 0),d=N(void 0),f=M(()=>n()===`menuitem`&&!!t.items);tc(()=>{P(d,z(u)?.closest(`dialog`)??void 0,!0)});var p=um(),m=F(p);{let e=e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},o=e=>{var n=lm(),r=I(n);let i;var o=F(r),s=e=>{var t=Aa();R(()=>U(t,a())),H(e,t)},c=e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)};W(o,e=>{a()?e(s):e(c,-1)}),D(r);var l=L(r,2),u=e=>{var n=cm(),r=F(n),i=e=>{var n=V();bo(I(n),()=>t.chevronIcon),H(e,n)},a=e=>{{let t=M(()=>ku()?`chevron_left`:`chevron_right`);ac(e,{get name(){return z(t)}})}};W(r,e=>{t.chevronIcon?e(i):e(a,-1)}),D(n),H(e,n)};W(l,e=>{z(f)&&e(u)}),R(()=>i=ns(r,1,`content svelte-q1h493`,null,i,{label:!!a()})),H(e,n)},d=e=>{var n=V();bo(I(n),()=>t.endIcon??E),H(e,n)},p=M(()=>z(f)?`menu`:void 0),h=M(()=>z(f)?z(c):void 0);Id(m,Ks(()=>s,{get role(){return n()},get hidden(){return r()},get disabled(){return i()},get"aria-haspopup"(){return z(p)},get"aria-expanded"(){return z(h)},onmouseenter:e=>{z(f)&&window.setTimeout(()=>{P(c,!0)},200),t.onmouseenter?.(e)},onmouseleave:e=>{z(f)&&window.setTimeout(()=>{z(l)||P(c,!1)},200),t.onmouseleave?.(e)},onclick:e=>{z(f)&&(e.preventDefault(),e.stopPropagation(),P(c,!z(c))),t.onclick?.(e)},get onChange(){return t.onChange},get onSelect(){return t.onSelect},get element(){return z(u)},set element(e){P(u,e,!0)},startIcon:e,children:o,endIcon:d,$$slots:{startIcon:!0,default:!0,endIcon:!0}}))}var h=L(m,2),g=e=>{jd(e,{get anchor(){return z(u)},get parentDialogElement(){return z(d)},get position(){return o()},get open(){return z(c)},set open(e){P(c,e,!0)},get hovered(){return z(l)},set hovered(e){P(l,e,!0)},children:(e,n)=>{tm(e,{children:(e,n)=>{var r=V();bo(I(r),()=>t.items??E),H(e,r)},$$slots:{default:!0}})},$$slots:{default:!0}})};W(h,e=>{z(f)&&z(u)&&z(d)&&e(g)}),D(p),R(()=>{ns(p,1,`sui menuitem ${t.class??``}`,`svelte-q1h493`),K(p,`hidden`,r())}),H(e,p),k()}var sm,cm,lm,um,dm;function fm(){return(fm=o((()=>{Y(),J(),Z(),ic(),Hd(),lc(),Fd(),am(),sm=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`role`,`hidden`,`disabled`,`label`,`popupPosition`,`children`,`startIcon`,`endIcon`,`chevronIcon`,`items`,`onmouseenter`,`onmouseleave`,`onclick`,`onChange`,`onSelect`]),cm=B(`<span role="none" class="icon-outer svelte-q1h493"><!></span>`),lm=B(`<div role="none"><!></div> <!>`,1),um=B(`<div role="none"><!> <!></div>`),dm={hash:`svelte-q1h493`,code:`.menuitem.svelte-q1h493 {position:relative;}.menuitem.svelte-q1h493 button {display:flex;gap:var(--sui-menuitem-gap, 4px);align-items:var(--sui-menuitem-align-items, center);border-radius:var(--sui-menuitem-border-radius, var(--sui-option-border-radius, 4px));margin:0 !important;padding:var(--sui-menuitem-padding, 0 16px);width:100%;min-width:var(--sui-menuitem-min-width, 160px);height:var(--sui-menuitem-height, var(--sui-option-height));color:var(--sui-menuitem-foreground-color, var(--sui-control-foreground-color, inherit));background-color:var(--sui-menuitem-background-color, transparent);font-size:var(--sui-menuitem-font-size, var(--sui-option-font-size));font-weight:var(--sui-menuitem-font-weight, var(--sui-option-font-weight, var(--sui-font-weight-normal, normal)));}.menuitem.svelte-q1h493 button[aria-checked=true] .icon {color:var(--sui-primary-accent-color-text);}.menuitem.svelte-q1h493 button:hover {color:var(--sui-highlight-foreground-color);background-color:var(--sui-hover-background-color);}.menuitem.svelte-q1h493 button:active {background-color:var(--sui-active-background-color);}.menuitem.svelte-q1h493 :hover > [role=menu] {opacity:1;}.menuitem.svelte-q1h493 > [role=menu] {position:absolute;inset-block-start:2px;inset-block-end:auto;inset-inline-start:calc(100% + 4px);inset-inline-end:auto;}.menuitem.svelte-q1h493 > [role=menu]:hover {opacity:1;}.content.svelte-q1h493 {flex:auto;}.icon-outer.svelte-q1h493 {flex:none;width:24px;height:24px;}`}})))()}function pm(e,t){O(t,!0);let n=q(t,`checked`,15),r=q(t,`hidden`,3,!1),i=q(t,`disabled`,3,!1),a=q(t,`label`,3,``),o=Gs(t,mm);om(e,Ks(()=>o,{role:`menuitemcheckbox`,get class(){return`sui menu-item-checkbox ${t.class??``}`},get label(){return a()},get hidden(){return r()},get disabled(){return i()},get"aria-checked"(){return n()},onChange:e=>{t.onChange?.(e),n(e.detail.checked)},startIcon:e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},children:e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},endIcon:e=>{var t=V(),r=I(t),i=e=>{ac(e,{name:`check`})};W(r,e=>{n()&&e(i)}),H(e,t)},$$slots:{startIcon:!0,default:!0,endIcon:!0}})),k()}var mm;function hm(){return(hm=o((()=>{Y(),J(),lc(),fm(),mm=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`class`,`hidden`,`disabled`,`label`,`children`,`startIcon`,`onChange`])})))()}function gm(e,t){O(t,!0);let n=q(t,`checked`,15),r=q(t,`hidden`,3,!1),i=q(t,`disabled`,3,!1),a=q(t,`label`,3,``),o=Gs(t,_m);om(e,Ks(()=>o,{role:`menuitemradio`,get class(){return`sui menu-item-radio ${t.class??``}`},get label(){return a()},get hidden(){return r()},get disabled(){return i()},get"aria-checked"(){return n()},onChange:e=>{t.onChange?.(e),n(e.detail.checked)},startIcon:e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},children:e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},endIcon:e=>{var t=V(),r=I(t),i=e=>{ac(e,{name:`check`})};W(r,e=>{n()&&e(i)}),H(e,t)},$$slots:{startIcon:!0,default:!0,endIcon:!0}})),k()}var _m;function vm(){return(vm=o((()=>{Y(),J(),lc(),fm(),_m=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`class`,`hidden`,`disabled`,`label`,`children`,`startIcon`,`onChange`])})))()}function Eee(e,t){G(e,kee);let n=q(t,`now`,3,0),r=q(t,`min`,3,0),i=q(t,`max`,3,100),a=q(t,`ariaLabel`,3,void 0),o=Gs(t,Dee);var s=Oee();ms(s,()=>({...o,role:`progressbar`,class:`sui progressbar ${t.class??``}`,"aria-valuenow":n(),"aria-valuemin":r(),"aria-valuemax":i(),"aria-valuetext":t.text,"aria-label":a()}),void 0,void 0,void 0,`svelte-1hfu7dn`);var c=F(s);let l;D(s),R(()=>l=as(c,``,l,{width:`${n()??``}%`})),H(e,s)}var Dee,Oee,kee;function Aee(){return(Aee=o((()=>{Y(),J(),Dee=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`now`,`min`,`max`,`text`,`ariaLabel`]),Oee=B(`<div><div role="none" class="svelte-1hfu7dn"></div></div>`),kee={hash:`svelte-1hfu7dn`,code:`.progressbar.svelte-1hfu7dn {overflow:hidden;border-width:var(--sui-progressbar-border-width, 1px);border-style:var(--sui-progressbar-border-style, solid);border-color:var(--sui-progressbar-border-color, var(--sui-control-border-color));border-radius:var(--sui-progressbar-border-radius, 16px);width:var(--sui-progressbar-width, 240px);height:var(--sui-progressbar-height, 10px);background-color:var(--sui-progressbar-background-color, var(--sui-secondary-background-color));}.progressbar.svelte-1hfu7dn div:where(.svelte-1hfu7dn) {height:100%;background-color:var(--sui-progressbar-foreground-color, var(--sui-primary-accent-color-light));transition:width 250ms;}`}})))()}function jee(e,t){O(t,!0),G(e,Pee);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`readonly`,3,!1),a=q(t,`required`,3,!1),o=q(t,`invalid`,3,!1),s=q(t,`orientation`,3,`horizontal`),c=q(t,`ariaLabel`,3,void 0),l=Gs(t,Mee);var u=Nee(),d=e=>{t.onChange?.(e)};ms(u,()=>({...l,role:`radiogroup`,class:`sui radio-group ${t.class??``} ${s()??``}`,tabindex:`-1`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-readonly":i(),"aria-required":a(),"aria-invalid":o(),"aria-orientation":s(),"aria-label":c(),onChange:d}),void 0,void 0,void 0,`svelte-h2ycpt`);var f=F(u);bo(F(f),()=>t.children??E),D(f),D(u),Wo(u,Sf),R(()=>f.inert=r()),H(e,u),k()}var Mee,Nee,Pee;function ym(){return(ym=o((()=>{Y(),J(),Cf(),Mee=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`orientation`,`ariaLabel`,`children`,`onChange`]),Nee=B(`<div><div role="none" class="inner svelte-h2ycpt"><!></div></div>`),Pee={hash:`svelte-h2ycpt`,code:`.radio-group.svelte-h2ycpt {display:inline-flex;}.radio-group.svelte-h2ycpt:focus-visible {outline-width:0 !important;}.radio-group.horizontal.svelte-h2ycpt {gap:8px;align-items:center;flex-wrap:wrap;}.radio-group.vertical.svelte-h2ycpt {gap:4px;flex-direction:column;}
|
|
41
|
+
@media (pointer: coarse) {.radio-group.vertical.svelte-h2ycpt {gap:8px;}
|
|
42
|
+
}.radio-group.svelte-h2ycpt [aria-invalid=true] button {border-color:var(--sui-error-border-color);}.radio-group.svelte-h2ycpt [aria-invalid=true] button[aria-checked=true] {border-color:var(--sui-error-border-color);}.radio-group.svelte-h2ycpt [aria-invalid=true] button[aria-checked=true]::before {background-color:var(--sui-error-border-color);}.inner.svelte-h2ycpt {display:contents;}`}})))()}function bm(e,t){let n=ja();O(t,!0),G(e,Ree);let r=q(t,`checked`,7,!1),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`name`,3,void 0),s=q(t,`value`,3,void 0),c=q(t,`valueType`,3,void 0),l=q(t,`label`,3,void 0),u=q(t,`group`,15),d=Gs(t,Fee),f=N(void 0);Yr(()=>{typeof u()==`string`&&(u()===s()?r()||r(!0):r()&&r(!1))});var p=Lee(),m=e=>{e.target.matches(`button`)||z(f)?.click()};ms(p,()=>({...d,role:`none`,class:`sui radio ${t.class??``}`,hidden:i(),onclick:m,[_s]:{disabled:a()}}),void 0,void 0,void 0,`svelte-1bqy0on`);var h=F(p);Id(h,{role:`radio`,get id(){return n},get hidden(){return i()},get disabled(){return a()},get name(){return o()},get value(){return s()},get valueType(){return c()},get"aria-checked"(){return r()},get"aria-labelledby"(){return`${n}-label`},onclick:e=>{e.preventDefault(),!(a()||r())&&(r(!0),typeof u()==`string`&&u(s()))},get onChange(){return t.onChange},get onSelect(){return t.onSelect},get element(){return z(f)},set element(e){P(f,e,!0)}});var g=L(h,2),_=e=>{var r=Iee(),i=F(r),a=e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},o=e=>{var t=Aa();R(()=>U(t,l())),H(e,t)};W(i,e=>{t.children?e(a):e(o,-1)}),D(r),R(()=>K(r,`id`,`${n}-label`)),H(e,r)};W(g,e=>{(t.children||l())&&e(_)}),D(p),H(e,p),k()}var Fee,Iee,Lee,Ree;function xm(){return(xm=o((()=>{Y(),J(),Hd(),Fee=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`class`,`hidden`,`disabled`,`name`,`value`,`valueType`,`label`,`group`,`children`,`onChange`,`onSelect`]),Iee=B(`<label class="svelte-1bqy0on"><!></label>`),Lee=B(`<span><!> <!></span>`),Ree={hash:`svelte-1bqy0on`,code:`.radio.svelte-1bqy0on {display:inline-flex;align-items:center;gap:8px;margin:var(--sui-focus-ring-width);color:var(--sui-control-foreground-color);font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;}.radio.svelte-1bqy0on :hover button {background-color:var(--sui-hover-background-color);}.radio.svelte-1bqy0on :hover button[aria-checked=true] {border-color:var(--sui-primary-accent-color-light);color:var(--sui-primary-accent-color-text);}.radio.svelte-1bqy0on :hover button[aria-checked=true]::before {background-color:var(--sui-primary-accent-color-light);}.radio.svelte-1bqy0on :active button {background-color:var(--sui-active-background-color);}.radio.svelte-1bqy0on :active button[aria-checked=true] {border-color:var(--sui-primary-accent-color-dark);color:var(--sui-primary-accent-color-dark);}.radio.svelte-1bqy0on button {flex:none;justify-content:center;overflow:hidden;margin:0 !important;border-width:1.5px;border-color:var(--sui-checkbox-border-color);border-radius:var(--sui-checkbox-height);padding:0;width:var(--sui-checkbox-height);height:var(--sui-checkbox-height);background-color:var(--sui-checkbox-background-color);transition:all 200ms;}.radio.svelte-1bqy0on button::before {content:"";border-radius:var(--sui-checkbox-height);width:calc(var(--sui-checkbox-height) - 7px);height:calc(var(--sui-checkbox-height) - 7px);background-color:var(--sui-primary-accent-color);opacity:0;transition:all 200ms;will-change:opacity;}.radio.svelte-1bqy0on button[aria-checked=true] {border-color:var(--sui-primary-accent-color);}.radio.svelte-1bqy0on button[aria-checked=true]::before {opacity:1;}.radio.svelte-1bqy0on label:where(.svelte-1bqy0on) {cursor:inherit;}`}})))()}function zee(e,t){O(t,!0),G(e,Uee);let n=q(t,`disabled`,3,!1),r=q(t,`showHandleBar`,3,!1),i=q(t,`ariaLabel`,3,void 0),a=Gs(t,Bee),o=Nt(`paneGroup`);if(!o)throw Error(`<ResizableHandle> must be used inside a <ResizablePaneGroup>`);let s=o.registerHandle(),c=M(()=>o.direction===`horizontal`),l=M(()=>o.sizes),u=M(()=>z(l)[s]??0),d=M(()=>o.getPaneConstraints(s)),f=M(()=>Math.max(z(d).minSize,100-o.paneDefs.reduce((e,t,n)=>e+(n===s?0:o.getPaneConstraints(n).maxSize),0))),p=M(()=>Math.min(z(d).maxSize,100-o.paneDefs.reduce((e,t,n)=>e+(n===s?0:o.getPaneConstraints(n).minSize),0))),m=N(void 0),h=N(!1),g=N(0),_=N(0),v=N(!1),y=()=>{let e=z(m)?.closest(`.resizable-pane-group`);return e?z(c)?e.clientWidth:e.clientHeight:0},b=e=>{let{screenX:t,screenY:r,pointerId:i}=e;if(n()||!z(h)||i!==z(_))return;e.preventDefault(),e.stopPropagation();let a=z(c)?t:r,l=a-z(g),u=y();if(!u)return;let d=l/u*100;z(c)&&ku()&&(d=-d),P(g,a,!0),o.resize(s,d)},x=e=>{let{pointerId:n}=e;!z(h)||n!==z(_)||(z(m)?.releasePointerCapture(n),P(h,!1),P(g,0),P(_,0),t.onResizeEnd?.(),document.removeEventListener(`pointermove`,b),document.removeEventListener(`pointerup`,x),document.removeEventListener(`pointercancel`,x))},S=e=>{if(n())return;e.preventDefault(),e.stopPropagation();let{screenX:r,screenY:i,pointerId:a}=e;P(h,!0),P(g,z(c)?r:i,!0),P(_,a,!0),z(m)?.setPointerCapture(a),t.onResizeStart?.(),document.addEventListener(`pointermove`,b),document.addEventListener(`pointerup`,x),document.addEventListener(`pointercancel`,x)},C=e=>{if(n())return;let{key:r,shiftKey:i}=e,a=i?10:1,l=0;if(r===`Enter`){e.preventDefault(),e.stopPropagation(),o.toggleCollapse(s);return}if(r===`Home`){e.preventDefault(),e.stopPropagation(),o.resize(s,-100);return}if(r===`End`){e.preventDefault(),e.stopPropagation(),o.resize(s,100);return}if(z(c)){let e=ku();if(r===`ArrowLeft`)l=e?a:-a;else if(r===`ArrowRight`)l=e?-a:a;else return}else if(r===`ArrowUp`)l=-a;else if(r===`ArrowDown`)l=a;else return;e.preventDefault(),e.stopPropagation(),z(v)||(P(v,!0),t.onResizeStart?.()),o.resize(s,l)},w=()=>{z(v)&&(P(v,!1),t.onResizeEnd?.())};var T=Hee();ms(T,e=>({...a,role:`separator`,tabindex:n()?-1:0,"aria-orientation":z(c)?`vertical`:`horizontal`,"aria-valuenow":e,"aria-valuemin":z(f),"aria-valuemax":z(p),"aria-controls":o.paneDefs[s]?.id,"aria-disabled":n()||void 0,"aria-label":i(),class:`sui resizable-handle ${t.class??``??``}`,onpointerdown:S,onkeydown:C,onblur:w,[_s]:{horizontal:z(c),vertical:!z(c),disabled:n(),dragging:z(h)}}),[()=>Math.round(z(u))],void 0,void 0,`svelte-g1ms7p`);var ee=F(T),te=e=>{var n=V();bo(I(n),()=>t.children),H(e,n)},ne=e=>{H(e,Vee())};W(ee,e=>{t.children?e(te):r()&&e(ne,1)}),D(T),Rs(T,e=>P(m,e),()=>z(m)),H(e,T),k()}var Bee,Vee,Hee,Uee;function Sm(){return(Sm=o((()=>{Y(),J(),Z(),ic(),Bee=new Set([`$$slots`,`$$events`,`$$legacy`,`disabled`,`showHandleBar`,`class`,`ariaLabel`,`children`,`onResizeStart`,`onResizeEnd`]),Vee=B(`<div role="none" class="handle-bar svelte-g1ms7p"></div>`),Hee=B(`<div><!></div>`),Uee={hash:`svelte-g1ms7p`,code:`.resizable-handle.svelte-g1ms7p {position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:center;touch-action:none;outline-offset:0;background-color:transparent;transition:background-color 200ms;}.resizable-handle.svelte-g1ms7p:focus-visible, .resizable-handle.svelte-g1ms7p:hover, .resizable-handle.dragging.svelte-g1ms7p {outline:none;z-index:1;background-color:var(--sui-primary-accent-color-translucent-light);}.resizable-handle.svelte-g1ms7p:focus-visible .handle-bar:where(.svelte-g1ms7p), .resizable-handle.svelte-g1ms7p:hover .handle-bar:where(.svelte-g1ms7p), .resizable-handle.dragging.svelte-g1ms7p .handle-bar:where(.svelte-g1ms7p) {background-color:var(--sui-primary-accent-color);}.resizable-handle.disabled.svelte-g1ms7p {pointer-events:none;opacity:0.4;}.resizable-handle.horizontal.svelte-g1ms7p {width:var(--sui-resizable-handle-size, 4px);height:100%;cursor:col-resize;}.resizable-handle.horizontal.svelte-g1ms7p .handle-bar:where(.svelte-g1ms7p) {width:2px;height:40%;min-height:20px;}.resizable-handle.vertical.svelte-g1ms7p {width:100%;height:var(--sui-resizable-handle-size, 4px);cursor:row-resize;}.resizable-handle.vertical.svelte-g1ms7p .handle-bar:where(.svelte-g1ms7p) {height:2px;width:40%;min-width:20px;}.resizable-handle.svelte-g1ms7p .handle-bar:where(.svelte-g1ms7p) {border-radius:1px;background-color:hsl(var(--sui-border-color-1-hsl));transition:background-color 200ms;}`}})))()}function Wee(e,t){O(t,!0),G(e,qee);let n=q(t,`direction`,3,`horizontal`),r=Gs(t,Gee),i=Er([]),a=N(void 0),o=Er([]),s=Er([]),c=0,l=()=>z(a)?n()===`horizontal`?z(a).clientWidth:z(a).clientHeight:0,u=(e,t)=>{if(typeof e==`number`)return e;if(!e||typeof e!=`string`)return t;let n=e.trim(),r=n.match(/^(-?\d+(?:\.\d+)?)%$/);if(r)return Number(r[1]);let i=l();if(!i)return t;let a=n.match(/^(-?\d+(?:\.\d+)?)px$/i);if(a)return Number(a[1])/i*100;let o=n.match(/^(-?\d+(?:\.\d+)?)(dvw|vw|dvh|vh)$/i);if(o){let e=Number(o[1]),t=o[2].toLowerCase().endsWith(`w`)?window.innerWidth:window.innerHeight;return e/100*t/i*100}return t},d=e=>{let t=i[e];if(!t)return{minSize:0,maxSize:100};let n=Math.max(0,u(t.minSize,0)),r=Math.min(100,u(t.maxSize,100));return{minSize:n,maxSize:Math.max(n,r)}},f=()=>{if(!i.length)return;let e=i.map(e=>e.defaultSize===void 0?NaN:u(e.defaultSize,NaN)),t=e.filter(e=>!Number.isNaN(e)).reduce((e,t)=>e+t,0),n=e.filter(e=>Number.isNaN(e)).length,r=Math.max(0,100-t),a=n>0?r/n:0,s=e.map(e=>Number.isNaN(e)?a:e);o.splice(0,o.length,...s)},p=(e,n)=>{let r=e,i=e+1;if(r<0||i>=o.length)return;let{minSize:a,maxSize:s}=d(r),{minSize:c,maxSize:l}=d(i),u=o[r],f=o[i],p=Math.min(s-u,f-c),m=Math.min(u-a,l-f),h=n>0?Math.min(n,p):-Math.min(-n,m);o[r]=u+h,o[i]=f-h,t.onResize?.({sizes:o.map(e=>Number(e.toFixed(1)))})};Pt(`paneGroup`,{get direction(){return n()},sizes:o,registerPane:({id:e,defaultSize:t,minSize:n,maxSize:r})=>{let a=i.length;return i.push({id:e,defaultSize:t,minSize:n,maxSize:r}),{index:a}},registerHandle:()=>{let e=c;return c+=1,e},resize:p,toggleCollapse:e=>{let{minSize:t}=d(e);if(s[e]!==void 0){let t=s[e]-o[e];s[e]=void 0,p(e,t)}else s[e]=o[e],p(e,-(o[e]-t))},getPaneConstraints:d,paneDefs:i}),Yr(()=>{i.length&&!o.length&&f()});var m=Kee();ms(m,()=>({...r,role:`none`,class:`sui resizable-pane-group ${n()??``} ${t.class??``??``}`,"data-direction":n()}),void 0,void 0,void 0,`svelte-1cnl67j`),bo(F(m),()=>t.children??E),D(m),Rs(m,e=>P(a,e),()=>z(a)),H(e,m),k()}var Gee,Kee,qee;function Cm(){return(Cm=o((()=>{Y(),J(),ic(),Gee=new Set([`$$slots`,`$$events`,`$$legacy`,`direction`,`class`,`children`,`onResize`]),Kee=B(`<div><!></div>`),qee={hash:`svelte-1cnl67j`,code:`.resizable-pane-group.svelte-1cnl67j {display:flex;overflow:hidden;}.resizable-pane-group.horizontal.svelte-1cnl67j {flex-direction:row;width:100%;height:100%;}.resizable-pane-group.vertical.svelte-1cnl67j {flex-direction:column;width:100%;height:100%;}`}})))()}function wm(e,t){let n=ja();O(t,!0);let r=q(t,`defaultSize`,3,void 0),i=q(t,`minSize`,3,0),a=q(t,`maxSize`,3,100),o=Gs(t,Jee),s=Nt(`paneGroup`);if(!s)throw Error(`<ResizablePane> must be used inside a <ResizablePaneGroup>`);let{index:c}=s.registerPane({id:n,defaultSize:r(),minSize:i(),maxSize:a()}),l=M(()=>s.direction),u=M(()=>s.sizes[c]),d=M(()=>z(u)===void 0?typeof r()==`number`?`${r()}%`:r()??`0%`:`${z(u)}%`);Yr(()=>{z(u)!==void 0&&Li(()=>t.onResize?.({size:Number(z(u).toFixed(1))}))});var f=Tm();ms(f,()=>({...o,id:n,role:`none`,class:`sui resizable-pane ${t.class??``??``}`,[vs]:{"flex-basis":z(d),"flex-grow":`0`,"flex-shrink":`0`,"overflow-x":z(l)===`horizontal`?`auto`:void 0,"overflow-y":z(l)===`vertical`?`auto`:void 0}})),bo(F(f),()=>t.children??E),D(f),H(e,f),k()}var Jee,Tm;function Em(){return(Em=o((()=>{Y(),J(),ic(),Jee=new Set([`$$slots`,`$$events`,`$$legacy`,`defaultSize`,`minSize`,`maxSize`,`class`,`children`,`onResize`]),Tm=B(`<div><!></div>`)})))()}function Dm(e,t){O(t,!0),G(e,Am);let n=q(t,`itemChunkSize`,3,25),r=N(Er(n())),i=N(void 0),a=M(()=>t.items.length>z(r)),o=new IntersectionObserver(([{isIntersecting:e}])=>{e&&(z(a)?P(r,z(r)+n()):o.disconnect())});Yr(()=>{z(i)&&o.observe(z(i))});var s=km(),c=I(s);co(c,19,()=>t.items.slice(0,z(r)),(e,n)=>e[t.itemKey]??n,(e,n,r)=>{var i=V();bo(I(i),()=>t.renderItem,()=>z(n),()=>z(r)),H(e,i)});var l=L(c,2),u=e=>{var t=Om();Rs(t,e=>P(i,e),()=>z(i)),H(e,t)};W(l,e=>{z(a)&&e(u)}),H(e,s),k()}var Om,km,Am;function jm(){return(jm=o((()=>{Y(),J(),Om=B(`<div role="none" class="spinner svelte-1d4zykg"></div>`),km=B(`<!> <!>`,1),Am={hash:`svelte-1d4zykg`,code:`.spinner.svelte-1d4zykg {height:1px;}`}})))()}function Mm(e,t){let n=ja();O(t,!0),G(e,Fm);let r=q(t,`value`,15),i=q(t,`flex`,3,!1),a=q(t,`hidden`,3,!1),o=q(t,`disabled`,3,!1),s=q(t,`readonly`,3,!1),c=q(t,`required`,3,!1),l=q(t,`invalid`,3,!1),u=Gs(t,Nm),d=N(void 0);var f={focus:()=>{z(d)?.focus()}},p=Pm();let m;var h=F(p),g=F(h),_=e=>{var n=V();bo(I(n),()=>t.searchIcon),H(e,n)},v=e=>{ac(e,{name:`search`})};W(g,e=>{t.searchIcon?e(_):e(v,-1)}),D(h);var y=L(h,2);Cp(y,Ks({dir:`auto`},()=>u,{role:`searchbox`,get id(){return n},get flex(){return i()},get hidden(){return a()},get disabled(){return o()},get readonly(){return s()},get required(){return c()},get invalid(){return l()},inputmode:`search`,get element(){return z(d)},set element(e){P(d,e,!0)},get value(){return r()},set value(e){r(e)}}));var b=L(y,2),x=e=>{{let i=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.closeIcon),H(e,n)},a=e=>{ac(e,{name:`close`})};W(r,e=>{t.closeIcon?e(i):e(a,-1)}),H(e,n)},a=M(()=>X(`_sui.clear`));Id(e,{iconic:!0,get"aria-label"(){return z(a)},get"aria-controls"(){return n},onclick:()=>{r(``),z(d)?.focus(),t.onClear?.()},startIcon:i,$$slots:{startIcon:!0}})}};return W(b,e=>{r()&&e(x)}),D(p),R(()=>{K(p,`role`,a()?void 0:`none`),m=ns(p,1,`sui search-bar ${t.class??``}`,`svelte-1lmajrj`,m,{flex:i(),disabled:o(),readonly:s()}),K(p,`hidden`,a()),K(p,`aria-hidden`,a())}),H(e,p),k(f)}var Nm,Pm,Fm;function Im(){return(Im=o((()=>{Y(),J(),Z(),Hd(),lc(),Op(),Nm=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`flex`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`searchIcon`,`closeIcon`,`onClear`]),Pm=B(`<div><span role="none" class="svelte-1lmajrj"><!></span> <!> <!></div>`),Fm={hash:`svelte-1lmajrj`,code:`.search-bar.svelte-1lmajrj {display:inline-flex;align-items:center;position:relative;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-singleline-min-width);}.search-bar.flex.svelte-1lmajrj:not([hidden]) {display:inline-flex;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}.search-bar.svelte-1lmajrj > span:where(.svelte-1lmajrj) {position:absolute;inset-block:0;inset-inline-start:0;inset-inline-end:auto;z-index:2;display:flex;align-items:center;justify-content:center;width:var(--sui-button-medium-height);height:var(--sui-button-medium-height);}.search-bar.svelte-1lmajrj .icon {font-size:calc(var(--sui-textbox-height) * 0.6);opacity:0.5;}.search-bar.svelte-1lmajrj > button {position:absolute;inset-block:0;inset-inline-start:auto;inset-inline-end:0;z-index:2;margin:0 !important;height:var(--sui-button-medium-height);}.search-bar.svelte-1lmajrj .label {--sui-textbox-singleline-padding: 0 36px;}.search-bar.svelte-1lmajrj .text-input {flex:auto;margin:0 !important;width:0;min-width:0 !important;}.search-bar.svelte-1lmajrj input {z-index:1;padding:0 var(--sui-button-medium-height) !important;width:100%;}`}})))()}function Yee(e,t){let n=ja();O(t,!0),G(e,Hm);let r=q(t,`value`,15),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`readonly`,3,!1),s=q(t,`required`,3,!1),c=q(t,`invalid`,3,!1),l=q(t,`editable`,3,!0),u=q(t,`position`,3,`bottom-left`),d=q(t,`filterThreshold`,3,5),f=q(t,`ariaLabel`,3,void 0),p=Gs(t,Lm),m=N(!1),h=N(void 0),g=N(void 0),_=N(void 0),v=N(void 0),y=N(void 0),b=N(void 0),x=N(``),S=N(!1),C=N(``),w=N(0),T=M(()=>!z(C)||z(w)>0),ee=M(()=>z(h)??z(g)),te=df(),ne=()=>{let e=te.find(r());e&&(P(x,e.label,!0),te.selectOnly(r()))},re=e=>{let n=pf(e);r(n.value),ne(),t.onChange?.(new CustomEvent(`Change`,{detail:n}))};Yr(()=>{te.expanded=z(m)}),Yr(()=>{if(!z(y))return;let e=z(m)?z(b):z(v);e&&z(y).parentElement!==e&&e.append(z(y))}),tc(()=>{let e=te.selectedEntry;e&&(r(e.value),P(x,e.label,!0),t.onChange?.(new CustomEvent(`Change`,{detail:{target:void 0,type:e.type,name:e.name,label:e.label,value:e.value}})))}),Yr(()=>{r(),ne()});var ie=Vm(),ae=I(ie);ms(ae,()=>({...p,role:`none`,class:`sui combobox ${t.class??``}`,hidden:i(),[_s]:{editable:l()}}),void 0,void 0,void 0,`svelte-1633t3a`);var oe=F(ae),se=e=>{var t=Rm();ms(t,()=>({...p,role:`combobox`,id:n,tabindex:a()?-1:0,"aria-expanded":z(m),"aria-hidden":i(),"aria-disabled":a(),"aria-readonly":o(),"aria-required":s(),"aria-invalid":c(),"aria-haspopup":`listbox`,"aria-label":f(),[_s]:{selected:r()!==void 0}}),void 0,void 0,void 0,`svelte-1633t3a`);var l=F(t);Yu(F(l),{children:(e,t)=>{pt();var n=Aa();R(e=>U(n,e),[()=>r()===void 0?X(`_sui.combobox.select_an_option`):z(x)]),H(e,n)},$$slots:{default:!0}}),D(l),D(t),Rs(t,e=>P(h,e),()=>z(h)),H(e,t)},ce=e=>{{let t=M(()=>r()===void 0?``:String(r()));Cp(e,Ks(()=>p,{dir:`auto`,role:`combobox`,get id(){return n},get value(){return z(t)},get hidden(){return i()},get disabled(){return a()},get readonly(){return o()},get required(){return s()},get invalid(){return c()},get"aria-expanded"(){return z(m)},"aria-haspopup":`listbox`,get"aria-label"(){return f()},get element(){return z(g)},set element(e){P(g,e,!0)}}))}};W(oe,e=>{l()?e(ce,-1):e(se)});var le=L(oe,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.chevronIcon),H(e,n)},a=e=>{ac(e,{name:`expand_more`})};W(r,e=>{t.chevronIcon?e(i):e(a,-1)}),H(e,n)},r=M(()=>!l()||o()||a()?-1:0),s=M(()=>z(m)?X(`_sui.collapse`):X(`_sui.expand`)),c=M(()=>z(m)?`${n}-popup`:void 0);Id(le,{variant:`ghost`,iconic:!0,get hidden(){return i()},get disabled(){return a()},get tabindex(){return z(r)},get"aria-label"(){return z(s)},get"aria-controls"(){return z(c)},get"aria-expanded"(){return z(m)},onclick:e=>{e.preventDefault(),e.stopPropagation(),!a()&&!o()&&P(m,!z(m))},startIcon:e,$$slots:{startIcon:!0}})}D(ae);var ue=L(ae,2),de=F(ue);Kp(F(de),{get id(){return`${n}-listbox`},class:`in-combobox`,get searchTerms(){return z(C)},onclick:e=>{e.target.matches(`[role="option"]`)&&re(e.target)},onFilter:e=>{P(w,e.detail.matched,!0)},children:(e,n)=>{var r=V();bo(I(r),()=>t.children??E),H(e,r)},$$slots:{default:!0}}),D(de),Rs(de,e=>P(y,e),()=>z(y)),D(ue),Rs(ue,e=>P(v,e),()=>z(v)),jd(L(ue,2),{get id(){return`${n}-popup`},class:`combobox`,get anchor(){return z(ee)},get position(){return u()},touchOptimized:!0,onOpen:()=>{P(S,d()!==-1&&te.count>d(),!0),P(C,``)},get content(){return z(_)},set content(e){P(_,e,!0)},get open(){return z(m)},set open(e){P(m,e,!0)},children:(e,t)=>{var r=Bm(),i=F(r),a=e=>{{let t=M(()=>X(`_sui.combobox.filter_options`));Mm(e,{flex:!0,get"aria-label"(){return z(t)},get"aria-controls"(){return`${n}-listbox`},onkeydown:e=>{[`ArrowUp`,`ArrowDown`,`Enter`].includes(e.key)&&(e.preventDefault(),z(_)?.querySelector(`.sui.listbox`)?.dispatchEvent(new KeyboardEvent(`keydown`,e)))},get value(){return z(C)},set value(e){P(C,e,!0)}})}};W(i,e=>{z(S)&&e(a)});var o=L(i,2);Rs(o,e=>P(b,e),()=>z(b));var s=L(o,2),c=e=>{var t=zm(),n=F(t,!0);D(t),R(e=>U(n,e),[()=>X(`_sui.combobox.no_matching_options`)]),H(e,t)};W(s,e=>{z(T)||e(c)}),D(r),H(e,r)},$$slots:{default:!0}}),H(e,ie),k()}var Lm,Rm,zm,Bm,Vm,Hm;function Um(){return(Um=o((()=>{Y(),J(),Z(),ic(),mf(),Hd(),lc(),qp(),Im(),Op(),Qu(),Fd(),Lm=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`editable`,`position`,`filterThreshold`,`ariaLabel`,`children`,`chevronIcon`,`onChange`]),Rm=B(`<div><div role="none" class="label svelte-1633t3a"><!></div></div>`),zm=B(`<div role="alert" class="no-options svelte-1633t3a" aria-live="assertive"> </div>`),Bm=B(`<div role="none" class="combobox-inner svelte-1633t3a"><!> <div role="none" class="listbox-slot svelte-1633t3a"></div> <!></div>`),Vm=B(`<div><!> <!></div> <div role="none" class="idle-host" hidden=""><div role="none" class="option-host svelte-1633t3a"><!></div></div> <!>`,1),Hm={hash:`svelte-1633t3a`,code:`:is(.option-host.svelte-1633t3a, .listbox-slot.svelte-1633t3a) {display:contents;}.combobox.svelte-1633t3a {margin:var(--sui-focus-ring-width);display:flex;align-items:center;position:relative;min-width:var(--sui-combobox-min-width, calc(var(--sui-option-height) * 5));}.combobox.svelte-1633t3a div[role=combobox]:where(.svelte-1633t3a) {display:flex;align-items:center;border-width:1px;border-color:var(--sui-control-border-color);border-radius:var(--sui-textbox-border-radius);padding-block:0;padding-inline-start:calc(var(--sui-textbox-height) / 4);padding-inline-end:var(--sui-textbox-height);width:100%;height:var(--sui-textbox-height);color:var(--sui-control-foreground-color);background-color:var(--sui-disabled-background-color);font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);-webkit-user-select:none;user-select:none;cursor:pointer;transition:all 200ms;}.combobox.svelte-1633t3a div[role=combobox]:where(.svelte-1633t3a):not(.selected) {font-style:italic;}.combobox.svelte-1633t3a div[role=combobox]:where(.svelte-1633t3a):is(:where(.svelte-1633t3a):hover, :where(.svelte-1633t3a):focus) {background-color:var(--sui-hover-background-color);}.combobox.svelte-1633t3a div[role=combobox][aria-invalid=true]:where(.svelte-1633t3a) {border-color:var(--sui-error-border-color);}.combobox.svelte-1633t3a div[role=combobox]:where(.svelte-1633t3a) .label:where(.svelte-1633t3a) {width:100%;}.combobox.svelte-1633t3a .icon {font-size:var(--sui-font-size-xx-large);opacity:0.5;}.combobox.svelte-1633t3a > .icon {position:absolute;inset-block-start:8px;inset-inline-start:8px;z-index:1;}.combobox.svelte-1633t3a > button {position:absolute;inset-block-start:0;inset-inline-end:0;z-index:1;margin:0 !important;border-start-start-radius:0;border-end-start-radius:0;background-color:transparent !important;}.combobox.svelte-1633t3a > button[tabindex="-1"] {pointer-events:none;}.combobox.svelte-1633t3a :not(.editable) > button {background-color:transparent !important;}.combobox.svelte-1633t3a .text-input {margin:0 !important;width:100% !important;}.combobox.svelte-1633t3a input {padding-block:0;padding-inline:8px 32px;width:0;}.combobox.svelte-1633t3a + [role=listbox] {position:fixed;z-index:100;border-radius:var(--sui-control-medium-border-radius);box-shadow:0 8px 16px var(--sui-popup-shadow-color);overflow:auto;background-color:var(--sui-secondary-background-color);-webkit-backdrop-filter:blur(32px);backdrop-filter:blur(32px);
|
|
43
|
+
/* Add .1s delay before the position can be determined */transition:opacity 100ms 100ms;}.combobox.svelte-1633t3a + [role=listbox]:not(.open) {opacity:0;pointer-events:none;}.combobox-inner.svelte-1633t3a {display:flex;flex-direction:column;overflow:hidden;}.combobox-inner.svelte-1633t3a .sui.search-bar {flex:none;}.combobox-inner.svelte-1633t3a .sui.listbox {flex:auto;overflow-y:auto;}.combobox-inner.svelte-1633t3a .no-options:where(.svelte-1633t3a) {flex:none;display:flex;align-items:center;padding:var(--sui-option-padding);height:var(--sui-option-height);color:var(--sui-tertiary-foreground-color);}`}})))()}function Xee(e){let t=e-1;return t*t*t+1}function Zee(e,{from:t,to:n},r={}){var{delay:i=0,duration:a=e=>Math.sqrt(e)*120,easing:o=Xee}=r,s=getComputedStyle(e),c=s.transform===`none`?``:s.transform,[l,u]=s.transformOrigin.split(` `).map(parseFloat);l/=e.clientWidth,u/=e.clientHeight;var d=Qee(e),f=e.clientWidth/n.width/d,p=e.clientHeight/n.height/d,m=t.left+t.width*l,h=t.top+t.height*u,g=n.left+n.width*l,_=n.top+n.height*u,v=(m-g)*f,y=(h-_)*p,b=t.width/n.width,x=t.height/n.height;return{delay:i,duration:typeof a==`function`?a(Math.sqrt(v*v+y*y)):a,easing:o,css:(e,t)=>`transform: ${c} translate(${t*v}px, ${t*y}px) scale(${e+t*b}, ${e+t*x});`}}function Qee(e){if(`currentCSSZoom`in e)return e.currentCSSZoom;for(var t=e,n=1;t!==null;)n*=+getComputedStyle(t).zoom,t=t.parentElement;return n}function Wm(){return(Wm=o((()=>{})))()}function Gm(e,t){O(t,!0);let n=q(t,`value`,15),r=q(t,`hidden`,3,!1),i=q(t,`disabled`,3,!1),a=q(t,`readonly`,3,!1),o=q(t,`required`,3,!1),s=q(t,`invalid`,3,!1),c=Gs(t,Km);Yee(e,Ks(()=>c,{get class(){return`sui select ${t.class??``}`},get hidden(){return r()},get disabled(){return i()},get readonly(){return a()},get required(){return o()},get invalid(){return s()},get onChange(){return t.onChange},editable:!1,get value(){return n()},set value(e){n(e)},children:(e,n)=>{var r=V();bo(I(r),()=>t.children??E),H(e,r)},$$slots:{default:!0}})),k()}var Km;function qm(){return(qm=o((()=>{Y(),J(),Um(),Km=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`onChange`])})))()}function $ee(e,t){O(t,!0),G(e,Zm);let n=q(t,`values`,31,()=>Er([])),r=q(t,`max`,3,void 0),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`readonly`,3,!1),s=q(t,`required`,3,!1),c=q(t,`invalid`,3,!1),l=Gs(t,Jm),u=M(()=>new Map(t.options.map(e=>[e.value,e]))),d=M(()=>ku()?`ArrowRight`:`ArrowLeft`),f=M(()=>ku()?`ArrowLeft`:`ArrowRight`),p=N(void 0),m=N(void 0),h=N(void 0),g=N(void 0),_=(e,r)=>{if(e===r)return;let i=[...n()],[a]=i.splice(e,1);i.splice(r,0,a),n(i),t.onReorder?.(new CustomEvent(`Reorder`,{detail:{values:i}}))},v=async(e,t)=>{_(e,t),await Pi(),(z(p)?.querySelectorAll(`.label[tabindex]`)?.[t])?.focus()};var y=Xm();let b;var x=F(y);co(x,30,n,e=>e,(e,r,i)=>{let s=M(()=>z(u).get(r)),c=M(()=>z(s)?.label||z(s)?.value||r);var l=Ym();let p;var m=F(l),_=F(m,!0);D(m);var y=L(m,2),b=e=>{{let i=e=>{ac(e,{name:`close`})},s=M(()=>a()||o()),l=M(()=>X(`_sui.select_tags.remove_x`,{values:{name:z(c)}}));Id(e,{iconic:!0,size:`small`,get disabled(){return z(s)},get"aria-label"(){return z(l)},onclick:()=>{n(n().filter(e=>e!==r)),t.onRemoveValue?.(new CustomEvent(`RemoveValue`,{detail:{value:r}}))},startIcon:i,$$slots:{startIcon:!0}})}};W(y,e=>{z(s)&&e(b)}),D(l),R(()=>{K(l,`draggable`,!a()&&!o()),p=ns(l,1,`svelte-zm9nsj`,null,p,{"drag-source":z(h)===z(i),"drop-before":z(g)===z(i)&&z(h)!==z(i)&&z(h)!==z(i)-1,"drop-after":z(g)===n().length&&z(i)===n().length-1&&z(h)!==n().length-1}),K(m,`tabindex`,a()||o()?void 0:0),U(_,z(c))}),ga(`dragstart`,l,e=>{P(h,z(i),!0),e.dataTransfer&&(e.dataTransfer.setData(`text/plain`,z(c)),e.dataTransfer.effectAllowed=`move`)}),ga(`dragover`,l,e=>{e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`move`);let t=e.currentTarget.getBoundingClientRect(),n=e.clientX<t.left+t.width/2;P(g,n===ku()?z(i)+1:z(i),!0)}),ga(`drop`,l,async e=>{e.preventDefault();let t=z(h),n=z(g);P(h,void 0),P(g,void 0),t!==void 0&&n!==void 0&&n!==t&&n!==t+1&&await v(t,n>t?n-1:n)}),ga(`dragend`,l,()=>{P(h,void 0),P(g,void 0)}),_a(`keydown`,m,async e=>{let{key:t}=e,r=t===z(d)&&z(i)>0?z(i)-1:t===z(f)&&z(i)<n().length-1?z(i)+1:t===`Home`&&z(i)>0?0:t===`End`&&z(i)<n().length-1?n().length-1:-1;r!==-1&&(e.preventDefault(),await v(z(i),r))}),No(l,()=>Zee,()=>({duration:200})),H(e,l)}),D(x);var S=L(x,2),C=e=>{{let r=M(()=>a()||o());Gm(e,Ks(()=>l,{get disabled(){return z(r)},get readonly(){return o()},get required(){return s()},get invalid(){return c()},onChange:()=>{z(m)&&(n([...n(),z(m)]),t.onAddValue?.(new CustomEvent(`AddValue`,{detail:{value:z(m)}})),P(m,void 0))},get value(){return z(m)},set value(e){P(m,e,!0)},children:(e,r)=>{var i=V();co(I(i),17,()=>t.options,({label:e,value:t,searchValue:n})=>t,(e,t)=>{let r=()=>z(t).label,i=()=>z(t).value,a=()=>z(t).searchValue;var o=V(),s=I(o),c=e=>{Xp(e,{get label(){return r()},get value(){return i()},get searchValue(){return a()}})},l=M(()=>!n().includes(i()));W(s,e=>{z(l)&&e(c)}),H(e,o)}),H(e,i)},$$slots:{default:!0}}))}};W(S,e=>{(typeof r()!=`number`||n().length<r())&&n().length<t.options.length&&e(C)}),D(y),Rs(y,e=>P(p,e),()=>z(p)),R(e=>{b=ns(y,1,`sui select-tags ${t.class??``}`,`svelte-zm9nsj`,b,{disabled:a()||o()}),K(y,`hidden`,i()),K(x,`aria-label`,e)},[()=>X(`_sui.select_tags.selected_options`)]),H(e,y),k()}var Jm,Ym,Xm,Zm;function Qm(){return(Qm=o((()=>{Y(),J(),Z(),ic(),Wm(),Hd(),lc(),em(),qm(),Jm=new Set([`$$slots`,`$$events`,`$$legacy`,`values`,`options`,`max`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`onAddValue`,`onRemoveValue`,`onReorder`]),Ym=B(`<span role="none"><span class="label svelte-zm9nsj" role="option" aria-selected="true"> </span> <!></span>`),Xm=B(`<div role="none"><span role="listbox" aria-multiselectable="true" class="svelte-zm9nsj"></span> <!></div>`),Zm={hash:`svelte-zm9nsj`,code:`.select-tags.svelte-zm9nsj {display:flex;flex-wrap:wrap;align-items:center;}.select-tags.disabled.svelte-zm9nsj {pointer-events:none;}.select-tags.disabled.svelte-zm9nsj > :where(.svelte-zm9nsj) {opacity:0.5;}.select-tags.svelte-zm9nsj span[role=listbox]:where(.svelte-zm9nsj) {display:contents;}.select-tags.svelte-zm9nsj span[draggable]:where(.svelte-zm9nsj) {display:inline-flex;align-items:center;position:relative;margin:var(--sui-focus-ring-width);padding:0;padding-inline-start:8px;border-radius:var(--sui-control-medium-border-radius);background-color:var(--sui-secondary-background-color);cursor:grab;outline:none;}.select-tags.svelte-zm9nsj span[draggable]:where(.svelte-zm9nsj):focus-within {outline:var(--sui-focus-ring-width) solid var(--sui-focus-ring-color);}.select-tags.svelte-zm9nsj span[draggable].drag-source:where(.svelte-zm9nsj) {opacity:0.4;cursor:grabbing;}.select-tags.svelte-zm9nsj span[draggable].drop-before:where(.svelte-zm9nsj)::before, .select-tags.svelte-zm9nsj span[draggable].drop-after:where(.svelte-zm9nsj)::after {content:"";position:absolute;top:0;bottom:0;margin-left:-1px;border-radius:1px;width:4px;background-color:var(--sui-primary-accent-color);pointer-events:none;}.select-tags.svelte-zm9nsj span[draggable].drop-before:where(.svelte-zm9nsj)::before {inset-inline-start:calc(-1 * var(--sui-focus-ring-width) - 1px);}.select-tags.svelte-zm9nsj span[draggable].drop-after:where(.svelte-zm9nsj)::after {inset-inline-end:calc(-1 * var(--sui-focus-ring-width) - 1px);}.select-tags.svelte-zm9nsj span[draggable]:where(.svelte-zm9nsj) .label:where(.svelte-zm9nsj) {outline:none;}.select-tags.svelte-zm9nsj span[draggable]:where(.svelte-zm9nsj) button {outline-offset:-2px;}.select-tags.svelte-zm9nsj span[draggable]:where(.svelte-zm9nsj) .icon {font-size:var(--sui-font-size-large);}`},va([`keydown`])})))()}function ete(e,t){O(t,!0),G(e,rh);let n=q(t,`value`,15,0),r=q(t,`min`,3,0),i=q(t,`max`,3,100),a=q(t,`sliderLabel`,3,``),o=q(t,`values`,15,void 0),s=q(t,`sliderLabels`,3,void 0),c=q(t,`step`,3,1),l=q(t,`optionLabels`,19,()=>[]),u=q(t,`hidden`,3,!1),d=q(t,`disabled`,3,!1),f=q(t,`readonly`,3,!1),p=q(t,`invalid`,3,!1),m=Gs(t,$m),h=M(()=>Array.isArray(o())),g=N(void 0),_=N(0),v=N(Er([])),y=N(Er([])),b=N(0),x=N(0),S=Er([0,0]),C=N(!1),w=N(0),T=N(0),ee=e=>{let t=Math.min(z(_),Math.max(0,ku()?z(_)-e:e)),r=z(v).findLastIndex(e=>e<=t),i=z(v).findIndex(e=>t<=e),a;a=r===-1?i:i===-1||Math.abs(z(v)[r]-t)<Math.abs(z(v)[i]-t)?r:i,!(S[z(T)]===z(v)[a]||z(h)&&(z(T)===0&&S[1]<=z(v)[a]||z(T)===1&&S[0]>=z(v)[a]))&&(z(h)?(o(o()[z(T)]=z(y)[a],!0),o([...o()])):n(z(y)[a]))},te=(e,t=0)=>{let{key:a,ctrlKey:s,metaKey:c,shiftKey:l,altKey:u}=e,p=l||u||s||c;if(d()||f()||p)return;let m=z(h)?o()[t]:n(),g=-1,_=ku(),b=_?[`ArrowDown`,`ArrowRight`]:[`ArrowDown`,`ArrowLeft`],x=_?[`ArrowUp`,`ArrowLeft`]:[`ArrowUp`,`ArrowRight`];if(b.includes(a)&&(m>r()&&(g=z(y).indexOf(m)-1),e.preventDefault(),e.stopPropagation()),x.includes(a)&&(m<i()&&(g=z(y).indexOf(m)+1),e.preventDefault(),e.stopPropagation()),g>-1){if(z(h)&&(t===0&&S[1]<=z(v)[g]||t===1&&S[0]>=z(v)[g]))return;z(h)?(o(o()[t]=z(y)[g],!0),o([...o()])):n(z(y)[g])}},ne=e=>{let{screenX:t,pointerId:n}=e;if(d()||f()||!z(C)||n!==z(w))return;e.preventDefault(),e.stopPropagation();let r=t-z(x),i=z(b)+r;ee(i)},re=e=>{let{pointerId:t,target:n}=e;if(d()||f()||!z(C)||t!==z(w))return;e.stopPropagation();let r=n;if(r.matches(`.base-bar, .slider-bar`)){let t=z(g).getBoundingClientRect(),n=e.clientX-t.left;ee(n)}r.releasePointerCapture(t),P(C,!1),P(b,0),P(x,0),P(w,0),P(T,0),document.removeEventListener(`pointermove`,ne),document.removeEventListener(`pointerup`,re),document.removeEventListener(`pointercancel`,re)},ie=(e,t=0)=>{if(d()||f())return;e.preventDefault(),e.stopPropagation(),P(C,!0);let{clientX:n,screenX:r,pointerId:i,target:a}=e,o=a,s=z(g).getBoundingClientRect();P(b,n-s.left),P(x,r,!0),P(w,i,!0),P(T,t,!0),o.setPointerCapture(i),document.addEventListener(`pointermove`,ne),document.addEventListener(`pointerup`,re),document.addEventListener(`pointercancel`,re)},ae=()=>{if(z(h)){let[e,n]=o();S[0]=z(v)[z(y).indexOf(e)],S[1]=z(v)[z(y).indexOf(n)],t.onChange?.({values:o()})}else S[0]=z(v)[z(y).indexOf(n())],t.onChange?.({value:n()})},oe=()=>{if(!z(g))return;P(_,z(g).clientWidth,!0);let e=(i()-r())/c()+1,t=z(_)/(e-1),n=Array.from({length:e});P(y,n.map((e,t)=>t*c()+r(),10),!0),P(v,n.map((e,n)=>n*t),!0),ae()};tc(()=>{let e=new ResizeObserver(()=>oe()),t=globalThis.matchMedia(`(pointer: coarse)`);return e.observe(z(g)),t.addEventListener(`change`,oe),oe(),()=>{e.disconnect(),t.removeEventListener(`change`,oe)}}),Yr(()=>{n(),o(),ae()});var se=nh();ga(`click`,zr.body,()=>{P(C,!1)}),ms(se,()=>({...m,role:`none`,class:`sui slider ${t.class??``}`,hidden:u(),[_s]:{disabled:d(),readonly:f(),invalid:p()}}),void 0,void 0,void 0,`svelte-11102w7`);var ce=F(se),E=L(F(ce),2);let le;var ue=L(E,2);let de;var fe=L(ue,2),pe=e=>{var t=eh();let n;R(()=>{K(t,`tabindex`,d()?-1:0),K(t,`aria-label`,s()?.[1]),K(t,`aria-hidden`,u()),K(t,`aria-disabled`,d()),K(t,`aria-readonly`,f()),K(t,`aria-invalid`,p()),K(t,`aria-valuemin`,r()),K(t,`aria-valuemax`,i()),K(t,`aria-valuenow`,o()?.[1]),n=as(t,``,n,{"inset-inline-start":`${S[1]??``}px`})}),_a(`pointerdown`,t,e=>ie(e,1)),_a(`keydown`,t,e=>te(e,1)),H(e,t)};W(fe,e=>{z(h)&&e(pe)});var me=L(fe,2),he=e=>{var t=V();co(I(t),19,l,(e,t)=>`${t}-${e}`,(e,t,n)=>{var r=th();let i;var a=F(r,!0);D(r),R(()=>{i=as(r,``,i,{"inset-inline-start":`${z(_)/(l().length-1)*z(n)}px`}),U(a,z(t))}),H(e,r)}),H(e,t)};W(me,e=>{l().length&&e(he)}),D(ce),Rs(ce,e=>P(g,e),()=>z(g)),D(se),R(()=>{le=as(E,``,le,{"inset-inline-start":`${(z(h)?S[0]:0)??``}px`,width:`${(z(h)?S[1]-S[0]:S[0])??``}px`}),K(ue,`tabindex`,d()?-1:0),K(ue,`aria-label`,z(h)?s()?.[0]:a()),K(ue,`aria-hidden`,u()),K(ue,`aria-disabled`,d()),K(ue,`aria-readonly`,f()),K(ue,`aria-invalid`,p()),K(ue,`aria-valuemin`,r()),K(ue,`aria-valuemax`,i()),K(ue,`aria-valuenow`,z(h)?o()?.[0]:n()),de=as(ue,``,de,{"inset-inline-start":`${S[0]??``}px`})}),_a(`pointerdown`,ce,e=>ie(e)),_a(`pointerdown`,ue,e=>ie(e,0)),_a(`keydown`,ue,e=>te(e,0)),H(e,se),k()}var $m,eh,th,nh,rh;function ih(){return(ih=o((()=>{Y(),J(),Z(),ic(),$m=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`min`,`max`,`sliderLabel`,`values`,`sliderLabels`,`step`,`optionLabels`,`class`,`hidden`,`disabled`,`readonly`,`invalid`,`children`,`onChange`]),eh=B(`<div role="slider" class="svelte-11102w7"></div>`),th=B(`<span role="none" class="label svelte-11102w7"> </span>`),nh=B(`<div><div role="none" class="base svelte-11102w7"><div role="none" class="base-bar svelte-11102w7"></div> <div class="slider-bar svelte-11102w7"></div> <div role="slider" class="svelte-11102w7"></div> <!> <!></div></div>`),rh={hash:`svelte-11102w7`,code:`.slider.svelte-11102w7 {position:relative;display:inline-block;margin:var(--sui-focus-ring-width);padding:4px 6px;touch-action:none;}.slider.svelte-11102w7:hover .base-bar:where(.svelte-11102w7) {background-color:var(--sui-hover-background-color);}.slider.svelte-11102w7:active .base-bar:where(.svelte-11102w7) {background-color:var(--sui-active-background-color);}.base.svelte-11102w7 {position:relative;width:var(--sui-slider-base-width, 240px);height:calc(var(--sui-checkbox-height) / 2);cursor:pointer;}.base-bar.svelte-11102w7 {border-width:1px;border-style:solid;border-color:var(--sui-control-border-color);border-radius:var(--sui-checkbox-height);background-color:var(--sui-slider-background-color, var(--sui-secondary-background-color));transition:all 200ms;width:100%;height:100%;}.slider-bar.svelte-11102w7 {position:absolute;top:0;height:calc(var(--sui-checkbox-height) / 2);border-radius:var(--sui-checkbox-height);background-color:var(--sui-primary-accent-color-light);}.invalid.svelte-11102w7 .slider-bar:where(.svelte-11102w7) {background-color:var(--sui-error-border-color);}[role=slider].svelte-11102w7 {position:absolute;top:0;border:3px solid var(--sui-primary-accent-color-light);border-radius:var(--sui-checkbox-height);width:calc(var(--sui-checkbox-height) - 2px);height:calc(var(--sui-checkbox-height) - 2px);background-color:var(--sui-primary-accent-color-inverted);cursor:pointer;}[role=slider].svelte-11102w7:dir(ltr) {transform:translate(calc((var(--sui-checkbox-height) / 2 - 1px) * -1), calc((var(--sui-checkbox-height) / 4 - 1px) * -1));}[role=slider].svelte-11102w7:dir(rtl) {transform:translate(calc(var(--sui-checkbox-height) / 2 - 1px), calc((var(--sui-checkbox-height) / 4 - 1px) * -1));}.invalid.svelte-11102w7 [role=slider]:where(.svelte-11102w7) {border-color:var(--sui-error-border-color);}.label.svelte-11102w7 {position:absolute;top:calc(var(--sui-checkbox-height) / 2 + 8px);font-size:var(--sui-font-size-x-small);}.label.svelte-11102w7:dir(ltr) {transform:translateX(-50%);}.label.svelte-11102w7:dir(rtl) {transform:translateX(50%);}`},va([`pointerdown`,`keydown`])})))()}function ah(e,t){O(t,!0),G(e,ch);let n=q(t,`checked`,15),r=q(t,`label`,3,void 0),i=q(t,`hidden`,3,!1),a=q(t,`disabled`,3,!1),o=q(t,`readonly`,3,!1),s=q(t,`required`,3,!1),c=q(t,`invalid`,3,!1),l=q(t,`ariaLabel`,3,void 0),u=Gs(t,oh);var d=sh(),f=()=>{!a()&&!o()&&(n(!n()),t.onChange?.(new CustomEvent(`Change`,{detail:{checked:n()}})))};ms(d,()=>({...u,role:`switch`,class:`sui switch ${t.class??``}`,type:`button`,hidden:i(),disabled:a()||void 0,"aria-checked":n(),"aria-hidden":i(),"aria-disabled":a(),"aria-readonly":o(),"aria-required":s(),"aria-invalid":c(),"aria-label":l(),onclick:f}),void 0,void 0,void 0,`svelte-1ggfclh`);var p=L(F(d),2),m=e=>{var t=Aa();R(()=>U(t,r())),H(e,t)},h=e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)};W(p,e=>{r()?e(m):e(h,-1)}),D(d),H(e,d),k()}var oh,sh,ch;function lh(){return(lh=o((()=>{Y(),J(),oh=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`label`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`ariaLabel`,`children`,`onChange`]),sh=B(`<button><span role="none" class="svelte-1ggfclh"></span> <!></button>`),ch={hash:`svelte-1ggfclh`,code:`button.svelte-1ggfclh {display:inline-flex;align-items:center;gap:8px;margin:var(--sui-focus-ring-width);border-width:0;border-style:solid;border-color:transparent;padding:0;color:var(--sui-control-foreground-color);background-color:transparent;box-shadow:none;font-family:var(--sui-control-font-family);font-size:var(--sui-control-font-size);line-height:var(--sui-control-line-height);font-weight:var(--sui-font-weight-normal, normal);text-align:start;cursor:pointer;-webkit-user-select:none;user-select:none;}button[aria-invalid=true].svelte-1ggfclh span:where(.svelte-1ggfclh) {background-color:var(--sui-error-border-color) !important;}button:hover[aria-checked=false].svelte-1ggfclh span:where(.svelte-1ggfclh) {background-color:var(--sui-hover-background-color);}button:hover[aria-checked=true].svelte-1ggfclh span:where(.svelte-1ggfclh) {background-color:var(--sui-primary-accent-color-light);}button:active[aria-checked=false].svelte-1ggfclh span:where(.svelte-1ggfclh) {background-color:var(--sui-active-background-color);}button:active[aria-checked=true].svelte-1ggfclh span:where(.svelte-1ggfclh) {background-color:var(--sui-primary-accent-color-dark);}button.svelte-1ggfclh:focus-visible {outline:0;}button.svelte-1ggfclh:focus-visible span:where(.svelte-1ggfclh) {outline-color:var(--sui-focus-ring-color);}button[aria-checked=true].svelte-1ggfclh span:where(.svelte-1ggfclh) {background-color:var(--sui-primary-accent-color);border-color:transparent;}button[aria-checked=true].svelte-1ggfclh span:where(.svelte-1ggfclh)::before {--translateX: var(--sui-checkbox-height) * 2 - var(--sui-checkbox-height);border-color:var(--sui-primary-accent-color);background-color:var(--sui-primary-accent-color-inverted);}button[aria-checked=true].svelte-1ggfclh span:where(.svelte-1ggfclh):dir(ltr)::before {transform:translateX(calc(var(--translateX)));}button[aria-checked=true].svelte-1ggfclh span:where(.svelte-1ggfclh):dir(rtl)::before {transform:translateX(calc((var(--translateX)) * -1));}span.svelte-1ggfclh {position:relative;width:calc(var(--sui-checkbox-height) * 2);height:var(--sui-checkbox-height);padding:0 2px;display:inline-flex;align-items:center;border-width:1.5px;border-style:solid;border-color:var(--sui-checkbox-border-color);border-radius:var(--sui-checkbox-height);background-color:var(--sui-control-background-color);transition:all 200ms;}span.svelte-1ggfclh::before {display:inline-block;width:calc(var(--sui-checkbox-height) - 6px);height:calc(var(--sui-checkbox-height) - 6px);border-radius:var(--sui-checkbox-height);background-color:var(--sui-checkbox-border-color);transition:all 200ms;content:"";}`}})))()}function uh(e,t){G(e,ph);let n=Gs(t,dh);var r=fh();ms(r,()=>({...n,role:`cell`,class:`sui table-cell ${t.class??``}`}),void 0,void 0,void 0,`svelte-1e3u5pa`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var dh,fh,ph;function mh(){return(mh=o((()=>{Y(),J(),dh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),fh=B(`<div><!></div>`),ph={hash:`svelte-1e3u5pa`,code:`.table-cell.svelte-1e3u5pa {display:table-cell;}`}})))()}function tte(e,t){G(e,_h);let n=Gs(t,hh);var r=gh();ms(r,()=>({...n,role:`row`,class:`sui table-row ${t.class??``}`}),void 0,void 0,void 0,`svelte-11d4xx2`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var hh,gh,_h;function vh(){return(vh=o((()=>{Y(),J(),hh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),gh=B(`<div><!></div>`),_h={hash:`svelte-11d4xx2`,code:`.table-row.svelte-11d4xx2 {display:table-row;height:var(--sui-primary-row-height);}`}})))()}function nte(e,t){G(e,xh);let n=q(t,`ariaLabel`,3,void 0),r=Gs(t,yh);var i=bh();ms(i,()=>({...r,role:`table`,class:`sui table ${t.class??``}`,"aria-label":n()}),void 0,void 0,void 0,`svelte-1yxwhqb`),bo(F(i),()=>t.children??E),D(i),H(e,i)}var yh,bh,xh;function Sh(){return(Sh=o((()=>{Y(),J(),yh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`ariaLabel`,`children`]),bh=B(`<div><!></div>`),xh={hash:`svelte-1yxwhqb`,code:`.table.svelte-1yxwhqb {display:table;margin:var(--sui-focus-ring-width);width:calc(100% - var(--sui-focus-ring-width) * 2);}.table.data.svelte-1yxwhqb {border-collapse:collapse;}.table.data.svelte-1yxwhqb :is(.table-col-header, .table-row-header, .table-cell) {border:1px solid var(--sui-secondary-border-color);padding:8px 8px;}`}})))()}function rte(e,t){O(t,!0),G(e,Th);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`orientation`,3,`horizontal`),a=q(t,`name`,3,void 0),o=q(t,`ariaLabel`,3,void 0),s=Gs(t,Ch),c=N(void 0),l=N(void 0),u=()=>{globalThis.requestAnimationFrame(()=>{let e=z(c)?.querySelector(`[role="tab"][aria-selected="true"]`);if(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;P(l,Object.entries({top:t,left:n,width:r,height:i}).map(([e,t])=>`${e}: ${t}px`).join(`; `),!0)}else P(l,void 0)})};tc(()=>{let e=new ResizeObserver(()=>{u()});return e.observe(z(c)),()=>{e.disconnect()}});var d=wh(),f=()=>{u()},p=e=>{u(),t.onChange?.(e)};ms(d,()=>({...s,role:`tablist`,class:`sui tab-list ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-orientation":i(),"aria-label":o(),"data-name":a()||void 0,onInitialized:f,onChange:p}),void 0,void 0,void 0,`svelte-1acgnhr`);var m=F(d);bo(F(m),()=>t.children??E),D(m);var h=L(m,2);D(d),Rs(d,e=>P(c,e),()=>z(c)),Wo(d,Sf),R(()=>{m.inert=r(),as(h,z(l))}),H(e,d),k()}var Ch,wh,Th;function Eh(){return(Eh=o((()=>{Y(),J(),ic(),Cf(),Ch=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`orientation`,`name`,`ariaLabel`,`children`,`onChange`]),wh=B(`<div><div role="none" class="inner svelte-1acgnhr"><!></div> <div role="none" class="indicator svelte-1acgnhr"></div></div>`),Th={hash:`svelte-1acgnhr`,code:`.tab-list.svelte-1acgnhr {flex:none;position:relative;display:flex;align-items:center;margin:var(--sui-tab-list-margin, var(--sui-focus-ring-width));border-color:var(--sui-tab-list-border-color, var(--sui-control-border-color));border-radius:var(--sui-tab-list-border-radius, 0);background-color:var(--sui-tab-list-background-color, transparent);}.tab-list[aria-orientation=horizontal].svelte-1acgnhr {gap:var(--sui-horizontal-tab-list-gap, var(--sui-tab-list-gap, 8px));margin-block:var(--sui-horizontal-tab-list-margin-block, 0 32px);margin-inline:var(--sui-horizontal-tab-list-margin-inline, 0);border-block-width:var(--sui-horizontal-tab-list-border-block-width, 0 1px);border-inline-width:var(--sui-horizontal-tab-list-border-inline-width, 0 0);padding:var(--sui-horizontal-tab-list-padding, var(--sui-tab-list-padding, 0 16px));}.tab-list[aria-orientation=horizontal].svelte-1acgnhr button {width:var(--sui-horizontal-tab-width, var(--sui-tab-width, auto));height:var(--sui-horizontal-tab-height, var(--sui-tab-height, 100%));justify-content:var(--sui-horizontal-tab-justify-content, center);}.tab-list[aria-orientation=horizontal].svelte-1acgnhr .indicator:where(.svelte-1acgnhr) {border-block-width:var(--sui-horizontal-tab-list-indicator-border-block-width, 0 2px);border-inline-width:var(--sui-horizontal-tab-list-indicator-border-inline-width, 0 0);}.tab-list[aria-orientation=vertical].svelte-1acgnhr {gap:var(--sui-vertical-tab-list-gap, var(--sui-tab-list-gap, 8px));flex-direction:column;margin-block:var(--sui-vertical-tab-list-margin-block, 0);margin-inline:var(--sui-vertical-tab-list-margin-inline, 0 32px);border-block-width:var(--sui-vertical-tab-list-border-block-width, 0 0);border-inline-width:var(--sui-vertical-tab-list-border-inline-width, 0 1px);padding:var(--sui-vertical-tab-list-padding, var(--sui-tab-list-padding, 8px 0));width:var(--sui-vertical-tab-list-width, auto);}.tab-list[aria-orientation=vertical].svelte-1acgnhr button {justify-content:var(--sui-vertical-tab-justify-content, flex-start);padding-inline-end:32px;width:var(--sui-vertical-tab-width, var(--sui-tab-width, 100%));height:var(--sui-vertical-tab-height, var(--sui-tab-height, auto));}.tab-list[aria-orientation=vertical].svelte-1acgnhr .indicator:where(.svelte-1acgnhr) {border-block-width:var(--sui-vertical-tab-list-indicator-border-block-width, 0 0);border-inline-width:var(--sui-vertical-tab-list-indicator-border-inline-width, 0 2px);}.tab-list.svelte-1acgnhr button {position:relative;z-index:1;border-color:transparent;margin:0 !important;border-radius:var(--sui-tab-border-radius, 0);font-family:var(--sui-tab-font-family, var(--sui-control-font-family, inherit));font-size:var(--sui-tab-font-size, var(--sui-control-font-size, inherit));font-weight:var(--sui-tab-font-weight, var(--sui-control-font-weight, var(--sui-font-weight-normal, normal)));}.inner.svelte-1acgnhr {display:contents;}.indicator.svelte-1acgnhr {position:absolute;z-index:0;inset:auto;border-radius:var(--sui-tab-list-indicator-border-radius, 0);border-color:var(--sui-tab-list-indicator-border-color, var(--sui-primary-accent-color-light));background-color:var(--sui-tab-list-indicator-background-color, transparent);box-shadow:var(--sui-tab-list-indicator-box-shadow, none);pointer-events:none;transition:var(--sui-tab-list-indicator-transition, all 200ms);}`}})))()}function ite(e,t){G(e,ote);let n=Gs(t,Dh);var r=ate();ms(r,()=>({...n,role:`tabpanel`,class:`sui tab-panel ${t.class??``}`}),void 0,void 0,void 0,`svelte-yblq11`),bo(F(r),()=>t.children??E),D(r),H(e,r)}var Dh,ate,ote;function ste(){return(ste=o((()=>{Y(),J(),Dh=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`children`]),ate=B(`<div><!></div>`),ote={hash:`svelte-yblq11`,code:`.tab-panel.svelte-yblq11 {flex:auto;transition:all 200ms;}.tab-panel[aria-hidden=true].svelte-yblq11, .tab-panel.svelte-yblq11:not([aria-hidden]) {display:none;}`}})))()}function cte(e,t){let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`selected`,3,!1),a=Gs(t,lte);Id(e,Ks(()=>a,{role:`tab`,get class(){return`sui tab ${t.class??``}`},get hidden(){return n()},get disabled(){return r()},get"aria-selected"(){return i()},startIcon:e=>{var n=V();bo(I(n),()=>t.startIcon??E),H(e,n)},children:e=>{var n=V();bo(I(n),()=>t.children??E),H(e,n)},endIcon:e=>{var n=V();bo(I(n),()=>t.endIcon??E),H(e,n)},$$slots:{startIcon:!0,default:!0,endIcon:!0}}))}var lte;function ute(){return(ute=o((()=>{Y(),J(),Hd(),lte=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`selected`,`children`,`startIcon`,`endIcon`])})))()}function Oh(e,t){O(t,!0),G(e,pte);let n=q(t,`show`,15,!1),r=q(t,`id`,3,void 0),i=q(t,`duration`,3,5e3),a=q(t,`position`,7,`auto`),o=Gs(t,dte),s=N(void 0),c=N(void 0),l=N(void 0),u=N(0);tc(()=>(P(c,document.querySelector(`.sui.toast-base.enabled`)??void 0,!0),z(c)?z(s)?.remove():(P(c,z(s),!0),z(c)&&(z(c).classList.add(`enabled`),(document.querySelector(`.sui.app-shell`)??document.body).appendChild(z(c)),z(c).showPopover&&(z(c).popover=`manual`,z(c).showPopover()))),()=>{z(l)?.remove()})),tc(()=>{if(a()!==`auto`)return;let e=globalThis.matchMedia(`(width < 1024px)`),t=()=>{a(e.matches?`bottom-center`:`bottom-right`)};return t(),e.addEventListener(`change`,t),()=>{e.removeEventListener(`change`,t)}}),Yr(()=>{z(c)&&z(l)&&z(c).appendChild(z(l))}),Yr(()=>{r(),n(),i(),Li(()=>{globalThis.clearTimeout(z(u))}),n()&&i()&&P(u,globalThis.setTimeout(()=>{n(!1)},i()),!0)});var d=fte(),f=I(d);Rs(f,e=>P(s,e),()=>z(s));var p=L(f,2);ms(p,()=>({...o,class:`sui toast ${a()??``}`,"aria-hidden":!n()}),void 0,void 0,void 0,`svelte-1274m7`),bo(F(p),()=>t.children??E),D(p),Rs(p,e=>P(l,e),()=>z(l)),H(e,d),k()}var dte,fte,pte;function kh(){return(kh=o((()=>{Y(),J(),ic(),dte=new Set([`$$slots`,`$$events`,`$$legacy`,`show`,`id`,`duration`,`position`,`children`]),fte=B(`<div role="none" class="sui toast-base svelte-1274m7"></div> <div><!></div>`,1),pte={hash:`svelte-1274m7`,code:`.toast-base.svelte-1274m7 {position:fixed;inset:16px;z-index:99999;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:8px;margin:0;border:0;padding:0;width:auto;height:auto;background-color:transparent;font-family:var(--sui-font-family-default);font-size:var(--sui-font-size-default);font-weight:var(--sui-font-weight-normal, normal);text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;}body:has(.sui.bottom-navigation:not([inert]:not([hidden]))) .toast-base {bottom:calc(var(--sui-bottom-navigation-height) + 16px);}.toast.svelte-1274m7 {position:absolute;width:max-content;max-width:80dvw;box-shadow:0 8px 16px var(--sui-popup-shadow-color);opacity:1;transition-duration:250ms;will-change:opacity;}.toast[aria-hidden=true].svelte-1274m7 {display:block;opacity:0;}.toast.top-left.svelte-1274m7 {inset-block-start:0;inset-block-end:auto;inset-inline-start:0;inset-inline-end:auto;}.toast.top-center.svelte-1274m7 {inset-block-start:0;inset-block-end:auto;inset-inline-start:50%;inset-inline-end:auto;}.toast.top-center.svelte-1274m7:dir(ltr) {transform:translateX(-50%);}.toast.top-center.svelte-1274m7:dir(rtl) {transform:translateX(50%);}.toast.top-right.svelte-1274m7 {inset-block-start:0;inset-block-end:auto;inset-inline-start:auto;inset-inline-end:0;}.toast.bottom-left.svelte-1274m7 {inset-block-start:auto;inset-block-end:0;inset-inline-start:0;inset-inline-end:auto;}.toast.bottom-center.svelte-1274m7 {inset-block-start:auto;inset-block-end:0;inset-inline-start:50%;inset-inline-end:auto;}.toast.bottom-center.svelte-1274m7:dir(ltr) {transform:translateX(-50%);}.toast.bottom-center.svelte-1274m7:dir(rtl) {transform:translateX(50%);}.toast.bottom-right.svelte-1274m7 {inset-block-start:auto;inset-block-end:0;inset-inline-start:auto;inset-inline-end:0;}`}})))()}var Ah=s(((e,t)=>{
|
|
44
44
|
/**
|
|
45
45
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
46
46
|
*
|
|
@@ -84,12 +84,12 @@ _$3_$4`).replace(/(\s+)\*\*([^*\n]+?)\n([^*\n]+?)\*\*(\s+)/gm,`$1**$2**
|
|
|
84
84
|
`).map(e=>/^(`{3,}|~{3,})/.test(e)?(t=!t,e):t?e:e.replace(/^(\s+)(-|\+|\*|\d+\.)/,(e,t,n)=>`${` `.repeat(t.length*2)}${n}`)).join(`
|
|
85
85
|
`)}})))()}var _D;function vD(){return(vD=o((()=>{PC(),_D={dependencies:[NC],export:e=>lae(e)?`***`:null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(e,t,n,r)=>{let i=cae();r||e.getNextSibling()!==null?e.replace(i):e.insertBefore(i),i.selectNext()},type:`element`}})))()}var yD,bD,xD,SD,CD,wD;function TD(){return(TD=o((()=>{EE(),YE(),FS(),yD=/^(?:\|)(.+)(?:\|)\s?$/,bD=/^(\| ?:?-*:? ?)+\|\s?$/,xD=e=>{let t=e.getFirstChild();return NE(t)?t.getChildrenSize():0},SD=e=>{e=e.replace(/\\n/g,`
|
|
86
86
|
`);let t=kE(WE.NO_STATUS);return Kse(e,TE,t),t},CD=e=>{let[,t]=e.match(yD)??[];return t?t.split(`|`).map(e=>SD(e)):null},wD={dependencies:[JE,KE,GE],export:e=>{if(!HE(e))return null;let t=[];return e.getChildren().forEach(e=>{let n=[];if(!NE(e))return;let r=!1;e.getChildren().forEach(e=>{AE(e)&&(n.push(qse(TE,e).replace(/\n/g,`\\n`).trim()),e.__headerState===WE.ROW&&(r=!0))}),t.push(`| ${n.join(` | `)} |`),r&&t.push(`| ${n.map(()=>`---`).join(` | `)} |`)}),t.join(`
|
|
87
|
-
`)},regExp:yD,replace:(e,t,[n])=>{if(bD.test(n)){let t=e.getPreviousSibling();if(!t||!HE(t))return;let n=t.getChildren(),r=n[n.length-1];if(!r||!NE(r))return;r.getChildren().forEach(e=>{AE(e)&&e.setHeaderStyles(WE.ROW,WE.ROW)}),e.remove();return}let r=CD(n);if(!r)return;let i=[r],a=e.getPreviousSibling(),o=r.length;for(;a&&!(!__(a)||a.getChildrenSize()!==1);){let e=a.getFirstChild();if(!pg(e))break;let t=CD(e.getTextContent());if(!t)break;o=Math.max(o,t.length),i.unshift(t);let n=a.getPreviousSibling();a.remove(),a=n}let s=VE();i.forEach(e=>{let t=ME();s.append(t);for(let n=0;n<o;n+=1)t.append(n<e.length?e[n]:SD(``))});let c=e.getPreviousSibling();HE(c)&&xD(c)===o?(c.append(...s.getChildren()),e.remove()):e.replace(s),s.selectEnd()},type:`element`}})))()}var ED,DD,OD,kD;function AD(){return(AD=o((()=>{ED=`modulepreload`,DD=function(e){return`/`+e},OD={},kD=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=DD(t,n),t=s(t),t in OD)return;OD[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:ED,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})}})))()}var jD,MD,ND,PD,FD,ID,LD;function RD(){return(RD=o((()=>{Ah(),Rw(),Lw(),_oe(),PC(),Coe(),qw(),oT(),EE(),AT(),YE(),tC(),ed(),nD(),FS(),jD=l(rD(),1),pD(),gD(),vD(),TD(),AD(),MD=()=>{let e=Dg();if(!Q(e))return{blockNodeKey:null,blockType:`paragraph`,inlineTypes:[]};let t=e.anchor.getNode(),n=null,r=sD.filter(t=>e.hasFormat(t));t.getType()!==`root`&&(n=t instanceof oS?t:JS(t,oS),Vw(n)&&(r.push(`link`),n=JS(n,oS)),$w(n)&&(n=JS(n,rT)));let i=(()=>{if(!n)return`paragraph`;if(xT(n))return`heading-${n.getTag().match(/\d/)?.[0]}`;if(tT(n))return n.getListType()===`bullet`?`bulleted-list`:`numbered-list`;if(vT(n))return`blockquote`;if(pw(n)||bw(n))return`code-block`;let e=n.getType();return lD.includes(e)?e:`paragraph`})();return{blockNodeKey:n?.getKey()??null,blockType:i,inlineTypes:r}},ND=(e,t)=>{let n=t.filter(({tag:e})=>!fD.includes(e));e.getRootElement()?.dispatchEvent(new CustomEvent(`Update`,{detail:{value:qse(n).replace(/\\([_\\])/g,`$1`).replace(/ /g,` `),selection:MD()}}))},PD=({enabledButtons:e=[],components:t=[],useMarkdownShortcuts:n,isCodeEditor:r=!1,defaultLanguage:i=`plain`})=>{let a={namespace:`editor`,nodes:[...t.map(({node:e})=>e),...new Set(Object.entries(uD).filter(([t])=>e.includes(t)).flatMap(([,e])=>e)),...r?[Aw,jw]:[NC,JE,GE,KE]],theme:aD},o=[...t.map(({transformer:e})=>e),...new Set(Object.entries(dD).filter(([t])=>e.includes(t)).flatMap(([,e])=>e)),...r?[cE]:[_D,wD]],s=y_(a),c=[],l=e=>{typeof e==`function`&&c.push(e)};return l(xse(s)),l(moe(s)),l(xoe(s,Soe(),1e3)),n&&l(Gse(s,o)),(e.includes(`code-block`)||r)&&l(uoe(s,{defaultLanguage:i,tokenize:(e,t=`plain`)=>window.Prism.tokenize(e,window.Prism.languages[t]??window.Prism.languages.plain),$tokenize:Iw.$tokenize})),e.includes(`link`)&&(l(s.registerCommand(Kw,e=>(Doe(typeof e==`string`?e:null),!0),2)),l(s.registerCommand(ox,e=>{let t=Dg();if(!Q(t)||!YS(e,ClipboardEvent)||!e.clipboardData||e.target.matches(`input, textarea`))return!1;let n=e.clipboardData.getData(`text`).trim();return eD(n)?(t.isCollapsed()&&Pg([fg(n)]),!t.getNodes().some(e=>$(e)||pg(e)&&!e.isSimpleText())&&(s.dispatchCommand(Kw,n),e.preventDefault(),!0)):!1},1))),e.includes(`bulleted-list`)&&l(s.registerCommand(iT,()=>(Noe(`bullet`),!0),2)),e.includes(`numbered-list`)&&l(s.registerCommand(aT,()=>(Noe(`number`),!0),2)),(e.includes(`bulleted-list`)||e.includes(`numbered-list`))&&l(s.registerCommand(ix,()=>Roe(),2)),l(s.registerUpdateListener(()=>{s?.isComposing()||(async()=>{await $u(100),s.update(()=>{if(r){let e=K_(),t=e.getChildren();if(t.length===1&&!pw(t[0])&&t[0].remove(),t.length===0){let t=fw();t.setLanguage(i),e.append(t)}}ND(s,o)})})()})),l(s.registerRootListener(e=>{if(!e)return;let t=e=>{s.update(()=>{if(e.key===`Tab`){let t=Dg();if(!Q(t))return;let n=t.anchor.getNode(),r=n instanceof oS?n:JS(n,oS);$w(r)&&r.canIndent()&&(e.shiftKey?r.getIndent()>0&&(e.preventDefault(),s.dispatchCommand(Ox,void 0)):(e.preventDefault(),s.dispatchCommand(Dx,void 0)))}})};return e.addEventListener(`keydown`,t),()=>{e.removeEventListener(`keydown`,t)}})),{editor:s,enabledTransformers:o,dispose:()=>{c.forEach(e=>e())}}},FD=async e=>{if(e in window.Prism.languages)return;let t=Object.entries(jD.default.languages).find(([t,{alias:n}])=>t===e||(Array.isArray(n)?n.includes(e):n===e))?.[0];if(t)try{await kD(()=>import(`${iD}/components/prism-${t}.min.js`),[])}catch{}},ID=async(e,t,n)=>(await Promise.all([...t.matchAll(/^```(?<lang>.+?)\n/gm)].map(async({groups:{lang:e=`plain`}={}})=>FD(e))),t=mD(t),t=hD(t),new Promise((r,i)=>{e.update(()=>{try{Kse(t,n),r(void 0)}catch(e){i(Error(`Failed to convert Markdown`,{cause:e}))}})})),LD=async e=>new Promise(t=>{e.focus(()=>{t(void 0)})})})))()}function zD(e,t){O(t,!0),G(e,HD);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`readonly`,3,!1),a=q(t,`required`,3,!1),o=q(t,`invalid`,3,!1),s=Gs(t,BD),c=Nt(`editorStore`),l=N(void 0),u=M(()=>!(r()||i()));Yr(()=>{c.editor?.setEditable(z(u))});let d=e=>{let{hasConverterError:t,useRichText:n,inputValue:r}=c;if(t||!n)return;let{value:i,selection:a}=e.detail;r!==i&&(c.useRichText=!1,c.inputValue=i,c.useRichText=!0),c.selection=a},f=e=>{e.target?.matches(`a`)&&e.preventDefault()};tc(()=>{let{editor:e,enabledTransformers:t,dispose:n}=PD(c.config);return c.editor=e,c.enabledTransformers=t,z(l)?.addEventListener(`Update`,d),z(l)?.addEventListener(`click`,f),()=>{z(l)?.removeEventListener(`Update`,d),z(l)?.removeEventListener(`click`,f),n(),e.setRootElement(null),c.initialized=!1,c.editor=void 0}}),Yr(()=>{c.editor&&z(l)&&(c.editor.setRootElement(z(l)),c.initialized=!0)});var p=VD();ms(p,()=>({...s,role:`textbox`,"aria-multiline":`true`,"aria-hidden":n(),"aria-disabled":r(),"aria-readonly":i(),"aria-required":a(),"aria-invalid":o(),class:`lexical-root`,id:`${c.editorId??``}-lexical-root`,contenteditable:z(u),hidden:n(),[_s]:{code:c.config.isCodeEditor}}),void 0,void 0,void 0,`svelte-chef6d`),Rs(p,e=>P(l,e),()=>z(l)),H(e,p),k()}var BD,VD,HD;function UD(){return(UD=o((()=>{Y(),J(),ic(),RD(),BD=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`]),VD=B(`<div></div>`),HD={hash:`svelte-chef6d`,code:`.lexical-root.svelte-chef6d {overflow:hidden;border:1px solid var(--sui-textbox-border-color);border-radius:var(--sui-textbox-border-radius) !important;padding:var(--sui-textbox-multiline-padding);min-height:120px;color:var(--sui-textbox-foreground-color);background-color:var(--sui-textbox-background-color);font-family:var(--sui-textbox-font-family);font-size:var(--sui-textbox-font-size);line-height:var(--sui-textbox-multiline-line-height);}.lexical-root.svelte-chef6d:not(:first-child) {border-start-start-radius:0 !important;border-start-end-radius:0 !important;}.lexical-root.code.svelte-chef6d {padding:0;}.lexical-root.code.svelte-chef6d .code-block {border-radius:0 !important;min-height:120px;}.lexical-root.svelte-chef6d:focus-visible {outline:0;}.lexical-root[aria-invalid=true].svelte-chef6d {border-color:var(--sui-error-border-color);}.lexical-root.svelte-chef6d [dir]:first-child {margin-top:0;}.lexical-root.svelte-chef6d [dir]:last-child {margin-bottom:0;}.lexical-root.svelte-chef6d strong.italic {font-style:italic;}.lexical-root.svelte-chef6d .strikethrough {text-decoration:line-through;}.lexical-root.svelte-chef6d li.nested {list-style-type:none;}.lexical-root.svelte-chef6d .code-block {position:relative;display:block;padding-block:8px;padding-inline-start:56px;padding-inline-end:8px;background-color:var(--sui-code-background-color);overflow-x:auto;white-space:pre;}.lexical-root.svelte-chef6d .code-block:not(:first-child) {margin-top:1em;}.lexical-root.svelte-chef6d .code-block:not(:last-child) {margin-bottom:1em;}.lexical-root.svelte-chef6d .code-block::before {position:absolute;inset-block:0;inset-inline-start:0;inset-inline-end:auto;content:attr(data-gutter);padding:8px;min-width:40px;color:var(--sui-tertiary-foreground-color);background-color:var(--sui-tertiary-background-color);text-align:end;}.lexical-root.svelte-chef6d [data-lexical-text=true] {cursor:text;}.lexical-root.svelte-chef6d :is(th, td) > p {margin:0;white-space:normal;word-break:normal;}.lexical-root.svelte-chef6d hr {margin:var(--sui-paragraph-margin) 0;border:none;padding:0;}.lexical-root.svelte-chef6d hr::after {display:block;height:2px;background-color:var(--sui-control-border-color);line-height:2px;content:"";}:root[data-theme=light] .lexical-root.svelte-chef6d .token:is(.comment, .prolog, .doctype, .cdata) {color:slategray;}:root[data-theme=light] .lexical-root.svelte-chef6d .token.punctuation {color:#999;}:root[data-theme=light] .lexical-root.svelte-chef6d .token.namespace {opacity:0.7;}:root[data-theme=light] .lexical-root.svelte-chef6d .token:is(.property, .tag, .boolean, .number, .constant, .symbol, .deleted) {color:#905;}:root[data-theme=light] .lexical-root.svelte-chef6d .token:is(.selector, .attr-name, .string, .char, .builtin, .inserted) {color:#690;}:root[data-theme=light] .lexical-root.svelte-chef6d .token:is(.operator, .entity, .url), :root[data-theme=light] .lexical-root.svelte-chef6d .language-css .token.string, :root[data-theme=light] .lexical-root.svelte-chef6d .style .token.string {color:#9a6e3a;}:root[data-theme=light] .lexical-root.svelte-chef6d .token:is(.atrule, .attr-value, .keyword) {color:#07a;}:root[data-theme=light] .lexical-root.svelte-chef6d .token:is(.function, .class-name) {color:#dd4a68;}:root[data-theme=light] .lexical-root.svelte-chef6d .token:is(.regex, .important, .variable) {color:#e90;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.comment, .block-comment, .prolog, .doctype, .cdata) {color:#999;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token.punctuation {color:#ccc;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.tag, .attr-name, .namespace, .deleted) {color:#e2777a;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token.function-name {color:#6196cc;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.boolean, .number, .function) {color:#f08d49;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.property, .class-name, .constant, .symbol) {color:#f8c555;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.selector, .important, .atrule, .keyword, .builtin) {color:#cc99cd;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.string, .char, .attr-value, .regex, .variable) {color:#7ec699;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.operator, .entity, .url) {color:#67cdcc;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token:is(.important, .bold) {font-weight:bold;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token.italic {font-style:italic;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token.entity {cursor:help;}:root[data-theme=dark] .lexical-root.svelte-chef6d .token.inserted {color:green;}`}})))()}var WD;function GD(){return(GD=o((()=>{J(),yd(),RD(),WD=()=>{let e=pd(`editor`),t=N(!1),n=N(void 0),r=N(Er([])),i=N(Er({modes:[],enabledButtons:[],components:[],useMarkdownShortcuts:!0,isCodeEditor:!1})),a=N(``),o=N(Er({blockNodeKey:null,blockType:`paragraph`,inlineTypes:[]})),s=N(!0),c=N(!1),l=N(!1),u=async()=>{if(!z(n)||!z(t))return;let e=z(a);try{await ID(z(n),z(a)||``,z(r))}catch(t){P(c,!0),P(a,e,!0),console.error(t)}};return{get editor(){return z(n)},set editor(e){P(n,e,!0)},set enabledTransformers(e){P(r,e,!0)},get enabledTransformers(){return z(r)},get initialized(){return z(t)},set initialized(e){P(t,e,!0)},get config(){return z(i)},set config(e){P(i,e,!0),P(s,e.modes[0]===`rich-text`||e.isCodeEditor,!0)},get inputValue(){return z(a)},set inputValue(e){let t=z(a)!==e;t&&P(a,e,!0),z(s)&&(t||z(n)?.getEditorState().isEmpty())&&u()},get selection(){return z(o)},set selection(e){P(o,e,!0)},get useRichText(){return z(s)},set useRichText(e){P(s,e,!0)},get hasConverterError(){return z(c)},set hasConverterError(e){P(c,e,!0),z(c)&&(P(s,!1),P(l,!0))},get showConverterError(){return z(l)},set showConverterError(e){P(l,e,!0)},editorId:e,convertMarkdown:u}}})))()}function KD(e,t){O(t,!0);let n=q(t,`disabled`,3,!1),r=Object.entries(qD.default.languages).filter(([,e])=>`title`in e).map(([e,t])=>{let{title:n,aliasTitles:r,alias:i}=t,a=[];return i&&!r&&(a=Array.isArray(i)?i:[i]),[{key:e,label:n,aliases:a},...Object.entries(r??{}).map(([e,t])=>({key:e,label:t,aliases:[]}))]}).flat(1).sort((e,t)=>e.label.localeCompare(t.label)),i=Nt(`editorStore`),a=N(`plain`);Yr(()=>{i.selection.blockNodeKey,i.editor?.read(()=>{let e=i.config.isCodeEditor?K_().getChildren()[0]:z_(i.selection.blockNodeKey);pw(e)&&P(a,e.getLanguage()??i.config.defaultLanguage??`plain`,!0)})});{let t=M(()=>X(`_sui.text_editor.language`));Gm(e,{get disabled(){return n()},get"aria-label"(){return z(t)},get value(){return z(a)},onChange:async({detail:{value:e}})=>{!i.editor||z(a)===e||(await LD(i.editor),i.selection?.blockNodeKey&&(await FD(e),i.editor.update(()=>{let t=z_(i.selection.blockNodeKey);pw(t)&&(t.setLanguage(e),P(a,e,!0))})))},children:(e,t)=>{var n=JD(),i=I(n);{let e=M(()=>X(`_sui.text_editor.plain_text`));Xp(i,{get label(){return z(e)},value:`plain`,dir:`ltr`})}co(L(i,2),17,()=>r,({key:e,label:t,aliases:n})=>e,(e,t)=>{let n=()=>z(t).key,r=()=>z(t).label,i=()=>z(t).aliases;{let t=M(()=>n()===z(a)||i().includes(z(a)));Xp(e,{get label(){return r()},get value(){return n()},get selected(){return z(t)},dir:`ltr`})}}),H(e,n)},$$slots:{default:!0}})}k()}var qD,JD;function YD(){return(YD=o((()=>{Y(),J(),Ah(),Rw(),Z(),FS(),qD=l(rD()),ic(),em(),qm(),RD(),JD=B(`<!> <!>`,1)})))()}function XD(e,t){G(e,$D);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`orientation`,3,`horizontal`),a=q(t,`variant`,3,void 0),o=q(t,`ariaLabel`,3,void 0),s=Gs(t,ZD);var c=QD();ms(c,()=>({...s,role:`toolbar`,class:`sui toolbar ${i()??``} ${a()??``} ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-orientation":i(),"aria-label":o()}),void 0,void 0,void 0,`svelte-3gxplj`);var l=F(c);bo(F(l),()=>t.children??E),D(l),D(c),R(()=>l.inert=r()),H(e,c)}var ZD,QD,$D;function eO(){return(eO=o((()=>{Y(),J(),ZD=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`orientation`,`variant`,`ariaLabel`,`children`]),QD=B(`<div><div role="none" class="inner svelte-3gxplj"><!></div></div>`),$D={hash:`svelte-3gxplj`,code:`[role=toolbar].svelte-3gxplj {--toolbar-size: var(--sui-secondary-toolbar-size);flex:none !important;display:flex;align-items:center;padding-inline:8px;background-color:var(--toolbar-background-color, transparent);}[role=toolbar].primary.svelte-3gxplj {--toolbar-size: var(--sui-primary-toolbar-size);}
|
|
88
|
-
@media (width < 768px) {[role=toolbar].secondary.svelte-
|
|
89
|
-
}[role=toolbar][aria-orientation=horizontal].svelte-
|
|
90
|
-
@media (width < 768px) {.wrapper.svelte-
|
|
91
|
-
}.wrapper.svelte-
|
|
92
|
-
.clone.svelte-1c9miom {white-space:pre-wrap;word-break:break-all;}`}})))()}var _O,vO;function yO(){return(yO=o((()=>{_(),_O=e=>Array.isArray(e)&&e.every(e=>h(e)),vO=e=>[...new Set(e)]})))()}function rce(e,t){O(t,!0);let n=Nt(`editorStore`),r=M(()=>n.selection.inlineTypes.includes(t.type));{let i=e=>{ac(e,{get name(){return oD[t.type].icon}})},a=M(()=>X(`_sui.text_editor.${oD[t.type].labelKey}`)),o=M(()=>!n.useRichText);Id(e,{iconic:!0,get"aria-label"(){return z(a)},get"aria-controls"(){return`${n.editorId??``}-lexical-root`},get disabled(){return z(o)},get pressed(){return z(r)},onclick:async()=>{n.editor&&(await LD(n.editor),n.editor.dispatchCommand(ux,t.type))},startIcon:i,$$slots:{startIcon:!0}})}k()}function bO(){return(bO=o((()=>{Y(),J(),Z(),FS(),ic(),Hd(),lc(),pD(),RD()})))()}function ice(e,t){O(t,!0);let n=Nt(`editorStore`),r=M(()=>t.component.label),i=M(()=>t.component.icon),a=M(()=>t.component.createNode);{let t=e=>{var t=V(),n=I(t),r=e=>{ac(e,{get name(){return z(i)}})};W(n,e=>{z(i)&&e(r)}),H(e,t)},o=M(()=>!!z(i)),s=M(()=>z(i)?void 0:z(r)),c=M(()=>!n.useRichText);Id(e,{get iconic(){return z(o)},get label(){return z(s)},get title(){return z(r)},get"aria-label"(){return z(r)},get"aria-controls"(){return`${n.editorId??``}-lexical-root`},get disabled(){return z(c)},onclick:()=>{n.editor?.update(()=>{Pg([z(a)(),g_()])})},startIcon:t,$$slots:{startIcon:!0}})}k()}function xO(){return(xO=o((()=>{Y(),J(),FS(),ic(),Hd(),lc()})))()}function ace(e,t){let n=ja();O(t,!0);let r=`link`,i=Nt(`editorStore`),a=M(()=>i.selection.inlineTypes.includes(r)),o=N(!1),s=N(`create`),c=N(!1),l=N(``),u=N(``),d=()=>{i.editor?.getEditorState().read(()=>{let e=Qne().trim();P(l,e,!0),P(c,!!e),P(s,`create`),P(o,!0)})},f=()=>{i.editor?.dispatchCommand(Kw,null)},p=()=>{i.editor?.getEditorState().read(()=>{let e=Dg();if(Q(e)){let t=e.anchor.getNode(),n=(t instanceof Ww?t:JS(t,Ww))?.getURL();if(n){P(c,!0),P(l,n,!0),P(s,`update`),P(o,!0);return}}f()})},m=()=>{z(a)?p():d()},h=e=>{Ku(e,`Enter`)&&z(l)&&P(o,!1)},g=async e=>{if(e.detail.returnValue!==`cancel`&&z(s)!==`remove`){if(!i.editor)return;await new Promise(e=>{i.editor?.update(async()=>{let t=Dg()??Og()?.clone();Q(t)||(t=wg()),z(c)||(P(u,z(u).trim(),!0),P(u,z(u)||z(l),!0),Pg([fg(z(u))])),q_(t),e(void 0)})}),await LD(i.editor),i.editor.dispatchCommand(Kw,z(l))}P(l,``),P(u,``)},_=()=>{i.editor?.registerCommand(px,e=>(Ku(e,Hu()?`Meta+K`:`Ctrl+K`)&&(e.preventDefault(),m()),!1),2)};Yr(()=>{i.editor&&_()});var v=wO(),y=I(v);{let e=e=>{ac(e,{get name(){return oD[r].icon}})},t=M(()=>X(`_sui.text_editor.${oD[r].labelKey}`)),n=M(()=>!i.useRichText);Id(y,{iconic:!0,get"aria-label"(){return z(t)},get"aria-controls"(){return`${i.editorId??``}-lexical-root`},get disabled(){return z(n)},get pressed(){return z(a)},onclick:()=>{m()},startIcon:e,$$slots:{startIcon:!0}})}var b=L(y,2);{let e=e=>{var t=V(),n=I(t),r=e=>{{let t=M(()=>X(`_sui.remove`));Id(e,{variant:`secondary`,get label(){return z(t)},onclick:()=>{f(),P(s,`remove`),P(o,!1)}})}};W(n,e=>{z(s)!==`create`&&e(r)}),H(e,t)},t=M(()=>z(s)===`create`?X(`_sui.text_editor.insert_link`):X(`_sui.text_editor.update_link`)),r=M(()=>!z(l)),i=M(()=>z(s)===`create`?X(`_sui.insert`):X(`_sui.update`));cp(b,{get title(){return z(t)},get okDisabled(){return z(r)},get okLabel(){return z(i)},onClose:e=>{g(e)},get open(){return z(o)},set open(e){P(o,e,!0)},get value(){return z(l)},set value(e){P(l,e,!0)},footerExtra:e,children:(e,t)=>{var r=CO(),i=I(r),a=F(i),o=F(a,!0);D(a);var s=L(a,2);{let e=M(()=>X(`_sui.text_editor.url`));Cp(s,{dir:`ltr`,get id(){return`${n}-url`},flex:!0,get"aria-label"(){return z(e)},onkeydown:e=>{h(e)},get value(){return z(l)},set value(e){P(l,e,!0)}})}D(i);var d=L(i,2),f=e=>{var t=SO(),r=F(t),i=F(r,!0);D(r);var a=L(r,2);{let e=M(()=>X(`_sui.text_editor.text`));Cp(a,{dir:`auto`,get id(){return`${n}-text`},flex:!0,get"aria-label"(){return z(e)},onkeydown:e=>{h(e)},get value(){return z(u)},set value(e){P(u,e,!0)}})}D(t),R(e=>{K(r,`for`,`${n}-text`),U(i,e)},[()=>X(`_sui.text_editor.text`)]),H(e,t)};W(d,e=>{z(c)||e(f)}),R(e=>{K(a,`for`,`${n}-url`),U(o,e)},[()=>X(`_sui.text_editor.url`)]),H(e,r)},$$slots:{footerExtra:!0,default:!0}})}H(e,v),k()}var SO,CO,wO;function TO(){return(TO=o((()=>{Y(),J(),qw(),tC(),Z(),Ju(),FS(),ic(),Hd(),gp(),lc(),Op(),pD(),RD(),SO=B(`<div role="none"><label> </label> <!></div>`),CO=B(`<div role="none"><label> </label> <!></div> <!>`,1),wO=B(`<!> <!>`,1)})))()}function oce(e,t){O(t,!0);let n=Nt(`editorStore`);{let r=e=>{ac(e,{name:`arrow_drop_down`,class:`small-arrow`})},i=e=>{tm(e,{children:(e,r)=>{var i=V();co(I(i),17,()=>t.components,({id:e,label:t,icon:n,createNode:r})=>e,(e,t)=>{let r=()=>z(t).label,i=()=>z(t).icon,a=()=>z(t).createNode;om(e,{get label(){return r()},onclick:()=>{n.editor?.update(()=>{Pg([a()(),g_()])})},startIcon:e=>{var t=V(),n=I(t),r=e=>{ac(e,{get name(){return i()}})};W(n,e=>{i()&&e(r)}),H(e,t)},$$slots:{startIcon:!0}})}),H(e,i)},$$slots:{default:!0}})},a=M(()=>!n.useRichText),o=M(()=>X(`_sui.insert`));Mf(e,{get disabled(){return z(a)},get label(){return z(o)},endIcon:r,popup:i,$$slots:{endIcon:!0,popup:!0}})}k()}function EO(){return(EO=o((()=>{Y(),J(),Z(),FS(),ic(),lc(),Ff(),fm(),am()})))()}function sce(e,t){O(t,!0);let n=Nt(`editorStore`),r=M(()=>n.selection.blockType===t.type),i=async()=>{if(!n.editor)return;await LD(n.editor);let[,e]=t.type.match(/^heading-(\d)$/)??[];e&&n.editor.update(()=>{VS(Dg(),()=>bT(`h${e}`))}),t.type===`paragraph`&&n.editor.update(()=>{VS(Dg(),()=>g_())}),t.type===`bulleted-list`&&n.editor.dispatchCommand(iT,void 0),t.type===`numbered-list`&&n.editor.dispatchCommand(aT,void 0),t.type===`blockquote`&&n.editor.update(()=>{VS(Dg(),()=>_T())}),t.type===`code-block`&&n.editor.update(()=>{VS(Dg(),()=>fw())})};var a=V();eo(I(a),()=>z(r),e=>{{let n=e=>{ac(e,{get name(){return oD[t.type].icon}})},a=M(()=>X(`_sui.text_editor.${oD[t.type].labelKey}`));pm(e,{get label(){return z(a)},get checked(){return z(r)},onclick:()=>{z(r)||i()},startIcon:n,$$slots:{startIcon:!0}})}}),H(e,a),k()}function DO(){return(DO=o((()=>{Y(),J(),Ah(),Rw(),oT(),AT(),qS(),Z(),FS(),ic(),lc(),hm(),pD(),RD()})))()}function cce(e,t){O(t,!0);let n=q(t,`disabled`,3,!1),r=q(t,`readonly`,3,!1),i=Nt(`editorStore`),a=M(()=>i.config.components.filter(({trigger:e=`menuitem`})=>e===`button`)),o=M(()=>i.config.components.filter(({trigger:e=`menuitem`})=>e===`menuitem`)),s=M(()=>vO([`paragraph`,...i.config.enabledButtons.filter(e=>lD.includes(e))])),c=M(()=>vO(i.config.enabledButtons.filter(e=>cD.includes(e))));{let t=M(()=>n()||r()),l=M(()=>X(`_sui.text_editor.text_editor`));tO(e,{get disabled(){return z(t)},get"aria-label"(){return z(l)},children:(e,t)=>{var n=AO(),r=I(n),l=e=>{{let t=e=>{{let t=M(()=>oD[i.selection.blockType??``]?.icon??`format_paragraph`);ac(e,{get name(){return z(t)}})}},n=e=>{{let t=M(()=>X(`_sui.text_editor.text_style_options`));tm(e,{get"aria-label"(){return z(t)},children:(e,t)=>{var n=V();co(I(n),16,()=>z(s),e=>e,(e,t)=>{sce(e,{get type(){return t}})}),H(e,n)},$$slots:{default:!0}})}},r=M(()=>!i.useRichText),a=M(()=>X(`_sui.text_editor.show_text_style_options`));Mf(e,{get disabled(){return z(r)},get"aria-label"(){return z(a)},get"aria-controls"(){return`${i.editorId??``}-lexical-root`},startIcon:t,popup:n,$$slots:{startIcon:!0,popup:!0}})}};W(r,e=>{z(s).length>1&&e(l)});var u=L(r,2),d=e=>{var t=OO(),n=I(t);Vf(n,{orientation:`vertical`});var r=L(n,2);{let e=M(()=>!i.useRichText);KD(r,{get disabled(){return z(e)}})}H(e,t)},f=e=>{var t=OO(),n=I(t),r=e=>{var t=OO(),n=I(t);Vf(n,{orientation:`vertical`}),$d(L(n,2),{children:(e,t)=>{var n=V();co(I(n),16,()=>z(c),e=>e,(e,t)=>{var n=V(),r=I(n),i=e=>{ace(e,{})},a=e=>{rce(e,{get type(){return t}})};W(r,e=>{t===`link`?e(i):e(a,-1)}),H(e,n)}),H(e,n)},$$slots:{default:!0}}),H(e,t)};W(n,e=>{z(c).length&&e(r)});var s=L(n,2),l=e=>{var t=kO(),n=I(t);Vf(n,{orientation:`vertical`});var r=L(n,2);co(r,17,()=>z(a),e=>e.id,(e,t)=>{ice(e,{get component(){return z(t)}})});var i=L(r,2),s=e=>{oce(e,{get components(){return z(o)}})};W(i,e=>{z(o).length&&e(s)}),H(e,t)};W(s,e=>{i.config.components.length&&e(l)}),H(e,t)};W(u,e=>{i.selection.blockType===`code-block`?e(d):e(f,-1)});var p=L(u,2);Kf(p,{flex:!0});var m=L(p,2),h=e=>{{let t=e=>{ac(e,{name:`markdown`})},n=M(()=>!i.useRichText),r=M(()=>X(`_sui.text_editor.edit_in_markdown`));Id(e,{iconic:!0,get disabled(){return i.hasConverterError},get pressed(){return z(n)},get"aria-label"(){return z(r)},onclick:()=>{i.useRichText=!i.useRichText,i.useRichText&&i.convertMarkdown()},startIcon:t,$$slots:{startIcon:!0}})}};W(m,e=>{i.config.modes.length>1&&e(h)}),H(e,n)},$$slots:{default:!0}})}k()}var OO,kO,AO;function jO(){return(jO=o((()=>{Y(),J(),Z(),yO(),ic(),rf(),Hd(),Gf(),Xf(),lc(),Ff(),am(),pD(),YD(),bO(),xO(),TO(),EO(),DO(),aO(),OO=B(`<!> <!>`,1),kO=B(`<!> <!> <!>`,1),AO=B(`<!> <!> <!> <!>`,1)})))()}function lce(e,t){O(t,!0),G(e,PO);let n=q(t,`value`,15,``),r=q(t,`flex`,3,!1),i=q(t,`dir`,3,void 0),a=q(t,`modes`,19,()=>[`rich-text`,`plain-text`]),o=q(t,`buttons`,19,()=>[...cD,...lD]),s=q(t,`components`,19,()=>[]),c=q(t,`useMarkdownShortcuts`,3,!0),l=q(t,`hidden`,3,!1),u=q(t,`disabled`,3,!1),d=q(t,`readonly`,3,!1),f=q(t,`required`,3,!1),p=q(t,`invalid`,3,!1),m=Gs(t,MO),h=WD();h.config={...h.config,modes:a(),enabledButtons:o(),components:s(),useMarkdownShortcuts:c()},Pt(`editorStore`,h),Yr(()=>{if(!h.initialized)return;let e=n();Li(()=>{h.inputValue=e})}),Yr(()=>{if(!h.initialized)return;let e=h.inputValue;Li(()=>{n()!==e&&n(e)})});var g=NO(),_=I(g);ms(_,()=>({...m,role:`none`,class:`sui text-editor`,hidden:l(),[_s]:{flex:r()}}),void 0,void 0,void 0,`svelte-pdnmmv`);var v=F(_);cce(v,{get disabled(){return u()},get readonly(){return d()}});var y=L(v,2);{let e=M(()=>!h.useRichText||l());zD(y,{get hidden(){return z(e)},get disabled(){return u()},get readonly(){return d()},get required(){return f()},get invalid(){return p()}})}var b=L(y,2);{let e=M(()=>h.useRichText||l());dO(b,{autoResize:!0,get flex(){return r()},get dir(){return i()},get hidden(){return z(e)},get disabled(){return u()},get readonly(){return d()},get required(){return f()},get invalid(){return p()},get value(){return h.inputValue},set value(e){h.inputValue=e}})}D(_);var x=L(_,2),S=e=>{Oh(e,{get show(){return h.showConverterError},set show(e){h.showConverterError=e},children:(e,t)=>{uc(e,{status:`error`,children:(e,t)=>{pt();var n=Aa();R(e=>U(n,e),[()=>X(`_sui.text_editor.converter_error`)]),H(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}})};W(x,e=>{h.showConverterError&&e(S)}),H(e,g),k()}var MO,NO,PO;function FO(){return(FO=o((()=>{Y(),J(),Z(),ic(),mc(),gO(),kh(),pD(),UD(),GD(),jO(),MO=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`flex`,`dir`,`modes`,`buttons`,`components`,`useMarkdownShortcuts`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`]),NO=B(`<div><!> <!> <!></div> <!>`,1),PO={hash:`svelte-pdnmmv`,code:`.text-editor.svelte-pdnmmv {margin:var(--sui-focus-ring-width);border-radius:var(--sui-textbox-border-radius);width:calc(100% - var(--sui-focus-ring-width) * 2);transition:all 200ms;}.text-editor.svelte-pdnmmv:focus-within {outline:var(--sui-focus-ring-width) solid var(--sui-focus-ring-color);}.text-editor.flex.svelte-pdnmmv:not([hidden]) {display:block;}.text-editor.svelte-pdnmmv .sui.text-area {margin:0 !important;width:100% !important;min-width:auto;}.text-editor.svelte-pdnmmv .sui.text-area textarea {border-start-start-radius:0 !important;border-start-end-radius:0 !important;border-end-start-radius:var(--sui-textbox-border-radius) !important;border-end-end-radius:var(--sui-textbox-border-radius) !important;}`}})))()}function uce(e,t){let n=ja();O(t,!0),G(e,RO);let r=q(t,`value`,15),i=q(t,`invalid`,15,!1),a=q(t,`flex`,3,!1),o=q(t,`min`,3,void 0),s=q(t,`max`,3,void 0),c=q(t,`step`,3,1),l=q(t,`hidden`,3,!1),u=q(t,`disabled`,3,!1),d=q(t,`readonly`,3,!1),f=q(t,`required`,3,!1),p=Gs(t,IO),m=N(!1),h=N(``),g=M(()=>String(c()).split(`.`)[1]?.length||0),_=M(()=>typeof o()==`number`&&Number(z(h)||0)<=o()),v=M(()=>typeof s()==`number`&&Number(z(h)||0)>=s());Yr(()=>{let e=String(r()??``);Li(()=>{z(h)!==e&&P(h,e,!0)})}),Yr(()=>{let e=z(h).trim()?Number(z(h)):NaN;r(Number.isNaN(e)?void 0:e)}),Yr(()=>{z(m)&&i(f()&&(r()===void 0||z(h)===``)||z(h)!==void 0&&z(h)!==``&&(Number.isNaN(Number(z(h)))||typeof o()==`number`&&Number(z(h)||0)<o()||typeof s()==`number`&&Number(z(h)||0)>s()))});let y=()=>{z(_)||Number.isNaN(Number(z(h)))||P(h,Number(Number(z(h)||0)-c()).toFixed(z(g)),!0)},b=()=>{z(v)||Number.isNaN(Number(z(h)))||P(h,Number(Number(z(h)||0)+c()).toFixed(z(g)),!0)};var x=LO();let S;var C=F(x),w=F(C);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.increaseIcon),H(e,n)},a=e=>{ac(e,{name:`expand_less`})};W(r,e=>{t.increaseIcon?e(i):e(a,-1)}),H(e,n)},i=M(()=>u()||d()||Number.isNaN(Number(r()))||z(v)),a=M(()=>X(`_sui.number_input.increase`));Id(w,{iconic:!0,get disabled(){return z(i)},get"aria-label"(){return z(a)},get"aria-controls"(){return n},onclick:()=>{b()},startIcon:e,$$slots:{startIcon:!0}})}var T=L(w,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.decreaseIcon),H(e,n)},a=e=>{ac(e,{name:`expand_more`})};W(r,e=>{t.decreaseIcon?e(i):e(a,-1)}),H(e,n)},i=M(()=>u()||d()||Number.isNaN(Number(r()))||z(_)),a=M(()=>X(`_sui.number_input.decrease`));Id(T,{iconic:!0,get disabled(){return z(i)},get"aria-label"(){return z(a)},get"aria-controls"(){return n},onclick:()=>{y()},startIcon:e,$$slots:{startIcon:!0}})}D(C);var ee=L(C,2);{let e=M(()=>Number(r()||0)),c=M(()=>z(g)>0?`decimal`:`numeric`);Cp(ee,Ks({dir:`ltr`},()=>p,{role:`spinbutton`,get id(){return n},spellcheck:`false`,get flex(){return a()},get hidden(){return l()},get disabled(){return u()},get readonly(){return d()},get required(){return f()},get invalid(){return i()},get"aria-valuenow"(){return z(e)},get"aria-valuemin"(){return o()},get"aria-valuemax"(){return s()},get inputmode(){return z(c)},onkeydown:e=>{let{key:t,ctrlKey:n,metaKey:r,altKey:i,shiftKey:a}=e,o=a||i||n||r;t===`ArrowDown`&&!o&&(e.preventDefault(),y()),t===`ArrowUp`&&!o&&(e.preventDefault(),b()),z(m)||P(m,!0)},oninput:()=>{z(m)||P(m,!0)},get onChange(){return t.onChange},get value(){return z(h)},set value(e){P(h,e,!0)}}))}D(x),R(()=>{S=ns(x,1,`sui number-input ${t.class??``}`,`svelte-1yatg6f`,S,{flex:a(),disabled:u(),readonly:d()}),K(x,`hidden`,l())}),H(e,x),k()}var IO,LO,RO;function zO(){return(zO=o((()=>{Y(),J(),Z(),ic(),Hd(),lc(),Op(),IO=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`invalid`,`flex`,`min`,`max`,`step`,`class`,`hidden`,`disabled`,`readonly`,`required`,`children`,`increaseIcon`,`decreaseIcon`,`onChange`]),LO=B(`<div role="none"><div role="none" class="buttons svelte-1yatg6f"><!> <!></div> <!></div>`),RO={hash:`svelte-1yatg6f`,code:`.number-input.svelte-1yatg6f {display:inline-flex;align-items:center;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-singleline-min-width);}.number-input.flex.svelte-1yatg6f:not([hidden]) {display:inline-flex;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}.number-input.svelte-1yatg6f :not(:first-child) input {border-start-start-radius:0;border-end-start-radius:0;}.number-input.svelte-1yatg6f :not(:last-child) input {border-start-end-radius:0;border-end-end-radius:0;}.number-input.svelte-1yatg6f :not(.disabled) button[aria-disabled=true] {filter:grayscale(0) opacity(1);}.number-input.svelte-1yatg6f :not(.disabled) button[aria-disabled=true] * {filter:grayscale(1) opacity(0.35);}.number-input.svelte-1yatg6f .text-input {flex:auto;margin:0 !important;width:0;min-width:0 !important;}.buttons.svelte-1yatg6f {display:flex;flex-direction:column;width:24px;height:var(--sui-textbox-height);}.buttons.svelte-1yatg6f button {flex:none;margin:0 !important;border-width:1px;border-color:var(--sui-textbox-border-color);width:100%;height:50%;}.buttons.svelte-1yatg6f button:first-of-type {border-block-start-width:1px;border-block-end-width:0;border-inline-end-width:0;border-inline-start-width:1px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:0;}.buttons.svelte-1yatg6f button:last-of-type {border-block-start-width:0;border-block-end-width:1px;border-inline-end-width:0;border-inline-start-width:1px;border-start-start-radius:0;border-start-end-radius:0;border-end-end-radius:0;}.buttons.svelte-1yatg6f button .icon {font-size:20px;}`}})))()}function BO(e,t){let n=ja();O(t,!0),G(e,UO);let r=q(t,`value`,15),i=q(t,`flex`,3,!1),a=q(t,`monospace`,3,!0),o=q(t,`hidden`,3,!1),s=q(t,`disabled`,3,!1),c=q(t,`readonly`,3,!1),l=q(t,`required`,3,!1),u=q(t,`invalid`,3,!1),d=Gs(t,VO),f=N(void 0),p=N(!1);var m=HO();let h;var g=F(m);Cp(g,Ks({dir:`ltr`},()=>d,{get id(){return n},spellcheck:`false`,get flex(){return i()},get monospace(){return a()},get hidden(){return o()},get disabled(){return s()},get readonly(){return c()},get required(){return l()},get invalid(){return u()},get element(){return z(f)},set element(e){P(f,e,!0)},get value(){return r()},set value(e){r(e)}}));var _=L(g,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.visibilityIcon),H(e,n)},a=e=>{{let t=M(()=>z(p)?`visibility_off`:`visibility`);ac(e,{get name(){return z(t)}})}};W(r,e=>{t.visibilityIcon?e(i):e(a,-1)}),H(e,n)},r=M(()=>s()||c()),i=M(()=>X(z(p)?`_sui.secret_input.hide_secret`:`_sui.secret_input.show_secret`));Id(_,{iconic:!0,get disabled(){return z(r)},get pressed(){return z(p)},get"aria-label"(){return z(i)},get"aria-controls"(){return n},onclick:()=>{P(p,!z(p))},startIcon:e,$$slots:{startIcon:!0}})}D(m),R(()=>{h=ns(m,1,`sui secret-input ${t.class??``}`,`svelte-1qwjyqa`,h,{flex:i(),disabled:s(),readonly:c(),show:z(p)}),K(m,`hidden`,o())}),H(e,m),k()}var VO,HO,UO;function WO(){return(WO=o((()=>{Y(),J(),Z(),Hd(),lc(),Op(),VO=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`flex`,`monospace`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`visibilityIcon`]),HO=B(`<div role="none"><!> <!></div>`),UO={hash:`svelte-1qwjyqa`,code:`.secret-input.svelte-1qwjyqa {display:inline-flex;align-items:center;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-singleline-min-width);}.secret-input.flex.svelte-1qwjyqa:not([hidden]) {display:inline-flex;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}.secret-input.show.svelte-1qwjyqa input {-webkit-text-security:none;}.secret-input.svelte-1qwjyqa .text-input {flex:auto;margin:0 !important;width:0;min-width:0 !important;}.secret-input.svelte-1qwjyqa input {border-start-end-radius:0;border-end-end-radius:0;-webkit-text-security:disc;}.secret-input.svelte-1qwjyqa button {flex:none;margin-block:0;margin-inline-start:-1px;margin-inline-end:0;border-width:1px;border-color:var(--sui-textbox-border-color);width:var(--sui-textbox-height);aspect-ratio:1/1;}.secret-input.svelte-1qwjyqa button:last-child {border-start-start-radius:0;border-start-end-radius:4px;border-end-end-radius:4px;border-end-start-radius:0;}.secret-input.svelte-1qwjyqa button .icon {font-size:var(--sui-font-size-xx-large);}`}})))()}function dce(e){G(e,KO),H(e,GO())}var GO,KO;function qO(){return(qO=o((()=>{Y(),J(),GO=B(`<link rel="preconnect" href="https://cdn.jsdelivr.net/"/>`),KO={hash:`svelte-bxmb8w`,code:`
|
|
87
|
+
`)},regExp:yD,replace:(e,t,[n])=>{if(bD.test(n)){let t=e.getPreviousSibling();if(!t||!HE(t))return;let n=t.getChildren(),r=n[n.length-1];if(!r||!NE(r))return;r.getChildren().forEach(e=>{AE(e)&&e.setHeaderStyles(WE.ROW,WE.ROW)}),e.remove();return}let r=CD(n);if(!r)return;let i=[r],a=e.getPreviousSibling(),o=r.length;for(;a&&!(!__(a)||a.getChildrenSize()!==1);){let e=a.getFirstChild();if(!pg(e))break;let t=CD(e.getTextContent());if(!t)break;o=Math.max(o,t.length),i.unshift(t);let n=a.getPreviousSibling();a.remove(),a=n}let s=VE();i.forEach(e=>{let t=ME();s.append(t);for(let n=0;n<o;n+=1)t.append(n<e.length?e[n]:SD(``))});let c=e.getPreviousSibling();HE(c)&&xD(c)===o?(c.append(...s.getChildren()),e.remove()):e.replace(s),s.selectEnd()},type:`element`}})))()}var ED,DD,OD,kD;function AD(){return(AD=o((()=>{ED=`modulepreload`,DD=function(e){return`/`+e},OD={},kD=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=DD(t,n),t=s(t),t in OD)return;OD[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:ED,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})}})))()}var jD,MD,ND,PD,FD,ID,LD;function RD(){return(RD=o((()=>{Ah(),Rw(),Lw(),_oe(),PC(),Coe(),qw(),oT(),EE(),AT(),YE(),tC(),ed(),nD(),FS(),jD=l(rD(),1),pD(),gD(),vD(),TD(),AD(),MD=()=>{let e=Dg();if(!Q(e))return{blockNodeKey:null,blockType:`paragraph`,inlineTypes:[]};let t=e.anchor.getNode(),n=null,r=sD.filter(t=>e.hasFormat(t));t.getType()!==`root`&&(n=t instanceof oS?t:JS(t,oS),Vw(n)&&(r.push(`link`),n=JS(n,oS)),$w(n)&&(n=JS(n,rT)));let i=(()=>{if(!n)return`paragraph`;if(xT(n))return`heading-${n.getTag().match(/\d/)?.[0]}`;if(tT(n))return n.getListType()===`bullet`?`bulleted-list`:`numbered-list`;if(vT(n))return`blockquote`;if(pw(n)||bw(n))return`code-block`;let e=n.getType();return lD.includes(e)?e:`paragraph`})();return{blockNodeKey:n?.getKey()??null,blockType:i,inlineTypes:r}},ND=(e,t)=>{let n=t.filter(({tag:e})=>!fD.includes(e));e.getRootElement()?.dispatchEvent(new CustomEvent(`Update`,{detail:{value:qse(n).replace(/\\([_\\])/g,`$1`).replace(/ /g,` `),selection:MD()}}))},PD=({enabledButtons:e=[],components:t=[],useMarkdownShortcuts:n,isCodeEditor:r=!1,defaultLanguage:i=`plain`})=>{let a={namespace:`editor`,nodes:[...t.map(({node:e})=>e),...new Set(Object.entries(uD).filter(([t])=>e.includes(t)).flatMap(([,e])=>e)),...r?[Aw,jw]:[NC,JE,GE,KE]],theme:aD},o=[...t.map(({transformer:e})=>e),...new Set(Object.entries(dD).filter(([t])=>e.includes(t)).flatMap(([,e])=>e)),...r?[cE]:[_D,wD]],s=y_(a),c=[],l=e=>{typeof e==`function`&&c.push(e)};return l(xse(s)),l(moe(s)),l(xoe(s,Soe(),1e3)),n&&l(Gse(s,o)),(e.includes(`code-block`)||r)&&l(uoe(s,{defaultLanguage:i,tokenize:(e,t=`plain`)=>window.Prism.tokenize(e,window.Prism.languages[t]??window.Prism.languages.plain),$tokenize:Iw.$tokenize})),e.includes(`link`)&&(l(s.registerCommand(Kw,e=>(Doe(typeof e==`string`?e:null),!0),2)),l(s.registerCommand(ox,e=>{let t=Dg();if(!Q(t)||!YS(e,ClipboardEvent)||!e.clipboardData||e.target.matches(`input, textarea`))return!1;let n=e.clipboardData.getData(`text`).trim();return eD(n)?(t.isCollapsed()&&Pg([fg(n)]),!t.getNodes().some(e=>$(e)||pg(e)&&!e.isSimpleText())&&(s.dispatchCommand(Kw,n),e.preventDefault(),!0)):!1},1))),e.includes(`bulleted-list`)&&l(s.registerCommand(iT,()=>(Noe(`bullet`),!0),2)),e.includes(`numbered-list`)&&l(s.registerCommand(aT,()=>(Noe(`number`),!0),2)),(e.includes(`bulleted-list`)||e.includes(`numbered-list`))&&l(s.registerCommand(ix,()=>Roe(),2)),l(s.registerUpdateListener(()=>{s?.isComposing()||(async()=>{await $u(100),s.update(()=>{if(r){let e=K_(),t=e.getChildren();if(t.length===1&&!pw(t[0])&&t[0].remove(),t.length===0){let t=fw();t.setLanguage(i),e.append(t)}}ND(s,o)})})()})),l(s.registerRootListener(e=>{if(!e)return;let t=e=>{s.update(()=>{if(e.key===`Tab`){let t=Dg();if(!Q(t))return;let n=t.anchor.getNode(),r=n instanceof oS?n:JS(n,oS);$w(r)&&r.canIndent()&&(e.shiftKey?r.getIndent()>0&&(e.preventDefault(),s.dispatchCommand(Ox,void 0)):(e.preventDefault(),s.dispatchCommand(Dx,void 0)))}})};return e.addEventListener(`keydown`,t),()=>{e.removeEventListener(`keydown`,t)}})),{editor:s,enabledTransformers:o,dispose:()=>{c.forEach(e=>e())}}},FD=async e=>{if(e in window.Prism.languages)return;let t=Object.entries(jD.default.languages).find(([t,{alias:n}])=>t===e||(Array.isArray(n)?n.includes(e):n===e))?.[0];if(t)try{await kD(()=>import(`${iD}/components/prism-${t}.min.js`),[])}catch{}},ID=async(e,t,n)=>(await Promise.all([...t.matchAll(/^```(?<lang>.+?)\n/gm)].map(async({groups:{lang:e=`plain`}={}})=>FD(e))),t=mD(t),t=hD(t),new Promise((r,i)=>{e.update(()=>{try{Kse(t,n),r(void 0)}catch(e){i(Error(`Failed to convert Markdown`,{cause:e}))}})})),LD=async e=>new Promise(t=>{e.focus(()=>{t(void 0)})})})))()}function zD(e,t){O(t,!0),G(e,HD);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`readonly`,3,!1),a=q(t,`required`,3,!1),o=q(t,`invalid`,3,!1),s=Gs(t,BD),c=Nt(`editorStore`),l=N(void 0),u=M(()=>!(r()||i()));Yr(()=>{c.editor?.setEditable(z(u))});let d=e=>{let{hasConverterError:t,useRichText:n,inputValue:r}=c;if(t||!n)return;let{value:i,selection:a}=e.detail;r!==i&&(c.useRichText=!1,c.inputValue=i,c.useRichText=!0),c.selection=a},f=e=>{e.target?.matches(`a`)&&e.preventDefault()};tc(()=>{let{editor:e,enabledTransformers:t,dispose:n}=PD(c.config);return c.editor=e,c.enabledTransformers=t,z(l)?.addEventListener(`Update`,d),z(l)?.addEventListener(`click`,f),()=>{z(l)?.removeEventListener(`Update`,d),z(l)?.removeEventListener(`click`,f),n(),e.setRootElement(null),c.initialized=!1,c.editor=void 0}}),Yr(()=>{c.editor&&z(l)&&(c.editor.setRootElement(z(l)),c.initialized=!0)});var p=VD();ms(p,()=>({...s,role:`textbox`,"aria-multiline":`true`,"aria-hidden":n(),"aria-disabled":r(),"aria-readonly":i(),"aria-required":a(),"aria-invalid":o(),class:`lexical-root`,id:`${c.editorId??``}-lexical-root`,contenteditable:z(u),hidden:n(),[_s]:{code:c.config.isCodeEditor}}),void 0,void 0,void 0,`svelte-7vudw5`),Rs(p,e=>P(l,e),()=>z(l)),H(e,p),k()}var BD,VD,HD;function UD(){return(UD=o((()=>{Y(),J(),ic(),RD(),BD=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`]),VD=B(`<div></div>`),HD={hash:`svelte-7vudw5`,code:`.lexical-root.svelte-7vudw5 {overflow:hidden;border:1px solid var(--sui-textbox-border-color);border-radius:var(--sui-textbox-border-radius) !important;padding:var(--sui-textbox-multiline-padding);min-height:120px;color:var(--sui-textbox-foreground-color);background-color:var(--sui-textbox-background-color);font-family:var(--sui-textbox-font-family);font-size:var(--sui-textbox-font-size);line-height:var(--sui-textbox-multiline-line-height);}.lexical-root.svelte-7vudw5:not(:first-child) {border-start-start-radius:0 !important;border-start-end-radius:0 !important;}.lexical-root.code.svelte-7vudw5 {padding:0;}.lexical-root.code.svelte-7vudw5 .code-block {border-radius:0 !important;min-height:120px;}.lexical-root.svelte-7vudw5:focus-visible {outline:0;}.lexical-root[aria-invalid=true].svelte-7vudw5 {border-color:var(--sui-error-border-color);}.lexical-root.svelte-7vudw5 [dir]:first-child {margin-top:0;}.lexical-root.svelte-7vudw5 [dir]:last-child {margin-bottom:0;}.lexical-root.svelte-7vudw5 strong.italic {font-style:italic;}.lexical-root.svelte-7vudw5 .strikethrough {text-decoration:line-through;}.lexical-root.svelte-7vudw5 li.nested {list-style-type:none;}.lexical-root.svelte-7vudw5 .code-block {position:relative;display:block;padding-block:8px;padding-inline-start:56px;padding-inline-end:8px;background-color:var(--sui-code-background-color);overflow-x:auto;white-space:pre;}.lexical-root.svelte-7vudw5 .code-block:not(:first-child) {margin-top:1em;}.lexical-root.svelte-7vudw5 .code-block:not(:last-child) {margin-bottom:1em;}.lexical-root.svelte-7vudw5 .code-block::before {position:absolute;inset-block:0;inset-inline-start:0;inset-inline-end:auto;content:attr(data-gutter);padding:8px;min-width:40px;color:var(--sui-tertiary-foreground-color);background-color:var(--sui-tertiary-background-color);text-align:end;}.lexical-root.svelte-7vudw5 [data-lexical-text=true] {cursor:text;}.lexical-root.svelte-7vudw5 :is(th, td) > p {margin:0;white-space:normal;word-break:normal;}.lexical-root.svelte-7vudw5 hr {margin:var(--sui-paragraph-margin) 0;border:none;padding:0;}.lexical-root.svelte-7vudw5 hr::after {display:block;height:2px;background-color:var(--sui-control-border-color);line-height:2px;content:"";}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token:is(.comment, .prolog, .doctype, .cdata) {color:slategray;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token.punctuation {color:#999;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token.namespace {opacity:0.7;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token:is(.property, .tag, .boolean, .number, .constant, .symbol, .deleted) {color:#905;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token:is(.selector, .attr-name, .string, .char, .builtin, .inserted) {color:#690;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token:is(.operator, .entity, .url), :root[data-theme=light] .lexical-root.svelte-7vudw5 .language-css .token.string, :root[data-theme=light] .lexical-root.svelte-7vudw5 .style .token.string {color:#9a6e3a;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token:is(.atrule, .attr-value, .keyword) {color:#07a;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token:is(.function, .class-name) {color:#dd4a68;}:root[data-theme=light] .lexical-root.svelte-7vudw5 .token:is(.regex, .important, .variable) {color:#e90;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.comment, .block-comment, .prolog, .doctype, .cdata) {color:#999;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token.punctuation {color:#ccc;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.tag, .attr-name, .namespace, .deleted) {color:#e2777a;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token.function-name {color:#6196cc;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.boolean, .number, .function) {color:#f08d49;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.property, .class-name, .constant, .symbol) {color:#f8c555;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.selector, .important, .atrule, .keyword, .builtin) {color:#cc99cd;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.string, .char, .attr-value, .regex, .variable) {color:#7ec699;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.operator, .entity, .url) {color:#67cdcc;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token:is(.important, .bold) {font-weight:bold;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token.italic {font-style:italic;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token.entity {cursor:help;}:root[data-theme=dark] .lexical-root.svelte-7vudw5 .token.inserted {color:green;}`}})))()}var WD;function GD(){return(GD=o((()=>{J(),yd(),RD(),WD=()=>{let e=pd(`editor`),t=N(!1),n=N(void 0),r=N(Er([])),i=N(Er({modes:[],enabledButtons:[],components:[],useMarkdownShortcuts:!0,isCodeEditor:!1})),a=N(``),o=N(Er({blockNodeKey:null,blockType:`paragraph`,inlineTypes:[]})),s=N(!0),c=N(!1),l=N(!1),u=async()=>{if(!z(n)||!z(t))return;let e=z(a);try{await ID(z(n),z(a)||``,z(r))}catch(t){P(c,!0),P(a,e,!0),console.error(t)}};return{get editor(){return z(n)},set editor(e){P(n,e,!0)},set enabledTransformers(e){P(r,e,!0)},get enabledTransformers(){return z(r)},get initialized(){return z(t)},set initialized(e){P(t,e,!0)},get config(){return z(i)},set config(e){P(i,e,!0),P(s,e.modes[0]===`rich-text`||e.isCodeEditor,!0)},get inputValue(){return z(a)},set inputValue(e){let t=z(a)!==e;t&&P(a,e,!0),z(s)&&(t||z(n)?.getEditorState().isEmpty())&&u()},get selection(){return z(o)},set selection(e){P(o,e,!0)},get useRichText(){return z(s)},set useRichText(e){P(s,e,!0)},get hasConverterError(){return z(c)},set hasConverterError(e){P(c,e,!0),z(c)&&(P(s,!1),P(l,!0))},get showConverterError(){return z(l)},set showConverterError(e){P(l,e,!0)},editorId:e,convertMarkdown:u}}})))()}function KD(e,t){O(t,!0);let n=q(t,`disabled`,3,!1),r=Object.entries(qD.default.languages).filter(([,e])=>`title`in e).map(([e,t])=>{let{title:n,aliasTitles:r,alias:i}=t,a=[];return i&&!r&&(a=Array.isArray(i)?i:[i]),[{key:e,label:n,aliases:a},...Object.entries(r??{}).map(([e,t])=>({key:e,label:t,aliases:[]}))]}).flat(1).sort((e,t)=>e.label.localeCompare(t.label)),i=Nt(`editorStore`),a=N(`plain`);Yr(()=>{i.selection.blockNodeKey,i.editor?.read(()=>{let e=i.config.isCodeEditor?K_().getChildren()[0]:z_(i.selection.blockNodeKey);pw(e)&&P(a,e.getLanguage()??i.config.defaultLanguage??`plain`,!0)})});{let t=M(()=>X(`_sui.text_editor.language`));Gm(e,{get disabled(){return n()},get"aria-label"(){return z(t)},get value(){return z(a)},onChange:async({detail:{value:e}})=>{!i.editor||z(a)===e||(await LD(i.editor),i.selection?.blockNodeKey&&(await FD(e),i.editor.update(()=>{let t=z_(i.selection.blockNodeKey);pw(t)&&(t.setLanguage(e),P(a,e,!0))})))},children:(e,t)=>{var n=JD(),i=I(n);{let e=M(()=>X(`_sui.text_editor.plain_text`));Xp(i,{get label(){return z(e)},value:`plain`,dir:`ltr`})}co(L(i,2),17,()=>r,({key:e,label:t,aliases:n})=>e,(e,t)=>{let n=()=>z(t).key,r=()=>z(t).label,i=()=>z(t).aliases;{let t=M(()=>n()===z(a)||i().includes(z(a)));Xp(e,{get label(){return r()},get value(){return n()},get selected(){return z(t)},dir:`ltr`})}}),H(e,n)},$$slots:{default:!0}})}k()}var qD,JD;function YD(){return(YD=o((()=>{Y(),J(),Ah(),Rw(),Z(),FS(),qD=l(rD()),ic(),em(),qm(),RD(),JD=B(`<!> <!>`,1)})))()}function XD(e,t){G(e,$D);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`orientation`,3,`horizontal`),a=q(t,`variant`,3,void 0),o=q(t,`ariaLabel`,3,void 0),s=Gs(t,ZD);var c=QD();ms(c,()=>({...s,role:`toolbar`,class:`sui toolbar ${i()??``} ${a()??``} ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-orientation":i(),"aria-label":o()}),void 0,void 0,void 0,`svelte-1meoilz`);var l=F(c);bo(F(l),()=>t.children??E),D(l),D(c),R(()=>l.inert=r()),H(e,c)}var ZD,QD,$D;function eO(){return(eO=o((()=>{Y(),J(),ZD=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`orientation`,`variant`,`ariaLabel`,`children`]),QD=B(`<div><div role="none" class="inner svelte-1meoilz"><!></div></div>`),$D={hash:`svelte-1meoilz`,code:`[role=toolbar].svelte-1meoilz {--toolbar-size: var(--sui-secondary-toolbar-size);flex:none !important;display:flex;align-items:center;padding-inline:8px;background-color:var(--toolbar-background-color, transparent);}[role=toolbar].primary.svelte-1meoilz {--toolbar-size: var(--sui-primary-toolbar-size);}
|
|
88
|
+
@media (width < 768px) {[role=toolbar].secondary.svelte-1meoilz {padding-inline:0;}
|
|
89
|
+
}[role=toolbar][aria-orientation=horizontal].svelte-1meoilz {height:var(--toolbar-size);}[role=toolbar][aria-orientation=vertical].svelte-1meoilz {flex-direction:column;width:var(--toolbar-size);}[role=toolbar].svelte-1meoilz button[role=button]:is([aria-pressed=true], [aria-checked=true]) {background-color:var(--sui-selected-background-color);}[role=toolbar].svelte-1meoilz h2 {flex:auto;display:flex;align-items:center;gap:8px;margin:0;padding-inline-end:12px;min-width:0;font-size:var(--sui-font-size-x-large);}[role=toolbar].svelte-1meoilz h2:first-child {padding-inline-start:12px;}[role=toolbar].svelte-1meoilz h2 span:not(.sui.truncated-text) {font-size:var(--sui-font-size-small);font-weight:var(--sui-font-weight-normal, normal);opacity:0.8;}[role=toolbar].svelte-1meoilz .divider[aria-orientation=horizontal] {margin:0 4px;width:calc(100% - 8px);}[role=toolbar].svelte-1meoilz .divider[aria-orientation=vertical] {margin:4px 0;height:calc(100% - 8px);}.inner.svelte-1meoilz {display:contents;}`}})))()}function tO(e,t){O(t,!0),G(e,iO),q(t,`code`,11,``),q(t,`lang`,11,`plain`);let n=q(t,`disabled`,3,!1),r=Gs(t,nO);var i=rO();XD(F(i),Ks(()=>r,{get disabled(){return n()},children:(e,n)=>{var r=V();bo(I(r),()=>t.children??E),H(e,r)},$$slots:{default:!0}})),D(i),H(e,i),k()}var nO,rO,iO;function aO(){return(aO=o((()=>{Y(),J(),eO(),nO=new Set([`$$slots`,`$$events`,`$$legacy`,`code`,`lang`,`disabled`,`children`]),rO=B(`<div role="none" class="wrapper svelte-5jofet"><!></div>`),iO={hash:`svelte-5jofet`,code:`.wrapper.svelte-5jofet {display:contents;}.wrapper.svelte-5jofet [role=toolbar] {position:sticky;top:0;z-index:100;display:flex;flex-wrap:wrap;gap:4px;border-width:1px 1px 0;border-style:solid;border-color:var(--sui-textbox-border-color);border-start-start-radius:var(--sui-textbox-border-radius);border-start-end-radius:var(--sui-textbox-border-radius);border-end-start-radius:0;border-end-end-radius:0;padding:0 4px;height:auto;min-height:40px;background-color:var(--sui-tertiary-background-color);}
|
|
90
|
+
@media (width < 768px) {.wrapper.svelte-5jofet [role=toolbar] {flex-wrap:wrap;height:auto;}
|
|
91
|
+
}.wrapper.svelte-5jofet .sui.menu-button {padding:0 4px;}.wrapper.svelte-5jofet .sui.button {flex:none;margin:0 !important;}.wrapper.svelte-5jofet .sui.button-group {gap:4px;}`}})))()}function tce(e,t){O(t,!0);let n=q(t,`disabled`,3,!1),r=q(t,`readonly`,3,!1);{let t=M(()=>n()||r()),i=M(()=>X(`_sui.text_editor.code_editor`));tO(e,{get disabled(){return z(t)},get"aria-label"(){return z(i)},children:(e,t)=>{{let t=M(()=>n()||r());KD(e,{get disabled(){return z(t)}})}},$$slots:{default:!0}})}k()}function oO(){return(oO=o((()=>{Y(),J(),Z(),YD(),aO()})))()}function nce(e,t){O(t,!0),G(e,lO);let n=q(t,`code`,15,``),r=q(t,`lang`,15,`plain`),i=q(t,`showLanguageSwitcher`,3,!1),a=q(t,`flex`,3,!1),o=q(t,`hidden`,3,!1),s=q(t,`disabled`,3,!1),c=q(t,`readonly`,3,!1),l=q(t,`required`,3,!1),u=q(t,`invalid`,3,!1),d=Gs(t,sO),f=WD();f.config={...f.config,useMarkdownShortcuts:!1,isCodeEditor:!0,defaultLanguage:r()},Pt(`editorStore`,f),Yr(()=>{f.initialized&&(n(),r(),Li(()=>{let e=n()?`\`\`\`${r()}\n${n()}\n\`\`\``:`\`\`\`${r()}\n\`\`\``;f.inputValue=e}))}),Yr(()=>{f.initialized&&(f.inputValue,Li(()=>{let{lang:e=`plain`,code:t=``}=f.inputValue.match(/^```(?<lang>\w+?)?\n(?:(?<code>.*)\n)?```/s)?.groups??{};r()!==e&&r(e),n()!==t&&n(t)}))});var p=cO(),m=I(p);ms(m,()=>({...d,role:`none`,class:`sui code-editor`,hidden:o(),[_s]:{flex:a()}}),void 0,void 0,void 0,`svelte-1qv2ky5`);var h=F(m),g=e=>{tce(e,{get disabled(){return s()},get readonly(){return c()}})};W(h,e=>{i()&&e(g)}),zD(L(h,2),{get hidden(){return o()},get disabled(){return s()},get readonly(){return c()},get required(){return l()},get invalid(){return u()}}),D(m);var _=L(m,2),v=e=>{Oh(e,{get show(){return f.showConverterError},set show(e){f.showConverterError=e},children:(e,t)=>{uc(e,{status:`error`,children:(e,t)=>{pt();var n=Aa();R(e=>U(n,e),[()=>X(`_sui.text_editor.converter_error`)]),H(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}})};W(_,e=>{f.showConverterError&&e(v)}),H(e,p),k()}var sO,cO,lO;function uO(){return(uO=o((()=>{Y(),J(),Z(),ic(),mc(),kh(),UD(),GD(),oO(),sO=new Set([`$$slots`,`$$events`,`$$legacy`,`code`,`lang`,`showLanguageSwitcher`,`flex`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`]),cO=B(`<div><!> <!></div> <!>`,1),lO={hash:`svelte-1qv2ky5`,code:`.code-editor.svelte-1qv2ky5 {margin:var(--sui-focus-ring-width);border-radius:var(--sui-textbox-border-radius);width:calc(100% - var(--sui-focus-ring-width) * 2);transition:all 200ms;}.code-editor.svelte-1qv2ky5:focus-within {outline:var(--sui-focus-ring-width) solid var(--sui-focus-ring-color);}.code-editor.flex.svelte-1qv2ky5:not([hidden]) {display:block;}`}})))()}function dO(e,t){O(t,!0),G(e,hO);let n=q(t,`value`,15,``),r=q(t,`flex`,3,!1),i=q(t,`dir`,3,void 0),a=q(t,`name`,3,void 0),o=q(t,`autoResize`,3,!1),s=q(t,`hidden`,3,!1),c=q(t,`disabled`,3,!1),l=q(t,`readonly`,3,!1),u=q(t,`required`,3,!1),d=q(t,`invalid`,3,!1),f=Gs(t,fO);var p=mO();let m;var h=F(p);xn(h),ms(h,()=>({...f,dir:i(),name:a(),disabled:c()||void 0,readonly:l()||void 0,"aria-hidden":s(),"aria-disabled":c(),"aria-readonly":l(),"aria-required":u(),"aria-invalid":d(),[_s]:{"auto-resize":o()}}),void 0,void 0,void 0,`svelte-py3yqe`);var g=L(h,2),_=e=>{var t=pO(),r=F(t,!0);D(t),R(()=>{K(t,`dir`,i()),U(r,n()),t.dir=t.dir}),H(e,t)};W(g,e=>{o()&&e(_)}),D(p),R(()=>{m=ns(p,1,`sui text-area ${t.class??``}`,`svelte-py3yqe`,m,{flex:r(),disabled:c(),readonly:l()}),K(p,`hidden`,s()),h.dir=h.dir}),ks(h,n),H(e,p),k()}var fO,pO,mO,hO;function gO(){return(gO=o((()=>{Y(),J(),fO=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`flex`,`dir`,`name`,`autoResize`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`]),pO=B(`<div class="clone svelte-py3yqe" aria-hidden="true"> </div>`),mO=B(`<div role="none"><textarea></textarea> <!></div>`),hO={hash:`svelte-py3yqe`,code:`.text-area.svelte-py3yqe {display:inline-grid;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-multiline-min-width);}.text-area[hidden].svelte-py3yqe {display:none;}.text-area.flex.svelte-py3yqe:not([hidden]) {display:inline-grid;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}:is(textarea.svelte-py3yqe, .clone.svelte-py3yqe) {grid-area:1/1/2/2;display:block;margin:0;border-width:var(--sui-textbox-border-width, 1px);border-color:var(--sui-textbox-border-color);border-radius:var(--sui-textbox-border-radius);padding:var(--sui-textbox-multiline-padding);width:100%;min-height:8em;color:var(--sui-textbox-foreground-color);background-color:var(--sui-textbox-background-color);font-family:var(--sui-textbox-font-family);font-size:var(--sui-textbox-font-size);line-height:var(--sui-textbox-multiline-line-height);font-weight:var(--sui-textbox-font-weight, var(--sui-font-weight-normal, normal));text-align:var(--sui-textbox-text-align, start);text-indent:var(--sui-textbox-text-indent, 0);text-transform:var(--sui-textbox-text-transform, none);letter-spacing:var(--sui-textbox-letter-spacing, normal);word-spacing:var(--sui-word-spacing-normal, normal);transition:all 200ms;}:is(textarea:where(.svelte-py3yqe), .clone:where(.svelte-py3yqe)).resizing.svelte-py3yqe {transition-duration:0ms;}.svelte-py3yqe:is(textarea:where(.svelte-py3yqe), .clone:where(.svelte-py3yqe)):focus {color:var(--sui-textbox-foreground-color-focus, var(--sui-textbox-foreground-color));background-color:var(--sui-textbox-background-color-focus, var(--sui-textbox-background-color));}.svelte-py3yqe:is(textarea:where(.svelte-py3yqe), .clone:where(.svelte-py3yqe)):is(:where(.svelte-py3yqe):disabled, :where(.svelte-py3yqe):read-only) {background-color:var(--sui-disabled-background-color);}textarea.svelte-py3yqe {resize:vertical;}textarea.auto-resize.svelte-py3yqe {overflow:hidden;resize:none;}textarea[aria-invalid=true].svelte-py3yqe {border-color:var(--sui-error-border-color);}.clone.svelte-py3yqe {overflow:hidden;visibility:hidden;}textarea.svelte-py3yqe,
|
|
92
|
+
.clone.svelte-py3yqe {white-space:pre-wrap;word-break:break-all;}`}})))()}var _O,vO;function yO(){return(yO=o((()=>{_(),_O=e=>Array.isArray(e)&&e.every(e=>h(e)),vO=e=>[...new Set(e)]})))()}function rce(e,t){O(t,!0);let n=Nt(`editorStore`),r=M(()=>n.selection.inlineTypes.includes(t.type));{let i=e=>{ac(e,{get name(){return oD[t.type].icon}})},a=M(()=>X(`_sui.text_editor.${oD[t.type].labelKey}`)),o=M(()=>!n.useRichText);Id(e,{iconic:!0,get"aria-label"(){return z(a)},get"aria-controls"(){return`${n.editorId??``}-lexical-root`},get disabled(){return z(o)},get pressed(){return z(r)},onclick:async()=>{n.editor&&(await LD(n.editor),n.editor.dispatchCommand(ux,t.type))},startIcon:i,$$slots:{startIcon:!0}})}k()}function bO(){return(bO=o((()=>{Y(),J(),Z(),FS(),ic(),Hd(),lc(),pD(),RD()})))()}function ice(e,t){O(t,!0);let n=Nt(`editorStore`),r=M(()=>t.component.label),i=M(()=>t.component.icon),a=M(()=>t.component.createNode);{let t=e=>{var t=V(),n=I(t),r=e=>{ac(e,{get name(){return z(i)}})};W(n,e=>{z(i)&&e(r)}),H(e,t)},o=M(()=>!!z(i)),s=M(()=>z(i)?void 0:z(r)),c=M(()=>!n.useRichText);Id(e,{get iconic(){return z(o)},get label(){return z(s)},get title(){return z(r)},get"aria-label"(){return z(r)},get"aria-controls"(){return`${n.editorId??``}-lexical-root`},get disabled(){return z(c)},onclick:()=>{n.editor?.update(()=>{Pg([z(a)(),g_()])})},startIcon:t,$$slots:{startIcon:!0}})}k()}function xO(){return(xO=o((()=>{Y(),J(),FS(),ic(),Hd(),lc()})))()}function ace(e,t){let n=ja();O(t,!0);let r=`link`,i=Nt(`editorStore`),a=M(()=>i.selection.inlineTypes.includes(r)),o=N(!1),s=N(`create`),c=N(!1),l=N(``),u=N(``),d=()=>{i.editor?.getEditorState().read(()=>{let e=Qne().trim();P(l,e,!0),P(c,!!e),P(s,`create`),P(o,!0)})},f=()=>{i.editor?.dispatchCommand(Kw,null)},p=()=>{i.editor?.getEditorState().read(()=>{let e=Dg();if(Q(e)){let t=e.anchor.getNode(),n=(t instanceof Ww?t:JS(t,Ww))?.getURL();if(n){P(c,!0),P(l,n,!0),P(s,`update`),P(o,!0);return}}f()})},m=()=>{z(a)?p():d()},h=e=>{Ku(e,`Enter`)&&z(l)&&P(o,!1)},g=async e=>{if(e.detail.returnValue!==`cancel`&&z(s)!==`remove`){if(!i.editor)return;await new Promise(e=>{i.editor?.update(async()=>{let t=Dg()??Og()?.clone();Q(t)||(t=wg()),z(c)||(P(u,z(u).trim(),!0),P(u,z(u)||z(l),!0),Pg([fg(z(u))])),q_(t),e(void 0)})}),await LD(i.editor),i.editor.dispatchCommand(Kw,z(l))}P(l,``),P(u,``)},_=()=>{i.editor?.registerCommand(px,e=>(Ku(e,Hu()?`Meta+K`:`Ctrl+K`)&&(e.preventDefault(),m()),!1),2)};Yr(()=>{i.editor&&_()});var v=wO(),y=I(v);{let e=e=>{ac(e,{get name(){return oD[r].icon}})},t=M(()=>X(`_sui.text_editor.${oD[r].labelKey}`)),n=M(()=>!i.useRichText);Id(y,{iconic:!0,get"aria-label"(){return z(t)},get"aria-controls"(){return`${i.editorId??``}-lexical-root`},get disabled(){return z(n)},get pressed(){return z(a)},onclick:()=>{m()},startIcon:e,$$slots:{startIcon:!0}})}var b=L(y,2);{let e=e=>{var t=V(),n=I(t),r=e=>{{let t=M(()=>X(`_sui.remove`));Id(e,{variant:`secondary`,get label(){return z(t)},onclick:()=>{f(),P(s,`remove`),P(o,!1)}})}};W(n,e=>{z(s)!==`create`&&e(r)}),H(e,t)},t=M(()=>z(s)===`create`?X(`_sui.text_editor.insert_link`):X(`_sui.text_editor.update_link`)),r=M(()=>!z(l)),i=M(()=>z(s)===`create`?X(`_sui.insert`):X(`_sui.update`));cp(b,{get title(){return z(t)},get okDisabled(){return z(r)},get okLabel(){return z(i)},onClose:e=>{g(e)},get open(){return z(o)},set open(e){P(o,e,!0)},get value(){return z(l)},set value(e){P(l,e,!0)},footerExtra:e,children:(e,t)=>{var r=CO(),i=I(r),a=F(i),o=F(a,!0);D(a);var s=L(a,2);{let e=M(()=>X(`_sui.text_editor.url`));Cp(s,{dir:`ltr`,get id(){return`${n}-url`},flex:!0,get"aria-label"(){return z(e)},onkeydown:e=>{h(e)},get value(){return z(l)},set value(e){P(l,e,!0)}})}D(i);var d=L(i,2),f=e=>{var t=SO(),r=F(t),i=F(r,!0);D(r);var a=L(r,2);{let e=M(()=>X(`_sui.text_editor.text`));Cp(a,{dir:`auto`,get id(){return`${n}-text`},flex:!0,get"aria-label"(){return z(e)},onkeydown:e=>{h(e)},get value(){return z(u)},set value(e){P(u,e,!0)}})}D(t),R(e=>{K(r,`for`,`${n}-text`),U(i,e)},[()=>X(`_sui.text_editor.text`)]),H(e,t)};W(d,e=>{z(c)||e(f)}),R(e=>{K(a,`for`,`${n}-url`),U(o,e)},[()=>X(`_sui.text_editor.url`)]),H(e,r)},$$slots:{footerExtra:!0,default:!0}})}H(e,v),k()}var SO,CO,wO;function TO(){return(TO=o((()=>{Y(),J(),qw(),tC(),Z(),Ju(),FS(),ic(),Hd(),gp(),lc(),Op(),pD(),RD(),SO=B(`<div role="none"><label> </label> <!></div>`),CO=B(`<div role="none"><label> </label> <!></div> <!>`,1),wO=B(`<!> <!>`,1)})))()}function oce(e,t){O(t,!0);let n=Nt(`editorStore`);{let r=e=>{ac(e,{name:`arrow_drop_down`,class:`small-arrow`})},i=e=>{tm(e,{children:(e,r)=>{var i=V();co(I(i),17,()=>t.components,({id:e,label:t,icon:n,createNode:r})=>e,(e,t)=>{let r=()=>z(t).label,i=()=>z(t).icon,a=()=>z(t).createNode;om(e,{get label(){return r()},onclick:()=>{n.editor?.update(()=>{Pg([a()(),g_()])})},startIcon:e=>{var t=V(),n=I(t),r=e=>{ac(e,{get name(){return i()}})};W(n,e=>{i()&&e(r)}),H(e,t)},$$slots:{startIcon:!0}})}),H(e,i)},$$slots:{default:!0}})},a=M(()=>!n.useRichText),o=M(()=>X(`_sui.insert`));Mf(e,{get disabled(){return z(a)},get label(){return z(o)},endIcon:r,popup:i,$$slots:{endIcon:!0,popup:!0}})}k()}function EO(){return(EO=o((()=>{Y(),J(),Z(),FS(),ic(),lc(),Ff(),fm(),am()})))()}function sce(e,t){O(t,!0);let n=Nt(`editorStore`),r=M(()=>n.selection.blockType===t.type),i=async()=>{if(!n.editor)return;await LD(n.editor);let[,e]=t.type.match(/^heading-(\d)$/)??[];e&&n.editor.update(()=>{VS(Dg(),()=>bT(`h${e}`))}),t.type===`paragraph`&&n.editor.update(()=>{VS(Dg(),()=>g_())}),t.type===`bulleted-list`&&n.editor.dispatchCommand(iT,void 0),t.type===`numbered-list`&&n.editor.dispatchCommand(aT,void 0),t.type===`blockquote`&&n.editor.update(()=>{VS(Dg(),()=>_T())}),t.type===`code-block`&&n.editor.update(()=>{VS(Dg(),()=>fw())})};var a=V();eo(I(a),()=>z(r),e=>{{let n=e=>{ac(e,{get name(){return oD[t.type].icon}})},a=M(()=>X(`_sui.text_editor.${oD[t.type].labelKey}`));pm(e,{get label(){return z(a)},get checked(){return z(r)},onclick:()=>{z(r)||i()},startIcon:n,$$slots:{startIcon:!0}})}}),H(e,a),k()}function DO(){return(DO=o((()=>{Y(),J(),Ah(),Rw(),oT(),AT(),qS(),Z(),FS(),ic(),lc(),hm(),pD(),RD()})))()}function cce(e,t){O(t,!0);let n=q(t,`disabled`,3,!1),r=q(t,`readonly`,3,!1),i=Nt(`editorStore`),a=M(()=>i.config.components.filter(({trigger:e=`menuitem`})=>e===`button`)),o=M(()=>i.config.components.filter(({trigger:e=`menuitem`})=>e===`menuitem`)),s=M(()=>vO([`paragraph`,...i.config.enabledButtons.filter(e=>lD.includes(e))])),c=M(()=>vO(i.config.enabledButtons.filter(e=>cD.includes(e))));{let t=M(()=>n()||r()),l=M(()=>X(`_sui.text_editor.text_editor`));tO(e,{get disabled(){return z(t)},get"aria-label"(){return z(l)},children:(e,t)=>{var n=AO(),r=I(n),l=e=>{{let t=e=>{{let t=M(()=>oD[i.selection.blockType??``]?.icon??`format_paragraph`);ac(e,{get name(){return z(t)}})}},n=e=>{{let t=M(()=>X(`_sui.text_editor.text_style_options`));tm(e,{get"aria-label"(){return z(t)},children:(e,t)=>{var n=V();co(I(n),16,()=>z(s),e=>e,(e,t)=>{sce(e,{get type(){return t}})}),H(e,n)},$$slots:{default:!0}})}},r=M(()=>!i.useRichText),a=M(()=>X(`_sui.text_editor.show_text_style_options`));Mf(e,{get disabled(){return z(r)},get"aria-label"(){return z(a)},get"aria-controls"(){return`${i.editorId??``}-lexical-root`},startIcon:t,popup:n,$$slots:{startIcon:!0,popup:!0}})}};W(r,e=>{z(s).length>1&&e(l)});var u=L(r,2),d=e=>{var t=OO(),n=I(t);Vf(n,{orientation:`vertical`});var r=L(n,2);{let e=M(()=>!i.useRichText);KD(r,{get disabled(){return z(e)}})}H(e,t)},f=e=>{var t=OO(),n=I(t),r=e=>{var t=OO(),n=I(t);Vf(n,{orientation:`vertical`}),$d(L(n,2),{children:(e,t)=>{var n=V();co(I(n),16,()=>z(c),e=>e,(e,t)=>{var n=V(),r=I(n),i=e=>{ace(e,{})},a=e=>{rce(e,{get type(){return t}})};W(r,e=>{t===`link`?e(i):e(a,-1)}),H(e,n)}),H(e,n)},$$slots:{default:!0}}),H(e,t)};W(n,e=>{z(c).length&&e(r)});var s=L(n,2),l=e=>{var t=kO(),n=I(t);Vf(n,{orientation:`vertical`});var r=L(n,2);co(r,17,()=>z(a),e=>e.id,(e,t)=>{ice(e,{get component(){return z(t)}})});var i=L(r,2),s=e=>{oce(e,{get components(){return z(o)}})};W(i,e=>{z(o).length&&e(s)}),H(e,t)};W(s,e=>{i.config.components.length&&e(l)}),H(e,t)};W(u,e=>{i.selection.blockType===`code-block`?e(d):e(f,-1)});var p=L(u,2);Kf(p,{flex:!0});var m=L(p,2),h=e=>{{let t=e=>{ac(e,{name:`markdown`})},n=M(()=>!i.useRichText),r=M(()=>X(`_sui.text_editor.edit_in_markdown`));Id(e,{iconic:!0,get disabled(){return i.hasConverterError},get pressed(){return z(n)},get"aria-label"(){return z(r)},onclick:()=>{i.useRichText=!i.useRichText,i.useRichText&&i.convertMarkdown()},startIcon:t,$$slots:{startIcon:!0}})}};W(m,e=>{i.config.modes.length>1&&e(h)}),H(e,n)},$$slots:{default:!0}})}k()}var OO,kO,AO;function jO(){return(jO=o((()=>{Y(),J(),Z(),yO(),ic(),rf(),Hd(),Gf(),Xf(),lc(),Ff(),am(),pD(),YD(),bO(),xO(),TO(),EO(),DO(),aO(),OO=B(`<!> <!>`,1),kO=B(`<!> <!> <!>`,1),AO=B(`<!> <!> <!> <!>`,1)})))()}function lce(e,t){O(t,!0),G(e,PO);let n=q(t,`value`,15,``),r=q(t,`flex`,3,!1),i=q(t,`dir`,3,void 0),a=q(t,`modes`,19,()=>[`rich-text`,`plain-text`]),o=q(t,`buttons`,19,()=>[...cD,...lD]),s=q(t,`components`,19,()=>[]),c=q(t,`useMarkdownShortcuts`,3,!0),l=q(t,`hidden`,3,!1),u=q(t,`disabled`,3,!1),d=q(t,`readonly`,3,!1),f=q(t,`required`,3,!1),p=q(t,`invalid`,3,!1),m=Gs(t,MO),h=WD();h.config={...h.config,modes:a(),enabledButtons:o(),components:s(),useMarkdownShortcuts:c()},Pt(`editorStore`,h),Yr(()=>{if(!h.initialized)return;let e=n();Li(()=>{h.inputValue=e})}),Yr(()=>{if(!h.initialized)return;let e=h.inputValue;Li(()=>{n()!==e&&n(e)})});var g=NO(),_=I(g);ms(_,()=>({...m,role:`none`,class:`sui text-editor`,hidden:l(),[_s]:{flex:r()}}),void 0,void 0,void 0,`svelte-9aado7`);var v=F(_);cce(v,{get disabled(){return u()},get readonly(){return d()}});var y=L(v,2);{let e=M(()=>!h.useRichText||l());zD(y,{get hidden(){return z(e)},get disabled(){return u()},get readonly(){return d()},get required(){return f()},get invalid(){return p()}})}var b=L(y,2);{let e=M(()=>h.useRichText||l());dO(b,{autoResize:!0,get flex(){return r()},get dir(){return i()},get hidden(){return z(e)},get disabled(){return u()},get readonly(){return d()},get required(){return f()},get invalid(){return p()},get value(){return h.inputValue},set value(e){h.inputValue=e}})}D(_);var x=L(_,2),S=e=>{Oh(e,{get show(){return h.showConverterError},set show(e){h.showConverterError=e},children:(e,t)=>{uc(e,{status:`error`,children:(e,t)=>{pt();var n=Aa();R(e=>U(n,e),[()=>X(`_sui.text_editor.converter_error`)]),H(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}})};W(x,e=>{h.showConverterError&&e(S)}),H(e,g),k()}var MO,NO,PO;function FO(){return(FO=o((()=>{Y(),J(),Z(),ic(),mc(),gO(),kh(),pD(),UD(),GD(),jO(),MO=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`flex`,`dir`,`modes`,`buttons`,`components`,`useMarkdownShortcuts`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`]),NO=B(`<div><!> <!> <!></div> <!>`,1),PO={hash:`svelte-9aado7`,code:`.text-editor.svelte-9aado7 {margin:var(--sui-focus-ring-width);border-radius:var(--sui-textbox-border-radius);width:calc(100% - var(--sui-focus-ring-width) * 2);transition:all 200ms;}.text-editor.svelte-9aado7:focus-within {outline:var(--sui-focus-ring-width) solid var(--sui-focus-ring-color);}.text-editor.flex.svelte-9aado7:not([hidden]) {display:block;}.text-editor.svelte-9aado7 .sui.text-area {margin:0 !important;width:100% !important;min-width:auto;}.text-editor.svelte-9aado7 .sui.text-area textarea {border-start-start-radius:0 !important;border-start-end-radius:0 !important;border-end-start-radius:var(--sui-textbox-border-radius) !important;border-end-end-radius:var(--sui-textbox-border-radius) !important;}`}})))()}function uce(e,t){let n=ja();O(t,!0),G(e,RO);let r=q(t,`value`,15),i=q(t,`invalid`,15,!1),a=q(t,`flex`,3,!1),o=q(t,`min`,3,void 0),s=q(t,`max`,3,void 0),c=q(t,`step`,3,1),l=q(t,`hidden`,3,!1),u=q(t,`disabled`,3,!1),d=q(t,`readonly`,3,!1),f=q(t,`required`,3,!1),p=Gs(t,IO),m=N(!1),h=N(``),g=M(()=>String(c()).split(`.`)[1]?.length||0),_=M(()=>typeof o()==`number`&&Number(z(h)||0)<=o()),v=M(()=>typeof s()==`number`&&Number(z(h)||0)>=s());Yr(()=>{let e=String(r()??``);Li(()=>{z(h)!==e&&P(h,e,!0)})}),Yr(()=>{let e=z(h).trim()?Number(z(h)):NaN;r(Number.isNaN(e)?void 0:e)}),Yr(()=>{z(m)&&i(f()&&(r()===void 0||z(h)===``)||z(h)!==void 0&&z(h)!==``&&(Number.isNaN(Number(z(h)))||typeof o()==`number`&&Number(z(h)||0)<o()||typeof s()==`number`&&Number(z(h)||0)>s()))});let y=()=>{z(_)||Number.isNaN(Number(z(h)))||P(h,Number(Number(z(h)||0)-c()).toFixed(z(g)),!0)},b=()=>{z(v)||Number.isNaN(Number(z(h)))||P(h,Number(Number(z(h)||0)+c()).toFixed(z(g)),!0)};var x=LO();let S;var C=F(x),w=F(C);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.increaseIcon),H(e,n)},a=e=>{ac(e,{name:`expand_less`})};W(r,e=>{t.increaseIcon?e(i):e(a,-1)}),H(e,n)},i=M(()=>u()||d()||Number.isNaN(Number(r()))||z(v)),a=M(()=>X(`_sui.number_input.increase`));Id(w,{iconic:!0,get disabled(){return z(i)},get"aria-label"(){return z(a)},get"aria-controls"(){return n},onclick:()=>{b()},startIcon:e,$$slots:{startIcon:!0}})}var T=L(w,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.decreaseIcon),H(e,n)},a=e=>{ac(e,{name:`expand_more`})};W(r,e=>{t.decreaseIcon?e(i):e(a,-1)}),H(e,n)},i=M(()=>u()||d()||Number.isNaN(Number(r()))||z(_)),a=M(()=>X(`_sui.number_input.decrease`));Id(T,{iconic:!0,get disabled(){return z(i)},get"aria-label"(){return z(a)},get"aria-controls"(){return n},onclick:()=>{y()},startIcon:e,$$slots:{startIcon:!0}})}D(C);var ee=L(C,2);{let e=M(()=>Number(r()||0)),c=M(()=>z(g)>0?`decimal`:`numeric`);Cp(ee,Ks({dir:`ltr`},()=>p,{role:`spinbutton`,get id(){return n},spellcheck:`false`,get flex(){return a()},get hidden(){return l()},get disabled(){return u()},get readonly(){return d()},get required(){return f()},get invalid(){return i()},get"aria-valuenow"(){return z(e)},get"aria-valuemin"(){return o()},get"aria-valuemax"(){return s()},get inputmode(){return z(c)},onkeydown:e=>{let{key:t,ctrlKey:n,metaKey:r,altKey:i,shiftKey:a}=e,o=a||i||n||r;t===`ArrowDown`&&!o&&(e.preventDefault(),y()),t===`ArrowUp`&&!o&&(e.preventDefault(),b()),z(m)||P(m,!0)},oninput:()=>{z(m)||P(m,!0)},get onChange(){return t.onChange},get value(){return z(h)},set value(e){P(h,e,!0)}}))}D(x),R(()=>{S=ns(x,1,`sui number-input ${t.class??``}`,`svelte-fccohz`,S,{flex:a(),disabled:u(),readonly:d()}),K(x,`hidden`,l())}),H(e,x),k()}var IO,LO,RO;function zO(){return(zO=o((()=>{Y(),J(),Z(),ic(),Hd(),lc(),Op(),IO=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`invalid`,`flex`,`min`,`max`,`step`,`class`,`hidden`,`disabled`,`readonly`,`required`,`children`,`increaseIcon`,`decreaseIcon`,`onChange`]),LO=B(`<div role="none"><div role="none" class="buttons svelte-fccohz"><!> <!></div> <!></div>`),RO={hash:`svelte-fccohz`,code:`.number-input.svelte-fccohz {display:inline-flex;align-items:center;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-singleline-min-width);}.number-input.flex.svelte-fccohz:not([hidden]) {display:inline-flex;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}.number-input.svelte-fccohz :not(:first-child) input {border-start-start-radius:0;border-end-start-radius:0;}.number-input.svelte-fccohz :not(:last-child) input {border-start-end-radius:0;border-end-end-radius:0;}.number-input.svelte-fccohz :not(.disabled) button[aria-disabled=true] {filter:grayscale(0) opacity(1);}.number-input.svelte-fccohz :not(.disabled) button[aria-disabled=true] * {filter:grayscale(1) opacity(0.35);}.number-input.svelte-fccohz .text-input {flex:auto;margin:0 !important;width:0;min-width:0 !important;}.buttons.svelte-fccohz {display:flex;flex-direction:column;width:24px;height:var(--sui-textbox-height);}.buttons.svelte-fccohz button {flex:none;margin:0 !important;border-width:1px;border-color:var(--sui-textbox-border-color);width:100%;height:50%;}.buttons.svelte-fccohz button:first-of-type {border-block-start-width:1px;border-block-end-width:0;border-inline-end-width:0;border-inline-start-width:1px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:0;}.buttons.svelte-fccohz button:last-of-type {border-block-start-width:0;border-block-end-width:1px;border-inline-end-width:0;border-inline-start-width:1px;border-start-start-radius:0;border-start-end-radius:0;border-end-end-radius:0;}.buttons.svelte-fccohz button .icon {font-size:20px;}`}})))()}function BO(e,t){let n=ja();O(t,!0),G(e,UO);let r=q(t,`value`,15),i=q(t,`flex`,3,!1),a=q(t,`monospace`,3,!0),o=q(t,`hidden`,3,!1),s=q(t,`disabled`,3,!1),c=q(t,`readonly`,3,!1),l=q(t,`required`,3,!1),u=q(t,`invalid`,3,!1),d=Gs(t,VO),f=N(void 0),p=N(!1);var m=HO();let h;var g=F(m);Cp(g,Ks({dir:`ltr`},()=>d,{get id(){return n},spellcheck:`false`,get flex(){return i()},get monospace(){return a()},get hidden(){return o()},get disabled(){return s()},get readonly(){return c()},get required(){return l()},get invalid(){return u()},get element(){return z(f)},set element(e){P(f,e,!0)},get value(){return r()},set value(e){r(e)}}));var _=L(g,2);{let e=e=>{var n=V(),r=I(n),i=e=>{var n=V();bo(I(n),()=>t.visibilityIcon),H(e,n)},a=e=>{{let t=M(()=>z(p)?`visibility_off`:`visibility`);ac(e,{get name(){return z(t)}})}};W(r,e=>{t.visibilityIcon?e(i):e(a,-1)}),H(e,n)},r=M(()=>s()||c()),i=M(()=>X(z(p)?`_sui.secret_input.hide_secret`:`_sui.secret_input.show_secret`));Id(_,{iconic:!0,get disabled(){return z(r)},get pressed(){return z(p)},get"aria-label"(){return z(i)},get"aria-controls"(){return n},onclick:()=>{P(p,!z(p))},startIcon:e,$$slots:{startIcon:!0}})}D(m),R(()=>{h=ns(m,1,`sui secret-input ${t.class??``}`,`svelte-1t7vrpu`,h,{flex:i(),disabled:s(),readonly:c(),show:z(p)}),K(m,`hidden`,o())}),H(e,m),k()}var VO,HO,UO;function WO(){return(WO=o((()=>{Y(),J(),Z(),Hd(),lc(),Op(),VO=new Set([`$$slots`,`$$events`,`$$legacy`,`value`,`flex`,`monospace`,`class`,`hidden`,`disabled`,`readonly`,`required`,`invalid`,`children`,`visibilityIcon`]),HO=B(`<div role="none"><!> <!></div>`),UO={hash:`svelte-1t7vrpu`,code:`.secret-input.svelte-1t7vrpu {display:inline-flex;align-items:center;margin:var(--sui-focus-ring-width);min-width:var(--sui-textbox-singleline-min-width);}.secret-input.flex.svelte-1t7vrpu:not([hidden]) {display:inline-flex;width:-moz-available;width:-webkit-fill-available;width:stretch;min-width:0;}.secret-input.show.svelte-1t7vrpu input {-webkit-text-security:none;}.secret-input.svelte-1t7vrpu .text-input {flex:auto;margin:0 !important;width:0;min-width:0 !important;}.secret-input.svelte-1t7vrpu input {border-start-end-radius:0;border-end-end-radius:0;-webkit-text-security:disc;}.secret-input.svelte-1t7vrpu button {flex:none;margin-block:0;margin-inline-start:-1px;margin-inline-end:0;border-width:1px;border-color:var(--sui-textbox-border-color);width:var(--sui-textbox-height);aspect-ratio:1/1;}.secret-input.svelte-1t7vrpu button:last-child {border-start-start-radius:0;border-start-end-radius:4px;border-end-end-radius:4px;border-end-start-radius:0;}.secret-input.svelte-1t7vrpu button .icon {font-size:var(--sui-font-size-xx-large);}`}})))()}function dce(e){G(e,KO),H(e,GO())}var GO,KO;function qO(){return(qO=o((()=>{Y(),J(),GO=B(`<link rel="preconnect" href="https://cdn.jsdelivr.net/"/>`),KO={hash:`svelte-17raob4`,code:`
|
|
93
93
|
/* https://fontsource.org/fonts/source-sans-3/cdn */
|
|
94
94
|
@font-face {font-family:'Source Sans 3';font-style:normal;font-display:swap;font-weight:200 900;src:url(https://cdn.jsdelivr.net/fontsource/fonts/source-sans-3:vf@5.3.0/latin-wght-normal.woff2)
|
|
95
95
|
format('woff2-variations');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
@@ -106,7 +106,7 @@ _$3_$4`).replace(/(\s+)\*\*([^*\n]+?)\n([^*\n]+?)\*\*(\s+)/gm,`$1**$2**
|
|
|
106
106
|
format('woff2-variations');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
|
107
107
|
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
108
108
|
}.material-symbols-outlined {
|
|
109
|
-
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;-moz-font-feature-settings:'liga';font-feature-settings:'liga';}`}})))()}function fce(e,t){O(t,!0),G(e,QO);let n=q(t,`orientation`,3,`horizontal`),r=Gs(t,JO),i=N(!1);tc(()=>{let e=globalThis.matchMedia(`(prefers-color-scheme: dark)`),{dataset:t}=document.documentElement,n=()=>{t.autoTheming!==`false`&&(t.theme=e.matches?`dark`:`light`)};n(),e.addEventListener(`change`,n);let r=globalThis.setTimeout(()=>{P(i,!0)},1e3);return()=>{e.removeEventListener(`change`,n),globalThis.clearTimeout(r)}});var a=ZO();Bo(`
|
|
109
|
+
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;overflow-wrap:normal;direction:ltr;-moz-font-feature-settings:'liga';font-feature-settings:'liga';}`}})))()}function fce(e,t){O(t,!0),G(e,QO);let n=q(t,`orientation`,3,`horizontal`),r=Gs(t,JO),i=N(!1);tc(()=>{let e=globalThis.matchMedia(`(prefers-color-scheme: dark)`),{dataset:t}=document.documentElement,n=()=>{t.autoTheming!==`false`&&(t.theme=e.matches?`dark`:`light`)};n(),e.addEventListener(`change`,n);let r=globalThis.setTimeout(()=>{P(i,!0)},1e3);return()=>{e.removeEventListener(`change`,n),globalThis.clearTimeout(r)}});var a=ZO();Bo(`udespp`,e=>{var t=YO(),n=I(t);dce(L(n,4),{}),R(e=>K(n,`content`,e),[()=>[`width=device-width`,`initial-scale=1`,`maximum-scale=1`,`interactive-widget=resizes-content`].join(`, `)]),H(e,t)});var o=I(a),s=e=>{var t=XO();as(t,``,{},{opacity:`0`}),H(e,t)};W(o,e=>{z(i)||e(s)});var c=L(o,2),l=e=>e.preventDefault(),u=e=>e.preventDefault(),d=e=>{if(document.documentElement.matches(`[data-env="dev"]`))return;let t=e.target;document.documentElement.matches(`[data-env="dev"]`)||t?.matches(`input, textarea`)&&`maxLength`in t||t?.closest(`[role="textbox"]`)?.contentEditable===`true`||e.preventDefault()};ms(c,()=>({...r,role:`none`,class:`sui app-shell ${n()??``}`,ondragover:l,ondrop:u,oncontextmenu:d}),void 0,void 0,void 0,`svelte-udespp`),bo(F(c),()=>t.children??E),D(c),H(e,a),k()}var JO,YO,XO,ZO,QO;function $O(){return($O=o((()=>{Y(),J(),ic(),qO(),JO=new Set([`$$slots`,`$$events`,`$$legacy`,`orientation`,`children`]),YO=B(`<meta name="viewport"/> <meta name="google" content="notranslate"/> <!>`,1),XO=B(`<div class="font-loader svelte-udespp" aria-hidden="true">Loading <strong>Sveltia</strong> <em>UI</em> <span role="none" class="material-symbols-outlined">favorite</span></div>`),ZO=B(`<!> <div><!></div>`,1),QO={hash:`svelte-udespp`,code:`:root,
|
|
110
110
|
:host {--sui-base-hue: 210;--sui-highlight-foreground-color: hsl(var(--sui-foreground-color-1-hsl));--sui-primary-foreground-color: hsl(var(--sui-foreground-color-2-hsl));--sui-secondary-foreground-color: hsl(var(--sui-foreground-color-3-hsl));--sui-tertiary-foreground-color: hsl(var(--sui-foreground-color-4-hsl));--sui-disabled-foreground-color: hsl(var(--sui-foreground-color-5-hsl));--sui-error-foreground-color: hsl(
|
|
111
111
|
var(--sui-error-color-hue) var(--sui-alert-foreground-color-saturation)
|
|
112
112
|
var(--sui-alert-foreground-color-lightness)
|
|
@@ -164,7 +164,7 @@ _$3_$4`).replace(/(\s+)\*\*([^*\n]+?)\n([^*\n]+?)\*\*(\s+)/gm,`$1**$2**
|
|
|
164
164
|
@media (prefers-reduced-motion) {*,
|
|
165
165
|
::before,
|
|
166
166
|
::after {scroll-behavior:auto;transition-duration:1ms !important;}
|
|
167
|
-
}::selection {background-color:var(--sui-primary-accent-color-translucent-light);}* {-webkit-tap-highlight-color:transparent;}:focus {z-index:1;outline-width:0;}:focus-visible {outline-color:var(--sui-focus-ring-color);z-index:2;}h1 {margin:var(--sui-h1-margin, var(--sui-heading-margin));font-size:var(--sui-h1-font-size, 34px);font-family:var(--sui-h1-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h1-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h1-line-height, var(--sui-heading-line-height));}h2 {margin:var(--sui-h2-margin, var(--sui-heading-margin));font-size:var(--sui-h2-font-size, 30px);font-family:var(--sui-h2-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h2-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h2-line-height, var(--sui-heading-line-height));}h3 {margin:var(--sui-h3-margin, var(--sui-heading-margin));font-size:var(--sui-h3-font-size, 26px);font-family:var(--sui-h3-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h3-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h3-line-height, var(--sui-heading-line-height));}h4 {margin:var(--sui-h4-margin, var(--sui-heading-margin));font-size:var(--sui-h4-font-size, 22px);font-family:var(--sui-h4-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h4-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h4-line-height, var(--sui-heading-line-height));}h5 {margin:var(--sui-h5-margin, var(--sui-heading-margin));font-size:var(--sui-h5-font-size, 18px);font-family:var(--sui-h5-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h5-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h5-line-height, var(--sui-heading-line-height));}h6 {margin:var(--sui-h6-margin, var(--sui-heading-margin));font-size:var(--sui-h6-font-size, 14px);font-family:var(--sui-h6-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h6-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h6-line-height, var(--sui-heading-line-height));}strong {font-weight:var(--sui-font-weight-bold, bold);}a {color:var(--sui-primary-accent-color-text);text-decoration:none;text-underline-offset:2px;}a:is(:hover, :focus, :active) {text-decoration:underline;}:is(:root, :host)[data-underline-links=true].svelte-
|
|
167
|
+
}::selection {background-color:var(--sui-primary-accent-color-translucent-light);}* {-webkit-tap-highlight-color:transparent;}:focus {z-index:1;outline-width:0;}:focus-visible {outline-color:var(--sui-focus-ring-color);z-index:2;}h1 {margin:var(--sui-h1-margin, var(--sui-heading-margin));font-size:var(--sui-h1-font-size, 34px);font-family:var(--sui-h1-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h1-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h1-line-height, var(--sui-heading-line-height));}h2 {margin:var(--sui-h2-margin, var(--sui-heading-margin));font-size:var(--sui-h2-font-size, 30px);font-family:var(--sui-h2-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h2-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h2-line-height, var(--sui-heading-line-height));}h3 {margin:var(--sui-h3-margin, var(--sui-heading-margin));font-size:var(--sui-h3-font-size, 26px);font-family:var(--sui-h3-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h3-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h3-line-height, var(--sui-heading-line-height));}h4 {margin:var(--sui-h4-margin, var(--sui-heading-margin));font-size:var(--sui-h4-font-size, 22px);font-family:var(--sui-h4-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h4-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h4-line-height, var(--sui-heading-line-height));}h5 {margin:var(--sui-h5-margin, var(--sui-heading-margin));font-size:var(--sui-h5-font-size, 18px);font-family:var(--sui-h5-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h5-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h5-line-height, var(--sui-heading-line-height));}h6 {margin:var(--sui-h6-margin, var(--sui-heading-margin));font-size:var(--sui-h6-font-size, 14px);font-family:var(--sui-h6-font-family, var(--sui-heading-font-family));font-weight:var(--sui-h6-font-weight, var(--sui-heading-font-weight));line-height:var(--sui-h6-line-height, var(--sui-heading-line-height));}strong {font-weight:var(--sui-font-weight-bold, bold);}a {color:var(--sui-primary-accent-color-text);text-decoration:none;text-underline-offset:2px;}a:is(:hover, :focus, :active) {text-decoration:underline;}:is(:root, :host)[data-underline-links=true].svelte-udespp a {text-decoration:underline;}:is(p, ul, ol, dl) {margin:var(--sui-paragraph-margin) 0;line-height:var(--sui-line-height-comfortable);}:is(ul, ol) {padding-inline:2em;}:is(code, pre) {border-radius:4px;background-color:var(--sui-code-background-color);font-family:var(--sui-font-family-monospace);font-size:var(--sui-font-size-monospace);vertical-align:-0.05em;}pre {padding:8px;line-height:var(--sui-line-height-compact);-webkit-user-select:text;user-select:text;}code {padding:2px 4px;}table {border-collapse:collapse;}:is(th, td) {border:1px solid var(--sui-textbox-border-color);padding:8px;}blockquote {margin-inline:16px 0;border-inline-start:4px solid var(--sui-textbox-border-color);padding-inline-start:12px;}:is(.disabled, .readonly, [aria-disabled=true], [aria-readonly=true], [inert]):not(body) {cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none;filter:grayscale(1) opacity(0.35);}:is(.disabled, .readonly, [aria-disabled=true], [aria-readonly=true], [inert]):not(body) * {filter:grayscale(0) opacity(1);}:is(.disabled, .readonly, [aria-disabled=true], [aria-readonly=true], [inert]) * {cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none;}.font-loader.svelte-udespp {position:absolute;inset-inline-start:-99999px;font-family:var(--sui-font-family-default);}.app-shell.svelte-udespp {position:fixed;inset:0;overflow:hidden;width:100%;height:100%;color:var(--sui-primary-foreground-color);background-color:var(--sui-primary-background-color);font-family:var(--sui-font-family-default);font-size:var(--sui-font-size-default);font-weight:var(--sui-font-weight-normal, normal);word-spacing:var(--sui-word-spacing-normal);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;user-select:none;touch-action:none;cursor:default;}.app-shell.horizontal.svelte-udespp {display:flex;flex-direction:row;overflow:hidden;}.app-shell.vertical.svelte-udespp {display:flex;flex-direction:column;overflow:hidden;}`}})))()}function ek(e,t){G(e,nk);let n=q(t,`children`,3,void 0);var r=tk();bo(F(r),()=>n()??E),D(r),H(e,r)}var tk,nk;function rk(){return(rk=o((()=>{Y(),J(),tk=B(`<div role="none" class="sui empty-state svelte-1k5mbv6"><!></div>`),nk={hash:`svelte-1k5mbv6`,code:`.empty-state.svelte-1k5mbv6 {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:16px;width:100%;height:100%;text-align:center;}`}})))()}function ik(e,t){G(e,sk);let n=q(t,`hidden`,3,!1),r=q(t,`disabled`,3,!1),i=q(t,`ariaLabel`,3,void 0),a=Gs(t,ak);var o=ok();ms(o,()=>({...a,role:`group`,class:`sui group ${t.class??``}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-label":i()}),void 0,void 0,void 0,`svelte-17wzweg`);var s=F(o);bo(F(s),()=>t.children??E),D(s),D(o),R(()=>s.inert=r()),H(e,o)}var ak,ok,sk;function ck(){return(ck=o((()=>{Y(),J(),ak=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`hidden`,`disabled`,`ariaLabel`,`children`]),ok=B(`<div><div role="none" class="inner svelte-17wzweg"><!></div></div>`),sk={hash:`svelte-17wzweg`,code:`.inner.svelte-17wzweg {display:contents;}`}})))()}function lk(e,t){O(t,!0),G(e,dk);let n=N(null),r=N(!1);Yr(()=>(z(n)&&(async()=>{await vd(z(n)),P(r,!0)})(),()=>{z(n)&&md(z(n))}));var i=V(),a=I(i),o=e=>{var n=V();bo(I(n),()=>t.children),H(e,n)},s=e=>{var t=uk();Rs(t,e=>P(n,e),()=>z(n)),H(e,t)};W(a,e=>{z(r)?e(o):e(s,-1)}),H(e,i),k()}var uk,dk;function fk(){return(fk=o((()=>{Y(),J(),yd(),uk=B(`<div class="placeholder svelte-kfq4a"></div>`),dk={hash:`svelte-kfq4a`,code:`.placeholder.svelte-kfq4a {height:64px;}`}})))()}var pk;function mk(){return(mk=o((()=>{pk={ok:`OK`,cancel:`Cancel`,close:`Close`,clear:`Clear`,insert:`Insert`,update:`Update`,remove:`Remove`,collapse:`Collapse`,expand:`Expand`,dismiss:`Dismiss`,calendar:{year:`Year`,previous_decade:`Previous Decade`,next_decade:`Next Decade`,month:`Month`,previous_month:`Previous Month`,next_month:`Next Month`,today:`Today`},split_button:{x_options:`{$name} Options`,more_options:`More Options`},combobox:{select_an_option:`Select an option…`,filter_options:`Filter Options`,no_matching_options:`No matching options found`},number_input:{increase:`Increase`,decrease:`Decrease`},password_input:{show_password:`Show Password`,hide_password:`Hide Password`},secret_input:{show_secret:`Show Secret`,hide_secret:`Hide Secret`},select_tags:{selected_options:`Selected Options`,remove_x:`Remove {$name}`},text_editor:{text_editor:`Text Editor`,code_editor:`Code Editor`,text_style_options:`Text Style Options`,show_text_style_options:`Show Text Style Options`,paragraph:`Paragraph`,heading_1:`Heading 1`,heading_2:`Heading 2`,heading_3:`Heading 3`,heading_4:`Heading 4`,heading_5:`Heading 5`,heading_6:`Heading 6`,bulleted_list:`Bulleted List`,numbered_list:`Numbered List`,blockquote:`Block Quote`,code_block:`Code Block`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,code:`Code`,link:`Link`,insert_link:`Insert Link`,update_link:`Update Link`,text:`Text`,url:`URL`,edit_in_markdown:`Edit in Markdown`,converter_error:`Unable to enable rich text mode. Please use the plain text editor instead.`,language:`Language`,plain_text:`Plain Text`}}})))()}
|
|
168
168
|
/*! @license DOMPurify 3.4.13 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.13/LICENSE */
|
|
169
169
|
function hk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function pce(e){if(Array.isArray(e))return e}function mce(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function hce(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
170
170
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gce(e,t){return pce(e)||mce(e,t)||_ce(e,t)||hce()}function _ce(e,t){if(e){if(typeof e==`string`)return hk(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hk(e,t):void 0}}function gk(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Ak(e,t,n)}}function vce(e){return function(){return jk(e,[...arguments])}}function _k(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rk;if(Sk&&Sk(e,null),!Lk(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Ck(t)||(t[r]=e),i=e)}e[i]=!0}return e}function yce(e){for(let t=0;t<e.length;t++)Jk(e,t)||(e[t]=null);return e}function vk(e){let t=Ok(null);for(let r of xk(e)){var n=gce(r,2);let i=n[0],a=n[1];Jk(e,i)&&(t[i]=Lk(a)?yce(a):a&&typeof a==`object`&&a.constructor===Object?vk(a):a)}return t}function bce(e){switch(typeof e){case`string`:return e;case`number`:return Wk(e);case`boolean`:return Gk(e);case`bigint`:return Kk?Kk(e):`0`;case`symbol`:return qk?qk(e):`Symbol()`;case`undefined`:return Yk(e);case`function`:case`object`:{if(e===null)return Yk(e);let t=e,n=yk(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:Yk(e)}return Yk(e)}default:return Yk(e)}}function yk(e,t){for(;e!==null;){let n=Tk(e,t);if(n){if(n.get)return gk(n.get);if(typeof n.value==`function`)return gk(n.value)}e=wk(e)}function n(){return null}return n}function xce(e){try{return Xk(e,``),!0}catch{return!1}}function bk(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wA(),t=e=>bk(e);if(t.version=`3.4.13`,t.removed=[],!e||!e.document||e.document.nodeType!==CA.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=yk(d,`cloneNode`),p=yk(d,`remove`),m=yk(d,`nextSibling`),h=yk(d,`childNodes`),g=yk(d,`parentNode`),_=yk(d,`shadowRoot`),v=yk(d,`attributes`),y=o&&o.prototype?yk(o.prototype,`nodeType`):null,b=o&&o.prototype?yk(o.prototype,`nodeName`):null,x=o&&o.prototype?yk(o.prototype,`ownerDocument`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,C=``,w,T=!1,ee=0,te=function(){if(ee>0)throw Zk(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},ne=function(e){te(),ee++;try{return S.createHTML(e)}finally{ee--}},re=function(e){te(),ee++;try{return S.createScriptURL(e)}finally{ee--}},ie=function(){return T||=(w=TA(u,i),!0),w},ae=n,oe=ae.implementation,se=ae.createNodeIterator,ce=ae.createDocumentFragment,E=ae.getElementsByTagName,le=r.importNode,ue=EA();t.isSupported=typeof xk==`function`&&typeof g==`function`&&oe&&oe.createHTMLDocument!==void 0;let de=lA,fe=uA,pe=dA,me=fA,he=pA,ge=hA,_e=gA,ve=vA,ye=mA,be=null,xe=_k({},[...Qk,...$k,...eA,...nA,...iA]),Se=null,Ce=_k({},[...aA,...oA,...sA,...cA]),we=Object.seal(Ok(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Te=null,Ee=null,De=Object.seal(Ok(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Oe=!0,ke=!0,Ae=!1,je=!0,Me=!1,Ne=!0,Pe=!1,Fe=!1,Ie=null,Le=null,Re=!1,ze=!1,Be=!1,Ve=!1,He=!0,Ue=!1,We=`user-content-`,Ge=!0,Ke=!1,qe={},Je=null,Ye=_k({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Xe=null,Ze=_k({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Qe=null,$e=_k({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),et=`http://www.w3.org/1998/Math/MathML`,tt=`http://www.w3.org/2000/svg`,nt=`http://www.w3.org/1999/xhtml`,rt=nt,it=!1,at=null,ot=_k({},[et,tt,nt],zk),st=Ek([`mi`,`mo`,`mn`,`ms`,`mtext`]),ct=_k({},st),lt=Ek([`annotation-xml`]),ut=_k({},lt),dt=_k({},[`title`,`style`,`font`,`a`,`script`]),ft=null,D=[`application/xhtml+xml`,`text/html`],pt=null,mt=null,ht=n.createElement(`form`),gt=function(e){return e instanceof RegExp||e instanceof Function},_t=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(mt&&mt===e)return;(!e||typeof e!=`object`)&&(e={}),e=vk(e),ft=D.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,pt=ft===`application/xhtml+xml`?zk:Rk,be=DA(e,`ALLOWED_TAGS`,xe,{transform:pt}),Se=DA(e,`ALLOWED_ATTR`,Ce,{transform:pt}),at=DA(e,`ALLOWED_NAMESPACES`,ot,{transform:zk}),Qe=DA(e,`ADD_URI_SAFE_ATTR`,$e,{transform:pt,base:$e}),Xe=DA(e,`ADD_DATA_URI_TAGS`,Ze,{transform:pt,base:Ze}),Je=DA(e,`FORBID_CONTENTS`,Ye,{transform:pt}),Te=DA(e,`FORBID_TAGS`,vk({}),{transform:pt}),Ee=DA(e,`FORBID_ATTR`,vk({}),{transform:pt}),qe=Jk(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?vk(e.USE_PROFILES):e.USE_PROFILES:!1,Oe=e.ALLOW_ARIA_ATTR!==!1,ke=e.ALLOW_DATA_ATTR!==!1,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,je=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=e.SAFE_FOR_TEMPLATES||!1,Ne=e.SAFE_FOR_XML!==!1,Pe=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,He=e.SANITIZE_DOM!==!1,Ue=e.SANITIZE_NAMED_PROPS||!1,Ge=e.KEEP_CONTENT!==!1,Ke=e.IN_PLACE||!1,ye=xce(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:mA,rt=typeof e.NAMESPACE==`string`?e.NAMESPACE:nt,ct=Jk(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?vk(e.MATHML_TEXT_INTEGRATION_POINTS):_k({},st),ut=Jk(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?vk(e.HTML_INTEGRATION_POINTS):_k({},lt);let t=Jk(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?vk(e.CUSTOM_ELEMENT_HANDLING):Ok(null);if(we=Ok(null),Jk(t,`tagNameCheck`)&>(t.tagNameCheck)&&(we.tagNameCheck=t.tagNameCheck),Jk(t,`attributeNameCheck`)&>(t.attributeNameCheck)&&(we.attributeNameCheck=t.attributeNameCheck),Jk(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(we.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Dk(we),Me&&(ke=!1),Be&&(ze=!0),qe&&(be=_k({},iA),Se=Ok(null),qe.html===!0&&(_k(be,Qk),_k(Se,aA)),qe.svg===!0&&(_k(be,$k),_k(Se,oA),_k(Se,cA)),qe.svgFilters===!0&&(_k(be,eA),_k(Se,oA),_k(Se,cA)),qe.mathMl===!0&&(_k(be,nA),_k(Se,sA),_k(Se,cA))),De.tagCheck=null,De.attributeCheck=null,Jk(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?De.tagCheck=e.ADD_TAGS:Lk(e.ADD_TAGS)&&(be===xe&&(be=vk(be)),_k(be,e.ADD_TAGS,pt))),Jk(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?De.attributeCheck=e.ADD_ATTR:Lk(e.ADD_ATTR)&&(Se===Ce&&(Se=vk(Se)),_k(Se,e.ADD_ATTR,pt))),Jk(e,`ADD_URI_SAFE_ATTR`)&&Lk(e.ADD_URI_SAFE_ATTR)&&_k(Qe,e.ADD_URI_SAFE_ATTR,pt),Jk(e,`FORBID_CONTENTS`)&&Lk(e.FORBID_CONTENTS)&&(Je===Ye&&(Je=vk(Je)),_k(Je,e.FORBID_CONTENTS,pt)),Jk(e,`ADD_FORBID_CONTENTS`)&&Lk(e.ADD_FORBID_CONTENTS)&&(Je===Ye&&(Je=vk(Je)),_k(Je,e.ADD_FORBID_CONTENTS,pt)),Ge&&(be[`#text`]=!0),Pe&&_k(be,[`html`,`head`,`body`]),be.table&&(_k(be,[`tbody`]),delete Te.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Zk(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Zk(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=S;S=e.TRUSTED_TYPES_POLICY;try{C=ne(``)}catch(e){throw S=t,e}}else e.TRUSTED_TYPES_POLICY===null?(S=void 0,C=``):(S===void 0&&(S=ie()),S&&typeof C==`string`&&(C=ne(``)));Ek&&Ek(e),mt=e},vt=_k({},[...$k,...eA,...tA]),yt=_k({},[...nA,...rA]),bt=function(e,t,n){return t.namespaceURI===nt?e===`svg`:t.namespaceURI===et?e===`svg`&&(n===`annotation-xml`||ct[n]):!!vt[e]},xt=function(e,t,n){return t.namespaceURI===nt?e===`math`:t.namespaceURI===tt?e===`math`&&ut[n]:!!yt[e]},St=function(e,t,n){return t.namespaceURI===tt&&!ut[n]||t.namespaceURI===et&&!ct[n]?!1:!yt[e]&&(dt[e]||!vt[e])},Ct=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:rt,tagName:`template`});let n=Rk(e.tagName),r=Rk(t.tagName);return at[e.namespaceURI]?e.namespaceURI===tt?bt(n,t,r):e.namespaceURI===et?xt(n,t,r):e.namespaceURI===nt?St(n,t,r):!!(ft===`application/xhtml+xml`&&at[e.namespaceURI]):!1},wt=function(e){Fk(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw Zk(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},Tt=function(e){Ot(e);let t=h(e);if(t){let e=[];Mk(t,t=>{Fk(e,t)}),Mk(e,e=>{try{p(e)}catch{}})}let n=v(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},Et=function(e,n){try{Fk(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Fk(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`){if(ze||Be)try{wt(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},Dt=function(e){let t=v(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||Se[pt(i)]))try{e.removeAttribute(i)}catch{}}},Ot=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(y?y(e):e.nodeType)===CA.element&&Dt(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},kt=function(e){if(!Ne)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=y?y(e):e.nodeType;if(n===CA.processingInstruction||n===CA.comment&&Xk(bA,e.data)){try{p(e)}catch{}continue}if(n===CA.element){let t=e,n=pt(b?b(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=h(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},At=function(e){let t=null,r=null;if(Re)e=`<remove></remove>`+e;else{let t=Bk(e,/^[\r\n\t ]+/);r=t&&t[0]}ft===`application/xhtml+xml`&&rt===nt&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=S?ne(e):e;if(rt===nt)try{t=new l().parseFromString(i,ft)}catch{}if(!t||!t.documentElement){t=oe.createDocument(rt,`template`,null);try{t.documentElement.innerHTML=it?C:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),rt===nt?E.call(t,Pe?`html`:`body`)[0]:Pe?t.documentElement:a},jt=function(e){let t=x?x(e):e.ownerDocument;return se.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Mt=function(e){return e=Vk(e,de,` `),e=Vk(e,fe,` `),e=Vk(e,pe,` `),e},Nt=function(e){e.normalize();let t=x?x(e):e.ownerDocument,n=se.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Mt(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Mk(i,e=>{Ft(e.content)&&Nt(e.content)})},Pt=function(e){let t=b?b(e):null;return typeof t!=`string`||pt(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},Ft=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===CA.documentFragment}catch{return!1}},O=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function k(e,n,r){e.length!==0&&Mk(e,e=>{e.call(t,n,r,mt)})}let It=function(e,t){return!!(Ne&&e.hasChildNodes()&&!O(e.firstElementChild)&&Xk(yA,e.textContent)&&Xk(yA,e.innerHTML)||Ne&&e.namespaceURI===nt&&t===`style`&&O(e.firstElementChild)||e.nodeType===CA.processingInstruction||Ne&&e.nodeType===CA.comment&&Xk(bA,e.data))},Lt=function(e,t,n){if(!Te[t]&&Ht(t)&&(we.tagNameCheck instanceof RegExp&&Xk(we.tagNameCheck,t)||we.tagNameCheck instanceof Function&&we.tagNameCheck(t)))return!1;if(Ge&&!Je[t]){let t=g(e),r=h(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,m(e))}}}return wt(e),!0},Rt=function(e,t,n,r){return e.length===0?t:t===n||t===r?vk(t):t},zt=function(e,n){if(k(ue.beforeSanitizeElements,e,null),e!==n&&g(e)===null)return Ke&&Ot(e),!0;if(Pt(e))return wt(e),!0;let r=pt(b?b(e):e.nodeName);if(be=Rt(ue.uponSanitizeElement,be,xe,Ie),k(ue.uponSanitizeElement,e,{tagName:r,allowedTags:be}),e!==n&&g(e)===null)return Ke&&Ot(e),!0;if(It(e,r))return wt(e),!0;if(Te[r]||!(De.tagCheck instanceof Function&&De.tagCheck(r))&&!be[r]){let t=Lt(e,r,n);return t===!1&&k(ue.afterSanitizeElements,e,null),t}if((y?y(e):e.nodeType)===CA.element&&!Ct(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Xk(xA,e.innerHTML))return wt(e),!0;if(Me&&e.nodeType===CA.text){let n=Mt(e.textContent);e.textContent!==n&&(Fk(t.removed,{element:e.cloneNode()}),e.textContent=n)}return k(ue.afterSanitizeElements,e,null),!1},Bt=function(e,t,r){if(Ee[t]||Ne&&t===`patchsrc`||Ne&&t===`for`&&e!==`label`&&e!==`output`||He&&(t===`id`||t===`name`)&&(r in n||r in ht))return!1;let i=Se[t]||De.attributeCheck instanceof Function&&De.attributeCheck(t,e);if(!(ke&&Xk(me,t))&&!(Oe&&Xk(he,t))){if(!i){if(!(Ht(e)&&(we.tagNameCheck instanceof RegExp&&Xk(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&Xk(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t,e))||t===`is`&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&Xk(we.tagNameCheck,r)||we.tagNameCheck instanceof Function&&we.tagNameCheck(r))))return!1}else if(!Qe[t]&&!Xk(ye,Vk(r,_e,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Hk(r,`data:`)===0&&Xe[e])&&!(Ae&&!Xk(ge,Vk(r,_e,``)))&&r)return!1}return!0},Vt=_k({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Ht=function(e){return!Vt[Rk(e)]&&Xk(ve,e)},Ut=function(e,t,n,r){if(S&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return ne(r);case`TrustedScriptURL`:return re(r)}return r},Wt=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),Pt(e)?wt(e):Pk(t.removed)}catch{Et(n,e)}},Gt=function(e){k(ue.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||Pt(e))return;Se=Rt(ue.uponSanitizeAttribute,Se,Ce,Le);let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0},r=t.length,i=pt(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=pt(o),u=c,d=o===`value`?u:Uk(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,k(ue.uponSanitizeAttribute,e,n),d=n.attrValue,Ue&&(l===`id`||l===`name`)&&Hk(d,We)!==0&&(Et(o,e),d=We+d),Ne&&Xk(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Et(o,e);continue}if(l===`attributename`&&Bk(d,`href`)){Et(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){Et(o,e);continue}if(!je&&Xk(SA,d)){Et(o,e);continue}if(Me&&(d=Mt(d)),!Bt(i,l,d)){Et(o,e);continue}d=Ut(i,l,s,d),d!==u&&Wt(e,o,s,d)}}k(ue.afterSanitizeAttributes,e,null)},Kt=function(e){let t=null,n=jt(e);for(k(ue.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(k(ue.uponSanitizeShadowNode,t,null),zt(t,e),Gt(t),Ft(t.content)&&Kt(t.content),(y?y(t):t.nodeType)===CA.element){let e=_(t);Ft(e)&&(qt(e),Kt(e))}k(ue.afterSanitizeShadowDOM,e,null)},qt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Kt(e.shadow);continue}let n=e.node,r=(y?y(n):n.nodeType)===CA.element,i=h(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=b?b(n):null;if(typeof e==`string`&&pt(e)===`template`){let e=n.content;Ft(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);Ft(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(it=!e,it&&(e=`<!-->`),typeof e!=`string`&&!O(e)&&(e=bce(e),typeof e!=`string`))throw Zk(`dirty is not a string, aborting`);if(!t.isSupported)return e;Fe?(be=Ie,Se=Le):_t(n),(ue.uponSanitizeElement.length>0||ue.uponSanitizeAttribute.length>0)&&(be=vk(be)),ue.uponSanitizeAttribute.length>0&&(Se=vk(Se)),t.removed=[];let c=Ke&&typeof e!=`string`&&O(e);if(c){kt(e);let t=b?b(e):e.nodeName;if(typeof t==`string`){let n=pt(t);if(!be[n]||Te[n])throw Tt(e),Zk(`root node is forbidden and cannot be sanitized in-place`)}if(Pt(e))throw Tt(e),Zk(`root node is clobbered and cannot be sanitized in-place`);try{qt(e)}catch(t){throw Tt(e),t}}else if(O(e))i=At(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===CA.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),qt(a);else{if(!ze&&!Me&&!Pe&&e.indexOf(`<`)===-1)return S&&Ve?ne(e):e;if(i=At(e),!i)return ze?null:Ve?C:``}i&&Re&&wt(i.firstChild);let l=c?e:i;try{let e=jt(l);for(;o=e.nextNode();)zt(o,l),Gt(o),Ft(o.content)&&Kt(o.content)}catch(n){throw c&&(Tt(e),Mk(t.removed,e=>{e.element&&Ot(e.element)})),n}if(c)return Mk(t.removed,e=>{e.element&&Ot(e.element)}),Me&&Nt(e),e;if(ze){if(Me&&Nt(i),Be)for(s=ce.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Se.shadowroot||Se.shadowrootmode)&&(s=le.call(r,s,!0)),s}let u=Pe?i.outerHTML:i.innerHTML;return Pe&&be[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Xk(_A,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
@@ -342,7 +342,7 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\
|
|
|
342
342
|
`,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=CF(SF(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=CF(SF(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}}})))()}function ede(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Jue||null,prettyErrors:t}}function tde(e,t={}){let{lineCounter:n,prettyErrors:r}=ede(t),i=new $ue(n?.addNewLine),a=new zue(t),o=null;for(let t of a.compose(i.parse(e),!0,e.length))if(!o)o=t;else if(o.options.logLevel!==`silent`){o.errors.push(new JP(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return r&&n&&(o.errors.forEach(YP(e,n)),o.warnings.forEach(YP(e,n))),o}function nde(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let i=tde(e,n);if(!i)return null;if(i.warnings.forEach(e=>Cle(i.options.logLevel,e)),i.errors.length>0){if(i.options.logLevel!==`silent`)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function EF(e,t,n){let r=null;if(typeof t==`function`||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n==`string`&&(n=n.length),typeof n==`number`){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=n??t??{};if(!e)return}return VM(e)&&!r?e.toString(n):new GP(e,r,n).toString(n)}function rde(){return(rde=o((()=>{dF(),KP(),XP(),qM(),Yue(),TF()})))()}function ide(){return(ide=o((()=>{dF(),KP(),UP(),lN(),HN(),fN(),qN(),QN(),hF(),bF(),TF(),rde(),QM()})))()}function DF(){return(DF=o((()=>{ide()})))()}var OF;function kF(){return(kF=o((()=>{OF=({date:e=new Date,timeZone:t=void 0}={})=>{let n={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:`longOffset`};return Object.fromEntries(new Intl.DateTimeFormat(`en-US`,{...n,hour12:!1,timeZone:t}).formatToParts(e).filter(({type:e})=>e in n).map(({type:e,value:t})=>[e,e===`hour`&&t===`24`?`00`:t]))}})))()}var AF;function ade(){return(ade=o((()=>{AF=new Map([[`ß`,`ss`],[`ẞ`,`Ss`],[`ä`,`ae`],[`Ä`,`Ae`],[`ö`,`oe`],[`Ö`,`Oe`],[`ü`,`ue`],[`Ü`,`Ue`],[`À`,`A`],[`Á`,`A`],[`Â`,`A`],[`Ã`,`A`],[`Ä`,`Ae`],[`Å`,`A`],[`Æ`,`AE`],[`Ç`,`C`],[`È`,`E`],[`É`,`E`],[`Ê`,`E`],[`Ë`,`E`],[`Ə`,`A`],[`Ì`,`I`],[`Í`,`I`],[`Î`,`I`],[`Ï`,`I`],[`Ð`,`D`],[`Ñ`,`N`],[`Ò`,`O`],[`Ó`,`O`],[`Ô`,`O`],[`Õ`,`O`],[`Ö`,`Oe`],[`Ō`,`O`],[`Ő`,`O`],[`Ø`,`O`],[`Œ`,`OE`],[`Ù`,`U`],[`Ú`,`U`],[`Û`,`U`],[`Ü`,`Ue`],[`Ű`,`U`],[`Ý`,`Y`],[`Þ`,`TH`],[`ß`,`ss`],[`à`,`a`],[`á`,`a`],[`â`,`a`],[`ã`,`a`],[`ä`,`ae`],[`å`,`a`],[`æ`,`ae`],[`ç`,`c`],[`è`,`e`],[`é`,`e`],[`ê`,`e`],[`ë`,`e`],[`ə`,`a`],[`ì`,`i`],[`í`,`i`],[`î`,`i`],[`ï`,`i`],[`ð`,`d`],[`ñ`,`n`],[`ò`,`o`],[`ó`,`o`],[`ô`,`o`],[`õ`,`o`],[`ö`,`oe`],[`ō`,`o`],[`ő`,`o`],[`ø`,`o`],[`œ`,`oe`],[`ù`,`u`],[`ú`,`u`],[`û`,`u`],[`ü`,`ue`],[`ű`,`u`],[`ý`,`y`],[`þ`,`th`],[`ÿ`,`y`],[`à`,`a`],[`À`,`A`],[`á`,`a`],[`Á`,`A`],[`â`,`a`],[`Â`,`A`],[`ã`,`a`],[`Ã`,`A`],[`è`,`e`],[`È`,`E`],[`é`,`e`],[`É`,`E`],[`ê`,`e`],[`Ê`,`E`],[`ì`,`i`],[`Ì`,`I`],[`í`,`i`],[`Í`,`I`],[`ò`,`o`],[`Ò`,`O`],[`ó`,`o`],[`Ó`,`O`],[`ô`,`o`],[`Ô`,`O`],[`õ`,`o`],[`Õ`,`O`],[`ù`,`u`],[`Ù`,`U`],[`ú`,`u`],[`Ú`,`U`],[`ý`,`y`],[`Ý`,`Y`],[`ă`,`a`],[`Ă`,`A`],[`Đ`,`D`],[`đ`,`d`],[`ĩ`,`i`],[`Ĩ`,`I`],[`ũ`,`u`],[`Ũ`,`U`],[`ơ`,`o`],[`Ơ`,`O`],[`ư`,`u`],[`Ư`,`U`],[`ạ`,`a`],[`Ạ`,`A`],[`ả`,`a`],[`Ả`,`A`],[`ấ`,`a`],[`Ấ`,`A`],[`ầ`,`a`],[`Ầ`,`A`],[`ẩ`,`a`],[`Ẩ`,`A`],[`ẫ`,`a`],[`Ẫ`,`A`],[`ậ`,`a`],[`Ậ`,`A`],[`ắ`,`a`],[`Ắ`,`A`],[`ằ`,`a`],[`Ằ`,`A`],[`ẳ`,`a`],[`Ẳ`,`A`],[`ẵ`,`a`],[`Ẵ`,`A`],[`ặ`,`a`],[`Ặ`,`A`],[`ẹ`,`e`],[`Ẹ`,`E`],[`ẻ`,`e`],[`Ẻ`,`E`],[`ẽ`,`e`],[`Ẽ`,`E`],[`ế`,`e`],[`Ế`,`E`],[`ề`,`e`],[`Ề`,`E`],[`ể`,`e`],[`Ể`,`E`],[`ễ`,`e`],[`Ễ`,`E`],[`ệ`,`e`],[`Ệ`,`E`],[`ỉ`,`i`],[`Ỉ`,`I`],[`ị`,`i`],[`Ị`,`I`],[`ọ`,`o`],[`Ọ`,`O`],[`ỏ`,`o`],[`Ỏ`,`O`],[`ố`,`o`],[`Ố`,`O`],[`ồ`,`o`],[`Ồ`,`O`],[`ổ`,`o`],[`Ổ`,`O`],[`ỗ`,`o`],[`Ỗ`,`O`],[`ộ`,`o`],[`Ộ`,`O`],[`ớ`,`o`],[`Ớ`,`O`],[`ờ`,`o`],[`Ờ`,`O`],[`ở`,`o`],[`Ở`,`O`],[`ỡ`,`o`],[`Ỡ`,`O`],[`ợ`,`o`],[`Ợ`,`O`],[`ụ`,`u`],[`Ụ`,`U`],[`ủ`,`u`],[`Ủ`,`U`],[`ứ`,`u`],[`Ứ`,`U`],[`ừ`,`u`],[`Ừ`,`U`],[`ử`,`u`],[`Ử`,`U`],[`ữ`,`u`],[`Ữ`,`U`],[`ự`,`u`],[`Ự`,`U`],[`ỳ`,`y`],[`Ỳ`,`Y`],[`ỵ`,`y`],[`Ỵ`,`Y`],[`ỷ`,`y`],[`Ỷ`,`Y`],[`ỹ`,`y`],[`Ỹ`,`Y`],[`ء`,`e`],[`آ`,`a`],[`أ`,`a`],[`ؤ`,`w`],[`إ`,`a`],[`ئ`,`y`],[`ا`,`a`],[`ب`,`b`],[`ة`,`t`],[`ت`,`t`],[`ث`,`th`],[`ج`,`j`],[`ح`,`h`],[`خ`,`kh`],[`د`,`d`],[`ذ`,`dh`],[`ر`,`r`],[`ز`,`z`],[`س`,`s`],[`ش`,`sh`],[`ص`,`s`],[`ض`,`d`],[`ط`,`t`],[`ظ`,`z`],[`ع`,`e`],[`غ`,`gh`],[`ـ`,`_`],[`ف`,`f`],[`ق`,`q`],[`ك`,`k`],[`ل`,`l`],[`م`,`m`],[`ن`,`n`],[`ه`,`h`],[`و`,`w`],[`ى`,`a`],[`ي`,`y`],[`َ`,`a`],[`ُ`,`u`],[`ِ`,`i`],[`٠`,`0`],[`١`,`1`],[`٢`,`2`],[`٣`,`3`],[`٤`,`4`],[`٥`,`5`],[`٦`,`6`],[`٧`,`7`],[`٨`,`8`],[`٩`,`9`],[`چ`,`ch`],[`ک`,`k`],[`گ`,`g`],[`پ`,`p`],[`ژ`,`zh`],[`ی`,`y`],[`۰`,`0`],[`۱`,`1`],[`۲`,`2`],[`۳`,`3`],[`۴`,`4`],[`۵`,`5`],[`۶`,`6`],[`۷`,`7`],[`۸`,`8`],[`۹`,`9`],[`ټ`,`p`],[`ځ`,`z`],[`څ`,`c`],[`ډ`,`d`],[`ﺫ`,`d`],[`ﺭ`,`r`],[`ړ`,`r`],[`ﺯ`,`z`],[`ږ`,`g`],[`ښ`,`x`],[`ګ`,`g`],[`ڼ`,`n`],[`ۀ`,`e`],[`ې`,`e`],[`ۍ`,`ai`],[`ٹ`,`t`],[`ڈ`,`d`],[`ڑ`,`r`],[`ں`,`n`],[`ہ`,`h`],[`ھ`,`h`],[`ے`,`e`],[`А`,`A`],[`а`,`a`],[`Б`,`B`],[`б`,`b`],[`В`,`V`],[`в`,`v`],[`Г`,`G`],[`г`,`g`],[`Д`,`D`],[`д`,`d`],[`ъе`,`ye`],[`Ъе`,`Ye`],[`ъЕ`,`yE`],[`ЪЕ`,`YE`],[`Е`,`E`],[`е`,`e`],[`Ё`,`Yo`],[`ё`,`yo`],[`Ж`,`Zh`],[`ж`,`zh`],[`З`,`Z`],[`з`,`z`],[`И`,`I`],[`и`,`i`],[`ый`,`iy`],[`Ый`,`Iy`],[`ЫЙ`,`IY`],[`ыЙ`,`iY`],[`Й`,`Y`],[`й`,`y`],[`К`,`K`],[`к`,`k`],[`Л`,`L`],[`л`,`l`],[`М`,`M`],[`м`,`m`],[`Н`,`N`],[`н`,`n`],[`О`,`O`],[`о`,`o`],[`П`,`P`],[`п`,`p`],[`Р`,`R`],[`р`,`r`],[`С`,`S`],[`с`,`s`],[`Т`,`T`],[`т`,`t`],[`У`,`U`],[`у`,`u`],[`Ф`,`F`],[`ф`,`f`],[`Х`,`Kh`],[`х`,`kh`],[`Ц`,`Ts`],[`ц`,`ts`],[`Ч`,`Ch`],[`ч`,`ch`],[`Ш`,`Sh`],[`ш`,`sh`],[`Щ`,`Sch`],[`щ`,`sch`],[`Ъ`,``],[`ъ`,``],[`Ы`,`Y`],[`ы`,`y`],[`Ь`,``],[`ь`,``],[`Э`,`E`],[`э`,`e`],[`Ю`,`Yu`],[`ю`,`yu`],[`Я`,`Ya`],[`я`,`ya`],[`ă`,`a`],[`Ă`,`A`],[`ș`,`s`],[`Ș`,`S`],[`ț`,`t`],[`Ț`,`T`],[`ţ`,`t`],[`Ţ`,`T`],[`ş`,`s`],[`Ş`,`S`],[`ç`,`c`],[`Ç`,`C`],[`ğ`,`g`],[`Ğ`,`G`],[`ı`,`i`],[`İ`,`I`],[`ա`,`a`],[`Ա`,`A`],[`բ`,`b`],[`Բ`,`B`],[`գ`,`g`],[`Գ`,`G`],[`դ`,`d`],[`Դ`,`D`],[`ե`,`ye`],[`Ե`,`Ye`],[`զ`,`z`],[`Զ`,`Z`],[`է`,`e`],[`Է`,`E`],[`ը`,`y`],[`Ը`,`Y`],[`թ`,`t`],[`Թ`,`T`],[`ժ`,`zh`],[`Ժ`,`Zh`],[`ի`,`i`],[`Ի`,`I`],[`լ`,`l`],[`Լ`,`L`],[`խ`,`kh`],[`Խ`,`Kh`],[`ծ`,`ts`],[`Ծ`,`Ts`],[`կ`,`k`],[`Կ`,`K`],[`հ`,`h`],[`Հ`,`H`],[`ձ`,`dz`],[`Ձ`,`Dz`],[`ղ`,`gh`],[`Ղ`,`Gh`],[`ճ`,`tch`],[`Ճ`,`Tch`],[`մ`,`m`],[`Մ`,`M`],[`յ`,`y`],[`Յ`,`Y`],[`ն`,`n`],[`Ն`,`N`],[`շ`,`sh`],[`Շ`,`Sh`],[`ու`,`u`],[`ՈՒ`,`U`],[`Ու`,`U`],[`ո`,`vo`],[`Ո`,`Vo`],[`չ`,`ch`],[`Չ`,`Ch`],[`պ`,`p`],[`Պ`,`P`],[`ջ`,`j`],[`Ջ`,`J`],[`ռ`,`r`],[`Ռ`,`R`],[`ս`,`s`],[`Ս`,`S`],[`վ`,`v`],[`Վ`,`V`],[`տ`,`t`],[`Տ`,`T`],[`ր`,`r`],[`Ր`,`R`],[`ց`,`c`],[`Ց`,`C`],[`փ`,`p`],[`Փ`,`P`],[`ք`,`q`],[`Ք`,`Q`],[`օ`,`o`],[`Օ`,`O`],[`ֆ`,`f`],[`Ֆ`,`F`],[`և`,`yev`],[`ა`,`a`],[`ბ`,`b`],[`გ`,`g`],[`დ`,`d`],[`ე`,`e`],[`ვ`,`v`],[`ზ`,`z`],[`თ`,`t`],[`ი`,`i`],[`კ`,`k`],[`ლ`,`l`],[`მ`,`m`],[`ნ`,`n`],[`ო`,`o`],[`პ`,`p`],[`ჟ`,`zh`],[`რ`,`r`],[`ს`,`s`],[`ტ`,`t`],[`უ`,`u`],[`ფ`,`ph`],[`ქ`,`q`],[`ღ`,`gh`],[`ყ`,`k`],[`შ`,`sh`],[`ჩ`,`ch`],[`ც`,`ts`],[`ძ`,`dz`],[`წ`,`ts`],[`ჭ`,`tch`],[`ხ`,`kh`],[`ჯ`,`j`],[`ჰ`,`h`],[`č`,`c`],[`ď`,`d`],[`ě`,`e`],[`ň`,`n`],[`ř`,`r`],[`š`,`s`],[`ť`,`t`],[`ů`,`u`],[`ž`,`z`],[`Č`,`C`],[`Ď`,`D`],[`Ě`,`E`],[`Ň`,`N`],[`Ř`,`R`],[`Š`,`S`],[`Ť`,`T`],[`Ů`,`U`],[`Ž`,`Z`],[`ހ`,`h`],[`ށ`,`sh`],[`ނ`,`n`],[`ރ`,`r`],[`ބ`,`b`],[`ޅ`,`lh`],[`ކ`,`k`],[`އ`,`a`],[`ވ`,`v`],[`މ`,`m`],[`ފ`,`f`],[`ދ`,`dh`],[`ތ`,`th`],[`ލ`,`l`],[`ގ`,`g`],[`ޏ`,`gn`],[`ސ`,`s`],[`ޑ`,`d`],[`ޒ`,`z`],[`ޓ`,`t`],[`ޔ`,`y`],[`ޕ`,`p`],[`ޖ`,`j`],[`ޗ`,`ch`],[`ޘ`,`tt`],[`ޙ`,`hh`],[`ޚ`,`kh`],[`ޛ`,`th`],[`ޜ`,`z`],[`ޝ`,`sh`],[`ޞ`,`s`],[`ޟ`,`d`],[`ޠ`,`t`],[`ޡ`,`z`],[`ޢ`,`a`],[`ޣ`,`gh`],[`ޤ`,`q`],[`ޥ`,`w`],[`ަ`,`a`],[`ާ`,`aa`],[`ި`,`i`],[`ީ`,`ee`],[`ު`,`u`],[`ޫ`,`oo`],[`ެ`,`e`],[`ޭ`,`ey`],[`ޮ`,`o`],[`ޯ`,`oa`],[`ް`,``],[`α`,`a`],[`β`,`v`],[`γ`,`g`],[`δ`,`d`],[`ε`,`e`],[`ζ`,`z`],[`η`,`i`],[`θ`,`th`],[`ι`,`i`],[`κ`,`k`],[`λ`,`l`],[`μ`,`m`],[`ν`,`n`],[`ξ`,`ks`],[`ο`,`o`],[`π`,`p`],[`ρ`,`r`],[`σ`,`s`],[`τ`,`t`],[`υ`,`y`],[`φ`,`f`],[`χ`,`x`],[`ψ`,`ps`],[`ω`,`o`],[`ά`,`a`],[`έ`,`e`],[`ί`,`i`],[`ό`,`o`],[`ύ`,`y`],[`ή`,`i`],[`ώ`,`o`],[`ς`,`s`],[`ϊ`,`i`],[`ΰ`,`y`],[`ϋ`,`y`],[`ΐ`,`i`],[`Α`,`A`],[`Β`,`B`],[`Γ`,`G`],[`Δ`,`D`],[`Ε`,`E`],[`Ζ`,`Z`],[`Η`,`I`],[`Θ`,`TH`],[`Ι`,`I`],[`Κ`,`K`],[`Λ`,`L`],[`Μ`,`M`],[`Ν`,`N`],[`Ξ`,`KS`],[`Ο`,`O`],[`Π`,`P`],[`Ρ`,`R`],[`Σ`,`S`],[`Τ`,`T`],[`Υ`,`Y`],[`Φ`,`F`],[`Χ`,`X`],[`Ψ`,`PS`],[`Ω`,`O`],[`Ά`,`A`],[`Έ`,`E`],[`Ί`,`I`],[`Ό`,`O`],[`Ύ`,`Y`],[`Ή`,`I`],[`Ώ`,`O`],[`Ϊ`,`I`],[`Ϋ`,`Y`],[`ā`,`a`],[`ē`,`e`],[`ģ`,`g`],[`ī`,`i`],[`ķ`,`k`],[`ļ`,`l`],[`ņ`,`n`],[`ū`,`u`],[`Ā`,`A`],[`Ē`,`E`],[`Ģ`,`G`],[`Ī`,`I`],[`Ķ`,`K`],[`Ļ`,`L`],[`Ņ`,`N`],[`Ū`,`U`],[`č`,`c`],[`š`,`s`],[`ž`,`z`],[`Č`,`C`],[`Š`,`S`],[`Ž`,`Z`],[`ą`,`a`],[`č`,`c`],[`ę`,`e`],[`ė`,`e`],[`į`,`i`],[`š`,`s`],[`ų`,`u`],[`ū`,`u`],[`ž`,`z`],[`Ą`,`A`],[`Č`,`C`],[`Ę`,`E`],[`Ė`,`E`],[`Į`,`I`],[`Š`,`S`],[`Ų`,`U`],[`Ū`,`U`],[`Ќ`,`Kj`],[`ќ`,`kj`],[`Љ`,`Lj`],[`љ`,`lj`],[`Њ`,`Nj`],[`њ`,`nj`],[`Тс`,`Ts`],[`тс`,`ts`],[`ą`,`a`],[`ć`,`c`],[`ę`,`e`],[`ł`,`l`],[`ń`,`n`],[`ś`,`s`],[`ź`,`z`],[`ż`,`z`],[`Ą`,`A`],[`Ć`,`C`],[`Ę`,`E`],[`Ł`,`L`],[`Ń`,`N`],[`Ś`,`S`],[`Ź`,`Z`],[`Ż`,`Z`],[`Є`,`Ye`],[`І`,`I`],[`Ї`,`Yi`],[`Ґ`,`G`],[`є`,`ye`],[`і`,`i`],[`ї`,`yi`],[`ґ`,`g`],[`IJ`,`IJ`],[`ij`,`ij`],[`¢`,`c`],[`¥`,`Y`],[`߿`,`b`],[`৳`,`t`],[`૱`,`Bo`],[`฿`,`B`],[`₠`,`CE`],[`₡`,`C`],[`₢`,`Cr`],[`₣`,`F`],[`₥`,`m`],[`₦`,`N`],[`₧`,`Pt`],[`₨`,`Rs`],[`₩`,`W`],[`₫`,`s`],[`€`,`E`],[`₭`,`K`],[`₮`,`T`],[`₯`,`Dp`],[`₰`,`S`],[`₱`,`P`],[`₲`,`G`],[`₳`,`A`],[`₴`,`S`],[`₵`,`C`],[`₶`,`tt`],[`₷`,`S`],[`₸`,`T`],[`₹`,`R`],[`₺`,`L`],[`₽`,`P`],[`₿`,`B`],[`﹩`,`$`],[`¢`,`c`],[`¥`,`Y`],[`₩`,`W`],[`𝐀`,`A`],[`𝐁`,`B`],[`𝐂`,`C`],[`𝐃`,`D`],[`𝐄`,`E`],[`𝐅`,`F`],[`𝐆`,`G`],[`𝐇`,`H`],[`𝐈`,`I`],[`𝐉`,`J`],[`𝐊`,`K`],[`𝐋`,`L`],[`𝐌`,`M`],[`𝐍`,`N`],[`𝐎`,`O`],[`𝐏`,`P`],[`𝐐`,`Q`],[`𝐑`,`R`],[`𝐒`,`S`],[`𝐓`,`T`],[`𝐔`,`U`],[`𝐕`,`V`],[`𝐖`,`W`],[`𝐗`,`X`],[`𝐘`,`Y`],[`𝐙`,`Z`],[`𝐚`,`a`],[`𝐛`,`b`],[`𝐜`,`c`],[`𝐝`,`d`],[`𝐞`,`e`],[`𝐟`,`f`],[`𝐠`,`g`],[`𝐡`,`h`],[`𝐢`,`i`],[`𝐣`,`j`],[`𝐤`,`k`],[`𝐥`,`l`],[`𝐦`,`m`],[`𝐧`,`n`],[`𝐨`,`o`],[`𝐩`,`p`],[`𝐪`,`q`],[`𝐫`,`r`],[`𝐬`,`s`],[`𝐭`,`t`],[`𝐮`,`u`],[`𝐯`,`v`],[`𝐰`,`w`],[`𝐱`,`x`],[`𝐲`,`y`],[`𝐳`,`z`],[`𝐴`,`A`],[`𝐵`,`B`],[`𝐶`,`C`],[`𝐷`,`D`],[`𝐸`,`E`],[`𝐹`,`F`],[`𝐺`,`G`],[`𝐻`,`H`],[`𝐼`,`I`],[`𝐽`,`J`],[`𝐾`,`K`],[`𝐿`,`L`],[`𝑀`,`M`],[`𝑁`,`N`],[`𝑂`,`O`],[`𝑃`,`P`],[`𝑄`,`Q`],[`𝑅`,`R`],[`𝑆`,`S`],[`𝑇`,`T`],[`𝑈`,`U`],[`𝑉`,`V`],[`𝑊`,`W`],[`𝑋`,`X`],[`𝑌`,`Y`],[`𝑍`,`Z`],[`𝑎`,`a`],[`𝑏`,`b`],[`𝑐`,`c`],[`𝑑`,`d`],[`𝑒`,`e`],[`𝑓`,`f`],[`𝑔`,`g`],[`𝑖`,`i`],[`𝑗`,`j`],[`𝑘`,`k`],[`𝑙`,`l`],[`𝑚`,`m`],[`𝑛`,`n`],[`𝑜`,`o`],[`𝑝`,`p`],[`𝑞`,`q`],[`𝑟`,`r`],[`𝑠`,`s`],[`𝑡`,`t`],[`𝑢`,`u`],[`𝑣`,`v`],[`𝑤`,`w`],[`𝑥`,`x`],[`𝑦`,`y`],[`𝑧`,`z`],[`𝑨`,`A`],[`𝑩`,`B`],[`𝑪`,`C`],[`𝑫`,`D`],[`𝑬`,`E`],[`𝑭`,`F`],[`𝑮`,`G`],[`𝑯`,`H`],[`𝑰`,`I`],[`𝑱`,`J`],[`𝑲`,`K`],[`𝑳`,`L`],[`𝑴`,`M`],[`𝑵`,`N`],[`𝑶`,`O`],[`𝑷`,`P`],[`𝑸`,`Q`],[`𝑹`,`R`],[`𝑺`,`S`],[`𝑻`,`T`],[`𝑼`,`U`],[`𝑽`,`V`],[`𝑾`,`W`],[`𝑿`,`X`],[`𝒀`,`Y`],[`𝒁`,`Z`],[`𝒂`,`a`],[`𝒃`,`b`],[`𝒄`,`c`],[`𝒅`,`d`],[`𝒆`,`e`],[`𝒇`,`f`],[`𝒈`,`g`],[`𝒉`,`h`],[`𝒊`,`i`],[`𝒋`,`j`],[`𝒌`,`k`],[`𝒍`,`l`],[`𝒎`,`m`],[`𝒏`,`n`],[`𝒐`,`o`],[`𝒑`,`p`],[`𝒒`,`q`],[`𝒓`,`r`],[`𝒔`,`s`],[`𝒕`,`t`],[`𝒖`,`u`],[`𝒗`,`v`],[`𝒘`,`w`],[`𝒙`,`x`],[`𝒚`,`y`],[`𝒛`,`z`],[`𝒜`,`A`],[`𝒞`,`C`],[`𝒟`,`D`],[`𝒢`,`g`],[`𝒥`,`J`],[`𝒦`,`K`],[`𝒩`,`N`],[`𝒪`,`O`],[`𝒫`,`P`],[`𝒬`,`Q`],[`𝒮`,`S`],[`𝒯`,`T`],[`𝒰`,`U`],[`𝒱`,`V`],[`𝒲`,`W`],[`𝒳`,`X`],[`𝒴`,`Y`],[`𝒵`,`Z`],[`𝒶`,`a`],[`𝒷`,`b`],[`𝒸`,`c`],[`𝒹`,`d`],[`𝒻`,`f`],[`𝒽`,`h`],[`𝒾`,`i`],[`𝒿`,`j`],[`𝓀`,`k`],[`𝓁`,`l`],[`𝓂`,`m`],[`𝓃`,`n`],[`𝓅`,`p`],[`𝓆`,`q`],[`𝓇`,`r`],[`𝓈`,`s`],[`𝓉`,`t`],[`𝓊`,`u`],[`𝓋`,`v`],[`𝓌`,`w`],[`𝓍`,`x`],[`𝓎`,`y`],[`𝓏`,`z`],[`𝓐`,`A`],[`𝓑`,`B`],[`𝓒`,`C`],[`𝓓`,`D`],[`𝓔`,`E`],[`𝓕`,`F`],[`𝓖`,`G`],[`𝓗`,`H`],[`𝓘`,`I`],[`𝓙`,`J`],[`𝓚`,`K`],[`𝓛`,`L`],[`𝓜`,`M`],[`𝓝`,`N`],[`𝓞`,`O`],[`𝓟`,`P`],[`𝓠`,`Q`],[`𝓡`,`R`],[`𝓢`,`S`],[`𝓣`,`T`],[`𝓤`,`U`],[`𝓥`,`V`],[`𝓦`,`W`],[`𝓧`,`X`],[`𝓨`,`Y`],[`𝓩`,`Z`],[`𝓪`,`a`],[`𝓫`,`b`],[`𝓬`,`c`],[`𝓭`,`d`],[`𝓮`,`e`],[`𝓯`,`f`],[`𝓰`,`g`],[`𝓱`,`h`],[`𝓲`,`i`],[`𝓳`,`j`],[`𝓴`,`k`],[`𝓵`,`l`],[`𝓶`,`m`],[`𝓷`,`n`],[`𝓸`,`o`],[`𝓹`,`p`],[`𝓺`,`q`],[`𝓻`,`r`],[`𝓼`,`s`],[`𝓽`,`t`],[`𝓾`,`u`],[`𝓿`,`v`],[`𝔀`,`w`],[`𝔁`,`x`],[`𝔂`,`y`],[`𝔃`,`z`],[`𝔄`,`A`],[`𝔅`,`B`],[`𝔇`,`D`],[`𝔈`,`E`],[`𝔉`,`F`],[`𝔊`,`G`],[`𝔍`,`J`],[`𝔎`,`K`],[`𝔏`,`L`],[`𝔐`,`M`],[`𝔑`,`N`],[`𝔒`,`O`],[`𝔓`,`P`],[`𝔔`,`Q`],[`𝔖`,`S`],[`𝔗`,`T`],[`𝔘`,`U`],[`𝔙`,`V`],[`𝔚`,`W`],[`𝔛`,`X`],[`𝔜`,`Y`],[`𝔞`,`a`],[`𝔟`,`b`],[`𝔠`,`c`],[`𝔡`,`d`],[`𝔢`,`e`],[`𝔣`,`f`],[`𝔤`,`g`],[`𝔥`,`h`],[`𝔦`,`i`],[`𝔧`,`j`],[`𝔨`,`k`],[`𝔩`,`l`],[`𝔪`,`m`],[`𝔫`,`n`],[`𝔬`,`o`],[`𝔭`,`p`],[`𝔮`,`q`],[`𝔯`,`r`],[`𝔰`,`s`],[`𝔱`,`t`],[`𝔲`,`u`],[`𝔳`,`v`],[`𝔴`,`w`],[`𝔵`,`x`],[`𝔶`,`y`],[`𝔷`,`z`],[`𝔸`,`A`],[`𝔹`,`B`],[`𝔻`,`D`],[`𝔼`,`E`],[`𝔽`,`F`],[`𝔾`,`G`],[`𝕀`,`I`],[`𝕁`,`J`],[`𝕂`,`K`],[`𝕃`,`L`],[`𝕄`,`M`],[`𝕆`,`O`],[`𝕊`,`S`],[`𝕋`,`T`],[`𝕌`,`U`],[`𝕍`,`V`],[`𝕎`,`W`],[`𝕏`,`X`],[`𝕐`,`Y`],[`𝕒`,`a`],[`𝕓`,`b`],[`𝕔`,`c`],[`𝕕`,`d`],[`𝕖`,`e`],[`𝕗`,`f`],[`𝕘`,`g`],[`𝕙`,`h`],[`𝕚`,`i`],[`𝕛`,`j`],[`𝕜`,`k`],[`𝕝`,`l`],[`𝕞`,`m`],[`𝕟`,`n`],[`𝕠`,`o`],[`𝕡`,`p`],[`𝕢`,`q`],[`𝕣`,`r`],[`𝕤`,`s`],[`𝕥`,`t`],[`𝕦`,`u`],[`𝕧`,`v`],[`𝕨`,`w`],[`𝕩`,`x`],[`𝕪`,`y`],[`𝕫`,`z`],[`𝕬`,`A`],[`𝕭`,`B`],[`𝕮`,`C`],[`𝕯`,`D`],[`𝕰`,`E`],[`𝕱`,`F`],[`𝕲`,`G`],[`𝕳`,`H`],[`𝕴`,`I`],[`𝕵`,`J`],[`𝕶`,`K`],[`𝕷`,`L`],[`𝕸`,`M`],[`𝕹`,`N`],[`𝕺`,`O`],[`𝕻`,`P`],[`𝕼`,`Q`],[`𝕽`,`R`],[`𝕾`,`S`],[`𝕿`,`T`],[`𝖀`,`U`],[`𝖁`,`V`],[`𝖂`,`W`],[`𝖃`,`X`],[`𝖄`,`Y`],[`𝖅`,`Z`],[`𝖆`,`a`],[`𝖇`,`b`],[`𝖈`,`c`],[`𝖉`,`d`],[`𝖊`,`e`],[`𝖋`,`f`],[`𝖌`,`g`],[`𝖍`,`h`],[`𝖎`,`i`],[`𝖏`,`j`],[`𝖐`,`k`],[`𝖑`,`l`],[`𝖒`,`m`],[`𝖓`,`n`],[`𝖔`,`o`],[`𝖕`,`p`],[`𝖖`,`q`],[`𝖗`,`r`],[`𝖘`,`s`],[`𝖙`,`t`],[`𝖚`,`u`],[`𝖛`,`v`],[`𝖜`,`w`],[`𝖝`,`x`],[`𝖞`,`y`],[`𝖟`,`z`],[`𝖠`,`A`],[`𝖡`,`B`],[`𝖢`,`C`],[`𝖣`,`D`],[`𝖤`,`E`],[`𝖥`,`F`],[`𝖦`,`G`],[`𝖧`,`H`],[`𝖨`,`I`],[`𝖩`,`J`],[`𝖪`,`K`],[`𝖫`,`L`],[`𝖬`,`M`],[`𝖭`,`N`],[`𝖮`,`O`],[`𝖯`,`P`],[`𝖰`,`Q`],[`𝖱`,`R`],[`𝖲`,`S`],[`𝖳`,`T`],[`𝖴`,`U`],[`𝖵`,`V`],[`𝖶`,`W`],[`𝖷`,`X`],[`𝖸`,`Y`],[`𝖹`,`Z`],[`𝖺`,`a`],[`𝖻`,`b`],[`𝖼`,`c`],[`𝖽`,`d`],[`𝖾`,`e`],[`𝖿`,`f`],[`𝗀`,`g`],[`𝗁`,`h`],[`𝗂`,`i`],[`𝗃`,`j`],[`𝗄`,`k`],[`𝗅`,`l`],[`𝗆`,`m`],[`𝗇`,`n`],[`𝗈`,`o`],[`𝗉`,`p`],[`𝗊`,`q`],[`𝗋`,`r`],[`𝗌`,`s`],[`𝗍`,`t`],[`𝗎`,`u`],[`𝗏`,`v`],[`𝗐`,`w`],[`𝗑`,`x`],[`𝗒`,`y`],[`𝗓`,`z`],[`𝗔`,`A`],[`𝗕`,`B`],[`𝗖`,`C`],[`𝗗`,`D`],[`𝗘`,`E`],[`𝗙`,`F`],[`𝗚`,`G`],[`𝗛`,`H`],[`𝗜`,`I`],[`𝗝`,`J`],[`𝗞`,`K`],[`𝗟`,`L`],[`𝗠`,`M`],[`𝗡`,`N`],[`𝗢`,`O`],[`𝗣`,`P`],[`𝗤`,`Q`],[`𝗥`,`R`],[`𝗦`,`S`],[`𝗧`,`T`],[`𝗨`,`U`],[`𝗩`,`V`],[`𝗪`,`W`],[`𝗫`,`X`],[`𝗬`,`Y`],[`𝗭`,`Z`],[`𝗮`,`a`],[`𝗯`,`b`],[`𝗰`,`c`],[`𝗱`,`d`],[`𝗲`,`e`],[`𝗳`,`f`],[`𝗴`,`g`],[`𝗵`,`h`],[`𝗶`,`i`],[`𝗷`,`j`],[`𝗸`,`k`],[`𝗹`,`l`],[`𝗺`,`m`],[`𝗻`,`n`],[`𝗼`,`o`],[`𝗽`,`p`],[`𝗾`,`q`],[`𝗿`,`r`],[`𝘀`,`s`],[`𝘁`,`t`],[`𝘂`,`u`],[`𝘃`,`v`],[`𝘄`,`w`],[`𝘅`,`x`],[`𝘆`,`y`],[`𝘇`,`z`],[`𝘈`,`A`],[`𝘉`,`B`],[`𝘊`,`C`],[`𝘋`,`D`],[`𝘌`,`E`],[`𝘍`,`F`],[`𝘎`,`G`],[`𝘏`,`H`],[`𝘐`,`I`],[`𝘑`,`J`],[`𝘒`,`K`],[`𝘓`,`L`],[`𝘔`,`M`],[`𝘕`,`N`],[`𝘖`,`O`],[`𝘗`,`P`],[`𝘘`,`Q`],[`𝘙`,`R`],[`𝘚`,`S`],[`𝘛`,`T`],[`𝘜`,`U`],[`𝘝`,`V`],[`𝘞`,`W`],[`𝘟`,`X`],[`𝘠`,`Y`],[`𝘡`,`Z`],[`𝘢`,`a`],[`𝘣`,`b`],[`𝘤`,`c`],[`𝘥`,`d`],[`𝘦`,`e`],[`𝘧`,`f`],[`𝘨`,`g`],[`𝘩`,`h`],[`𝘪`,`i`],[`𝘫`,`j`],[`𝘬`,`k`],[`𝘭`,`l`],[`𝘮`,`m`],[`𝘯`,`n`],[`𝘰`,`o`],[`𝘱`,`p`],[`𝘲`,`q`],[`𝘳`,`r`],[`𝘴`,`s`],[`𝘵`,`t`],[`𝘶`,`u`],[`𝘷`,`v`],[`𝘸`,`w`],[`𝘹`,`x`],[`𝘺`,`y`],[`𝘻`,`z`],[`𝘼`,`A`],[`𝘽`,`B`],[`𝘾`,`C`],[`𝘿`,`D`],[`𝙀`,`E`],[`𝙁`,`F`],[`𝙂`,`G`],[`𝙃`,`H`],[`𝙄`,`I`],[`𝙅`,`J`],[`𝙆`,`K`],[`𝙇`,`L`],[`𝙈`,`M`],[`𝙉`,`N`],[`𝙊`,`O`],[`𝙋`,`P`],[`𝙌`,`Q`],[`𝙍`,`R`],[`𝙎`,`S`],[`𝙏`,`T`],[`𝙐`,`U`],[`𝙑`,`V`],[`𝙒`,`W`],[`𝙓`,`X`],[`𝙔`,`Y`],[`𝙕`,`Z`],[`𝙖`,`a`],[`𝙗`,`b`],[`𝙘`,`c`],[`𝙙`,`d`],[`𝙚`,`e`],[`𝙛`,`f`],[`𝙜`,`g`],[`𝙝`,`h`],[`𝙞`,`i`],[`𝙟`,`j`],[`𝙠`,`k`],[`𝙡`,`l`],[`𝙢`,`m`],[`𝙣`,`n`],[`𝙤`,`o`],[`𝙥`,`p`],[`𝙦`,`q`],[`𝙧`,`r`],[`𝙨`,`s`],[`𝙩`,`t`],[`𝙪`,`u`],[`𝙫`,`v`],[`𝙬`,`w`],[`𝙭`,`x`],[`𝙮`,`y`],[`𝙯`,`z`],[`𝙰`,`A`],[`𝙱`,`B`],[`𝙲`,`C`],[`𝙳`,`D`],[`𝙴`,`E`],[`𝙵`,`F`],[`𝙶`,`G`],[`𝙷`,`H`],[`𝙸`,`I`],[`𝙹`,`J`],[`𝙺`,`K`],[`𝙻`,`L`],[`𝙼`,`M`],[`𝙽`,`N`],[`𝙾`,`O`],[`𝙿`,`P`],[`𝚀`,`Q`],[`𝚁`,`R`],[`𝚂`,`S`],[`𝚃`,`T`],[`𝚄`,`U`],[`𝚅`,`V`],[`𝚆`,`W`],[`𝚇`,`X`],[`𝚈`,`Y`],[`𝚉`,`Z`],[`𝚊`,`a`],[`𝚋`,`b`],[`𝚌`,`c`],[`𝚍`,`d`],[`𝚎`,`e`],[`𝚏`,`f`],[`𝚐`,`g`],[`𝚑`,`h`],[`𝚒`,`i`],[`𝚓`,`j`],[`𝚔`,`k`],[`𝚕`,`l`],[`𝚖`,`m`],[`𝚗`,`n`],[`𝚘`,`o`],[`𝚙`,`p`],[`𝚚`,`q`],[`𝚛`,`r`],[`𝚜`,`s`],[`𝚝`,`t`],[`𝚞`,`u`],[`𝚟`,`v`],[`𝚠`,`w`],[`𝚡`,`x`],[`𝚢`,`y`],[`𝚣`,`z`],[`𝚤`,`l`],[`𝚥`,`j`],[`𝛢`,`A`],[`𝛣`,`B`],[`𝛤`,`G`],[`𝛥`,`D`],[`𝛦`,`E`],[`𝛧`,`Z`],[`𝛨`,`I`],[`𝛩`,`TH`],[`𝛪`,`I`],[`𝛫`,`K`],[`𝛬`,`L`],[`𝛭`,`M`],[`𝛮`,`N`],[`𝛯`,`KS`],[`𝛰`,`O`],[`𝛱`,`P`],[`𝛲`,`R`],[`𝛳`,`TH`],[`𝛴`,`S`],[`𝛵`,`T`],[`𝛶`,`Y`],[`𝛷`,`F`],[`𝛸`,`x`],[`𝛹`,`PS`],[`𝛺`,`O`],[`𝛻`,`D`],[`𝛼`,`a`],[`𝛽`,`b`],[`𝛾`,`g`],[`𝛿`,`d`],[`𝜀`,`e`],[`𝜁`,`z`],[`𝜂`,`i`],[`𝜃`,`th`],[`𝜄`,`i`],[`𝜅`,`k`],[`𝜆`,`l`],[`𝜇`,`m`],[`𝜈`,`n`],[`𝜉`,`ks`],[`𝜊`,`o`],[`𝜋`,`p`],[`𝜌`,`r`],[`𝜍`,`s`],[`𝜎`,`s`],[`𝜏`,`t`],[`𝜐`,`y`],[`𝜑`,`f`],[`𝜒`,`x`],[`𝜓`,`ps`],[`𝜔`,`o`],[`𝜕`,`d`],[`𝜖`,`E`],[`𝜗`,`TH`],[`𝜘`,`K`],[`𝜙`,`f`],[`𝜚`,`r`],[`𝜛`,`p`],[`𝜜`,`A`],[`𝜝`,`V`],[`𝜞`,`G`],[`𝜟`,`D`],[`𝜠`,`E`],[`𝜡`,`Z`],[`𝜢`,`I`],[`𝜣`,`TH`],[`𝜤`,`I`],[`𝜥`,`K`],[`𝜦`,`L`],[`𝜧`,`M`],[`𝜨`,`N`],[`𝜩`,`KS`],[`𝜪`,`O`],[`𝜫`,`P`],[`𝜬`,`S`],[`𝜭`,`TH`],[`𝜮`,`S`],[`𝜯`,`T`],[`𝜰`,`Y`],[`𝜱`,`F`],[`𝜲`,`X`],[`𝜳`,`PS`],[`𝜴`,`O`],[`𝜵`,`D`],[`𝜶`,`a`],[`𝜷`,`v`],[`𝜸`,`g`],[`𝜹`,`d`],[`𝜺`,`e`],[`𝜻`,`z`],[`𝜼`,`i`],[`𝜽`,`th`],[`𝜾`,`i`],[`𝜿`,`k`],[`𝝀`,`l`],[`𝝁`,`m`],[`𝝂`,`n`],[`𝝃`,`ks`],[`𝝄`,`o`],[`𝝅`,`p`],[`𝝆`,`r`],[`𝝇`,`s`],[`𝝈`,`s`],[`𝝉`,`t`],[`𝝊`,`y`],[`𝝋`,`f`],[`𝝌`,`x`],[`𝝍`,`ps`],[`𝝎`,`o`],[`𝝏`,`a`],[`𝝐`,`e`],[`𝝑`,`i`],[`𝝒`,`k`],[`𝝓`,`f`],[`𝝔`,`r`],[`𝝕`,`p`],[`𝝖`,`A`],[`𝝗`,`B`],[`𝝘`,`G`],[`𝝙`,`D`],[`𝝚`,`E`],[`𝝛`,`Z`],[`𝝜`,`I`],[`𝝝`,`TH`],[`𝝞`,`I`],[`𝝟`,`K`],[`𝝠`,`L`],[`𝝡`,`M`],[`𝝢`,`N`],[`𝝣`,`KS`],[`𝝤`,`O`],[`𝝥`,`P`],[`𝝦`,`R`],[`𝝧`,`TH`],[`𝝨`,`S`],[`𝝩`,`T`],[`𝝪`,`Y`],[`𝝫`,`F`],[`𝝬`,`X`],[`𝝭`,`PS`],[`𝝮`,`O`],[`𝝯`,`D`],[`𝝰`,`a`],[`𝝱`,`v`],[`𝝲`,`g`],[`𝝳`,`d`],[`𝝴`,`e`],[`𝝵`,`z`],[`𝝶`,`i`],[`𝝷`,`th`],[`𝝸`,`i`],[`𝝹`,`k`],[`𝝺`,`l`],[`𝝻`,`m`],[`𝝼`,`n`],[`𝝽`,`ks`],[`𝝾`,`o`],[`𝝿`,`p`],[`𝞀`,`r`],[`𝞁`,`s`],[`𝞂`,`s`],[`𝞃`,`t`],[`𝞄`,`y`],[`𝞅`,`f`],[`𝞆`,`x`],[`𝞇`,`ps`],[`𝞈`,`o`],[`𝞉`,`a`],[`𝞊`,`e`],[`𝞋`,`i`],[`𝞌`,`k`],[`𝞍`,`f`],[`𝞎`,`r`],[`𝞏`,`p`],[`𝞐`,`A`],[`𝞑`,`V`],[`𝞒`,`G`],[`𝞓`,`D`],[`𝞔`,`E`],[`𝞕`,`Z`],[`𝞖`,`I`],[`𝞗`,`TH`],[`𝞘`,`I`],[`𝞙`,`K`],[`𝞚`,`L`],[`𝞛`,`M`],[`𝞜`,`N`],[`𝞝`,`KS`],[`𝞞`,`O`],[`𝞟`,`P`],[`𝞠`,`S`],[`𝞡`,`TH`],[`𝞢`,`S`],[`𝞣`,`T`],[`𝞤`,`Y`],[`𝞥`,`F`],[`𝞦`,`X`],[`𝞧`,`PS`],[`𝞨`,`O`],[`𝞩`,`D`],[`𝞪`,`av`],[`𝞫`,`g`],[`𝞬`,`d`],[`𝞭`,`e`],[`𝞮`,`z`],[`𝞯`,`i`],[`𝞰`,`i`],[`𝞱`,`th`],[`𝞲`,`i`],[`𝞳`,`k`],[`𝞴`,`l`],[`𝞵`,`m`],[`𝞶`,`n`],[`𝞷`,`ks`],[`𝞸`,`o`],[`𝞹`,`p`],[`𝞺`,`r`],[`𝞻`,`s`],[`𝞼`,`s`],[`𝞽`,`t`],[`𝞾`,`y`],[`𝞿`,`f`],[`𝟀`,`x`],[`𝟁`,`ps`],[`𝟂`,`o`],[`𝟃`,`a`],[`𝟄`,`e`],[`𝟅`,`i`],[`𝟆`,`k`],[`𝟇`,`f`],[`𝟈`,`r`],[`𝟉`,`p`],[`𝟊`,`F`],[`𝟋`,`f`],[`⒜`,`(a)`],[`⒝`,`(b)`],[`⒞`,`(c)`],[`⒟`,`(d)`],[`⒠`,`(e)`],[`⒡`,`(f)`],[`⒢`,`(g)`],[`⒣`,`(h)`],[`⒤`,`(i)`],[`⒥`,`(j)`],[`⒦`,`(k)`],[`⒧`,`(l)`],[`⒨`,`(m)`],[`⒩`,`(n)`],[`⒪`,`(o)`],[`⒫`,`(p)`],[`⒬`,`(q)`],[`⒭`,`(r)`],[`⒮`,`(s)`],[`⒯`,`(t)`],[`⒰`,`(u)`],[`⒱`,`(v)`],[`⒲`,`(w)`],[`⒳`,`(x)`],[`⒴`,`(y)`],[`⒵`,`(z)`],[`Ⓐ`,`(A)`],[`Ⓑ`,`(B)`],[`Ⓒ`,`(C)`],[`Ⓓ`,`(D)`],[`Ⓔ`,`(E)`],[`Ⓕ`,`(F)`],[`Ⓖ`,`(G)`],[`Ⓗ`,`(H)`],[`Ⓘ`,`(I)`],[`Ⓙ`,`(J)`],[`Ⓚ`,`(K)`],[`Ⓛ`,`(L)`],[`Ⓝ`,`(N)`],[`Ⓞ`,`(O)`],[`Ⓟ`,`(P)`],[`Ⓠ`,`(Q)`],[`Ⓡ`,`(R)`],[`Ⓢ`,`(S)`],[`Ⓣ`,`(T)`],[`Ⓤ`,`(U)`],[`Ⓥ`,`(V)`],[`Ⓦ`,`(W)`],[`Ⓧ`,`(X)`],[`Ⓨ`,`(Y)`],[`Ⓩ`,`(Z)`],[`ⓐ`,`(a)`],[`ⓑ`,`(b)`],[`ⓒ`,`(c)`],[`ⓓ`,`(d)`],[`ⓔ`,`(e)`],[`ⓕ`,`(f)`],[`ⓖ`,`(g)`],[`ⓗ`,`(h)`],[`ⓘ`,`(i)`],[`ⓙ`,`(j)`],[`ⓚ`,`(k)`],[`ⓛ`,`(l)`],[`ⓜ`,`(m)`],[`ⓝ`,`(n)`],[`ⓞ`,`(o)`],[`ⓟ`,`(p)`],[`ⓠ`,`(q)`],[`ⓡ`,`(r)`],[`ⓢ`,`(s)`],[`ⓣ`,`(t)`],[`ⓤ`,`(u)`],[`ⓥ`,`(v)`],[`ⓦ`,`(w)`],[`ⓧ`,`(x)`],[`ⓨ`,`(y)`],[`ⓩ`,`(z)`],[`Ċ`,`C`],[`ċ`,`c`],[`Ġ`,`G`],[`ġ`,`g`],[`Ħ`,`H`],[`ħ`,`h`],[`Ż`,`Z`],[`ż`,`z`],[`𝟎`,`0`],[`𝟏`,`1`],[`𝟐`,`2`],[`𝟑`,`3`],[`𝟒`,`4`],[`𝟓`,`5`],[`𝟔`,`6`],[`𝟕`,`7`],[`𝟖`,`8`],[`𝟗`,`9`],[`𝟘`,`0`],[`𝟙`,`1`],[`𝟚`,`2`],[`𝟛`,`3`],[`𝟜`,`4`],[`𝟝`,`5`],[`𝟞`,`6`],[`𝟟`,`7`],[`𝟠`,`8`],[`𝟡`,`9`],[`𝟢`,`0`],[`𝟣`,`1`],[`𝟤`,`2`],[`𝟥`,`3`],[`𝟦`,`4`],[`𝟧`,`5`],[`𝟨`,`6`],[`𝟩`,`7`],[`𝟪`,`8`],[`𝟫`,`9`],[`𝟬`,`0`],[`𝟭`,`1`],[`𝟮`,`2`],[`𝟯`,`3`],[`𝟰`,`4`],[`𝟱`,`5`],[`𝟲`,`6`],[`𝟳`,`7`],[`𝟴`,`8`],[`𝟵`,`9`],[`𝟶`,`0`],[`𝟷`,`1`],[`𝟸`,`2`],[`𝟹`,`3`],[`𝟺`,`4`],[`𝟻`,`5`],[`𝟼`,`6`],[`𝟽`,`7`],[`𝟾`,`8`],[`𝟿`,`9`],[`①`,`1`],[`②`,`2`],[`③`,`3`],[`④`,`4`],[`⑤`,`5`],[`⑥`,`6`],[`⑦`,`7`],[`⑧`,`8`],[`⑨`,`9`],[`⑩`,`10`],[`⑪`,`11`],[`⑫`,`12`],[`⑬`,`13`],[`⑭`,`14`],[`⑮`,`15`],[`⑯`,`16`],[`⑰`,`17`],[`⑱`,`18`],[`⑲`,`19`],[`⑳`,`20`],[`⑴`,`1`],[`⑵`,`2`],[`⑶`,`3`],[`⑷`,`4`],[`⑸`,`5`],[`⑹`,`6`],[`⑺`,`7`],[`⑻`,`8`],[`⑼`,`9`],[`⑽`,`10`],[`⑾`,`11`],[`⑿`,`12`],[`⒀`,`13`],[`⒁`,`14`],[`⒂`,`15`],[`⒃`,`16`],[`⒄`,`17`],[`⒅`,`18`],[`⒆`,`19`],[`⒇`,`20`],[`⒈`,`1.`],[`⒉`,`2.`],[`⒊`,`3.`],[`⒋`,`4.`],[`⒌`,`5.`],[`⒍`,`6.`],[`⒎`,`7.`],[`⒏`,`8.`],[`⒐`,`9.`],[`⒑`,`10.`],[`⒒`,`11.`],[`⒓`,`12.`],[`⒔`,`13.`],[`⒕`,`14.`],[`⒖`,`15.`],[`⒗`,`16.`],[`⒘`,`17.`],[`⒙`,`18.`],[`⒚`,`19.`],[`⒛`,`20.`],[`⓪`,`0`],[`⓫`,`11`],[`⓬`,`12`],[`⓭`,`13`],[`⓮`,`14`],[`⓯`,`15`],[`⓰`,`16`],[`⓱`,`17`],[`⓲`,`18`],[`⓳`,`19`],[`⓴`,`20`],[`⓵`,`1`],[`⓶`,`2`],[`⓷`,`3`],[`⓸`,`4`],[`⓹`,`5`],[`⓺`,`6`],[`⓻`,`7`],[`⓼`,`8`],[`⓽`,`9`],[`⓾`,`10`],[`⓿`,`0`],[`🙰`,`&`],[`🙱`,`&`],[`🙲`,`&`],[`🙳`,`&`],[`🙴`,`&`],[`🙵`,`&`],[`🙶`,`"`],[`🙷`,`"`],[`🙸`,`"`],[`‽`,`?!`],[`🙹`,`?!`],[`🙺`,`?!`],[`🙻`,`?!`],[`🙼`,`/`],[`🙽`,`\\`],[`🜇`,`AR`],[`🜈`,`V`],[`🜉`,`V`],[`🜆`,`VR`],[`🜅`,`VF`],[`🜩`,`2`],[`🜪`,`5`],[`🝡`,`f`],[`🝢`,`W`],[`🝣`,`U`],[`🝧`,`V`],[`🝨`,`T`],[`🝪`,`V`],[`🝫`,`MB`],[`🝬`,`VB`],[`🝲`,`3B`],[`🝳`,`3B`],[`💯`,`100`],[`🔙`,`BACK`],[`🔚`,`END`],[`🔛`,`ON!`],[`🔜`,`SOON`],[`🔝`,`TOP`],[`🔞`,`18`],[`🔤`,`abc`],[`🔠`,`ABCD`],[`🔡`,`abcd`],[`🔢`,`1234`],[`🔣`,`T&@%`],[`#️⃣`,`#`],[`*️⃣`,`*`],[`0️⃣`,`0`],[`1️⃣`,`1`],[`2️⃣`,`2`],[`3️⃣`,`3`],[`4️⃣`,`4`],[`5️⃣`,`5`],[`6️⃣`,`6`],[`7️⃣`,`7`],[`8️⃣`,`8`],[`9️⃣`,`9`],[`🔟`,`10`],[`🅰️`,`A`],[`🅱️`,`B`],[`🆎`,`AB`],[`🆑`,`CL`],[`🅾️`,`O`],[`🅿`,`P`],[`🆘`,`SOS`],[`🅲`,`C`],[`🅳`,`D`],[`🅴`,`E`],[`🅵`,`F`],[`🅶`,`G`],[`🅷`,`H`],[`🅸`,`I`],[`🅹`,`J`],[`🅺`,`K`],[`🅻`,`L`],[`🅼`,`M`],[`🅽`,`N`],[`🆀`,`Q`],[`🆁`,`R`],[`🆂`,`S`],[`🆃`,`T`],[`🆄`,`U`],[`🆅`,`V`],[`🆆`,`W`],[`🆇`,`X`],[`🆈`,`Y`],[`🆉`,`Z`],[`−`,`-`],[`⁓`,`-`]])})))()}var jF,MF;function ode(){return(ode=o((()=>{jF=[[`æ`,`ae`],[`Æ`,`Ae`],[`ø`,`oe`],[`Ø`,`Oe`],[`å`,`aa`],[`Å`,`Aa`]],MF={sv:[[`ä`,`a`],[`Ä`,`A`],[`ö`,`o`],[`Ö`,`O`],[`å`,`a`],[`Å`,`A`]],da:jF,nb:jF,de:[[`ä`,`ae`],[`Ä`,`Ae`],[`ö`,`oe`],[`Ö`,`Oe`],[`ü`,`ue`],[`Ü`,`Ue`],[`ß`,`ss`],[`ẞ`,`Ss`]],tr:[[`â`,`a`],[`Â`,`A`],[`ö`,`o`],[`Ö`,`O`],[`ü`,`u`],[`Ü`,`U`]],hu:[[`ű`,`u`],[`Ű`,`U`],[`ö`,`o`],[`Ö`,`O`],[`ü`,`u`],[`Ü`,`U`],[`á`,`a`],[`Á`,`A`],[`é`,`e`],[`É`,`E`],[`í`,`i`],[`Í`,`I`],[`ó`,`o`],[`Ó`,`O`],[`ú`,`u`],[`Ú`,`U`]],sr:[[`ђ`,`dj`],[`Ђ`,`Dj`],[`џ`,`dz`],[`Џ`,`Dz`],[`љ`,`lj`],[`Љ`,`Lj`],[`њ`,`nj`],[`Њ`,`Nj`],[`ћ`,`c`],[`Ћ`,`C`],[`ч`,`ch`],[`Ч`,`Ch`],[`ш`,`sh`],[`Ш`,`Sh`],[`ж`,`zh`],[`Ж`,`Zh`]]};for(let e of Object.keys(MF))MF[e]=new Map(MF[e])})))()}function sde(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};let n=ude(t.locale),r=[...t.customReplacements],i=AF,a=lde;if(n&&({replacements:i,pattern:a}=PF.get(n)),e=e.normalize(),r.length>0){r.sort((e,t)=>t[0].length-e[0].length);for(let[t,n]of r)e=e.replaceAll(t,n)}return e=e.replace(a,e=>i.get(e)??e),e=e.normalize(`NFD`).replaceAll(/\p{Diacritic}/gu,``).normalize(),e=e.replaceAll(/\p{Dash_Punctuation}/gu,`-`),e}var cde,NF,lde,PF,ude;function dde(){return(dde=o((()=>{ade(),ode(),cde=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),NF=e=>{let t=[...e.keys()].sort((e,t)=>t.length-e.length);return new RegExp(t.map(e=>cde(e)).join(`|`),`gu`)},lde=NF(AF),PF=new Map;for(let[e,t]of Object.entries(MF)){let n=new Map(AF);for(let[e,r]of t)n.set(e,r);PF.set(e,{replacements:n,pattern:NF(n)})}ude=e=>{if(!e)return;let t=e.toLowerCase().replace(/^no(-|$)/,`nb$1`);if(Object.hasOwn(MF,t))return t;let n=t.split(`-`)[0];if(Object.hasOwn(MF,n))return n}})))()}var FF;function IF(){return(IF=o((()=>{FF=(e,t,n)=>(e.has(t)||e.set(t,n()),e.get(t))})))()}var fde,pde,LF;function RF(){return(RF=o((()=>{dde(),ud(),nD(),oM(),ZK(),IF(),fde=[`da`,`de`,`hu`,`nb`,`sr`,`sv`,`tr`],pde=new Map,LF=(e,{fallback:t=!0,locale:n=void 0,maxLength:r=void 0}={})=>{let{slug:{encoding:i=`unicode`,clean_accents:a=!1,sanitize_replacement:o=`-`,maxlength:s=void 0,trim:c=!0,lowercase:l=!0}={}}=A(GK)??{},u=r??s,d=e;if(a&&(d=sde(d.normalize(`NFD`),{locale:n&&fde.includes(n)?n:void 0})),d=i===`ascii`?d.replaceAll(/[^\w-~]/g,` `):d.replaceAll(/[\p{Z}\p{C}!"#$%&'()*+,/:;<=>?@[\\\]^`{|}]/gu,` `),d=d.trim().replaceAll(/\s+/g,o),o){let e=o.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),t=FF(pde,e,()=>({consecutivePattern:RegExp(`${e}+`,`g`),trimPattern:RegExp(`^${e}+|${e}+$`,`g`)}));d=d.replace(t.consecutivePattern,o),c&&(d=d.replace(t.trimPattern,``))}return!d&&t&&(d=sd(`short`)),typeof u==`number`&&d.length>u&&(d=ZE(d,u,{ellipsis:``})),l&&(d=d.toLocaleLowerCase()),d}})))()}var mde;function hde(){return(hde=o((()=>{mde=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`)})))()}var zF;function gde(){return(gde=o((()=>{zF={0:`�`,128:`€`,130:`‚`,131:`ƒ`,132:`„`,133:`…`,134:`†`,135:`‡`,136:`ˆ`,137:`‰`,138:`Š`,139:`‹`,140:`Œ`,142:`Ž`,145:`‘`,146:`’`,147:`“`,148:`”`,149:`•`,150:`–`,151:`—`,152:`˜`,153:`™`,154:`š`,155:`›`,156:`œ`,158:`ž`,159:`Ÿ`}})))()}function _de(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=48&&t<=57}function vde(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function yde(e){let t=typeof e==`string`?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function bde(e){return yde(e)||_de(e)}function xde(){return(xde=o((()=>{})))()}function Sde(e){let t=`&`+e+`;`;BF.innerHTML=t;let n=BF.textContent;return n.charCodeAt(n.length-1)===59&&e!==`semi`?!1:n!==t&&n}var BF;function Cde(){return(Cde=o((()=>{BF=document.createElement(`i`)})))()}function wde(e,t){let n=t||{},r=typeof n.additional==`string`?n.additional.charCodeAt(0):n.additional,i=[],a=0,o=-1,s=``,c,l;n.position&&(`start`in n.position||`indent`in n.position?(l=n.position.indent,c=n.position.start):c=n.position);let u=(c?c.line:0)||1,d=(c?c.column:0)||1,f=m(),p;for(a--;++a<=e.length;)if(p===10&&(d=(l?l[o]:0)||1),p=e.charCodeAt(a),p===38){let t=e.charCodeAt(a+1);if(t===9||t===10||t===12||t===32||t===38||t===60||Number.isNaN(t)||r&&t===r){s+=String.fromCharCode(p),d++;continue}let o=a+1,c=o,l=o,u;if(t===35){l=++c;let t=e.charCodeAt(l);t===88||t===120?(u=`hexadecimal`,l=++c):u=`decimal`}else u=`named`;let _=``,v=``,y=``,b=u===`named`?bde:u===`decimal`?_de:vde;for(l--;++l<=e.length;){let t=e.charCodeAt(l);if(!b(t))break;y+=String.fromCharCode(t),u===`named`&&mde.includes(y)&&(_=y,v=Sde(y))}let x=e.charCodeAt(l)===59;if(x){l++;let e=u===`named`&&Sde(y);e&&(_=y,v=e)}let S=1+l-o,C=``;if(!(!x&&n.nonTerminated===!1)){if(!y)u!==`named`&&h(4,S);else if(u===`named`){if(x&&!v)h(5,1);else if(_!==y&&(l=c+_.length,S=1+l-c,x=!1),!x){let t=_?1:3;if(n.attribute){let n=e.charCodeAt(l);n===61?(h(t,S),v=``):bde(n)?v=``:h(t,S)}else h(t,S)}C=v}else{x||h(2,S);let e=Number.parseInt(y,u===`hexadecimal`?16:10);if(Tde(e))h(7,S),C=`�`;else if(e in zF)h(6,S),C=zF[e];else{let t=``;Ede(e)&&h(6,S),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|e&1023),C=t+String.fromCharCode(e)}}}if(C){g(),f=m(),a=l-1,d+=l-o+1,i.push(C);let t=m();t.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,C,{start:f,end:t},e.slice(o-1,l)),f=t}else y=e.slice(o-1,l),s+=y,d+=y.length,a=l-1}else p===10&&(u++,o++,d=0),Number.isNaN(p)?g():(s+=String.fromCharCode(p),d++);return i.join(``);function m(){return{line:u,column:d,offset:a+((c?c.offset:0)||0)}}function h(e,t){let r;n.warning&&(r=m(),r.column+=t,r.offset+=t,n.warning.call(n.warningContext||void 0,Dde[e],r,e))}function g(){s&&=(i.push(s),n.text&&n.text.call(n.textContext||void 0,s,{start:f,end:m()}),``)}}function Tde(e){return e>=55296&&e<=57343||e>1114111}function Ede(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534}var Dde;function Ode(){return(Ode=o((()=>{hde(),gde(),xde(),Cde(),Dde=[``,`Named character references must be terminated by a semicolon`,`Numeric character references must be terminated by a semicolon`,`Named character references cannot be empty`,`Numeric character references cannot be empty`,`Named character references must be known`,`Numeric character references cannot be disallowed`,`Numeric character references cannot be outside the permissible Unicode range`]})))()}var VF,HF;function UF(){return(UF=o((()=>{xM(),VF=(e,t)=>{if(!e.includes(`{{`))return e;let{innerTag:n}=e.match(Xce)?.groups??{};return n===void 0?e:String(t(n)??``)},HF=(e,t)=>e.map(e=>{let{defaultValue:n,truthyValue:r,falsyValue:i}=e.args,a={...e.args},o=!1;if(n!==void 0){let e=VF(n,t);e!==n&&(a.defaultValue=e,o=!0)}if(r!==void 0){let e=VF(r,t);e!==r&&(a.truthyValue=e,o=!0)}if(i!==void 0){let e=VF(i,t);e!==i&&(a.falsyValue=e,o=!0)}return o?{...e,args:a}:e})})))()}var WF=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof ee||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new ee(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var ee=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),te=ee.prototype;return w.prototype=te,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){te[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,ee,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),GF=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),KF=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`};return function(t,n,r){var i=n.prototype,a=i.format;r.en.formats=e,i.format=function(t){t===void 0&&(t=`YYYY-MM-DDTHH:mm:ssZ`);var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var a=i&&i.toUpperCase();return r||n[i]||e[i]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,n===void 0?{}:n);return a.call(this,r)}}}))})),qF=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r;if(o===0)return this.utc(i);var s=this.clone();if(i)return s.$offset=o,s.$u=!1,s;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c,s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))})),kde,JF,YF,XF;function ZF(){return(ZF=o((()=>{kde=new Set([`local`,`utc`]),JF=new WeakMap,YF=e=>typeof e==`string`&&!kde.has(e),XF=e=>{let t=JF.get(e);if(t)return t;let{type:n=`datetime-local`,min:r=void 0,max:i=void 0,step:a=void 0,format:o,date_format:s=void 0,time_format:c=void 0,picker_utc:l=!1,input_timezone:u=`local`,output_utc:d=!1}=e,f=typeof u==`string`&&u!==`any`?u:`local`,p=typeof s==`string`?s:``,m=typeof c==`string`?c:``,h=n===`date`||c===!1,g=n===`time`||s===!1,_=h?`9999-12-31`:g?void 0:`9999-12-31T23:59`,v=e.input_timezone===void 0?l?`utc`:`local`:f,y={type:h?`date`:g?`time`:`datetime-local`,min:typeof r==`string`&&r?r:void 0,max:typeof i==`string`&&i?i:_,step:typeof a==`number`&&Number.isInteger(a)&&a>0||a===`any`?a:void 0,format:o||[p,m].join(` `).trim()||void 0,dateOnly:h,timeOnly:g,inputTimeZone:v,outputUTC:e.output_utc===void 0?l:d,utc:v===`utc`,singleCustomTimeZone:YF(v)?v:void 0};return JF.set(e,y),y}})))()}var QF,Ade,jde,Mde,Nde,Pde,Fde,Ide,Lde,$F,Rde,zde,Bde,Vde,Hde,Ude,Wde,eI;function tI(){return(tI=o((()=>{nD(),QF=l(WF(),1),Ade=l(GF(),1),jde=l(KF(),1),Mde=l(qF(),1),RF(),ZF(),QF.default.extend(Ade.default),QF.default.extend(jde.default),QF.default.extend(Mde.default),Nde=/\s*\|\s*/,Pde=/^\d{4}-[01]\d-[0-3]\d$/,Fde=/T\d{2}:\d{2}(?::\d{2})?(?:\.\d+)?Z$/,Ide=Object.entries({date:/^date\('(?<format>.+?)'(?:,\s*'(?<timeZone>.+?)')?\)$/,default:/^default\('(?<defaultValue>.+?)'\)$/,ternary:/^ternary\('(?<truthyValue>.*?)',\s*'(?<falsyValue>.*?)'\)$/,truncate:/^truncate\((?<max>\d+)(?:,\s*'(?<ellipsis>.+?)')?\)$/}),Lde=e=>{for(let[t,n]of Ide){let r=Object.entries(e.match(n)?.groups??{});if(r.length)return{method:t,args:Object.fromEntries(r.filter(([,e])=>e!==void 0))}}return{method:e,args:{}}},$F=e=>{let[t,...n]=e.trim().split(Nde);return{value:t,transformations:n.map(e=>Lde(e))}},Rde=e=>String(e).toUpperCase(),zde=e=>String(e).toLowerCase(),Bde=(e,{format:t,timeZone:n},r)=>{let i=String(e),{dateOnly:a,utc:o}=XF(r),s=(n===`utc`||o||a&&i.match(Pde)||a&&i.match(Fde)?QF.default.utc:QF.default)(i);return s.isValid()?s.format(t):``},Vde=(e,{defaultValue:t})=>e?String(e):t,Hde=(e,{truthyValue:t,falsyValue:n})=>e?t:n,Ude=(e,{max:t,ellipsis:n=`…`})=>ZE(String(e),Number(t),{ellipsis:n}),Wde=({fieldConfig:e,value:t,transformation:n,locale:r})=>{let{method:i,args:a}=n;switch(i){case`upper`:return Rde(t);case`lower`:return zde(t);case`slugify`:return LF(String(t),{locale:r});case`date`:return Bde(t,a,e??{});case`default`:return Vde(t,a);case`ternary`:return Hde(t,a);case`truncate`:return Ude(t,a);default:return String(t)}},eI=({fieldConfig:e,value:t,transformations:n,locale:r})=>(n.forEach(n=>{t=Wde({fieldConfig:e,value:t,transformation:n,locale:r})}),t)})))()}var nI,rI,iI,aI,oI,sI,cI;function lI(){return(lI=o((()=>{oM(),ZK(),bL(),dL(),nI=e=>!(`divider`in e)&&typeof e.file==`string`&&Array.isArray(e.fields),rI=e=>e.filter(e=>nI(e)),iI=(e,t)=>{let n=typeof e==`string`?cL(e):e;if(!(!n||!(`_fileMap`in n)))return n._fileMap[t]},aI=e=>e.label||e.name,oI=(e,t)=>`_fileMap`in e?Object.values(e._fileMap).filter(({_file:e,_i18n:n})=>e.fullPath===t.locales[n.defaultLocale]?.path):[],sI=(e,t)=>{let n=A(mL).find(({collectionName:n,fileName:r})=>n===e&&r===t);if(!n?.filePathMap)return;let r=new Set(Object.values(n.filePathMap));return A(hL).find(e=>Object.values(e.locales).some(({path:e})=>r.has(e)))},cI=(e,t)=>{if(e&&t){let{collections:n,singletons:r}=A(GK);if(e===`_singletons`)return Array.isArray(r)?rI(r).findIndex(e=>e.name===t):-1;let i=nL({collections:n}).find(({name:t})=>t===e);if(i&&`files`in i)return i.files.findIndex(({name:e})=>e===t)}return-1}})))()}var uI,dI,fI,Gde;function pI(){return(pI=o((()=>{uI=[`boolean`,`code`,`color`,`compute`,`datetime`,`file`,`hidden`,`image`,`keyvalue`,`list`,`map`,`markdown`,`number`,`object`,`relation`,`richtext`,`select`,`string`,`text`,`uuid`],dI=[`file`,`image`],fI=[...dI,`relation`,`select`],Gde=[...fI,`datetime`,`keyvalue`,`list`,`number`]})))()}var mI,hI,gI,_I,vI,yI;function bI(){return(bI=o((()=>{mI=new Map,hI=new Map,gI=new Map,_I=new Set,vI=new Map,yI=new Set})))()}var xI,Kde,SI;function CI(){return(CI=o((()=>{xI={slug_length:!1,yaml_quote:!1,uuid_read_only:!1,save_all_locales:!1,automatic_deployments:!1,multiple_folders_i18n_root:!1,omit_default_locale_from_filename:!1},Kde={slug_length:"The `slug_length` collection option is deprecated and will be removed in Sveltia CMS 1.0. Use the global `slug.maxlength` option instead. ",yaml_quote:"The `yaml_quote` collection option is deprecated and will be removed in Sveltia CMS 1.0. Use the global `output.yaml.quote` option instead. `yaml_quote: true` is equivalent to `quote: double`. https://sveltiacms.app/en/docs/data-output#controlling-data-output",uuid_read_only:"The `read_only` option for the UUID field type is deprecated and will be removed in Sveltia CMS 1.0. Use the `readonly` option instead.",save_all_locales:"The `save_all_locales` i18n option is deprecated and will be removed in Sveltia CMS 1.0. Use the `initial_locales` option instead. `save_all_locales: false` is equivalent to `initial_locales: all`. https://sveltiacms.app/en/docs/i18n#disabling-non-default-locale-content",automatic_deployments:"The `automatic_deployments` backend option is deprecated and will be removed in Sveltia CMS 1.0. Use the `skip_ci` option instead. `automatic_deployments: false` is equivalent to `skip_ci: true`, and `automatic_deployments: true` is equivalent to `skip_ci: false`. https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments",multiple_folders_i18n_root:"The `multiple_folders_i18n_root` i18n structure is deprecated and will be removed in Sveltia CMS 1.0. Use the `multiple_root_folders` structure instead. https://sveltiacms.app/en/docs/i18n#multiple-root-folders",omit_default_locale_from_filename:"The `omit_default_locale_from_filename` i18n option is deprecated and will be removed in Sveltia CMS 1.0. Use the `omit_default_locale_from_file_path` option instead. https://sveltiacms.app/en/docs/i18n#managing-content-structure"},SI=(e,t)=>{xI[e]||(console.warn(t??Kde[e]),xI[e]=!0)}})))()}var qde,wI,TI,EI,DI;function OI(){return(OI=o((()=>{Z(),dL(),qde=`_index`,wI=new WeakMap,TI=e=>{if(!$I(e))return;let{index_file:t}=e;if(t)return(t===!0?void 0:t.name)??qde},EI=e=>{let t=wI.get(e);if(t&&t.locale===Lu.current)return t.indexFile;let n=TI(e),r;if(n!==void 0){let{index_file:t}=e,i=t===!0?{}:t;r={name:n,label:i.label??X(`index_file`),icon:i.icon??`home`,fields:i.fields,editor:i.editor}}return wI.set(e,{locale:Lu.current,indexFile:r}),r},DI=(e,t)=>{let n=TI(e);return n!==void 0&&t.slug===n}})))()}var kI,AI,Jde,Yde,Xde,Zde,jI,Qde;function MI(){return(MI=o((()=>{kI=[`markdown`,`md`,`mdown`,`mdwn`,`mdx`,`mkd`,`mkdn`,`html.md`],AI=[`njk`],Jde=[...kI,...AI],Yde={raw:`txt`,yaml:`yml`,yml:`yml`,toml:`toml`,json:`json`},Xde={yaml:`yaml`,yml:`yaml`,toml:`toml`,json:`json`,astro:`raw`},Zde={"json-frontmatter":[`{`,`}`],"toml-frontmatter":[`+++`,`+++`],"yaml-frontmatter":[`---`,`---`]},jI=[`yaml-frontmatter`,`toml-frontmatter`,`json-frontmatter`],Qde=[`toml`,`toml-frontmatter`]})))()}var $de,NI,PI,FI,II,LI,RI,zI;function BI(){return(BI=o((()=>{Z(),$de={type:`language`,languageDisplay:`standard`,style:`short`,fallback:`none`},NI=e=>{let t;if(e!==`_default`)try{[t]=Intl.getCanonicalLocales(e)}catch{}return t},PI=e=>e===`_default`?`auto`:ku(e)?`rtl`:`ltr`,FI=new Map,II=(e,{displayLocale:t=NI(Lu.current??`en`),formatterOptions:n=$de}={})=>{let r=NI(e);if(!r)return;let i;t?(i=FI.get(t),i||(i=new Intl.DisplayNames(t,n),FI.set(t,i))):i=new Intl.DisplayNames(void 0,n);try{let e=i.of(r);if(!e)return;let[n,...a]=e;return[n.toLocaleUpperCase(t),...a].join(``)}catch(e){console.error(e);return}},LI=new Map,RI=(e,t={})=>{let n={style:`narrow`,type:`conjunction`,...t},r=`${e}|${n.style}|${n.type}`,i=LI.get(r);return i||(i=new Intl.ListFormat(NI(e),n),LI.set(r,i)),i},zI=({_i18n:e,locale:t,path:n})=>{let{defaultLocale:r,omitDefaultLocaleFromFilePath:i}=e;return i&&t===r&&(n=n.replace(/{{locale}}[./]/,``)),n.replaceAll(`{{locale}}`,t)}})))()}var VI,efe,tfe,nfe,HI,UI;function WI(){return(WI=o((()=>{gM(),nD(),bI(),xM(),CI(),dL(),OI(),MI(),BI(),VI=({extension:e,format:t})=>(t?gI.get(t)?.extension:void 0)||e||(t?Yde[t]??`md`:`md`),efe=({extension:e,format:t})=>t||(kI.includes(e)?`frontmatter`:Xde[e]??`yaml-frontmatter`),tfe=(e,t)=>e?`(?<subPath>${XE(e).replace(bM,`[^/]+?`)}${t?`|${t}`:``})`:`(?<subPath>[^/]+?)`,nfe=({extension:e,format:t,basePath:n,subPath:r,indexFileName:i,_i18n:a})=>{let{allLocales:o,defaultLocale:s,omitDefaultLocaleFromFilePath:c,structureMap:{i18nMultiFile:l,i18nMultiFolder:u,i18nMultiRootFolder:d}}=a,f=`(?<locale>${o.join(`|`)})`,p=o.filter(e=>e!==s).join(`|`),m=c?`(?:(?<locale>${p})\\/)?`:`${f}\\/`,h=c?`(?:\\.(?<locale>${p}))?`:`\\.${f}`,g=[`^`,d?m:``,n?`${XE(n)}\\/`:``,u?m:``,tfe(r,i),l?h:``,`\\.`,XE(VI({format:t,extension:e})),`$`].join(``);return new RegExp(g)},HI=({format:e,delimiter:t})=>typeof t==`string`&&t.trim()?[t,t]:Array.isArray(t)&&t.length===2?t:Zde[e]??void 0,UI=({rawCollection:e,file:t,_i18n:n})=>{let{folder:r,path:i,extension:a,format:o,frontmatter_delimiter:s,body_field:c,yaml_quote:l}=e,u=$I(e),d=t?.file?QE(t.file):void 0,f=d?mM(d).extension:a,p=t?.format??o,m=VI({format:p,extension:f}),h=efe({format:p,extension:m}),g=t?.frontmatter_delimiter??s,_=u?QE(r):void 0,v=u?EI(e)?.name:void 0;return l!==void 0&&SI(`yaml_quote`),{extension:m,format:h,basePath:_,subPath:u?i:void 0,fullPathRegEx:_===void 0?void 0:nfe({extension:m,format:h,basePath:_,subPath:i,indexFileName:v,_i18n:n}),fullPath:d?zI({_i18n:n,locale:n.defaultLocale,path:d}):void 0,fmDelimiters:HI({format:h,delimiter:g}),bodyField:t?.body_field??c,yamlQuote:!!l}}})))()}var GI,KI,qI,JI,rfe,ife,afe,ofe,sfe,cfe,YI;function XI(){return(XI=o((()=>{_(),oM(),ZK(),CI(),dL(),GI={SINGLE_FILE:`single_file`,SINGLE_FILE_DEFAULT_ROOT:`single_file_default_root`,MULTIPLE_FILES:`multiple_files`,MULTIPLE_FOLDERS:`multiple_folders`,MULTIPLE_FOLDERS_I18N_ROOT:`multiple_folders_i18n_root`,MULTIPLE_ROOT_FOLDERS:`multiple_root_folders`},KI=`_default`,qI={key:`translationKey`,value:`{{slug}}`},JI={i18nEnabled:!1,saveAllLocales:!0,allLocales:[KI],initialLocales:[KI],defaultLocale:KI,structure:GI.SINGLE_FILE,structureMap:{i18nSingleFile:!1,i18nSingleFileDefaultRoot:!1,i18nMultiFile:!1,i18nMultiFolder:!1,i18nMultiRootFolder:!1},canonicalSlug:{...qI},omitDefaultLocaleFromFilePath:!1,omitDefaultLocaleFromPreviewPath:!1},rfe=(e,t)=>{let n=A(GK);if(!h(n.i18n))return;let r=structuredClone(n.i18n);if(e.i18n||tL(e)){if(h(e.i18n)&&Object.assign(r,e.i18n),t){if(t.i18n)h(t.i18n)&&Object.assign(r,t.i18n);else return}}else return;return r},ife=(e,t)=>t?t.file.includes(`{{locale}}`)?GI.MULTIPLE_FILES:e===GI.SINGLE_FILE_DEFAULT_ROOT?GI.SINGLE_FILE_DEFAULT_ROOT:GI.SINGLE_FILE:e,afe=(e,t)=>({i18nSingleFile:e&&t===GI.SINGLE_FILE,i18nSingleFileDefaultRoot:e&&t===GI.SINGLE_FILE_DEFAULT_ROOT,i18nMultiFile:e&&t===GI.MULTIPLE_FILES,i18nMultiFolder:e&&t===GI.MULTIPLE_FOLDERS,i18nMultiRootFolder:e&&(t===GI.MULTIPLE_FOLDERS_I18N_ROOT||t===GI.MULTIPLE_ROOT_FOLDERS)}),ofe=(e,t,n)=>e?n&&t.includes(n)?n:t[0]:KI,sfe=(e,t,n)=>e===`all`?t:e==="default"?[n]:t.filter(t=>t===n||!Array.isArray(e)||e.includes(t)),cfe=(e,t,n)=>e?n?/{{locale}}[./]/.test(n.file):t.i18nMultiFile||t.i18nMultiFolder||t.i18nMultiRootFolder:!1,YI=(e,t)=>{let n=rfe(e,t),{structure:r=GI.SINGLE_FILE,locales:i=[],default_locale:a,initial_locales:o,save_all_locales:s=!0,canonical_slug:c={key:void 0,value:void 0},omit_default_locale_from_filename:l,omit_default_locale_from_file_path:u=l??!1,omit_default_locale_from_preview_path:d=!1}=n??{};n?.save_all_locales!==void 0&&SI(`save_all_locales`),l!==void 0&&SI(`omit_default_locale_from_filename`);let{key:f=qI.key,value:p=qI.value}=c,m=i.length>0,h=m?i:[KI],g=ofe(m,h,a),_=ife(r,t),v=afe(m,_),y=!m||s===!0&&o===void 0,b=sfe(o,h,g),x=cfe(u,v,t);return _===`multiple_folders_i18n_root`&&SI(`multiple_folders_i18n_root`),{i18nEnabled:m,saveAllLocales:y,allLocales:h,defaultLocale:g,initialLocales:b,structure:_,structureMap:v,canonicalSlug:{key:f,value:p},omitDefaultLocaleFromFilePath:x,omitDefaultLocaleFromPreviewPath:d}}})))()}var ZI,QI,$I,eL,tL,lfe,nL,rL,iL,aL,oL,sL,cL,lL,uL;function dL(){return(dL=o((()=>{Z(),nD(),oM(),ZK(),lI(),pI(),WI(),XI(),ZI=an(),QI=new Map,$I=e=>typeof e.folder==`string`&&!Array.isArray(e.files),eL=e=>e.folder===void 0&&Array.isArray(e.files),tL=e=>eL(e)&&e.name===`_singletons`,lfe=(e,{visible:t=void 0,type:n=void 0}={})=>`divider`in e||t&&e.hide?!1:n===`entry`?$I(e):n===`file`?eL(e):n===`singleton`?tL(e):$I(e)||eL(e),nL=({collections:e=A(GK)?.collections??[],visible:t,type:n}={})=>e.filter(e=>lfe(e,{visible:t,type:n})),rL=()=>nL({visible:!0})[0],iL=e=>{if(!(`folder`in e))return[];let{fields:t,thumbnail:n=!0}=e;return n===!1?[]:typeof n==`string`?[n]:Array.isArray(n)?n:t?.length?t.filter(({widget:e=`string`})=>dI.includes(e)).map(({multiple:e,name:t})=>e?`${t}.*`:t):[]},aL=(e,t)=>({...e,_i18n:t,_type:`entry`,_file:UI({rawCollection:e,_i18n:t}),_thumbnailFieldNames:iL(e)}),oL=(e,t,n)=>({...e,_i18n:t,_type:tL(e)?`singleton`:`file`,_fileMap:Object.fromEntries(n.filter(nI).map(t=>{let n=YI(e,t),r=UI({rawCollection:e,file:t,_i18n:n});return[t.name,{...t,_file:r,_i18n:n}]}))}),sL=()=>{let e=A(GK)?.singletons;if(!Array.isArray(e))return;let t=rI(e).map(e=>({...e,file:QE(e.file)}));if(!t.length)return;let n={name:`_singletons`,files:t},r=YI(n);return oL(n,r,t)},cL=e=>{let t=QI.get(e);if(t)return t;if(e===`_singletons`){let t=sL();return QI.set(e,t),t}let n=nL().find(t=>t.name===e);if(!n){QI.set(e,void 0);return}let r=$I(n)?n:void 0,i=eL(n)?n:void 0;if(!r&&!i){QI.set(e,void 0);return}r?r.folder=QE(r.folder):i?.files.forEach(e=>{e.file&&=QE(e.file)});let a=YI(n),o=r?aL(r,a):oL(i,a,i.files);return QI.set(e,o),o},lL=(e,{useSingular:t=!1}={})=>{let{_type:n,name:r,label:i,label_singular:a}=e;return n===`singleton`?X(`files`):t&&a?a:i||r},uL=e=>e?e===`_singletons`?9999999:A(GK)?.collections?.findIndex(({name:t})=>t===e)??-1:-1})))()}var fL,pL,mL,hL,gL,_L,vL,yL;function bL(){return(bL=o((()=>{oM(),dL(),fL=an(!1),pL=an(),mL=an([]),hL=an([]),gL=an([]),_L={source:void 0,fileMap:new Map,regexFolders:[]},vL=()=>{let e=A(mL);if(e===_L.source)return _L;let t=new Map,n=[];return e.forEach(e=>{e.filePathMap?[...new Set(Object.values(e.filePathMap))].forEach(n=>{let r=t.get(n);r?r.push(e):t.set(n,[e])}):n.push([e,cL(e.collectionName)?._file?.fullPathRegEx])}),_L.source=e,_L.fileMap=t,_L.regexFolders=n,_L},yL=e=>{let{fileMap:t,regexFolders:n}=vL();return[...t.get(e)??[],...n.filter(([,t])=>t?.test(e)).map(([e])=>e)].sort((e,t)=>(t.folderPath??``).localeCompare(e.folderPath??``))}})))()}var ufe=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=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`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),xL,SL,CL,wL,TL,EL;function DL(){return(DL=o((()=>{xL=/^\d{4}-[01]\d-[0-3]\d$/,SL=/T00:00(?::00)?(?:\.000)?Z$/,CL={year:`numeric`,month:`short`,day:`numeric`},wL={hour:`numeric`,minute:`numeric`,hour12:!0},TL={...CL,...wL},EL=(e,t)=>e.toLocaleString(t??void 0,TL)})))()}var OL,kL,AL,jL,ML;function NL(){return(NL=o((()=>{ZF(),OL=/(?<hours>[+-]\d{2})(?::?(?<minutes>\d{2}))?(?::?(?<seconds>\d{2}))?(?:\.\d+)?$|Z$/,kL=e=>String(Math.abs(Number(e))).padStart(2,`0`),AL=(e,t)=>{if(typeof e!=`string`||!e.trim())return;let{inputTimeZone:n}=XF(t);if(n===`local`||n===`utc`)return;let r=new Date(e);if(Number.isNaN(r.getTime()))return;let i=e.match(OL);if(!i?.groups)return;let{hours:a,minutes:o=`0`}=i.groups,s=i[0]===`Z`?`+00:00`:`${a.startsWith(`-`)?`-`:`+`}${kL(a)}:${kL(o)}`;return(new Intl.DateTimeFormat(`en-US`,{timeZone:n,timeZoneName:`longOffset`}).formatToParts(r).find(e=>e.type===`timeZoneName`)?.value??``).replace(`GMT`,``)===s?n:void 0},jL=(e,t)=>{let n=AL(e,t);if(n)return n;let{inputTimeZone:r,singleCustomTimeZone:i}=XF(t);if(i)return i;try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(r===`local`)return e}catch{return r===`local`?``:void 0}},ML=(e,t=new Date)=>{try{let n=new Intl.DateTimeFormat(`en-US`,{timeZone:e,timeZoneName:`longOffset`}).formatToParts(t).find(e=>e.type===`timeZoneName`)?.value??``,r=e.split(`/`).pop()?.replaceAll(`_`,` `)??e;return`(${n.replace(`GMT`,``)}) ${r}`}catch{return e}}})))()}var PL,FL,IL,LL,RL,zL,BL,VL,HL,UL,WL,GL,KL,qL,JL,YL;function XL(){return(XL=o((()=>{kF(),PL=l(WF(),1),FL=l(GF(),1),IL=l(KF(),1),LL=l(ufe(),1),RL=l(qF(),1),BI(),DL(),ZF(),NL(),PL.default.extend(FL.default),PL.default.extend(IL.default),PL.default.extend(RL.default),PL.default.extend(LL.default),zL=/^(?<date>\d{4}-[01]\d-[0-3]\d)\b/,BL=/(?:^|T)(?<time>[0-2]\d:[0-5]\d)\b/,VL=e=>e instanceof Date&&!Number.isNaN(e.getTime()),HL=e=>e?PL.default.utc:PL.default,UL=({value:e,format:t,parseAsUTC:n})=>{let r=HL(n),i=r(e,t);return i.isValid()?i:r(e)},WL=({date:e,timeZone:t,inputTimeZone:n,dateOnly:r,timeOnly:i,includeUTCSeconds:a=!1})=>{let o=t||(n===`utc`?`UTC`:void 0),{year:s,month:c,day:l,hour:u,minute:d}=OF({date:e,timeZone:o}),f=`${s}-${c}-${l}`,p=`${u}:${d}`;return r?f:i?p:a&&o===`UTC`?`${f}T${p}:00.000Z`:`${f}T${p}`},GL=(e,t)=>{let{format:n,timeOnly:r,utc:i,outputUTC:a}=XF(t),o=i||a;if(!e)return;let s;if(n){let t=UL({value:e,format:n,parseAsUTC:o});if(t.isValid())return t.toDate();console.error(`Invalid Date`,e);return}if(s=r?new Date(`${new Date().toJSON().split(`T`)[0]}T${e}`):new Date(e),VL(s))return s;console.error(`Invalid Date`,e)},KL=(e,t)=>{let{dateOnly:n,timeOnly:r,inputTimeZone:i}=XF(e);return WL({timeZone:t,inputTimeZone:i,dateOnly:n,timeOnly:r,includeUTCSeconds:!0})},qL=({inputValue:e,currentValue:t,fieldConfig:n,timeZone:r,outputUTC:i})=>{let{format:a,dateOnly:o,timeOnly:s,inputTimeZone:c,outputUTC:l}=XF(n),u=i??l,d=o?`YYYY-MM-DD`:s?`HH:mm`:`YYYY-MM-DDTHH:mm`,f=c===`utc`?`UTC`:c===`local`?u?r:void 0:r||c;if(e===``)return``;if(!e)return;if(a){let t=HL(c===`utc`),n=t(e,d);return n.isValid()||(n=t(e)),n.isValid()?(f&&(n=n.tz(f,!0)),u&&c!==`utc`&&(n=n.utc()),n.format(a)):``}if(o)return e;let p=/:\d{2}$/.test(e),m=t?`:00${t.endsWith(`.000`)?`.000`:``}`:`:00`;return s?p?e:`${e}${m}`:c===`utc`?PL.default.utc(e).format():u?(r?PL.default.tz(e,r):(0,PL.default)(e)).utc().format():r&&c!==`local`?PL.default.tz(e,r).format(`YYYY-MM-DDTHH:mm:ssZ`):p?e:`${e}${m}`},JL=({currentValue:e,fieldConfig:t,timeZone:n})=>{let{dateOnly:r,timeOnly:i,inputTimeZone:a,format:o,outputUTC:s}=XF(t),c=AL(e,t)??n;if(!e)return``;let l=r?e.match(zL)?.groups?.date:i?e.match(BL)?.groups?.time:void 0;if(l)return l;let u;if(c&&o&&!s){try{let t=(0,PL.default)(e,o).tz(c,!0);u=t.isValid()?t.toDate():void 0}catch{}u??=GL(e,t)}else u=GL(e,t);return u?WL({date:u,timeZone:c,inputTimeZone:a,dateOnly:r,timeOnly:i}):``},YL=({locale:e,fieldConfig:t,currentValue:n})=>{let{format:r,dateOnly:i,timeOnly:a,utc:o,singleCustomTimeZone:s}=XF(t),c=o?`UTC`:s;if(typeof n!=`string`||!n.trim())return``;if(r){let e=UL({value:n,format:r,parseAsUTC:o});return e.isValid()?e.format(r):(console.error(`Invalid Date`,n),``)}let l=GL(n,t),u=NI(e);return VL(l)?a?l.toLocaleTimeString(u,{...wL,timeZone:c}):i?l.toLocaleDateString(u,{...CL,timeZone:c||(o||xL.test(n)||SL.test(n)?`UTC`:void 0)}):l.toLocaleString(u,{...CL,...wL,timeZone:c,timeZoneName:void 0}):``}})))()}var ZL;function QL(){return(QL=o((()=>{ZL={"application/prs.cww":[`cww`],"application/prs.xsf+xml":[`xsf`],"application/vnd.1000minds.decision-model+xml":[`1km`],"application/vnd.3gpp.pic-bw-large":[`plb`],"application/vnd.3gpp.pic-bw-small":[`psb`],"application/vnd.3gpp.pic-bw-var":[`pvb`],"application/vnd.3gpp2.tcap":[`tcap`],"application/vnd.3m.post-it-notes":[`pwn`],"application/vnd.accpac.simply.aso":[`aso`],"application/vnd.accpac.simply.imp":[`imp`],"application/vnd.acucobol":[`acu`],"application/vnd.acucorp":[`atc`,`acutc`],"application/vnd.adobe.air-application-installer-package+zip":[`air`],"application/vnd.adobe.formscentral.fcdt":[`fcdt`],"application/vnd.adobe.fxp":[`fxp`,`fxpl`],"application/vnd.adobe.xdp+xml":[`xdp`],"application/vnd.adobe.xfdf":[`*xfdf`],"application/vnd.age":[`age`],"application/vnd.ahead.space":[`ahead`],"application/vnd.airzip.filesecure.azf":[`azf`],"application/vnd.airzip.filesecure.azs":[`azs`],"application/vnd.amazon.ebook":[`azw`],"application/vnd.americandynamics.acc":[`acc`],"application/vnd.amiga.ami":[`ami`],"application/vnd.android.package-archive":[`apk`],"application/vnd.anser-web-certificate-issue-initiation":[`cii`],"application/vnd.anser-web-funds-transfer-initiation":[`fti`],"application/vnd.antix.game-component":[`atx`],"application/vnd.apple.installer+xml":[`mpkg`],"application/vnd.apple.keynote":[`key`],"application/vnd.apple.mpegurl":[`m3u8`],"application/vnd.apple.numbers":[`numbers`],"application/vnd.apple.pages":[`pages`],"application/vnd.apple.pkpass":[`pkpass`],"application/vnd.aristanetworks.swi":[`swi`],"application/vnd.astraea-software.iota":[`iota`],"application/vnd.audiograph":[`aep`],"application/vnd.autodesk.fbx":[`fbx`],"application/vnd.balsamiq.bmml+xml":[`bmml`],"application/vnd.blueice.multipass":[`mpm`],"application/vnd.bmi":[`bmi`],"application/vnd.businessobjects":[`rep`],"application/vnd.chemdraw+xml":[`cdxml`],"application/vnd.chipnuts.karaoke-mmd":[`mmd`],"application/vnd.cinderella":[`cdy`],"application/vnd.citationstyles.style+xml":[`csl`],"application/vnd.claymore":[`cla`],"application/vnd.cloanto.rp9":[`rp9`],"application/vnd.clonk.c4group":[`c4g`,`c4d`,`c4f`,`c4p`,`c4u`],"application/vnd.cluetrust.cartomobile-config":[`c11amc`],"application/vnd.cluetrust.cartomobile-config-pkg":[`c11amz`],"application/vnd.commonspace":[`csp`],"application/vnd.contact.cmsg":[`cdbcmsg`],"application/vnd.cosmocaller":[`cmc`],"application/vnd.crick.clicker":[`clkx`],"application/vnd.crick.clicker.keyboard":[`clkk`],"application/vnd.crick.clicker.palette":[`clkp`],"application/vnd.crick.clicker.template":[`clkt`],"application/vnd.crick.clicker.wordbank":[`clkw`],"application/vnd.criticaltools.wbs+xml":[`wbs`],"application/vnd.ctc-posml":[`pml`],"application/vnd.cups-ppd":[`ppd`],"application/vnd.curl.car":[`car`],"application/vnd.curl.pcurl":[`pcurl`],"application/vnd.dart":[`dart`],"application/vnd.data-vision.rdz":[`rdz`],"application/vnd.dbf":[`dbf`],"application/vnd.dcmp+xml":[`dcmp`],"application/vnd.dece.data":[`uvf`,`uvvf`,`uvd`,`uvvd`],"application/vnd.dece.ttml+xml":[`uvt`,`uvvt`],"application/vnd.dece.unspecified":[`uvx`,`uvvx`],"application/vnd.dece.zip":[`uvz`,`uvvz`],"application/vnd.denovo.fcselayout-link":[`fe_launch`],"application/vnd.dna":[`dna`],"application/vnd.dolby.mlp":[`mlp`],"application/vnd.dpgraph":[`dpg`],"application/vnd.dreamfactory":[`dfac`],"application/vnd.ds-keypoint":[`kpxx`],"application/vnd.dvb.ait":[`ait`],"application/vnd.dvb.service":[`svc`],"application/vnd.dynageo":[`geo`],"application/vnd.ecowin.chart":[`mag`],"application/vnd.enliven":[`nml`],"application/vnd.epson.esf":[`esf`],"application/vnd.epson.msf":[`msf`],"application/vnd.epson.quickanime":[`qam`],"application/vnd.epson.salt":[`slt`],"application/vnd.epson.ssf":[`ssf`],"application/vnd.eszigno3+xml":[`es3`,`et3`],"application/vnd.ezpix-album":[`ez2`],"application/vnd.ezpix-package":[`ez3`],"application/vnd.fdf":[`*fdf`],"application/vnd.fdsn.mseed":[`mseed`],"application/vnd.fdsn.seed":[`seed`,`dataless`],"application/vnd.flographit":[`gph`],"application/vnd.fluxtime.clip":[`ftc`],"application/vnd.framemaker":[`fm`,`frame`,`maker`,`book`],"application/vnd.frogans.fnc":[`fnc`],"application/vnd.frogans.ltf":[`ltf`],"application/vnd.fsc.weblaunch":[`fsc`],"application/vnd.fujitsu.oasys":[`oas`],"application/vnd.fujitsu.oasys2":[`oa2`],"application/vnd.fujitsu.oasys3":[`oa3`],"application/vnd.fujitsu.oasysgp":[`fg5`],"application/vnd.fujitsu.oasysprs":[`bh2`],"application/vnd.fujixerox.ddd":[`ddd`],"application/vnd.fujixerox.docuworks":[`xdw`],"application/vnd.fujixerox.docuworks.binder":[`xbd`],"application/vnd.fuzzysheet":[`fzs`],"application/vnd.genomatix.tuxedo":[`txd`],"application/vnd.geogebra.file":[`ggb`],"application/vnd.geogebra.slides":[`ggs`],"application/vnd.geogebra.tool":[`ggt`],"application/vnd.geometry-explorer":[`gex`,`gre`],"application/vnd.geonext":[`gxt`],"application/vnd.geoplan":[`g2w`],"application/vnd.geospace":[`g3w`],"application/vnd.gmx":[`gmx`],"application/vnd.google-apps.document":[`gdoc`],"application/vnd.google-apps.drawing":[`gdraw`],"application/vnd.google-apps.form":[`gform`],"application/vnd.google-apps.jam":[`gjam`],"application/vnd.google-apps.map":[`gmap`],"application/vnd.google-apps.presentation":[`gslides`],"application/vnd.google-apps.script":[`gscript`],"application/vnd.google-apps.site":[`gsite`],"application/vnd.google-apps.spreadsheet":[`gsheet`],"application/vnd.google-earth.kml+xml":[`kml`],"application/vnd.google-earth.kmz":[`kmz`],"application/vnd.gov.sk.xmldatacontainer+xml":[`xdcf`],"application/vnd.grafeq":[`gqf`,`gqs`],"application/vnd.groove-account":[`gac`],"application/vnd.groove-help":[`ghf`],"application/vnd.groove-identity-message":[`gim`],"application/vnd.groove-injector":[`grv`],"application/vnd.groove-tool-message":[`gtm`],"application/vnd.groove-tool-template":[`tpl`],"application/vnd.groove-vcard":[`vcg`],"application/vnd.hal+xml":[`hal`],"application/vnd.handheld-entertainment+xml":[`zmm`],"application/vnd.hbci":[`hbci`],"application/vnd.hhe.lesson-player":[`les`],"application/vnd.hp-hpgl":[`hpgl`],"application/vnd.hp-hpid":[`hpid`],"application/vnd.hp-hps":[`hps`],"application/vnd.hp-jlyt":[`jlt`],"application/vnd.hp-pcl":[`pcl`],"application/vnd.hp-pclxl":[`pclxl`],"application/vnd.hydrostatix.sof-data":[`sfd-hdstx`],"application/vnd.ibm.minipay":[`mpy`],"application/vnd.ibm.modcap":[`afp`,`listafp`,`list3820`],"application/vnd.ibm.rights-management":[`irm`],"application/vnd.ibm.secure-container":[`sc`],"application/vnd.iccprofile":[`icc`,`icm`],"application/vnd.igloader":[`igl`],"application/vnd.immervision-ivp":[`ivp`],"application/vnd.immervision-ivu":[`ivu`],"application/vnd.insors.igm":[`igm`],"application/vnd.intercon.formnet":[`xpw`,`xpx`],"application/vnd.intergeo":[`i2g`],"application/vnd.intu.qbo":[`qbo`],"application/vnd.intu.qfx":[`qfx`],"application/vnd.ipunplugged.rcprofile":[`rcprofile`],"application/vnd.irepository.package+xml":[`irp`],"application/vnd.is-xpr":[`xpr`],"application/vnd.isac.fcs":[`fcs`],"application/vnd.jam":[`jam`],"application/vnd.jcp.javame.midlet-rms":[`rms`],"application/vnd.jisp":[`jisp`],"application/vnd.joost.joda-archive":[`joda`],"application/vnd.kahootz":[`ktz`,`ktr`],"application/vnd.kde.karbon":[`karbon`],"application/vnd.kde.kchart":[`chrt`],"application/vnd.kde.kformula":[`kfo`],"application/vnd.kde.kivio":[`flw`],"application/vnd.kde.kontour":[`kon`],"application/vnd.kde.kpresenter":[`kpr`,`kpt`],"application/vnd.kde.kspread":[`ksp`],"application/vnd.kde.kword":[`kwd`,`kwt`],"application/vnd.kenameaapp":[`htke`],"application/vnd.kidspiration":[`kia`],"application/vnd.kinar":[`kne`,`knp`],"application/vnd.koan":[`skp`,`skd`,`skt`,`skm`],"application/vnd.kodak-descriptor":[`sse`],"application/vnd.las.las+xml":[`lasxml`],"application/vnd.llamagraphics.life-balance.desktop":[`lbd`],"application/vnd.llamagraphics.life-balance.exchange+xml":[`lbe`],"application/vnd.lotus-1-2-3":[`123`],"application/vnd.lotus-approach":[`apr`],"application/vnd.lotus-freelance":[`pre`],"application/vnd.lotus-notes":[`nsf`],"application/vnd.lotus-organizer":[`org`],"application/vnd.lotus-screencam":[`scm`],"application/vnd.lotus-wordpro":[`lwp`],"application/vnd.macports.portpkg":[`portpkg`],"application/vnd.mapbox-vector-tile":[`mvt`],"application/vnd.mcd":[`mcd`],"application/vnd.medcalcdata":[`mc1`],"application/vnd.mediastation.cdkey":[`cdkey`],"application/vnd.mfer":[`mwf`],"application/vnd.mfmp":[`mfm`],"application/vnd.micrografx.flo":[`flo`],"application/vnd.micrografx.igx":[`igx`],"application/vnd.mif":[`mif`],"application/vnd.mobius.daf":[`daf`],"application/vnd.mobius.dis":[`dis`],"application/vnd.mobius.mbk":[`mbk`],"application/vnd.mobius.mqy":[`mqy`],"application/vnd.mobius.msl":[`msl`],"application/vnd.mobius.plc":[`plc`],"application/vnd.mobius.txf":[`txf`],"application/vnd.mophun.application":[`mpn`],"application/vnd.mophun.certificate":[`mpc`],"application/vnd.mozilla.xul+xml":[`xul`],"application/vnd.ms-artgalry":[`cil`],"application/vnd.ms-cab-compressed":[`cab`],"application/vnd.ms-excel":[`xls`,`xlm`,`xla`,`xlc`,`xlt`,`xlw`],"application/vnd.ms-excel.addin.macroenabled.12":[`xlam`],"application/vnd.ms-excel.sheet.binary.macroenabled.12":[`xlsb`],"application/vnd.ms-excel.sheet.macroenabled.12":[`xlsm`],"application/vnd.ms-excel.template.macroenabled.12":[`xltm`],"application/vnd.ms-fontobject":[`eot`],"application/vnd.ms-htmlhelp":[`chm`],"application/vnd.ms-ims":[`ims`],"application/vnd.ms-lrm":[`lrm`],"application/vnd.ms-officetheme":[`thmx`],"application/vnd.ms-outlook":[`msg`],"application/vnd.ms-pki.seccat":[`cat`],"application/vnd.ms-pki.stl":[`*stl`],"application/vnd.ms-powerpoint":[`ppt`,`pps`,`pot`],"application/vnd.ms-powerpoint.addin.macroenabled.12":[`ppam`],"application/vnd.ms-powerpoint.presentation.macroenabled.12":[`pptm`],"application/vnd.ms-powerpoint.slide.macroenabled.12":[`sldm`],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":[`ppsm`],"application/vnd.ms-powerpoint.template.macroenabled.12":[`potm`],"application/vnd.ms-project":[`*mpp`,`mpt`],"application/vnd.ms-visio.viewer":[`vdx`],"application/vnd.ms-word.document.macroenabled.12":[`docm`],"application/vnd.ms-word.template.macroenabled.12":[`dotm`],"application/vnd.ms-works":[`wps`,`wks`,`wcm`,`wdb`],"application/vnd.ms-wpl":[`wpl`],"application/vnd.ms-xpsdocument":[`xps`],"application/vnd.mseq":[`mseq`],"application/vnd.musician":[`mus`],"application/vnd.muvee.style":[`msty`],"application/vnd.mynfc":[`taglet`],"application/vnd.nato.bindingdataobject+xml":[`bdo`],"application/vnd.neurolanguage.nlu":[`nlu`],"application/vnd.nitf":[`ntf`,`nitf`],"application/vnd.noblenet-directory":[`nnd`],"application/vnd.noblenet-sealer":[`nns`],"application/vnd.noblenet-web":[`nnw`],"application/vnd.nokia.n-gage.ac+xml":[`*ac`],"application/vnd.nokia.n-gage.data":[`ngdat`],"application/vnd.nokia.n-gage.symbian.install":[`n-gage`],"application/vnd.nokia.radio-preset":[`rpst`],"application/vnd.nokia.radio-presets":[`rpss`],"application/vnd.novadigm.edm":[`edm`],"application/vnd.novadigm.edx":[`edx`],"application/vnd.novadigm.ext":[`ext`],"application/vnd.oasis.opendocument.chart":[`odc`],"application/vnd.oasis.opendocument.chart-template":[`otc`],"application/vnd.oasis.opendocument.database":[`odb`],"application/vnd.oasis.opendocument.formula":[`odf`],"application/vnd.oasis.opendocument.formula-template":[`odft`],"application/vnd.oasis.opendocument.graphics":[`odg`],"application/vnd.oasis.opendocument.graphics-template":[`otg`],"application/vnd.oasis.opendocument.image":[`odi`],"application/vnd.oasis.opendocument.image-template":[`oti`],"application/vnd.oasis.opendocument.presentation":[`odp`],"application/vnd.oasis.opendocument.presentation-template":[`otp`],"application/vnd.oasis.opendocument.spreadsheet":[`ods`],"application/vnd.oasis.opendocument.spreadsheet-template":[`ots`],"application/vnd.oasis.opendocument.text":[`odt`],"application/vnd.oasis.opendocument.text-master":[`odm`],"application/vnd.oasis.opendocument.text-template":[`ott`],"application/vnd.oasis.opendocument.text-web":[`oth`],"application/vnd.olpc-sugar":[`xo`],"application/vnd.oma.dd2+xml":[`dd2`],"application/vnd.openblox.game+xml":[`obgx`],"application/vnd.openofficeorg.extension":[`oxt`],"application/vnd.openstreetmap.data+xml":[`osm`],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[`pptx`],"application/vnd.openxmlformats-officedocument.presentationml.slide":[`sldx`],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":[`ppsx`],"application/vnd.openxmlformats-officedocument.presentationml.template":[`potx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[`xlsx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":[`xltx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[`docx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":[`dotx`],"application/vnd.osgeo.mapguide.package":[`mgp`],"application/vnd.osgi.dp":[`dp`],"application/vnd.osgi.subsystem":[`esa`],"application/vnd.palm":[`pdb`,`pqa`,`oprc`],"application/vnd.pawaafile":[`paw`],"application/vnd.pg.format":[`str`],"application/vnd.pg.osasli":[`ei6`],"application/vnd.picsel":[`efif`],"application/vnd.pmi.widget":[`wg`],"application/vnd.pocketlearn":[`plf`],"application/vnd.powerbuilder6":[`pbd`],"application/vnd.previewsystems.box":[`box`],"application/vnd.procrate.brushset":[`brushset`],"application/vnd.procreate.brush":[`brush`],"application/vnd.procreate.dream":[`drm`],"application/vnd.proteus.magazine":[`mgz`],"application/vnd.publishare-delta-tree":[`qps`],"application/vnd.pvi.ptid1":[`ptid`],"application/vnd.pwg-xhtml-print+xml":[`xhtm`],"application/vnd.quark.quarkxpress":[`qxd`,`qxt`,`qwd`,`qwt`,`qxl`,`qxb`],"application/vnd.rar":[`rar`],"application/vnd.realvnc.bed":[`bed`],"application/vnd.recordare.musicxml":[`mxl`],"application/vnd.recordare.musicxml+xml":[`musicxml`],"application/vnd.rig.cryptonote":[`cryptonote`],"application/vnd.rim.cod":[`cod`],"application/vnd.rn-realmedia":[`rm`],"application/vnd.rn-realmedia-vbr":[`rmvb`],"application/vnd.route66.link66+xml":[`link66`],"application/vnd.sailingtracker.track":[`st`],"application/vnd.seemail":[`see`],"application/vnd.sema":[`sema`],"application/vnd.semd":[`semd`],"application/vnd.semf":[`semf`],"application/vnd.shana.informed.formdata":[`ifm`],"application/vnd.shana.informed.formtemplate":[`itp`],"application/vnd.shana.informed.interchange":[`iif`],"application/vnd.shana.informed.package":[`ipk`],"application/vnd.simtech-mindmapper":[`twd`,`twds`],"application/vnd.smaf":[`mmf`],"application/vnd.smart.teacher":[`teacher`],"application/vnd.software602.filler.form+xml":[`fo`],"application/vnd.solent.sdkm+xml":[`sdkm`,`sdkd`],"application/vnd.spotfire.dxp":[`dxp`],"application/vnd.spotfire.sfs":[`sfs`],"application/vnd.stardivision.calc":[`sdc`],"application/vnd.stardivision.draw":[`sda`],"application/vnd.stardivision.impress":[`sdd`],"application/vnd.stardivision.math":[`smf`],"application/vnd.stardivision.writer":[`sdw`,`vor`],"application/vnd.stardivision.writer-global":[`sgl`],"application/vnd.stepmania.package":[`smzip`],"application/vnd.stepmania.stepchart":[`sm`],"application/vnd.sun.wadl+xml":[`wadl`],"application/vnd.sun.xml.calc":[`sxc`],"application/vnd.sun.xml.calc.template":[`stc`],"application/vnd.sun.xml.draw":[`sxd`],"application/vnd.sun.xml.draw.template":[`std`],"application/vnd.sun.xml.impress":[`sxi`],"application/vnd.sun.xml.impress.template":[`sti`],"application/vnd.sun.xml.math":[`sxm`],"application/vnd.sun.xml.writer":[`sxw`],"application/vnd.sun.xml.writer.global":[`sxg`],"application/vnd.sun.xml.writer.template":[`stw`],"application/vnd.sus-calendar":[`sus`,`susp`],"application/vnd.svd":[`svd`],"application/vnd.symbian.install":[`sis`,`sisx`],"application/vnd.syncml+xml":[`xsm`],"application/vnd.syncml.dm+wbxml":[`bdm`],"application/vnd.syncml.dm+xml":[`xdm`],"application/vnd.syncml.dmddf+xml":[`ddf`],"application/vnd.tao.intent-module-archive":[`tao`],"application/vnd.tcpdump.pcap":[`pcap`,`cap`,`dmp`],"application/vnd.tmobile-livetv":[`tmo`],"application/vnd.trid.tpt":[`tpt`],"application/vnd.triscape.mxs":[`mxs`],"application/vnd.trueapp":[`tra`],"application/vnd.ufdl":[`ufd`,`ufdl`],"application/vnd.uiq.theme":[`utz`],"application/vnd.umajin":[`umj`],"application/vnd.unity":[`unityweb`],"application/vnd.uoml+xml":[`uoml`,`uo`],"application/vnd.vcx":[`vcx`],"application/vnd.visio":[`vsd`,`vst`,`vss`,`vsw`,`vsdx`,`vtx`],"application/vnd.visionary":[`vis`],"application/vnd.vsf":[`vsf`],"application/vnd.wap.wbxml":[`wbxml`],"application/vnd.wap.wmlc":[`wmlc`],"application/vnd.wap.wmlscriptc":[`wmlsc`],"application/vnd.webturbo":[`wtb`],"application/vnd.wolfram.player":[`nbp`],"application/vnd.wordperfect":[`wpd`],"application/vnd.wqd":[`wqd`],"application/vnd.wt.stf":[`stf`],"application/vnd.xara":[`xar`],"application/vnd.xfdl":[`xfdl`],"application/vnd.yamaha.hv-dic":[`hvd`],"application/vnd.yamaha.hv-script":[`hvs`],"application/vnd.yamaha.hv-voice":[`hvp`],"application/vnd.yamaha.openscoreformat":[`osf`],"application/vnd.yamaha.openscoreformat.osfpvg+xml":[`osfpvg`],"application/vnd.yamaha.smaf-audio":[`saf`],"application/vnd.yamaha.smaf-phrase":[`spf`],"application/vnd.yellowriver-custom-menu":[`cmp`],"application/vnd.zul":[`zir`,`zirz`],"application/vnd.zzazz.deck+xml":[`zaz`],"application/x-7z-compressed":[`7z`],"application/x-abiword":[`abw`],"application/x-ace-compressed":[`ace`],"application/x-apple-diskimage":[`*dmg`],"application/x-arj":[`arj`],"application/x-authorware-bin":[`aab`,`x32`,`u32`,`vox`],"application/x-authorware-map":[`aam`],"application/x-authorware-seg":[`aas`],"application/x-bcpio":[`bcpio`],"application/x-bdoc":[`*bdoc`],"application/x-bittorrent":[`torrent`],"application/x-blender":[`blend`],"application/x-blorb":[`blb`,`blorb`],"application/x-bzip":[`bz`],"application/x-bzip2":[`bz2`,`boz`],"application/x-cbr":[`cbr`,`cba`,`cbt`,`cbz`,`cb7`],"application/x-cdlink":[`vcd`],"application/x-cfs-compressed":[`cfs`],"application/x-chat":[`chat`],"application/x-chess-pgn":[`pgn`],"application/x-chrome-extension":[`crx`],"application/x-cocoa":[`cco`],"application/x-compressed":[`*rar`],"application/x-conference":[`nsc`],"application/x-cpio":[`cpio`],"application/x-csh":[`csh`],"application/x-debian-package":[`*deb`,`udeb`],"application/x-dgc-compressed":[`dgc`],"application/x-director":[`dir`,`dcr`,`dxr`,`cst`,`cct`,`cxt`,`w3d`,`fgd`,`swa`],"application/x-doom":[`wad`],"application/x-dtbncx+xml":[`ncx`],"application/x-dtbook+xml":[`dtb`],"application/x-dtbresource+xml":[`res`],"application/x-dvi":[`dvi`],"application/x-envoy":[`evy`],"application/x-eva":[`eva`],"application/x-font-bdf":[`bdf`],"application/x-font-ghostscript":[`gsf`],"application/x-font-linux-psf":[`psf`],"application/x-font-pcf":[`pcf`],"application/x-font-snf":[`snf`],"application/x-font-type1":[`pfa`,`pfb`,`pfm`,`afm`],"application/x-freearc":[`arc`],"application/x-futuresplash":[`spl`],"application/x-gca-compressed":[`gca`],"application/x-glulx":[`ulx`],"application/x-gnumeric":[`gnumeric`],"application/x-gramps-xml":[`gramps`],"application/x-gtar":[`gtar`],"application/x-hdf":[`hdf`],"application/x-httpd-php":[`php`],"application/x-install-instructions":[`install`],"application/x-ipynb+json":[`ipynb`],"application/x-iso9660-image":[`*iso`],"application/x-iwork-keynote-sffkey":[`*key`],"application/x-iwork-numbers-sffnumbers":[`*numbers`],"application/x-iwork-pages-sffpages":[`*pages`],"application/x-java-archive-diff":[`jardiff`],"application/x-java-jnlp-file":[`jnlp`],"application/x-keepass2":[`kdbx`],"application/x-latex":[`latex`],"application/x-lua-bytecode":[`luac`],"application/x-lzh-compressed":[`lzh`,`lha`],"application/x-makeself":[`run`],"application/x-mie":[`mie`],"application/x-mobipocket-ebook":[`*prc`,`mobi`],"application/x-ms-application":[`application`],"application/x-ms-shortcut":[`lnk`],"application/x-ms-wmd":[`wmd`],"application/x-ms-wmz":[`wmz`],"application/x-ms-xbap":[`xbap`],"application/x-msaccess":[`mdb`],"application/x-msbinder":[`obd`],"application/x-mscardfile":[`crd`],"application/x-msclip":[`clp`],"application/x-msdos-program":[`*exe`],"application/x-msdownload":[`*exe`,`*dll`,`com`,`bat`,`*msi`],"application/x-msmediaview":[`mvb`,`m13`,`m14`],"application/x-msmetafile":[`*wmf`,`*wmz`,`*emf`,`emz`],"application/x-msmoney":[`mny`],"application/x-mspublisher":[`pub`],"application/x-msschedule":[`scd`],"application/x-msterminal":[`trm`],"application/x-mswrite":[`wri`],"application/x-netcdf":[`nc`,`cdf`],"application/x-ns-proxy-autoconfig":[`pac`],"application/x-nzb":[`nzb`],"application/x-perl":[`pl`,`pm`],"application/x-pilot":[`*prc`,`*pdb`],"application/x-pkcs12":[`p12`,`pfx`],"application/x-pkcs7-certificates":[`p7b`,`spc`],"application/x-pkcs7-certreqresp":[`p7r`],"application/x-rar-compressed":[`*rar`],"application/x-redhat-package-manager":[`rpm`],"application/x-research-info-systems":[`ris`],"application/x-sea":[`sea`],"application/x-sh":[`sh`],"application/x-shar":[`shar`],"application/x-shockwave-flash":[`swf`],"application/x-silverlight-app":[`xap`],"application/x-sql":[`*sql`],"application/x-stuffit":[`sit`],"application/x-stuffitx":[`sitx`],"application/x-subrip":[`srt`],"application/x-sv4cpio":[`sv4cpio`],"application/x-sv4crc":[`sv4crc`],"application/x-t3vm-image":[`t3`],"application/x-tads":[`gam`],"application/x-tar":[`tar`],"application/x-tcl":[`tcl`,`tk`],"application/x-tex":[`tex`],"application/x-tex-tfm":[`tfm`],"application/x-texinfo":[`texinfo`,`texi`],"application/x-tgif":[`*obj`],"application/x-ustar":[`ustar`],"application/x-virtualbox-hdd":[`hdd`],"application/x-virtualbox-ova":[`ova`],"application/x-virtualbox-ovf":[`ovf`],"application/x-virtualbox-vbox":[`vbox`],"application/x-virtualbox-vbox-extpack":[`vbox-extpack`],"application/x-virtualbox-vdi":[`vdi`],"application/x-virtualbox-vhd":[`vhd`],"application/x-virtualbox-vmdk":[`vmdk`],"application/x-wais-source":[`src`],"application/x-web-app-manifest+json":[`webapp`],"application/x-x509-ca-cert":[`der`,`crt`,`pem`],"application/x-xfig":[`fig`],"application/x-xliff+xml":[`*xlf`],"application/x-xpinstall":[`xpi`],"application/x-xz":[`xz`],"application/x-zip-compressed":[`*zip`],"application/x-zmachine":[`z1`,`z2`,`z3`,`z4`,`z5`,`z6`,`z7`,`z8`],"audio/vnd.dece.audio":[`uva`,`uvva`],"audio/vnd.digital-winds":[`eol`],"audio/vnd.dra":[`dra`],"audio/vnd.dts":[`dts`],"audio/vnd.dts.hd":[`dtshd`],"audio/vnd.lucent.voice":[`lvp`],"audio/vnd.ms-playready.media.pya":[`pya`],"audio/vnd.nuera.ecelp4800":[`ecelp4800`],"audio/vnd.nuera.ecelp7470":[`ecelp7470`],"audio/vnd.nuera.ecelp9600":[`ecelp9600`],"audio/vnd.rip":[`rip`],"audio/x-aac":[`*aac`],"audio/x-aiff":[`aif`,`aiff`,`aifc`],"audio/x-caf":[`caf`],"audio/x-flac":[`flac`],"audio/x-m4a":[`*m4a`],"audio/x-matroska":[`mka`],"audio/x-mpegurl":[`m3u`],"audio/x-ms-wax":[`wax`],"audio/x-ms-wma":[`wma`],"audio/x-pn-realaudio":[`ram`,`ra`],"audio/x-pn-realaudio-plugin":[`rmp`],"audio/x-realaudio":[`*ra`],"audio/x-wav":[`*wav`],"chemical/x-cdx":[`cdx`],"chemical/x-cif":[`cif`],"chemical/x-cmdf":[`cmdf`],"chemical/x-cml":[`cml`],"chemical/x-csml":[`csml`],"chemical/x-xyz":[`xyz`],"image/prs.btif":[`btif`,`btf`],"image/prs.pti":[`pti`],"image/vnd.adobe.photoshop":[`psd`],"image/vnd.airzip.accelerator.azv":[`azv`],"image/vnd.blockfact.facti":[`facti`],"image/vnd.dece.graphic":[`uvi`,`uvvi`,`uvg`,`uvvg`],"image/vnd.djvu":[`djvu`,`djv`],"image/vnd.dvb.subtitle":[`*sub`],"image/vnd.dwg":[`dwg`],"image/vnd.dxf":[`dxf`],"image/vnd.fastbidsheet":[`fbs`],"image/vnd.fpx":[`fpx`],"image/vnd.fst":[`fst`],"image/vnd.fujixerox.edmics-mmr":[`mmr`],"image/vnd.fujixerox.edmics-rlc":[`rlc`],"image/vnd.microsoft.icon":[`ico`],"image/vnd.ms-dds":[`dds`],"image/vnd.ms-modi":[`mdi`],"image/vnd.ms-photo":[`wdp`],"image/vnd.net-fpx":[`npx`],"image/vnd.pco.b16":[`b16`],"image/vnd.tencent.tap":[`tap`],"image/vnd.valve.source.texture":[`vtf`],"image/vnd.wap.wbmp":[`wbmp`],"image/vnd.xiff":[`xif`],"image/vnd.zbrush.pcx":[`pcx`],"image/x-3ds":[`3ds`],"image/x-adobe-dng":[`dng`],"image/x-cmu-raster":[`ras`],"image/x-cmx":[`cmx`],"image/x-freehand":[`fh`,`fhc`,`fh4`,`fh5`,`fh7`],"image/x-icon":[`*ico`],"image/x-jng":[`jng`],"image/x-mrsid-image":[`sid`],"image/x-ms-bmp":[`*bmp`],"image/x-pcx":[`*pcx`],"image/x-pict":[`pic`,`pct`],"image/x-portable-anymap":[`pnm`],"image/x-portable-bitmap":[`pbm`],"image/x-portable-graymap":[`pgm`],"image/x-portable-pixmap":[`ppm`],"image/x-rgb":[`rgb`],"image/x-tga":[`tga`],"image/x-xbitmap":[`xbm`],"image/x-xpixmap":[`xpm`],"image/x-xwindowdump":[`xwd`],"message/vnd.wfa.wsc":[`wsc`],"model/vnd.bary":[`bary`],"model/vnd.cld":[`cld`],"model/vnd.collada+xml":[`dae`],"model/vnd.dwf":[`dwf`],"model/vnd.gdl":[`gdl`],"model/vnd.gtw":[`gtw`],"model/vnd.mts":[`*mts`],"model/vnd.opengex":[`ogex`],"model/vnd.parasolid.transmit.binary":[`x_b`],"model/vnd.parasolid.transmit.text":[`x_t`],"model/vnd.pytha.pyox":[`pyo`,`pyox`],"model/vnd.sap.vds":[`vds`],"model/vnd.usda":[`usda`],"model/vnd.usdz+zip":[`usdz`],"model/vnd.valve.source.compiled-map":[`bsp`],"model/vnd.vtu":[`vtu`],"text/prs.lines.tag":[`dsc`],"text/vnd.curl":[`curl`],"text/vnd.curl.dcurl":[`dcurl`],"text/vnd.curl.mcurl":[`mcurl`],"text/vnd.curl.scurl":[`scurl`],"text/vnd.dvb.subtitle":[`sub`],"text/vnd.familysearch.gedcom":[`ged`],"text/vnd.fly":[`fly`],"text/vnd.fmi.flexstor":[`flx`],"text/vnd.graphviz":[`gv`],"text/vnd.in3d.3dml":[`3dml`],"text/vnd.in3d.spot":[`spot`],"text/vnd.sun.j2me.app-descriptor":[`jad`],"text/vnd.wap.wml":[`wml`],"text/vnd.wap.wmlscript":[`wmls`],"text/x-asm":[`s`,`asm`],"text/x-c":[`c`,`cc`,`cxx`,`cpp`,`h`,`hh`,`dic`],"text/x-component":[`htc`],"text/x-fortran":[`f`,`for`,`f77`,`f90`],"text/x-handlebars-template":[`hbs`],"text/x-java-source":[`java`],"text/x-lua":[`lua`],"text/x-markdown":[`mkd`],"text/x-nfo":[`nfo`],"text/x-opml":[`opml`],"text/x-org":[`*org`],"text/x-pascal":[`p`,`pas`],"text/x-processing":[`pde`],"text/x-sass":[`sass`],"text/x-scss":[`scss`],"text/x-setext":[`etx`],"text/x-sfv":[`sfv`],"text/x-suse-ymp":[`ymp`],"text/x-uuencode":[`uu`],"text/x-vcalendar":[`vcs`],"text/x-vcard":[`vcf`],"video/vnd.dece.hd":[`uvh`,`uvvh`],"video/vnd.dece.mobile":[`uvm`,`uvvm`],"video/vnd.dece.pd":[`uvp`,`uvvp`],"video/vnd.dece.sd":[`uvs`,`uvvs`],"video/vnd.dece.video":[`uvv`,`uvvv`],"video/vnd.dvb.file":[`dvb`],"video/vnd.fvt":[`fvt`],"video/vnd.mpegurl":[`mxu`,`m4u`],"video/vnd.ms-playready.media.pyv":[`pyv`],"video/vnd.uvvu.mp4":[`uvu`,`uvvu`],"video/vnd.vivo":[`viv`],"video/x-f4v":[`f4v`],"video/x-fli":[`fli`],"video/x-flv":[`flv`],"video/x-m4v":[`m4v`],"video/x-matroska":[`mkv`,`mk3d`,`mks`],"video/x-mng":[`mng`],"video/x-ms-asf":[`asf`,`asx`],"video/x-ms-vob":[`vob`],"video/x-ms-wm":[`wm`],"video/x-ms-wmv":[`wmv`],"video/x-ms-wmx":[`wmx`],"video/x-ms-wvx":[`wvx`],"video/x-msvideo":[`avi`],"video/x-sgi-movie":[`movie`],"video/x-smv":[`smv`],"x-conference/x-cooltalk":[`ice`]},Object.freeze(ZL)})))()}var $L;function eR(){return(eR=o((()=>{$L={"application/andrew-inset":[`ez`],"application/appinstaller":[`appinstaller`],"application/applixware":[`aw`],"application/appx":[`appx`],"application/appxbundle":[`appxbundle`],"application/atom+xml":[`atom`],"application/atomcat+xml":[`atomcat`],"application/atomdeleted+xml":[`atomdeleted`],"application/atomsvc+xml":[`atomsvc`],"application/atsc-dwd+xml":[`dwd`],"application/atsc-held+xml":[`held`],"application/atsc-rsat+xml":[`rsat`],"application/automationml-aml+xml":[`aml`],"application/automationml-amlx+zip":[`amlx`],"application/bdoc":[`bdoc`],"application/calendar+xml":[`xcs`],"application/ccxml+xml":[`ccxml`],"application/cdfx+xml":[`cdfx`],"application/cdmi-capability":[`cdmia`],"application/cdmi-container":[`cdmic`],"application/cdmi-domain":[`cdmid`],"application/cdmi-object":[`cdmio`],"application/cdmi-queue":[`cdmiq`],"application/cpl+xml":[`cpl`],"application/cu-seeme":[`cu`],"application/cwl":[`cwl`],"application/dash+xml":[`mpd`],"application/dash-patch+xml":[`mpp`],"application/davmount+xml":[`davmount`],"application/dicom":[`dcm`],"application/docbook+xml":[`dbk`],"application/dssc+der":[`dssc`],"application/dssc+xml":[`xdssc`],"application/ecmascript":[`ecma`],"application/emma+xml":[`emma`],"application/emotionml+xml":[`emotionml`],"application/epub+zip":[`epub`],"application/exi":[`exi`],"application/express":[`exp`],"application/fdf":[`fdf`],"application/fdt+xml":[`fdt`],"application/font-tdpfr":[`pfr`],"application/geo+json":[`geojson`],"application/gml+xml":[`gml`],"application/gpx+xml":[`gpx`],"application/gxf":[`gxf`],"application/gzip":[`gz`],"application/hjson":[`hjson`],"application/hyperstudio":[`stk`],"application/inkml+xml":[`ink`,`inkml`],"application/ipfix":[`ipfix`],"application/its+xml":[`its`],"application/java-archive":[`jar`,`war`,`ear`],"application/java-serialized-object":[`ser`],"application/java-vm":[`class`],"application/javascript":[`*js`],"application/json":[`json`,`map`],"application/json5":[`json5`],"application/jsonml+json":[`jsonml`],"application/ld+json":[`jsonld`],"application/lgr+xml":[`lgr`],"application/lost+xml":[`lostxml`],"application/mac-binhex40":[`hqx`],"application/mac-compactpro":[`cpt`],"application/mads+xml":[`mads`],"application/manifest+json":[`webmanifest`],"application/marc":[`mrc`],"application/marcxml+xml":[`mrcx`],"application/mathematica":[`ma`,`nb`,`mb`],"application/mathml+xml":[`mathml`],"application/mbox":[`mbox`],"application/media-policy-dataset+xml":[`mpf`],"application/mediaservercontrol+xml":[`mscml`],"application/metalink+xml":[`metalink`],"application/metalink4+xml":[`meta4`],"application/mets+xml":[`mets`],"application/mmt-aei+xml":[`maei`],"application/mmt-usd+xml":[`musd`],"application/mods+xml":[`mods`],"application/mp21":[`m21`,`mp21`],"application/mp4":[`*mp4`,`*mpg4`,`mp4s`,`m4p`],"application/msix":[`msix`],"application/msixbundle":[`msixbundle`],"application/msword":[`doc`,`dot`],"application/mxf":[`mxf`],"application/n-quads":[`nq`],"application/n-triples":[`nt`],"application/node":[`cjs`],"application/octet-stream":[`bin`,`dms`,`lrf`,`mar`,`so`,`dist`,`distz`,`pkg`,`bpk`,`dump`,`elc`,`deploy`,`exe`,`dll`,`deb`,`dmg`,`iso`,`img`,`msi`,`msp`,`msm`,`buffer`],"application/oda":[`oda`],"application/oebps-package+xml":[`opf`],"application/ogg":[`ogx`],"application/omdoc+xml":[`omdoc`],"application/onenote":[`onetoc`,`onetoc2`,`onetmp`,`onepkg`,`one`,`onea`],"application/oxps":[`oxps`],"application/p2p-overlay+xml":[`relo`],"application/patch-ops-error+xml":[`xer`],"application/pdf":[`pdf`],"application/pgp-encrypted":[`pgp`],"application/pgp-keys":[`asc`],"application/pgp-signature":[`sig`,`*asc`],"application/pics-rules":[`prf`],"application/pkcs10":[`p10`],"application/pkcs7-mime":[`p7m`,`p7c`],"application/pkcs7-signature":[`p7s`],"application/pkcs8":[`p8`],"application/pkix-attr-cert":[`ac`],"application/pkix-cert":[`cer`],"application/pkix-crl":[`crl`],"application/pkix-pkipath":[`pkipath`],"application/pkixcmp":[`pki`],"application/pls+xml":[`pls`],"application/postscript":[`ai`,`eps`,`ps`],"application/provenance+xml":[`provx`],"application/pskc+xml":[`pskcxml`],"application/raml+yaml":[`raml`],"application/rdf+xml":[`rdf`,`owl`],"application/reginfo+xml":[`rif`],"application/relax-ng-compact-syntax":[`rnc`],"application/resource-lists+xml":[`rl`],"application/resource-lists-diff+xml":[`rld`],"application/rls-services+xml":[`rs`],"application/route-apd+xml":[`rapd`],"application/route-s-tsid+xml":[`sls`],"application/route-usd+xml":[`rusd`],"application/rpki-ghostbusters":[`gbr`],"application/rpki-manifest":[`mft`],"application/rpki-roa":[`roa`],"application/rsd+xml":[`rsd`],"application/rss+xml":[`rss`],"application/rtf":[`rtf`],"application/sbml+xml":[`sbml`],"application/scvp-cv-request":[`scq`],"application/scvp-cv-response":[`scs`],"application/scvp-vp-request":[`spq`],"application/scvp-vp-response":[`spp`],"application/sdp":[`sdp`],"application/senml+xml":[`senmlx`],"application/sensml+xml":[`sensmlx`],"application/set-payment-initiation":[`setpay`],"application/set-registration-initiation":[`setreg`],"application/shf+xml":[`shf`],"application/sieve":[`siv`,`sieve`],"application/smil+xml":[`smi`,`smil`],"application/sparql-query":[`rq`],"application/sparql-results+xml":[`srx`],"application/sql":[`sql`],"application/srgs":[`gram`],"application/srgs+xml":[`grxml`],"application/sru+xml":[`sru`],"application/ssdl+xml":[`ssdl`],"application/ssml+xml":[`ssml`],"application/swid+xml":[`swidtag`],"application/tei+xml":[`tei`,`teicorpus`],"application/thraud+xml":[`tfi`],"application/timestamped-data":[`tsd`],"application/toml":[`toml`],"application/trig":[`trig`],"application/ttml+xml":[`ttml`],"application/ubjson":[`ubj`],"application/urc-ressheet+xml":[`rsheet`],"application/urc-targetdesc+xml":[`td`],"application/voicexml+xml":[`vxml`],"application/wasm":[`wasm`],"application/watcherinfo+xml":[`wif`],"application/widget":[`wgt`],"application/winhlp":[`hlp`],"application/wsdl+xml":[`wsdl`],"application/wspolicy+xml":[`wspolicy`],"application/xaml+xml":[`xaml`],"application/xcap-att+xml":[`xav`],"application/xcap-caps+xml":[`xca`],"application/xcap-diff+xml":[`xdf`],"application/xcap-el+xml":[`xel`],"application/xcap-ns+xml":[`xns`],"application/xenc+xml":[`xenc`],"application/xfdf":[`xfdf`],"application/xhtml+xml":[`xhtml`,`xht`],"application/xliff+xml":[`xlf`],"application/xml":[`xml`,`xsl`,`xsd`,`rng`],"application/xml-dtd":[`dtd`],"application/xop+xml":[`xop`],"application/xproc+xml":[`xpl`],"application/xslt+xml":[`*xsl`,`xslt`],"application/xspf+xml":[`xspf`],"application/xv+xml":[`mxml`,`xhvml`,`xvml`,`xvm`],"application/yang":[`yang`],"application/yin+xml":[`yin`],"application/zip":[`zip`],"application/zip+dotlottie":[`lottie`],"audio/3gpp":[`*3gpp`],"audio/aac":[`adts`,`aac`],"audio/adpcm":[`adp`],"audio/amr":[`amr`],"audio/basic":[`au`,`snd`],"audio/midi":[`mid`,`midi`,`kar`,`rmi`],"audio/mobile-xmf":[`mxmf`],"audio/mp3":[`*mp3`],"audio/mp4":[`m4a`,`mp4a`,`m4b`],"audio/mpeg":[`mpga`,`mp2`,`mp2a`,`mp3`,`m2a`,`m3a`],"audio/ogg":[`oga`,`ogg`,`spx`,`opus`],"audio/s3m":[`s3m`],"audio/silk":[`sil`],"audio/wav":[`wav`],"audio/wave":[`*wav`],"audio/webm":[`weba`],"audio/xm":[`xm`],"font/collection":[`ttc`],"font/otf":[`otf`],"font/ttf":[`ttf`],"font/woff":[`woff`],"font/woff2":[`woff2`],"image/aces":[`exr`],"image/apng":[`apng`],"image/avci":[`avci`],"image/avcs":[`avcs`],"image/avif":[`avif`],"image/bmp":[`bmp`,`dib`],"image/cgm":[`cgm`],"image/dicom-rle":[`drle`],"image/dpx":[`dpx`],"image/emf":[`emf`],"image/fits":[`fits`],"image/g3fax":[`g3`],"image/gif":[`gif`],"image/heic":[`heic`],"image/heic-sequence":[`heics`],"image/heif":[`heif`],"image/heif-sequence":[`heifs`],"image/hej2k":[`hej2`],"image/ief":[`ief`],"image/jaii":[`jaii`],"image/jais":[`jais`],"image/jls":[`jls`],"image/jp2":[`jp2`,`jpg2`],"image/jpeg":[`jpg`,`jpeg`,`jpe`],"image/jph":[`jph`],"image/jphc":[`jhc`],"image/jpm":[`jpm`,`jpgm`],"image/jpx":[`jpx`,`jpf`],"image/jxl":[`jxl`],"image/jxr":[`jxr`],"image/jxra":[`jxra`],"image/jxrs":[`jxrs`],"image/jxs":[`jxs`],"image/jxsc":[`jxsc`],"image/jxsi":[`jxsi`],"image/jxss":[`jxss`],"image/ktx":[`ktx`],"image/ktx2":[`ktx2`],"image/pjpeg":[`jfif`],"image/png":[`png`],"image/sgi":[`sgi`],"image/svg+xml":[`svg`,`svgz`],"image/t38":[`t38`],"image/tiff":[`tif`,`tiff`],"image/tiff-fx":[`tfx`],"image/webp":[`webp`],"image/wmf":[`wmf`],"message/disposition-notification":[`disposition-notification`],"message/global":[`u8msg`],"message/global-delivery-status":[`u8dsn`],"message/global-disposition-notification":[`u8mdn`],"message/global-headers":[`u8hdr`],"message/rfc822":[`eml`,`mime`,`mht`,`mhtml`],"model/3mf":[`3mf`],"model/gltf+json":[`gltf`],"model/gltf-binary":[`glb`],"model/iges":[`igs`,`iges`],"model/jt":[`jt`],"model/mesh":[`msh`,`mesh`,`silo`],"model/mtl":[`mtl`],"model/obj":[`obj`],"model/prc":[`prc`],"model/step":[`step`,`stp`,`stpnc`,`p21`,`210`],"model/step+xml":[`stpx`],"model/step+zip":[`stpz`],"model/step-xml+zip":[`stpxz`],"model/stl":[`stl`],"model/u3d":[`u3d`],"model/vrml":[`wrl`,`vrml`],"model/x3d+binary":[`*x3db`,`x3dbz`],"model/x3d+fastinfoset":[`x3db`],"model/x3d+vrml":[`*x3dv`,`x3dvz`],"model/x3d+xml":[`x3d`,`x3dz`],"model/x3d-vrml":[`x3dv`],"text/cache-manifest":[`appcache`,`manifest`],"text/calendar":[`ics`,`ifb`],"text/coffeescript":[`coffee`,`litcoffee`],"text/css":[`css`],"text/csv":[`csv`],"text/html":[`html`,`htm`,`shtml`],"text/jade":[`jade`],"text/javascript":[`js`,`mjs`],"text/jsx":[`jsx`],"text/less":[`less`],"text/markdown":[`md`,`markdown`],"text/mathml":[`mml`],"text/mdx":[`mdx`],"text/n3":[`n3`],"text/plain":[`txt`,`text`,`conf`,`def`,`list`,`log`,`in`,`ini`],"text/richtext":[`rtx`],"text/rtf":[`*rtf`],"text/sgml":[`sgml`,`sgm`],"text/shex":[`shex`],"text/slim":[`slim`,`slm`],"text/spdx":[`spdx`],"text/stylus":[`stylus`,`styl`],"text/tab-separated-values":[`tsv`],"text/troff":[`t`,`tr`,`roff`,`man`,`me`,`ms`],"text/turtle":[`ttl`],"text/uri-list":[`uri`,`uris`,`urls`],"text/vcard":[`vcard`],"text/vtt":[`vtt`],"text/wgsl":[`wgsl`],"text/xml":[`*xml`],"text/yaml":[`yaml`,`yml`],"video/3gpp":[`3gp`,`3gpp`],"video/3gpp2":[`3g2`],"video/h261":[`h261`],"video/h263":[`h263`],"video/h264":[`h264`],"video/iso.segment":[`m4s`],"video/jpeg":[`jpgv`],"video/jpm":[`*jpm`,`*jpgm`],"video/mj2":[`mj2`,`mjp2`],"video/mp2t":[`ts`,`m2t`,`m2ts`,`mts`],"video/mp4":[`mp4`,`mp4v`,`mpg4`],"video/mpeg":[`mpeg`,`mpg`,`mpe`,`m1v`,`m2v`],"video/ogg":[`ogv`],"video/quicktime":[`qt`,`mov`],"video/webm":[`webm`]},Object.freeze($L)})))()}var tR,nR,rR,iR,aR;function oR(){return(oR=o((()=>{tR=function(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)},aR=class{constructor(...e){nR.set(this,new Map),rR.set(this,new Map),iR.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,r]of Object.entries(e)){n=n.toLowerCase(),r=r.map(e=>e.toLowerCase()),tR(this,iR,`f`).has(n)||tR(this,iR,`f`).set(n,new Set);let e=tR(this,iR,`f`).get(n),i=!0;for(let a of r){let r=a.startsWith(`*`);if(a=r?a.slice(1):a,e?.add(a),i&&tR(this,rR,`f`).set(n,a),i=!1,r)continue;let o=tR(this,nR,`f`).get(a);if(o&&o!=n&&!t)throw Error(`"${n} -> ${a}" conflicts with "${o} -> ${a}". Pass \`force=true\` to override this definition.`);tR(this,nR,`f`).set(a,n)}}return this}getType(e){if(typeof e!=`string`)return null;let t=e.replace(/^.*[/\\]/s,``).toLowerCase(),n=t.replace(/^.*\./s,``).toLowerCase(),r=t.length<e.length;return!(n.length<t.length-1)&&r?null:tR(this,nR,`f`).get(n)??null}getExtension(e){return typeof e==`string`?(e=e?.split?.(`;`)[0],(e&&tR(this,rR,`f`).get(e.trim().toLowerCase()))??null):null}getAllExtensions(e){return typeof e==`string`?tR(this,iR,`f`).get(e.toLowerCase())??null:null}_freeze(){this.define=()=>{throw Error(`define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances`)},Object.freeze(this);for(let e of tR(this,iR,`f`).values())Object.freeze(e);return this}_getTestState(){return{types:tR(this,nR,`f`),extensions:tR(this,rR,`f`)}}},nR=new WeakMap,rR=new WeakMap,iR=new WeakMap})))()}var sR;function cR(){return(cR=o((()=>{QL(),eR(),oR(),sR=new aR($L,ZL)._freeze()})))()}var lR,uR,dR,fR,pR,mR,hR,gR,_R,vR,yR,bR;function xR(){return(xR=o((()=>{oM(),ZK(),lR=an(!1),uR=an(!1),dR=an(!1),fR=`https://console.cloudinary.com/console/media_library`,pR=new URL(fR).origin,mR=[`cloud_name`,`api_key`,`username`,`timestamp`,`signature`,`integration`,`use_saml`,`saml_iframe_support`],hR=[`integration`,`inline_container`,`z_index`,`multiple`,`max_files`,`default_transformations`,`insert_caption`,`remove_header`,`folder`,`search`,`collection`,`asset`,`transformation`,`sandboxNotAllowedAttributes`,`theme`],gR=e=>{let t=A(GK);if(e??=t,e?.media_libraries&&`cloudinary`in e.media_libraries)return e.media_libraries.cloudinary;if(!e?.media_library)return;let n=e.media_library.name===`cloudinary`,r=!e.media_library.name&&t?.media_library?.name===`cloudinary`;if(n||r)return e.media_library},_R=new Map,vR=e=>{let t=e?JSON.stringify(e):`global`,n=_R.get(t);if(n)return n;let r=gR()||{config:{}},i=gR(e)||{config:{}},a={...r,...i,config:{...r.config,...i.config}};return _R.set(t,a),a},yR=e=>{let t=gR(e)??gR(),{cloud_name:n,api_key:r}=(t?t.config:void 0)??{};return!!(n&&r)},bR={serviceType:`cloud_storage`,serviceId:`cloudinary`,serviceLabel:`Cloudinary`,serviceURL:`https://cloudinary.com/`,showServiceLink:!0,hotlinking:!0,authType:`widget`,developerURL:`https://cloudinary.com/documentation/`,apiKeyURL:`https://console.cloudinary.com/settings/api-keys`,apiKeyPattern:/^[A-Za-z0-9_-]{15,}$/,isEnabled:yR}})))()}var SR,CR,wR,TR,ER,DR,OR,kR,AR,jR;function MR(){return(MR=o((()=>{gM(),nD(),cR(),SR=[`image`,`video`,`audio`],CR=[`image`,`video`],wR=[...SR,`document`,`other`],TR=/\.(?:csv|docx?|odp|ods|odt|pdf|pptx?|rtf|xlsx?)$/i,ER=/^(?<type>image|video|audio)\//,DR=e=>SR.includes(e),OR=e=>{let t=sR.getType(e.path);return DR(e.kind)||t===`application/pdf`||!!t&&pM(t)},kR=async e=>{let t=``;if(typeof e==`string`){if(e.startsWith(`blob:`))try{t=(await(await fetch(e)).blob()).type}catch{}else{if(eD(e)){let{hostname:t,pathname:n}=new URL(e);if(t.startsWith(`images.`))return`image`;e=n}t=sR.getType(e)??``}}else e instanceof Blob&&(t=e.type);if(!t)return;let[n,r]=t.split(`/`);if(DR(n)&&!r.startsWith(`x-`))return n},AR=e=>{let t=sR.getType(e.path);return!!t&&pM(t)},jR=e=>sR.getType(e)?.match(ER)?.groups?.type??(TR.test(e)?`document`:`other`)})))()}var NR,PR,FR,IR,LR,RR,zR,BR,VR,HR,UR;function WR(){return(WR=o((()=>{ed(),oM(),MR(),ZK(),NR=(e,t=A(GK))=>t?.media_libraries?.[e]??(t?.media_library?.name===e?t?.media_library:void 0),PR=async(e,t)=>{let n=new TextEncoder,r=await crypto.subtle.importKey(`raw`,typeof e==`string`?n.encode(e):e,{name:`HMAC`,hash:`SHA-256`},!1,[`sign`]),i=await crypto.subtle.sign(`HMAC`,r,n.encode(t));return new Uint8Array(i)},FR=async e=>{let t=typeof e==`string`?new TextEncoder().encode(e):e,n=await crypto.subtle.digest(`SHA-256`,t);return Array.from(new Uint8Array(n)).map(e=>e.toString(16).padStart(2,`0`)).join(``)},IR=async({method:e,url:t,headers:n,payloadHash:r,accessKeyId:i,secretAccessKey:a,region:o,service:s,date:c})=>{let l=new URL(t),u=c.toISOString().replace(/[:-]|\.\d{3}/g,``),d=u.slice(0,8),f=l.pathname,p=[...l.searchParams.entries()].sort(([e],[t])=>e<t?-1:+(e>t)).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join(`&`),m=Object.entries(n).map(([e,t])=>`${e.toLowerCase()}:${t.trim()}`).sort().join(`
|
|
343
343
|
`),h=Object.keys(n).map(e=>e.toLowerCase()).sort().join(`;`),g=[e,f,p,`${m}\n`,h,r].join(`
|
|
344
344
|
`),_=`AWS4-HMAC-SHA256`,v=`${d}/${o}/${s}/aws4_request`,y=[_,u,v,await FR(g)].join(`
|
|
345
|
-
`),b=await PR(`AWS4${a}`,d),x=await PR(b,o),S=await PR(x,s),C=await PR(S,`aws4_request`),w=await PR(C,y),T=Array.from(w).map(e=>e.toString(16).padStart(2,`0`)).join(``);return[`${_} Credential=${i}/${v},`,`SignedHeaders=${h}, Signature=${T}`].join(` `)},LR=async({method:e,url:t,config:n,secretAccessKey:r,body:i=``,extraHeaders:a={}})=>{let{access_key_id:o,region:s=`us-east-1`}=n,c=new Date,l=new URL(t),u=await FR(i),d={Host:l.host,"x-amz-date":c.toISOString().replace(/[:-]|\.\d{3}/g,``),"x-amz-content-sha256":u,...a},f=await IR({method:e,url:t,headers:d,payloadHash:u,accessKeyId:o,secretAccessKey:r,region:s,service:`s3`,date:c});return fetch(t,{method:e,headers:{...d,Authorization:f},...i&&{body:i}})},RR=e=>{let t=new DOMParser().parseFromString(e,`text/xml`),n=e=>{if(e.children.length===0)return e.textContent;let t={};return Array.from(e.children).forEach(e=>{let r=e.tagName,i=n(e);t[r]?Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i}),t};return n(t.documentElement)},zR=({bucket:e,key:t,endpoint:n,region:r,forcePathStyle:i,publicUrl:a})=>a?`${a}/${t}`:n?`${n}/${e}/${t}`:i?`https://s3.${r}.amazonaws.com/${e}/${t}`:`https://${e}.s3.${r}.amazonaws.com/${t}`,BR=(e,t)=>{let{bucket:n,region:r,endpoint:i,force_path_style:a,prefix:o=``,public_url:s}=t;return e.map(e=>{let t=e.Key,c=t.split(`/`).pop()||t,l=o&&t.startsWith(o)?t.slice(o.length):t,u=zR({bucket:n,key:t,endpoint:i,region:r,forcePathStyle:a,publicUrl:s});return{id:t,description:l,previewURL:u,downloadURL:u,fileName:c,lastModified:new Date(e.LastModified),size:Number(e.Size),kind:jR(t)}})},VR=async(e,t,{maxPages:n=10}={})=>{let{bucket:r,region:i,endpoint:a,force_path_style:o,prefix:s=``}=e,{kind:c,apiKey:l}=t;if(!l)return Promise.reject(Error(`S3 secret access key is required`));let u=[],d;for(let t=0;t<n;t+=1){let t=new URLSearchParams({"list-type":`2`,"max-keys":`1000`,...s&&{prefix:s},...d&&{"continuation-token":d}}),n=a?`${a}/${r}?${t}`:o?`https://s3.${i}.amazonaws.com/${r}?${t}`:`https://${r}.s3.${i}.amazonaws.com/?${t}`,c=await LR({method:`GET`,url:n,config:e,secretAccessKey:l});if(!c.ok){let e=await c.text();return Promise.reject(Error(`Failed to list objects: ${e}`))}let f=await c.text(),p=RR(f),m=(p.Contents?Array.isArray(p.Contents)?p.Contents:[p.Contents]:[]).filter(e=>!e.Key.endsWith(`/`));if(u.push(...m),d=p.NextContinuationToken,p.IsTruncated!==`true`||!d)break;await $u(50)}let f=c?u.filter(e=>jR(e.Key)===c):u;return BR(f,e)},HR=async(e,t,n)=>{let r=await VR(t,n,{maxPages:5}),i=e.toLowerCase();return r.filter(e=>e.fileName.toLowerCase().includes(i)||e.description.toLowerCase().includes(i))},UR=async(e,t,n)=>{if(e.length===0)return[];let{bucket:r,region:i,endpoint:a,force_path_style:o,prefix:s=``}=t,{apiKey:c}=n;if(!c)return Promise.reject(Error(`S3 secret access key is required`));let l=[];for(let n of e){let u=n.name.split(/[/\\]/).filter(Boolean).at(-1)??n.name,d=s?`${s}${u}`:u,f=a?`${a}/${r}/${d}`:o?`https://s3.${i}.amazonaws.com/${r}/${d}`:`https://${r}.s3.${i}.amazonaws.com/${d}`,p=await n.arrayBuffer(),m=await LR({method:`PUT`,url:f,config:t,secretAccessKey:c,body:p,extraHeaders:{"Content-Type":n.type||`application/octet-stream`,...t.acl!==!1&&{"x-amz-acl":t.acl??`public-read`}}});if(!m.ok){let e=await m.text();throw Error(`Failed to upload file ${n.name}: ${e}`)}l.push({Key:d,LastModified:new Date().toISOString(),ETag:``,Size:n.size,ContentType:n.type}),e.length>1&&await $u(50)}return BR(l,t)}})))()}var GR,KR,qR,JR,YR,XR,ZR;function QR(){return(QR=o((()=>{WR(),GR=e=>NR(`aws_s3`,e),KR=e=>{let t=GR(e)??GR();return!!(t&&t.access_key_id&&t.bucket&&t.region)},qR=({fieldConfig:e})=>{let t=GR(e)??GR();if(!t)throw Error(`Amazon S3 configuration is not available`);return t},JR=async e=>VR(qR(e),e),YR=async(e,t)=>HR(e,qR(t),t),XR=async(e,t)=>UR(e,qR(t),t),ZR={serviceType:`cloud_storage`,serviceId:`aws_s3`,serviceLabel:`Amazon S3`,serviceURL:`https://aws.amazon.com/s3/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://docs.aws.amazon.com/s3/`,apiKeyURL:`https://console.aws.amazon.com/iam/home#/security_credentials`,apiKeyPattern:/^[A-Za-z0-9/+=]{40}$/,isEnabled:KR,list:JR,search:YR,upload:XR}})))()}var $R,ez,tz,nz,rz,iz,az;function oz(){return(oz=o((()=>{WR(),$R=e=>NR(`backblaze_b2`,e),ez=e=>{let t=$R(e)??$R();return!!(t&&t.access_key_id&&t.bucket&&t.region)},tz=({fieldConfig:e})=>{let t=$R(e)??$R();if(!t)throw Error(`Backblaze B2 configuration is not available`);return{...t,endpoint:`https://s3.${t.region}.backblazeb2.com`,acl:!1,public_url:t.public_url??`https://${t.bucket}.s3.${t.region}.backblazeb2.com`}},nz=async e=>VR(tz(e),e),rz=async(e,t)=>HR(e,tz(t),t),iz=async(e,t)=>UR(e,tz(t),t),az={serviceType:`cloud_storage`,serviceId:`backblaze_b2`,serviceLabel:`Backblaze B2`,serviceURL:`https://www.backblaze.com/cloud-storage`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://www.backblaze.com/docs/cloud-storage-s3-compatible-api`,apiKeyURL:`https://secure.backblaze.com/app_keys.htm`,apiKeyPattern:/^[A-Za-z0-9/+=]{30,}$/,isEnabled:ez,list:nz,search:rz,upload:iz}})))()}var sz,cz,lz,uz,dz,fz,pz,mz,hz;function gz(){return(gz=o((()=>{WR(),sz={default:``,eu:`eu.`,fedramp:`fedramp.`},cz=({account_id:e,jurisdiction:t=`default`})=>`https://${e}.${sz[t]??``}r2.cloudflarestorage.com`,lz=e=>NR(`cloudflare_r2`,e),uz=e=>{let t=lz(e)??lz();return!!(t&&t.access_key_id&&t.bucket&&t.account_id)},dz=({fieldConfig:e})=>{let t=lz(e)??lz();if(!t)throw Error(`Cloudflare R2 configuration is not available`);return{...t,region:`auto`,endpoint:cz(t)}},fz=async e=>VR(dz(e),e),pz=async(e,t)=>HR(e,dz(t),t),mz=async(e,t)=>UR(e,dz(t),t),hz={serviceType:`cloud_storage`,serviceId:`cloudflare_r2`,serviceLabel:`Cloudflare R2`,serviceURL:`https://www.cloudflare.com/developer-platform/r2/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://developers.cloudflare.com/r2/`,apiKeyURL:`https://dash.cloudflare.com/?to=/:account/r2/api-tokens`,apiKeyPattern:/^[A-Za-z0-9/+=]{40,}$/,isEnabled:uz,list:fz,search:pz,upload:mz}})))()}var _z,vz,yz,bz,xz,Sz,Cz;function wz(){return(wz=o((()=>{WR(),_z=e=>NR(`digitalocean_spaces`,e),vz=e=>{let t=_z(e)??_z();return!!(t&&t.access_key_id&&t.bucket&&t.region)},yz=({fieldConfig:e})=>{let t=_z(e)??_z();if(!t)throw Error(`DigitalOcean Spaces configuration is not available`);return{...t,endpoint:`https://${t.region}.digitaloceanspaces.com`,public_url:t.public_url??`https://${t.bucket}.${t.region}.digitaloceanspaces.com`}},bz=async e=>VR(yz(e),e),xz=async(e,t)=>HR(e,yz(t),t),Sz=async(e,t)=>UR(e,yz(t),t),Cz={serviceType:`cloud_storage`,serviceId:`digitalocean_spaces`,serviceLabel:`DigitalOcean Spaces`,serviceURL:`https://www.digitalocean.com/products/spaces`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://docs.digitalocean.com/products/spaces/`,apiKeyURL:`https://cloud.digitalocean.com/account/api/spaces`,apiKeyPattern:/^[A-Za-z0-9/+=]{43}$/,isEnabled:vz,list:bz,search:xz,upload:Sz}})))()}var Tz,Ez,Dz,Oz,kz,Az,jz;function Mz(){return(Mz=o((()=>{WR(),Tz=e=>NR(`scaleway_object_storage`,e),Ez=e=>{let t=Tz(e)??Tz();return!!(t&&t.access_key_id&&t.bucket&&t.region)},Dz=({fieldConfig:e})=>{let t=Tz(e)??Tz();if(!t)throw Error(`Scaleway Object Storage configuration is not available`);return{...t,endpoint:`https://s3.${t.region}.scw.cloud`,public_url:t.public_url??`https://${t.bucket}.s3.${t.region}.scw.cloud`}},Oz=async e=>VR(Dz(e),e),kz=async(e,t)=>HR(e,Dz(t),t),Az=async(e,t)=>UR(e,Dz(t),t),jz={serviceType:`cloud_storage`,serviceId:`scaleway_object_storage`,serviceLabel:`Scaleway Object Storage`,serviceURL:`https://www.scaleway.com/en/object-storage/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://www.scaleway.com/en/docs/object-storage/`,apiKeyURL:`https://console.scaleway.com/iam/api-keys`,apiKeyPattern:/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/,isEnabled:Ez,list:Oz,search:kz,upload:Az}})))()}var Nz,Pz,Fz,Iz,Lz,Rz,zz,Bz,Vz;function Hz(){return(Hz=o((()=>{WR(),Nz=({project_id:e})=>`https://${e}.storage.supabase.co/storage/v1/s3`,Pz=({project_id:e,bucket:t})=>`https://${e}.supabase.co/storage/v1/object/public/${t}`,Fz=e=>NR(`supabase_storage`,e),Iz=e=>{let t=Fz(e)??Fz();return!!(t&&t.access_key_id&&t.bucket&&t.project_id)},Lz=({fieldConfig:e})=>{let t=Fz(e)??Fz();if(!t)throw Error(`Supabase Storage configuration is not available`);return{...t,endpoint:Nz(t),public_url:t.public_url??Pz(t)}},Rz=async e=>VR(Lz(e),e),zz=async(e,t)=>HR(e,Lz(t),t),Bz=async(e,t)=>UR(e,Lz(t),t),Vz={serviceType:`cloud_storage`,serviceId:`supabase_storage`,serviceLabel:`Supabase Storage`,serviceURL:`https://supabase.com/storage`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://supabase.com/docs/guides/storage`,apiKeyURL:`https://supabase.com/dashboard/project/_/storage/settings`,apiKeyPattern:/^[A-Za-z0-9/+=]{40,}$/,isEnabled:Iz,list:Rz,search:zz,upload:Bz}})))()}var dfe=s(((e,t)=>{function n(e){return e>=55296&&e<=56319}function r(e){return e>=56320&&e<=57343}t.exports=function(e,t,i){if(typeof t!=`string`)throw Error(`Input must be string`);for(var a=t.length,o=0,s,c,l=0;l<a;l+=1){if(s=t.charCodeAt(l),c=t[l],n(s)&&r(t.charCodeAt(l+1))&&(l+=1,c+=t[l]),o+=e(c),o===i)return t.slice(0,l+1);if(o>i)return t.slice(0,l-c.length+1)}return t}})),ffe=s(((e,t)=>{function n(e){return e>=55296&&e<=56319}function r(e){return e>=56320&&e<=57343}t.exports=function(e){if(typeof e!=`string`)throw Error(`Input must be string`);for(var t=e.length,i=0,a=null,o=null,s=0;s<t;s++)a=e.charCodeAt(s),r(a)?o!=null&&n(o)?i+=1:i+=3:a<=127?i+=1:a>=128&&a<=2047?i+=2:a>=2048&&a<=65535&&(i+=3),o=a;return i}})),pfe=s(((e,t)=>{var n=dfe(),r=ffe();t.exports=n.bind(null,r)})),mfe=s(((e,t)=>{var n=pfe(),r=/[\/\?<>\\:\*\|"]/g,i=/[\x00-\x1f\x80-\x9f]/g,a=/^\.+$/,o=/^(con|prn|aux|nul|com[0-9]|lpt[0-9])(\..*)?$/i;function s(e,t){for(var n=e.length;n>0&&(e[n-1]===`.`||e[n-1]===` `);)n--;return n<e.length?e.slice(0,n)+t:e}function c(e,t){if(typeof e!=`string`)throw Error(`Input must be string`);var c=e.replace(r,t).replace(i,t).replace(a,t).replace(o,t);return c=s(c,t),n(c,255)}t.exports=function(e,t){var n=t&&t.replacement||``,r=c(e,n);return n===``?r:c(r,``)}})),Uz,Wz,Gz,Kz,qz,Jz,Yz,Xz,Zz,Qz,$z,eB,tB,nB,rB;function iB(){return(iB=o((()=>{Z(),ud(),gM(),nD(),Uz=l(mfe(),1),RF(),Wz=(e,t)=>RegExp(`^${e.split(`/`).map(t).join(`\\/`)}(?=\\/|$)`),Gz=e=>{let t=e.startsWith(`@`);return t&&(e=e.slice(1)),e=e.split(`/`).map(e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)).join(`/`),t?`@${e}`:e},Kz=e=>decodeURIComponent(e),qz=new Map,Jz=e=>{let t=Lu.current,n=qz.get(t);n||(n=new Intl.NumberFormat(t,{maximumFractionDigits:1}),qz.set(t,n));let r=1e3,i=r*1e3,a=i*1e3,o=a*1e3;return e<r?X(`file_size_units.b`,{values:{size:n.format(e)}}):e<i?X(`file_size_units.kb`,{values:{size:n.format(e/r)}}):e<a?X(`file_size_units.mb`,{values:{size:n.format(e/i)}}):e<o?X(`file_size_units.gb`,{values:{size:n.format(e/a)}}):X(`file_size_units.tb`,{values:{size:n.format(e/o)}})},Yz=(e,t)=>{if(!t.length)return e;let{filename:n,extension:r}=mM(e),i=RegExp(`^${XE(n)}(?:-(?<num>\\d+?))?${r?`\\.${r}`:``}$`),a=t.sort((e,t)=>tD(e.split(`.`)[0],t.split(`.`)[0])).findLast(e=>i.test(e));return a?`${n}-${Number(a.match(i)?.groups?.num??0)+1}${r?`.${r}`:``}`:e},Xz=(e,{slugificationEnabled:t=!1,assetNamesInSameFolder:n=[]}={})=>{let r=(0,Uz.default)(e.normalize().replace(/[\s\u00A0\u202F]+/g,` `));if(t){let{filename:e,extension:t}=mM(r);r=`${LF(e)}${t?`.${t.toLowerCase()}`:``}`}return Yz(r,n)},Zz=[[`jpg`,`jpeg`,`jpe`,`jfif`],[`tif`,`tiff`],[`htm`,`html`],[`yml`,`yaml`],[`md`,`markdown`],[`mpg`,`mpeg`],[`mid`,`midi`],[`aif`,`aiff`]],Qz=(e,t)=>{let n=e?.toLowerCase()??``,r=t?.toLowerCase()??``;return n===r||Zz.some(e=>e.includes(n)&&e.includes(r))},$z=e=>e.filter(Boolean).join(`/`),eB=e=>e.split(`/`).filter(e=>e!==`.`&&e!==`..`).join(`/`),tB=e=>{let t=e.split(`/`),n=!1;return t.forEach((e,r)=>{if(e===`.`||e===`..`){if(n&&(t[r]=null,e===`..`)){let e=t.findLastIndex((e,t)=>!!e&&t<r);e>-1&&(t[e]=null)}}else n=!0}),$z(t)},nB=e=>typeof e==`string`?new Blob([e],{type:`text/plain`}):e,rB=async e=>{let t=await nB(e).arrayBuffer();return ld(new Blob([`blob ${t.byteLength}\0`,t]))}})))()}var aB,oB,sB,cB,lB,uB,dB,fB,pB,mB;function hB(){return(hB=o((()=>{ed(),oM(),ZK(),iB(),aB=(e=A(GK))=>e?.media_libraries?.uploadcare??(e?.media_library?.name===`uploadcare`?e?.media_library:void 0),oB=e=>{let t=aB(e)??aB();return t?t.config?.publicKey:void 0},sB=e=>!!oB(e),cB=(e,{fieldConfig:t}={})=>{let{settings:{autoFilename:n=!1,defaultOperations:r=void 0}={},config:{cdnBase:i=void 0}={}}=(aB(t)??aB())||{};return e.map(e=>{let{uuid:t,original_filename:a,original_file_url:o,mime_type:s,datetime_uploaded:c,size:l}=e,u=`${new URL(i??o).origin}/${t}/`,d=s.startsWith(`image/`),f=s.startsWith(`video/`);return{id:t,description:a,previewURL:`${u}${d?`-/preview/400x400/`:``}`,downloadURL:`${u}${d&&r?`-${r}`:``}${n?a:``}`,fileName:a,lastModified:new Date(c),size:l,kind:d?`image`:f?`video`:`other`}})},lB=async(e,{maxPages:t=10,filter:n}={})=>{let{kind:r,fieldConfig:i,apiKey:a}=e,o=oB(i);if(!o)return Promise.reject(Error(`Uploadcare public key is not configured`));let s={Accept:`application/vnd.uploadcare-v0.7+json`,Authorization:`Uploadcare.Simple ${o}:${a}`},c=new URLSearchParams({limit:`100`,ordering:`-datetime_uploaded`,stored:`true`}),l=[],u=`https://api.uploadcare.com/files/?${c}`;for(let e=0;e<t&&u;e+=1){let e=await fetch(u,{headers:s});if(!e.ok)return Promise.reject(Error(`Failed to fetch files: ${e.statusText}`));let t=await e.json(),{results:i}=t;if(r===`image`&&(i=i.filter(e=>e.is_image)),n&&(i=i.filter(n)),l.push(...i),u=t.next,!u)break;await $u(50)}return cB(l,{fieldConfig:i})},uB=async e=>lB(e),dB=async(e,t)=>{let n=e.toLowerCase();return lB(t,{filter:e=>e.original_filename.toLowerCase().includes(n)})},fB=async(e,t)=>{let n=new TextEncoder,r=n.encode(String(t)),i=n.encode(e),a=await crypto.subtle.importKey(`raw`,i,{name:`HMAC`,hash:`SHA-256`},!1,[`sign`]),o=await crypto.subtle.sign(`HMAC`,a,r);return Array.from(new Uint8Array(o)).map(e=>e.toString(16).padStart(2,`0`)).join(``)},pB=async(e,t)=>{if(e.length===0)return[];let{fieldConfig:n,apiKey:r}=t,i=oB(n);if(!i)return Promise.reject(Error(`Uploadcare public key is not configured`));if(!r)return Promise.reject(Error(`Uploadcare secret key is not provided`));let a=Math.floor(Date.now()/1e3)+1800,o=await fB(r,a),s=new FormData;s.append(`UPLOADCARE_PUB_KEY`,i),s.append(`UPLOADCARE_STORE`,`1`),s.append(`signature`,o),s.append(`expire`,String(a)),e.forEach(e=>{s.append(Xz(e.name),e)});let c=await fetch(`https://upload.uploadcare.com/base/`,{method:`POST`,body:s});if(!c.ok)throw Error(`Failed to upload files: ${c.statusText}`);let l=await c.json(),u=Object.entries(l).filter(([e])=>!e.startsWith(`UPLOADCARE_`)).map(([t,n])=>{let r=e.find(e=>e.name===t),i=r?.type||`application/octet-stream`,a=i.startsWith(`image/`);return{uuid:n,original_filename:t,original_file_url:`https://ucarecdn.com/${n}/${t}`,size:r?.size||0,mime_type:i,is_image:a,is_ready:!0,content_info:null,datetime_uploaded:new Date().toISOString(),datetime_stored:new Date().toISOString(),datetime_removed:null}});return cB(u,{fieldConfig:n})},mB={serviceType:`cloud_storage`,serviceId:`uploadcare`,serviceLabel:`Uploadcare`,serviceURL:`https://uploadcare.com/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://uploadcare.com/docs/`,apiKeyURL:`https://app.uploadcare.com/projects/-/api-keys/`,apiKeyPattern:/^[a-f0-9]{20}$/,isEnabled:sB,list:uB,search:dB,upload:pB}})))()}var gB,_B;function vB(){return(vB=o((()=>{xR(),QR(),oz(),gz(),wz(),Mz(),Hz(),hB(),gB={aws_s3:ZR,backblaze_b2:az,cloudflare_r2:hz,cloudinary:bR,digitalocean_spaces:Cz,scaleway_object_storage:jz,supabase_storage:Vz,uploadcare:mB},_B=Object.keys(gB)})))()}var yB,bB,xB,SB,CB,wB,TB,EB,DB,OB,kB,AB,jB,MB;function NB(){return(NB=o((()=>{yB=`@sveltia/cms`,bB=`0.186.0`,xB=`Sveltia CMS is a modern, lightweight, Git-based headless content management system.`,SB=[`svelte`,`cms`,`content-management-system`],CB=`https://sveltiacms.app/en/`,wB={type:`git`,url:`git+https://github.com/sveltia/sveltia-cms.git`},TB={type:`github`,url:`https://github.com/sponsors/kyoshino`},EB={name:`Kohei Yoshino`,url:`https://github.com/kyoshino`},DB=`module`,OB={build:`vite build`,"build:watch":`vite build --watch`,check:`pnpm run '/^check:.*/'`,"check:audit":`pnpm audit --ignore-registry-errors`,"check:cspell":`cspell --no-progress`,"check:eslint":`eslint .`,"check:imports":`node scripts/find-unused-imports.js`,"check:oxlint":`oxlint .`,"check:prettier":`prettier --check .`,"check:stylelint":`stylelint '**/*.{css,scss,svelte}'`,"check:svelte":`svelte-check`,dev:`vite`,format:`prettier --write .`,prepublishOnly:`vite build`,preview:`vite preview`,test:`NODE_OPTIONS=--no-experimental-webstorage vitest run`,"test:coverage":`NODE_OPTIONS=--no-experimental-webstorage vitest run --coverage`,"test:watch":`NODE_OPTIONS=--no-experimental-webstorage vitest`},kB={"@jsquash/webp":`^1.5.0`,"@lexical/markdown":`^0.49.0`,"@sindresorhus/transliterate":`^2.3.1`,"@sveltia/i18n":`^1.1.3`,"@sveltia/ui":`^0.60.0`,"@sveltia/utils":`^0.12.0`,"create-react-class":`^15.7.0`,dayjs:`^1.11.21`,deepmerge:`^4.3.1`,exifr:`^7.1.3`,"fast-deep-equal":`^3.1.3`,flat:`^6.0.1`,immutable:`^5.1.9`,"isomorphic-dompurify":`^3.22.0`,leaflet:`^1.9.4`,lexical:`^0.49.0`,marked:`^18.0.9`,"marked-bidi":`^1.0.15`,mime:`^4.1.0`,"parse-entities":`^4.0.2`,"pdfjs-dist":`^6.2.108`,qrcode:`^1.5.4`,react:`^19.2.8`,"react-dom":`^19.2.8`,"sanitize-filename":`^1.6.4`,"smol-toml":`^1.7.1`,svgo:`^4.0.2`,"terra-draw":`^1.32.3`,"terra-draw-leaflet-adapter":`1.0.3`,turndown:`^7.2.4`,yaml:`^2.9.0`},AB={"@stylistic/eslint-plugin":`^5.10.0`,"@sveltejs/vite-plugin-svelte":`^7.3.0`,"@types/leaflet":`^1.9.22`,"@types/node":`^26.2.0`,"@types/qrcode":`^1.5.6`,"@types/react":`^19.2.18`,"@types/react-dom":`^19.2.4`,"@vitest/coverage-v8":`^4.1.10`,cspell:`^10.0.1`,eslint:`^9.39.5`,"eslint-config-airbnb-extended":`^3.2.0`,"eslint-config-prettier":`^10.1.8`,"eslint-plugin-jsdoc":`^64.0.2`,"eslint-plugin-package-json":`^1.7.0`,"eslint-plugin-svelte":`^3.22.0`,"eslint-plugin-unused-imports":`^4.4.1`,globals:`^17.9.0`,oxlint:`^1.78.0`,"postcss-html":`^2.0.0`,prettier:`^3.9.6`,"prettier-plugin-svelte":`^4.1.1`,sonda:`^0.14.0`,stylelint:`^17.14.1`,"stylelint-config-recommended":`^18.0.0`,svelte:`^5.56.8`,"svelte-check":`^4.7.5`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.3`,vite:`^8.2.1`,vitest:`^4.1.10`},jB={directory:`package`,access:`public`,provenance:!0},MB={name:yB,version:bB,description:xB,keywords:SB,homepage:CB,repository:wB,funding:TB,license:`MIT`,author:EB,type:DB,scripts:OB,dependencies:kB,devDependencies:AB,publishConfig:jB}})))()}var PB,FB,IB;function LB(){return(LB=o((()=>{NB(),{dependencies:PB,version:FB}=MB,IB=`https://unpkg.com/@sveltia/cms`})))()}var RB,zB;function BB(){return(BB=o((()=>{LB(),AD(),RB=e=>{let t=`https://unpkg.com/${e}`,n=PB[e]?.replace(/^\D/,``);return n?`${t}@${n}`:t},zB=async(e,t)=>kD(()=>import(`${RB(e)}/${t}`),[])})))()}var VB,HB,UB,WB,GB,KB,qB,JB;function YB(){return(YB=o((()=>{VB=[`avif`,`gif`,`jpeg`,`png`,`webp`],HB=VB.map(e=>`image/${e}`),UB=/\b(?:avif|gif|jpe?g|png|webp)$/i,WB=[`svg`],GB=[`image/svg+xml`],KB=/\b(?:svg)$/i,[...VB,...WB],qB=[...HB,...GB],JB=[`webp`]})))()}var XB,ZB,QB;function $B(){return($B=o((()=>{BB(),YB(),XB={},ZB=async e=>{if(e in XB)return XB[e];let t=`image/${e}`,n=new OffscreenCanvas(1,1);n.getContext(`2d`);let r=(await n.convertToBlob({type:t})).type===t;return XB[e]=r,r},QB=async(e,{format:t=`webp`,quality:n=85}={})=>{let r=`image/${t}`;if(!await ZB(t)&&JB.includes(t)){let i=e.getContext(`2d`).getImageData(0,0,e.width,e.height);try{let e=(await zB(`@jsquash/${t}`,`encode.js?module`)).default,a=await e(i,{quality:n});return new Blob([a],{type:r})}catch{}}return e.convertToBlob({type:r,quality:n/100})}})))()}var eV,tV;function nV(){return(nV=o((()=>{eV=({width:e,height:t},{width:n=e,height:r=t,fit:i=`scale-down`}={})=>{let a={scale:1,width:e,height:t};if(e===n&&t===r)return a;let o=e<=n&&t<=r,s=1,c=0,l=0;if(i===`scale-down`){if(o)return a;i=`contain`}return i===`contain`&&(s=Math.min(n/e,r/t),c=e*s,l=t*s),{scale:s,width:c,height:l}},tV=(e,t,n)=>{let{scale:r,width:i,height:a}=eV(t,n);return e.width=i,e.height=a,{scale:r,width:i,height:a}}})))()}var rV,iV,aV,oV,sV,cV;function lV(){return(lV=o((()=>{BB(),$B(),nV(),rV={format:`webp`,quality:85,width:512,height:512,fit:`contain`},iV=async({blob:e})=>{let t=URL.createObjectURL(e),n=new Image;return new Promise((e,r)=>{n.addEventListener(`load`,()=>{e({source:n,naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}),URL.revokeObjectURL(t)},{once:!0}),n.addEventListener(`error`,()=>{URL.revokeObjectURL(t),r(Error(`Failed to decode image`))},{once:!0}),n.src=t})},aV=async({blob:e})=>{let t=URL.createObjectURL(e),n=document.createElement(`video`);return new Promise((e,r)=>{n.addEventListener(`canplay`,()=>{n.pause(),e({source:n,naturalWidth:n.videoWidth,naturalHeight:n.videoHeight}),URL.revokeObjectURL(t)},{once:!0}),n.addEventListener(`error`,()=>{document.body.removeChild(n),URL.revokeObjectURL(t),r(Error(`Failed to decode video`))},{once:!0}),n.muted=!0,n.autoplay=!0,n.playsInline=!0,n.style.opacity=`0`,n.style.pointerEvents=`none`,document.body.appendChild(n),n.src=t})},oV=async e=>e.type.startsWith(`video/`)?aV({blob:e}):iV({blob:e}),sV=async(e,{format:t=`png`,quality:n=85,width:r=void 0,height:i=void 0,fit:a=`scale-down`}={})=>{let o,s=0,c=0;try{o=await createImageBitmap(e),{width:s,height:c}=o}catch{({source:o,naturalWidth:s,naturalHeight:c}=await oV(e))}r??=s,i??=c;let l=new OffscreenCanvas(512,512),u=l.getContext(`2d`);return tV(l,{width:s,height:c},{fit:a,width:r,height:i}),u.drawImage(o,0,0,l.width,l.height),o instanceof HTMLVideoElement&&document.body.removeChild(o),QB(l,{format:t,quality:n})},cV=async e=>{let t=await e.text();try{let{optimize:n}=await zB(`svgo`,`dist/svgo.browser.js`),{data:r}=n(t);return new Blob([r],{type:e.type})}catch{}return e}})))()}var uV,dV,fV,pV,mV,hV;function gV(){return(gV=o((()=>{BB(),$B(),nV(),AD(),uV=RB(`pdfjs-dist`),dV=`${uV}/build/pdf.min.mjs`,fV=`${uV}/build/pdf.worker.min.mjs`,pV={isEvalSupported:!1,disableAutoFetch:!0,cMapUrl:`${uV}/cmaps/`,iccUrl:`${uV}/iccs/`,standardFontDataUrl:`${uV}/standard_fonts/`,wasmUrl:`${uV}/wasm/`},hV=async(e,{format:t=`png`,quality:n=85,width:r=void 0,height:i=void 0,fit:a=`scale-down`}={})=>{if(!mV)try{mV=await kD(()=>import(dV),[]),mV.GlobalWorkerOptions.workerSrc=fV}catch{throw Error(`Failed to load PDF.js library`)}let o=URL.createObjectURL(e),s=new OffscreenCanvas(512,512),c=s.getContext(`2d`);try{let e=await(await mV.getDocument({...pV,url:o}).promise).getPage(1),t=e.getViewport({scale:1}),{scale:n}=tV(s,{width:t.width,height:t.height},{width:r,height:i,fit:a});await e.render({canvasContext:c,viewport:n===1?t:e.getViewport({scale:n})}).promise,URL.revokeObjectURL(o)}catch{throw Error(`Failed to render PDF`)}return QB(s,{format:t,quality:n})}})))()}var _V,vV,yV,bV,xV,SV,CV,wV,TV,EV,DV,OV,kV;function AV(){return(AV=o((()=>{gM(),ed(),cM(),nD(),cR(),oM(),kq(),AM(),JZ(),xM(),ZK(),vB(),xR(),iB(),lV(),gV(),_V=/^(?:https?|data|blob):/,vV=new Set,yV=async(e,t=0)=>{let{file:n,handle:r,blobURL:i,name:a,path:o}=e;if(i)return fetch(i).then(e=>e.blob());let s;if(n)s=n;else if(r)try{s=await r.getFile()}catch{throw Error(`Failed to retrieve blob from file handle`)}else{if(vV.has(o)&&t<=25)return await $u(200),yV(e,t+1);vV.add(o);let n=await A(KZ)?.fetchBlob?.(e);if(!n)throw Error(`Failed to retrieve blob`);s=new Blob([n],{type:sR.getType(a)??n.type})}return e.blobURL=URL.createObjectURL(s),vV.delete(o),s},bV=async e=>(e.blobURL||await yV(e),e.blobURL),xV=void 0,SV=new Map,CV=()=>{if(xV===void 0){let{databaseName:e}=A(KZ)?.repository??{};xV=e?new sM(e,`asset-thumbnails`):null}},wV=async(e,t)=>{let n=await xV?.get(e.sha);if(!n){let r=await yV(e);n=await(t?hV:sV)(r,rV),await xV?.set(e.sha,n)}return n},TV=async(e,{cacheOnly:t=!1}={})=>{let n=e.name.endsWith(`.pdf`);if(!([`image`,`video`].includes(e.kind)||n))return;CV();let{sha:r}=e,i=SV.get(r);if(!i){if(t){let e=await xV?.get(r);return e?URL.createObjectURL(e):void 0}i=wV(e,n).finally(()=>{SV.delete(r)}),SV.set(r,i)}let a=await i;return a?URL.createObjectURL(a):void 0},EV=({blobURL:e})=>{window.requestAnimationFrame(()=>{e&&!document.querySelector(`[src="${e}"]`)&&(URL.revokeObjectURL(e),delete A(cq).find(t=>t.blobURL===e)?.blobURL)})},DV=(e,{pathOnly:t=!1,allowSpecial:n=!1,entry:r=void 0}={})=>{let{publicPath:i,entryRelative:a,hasTemplateTags:o}=e.folder.collectionName===void 0?e.folder:OM(e.path).find(({collectionName:e})=>e!==void 0)??A(CM);if(a){if(t){let t=mM(e.path).dirname,n=r?mM(Object.values(r.locales)[0].path).dirname:void 0;if(t!==void 0&&n!==void 0){if(t===n)return e.name;let r=`${n}/`;return e.path.startsWith(r)?e.path.slice(r.length):void 0}let{internalPath:i,internalSubPath:a}=e.folder;if(e.path===$z([i,a,e.name]))return e.path.slice(i.length+1)}return}let{_baseURL:s=``,output:{encode_file_path:c=!1}={}}=A(GK),l=o?e.path.replace(Wz(e.folder.internalPath??``,e=>{let t=e.match(yM)?.[1];return t?`(?<${t}>[^/]+)`:XE(e)}),i?.replaceAll(Jce,`$<$1>`)??``):e.path.replace(e.folder.internalPath??``,i===`/`?``:i??``);if(c&&(l=Gz(l)),!(!l.startsWith(`/`)&&!n))return t?l:`${s}${l}`},OV=e=>{if(gB.cloudinary?.isEnabled?.()){let t=vR(e);if(t.output_filename_only&&t.config?.cloud_name)return`https://res.cloudinary.com/${t.config.cloud_name}`}},kV=async({value:e,entry:t,collectionName:n,fileName:r,componentName:i,fieldConfig:a,typedKeyPath:o,thumbnail:s=!1})=>{if(!e)return;if(_V.test(e))return e;if(Cq(e)){let t=OV(a);if(t)return`${t}/${e}`}let c=wq({value:e,entry:t,collectionName:n,fileName:r,componentName:i,typedKeyPath:o});if(c)return(s?await TV(c):await bV(c))??DV(c)}})))()}var jV,MV,NV,PV,FV,IV,LV,RV,zV;function BV(){return(BV=o((()=>{kF(),jV=l(WF(),1),MV=l(GF(),1),NV=l(KF(),1),PV=l(qF(),1),oM(),JZ(),tW(),ZK(),bL(),dL(),OI(),ZF(),XL(),jV.default.extend(MV.default),jV.default.extend(NV.default),jV.default.extend(PV.default),FV=/{{(?:year|month|day|hour|minute|second)}}/,IV=e=>yL(Object.values(e.locales)[0].path).map(({collectionName:e})=>cL(e)).filter(e=>!!e),LV=({dateFieldName:e,fields:t,content:n})=>{let r=e?t.find(({widget:t,name:n})=>t===`datetime`&&n===e):t.find(({widget:e})=>e===`datetime`),i=r?n[r.name]:void 0;if(!r||!i)return;let a=r,o=GL(i,a);if(!VL(o))return;let{utc:s,outputUTC:c}=XF(a);return OF({date:o,timeZone:s||c?`UTC`:void 0})},RV=(e,t,n,r)=>{let{show_preview_links:i=!0,_baseURL:a}=A(GK)??{},{slug:o,path:s,content:c}=e.locales[t]??{},{preview_path:l,preview_path_date_field:u,fields:d=[],_i18n:{defaultLocale:f,omitDefaultLocaleFromPreviewPath:p}}=r??n;if(!i||!a||!s||!c||!l)return;let m=DI(n,e),h=(m?EI(n):void 0)?.fields??d,g;if(FV.test(l)&&(g=LV({dateFieldName:u,fields:h,content:c}),!g))return;let _=l;t===f&&p&&(_=_.replace(/{{locale}}[./]/,``));try{let e=eW(_,{type:`preview_path`,collection:n,content:c,locale:t,currentSlug:o,entryFilePath:s,dateTimeParts:g,isIndexFile:m});return`${a.replace(/\/$/,``)}/${e.replace(/^\//,``)}`}catch{return}},zV=(e,t)=>`${A(KZ)?.repository?.blobBaseURL}/${e.locales[t]?.path}?plain=1`})))()}var VV,HV;function UV(){return(UV=o((()=>{VV=/^\/?(?<pattern>.+?)(?:\/(?<flags>[dgimsuy]*))?$/,HV=e=>{if(e instanceof RegExp)return e;if(typeof e==`string`){let{pattern:t,flags:n}=e.match(VV)?.groups??{};if(t)try{return new RegExp(t,n)}catch{}}}})))()}var WV,GV,KV,qV,JV,YV,XV;function ZV(){return(ZV=o((()=>{oM(),AV(),ZK(),bL(),dL(),OI(),lI(),BV(),AU(),pI(),UV(),WV=/!\[.*?\]\((.+?)(?:\s+".*?")?\)/g,GV=an([]),KV=on(GV,e=>new Set(e.map(e=>e.id))),qV=e=>{let t=cL(e);if(!t)return[];let{_type:n,_i18n:{defaultLocale:r}}=t,{filter:i}=n===`entry`?t:{},a=i?.field,o=HV(i?.pattern),s=i?.value===void 0?[]:Array.isArray(i.value)?i.value:[i.value],c;if(n===`entry`){let n=t._file?.fullPathRegEx;c=n?e=>n.test(Object.values(e.locales)[0]?.path??``):t=>IV(t).some(({name:t})=>t===e)}else{let t=new Set(A(mL).filter(({collectionName:t})=>t===e).flatMap(({filePathMap:e})=>e?Object.values(e):[]));c=e=>{let n=Object.values(e.locales)[0]?.path;return!!n&&t.has(n)}}return A(hL).filter(t=>{if(!c(t))return!1;if(!a)return!0;let n=TU({entry:t,locale:r,collectionName:e,key:a})??null;return o?o.test(n):s.includes(n)})},JV=async({assetURL:e,newURL:t,collectionName:n,entry:r,content:i,keyPath:a,value:o,isIndexFile:s,collectionFile:c})=>{let l=c?.name,u=vU({collectionName:n,fileName:l,valueMap:i,keyPath:a,isIndexFile:s});if(!u)return!1;let d=e.startsWith(`blob:`),f={entry:r,collectionName:n,fileName:l},{widget:p=`string`}=u;if(dI.includes(p)){let n=d?await kV({...f,value:o})===e:o===e;return n&&t&&(i[a]=t),n}if([`richtext`,`markdown`].includes(p)){let n=[...o.matchAll(WV)];if(n.length)return(await Promise.all(n.map(async([,n])=>{let r=(d?await kV({...f,value:n}):n)===e;return r&&t&&(i[a]=i[a].replace(n,t)),r}))).some(Boolean)}return!1},YV=async(e,{entries:t=A(hL),newURL:n=``}={})=>{let r=A(GK)?._baseURL,i=r&&!e.startsWith(`blob:`)?e.replace(r,``):e,a=i.startsWith(`blob:`),o=!!n,s=await Promise.all(t.map(async e=>{let{locales:t}=e,r=IV(e),s=!1;for(let{content:c}of Object.values(t)){for(let[t,l]of Object.entries(c))if(!(typeof l!=`string`||!l)&&!(!a&&!l.includes(i))){for(let a of r){let r={assetURL:i,newURL:n,collectionName:a.name,entry:e,content:c,keyPath:t,value:l,isIndexFile:DI(a,e)},u=oI(a,e),d;if(d=u.length?(await Promise.all(u.map(e=>JV({...r,collectionFile:e})))).includes(!0):await JV({...r}),d&&(s=!0,!o))break}if(s&&!o)break}if(s&&!o)break}return s}));return t.filter((e,t)=>s[t])},XV=e=>{let t=EI(e);return t?!qV(e.name).some(({slug:e})=>e===t.name):!1}})))()}var QV,$V,eH,tH,nH;function rH(){return(rH=o((()=>{QV=new WeakMap,$V=e=>{let t=QV.get(e);if(t)return t;let n=new Map;return e.forEach(({value:e,label:t})=>{n.has(e)||n.set(e,t)}),QV.set(e,n),n},eH=new WeakMap,tH=0,nH=e=>(eH.has(e)||(eH.set(e,tH),tH+=1),eH.get(e))})))()}var iH,aH;function oH(){return(oH=o((()=>{tW(),iH=e=>QU(e)?e:e===`slug`?`{{fields.slug}}`:`{{${e}}}`,aH=e=>{if(!e||e.widget!==`list`)return!1;let t=`fields`in e,n=`types`in e;return t||n}})))()}var sH,cH,lH,uH;function dH(){return(dH=o((()=>{yO(),tW(),HU(),oH(),sH=(e,t,n)=>{let{slug:r,locale:i,getDisplayValue:a}=t,{content:o,locales:s,defaultLocale:c,identifierField:l}=n;if(e===`slug`)return r;if(e===`locale`)return i;let u=e.replace(/^fields\./,``);return a(u)||a(u,c)||NU(o,{identifierField:l})||NU(s[c]?.content||{},{identifierField:l})||r},cH=(e,t,n,r)=>{let{label:i,value:a,searchValue:o}=e;return t.forEach(e=>{let t=sH(e,n,r);i=i.replaceAll(`{{${e}}}`,t),a=a.replaceAll(`{{${e}}}`,t),o=o?.replaceAll(`{{${e}}}`,t)??``}),{label:i,value:a,searchValue:o}},lH=e=>{let t=[];return ZU(e,(e,n)=>(t.push(n),``)),t},uH=(e,t)=>{let n=e.value_field,r=e.display_fields??[n??`{{${t}}}`],i=e.search_fields??r,a=iH(n??`{{slug}}`),o=r.map(iH).join(` `),s=i.map(iH).join(` `),c=vO([...lH(o),...lH(a),...lH(s)]);return{_valueField:a,_displayField:o,_searchField:s,allFieldNames:c,hasListFields:c.some(e=>e.includes(`*`))}}})))()}var fH,pH,mH,hH,gH,_H,vH,yH,bH;function xH(){return(xH=o((()=>{nD(),AU(),oH(),dH(),IF(),fH=/\.(\d+)$/,pH=(e,t)=>{let n=new Map,r=new Map;return e.filter(e=>e.includes(`*`)).forEach(e=>{let r=e.replace(/\.\*.*$/,``),i=vU({...t,keyPath:r});n.set(e,{baseFieldName:r,fieldConfig:i,isComplexListField:aH(i)})}),[...n.entries()].forEach(([e,t])=>{let{baseFieldName:n}=t;r.has(n)||r.set(n,[]),r.get(n).push([e,t])}),r},mH=new Map,hH=({baseFieldName:e,groupEntries:t,content:n,templates:r,allFieldNames:i,context:a,fallbackContext:o})=>{let{_displayField:s,_valueField:c,_searchField:l}=r,u=FF(mH,e,()=>RegExp(`^${XE(e)}.\\d+$`));return Object.entries(n).filter(([e])=>u.test(e)).map(([e,t])=>{let n=e.match(fH);return{index:parseInt(n[1],10),value:t}}).sort((e,t)=>e.index-t.index).map(({value:e})=>{let n={label:s,value:c,searchValue:l};t.forEach(([t])=>{n.label=n.label.replaceAll(`{{${t}}}`,e),n.value=n.value.replaceAll(`{{${t}}}`,e),n.searchValue=n.searchValue.replaceAll(`{{${t}}}`,e)});let{label:r,value:u,searchValue:d}=cH(n,i.filter(e=>!e.includes(`*`)),a,o);return{label:r||``,value:u||a.slug,searchValue:d||r||``}})},gH=/^(.+)\.\*\.(.+)$/,_H=new Map,vH=e=>{let t=null;return e.some(([e])=>(t=e.match(gH),!!t)),t},yH=({groupEntries:e,content:t,templates:n,allFieldNames:r,context:i,fallbackContext:a})=>{let[,o,s]=vH(e)??[];if(!o)return[];let c=`${o}:${s}`,l=FF(_H,c,()=>{let e=XE(o),t=XE(s);return RegExp(`^${e}.([0-9]+).${t}$`)}),u=Object.entries(t).filter(([e])=>l.test(e)).map(([e,t])=>{let n=e.match(l);return{index:parseInt(n[1],10),value:t}}).sort((e,t)=>e.index-t.index),{_displayField:d,_valueField:f,_searchField:p}=n;return u.map(({index:n})=>{let o={label:d,value:f,searchValue:p};e.forEach(([e])=>{let r=e.match(gH);if(r){let[,i,a]=r,s=t[`${i}.${n}.${a}`]||``;o.label=o.label.replaceAll(`{{${e}}}`,s),o.value=o.value.replaceAll(`{{${e}}}`,s),o.searchValue=o.searchValue.replaceAll(`{{${e}}}`,s)}});let{label:s,value:c,searchValue:l}=cH(o,r.filter(e=>!e.includes(`*`)),i,a);return{label:s||``,value:c||i.slug,searchValue:l||s||``}})},bH=({baseFieldGroups:e,content:t,templates:n,allFieldNames:r,context:i,fallbackContext:a})=>{let o=[],s=!1;return e.forEach((e,c)=>{if(e.length===0)return;let[,l]=e[0],u={groupEntries:e,content:t,templates:n,allFieldNames:r,context:i,fallbackContext:a},d=l.isComplexListField?yH({...u}):hH({...u,baseFieldName:c});o.push(...d),s=!0}),{results:o,hasProcessedListFields:s}}})))()}var SH;function CH(){return(CH=o((()=>{HU(),dH(),SH=({templates:e,allFieldNames:t,context:n,fallbackContext:r})=>{let{slug:i}=n,{_displayField:a,_valueField:o,_searchField:s}=e,{content:c,locales:l,defaultLocale:u,identifierField:d}=r,f=Object.fromEntries(t.map(e=>[e,sH(e,n,r)])),p=a,m=o,h=s;return Object.entries(f).forEach(([e,t])=>{p=p.replaceAll(`{{${e}}}`,t),m=m.replaceAll(`{{${e}}}`,t),h=h.replaceAll(`{{${e}}}`,t)}),(!p||p.trim()===``)&&(p=NU(c,{identifierField:d})||NU(l[u]?.content||{},{identifierField:d})||i),{label:p||``,value:m||i,searchValue:h||p||``}}})))()}var wH;function TH(){return(TH=o((()=>{OI(),AU(),xH(),CH(),dH(),wH=({refEntry:e,content:t,collection:n,templates:r,allFieldNames:i,hasListFields:a,collectionName:o,fileName:s,locale:c,identifierField:l,defaultLocale:u})=>{let{slug:d,locales:f}=e,p={collectionName:o,fileName:s,isIndexFile:DI(n,e),keyPath:``},m={slug:d,locale:c,getDisplayValue:(e,n)=>CU({...p,keyPath:e,valueMap:n?f[n].content:t,locale:n??c})},h={content:t,locales:f,defaultLocale:u,identifierField:l};if(!a)return[SH({templates:r,allFieldNames:i,context:m,fallbackContext:h})];let g=pH(i,p),{results:_,hasProcessedListFields:v}=bH({baseFieldGroups:g,content:t,templates:r,allFieldNames:i,context:m,fallbackContext:h});if(v)return _;let{_displayField:y,_valueField:b,_searchField:x}=r,{label:S,value:C,searchValue:w}=cH({label:y,value:b,searchValue:x},i.filter(e=>!e.includes(`*`)),m,h);return[{label:S||``,value:C||d,searchValue:w||S||``}]}})))()}var EH,DH,OH;function kH(){return(kH=o((()=>{EH=/^{{fields\.(.+?)}}$/,DH=(e,t,n=void 0)=>e.map(({field:e,values:r,exclude:i})=>({field:e,exclude:i,values:r.flatMap(e=>{if(typeof e!=`string`)return[e];if(e===`{{slug}}`)return n?[n]:[];let r=e.match(EH);if(!r)return[e];let i=t?.[r[1]];return i===void 0?[]:[i]})})),OH=({refEntries:e,locale:t,fileName:n=void 0,entryFilters:r=[],defaultLocale:i=void 0})=>e.filter(e=>!n||n===e.slug).map(e=>{let{content:n}=e.locales[t]??(i?e.locales[i]:void 0)??e.locales._default??{};return{refEntry:e,hasContent:!!n&&Object.keys(n).length>0,content:n??{}}}).filter(({hasContent:e,content:t,refEntry:n})=>e&&r.every(({field:e,values:r,exclude:i=!1})=>{if(r.length===0)return!0;let a=e===`slug`,o=e.replace(/^fields\./,``),s=a?n.slug:t[o];return i?!r.includes(s):r.includes(s)}))})))()}var AH,jH,MH;function NH(){return(NH=o((()=>{nD(),dL(),ZV(),rH(),TH(),kH(),dH(),AH=new Map,jH=({locale:e,fieldConfig:t,refEntries:n,currentLocaleValues:r=void 0,currentSlug:i=void 0})=>{let{collection:a,file:o,filters:s}=t,c=DH(s??[],r,i),l=c.flatMap(({values:e})=>e).join(`\0`),u=`${e}|${`${nH(t)}|${nH(n)}`}|${l}`,d=AH.get(u);if(d)return d;let f=cL(a);if(!f)return AH.set(u,[]),[];let{_type:p,_i18n:{defaultLocale:m}}=f,{identifier_field:h=`title`}=p===`entry`?f:{},g=uH(t,h),{allFieldNames:_,hasListFields:v}=g,y=OH({refEntries:n,locale:e,fileName:o,entryFilters:c,defaultLocale:m}).flatMap(({refEntry:t,content:n})=>wH({refEntry:t,content:n,collection:f,templates:g,allFieldNames:_,hasListFields:v,collectionName:a,fileName:o,locale:e,identifierField:h,defaultLocale:m})).sort((e,t)=>tD(e.label,t.label));return AH.set(u,y),y},MH=({fieldConfig:e,valueMap:t,keyPath:n,locale:r})=>{let{multiple:i,collection:a}=e,o=qV(a),s=jH({locale:r,fieldConfig:e,refEntries:o}),c=$V(s),l=e=>c.get(e)||e;return i?Object.entries(t).filter(([e])=>e.match(`^${XE(n)}\\.\\d+$`)).map(([,e])=>e).map(l):l(t[n])}})))()}var PH,FH,IH;function LH(){return(LH=o((()=>{PH=({multiline:e,dotAll:t,source:n})=>e||t||n.includes(`[\\s\\S]`)||n.includes(`[\\S\\s]`),FH=e=>vM(Object.fromEntries(Object.entries(_M(e)).filter(([e])=>!e.split(`.`).pop()?.startsWith(`__sc_`)))),IH=e=>e.replace(/"/g,`'`)})))()}var RH,zH,BH,VH;function HH(){return(HH=o((()=>{RH=/!\[(?<alt>(?:[^\]\\]|\\.)*)\]\((?<src>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title>(?:[^"\\]|\\.)*)")?\)/,zH=new RegExp(RH,`g`),BH=/\[!\[(?<alt2>(?:[^\]\\]|\\.)*)\]\((?<src2>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title2>(?:[^"\\]|\\.)*)")?\)\](?:\((?<link>[^)]*\([^)]*\)[^)]*|[^)]*)\))/,VH=RegExp(`${RH.source}|${BH.source}`)})))()}var UH,WH,GH,KH;function qH(){return(qH=o((()=>{jA(),UH=e=>typeof e==`string`&&!!e.trim(),WH=e=>e.replace(/&(?![a-zA-Z0-9#]+;)/g,`&`).replaceAll(`"`,`"`),GH={ALLOWED_TAGS:[`a`],ALLOWED_ATTR:[`href`,`target`,`rel`]},KH=(e,t)=>AA(e.replace(`<a>`,`<a href="${WH(t)}" target="_blank" rel="noopener noreferrer">`),GH)})))()}var JH,YH,XH;function ZH(){return(ZH=o((()=>{Z(),bI(),LH(),HH(),qH(),JH={id:`image`,label:`Image`,fields:[{name:`src`,label:`Source`,widget:`image`},{name:`alt`,label:`Alt Text`,required:!1},{name:`title`,label:`Title`,required:!1}],pattern:RH,toBlock:e=>{let{src:t=``,alt:n=``,title:r=``}=e;return t?`}"`:``})`:``},toPreview:e=>{let{src:t=``,alt:n=``,title:r=``}=e;return`<img src="${WH(t)}" alt="${WH(n)}" title="${WH(r)}">`}},YH={id:`linked-image`,label:`Image`,fields:[...JH.fields,{name:`link`,label:`Link`,required:!1}],pattern:VH,fromBlock:e=>{let{src:t,alt:n,title:r,src2:i,alt2:a,title2:o,link:s}=e.groups??{};return{src:(t||i||``).trim(),alt:(n||a||``).trim(),title:(r||o||``).trim(),link:(s||``).trim()}},toBlock:e=>{let{src:t=``,alt:n=``,title:r=``,link:i=``}=e,a=t?`}"`:``})`:``;return a&&i?`[${a}](${i})`:a},toPreview:e=>{let{src:t=``,alt:n=``,title:r=``,link:i=``}=e,a=`<img src="${WH(t)}" alt="${WH(n)}" title="${WH(r)}">`;return i?`<a href="${WH(i)}">${a}</a>`:a}},XH=e=>{let t=mI.get(e);if(t)return{...t,id:`x-${e}`};let n={icon:`image`,label:X(`editor_components.image`),fields:[{name:`src`,label:X(`editor_components.src`),widget:`image`},{name:`alt`,label:X(`editor_components.alt`),required:!1},{name:`title`,label:X(`editor_components.title`),required:!1}],trigger:`button`};return{image:{...JH,...n},"linked-image":{...YH,...n,fields:[...n.fields,{name:`link`,label:X(`editor_components.link`),required:!1}]}}[e]}})))()}var QH,$H,eU;function tU(){return(tU=o((()=>{QH=/^\d+$/,$H=e=>QH.test(e),eU=(e,t)=>{if(typeof e!=`number`)return NaN;if(!Number.isFinite(e))return e;let n=10**t;return Math.round(e*n)/n}})))()}var nU,rU,iU,aU;function oU(){return(oU=o((()=>{yO(),tU(),nU=new Map,rU=new WeakMap,iU=e=>{let t=rU.get(e);return t===void 0&&(t=JSON.stringify(e),rU.set(e,t)),t},aU=({fieldConfig:e,valueMap:t,keyPath:n})=>{let{multiple:r,options:i}=e,a=_O(i),o;if(r){let e=`${n}.`;o=Object.entries(t).filter(([t])=>t.startsWith(e)&&$H(t.slice(e.length))).map(([,e])=>e)}let s=iU(i),c=r?`${n}|${s}|${JSON.stringify(o)}`:`${n}|${s}|${String(t[n])}`,l=nU.get(c);if(l)return l;let u=e=>i.find(t=>t.value===e)?.label||e;if(r){let e=a?o.map(u):o;return nU.set(c,e),e}let d=t[n],f=a?u(d):d;return nU.set(c,f),f}})))()}var sU,cU,lU;function uU(){return(uU=o((()=>{oM(),ZK(),sU=e=>{if(!e)return;let t=Object.values(e);if(t.some(e=>e.config?.multiple===!0))return!0;if(t.some(e=>e.config?.multiple===!1))return!1},cU=e=>{if(!e?.config)return;let{multiple:t}=e.config;if(typeof t==`boolean`)return t},lU=e=>{let t=A(GK);return e.multiple??sU(e.media_libraries)??cU(e.media_library)??sU(t?.media_libraries)??cU(t?.media_library)??!1}})))()}var dU,fU,pU,mU,hU,gU,_U,vU,yU,bU,xU,SU,CU,wU,TU,EU,DU,OU,kU;function AU(){return(AU=o((()=>{nD(),bI(),tI(),dL(),OI(),lI(),pI(),XL(),NH(),ZH(),oU(),BI(),uU(),IF(),tU(),dU=/^(.*?)<([^>]+)>(.*)$/,fU=/\.\d+$/,pU=new Map,mU=(e,t)=>{if(e.length!==1)return!1;let[n]=e;return n.widget===t&&`root`in n&&n.root===!0},hU=e=>{let t=e.widget??`string`;return dI.includes(t)?lU(e):fI.includes(t)?!!e.multiple:!1},gU=e=>{let t=e.match(dU);if(!t)return{cleanKey:e};let[,n,r,i]=t;return i?{cleanKey:e}:{cleanKey:n||``,typeName:r}},_U=({field:e,key:t,keyPathArray:n,segmentIndex:r,pendingExplicitType:i,valueMap:a})=>{let{cleanKey:o,typeName:s}=gU(t),{widget:c=`text`}=e,l=s??i,u=$H(o),d=o===`*`;if((u||d)&&fI.includes(c))return{field:hU(e)?e:void 0,explicitType:l};let{field:f}=e,{fields:p}=e,{types:m,typeKey:h=`type`}=e;if(f){let e=u||d?n[r+1]:void 0;return{field:!e||f.name===e||f.widget===`object`&&`fields`in f&&f.fields?.some(t=>t.name===e)?f:void 0,explicitType:l}}if(p&&(u||d))return{field:e,explicitType:l};if(p&&!u&&o!==``)return{field:p.find(({name:e})=>e===o),explicitType:l};if(m&&(u||d)){let e=l??a[[n.slice(0,r).join(`.`),o,h].join(`.`)];return{field:m.find(({name:t})=>t===e),explicitType:d?void 0:l}}if(m&&t!==h&&o!==h&&o!==``){let e=l??a[[n.slice(0,r).join(`.`),h].join(`.`)];return{field:m.find(({name:t})=>t===e)?.fields?.find(({name:e})=>e===o),explicitType:void 0}}return{field:void 0,explicitType:l}},vU=e=>{let{collectionName:t,fileName:n=void 0,componentName:r=void 0,valueMap:i={},keyPath:a,isIndexFile:o=!1}=e,s=[t,n??``,r??``,a,o?`1`:`0`].join(`|`);if(pU.has(s))return pU.get(s);let c=cL(t),l=c&&n?iI(c,n):void 0;if(!c||n&&c?._type!==`entry`&&!l){pU.set(s,void 0);return}let{fields:u=[]}=l??c,d=o?EI(c):void 0,f=r?XH(r)?.fields??[]:d?.fields??u,p=a.split(`.`),m,h,g=!1;if(p.forEach((e,t)=>{if(t===0){let{cleanKey:t,typeName:n}=gU(e);m=f.find(({name:e})=>e===t),!m&&d?.fields&&(m=u.find(({name:e})=>e===t)),n&&(h=n)}else if(m){let n=_U({field:m,key:e,keyPathArray:p,segmentIndex:t,pendingExplicitType:h,valueMap:i});m=n.field,h=n.explicitType}m&&`types`in m&&(g=!0)}),h&&m&&`types`in m){let{types:e}=m;m=e.find(({name:e})=>e===h)}return g||pU.set(s,m),m},yU=e=>{let t=e.widget??`string`;return uI.includes(t)?`builtin`:hI.has(t)?`custom`:`unknown`},bU=({fieldConfig:{required:e=!0},locale:t})=>Array.isArray(e)?e.includes(t):!!e,xU=new Map,SU=new Map,CU=({collectionName:e,fileName:t,valueMap:n={},keyPath:r,locale:i,transformations:a,isIndexFile:o=!1})=>{let s=vU({collectionName:e,fileName:t,valueMap:n,keyPath:r,isIndexFile:o}),c=n[r];if(c===void 0&&a?.length)return``;if(s?.widget===`datetime`&&(a?.some(({method:e})=>e===`date`)||(c=YL({locale:i,fieldConfig:s,currentValue:c}))),s?.widget===`relation`&&(c=MH({fieldConfig:s,valueMap:n,keyPath:r,locale:i})),s?.widget===`select`&&(c=aU({fieldConfig:s,valueMap:n,keyPath:r})),s?.widget===`list`){let{fields:e}=s,{types:t}=s;if(!(e||t)){let e=FF(xU,r,()=>RegExp(`^${XE(r)}${String.raw`\.\d+$`}`));c=RI(i).format(Object.entries(n).filter(([t,n])=>e.test(t)&&typeof n==`string`&&!!n).map(([,e])=>e))}}if(s?.widget===`number`){let{value_type:e=`int`}=s;if(e===`int`||e===`float`){let e=NI(i),t=SU.get(e);t||(t=Intl.NumberFormat(e),SU.set(e,t)),c=t.format(Number(c))}}return Array.isArray(c)&&(c=RI(i).format(c)),a?.length&&(c=eI({fieldConfig:s,value:c,transformations:a,locale:i})),String(c??``)},wU=({valueMap:e,locale:t,keyPath:n,keyPathRegex:r,getFieldArgs:i})=>{let a=[`${n}.title`,`${n}.name`,...Object.keys(e)].find(t=>{let n=e[t];if(!r.test(t)||!(typeof n==`string`&&n.trim()||typeof n==`number`&&!Number.isNaN(n)))return!1;let a=vU({...i,keyPath:t});return!!a&&a.widget!==`hidden`});return a?CU({...i,keyPath:a,locale:t}):``},TU=({entry:e,locale:t,collectionName:n,key:r,resolveRef:i=!0})=>{let{slug:a,locales:o,commitAuthor:{name:s,login:c,email:l}={},commitDate:u}=e;if(r===`slug`)return a;if(r===`commit_author`)return s||c||l;if(r===`commit_date`)return u;let{content:d}=o[t]??{};if(d===void 0)return;let f=cL(n);if(f){if(i){let i=DI(f,e),a=vU({collectionName:n,keyPath:r,isIndexFile:i});if(a?.widget===`relation`)return MH({fieldConfig:a,valueMap:d,keyPath:r,locale:t})}return d[r]}},EU=/^(?<parent>.+)\.\d+$/,DU=new WeakMap,OU=(e,t)=>{let n=DU.get(e);return n||(n=new Map,Object.keys(e).forEach(e=>{let{parent:t}=e.match(EU)?.groups??{};if(t===void 0)return;let r=n.get(t);r?r.push(e):n.set(t,[e])}),DU.set(e,n)),n.get(t)??[]},kU=({valueMap:e,keyPath:t,isList:n,multiple:r,isEditor:i,isCustomFieldType:a=!1})=>{let o=e[t];if(!n&&!a)return o;let s=OU(e,t);return s.length?s.map(t=>e[t]).filter(e=>e!==void 0):a?o:i&&r&&o!==void 0&&typeof o!=`object`?[o]:[]}})))()}var jU,MU,NU,PU,FU,IU,LU,RU,zU,BU,VU;function HU(){return(HU=o((()=>{Z(),kF(),nD(),jA(),iM(),Ode(),oM(),tW(),UF(),tI(),bL(),OI(),AU(),jU=/^#+\s+(?<header>.+?)(?:\s+\{#.+?\})?\s*$/m,MU=(e,{allowMarkdown:t=!1}={})=>(e=nM(e),t&&(e=wde(e)),e=AA(e,{ALLOWED_TAGS:t?[`strong`,`em`,`code`]:[]}),t||(e=wde(e)),e.trim()),NU=(e,{identifierField:t=`title`,useBody:n=!0}={})=>{let r=[t,`title`,`name`,`label`].find(t=>typeof e[t]==`string`&&!!e[t].trim());return r?e[r].trim():n&&typeof e.body==`string`?e.body.match(jU)?.groups?.header??``:``},PU=(e,t)=>{let{slug:n,entryPath:r,basePath:i,locales:a,commitDate:o,commitAuthor:s}=t;if(e===`slug`)return n;if(e===`locales`)return a.sort((e,t)=>e.localeCompare(t)).join(`, `);if(e===`dirname`){let e=r.replace(/[^/]+$/,``);if(i){let t=i.endsWith(`/`)?i:`${i}/`;e.startsWith(t)?e=e.slice(t.length):e.startsWith(i)&&(e=e.slice(i.length))}return QE(e)}if(e===`filename`)return r.split(`/`).pop().split(`.`).shift();if(e===`extension`)return r.split(`/`).pop().split(`.`).pop();if(e===`commit_date`)return o??``;if(e===`commit_author`)return s?.name||s?.login||s?.email},FU=(e,t)=>{let{content:n,collectionName:r,replaceSubContext:i,defaultLocale:a,fallbackSummary:o}=t,{value:s,transformations:c}=$F(e),l=s.replace(/^fields\./,``),u={collectionName:r,valueMap:n,keyPath:l},d=PU(s,i),f=HF(c,e=>FU(e,t));if(d===void 0&&(d=f.some(({method:e})=>e===`date`||e===`ternary`)?n[l]:CU({...u,locale:a}),l===`title`&&!d&&(d=o)),d===void 0)return``;if(d instanceof Date&&!f.length){let{year:e,month:t,day:n}=OF({date:d});return`${e}-${t}-${n}`}return f.length&&(d=eI({fieldConfig:vU({...u}),value:d,transformations:f,locale:a})),String(d)},IU=new WeakMap,RU=0,zU=()=>{let e=A(hL);return e!==LU&&(LU=e,RU+=1),RU},BU=(e,t,{locale:n,useTemplate:r=!1,allowMarkdown:i=!1}={})=>{if(DI(e,t))return EI(e)?.label;let{_type:a,name:o,_i18n:{defaultLocale:s}}=e,{_file:{basePath:c}={},identifier_field:l=`title`,summary:u}=a===`entry`?e:{},{locales:d,slug:f,commitDate:p,commitAuthor:m}=t,{content:h={},path:g=``}=d[n??s]??Object.values(d)[0]??{},_=NU(h,{identifierField:l})||f.replaceAll(`-`,` `);if(!r||!u)return MU(_,{allowMarkdown:i});let v={content:h,collectionName:o,replaceSubContext:{slug:f,entryPath:g,basePath:c,locales:Object.keys(d),commitDate:p,commitAuthor:m},defaultLocale:s,fallbackSummary:_};return MU(ZU(u,(e,t)=>FU(t,v)),{allowMarkdown:i})},VU=(e,t,n={})=>{let{locale:r,useTemplate:i=!1,allowMarkdown:a=!1}=n,o=IU.get(t);o||(o=new WeakMap,IU.set(t,o));let s=o.get(e);s||(s=new Map,o.set(e,s));let c=[r??``,i?`1`:`0`,a?`1`:`0`,Lu.current,zU()].join(`
|
|
345
|
+
`),b=await PR(`AWS4${a}`,d),x=await PR(b,o),S=await PR(x,s),C=await PR(S,`aws4_request`),w=await PR(C,y),T=Array.from(w).map(e=>e.toString(16).padStart(2,`0`)).join(``);return[`${_} Credential=${i}/${v},`,`SignedHeaders=${h}, Signature=${T}`].join(` `)},LR=async({method:e,url:t,config:n,secretAccessKey:r,body:i=``,extraHeaders:a={}})=>{let{access_key_id:o,region:s=`us-east-1`}=n,c=new Date,l=new URL(t),u=await FR(i),d={Host:l.host,"x-amz-date":c.toISOString().replace(/[:-]|\.\d{3}/g,``),"x-amz-content-sha256":u,...a},f=await IR({method:e,url:t,headers:d,payloadHash:u,accessKeyId:o,secretAccessKey:r,region:s,service:`s3`,date:c});return fetch(t,{method:e,headers:{...d,Authorization:f},...i&&{body:i}})},RR=e=>{let t=new DOMParser().parseFromString(e,`text/xml`),n=e=>{if(e.children.length===0)return e.textContent;let t={};return Array.from(e.children).forEach(e=>{let r=e.tagName,i=n(e);t[r]?Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i}),t};return n(t.documentElement)},zR=({bucket:e,key:t,endpoint:n,region:r,forcePathStyle:i,publicUrl:a})=>a?`${a}/${t}`:n?`${n}/${e}/${t}`:i?`https://s3.${r}.amazonaws.com/${e}/${t}`:`https://${e}.s3.${r}.amazonaws.com/${t}`,BR=(e,t)=>{let{bucket:n,region:r,endpoint:i,force_path_style:a,prefix:o=``,public_url:s}=t;return e.map(e=>{let t=e.Key,c=t.split(`/`).pop()||t,l=o&&t.startsWith(o)?t.slice(o.length):t,u=zR({bucket:n,key:t,endpoint:i,region:r,forcePathStyle:a,publicUrl:s});return{id:t,description:l,previewURL:u,downloadURL:u,fileName:c,lastModified:new Date(e.LastModified),size:Number(e.Size),kind:jR(t)}})},VR=async(e,t,{maxPages:n=10}={})=>{let{bucket:r,region:i,endpoint:a,force_path_style:o,prefix:s=``}=e,{kind:c,apiKey:l}=t;if(!l)return Promise.reject(Error(`S3 secret access key is required`));let u=[],d;for(let t=0;t<n;t+=1){let t=new URLSearchParams({"list-type":`2`,"max-keys":`1000`,...s&&{prefix:s},...d&&{"continuation-token":d}}),n=a?`${a}/${r}?${t}`:o?`https://s3.${i}.amazonaws.com/${r}?${t}`:`https://${r}.s3.${i}.amazonaws.com/?${t}`,c=await LR({method:`GET`,url:n,config:e,secretAccessKey:l});if(!c.ok){let e=await c.text();return Promise.reject(Error(`Failed to list objects: ${e}`))}let f=await c.text(),p=RR(f),m=(p.Contents?Array.isArray(p.Contents)?p.Contents:[p.Contents]:[]).filter(e=>!e.Key.endsWith(`/`));if(u.push(...m),d=p.NextContinuationToken,p.IsTruncated!==`true`||!d)break;await $u(50)}let f=c?u.filter(e=>jR(e.Key)===c):u;return BR(f,e)},HR=async(e,t,n)=>{let r=await VR(t,n,{maxPages:5}),i=e.toLowerCase();return r.filter(e=>e.fileName.toLowerCase().includes(i)||e.description.toLowerCase().includes(i))},UR=async(e,t,n)=>{if(e.length===0)return[];let{bucket:r,region:i,endpoint:a,force_path_style:o,prefix:s=``}=t,{apiKey:c}=n;if(!c)return Promise.reject(Error(`S3 secret access key is required`));let l=[];for(let n of e){let u=n.name.split(/[/\\]/).filter(Boolean).at(-1)??n.name,d=s?`${s}${u}`:u,f=a?`${a}/${r}/${d}`:o?`https://s3.${i}.amazonaws.com/${r}/${d}`:`https://${r}.s3.${i}.amazonaws.com/${d}`,p=await n.arrayBuffer(),m=await LR({method:`PUT`,url:f,config:t,secretAccessKey:c,body:p,extraHeaders:{"Content-Type":n.type||`application/octet-stream`,...t.acl!==!1&&{"x-amz-acl":t.acl??`public-read`}}});if(!m.ok){let e=await m.text();throw Error(`Failed to upload file ${n.name}: ${e}`)}l.push({Key:d,LastModified:new Date().toISOString(),ETag:``,Size:n.size,ContentType:n.type}),e.length>1&&await $u(50)}return BR(l,t)}})))()}var GR,KR,qR,JR,YR,XR,ZR;function QR(){return(QR=o((()=>{WR(),GR=e=>NR(`aws_s3`,e),KR=e=>{let t=GR(e)??GR();return!!(t&&t.access_key_id&&t.bucket&&t.region)},qR=({fieldConfig:e})=>{let t=GR(e)??GR();if(!t)throw Error(`Amazon S3 configuration is not available`);return t},JR=async e=>VR(qR(e),e),YR=async(e,t)=>HR(e,qR(t),t),XR=async(e,t)=>UR(e,qR(t),t),ZR={serviceType:`cloud_storage`,serviceId:`aws_s3`,serviceLabel:`Amazon S3`,serviceURL:`https://aws.amazon.com/s3/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://docs.aws.amazon.com/s3/`,apiKeyURL:`https://console.aws.amazon.com/iam/home#/security_credentials`,apiKeyPattern:/^[A-Za-z0-9/+=]{40}$/,isEnabled:KR,list:JR,search:YR,upload:XR}})))()}var $R,ez,tz,nz,rz,iz,az;function oz(){return(oz=o((()=>{WR(),$R=e=>NR(`backblaze_b2`,e),ez=e=>{let t=$R(e)??$R();return!!(t&&t.access_key_id&&t.bucket&&t.region)},tz=({fieldConfig:e})=>{let t=$R(e)??$R();if(!t)throw Error(`Backblaze B2 configuration is not available`);return{...t,endpoint:`https://s3.${t.region}.backblazeb2.com`,acl:!1,public_url:t.public_url??`https://${t.bucket}.s3.${t.region}.backblazeb2.com`}},nz=async e=>VR(tz(e),e),rz=async(e,t)=>HR(e,tz(t),t),iz=async(e,t)=>UR(e,tz(t),t),az={serviceType:`cloud_storage`,serviceId:`backblaze_b2`,serviceLabel:`Backblaze B2`,serviceURL:`https://www.backblaze.com/cloud-storage`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://www.backblaze.com/docs/cloud-storage-s3-compatible-api`,apiKeyURL:`https://secure.backblaze.com/app_keys.htm`,apiKeyPattern:/^[A-Za-z0-9/+=]{30,}$/,isEnabled:ez,list:nz,search:rz,upload:iz}})))()}var sz,cz,lz,uz,dz,fz,pz,mz,hz;function gz(){return(gz=o((()=>{WR(),sz={default:``,eu:`eu.`,fedramp:`fedramp.`},cz=({account_id:e,jurisdiction:t=`default`})=>`https://${e}.${sz[t]??``}r2.cloudflarestorage.com`,lz=e=>NR(`cloudflare_r2`,e),uz=e=>{let t=lz(e)??lz();return!!(t&&t.access_key_id&&t.bucket&&t.account_id)},dz=({fieldConfig:e})=>{let t=lz(e)??lz();if(!t)throw Error(`Cloudflare R2 configuration is not available`);return{...t,region:`auto`,endpoint:cz(t)}},fz=async e=>VR(dz(e),e),pz=async(e,t)=>HR(e,dz(t),t),mz=async(e,t)=>UR(e,dz(t),t),hz={serviceType:`cloud_storage`,serviceId:`cloudflare_r2`,serviceLabel:`Cloudflare R2`,serviceURL:`https://www.cloudflare.com/developer-platform/r2/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://developers.cloudflare.com/r2/`,apiKeyURL:`https://dash.cloudflare.com/?to=/:account/r2/api-tokens`,apiKeyPattern:/^[A-Za-z0-9/+=]{40,}$/,isEnabled:uz,list:fz,search:pz,upload:mz}})))()}var _z,vz,yz,bz,xz,Sz,Cz;function wz(){return(wz=o((()=>{WR(),_z=e=>NR(`digitalocean_spaces`,e),vz=e=>{let t=_z(e)??_z();return!!(t&&t.access_key_id&&t.bucket&&t.region)},yz=({fieldConfig:e})=>{let t=_z(e)??_z();if(!t)throw Error(`DigitalOcean Spaces configuration is not available`);return{...t,endpoint:`https://${t.region}.digitaloceanspaces.com`,public_url:t.public_url??`https://${t.bucket}.${t.region}.digitaloceanspaces.com`}},bz=async e=>VR(yz(e),e),xz=async(e,t)=>HR(e,yz(t),t),Sz=async(e,t)=>UR(e,yz(t),t),Cz={serviceType:`cloud_storage`,serviceId:`digitalocean_spaces`,serviceLabel:`DigitalOcean Spaces`,serviceURL:`https://www.digitalocean.com/products/spaces`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://docs.digitalocean.com/products/spaces/`,apiKeyURL:`https://cloud.digitalocean.com/account/api/spaces`,apiKeyPattern:/^[A-Za-z0-9/+=]{43}$/,isEnabled:vz,list:bz,search:xz,upload:Sz}})))()}var Tz,Ez,Dz,Oz,kz,Az,jz;function Mz(){return(Mz=o((()=>{WR(),Tz=e=>NR(`scaleway_object_storage`,e),Ez=e=>{let t=Tz(e)??Tz();return!!(t&&t.access_key_id&&t.bucket&&t.region)},Dz=({fieldConfig:e})=>{let t=Tz(e)??Tz();if(!t)throw Error(`Scaleway Object Storage configuration is not available`);return{...t,endpoint:`https://s3.${t.region}.scw.cloud`,public_url:t.public_url??`https://${t.bucket}.s3.${t.region}.scw.cloud`}},Oz=async e=>VR(Dz(e),e),kz=async(e,t)=>HR(e,Dz(t),t),Az=async(e,t)=>UR(e,Dz(t),t),jz={serviceType:`cloud_storage`,serviceId:`scaleway_object_storage`,serviceLabel:`Scaleway Object Storage`,serviceURL:`https://www.scaleway.com/en/object-storage/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://www.scaleway.com/en/docs/object-storage/`,apiKeyURL:`https://console.scaleway.com/iam/api-keys`,apiKeyPattern:/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/,isEnabled:Ez,list:Oz,search:kz,upload:Az}})))()}var Nz,Pz,Fz,Iz,Lz,Rz,zz,Bz,Vz;function Hz(){return(Hz=o((()=>{WR(),Nz=({project_id:e})=>`https://${e}.storage.supabase.co/storage/v1/s3`,Pz=({project_id:e,bucket:t})=>`https://${e}.supabase.co/storage/v1/object/public/${t}`,Fz=e=>NR(`supabase_storage`,e),Iz=e=>{let t=Fz(e)??Fz();return!!(t&&t.access_key_id&&t.bucket&&t.project_id)},Lz=({fieldConfig:e})=>{let t=Fz(e)??Fz();if(!t)throw Error(`Supabase Storage configuration is not available`);return{...t,endpoint:Nz(t),public_url:t.public_url??Pz(t)}},Rz=async e=>VR(Lz(e),e),zz=async(e,t)=>HR(e,Lz(t),t),Bz=async(e,t)=>UR(e,Lz(t),t),Vz={serviceType:`cloud_storage`,serviceId:`supabase_storage`,serviceLabel:`Supabase Storage`,serviceURL:`https://supabase.com/storage`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://supabase.com/docs/guides/storage`,apiKeyURL:`https://supabase.com/dashboard/project/_/storage/settings`,apiKeyPattern:/^[A-Za-z0-9/+=]{40,}$/,isEnabled:Iz,list:Rz,search:zz,upload:Bz}})))()}var dfe=s(((e,t)=>{function n(e){return e>=55296&&e<=56319}function r(e){return e>=56320&&e<=57343}t.exports=function(e,t,i){if(typeof t!=`string`)throw Error(`Input must be string`);for(var a=t.length,o=0,s,c,l=0;l<a;l+=1){if(s=t.charCodeAt(l),c=t[l],n(s)&&r(t.charCodeAt(l+1))&&(l+=1,c+=t[l]),o+=e(c),o===i)return t.slice(0,l+1);if(o>i)return t.slice(0,l-c.length+1)}return t}})),ffe=s(((e,t)=>{function n(e){return e>=55296&&e<=56319}function r(e){return e>=56320&&e<=57343}t.exports=function(e){if(typeof e!=`string`)throw Error(`Input must be string`);for(var t=e.length,i=0,a=null,o=null,s=0;s<t;s++)a=e.charCodeAt(s),r(a)?o!=null&&n(o)?i+=1:i+=3:a<=127?i+=1:a>=128&&a<=2047?i+=2:a>=2048&&a<=65535&&(i+=3),o=a;return i}})),pfe=s(((e,t)=>{var n=dfe(),r=ffe();t.exports=n.bind(null,r)})),mfe=s(((e,t)=>{var n=pfe(),r=/[\/\?<>\\:\*\|"]/g,i=/[\x00-\x1f\x80-\x9f]/g,a=/^\.+$/,o=/^(con|prn|aux|nul|com[0-9]|lpt[0-9])(\..*)?$/i;function s(e,t){for(var n=e.length;n>0&&(e[n-1]===`.`||e[n-1]===` `);)n--;return n<e.length?e.slice(0,n)+t:e}function c(e,t){if(typeof e!=`string`)throw Error(`Input must be string`);var c=e.replace(r,t).replace(i,t).replace(a,t).replace(o,t);return c=s(c,t),n(c,255)}t.exports=function(e,t){var n=t&&t.replacement||``,r=c(e,n);return n===``?r:c(r,``)}})),Uz,Wz,Gz,Kz,qz,Jz,Yz,Xz,Zz,Qz,$z,eB,tB,nB,rB;function iB(){return(iB=o((()=>{Z(),ud(),gM(),nD(),Uz=l(mfe(),1),RF(),Wz=(e,t)=>RegExp(`^${e.split(`/`).map(t).join(`\\/`)}(?=\\/|$)`),Gz=e=>{let t=e.startsWith(`@`);return t&&(e=e.slice(1)),e=e.split(`/`).map(e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)).join(`/`),t?`@${e}`:e},Kz=e=>decodeURIComponent(e),qz=new Map,Jz=e=>{let t=Lu.current,n=qz.get(t);n||(n=new Intl.NumberFormat(t,{maximumFractionDigits:1}),qz.set(t,n));let r=1e3,i=r*1e3,a=i*1e3,o=a*1e3;return e<r?X(`file_size_units.b`,{values:{size:n.format(e)}}):e<i?X(`file_size_units.kb`,{values:{size:n.format(e/r)}}):e<a?X(`file_size_units.mb`,{values:{size:n.format(e/i)}}):e<o?X(`file_size_units.gb`,{values:{size:n.format(e/a)}}):X(`file_size_units.tb`,{values:{size:n.format(e/o)}})},Yz=(e,t)=>{if(!t.length)return e;let{filename:n,extension:r}=mM(e),i=RegExp(`^${XE(n)}(?:-(?<num>\\d+?))?${r?`\\.${r}`:``}$`),a=t.sort((e,t)=>tD(e.split(`.`)[0],t.split(`.`)[0])).findLast(e=>i.test(e));return a?`${n}-${Number(a.match(i)?.groups?.num??0)+1}${r?`.${r}`:``}`:e},Xz=(e,{slugificationEnabled:t=!1,assetNamesInSameFolder:n=[]}={})=>{let r=(0,Uz.default)(e.normalize().replace(/[\s\u00A0\u202F]+/g,` `));if(t){let{filename:e,extension:t}=mM(r);r=`${LF(e)}${t?`.${t.toLowerCase()}`:``}`}return Yz(r,n)},Zz=[[`jpg`,`jpeg`,`jpe`,`jfif`],[`tif`,`tiff`],[`htm`,`html`],[`yml`,`yaml`],[`md`,`markdown`],[`mpg`,`mpeg`],[`mid`,`midi`],[`aif`,`aiff`]],Qz=(e,t)=>{let n=e?.toLowerCase()??``,r=t?.toLowerCase()??``;return n===r||Zz.some(e=>e.includes(n)&&e.includes(r))},$z=e=>e.filter(Boolean).join(`/`),eB=e=>e.split(`/`).filter(e=>e!==`.`&&e!==`..`).join(`/`),tB=e=>{let t=e.split(`/`),n=!1;return t.forEach((e,r)=>{if(e===`.`||e===`..`){if(n&&(t[r]=null,e===`..`)){let e=t.findLastIndex((e,t)=>!!e&&t<r);e>-1&&(t[e]=null)}}else n=!0}),$z(t)},nB=e=>typeof e==`string`?new Blob([e],{type:`text/plain`}):e,rB=async e=>{let t=await nB(e).arrayBuffer();return ld(new Blob([`blob ${t.byteLength}\0`,t]))}})))()}var aB,oB,sB,cB,lB,uB,dB,fB,pB,mB;function hB(){return(hB=o((()=>{ed(),oM(),ZK(),iB(),aB=(e=A(GK))=>e?.media_libraries?.uploadcare??(e?.media_library?.name===`uploadcare`?e?.media_library:void 0),oB=e=>{let t=aB(e)??aB();return t?t.config?.publicKey:void 0},sB=e=>!!oB(e),cB=(e,{fieldConfig:t}={})=>{let{settings:{autoFilename:n=!1,defaultOperations:r=void 0}={},config:{cdnBase:i=void 0}={}}=(aB(t)??aB())||{};return e.map(e=>{let{uuid:t,original_filename:a,original_file_url:o,mime_type:s,datetime_uploaded:c,size:l}=e,u=`${new URL(i??o).origin}/${t}/`,d=s.startsWith(`image/`),f=s.startsWith(`video/`);return{id:t,description:a,previewURL:`${u}${d?`-/preview/400x400/`:``}`,downloadURL:`${u}${d&&r?`-${r}`:``}${n?a:``}`,fileName:a,lastModified:new Date(c),size:l,kind:d?`image`:f?`video`:`other`}})},lB=async(e,{maxPages:t=10,filter:n}={})=>{let{kind:r,fieldConfig:i,apiKey:a}=e,o=oB(i);if(!o)return Promise.reject(Error(`Uploadcare public key is not configured`));let s={Accept:`application/vnd.uploadcare-v0.7+json`,Authorization:`Uploadcare.Simple ${o}:${a}`},c=new URLSearchParams({limit:`100`,ordering:`-datetime_uploaded`,stored:`true`}),l=[],u=`https://api.uploadcare.com/files/?${c}`;for(let e=0;e<t&&u;e+=1){let e=await fetch(u,{headers:s});if(!e.ok)return Promise.reject(Error(`Failed to fetch files: ${e.statusText}`));let t=await e.json(),{results:i}=t;if(r===`image`&&(i=i.filter(e=>e.is_image)),n&&(i=i.filter(n)),l.push(...i),u=t.next,!u)break;await $u(50)}return cB(l,{fieldConfig:i})},uB=async e=>lB(e),dB=async(e,t)=>{let n=e.toLowerCase();return lB(t,{filter:e=>e.original_filename.toLowerCase().includes(n)})},fB=async(e,t)=>{let n=new TextEncoder,r=n.encode(String(t)),i=n.encode(e),a=await crypto.subtle.importKey(`raw`,i,{name:`HMAC`,hash:`SHA-256`},!1,[`sign`]),o=await crypto.subtle.sign(`HMAC`,a,r);return Array.from(new Uint8Array(o)).map(e=>e.toString(16).padStart(2,`0`)).join(``)},pB=async(e,t)=>{if(e.length===0)return[];let{fieldConfig:n,apiKey:r}=t,i=oB(n);if(!i)return Promise.reject(Error(`Uploadcare public key is not configured`));if(!r)return Promise.reject(Error(`Uploadcare secret key is not provided`));let a=Math.floor(Date.now()/1e3)+1800,o=await fB(r,a),s=new FormData;s.append(`UPLOADCARE_PUB_KEY`,i),s.append(`UPLOADCARE_STORE`,`1`),s.append(`signature`,o),s.append(`expire`,String(a)),e.forEach(e=>{s.append(Xz(e.name),e)});let c=await fetch(`https://upload.uploadcare.com/base/`,{method:`POST`,body:s});if(!c.ok)throw Error(`Failed to upload files: ${c.statusText}`);let l=await c.json(),u=Object.entries(l).filter(([e])=>!e.startsWith(`UPLOADCARE_`)).map(([t,n])=>{let r=e.find(e=>e.name===t),i=r?.type||`application/octet-stream`,a=i.startsWith(`image/`);return{uuid:n,original_filename:t,original_file_url:`https://ucarecdn.com/${n}/${t}`,size:r?.size||0,mime_type:i,is_image:a,is_ready:!0,content_info:null,datetime_uploaded:new Date().toISOString(),datetime_stored:new Date().toISOString(),datetime_removed:null}});return cB(u,{fieldConfig:n})},mB={serviceType:`cloud_storage`,serviceId:`uploadcare`,serviceLabel:`Uploadcare`,serviceURL:`https://uploadcare.com/`,showServiceLink:!0,hotlinking:!0,authType:`api_key`,developerURL:`https://uploadcare.com/docs/`,apiKeyURL:`https://app.uploadcare.com/projects/-/api-keys/`,apiKeyPattern:/^[a-f0-9]{20}$/,isEnabled:sB,list:uB,search:dB,upload:pB}})))()}var gB,_B;function vB(){return(vB=o((()=>{xR(),QR(),oz(),gz(),wz(),Mz(),Hz(),hB(),gB={aws_s3:ZR,backblaze_b2:az,cloudflare_r2:hz,cloudinary:bR,digitalocean_spaces:Cz,scaleway_object_storage:jz,supabase_storage:Vz,uploadcare:mB},_B=Object.keys(gB)})))()}var yB,bB,xB,SB,CB,wB,TB,EB,DB,OB,kB,AB,jB,MB;function NB(){return(NB=o((()=>{yB=`@sveltia/cms`,bB=`0.187.0`,xB=`Sveltia CMS is a modern, lightweight, Git-based headless content management system.`,SB=[`svelte`,`cms`,`content-management-system`],CB=`https://sveltiacms.app/en/`,wB={type:`git`,url:`git+https://github.com/sveltia/sveltia-cms.git`},TB={type:`github`,url:`https://github.com/sponsors/kyoshino`},EB={name:`Kohei Yoshino`,url:`https://github.com/kyoshino`},DB=`module`,OB={build:`vite build`,"build:watch":`vite build --watch`,check:`pnpm run '/^check:.*/'`,"check:audit":`pnpm audit --ignore-registry-errors`,"check:cspell":`cspell --no-progress`,"check:eslint":`eslint .`,"check:imports":`node scripts/find-unused-imports.js`,"check:oxlint":`oxlint .`,"check:prettier":`prettier --check .`,"check:stylelint":`stylelint '**/*.{css,scss,svelte}'`,"check:svelte":`svelte-check`,dev:`vite`,format:`prettier --write .`,prepublishOnly:`vite build`,preview:`vite preview`,test:`NODE_OPTIONS=--no-experimental-webstorage vitest run`,"test:coverage":`NODE_OPTIONS=--no-experimental-webstorage vitest run --coverage`,"test:watch":`NODE_OPTIONS=--no-experimental-webstorage vitest`},kB={"@jsquash/webp":`^1.5.0`,"@lexical/markdown":`^0.49.0`,"@sindresorhus/transliterate":`^2.3.1`,"@sveltia/i18n":`^1.1.3`,"@sveltia/ui":`^0.61.0`,"@sveltia/utils":`^0.12.0`,"create-react-class":`^15.7.0`,dayjs:`^1.11.21`,deepmerge:`^4.3.1`,exifr:`^7.1.3`,"fast-deep-equal":`^3.1.3`,flat:`^6.0.1`,immutable:`^5.1.9`,"isomorphic-dompurify":`^3.22.0`,leaflet:`^1.9.4`,lexical:`^0.49.0`,marked:`^18.0.9`,"marked-bidi":`^1.0.15`,mime:`^4.1.0`,"parse-entities":`^4.0.2`,"pdfjs-dist":`^6.2.108`,qrcode:`^1.5.4`,react:`^19.2.8`,"react-dom":`^19.2.8`,"sanitize-filename":`^1.6.4`,"smol-toml":`^1.7.1`,svgo:`^4.0.2`,"terra-draw":`^1.32.3`,"terra-draw-leaflet-adapter":`1.0.3`,turndown:`^7.2.4`,yaml:`^2.9.0`},AB={"@stylistic/eslint-plugin":`^5.10.0`,"@sveltejs/vite-plugin-svelte":`^7.3.0`,"@types/leaflet":`^1.9.22`,"@types/node":`^26.2.0`,"@types/qrcode":`^1.5.6`,"@types/react":`^19.2.18`,"@types/react-dom":`^19.2.4`,"@vitest/coverage-v8":`^4.1.10`,cspell:`^10.0.1`,eslint:`^9.39.5`,"eslint-config-airbnb-extended":`^3.2.0`,"eslint-config-prettier":`^10.1.8`,"eslint-plugin-jsdoc":`^64.0.2`,"eslint-plugin-package-json":`^1.7.0`,"eslint-plugin-svelte":`^3.22.0`,"eslint-plugin-unused-imports":`^4.4.1`,globals:`^17.9.0`,oxlint:`^1.78.0`,"postcss-html":`^2.0.0`,prettier:`^3.9.6`,"prettier-plugin-svelte":`^4.1.1`,sonda:`^0.14.0`,stylelint:`^17.14.1`,"stylelint-config-recommended":`^18.0.0`,svelte:`^5.56.8`,"svelte-check":`^4.7.5`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.3`,vite:`^8.2.1`,vitest:`^4.1.10`},jB={directory:`package`,access:`public`,provenance:!0},MB={name:yB,version:bB,description:xB,keywords:SB,homepage:CB,repository:wB,funding:TB,license:`MIT`,author:EB,type:DB,scripts:OB,dependencies:kB,devDependencies:AB,publishConfig:jB}})))()}var PB,FB,IB;function LB(){return(LB=o((()=>{NB(),{dependencies:PB,version:FB}=MB,IB=`https://unpkg.com/@sveltia/cms`})))()}var RB,zB;function BB(){return(BB=o((()=>{LB(),AD(),RB=e=>{let t=`https://unpkg.com/${e}`,n=PB[e]?.replace(/^\D/,``);return n?`${t}@${n}`:t},zB=async(e,t)=>kD(()=>import(`${RB(e)}/${t}`),[])})))()}var VB,HB,UB,WB,GB,KB,qB,JB;function YB(){return(YB=o((()=>{VB=[`avif`,`gif`,`jpeg`,`png`,`webp`],HB=VB.map(e=>`image/${e}`),UB=/\b(?:avif|gif|jpe?g|png|webp)$/i,WB=[`svg`],GB=[`image/svg+xml`],KB=/\b(?:svg)$/i,[...VB,...WB],qB=[...HB,...GB],JB=[`webp`]})))()}var XB,ZB,QB;function $B(){return($B=o((()=>{BB(),YB(),XB={},ZB=async e=>{if(e in XB)return XB[e];let t=`image/${e}`,n=new OffscreenCanvas(1,1);n.getContext(`2d`);let r=(await n.convertToBlob({type:t})).type===t;return XB[e]=r,r},QB=async(e,{format:t=`webp`,quality:n=85}={})=>{let r=`image/${t}`;if(!await ZB(t)&&JB.includes(t)){let i=e.getContext(`2d`).getImageData(0,0,e.width,e.height);try{let e=(await zB(`@jsquash/${t}`,`encode.js?module`)).default,a=await e(i,{quality:n});return new Blob([a],{type:r})}catch{}}return e.convertToBlob({type:r,quality:n/100})}})))()}var eV,tV;function nV(){return(nV=o((()=>{eV=({width:e,height:t},{width:n=e,height:r=t,fit:i=`scale-down`}={})=>{let a={scale:1,width:e,height:t};if(e===n&&t===r)return a;let o=e<=n&&t<=r,s=1,c=0,l=0;if(i===`scale-down`){if(o)return a;i=`contain`}return i===`contain`&&(s=Math.min(n/e,r/t),c=e*s,l=t*s),{scale:s,width:c,height:l}},tV=(e,t,n)=>{let{scale:r,width:i,height:a}=eV(t,n);return e.width=i,e.height=a,{scale:r,width:i,height:a}}})))()}var rV,iV,aV,oV,sV,cV;function lV(){return(lV=o((()=>{BB(),$B(),nV(),rV={format:`webp`,quality:85,width:512,height:512,fit:`contain`},iV=async({blob:e})=>{let t=URL.createObjectURL(e),n=new Image;return new Promise((e,r)=>{n.addEventListener(`load`,()=>{e({source:n,naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}),URL.revokeObjectURL(t)},{once:!0}),n.addEventListener(`error`,()=>{URL.revokeObjectURL(t),r(Error(`Failed to decode image`))},{once:!0}),n.src=t})},aV=async({blob:e})=>{let t=URL.createObjectURL(e),n=document.createElement(`video`);return new Promise((e,r)=>{n.addEventListener(`canplay`,()=>{n.pause(),e({source:n,naturalWidth:n.videoWidth,naturalHeight:n.videoHeight}),URL.revokeObjectURL(t)},{once:!0}),n.addEventListener(`error`,()=>{document.body.removeChild(n),URL.revokeObjectURL(t),r(Error(`Failed to decode video`))},{once:!0}),n.muted=!0,n.autoplay=!0,n.playsInline=!0,n.style.opacity=`0`,n.style.pointerEvents=`none`,document.body.appendChild(n),n.src=t})},oV=async e=>e.type.startsWith(`video/`)?aV({blob:e}):iV({blob:e}),sV=async(e,{format:t=`png`,quality:n=85,width:r=void 0,height:i=void 0,fit:a=`scale-down`}={})=>{let o,s=0,c=0;try{o=await createImageBitmap(e),{width:s,height:c}=o}catch{({source:o,naturalWidth:s,naturalHeight:c}=await oV(e))}r??=s,i??=c;let l=new OffscreenCanvas(512,512),u=l.getContext(`2d`);return tV(l,{width:s,height:c},{fit:a,width:r,height:i}),u.drawImage(o,0,0,l.width,l.height),o instanceof HTMLVideoElement&&document.body.removeChild(o),QB(l,{format:t,quality:n})},cV=async e=>{let t=await e.text();try{let{optimize:n}=await zB(`svgo`,`dist/svgo.browser.js`),{data:r}=n(t);return new Blob([r],{type:e.type})}catch{}return e}})))()}var uV,dV,fV,pV,mV,hV;function gV(){return(gV=o((()=>{BB(),$B(),nV(),AD(),uV=RB(`pdfjs-dist`),dV=`${uV}/build/pdf.min.mjs`,fV=`${uV}/build/pdf.worker.min.mjs`,pV={isEvalSupported:!1,disableAutoFetch:!0,cMapUrl:`${uV}/cmaps/`,iccUrl:`${uV}/iccs/`,standardFontDataUrl:`${uV}/standard_fonts/`,wasmUrl:`${uV}/wasm/`},hV=async(e,{format:t=`png`,quality:n=85,width:r=void 0,height:i=void 0,fit:a=`scale-down`}={})=>{if(!mV)try{mV=await kD(()=>import(dV),[]),mV.GlobalWorkerOptions.workerSrc=fV}catch{throw Error(`Failed to load PDF.js library`)}let o=URL.createObjectURL(e),s=new OffscreenCanvas(512,512),c=s.getContext(`2d`);try{let e=await(await mV.getDocument({...pV,url:o}).promise).getPage(1),t=e.getViewport({scale:1}),{scale:n}=tV(s,{width:t.width,height:t.height},{width:r,height:i,fit:a});await e.render({canvasContext:c,viewport:n===1?t:e.getViewport({scale:n})}).promise,URL.revokeObjectURL(o)}catch{throw Error(`Failed to render PDF`)}return QB(s,{format:t,quality:n})}})))()}var _V,vV,yV,bV,xV,SV,CV,wV,TV,EV,DV,OV,kV;function AV(){return(AV=o((()=>{gM(),ed(),cM(),nD(),cR(),oM(),kq(),AM(),JZ(),xM(),ZK(),vB(),xR(),iB(),lV(),gV(),_V=/^(?:https?|data|blob):/,vV=new Set,yV=async(e,t=0)=>{let{file:n,handle:r,blobURL:i,name:a,path:o}=e;if(i)return fetch(i).then(e=>e.blob());let s;if(n)s=n;else if(r)try{s=await r.getFile()}catch{throw Error(`Failed to retrieve blob from file handle`)}else{if(vV.has(o)&&t<=25)return await $u(200),yV(e,t+1);vV.add(o);let n=await A(KZ)?.fetchBlob?.(e);if(!n)throw Error(`Failed to retrieve blob`);s=new Blob([n],{type:sR.getType(a)??n.type})}return e.blobURL=URL.createObjectURL(s),vV.delete(o),s},bV=async e=>(e.blobURL||await yV(e),e.blobURL),xV=void 0,SV=new Map,CV=()=>{if(xV===void 0){let{databaseName:e}=A(KZ)?.repository??{};xV=e?new sM(e,`asset-thumbnails`):null}},wV=async(e,t)=>{let n=await xV?.get(e.sha);if(!n){let r=await yV(e);n=await(t?hV:sV)(r,rV),await xV?.set(e.sha,n)}return n},TV=async(e,{cacheOnly:t=!1}={})=>{let n=e.name.endsWith(`.pdf`);if(!([`image`,`video`].includes(e.kind)||n))return;CV();let{sha:r}=e,i=SV.get(r);if(!i){if(t){let e=await xV?.get(r);return e?URL.createObjectURL(e):void 0}i=wV(e,n).finally(()=>{SV.delete(r)}),SV.set(r,i)}let a=await i;return a?URL.createObjectURL(a):void 0},EV=({blobURL:e})=>{window.requestAnimationFrame(()=>{e&&!document.querySelector(`[src="${e}"]`)&&(URL.revokeObjectURL(e),delete A(cq).find(t=>t.blobURL===e)?.blobURL)})},DV=(e,{pathOnly:t=!1,allowSpecial:n=!1,entry:r=void 0}={})=>{let{publicPath:i,entryRelative:a,hasTemplateTags:o}=e.folder.collectionName===void 0?e.folder:OM(e.path).find(({collectionName:e})=>e!==void 0)??A(CM);if(a){if(t){let t=mM(e.path).dirname,n=r?mM(Object.values(r.locales)[0].path).dirname:void 0;if(t!==void 0&&n!==void 0){if(t===n)return e.name;let r=`${n}/`;return e.path.startsWith(r)?e.path.slice(r.length):void 0}let{internalPath:i,internalSubPath:a}=e.folder;if(e.path===$z([i,a,e.name]))return e.path.slice(i.length+1)}return}let{_baseURL:s=``,output:{encode_file_path:c=!1}={}}=A(GK),l=o?e.path.replace(Wz(e.folder.internalPath??``,e=>{let t=e.match(yM)?.[1];return t?`(?<${t}>[^/]+)`:XE(e)}),i?.replaceAll(Jce,`$<$1>`)??``):e.path.replace(e.folder.internalPath??``,i===`/`?``:i??``);if(c&&(l=Gz(l)),!(!l.startsWith(`/`)&&!n))return t?l:`${s}${l}`},OV=e=>{if(gB.cloudinary?.isEnabled?.()){let t=vR(e);if(t.output_filename_only&&t.config?.cloud_name)return`https://res.cloudinary.com/${t.config.cloud_name}`}},kV=async({value:e,entry:t,collectionName:n,fileName:r,componentName:i,fieldConfig:a,typedKeyPath:o,thumbnail:s=!1})=>{if(!e)return;if(_V.test(e))return e;if(Cq(e)){let t=OV(a);if(t)return`${t}/${e}`}let c=wq({value:e,entry:t,collectionName:n,fileName:r,componentName:i,typedKeyPath:o});if(c)return(s?await TV(c):await bV(c))??DV(c)}})))()}var jV,MV,NV,PV,FV,IV,LV,RV,zV;function BV(){return(BV=o((()=>{kF(),jV=l(WF(),1),MV=l(GF(),1),NV=l(KF(),1),PV=l(qF(),1),oM(),JZ(),tW(),ZK(),bL(),dL(),OI(),ZF(),XL(),jV.default.extend(MV.default),jV.default.extend(NV.default),jV.default.extend(PV.default),FV=/{{(?:year|month|day|hour|minute|second)}}/,IV=e=>yL(Object.values(e.locales)[0].path).map(({collectionName:e})=>cL(e)).filter(e=>!!e),LV=({dateFieldName:e,fields:t,content:n})=>{let r=e?t.find(({widget:t,name:n})=>t===`datetime`&&n===e):t.find(({widget:e})=>e===`datetime`),i=r?n[r.name]:void 0;if(!r||!i)return;let a=r,o=GL(i,a);if(!VL(o))return;let{utc:s,outputUTC:c}=XF(a);return OF({date:o,timeZone:s||c?`UTC`:void 0})},RV=(e,t,n,r)=>{let{show_preview_links:i=!0,_baseURL:a}=A(GK)??{},{slug:o,path:s,content:c}=e.locales[t]??{},{preview_path:l,preview_path_date_field:u,fields:d=[],_i18n:{defaultLocale:f,omitDefaultLocaleFromPreviewPath:p}}=r??n;if(!i||!a||!s||!c||!l)return;let m=DI(n,e),h=(m?EI(n):void 0)?.fields??d,g;if(FV.test(l)&&(g=LV({dateFieldName:u,fields:h,content:c}),!g))return;let _=l;t===f&&p&&(_=_.replace(/{{locale}}[./]/,``));try{let e=eW(_,{type:`preview_path`,collection:n,content:c,locale:t,currentSlug:o,entryFilePath:s,dateTimeParts:g,isIndexFile:m});return`${a.replace(/\/$/,``)}/${e.replace(/^\//,``)}`}catch{return}},zV=(e,t)=>`${A(KZ)?.repository?.blobBaseURL}/${e.locales[t]?.path}?plain=1`})))()}var VV,HV;function UV(){return(UV=o((()=>{VV=/^\/?(?<pattern>.+?)(?:\/(?<flags>[dgimsuy]*))?$/,HV=e=>{if(e instanceof RegExp)return e;if(typeof e==`string`){let{pattern:t,flags:n}=e.match(VV)?.groups??{};if(t)try{return new RegExp(t,n)}catch{}}}})))()}var WV,GV,KV,qV,JV,YV,XV;function ZV(){return(ZV=o((()=>{oM(),AV(),ZK(),bL(),dL(),OI(),lI(),BV(),AU(),pI(),UV(),WV=/!\[.*?\]\((.+?)(?:\s+".*?")?\)/g,GV=an([]),KV=on(GV,e=>new Set(e.map(e=>e.id))),qV=e=>{let t=cL(e);if(!t)return[];let{_type:n,_i18n:{defaultLocale:r}}=t,{filter:i}=n===`entry`?t:{},a=i?.field,o=HV(i?.pattern),s=i?.value===void 0?[]:Array.isArray(i.value)?i.value:[i.value],c;if(n===`entry`){let n=t._file?.fullPathRegEx;c=n?e=>n.test(Object.values(e.locales)[0]?.path??``):t=>IV(t).some(({name:t})=>t===e)}else{let t=new Set(A(mL).filter(({collectionName:t})=>t===e).flatMap(({filePathMap:e})=>e?Object.values(e):[]));c=e=>{let n=Object.values(e.locales)[0]?.path;return!!n&&t.has(n)}}return A(hL).filter(t=>{if(!c(t))return!1;if(!a)return!0;let n=TU({entry:t,locale:r,collectionName:e,key:a})??null;return o?o.test(n):s.includes(n)})},JV=async({assetURL:e,newURL:t,collectionName:n,entry:r,content:i,keyPath:a,value:o,isIndexFile:s,collectionFile:c})=>{let l=c?.name,u=vU({collectionName:n,fileName:l,valueMap:i,keyPath:a,isIndexFile:s});if(!u)return!1;let d=e.startsWith(`blob:`),f={entry:r,collectionName:n,fileName:l},{widget:p=`string`}=u;if(dI.includes(p)){let n=d?await kV({...f,value:o})===e:o===e;return n&&t&&(i[a]=t),n}if([`richtext`,`markdown`].includes(p)){let n=[...o.matchAll(WV)];if(n.length)return(await Promise.all(n.map(async([,n])=>{let r=(d?await kV({...f,value:n}):n)===e;return r&&t&&(i[a]=i[a].replace(n,t)),r}))).some(Boolean)}return!1},YV=async(e,{entries:t=A(hL),newURL:n=``}={})=>{let r=A(GK)?._baseURL,i=r&&!e.startsWith(`blob:`)?e.replace(r,``):e,a=i.startsWith(`blob:`),o=!!n,s=await Promise.all(t.map(async e=>{let{locales:t}=e,r=IV(e),s=!1;for(let{content:c}of Object.values(t)){for(let[t,l]of Object.entries(c))if(!(typeof l!=`string`||!l)&&!(!a&&!l.includes(i))){for(let a of r){let r={assetURL:i,newURL:n,collectionName:a.name,entry:e,content:c,keyPath:t,value:l,isIndexFile:DI(a,e)},u=oI(a,e),d;if(d=u.length?(await Promise.all(u.map(e=>JV({...r,collectionFile:e})))).includes(!0):await JV({...r}),d&&(s=!0,!o))break}if(s&&!o)break}if(s&&!o)break}return s}));return t.filter((e,t)=>s[t])},XV=e=>{let t=EI(e);return t?!qV(e.name).some(({slug:e})=>e===t.name):!1}})))()}var QV,$V,eH,tH,nH;function rH(){return(rH=o((()=>{QV=new WeakMap,$V=e=>{let t=QV.get(e);if(t)return t;let n=new Map;return e.forEach(({value:e,label:t})=>{n.has(e)||n.set(e,t)}),QV.set(e,n),n},eH=new WeakMap,tH=0,nH=e=>(eH.has(e)||(eH.set(e,tH),tH+=1),eH.get(e))})))()}var iH,aH;function oH(){return(oH=o((()=>{tW(),iH=e=>QU(e)?e:e===`slug`?`{{fields.slug}}`:`{{${e}}}`,aH=e=>{if(!e||e.widget!==`list`)return!1;let t=`fields`in e,n=`types`in e;return t||n}})))()}var sH,cH,lH,uH;function dH(){return(dH=o((()=>{yO(),tW(),HU(),oH(),sH=(e,t,n)=>{let{slug:r,locale:i,getDisplayValue:a}=t,{content:o,locales:s,defaultLocale:c,identifierField:l}=n;if(e===`slug`)return r;if(e===`locale`)return i;let u=e.replace(/^fields\./,``);return a(u)||a(u,c)||NU(o,{identifierField:l})||NU(s[c]?.content||{},{identifierField:l})||r},cH=(e,t,n,r)=>{let{label:i,value:a,searchValue:o}=e;return t.forEach(e=>{let t=sH(e,n,r);i=i.replaceAll(`{{${e}}}`,t),a=a.replaceAll(`{{${e}}}`,t),o=o?.replaceAll(`{{${e}}}`,t)??``}),{label:i,value:a,searchValue:o}},lH=e=>{let t=[];return ZU(e,(e,n)=>(t.push(n),``)),t},uH=(e,t)=>{let n=e.value_field,r=e.display_fields??[n??`{{${t}}}`],i=e.search_fields??r,a=iH(n??`{{slug}}`),o=r.map(iH).join(` `),s=i.map(iH).join(` `),c=vO([...lH(o),...lH(a),...lH(s)]);return{_valueField:a,_displayField:o,_searchField:s,allFieldNames:c,hasListFields:c.some(e=>e.includes(`*`))}}})))()}var fH,pH,mH,hH,gH,_H,vH,yH,bH;function xH(){return(xH=o((()=>{nD(),AU(),oH(),dH(),IF(),fH=/\.(\d+)$/,pH=(e,t)=>{let n=new Map,r=new Map;return e.filter(e=>e.includes(`*`)).forEach(e=>{let r=e.replace(/\.\*.*$/,``),i=vU({...t,keyPath:r});n.set(e,{baseFieldName:r,fieldConfig:i,isComplexListField:aH(i)})}),[...n.entries()].forEach(([e,t])=>{let{baseFieldName:n}=t;r.has(n)||r.set(n,[]),r.get(n).push([e,t])}),r},mH=new Map,hH=({baseFieldName:e,groupEntries:t,content:n,templates:r,allFieldNames:i,context:a,fallbackContext:o})=>{let{_displayField:s,_valueField:c,_searchField:l}=r,u=FF(mH,e,()=>RegExp(`^${XE(e)}.\\d+$`));return Object.entries(n).filter(([e])=>u.test(e)).map(([e,t])=>{let n=e.match(fH);return{index:parseInt(n[1],10),value:t}}).sort((e,t)=>e.index-t.index).map(({value:e})=>{let n={label:s,value:c,searchValue:l};t.forEach(([t])=>{n.label=n.label.replaceAll(`{{${t}}}`,e),n.value=n.value.replaceAll(`{{${t}}}`,e),n.searchValue=n.searchValue.replaceAll(`{{${t}}}`,e)});let{label:r,value:u,searchValue:d}=cH(n,i.filter(e=>!e.includes(`*`)),a,o);return{label:r||``,value:u||a.slug,searchValue:d||r||``}})},gH=/^(.+)\.\*\.(.+)$/,_H=new Map,vH=e=>{let t=null;return e.some(([e])=>(t=e.match(gH),!!t)),t},yH=({groupEntries:e,content:t,templates:n,allFieldNames:r,context:i,fallbackContext:a})=>{let[,o,s]=vH(e)??[];if(!o)return[];let c=`${o}:${s}`,l=FF(_H,c,()=>{let e=XE(o),t=XE(s);return RegExp(`^${e}.([0-9]+).${t}$`)}),u=Object.entries(t).filter(([e])=>l.test(e)).map(([e,t])=>{let n=e.match(l);return{index:parseInt(n[1],10),value:t}}).sort((e,t)=>e.index-t.index),{_displayField:d,_valueField:f,_searchField:p}=n;return u.map(({index:n})=>{let o={label:d,value:f,searchValue:p};e.forEach(([e])=>{let r=e.match(gH);if(r){let[,i,a]=r,s=t[`${i}.${n}.${a}`]||``;o.label=o.label.replaceAll(`{{${e}}}`,s),o.value=o.value.replaceAll(`{{${e}}}`,s),o.searchValue=o.searchValue.replaceAll(`{{${e}}}`,s)}});let{label:s,value:c,searchValue:l}=cH(o,r.filter(e=>!e.includes(`*`)),i,a);return{label:s||``,value:c||i.slug,searchValue:l||s||``}})},bH=({baseFieldGroups:e,content:t,templates:n,allFieldNames:r,context:i,fallbackContext:a})=>{let o=[],s=!1;return e.forEach((e,c)=>{if(e.length===0)return;let[,l]=e[0],u={groupEntries:e,content:t,templates:n,allFieldNames:r,context:i,fallbackContext:a},d=l.isComplexListField?yH({...u}):hH({...u,baseFieldName:c});o.push(...d),s=!0}),{results:o,hasProcessedListFields:s}}})))()}var SH;function CH(){return(CH=o((()=>{HU(),dH(),SH=({templates:e,allFieldNames:t,context:n,fallbackContext:r})=>{let{slug:i}=n,{_displayField:a,_valueField:o,_searchField:s}=e,{content:c,locales:l,defaultLocale:u,identifierField:d}=r,f=Object.fromEntries(t.map(e=>[e,sH(e,n,r)])),p=a,m=o,h=s;return Object.entries(f).forEach(([e,t])=>{p=p.replaceAll(`{{${e}}}`,t),m=m.replaceAll(`{{${e}}}`,t),h=h.replaceAll(`{{${e}}}`,t)}),(!p||p.trim()===``)&&(p=NU(c,{identifierField:d})||NU(l[u]?.content||{},{identifierField:d})||i),{label:p||``,value:m||i,searchValue:h||p||``}}})))()}var wH;function TH(){return(TH=o((()=>{OI(),AU(),xH(),CH(),dH(),wH=({refEntry:e,content:t,collection:n,templates:r,allFieldNames:i,hasListFields:a,collectionName:o,fileName:s,locale:c,identifierField:l,defaultLocale:u})=>{let{slug:d,locales:f}=e,p={collectionName:o,fileName:s,isIndexFile:DI(n,e),keyPath:``},m={slug:d,locale:c,getDisplayValue:(e,n)=>CU({...p,keyPath:e,valueMap:n?f[n].content:t,locale:n??c})},h={content:t,locales:f,defaultLocale:u,identifierField:l};if(!a)return[SH({templates:r,allFieldNames:i,context:m,fallbackContext:h})];let g=pH(i,p),{results:_,hasProcessedListFields:v}=bH({baseFieldGroups:g,content:t,templates:r,allFieldNames:i,context:m,fallbackContext:h});if(v)return _;let{_displayField:y,_valueField:b,_searchField:x}=r,{label:S,value:C,searchValue:w}=cH({label:y,value:b,searchValue:x},i.filter(e=>!e.includes(`*`)),m,h);return[{label:S||``,value:C||d,searchValue:w||S||``}]}})))()}var EH,DH,OH;function kH(){return(kH=o((()=>{EH=/^{{fields\.(.+?)}}$/,DH=(e,t,n=void 0)=>e.map(({field:e,values:r,exclude:i})=>({field:e,exclude:i,values:r.flatMap(e=>{if(typeof e!=`string`)return[e];if(e===`{{slug}}`)return n?[n]:[];let r=e.match(EH);if(!r)return[e];let i=t?.[r[1]];return i===void 0?[]:[i]})})),OH=({refEntries:e,locale:t,fileName:n=void 0,entryFilters:r=[],defaultLocale:i=void 0})=>e.filter(e=>!n||n===e.slug).map(e=>{let{content:n}=e.locales[t]??(i?e.locales[i]:void 0)??e.locales._default??{};return{refEntry:e,hasContent:!!n&&Object.keys(n).length>0,content:n??{}}}).filter(({hasContent:e,content:t,refEntry:n})=>e&&r.every(({field:e,values:r,exclude:i=!1})=>{if(r.length===0)return!0;let a=e===`slug`,o=e.replace(/^fields\./,``),s=a?n.slug:t[o];return i?!r.includes(s):r.includes(s)}))})))()}var AH,jH,MH;function NH(){return(NH=o((()=>{nD(),dL(),ZV(),rH(),TH(),kH(),dH(),AH=new Map,jH=({locale:e,fieldConfig:t,refEntries:n,currentLocaleValues:r=void 0,currentSlug:i=void 0})=>{let{collection:a,file:o,filters:s}=t,c=DH(s??[],r,i),l=c.flatMap(({values:e})=>e).join(`\0`),u=`${e}|${`${nH(t)}|${nH(n)}`}|${l}`,d=AH.get(u);if(d)return d;let f=cL(a);if(!f)return AH.set(u,[]),[];let{_type:p,_i18n:{defaultLocale:m}}=f,{identifier_field:h=`title`}=p===`entry`?f:{},g=uH(t,h),{allFieldNames:_,hasListFields:v}=g,y=OH({refEntries:n,locale:e,fileName:o,entryFilters:c,defaultLocale:m}).flatMap(({refEntry:t,content:n})=>wH({refEntry:t,content:n,collection:f,templates:g,allFieldNames:_,hasListFields:v,collectionName:a,fileName:o,locale:e,identifierField:h,defaultLocale:m})).sort((e,t)=>tD(e.label,t.label));return AH.set(u,y),y},MH=({fieldConfig:e,valueMap:t,keyPath:n,locale:r})=>{let{multiple:i,collection:a}=e,o=qV(a),s=jH({locale:r,fieldConfig:e,refEntries:o}),c=$V(s),l=e=>c.get(e)||e;return i?Object.entries(t).filter(([e])=>e.match(`^${XE(n)}\\.\\d+$`)).map(([,e])=>e).map(l):l(t[n])}})))()}var PH,FH,IH;function LH(){return(LH=o((()=>{PH=({multiline:e,dotAll:t,source:n})=>e||t||n.includes(`[\\s\\S]`)||n.includes(`[\\S\\s]`),FH=e=>vM(Object.fromEntries(Object.entries(_M(e)).filter(([e])=>!e.split(`.`).pop()?.startsWith(`__sc_`)))),IH=e=>e.replace(/"/g,`'`)})))()}var RH,zH,BH,VH;function HH(){return(HH=o((()=>{RH=/!\[(?<alt>(?:[^\]\\]|\\.)*)\]\((?<src>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title>(?:[^"\\]|\\.)*)")?\)/,zH=new RegExp(RH,`g`),BH=/\[!\[(?<alt2>(?:[^\]\\]|\\.)*)\]\((?<src2>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title2>(?:[^"\\]|\\.)*)")?\)\](?:\((?<link>[^)]*\([^)]*\)[^)]*|[^)]*)\))/,VH=RegExp(`${RH.source}|${BH.source}`)})))()}var UH,WH,GH,KH;function qH(){return(qH=o((()=>{jA(),UH=e=>typeof e==`string`&&!!e.trim(),WH=e=>e.replace(/&(?![a-zA-Z0-9#]+;)/g,`&`).replaceAll(`"`,`"`),GH={ALLOWED_TAGS:[`a`],ALLOWED_ATTR:[`href`,`target`,`rel`]},KH=(e,t)=>AA(e.replace(`<a>`,`<a href="${WH(t)}" target="_blank" rel="noopener noreferrer">`),GH)})))()}var JH,YH,XH;function ZH(){return(ZH=o((()=>{Z(),bI(),LH(),HH(),qH(),JH={id:`image`,label:`Image`,fields:[{name:`src`,label:`Source`,widget:`image`},{name:`alt`,label:`Alt Text`,required:!1},{name:`title`,label:`Title`,required:!1}],pattern:RH,toBlock:e=>{let{src:t=``,alt:n=``,title:r=``}=e;return t?`}"`:``})`:``},toPreview:e=>{let{src:t=``,alt:n=``,title:r=``}=e;return`<img src="${WH(t)}" alt="${WH(n)}" title="${WH(r)}">`}},YH={id:`linked-image`,label:`Image`,fields:[...JH.fields,{name:`link`,label:`Link`,required:!1}],pattern:VH,fromBlock:e=>{let{src:t,alt:n,title:r,src2:i,alt2:a,title2:o,link:s}=e.groups??{};return{src:(t||i||``).trim(),alt:(n||a||``).trim(),title:(r||o||``).trim(),link:(s||``).trim()}},toBlock:e=>{let{src:t=``,alt:n=``,title:r=``,link:i=``}=e,a=t?`}"`:``})`:``;return a&&i?`[${a}](${i})`:a},toPreview:e=>{let{src:t=``,alt:n=``,title:r=``,link:i=``}=e,a=`<img src="${WH(t)}" alt="${WH(n)}" title="${WH(r)}">`;return i?`<a href="${WH(i)}">${a}</a>`:a}},XH=e=>{let t=mI.get(e);if(t)return{...t,id:`x-${e}`};let n={icon:`image`,label:X(`editor_components.image`),fields:[{name:`src`,label:X(`editor_components.src`),widget:`image`},{name:`alt`,label:X(`editor_components.alt`),required:!1},{name:`title`,label:X(`editor_components.title`),required:!1}],trigger:`button`};return{image:{...JH,...n},"linked-image":{...YH,...n,fields:[...n.fields,{name:`link`,label:X(`editor_components.link`),required:!1}]}}[e]}})))()}var QH,$H,eU;function tU(){return(tU=o((()=>{QH=/^\d+$/,$H=e=>QH.test(e),eU=(e,t)=>{if(typeof e!=`number`)return NaN;if(!Number.isFinite(e))return e;let n=10**t;return Math.round(e*n)/n}})))()}var nU,rU,iU,aU;function oU(){return(oU=o((()=>{yO(),tU(),nU=new Map,rU=new WeakMap,iU=e=>{let t=rU.get(e);return t===void 0&&(t=JSON.stringify(e),rU.set(e,t)),t},aU=({fieldConfig:e,valueMap:t,keyPath:n})=>{let{multiple:r,options:i}=e,a=_O(i),o;if(r){let e=`${n}.`;o=Object.entries(t).filter(([t])=>t.startsWith(e)&&$H(t.slice(e.length))).map(([,e])=>e)}let s=iU(i),c=r?`${n}|${s}|${JSON.stringify(o)}`:`${n}|${s}|${String(t[n])}`,l=nU.get(c);if(l)return l;let u=e=>i.find(t=>t.value===e)?.label||e;if(r){let e=a?o.map(u):o;return nU.set(c,e),e}let d=t[n],f=a?u(d):d;return nU.set(c,f),f}})))()}var sU,cU,lU;function uU(){return(uU=o((()=>{oM(),ZK(),sU=e=>{if(!e)return;let t=Object.values(e);if(t.some(e=>e.config?.multiple===!0))return!0;if(t.some(e=>e.config?.multiple===!1))return!1},cU=e=>{if(!e?.config)return;let{multiple:t}=e.config;if(typeof t==`boolean`)return t},lU=e=>{let t=A(GK);return e.multiple??sU(e.media_libraries)??cU(e.media_library)??sU(t?.media_libraries)??cU(t?.media_library)??!1}})))()}var dU,fU,pU,mU,hU,gU,_U,vU,yU,bU,xU,SU,CU,wU,TU,EU,DU,OU,kU;function AU(){return(AU=o((()=>{nD(),bI(),tI(),dL(),OI(),lI(),pI(),XL(),NH(),ZH(),oU(),BI(),uU(),IF(),tU(),dU=/^(.*?)<([^>]+)>(.*)$/,fU=/\.\d+$/,pU=new Map,mU=(e,t)=>{if(e.length!==1)return!1;let[n]=e;return n.widget===t&&`root`in n&&n.root===!0},hU=e=>{let t=e.widget??`string`;return dI.includes(t)?lU(e):fI.includes(t)?!!e.multiple:!1},gU=e=>{let t=e.match(dU);if(!t)return{cleanKey:e};let[,n,r,i]=t;return i?{cleanKey:e}:{cleanKey:n||``,typeName:r}},_U=({field:e,key:t,keyPathArray:n,segmentIndex:r,pendingExplicitType:i,valueMap:a})=>{let{cleanKey:o,typeName:s}=gU(t),{widget:c=`text`}=e,l=s??i,u=$H(o),d=o===`*`;if((u||d)&&fI.includes(c))return{field:hU(e)?e:void 0,explicitType:l};let{field:f}=e,{fields:p}=e,{types:m,typeKey:h=`type`}=e;if(f){let e=u||d?n[r+1]:void 0;return{field:!e||f.name===e||f.widget===`object`&&`fields`in f&&f.fields?.some(t=>t.name===e)?f:void 0,explicitType:l}}if(p&&(u||d))return{field:e,explicitType:l};if(p&&!u&&o!==``)return{field:p.find(({name:e})=>e===o),explicitType:l};if(m&&(u||d)){let e=l??a[[n.slice(0,r).join(`.`),o,h].join(`.`)];return{field:m.find(({name:t})=>t===e),explicitType:d?void 0:l}}if(m&&t!==h&&o!==h&&o!==``){let e=l??a[[n.slice(0,r).join(`.`),h].join(`.`)];return{field:m.find(({name:t})=>t===e)?.fields?.find(({name:e})=>e===o),explicitType:void 0}}return{field:void 0,explicitType:l}},vU=e=>{let{collectionName:t,fileName:n=void 0,componentName:r=void 0,valueMap:i={},keyPath:a,isIndexFile:o=!1}=e,s=[t,n??``,r??``,a,o?`1`:`0`].join(`|`);if(pU.has(s))return pU.get(s);let c=cL(t),l=c&&n?iI(c,n):void 0;if(!c||n&&c?._type!==`entry`&&!l){pU.set(s,void 0);return}let{fields:u=[]}=l??c,d=o?EI(c):void 0,f=r?XH(r)?.fields??[]:d?.fields??u,p=a.split(`.`),m,h,g=!1;if(p.forEach((e,t)=>{if(t===0){let{cleanKey:t,typeName:n}=gU(e);m=f.find(({name:e})=>e===t),!m&&d?.fields&&(m=u.find(({name:e})=>e===t)),n&&(h=n)}else if(m){let n=_U({field:m,key:e,keyPathArray:p,segmentIndex:t,pendingExplicitType:h,valueMap:i});m=n.field,h=n.explicitType}m&&`types`in m&&(g=!0)}),h&&m&&`types`in m){let{types:e}=m;m=e.find(({name:e})=>e===h)}return g||pU.set(s,m),m},yU=e=>{let t=e.widget??`string`;return uI.includes(t)?`builtin`:hI.has(t)?`custom`:`unknown`},bU=({fieldConfig:{required:e=!0},locale:t})=>Array.isArray(e)?e.includes(t):!!e,xU=new Map,SU=new Map,CU=({collectionName:e,fileName:t,valueMap:n={},keyPath:r,locale:i,transformations:a,isIndexFile:o=!1})=>{let s=vU({collectionName:e,fileName:t,valueMap:n,keyPath:r,isIndexFile:o}),c=n[r];if(c===void 0&&a?.length)return``;if(s?.widget===`datetime`&&(a?.some(({method:e})=>e===`date`)||(c=YL({locale:i,fieldConfig:s,currentValue:c}))),s?.widget===`relation`&&(c=MH({fieldConfig:s,valueMap:n,keyPath:r,locale:i})),s?.widget===`select`&&(c=aU({fieldConfig:s,valueMap:n,keyPath:r})),s?.widget===`list`){let{fields:e}=s,{types:t}=s;if(!(e||t)){let e=FF(xU,r,()=>RegExp(`^${XE(r)}${String.raw`\.\d+$`}`));c=RI(i).format(Object.entries(n).filter(([t,n])=>e.test(t)&&typeof n==`string`&&!!n).map(([,e])=>e))}}if(s?.widget===`number`){let{value_type:e=`int`}=s;if(e===`int`||e===`float`){let e=NI(i),t=SU.get(e);t||(t=Intl.NumberFormat(e),SU.set(e,t)),c=t.format(Number(c))}}return Array.isArray(c)&&(c=RI(i).format(c)),a?.length&&(c=eI({fieldConfig:s,value:c,transformations:a,locale:i})),String(c??``)},wU=({valueMap:e,locale:t,keyPath:n,keyPathRegex:r,getFieldArgs:i})=>{let a=[`${n}.title`,`${n}.name`,...Object.keys(e)].find(t=>{let n=e[t];if(!r.test(t)||!(typeof n==`string`&&n.trim()||typeof n==`number`&&!Number.isNaN(n)))return!1;let a=vU({...i,keyPath:t});return!!a&&a.widget!==`hidden`});return a?CU({...i,keyPath:a,locale:t}):``},TU=({entry:e,locale:t,collectionName:n,key:r,resolveRef:i=!0})=>{let{slug:a,locales:o,commitAuthor:{name:s,login:c,email:l}={},commitDate:u}=e;if(r===`slug`)return a;if(r===`commit_author`)return s||c||l;if(r===`commit_date`)return u;let{content:d}=o[t]??{};if(d===void 0)return;let f=cL(n);if(f){if(i){let i=DI(f,e),a=vU({collectionName:n,keyPath:r,isIndexFile:i});if(a?.widget===`relation`)return MH({fieldConfig:a,valueMap:d,keyPath:r,locale:t})}return d[r]}},EU=/^(?<parent>.+)\.\d+$/,DU=new WeakMap,OU=(e,t)=>{let n=DU.get(e);return n||(n=new Map,Object.keys(e).forEach(e=>{let{parent:t}=e.match(EU)?.groups??{};if(t===void 0)return;let r=n.get(t);r?r.push(e):n.set(t,[e])}),DU.set(e,n)),n.get(t)??[]},kU=({valueMap:e,keyPath:t,isList:n,multiple:r,isEditor:i,isCustomFieldType:a=!1})=>{let o=e[t];if(!n&&!a)return o;let s=OU(e,t);return s.length?s.map(t=>e[t]).filter(e=>e!==void 0):a?o:i&&r&&o!==void 0&&typeof o!=`object`?[o]:[]}})))()}var jU,MU,NU,PU,FU,IU,LU,RU,zU,BU,VU;function HU(){return(HU=o((()=>{Z(),kF(),nD(),jA(),iM(),Ode(),oM(),tW(),UF(),tI(),bL(),OI(),AU(),jU=/^#+\s+(?<header>.+?)(?:\s+\{#.+?\})?\s*$/m,MU=(e,{allowMarkdown:t=!1}={})=>(e=nM(e),t&&(e=wde(e)),e=AA(e,{ALLOWED_TAGS:t?[`strong`,`em`,`code`]:[]}),t||(e=wde(e)),e.trim()),NU=(e,{identifierField:t=`title`,useBody:n=!0}={})=>{let r=[t,`title`,`name`,`label`].find(t=>typeof e[t]==`string`&&!!e[t].trim());return r?e[r].trim():n&&typeof e.body==`string`?e.body.match(jU)?.groups?.header??``:``},PU=(e,t)=>{let{slug:n,entryPath:r,basePath:i,locales:a,commitDate:o,commitAuthor:s}=t;if(e===`slug`)return n;if(e===`locales`)return a.sort((e,t)=>e.localeCompare(t)).join(`, `);if(e===`dirname`){let e=r.replace(/[^/]+$/,``);if(i){let t=i.endsWith(`/`)?i:`${i}/`;e.startsWith(t)?e=e.slice(t.length):e.startsWith(i)&&(e=e.slice(i.length))}return QE(e)}if(e===`filename`)return r.split(`/`).pop().split(`.`).shift();if(e===`extension`)return r.split(`/`).pop().split(`.`).pop();if(e===`commit_date`)return o??``;if(e===`commit_author`)return s?.name||s?.login||s?.email},FU=(e,t)=>{let{content:n,collectionName:r,replaceSubContext:i,defaultLocale:a,fallbackSummary:o}=t,{value:s,transformations:c}=$F(e),l=s.replace(/^fields\./,``),u={collectionName:r,valueMap:n,keyPath:l},d=PU(s,i),f=HF(c,e=>FU(e,t));if(d===void 0&&(d=f.some(({method:e})=>e===`date`||e===`ternary`)?n[l]:CU({...u,locale:a}),l===`title`&&!d&&(d=o)),d===void 0)return``;if(d instanceof Date&&!f.length){let{year:e,month:t,day:n}=OF({date:d});return`${e}-${t}-${n}`}return f.length&&(d=eI({fieldConfig:vU({...u}),value:d,transformations:f,locale:a})),String(d)},IU=new WeakMap,RU=0,zU=()=>{let e=A(hL);return e!==LU&&(LU=e,RU+=1),RU},BU=(e,t,{locale:n,useTemplate:r=!1,allowMarkdown:i=!1}={})=>{if(DI(e,t))return EI(e)?.label;let{_type:a,name:o,_i18n:{defaultLocale:s}}=e,{_file:{basePath:c}={},identifier_field:l=`title`,summary:u}=a===`entry`?e:{},{locales:d,slug:f,commitDate:p,commitAuthor:m}=t,{content:h={},path:g=``}=d[n??s]??Object.values(d)[0]??{},_=NU(h,{identifierField:l})||f.replaceAll(`-`,` `);if(!r||!u)return MU(_,{allowMarkdown:i});let v={content:h,collectionName:o,replaceSubContext:{slug:f,entryPath:g,basePath:c,locales:Object.keys(d),commitDate:p,commitAuthor:m},defaultLocale:s,fallbackSummary:_};return MU(ZU(u,(e,t)=>FU(t,v)),{allowMarkdown:i})},VU=(e,t,n={})=>{let{locale:r,useTemplate:i=!1,allowMarkdown:a=!1}=n,o=IU.get(t);o||(o=new WeakMap,IU.set(t,o));let s=o.get(e);s||(s=new Map,o.set(e,s));let c=[r??``,i?`1`:`0`,a?`1`:`0`,Lu.current,zU()].join(`
|
|
346
346
|
`),l=s.get(c);if(l!==void 0)return l;let u=BU(e,t,n);return s.set(c,u),u}})))()}var UU,WU,GU,KU;function qU(){return(qU=o((()=>{ud(),xM(),HU(),UU=(e,t)=>Yce.includes(e)?t[e]:void 0,WU=e=>{switch(e){case`uuid`:return sd();case`uuid_short`:return sd(`short`);case`uuid_shorter`:return sd(`shorter`);default:return}},GU=(e,t)=>{if(e!==`slug`)return;let{type:n,isIndexFile:r,currentSlug:i,content:a,identifierField:o}=t;return n===`preview_path`&&r?``:i??NU(a,{identifierField:o})},KU=(e,t,n)=>{if(!t)return``;switch(e){case`dirname`:{let e=t.replace(n??``,``),r=e.lastIndexOf(`/`);return r>0?e.substring(0,r):``}case`filename`:return t.split(`/`).pop().split(`.`).shift();case`extension`:return t.split(`/`).pop().split(`.`).pop();default:return}}})))()}var JU,YU;function XU(){return(XU=o((()=>{ud(),RF(),qU(),UF(),tI(),AU(),iB(),JU=(e,t)=>{let{type:n,content:r,entryFilePath:i,locale:a,dateTimeParts:o,basePath:s}=t,c=UU(e,o);if(c!==void 0)return c;let l=GU(e,t);if(l!==void 0)return l;let u=WU(e);if(u!==void 0)return u;if(n===`preview_path`&&e===`locale`)return a;if(n===`preview_path`||n===`media_folder`){let t=KU(e,i,s);return t===void 0?void 0:t}return r[e.replace(/^fields\./,``)]},YU=(e,t)=>{let{replaceSubContext:n,getFieldArgs:r}=t,{value:i,transformations:a}=$F(e),o=JU(i,n),s=HF(a,e=>String(JU(e,n)??``)),c=a.some(e=>e.args.defaultValue!==void 0),l=a.some(e=>[e.args.defaultValue,e.args.truthyValue,e.args.falsyValue].some(e=>typeof e==`string`&&e.includes(`{{`)&&!/^{{[^{}]+}}$/.test(e)));if(o===void 0&&!c)return sd(`short`);if((o===void 0||o===``)&&c&&l)return`${sd(`short`)}-${sd(`short`)}`;let{type:u,locale:d}=n;return s.length&&(o=eI({fieldConfig:vU({...r,keyPath:i}),value:o,transformations:s,locale:d})),o=eB(String(o)),u?o:LF(o,{locale:d,maxLength:1/0})}})))()}var ZU,QU,$U,eW;function tW(){return(tW=o((()=>{kF(),nD(),oM(),xM(),XU(),ZK(),ZV(),iB(),ZU=(e,t)=>{let n=``,r=0;for(;r<e.length;){let i=e.indexOf(`{{`,r);if(i===-1){n+=e.slice(r);break}n+=e.slice(r,i);let a=i+2,o=!1;for(;a<e.length;){let s=e[a],c=e[a+1];if(s===`'`&&!o?o=!0:s===`'`&&o&&(o=!1),!o&&s===`}`&&c===`}`){let o=a,s=e[i-1]===`'`,c=e[o+2]===`'`,l=e[i-2],u=e[o+3],d=e.slice(i+2,o),f=s&&c&&[`(`,`,`,`[`,`|`].includes(l??``)&&[`)`,`,`,`]`].includes(u??``);n+=d?f?e.slice(i,o+2):t(e.slice(i,o+2),d):e.slice(i,o+2),r=o+2;break}a+=1}if(a>=e.length){n+=e.slice(i);break}}return n},QU=e=>yM.test(e),$U=(e,t)=>qV(e).map(e=>t?e.locales[t]?.slug:e.slug).filter(Boolean),eW=(e,t)=>{let{collection:n,content:r,currentSlug:i,locale:a,dateTimeParts:o,isIndexFile:s=!1}=t,{_type:c,name:l}=n,{identifier_field:u=`title`,slug_length:d=void 0,_file:{basePath:f}={}}=c===`entry`?n:{},p=A(GK)?.slug,m=d??p?.maxlength,h=p?.timezone===`local`?void 0:`UTC`,g={replaceSubContext:{...t,dateTimeParts:o??OF({timeZone:h}),identifierField:u,basePath:f},getFieldArgs:{collectionName:l,keyPath:``,valueMap:r,isIndexFile:s}},_=ZU(e,(e,t)=>YU(t,g)).trim();return i?_:(typeof m==`number`&&(_=ZE(_,m,{ellipsis:``}).replace(/-$/,``)),Yz(_,$U(l,a)))}})))()}var nW,rW,iW,aW,oW,sW,cW,lW,uW;function dW(){return(dW=o((()=>{gM(),nD(),tW(),dL(),lI(),nW=[],rW=e=>e.includes(`{{media_folder}}`)||e.includes(`{{public_folder}}`),iW=(e,{globalMediaFolder:t,globalPublicFolder:n})=>e.trim().replace(`{{media_folder}}`,`/${t}`).replace(`{{public_folder}}`,`/${n}`).replace(`//`,`/`),aW=({collectionName:e,fileName:t,componentName:n,typedKeyPath:r,isIndexFile:i=!1,mediaFolder:a,publicFolder:o,baseFolder:s,globalFolders:c,label:l,icon:u,isAssetCollection:d=!1})=>{if(rW(a)){if(!c)return;a=iW(a,c)}if(o===void 0)o=a;else if(rW(o)){if(!c)return;o=iW(o,c)}a=a.replace(/^\.(?:\/|$)/,``);let f=!a.startsWith(`/`);return{collectionName:e,fileName:t,componentName:n,typedKeyPath:r,isIndexFile:i,internalPath:QE(f?s??``:a),internalSubPath:f?QE(a):void 0,publicPath:/^($|[.@])/.test(o)?o:`/${QE(o)}`,entryRelative:f,hasTemplateTags:QU(a),label:l,icon:u,isAssetCollection:d}},oW=e=>{if(e.mediaFolder===void 0)return;let t=aW(e);if(!t)return;let{globalMediaFolder:n,globalPublicFolder:r}=e.globalFolders??{};!t.entryRelative&&t.internalPath===n&&t.publicPath===r||nW.push(t)},sW=({collectionName:e,files:t,globalFolders:n})=>{rI(t).forEach(t=>{let{name:r,file:i,media_folder:a,public_folder:o}=t;oW({collectionName:e,fileName:r,mediaFolder:a,publicFolder:o,baseFolder:mM(i).dirname,globalFolders:n})})},cW=({fieldMediaFolders:e,validCollections:t,globalFolders:n})=>{e.forEach(({fieldConfig:e,context:r})=>{let{collection:i,collectionFile:a,componentName:o,typedKeyPath:s,isIndexFile:c}=r;!(i&&(i.name===`_singletons`||t.some(e=>e.name===i.name)))&&!o||oW({collectionName:i?.name,fileName:a?.name,componentName:o,typedKeyPath:s,isIndexFile:c,mediaFolder:e.media_folder,publicFolder:e.public_folder,baseFolder:i&&`folder`in i?i.folder:void 0,globalFolders:n})})},lW=({assetCollections:e,globalFolders:t})=>{e.forEach(e=>{let{name:n,label:r=n,icon:i,media_folder:a,public_folder:o}=e;a!==void 0&&oW({collectionName:`assets:${n}`,mediaFolder:`/${QE(a)}`,publicFolder:o,globalFolders:t,label:r,icon:i,isAssetCollection:!0})})},uW=(e,t=[])=>{nW.length=0;let{media_folder:n,public_folder:r,collections:i,singletons:a,asset_collections:o}=e,s=n!==void 0,c=s?QE(n).replace(/^\.$/,``):``,l=s?r?`/${QE(r)}`.replace(/^\/@/,`@`):`/${c}`:``,u={collectionName:void 0,internalPath:void 0,internalSubPath:void 0,publicPath:void 0,entryRelative:!1,hasTemplateTags:!1,label:void 0,icon:void 0,isAssetCollection:!1},d=s?{...u,internalPath:c,publicPath:l}:void 0,f=s?{globalMediaFolder:c,globalPublicFolder:l}:void 0,p=nL({collections:i});p.forEach(e=>{let{name:t,files:n,folder:r,path:i,media_folder:a,public_folder:o}=e;oW({collectionName:t,mediaFolder:s&&a===void 0&&i!==void 0?``:a,publicFolder:o,baseFolder:r,entryPath:i,globalFolders:f}),n?.length&&sW({collectionName:t,files:n,globalFolders:f})}),a?.length&&sW({collectionName:`_singletons`,files:a,globalFolders:f}),cW({fieldMediaFolders:t,validCollections:p,globalFolders:f}),nW.sort((e,t)=>tD(e.internalPath,t.internalPath));let m=[];return d&&m.push(d),o?.length&&lW({assetCollections:o,globalFolders:f}),m.push(...nW),m.length&&m.unshift(u),m}})))()}var fW,pW,mW,hW,gW,_W,vW;function yW(){return(yW=o((()=>{nD(),dL(),lI(),BI(),XI(),fW=({collection:e,file:t})=>{let n=QE(t.file);if(!n.includes(`{{locale}}`))return{_default:n};let r=YI(e,t);return Object.fromEntries(r.allLocales.map(e=>[e,zI({_i18n:r,locale:e,path:n})]))},pW=(e,t)=>{if(nI(t))return{collectionName:e.name,fileName:t.name,filePathMap:fW({collection:e,file:t})}},mW=(e,t)=>tD(Object.values(e.filePathMap??{})[0],Object.values(t.filePathMap??{})[0]),hW=({collections:e})=>nL({collections:e,type:`entry`}).map(e=>{let{name:t,folder:n}=e,r=QE(n),{allLocales:i,defaultLocale:a,omitDefaultLocaleFromFilePath:o,structureMap:{i18nMultiRootFolder:s}}=YI(e);return{collectionName:t,folderPath:r,folderPathMap:Object.fromEntries(i.map(e=>[e,s?o&&e===a?r:`${e}/${r}`:r]))}}).sort((e,t)=>tD(e.folderPath,t.folderPath)),gW=({collections:e})=>nL({collections:e,type:`file`}).flatMap(e=>(e.files??[]).map(t=>pW(e,t))).filter(e=>!!e).sort(mW),_W=({singletons:e})=>{let t=Array.isArray(e)?rI(e):[];if(!t.length)return[];let n={name:`_singletons`,files:t};return t.map(e=>pW(n,e)).filter(e=>!!e).sort(mW)},vW=e=>[...hW(e),...gW(e),..._W(e)]})))()}var bW,xW;function SW(){return(SW=o((()=>{LB(),bW=`${IB}/schema/sveltia-cms.json`,xW=[`text/yaml`,`application/yaml`,`application/toml`,`application/json`]})))()}var CW,wW;function TW(){return(TW=o((()=>{CW=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i,wW=class e extends Date{#e=!1;#t=!1;#n=null;constructor(e){
|
|
347
347
|
/*!
|
|
348
348
|
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
@@ -741,7 +741,7 @@ function WW(e){let t=typeof e;if(t===`object`){if(Array.isArray(e))return`array`
|
|
|
741
741
|
|
|
742
742
|
@media (width < 768px) {height:120px;
|
|
743
743
|
}}h1:where(.svelte-7ua6x9) {font-size:48px;}.logo:where(.svelte-7ua6x9) ~ h1:where(.svelte-7ua6x9) {font-size:var(--sui-font-size-xxx-large);}.error:where(.svelte-7ua6x9) {border-radius:var(--sui-control-medium-border-radius);padding:12px;background-color:var(--sui-tertiary-background-color);font-size:var(--sui-font-size-default);text-align:center;-webkit-user-select:text;user-select:text;cursor:text;}
|
|
744
|
-
/* \`<SignIn>\` also has \`.message\` */.message {margin:0 0 16px;font-size:var(--sui-font-size-large);font-weight:var(--sui-font-weight-normal);text-align:center;ul {margin:12px 0 0;padding:0;max-height:160px;overflow-y:auto;list-style:none;}li {margin:12px;padding:0;}}}.powered-by.svelte-7ua6x9 {position:absolute;inset:auto 24px 24px;color:var(--sui-tertiary-foreground-color);font-size:var(--sui-font-size-small);text-align:center;}`}})))()}function kfe(e,t){O(t,!0);let n=()=>j(KZ,`$backend`,i),r=()=>j(GK,`$cmsConfig`,i),[i,a]=un(),o=0,s=N(!1),c=N(`none`),l=async()=>{n()?.checkStatus&&P(c,await n().checkStatus(),!0)},u=()=>{l(),o=window.setInterval(()=>{l()},3e5)},d=()=>{window.clearInterval(o),P(c,`none`)},f=()=>{z(s)&&(n()?.checkStatus&&!n().repository?.isSelfHosted?u():d())};tc(()=>(P(s,!0),()=>{d()})),Yr(()=>{z(s),n(),r(),f()});var p=V(),m=I(p),h=e=>{var t=I$(),r=I(t);{let e=M(()=>z(c)===`major`?`error`:`warning`);ro(r,()=>({"--sui-infobar-message-justify-content":`center`})),Ud(r.lastChild,{get status(){return z(e)},children:(e,t)=>{pt();var r=F$(),i=I(r),a=L(i);{let e=M(()=>X(`details`));Id(a,{variant:`link`,get label(){return z(e)},onclick:()=>{jQ(n()?.statusDashboardURL)}})}R(e=>U(i,`${e??``} `),[()=>X(`backend_status.${z(c)}_incident`,{values:{service:n()?.label}})]),H(e,r)},$$slots:{default:!0}}),D(r)}H(e,t)},g=M(()=>[`minor`,`major`].includes(z(c)));W(m,e=>{z(g)&&e(h)}),H(e,p),k(),a()}var F$,I$;function L$(){return(L$=o((()=>{Y(),J(),Z(),Hd(),qd(),ic(),JZ(),ZK(),MQ(),F$=B(` <!>`,1),I$=B(`<svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>`,1)})))()}function Afe(e,t){O(t,!0);let n=`${IB}/package.json`,r=`${IB}/dist/sveltia-cms.js`,i=0,a=0,o=N(!1),s=async()=>{try{let e=await fetch(n);if(!e.ok)return;let{version:t}=await e.json();if(!t||t===FB)return;document.querySelector(`script[src="${r}"]`)?a=window.setTimeout(()=>{P(o,!0)},6e5):console.warn(`[Sveltia CMS] A new version (${t}) is available. Update the pinned version in your script tag or package.json to upgrade.`)}catch{}};tc(()=>(s(),i=window.setInterval(()=>{s()},36e5),()=>{window.clearInterval(i),window.clearTimeout(a)}));var c=V(),l=I(c),u=e=>{var t=z$(),n=I(t);ro(n,()=>({"--sui-infobar-message-justify-content":`center`})),Ud(n.lastChild,{children:(e,t)=>{pt();var n=R$(),r=I(n),i=L(r);{let e=M(()=>X(`update_now`));Id(i,{variant:`link`,get label(){return z(e)},onclick:()=>{window.location.reload()}})}R(e=>U(r,`${e??``} `),[()=>X(`update_available`)]),H(e,n)},$$slots:{default:!0}}),D(n),H(e,t)};W(l,e=>{z(o)&&e(u)}),H(e,c),k()}var R$,z$;function B$(){return(B$=o((()=>{Y(),J(),Z(),Hd(),qd(),ic(),LB(),R$=B(` <!>`,1),z$=B(`<svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>`,1)})))()}var V$;function H$(){return(H$=o((()=>{V$={create:`New`,select:`Select`,select_all:`Select All`,upload:`Upload`,copy:`Copy`,download:`Download`,duplicate:`Duplicate`,delete:`Delete`,reorder:`Reorder`,cancel:`Cancel`,done:`Done`,save:`Save`,saving:`Saving…`,publish:`Publish`,publishing:`Publishing…`,rename:`Rename`,update:`Update`,replace:`Replace`,add:`Add`,remove:`Remove`,clear:`Clear`,expand:`Expand`,expand_all:`Expand All`,collapse:`Collapse`,collapse_all:`Collapse All`,insert:`Insert`,restore:`Restore`,discard:`Discard`,searching:`Searching…`,no_results:`No results found.`,global:`Global`,primary:`Primary`,secondary:`Secondary`,collection:`Collection`,folder:`Folder`,api_key:`API Key`,details:`Details`,back:`Back`,loading:`Loading…`,later:`Later`,slug:`Slug`,singleton:`Singleton`,singletons:`Singletons`,clipboard_error:`Couldn’t copy to clipboard.`,welcome_message:`Welcome to {$name}`,powered_by:`Powered by {$name}`,loading_cms_config:`Loading CMS Configuration…`,loading_site_data:`Loading Site Data…`,loading_site_data_error:`There was an error while loading site data.`,sign_in_with_x:`Sign In with {$service}`,sign_in_using_access_token:`Sign In Using Access Token`,sign_in_using_access_token_description:`Enter your token below. It must have read/write access to the repository content.`,sign_in_using_access_token_link:`You can generate a token on the <a>{$service} user settings page</a>.`,personal_access_token:`Personal Access Token`,authorizing:`Authorizing…`,signing_in:`Signing in…`,work_with_local_repo:`Work with Local Repository`,work_with_local_repo_description:`Once prompted, select the root directory of the “{$repo}” repository.`,work_with_local_repo_description_no_repo:`Once prompted, select the root directory of your Git repository.`,work_with_test_repo:`Work with Test Repository`,sign_in_error:{not_project_root:`The selected folder is not a repository root directory. Please try again.`,picker_dismissed:`A repository root directory could not be selected. Please try again.`,authentication_aborted:`Authentication aborted. Please try again.`,invalid_token:`The provided token is invalid. Please check and try again.`,UNSUPPORTED_BACKEND:`Your Git backend is not supported by the authenticator.`,UNSUPPORTED_DOMAIN:`Your domain is not allowed to use the authenticator.`,MISCONFIGURED_CLIENT:`OAuth app client ID or secret is not configured.`,AUTH_CODE_REQUEST_FAILED:`Failed to receive an authorization code. Please try again later.`,CSRF_DETECTED:`Potential CSRF attack detected. Authentication flow aborted.`,TOKEN_REQUEST_FAILED:`Failed to request an access token. Please try again later.`,TOKEN_REFRESH_FAILED:`Failed to refresh the access token. Please try again later.`,MALFORMED_RESPONSE:`Server responded with malformed data. Please try again later.`},backend_unsupported_version:`The {$name} backend requires {$name} {$version} or later.`,repository_no_access:`You don’t have access to the “{$repo}” repository.`,repository_not_found:`The “{$repo}” repository doesn’t exist.`,repository_empty:`The “{$repo}” repository has no branches.`,branch_not_found:`The “{$repo}” repository doesn’t have the “{$branch}” branch.`,unexpected_error:`Unexpected Error`,entry_parse_errors:`.input {$count :integer} .match $count one {{There was an error while parsing an entry file. Check the browser console for details.}} * {{There were errors while parsing entry files. Check the browser console for details.}}`,username:`Username`,password:`Password`,sign_in:`Sign In`,sign_in_with_mobile:`Sign In with Mobile`,sign_in_with_mobile_instruction:`Scan the QR code below with your phone or tablet for passwordless sign-in. Your settings will be automatically copied.`,signed_in_as_x:`Signed In as {$name}`,working_with_local_repo:`Working with Local Repository`,working_with_test_repo:`Working with Test Repository`,sign_out:`Sign Out`,install_as_app:`Install as App`,contents:`Contents`,assets:`Assets`,editorial_workflow:`Editorial Workflow`,cms_config:`CMS Configuration`,menu:`Menu`,mobile_promo_title:`Sveltia CMS is now available on mobile!`,mobile_promo_button:`Give it a try`,new_language_available:`Sveltia CMS is now available in {$locale}!`,change_language:`Change Language`,switching_language:`Switching to {$locale}…`,locale_load_failed:`Couldn’t load the {$locale} translation. Please try again later.`,visit_live_site:`Visit Live Site`,switch_page:`Switch Page`,search_placeholder_contents:`Search for contents…`,search_placeholder_assets:`Search for assets…`,search_placeholder_all:`Search for contents and assets…`,create_entry_or_assets:`Create Entry or Assets`,publish_changes:`Publish Changes`,publishing_changes:`Publishing Changes…`,publishing_changes_failed:`Couldn’t publish changes. Please try again.`,show_notifications:`Show Notifications`,notifications:`Notifications`,show_account_menu:`Show Account Menu`,account:`Account`,live_site:`Live Site`,git_repository:`Git Repository`,settings:`Settings`,show_help_menu:`Show Help Menu`,help:`Help`,keyboard_shortcuts:`Keyboard Shortcuts`,documentation:`Documentation`,release_notes:`Release Notes`,announcements:`Announcements`,version_x:`Version {$version}`,report_issue:`Report Issue`,share_feedback:`Share Feedback`,get_help:`Get Help`,donate:`Donate`,join_discord:`Join Us on Discord`,bluesky:`Follow Us on Bluesky`,update_available:`The latest version of Sveltia CMS is available.`,update_now:`Update Now`,backend_status:{minor_incident:`{$service} is experiencing a minor incident. Your workflow may be affected.`,major_incident:`{$service} is experiencing a major incident. You may want to wait until the situation has improved.`},content_library:`Content Library`,asset_library:`Asset Library`,collections:`Collections`,entries:`Entries`,files:`Files`,asset_location:{repository:`Your Site`,external:`External Locations`,stock_photos:`Stock Photos`},collection_assets:`Collection Assets`,entry_list:`Entry List`,file_list:`File List`,asset_list:`Asset List`,x_collection:`“{$collection}” Collection`,x_asset_folder:`“{$folder}” Asset Folder`,viewing_collection_list:`You’re now viewing the collection list.`,viewing_asset_folder_list:`You’re now viewing the asset folder list.`,viewing_x_collection:`.input {$count :integer} .match $count 0 {{You’re now viewing the “{$collection}” collection, which has no entries yet.}} one {{You’re now viewing the “{$collection}” collection, which has one entry.}} * {{You’re now viewing the “{$collection}” collection, which has {$count} entries.}}`,viewing_x_asset_folder:`.input {$count :integer} .match $count 0 {{You’re now viewing the “{$folder}” asset folder, which has no assets yet.}} one {{You’re now viewing the “{$folder}” asset folder, which has one asset.}} * {{You’re now viewing the “{$folder}” asset folder, which has {$count} assets.}}`,singleton_selected_announcement:`Press Enter to edit the “{$file}” file.`,collection_not_found:`Collection not found.`,file_not_found:`File not found.`,x_of_x_selected:`{$selected} of {$total} selected`,switch_view:`Switch View`,list_view:`List View`,grid_view:`Grid View`,switch_to_list_view:`Switch to List View`,switch_to_grid_view:`Switch to Grid View`,sort:`Sort`,sorting_options:`Sorting Options`,sort_keys:{none:`None`,name:`Name`,slug:`Slug`,commit_author:`Updated by`,commit_date:`Updated on`,_summary:`Summary`,_manual:`Manual`},ascending:`{$label}, A to Z`,ascending_date:`{$label}, old to new`,descending:`{$label}, Z to A`,descending_date:`{$label}, new to old`,filter:`Filter`,filtering_options:`Filtering Options`,group:`Group`,grouping_options:`Grouping Options`,type:`Type`,all:`All`,image:`Image`,video:`Video`,audio:`Audio`,document:`Document`,other:`Other`,show_assets:`Show Assets`,hide_assets:`Hide Assets`,show_info:`Show Info`,hide_info:`Hide Info`,all_assets:`All Assets`,global_assets:`Global Assets`,entry_not_found:`Entry not found.`,creating_entries_disabled_by_admin:`Creating new entries in this collection is disabled by the administrator.`,creating_entries_disabled_by_quota:`You cannot add new entries to this collection because it has reached its limit of {$quota} entries.`,creating_entries_nearing_quota:`.input {$remaining :integer} .match $remaining one {{This collection is nearing its limit of {$quota} entries. You can only create {$remaining} more entry.}} * {{This collection is nearing its limit of {$quota} entries. You can only create {$remaining} more entries.}}`,back_to_collection:`Back to Collection`,collection_list:`Collection List`,back_to_collection_list:`Back to Collection List`,asset_folder_list:`Asset Folder List`,back_to_asset_folder_list:`Back to Asset Folder List`,search_results:`Search Results`,search_results_for_x:`Search Results for “{$terms}”`,viewing_entry_search_results:`.input {$count :integer} .match $count 0 {{You’re now viewing search results for “{$terms}”. We couldn’t find any entries.}} one {{You’re now viewing search results for “{$terms}”. We’ve found one entry.}} * {{You’re now viewing search results for “{$terms}”. We’ve found {$count} entries.}}`,viewing_asset_search_results:`.input {$count :integer} .match $count 0 {{You’re now viewing search results for “{$terms}”. We couldn’t find any assets.}} one {{You’re now viewing search results for “{$terms}”. We’ve found one asset.}} * {{You’re now viewing search results for “{$terms}”. We’ve found {$count} assets.}}`,x_entries:`.input {$count :integer} .match $count 0 {{No entries}} one {{{$count} entry}} * {{{$count} entries}}`,x_assets:`.input {$count :integer} .match $count 0 {{No assets}} one {{{$count} asset}} * {{{$count} assets}}`,no_files_found:`No files found.`,no_entries_found:`No entries found.`,upload_assets:`Upload New Assets`,edit_options:`Edit Options`,show_edit_options:`Show Edit Options`,edit_asset:`Edit Asset`,edit_x:`Edit {$name}`,wrap_long_lines:`Wrap Long Lines`,rename_asset:`Rename Asset`,rename_x:`Rename {$name}`,enter_new_name_for_asset:`.input {$count :integer} .match $count 0 {{Enter a new name below.}} one {{Enter a new name below. An entry using the asset will also be updated.}} * {{Enter a new name below. {$count} entries using the asset will also be updated.}}`,enter_new_name_for_asset_error:{empty:`File name cannot be empty.`,character:`File name cannot contain special characters.`,duplicate:`This file name is used for another asset.`},change_file_extension:`Change File Extension`,confirm_file_extension_change:{change:`Are you sure you want to change the extension from “.{$oldExtension}” to “.{$newExtension}”?`,add:`Are you sure you want to add the extension “.{$newExtension}”?`,remove:`Are you sure you want to remove the extension “.{$oldExtension}”?`},file_extension_change_warning:`The file may not be displayed or handled correctly if the extension doesn’t match the actual file format.`,replace_asset:`Replace Asset`,replace_x:`Replace {$name}`,click_to_browse:`Click to browse…`,tap_to_browse:`Tap to browse…`,drop_files_or_click_to_browse:`.input {$count :integer} .match $count one {{Drop a file here or click to browse…}} * {{Drop files here or click to browse…}}`,drop_files_or:`.input {$count :integer} .match $count one {{Drop a file here or}} * {{Drop files here or}}`,drop_image_files_or:`.input {$count :integer} .match $count one {{Drop an image file here or}} * {{Drop image files here or}}`,browse:`Browse`,paste:`Paste`,paste_image:`Paste Image`,no_image_in_clipboard:`No image found in clipboard.`,clipboard_access_denied:`Clipboard access denied.`,drop_files_here:`.input {$count :integer} .match $count one {{Drop a file here}} * {{Drop files here}}`,unsupported_file_type:`Unsupported File Type`,dropped_file_type_mismatch:`The dropped file is not one of the following types: {$types}. Please try again.`,dropped_image_type_mismatch:`The dropped file is not supported. Only an image of the following types is accepted: {$types}. Please try again.`,choose_files:`.input {$count :integer} .match $count one {{Choose File}} * {{Choose Files}}`,delete_assets:`.input {$count :integer} .match $count one {{Delete Asset}} * {{Delete Assets}}`,delete_selected_assets:`.input {$count :integer} .match $count one {{Delete Selected Asset}} * {{Delete Selected Assets}}`,confirm_deleting_this_asset:`Are you sure you want to delete this asset?`,confirm_deleting_selected_assets:`.input {$count :integer} .match $count one {{Are you sure you want to delete the selected asset?}} * {{Are you sure you want to delete the selected {$count} assets?}}`,confirm_deleting_all_assets:`Are you sure you want to delete all the assets?`,delete_entries:`.input {$count :integer} .match $count one {{Delete Entry}} * {{Delete Entries}}`,delete_selected_entries:`.input {$count :integer} .match $count one {{Delete Selected Entry}} * {{Delete Selected Entries}}`,confirm_deleting_this_entry:`Are you sure you want to delete this entry?`,confirm_deleting_this_entry_with_assets:`Are you sure you want to delete this entry and associated assets?`,confirm_deleting_selected_entries:`.input {$count :integer} .match $count one {{Are you sure you want to delete the selected entry?}} * {{Are you sure you want to delete the selected {$count} entries?}}`,confirm_deleting_selected_entries_with_assets:`.input {$count :integer} .match $count one {{Are you sure you want to delete the selected entry and associated assets?}} * {{Are you sure you want to delete the selected {$count} entries and associated assets?}}`,confirm_deleting_all_entries:`Are you sure you want to delete all the entries?`,confirm_deleting_all_entries_with_assets:`Are you sure you want to delete all the entries and associated assets?`,reorder_entries:`Reorder Entries`,done_reordering_entries:`Done Reordering Entries`,cancel_reordering_entries:`Cancel Reordering Entries`,saving_reorder_failed:`Failed to save new entry order. Please try again.`,processing_files:`.input {$count :integer} .match $count one {{Processing a file. This may take a while.}} * {{Processing files. This may take a while.}}`,uploading_files:`Uploading Files`,confirm_replacing_file:`“{$name}” will be replaced with this file:`,confirm_uploading_files:`.input {$count :integer} .match $count one {{This file will be saved to the “{$folder}” folder:}} * {{These {$count} files will be saved to the “{$folder}” folder:}}`,oversized_files:`Oversized Files`,warning_oversized_files:`.input {$count :integer} .match $count one {{This file cannot be uploaded because it exceeds the maximum size of {$size}. Please reduce the size or select a different file.}} * {{These files cannot be uploaded because they exceed the maximum size of {$size}. Please reduce the sizes or select different files.}}`,invalid_files:`Invalid Files`,warning_invalid_files:`.input {$count :integer} .match $count one {{This file cannot be uploaded because it’s damaged, or its content doesn’t match its file extension. This often happens when a photo is renamed rather than converted, such as a HEIC image saved as a JPEG file. Please convert the file and try again.}} * {{These files cannot be uploaded because they’re damaged, or their content doesn’t match their file extensions. This often happens when photos are renamed rather than converted, such as HEIC images saved as JPEG files. Please convert the files and try again.}}`,file_name_conflict_confirmation:`.input {$count :integer} .match $count one {{A file with the same name already exists in this folder. Do you want to replace it?}} * {{{$count} files with the same names already exist in this folder. Do you want to replace them?}}`,file_name_conflict_confirmation_with_name:`.input {$count :integer} .input {$name :string} .match $count one {{A file named “{$name}” already exists in this folder. Do you want to replace it?}} * {{{$count} files with the same names already exist in this folder. Do you want to replace them?}}`,file_name_conflict_resolution:`File Name Conflict Resolution`,keep_both:`Keep Both`,uploading_files_progress:`Uploading…`,uploading_files_failed:`Upload failed.`,file_meta:`{$type} · {$size}`,file_meta_converted_from_x:`(converted from {$type})`,no_entries_created:`This collection has no entries yet.`,create_new_entry:`Create New Entry`,entry:`Entry`,index_file:`Index File`,no_files_in_collection:`No files available in this collection.`,duplicate_entry:`Duplicate Entry`,entry_duplicated:`Entry duplicated as a new draft.`,entry_validation_errors:`.input {$count :integer} .match $count one {{One field has an error. Please correct it to save the entry.}} * {{{$count} fields have errors. Please correct them to save the entry.}}`,entry_saved:`.input {$count :integer} .match $count one {{Entry saved.}} * {{{$count} entries saved.}}`,entry_saved_and_published:`.input {$count :integer} .match $count one {{Entry saved and published.}} * {{{$count} entries saved and published.}}`,entries_deleted:`.input {$count :integer} .match $count one {{Entry deleted.}} * {{{$count} entries deleted.}}`,assets_saved:`.input {$count :integer} .match $count one {{Asset saved.}} * {{{$count} assets saved.}}`,assets_saved_and_published:`.input {$count :integer} .match $count one {{Asset saved and published.}} * {{{$count} assets saved and published.}}`,asset_urls_copied:`.input {$count :integer} .match $count one {{URL copied to clipboard.}} * {{{$count} URLs copied to clipboard.}}`,asset_paths_copied:`.input {$count :integer} .match $count one {{File path copied to clipboard.}} * {{{$count} file paths copied to clipboard.}}`,asset_data_copied:`.input {$count :integer} .match $count one {{File data copied to clipboard.}} * {{{$count} files’ data copied to clipboard.}}`,assets_downloaded:`.input {$count :integer} .match $count one {{Asset downloaded.}} * {{{$count} assets downloaded.}}`,assets_moved:`.input {$count :integer} .match $count one {{Asset moved.}} * {{{$count} assets moved.}}`,assets_renamed:`.input {$count :integer} .match $count one {{Asset renamed.}} * {{{$count} assets renamed.}}`,assets_deleted:`.input {$count :integer} .match $count one {{Asset deleted.}} * {{{$count} assets deleted.}}`,content_editor:`Content Editor`,restore_backup_title:`Restore Draft`,restore_backup_description:`This entry has a backup from {$datetime}. Do you want to restore the edited draft?`,draft_backup_saved:`Draft backup saved.`,draft_backup_restored:`Draft backup restored.`,draft_backup_deleted:`Draft backup deleted.`,cancel_editing:`Cancel Editing`,create_entry_title:`Creating {$name}`,create_entry_announcement:`You’re now creating a new entry in the “{$collection}” collection.`,edit_entry_title:`{$collection} › {$entry}`,edit_entry_announcement:`You’re now editing the “{$entry}” entry in the “{$collection}” collection.`,edit_file_announcement:`You’re now editing the “{$file}” file in the “{$collection}” collection.`,edit_singleton_announcement:`You’re now editing the “{$file}” file.`,save_and_publish:`Save and Publish`,save_without_publishing:`Save without Publishing`,show_editor_options:`Show Editor Options`,editor_options:`Editor Options`,show_preview:`Show Preview`,sync_scrolling:`Sync Scrolling`,switch_locale:`Switch Locale`,locale_content_disabled_short:`(disabled)`,locale_content_error_short:`(error)`,edit:`Edit`,preview:`Preview`,swap_panes:`Swap Panes`,edit_x_locale:`Edit {$locale} Content`,preview_x_locale:`Preview {$locale} Content`,content_preview:`Content Preview`,show_content_options_x_locale:`Show {$locale} Content Options`,content_options_x_locale:`{$locale} Content Options`,x_field:`“{$field}” Field`,show_field_options:`Show Field Options`,field_options:`Field Options`,unsupported_field_type_x:`Unsupported field type: {$name}`,enable_x_locale:`Enable {$locale}`,reenable_x_locale:`Reenable {$locale}`,disable_x_locale:`Disable {$locale}`,locale_x_has_been_disabled:`The {$locale} content has been disabled.`,locale_x_now_disabled:`The {$locale} content is now disabled. It will be deleted when you save the entry.`,view_in_repository:`View in Repository`,view_on_x:`View on {$service}`,view_on_live_site:`View on Live Site`,copy_from:`Copy from…`,copy_from_x:`Copy from {$locale}`,translation_options:`Translation Options`,translate:`Translate`,translate_fields:`.input {$count :integer} .match $count one {{Translate Field}} * {{Translate Fields}}`,translate_from:`Translate from…`,translate_from_x:`Translate from {$locale}`,revert_changes:`Revert Changes`,revert_all_changes:`Revert All Changes`,edit_slug:`Edit Slug`,edit_slug_warning:`Changing the slug may break internal and external links to the entry. Currently, Sveltia CMS does not update references created with Relation fields, so you’ll need to manually update such references along with other links.`,edit_slug_error:{empty:`The slug cannot be empty.`,invalid:`The slug cannot contain special characters, including slashes and spaces.`,duplicate:`This slug is used for another entry.`},required:`Required`,editor:{translation:{none:`Nothing to translate.`,started:`Translating…`,error:`Translation failed.`,complete:`.input {$count :integer} .match $count 0 {{No fields translated from {$source}.}} one {{Field translated from {$source}.}} * {{{$count} fields translated from {$source}.}}`},copy:{none:`Nothing to copy.`,complete:`.input {$count :integer} .match $count 0 {{No fields copied from {$source}.}} one {{Field copied from {$source}.}} * {{{$count} fields copied from {$source}.}}`}},validation:{value_missing:`This field is required.`,range_underflow:{"datetime-local":`The date/time must be at or after {$min}.`,date:`The date must be on or after {$min}.`,time:`The time must be at or after {$min}.`,number:`The value must be greater than or equal to {$min}.`,select:`.input {$min :integer} .match $min one {{You must select at least {$min} option.}} * {{You must select at least {$min} options.}}`,add:`.input {$min :integer} .match $min one {{You must add at least {$min} item.}} * {{You must add at least {$min} items.}}`},range_overflow:{"datetime-local":`The date/time must be at or before {$max}.`,date:`The date must be on or before {$max}.`,time:`The time must be at or before {$max}.`,number:`The value must be less than or equal to {$max}.`,select:`.input {$max :integer} .match $max one {{You cannot select more than {$max} option.}} * {{You cannot select more than {$max} options.}}`,add:`.input {$max :integer} .match $max one {{You cannot add more than {$max} item.}} * {{You cannot add more than {$max} items.}}`},too_short:`.input {$min :integer} .match $min one {{You must enter at least {$min} character.}} * {{You must enter at least {$min} characters.}}`,too_long:`.input {$max :integer} .match $max one {{You cannot enter more than {$max} character.}} * {{You cannot enter more than {$max} characters.}}`,type_mismatch:{number:`Please enter a number.`,email:`Please enter a valid email.`,url:`Please enter a valid URL.`},invalid_value:`Invalid value.`,unexpected_error:`Unexpected error occurred.`},entry_sidebar:{sidebar_panels:`Sidebar Panels`,validation:{title:`Validation`,placeholder:`Validation results will be shown here.`,no_errors_found:`No errors found.`},history:{title:`History`,fetch_failed:`Failed to load history.`,no_history:`No history found.`},backlinks:{title:`Backlinks`,no_entries:`No entries are referencing this entry.`}},saving_entry:{error:{title:`Error`,description:`There was an error while saving the entry. Please try again later.`}},viewing_x_asset_details:`You’re viewing the details of the “{$name}” asset.`,asset_editor:`Asset Editor`,preview_unavailable:`Preview Unavailable.`,public_urls:`.input {$count :integer} .match $count one {{Public URL}} * {{Public URLs}}`,file_paths:`.input {$count :integer} .match $count one {{File Path}} * {{File Paths}}`,file_data:`File Data`,asset_info:`Asset Info`,select_asset_show_info:`Select an asset to show its info.`,kind:`Kind`,size:`Size`,dimensions:`Dimensions`,duration:`Duration`,used_in:`Used in`,created_date:`Created Date`,location:`Location`,map_lat_lng:`Map showing latitude {$latitude}, longitude {$longitude}`,remove_this_item:`Remove This Item`,move_up:`Move Up`,move_down:`Move Down`,add_x:`Add {$name}`,add_item_above:`Add Item Above`,add_item_below:`Add Item Below`,select_list_type:`Select List Type`,unknown_variable_type:`This item can’t be displayed due to an unknown type. Check the browser console for details.`,opacity:`Opacity`,unselected_option:`(None)`,assets_dialog:{title:{file:`Select File`,image:`Select Image`},search_for_file:`Search for Files`,search_for_image:`Search for Images`,locations:`Locations`,folder:{field:`Field Assets`,entry:`Entry Assets`,file:`File Assets`,collection:`Collection Assets`,global:`Global Assets`},error:{invalid_key:`Your API key is invalid or expired. Please double-check and try again.`,search_fetch_failed:`There was an error while searching assets. Please try again later.`,image_fetch_failed:`There was an error while downloading the selected asset. Please try again later.`},available_images:`Available Images`,enter_url:`Enter URL`,enter_file_url:`Enter URL of the file:`,enter_image_url:`Enter URL of the image:`,large_file:{title:`Large File`},invalid_file:{title:`Invalid File`},rejected_files:{title:`Files Cannot Be Uploaded`},photo_credit:{title:`Photo Credit`,description:`Use the following credit if possible:`},unsaved:`Unsaved`},character_counter:{min_max:`.input {$count :integer} .match $count 0 {{No character entered. Minimum: {$min}. Maximum: {$max}.}} one {{{$count} character entered. Minimum: {$min}. Maximum: {$max}.}} * {{{$count} characters entered. Minimum: {$min}. Maximum: {$max}.}}`,min:`.input {$count :integer} .match $count 0 {{No character entered. Minimum: {$min}.}} one {{{$count} character entered. Minimum: {$min}.}} * {{{$count} characters entered. Minimum: {$min}.}}`,max:`.input {$count :integer} .match $count 0 {{No character entered. Maximum: {$max}.}} one {{{$count} character entered. Maximum: {$max}.}} * {{{$count} characters entered. Maximum: {$max}.}}`},youtube_video_player:`YouTube video player`,today:`Today`,now:`Now`,editor_components:{image:`Image`,src:`Source`,alt:`Alt Text`,title:`Title`,link:`Link`},key_value:{key:`Key`,value:`Value`,action:`Action`,empty_key:`Key is required.`,duplicate_key:`Key must be unique.`},find_place:`Find a Place`,use_your_location:`Use Your Location`,geolocation_error_title:`Geolocation Error`,geolocation_error_body:`There was an error while retrieving your location.`,geolocation_unsupported:`Geolocation API is not supported by this browser.`,boolean:{true:`Yes`,false:`No`},cloud_storage:{invalid:`The service is not configured properly.`,auth:{api_key:{key_label:`API Key`,initial:`Enter your {$key} for {$service}.`,requested:`Validating…`,error:`The provided {$key} is invalid. Please double-check and try again.`},password:{initial:`Enter your password for {$service}.`,requested:`Signing in…`,error:`Username or password is incorrect. Please double-check and try again.`}},cloudinary:{iframe_title:`Cloudinary media library`,activate:{button_label:`Activate Cloudinary`,description:`After signing in, click the Sign In button again to continue.`},auth_key_label:`API Secret`,open_library:`Open Cloudinary`},uploadcare:{auth_key_label:`API Secret Key`},aws_s3:{auth_key_label:`Secret Access Key`},cloudflare_r2:{auth_key_label:`Secret Access Key`},digitalocean_spaces:{auth_key_label:`Secret Access Key`}},config:{errors:`.input {$count :integer} .match $count one {{There is an error in the CMS configuration. Please solve the issue and try again.}} * {{There are errors in the CMS configuration. Please solve the issues and try again.}}`,error_locator:{collection:`{$collection} collection`,file:`{$file} file`,component:`{$component} component`,field:"`{$field}` field"},error:{no_secure_context:`Sveltia CMS only works with HTTPS or localhost URLs.`,insecure_urls:`.input {$count :integer} .match $count one {{The configuration file URL must use HTTPS protocol or a localhost address.}} * {{The configuration file URLs must use HTTPS protocol or localhost addresses.}}`,fetch_failed:`The configuration file could not be retrieved.`,fetch_failed_not_ok:`HTTP response returned with status {$status}.`,fetch_failed_with_manual_init:"The configuration file could not be retrieved. To prevent the `config.yml` file from loading, add <a>`load_config_file: false`</a> to the configuration object passed to `CMS.init()`.",parse_failed:`The configuration file could not be parsed.`,parse_failed_invalid_object:`The configuration file is not a valid JavaScript object.`,parse_failed_unsupported_type:`The configuration file is not a valid file type. Only YAML, TOML and JSON are supported.`,no_collection:`Collections are not defined.`,missing_backend:`The backend is not defined.`,missing_backend_name:`The backend name is not defined.`,unsupported_known_backend:`The {$name} backend is <a>not supported</a> in Sveltia CMS.`,unsupported_deprecated_backend:`The deprecated {$name} backend is <a>not supported</a> in Sveltia CMS.`,unsupported_custom_backend:`Custom backends are <a>not supported</a> in Sveltia CMS.`,unsupported_backend_suggestion:`Use one of the <a>supported backends</a> instead.`,missing_repository:`The repository is not defined.`,invalid_repository:`The configured repository is invalid. It must be in “owner/repo” format.`,oauth_implicit_flow:`The configured authentication method (implicit flow) is not supported in Sveltia CMS. Use a different <a>authentication method</a> instead.`,github_pkce_unsupported:`PKCE authorization is not yet supported due to GitHub’s limitations. Use a different <a>authentication method</a> instead.`,oauth_no_app_id:`OAuth application ID is not defined.`,no_auth_methods:"The `auth_methods` option must contain at least one method.",missing_media_folder:`The media folder is not defined.`,invalid_media_folder:`The configured media folder is invalid. It must be a string.`,invalid_public_folder:`The configured public folder is invalid. It must be a string.`,public_folder_relative_path:`The configured public folder is invalid. It must be an absolute path starting with “/”.`,public_folder_absolute_url:`An absolute URL for the public folder option is not supported in Sveltia CMS.`,invalid_asset_collections:"The `asset_collections` option is invalid. It must be an array.",missing_asset_collection_name:"The asset collection {$count} must have the `name` option defined as a non-empty string.",invalid_asset_collection_name:"The asset collection name `{$name}` is invalid. It must not contain special characters.",duplicate_asset_collection_name:"Asset collection names must be unique, but `{$name}` is used more than once.",asset_collection_invalid_media_folder:"The `{$name}` asset collection must have the `media_folder` option defined as a string.",invalid_collection_no_options:"The collection must have either the `folder`, `files` or `divider` option defined.",invalid_collection_multiple_options:"The collection cannot have the `folder`, `files` and `divider` options together.",file_format_mismatch:"The `{$extension}` extension doesn’t match the `{$format}` format.",invalid_slug_slash:"The slug template `{$slug}` is invalid as it cannot contain slashes. To organize entries in subfolders, use the `path` option instead of `slug`.",invalid_reorder_group:"The `reorder` option refers to a view group named `{$name}`, but no such group is defined in the `view_groups` option.",invalid_sortable_field:"The `sortable_fields` option refers to a field named `{$name}`, but no such field is defined in the collection.",invalid_view_group_field:"The `view_groups` option refers to a field named `{$name}`, but no such field is defined in the collection.",invalid_view_filter_field:"The `view_filters` option refers to a field named `{$name}`, but no such field is defined in the collection.",missing_view_group_name:"The view group {$count} must have the `name` option defined as a non-empty string.",invalid_view_group_name:"The view group name `{$name}` is invalid. It must not contain special characters.",duplicate_view_group_name:"View group names must be unique, but `{$name}` is used more than once.",missing_view_filter_name:"The view filter {$count} must have the `name` option defined as a non-empty string.",invalid_view_filter_name:"The view filter name `{$name}` is invalid. It must not contain special characters.",duplicate_view_filter_name:"View filter names must be unique, but `{$name}` is used more than once.",missing_collection_name:"The collection {$count} must have the `name` option defined as a non-empty string.",invalid_collection_name:"The collection name `{$name}` is invalid. It must not contain special characters.",duplicate_collection_name:"Collection names must be unique, but `{$name}` is used more than once.",missing_collection_file_name:"The collection file {$count} must have the `name` option defined as a non-empty string.",invalid_collection_file_name:"The collection file name `{$name}` is invalid. It must not contain special characters.",duplicate_collection_file_name:"Collection file names must be unique, but `{$name}` is used more than once.",collection_no_fields:"The collection must have the `fields` option defined with at least one field.",collection_file_no_fields:"The collection file must have the `fields` option defined with at least one field.",collection_file_i18n_required:"The collection file must have the `i18n` option defined if the `locale` placeholder is used in the `file` path.",missing_field_name:"The field {$count} must have the `name` option defined as a non-empty string.",invalid_field_name:"The field name `{$name}` is invalid. It must not contain special characters. If you want to nest fields, <a>use Object fields instead of dot notation</a>.",duplicate_field_name:"Field names must be unique, but `{$name}` is used more than once.",missing_variable_type:"The variable type {$count} must have the `name` option defined as a non-empty string.",invalid_variable_type:"The variable type name `{$name}` is invalid. It must not contain special characters.",duplicate_variable_type:"Variable type names must be unique, but `{$name}` is used more than once.",date_field_type:"The deprecated Date field type is not supported in Sveltia CMS. Use the DateTime field type with the `type: date` option instead.",invalid_timezone:"Invalid timezone: {$timeZone}. Must be a valid IANA timezone identifier like `America/New_York` or `Asia/Tokyo`.",unsupported_deprecated_option:"The deprecated `{$prop}` option is not supported in Sveltia CMS. Use the `{$newProp}` option instead.",allow_multiple:"The `allow_multiple` option is not supported in Sveltia CMS. Use the `multiple` option instead, which defaults to `false`.",invalid_list_field:"The List field cannot have the `field`, `fields` and `types` options together.",invalid_list_variable_type:"The List field’s variable type is invalid. The `widget` option is set to `{$widget}` but it must be `object`.",invalid_object_field:"The Object field cannot have the `fields` and `types` options together.",object_field_missing_fields:"The Object field must have either the `fields` or `types` option defined.",relation_field_invalid_collection:"The referenced `{$collection}` collection is invalid or not defined.",relation_field_invalid_collection_file:"The referenced `{$file}` file is invalid or not defined.",relation_field_missing_file_name:"The `file` option must be defined for a relation to a file collection.",relation_field_invalid_value_field:"The referenced value field `{$field}` is invalid or not defined.",unexpected:`Unexpected error`},warning:{oauth_no_app_id:`OAuth application ID is not defined. Users are required to provide an access token to sign in.`,editorial_workflow_unsupported:`Editorial workflow is not yet supported in Sveltia CMS.`,open_authoring_unsupported:`Open authoring is not yet supported in Sveltia CMS.`,nested_collections_unsupported:`Nested collections are not yet supported in Sveltia CMS.`,unsupported_ignored_option:"The `{$prop}` option is not supported in Sveltia CMS. It will be ignored.",conflicting_timezone_options:"Both `picker_utc` and newer timezone options (`input_timezone` or `output_utc`) are set. The new options take precedence. Consider removing `picker_utc` from your configuration."},compatibility_link:`See the compatibility notes for details: {$link}`,schema_tip:`For a better developer experience, you can validate your configuration file against the JSON schema of Sveltia CMS. See {$link} for details.`},local_workflow:{indicator:`Local`,unsupported_browser:`Local Workflow is not supported in your browser. Please use Chrome or Edge instead.`,disabled:`Local Workflow is disabled in your browser. <a>Here’s how to enable it</a>.`},status:{drafts:`Drafts`,in_review:`In Review`,ready:`Ready`},categories:`Categories`,site_configuration_editor:`Site Configuration Editor`,prefs:{changes:{api_key_saved:`API key saved.`,api_key_removed:`API key removed.`,api_key_invalid:`The provided API key is invalid. Please double-check and try again.`},error:{permission_denied:`Cookie storage access has been denied. Please check your browser permissions and try again.`},appearance:{title:`Appearance`,theme:`Theme`,select_theme:`Select Theme`},theme:{auto:`Auto`,dark:`Dark`,light:`Light`},language:{title:`Language`,ui_language:{title:`User Interface Language`,select_language:`Select Language`}},contents:{title:`Contents`,editor:{title:`Editor`,use_draft_backup:{switch_label:`Automatically back up entry drafts`},close_on_save:{switch_label:`Close the editor after saving a draft`},close_with_escape:{switch_label:`Close the editor with the Escape key`}}},i18n:{title:`Internationalization`,translators:{default:{title:`Default Translation Service`,select_service:`Select Service`},api_keys:{title:`Translation Service API Keys`,description:`Manage API keys for <a>translation services</a>.`},field_label:`{$service} Key`,description:`Sign up for <a {$homeHref}>{$service}</a> and enter <a {$apiKeyHref}>your API Key</a> here to enable quick translation of text entry fields.`}},media:{title:`Media`,stock_photos:{api_keys:{title:`Stock Photo Service API Keys`,description:`Manage API keys for <a>stock photo services</a>.`},field_label:`{$service} API Key`,description:`Sign up for <a {$homeHref}>{$service} API</a> and enter <a {$apiKeyHref}>your API Key</a> here to insert free stock photos to image entry fields.`,credit:`Photos provided by {$service}`,no_services:`No <a>stock photo services</a> are configured.`},cloud_storage:{api_keys:{title:`Cloud Storage Service API Keys`,description:`Manage API keys for <a>cloud storage services</a>.`},field_label:`{$service} API Key`,no_services:`No <a>cloud storage services</a> are configured.`}},accessibility:{title:`Accessibility`,underline_links:{title:`Underline Links`,description:`Show underline for links in the entry preview and user interface labels.`,switch_label:`Always Underline Links`}},advanced:{title:`Advanced`,beta:{title:`Beta Features`,description:`Enable some beta features that may be unstable or unlocalized.`,switch_label:`Join Beta Program`},developer_mode:{title:`Developer Mode`,description:`Enable some developer-oriented features, including detailed console logs and native context menus.`,switch_label:`Enable Developer Mode`},deploy_hook:{title:`Deploy Hook`,description:`Enter a webhook URL to be called when you manually trigger a deployment by selecting Publish Changes. This can be left blank if you’re using GitHub Actions.`,url:{field_label:`Hook URL`,saved:`Hook URL saved.`,removed:`Hook URL removed.`},auth:{field_label:`Authorization header (e.g., Bearer <token>) (optional)`,saved:`Authorization header saved.`,removed:`Authorization header removed.`}}}},keyboard_shortcuts_:{view_content_library:`View Content Library`,view_asset_library:`View Asset Library`,search:`Search for entries and assets`,create_entry:`Create a new entry`,save_entry:`Save an entry`,cancel_editing:`Cancel entry editing`},file_type_labels:{avif:`AVIF image`,bmp:`Bitmap image`,gif:`GIF image`,ico:`Icon`,jpeg:`JPEG image`,jpg:`JPEG image`,png:`PNG image`,svg:`SVG image`,tif:`TIFF image`,tiff:`TIFF image`,webp:`WebP image`,avi:`AVI video`,m4v:`MP4 video`,mov:`QuickTime video`,mp4:`MP4 video`,mpeg:`MPEG video`,mpg:`MPEG video`,ogg:`Ogg video`,ogv:`Ogg video`,ts:`MPEG video`,webm:`WebM video`,"3gp":`3GPP video`,"3g2":`3GPP2 video`,aac:`AAC audio`,mid:`MIDI`,midi:`MIDI`,m4a:`MP4 audio`,mp3:`MP3 audio`,oga:`Ogg audio`,opus:`OPUS audio`,wav:`WAV audio`,weba:`WebM audio`,csv:`CSV spreadsheet`,doc:`Word document`,docx:`Word document`,odp:`OpenDocument presentation`,ods:`OpenDocument spreadsheet`,odt:`OpenDocument text`,pdf:`PDF document`,ppt:`PowerPoint presentation`,pptx:`PowerPoint presentation`,rtf:`Rich text document`,xls:`Excel spreadsheet`,xlsx:`Excel spreadsheet`,html:`HTML text`,js:`JavaScript`,json:`JSON text`,md:`Markdown text`,toml:`TOML text`,yaml:`YAML text`,yml:`YAML text`},file_size_units:{b:`{$size} bytes`,kb:`{$size} KB`,mb:`{$size} MB`,gb:`{$size} GB`,tb:`{$size} TB`}}})))()}var U$,jfe,Mfe,Nfe,W$,G$,K$,q$,J$,Y$,X$,Pfe,Ffe,Ife,Lfe,Rfe;function Z$(){return(Z$=o((()=>{H$(),Z(),mk(),gM(),dM(),oM(),LB(),zK(),U$=`en-US`,jfe=`ar,bg,ca,el,en-CA,en-GB,en-US,fi,hr,ja,ko,nl,pl,pt-BR,pt-PT,ru,tr,uk,zh-CN`.split(`,`),Mfe=`${IB}@${FB}/locales`,Nfe=5e3,W$=`sveltia-cms.locale`,G$=new Map,K$=aM(()=>Lu.current),q$=an(),J$=an(),Y$=async e=>{try{let{_locale:t,_version:n,...r}=await uM.get(W$)??{};if(t===e&&n===FB&&Object.keys(r).length)return r}catch{}},X$=async(e,t)=>{try{await uM.set(W$,{_locale:e,_version:FB,...t})}catch{}},Pfe=async()=>{try{await uM.delete(W$)}catch{}},Ffe=async e=>{let t=await fetch(`${Mfe}/${e}.json`,{signal:AbortSignal.timeout(Nfe)});if(!t.ok)throw Error(`Failed to load the ${e} locale strings`,{cause:t});return t.json()},Ife=async e=>{let t=await Y$(e);if(t)return G$.set(e,t),t;q$.set(e);try{let t=await Ffe(e);return G$.set(e,t),await X$(e,t),t}catch(t){throw J$.set({locale:e}),t}finally{q$.set(void 0)}},Lfe=async e=>{let t=G$.get(e);if(!t){e===`en-US`&&G$.size&&await Pfe();return}await Y$(e)||await X$(e,t)},Rfe=()=>{Nu(U$,{...V$,_sui:pk}),jfe.filter(e=>e!==U$).forEach(e=>{Ru(e,()=>Ife(e))}),Bu({fallbackLocale:U$,initialLocale:LK.locale||zu()||`en-US`}),K$.subscribe(e=>{Lfe(e)})}})))()}function zfe(e,t){O(t,!0);let n=()=>j(J$,`$appLocaleLoadError`,r),[r,i]=un(),a=N(!1);Yr(()=>{n()&&P(a,!0)});var o=V(),s=I(o),c=e=>{let t=M(()=>{let{locale:e}=n();return{locale:e}});Oh(e,{get show(){return z(a)},set show(e){P(a,e,!0)},children:(e,n)=>{uc(e,{status:`error`,children:(e,n)=>{pt();var r=Aa();R(e=>U(r,e),[()=>X(`locale_load_failed`,{values:{locale:II(z(t).locale)??z(t).locale}})]),H(e,r)},$$slots:{default:!0}})},$$slots:{default:!0}})};W(s,e=>{n()&&e(c)}),H(e,o),k(),i()}function Bfe(){return(Bfe=o((()=>{Y(),J(),Z(),mc(),kh(),Z$(),BI()})))()}var Vfe;function Hfe(){return(Hfe=o((()=>{BB(),AV(),tU(),Vfe=async(e,t)=>{let n=t===`image`?await yV(e):null;if(!n)return{createdDate:void 0,coordinates:void 0};let r={};try{let{parse:e}=await zB(`exifr`,`dist/lite.esm.mjs`);r=await e(n)??{}}catch{}let{latitude:i,longitude:a,DateTimeOriginal:o,CreateDate:s=o}=r;return{createdDate:s instanceof Date?s:void 0,coordinates:Number.isFinite(i)&&Number.isFinite(a)?{latitude:eU(i,7),longitude:eU(a,7)}:void 0}}})))()}var Q$,Ufe,Wfe,Gfe,Kfe;function qfe(){return(qfe=o((()=>{Hfe(),Q$=({element:e,eventType:t,src:n,getInfo:r})=>new Promise(i=>{e.addEventListener(t,()=>i(r()),{once:!0}),e.addEventListener(`error`,()=>i({}),{once:!0}),e.src=n}),Ufe=e=>{let t=new Image;return Q$({element:t,eventType:`load`,src:e,getInfo:()=>({dimensions:{width:t.naturalWidth,height:t.naturalHeight}})})},Wfe=async(e,t)=>{let n=document.createElement(t);return Q$({element:n,eventType:`loadedmetadata`,src:e,getInfo:()=>{let{duration:e}=n;if(t===`audio`)return{duration:e};let{videoWidth:r,videoHeight:i}=n;return{dimensions:{width:r,height:i},duration:e}}})},Gfe=async(e,t)=>t===`image`?Ufe(e):Wfe(e,t),Kfe=async(e,t,n)=>{let{dimensions:r,duration:i}=await Gfe(t,n),{createdDate:a,coordinates:o}=await Vfe(e,n);return{dimensions:r,duration:i,createdDate:a,coordinates:o}}})))()}var $$,e1,t1;function n1(){return(n1=o((()=>{oM(),AV(),JZ(),ZV(),qfe(),$$={publicURL:void 0,repoBlobURL:void 0,dimensions:void 0,duration:void 0,usedEntries:[]},e1=async e=>{let{kind:t,path:n}=e,{blobBaseURL:r}=A(KZ)?.repository??{},i=await bV(e),a={};return[`image`,`video`,`audio`].includes(t)&&i&&(a=await Kfe(e,i,t)),{...a,publicURL:DV(e),repoBlobURL:r?`${r}/${n}`:void 0}},t1=async e=>{let t=DV(e,{allowSpecial:!0,pathOnly:!0})??await bV(e);return t?YV(t):[]}})))()}function Jfe(e,t){O(t,!0);let n=e=>{var t=Yfe(),n=I(t);{let e=M(()=>X(`public_urls`,{values:{count:r().length}})),t=M(()=>!z(c).length);om(n,{get label(){return z(e)},get disabled(){return z(t)},onclick:()=>{m(d,`asset_urls_copied`)}})}var i=L(n,2);{let e=M(()=>X(`file_paths`,{values:{count:r().length}}));om(i,{get label(){return z(e)},onclick:()=>{m(f,`asset_paths_copied`)}})}var a=L(i,2);{let e=M(()=>X(`file_data`)),t=M(()=>!z(o));om(a,{get label(){return z(e)},get disabled(){return z(t)},onclick:()=>{m(p,`asset_data_copied`)}})}H(e,t)},r=q(t,`assets`,19,()=>[]),i=q(t,`useButton`,3,!0),a=N(Er([])),o=N(!1),s=Er({show:!1,text:``,status:`success`}),c=M(()=>z(a).filter(({publicURL:e})=>!!e).map(({publicURL:e})=>e)),l,u=async()=>{if(l=void 0,r().length!==1)return!1;let e=await yV(r()[0]),{type:t}=e;return l=e,pM(t)?!0:qB.includes(t)?typeof navigator.clipboard.write==`function`:!1},d=async()=>{await navigator.clipboard.writeText(z(c).join(`
|
|
744
|
+
/* \`<SignIn>\` also has \`.message\` */.message {margin:0 0 16px;font-size:var(--sui-font-size-large);font-weight:var(--sui-font-weight-normal);text-align:center;ul {margin:12px 0 0;padding:0;max-height:160px;overflow-y:auto;list-style:none;}li {margin:12px;padding:0;}}}.powered-by.svelte-7ua6x9 {position:absolute;inset:auto 24px 24px;color:var(--sui-tertiary-foreground-color);font-size:var(--sui-font-size-small);text-align:center;}`}})))()}function kfe(e,t){O(t,!0);let n=()=>j(KZ,`$backend`,i),r=()=>j(GK,`$cmsConfig`,i),[i,a]=un(),o=0,s=N(!1),c=N(`none`),l=async()=>{n()?.checkStatus&&P(c,await n().checkStatus(),!0)},u=()=>{l(),o=window.setInterval(()=>{l()},3e5)},d=()=>{window.clearInterval(o),P(c,`none`)},f=()=>{z(s)&&(n()?.checkStatus&&!n().repository?.isSelfHosted?u():d())};tc(()=>(P(s,!0),()=>{d()})),Yr(()=>{z(s),n(),r(),f()});var p=V(),m=I(p),h=e=>{var t=I$(),r=I(t);{let e=M(()=>z(c)===`major`?`error`:`warning`);ro(r,()=>({"--sui-infobar-message-justify-content":`center`})),Ud(r.lastChild,{get status(){return z(e)},children:(e,t)=>{pt();var r=F$(),i=I(r),a=L(i);{let e=M(()=>X(`details`));Id(a,{variant:`link`,get label(){return z(e)},onclick:()=>{jQ(n()?.statusDashboardURL)}})}R(e=>U(i,`${e??``} `),[()=>X(`backend_status.${z(c)}_incident`,{values:{service:n()?.label}})]),H(e,r)},$$slots:{default:!0}}),D(r)}H(e,t)},g=M(()=>[`minor`,`major`].includes(z(c)));W(m,e=>{z(g)&&e(h)}),H(e,p),k(),a()}var F$,I$;function L$(){return(L$=o((()=>{Y(),J(),Z(),Hd(),qd(),ic(),JZ(),ZK(),MQ(),F$=B(` <!>`,1),I$=B(`<svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>`,1)})))()}function Afe(e,t){O(t,!0);let n=`${IB}/package.json`,r=`${IB}/dist/sveltia-cms.js`,i=0,a=0,o=N(!1),s=async()=>{try{let e=await fetch(n);if(!e.ok)return;let{version:t}=await e.json();if(!t||t===FB)return;document.querySelector(`script[src="${r}"]`)?a=window.setTimeout(()=>{P(o,!0)},6e5):console.warn(`[Sveltia CMS] A new version (${t}) is available. Update the pinned version in your script tag or package.json to upgrade.`)}catch{}};tc(()=>(s(),i=window.setInterval(()=>{s()},36e5),()=>{window.clearInterval(i),window.clearTimeout(a)}));var c=V(),l=I(c),u=e=>{var t=z$(),n=I(t);ro(n,()=>({"--sui-infobar-message-justify-content":`center`})),Ud(n.lastChild,{children:(e,t)=>{pt();var n=R$(),r=I(n),i=L(r);{let e=M(()=>X(`update_now`));Id(i,{variant:`link`,get label(){return z(e)},onclick:()=>{window.location.reload()}})}R(e=>U(r,`${e??``} `),[()=>X(`update_available`)]),H(e,n)},$$slots:{default:!0}}),D(n),H(e,t)};W(l,e=>{z(o)&&e(u)}),H(e,c),k()}var R$,z$;function B$(){return(B$=o((()=>{Y(),J(),Z(),Hd(),qd(),ic(),LB(),R$=B(` <!>`,1),z$=B(`<svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>`,1)})))()}var V$;function H$(){return(H$=o((()=>{V$={create:`New`,select:`Select`,select_all:`Select All`,upload:`Upload`,copy:`Copy`,download:`Download`,duplicate:`Duplicate`,delete:`Delete`,reorder:`Reorder`,cancel:`Cancel`,done:`Done`,save:`Save`,saving:`Saving…`,publish:`Publish`,publishing:`Publishing…`,rename:`Rename`,update:`Update`,replace:`Replace`,add:`Add`,remove:`Remove`,clear:`Clear`,expand:`Expand`,expand_all:`Expand All`,collapse:`Collapse`,collapse_all:`Collapse All`,insert:`Insert`,restore:`Restore`,discard:`Discard`,searching:`Searching…`,no_results:`No results found.`,global:`Global`,primary:`Primary`,secondary:`Secondary`,collection:`Collection`,folder:`Folder`,api_key:`API Key`,details:`Details`,back:`Back`,loading:`Loading…`,later:`Later`,slug:`Slug`,singleton:`Singleton`,singletons:`Singletons`,clipboard_error:`Couldn’t copy to clipboard.`,welcome_message:`Welcome to {$name}`,powered_by:`Powered by {$name}`,loading_cms_config:`Loading CMS Configuration…`,loading_site_data:`Loading Site Data…`,loading_site_data_error:`There was an error while loading site data.`,sign_in_with_x:`Sign In with {$service}`,sign_in_using_access_token:`Sign In Using Access Token`,sign_in_using_access_token_description:`Enter your token below. It must have read/write access to the repository content.`,sign_in_using_access_token_link:`You can generate a token on the <a>{$service} user settings page</a>.`,personal_access_token:`Personal Access Token`,authorizing:`Authorizing…`,signing_in:`Signing in…`,work_with_local_repo:`Work with Local Repository`,work_with_local_repo_description:`Once prompted, select the root directory of the “{$repo}” repository.`,work_with_local_repo_description_no_repo:`Once prompted, select the root directory of your Git repository.`,work_with_test_repo:`Work with Test Repository`,sign_in_error:{not_project_root:`The selected folder is not a repository root directory. Please try again.`,picker_dismissed:`A repository root directory could not be selected. Please try again.`,authentication_aborted:`Authentication aborted. Please try again.`,invalid_token:`The provided token is invalid. Please check and try again.`,UNSUPPORTED_BACKEND:`Your Git backend is not supported by the authenticator.`,UNSUPPORTED_DOMAIN:`Your domain is not allowed to use the authenticator.`,MISCONFIGURED_CLIENT:`OAuth app client ID or secret is not configured.`,AUTH_CODE_REQUEST_FAILED:`Failed to receive an authorization code. Please try again later.`,CSRF_DETECTED:`Potential CSRF attack detected. Authentication flow aborted.`,TOKEN_REQUEST_FAILED:`Failed to request an access token. Please try again later.`,TOKEN_REFRESH_FAILED:`Failed to refresh the access token. Please try again later.`,MALFORMED_RESPONSE:`Server responded with malformed data. Please try again later.`},backend_unsupported_version:`The {$name} backend requires {$name} {$version} or later.`,repository_no_access:`You don’t have access to the “{$repo}” repository.`,repository_not_found:`The “{$repo}” repository doesn’t exist.`,repository_empty:`The “{$repo}” repository has no branches.`,branch_not_found:`The “{$repo}” repository doesn’t have the “{$branch}” branch.`,unexpected_error:`Unexpected Error`,entry_parse_errors:`.input {$count :integer} .match $count one {{There was an error while parsing an entry file. Check the browser console for details.}} * {{There were errors while parsing entry files. Check the browser console for details.}}`,username:`Username`,password:`Password`,sign_in:`Sign In`,sign_in_with_mobile:`Sign In with Mobile`,sign_in_with_mobile_instruction:`Scan the QR code below with your phone or tablet for passwordless sign-in. Your settings will be automatically copied.`,signed_in_as_x:`Signed In as {$name}`,working_with_local_repo:`Working with Local Repository`,working_with_test_repo:`Working with Test Repository`,sign_out:`Sign Out`,install_as_app:`Install as App`,contents:`Contents`,assets:`Assets`,editorial_workflow:`Editorial Workflow`,cms_config:`CMS Configuration`,menu:`Menu`,mobile_promo_title:`Sveltia CMS is now available on mobile!`,mobile_promo_button:`Give it a try`,new_language_available:`Sveltia CMS is now available in {$locale}!`,change_language:`Change Language`,switching_language:`Switching to {$locale}…`,locale_load_failed:`Couldn’t load the {$locale} translation. Please try again later.`,visit_live_site:`Visit Live Site`,switch_page:`Switch Page`,search_placeholder_contents:`Search for contents…`,search_placeholder_assets:`Search for assets…`,search_placeholder_all:`Search for contents and assets…`,create_entry_or_assets:`Create Entry or Assets`,publish_changes:`Publish Changes`,publishing_changes:`Publishing Changes…`,publishing_changes_failed:`Couldn’t publish changes. Please try again.`,show_notifications:`Show Notifications`,notifications:`Notifications`,show_account_menu:`Show Account Menu`,account:`Account`,live_site:`Live Site`,git_repository:`Git Repository`,settings:`Settings`,show_help_menu:`Show Help Menu`,help:`Help`,keyboard_shortcuts:`Keyboard Shortcuts`,documentation:`Documentation`,release_notes:`Release Notes`,announcements:`Announcements`,version_x:`Version {$version}`,report_issue:`Report Issue`,share_feedback:`Share Feedback`,get_help:`Get Help`,donate:`Donate`,join_discord:`Join Us on Discord`,bluesky:`Follow Us on Bluesky`,update_available:`The latest version of Sveltia CMS is available.`,update_now:`Update Now`,backend_status:{minor_incident:`{$service} is experiencing a minor incident. Your workflow may be affected.`,major_incident:`{$service} is experiencing a major incident. You may want to wait until the situation has improved.`},content_library:`Content Library`,asset_library:`Asset Library`,collections:`Collections`,entries:`Entries`,files:`Files`,asset_location:{repository:`Your Site`,external:`External Locations`,stock_photos:`Stock Photos`},collection_assets:`Collection Assets`,entry_list:`Entry List`,file_list:`File List`,asset_list:`Asset List`,x_collection:`“{$collection}” Collection`,x_asset_folder:`“{$folder}” Asset Folder`,viewing_collection_list:`You’re now viewing the collection list.`,viewing_asset_folder_list:`You’re now viewing the asset folder list.`,viewing_x_collection:`.input {$count :integer} .match $count 0 {{You’re now viewing the “{$collection}” collection, which has no entries yet.}} one {{You’re now viewing the “{$collection}” collection, which has one entry.}} * {{You’re now viewing the “{$collection}” collection, which has {$count} entries.}}`,viewing_x_asset_folder:`.input {$count :integer} .match $count 0 {{You’re now viewing the “{$folder}” asset folder, which has no assets yet.}} one {{You’re now viewing the “{$folder}” asset folder, which has one asset.}} * {{You’re now viewing the “{$folder}” asset folder, which has {$count} assets.}}`,singleton_selected_announcement:`Press Enter to edit the “{$file}” file.`,collection_not_found:`Collection not found.`,file_not_found:`File not found.`,x_of_x_selected:`{$selected} of {$total} selected`,switch_view:`Switch View`,list_view:`List View`,grid_view:`Grid View`,switch_to_list_view:`Switch to List View`,switch_to_grid_view:`Switch to Grid View`,sort:`Sort`,sorting_options:`Sorting Options`,sort_keys:{none:`None`,name:`Name`,slug:`Slug`,commit_author:`Updated by`,commit_date:`Updated on`,_summary:`Summary`,_manual:`Manual`},ascending:`{$label}, A to Z`,ascending_date:`{$label}, old to new`,descending:`{$label}, Z to A`,descending_date:`{$label}, new to old`,filter:`Filter`,filtering_options:`Filtering Options`,group:`Group`,grouping_options:`Grouping Options`,type:`Type`,all:`All`,image:`Image`,video:`Video`,audio:`Audio`,document:`Document`,other:`Other`,show_assets:`Show Assets`,hide_assets:`Hide Assets`,show_info:`Show Info`,hide_info:`Hide Info`,all_assets:`All Assets`,global_assets:`Global Assets`,entry_not_found:`Entry not found.`,creating_entries_disabled_by_admin:`Creating new entries in this collection is disabled by the administrator.`,creating_entries_disabled_by_quota:`You cannot add new entries to this collection because it has reached its limit of {$quota} entries.`,creating_entries_nearing_quota:`.input {$remaining :integer} .match $remaining one {{This collection is nearing its limit of {$quota} entries. You can only create {$remaining} more entry.}} * {{This collection is nearing its limit of {$quota} entries. You can only create {$remaining} more entries.}}`,back_to_collection:`Back to Collection`,collection_list:`Collection List`,back_to_collection_list:`Back to Collection List`,asset_folder_list:`Asset Folder List`,back_to_asset_folder_list:`Back to Asset Folder List`,search_results:`Search Results`,search_results_for_x:`Search Results for “{$terms}”`,viewing_entry_search_results:`.input {$count :integer} .match $count 0 {{You’re now viewing search results for “{$terms}”. We couldn’t find any entries.}} one {{You’re now viewing search results for “{$terms}”. We’ve found one entry.}} * {{You’re now viewing search results for “{$terms}”. We’ve found {$count} entries.}}`,viewing_asset_search_results:`.input {$count :integer} .match $count 0 {{You’re now viewing search results for “{$terms}”. We couldn’t find any assets.}} one {{You’re now viewing search results for “{$terms}”. We’ve found one asset.}} * {{You’re now viewing search results for “{$terms}”. We’ve found {$count} assets.}}`,x_entries:`.input {$count :integer} .match $count 0 {{No entries}} one {{{$count} entry}} * {{{$count} entries}}`,x_assets:`.input {$count :integer} .match $count 0 {{No assets}} one {{{$count} asset}} * {{{$count} assets}}`,no_files_found:`No files found.`,no_entries_found:`No entries found.`,upload_assets:`Upload New Assets`,edit_options:`Edit Options`,show_edit_options:`Show Edit Options`,edit_asset:`Edit Asset`,edit_x:`Edit {$name}`,wrap_long_lines:`Wrap Long Lines`,rename_asset:`Rename Asset`,rename_x:`Rename {$name}`,enter_new_name_for_asset:`.input {$count :integer} .match $count 0 {{Enter a new name below.}} one {{Enter a new name below. An entry using the asset will also be updated.}} * {{Enter a new name below. {$count} entries using the asset will also be updated.}}`,enter_new_name_for_asset_error:{empty:`File name cannot be empty.`,character:`File name cannot contain special characters.`,duplicate:`This file name is used for another asset.`},change_file_extension:`Change File Extension`,confirm_file_extension_change:{change:`Are you sure you want to change the extension from “.{$oldExtension}” to “.{$newExtension}”?`,add:`Are you sure you want to add the extension “.{$newExtension}”?`,remove:`Are you sure you want to remove the extension “.{$oldExtension}”?`},file_extension_change_warning:`The file may not be displayed or handled correctly if the extension doesn’t match the actual file format.`,replace_asset:`Replace Asset`,replace_x:`Replace {$name}`,click_to_browse:`Click to browse…`,tap_to_browse:`Tap to browse…`,drop_files_or_click_to_browse:`.input {$count :integer} .match $count one {{Drop a file here or click to browse…}} * {{Drop files here or click to browse…}}`,drop_files_or:`.input {$count :integer} .match $count one {{Drop a file here or}} * {{Drop files here or}}`,drop_image_files_or:`.input {$count :integer} .match $count one {{Drop an image file here or}} * {{Drop image files here or}}`,browse:`Browse`,paste:`Paste`,paste_image:`Paste Image`,no_image_in_clipboard:`No image found in clipboard.`,clipboard_access_denied:`Clipboard access denied.`,drop_files_here:`.input {$count :integer} .match $count one {{Drop a file here}} * {{Drop files here}}`,unsupported_file_type:`Unsupported File Type`,dropped_file_type_mismatch:`The dropped file is not one of the following types: {$types}. Please try again.`,dropped_image_type_mismatch:`The dropped file is not supported. Only an image of the following types is accepted: {$types}. Please try again.`,choose_files:`.input {$count :integer} .match $count one {{Choose File}} * {{Choose Files}}`,delete_assets:`.input {$count :integer} .match $count one {{Delete Asset}} * {{Delete Assets}}`,delete_selected_assets:`.input {$count :integer} .match $count one {{Delete Selected Asset}} * {{Delete Selected Assets}}`,confirm_deleting_this_asset:`Are you sure you want to delete this asset?`,confirm_deleting_selected_assets:`.input {$count :integer} .match $count one {{Are you sure you want to delete the selected asset?}} * {{Are you sure you want to delete the selected {$count} assets?}}`,confirm_deleting_all_assets:`Are you sure you want to delete all the assets?`,delete_entries:`.input {$count :integer} .match $count one {{Delete Entry}} * {{Delete Entries}}`,delete_selected_entries:`.input {$count :integer} .match $count one {{Delete Selected Entry}} * {{Delete Selected Entries}}`,confirm_deleting_this_entry:`Are you sure you want to delete this entry?`,confirm_deleting_this_entry_with_assets:`Are you sure you want to delete this entry and associated assets?`,confirm_deleting_selected_entries:`.input {$count :integer} .match $count one {{Are you sure you want to delete the selected entry?}} * {{Are you sure you want to delete the selected {$count} entries?}}`,confirm_deleting_selected_entries_with_assets:`.input {$count :integer} .match $count one {{Are you sure you want to delete the selected entry and associated assets?}} * {{Are you sure you want to delete the selected {$count} entries and associated assets?}}`,confirm_deleting_all_entries:`Are you sure you want to delete all the entries?`,confirm_deleting_all_entries_with_assets:`Are you sure you want to delete all the entries and associated assets?`,reorder_entries:`Reorder Entries`,done_reordering_entries:`Done Reordering Entries`,cancel_reordering_entries:`Cancel Reordering Entries`,saving_reorder_failed:`Failed to save new entry order. Please try again.`,processing_files:`.input {$count :integer} .match $count one {{Processing a file. This may take a while.}} * {{Processing files. This may take a while.}}`,uploading_files:`Uploading Files`,confirm_replacing_file:`“{$name}” will be replaced with this file:`,confirm_uploading_files:`.input {$count :integer} .match $count one {{This file will be saved to the “{$folder}” folder:}} * {{These {$count} files will be saved to the “{$folder}” folder:}}`,oversized_files:`Oversized Files`,warning_oversized_files:`.input {$count :integer} .match $count one {{This file cannot be uploaded because it exceeds the maximum size of {$size}. Please reduce the size or select a different file.}} * {{These files cannot be uploaded because they exceed the maximum size of {$size}. Please reduce the sizes or select different files.}}`,invalid_files:`Invalid Files`,warning_invalid_files:`.input {$count :integer} .match $count one {{This file cannot be uploaded because it’s damaged, or its content doesn’t match its file extension. This often happens when a photo is renamed rather than converted, such as a HEIC image saved as a JPEG file. Please convert the file and try again.}} * {{These files cannot be uploaded because they’re damaged, or their content doesn’t match their file extensions. This often happens when photos are renamed rather than converted, such as HEIC images saved as JPEG files. Please convert the files and try again.}}`,file_name_conflict_confirmation:`.input {$count :integer} .match $count one {{A file with the same name already exists in this folder. Do you want to replace it?}} * {{{$count} files with the same names already exist in this folder. Do you want to replace them?}}`,file_name_conflict_confirmation_with_name:`.input {$count :integer} .input {$name :string} .match $count one {{A file named “{$name}” already exists in this folder. Do you want to replace it?}} * {{{$count} files with the same names already exist in this folder. Do you want to replace them?}}`,file_name_conflict_resolution:`File Name Conflict Resolution`,keep_both:`Keep Both`,uploading_files_progress:`Uploading…`,uploading_files_failed:`Upload failed.`,file_meta:`{$type} · {$size}`,file_meta_converted_from_x:`(converted from {$type})`,no_entries_created:`This collection has no entries yet.`,create_new_entry:`Create New Entry`,entry:`Entry`,index_file:`Index File`,no_files_in_collection:`No files available in this collection.`,duplicate_entry:`Duplicate Entry`,entry_duplicated:`Entry duplicated as a new draft.`,entry_validation_errors:`.input {$count :integer} .match $count one {{One field has an error. Please correct it to save the entry.}} * {{{$count} fields have errors. Please correct them to save the entry.}}`,entry_saved:`.input {$count :integer} .match $count one {{Entry saved.}} * {{{$count} entries saved.}}`,entry_saved_and_published:`.input {$count :integer} .match $count one {{Entry saved and published.}} * {{{$count} entries saved and published.}}`,entries_deleted:`.input {$count :integer} .match $count one {{Entry deleted.}} * {{{$count} entries deleted.}}`,assets_saved:`.input {$count :integer} .match $count one {{Asset saved.}} * {{{$count} assets saved.}}`,assets_saved_and_published:`.input {$count :integer} .match $count one {{Asset saved and published.}} * {{{$count} assets saved and published.}}`,asset_urls_copied:`.input {$count :integer} .match $count one {{URL copied to clipboard.}} * {{{$count} URLs copied to clipboard.}}`,asset_paths_copied:`.input {$count :integer} .match $count one {{File path copied to clipboard.}} * {{{$count} file paths copied to clipboard.}}`,asset_data_copied:`.input {$count :integer} .match $count one {{File data copied to clipboard.}} * {{{$count} files’ data copied to clipboard.}}`,assets_downloaded:`.input {$count :integer} .match $count one {{Asset downloaded.}} * {{{$count} assets downloaded.}}`,assets_moved:`.input {$count :integer} .match $count one {{Asset moved.}} * {{{$count} assets moved.}}`,assets_renamed:`.input {$count :integer} .match $count one {{Asset renamed.}} * {{{$count} assets renamed.}}`,assets_deleted:`.input {$count :integer} .match $count one {{Asset deleted.}} * {{{$count} assets deleted.}}`,content_editor:`Content Editor`,restore_backup_title:`Restore Draft`,restore_backup_description:`This entry has a backup from {$datetime}. Do you want to restore the edited draft?`,draft_backup_saved:`Draft backup saved.`,draft_backup_restored:`Draft backup restored.`,draft_backup_deleted:`Draft backup deleted.`,cancel_editing:`Cancel Editing`,create_entry_title:`Creating {$name}`,create_entry_announcement:`You’re now creating a new entry in the “{$collection}” collection.`,edit_entry_title:`{$collection} › {$entry}`,edit_entry_announcement:`You’re now editing the “{$entry}” entry in the “{$collection}” collection.`,edit_file_announcement:`You’re now editing the “{$file}” file in the “{$collection}” collection.`,edit_singleton_announcement:`You’re now editing the “{$file}” file.`,save_and_publish:`Save and Publish`,save_without_publishing:`Save without Publishing`,show_editor_options:`Show Editor Options`,editor_options:`Editor Options`,show_preview:`Show Preview`,sync_scrolling:`Sync Scrolling`,switch_locale:`Switch Locale`,locale_content_disabled_short:`(disabled)`,locale_content_error_short:`(error)`,edit:`Edit`,preview:`Preview`,swap_panes:`Swap Panes`,edit_x_locale:`Edit {$locale} Content`,preview_x_locale:`Preview {$locale} Content`,content_preview:`Content Preview`,show_content_options_x_locale:`Show {$locale} Content Options`,content_options_x_locale:`{$locale} Content Options`,x_field:`“{$field}” Field`,show_field_options:`Show Field Options`,field_options:`Field Options`,unsupported_field_type_x:`Unsupported field type: {$name}`,enable_x_locale:`Enable {$locale}`,reenable_x_locale:`Reenable {$locale}`,disable_x_locale:`Disable {$locale}`,locale_x_has_been_disabled:`The {$locale} content has been disabled.`,locale_x_now_disabled:`The {$locale} content is now disabled. It will be deleted when you save the entry.`,view_in_repository:`View in Repository`,view_on_x:`View on {$service}`,view_on_live_site:`View on Live Site`,copy_from:`Copy from…`,copy_from_x:`Copy from {$locale}`,translation_options:`Translation Options`,translate:`Translate`,translate_fields:`.input {$count :integer} .match $count one {{Translate Field}} * {{Translate Fields}}`,translate_from:`Translate from…`,translate_from_x:`Translate from {$locale}`,revert_changes:`Revert Changes`,revert_all_changes:`Revert All Changes`,edit_slug:`Edit Slug`,edit_slug_warning:`Changing the slug may break internal and external links to the entry. Currently, Sveltia CMS does not update references created with Relation fields, so you’ll need to manually update such references along with other links.`,edit_slug_error:{empty:`The slug cannot be empty.`,invalid:`The slug cannot contain special characters, including slashes and spaces.`,duplicate:`This slug is used for another entry.`},required:`Required`,editor:{translation:{none:`Nothing to translate.`,started:`Translating…`,error:`Translation failed.`,complete:`.input {$count :integer} .match $count 0 {{No fields translated from {$source}.}} one {{Field translated from {$source}.}} * {{{$count} fields translated from {$source}.}}`},copy:{none:`Nothing to copy.`,complete:`.input {$count :integer} .match $count 0 {{No fields copied from {$source}.}} one {{Field copied from {$source}.}} * {{{$count} fields copied from {$source}.}}`}},validation:{value_missing:`This field is required.`,range_underflow:{"datetime-local":`The date/time must be at or after {$min}.`,date:`The date must be on or after {$min}.`,time:`The time must be at or after {$min}.`,number:`The value must be greater than or equal to {$min}.`,select:`.input {$min :integer} .match $min one {{You must select at least {$min} option.}} * {{You must select at least {$min} options.}}`,add:`.input {$min :integer} .match $min one {{You must add at least {$min} item.}} * {{You must add at least {$min} items.}}`},range_overflow:{"datetime-local":`The date/time must be at or before {$max}.`,date:`The date must be on or before {$max}.`,time:`The time must be at or before {$max}.`,number:`The value must be less than or equal to {$max}.`,select:`.input {$max :integer} .match $max one {{You cannot select more than {$max} option.}} * {{You cannot select more than {$max} options.}}`,add:`.input {$max :integer} .match $max one {{You cannot add more than {$max} item.}} * {{You cannot add more than {$max} items.}}`},too_short:`.input {$min :integer} .match $min one {{You must enter at least {$min} character.}} * {{You must enter at least {$min} characters.}}`,too_long:`.input {$max :integer} .match $max one {{You cannot enter more than {$max} character.}} * {{You cannot enter more than {$max} characters.}}`,type_mismatch:{number:`Please enter a number.`,email:`Please enter a valid email.`,url:`Please enter a valid URL.`},invalid_value:`Invalid value.`,unexpected_error:`Unexpected error occurred.`},entry_sidebar:{sidebar_panels:`Sidebar Panels`,validation:{title:`Validation`,placeholder:`Validation results will be shown here.`,no_errors_found:`No errors found.`},history:{title:`History`,fetch_failed:`Failed to load history.`,no_history:`No history found.`},backlinks:{title:`Backlinks`,no_entries:`No entries are referencing this entry.`}},saving_entry:{error:{title:`Error`,description:`There was an error while saving the entry. Please try again later.`}},viewing_x_asset_details:`You’re viewing the details of the “{$name}” asset.`,asset_editor:`Asset Editor`,preview_unavailable:`Preview Unavailable.`,public_urls:`.input {$count :integer} .match $count one {{Public URL}} * {{Public URLs}}`,file_paths:`.input {$count :integer} .match $count one {{File Path}} * {{File Paths}}`,file_data:`File Data`,asset_info:`Asset Info`,select_asset_show_info:`Select an asset to show its info.`,kind:`Kind`,size:`Size`,dimensions:`Dimensions`,duration:`Duration`,used_in:`Used in`,created_date:`Created Date`,location:`Location`,map_lat_lng:`Map showing latitude {$latitude}, longitude {$longitude}`,remove_this_item:`Remove This Item`,move_up:`Move Up`,move_down:`Move Down`,add_x:`Add {$name}`,add_item_above:`Add Item Above`,add_item_below:`Add Item Below`,select_list_type:`Select List Type`,unknown_variable_type:`This item can’t be displayed due to an unknown type. Check the browser console for details.`,opacity:`Opacity`,unselected_option:`(None)`,assets_dialog:{title:{file:`Select File`,image:`Select Image`},search_for_file:`Search for Files`,search_for_image:`Search for Images`,locations:`Locations`,folder:{field:`Field Assets`,entry:`Entry Assets`,file:`File Assets`,collection:`Collection Assets`,global:`Global Assets`},error:{invalid_key:`Your API key is invalid or expired. Please double-check and try again.`,search_fetch_failed:`There was an error while searching assets. Please try again later.`,image_fetch_failed:`There was an error while downloading the selected asset. Please try again later.`},available_images:`Available Images`,enter_url:`Enter URL`,enter_file_url:`Enter URL of the file:`,enter_image_url:`Enter URL of the image:`,large_file:{title:`Large File`},invalid_file:{title:`Invalid File`},rejected_files:{title:`Files Cannot Be Uploaded`},photo_credit:{title:`Photo Credit`,description:`Use the following credit if possible:`},unsaved:`Unsaved`},character_counter:{min_max:`.input {$count :integer} .match $count 0 {{No character entered. Minimum: {$min}. Maximum: {$max}.}} one {{{$count} character entered. Minimum: {$min}. Maximum: {$max}.}} * {{{$count} characters entered. Minimum: {$min}. Maximum: {$max}.}}`,min:`.input {$count :integer} .match $count 0 {{No character entered. Minimum: {$min}.}} one {{{$count} character entered. Minimum: {$min}.}} * {{{$count} characters entered. Minimum: {$min}.}}`,max:`.input {$count :integer} .match $count 0 {{No character entered. Maximum: {$max}.}} one {{{$count} character entered. Maximum: {$max}.}} * {{{$count} characters entered. Maximum: {$max}.}}`},youtube_video_player:`YouTube video player`,today:`Today`,now:`Now`,editor_components:{image:`Image`,src:`Source`,alt:`Alt Text`,title:`Title`,link:`Link`},key_value:{key:`Key`,value:`Value`,action:`Action`,empty_key:`Key is required.`,duplicate_key:`Key must be unique.`},find_place:`Find a Place`,use_your_location:`Use Your Location`,geolocation_error_title:`Geolocation Error`,geolocation_error_body:`There was an error while retrieving your location.`,geolocation_unsupported:`Geolocation API is not supported by this browser.`,boolean:{true:`Yes`,false:`No`},cloud_storage:{invalid:`The service is not configured properly.`,auth:{api_key:{key_label:`API Key`,initial:`Enter your {$key} for {$service}.`,requested:`Validating…`,error:`The provided {$key} is invalid. Please double-check and try again.`},password:{initial:`Enter your password for {$service}.`,requested:`Signing in…`,error:`Username or password is incorrect. Please double-check and try again.`}},cloudinary:{iframe_title:`Cloudinary media library`,activate:{button_label:`Activate Cloudinary`,description:`After signing in, click the Sign In button again to continue.`},auth_key_label:`API Secret`,open_library:`Open Cloudinary`},uploadcare:{auth_key_label:`API Secret Key`},aws_s3:{auth_key_label:`Secret Access Key`},cloudflare_r2:{auth_key_label:`Secret Access Key`},digitalocean_spaces:{auth_key_label:`Secret Access Key`}},config:{errors:`.input {$count :integer} .match $count one {{There is an error in the CMS configuration. Please solve the issue and try again.}} * {{There are errors in the CMS configuration. Please solve the issues and try again.}}`,error_locator:{collection:`{$collection} collection`,file:`{$file} file`,component:`{$component} component`,field:"`{$field}` field"},error:{no_secure_context:`Sveltia CMS only works with HTTPS or localhost URLs.`,insecure_urls:`.input {$count :integer} .match $count one {{The configuration file URL must use HTTPS protocol or a localhost address.}} * {{The configuration file URLs must use HTTPS protocol or localhost addresses.}}`,fetch_failed:`The configuration file could not be retrieved.`,fetch_failed_not_ok:`HTTP response returned with status {$status}.`,fetch_failed_with_manual_init:"The configuration file could not be retrieved. To prevent the `config.yml` file from loading, add <a>`load_config_file: false`</a> to the configuration object passed to `CMS.init()`.",parse_failed:`The configuration file could not be parsed.`,parse_failed_invalid_object:`The configuration file is not a valid JavaScript object.`,parse_failed_unsupported_type:`The configuration file is not a valid file type. Only YAML, TOML and JSON are supported.`,no_collection:`Collections are not defined.`,missing_backend:`The backend is not defined.`,missing_backend_name:`The backend name is not defined.`,unsupported_known_backend:`The {$name} backend is <a>not supported</a> in Sveltia CMS.`,unsupported_deprecated_backend:`The deprecated {$name} backend is <a>not supported</a> in Sveltia CMS.`,unsupported_custom_backend:`Custom backends are <a>not supported</a> in Sveltia CMS.`,unsupported_backend_suggestion:`Use one of the <a>supported backends</a> instead.`,missing_repository:`The repository is not defined.`,invalid_repository:`The configured repository is invalid. It must be in “owner/repo” format.`,oauth_implicit_flow:`The configured authentication method (implicit flow) is not supported in Sveltia CMS. Use a different <a>authentication method</a> instead.`,github_pkce_unsupported:`PKCE authorization is not yet supported due to GitHub’s limitations. Use a different <a>authentication method</a> instead.`,oauth_no_app_id:`OAuth application ID is not defined.`,no_auth_methods:"The `auth_methods` option must contain at least one method.",missing_media_folder:`The media folder is not defined.`,invalid_media_folder:`The configured media folder is invalid. It must be a string.`,invalid_public_folder:`The configured public folder is invalid. It must be a string.`,public_folder_relative_path:`The configured public folder is invalid. It must be an absolute path starting with “/”.`,public_folder_absolute_url:`An absolute URL for the public folder option is not supported in Sveltia CMS.`,invalid_asset_collections:"The `asset_collections` option is invalid. It must be an array.",missing_asset_collection_name:"The asset collection {$count} must have the `name` option defined as a non-empty string.",invalid_asset_collection_name:"The asset collection name `{$name}` is invalid. It must not contain special characters.",duplicate_asset_collection_name:"Asset collection names must be unique, but `{$name}` is used more than once.",asset_collection_invalid_media_folder:"The `{$name}` asset collection must have the `media_folder` option defined as a string.",invalid_collection_no_options:"The collection must have either the `folder`, `files` or `divider` option defined.",invalid_collection_multiple_options:"The collection cannot have the `folder`, `files` and `divider` options together.",file_format_mismatch:"The `{$extension}` extension doesn’t match the `{$format}` format.",invalid_slug_slash:"The slug template `{$slug}` is invalid as it cannot contain slashes. To organize entries in subfolders, use the `path` option instead of `slug`.",invalid_reorder_group:"The `reorder` option refers to a view group named `{$name}`, but no such group is defined in the `view_groups` option.",invalid_sortable_field:"The `sortable_fields` option refers to a field named `{$name}`, but no such field is defined in the collection.",invalid_view_group_field:"The `view_groups` option refers to a field named `{$name}`, but no such field is defined in the collection.",invalid_view_filter_field:"The `view_filters` option refers to a field named `{$name}`, but no such field is defined in the collection.",missing_view_group_name:"The view group {$count} must have the `name` option defined as a non-empty string.",invalid_view_group_name:"The view group name `{$name}` is invalid. It must not contain special characters.",duplicate_view_group_name:"View group names must be unique, but `{$name}` is used more than once.",missing_view_filter_name:"The view filter {$count} must have the `name` option defined as a non-empty string.",invalid_view_filter_name:"The view filter name `{$name}` is invalid. It must not contain special characters.",duplicate_view_filter_name:"View filter names must be unique, but `{$name}` is used more than once.",missing_collection_name:"The collection {$count} must have the `name` option defined as a non-empty string.",invalid_collection_name:"The collection name `{$name}` is invalid. It must not contain special characters.",duplicate_collection_name:"Collection names must be unique, but `{$name}` is used more than once.",missing_collection_file_name:"The collection file {$count} must have the `name` option defined as a non-empty string.",invalid_collection_file_name:"The collection file name `{$name}` is invalid. It must not contain special characters.",duplicate_collection_file_name:"Collection file names must be unique, but `{$name}` is used more than once.",collection_no_fields:"The collection must have the `fields` option defined with at least one field.",collection_file_no_fields:"The collection file must have the `fields` option defined with at least one field.",collection_file_i18n_required:"The collection file must have the `i18n` option defined if the `locale` placeholder is used in the `file` path.",missing_field_name:"The field {$count} must have the `name` option defined as a non-empty string.",invalid_field_name:"The field name `{$name}` is invalid. It must not contain special characters. If you want to nest fields, <a>use Object fields instead of dot notation</a>.",duplicate_field_name:"Field names must be unique, but `{$name}` is used more than once.",missing_variable_type:"The variable type {$count} must have the `name` option defined as a non-empty string.",invalid_variable_type:"The variable type name `{$name}` is invalid. It must not contain special characters.",duplicate_variable_type:"Variable type names must be unique, but `{$name}` is used more than once.",date_field_type:"The deprecated Date field type is not supported in Sveltia CMS. Use the DateTime field type with the `type: date` option instead.",invalid_timezone:"Invalid timezone: {$timeZone}. Must be a valid IANA timezone identifier like `America/New_York` or `Asia/Tokyo`.",unsupported_deprecated_option:"The deprecated `{$prop}` option is not supported in Sveltia CMS. Use the `{$newProp}` option instead.",allow_multiple:"The `allow_multiple` option is not supported in Sveltia CMS. Use the `multiple` option instead, which defaults to `false`.",invalid_list_field:"The List field cannot have the `field`, `fields` and `types` options together.",invalid_list_variable_type:"The List field’s variable type is invalid. The `widget` option is set to `{$widget}` but it must be `object`.",invalid_object_field:"The Object field cannot have the `fields` and `types` options together.",object_field_missing_fields:"The Object field must have either the `fields` or `types` option defined.",relation_field_invalid_collection:"The referenced `{$collection}` collection is invalid or not defined.",relation_field_invalid_collection_file:"The referenced `{$file}` file is invalid or not defined.",relation_field_missing_file_name:"The `file` option must be defined for a relation to a file collection.",relation_field_invalid_value_field:"The referenced value field `{$field}` is invalid or not defined.",unexpected:`Unexpected error`},warning:{oauth_no_app_id:`OAuth application ID is not defined. Users are required to provide an access token to sign in.`,editorial_workflow_unsupported:`Editorial workflow is not yet supported in Sveltia CMS.`,open_authoring_unsupported:`Open authoring is not yet supported in Sveltia CMS.`,nested_collections_unsupported:`Nested collections are not yet supported in Sveltia CMS.`,unsupported_ignored_option:"The `{$prop}` option is not supported in Sveltia CMS. It will be ignored.",conflicting_timezone_options:"Both `picker_utc` and newer timezone options (`input_timezone` or `output_utc`) are set. The new options take precedence. Consider removing `picker_utc` from your configuration."},compatibility_link:`See the compatibility notes for details: {$link}`,schema_tip:`For a better developer experience, you can validate your configuration file against the JSON schema of Sveltia CMS. See {$link} for details.`},local_workflow:{indicator:`Local`,unsupported_browser:`Local Workflow is not supported in your browser. Please use Chrome or Edge instead.`,disabled:`Local Workflow is disabled in your browser. <a>Here’s how to enable it</a>.`},status:{drafts:`Drafts`,in_review:`In Review`,ready:`Ready`},categories:`Categories`,site_configuration_editor:`Site Configuration Editor`,prefs:{changes:{api_key_saved:`API key saved.`,api_key_removed:`API key removed.`,api_key_invalid:`The provided API key is invalid. Please double-check and try again.`},error:{permission_denied:`Cookie storage access has been denied. Please check your browser permissions and try again.`},appearance:{title:`Appearance`,theme:`Theme`,select_theme:`Select Theme`},theme:{auto:`Auto`,dark:`Dark`,light:`Light`},language:{title:`Language`,ui_language:{title:`User Interface Language`,select_language:`Select Language`}},contents:{title:`Contents`,editor:{title:`Editor`,use_draft_backup:{switch_label:`Automatically back up entry drafts`},close_on_save:{switch_label:`Close the editor after saving a draft`},close_with_escape:{switch_label:`Close the editor with the Escape key`}}},i18n:{title:`Internationalization`,translators:{default:{title:`Default Translation Service`,select_service:`Select Service`},api_keys:{title:`Translation Service API Keys`,description:`Manage API keys for <a>translation services</a>.`},field_label:`{$service} Key`,description:`Sign up for <a {$homeHref}>{$service}</a> and enter <a {$apiKeyHref}>your API Key</a> here to enable quick translation of text entry fields.`}},media:{title:`Media`,stock_photos:{api_keys:{title:`Stock Photo Service API Keys`,description:`Manage API keys for <a>stock photo services</a>.`},field_label:`{$service} API Key`,description:`Sign up for <a {$homeHref}>{$service} API</a> and enter <a {$apiKeyHref}>your API Key</a> here to insert free stock photos to image entry fields.`,credit:`Photos provided by {$service}`,no_services:`No <a>stock photo services</a> are configured.`},cloud_storage:{api_keys:{title:`Cloud Storage Service API Keys`,description:`Manage API keys for <a>cloud storage services</a>.`},field_label:`{$service} API Key`,no_services:`No <a>cloud storage services</a> are configured.`}},accessibility:{title:`Accessibility`,underline_links:{title:`Underline Links`,description:`Show underline for links in the entry preview and user interface labels.`,switch_label:`Always Underline Links`}},advanced:{title:`Advanced`,beta:{title:`Beta Features`,description:`Enable some beta features that may be unstable or unlocalized.`,switch_label:`Join Beta Program`},developer_mode:{title:`Developer Mode`,description:`Enable some developer-oriented features, including detailed console logs and native context menus.`,switch_label:`Enable Developer Mode`},deploy_hook:{title:`Deploy Hook`,description:`Enter a webhook URL to be called when you manually trigger a deployment by selecting Publish Changes. This can be left blank if you’re using GitHub Actions.`,url:{field_label:`Hook URL`,saved:`Hook URL saved.`,removed:`Hook URL removed.`},auth:{field_label:`Authorization header (e.g., Bearer <token>) (optional)`,saved:`Authorization header saved.`,removed:`Authorization header removed.`}}}},keyboard_shortcuts_:{view_content_library:`View Content Library`,view_asset_library:`View Asset Library`,search:`Search for entries and assets`,create_entry:`Create a new entry`,save_entry:`Save an entry`,cancel_editing:`Cancel entry editing`},file_type_labels:{avif:`AVIF image`,bmp:`Bitmap image`,gif:`GIF image`,ico:`Icon`,jpeg:`JPEG image`,jpg:`JPEG image`,png:`PNG image`,svg:`SVG image`,tif:`TIFF image`,tiff:`TIFF image`,webp:`WebP image`,avi:`AVI video`,m4v:`MP4 video`,mov:`QuickTime video`,mp4:`MP4 video`,mpeg:`MPEG video`,mpg:`MPEG video`,ogg:`Ogg video`,ogv:`Ogg video`,ts:`MPEG video`,webm:`WebM video`,"3gp":`3GPP video`,"3g2":`3GPP2 video`,aac:`AAC audio`,mid:`MIDI`,midi:`MIDI`,m4a:`MP4 audio`,mp3:`MP3 audio`,oga:`Ogg audio`,opus:`OPUS audio`,wav:`WAV audio`,weba:`WebM audio`,csv:`CSV spreadsheet`,doc:`Word document`,docx:`Word document`,odp:`OpenDocument presentation`,ods:`OpenDocument spreadsheet`,odt:`OpenDocument text`,pdf:`PDF document`,ppt:`PowerPoint presentation`,pptx:`PowerPoint presentation`,rtf:`Rich text document`,xls:`Excel spreadsheet`,xlsx:`Excel spreadsheet`,html:`HTML text`,js:`JavaScript`,json:`JSON text`,md:`Markdown text`,toml:`TOML text`,yaml:`YAML text`,yml:`YAML text`},file_size_units:{b:`{$size} bytes`,kb:`{$size} KB`,mb:`{$size} MB`,gb:`{$size} GB`,tb:`{$size} TB`}}})))()}var U$,jfe,Mfe,Nfe,W$,G$,K$,q$,J$,Y$,X$,Pfe,Ffe,Ife,Lfe,Rfe;function Z$(){return(Z$=o((()=>{H$(),Z(),mk(),gM(),dM(),oM(),LB(),zK(),U$=`en-US`,jfe=`ar,bg,ca,el,en-CA,en-GB,en-US,fi,fr,hr,ja,ko,nl,pl,pt-BR,pt-PT,ru,tr,uk,zh-CN`.split(`,`),Mfe=`${IB}@${FB}/locales`,Nfe=5e3,W$=`sveltia-cms.locale`,G$=new Map,K$=aM(()=>Lu.current),q$=an(),J$=an(),Y$=async e=>{try{let{_locale:t,_version:n,...r}=await uM.get(W$)??{};if(t===e&&n===FB&&Object.keys(r).length)return r}catch{}},X$=async(e,t)=>{try{await uM.set(W$,{_locale:e,_version:FB,...t})}catch{}},Pfe=async()=>{try{await uM.delete(W$)}catch{}},Ffe=async e=>{let t=await fetch(`${Mfe}/${e}.json`,{signal:AbortSignal.timeout(Nfe)});if(!t.ok)throw Error(`Failed to load the ${e} locale strings`,{cause:t});return t.json()},Ife=async e=>{let t=await Y$(e);if(t)return G$.set(e,t),t;q$.set(e);try{let t=await Ffe(e);return G$.set(e,t),await X$(e,t),t}catch(t){throw J$.set({locale:e}),t}finally{q$.set(void 0)}},Lfe=async e=>{let t=G$.get(e);if(!t){e===`en-US`&&G$.size&&await Pfe();return}await Y$(e)||await X$(e,t)},Rfe=()=>{Nu(U$,{...V$,_sui:pk}),jfe.filter(e=>e!==U$).forEach(e=>{Ru(e,()=>Ife(e))}),Bu({fallbackLocale:U$,initialLocale:LK.locale||zu()||`en-US`}),K$.subscribe(e=>{Lfe(e)})}})))()}function zfe(e,t){O(t,!0);let n=()=>j(J$,`$appLocaleLoadError`,r),[r,i]=un(),a=N(!1);Yr(()=>{n()&&P(a,!0)});var o=V(),s=I(o),c=e=>{let t=M(()=>{let{locale:e}=n();return{locale:e}});Oh(e,{get show(){return z(a)},set show(e){P(a,e,!0)},children:(e,n)=>{uc(e,{status:`error`,children:(e,n)=>{pt();var r=Aa();R(e=>U(r,e),[()=>X(`locale_load_failed`,{values:{locale:II(z(t).locale)??z(t).locale}})]),H(e,r)},$$slots:{default:!0}})},$$slots:{default:!0}})};W(s,e=>{n()&&e(c)}),H(e,o),k(),i()}function Bfe(){return(Bfe=o((()=>{Y(),J(),Z(),mc(),kh(),Z$(),BI()})))()}var Vfe;function Hfe(){return(Hfe=o((()=>{BB(),AV(),tU(),Vfe=async(e,t)=>{let n=t===`image`?await yV(e):null;if(!n)return{createdDate:void 0,coordinates:void 0};let r={};try{let{parse:e}=await zB(`exifr`,`dist/lite.esm.mjs`);r=await e(n)??{}}catch{}let{latitude:i,longitude:a,DateTimeOriginal:o,CreateDate:s=o}=r;return{createdDate:s instanceof Date?s:void 0,coordinates:Number.isFinite(i)&&Number.isFinite(a)?{latitude:eU(i,7),longitude:eU(a,7)}:void 0}}})))()}var Q$,Ufe,Wfe,Gfe,Kfe;function qfe(){return(qfe=o((()=>{Hfe(),Q$=({element:e,eventType:t,src:n,getInfo:r})=>new Promise(i=>{e.addEventListener(t,()=>i(r()),{once:!0}),e.addEventListener(`error`,()=>i({}),{once:!0}),e.src=n}),Ufe=e=>{let t=new Image;return Q$({element:t,eventType:`load`,src:e,getInfo:()=>({dimensions:{width:t.naturalWidth,height:t.naturalHeight}})})},Wfe=async(e,t)=>{let n=document.createElement(t);return Q$({element:n,eventType:`loadedmetadata`,src:e,getInfo:()=>{let{duration:e}=n;if(t===`audio`)return{duration:e};let{videoWidth:r,videoHeight:i}=n;return{dimensions:{width:r,height:i},duration:e}}})},Gfe=async(e,t)=>t===`image`?Ufe(e):Wfe(e,t),Kfe=async(e,t,n)=>{let{dimensions:r,duration:i}=await Gfe(t,n),{createdDate:a,coordinates:o}=await Vfe(e,n);return{dimensions:r,duration:i,createdDate:a,coordinates:o}}})))()}var $$,e1,t1;function n1(){return(n1=o((()=>{oM(),AV(),JZ(),ZV(),qfe(),$$={publicURL:void 0,repoBlobURL:void 0,dimensions:void 0,duration:void 0,usedEntries:[]},e1=async e=>{let{kind:t,path:n}=e,{blobBaseURL:r}=A(KZ)?.repository??{},i=await bV(e),a={};return[`image`,`video`,`audio`].includes(t)&&i&&(a=await Kfe(e,i,t)),{...a,publicURL:DV(e),repoBlobURL:r?`${r}/${n}`:void 0}},t1=async e=>{let t=DV(e,{allowSpecial:!0,pathOnly:!0})??await bV(e);return t?YV(t):[]}})))()}function Jfe(e,t){O(t,!0);let n=e=>{var t=Yfe(),n=I(t);{let e=M(()=>X(`public_urls`,{values:{count:r().length}})),t=M(()=>!z(c).length);om(n,{get label(){return z(e)},get disabled(){return z(t)},onclick:()=>{m(d,`asset_urls_copied`)}})}var i=L(n,2);{let e=M(()=>X(`file_paths`,{values:{count:r().length}}));om(i,{get label(){return z(e)},onclick:()=>{m(f,`asset_paths_copied`)}})}var a=L(i,2);{let e=M(()=>X(`file_data`)),t=M(()=>!z(o));om(a,{get label(){return z(e)},get disabled(){return z(t)},onclick:()=>{m(p,`asset_data_copied`)}})}H(e,t)},r=q(t,`assets`,19,()=>[]),i=q(t,`useButton`,3,!0),a=N(Er([])),o=N(!1),s=Er({show:!1,text:``,status:`success`}),c=M(()=>z(a).filter(({publicURL:e})=>!!e).map(({publicURL:e})=>e)),l,u=async()=>{if(l=void 0,r().length!==1)return!1;let e=await yV(r()[0]),{type:t}=e;return l=e,pM(t)?!0:qB.includes(t)?typeof navigator.clipboard.write==`function`:!1},d=async()=>{await navigator.clipboard.writeText(z(c).join(`
|
|
745
745
|
`))},f=async()=>{await navigator.clipboard.writeText(r().map(({path:e})=>`/${e}`).join(`
|
|
746
746
|
`))},p=async()=>{let e=l,{type:t}=e;if(pM(t)){await navigator.clipboard.writeText(await e.text());return}if(!qB.includes(t))throw Error(`Unsupported type`);t!==`image/png`&&(e=await sV(e)),await navigator.clipboard.write([new ClipboardItem({"image/png":e})])},m=async(e,t)=>{try{await e(),s.status=`success`,s.text=X(t,{values:{count:r().length}})}catch{s.status=`error`,s.text=X(`clipboard_error`)}finally{s.show=!0}};Yr(()=>{(async()=>{P(a,await Promise.all(r().map(e1)),!0),P(o,await u(),!0)})()});var h=Xfe(),g=I(h),_=e=>{{let t=e=>{{let t=M(()=>X(`copy_options`));tm(e,{get"aria-label"(){return z(t)},children:(e,t)=>{n(e)},$$slots:{default:!0}})}},i=M(()=>!r().length),a=M(()=>X(`copy`));Mf(e,{variant:`ghost`,get disabled(){return z(i)},get label(){return z(a)},popupPosition:`bottom-right`,popup:t,$$slots:{popup:!0}})}},v=e=>{{let t=e=>{n(e)},i=M(()=>!r().length),a=M(()=>X(`copy`));om(e,{get disabled(){return z(i)},get label(){return z(a)},popupPosition:`left-top`,items:t,$$slots:{items:!0}})}};W(g,e=>{i()?e(_):e(v,-1)}),Oh(L(g,2),{get show(){return s.show},set show(e){s.show=e},children:(e,t)=>{uc(e,{get status(){return s.status},children:(e,t)=>{pt();var n=Aa();R(()=>U(n,s.text)),H(e,n)},$$slots:{default:!0}})},$$slots:{default:!0}}),H(e,h),k()}var Yfe,Xfe;function r1(){return(r1=o((()=>{Y(),J(),Z(),mc(),am(),Ff(),fm(),kh(),gM(),n1(),AV(),YB(),lV(),Yfe=B(`<!> <!> <!>`,1),Xfe=B(`<!> <!>`,1)})))()}var i1,a1;function o1(){return(o1=o((()=>{oM(),i1={saved:!1,moved:!1,renamed:!1,deleted:!1,published:!1,count:1},a1=an({...i1})})))()}var s1;function c1(){return(c1=o((()=>{oM(),o1(),s1=an({...i1})})))()}var Zfe,Qfe,$fe,l1;function u1(){return(u1=o((()=>{cM(),oM(),kq(),JZ(),bL(),QJ(),zK(),iB(),Zfe=()=>{let e=ZJ.account;if(!e)return;let{name:t,email:n,id:r,login:i}=e;if(!(!t||!n))return{name:t,email:n,id:r,login:i}},Qfe=async({changes:e,commit:t})=>{let{databaseName:n}=A(KZ)?.repository??{};if(!n)return;let r=new sM(n,`file-cache`),{files:i,author:a,date:o}=t,s={commitAuthor:a,commitDate:o};await Promise.all(e.map(async e=>{let{action:t,slug:n,path:a,previousPath:o,data:c}=e;if(typeof c!=`string`||!n)return;if(t===`delete`){await r.delete(a);return}t===`move`&&await r.delete(o);let l={sha:i[a]?.sha,size:nB(c).size,text:c,meta:s};await r.set(a,l)}))},$fe=({changes:e,savedEntries:t,savedAssets:n})=>{let r=new Set(t.map(e=>e.id));hL.update(e=>[...e.filter(e=>!r.has(e.id)),...t]);let i=new Set(n.map(e=>e.path));e.forEach(e=>{e.action===`move`&&e.previousPath?i.add(e.previousPath):e.action===`delete`&&i.add(e.path)}),cq.update(e=>[...e.filter(e=>!i.has(e.path)),...n])},l1=async({changes:e,savingEntries:t=[],savingAssets:n=[],options:r})=>{let{commitChanges:i}=A(KZ),a={...await i(e,r),author:Zfe()};LK.devModeEnabled&&(console.debug(`Commit changes:`,e),console.debug(`Commit results:`,a));let{files:o,author:s,date:c}=a,l=t.map(e=>({...e,commitAuthor:s,commitDate:c})),u=n.map(e=>{let{sha:t,file:n}=o[e.path]??{},r=n?URL.createObjectURL(n):void 0;return{...e,sha:t,blobURL:r,commitAuthor:s,commitDate:c}});return await Qfe({changes:e,commit:a}),$fe({changes:e,savedEntries:l,savedAssets:u}),{commit:a,savedEntries:l,savedAssets:u}}})))()}var epe,tpe;function npe(){return(npe=o((()=>{kq(),c1(),u1(),o1(),epe=({assets:e})=>{mq.update(t=>e.some(({path:e})=>t?.path===e)?void 0:t),s1.set({...i1,deleted:!0,count:e.length})},tpe=async e=>{await l1({changes:e.map(({path:e,sha:t})=>({action:`delete`,path:e,previousSha:t})),options:{commitType:`deleteMedia`}}),epe({assets:e})}})))()}function rpe(e,t){O(t,!0);let n=q(t,`assets`,19,()=>[]),r=q(t,`buttonDescription`,3,``),i=q(t,`dialogDescription`,3,``),a=q(t,`onDelete`,3,void 0),o=q(t,`useButton`,3,!0),s=N(!1),c=M(()=>o()?Id:om);var l=ipe(),u=I(l);{let e=M(()=>!n().length),t=M(()=>X(`delete`));So(u,()=>z(c),(n,i)=>{i(n,{variant:`ghost`,get disabled(){return z(e)},get label(){return z(t)},get"aria-label"(){return r()},onclick:()=>{P(s,!0)}})})}var d=L(u,2);{let e=M(()=>X(`delete_assets`,{values:{count:n().length}})),t=M(()=>X(`delete`));bp(d,{get title(){return z(e)},get okLabel(){return z(t)},onOk:()=>{tpe(n()),a()?.()},get open(){return z(s)},set open(e){P(s,e,!0)},children:(e,t)=>{pt();var n=Aa();R(()=>U(n,i())),H(e,n)},$$slots:{default:!0}})}H(e,l),k()}var ipe;function d1(){return(d1=o((()=>{Y(),J(),Z(),Hd(),Sp(),fm(),npe(),ipe=B(`<!> <!>`,1)})))()}function ape(e,t){O(t,!0);let n=q(t,`assets`,19,()=>[]),r=q(t,`useButton`,3,!0),i=N(!1),a=M(()=>r()?Id:om),o=async()=>{for(let e of n())Gce(await yV(e),e.name),await $u(300);P(i,!0)};var s=ope(),c=I(s);{let e=M(()=>!n().length),t=M(()=>X(`download`));So(c,()=>z(a),(n,r)=>{r(n,{variant:`ghost`,get disabled(){return z(e)},get label(){return z(t)},onclick:()=>{o()}})})}Oh(L(c,2),{get show(){return z(i)},set show(e){P(i,e,!0)},children:(e,t)=>{uc(e,{status:`success`,children:(e,t)=>{pt();var r=Aa();R(e=>U(r,e),[()=>X(`assets_downloaded`,{values:{count:n().length}})]),H(e,r)},$$slots:{default:!0}})},$$slots:{default:!0}}),H(e,s),k()}var ope;function f1(){return(f1=o((()=>{Y(),J(),Z(),mc(),Hd(),fm(),kh(),gM(),ed(),AV(),ope=B(`<!> <!>`,1)})))()}function spe(e,t){O(t,!0);let n=()=>j(KZ,`$backend`,r),[r,i]=un(),a=q(t,`extraItems`,3,void 0),o=N(Er({...$$})),s=M(()=>z(o).publicURL),c=M(()=>z(o).repoBlobURL),l=async()=>{P(o,t.asset?await e1(t.asset):{...$$},!0)};Yr(()=>{t.asset,l()});{let r=e=>{{let r=M(()=>X(`edit_options`));tm(e,{get"aria-label"(){return z(r)},children:(e,r)=>{var i=cpe(),o=I(i);bo(o,()=>a()??E);var l=L(o,2);{let e=M(()=>X(`edit`)),n=M(()=>X(`edit_asset`)),r=M(()=>!t.asset||!AR(t.asset));om(l,{variant:`ghost`,get label(){return z(e)},get"aria-label"(){return z(n)},get disabled(){return z(r)},onclick:()=>{ln(_q,t.asset)}})}var u=L(l,2);{let e=M(()=>X(`rename`)),n=M(()=>X(`rename_asset`)),r=M(()=>!t.asset);om(u,{variant:`ghost`,get label(){return z(e)},get"aria-label"(){return z(n)},get disabled(){return z(r)},onclick:()=>{ln(vq,t.asset)}})}var d=L(u,2);{let e=M(()=>X(`replace`)),n=M(()=>X(`replace_asset`)),r=M(()=>!t.asset);om(d,{variant:`ghost`,get label(){return z(e)},get"aria-label"(){return z(n)},get disabled(){return z(r)},onclick:()=>{ln(gq,{folder:void 0,files:[],originalAssets:t.asset?[t.asset]:[]}),ln(mQ,!0)}})}var f=L(d,2);Vf(f,{});var p=L(f,2);{let e=M(()=>X(`view_on_live_site`)),t=M(()=>!z(s));om(p,{get label(){return z(e)},get disabled(){return z(t)},onclick:()=>{jQ(z(s))}})}var m=L(p,2),h=e=>{{let t=M(()=>!n()?.repository||!z(c)),r=M(()=>X(`view_on_x`,{values:{service:n()?.repository?.label},default:X(`view_in_repository`)}));om(e,{get disabled(){return z(t)},get label(){return z(r)},onclick:()=>{jQ(`${z(c)}?plain=1`)}})}};W(m,e=>{LK.devModeEnabled&&e(h)}),H(e,i)},$$slots:{default:!0}})}},i=M(()=>X(`show_edit_options`));Mf(e,{variant:`ghost`,iconic:!0,popupPosition:`bottom-right`,get"aria-label"(){return z(i)},popup:r,$$slots:{popup:!0}})}k(),i()}var cpe;function p1(){return(p1=o((()=>{Y(),J(),Z(),Gf(),am(),Ff(),fm(),kq(),n1(),MR(),xQ(),JZ(),zK(),MQ(),cpe=B(`<!> <!> <!> <!> <!> <!> <!>`,1)})))()}function m1(e,t){O(t,!0);let n=q(t,`useShortcut`,3,!1),r=q(t,`onclick`,3,void 0);{let i=e=>{{let t=M(()=>ku()?`arrow_forward`:`arrow_back`);ac(e,{get name(){return z(t)}})}},a=M(()=>t[`aria-label`]??X(`back`)),o=M(()=>n()?`Escape`:void 0);Id(e,{variant:`ghost`,iconic:!0,get"aria-label"(){return z(a)},get keyShortcuts(){return z(o)},class:`back`,get onclick(){return r()},startIcon:i,$$slots:{startIcon:!0}})}k()}function h1(){return(h1=o((()=>{Y(),J(),Z(),Hd(),lc()})))()}function lpe(e,t){O(t,!0);let n=()=>j(hq,`$overlaidAsset`,i),r=()=>j(wM,`$selectedAssetFolder`,i),[i,a]=un(),o=e=>{var t=upe(),n=I(t);Jfe(n,{get assets(){return z(s)},get useButton(){return z(c)}});var i=L(n,2);ape(i,{get assets(){return z(s)},get useButton(){return z(c)}});var a=L(i,2);{let e=M(()=>X(`delete_assets`,{values:{count:1}})),t=M(()=>X(`confirm_deleting_this_asset`));rpe(a,{get assets(){return z(s)},get buttonDescription(){return z(e)},get dialogDescription(){return z(t)},onDelete:()=>{VQ(`/assets/${r()?.internalPath??`-/all`}`)},get useButton(){return z(c)}})}H(e,t)},s=M(()=>n()?[n()]:[]),c=M(()=>!iG.isSmallScreen);{let t=M(()=>X(`primary`));XD(e,{variant:`primary`,get"aria-label"(){return z(t)},children:(e,t)=>{var i=dpe(),a=I(i);{let e=M(()=>X(`cancel_editing`));m1(a,{get"aria-label"(){return z(e)},useShortcut:!0,onclick:()=>{VQ(`/assets/${r()?.internalPath??`-/all`}`)}})}var s=L(a,2);Yu(F(s),{children:(e,t)=>{pt();var r=Aa();R(()=>U(r,n()?.name)),H(e,r)},$$slots:{default:!0}}),D(s);var c=L(s,2),l=e=>{o(e)};W(c,e=>{iG.isSmallScreen||e(l)}),spe(L(c,2),{get asset(){return n()},extraItems:e=>{var t=V(),n=I(t),r=e=>{o(e)};W(n,e=>{iG.isSmallScreen&&e(r)}),H(e,t)},$$slots:{extraItems:!0}}),H(e,i)},$$slots:{default:!0}})}k(),a()}var upe,dpe;function fpe(){return(fpe=o((()=>{Y(),J(),Z(),eO(),Qu(),r1(),d1(),f1(),p1(),h1(),UQ(),kq(),AM(),oG(),upe=B(`<!> <!> <!>`,1),dpe=B(`<!> <h2 role="none"><!></h2> <!> <!>`,1)})))()}var g1,ppe,mpe;function hpe(){return(hpe=o((()=>{ic(),g1=!1,ppe=()=>{g1=!1,Jn()},mpe=()=>{g1||(g1=!0,queueMicrotask(ppe))}})))()}function _1(e,t){O(t,!0),G(e,Spe);let n=q(t,`loading`,3,`lazy`),r=q(t,`asset`,3,void 0),i=q(t,`src`,15,void 0),a=q(t,`variant`,3,void 0),o=q(t,`blurBackground`,3,!1),s=q(t,`cover`,3,!1),c=q(t,`checkerboard`,3,!1),l=q(t,`dissolve`,3,!0),u=q(t,`alt`,3,``),d=q(t,`controls`,3,!1),f=Gs(t,gpe),p=N(void 0),m=N(!1),h=N(!1),g=N(void 0),_=N(void 0),v=M(()=>!!r()&&!!a()&&!d()),y=M(()=>t.kind===`image`||r()?.name.endsWith(`.pdf`)||z(v)&&CR.includes(t.kind)),b=!1,x=async()=>{if(!(!r()||!z(p)||b)){b=!0,P(m,!1),n()===`lazy`&&await vd(z(p));try{i(z(v)?await TV(r()):await bV(r()))}catch{P(m,!0)}o()&&!z(g)&&i()&&P(g,i(),!0),b=!1,mpe()}},S=async()=>{!z(p)||!z(_)||((z(y)?!z(p).complete:!z(p).readyState)&&await new Promise(e=>{z(p)?.addEventListener(z(y)?`load`:`loadedmetadata`,()=>{e(void 0)},{once:!0})}),l()&&await vd(z(p)),P(h,!0),r()&&z(v)&&i()?.startsWith(`blob:`)&&(await $u(500),URL.revokeObjectURL(i())))};Yr(()=>{o()&&r()&&!z(g)&&(async()=>{P(g,await TV(r(),{cacheOnly:!0}),!0)})()}),Yr(()=>{z(p)&&r()&&x()}),Yr(()=>{if(r())P(_,i(),!0);else if(i()&&z(p)&&n()===`lazy`){P(_,void 0);let e=i();(async()=>{await vd(z(p)),P(_,e,!0)})()}else P(_,i(),!0)}),Yr(()=>{z(p)&&z(_)&&S()}),tc(()=>()=>{r()&&EV(r()),z(p)&&md(z(p))});var C=xpe();let w;var T=F(C),ee=e=>{ac(e,{name:`draft`})},te=e=>{var t=_pe();ms(t,()=>({loading:n(),src:z(_),alt:u(),...f}),void 0,void 0,void 0,`svelte-1yaifwd`),Rs(t,e=>P(p,e),()=>z(p)),pa(t),H(e,t)},ne=e=>{var t=vpe();ms(t,()=>({src:z(_),controls:d()||void 0,playsinline:!0,...f}),void 0,void 0,void 0,`svelte-1yaifwd`),Rs(t,e=>P(p,e),()=>z(p)),H(e,t)},re=e=>{var t=V(),n=I(t),r=e=>{var t=ype();ms(t,()=>({src:z(_),controls:!0,playsinline:!0,...f}),void 0,void 0,void 0,`svelte-1yaifwd`),Rs(t,e=>P(p,e),()=>z(p)),H(e,t)},i=e=>{ac(e,{name:`audio_file`})};W(n,e=>{d()?e(r):e(i,-1)}),H(e,t)},ie=e=>{ac(e,{name:`draft`})};W(T,e=>{z(m)?e(ee):z(y)?e(te,1):t.kind===`video`?e(ne,2):t.kind===`audio`?e(re,3):e(ie,-1)});var ae=L(T,2),oe=e=>{var t=bpe(),n=F(t),r=F(n),i=e=>{var t=Aa();R(e=>U(t,e),[()=>X(`loading`)]),H(e,t)};W(r,e=>{!z(v)&&!z(h)&&e(i)}),D(n);var a=L(n,2);let o;D(t),R(()=>{K(a,`src`,z(g)),o=ns(a,1,`svelte-1yaifwd`,null,o,{loaded:!!z(g)})}),H(e,t)};W(ae,e=>{o()&&e(oe)}),D(C),R(()=>w=ns(C,1,`preview ${a()??``}`,`svelte-1yaifwd`,w,{cover:s(),checkerboard:c(),dissolve:l(),loaded:z(h)})),H(e,C),k()}var gpe,_pe,vpe,ype,bpe,xpe,Spe;function v1(){return(v1=o((()=>{Y(),J(),Z(),lc(),yd(),ed(),ic(),AV(),MR(),hpe(),gpe=new Set([`$$slots`,`$$events`,`$$legacy`,`kind`,`loading`,`asset`,`src`,`variant`,`blurBackground`,`cover`,`checkerboard`,`dissolve`,`alt`,`controls`]),_pe=B(`<img/>`),vpe=B(`<video></video>`,2),ype=B(`<audio></audio>`),bpe=B(`<div role="none" class="blur svelte-1yaifwd"><div role="status" class="overlay svelte-1yaifwd"><!></div> <img role="none" loading="lazy" alt=""/></div>`),xpe=B(`<div role="none"><!> <!></div>`),Spe={hash:`svelte-1yaifwd`,code:`.preview.svelte-1yaifwd {display:inline-flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;&.tile {border-width:1px;border-style:solid;border-color:transparent;padding:var(--tile-padding, 12px);.sui.icon {font-size:48px;}}&.icon {border-radius:var(--sui-control-medium-border-radius);width:var(--icon-size, 32px);height:var(--icon-size, 32px);}&:is(.tile:where(.svelte-1yaifwd), .icon:where(.svelte-1yaifwd)) {overflow:hidden;aspect-ratio:1 / 1;img:where(.svelte-1yaifwd) {
|
|
747
747
|
/* Prevent the image from being dragged */pointer-events:none;}}.blur:where(.svelte-1yaifwd) {display:contents;& > :where(.svelte-1yaifwd) {position:absolute;inset:0;pointer-events:none;}.overlay:where(.svelte-1yaifwd) {display:flex;justify-content:center;align-items:center;z-index:-1;backdrop-filter:blur(32px) brightness(0.8);}img:where(.svelte-1yaifwd) {width:100%;height:100%;z-index:-2;object-fit:cover;transform:scale(1.2);&.loaded {opacity:1;}}}&.cover {padding:0;& > :is(img, video) {flex:auto;}}& > :is(img, video) {flex:0;max-width:100%;max-height:100%;}&.dissolve {:is(img, video) {opacity:0;transition:opacity 250ms;}&.loaded {:is(img, video) {opacity:1;}}}}
|