@sveltia/cms 0.39.4 → 0.39.5
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 +3 -1
- package/dist/sveltia-cms.js +12 -12
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +12 -12
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +5 -5
package/dist/sveltia-cms.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Uu){"use strict";var Hl=Array.isArray,Zh=Array.from,YE=Object.defineProperty,Ns=Object.getOwnPropertyDescriptor,Db=Object.getOwnPropertyDescriptors,GE=Object.prototype,KE=Array.prototype,ju=Object.getPrototypeOf;function Bu(t){return typeof t=="function"}const Je=()=>{};function ZE(t){return typeof t?.then=="function"}function JE(t){return t()}function qu(t){for(var e=0;e<t.length;e++)t[e]()}function Ce(t,e,n=!1){return t===void 0?n?e():e:t}const Ji=2,Rb=4,io=8,Mb=16,Xi=32,Jh=64,ua=128,Hu=256,Jr=512,Is=1024,da=2048,fa=4096,so=8192,XE=16384,Vl=32768,QE=65536,Fb=1<<18,ao=Symbol("$state"),Xh=Symbol("");function zb(t){return t===this.v}function Vu(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Qh(t){return!Vu(t,this.v)}function eT(t){throw new Error("effect_in_teardown")}function tT(){throw new Error("effect_in_unowned_derived")}function nT(t){throw new Error("effect_orphan")}function rT(){throw new Error("effect_update_depth_exceeded")}function iT(t){throw new Error("props_invalid_value")}function sT(){throw new Error("state_descriptors_fixed")}function aT(){throw new Error("state_prototype_fixed")}function oT(){throw new Error("state_unsafe_local_read")}function lT(){throw new Error("state_unsafe_mutation")}function Wn(t){return{f:0,v:t,reactions:null,equals:zb,version:0}}function st(t){return Ub(Wn(t))}function oo(t){const e=Wn(t);return e.equals=Qh,Ft!==null&&Ft.l!==null&&(Ft.l.s??=[]).push(e),e}function C(t){return Ub(oo(t))}function Ub(t){return an!==null&&an.f&Ji&&($i===null?ET([t]):$i.push(t)),t}function Xr(t,e){return x(t,Me(()=>o(t))),e}function x(t,e){return an!==null&&Ju()&&an.f&Ji&&($i===null||!$i.includes(t))&&lT(),t.equals(e)||(t.v=e,t.version=c_(),jb(t,Is),Ju()&&Wt!==null&&Wt.f&Jr&&!(Wt.f&Xi)&&(yr!==null&&yr.includes(t)?(Ur(Wt,Is),Xu(Wt)):Ms===null?TT([t]):Ms.push(t))),e}function jb(t,e){var n=t.reactions;if(n!==null)for(var r=Ju(),i=n.length,s=0;s<i;s++){var a=n[s],l=a.f;l&Is||!r&&a===Wt||(Ur(a,e),l&(Jr|ua)&&(l&Ji?jb(a,da):Xu(a)))}}const ep=1,tp=2,Bb=4,cT=8,uT=16,dT=1,fT=2,qb=4,hT=8,pT=16,gT=1,mT=2,_r=Symbol(),Hb="http://www.w3.org/2000/svg";let Vb=!1;function lt(t,e=null,n){if(typeof t!="object"||t===null||ao in t)return t;const r=ju(t);if(r!==GE&&r!==KE)return t;var i=new Map,s=Hl(t),a=Wn(0);s&&i.set("length",Wn(t.length));var l;return new Proxy(t,{defineProperty(c,u,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&sT();var f=i.get(u);return f===void 0?(f=Wn(d.value),i.set(u,f)):x(f,lt(d.value,l)),!0},deleteProperty(c,u){var d=i.get(u);return d===void 0?u in c&&i.set(u,Wn(_r)):(x(d,_r),Wb(a)),!0},get(c,u,d){if(u===ao)return t;var f=i.get(u),h=u in c;if(f===void 0&&(!h||Ns(c,u)?.writable)&&(f=Wn(lt(h?c[u]:_r,l)),i.set(u,f)),f!==void 0){var p=o(f);return p===_r?void 0:p}return Reflect.get(c,u,d)},getOwnPropertyDescriptor(c,u){var d=Reflect.getOwnPropertyDescriptor(c,u);if(d&&"value"in d){var f=i.get(u);f&&(d.value=o(f))}else if(d===void 0){var h=i.get(u),p=h?.v;if(h!==void 0&&p!==_r)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return d},has(c,u){if(u===ao)return!0;var d=i.get(u),f=d!==void 0&&d.v!==_r||Reflect.has(c,u);if(d!==void 0||Wt!==null&&(!f||Ns(c,u)?.writable)){d===void 0&&(d=Wn(f?lt(c[u],l):_r),i.set(u,d));var h=o(d);if(h===_r)return!1}return f},set(c,u,d,f){var h=i.get(u),p=u in c;if(s&&u==="length")for(var g=d;g<h.v;g+=1){var m=i.get(g+"");m!==void 0?x(m,_r):g in c&&(m=Wn(_r),i.set(g+"",m))}h===void 0?(!p||Ns(c,u)?.writable)&&(h=Wn(void 0),x(h,lt(d,l)),i.set(u,h)):(p=h.v!==_r,x(h,lt(d,l)));var v=Reflect.getOwnPropertyDescriptor(c,u);if(v?.set&&v.set.call(f,d),!p){if(s&&typeof u=="string"){var _=i.get("length"),b=Number(u);Number.isInteger(b)&&b>=_.v&&x(_,b+1)}Wb(a)}return!0},ownKeys(c){o(a);var u=Reflect.ownKeys(c).filter(h=>{var p=i.get(h);return p===void 0||p.v!==_r});for(var[d,f]of i)f.v!==_r&&!(d in c)&&u.push(d);return u},setPrototypeOf(){aT()}})}function Wb(t,e=1){x(t,t.v+e)}var lo,np,Yb,Gb;function vT(){if(lo===void 0){lo=window,np=document;var t=Element.prototype,e=Node.prototype;Yb=Ns(e,"firstChild").get,Gb=Ns(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__e=void 0,Text.prototype.__t=void 0}}function co(t=""){return document.createTextNode(t)}function Wl(t){return Yb.call(t)}function Wu(t){return Gb.call(t)}function I(t){return Wl(t)}function z(t,e){{var n=Wl(t);return n instanceof Comment&&n.data===""?Wu(n):n}}function N(t,e=1,n=!1){let r=t;for(;e--;)r=Wu(r);return r}function bT(t){t.textContent=""}function Kb(t){Wt===null&&an===null&&nT(),an!==null&&an.f&ua&&tT(),ap&&eT()}function _T(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function uo(t,e,n,r=!0){var i=(t&Jh)!==0,s=Wt,a={ctx:Ft,deps:null,nodes_start:null,nodes_end:null,f:t|Is,first:null,fn:e,last:null,next:null,parent:i?null:s,prev:null,teardown:null,transitions:null,version:0};if(n){var l=fo;try{i_(!0),Zl(a),a.f|=XE}catch(d){throw es(a),d}finally{i_(l)}}else e!==null&&Xu(a);var c=n&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null;if(!c&&!i&&r&&(s!==null&&_T(a,s),an!==null&&an.f&Ji)){var u=an;(u.children??=[]).push(a)}return a}function Yu(t){const e=uo(io,null,!1);return Ur(e,Jr),e.teardown=t,e}function Tn(t){Kb();var e=Wt!==null&&(Wt.f&io)!==0&&Ft!==null&&!Ft.m;if(e){var n=Ft;(n.e??=[]).push(t)}else{var r=Yl(t);return r}}function yT(t){return Kb(),Ds(t)}function wT(t){const e=uo(Jh,t,!0);return()=>{es(e)}}function Yl(t){return uo(Rb,t,!1)}function F(t,e){var n=Ft,r={effect:null,ran:!1};n.l.r1.push(r),r.effect=Ds(()=>{t(),!r.ran&&(r.ran=!0,x(n.l.r2,!0),Me(e))})}function Ie(){var t=Ft;Ds(()=>{if(o(t.l.r2)){for(var e of t.l.r1){var n=e.effect;n.f&Jr&&Ur(n,da),go(n)&&Zl(n),e.ran=!1}t.l.r2.v=!1}})}function Ds(t){return uo(io,t,!0)}function U(t){return Ds(t)}function Qi(t,e=0){return uo(io|Mb|e,t,!0)}function Fr(t,e=!0){return uo(io|Xi,t,!0,e)}function Zb(t){var e=t.teardown;if(e!==null){const n=ap,r=an;s_(!0),Zu(null);try{e.call(null)}finally{s_(n),Zu(r)}}}function es(t,e=!0){var n=!1;if((e||t.f&Fb)&&t.nodes_start!==null){for(var r=t.nodes_start,i=t.nodes_end;r!==null;){var s=r===i?null:Wu(r);r.remove(),r=s}n=!0}d_(t,e&&!n),Kl(t,0),Ur(t,so);var a=t.transitions;if(a!==null)for(const c of a)c.stop();Zb(t);var l=t.parent;l!==null&&l.first!==null&&Jb(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.parent=t.fn=t.nodes_start=t.nodes_end=null}function Jb(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function ts(t,e){var n=[];rp(t,n,!0),Xb(n,()=>{es(t),e&&e()})}function Xb(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var i of t)i.out(r)}else e()}function rp(t,e,n){if(!(t.f&fa)){if(t.f^=fa,t.transitions!==null)for(const a of t.transitions)(a.is_global||n)&&e.push(a);for(var r=t.first;r!==null;){var i=r.next,s=(r.f&Vl)!==0||(r.f&Xi)!==0;rp(r,e,s?n:!1),r=i}}}function Rs(t){Qb(t,!0)}function Qb(t,e){if(t.f&fa){t.f^=fa,go(t)&&Zl(t);for(var n=t.first;n!==null;){var r=n.next,i=(n.f&Vl)!==0||(n.f&Xi)!==0;Qb(n,i?e:!1),n=r}if(t.transitions!==null)for(const s of t.transitions)(s.is_global||e)&&s.in()}}let Gu=!1,ip=[];function e_(){Gu=!1;const t=ip.slice();ip=[],qu(t)}function ha(t){Gu||(Gu=!0,queueMicrotask(e_)),ip.push(t)}function xT(){Gu&&e_()}function He(t){let e=Ji|Is;Wt===null&&(e|=ua);const n={children:null,deps:null,equals:zb,f:e,fn:t,reactions:null,v:null,version:0};if(an!==null&&an.f&Ji){var r=an;(r.children??=[]).push(n)}return n}function L(t){const e=He(t);return e.equals=Qh,e}function t_(t){var e=t.children;if(e!==null){t.children=null;for(var n=0;n<e.length;n+=1){var r=e[n];r.f&Ji?kT(r):es(r)}}}function n_(t){var e;t_(t),e=u_(t);var n=(po||t.f&ua)&&t.deps!==null?da:Jr;Ur(t,n),t.equals(e)||(t.v=e,t.version=c_())}function kT(t){t_(t),Kl(t,0),Ur(t,so),t.children=t.deps=t.reactions=t.fn=null}function sp(t){throw new Error("lifecycle_outside_component")}const r_=0,ST=1;let Ku=r_,Gl=!1,fo=!1,ap=!1;function i_(t){fo=t}function s_(t){ap=t}let pa=[],ho=0,v5=[],an=null;function Zu(t){an=t}let Wt=null;function a_(t){Wt=t}let $i=null;function ET(t){$i=t}let yr=null,zr=0,Ms=null;function TT(t){Ms=t}let o_=0,po=!1,Ft=null;function l_(t){Ft=t}function c_(){return++o_}function Ju(){return Ft!==null&&Ft.l===null}function go(t){var e=t.f;if(e&Is)return!0;if(e&da){var n=t.deps,r=(e&ua)!==0;if(n!==null){var i;if(e&Hu){for(i=0;i<n.length;i++)(n[i].reactions??=[]).push(t);t.f^=Hu}for(i=0;i<n.length;i++){var s=n[i];if(go(s)&&n_(s),r&&Wt!==null&&!po&&!s?.reactions?.includes(t)&&(s.reactions??=[]).push(t),s.version>t.version)return!0}}r||Ur(t,Jr)}return!1}function AT(t,e,n){throw t}function u_(t){var e=yr,n=zr,r=Ms,i=an,s=po,a=$i;yr=null,zr=0,Ms=null,an=t.f&(Xi|Jh)?null:t,po=!fo&&(t.f&ua)!==0,$i=null;try{var l=(0,t.fn)(),c=t.deps;if(yr!==null){var u;if(Kl(t,zr),c!==null&&zr>0)for(c.length=zr+yr.length,u=0;u<yr.length;u++)c[zr+u]=yr[u];else t.deps=c=yr;if(!po)for(u=zr;u<c.length;u++)(c[u].reactions??=[]).push(t)}else c!==null&&zr<c.length&&(Kl(t,zr),c.length=zr);return l}finally{yr=e,zr=n,Ms=r,an=i,po=s,$i=a}}function $T(t,e){let n=e.reactions;if(n!==null){var r=n.indexOf(t);if(r!==-1){var i=n.length-1;i===0?n=e.reactions=null:(n[r]=n[i],n.pop())}}n===null&&e.f&Ji&&(Ur(e,da),e.f&(ua|Hu)||(e.f^=Hu),Kl(e,0))}function Kl(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)$T(t,n[r])}function d_(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){var r=n.next;es(n,e),n=r}}function Zl(t){var e=t.f;if(!(e&so)){Ur(t,Jr);var n=t.ctx,r=Wt,i=Ft;Wt=t,Ft=n;try{e&Mb||d_(t),Zb(t);var s=u_(t);t.teardown=typeof s=="function"?s:null,t.version=o_}catch(a){AT(a)}finally{Wt=r,Ft=i}}}function f_(){ho>1e3&&(ho=0,rT()),ho++}function h_(t){var e=t.length;if(e!==0){f_();var n=fo;fo=!0;try{for(var r=0;r<e;r++){var i=t[r];if(i.first===null&&!(i.f&Xi))p_([i]);else{var s=[];g_(i,s),p_(s)}}}finally{fo=n}}}function p_(t){var e=t.length;if(e!==0)for(var n=0;n<e;n++){var r=t[n];!(r.f&(so|fa))&&go(r)&&(Zl(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null?Jb(r):r.fn=null))}}function CT(){if(Gl=!1,ho>1001)return;const t=pa;pa=[],h_(t),Gl||(ho=0)}function Xu(t){Ku===r_&&(Gl||(Gl=!0,queueMicrotask(CT)));for(var e=t;e.parent!==null;){e=e.parent;var n=e.f;if(n&Xi){if(!(n&Jr))return;Ur(e,da)}}pa.push(e)}function g_(t,e){var n=t.first,r=[];e:for(;n!==null;){var i=n.f,s=(i&(so|fa))===0,a=(i&Xi)!==0,l=(i&Jr)!==0,c=n.first;if(s&&(!a||!l)){if(a&&Ur(n,Jr),i&io){if(!a&&go(n)&&Zl(n),c=n.first,c!==null){n=c;continue}}else if(i&Rb)if(a||l){if(c!==null){n=c;continue}}else r.push(n)}var u=n.next;if(u===null){let h=n.parent;for(;h!==null;){if(t===h)break e;var d=h.next;if(d!==null){n=d;continue e}h=h.parent}}n=u}for(var f=0;f<r.length;f++)c=r[f],e.push(c),g_(c,e)}function op(t){var e=Ku,n=pa;try{f_();const i=[];Ku=ST,pa=i,Gl=!1,h_(n);var r=t?.();return xT(),(pa.length>0||i.length>0)&&op(),ho=0,r}finally{Ku=e,pa=n}}async function Jl(){await Promise.resolve(),op()}function o(t){var e=t.f;if(e&so)return t.v;if(an!==null){$i!==null&&$i.includes(t)&&oT();var n=an.deps;yr===null&&n!==null&&n[zr]===t?zr++:yr===null?yr=[t]:yr.push(t),Ms!==null&&Wt!==null&&Wt.f&Jr&&!(Wt.f&Xi)&&Ms.includes(t)&&(Ur(Wt,Is),Xu(Wt))}if(e&Ji){var r=t;go(r)&&n_(r)}return t.v}function Me(t){const e=an;try{return an=null,t()}finally{an=e}}const OT=~(Is|da|Jr);function Ur(t,e){t.f=t.f&OT|e}function ga(t){return v_().get(t)}function m_(t,e){return v_().set(t,e),e}function v_(t){return Ft===null&&sp(),Ft.c??=new Map(PT(Ft)||void 0)}function PT(t){let e=t.p;for(;e!==null;){const n=e.c;if(n!==null)return n;e=e.p}return null}function b_(t,e=1){var n=+o(t);return x(t,n+e),n}function Q(t,e=!1,n){Ft={p:Ft,c:null,e:null,m:!1,s:t,x:null,l:null},e||(Ft.l={s:null,u:null,r1:[],r2:Wn(!1)})}function ee(t){const e=Ft;if(e!==null){t!==void 0&&(e.x=t);const r=e.e;if(r!==null){e.e=null;for(var n=0;n<r.length;n++)Yl(r[n])}Ft=e.p,e.m=!0}return t||{}}function ce(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(ao in t)lp(t);else if(!Array.isArray(t))for(let e in t){const n=t[e];typeof n=="object"&&n&&ao in n&&lp(n)}}}function lp(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let r in t)try{lp(t[r],e)}catch{}const n=ju(t);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Db(n);for(let i in r){const s=r[i].get;if(s)try{s.call(t)}catch{}}}}}const __=new Set,cp=new Set;function Qu(t,e,n,r){function i(s){if(r.capture||Ql.call(e,s),!s.cancelBubble)return n.call(this,s)}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?ha(()=>{e.addEventListener(t,i,r)}):e.addEventListener(t,i,r),i}function Xl(t,e,n,r={}){var i=Qu(e,t,n,r);return()=>{t.removeEventListener(e,i,r)}}function Yn(t,e,n,r,i){var s={capture:r,passive:i},a=Qu(t,e,n,s);(e===document.body||e===window||e===document)&&Yu(()=>{e.removeEventListener(t,a,s)})}function ed(t){for(var e=0;e<t.length;e++)__.add(t[e]);for(var n of cp)n(t)}function Ql(t){var e=this,n=e.ownerDocument,r=t.type,i=t.composedPath?.()||[],s=i[0]||t.target,a=0,l=t.__root;if(l){var c=i.indexOf(l);if(c!==-1&&(e===document||e===window)){t.__root=e;return}var u=i.indexOf(e);if(u===-1)return;c<=u&&(a=c)}if(s=i[a]||t.target,s!==e){YE(t,"currentTarget",{configurable:!0,get(){return s||n}});try{for(var d,f=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];if(p!==void 0&&!s.disabled)if(Hl(p)){var[g,...m]=p;g.apply(s,[t,...m])}else p.call(s,t)}catch(v){d?f.push(v):d=v}if(t.cancelBubble||h===e||h===null)break;s=h}if(d){for(let v of f)queueMicrotask(()=>{throw v});throw d}}finally{t.__root=e,delete t.currentTarget}}}function y_(t){var e;e=document.head.appendChild(co());try{Qi(()=>t(e),Fb)}finally{}}function w_(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function mo(t,e){var n=Wt;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function R(t,e){var n=(e&gT)!==0,r=(e&mT)!==0,i,s=!t.startsWith("<!>");return()=>{i===void 0&&(i=w_(s?t:"<!>"+t),n||(i=Wl(i)));var a=r?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=Wl(a),c=a.lastChild;mo(l,c)}else mo(a,a);return a}}function Ye(t=""){{var e=co(t+"");return mo(e,e),e}}function Y(){var t=document.createDocumentFragment(),e=document.createComment(""),n=co();return t.append(e,n),mo(e,n),t}function T(t,e){t!==null&&t.before(e)}function LT(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const NT=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function IT(t){return NT.includes(t)}const DT={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"};function RT(t){return t=t.toLowerCase(),DT[t]??t}const MT=["wheel","mousewheel","touchstart","touchmove"];function FT(t){return MT.includes(t)}function K(t,e){e!==(t.__t??=t.nodeValue)&&(t.__t=e,t.nodeValue=e==null?"":e+"")}function x_(t,e){const n=e.anchor??e.target.appendChild(co());return zT(t,{...e,anchor:n})}const vo=new Map;function zT(t,{target:e,anchor:n,props:r={},events:i,context:s,intro:a=!0}){vT();var l=new Set,c=f=>{for(var h=0;h<f.length;h++){var p=f[h];if(!l.has(p)){l.add(p);var g=FT(p);e.addEventListener(p,Ql,{passive:g});var m=vo.get(p);m===void 0?(document.addEventListener(p,Ql,{passive:g}),vo.set(p,1)):vo.set(p,m+1)}}};c(Zh(__)),cp.add(c);var u=void 0,d=wT(()=>(Fr(()=>{if(s){Q({});var f=Ft;f.c=s}i&&(r.$$events=i),u=t(n,r)||{},s&&ee()}),()=>{for(var f of l){e.removeEventListener(f,Ql);var h=vo.get(f);--h===0?(document.removeEventListener(f,Ql),vo.delete(f)):vo.set(f,h)}cp.delete(c),up.delete(u)}));return up.set(u,d),u}let up=new WeakMap;function UT(t){const e=up.get(t);e&&e()}const dp=0,td=1,fp=2;function bo(t,e,n,r,i){var s=t,a=Ju(),l=Ft,c,u,d,f,h=(a?Wn:oo)(void 0),p=(a?Wn:oo)(void 0),g=!1;function m(_,b){g=!0,b&&(a_(v),Zu(v),l_(l)),_===dp&&n&&(u?Rs(u):u=Fr(()=>n(s))),_===td&&r&&(d?Rs(d):d=Fr(()=>r(s,h))),_===fp&&i&&(f?Rs(f):f=Fr(()=>i(s,p))),_!==dp&&u&&ts(u,()=>u=null),_!==td&&d&&ts(d,()=>d=null),_!==fp&&f&&ts(f,()=>f=null),b&&(l_(null),Zu(null),a_(null),op())}var v=Qi(()=>{if(c!==(c=e())){if(ZE(c)){var _=c;g=!1,_.then(b=>{_===c&&(x(h,b),m(td,!0))},b=>{_===c&&(x(p,b),m(fp,!0))}),ha(()=>{g||m(dp,!0)})}else x(h,c),m(td,!1);return Je}})}function B(t,e,n,r=null,i=!1){var s=t,a=null,l=null,c=null,u=i?Vl:0;Qi(()=>{c!==(c=!!e())&&(c?(a?Rs(a):a=Fr(()=>n(s)),l&&ts(l,()=>{l=null})):(l?Rs(l):r&&(l=Fr(()=>r(s))),a&&ts(a,()=>{a=null})))},u)}function _o(t,e,n){var r=t,i=_r,s;Qi(()=>{Vu(i,i=e())&&(s&&ts(s),s=Fr(()=>n(r)))})}function jT(t,e){Ds(()=>{var n=e();for(var r in n){var i=n[r];i?t.style.setProperty(r,i):t.style.removeProperty(r)}}),Yu(()=>{t.remove()})}let yo=null;function k_(t){yo=t}function wr(t,e){return e}function BT(t,e,n,r){for(var i=[],s=e.length,a=0;a<s;a++)rp(e[a].e,i,!0);var l=s>0&&i.length===0&&n!==null;if(l){var c=n.parentNode;bT(c),c.append(n),r.clear(),Fs(t,e[0].prev,e[s-1].next)}Xb(i,()=>{for(var u=0;u<s;u++){var d=e[u];l||(r.delete(d.k),Fs(t,d.prev,d.next)),es(d.e,!l)}})}function ct(t,e,n,r,i,s=null){var a=t,l={flags:e,items:new Map,first:null},c=(e&Bb)!==0;if(c){var u=t;a=u.appendChild(co())}var d=null;Qi(()=>{var f=n(),h=Hl(f)?f:f==null?[]:Zh(f),p=h.length;qT(h,l,a,i,e,r),s!==null&&(p===0?d?Rs(d):d=Fr(()=>s(a)):d!==null&&ts(d,()=>{d=null}))})}function qT(t,e,n,r,i,s){var a=(i&cT)!==0,l=(i&(ep|tp))!==0,c=t.length,u=e.items,d=e.first,f=d,h,p=null,g,m=[],v=[],_,b,y,w;if(a)for(w=0;w<c;w+=1)_=t[w],b=s(_,w),y=u.get(b),y!==void 0&&(y.a?.measure(),(g??=new Set).add(y));for(w=0;w<c;w+=1){if(_=t[w],b=s(_,w),y=u.get(b),y===void 0){var k=f?f.e.nodes_start:n;p=VT(k,e,p,p===null?e.first:p.next,_,b,w,r,i),u.set(b,p),m=[],v=[],f=p.next;continue}if(l&&HT(y,_,w,i),y.e.f&fa&&(Rs(y.e),a&&(y.a?.unfix(),(g??=new Set).delete(y))),y!==f){if(h!==void 0&&h.has(y)){if(m.length<v.length){var S=v[0],A;p=S.prev;var $=m[0],O=m[m.length-1];for(A=0;A<m.length;A+=1)S_(m[A],S,n);for(A=0;A<v.length;A+=1)h.delete(v[A]);Fs(e,$.prev,O.next),Fs(e,p,$),Fs(e,O,S),f=S,p=O,w-=1,m=[],v=[]}else h.delete(y),S_(y,f,n),Fs(e,y.prev,y.next),Fs(e,y,p===null?e.first:p.next),Fs(e,p,y),p=y;continue}for(m=[],v=[];f!==null&&f.k!==b;)(h??=new Set).add(f),v.push(f),f=f.next;if(f===null)continue;y=f}m.push(y),p=y,f=y.next}if(f!==null||h!==void 0){for(var P=h===void 0?[]:Zh(h);f!==null;)P.push(f),f=f.next;var D=P.length;if(D>0){var j=i&Bb&&c===0?n:null;if(a){for(w=0;w<D;w+=1)P[w].a?.measure();for(w=0;w<D;w+=1)P[w].a?.fix()}BT(e,P,j,u)}}a&&ha(()=>{if(g!==void 0)for(y of g)y.a?.apply()}),Wt.first=e.first&&e.first.e,Wt.last=p&&p.e}function HT(t,e,n,r){r&ep&&x(t.v,e),r&tp?x(t.i,n):t.i=n}function VT(t,e,n,r,i,s,a,l,c){var u=yo;try{var d=(c&ep)!==0,f=(c&uT)===0,h=d?f?oo(i):Wn(i):i,p=c&tp?Wn(a):a,g={i:p,v:h,k:s,a:null,e:null,prev:n,next:r};return yo=g,g.e=Fr(()=>l(t,h,p),Vb),g.e.prev=n&&n.e,g.e.next=r&&r.e,n===null?e.first=g:(n.next=g,n.e.next=g.e),r!==null&&(r.prev=g,r.e.prev=g.e),g}finally{yo=u}}function S_(t,e,n){for(var r=t.next?t.next.e.nodes_start:n,i=e?e.e.nodes_start:n,s=t.e.nodes_start;s!==r;){var a=Wu(s);i.before(s),s=a}}function Fs(t,e,n){e===null?t.first=n:(e.next=n,e.e.next=n&&n.e),n!==null&&(n.prev=e,n.e.prev=e&&e.e)}function xr(t,e,n,r,i){var s=t,a="",l;Qi(()=>{a!==(a=e()??"")&&(l!==void 0&&(es(l),l=void 0),a!==""&&(l=Fr(()=>{var c=a+"",u=w_(c);mo(Wl(u),u.lastChild),s.before(u)})))})}function Qr(t,e,n,r){e===void 0||e(t,n)}function Ue(t,e,...n){var r=t,i=Je,s;Qi(()=>{i!==(i=e())&&(s&&(es(s),s=null),s=Fr(()=>i(r,...n)))},Vl)}function ec(t,e,n){var r=t,i,s;Qi(()=>{i!==(i=e())&&(s&&(ts(s),s=null),i&&(s=Fr(()=>n(r,i))))})}function WT(t,e,n,r,i,s){var a,l,c=null,u=t,d,f=yo;Qi(()=>{const h=e()||null;var p=h==="svg"?Hb:null;if(h!==a){var g=yo;k_(f),d&&(h===null?ts(d,()=>{d=null,l=null}):h===l?Rs(d):es(d)),h&&h!==l&&(d=Fr(()=>{if(c=p?document.createElementNS(p,h):document.createElement(h),mo(c,c),r){var m=c.appendChild(co());r(c,m)}Wt.nodes_end=c,u.before(c)})),a=h,a&&(l=a),k_(g)}},Vl)}var E_=new Set;function Te(t,e,n=!1){if(!n){if(E_.has(e))return;E_.add(e)}ha(()=>{var r=t.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+e.hash)){const s=document.createElement("style");s.id=e.hash,s.textContent=e.code,i.appendChild(s)}})}function zs(t,e,n){Yl(()=>{var r=Me(()=>e(t,n?.())||{});if(n&&r?.update){var i=!1,s={};Ds(()=>{var a=n();ce(a),i&&Vu(s,a)&&(s=a,r.update(a))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function YT(t,e){if(e){const n=document.body;t.autofocus=!0,ha(()=>{document.activeElement===n&&t.focus()})}}let T_=!1;function GT(){T_||(T_=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{if(!t.defaultPrevented)for(const e of t.target.elements)e.__on_r?.()})},{capture:!0}))}function Oe(t,e,n,r){n=n==null?null:n+"";var i=t.__attributes??={};i[e]!==(i[e]=n)&&(e==="loading"&&(t[Xh]=n),n===null?t.removeAttribute(e):t.setAttribute(e,n))}function KT(t,e,n){if(e in t){try{var r=t[e]}catch{Oe(t,e,n);return}var i=typeof r=="boolean"&&n===""?!0:n;(typeof r!="object"||r!==i)&&(t[e]=i)}else Oe(t,e,n)}function mt(t,e,n,r,i=!1,s){var a=e||{},l=t.tagName==="OPTION";for(var c in e)c in n||(n[c]=null);r!==void 0&&(n.class=n.class?n.class+" "+r:r);var u=A_.get(t.nodeName);u||A_.set(t.nodeName,u=XT(t));var d=t.__attributes??={},f=[];for(const v in n){let _=n[v];if(l&&v==="value"&&_==null){t.value=t.__value="",a[v]=_;continue}var h=a[v];if(_!==h){a[v]=_;var p=v[0]+v[1];if(p!=="$$")if(p==="on"){const b={},y="$$"+v;let w=v.slice(2);var g=IT(w);if(LT(w)&&(w=w.slice(0,-7),b.capture=!0),!g&&h){if(_!=null)continue;t.removeEventListener(w,a[y],b),a[y]=null}if(_!=null)if(g)t[`__${w}`]=_,ed([w]);else{let k=function(S){a[v].call(this,S)};e?a[y]=Qu(w,t,k,b):f.push([v,_,()=>a[y]=Qu(w,t,k,b)])}}else if(_==null)d[v]=null,t.removeAttribute(v);else if(v==="style")t.style.cssText=_+"";else if(v==="autofocus")YT(t,!!_);else if(v==="__value"||v==="value")t.value=t[v]=t.__value=_;else{var m=v;i||(m=RT(m)),u.includes(m)?t[m]=_:typeof _!="function"&&Oe(t,m,_)}}}return e||ha(()=>{if(t.isConnected)for(const[v,_,b]of f)a[v]===_&&b()}),a}function ZT(t,e,n,r){if(t.tagName.includes("-")){for(var i in e)i in n||(n[i]=null);n.class=n.class?n.class+" "+r:r;for(i in n)KT(t,i,n[i]);return n}return mt(t,e,n,r,t.namespaceURI!==Hb)}var JT=["width","height","draggable"],A_=new Map;function XT(t){for(var e=[],n,r=ju(t);r.constructor.name!=="Element";){n=Db(r);for(var i in n)n[i].set&&!JT.includes(i)&&e.push(i);r=ju(r)}return e}function tc(t){if(t.loading==="lazy"){var e=t.src;t[Xh]=null,t.loading="eager",t.removeAttribute("src"),requestAnimationFrame(()=>{t[Xh]!=="eager"&&(t.loading="lazy"),t.src=e})}}function kr(t,e){var n=t.__className,r=QT(e);(n!==r||Vb)&&(e==null?t.removeAttribute("class"):t.className=r,t.__className=r)}function QT(t){return t??""}function ut(t,e,n){if(n){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}function Sr(t,e,n,r,i){var s=t.__attributes??={},a=t.style,l="style-"+e;s[l]===n&&!i||(s[l]=n,n==null?a.removeProperty(e):a.setProperty(e,n,""))}function eA(t,e,n,r=n){t.addEventListener(e,n);const i=t.__on_r;i?t.__on_r=()=>{i(),r()}:t.__on_r=r,GT()}function nd(t,e,n){eA(t,"input",()=>{n($_(t)?C_(t.value):t.value)}),Ds(()=>{var r=e();$_(t)&&r===C_(t.value)||t.type==="date"&&!r&&!t.value||(t.value=r??"")})}function $_(t){var e=t.type;return e==="number"||e==="range"}function C_(t){return t===""?null:+t}function nc(t,e,n){var r=Ns(t,e);r&&r.set&&(t[e]=n,Yu(()=>{t[e]=null}))}function O_(t,e){return t===e||t?.[ao]===e}function Tt(t={},e,n,r){return Yl(()=>{var i,s;return Ds(()=>{i=s,s=r?.()||[],Me(()=>{t!==n(...s)&&(e(t,...s),i&&O_(n(...i),t)&&e(null,...i))})}),()=>{ha(()=>{s&&O_(n(...s),t)&&e(null,...s)})}}),t}function tA(t){return function(...e){var n=e[0];return n.stopPropagation(),t.apply(this,e)}}function rd(t){return function(...e){var n=e[0];return n.preventDefault(),t.apply(this,e)}}function ge(){const t=Ft,e=t.l.u;e&&(e.b.length&&yT(()=>{P_(t),qu(e.b)}),Tn(()=>{const n=Me(()=>e.m.map(JE));return()=>{for(const r of n)typeof r=="function"&&r()}}),e.a.length&&Tn(()=>{P_(t),qu(e.a)}))}function P_(t){if(t.l.s)for(const e of t.l.s)o(e);ce(t.s)}function nA(t,e){var n=t.$$events?.[e.type],r=Hl(n)?n.slice():n==null?[]:[n];for(var i of r)i.call(this,e)}function rc(t){var e=t.$$slots?.default;return e===!0?t.children:e}const rA={get(t,e){if(!t.exclude.includes(e))return t.props[e]},set(t,e){return!1},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function at(t,e,n){return new Proxy({props:t,exclude:e},rA)}const iA={get(t,e){if(!t.exclude.includes(e))return o(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,n){return e in t.special||(t.special[e]=E({get[e](){return t.props[e]}},e,qb)),t.special[e](n),b_(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),b_(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function In(t,e){return new Proxy({props:t,exclude:e,special:{},version:Wn(0)},iA)}const sA={get(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(Bu(r)&&(r=r()),typeof r=="object"&&r!==null&&e in r)return r[e]}},getOwnPropertyDescriptor(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(Bu(r)&&(r=r()),typeof r=="object"&&r!==null&&e in r){const i=Ns(r,e);return i&&!i.configurable&&(i.configurable=!0),i}}},has(t,e){for(let n of t.props)if(Bu(n)&&(n=n()),n!=null&&e in n)return!0;return!1},ownKeys(t){const e=[];for(let n of t.props){Bu(n)&&(n=n());for(const r in n)e.includes(r)||e.push(r)}return e}};function Yt(...t){return new Proxy({props:t},sA)}function E(t,e,n,r){var i=(n&dT)!==0,s=(n&fT)!==0,a=(n&hT)!==0,l=(n&pT)!==0,c=t[e],u=Ns(t,e)?.set,d=r,f=!0,h=!1,p=()=>(h=!0,f&&(f=!1,l?d=Me(r):d=r),d);c===void 0&&r!==void 0&&(u&&s&&iT(),c=p(),u&&u(c));var g;if(s)g=()=>{var w=t[e];return w===void 0?p():(f=!0,h=!1,w)};else{var m=(i?He:L)(()=>t[e]);m.f|=QE,g=()=>{var w=o(m);return w!==void 0&&(d=void 0),w===void 0?d:w}}if(!(n&qb))return g;if(u){var v=t.$$legacy;return function(w,k){return arguments.length>0?((!s||!k||v)&&u(k?g():w),w):g()}}var _=!1,b=oo(c),y=He(()=>{var w=g(),k=o(b);return _?(_=!1,k):b.v=w});return i||(y.equals=Qh),function(w,k){var S=o(y);if(arguments.length>0){const A=k?o(y):s&&a?lt(w):w;return y.equals(A)||(_=!0,x(b,A),h&&d!==void 0&&(d=A),o(y)),w}return S}}function hp(t,e,n){if(t==null)return e(void 0),n&&n(void 0),Je;const r=t.subscribe(e,n);return r.unsubscribe?()=>r.unsubscribe():r}function M(t,e,n){const r=n[e]??={store:null,source:oo(void 0),unsubscribe:Je};if(r.store!==t)if(r.unsubscribe(),r.store=t??null,t==null)r.source.v=void 0,r.unsubscribe=Je;else{var i=!0;r.unsubscribe=hp(t,s=>{i?r.source.v=s:x(r.source,s)}),i=!1}return o(r.source)}function Ve(t,e){return t.set(e),e}function me(){const t={};return Yu(()=>{for(var e in t)t[e].unsubscribe()}),t}function At(t,e,n){return t.set(n),e}function Ht(t){Ft===null&&sp(),Ft.l!==null?oA(Ft).m.push(t):Tn(()=>{const e=Me(t);if(typeof e=="function")return e})}function aA(t,e,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:r})}function ei(){const t=Ft;return t===null&&sp(),(e,n,r)=>{const i=t.s.$$events?.[e];if(i){const s=Hl(i)?i.slice():[i],a=aA(e,n,r);for(const l of s)l.call(t.x,a);return!a.defaultPrevented}return!0}}function oA(t){var e=t.l;return e.u??={a:[],b:[],m:[]}}const lA="5";typeof window<"u"&&(window.__svelte||={v:new Set}).v.add(lA);const cA=Object.freeze(Object.defineProperty({__proto__:null,strings:{ok:"OK",cancel:"Cancel",close:"Close",clear:"Clear",insert:"Insert",update:"Update",remove:"Remove",collapse:"Collapse",expand:"Expand",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:{decrease:"Decrease",increase:"Increase"},password_input:{show_password:"Show Password",hide_password:"Hide Password"},text_editor:{text_editor:"Text 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",bold:"Bold",italic:"Italic",code:"Code",link:"Link",insert_link:"Insert Link",update_link:"Update Link",text:"Text",url:"URL",edit_in_markdown:"Edit in Markdown",converter_error:"There was an error while enabling rich text mode. Please use the plain text editor instead."}}},Symbol.toStringTag,{value:"Module"})),uA=Object.freeze(Object.defineProperty({__proto__:null,strings:{ok:"OK",cancel:"キャンセル",close:"閉じる",clear:"クリア",insert:"挿入",update:"更新",remove:"削除",collapse:"折り畳む",expand:"広げる",calendar:{year:"年",previous_decade:"前の 10 年",next_decade:"次の 10 年",month:"月",previous_month:"前月",next_month:"翌月",today:"今日"},split_button:{x_options:"{name} オプション",more_options:"その他のオプション"},combobox:{select_an_option:"オプションを選択…",filter_options:"オプションを絞り込み",no_matching_options:"一致するオプションは見つかりませんでした"},number_input:{decrease:"減らす",increase:"増やす"},password_input:{show_password:"パスワードを表示",hide_password:"パスワードを隠す"},text_editor:{text_editor:"テキストエディター",text_style_options:"テキストスタイルオプション",show_text_style_options:"テキストスタイルオプションを表示",paragraph:"段落",heading_1:"見出し 1",heading_2:"見出し 2",heading_3:"見出し 3",heading_4:"見出し 4",heading_5:"見出し 5",heading_6:"見出し 6",bulleted_list:"番号なしリスト",numbered_list:"番号付きリスト",blockquote:"ブロック引用",bold:"太字",italic:"斜体",code:"コード",link:"リンク",insert_link:"リンクを挿入",update_link:"リンクを更新",text:"テキスト",url:"URL",edit_in_markdown:"マークダウンで編集",converter_error:"リッチテキストモードを有効化中に問題が発生しました。代わりにプレーンテキストエディターを使用してください。"}}},Symbol.toStringTag,{value:"Module"})),wo=[];function dA(t,e){return{subscribe:Ge(t,e).subscribe}}function Ge(t,e=Je){let n=null;const r=new Set;function i(l){if(Vu(t,l)&&(t=l,n)){const c=!wo.length;for(const u of r)u[1](),wo.push(u,t);if(c){for(let u=0;u<wo.length;u+=2)wo[u][0](wo[u+1]);wo.length=0}}}function s(l){i(l(t))}function a(l,c=Je){const u=[l,c];return r.add(u),r.size===1&&(n=e(i,s)||Je),l(t),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:s,subscribe:a}}function jn(t,e,n){const r=!Array.isArray(t),i=r?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return dA(n,(a,l)=>{let c=!1;const u=[];let d=0,f=Je;const h=()=>{if(d)return;f();const g=e(r?u[0]:u,a,l);s?a(g):f=typeof g=="function"?g:Je},p=i.map((g,m)=>hp(g,v=>{u[m]=v,d&=~(1<<m),c&&h()},()=>{d|=1<<m}));return c=!0,h(),function(){qu(p),f(),c=!1}})}function re(t){let e;return hp(t,n=>e=n)(),e}var pp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gp(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fA=function(e){return hA(e)&&!pA(e)};function hA(t){return!!t&&typeof t=="object"}function pA(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||vA(t)}var gA=typeof Symbol=="function"&&Symbol.for,mA=gA?Symbol.for("react.element"):60103;function vA(t){return t.$$typeof===mA}function bA(t){return Array.isArray(t)?[]:{}}function ic(t,e){return e.clone!==!1&&e.isMergeableObject(t)?xo(bA(t),t,e):t}function _A(t,e,n){return t.concat(e).map(function(r){return ic(r,n)})}function yA(t,e){if(!e.customMerge)return xo;var n=e.customMerge(t);return typeof n=="function"?n:xo}function wA(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function L_(t){return Object.keys(t).concat(wA(t))}function N_(t,e){try{return e in t}catch{return!1}}function xA(t,e){return N_(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function kA(t,e,n){var r={};return n.isMergeableObject(t)&&L_(t).forEach(function(i){r[i]=ic(t[i],n)}),L_(e).forEach(function(i){xA(t,i)||(N_(t,i)&&n.isMergeableObject(e[i])?r[i]=yA(i,n)(t[i],e[i],n):r[i]=ic(e[i],n))}),r}function xo(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||_A,n.isMergeableObject=n.isMergeableObject||fA,n.cloneUnlessOtherwiseSpecified=ic;var r=Array.isArray(e),i=Array.isArray(t),s=r===i;return s?r?n.arrayMerge(t,e,n):kA(t,e,n):ic(e,n)}xo.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,i){return xo(r,i,n)},{})};var SA=xo,EA=SA;const I_=gp(EA);var mp=function(t,e){return mp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},mp(t,e)};function id(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");mp(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Lt=function(){return Lt=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Lt.apply(this,arguments)};function TA(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function vp(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var St;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(St||(St={}));var en;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(en||(en={}));var ko;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(ko||(ko={}));function D_(t){return t.type===en.literal}function AA(t){return t.type===en.argument}function R_(t){return t.type===en.number}function M_(t){return t.type===en.date}function F_(t){return t.type===en.time}function z_(t){return t.type===en.select}function U_(t){return t.type===en.plural}function $A(t){return t.type===en.pound}function j_(t){return t.type===en.tag}function B_(t){return!!(t&&typeof t=="object"&&t.type===ko.number)}function bp(t){return!!(t&&typeof t=="object"&&t.type===ko.dateTime)}var q_=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,CA=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function OA(t){var e={};return t.replace(CA,function(n){var r=n.length;switch(n[0]){case"G":e.era=r===4?"long":r===5?"narrow":"short";break;case"y":e.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var PA=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function LA(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(PA).filter(function(h){return h.length>0}),n=[],r=0,i=e;r<i.length;r++){var s=i[r],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],c=a.slice(1),u=0,d=c;u<d.length;u++){var f=d[u];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:l,options:c})}return n}function NA(t){return t.replace(/^(.*?)-/,"")}var H_=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,V_=/^(@+)?(\+|#+)?[rs]?$/g,IA=/(\*)(0+)|(#+)(0+)|(0+)/g,W_=/^(0+)$/;function Y_(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(V_,function(n,r,i){return typeof i!="string"?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):i==="+"?e.minimumSignificantDigits=r.length:r[0]==="#"?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),e}function G_(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function DA(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2);if(n==="+!"?(e.signDisplay="always",t=t.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!W_.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function K_(t){var e={},n=G_(t);return n||e}function RA(t){for(var e={},n=0,r=t;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=NA(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=Lt(Lt(Lt({},e),{notation:"scientific"}),i.options.reduce(function(c,u){return Lt(Lt({},c),K_(u))},{}));continue;case"engineering":e=Lt(Lt(Lt({},e),{notation:"engineering"}),i.options.reduce(function(c,u){return Lt(Lt({},c),K_(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(IA,function(c,u,d,f,h,p){if(u)e.minimumIntegerDigits=d.length;else{if(f&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(W_.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(H_.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(H_,function(c,u,d,f,h,p){return d==="*"?e.minimumFractionDigits=u.length:f&&f[0]==="#"?e.maximumFractionDigits=f.length:h&&p?(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?e=Lt(Lt({},e),{trailingZeroDisplay:"stripIfInteger"}):s&&(e=Lt(Lt({},e),Y_(s)));continue}if(V_.test(i.stem)){e=Lt(Lt({},e),Y_(i.stem));continue}var a=G_(i.stem);a&&(e=Lt(Lt({},e),a));var l=DA(i.stem);l&&(e=Lt(Lt({},e),l))}return e}var sd={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function MA(t,e){for(var n="",r=0;r<t.length;r++){var i=t.charAt(r);if(i==="j"){for(var s=0;r+1<t.length&&t.charAt(r+1)===i;)s++,r++;var a=1+(s&1),l=s<2?1:3+(s>>1),c="a",u=FA(e);for((u=="H"||u=="k")&&(l=0);l-- >0;)n+=c;for(;a-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function FA(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=t.language,r;n!=="root"&&(r=t.maximize().region);var i=sd[r||""]||sd[n||""]||sd["".concat(n,"-001")]||sd["001"];return i[0]}var _p,zA=new RegExp("^".concat(q_.source,"*")),UA=new RegExp("".concat(q_.source,"*$"));function $t(t,e){return{start:t,end:e}}var jA=!!String.prototype.startsWith&&"_a".startsWith("a",1),BA=!!String.fromCodePoint,qA=!!Object.fromEntries,HA=!!String.prototype.codePointAt,VA=!!String.prototype.trimStart,WA=!!String.prototype.trimEnd,YA=!!Number.isSafeInteger,GA=YA?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},yp=!0;try{var KA=Q_("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yp=((_p=KA.exec("a"))===null||_p===void 0?void 0:_p[0])==="a"}catch{yp=!1}var Z_=jA?function(e,n,r){return e.startsWith(n,r)}:function(e,n,r){return e.slice(r,r+n.length)===n},wp=BA?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r="",i=e.length,s=0,a;i>s;){if(a=e[s++],a>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return r},J_=qA?Object.fromEntries:function(e){for(var n={},r=0,i=e;r<i.length;r++){var s=i[r],a=s[0],l=s[1];n[a]=l}return n},X_=HA?function(e,n){return e.codePointAt(n)}:function(e,n){var r=e.length;if(!(n<0||n>=r)){var i=e.charCodeAt(n),s;return i<55296||i>56319||n+1===r||(s=e.charCodeAt(n+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},ZA=VA?function(e){return e.trimStart()}:function(e){return e.replace(zA,"")},JA=WA?function(e){return e.trimEnd()}:function(e){return e.replace(UA,"")};function Q_(t,e){return new RegExp(t,e)}var xp;if(yp){var ey=Q_("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xp=function(e,n){var r;ey.lastIndex=n;var i=ey.exec(e);return(r=i[1])!==null&&r!==void 0?r:""}}else xp=function(e,n){for(var r=[];;){var i=X_(e,n);if(i===void 0||ty(i)||t2(i))break;r.push(i),n+=i>=65536?2:1}return wp.apply(void 0,r)};var XA=function(){function t(e,n){n===void 0&&(n={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,n,r){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(e,r);if(a.err)return a;i.push(a.val)}else{if(s===125&&e>0)break;if(s===35&&(n==="plural"||n==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:en.pound,location:$t(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(St.UNMATCHED_CLOSING_TAG,$t(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&kp(this.peek()||0)){var a=this.parseTag(e,n);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(e,n);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:en.literal,value:"<".concat(i,"/>"),location:$t(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(e+1,n,!0);if(s.err)return s;var a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!kp(this.char()))return this.error(St.INVALID_TAG,$t(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(St.UNMATCHED_CLOSING_TAG,$t(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:en.tag,value:i,children:a,location:$t(r,this.clonePosition())},err:null}:this.error(St.INVALID_TAG,$t(l,this.clonePosition())))}else return this.error(St.UNCLOSED_TAG,$t(r,this.clonePosition()))}else return this.error(St.INVALID_TAG,$t(r,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&e2(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,n){for(var r=this.clonePosition(),i="";;){var s=this.tryParseQuote(n);if(s){i+=s;continue}var a=this.tryParseUnquoted(e,n);if(a){i+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var c=$t(r,this.clonePosition());return{val:{type:en.literal,value:i,location:c},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!QA(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return wp.apply(void 0,n)},t.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&e>0?null:(this.bump(),wp(r))},t.prototype.parseArgument=function(e,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(St.EMPTY_ARGUMENT,$t(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(St.MALFORMED_ARGUMENT,$t(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:en.argument,value:i,location:$t(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition())):this.parseArgumentOptions(e,n,i,r);default:return this.error(St.MALFORMED_ARGUMENT,$t(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),r=xp(this.message,n),i=n+r.length;this.bumpTo(i);var s=this.clonePosition(),a=$t(e,s);return{value:r,location:a}},t.prototype.parseArgumentOptions=function(e,n,r,i){var s,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(St.EXPECT_ARGUMENT_TYPE,$t(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var h=JA(f.val);if(h.length===0)return this.error(St.EXPECT_ARGUMENT_STYLE,$t(this.clonePosition(),this.clonePosition()));var p=$t(d,this.clonePosition());u={style:h,styleLocation:p}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var m=$t(i,this.clonePosition());if(u&&Z_(u?.style,"::",0)){var v=ZA(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(v,u.styleLocation);return f.err?f:{val:{type:en.number,value:r,location:m,style:f.val},err:null}}else{if(v.length===0)return this.error(St.EXPECT_DATE_TIME_SKELETON,m);var _=v;this.locale&&(_=MA(v,this.locale));var h={type:ko.dateTime,pattern:_,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?OA(_):{}},b=l==="date"?en.date:en.time;return{val:{type:b,value:r,location:m,style:h},err:null}}}return{val:{type:l==="number"?en.number:l==="date"?en.date:en.time,value:r,location:m,style:(s=u?.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(St.EXPECT_SELECT_ARGUMENT_OPTIONS,$t(y,Lt({},y)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),k=0;if(l!=="select"&&w.value==="offset"){if(!this.bumpIf(":"))return this.error(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$t(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,St.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),w=this.parseIdentifierIfPossible(),k=f.val}var S=this.tryParsePluralOrSelectOptions(e,l,n,w);if(S.err)return S;var g=this.tryParseArgumentClose(i);if(g.err)return g;var A=$t(i,this.clonePosition());return l==="select"?{val:{type:en.select,value:r,options:J_(S.val),location:A},err:null}:{val:{type:en.plural,value:r,options:J_(S.val),offset:k,pluralType:l==="plural"?"cardinal":"ordinal",location:A},err:null}}default:return this.error(St.INVALID_ARGUMENT_TYPE,$t(a,c))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(St.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$t(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,n){var r=[];try{r=LA(e)}catch{return this.error(St.INVALID_NUMBER_SKELETON,n)}return{val:{type:ko.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?RA(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,n,r,i){for(var s,a=!1,l=[],c=new Set,u=i.value,d=i.location;;){if(u.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_SELECTOR,St.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;d=$t(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(c.has(u))return this.error(n==="select"?St.DUPLICATE_SELECT_ARGUMENT_SELECTOR:St.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,d);u==="other"&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:St.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$t(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(e+1,n,r);if(g.err)return g;var m=this.tryParseArgumentClose(p);if(m.err)return m;l.push([u,{value:g.val,location:$t(p,this.clonePosition())}]),c.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,d=s.location}return l.length===0?this.error(n==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR:St.EXPECT_PLURAL_ARGUMENT_SELECTOR,$t(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(St.MISSING_OTHER_CLAUSE,$t(this.clonePosition(),this.clonePosition())):{val:l,err:null}},t.prototype.tryParseDecimalInteger=function(e,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var s=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,a=a*10+(l-48),this.bump();else break}var c=$t(i,this.clonePosition());return s?(a*=r,GA(a)?{val:a,err:null}:this.error(n,c)):this.error(e,c)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=X_(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},t.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Z_(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var n=this.offset(),r=this.message.indexOf(e,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var n=this.offset();if(n===e)break;if(n>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&ty(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(e>=65536?2:1));return r??null},t}();function kp(t){return t>=97&&t<=122||t>=65&&t<=90}function QA(t){return kp(t)||t===47}function e2(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function ty(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function t2(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Sp(t){t.forEach(function(e){if(delete e.location,z_(e)||U_(e))for(var n in e.options)delete e.options[n].location,Sp(e.options[n].value);else R_(e)&&B_(e.style)||(M_(e)||F_(e))&&bp(e.style)?delete e.style.location:j_(e)&&Sp(e.children)})}function n2(t,e){e===void 0&&(e={}),e=Lt({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new XA(t,e).parse();if(n.err){var r=SyntaxError(St[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return e?.captureLocation||Sp(n.val),n.val}function Ep(t,e){var n=e&&e.cache?e.cache:l2,r=e&&e.serializer?e.serializer:o2,i=e&&e.strategy?e.strategy:i2;return i(t,{cache:n,serializer:r})}function r2(t){return t==null||typeof t=="number"||typeof t=="boolean"}function ny(t,e,n,r){var i=r2(r)?r:n(r),s=e.get(i);return typeof s>"u"&&(s=t.call(this,r),e.set(i,s)),s}function ry(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),s=e.get(i);return typeof s>"u"&&(s=t.apply(this,r),e.set(i,s)),s}function Tp(t,e,n,r,i){return n.bind(e,t,r,i)}function i2(t,e){var n=t.length===1?ny:ry;return Tp(t,this,n,e.cache.create(),e.serializer)}function s2(t,e){return Tp(t,this,ry,e.cache.create(),e.serializer)}function a2(t,e){return Tp(t,this,ny,e.cache.create(),e.serializer)}var o2=function(){return JSON.stringify(arguments)};function Ap(){this.cache=Object.create(null)}Ap.prototype.get=function(t){return this.cache[t]},Ap.prototype.set=function(t,e){this.cache[t]=e};var l2={create:function(){return new Ap}},$p={variadic:s2,monadic:a2},So;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(So||(So={}));var ad=function(t){id(e,t);function e(n,r,i){var s=t.call(this,n)||this;return s.code=r,s.originalMessage=i,s}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),iy=function(t){id(e,t);function e(n,r,i,s){return t.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),So.INVALID_VALUE,s)||this}return e}(ad),c2=function(t){id(e,t);function e(n,r,i){return t.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),So.INVALID_VALUE,i)||this}return e}(ad),u2=function(t){id(e,t);function e(n,r){return t.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),So.MISSING_VALUE,r)||this}return e}(ad),ar;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(ar||(ar={}));function d2(t){return t.length<2?t:t.reduce(function(e,n){var r=e[e.length-1];return!r||r.type!==ar.literal||n.type!==ar.literal?e.push(n):r.value+=n.value,e},[])}function f2(t){return typeof t=="function"}function od(t,e,n,r,i,s,a){if(t.length===1&&D_(t[0]))return[{type:ar.literal,value:t[0].value}];for(var l=[],c=0,u=t;c<u.length;c++){var d=u[c];if(D_(d)){l.push({type:ar.literal,value:d.value});continue}if($A(d)){typeof s=="number"&&l.push({type:ar.literal,value:n.getNumberFormat(e).format(s)});continue}var f=d.value;if(!(i&&f in i))throw new u2(f,a);var h=i[f];if(AA(d)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),l.push({type:typeof h=="string"?ar.literal:ar.object,value:h});continue}if(M_(d)){var p=typeof d.style=="string"?r.date[d.style]:bp(d.style)?d.style.parsedOptions:void 0;l.push({type:ar.literal,value:n.getDateTimeFormat(e,p).format(h)});continue}if(F_(d)){var p=typeof d.style=="string"?r.time[d.style]:bp(d.style)?d.style.parsedOptions:r.time.medium;l.push({type:ar.literal,value:n.getDateTimeFormat(e,p).format(h)});continue}if(R_(d)){var p=typeof d.style=="string"?r.number[d.style]:B_(d.style)?d.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),l.push({type:ar.literal,value:n.getNumberFormat(e,p).format(h)});continue}if(j_(d)){var g=d.children,m=d.value,v=i[m];if(!f2(v))throw new c2(m,"function",a);var _=od(g,e,n,r,i,s),b=v(_.map(function(k){return k.value}));Array.isArray(b)||(b=[b]),l.push.apply(l,b.map(function(k){return{type:typeof k=="string"?ar.literal:ar.object,value:k}}))}if(z_(d)){var y=d.options[h]||d.options.other;if(!y)throw new iy(d.value,h,Object.keys(d.options),a);l.push.apply(l,od(y.value,e,n,r,i));continue}if(U_(d)){var y=d.options["=".concat(h)];if(!y){if(!Intl.PluralRules)throw new ad(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
(function(Uu){"use strict";var Hl=Array.isArray,Zh=Array.from,YE=Object.defineProperty,Ns=Object.getOwnPropertyDescriptor,Db=Object.getOwnPropertyDescriptors,GE=Object.prototype,KE=Array.prototype,ju=Object.getPrototypeOf;function Bu(t){return typeof t=="function"}const Je=()=>{};function ZE(t){return typeof t?.then=="function"}function JE(t){return t()}function qu(t){for(var e=0;e<t.length;e++)t[e]()}function Ce(t,e,n=!1){return t===void 0?n?e():e:t}const Ji=2,Rb=4,io=8,Mb=16,Xi=32,Jh=64,ua=128,Hu=256,Jr=512,Is=1024,da=2048,fa=4096,so=8192,XE=16384,Vl=32768,QE=65536,Fb=1<<18,ao=Symbol("$state"),Xh=Symbol("");function zb(t){return t===this.v}function Vu(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Qh(t){return!Vu(t,this.v)}function eT(t){throw new Error("effect_in_teardown")}function tT(){throw new Error("effect_in_unowned_derived")}function nT(t){throw new Error("effect_orphan")}function rT(){throw new Error("effect_update_depth_exceeded")}function iT(t){throw new Error("props_invalid_value")}function sT(){throw new Error("state_descriptors_fixed")}function aT(){throw new Error("state_prototype_fixed")}function oT(){throw new Error("state_unsafe_local_read")}function lT(){throw new Error("state_unsafe_mutation")}function Wn(t){return{f:0,v:t,reactions:null,equals:zb,version:0}}function st(t){return Ub(Wn(t))}function oo(t){const e=Wn(t);return e.equals=Qh,Ft!==null&&Ft.l!==null&&(Ft.l.s??=[]).push(e),e}function C(t){return Ub(oo(t))}function Ub(t){return an!==null&&an.f&Ji&&($i===null?ET([t]):$i.push(t)),t}function Xr(t,e){return x(t,Me(()=>o(t))),e}function x(t,e){return an!==null&&Ju()&&an.f&Ji&&($i===null||!$i.includes(t))&&lT(),t.equals(e)||(t.v=e,t.version=c_(),jb(t,Is),Ju()&&Wt!==null&&Wt.f&Jr&&!(Wt.f&Xi)&&(yr!==null&&yr.includes(t)?(Ur(Wt,Is),Xu(Wt)):Ms===null?TT([t]):Ms.push(t))),e}function jb(t,e){var n=t.reactions;if(n!==null)for(var r=Ju(),i=n.length,s=0;s<i;s++){var a=n[s],l=a.f;l&Is||!r&&a===Wt||(Ur(a,e),l&(Jr|ua)&&(l&Ji?jb(a,da):Xu(a)))}}const ep=1,tp=2,Bb=4,cT=8,uT=16,dT=1,fT=2,qb=4,hT=8,pT=16,gT=1,mT=2,_r=Symbol(),Hb="http://www.w3.org/2000/svg";let Vb=!1;function lt(t,e=null,n){if(typeof t!="object"||t===null||ao in t)return t;const r=ju(t);if(r!==GE&&r!==KE)return t;var i=new Map,s=Hl(t),a=Wn(0);s&&i.set("length",Wn(t.length));var l;return new Proxy(t,{defineProperty(c,u,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&sT();var f=i.get(u);return f===void 0?(f=Wn(d.value),i.set(u,f)):x(f,lt(d.value,l)),!0},deleteProperty(c,u){var d=i.get(u);return d===void 0?u in c&&i.set(u,Wn(_r)):(x(d,_r),Wb(a)),!0},get(c,u,d){if(u===ao)return t;var f=i.get(u),h=u in c;if(f===void 0&&(!h||Ns(c,u)?.writable)&&(f=Wn(lt(h?c[u]:_r,l)),i.set(u,f)),f!==void 0){var p=o(f);return p===_r?void 0:p}return Reflect.get(c,u,d)},getOwnPropertyDescriptor(c,u){var d=Reflect.getOwnPropertyDescriptor(c,u);if(d&&"value"in d){var f=i.get(u);f&&(d.value=o(f))}else if(d===void 0){var h=i.get(u),p=h?.v;if(h!==void 0&&p!==_r)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return d},has(c,u){if(u===ao)return!0;var d=i.get(u),f=d!==void 0&&d.v!==_r||Reflect.has(c,u);if(d!==void 0||Wt!==null&&(!f||Ns(c,u)?.writable)){d===void 0&&(d=Wn(f?lt(c[u],l):_r),i.set(u,d));var h=o(d);if(h===_r)return!1}return f},set(c,u,d,f){var h=i.get(u),p=u in c;if(s&&u==="length")for(var g=d;g<h.v;g+=1){var m=i.get(g+"");m!==void 0?x(m,_r):g in c&&(m=Wn(_r),i.set(g+"",m))}h===void 0?(!p||Ns(c,u)?.writable)&&(h=Wn(void 0),x(h,lt(d,l)),i.set(u,h)):(p=h.v!==_r,x(h,lt(d,l)));var v=Reflect.getOwnPropertyDescriptor(c,u);if(v?.set&&v.set.call(f,d),!p){if(s&&typeof u=="string"){var _=i.get("length"),b=Number(u);Number.isInteger(b)&&b>=_.v&&x(_,b+1)}Wb(a)}return!0},ownKeys(c){o(a);var u=Reflect.ownKeys(c).filter(h=>{var p=i.get(h);return p===void 0||p.v!==_r});for(var[d,f]of i)f.v!==_r&&!(d in c)&&u.push(d);return u},setPrototypeOf(){aT()}})}function Wb(t,e=1){x(t,t.v+e)}var lo,np,Yb,Gb;function vT(){if(lo===void 0){lo=window,np=document;var t=Element.prototype,e=Node.prototype;Yb=Ns(e,"firstChild").get,Gb=Ns(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__e=void 0,Text.prototype.__t=void 0}}function co(t=""){return document.createTextNode(t)}function Wl(t){return Yb.call(t)}function Wu(t){return Gb.call(t)}function I(t){return Wl(t)}function z(t,e){{var n=Wl(t);return n instanceof Comment&&n.data===""?Wu(n):n}}function N(t,e=1,n=!1){let r=t;for(;e--;)r=Wu(r);return r}function bT(t){t.textContent=""}function Kb(t){Wt===null&&an===null&&nT(),an!==null&&an.f&ua&&tT(),ap&&eT()}function _T(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function uo(t,e,n,r=!0){var i=(t&Jh)!==0,s=Wt,a={ctx:Ft,deps:null,nodes_start:null,nodes_end:null,f:t|Is,first:null,fn:e,last:null,next:null,parent:i?null:s,prev:null,teardown:null,transitions:null,version:0};if(n){var l=fo;try{i_(!0),Zl(a),a.f|=XE}catch(d){throw es(a),d}finally{i_(l)}}else e!==null&&Xu(a);var c=n&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null;if(!c&&!i&&r&&(s!==null&&_T(a,s),an!==null&&an.f&Ji)){var u=an;(u.children??=[]).push(a)}return a}function Yu(t){const e=uo(io,null,!1);return Ur(e,Jr),e.teardown=t,e}function Tn(t){Kb();var e=Wt!==null&&(Wt.f&io)!==0&&Ft!==null&&!Ft.m;if(e){var n=Ft;(n.e??=[]).push(t)}else{var r=Yl(t);return r}}function yT(t){return Kb(),Ds(t)}function wT(t){const e=uo(Jh,t,!0);return()=>{es(e)}}function Yl(t){return uo(Rb,t,!1)}function F(t,e){var n=Ft,r={effect:null,ran:!1};n.l.r1.push(r),r.effect=Ds(()=>{t(),!r.ran&&(r.ran=!0,x(n.l.r2,!0),Me(e))})}function Ie(){var t=Ft;Ds(()=>{if(o(t.l.r2)){for(var e of t.l.r1){var n=e.effect;n.f&Jr&&Ur(n,da),go(n)&&Zl(n),e.ran=!1}t.l.r2.v=!1}})}function Ds(t){return uo(io,t,!0)}function U(t){return Ds(t)}function Qi(t,e=0){return uo(io|Mb|e,t,!0)}function Fr(t,e=!0){return uo(io|Xi,t,!0,e)}function Zb(t){var e=t.teardown;if(e!==null){const n=ap,r=an;s_(!0),Zu(null);try{e.call(null)}finally{s_(n),Zu(r)}}}function es(t,e=!0){var n=!1;if((e||t.f&Fb)&&t.nodes_start!==null){for(var r=t.nodes_start,i=t.nodes_end;r!==null;){var s=r===i?null:Wu(r);r.remove(),r=s}n=!0}d_(t,e&&!n),Kl(t,0),Ur(t,so);var a=t.transitions;if(a!==null)for(const c of a)c.stop();Zb(t);var l=t.parent;l!==null&&l.first!==null&&Jb(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.parent=t.fn=t.nodes_start=t.nodes_end=null}function Jb(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function ts(t,e){var n=[];rp(t,n,!0),Xb(n,()=>{es(t),e&&e()})}function Xb(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var i of t)i.out(r)}else e()}function rp(t,e,n){if(!(t.f&fa)){if(t.f^=fa,t.transitions!==null)for(const a of t.transitions)(a.is_global||n)&&e.push(a);for(var r=t.first;r!==null;){var i=r.next,s=(r.f&Vl)!==0||(r.f&Xi)!==0;rp(r,e,s?n:!1),r=i}}}function Rs(t){Qb(t,!0)}function Qb(t,e){if(t.f&fa){t.f^=fa,go(t)&&Zl(t);for(var n=t.first;n!==null;){var r=n.next,i=(n.f&Vl)!==0||(n.f&Xi)!==0;Qb(n,i?e:!1),n=r}if(t.transitions!==null)for(const s of t.transitions)(s.is_global||e)&&s.in()}}let Gu=!1,ip=[];function e_(){Gu=!1;const t=ip.slice();ip=[],qu(t)}function ha(t){Gu||(Gu=!0,queueMicrotask(e_)),ip.push(t)}function xT(){Gu&&e_()}function He(t){let e=Ji|Is;Wt===null&&(e|=ua);const n={children:null,deps:null,equals:zb,f:e,fn:t,reactions:null,v:null,version:0};if(an!==null&&an.f&Ji){var r=an;(r.children??=[]).push(n)}return n}function L(t){const e=He(t);return e.equals=Qh,e}function t_(t){var e=t.children;if(e!==null){t.children=null;for(var n=0;n<e.length;n+=1){var r=e[n];r.f&Ji?kT(r):es(r)}}}function n_(t){var e;t_(t),e=u_(t);var n=(po||t.f&ua)&&t.deps!==null?da:Jr;Ur(t,n),t.equals(e)||(t.v=e,t.version=c_())}function kT(t){t_(t),Kl(t,0),Ur(t,so),t.children=t.deps=t.reactions=t.fn=null}function sp(t){throw new Error("lifecycle_outside_component")}const r_=0,ST=1;let Ku=r_,Gl=!1,fo=!1,ap=!1;function i_(t){fo=t}function s_(t){ap=t}let pa=[],ho=0,v5=[],an=null;function Zu(t){an=t}let Wt=null;function a_(t){Wt=t}let $i=null;function ET(t){$i=t}let yr=null,zr=0,Ms=null;function TT(t){Ms=t}let o_=0,po=!1,Ft=null;function l_(t){Ft=t}function c_(){return++o_}function Ju(){return Ft!==null&&Ft.l===null}function go(t){var e=t.f;if(e&Is)return!0;if(e&da){var n=t.deps,r=(e&ua)!==0;if(n!==null){var i;if(e&Hu){for(i=0;i<n.length;i++)(n[i].reactions??=[]).push(t);t.f^=Hu}for(i=0;i<n.length;i++){var s=n[i];if(go(s)&&n_(s),r&&Wt!==null&&!po&&!s?.reactions?.includes(t)&&(s.reactions??=[]).push(t),s.version>t.version)return!0}}r||Ur(t,Jr)}return!1}function AT(t,e,n){throw t}function u_(t){var e=yr,n=zr,r=Ms,i=an,s=po,a=$i;yr=null,zr=0,Ms=null,an=t.f&(Xi|Jh)?null:t,po=!fo&&(t.f&ua)!==0,$i=null;try{var l=(0,t.fn)(),c=t.deps;if(yr!==null){var u;if(Kl(t,zr),c!==null&&zr>0)for(c.length=zr+yr.length,u=0;u<yr.length;u++)c[zr+u]=yr[u];else t.deps=c=yr;if(!po)for(u=zr;u<c.length;u++)(c[u].reactions??=[]).push(t)}else c!==null&&zr<c.length&&(Kl(t,zr),c.length=zr);return l}finally{yr=e,zr=n,Ms=r,an=i,po=s,$i=a}}function $T(t,e){let n=e.reactions;if(n!==null){var r=n.indexOf(t);if(r!==-1){var i=n.length-1;i===0?n=e.reactions=null:(n[r]=n[i],n.pop())}}n===null&&e.f&Ji&&(Ur(e,da),e.f&(ua|Hu)||(e.f^=Hu),Kl(e,0))}function Kl(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)$T(t,n[r])}function d_(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){var r=n.next;es(n,e),n=r}}function Zl(t){var e=t.f;if(!(e&so)){Ur(t,Jr);var n=t.ctx,r=Wt,i=Ft;Wt=t,Ft=n;try{e&Mb||d_(t),Zb(t);var s=u_(t);t.teardown=typeof s=="function"?s:null,t.version=o_}catch(a){AT(a)}finally{Wt=r,Ft=i}}}function f_(){ho>1e3&&(ho=0,rT()),ho++}function h_(t){var e=t.length;if(e!==0){f_();var n=fo;fo=!0;try{for(var r=0;r<e;r++){var i=t[r];if(i.first===null&&!(i.f&Xi))p_([i]);else{var s=[];g_(i,s),p_(s)}}}finally{fo=n}}}function p_(t){var e=t.length;if(e!==0)for(var n=0;n<e;n++){var r=t[n];!(r.f&(so|fa))&&go(r)&&(Zl(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null?Jb(r):r.fn=null))}}function CT(){if(Gl=!1,ho>1001)return;const t=pa;pa=[],h_(t),Gl||(ho=0)}function Xu(t){Ku===r_&&(Gl||(Gl=!0,queueMicrotask(CT)));for(var e=t;e.parent!==null;){e=e.parent;var n=e.f;if(n&Xi){if(!(n&Jr))return;Ur(e,da)}}pa.push(e)}function g_(t,e){var n=t.first,r=[];e:for(;n!==null;){var i=n.f,s=(i&(so|fa))===0,a=(i&Xi)!==0,l=(i&Jr)!==0,c=n.first;if(s&&(!a||!l)){if(a&&Ur(n,Jr),i&io){if(!a&&go(n)&&Zl(n),c=n.first,c!==null){n=c;continue}}else if(i&Rb)if(a||l){if(c!==null){n=c;continue}}else r.push(n)}var u=n.next;if(u===null){let h=n.parent;for(;h!==null;){if(t===h)break e;var d=h.next;if(d!==null){n=d;continue e}h=h.parent}}n=u}for(var f=0;f<r.length;f++)c=r[f],e.push(c),g_(c,e)}function op(t){var e=Ku,n=pa;try{f_();const i=[];Ku=ST,pa=i,Gl=!1,h_(n);var r=t?.();return xT(),(pa.length>0||i.length>0)&&op(),ho=0,r}finally{Ku=e,pa=n}}async function Jl(){await Promise.resolve(),op()}function o(t){var e=t.f;if(e&so)return t.v;if(an!==null){$i!==null&&$i.includes(t)&&oT();var n=an.deps;yr===null&&n!==null&&n[zr]===t?zr++:yr===null?yr=[t]:yr.push(t),Ms!==null&&Wt!==null&&Wt.f&Jr&&!(Wt.f&Xi)&&Ms.includes(t)&&(Ur(Wt,Is),Xu(Wt))}if(e&Ji){var r=t;go(r)&&n_(r)}return t.v}function Me(t){const e=an;try{return an=null,t()}finally{an=e}}const OT=~(Is|da|Jr);function Ur(t,e){t.f=t.f&OT|e}function ga(t){return v_().get(t)}function m_(t,e){return v_().set(t,e),e}function v_(t){return Ft===null&&sp(),Ft.c??=new Map(PT(Ft)||void 0)}function PT(t){let e=t.p;for(;e!==null;){const n=e.c;if(n!==null)return n;e=e.p}return null}function b_(t,e=1){var n=+o(t);return x(t,n+e),n}function Q(t,e=!1,n){Ft={p:Ft,c:null,e:null,m:!1,s:t,x:null,l:null},e||(Ft.l={s:null,u:null,r1:[],r2:Wn(!1)})}function ee(t){const e=Ft;if(e!==null){t!==void 0&&(e.x=t);const r=e.e;if(r!==null){e.e=null;for(var n=0;n<r.length;n++)Yl(r[n])}Ft=e.p,e.m=!0}return t||{}}function ce(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(ao in t)lp(t);else if(!Array.isArray(t))for(let e in t){const n=t[e];typeof n=="object"&&n&&ao in n&&lp(n)}}}function lp(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let r in t)try{lp(t[r],e)}catch{}const n=ju(t);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Db(n);for(let i in r){const s=r[i].get;if(s)try{s.call(t)}catch{}}}}}const __=new Set,cp=new Set;function Qu(t,e,n,r){function i(s){if(r.capture||Ql.call(e,s),!s.cancelBubble)return n.call(this,s)}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?ha(()=>{e.addEventListener(t,i,r)}):e.addEventListener(t,i,r),i}function Xl(t,e,n,r={}){var i=Qu(e,t,n,r);return()=>{t.removeEventListener(e,i,r)}}function Yn(t,e,n,r,i){var s={capture:r,passive:i},a=Qu(t,e,n,s);(e===document.body||e===window||e===document)&&Yu(()=>{e.removeEventListener(t,a,s)})}function ed(t){for(var e=0;e<t.length;e++)__.add(t[e]);for(var n of cp)n(t)}function Ql(t){var e=this,n=e.ownerDocument,r=t.type,i=t.composedPath?.()||[],s=i[0]||t.target,a=0,l=t.__root;if(l){var c=i.indexOf(l);if(c!==-1&&(e===document||e===window)){t.__root=e;return}var u=i.indexOf(e);if(u===-1)return;c<=u&&(a=c)}if(s=i[a]||t.target,s!==e){YE(t,"currentTarget",{configurable:!0,get(){return s||n}});try{for(var d,f=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];if(p!==void 0&&!s.disabled)if(Hl(p)){var[g,...m]=p;g.apply(s,[t,...m])}else p.call(s,t)}catch(v){d?f.push(v):d=v}if(t.cancelBubble||h===e||h===null)break;s=h}if(d){for(let v of f)queueMicrotask(()=>{throw v});throw d}}finally{t.__root=e,delete t.currentTarget}}}function y_(t){var e;e=document.head.appendChild(co());try{Qi(()=>t(e),Fb)}finally{}}function w_(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function mo(t,e){var n=Wt;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function R(t,e){var n=(e&gT)!==0,r=(e&mT)!==0,i,s=!t.startsWith("<!>");return()=>{i===void 0&&(i=w_(s?t:"<!>"+t),n||(i=Wl(i)));var a=r?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=Wl(a),c=a.lastChild;mo(l,c)}else mo(a,a);return a}}function Ye(t=""){{var e=co(t+"");return mo(e,e),e}}function Y(){var t=document.createDocumentFragment(),e=document.createComment(""),n=co();return t.append(e,n),mo(e,n),t}function T(t,e){t!==null&&t.before(e)}function LT(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const NT=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function IT(t){return NT.includes(t)}const DT={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"};function RT(t){return t=t.toLowerCase(),DT[t]??t}const MT=["wheel","mousewheel","touchstart","touchmove"];function FT(t){return MT.includes(t)}function K(t,e){e!==(t.__t??=t.nodeValue)&&(t.__t=e,t.nodeValue=e==null?"":e+"")}function x_(t,e){const n=e.anchor??e.target.appendChild(co());return zT(t,{...e,anchor:n})}const vo=new Map;function zT(t,{target:e,anchor:n,props:r={},events:i,context:s,intro:a=!0}){vT();var l=new Set,c=f=>{for(var h=0;h<f.length;h++){var p=f[h];if(!l.has(p)){l.add(p);var g=FT(p);e.addEventListener(p,Ql,{passive:g});var m=vo.get(p);m===void 0?(document.addEventListener(p,Ql,{passive:g}),vo.set(p,1)):vo.set(p,m+1)}}};c(Zh(__)),cp.add(c);var u=void 0,d=wT(()=>(Fr(()=>{if(s){Q({});var f=Ft;f.c=s}i&&(r.$$events=i),u=t(n,r)||{},s&&ee()}),()=>{for(var f of l){e.removeEventListener(f,Ql);var h=vo.get(f);--h===0?(document.removeEventListener(f,Ql),vo.delete(f)):vo.set(f,h)}cp.delete(c),up.delete(u)}));return up.set(u,d),u}let up=new WeakMap;function UT(t){const e=up.get(t);e&&e()}const dp=0,td=1,fp=2;function bo(t,e,n,r,i){var s=t,a=Ju(),l=Ft,c,u,d,f,h=(a?Wn:oo)(void 0),p=(a?Wn:oo)(void 0),g=!1;function m(_,b){g=!0,b&&(a_(v),Zu(v),l_(l)),_===dp&&n&&(u?Rs(u):u=Fr(()=>n(s))),_===td&&r&&(d?Rs(d):d=Fr(()=>r(s,h))),_===fp&&i&&(f?Rs(f):f=Fr(()=>i(s,p))),_!==dp&&u&&ts(u,()=>u=null),_!==td&&d&&ts(d,()=>d=null),_!==fp&&f&&ts(f,()=>f=null),b&&(l_(null),Zu(null),a_(null),op())}var v=Qi(()=>{if(c!==(c=e())){if(ZE(c)){var _=c;g=!1,_.then(b=>{_===c&&(x(h,b),m(td,!0))},b=>{_===c&&(x(p,b),m(fp,!0))}),ha(()=>{g||m(dp,!0)})}else x(h,c),m(td,!1);return()=>c=null}})}function B(t,e,n,r=null,i=!1){var s=t,a=null,l=null,c=null,u=i?Vl:0;Qi(()=>{c!==(c=!!e())&&(c?(a?Rs(a):a=Fr(()=>n(s)),l&&ts(l,()=>{l=null})):(l?Rs(l):r&&(l=Fr(()=>r(s))),a&&ts(a,()=>{a=null})))},u)}function _o(t,e,n){var r=t,i=_r,s;Qi(()=>{Vu(i,i=e())&&(s&&ts(s),s=Fr(()=>n(r)))})}function jT(t,e){Ds(()=>{var n=e();for(var r in n){var i=n[r];i?t.style.setProperty(r,i):t.style.removeProperty(r)}}),Yu(()=>{t.remove()})}let yo=null;function k_(t){yo=t}function wr(t,e){return e}function BT(t,e,n,r){for(var i=[],s=e.length,a=0;a<s;a++)rp(e[a].e,i,!0);var l=s>0&&i.length===0&&n!==null;if(l){var c=n.parentNode;bT(c),c.append(n),r.clear(),Fs(t,e[0].prev,e[s-1].next)}Xb(i,()=>{for(var u=0;u<s;u++){var d=e[u];l||(r.delete(d.k),Fs(t,d.prev,d.next)),es(d.e,!l)}})}function ct(t,e,n,r,i,s=null){var a=t,l={flags:e,items:new Map,first:null},c=(e&Bb)!==0;if(c){var u=t;a=u.appendChild(co())}var d=null;Qi(()=>{var f=n(),h=Hl(f)?f:f==null?[]:Zh(f),p=h.length;qT(h,l,a,i,e,r),s!==null&&(p===0?d?Rs(d):d=Fr(()=>s(a)):d!==null&&ts(d,()=>{d=null}))})}function qT(t,e,n,r,i,s){var a=(i&cT)!==0,l=(i&(ep|tp))!==0,c=t.length,u=e.items,d=e.first,f=d,h,p=null,g,m=[],v=[],_,b,y,w;if(a)for(w=0;w<c;w+=1)_=t[w],b=s(_,w),y=u.get(b),y!==void 0&&(y.a?.measure(),(g??=new Set).add(y));for(w=0;w<c;w+=1){if(_=t[w],b=s(_,w),y=u.get(b),y===void 0){var k=f?f.e.nodes_start:n;p=VT(k,e,p,p===null?e.first:p.next,_,b,w,r,i),u.set(b,p),m=[],v=[],f=p.next;continue}if(l&&HT(y,_,w,i),y.e.f&fa&&(Rs(y.e),a&&(y.a?.unfix(),(g??=new Set).delete(y))),y!==f){if(h!==void 0&&h.has(y)){if(m.length<v.length){var S=v[0],A;p=S.prev;var $=m[0],O=m[m.length-1];for(A=0;A<m.length;A+=1)S_(m[A],S,n);for(A=0;A<v.length;A+=1)h.delete(v[A]);Fs(e,$.prev,O.next),Fs(e,p,$),Fs(e,O,S),f=S,p=O,w-=1,m=[],v=[]}else h.delete(y),S_(y,f,n),Fs(e,y.prev,y.next),Fs(e,y,p===null?e.first:p.next),Fs(e,p,y),p=y;continue}for(m=[],v=[];f!==null&&f.k!==b;)(h??=new Set).add(f),v.push(f),f=f.next;if(f===null)continue;y=f}m.push(y),p=y,f=y.next}if(f!==null||h!==void 0){for(var P=h===void 0?[]:Zh(h);f!==null;)P.push(f),f=f.next;var D=P.length;if(D>0){var j=i&Bb&&c===0?n:null;if(a){for(w=0;w<D;w+=1)P[w].a?.measure();for(w=0;w<D;w+=1)P[w].a?.fix()}BT(e,P,j,u)}}a&&ha(()=>{if(g!==void 0)for(y of g)y.a?.apply()}),Wt.first=e.first&&e.first.e,Wt.last=p&&p.e}function HT(t,e,n,r){r&ep&&x(t.v,e),r&tp?x(t.i,n):t.i=n}function VT(t,e,n,r,i,s,a,l,c){var u=yo;try{var d=(c&ep)!==0,f=(c&uT)===0,h=d?f?oo(i):Wn(i):i,p=c&tp?Wn(a):a,g={i:p,v:h,k:s,a:null,e:null,prev:n,next:r};return yo=g,g.e=Fr(()=>l(t,h,p),Vb),g.e.prev=n&&n.e,g.e.next=r&&r.e,n===null?e.first=g:(n.next=g,n.e.next=g.e),r!==null&&(r.prev=g,r.e.prev=g.e),g}finally{yo=u}}function S_(t,e,n){for(var r=t.next?t.next.e.nodes_start:n,i=e?e.e.nodes_start:n,s=t.e.nodes_start;s!==r;){var a=Wu(s);i.before(s),s=a}}function Fs(t,e,n){e===null?t.first=n:(e.next=n,e.e.next=n&&n.e),n!==null&&(n.prev=e,n.e.prev=e&&e.e)}function xr(t,e,n,r,i){var s=t,a="",l;Qi(()=>{a!==(a=e()??"")&&(l!==void 0&&(es(l),l=void 0),a!==""&&(l=Fr(()=>{var c=a+"",u=w_(c);mo(Wl(u),u.lastChild),s.before(u)})))})}function Qr(t,e,n,r){e===void 0||e(t,n)}function Ue(t,e,...n){var r=t,i=Je,s;Qi(()=>{i!==(i=e())&&(s&&(es(s),s=null),s=Fr(()=>i(r,...n)))},Vl)}function ec(t,e,n){var r=t,i,s;Qi(()=>{i!==(i=e())&&(s&&(ts(s),s=null),i&&(s=Fr(()=>n(r,i))))})}function WT(t,e,n,r,i,s){var a,l,c=null,u=t,d,f=yo;Qi(()=>{const h=e()||null;var p=h==="svg"?Hb:null;if(h!==a){var g=yo;k_(f),d&&(h===null?ts(d,()=>{d=null,l=null}):h===l?Rs(d):es(d)),h&&h!==l&&(d=Fr(()=>{if(c=p?document.createElementNS(p,h):document.createElement(h),mo(c,c),r){var m=c.appendChild(co());r(c,m)}Wt.nodes_end=c,u.before(c)})),a=h,a&&(l=a),k_(g)}},Vl)}var E_=new Set;function Te(t,e,n=!1){if(!n){if(E_.has(e))return;E_.add(e)}ha(()=>{var r=t.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+e.hash)){const s=document.createElement("style");s.id=e.hash,s.textContent=e.code,i.appendChild(s)}})}function zs(t,e,n){Yl(()=>{var r=Me(()=>e(t,n?.())||{});if(n&&r?.update){var i=!1,s={};Ds(()=>{var a=n();ce(a),i&&Vu(s,a)&&(s=a,r.update(a))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function YT(t,e){if(e){const n=document.body;t.autofocus=!0,ha(()=>{document.activeElement===n&&t.focus()})}}let T_=!1;function GT(){T_||(T_=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{if(!t.defaultPrevented)for(const e of t.target.elements)e.__on_r?.()})},{capture:!0}))}function Oe(t,e,n,r){n=n==null?null:n+"";var i=t.__attributes??={};i[e]!==(i[e]=n)&&(e==="loading"&&(t[Xh]=n),n===null?t.removeAttribute(e):t.setAttribute(e,n))}function KT(t,e,n){if(e in t){try{var r=t[e]}catch{Oe(t,e,n);return}var i=typeof r=="boolean"&&n===""?!0:n;(typeof r!="object"||r!==i)&&(t[e]=i)}else Oe(t,e,n)}function mt(t,e,n,r,i=!1,s){var a=e||{},l=t.tagName==="OPTION";for(var c in e)c in n||(n[c]=null);r!==void 0&&(n.class=n.class?n.class+" "+r:r);var u=A_.get(t.nodeName);u||A_.set(t.nodeName,u=XT(t));var d=t.__attributes??={},f=[];for(const v in n){let _=n[v];if(l&&v==="value"&&_==null){t.value=t.__value="",a[v]=_;continue}var h=a[v];if(_!==h){a[v]=_;var p=v[0]+v[1];if(p!=="$$")if(p==="on"){const b={},y="$$"+v;let w=v.slice(2);var g=IT(w);if(LT(w)&&(w=w.slice(0,-7),b.capture=!0),!g&&h){if(_!=null)continue;t.removeEventListener(w,a[y],b),a[y]=null}if(_!=null)if(g)t[`__${w}`]=_,ed([w]);else{let k=function(S){a[v].call(this,S)};e?a[y]=Qu(w,t,k,b):f.push([v,_,()=>a[y]=Qu(w,t,k,b)])}}else if(_==null)d[v]=null,t.removeAttribute(v);else if(v==="style")t.style.cssText=_+"";else if(v==="autofocus")YT(t,!!_);else if(v==="__value"||v==="value")t.value=t[v]=t.__value=_;else{var m=v;i||(m=RT(m)),u.includes(m)?t[m]=_:typeof _!="function"&&Oe(t,m,_)}}}return e||ha(()=>{if(t.isConnected)for(const[v,_,b]of f)a[v]===_&&b()}),a}function ZT(t,e,n,r){if(t.tagName.includes("-")){for(var i in e)i in n||(n[i]=null);n.class=n.class?n.class+" "+r:r;for(i in n)KT(t,i,n[i]);return n}return mt(t,e,n,r,t.namespaceURI!==Hb)}var JT=["width","height","draggable"],A_=new Map;function XT(t){for(var e=[],n,r=ju(t);r.constructor.name!=="Element";){n=Db(r);for(var i in n)n[i].set&&!JT.includes(i)&&e.push(i);r=ju(r)}return e}function tc(t){if(t.loading==="lazy"){var e=t.src;t[Xh]=null,t.loading="eager",t.removeAttribute("src"),requestAnimationFrame(()=>{t[Xh]!=="eager"&&(t.loading="lazy"),t.src=e})}}function kr(t,e){var n=t.__className,r=QT(e);(n!==r||Vb)&&(e==null?t.removeAttribute("class"):t.className=r,t.__className=r)}function QT(t){return t??""}function ut(t,e,n){if(n){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}function Sr(t,e,n,r,i){var s=t.__attributes??={},a=t.style,l="style-"+e;s[l]===n&&!i||(s[l]=n,n==null?a.removeProperty(e):a.setProperty(e,n,""))}function eA(t,e,n,r=n){t.addEventListener(e,n);const i=t.__on_r;i?t.__on_r=()=>{i(),r()}:t.__on_r=r,GT()}function nd(t,e,n){eA(t,"input",()=>{n($_(t)?C_(t.value):t.value)}),Ds(()=>{var r=e();$_(t)&&r===C_(t.value)||t.type==="date"&&!r&&!t.value||(t.value=r??"")})}function $_(t){var e=t.type;return e==="number"||e==="range"}function C_(t){return t===""?null:+t}function nc(t,e,n){var r=Ns(t,e);r&&r.set&&(t[e]=n,Yu(()=>{t[e]=null}))}function O_(t,e){return t===e||t?.[ao]===e}function Tt(t={},e,n,r){return Yl(()=>{var i,s;return Ds(()=>{i=s,s=r?.()||[],Me(()=>{t!==n(...s)&&(e(t,...s),i&&O_(n(...i),t)&&e(null,...i))})}),()=>{ha(()=>{s&&O_(n(...s),t)&&e(null,...s)})}}),t}function tA(t){return function(...e){var n=e[0];return n.stopPropagation(),t.apply(this,e)}}function rd(t){return function(...e){var n=e[0];return n.preventDefault(),t.apply(this,e)}}function ge(){const t=Ft,e=t.l.u;e&&(e.b.length&&yT(()=>{P_(t),qu(e.b)}),Tn(()=>{const n=Me(()=>e.m.map(JE));return()=>{for(const r of n)typeof r=="function"&&r()}}),e.a.length&&Tn(()=>{P_(t),qu(e.a)}))}function P_(t){if(t.l.s)for(const e of t.l.s)o(e);ce(t.s)}function nA(t,e){var n=t.$$events?.[e.type],r=Hl(n)?n.slice():n==null?[]:[n];for(var i of r)i.call(this,e)}function rc(t){var e=t.$$slots?.default;return e===!0?t.children:e}const rA={get(t,e){if(!t.exclude.includes(e))return t.props[e]},set(t,e){return!1},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function at(t,e,n){return new Proxy({props:t,exclude:e},rA)}const iA={get(t,e){if(!t.exclude.includes(e))return o(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,n){return e in t.special||(t.special[e]=E({get[e](){return t.props[e]}},e,qb)),t.special[e](n),b_(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),b_(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function In(t,e){return new Proxy({props:t,exclude:e,special:{},version:Wn(0)},iA)}const sA={get(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(Bu(r)&&(r=r()),typeof r=="object"&&r!==null&&e in r)return r[e]}},getOwnPropertyDescriptor(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(Bu(r)&&(r=r()),typeof r=="object"&&r!==null&&e in r){const i=Ns(r,e);return i&&!i.configurable&&(i.configurable=!0),i}}},has(t,e){for(let n of t.props)if(Bu(n)&&(n=n()),n!=null&&e in n)return!0;return!1},ownKeys(t){const e=[];for(let n of t.props){Bu(n)&&(n=n());for(const r in n)e.includes(r)||e.push(r)}return e}};function Yt(...t){return new Proxy({props:t},sA)}function E(t,e,n,r){var i=(n&dT)!==0,s=(n&fT)!==0,a=(n&hT)!==0,l=(n&pT)!==0,c=t[e],u=Ns(t,e)?.set,d=r,f=!0,h=!1,p=()=>(h=!0,f&&(f=!1,l?d=Me(r):d=r),d);c===void 0&&r!==void 0&&(u&&s&&iT(),c=p(),u&&u(c));var g;if(s)g=()=>{var w=t[e];return w===void 0?p():(f=!0,h=!1,w)};else{var m=(i?He:L)(()=>t[e]);m.f|=QE,g=()=>{var w=o(m);return w!==void 0&&(d=void 0),w===void 0?d:w}}if(!(n&qb))return g;if(u){var v=t.$$legacy;return function(w,k){return arguments.length>0?((!s||!k||v)&&u(k?g():w),w):g()}}var _=!1,b=oo(c),y=He(()=>{var w=g(),k=o(b);return _?(_=!1,k):b.v=w});return i||(y.equals=Qh),function(w,k){var S=o(y);if(arguments.length>0){const A=k?o(y):s&&a?lt(w):w;return y.equals(A)||(_=!0,x(b,A),h&&d!==void 0&&(d=A),o(y)),w}return S}}function hp(t,e,n){if(t==null)return e(void 0),n&&n(void 0),Je;const r=t.subscribe(e,n);return r.unsubscribe?()=>r.unsubscribe():r}function M(t,e,n){const r=n[e]??={store:null,source:oo(void 0),unsubscribe:Je};if(r.store!==t)if(r.unsubscribe(),r.store=t??null,t==null)r.source.v=void 0,r.unsubscribe=Je;else{var i=!0;r.unsubscribe=hp(t,s=>{i?r.source.v=s:x(r.source,s)}),i=!1}return o(r.source)}function Ve(t,e){return t.set(e),e}function me(){const t={};return Yu(()=>{for(var e in t)t[e].unsubscribe()}),t}function At(t,e,n){return t.set(n),e}function Ht(t){Ft===null&&sp(),Ft.l!==null?oA(Ft).m.push(t):Tn(()=>{const e=Me(t);if(typeof e=="function")return e})}function aA(t,e,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:r})}function ei(){const t=Ft;return t===null&&sp(),(e,n,r)=>{const i=t.s.$$events?.[e];if(i){const s=Hl(i)?i.slice():[i],a=aA(e,n,r);for(const l of s)l.call(t.x,a);return!a.defaultPrevented}return!0}}function oA(t){var e=t.l;return e.u??={a:[],b:[],m:[]}}const lA="5";typeof window<"u"&&(window.__svelte||={v:new Set}).v.add(lA);const cA=Object.freeze(Object.defineProperty({__proto__:null,strings:{ok:"OK",cancel:"Cancel",close:"Close",clear:"Clear",insert:"Insert",update:"Update",remove:"Remove",collapse:"Collapse",expand:"Expand",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:{decrease:"Decrease",increase:"Increase"},password_input:{show_password:"Show Password",hide_password:"Hide Password"},text_editor:{text_editor:"Text 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",bold:"Bold",italic:"Italic",code:"Code",link:"Link",insert_link:"Insert Link",update_link:"Update Link",text:"Text",url:"URL",edit_in_markdown:"Edit in Markdown",converter_error:"There was an error while enabling rich text mode. Please use the plain text editor instead."}}},Symbol.toStringTag,{value:"Module"})),uA=Object.freeze(Object.defineProperty({__proto__:null,strings:{ok:"OK",cancel:"キャンセル",close:"閉じる",clear:"クリア",insert:"挿入",update:"更新",remove:"削除",collapse:"折り畳む",expand:"広げる",calendar:{year:"年",previous_decade:"前の 10 年",next_decade:"次の 10 年",month:"月",previous_month:"前月",next_month:"翌月",today:"今日"},split_button:{x_options:"{name} オプション",more_options:"その他のオプション"},combobox:{select_an_option:"オプションを選択…",filter_options:"オプションを絞り込み",no_matching_options:"一致するオプションは見つかりませんでした"},number_input:{decrease:"減らす",increase:"増やす"},password_input:{show_password:"パスワードを表示",hide_password:"パスワードを隠す"},text_editor:{text_editor:"テキストエディター",text_style_options:"テキストスタイルオプション",show_text_style_options:"テキストスタイルオプションを表示",paragraph:"段落",heading_1:"見出し 1",heading_2:"見出し 2",heading_3:"見出し 3",heading_4:"見出し 4",heading_5:"見出し 5",heading_6:"見出し 6",bulleted_list:"番号なしリスト",numbered_list:"番号付きリスト",blockquote:"ブロック引用",bold:"太字",italic:"斜体",code:"コード",link:"リンク",insert_link:"リンクを挿入",update_link:"リンクを更新",text:"テキスト",url:"URL",edit_in_markdown:"マークダウンで編集",converter_error:"リッチテキストモードを有効化中に問題が発生しました。代わりにプレーンテキストエディターを使用してください。"}}},Symbol.toStringTag,{value:"Module"})),wo=[];function dA(t,e){return{subscribe:Ge(t,e).subscribe}}function Ge(t,e=Je){let n=null;const r=new Set;function i(l){if(Vu(t,l)&&(t=l,n)){const c=!wo.length;for(const u of r)u[1](),wo.push(u,t);if(c){for(let u=0;u<wo.length;u+=2)wo[u][0](wo[u+1]);wo.length=0}}}function s(l){i(l(t))}function a(l,c=Je){const u=[l,c];return r.add(u),r.size===1&&(n=e(i,s)||Je),l(t),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:s,subscribe:a}}function jn(t,e,n){const r=!Array.isArray(t),i=r?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return dA(n,(a,l)=>{let c=!1;const u=[];let d=0,f=Je;const h=()=>{if(d)return;f();const g=e(r?u[0]:u,a,l);s?a(g):f=typeof g=="function"?g:Je},p=i.map((g,m)=>hp(g,v=>{u[m]=v,d&=~(1<<m),c&&h()},()=>{d|=1<<m}));return c=!0,h(),function(){qu(p),f(),c=!1}})}function re(t){let e;return hp(t,n=>e=n)(),e}var pp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gp(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fA=function(e){return hA(e)&&!pA(e)};function hA(t){return!!t&&typeof t=="object"}function pA(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||vA(t)}var gA=typeof Symbol=="function"&&Symbol.for,mA=gA?Symbol.for("react.element"):60103;function vA(t){return t.$$typeof===mA}function bA(t){return Array.isArray(t)?[]:{}}function ic(t,e){return e.clone!==!1&&e.isMergeableObject(t)?xo(bA(t),t,e):t}function _A(t,e,n){return t.concat(e).map(function(r){return ic(r,n)})}function yA(t,e){if(!e.customMerge)return xo;var n=e.customMerge(t);return typeof n=="function"?n:xo}function wA(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function L_(t){return Object.keys(t).concat(wA(t))}function N_(t,e){try{return e in t}catch{return!1}}function xA(t,e){return N_(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function kA(t,e,n){var r={};return n.isMergeableObject(t)&&L_(t).forEach(function(i){r[i]=ic(t[i],n)}),L_(e).forEach(function(i){xA(t,i)||(N_(t,i)&&n.isMergeableObject(e[i])?r[i]=yA(i,n)(t[i],e[i],n):r[i]=ic(e[i],n))}),r}function xo(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||_A,n.isMergeableObject=n.isMergeableObject||fA,n.cloneUnlessOtherwiseSpecified=ic;var r=Array.isArray(e),i=Array.isArray(t),s=r===i;return s?r?n.arrayMerge(t,e,n):kA(t,e,n):ic(e,n)}xo.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,i){return xo(r,i,n)},{})};var SA=xo,EA=SA;const I_=gp(EA);var mp=function(t,e){return mp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},mp(t,e)};function id(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");mp(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Lt=function(){return Lt=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Lt.apply(this,arguments)};function TA(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function vp(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var St;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(St||(St={}));var en;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(en||(en={}));var ko;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(ko||(ko={}));function D_(t){return t.type===en.literal}function AA(t){return t.type===en.argument}function R_(t){return t.type===en.number}function M_(t){return t.type===en.date}function F_(t){return t.type===en.time}function z_(t){return t.type===en.select}function U_(t){return t.type===en.plural}function $A(t){return t.type===en.pound}function j_(t){return t.type===en.tag}function B_(t){return!!(t&&typeof t=="object"&&t.type===ko.number)}function bp(t){return!!(t&&typeof t=="object"&&t.type===ko.dateTime)}var q_=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,CA=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function OA(t){var e={};return t.replace(CA,function(n){var r=n.length;switch(n[0]){case"G":e.era=r===4?"long":r===5?"narrow":"short";break;case"y":e.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var PA=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function LA(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(PA).filter(function(h){return h.length>0}),n=[],r=0,i=e;r<i.length;r++){var s=i[r],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],c=a.slice(1),u=0,d=c;u<d.length;u++){var f=d[u];if(f.length===0)throw new Error("Invalid number skeleton")}n.push({stem:l,options:c})}return n}function NA(t){return t.replace(/^(.*?)-/,"")}var H_=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,V_=/^(@+)?(\+|#+)?[rs]?$/g,IA=/(\*)(0+)|(#+)(0+)|(0+)/g,W_=/^(0+)$/;function Y_(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(V_,function(n,r,i){return typeof i!="string"?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):i==="+"?e.minimumSignificantDigits=r.length:r[0]==="#"?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),e}function G_(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function DA(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2);if(n==="+!"?(e.signDisplay="always",t=t.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!W_.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function K_(t){var e={},n=G_(t);return n||e}function RA(t){for(var e={},n=0,r=t;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=NA(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=Lt(Lt(Lt({},e),{notation:"scientific"}),i.options.reduce(function(c,u){return Lt(Lt({},c),K_(u))},{}));continue;case"engineering":e=Lt(Lt(Lt({},e),{notation:"engineering"}),i.options.reduce(function(c,u){return Lt(Lt({},c),K_(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(IA,function(c,u,d,f,h,p){if(u)e.minimumIntegerDigits=d.length;else{if(f&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(W_.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(H_.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(H_,function(c,u,d,f,h,p){return d==="*"?e.minimumFractionDigits=u.length:f&&f[0]==="#"?e.maximumFractionDigits=f.length:h&&p?(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?e=Lt(Lt({},e),{trailingZeroDisplay:"stripIfInteger"}):s&&(e=Lt(Lt({},e),Y_(s)));continue}if(V_.test(i.stem)){e=Lt(Lt({},e),Y_(i.stem));continue}var a=G_(i.stem);a&&(e=Lt(Lt({},e),a));var l=DA(i.stem);l&&(e=Lt(Lt({},e),l))}return e}var sd={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function MA(t,e){for(var n="",r=0;r<t.length;r++){var i=t.charAt(r);if(i==="j"){for(var s=0;r+1<t.length&&t.charAt(r+1)===i;)s++,r++;var a=1+(s&1),l=s<2?1:3+(s>>1),c="a",u=FA(e);for((u=="H"||u=="k")&&(l=0);l-- >0;)n+=c;for(;a-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function FA(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=t.language,r;n!=="root"&&(r=t.maximize().region);var i=sd[r||""]||sd[n||""]||sd["".concat(n,"-001")]||sd["001"];return i[0]}var _p,zA=new RegExp("^".concat(q_.source,"*")),UA=new RegExp("".concat(q_.source,"*$"));function $t(t,e){return{start:t,end:e}}var jA=!!String.prototype.startsWith&&"_a".startsWith("a",1),BA=!!String.fromCodePoint,qA=!!Object.fromEntries,HA=!!String.prototype.codePointAt,VA=!!String.prototype.trimStart,WA=!!String.prototype.trimEnd,YA=!!Number.isSafeInteger,GA=YA?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},yp=!0;try{var KA=Q_("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yp=((_p=KA.exec("a"))===null||_p===void 0?void 0:_p[0])==="a"}catch{yp=!1}var Z_=jA?function(e,n,r){return e.startsWith(n,r)}:function(e,n,r){return e.slice(r,r+n.length)===n},wp=BA?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r="",i=e.length,s=0,a;i>s;){if(a=e[s++],a>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return r},J_=qA?Object.fromEntries:function(e){for(var n={},r=0,i=e;r<i.length;r++){var s=i[r],a=s[0],l=s[1];n[a]=l}return n},X_=HA?function(e,n){return e.codePointAt(n)}:function(e,n){var r=e.length;if(!(n<0||n>=r)){var i=e.charCodeAt(n),s;return i<55296||i>56319||n+1===r||(s=e.charCodeAt(n+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},ZA=VA?function(e){return e.trimStart()}:function(e){return e.replace(zA,"")},JA=WA?function(e){return e.trimEnd()}:function(e){return e.replace(UA,"")};function Q_(t,e){return new RegExp(t,e)}var xp;if(yp){var ey=Q_("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xp=function(e,n){var r;ey.lastIndex=n;var i=ey.exec(e);return(r=i[1])!==null&&r!==void 0?r:""}}else xp=function(e,n){for(var r=[];;){var i=X_(e,n);if(i===void 0||ty(i)||t2(i))break;r.push(i),n+=i>=65536?2:1}return wp.apply(void 0,r)};var XA=function(){function t(e,n){n===void 0&&(n={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,n,r){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(e,r);if(a.err)return a;i.push(a.val)}else{if(s===125&&e>0)break;if(s===35&&(n==="plural"||n==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:en.pound,location:$t(l,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(St.UNMATCHED_CLOSING_TAG,$t(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&kp(this.peek()||0)){var a=this.parseTag(e,n);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(e,n);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:en.literal,value:"<".concat(i,"/>"),location:$t(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(e+1,n,!0);if(s.err)return s;var a=s.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!kp(this.char()))return this.error(St.INVALID_TAG,$t(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(St.UNMATCHED_CLOSING_TAG,$t(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:en.tag,value:i,children:a,location:$t(r,this.clonePosition())},err:null}:this.error(St.INVALID_TAG,$t(l,this.clonePosition())))}else return this.error(St.UNCLOSED_TAG,$t(r,this.clonePosition()))}else return this.error(St.INVALID_TAG,$t(r,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&e2(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,n){for(var r=this.clonePosition(),i="";;){var s=this.tryParseQuote(n);if(s){i+=s;continue}var a=this.tryParseUnquoted(e,n);if(a){i+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var c=$t(r,this.clonePosition());return{val:{type:en.literal,value:i,location:c},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!QA(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return wp.apply(void 0,n)},t.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&e>0?null:(this.bump(),wp(r))},t.prototype.parseArgument=function(e,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(St.EMPTY_ARGUMENT,$t(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(St.MALFORMED_ARGUMENT,$t(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:en.argument,value:i,location:$t(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition())):this.parseArgumentOptions(e,n,i,r);default:return this.error(St.MALFORMED_ARGUMENT,$t(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),r=xp(this.message,n),i=n+r.length;this.bumpTo(i);var s=this.clonePosition(),a=$t(e,s);return{value:r,location:a}},t.prototype.parseArgumentOptions=function(e,n,r,i){var s,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(St.EXPECT_ARGUMENT_TYPE,$t(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var d=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var h=JA(f.val);if(h.length===0)return this.error(St.EXPECT_ARGUMENT_STYLE,$t(this.clonePosition(),this.clonePosition()));var p=$t(d,this.clonePosition());u={style:h,styleLocation:p}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var m=$t(i,this.clonePosition());if(u&&Z_(u?.style,"::",0)){var v=ZA(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(v,u.styleLocation);return f.err?f:{val:{type:en.number,value:r,location:m,style:f.val},err:null}}else{if(v.length===0)return this.error(St.EXPECT_DATE_TIME_SKELETON,m);var _=v;this.locale&&(_=MA(v,this.locale));var h={type:ko.dateTime,pattern:_,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?OA(_):{}},b=l==="date"?en.date:en.time;return{val:{type:b,value:r,location:m,style:h},err:null}}}return{val:{type:l==="number"?en.number:l==="date"?en.date:en.time,value:r,location:m,style:(s=u?.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(St.EXPECT_SELECT_ARGUMENT_OPTIONS,$t(y,Lt({},y)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),k=0;if(l!=="select"&&w.value==="offset"){if(!this.bumpIf(":"))return this.error(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$t(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,St.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),w=this.parseIdentifierIfPossible(),k=f.val}var S=this.tryParsePluralOrSelectOptions(e,l,n,w);if(S.err)return S;var g=this.tryParseArgumentClose(i);if(g.err)return g;var A=$t(i,this.clonePosition());return l==="select"?{val:{type:en.select,value:r,options:J_(S.val),location:A},err:null}:{val:{type:en.plural,value:r,options:J_(S.val),offset:k,pluralType:l==="plural"?"cardinal":"ordinal",location:A},err:null}}default:return this.error(St.INVALID_ARGUMENT_TYPE,$t(a,c))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(St.EXPECT_ARGUMENT_CLOSING_BRACE,$t(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(St.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$t(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,n){var r=[];try{r=LA(e)}catch{return this.error(St.INVALID_NUMBER_SKELETON,n)}return{val:{type:ko.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?RA(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,n,r,i){for(var s,a=!1,l=[],c=new Set,u=i.value,d=i.location;;){if(u.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(St.EXPECT_PLURAL_ARGUMENT_SELECTOR,St.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;d=$t(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(c.has(u))return this.error(n==="select"?St.DUPLICATE_SELECT_ARGUMENT_SELECTOR:St.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,d);u==="other"&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:St.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$t(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(e+1,n,r);if(g.err)return g;var m=this.tryParseArgumentClose(p);if(m.err)return m;l.push([u,{value:g.val,location:$t(p,this.clonePosition())}]),c.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,d=s.location}return l.length===0?this.error(n==="select"?St.EXPECT_SELECT_ARGUMENT_SELECTOR:St.EXPECT_PLURAL_ARGUMENT_SELECTOR,$t(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(St.MISSING_OTHER_CLAUSE,$t(this.clonePosition(),this.clonePosition())):{val:l,err:null}},t.prototype.tryParseDecimalInteger=function(e,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var s=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)s=!0,a=a*10+(l-48),this.bump();else break}var c=$t(i,this.clonePosition());return s?(a*=r,GA(a)?{val:a,err:null}:this.error(n,c)):this.error(e,c)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=X_(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},t.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Z_(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var n=this.offset(),r=this.message.indexOf(e,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var n=this.offset();if(n===e)break;if(n>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&ty(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(e>=65536?2:1));return r??null},t}();function kp(t){return t>=97&&t<=122||t>=65&&t<=90}function QA(t){return kp(t)||t===47}function e2(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function ty(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function t2(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Sp(t){t.forEach(function(e){if(delete e.location,z_(e)||U_(e))for(var n in e.options)delete e.options[n].location,Sp(e.options[n].value);else R_(e)&&B_(e.style)||(M_(e)||F_(e))&&bp(e.style)?delete e.style.location:j_(e)&&Sp(e.children)})}function n2(t,e){e===void 0&&(e={}),e=Lt({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new XA(t,e).parse();if(n.err){var r=SyntaxError(St[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return e?.captureLocation||Sp(n.val),n.val}function Ep(t,e){var n=e&&e.cache?e.cache:l2,r=e&&e.serializer?e.serializer:o2,i=e&&e.strategy?e.strategy:i2;return i(t,{cache:n,serializer:r})}function r2(t){return t==null||typeof t=="number"||typeof t=="boolean"}function ny(t,e,n,r){var i=r2(r)?r:n(r),s=e.get(i);return typeof s>"u"&&(s=t.call(this,r),e.set(i,s)),s}function ry(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),s=e.get(i);return typeof s>"u"&&(s=t.apply(this,r),e.set(i,s)),s}function Tp(t,e,n,r,i){return n.bind(e,t,r,i)}function i2(t,e){var n=t.length===1?ny:ry;return Tp(t,this,n,e.cache.create(),e.serializer)}function s2(t,e){return Tp(t,this,ry,e.cache.create(),e.serializer)}function a2(t,e){return Tp(t,this,ny,e.cache.create(),e.serializer)}var o2=function(){return JSON.stringify(arguments)};function Ap(){this.cache=Object.create(null)}Ap.prototype.get=function(t){return this.cache[t]},Ap.prototype.set=function(t,e){this.cache[t]=e};var l2={create:function(){return new Ap}},$p={variadic:s2,monadic:a2},So;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(So||(So={}));var ad=function(t){id(e,t);function e(n,r,i){var s=t.call(this,n)||this;return s.code=r,s.originalMessage=i,s}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),iy=function(t){id(e,t);function e(n,r,i,s){return t.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),So.INVALID_VALUE,s)||this}return e}(ad),c2=function(t){id(e,t);function e(n,r,i){return t.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),So.INVALID_VALUE,i)||this}return e}(ad),u2=function(t){id(e,t);function e(n,r){return t.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),So.MISSING_VALUE,r)||this}return e}(ad),ar;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(ar||(ar={}));function d2(t){return t.length<2?t:t.reduce(function(e,n){var r=e[e.length-1];return!r||r.type!==ar.literal||n.type!==ar.literal?e.push(n):r.value+=n.value,e},[])}function f2(t){return typeof t=="function"}function od(t,e,n,r,i,s,a){if(t.length===1&&D_(t[0]))return[{type:ar.literal,value:t[0].value}];for(var l=[],c=0,u=t;c<u.length;c++){var d=u[c];if(D_(d)){l.push({type:ar.literal,value:d.value});continue}if($A(d)){typeof s=="number"&&l.push({type:ar.literal,value:n.getNumberFormat(e).format(s)});continue}var f=d.value;if(!(i&&f in i))throw new u2(f,a);var h=i[f];if(AA(d)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),l.push({type:typeof h=="string"?ar.literal:ar.object,value:h});continue}if(M_(d)){var p=typeof d.style=="string"?r.date[d.style]:bp(d.style)?d.style.parsedOptions:void 0;l.push({type:ar.literal,value:n.getDateTimeFormat(e,p).format(h)});continue}if(F_(d)){var p=typeof d.style=="string"?r.time[d.style]:bp(d.style)?d.style.parsedOptions:r.time.medium;l.push({type:ar.literal,value:n.getDateTimeFormat(e,p).format(h)});continue}if(R_(d)){var p=typeof d.style=="string"?r.number[d.style]:B_(d.style)?d.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),l.push({type:ar.literal,value:n.getNumberFormat(e,p).format(h)});continue}if(j_(d)){var g=d.children,m=d.value,v=i[m];if(!f2(v))throw new c2(m,"function",a);var _=od(g,e,n,r,i,s),b=v(_.map(function(k){return k.value}));Array.isArray(b)||(b=[b]),l.push.apply(l,b.map(function(k){return{type:typeof k=="string"?ar.literal:ar.object,value:k}}))}if(z_(d)){var y=d.options[h]||d.options.other;if(!y)throw new iy(d.value,h,Object.keys(d.options),a);l.push.apply(l,od(y.value,e,n,r,i));continue}if(U_(d)){var y=d.options["=".concat(h)];if(!y){if(!Intl.PluralRules)throw new ad(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,So.MISSING_INTL_API,a);var w=n.getPluralRules(e,{type:d.pluralType}).select(h-(d.offset||0));y=d.options[w]||d.options.other}if(!y)throw new iy(d.value,h,Object.keys(d.options),a);l.push.apply(l,od(y.value,e,n,r,i,h-(d.offset||0)));continue}}return d2(l)}function h2(t,e){return e?Lt(Lt(Lt({},t||{}),e||{}),Object.keys(t).reduce(function(n,r){return n[r]=Lt(Lt({},t[r]),e[r]||{}),n},{})):t}function p2(t,e){return e?Object.keys(t).reduce(function(n,r){return n[r]=h2(t[r],e[r]),n},Lt({},t)):t}function Cp(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,n){t[e]=n}}}}}function g2(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ep(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,vp([void 0],n,!1)))},{cache:Cp(t.number),strategy:$p.variadic}),getDateTimeFormat:Ep(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,vp([void 0],n,!1)))},{cache:Cp(t.dateTime),strategy:$p.variadic}),getPluralRules:Ep(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,vp([void 0],n,!1)))},{cache:Cp(t.pluralRules),strategy:$p.variadic})}}var sy=function(){function t(e,n,r,i){var s=this;if(n===void 0&&(n=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=s.formatToParts(c);if(u.length===1)return u[0].value;var d=u.reduce(function(f,h){return!f.length||h.type!==ar.literal||typeof f[f.length-1]!="string"?f.push(h.value):f[f.length-1]+=h.value,f},[]);return d.length<=1?d[0]||"":d},this.formatToParts=function(c){return od(s.ast,s.locales,s.formatters,s.formats,c,void 0,s.message)},this.resolvedOptions=function(){var c;return{locale:((c=s.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var l=TA(a,["formatters"]);this.ast=t.__parse(e,Lt(Lt({},l),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=p2(t.formats,r),this.formatters=i&&i.formatters||g2(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(e);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=n2,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();function m2(t,e){if(e==null)return;if(e in t)return t[e];const n=e.split(".");let r=t;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const s=n.slice(i,n.length).join(".");if(s in r){r=r[s];break}}r=r[n[i]]}else r=void 0;return r}const Us={},v2=(t,e,n)=>n&&(e in Us||(Us[e]={}),t in Us[e]||(Us[e][t]=n),n),ay=(t,e)=>{if(e==null)return;if(e in Us&&t in Us[e])return Us[e][t];const n=lc(e);for(let r=0;r<n.length;r++){const i=n[r],s=_2(i,t);if(s)return v2(t,e,s)}};let Op;const sc=Ge({});function b2(t){return Op[t]||null}function oy(t){return t in Op}function _2(t,e){if(!oy(t))return null;const n=b2(t);return m2(n,e)}function y2(t){if(t==null)return;const e=lc(t);for(let n=0;n<e.length;n++){const r=e[n];if(oy(r))return r}}function Pp(t,...e){delete Us[t],sc.update(n=>(n[t]=I_.all([n[t]||{},...e]),n))}const ly=jn([sc],([t])=>Object.keys(t));sc.subscribe(t=>Op=t);const ld={};function w2(t,e){ld[t].delete(e),ld[t].size===0&&delete ld[t]}function cy(t){return ld[t]}function x2(t){return lc(t).map(e=>{const n=cy(e);return[e,n?[...n]:[]]}).filter(([,e])=>e.length>0)}function cd(t){return t==null?!1:lc(t).some(e=>{var n;return(n=cy(e))==null?void 0:n.size})}function k2(t,e){return Promise.all(e.map(r=>(w2(t,r),r().then(i=>i.default||i)))).then(r=>Pp(t,...r))}const ac={};function uy(t){if(!cd(t))return t in ac?ac[t]:Promise.resolve();const e=x2(t);return ac[t]=Promise.all(e.map(([n,r])=>k2(n,r))).then(()=>{if(cd(t))return uy(t);delete ac[t]}),ac[t]}var dy=Object.getOwnPropertySymbols,S2=Object.prototype.hasOwnProperty,E2=Object.prototype.propertyIsEnumerable,T2=(t,e)=>{var n={};for(var r in t)S2.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&dy)for(var r of dy(t))e.indexOf(r)<0&&E2.call(t,r)&&(n[r]=t[r]);return n};const A2={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function $2({locale:t,id:e}){console.warn(`[svelte-i18n] The message "${e}" was not found in "${lc(t).join('", "')}".${cd(js())?`
|
|
4
4
|
|
|
@@ -655,7 +655,7 @@ input.svelte-1lbg3e3::placeholder,
|
|
|
655
655
|
text-align: var(--sui-textbox-placeholder-text-align, var(--sui-textbox-text-align, left));
|
|
656
656
|
text-indent: var(--sui-textbox-placeholder-text-indent, var(--sui-textbox-text-indent, 0));
|
|
657
657
|
letter-spacing: var(--sui-textbox-placeholder-letter-spacing, var(--sui-textbox-letter-spacing, normal));
|
|
658
|
-
}`};function An(t,e){Q(e,!0),Te(t,Z$);let n=E(e,"value",15),r=E(e,"element",15),i=E(e,"role",3,"textbox"),s=E(e,"keyShortcuts",3,void 0),a=E(e,"name",3,void 0),l=E(e,"showInlineLabel",3,!1),c=E(e,"inputmode",3,"text"),u=E(e,"flex",3,!1),d=E(e,"hidden",3,!1),f=E(e,"disabled",3,!1),h=E(e,"readonly",3,!1),p=E(e,"required",3,!1),g=E(e,"invalid",3,!1),m=at(e,["$$slots","$$events","$$legacy","value","element","role","keyShortcuts","name","showInlineLabel","inputmode","flex","class","hidden","disabled","readonly","required","invalid","aria-label","children"
|
|
658
|
+
}`};function An(t,e){Q(e,!0),Te(t,Z$);let n=E(e,"value",15),r=E(e,"element",15),i=E(e,"role",3,"textbox"),s=E(e,"keyShortcuts",3,void 0),a=E(e,"name",3,void 0),l=E(e,"showInlineLabel",3,!1),c=E(e,"inputmode",3,"text"),u=E(e,"flex",3,!1),d=E(e,"hidden",3,!1),f=E(e,"disabled",3,!1),h=E(e,"readonly",3,!1),p=E(e,"required",3,!1),g=E(e,"invalid",3,!1),m=at(e,["$$slots","$$events","$$legacy","value","element","role","keyShortcuts","name","showInlineLabel","inputmode","flex","class","hidden","disabled","readonly","required","invalid","aria-label","children"]);const v=Gn("input");var _=K$(),b=I(_);Tt(b,k=>r(k),()=>r());let y;var w=N(b,2);B(w,()=>e["aria-label"]&&l(),k=>{var S=G$();Oe(S,"id",`${v??""}-label`);var A=I(S);U(()=>{ut(S,"hidden",!!n()),K(A,e["aria-label"])}),T(k,S)}),U(()=>{kr(_,`sui text-input ${e.class??""} svelte-1lbg3e3`),_.hidden=d(),ut(_,"flex",u()),ut(_,"disabled",f()),ut(_,"readonly",h()),y=mt(b,y,{...m,type:"text",role:i(),name:a()||void 0,tabindex:f()?-1:0,disabled:f()||void 0,readOnly:h()||void 0,inputmode:c(),"aria-hidden":d(),"aria-disabled":f(),"aria-readonly":h(),"aria-required":p(),"aria-invalid":g()},"svelte-1lbg3e3")}),Yl(()=>nd(b,n,k=>n(k))),zs(b,(k,S)=>_y(k,S),s),T(t,_),ee()}var J$=R('<!> <div class="input-outer svelte-1cxrmev"><!></div>',1);const X$={hash:"svelte-1cxrmev",code:`.input-outer.svelte-1cxrmev {
|
|
659
659
|
margin: 12px 0 0;
|
|
660
660
|
}`};function Q$(t,e){Q(e,!0),Te(t,X$);let n=E(e,"open",15,!1),r=E(e,"value",15,""),i=E(e,"textboxAttrs",19,()=>({})),s=at(e,["$$slots","$$events","$$legacy","open","value","textboxAttrs","children","input","onkeydown","onkeyup","onkeypress","oninput"]);Oi(t,Yt(()=>s,{get open(){return n()},set open(a){n(a)},role:"alertdialog",children:(a,l)=>{var c=J$(),u=z(c);Ue(u,()=>e.children??Je);var d=N(u,2),f=I(d);B(f,()=>e.input,h=>{var p=Y(),g=z(p);Ue(g,()=>e.input),T(h,p)},h=>{An(h,Yt({get value(){return r()},set value(p){r(p)},flex:!0,autofocus:!0},i,{get onkeydown(){return e.onkeydown},get onkeyup(){return e.onkeyup},get onkeypress(){return e.onkeypress},get oninput(){return e.oninput}}))}),T(a,c)},$$slots:{default:!0}})),ee()}var eC=R('<div role="row" class="row-group-caption svelte-qoydnw"><!></div>'),tC=R("<div><!> <!></div>");const nC={hash:"svelte-qoydnw",code:`[role=rowgroup].svelte-qoydnw {
|
|
661
661
|
display: table-row-group;
|
|
@@ -690,7 +690,7 @@ input.svelte-1lbg3e3::placeholder,
|
|
|
690
690
|
.grid.svelte-s4077y.data .grid-cell {
|
|
691
691
|
border: 1px solid var(--sui-secondary-border-color);
|
|
692
692
|
padding: 8px 8px;
|
|
693
|
-
}`};function cC(t,e){Q(e,!0),Te(t,lC);let n=E(e,"element",15),r=E(e,"multiple",3,!1),i=E(e,"clickToSelect",3,!0),s=at(e,["$$slots","$$events","$$legacy","element","class","multiple","clickToSelect","children","onChange"]);var a=oC();Tt(a,
|
|
693
|
+
}`};function cC(t,e){Q(e,!0),Te(t,lC);let n=E(e,"element",15),r=E(e,"multiple",3,!1),i=E(e,"clickToSelect",3,!0),s=at(e,["$$slots","$$events","$$legacy","element","class","multiple","clickToSelect","children","onChange"]);var a=oC();Tt(a,d=>n(d),()=>n());var l=d=>{e.onChange?.(d)};let c;var u=I(a);Ue(u,()=>e.children??Je),U(()=>c=mt(a,c,{...s,role:"grid",class:`sui grid ${e.class??""}`,"aria-multiselectable":r(),onChange:l},"svelte-s4077y")),zs(a,(d,f)=>Ao(d,f),()=>({clickToSelect:i()})),T(t,a),ee()}var uC=R('<div><div role="none" class="inner svelte-1i49j4h"><!></div></div>');const dC={hash:"svelte-1i49j4h",code:`[role=listbox].svelte-1i49j4h {
|
|
694
694
|
display: flex;
|
|
695
695
|
flex-direction: column;
|
|
696
696
|
margin: var(--sui-focus-ring-width);
|
|
@@ -798,7 +798,7 @@ input.svelte-1lbg3e3::placeholder,
|
|
|
798
798
|
.menu.svelte-p2ez68 [role="separator"] {
|
|
799
799
|
margin: var(--sui-menu-divider-margin, 4px);
|
|
800
800
|
background-color: var(--sui-menu-divider-color, var(--sui-control-border-color));
|
|
801
|
-
}`};function lr(t,e){Q(e,!0),Te(t,bC);let n=E(e,"hidden",3,!1),r=E(e,"disabled",3,!1),i=at(e,["$$slots","$$events","$$legacy","class","hidden","disabled","children","onChange"]);var s=vC();let
|
|
801
|
+
}`};function lr(t,e){Q(e,!0),Te(t,bC);let n=E(e,"hidden",3,!1),r=E(e,"disabled",3,!1),i=at(e,["$$slots","$$events","$$legacy","class","hidden","disabled","children","onChange"]);var s=vC(),a=u=>{e.onChange?.(u)};let l;var c=I(s);Ue(c,()=>e.children??Je),U(()=>l=mt(s,l,{...i,role:"menu",class:`sui menu ${e.class??""}`,hidden:n(),"aria-hidden":n(),"aria-disabled":r(),onChange:a},"svelte-p2ez68")),zs(s,u=>Ao(u)),T(t,s),ee()}var _C=R('<span role="none" class="icon-outer svelte-1vfv2b4"><!></span>'),yC=R('<div role="none" class="content svelte-1vfv2b4"><!></div> <!>',1),wC=R('<div role="none"><!> <!></div>');const xC={hash:"svelte-1vfv2b4",code:`.menuitem.svelte-1vfv2b4 {
|
|
802
802
|
position: relative;
|
|
803
803
|
}
|
|
804
804
|
.menuitem.svelte-1vfv2b4 button {
|
|
@@ -868,7 +868,7 @@ input.svelte-1lbg3e3::placeholder,
|
|
|
868
868
|
|
|
869
869
|
.inner.svelte-vlpdko {
|
|
870
870
|
display: contents;
|
|
871
|
-
}`};function EC(t,e){Q(e,!0),Te(t,SC);let n=E(e,"hidden",3,!1),r=E(e,"disabled",3,!1),i=E(e,"readonly",3,!1),s=E(e,"required",3,!1),a=E(e,"invalid",3,!1),l=E(e,"orientation",3,"horizontal"),c=at(e,["$$slots","$$events","$$legacy","class","hidden","disabled","readonly","required","invalid","orientation","children","onChange"]);var u=kC();let
|
|
871
|
+
}`};function EC(t,e){Q(e,!0),Te(t,SC);let n=E(e,"hidden",3,!1),r=E(e,"disabled",3,!1),i=E(e,"readonly",3,!1),s=E(e,"required",3,!1),a=E(e,"invalid",3,!1),l=E(e,"orientation",3,"horizontal"),c=at(e,["$$slots","$$events","$$legacy","class","hidden","disabled","readonly","required","invalid","orientation","children","onChange"]);var u=kC(),d=g=>{e.onChange?.(g)};let f;var h=I(u),p=I(h);Ue(p,()=>e.children??Je),U(()=>{f=mt(u,f,{...c,role:"radiogroup",class:`sui radio-group ${e.class??""} ${l()??""}`,tabindex:"-1",hidden:n(),"aria-hidden":n(),"aria-disabled":r(),"aria-readonly":i(),"aria-required":s(),"aria-invalid":a(),"aria-orientation":l(),onChange:d},"svelte-vlpdko"),h.inert=r()}),zs(u,g=>Ao(g)),T(t,u),ee()}var TC=R('<label class="svelte-1r3lwmu"><!></label>'),AC=R("<span><!> <!></span>");const $C={hash:"svelte-1r3lwmu",code:`.radio.svelte-1r3lwmu {
|
|
872
872
|
display: inline-flex;
|
|
873
873
|
align-items: center;
|
|
874
874
|
gap: 8px;
|
|
@@ -2656,8 +2656,8 @@ ${f}`}catch(h){console.error(h)}}return""},jv=(t,e,n)=>{const r=mr(t);if(!r)retu
|
|
|
2656
2656
|
height: 100%;
|
|
2657
2657
|
background-color: var(--sui-info-foreground-color);
|
|
2658
2658
|
transition: width 250ms;
|
|
2659
|
-
}`};function MU(t,e){Q(e,!1),Te(t,RU);const n=me(),r=()=>M(le,"$_",n),i=()=>M(Ti,"$user",n),s=()=>M(Tl,"$dataLoaded",n),a=()=>M(_t,"$siteConfig",n),l=()=>M(Vm,"$siteConfigError",n),c=()=>M(jm,"$prefsError",n),u=()=>M(yt,"$prefs",n),d=()=>M(Su,"$signInError",n),f=()=>M(M0,"$inAuthPopup",n),h=()=>M(Ka,"$unauthenticated",n),p=()=>M(Nh,"$dataLoadedProgress",n);F(()=>r(),()=>{Ve(Yi,r()("welcome_to_sveltia_cms"))}),Ie(),ge();var g=DU(),m=I(g),v=I(m),_=N(v,4);B(_,l,b=>{var y=$U(),w=I(y);U(()=>K(w,`${l().message??""}
|
|
2660
|
-
${r()("config.error.try_again")??""}`)),T(b,y)},b=>{var y=Y(),w=z(y);B(w,c,k=>{var S=CU(),A=I(S);U(()=>K(A,r()(`prefs.error.${c().type}`))),T(k,S)},k=>{var S=Y(),A=z(S);B(A,()=>!a()||!u(),$=>{var O=OU(),P=I(O);U(()=>K(P,r()("loading_site_config"))),T($,O)},$=>{var O=Y(),P=z(O);B(P,()=>d().message&&!d().canRetry,D=>{var j=PU(),H=I(j),q=I(H);U(()=>K(q,r()("loading_site_data_error")));var W=N(H,2),G=I(W);xr(G,()=>ii.sanitize(Nt.parseInline(d().message),{ALLOWED_TAGS:["a","code"],ALLOWED_ATTR:["href"]})),T(D,j)},D=>{var j=Y(),H=z(j);B(H,f,q=>{var W=LU(),G=I(W);U(()=>K(G,r()("authorizing"))),T(q,W)},q=>{var W=Y(),G=z(W);B(G,()=>!i()||h(),te=>{EU(te,{})},te=>{var J=Y(),V=z(J);B(V,()=>!s(),Z=>{var ae=IU(),ne=z(ae),ve=I(ne);U(()=>K(ve,r()("loading_site_data")));var se=N(ne,2);B(se,()=>p()!==void 0,oe=>{var fe=NU(),Ee=I(fe);U(()=>{Oe(fe,"aria-valuenow",p()),Sr(Ee,"width",`${p()}%`)}),T(oe,fe)}),T(Z,ae)},null,!0),T(te,J)},!0),T(q,W)},!0),T(D,j)},!0),T($,O)},!0),T(k,S)},!0),T(b,y)}),U(()=>
|
|
2659
|
+
}`};function MU(t,e){Q(e,!1),Te(t,RU);const n=me(),r=()=>M(le,"$_",n),i=()=>M(Ti,"$user",n),s=()=>M(Tl,"$dataLoaded",n),a=()=>M(_t,"$siteConfig",n),l=()=>M(Vm,"$siteConfigError",n),c=()=>M(jm,"$prefsError",n),u=()=>M(yt,"$prefs",n),d=()=>M(Su,"$signInError",n),f=()=>M(M0,"$inAuthPopup",n),h=()=>M(Ka,"$unauthenticated",n),p=()=>M(Nh,"$dataLoadedProgress",n);F(()=>r(),()=>{Ve(Yi,r()("welcome_to_sveltia_cms"))}),Ie(),ge();var g=DU(),m=I(g),v=I(m);U(()=>Oe(v,"src",a()?.logo_url||`data:image/svg+xml;base64,${btoa(b0)}`));var _=N(v,4);B(_,l,b=>{var y=$U(),w=I(y);U(()=>K(w,`${l().message??""}
|
|
2660
|
+
${r()("config.error.try_again")??""}`)),T(b,y)},b=>{var y=Y(),w=z(y);B(w,c,k=>{var S=CU(),A=I(S);U(()=>K(A,r()(`prefs.error.${c().type}`))),T(k,S)},k=>{var S=Y(),A=z(S);B(A,()=>!a()||!u(),$=>{var O=OU(),P=I(O);U(()=>K(P,r()("loading_site_config"))),T($,O)},$=>{var O=Y(),P=z(O);B(P,()=>d().message&&!d().canRetry,D=>{var j=PU(),H=I(j),q=I(H);U(()=>K(q,r()("loading_site_data_error")));var W=N(H,2),G=I(W);xr(G,()=>ii.sanitize(Nt.parseInline(d().message),{ALLOWED_TAGS:["a","code"],ALLOWED_ATTR:["href"]})),T(D,j)},D=>{var j=Y(),H=z(j);B(H,f,q=>{var W=LU(),G=I(W);U(()=>K(G,r()("authorizing"))),T(q,W)},q=>{var W=Y(),G=z(W);B(G,()=>!i()||h(),te=>{EU(te,{})},te=>{var J=Y(),V=z(J);B(V,()=>!s(),Z=>{var ae=IU(),ne=z(ae),ve=I(ne);U(()=>K(ve,r()("loading_site_data")));var se=N(ne,2);B(se,()=>p()!==void 0,oe=>{var fe=NU(),Ee=I(fe);U(()=>{Oe(fe,"aria-valuenow",p()),Sr(Ee,"width",`${p()}%`)}),T(oe,fe)}),T(Z,ae)},null,!0),T(te,J)},!0),T(q,W)},!0),T(D,j)},!0),T($,O)},!0),T(k,S)},!0),T(b,y)}),U(()=>g.inert=i()&&s()),tc(v),T(t,g),ee()}var FU=R('<div role="alert"> <!></div>');const zU={hash:"svelte-1tew8xu",code:`.wrapper.svelte-1tew8xu {
|
|
2661
2661
|
flex: none;
|
|
2662
2662
|
display: flex;
|
|
2663
2663
|
align-items: center;
|
|
@@ -2680,7 +2680,7 @@ ${f}`}catch(h){console.error(h)}}return""},jv=(t,e,n)=>{const r=mr(t);if(!r)retu
|
|
|
2680
2680
|
}
|
|
2681
2681
|
.wrapper.svelte-1tew8xu button {
|
|
2682
2682
|
font-size: inherit !important;
|
|
2683
|
-
}`};function UU(t,e){Q(e,!1),Te(t,zU);const n=me(),r=()=>M(ln,"$backend",n),i=()=>M(_t,"$siteConfig",n),s=()=>M(le,"$_",n),a=5*60*1e3;let l=C(!1),c=0,u=C("none");const d=async()=>{r()?.checkStatus&&x(u,await r().checkStatus())},f=()=>{d(),c=window.setInterval(()=>{d()},a)},h=()=>{window.clearInterval(c),x(u,"none")},p=()=>{o(l)&&(r()?.checkStatus&&!i()?.backend.api_root?f():h())};Ht(()=>(x(l,!0),()=>{h()})),F(()=>(o(l),r(),i()),()=>{o(l),r(),i(),p()}),Ie(),ge();var g=Y(),m=z(g);B(m,()=>["minor","major"].includes(o(u)),v=>{var _=FU(),b=I(_);U(()=>K(b,`${s()(`backend_status.${o(u)}_incident`,{values:{service:r()?.label}})??""} `));var y=N(b),w=L(()=>s()("details"));Xe(y,{variant:"link",get label(){return o(w)},onclick:()=>{window.open(r()?.statusDashboardURL,"_blank")}}),U(()=>kr(_,`wrapper ${o(u)??""} svelte-1tew8xu`)),T(v,_)}),T(t,g),ee()}const ES="0.39.
|
|
2683
|
+
}`};function UU(t,e){Q(e,!1),Te(t,zU);const n=me(),r=()=>M(ln,"$backend",n),i=()=>M(_t,"$siteConfig",n),s=()=>M(le,"$_",n),a=5*60*1e3;let l=C(!1),c=0,u=C("none");const d=async()=>{r()?.checkStatus&&x(u,await r().checkStatus())},f=()=>{d(),c=window.setInterval(()=>{d()},a)},h=()=>{window.clearInterval(c),x(u,"none")},p=()=>{o(l)&&(r()?.checkStatus&&!i()?.backend.api_root?f():h())};Ht(()=>(x(l,!0),()=>{h()})),F(()=>(o(l),r(),i()),()=>{o(l),r(),i(),p()}),Ie(),ge();var g=Y(),m=z(g);B(m,()=>["minor","major"].includes(o(u)),v=>{var _=FU(),b=I(_);U(()=>K(b,`${s()(`backend_status.${o(u)}_incident`,{values:{service:r()?.label}})??""} `));var y=N(b),w=L(()=>s()("details"));Xe(y,{variant:"link",get label(){return o(w)},onclick:()=>{window.open(r()?.statusDashboardURL,"_blank")}}),U(()=>kr(_,`wrapper ${o(u)??""} svelte-1tew8xu`)),T(v,_)}),T(t,g),ee()}const ES="0.39.5";var jU=R('<div role="alert" class="wrapper svelte-103hdap"> <!></div>');const BU={hash:"svelte-103hdap",code:`.wrapper.svelte-103hdap {
|
|
2684
2684
|
flex: none;
|
|
2685
2685
|
display: flex;
|
|
2686
2686
|
align-items: center;
|
|
@@ -3570,10 +3570,10 @@ div.svelte-1xowtfp :is(video, img) {
|
|
|
3570
3570
|
width: 100%;
|
|
3571
3571
|
height: auto;
|
|
3572
3572
|
aspect-ratio: 16/9;
|
|
3573
|
-
}`};function J8(t,e){Q(e,!1),Te(t,Z8);const n=me(),r=()=>M(le,"$_",n),i=C();let s=E(e,"url",8),a=C(),l=C(!0);Ht(()=>{window.addEventListener("securitypolicyviolation",({blockedURI:d,violatedDirective:f})=>{d===new URL(o(i)).origin&&f==="frame-src"&&x(l,!1)})}),F(()=>ce(s()),()=>{x(i,uU(s()))}),Ie(),ge();var c=K8();Tt(c,d=>x(a,d),()=>o(a));var u=I(c);B(u,()=>o(l),d=>{var f=Y(),h=z(f);bo(h,()=>va(o(a)),null,p=>{var g=Y8();U(()=>Oe(g,"
|
|
3573
|
+
}`};function J8(t,e){Q(e,!1),Te(t,Z8);const n=me(),r=()=>M(le,"$_",n),i=C();let s=E(e,"url",8),a=C(),l=C(!0);Ht(()=>{window.addEventListener("securitypolicyviolation",({blockedURI:d,violatedDirective:f})=>{d===new URL(o(i)).origin&&f==="frame-src"&&x(l,!1)})}),F(()=>ce(s()),()=>{x(i,uU(s()))}),Ie(),ge();var c=K8();Tt(c,d=>x(a,d),()=>o(a));var u=I(c);B(u,()=>o(l),d=>{var f=Y(),h=z(f);bo(h,()=>va(o(a)),null,p=>{var g=Y8();U(()=>Oe(g,"src",encodeURI(o(i)))),U(()=>Oe(g,"title",r()("youtube_video_player"))),T(p,g)}),T(d,f)},d=>{var f=G8();U(()=>Oe(f,"href",encodeURI(s())));var h=I(f);U(()=>K(h,s())),T(d,f)}),T(t,c),ee()}var X8=R("<a> </a>"),Q8=R("<a> </a>"),eq=R('<p class="svelte-162himw"><!></p>');const tq={hash:"svelte-162himw",code:`.title.svelte-162himw {
|
|
3574
3574
|
font-size: var(--sui-font-size-xxx-large);
|
|
3575
3575
|
font-weight: 600;
|
|
3576
|
-
}`};function nq(t,e){Q(e,!1),Te(t,tq);const n=C(),r=C();E(e,"locale",8),E(e,"keyPath",8);let i=E(e,"fieldConfig",8),s=E(e,"currentValue",8);F(()=>(o(n),o(r),ce(i())),()=>{(c=>(x(n,c.name),x(r,Ce(c.type,"text"))))(i())}),Ie(),ge();var a=Y(),l=z(a);B(l,()=>typeof s()=="string"&&s().trim(),c=>{var u=eq(),d=I(u);B(d,()=>o(r)==="url"||qc(s()),f=>{var h=Y(),p=z(h);B(p,()=>cU(s()),g=>{J8(g,{get url(){return s()}})},g=>{var m=X8()
|
|
3576
|
+
}`};function nq(t,e){Q(e,!1),Te(t,tq);const n=C(),r=C();E(e,"locale",8),E(e,"keyPath",8);let i=E(e,"fieldConfig",8),s=E(e,"currentValue",8);F(()=>(o(n),o(r),ce(i())),()=>{(c=>(x(n,c.name),x(r,Ce(c.type,"text"))))(i())}),Ie(),ge();var a=Y(),l=z(a);B(l,()=>typeof s()=="string"&&s().trim(),c=>{var u=eq(),d=I(u);B(d,()=>o(r)==="url"||qc(s()),f=>{var h=Y(),p=z(h);B(p,()=>cU(s()),g=>{J8(g,{get url(){return s()}})},g=>{var m=X8();U(()=>Oe(m,"href",encodeURI(s())));var v=I(m);U(()=>K(v,s())),T(g,m)}),T(f,h)},f=>{var h=Y(),p=z(h);B(p,()=>o(r)==="email",g=>{var m=Q8();U(()=>Oe(m,"href",`mailto:${encodeURI(s())??""}`));var v=I(m);U(()=>K(v,s())),T(g,m)},g=>{var m=Ye();U(()=>K(m,s())),T(g,m)},!0),T(f,h)}),U(()=>ut(u,"title",o(n)==="title")),T(c,u)}),T(t,a),ee()}function rq(t,e){Q(e,!1),me(),E(e,"locale",8),E(e,"keyPath",8);let n=E(e,"fieldId",8);E(e,"fieldLabel",8),E(e,"fieldConfig",8);let r=E(e,"currentValue",12),i=E(e,"readonly",8,!1),s=E(e,"required",8,!1),a=E(e,"invalid",8,!1),l=C("");const c=f=>{o(l)!==f&&x(l,f)},u=f=>{r()!==f&&r(f)},{extraHint:d}=ga("field-editor");Ve(d,lE),F(()=>ce(r()),()=>{c(typeof r()=="string"?r().trim():"")}),F(()=>o(l),()=>{u(o(l)?.trim()??"")}),Ie(),ge(),_d(t,{get value(){return o(l)},set value(f){x(l,f)},flex:!0,get readonly(){return i()},get required(){return s()},get invalid(){return a()},get"aria-labelledby"(){return`${n()??""}-label`},get"aria-errormessage"(){return`${n()??""}-error`},autoResize:!0,$$legacy:!0}),ee()}var iq=R('<p class="svelte-tzbr78"> </p>');const sq={hash:"svelte-tzbr78",code:`p.svelte-tzbr78 {
|
|
3577
3577
|
white-space: pre-wrap;
|
|
3578
3578
|
}`};function aq(t,e){Q(e,!1),Te(t,sq),E(e,"locale",8),E(e,"keyPath",8),E(e,"fieldConfig",8);let n=E(e,"currentValue",8);ge();var r=Y(),i=z(r);B(i,()=>typeof n()=="string"&&n().trim(),s=>{var a=iq(),l=I(a);U(()=>K(l,n())),T(s,a)}),T(t,r),ee()}function oq(t,e){Q(e,!1);const n=me(),r=()=>M(ot,"$entryDraft",n),i=C(),s=C(),a=C();let l=E(e,"locale",8);E(e,"keyPath",8);let c=E(e,"fieldId",8);E(e,"fieldLabel",8);let u=E(e,"fieldConfig",8),d=E(e,"currentValue",12),f=E(e,"readonly",8,!1),h=E(e,"required",8,!1),p=E(e,"invalid",8,!1);Ht(()=>{d()||(l()===o(a)||[!0,"translate"].includes(u()?.i18n??!1))&&d(VS(u()))}),F(()=>(o(i),o(s),r()),()=>{(m=>(x(i,m.collection),x(s,m.collectionFile)))(r()??{})}),F(()=>(o(a),o(s),o(i),er),()=>{(m=>x(a,m.defaultLocale))((o(s)??o(i))?._i18n??er)}),Ie(),ge();var g=L(()=>f()||u().read_only!==!1);An(t,{get value(){return d()},set value(m){d(m)},flex:!0,get readonly(){return o(g)},get required(){return h()},get invalid(){return p()},get"aria-labelledby"(){return`${c()??""}-label`},get"aria-errormessage"(){return`${c()??""}-error`},$$legacy:!0}),ee()}var lq=R('<p class="svelte-1e2mlgo"> </p>');const cq={hash:"svelte-1e2mlgo",code:`p.svelte-1e2mlgo {
|
|
3579
3579
|
font-family: var(--sui-font-family-monospace);
|
|
@@ -3820,7 +3820,7 @@ kbd.svelte-h10dbf {
|
|
|
3820
3820
|
font-family: var(--sui-control-font-family);
|
|
3821
3821
|
font-size: var(--sui-control-font-size);
|
|
3822
3822
|
line-height: var(--sui-control-line-height);
|
|
3823
|
-
}`};function WH(t,e){Q(e,!1),Te(t,VH);const n=me(),r=()=>M(le,"$_",n);let i=E(e,"open",12,!1);const s=ei(),a=[{feature:"view_content_library",keys:"Alt+1"},{feature:"view_asset_library",keys:"Alt+2"},{feature:"search",keys:"Accel+F"},{feature:"create_entry",keys:"Accel+E"},{feature:"save_entry",keys:"Accel+S"},{feature:"cancel_editing",keys:"Escape"}];let l=C("Ctrl");Ht(()=>{(navigator.userAgentData?.platform==="macOS"||navigator.platform.startsWith("Mac"))&&x(l,"⌘")}),ge();var c=L(()=>r()("help.keyboard_shortcuts"));Oi(t,{get title(){return o(c)},get open(){return i()},set open(u){i(u)},showOk:!1,showCancel:!1,showClose:!0,onClose:u=>{s("close",u.detail)},children:(u,d)=>{var f=HH(),h=I(f),p=L(()=>r()("help.keyboard_shortcuts"));oO(h,{get"aria-label"(){return o(p)},children:(g,m)=>{var v=Y(),_=z(v);ct(_,1,()=>a,({feature:b,keys:y})=>y,(b,y)=>{let w=()=>o(y).feature,k=()=>o(y).keys;iO(b,{children:(S,A)=>{var $=qH(),O=z($);ky(O,{class:"feature",children:(D,j)=>{var H=Ye();U(()=>K(H,r()(`keyboard_shortcuts.${w()}`))),T(D,H)},$$slots:{default:!0}});var P=N(O,2);ky(P,{class:"keys",children:(D,j)=>{var H=Y(),q=z(H);ct(q,1,()=>k().split("+"),wr,(W,G)=>{var te=BH(),J=I(te);U(()=>K(J,o(G).replace("Accel",o(l)))),T(W,te)}),T(D,H)},$$slots:{default:!0}}),T(S,$)},$$slots:{default:!0}})}),T(g,v)},$$slots:{default:!0}}),T(u,f)},$$slots:{default:!0},$$legacy:!0}),ee()}var YH=R('<section><h4> </h4> <p> </p> <div role="none"><!></div></section>');function GH(t,e){Q(e,!1);const n=me(),r=()=>M(yt,"$prefs",n),i=()=>M(le,"$_",n),s=C();F(()=>r(),()=>{x(s,r().underlineLinks)}),F(()=>(r(),o(s)),()=>{r().underlineLinks!==o(s)&&At(yt,Me(r).underlineLinks=!!o(s),Me(r))}),Ie(),ge(),Oo(t,{id:"prefs-tab-accessibility",children:(a,l)=>{var c=YH(),u=I(c),d=I(u);U(()=>K(d,i()("prefs.accessibility.underline_links.title")));var f=N(u,2),h=I(f);U(()=>K(h,i()("prefs.accessibility.underline_links.description")));var p=N(f,2),g=I(p),m=L(()=>i()("prefs.accessibility.underline_links.switch_label"));hc(g,{get checked(){return o(s)},set checked(v){x(s,v)},get label(){return o(m)},$$legacy:!0}),T(a,c)},$$slots:{default:!0}}),ee()}var KH=R('<section><h4> </h4> <p> </p> <div role="none"><!></div></section>'),ZH=R('<!> <section><h4> </h4> <p> </p> <div role="none"><!></div></section>',1);function JH(t,e){Q(e,!1);const n=me(),r=()=>M(_t,"$siteConfig",n),i=()=>M(yt,"$prefs",n),s=()=>M(le,"$_",n),a=C(),l=C(),c=ei();F(()=>(o(a),r()),()=>{(u=>x(a,Ce(Ce(u.backend,()=>({}),!0).automatic_deployments,void 0)))(r()??{})}),F(()=>i(),()=>{x(l,i().devModeEnabled)}),F(()=>(i(),o(l)),()=>{i().devModeEnabled!==o(l)&&At(yt,Me(i).devModeEnabled=!!o(l),Me(i))}),Ie(),ge(),Oo(t,{id:"prefs-tab-advanced",children:(u,d)=>{var f=ZH(),h=z(f);B(h,()=>typeof o(a)=="boolean",k=>{var S=KH(),A=I(S),$=I(A);U(()=>K($,s()("prefs.advanced.deploy_hook.title")));var O=N(A,2),P=I(O);U(()=>K(P,s()("prefs.advanced.deploy_hook.description")));var D=N(O,2),j=I(D),H=L(()=>s()("prefs.advanced.deploy_hook.field_label"));An(j,{get value(){return i().deployHookURL},set value(q){At(yt,Me(i).deployHookURL=q,Me(i))},flex:!0,get label(){return o(H)},
|
|
3823
|
+
}`};function WH(t,e){Q(e,!1),Te(t,VH);const n=me(),r=()=>M(le,"$_",n);let i=E(e,"open",12,!1);const s=ei(),a=[{feature:"view_content_library",keys:"Alt+1"},{feature:"view_asset_library",keys:"Alt+2"},{feature:"search",keys:"Accel+F"},{feature:"create_entry",keys:"Accel+E"},{feature:"save_entry",keys:"Accel+S"},{feature:"cancel_editing",keys:"Escape"}];let l=C("Ctrl");Ht(()=>{(navigator.userAgentData?.platform==="macOS"||navigator.platform.startsWith("Mac"))&&x(l,"⌘")}),ge();var c=L(()=>r()("help.keyboard_shortcuts"));Oi(t,{get title(){return o(c)},get open(){return i()},set open(u){i(u)},showOk:!1,showCancel:!1,showClose:!0,onClose:u=>{s("close",u.detail)},children:(u,d)=>{var f=HH(),h=I(f),p=L(()=>r()("help.keyboard_shortcuts"));oO(h,{get"aria-label"(){return o(p)},children:(g,m)=>{var v=Y(),_=z(v);ct(_,1,()=>a,({feature:b,keys:y})=>y,(b,y)=>{let w=()=>o(y).feature,k=()=>o(y).keys;iO(b,{children:(S,A)=>{var $=qH(),O=z($);ky(O,{class:"feature",children:(D,j)=>{var H=Ye();U(()=>K(H,r()(`keyboard_shortcuts.${w()}`))),T(D,H)},$$slots:{default:!0}});var P=N(O,2);ky(P,{class:"keys",children:(D,j)=>{var H=Y(),q=z(H);ct(q,1,()=>k().split("+"),wr,(W,G)=>{var te=BH(),J=I(te);U(()=>K(J,o(G).replace("Accel",o(l)))),T(W,te)}),T(D,H)},$$slots:{default:!0}}),T(S,$)},$$slots:{default:!0}})}),T(g,v)},$$slots:{default:!0}}),T(u,f)},$$slots:{default:!0},$$legacy:!0}),ee()}var YH=R('<section><h4> </h4> <p> </p> <div role="none"><!></div></section>');function GH(t,e){Q(e,!1);const n=me(),r=()=>M(yt,"$prefs",n),i=()=>M(le,"$_",n),s=C();F(()=>r(),()=>{x(s,r().underlineLinks)}),F(()=>(r(),o(s)),()=>{r().underlineLinks!==o(s)&&At(yt,Me(r).underlineLinks=!!o(s),Me(r))}),Ie(),ge(),Oo(t,{id:"prefs-tab-accessibility",children:(a,l)=>{var c=YH(),u=I(c),d=I(u);U(()=>K(d,i()("prefs.accessibility.underline_links.title")));var f=N(u,2),h=I(f);U(()=>K(h,i()("prefs.accessibility.underline_links.description")));var p=N(f,2),g=I(p),m=L(()=>i()("prefs.accessibility.underline_links.switch_label"));hc(g,{get checked(){return o(s)},set checked(v){x(s,v)},get label(){return o(m)},$$legacy:!0}),T(a,c)},$$slots:{default:!0}}),ee()}var KH=R('<section><h4> </h4> <p> </p> <div role="none"><!></div></section>'),ZH=R('<!> <section><h4> </h4> <p> </p> <div role="none"><!></div></section>',1);function JH(t,e){Q(e,!1);const n=me(),r=()=>M(_t,"$siteConfig",n),i=()=>M(yt,"$prefs",n),s=()=>M(le,"$_",n),a=C(),l=C(),c=ei();F(()=>(o(a),r()),()=>{(u=>x(a,Ce(Ce(u.backend,()=>({}),!0).automatic_deployments,void 0)))(r()??{})}),F(()=>i(),()=>{x(l,i().devModeEnabled)}),F(()=>(i(),o(l)),()=>{i().devModeEnabled!==o(l)&&At(yt,Me(i).devModeEnabled=!!o(l),Me(i))}),Ie(),ge(),Oo(t,{id:"prefs-tab-advanced",children:(u,d)=>{var f=ZH(),h=z(f);B(h,()=>typeof o(a)=="boolean",k=>{var S=KH(),A=I(S),$=I(A);U(()=>K($,s()("prefs.advanced.deploy_hook.title")));var O=N(A,2),P=I(O);U(()=>K(P,s()("prefs.advanced.deploy_hook.description")));var D=N(O,2),j=I(D),H=L(()=>s()("prefs.advanced.deploy_hook.field_label"));An(j,{get value(){return i().deployHookURL},set value(q){At(yt,Me(i).deployHookURL=q,Me(i))},flex:!0,get label(){return o(H)},onchange:()=>{c("change",{message:s()(i().deployHookURL?"prefs.advanced.deploy_hook.url_saved":"prefs.advanced.deploy_hook.url_removed")})},$$legacy:!0}),T(k,S)});var p=N(h,2),g=I(p),m=I(g);U(()=>K(m,s()("prefs.advanced.developer_mode.title")));var v=N(g,2),_=I(v);U(()=>K(_,s()("prefs.advanced.developer_mode.description")));var b=N(v,2),y=I(b),w=L(()=>s()("prefs.advanced.developer_mode.switch_label"));hc(y,{get checked(){return o(l)},set checked(k){x(l,k)},get label(){return o(w)},$$legacy:!0}),T(u,f)},$$slots:{default:!0}}),ee()}var XH=R('<section><h4> </h4> <div role="none"><!></div></section>');function QH(t,e){Q(e,!1);const n=me(),r=()=>M(le,"$_",n),i=()=>M(yt,"$prefs",n);ge(),Oo(t,{id:"prefs-tab-appearance",children:(s,a)=>{var l=XH(),c=I(l),u=I(c);U(()=>K(u,r()("prefs.appearance.theme")));var d=N(c,2),f=I(d),h=L(()=>r()("prefs.appearance.select_theme"));gd(f,{get"aria-label"(){return o(h)},onChange:p=>{Ve(yt,{...i(),theme:p.detail.value})},children:(p,g)=>{var m=Y(),v=z(m);ct(v,0,()=>["auto","dark","light"],wr,(_,b)=>{var y=L(()=>r()(`prefs.theme.${b}`)),w=L(()=>!i().theme&&b==="auto"||i().theme===b);$o(_,{variant:"tertiary",get label(){return o(y)},get value(){return b},get selected(){return o(w)}})}),T(p,m)},$$slots:{default:!0}}),T(s,l)},$$slots:{default:!0}}),ee()}var e6=R('<section><h4> </h4> <div role="none"><!></div></section>');function t6(t,e){Q(e,!1);const n=me(),r=()=>M(yt,"$prefs",n),i=()=>M(le,"$_",n),s=C();F(()=>r(),()=>{x(s,r().closeOnSave)}),F(()=>(r(),o(s)),()=>{r().closeOnSave!==o(s)&&At(yt,Me(r).closeOnSave=!!o(s),Me(r))}),Ie(),ge(),Oo(t,{id:"prefs-tab-contents",children:(a,l)=>{var c=e6(),u=I(c),d=I(u);U(()=>K(d,i()("prefs.contents.editor.title")));var f=N(u,2),h=I(f),p=L(()=>i()("prefs.contents.editor.close_on_save.switch_label"));hc(h,{get label(){return o(p)},get checked(){return o(s)},set checked(g){x(s,g)},$$legacy:!0}),T(a,c)},$$slots:{default:!0}}),ee()}var n6=R('<section><h4> </h4> <p><!></p> <div role="none"><!></div></section>'),r6=R('<section><h4> </h4> <div role="none"><!></div></section> <!>',1);function i6(t,e){Q(e,!1);const n=me(),r=()=>M(le,"$_",n),i=()=>M(pn,"$appLocale",n),s=()=>M(yt,"$prefs",n),a=()=>M(ly,"$appLocales",n),l=()=>M(_t,"$siteConfig",n),c=ei();ge(),Oo(t,{id:"prefs-tab-languages",children:(u,d)=>{var f=r6(),h=z(f),p=I(h),g=I(p);U(()=>K(g,r()("prefs.languages.ui_language.title")));var m=N(p,2),v=I(m);_o(v,i,b=>{var y=L(()=>r()("prefs.languages.ui_language.select_language")),w=L(()=>i()??void 0);Mp(b,{get"aria-label"(){return o(y)},get value(){return o(w)},onChange:k=>{Ve(yt,{...s(),locale:k.detail.value})},children:(k,S)=>{var A=Y(),$=z(A);ct($,1,a,wr,(O,P)=>{var D=L(()=>gs(o(P))),j=L(()=>o(P)===i());Tr(O,{get label(){return o(D)},get value(){return o(P)},get selected(){return o(j)}})}),T(k,A)},$$slots:{default:!0}})});var _=N(h,2);B(_,()=>(l()?.i18n?.locales?.length??0)>1,b=>{var y=Y(),w=z(y);ct(w,1,()=>Object.entries(Z4),([k,S])=>k,(k,S)=>{let A=()=>o(S)[0],$=()=>o(S)[1];var O=n6();const P=L(()=>{const{serviceLabel:te,developerURL:J,apiKeyURL:V}=$();return{serviceLabel:te,developerURL:J,apiKeyURL:V}});var D=I(O),j=I(D);U(()=>K(j,r()("prefs.languages.translator.title",{values:{service:o(P).serviceLabel}})));var H=N(D,2),q=I(H);xr(q,()=>ii.sanitize(r()("prefs.languages.translator.description",{values:{service:o(P).serviceLabel,homeHref:`href="${o(P).developerURL}"`,apiKeyHref:`href="${o(P).apiKeyURL}"`}}),{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href","target","rel"]}));var W=N(H,2),G=I(W);B(G,()=>s().apiKeys,te=>{var J=L(()=>r()("prefs.languages.translator.field_label",{values:{service:o(P).serviceLabel}}));An(te,{get value(){return s().apiKeys[A()]},set value(V){At(yt,Me(s).apiKeys[A()]=V,Me(s))},flex:!0,spellcheck:"false",get"aria-label"(){return o(J)},onChange:()=>{c("change",{message:r()(s().apiKeys?.[A()]?"prefs.changes.api_key_saved":"prefs.changes.api_key_removed")})},$$legacy:!0})}),T(k,O)}),T(b,y)}),T(u,f)},$$slots:{default:!0}}),ee()}var s6=R('<section><h4> </h4> <p><!></p> <div role="none"><!></div></section>');function a6(t,e){Q(e,!1);const n=me(),r=()=>M(le,"$_",n),i=()=>M(yt,"$prefs",n),s=ei();ge(),Oo(t,{id:"prefs-tab-media",children:(a,l)=>{var c=Y(),u=z(c);ct(u,1,()=>Object.entries(Iu),([d,f])=>d,(d,f)=>{let h=()=>o(f)[0],p=()=>o(f)[1];var g=s6();const m=L(()=>{const{serviceLabel:S,developerURL:A,apiKeyURL:$}=p();return{serviceLabel:S,developerURL:A,apiKeyURL:$}});var v=I(g),_=I(v);U(()=>K(_,r()("prefs.media.stock_photos.title",{values:{service:o(m).serviceLabel}})));var b=N(v,2),y=I(b);xr(y,()=>ii.sanitize(r()("prefs.media.stock_photos.description",{values:{service:o(m).serviceLabel,homeHref:`href="${o(m).developerURL}"`,apiKeyHref:`href="${o(m).apiKeyURL}"`}}),{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href","target","rel"]}));var w=N(b,2),k=I(w);B(k,()=>i().apiKeys,S=>{var A=L(()=>r()("prefs.media.stock_photos.field_label",{values:{service:o(m).serviceLabel}}));An(S,{get value(){return i().apiKeys[h()]},set value($){At(yt,Me(i).apiKeys[h()]=$,Me(i))},flex:!0,spellcheck:"false",get"aria-label"(){return o(A)},onChange:()=>{s("change",{message:r()(i().apiKeys?.[h()]?"prefs.changes.api_key_saved":"prefs.changes.api_key_removed")})},$$legacy:!0})}),T(d,g)}),T(a,c)},$$slots:{default:!0}}),ee()}var o6=R('<div role="none" class="wrapper svelte-187mn00"><!> <!></div>'),l6=R("<!> <!>",1);const c6={hash:"svelte-187mn00",code:`.wrapper.svelte-187mn00 {
|
|
3824
3824
|
display: flex;
|
|
3825
3825
|
}
|
|
3826
3826
|
.wrapper.svelte-187mn00 .tab-list {
|
|
@@ -3978,7 +3978,7 @@ header.svelte-13wd1r4 h2:where(.svelte-13wd1r4) {
|
|
|
3978
3978
|
pointer-events: none;
|
|
3979
3979
|
-webkit-user-select: none;
|
|
3980
3980
|
user-select: none;
|
|
3981
|
-
}`};function i5(t,e){Q(e,!1),Te(t,r5);const n=me(),r=()=>M(_t,"$siteConfig",n),i=()=>M(ud,"$isLoading",n),s=()=>M(ln,"$backend",n),a=()=>M(Ti,"$user",n),l=()=>M(Tl,"$dataLoaded",n),c=()=>M(Yi,"$announcedPageStatus",n),u=C();let d=E(e,"config",8);Ht(()=>{X6(),rR(d())}),Ht(()=>{const f=document.querySelector("#nc-root");if(f&&window.getComputedStyle(f).position==="static"){const{top:h,height:p}=f.getBoundingClientRect();p?f.style.position="relative":(f.style.position="fixed",f.style.inset=`${h}px 0 0 0`)}}),F(()=>r(),()=>{x(u,r()?.logo_url)}),Ie(),ge(),y_(f=>{var h=e5(),p=N(z(h),2);U(()=>Oe(p,"type",o(u)?fs.getType(o(u))??void 0:"image/svg+xml"));var g=N(p,2);B(g,()=>qm,m=>{var v=Q6();Oe(v,"href",`${qm??""}/admin/config.yml`),T(m,v)}),
|
|
3981
|
+
}`};function i5(t,e){Q(e,!1),Te(t,r5);const n=me(),r=()=>M(_t,"$siteConfig",n),i=()=>M(ud,"$isLoading",n),s=()=>M(ln,"$backend",n),a=()=>M(Ti,"$user",n),l=()=>M(Tl,"$dataLoaded",n),c=()=>M(Yi,"$announcedPageStatus",n),u=C();let d=E(e,"config",8);Ht(()=>{X6(),rR(d())}),Ht(()=>{const f=document.querySelector("#nc-root");if(f&&window.getComputedStyle(f).position==="static"){const{top:h,height:p}=f.getBoundingClientRect();p?f.style.position="relative":(f.style.position="fixed",f.style.inset=`${h}px 0 0 0`)}}),F(()=>r(),()=>{x(u,r()?.logo_url)}),Ie(),ge(),y_(f=>{var h=e5(),p=N(z(h),2);U(()=>Oe(p,"href",o(u)||`data:image/svg+xml;base64,${btoa(b0)}`)),U(()=>Oe(p,"type",o(u)?fs.getType(o(u))??void 0:"image/svg+xml"));var g=N(p,2);B(g,()=>qm,m=>{var v=Q6();Oe(v,"href",`${qm??""}/admin/config.yml`),T(m,v)}),T(f,h)}),Yn("mousedown",np.body,f=>{f?.target?.matches("a")&&f.target.origin!==window.location.origin&&(f.target.target="_blank")}),ZN(t,{children:(f,h)=>{var p=n5(),g=z(p);B(g,()=>!i(),_=>{var b=t5(),y=I(b);qU(y,{});var w=N(y,2);B(w,s,$=>{UU($,{})});var k=N(w,2),S=I(k);MU(S,{});var A=N(S,2);B(A,()=>a()&&l(),$=>{K6($,{})}),T(_,b)});var m=N(g,2),v=I(m);U(()=>K(v,c())),T(f,p)},$$slots:{default:!0}}),ee()}const s5=["registerCustomFormat","registerEditorComponent","registerEventListener","registerLocale","registerPreviewStyle","registerPreviewTemplate","registerWidget"],a5=["getBackend","getCustomFormats","getCustomFormatsExtensions","getCustomFormatsFormatters","getEditorComponents","getEventListeners","getLocale","getMediaLibrary","getPreviewStyles","getPreviewTemplate","getRemarkPlugins","getWidget","getWidgetValueSerializer","getWidgets","invokeEvent","moment","registerBackend","registerMediaLibrary","registerRemarkPlugin","registerWidgetValueSerializer","removeEventListener","resolveWidget"],o5="https://github.com/sveltia/sveltia-cms#compatibility";let gE=!1;const jh=async({config:t={}}={})=>{gE||(gE=!0,document.querySelector("#nc-root")||await new Promise(e=>{window.addEventListener("DOMContentLoaded",()=>e(void 0),{once:!0})}),x_(i5,{target:document.querySelector("#nc-root")??document.body,props:{config:t}}))},mE=new Proxy({init:jh},{get:(t,e)=>{if(e in t)return t[e];let n="";if(s5.includes(e)&&(n="CMS.%s() is not yet supported in Sveltia CMS, but we plan to implement it soon."),a5.includes(e)&&(n="CMS.%s() is not supported in Sveltia CMS, and we don’t have any plans to implement it."),n)return console.error(`${n} See %s for compatibility information.`,e,o5),()=>{}}});return window.CMS=mE,window.initCMS=jh,!window.CMS_MANUAL_INIT&&(document.currentScript||document.querySelector('script[src$="/sveltia-cms.js"]'))&&jh(),Uu.default=mE,Uu.init=jh,Object.defineProperties(Uu,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),Uu})({});
|
|
3982
3982
|
/**
|
|
3983
3983
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
3984
3984
|
*
|