triiiceratops 0.10.3 → 0.10.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/dist/{ArrowCounterClockwise-CvTUOlYp.js → ArrowCounterClockwise-C2bPi1fL.js} +1 -1
- package/dist/{X-Dgb3I7Ob.js → X-Hy7z8RKI.js} +344 -336
- package/dist/{annotation_tool_point-CKkqbVDq.js → annotation_tool_point-CVRtOCN5.js} +1 -1
- package/dist/components/SearchPanel.svelte +4 -1
- package/dist/components/TriiiceratopsViewer.svelte +1 -0
- package/dist/{image_filters_reset-DZrbHhqM.js → image_filters_reset-BOxhPxhP.js} +1 -1
- package/dist/plugins/annotation-editor.js +3 -3
- package/dist/plugins/image-manipulation.js +3 -3
- package/dist/state/viewer.svelte.d.ts +6 -0
- package/dist/state/viewer.svelte.js +20 -2
- package/dist/triiiceratops-bundle.js +569 -569
- package/dist/triiiceratops-element.iife.js +6 -6
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var b8=Object.defineProperty;var zu=tt=>{throw TypeError(tt)};var y8=(tt,it,ft)=>it in tt?b8(tt,it,{enumerable:!0,configurable:!0,writable:!0,value:ft}):tt[it]=ft;var
|
|
1
|
+
var b8=Object.defineProperty;var zu=tt=>{throw TypeError(tt)};var y8=(tt,it,ft)=>it in tt?b8(tt,it,{enumerable:!0,configurable:!0,writable:!0,value:ft}):tt[it]=ft;var nt=(tt,it,ft)=>y8(tt,typeof it!="symbol"?it+"":it,ft),hs=(tt,it,ft)=>it.has(tt)||zu("Cannot "+ft);var I=(tt,it,ft)=>(hs(tt,it,"read from private field"),ft?ft.call(tt):it.get(tt)),ve=(tt,it,ft)=>it.has(tt)?zu("Cannot add the same private member more than once"):it instanceof WeakSet?it.add(tt):it.set(tt,ft),De=(tt,it,ft,Ui)=>(hs(tt,it,"write to private field"),Ui?Ui.call(tt,ft):it.set(tt,ft),ft),et=(tt,it,ft)=>(hs(tt,it,"access private method"),ft);(function(){"use strict";var zi,Hi,di,fi,un,Ni,Fi,vt,ds,_i,fs,Hu,Nu,nr,Kt,hn,Tr,pi,Er,or,Ft,kr,Dr,jr,gi,Gr,vi,Zr,zo,dt,Fu,Bu,ps,Bo,Vo,gs,hr,Sr,Qt,mi,dn,fn,Ho,Wr,Bi,pn,No,Vu,Mr,ar,Ou,gn,vn,mn,_n,wn,bn,yn,xn,Tn,En,kn,Sn,Cn,Pn,Rn,An,In,On,Dn,Mn,Ln,zn,Hn,Nn,Fn,Bn,Vn,Un;function tt(i,t){for(var e=0;e<t.length;e++){const r=t[e];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in i)){const o=Object.getOwnPropertyDescriptor(r,n);o&&Object.defineProperty(i,n,o.get?o:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}const it=1,ft=2,Ui=4,Uu=8,ju=16,Gu=1,vs=4,Zu=8,Wu=16,qu=1,Xu=2,Yu=4,Uo=1,ms=2,Ku=4,Qu=8,jo="[",wi="[!",jn="]",qr={},st=Symbol(),Bt=Symbol("filename"),_s=Symbol("hmr"),Ju="http://www.w3.org/1999/xhtml",Gn="http://www.w3.org/2000/svg",ws="http://www.w3.org/1998/Math/MathML",bs="@attach",Go=!1;var Xr=Array.isArray,$u=Array.prototype.indexOf,Zn=Array.from,Wn=Object.keys,Yr=Object.defineProperty,sr=Object.getOwnPropertyDescriptor,ys=Object.getOwnPropertyDescriptors,xs=Object.prototype,eh=Array.prototype,qn=Object.getPrototypeOf,Ts=Object.isExtensible;function bi(i){return typeof i=="function"}const dr=()=>{};function Es(i){return typeof(i==null?void 0:i.then)=="function"}function th(i){return i()}function Zo(i){for(var t=0;t<i.length;t++)i[t]()}function ks(){var i,t,e=new Promise((r,n)=>{i=r,t=n});return{promise:e,resolve:i,reject:t}}function rh(i,t,e=!1){return i===void 0?e?t():t:i}function ih(i,t){if(Array.isArray(i))return i;if(t===void 0||!(Symbol.iterator in i))return Array.from(i);const e=[];for(const r of i)if(e.push(r),e.length===t)break;return e}const pt=2,Xn=4,Yn=8,Ss=1<<24,fr=16,Cr=32,Lr=64,Kn=128,lr=512,bt=1024,St=2048,pr=4096,Vt=8192,gr=16384,ji=32768,cr=65536,Qn=1<<17,Wo=1<<18,Kr=1<<19,Cs=1<<20,Pr=1<<25,Qr=32768,qo=1<<21,Jn=1<<22,zr=1<<23,Ct=Symbol("$state"),$n=Symbol("legacy props"),nh=Symbol(""),oh=Symbol("proxy path"),Jr=new class extends Error{constructor(){super(...arguments);nt(this,"name","StaleReactionError");nt(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},Ps=1,eo=3,vr=8,Rs=11;function As(i){throw new Error("https://svelte.dev/e/experimental_async_required")}function ah(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function Is(){throw new Error("https://svelte.dev/e/invalid_snippet_arguments")}function yi(i){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function sh(){throw new Error("https://svelte.dev/e/missing_context")}function lh(){throw new Error("https://svelte.dev/e/snippet_without_render_tag")}function ch(i){throw new Error("https://svelte.dev/e/store_invalid_shape")}function uh(){throw new Error("https://svelte.dev/e/svelte_element_invalid_this_value")}function hh(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function dh(i,t){throw new Error("https://svelte.dev/e/component_api_changed")}function fh(i,t){throw new Error("https://svelte.dev/e/component_api_invalid_new")}function ph(i,t,e){throw new Error("https://svelte.dev/e/each_key_duplicate")}function gh(i){throw new Error("https://svelte.dev/e/effect_in_teardown")}function vh(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function mh(i){throw new Error("https://svelte.dev/e/effect_orphan")}function _h(){throw new Error("https://svelte.dev/e/effect_pending_outside_reaction")}function wh(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function bh(){throw new Error("https://svelte.dev/e/fork_discarded")}function yh(){throw new Error("https://svelte.dev/e/fork_timing")}function xh(){throw new Error("https://svelte.dev/e/get_abort_signal_outside_reaction")}function Th(){throw new Error("https://svelte.dev/e/hydration_failed")}function Os(i){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}function Eh(i){throw new Error("https://svelte.dev/e/props_invalid_value")}function kh(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Sh(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ch(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ph(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Rh(i,t){console.warn("https://svelte.dev/e/assignment_value_stale")}function Ah(i,t){console.warn("https://svelte.dev/e/binding_property_non_reactive")}function Ih(i){console.warn("https://svelte.dev/e/console_log_state")}function Oh(i,t){console.warn("https://svelte.dev/e/event_handler_invalid")}function Dh(i){console.warn("https://svelte.dev/e/hydratable_missing_but_expected")}function Gi(i){console.warn("https://svelte.dev/e/hydration_mismatch")}function Mh(i,t,e,r){console.warn("https://svelte.dev/e/ownership_invalid_binding")}function Lh(i,t,e,r){console.warn("https://svelte.dev/e/ownership_invalid_mutation")}function zh(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ds(i){console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}function Hh(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let de=!1;function lt(i){de=i}let Se;function Qe(i){if(i===null)throw Gi(),qr;return Se=i}function yt(){return Qe(Zt(Se))}function j(i){if(de){if(Zt(Se)!==null)throw Gi(),qr;Se=i}}function Nh(i){de&&(Se=i.content)}function Tt(i=1){if(de){for(var t=i,e=Se;t--;)e=Zt(e);Se=e}}function $r(i=!0){for(var t=0,e=Se;;){if(e.nodeType===vr){var r=e.data;if(r===jn){if(t===0)return e;t-=1}else(r===jo||r===wi)&&(t+=1)}var n=Zt(e);i&&e.remove(),e=n}}function Ms(i){if(!i||i.nodeType!==vr)throw Gi(),qr;return i.data}function Ls(i){return i===this.v}function zs(i,t){return i!=i?t==t:i!==t||i!==null&&typeof i=="object"||typeof i=="function"}function Hs(i){return!zs(i,this.v)}let Fh=!1;function Bh(i){console.warn("https://svelte.dev/e/dynamic_void_element_content")}const Vh=[];function to(i,t=!1,e=!1){return ro(i,new Map,"",Vh,null,e)}function ro(i,t,e,r,n=null,o=!1){if(typeof i=="object"&&i!==null){var a=t.get(i);if(a!==void 0)return a;if(i instanceof Map)return new Map(i);if(i instanceof Set)return new Set(i);if(Xr(i)){var s=Array(i.length);t.set(i,s),n!==null&&t.set(n,s);for(var l=0;l<i.length;l+=1){var c=i[l];l in i&&(s[l]=ro(c,t,e,r,null,o))}return s}if(qn(i)===xs){s={},t.set(i,s),n!==null&&t.set(n,s);for(var u in i)s[u]=ro(i[u],t,e,r,null,o);return s}if(i instanceof Date)return structuredClone(i);if(typeof i.toJSON=="function"&&!o)return ro(i.toJSON(),t,e,r,i)}if(i instanceof EventTarget)return i;try{return structuredClone(i)}catch{return i}}let xi=null;function Ns(i,t){const e=i.v;if(e===st)return;const r=Uh(i),n=Ne,o=i.wv>n.wv||n.wv===0,a=o?"color: CornflowerBlue; font-weight: bold":"color: grey; font-weight: normal";if(console.groupCollapsed(i.label?`%c${r}%c ${i.label}`:`%c${r}%c`,a,o?"font-weight: normal":a,typeof e=="object"&&e!==null&&Ct in e?to(e,!0):e),r==="$derived"){const l=new Set(i.deps);for(const c of l)Ns(c)}if(i.created&&console.log(i.created),o&&i.updated)for(const l of i.updated.values())l.error&&console.log(l.error);if(t)for(var s of t.traces)console.log(s);console.groupEnd()}function Uh(i){var t;return(i.f&(pt|Jn))!==0?"$derived":(t=i.label)!=null&&t.startsWith("$")?"store":"$state"}function jh(i,t){var e=xi;try{xi={entries:new Map,reaction:Ne};var r=performance.now(),n=t(),o=(performance.now()-r).toFixed(2),a=Xe(i);if(!ii())console.log(`${a} %cran outside of an effect (${o}ms)`,"color: grey");else if(xi.entries.size===0)console.log(`${a} %cno reactive dependencies (${o}ms)`,"color: grey");else{console.group(`${a} %c(${o}ms)`,"color: grey");var s=xi.entries;Xe(()=>{for(const[l,c]of s)Ns(l,c)}),xi=null,console.groupEnd()}return n}finally{xi=e}}function Gh(i,t){return i.label=t,Fs(i.v,t),i}function Fs(i,t){var e;return(e=i==null?void 0:i[oh])==null||e.call(i,t),i}function Zh(i){const t=new Error,e=Wh();return e.length===0?null:(e.unshift(`
|
|
2
2
|
`),Yr(t,"stack",{value:e.join(`
|
|
3
3
|
`)}),Yr(t,"name",{value:i}),t)}function Wh(){const i=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=new Error().stack;if(Error.stackTraceLimit=i,!t)return[];const e=t.split(`
|
|
4
|
-
`),r=[];for(let n=0;n<e.length;n++){const o=e[n],a=o.replaceAll("\\","/");if(o.trim()!=="Error"){if(o.includes("validate_each_keys"))return[];a.includes("svelte/src/internal")||a.includes("node_modules/.vite")||r.push(o)}}return r}let Be=null;function Ti(i){Be=i}let io=null;function qh(i,t,e,r,n,o){const a=io;io={type:t,file:e[Bt],line:r,column:n,parent:a,...o};try{return i()}finally{io=a}}let Zi=null;function Bs(i){Zi=i}function Xh(){const i={};return[()=>(Yo(i)||sh(),Rr(i)),t=>Xo(i,t)]}function Rr(i){return no().get(i)}function Xo(i,t){return no().set(i,t),t}function Yo(i){return no().has(i)}function Yh(){return no()}function Je(i,t=!1,e){Be={p:Be,i:!1,c:null,e:null,s:i,x:null,l:null}}function $e(i){var t=Be,e=t.e;if(e!==null){t.e=null;for(var r of e)ul(r)}return i!==void 0&&(t.x=i),t.i=!0,Be=t.p,i??{}}function Vs(){return!0}function no(i){return Be===null&&yi(),Be.c??(Be.c=new Map(Kh(Be)||void 0))}function Kh(i){let t=i.p;for(;t!==null;){const e=t.c;if(e!==null)return e;t=t.p}return null}let ei=[];function Us(){var i=ei;ei=[],Zo(i)}function Ut(i){if(ei.length===0&&!Ei){var t=ei;queueMicrotask(()=>{t===ei&&Us()})}ei.push(i)}function Qh(){for(;ei.length>0;)Us()}function js(i){var t=Me;if(t===null)return Ne.f|=zr,i;if((t.f&ji)===0){if((t.f&Kn)===0)throw i;t.b.error(i)}else Ar(i,t)}function Ar(i,t){for(;t!==null;){if((t.f&Kn)!==0)try{t.b.error(i);return}catch(e){i=e}t=t.parent}throw i}const ti=new Set;let Le=null,Wi=null,rt=null,$t=[],oo=null,Ko=!1,Ei=!1;const Lo=class Lo{constructor(){ve(this,vt);at(this,"committed",!1);at(this,"current",new Map);at(this,"previous",new Map);ve(this,zi,new Set);ve(this,Hi,new Set);ve(this,di,0);ve(this,fi,0);ve(this,un,null);ve(this,Ni,[]);ve(this,Fi,[]);at(this,"skipped_effects",new Set);at(this,"is_fork",!1)}is_deferred(){return this.is_fork||I(this,fi)>0}process(t){var r;$t=[],Wi=null,this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)et(this,vt,ds).call(this,n,e);this.is_fork||et(this,vt,Hu).call(this),this.is_deferred()?(et(this,vt,_i).call(this,e.effects),et(this,vt,_i).call(this,e.render_effects),et(this,vt,_i).call(this,e.block_effects)):(Wi=this,Le=null,Gs(e.render_effects),Gs(e.effects),Wi=null,(r=I(this,un))==null||r.resolve()),rt=null}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&zr)===0&&(this.current.set(t,t.v),rt==null||rt.set(t,t.v))}activate(){Le=this,this.apply()}deactivate(){Le===this&&(Le=null,rt=null)}flush(){if(this.activate(),$t.length>0){if(Qo(),Le!==null&&Le!==this)return}else I(this,di)===0&&this.process([]);this.deactivate()}discard(){for(const t of I(this,Hi))t(this);I(this,Hi).clear()}increment(t){De(this,di,I(this,di)+1),t&&De(this,fi,I(this,fi)+1)}decrement(t){De(this,di,I(this,di)-1),t&&De(this,fi,I(this,fi)-1),this.revive()}revive(){for(const t of I(this,Ni))mt(t,St),ri(t);for(const t of I(this,Fi))mt(t,pr),ri(t);De(this,Ni,[]),De(this,Fi,[]),this.flush()}oncommit(t){I(this,zi).add(t)}ondiscard(t){I(this,Hi).add(t)}settled(){return(I(this,un)??De(this,un,ks())).promise}static ensure(){if(Le===null){const t=Le=new Lo;ti.add(Le),Ei||Lo.enqueue(()=>{Le===t&&t.flush()})}return Le}static enqueue(t){Ut(t)}apply(){}};zi=new WeakMap,Hi=new WeakMap,di=new WeakMap,fi=new WeakMap,un=new WeakMap,Ni=new WeakMap,Fi=new WeakMap,vt=new WeakSet,ds=function(t,e){var u;t.f^=bt;for(var r=t.first;r!==null;){var n=r.f,o=(n&(Cr|Lr))!==0,a=o&&(n&bt)!==0,s=a||(n&Vt)!==0||this.skipped_effects.has(r);if((r.f&Kn)!==0&&((u=r.b)!=null&&u.is_pending())&&(e={parent:e,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){o?r.f^=bt:(n&Xn)!==0?e.effects.push(r):Si(r)&&((r.f&fr)!==0&&e.block_effects.push(r),Ci(r));var l=r.first;if(l!==null){r=l;continue}}var c=r.parent;for(r=r.next;r===null&&c!==null;)c===e.effect&&(et(this,vt,_i).call(this,e.effects),et(this,vt,_i).call(this,e.render_effects),et(this,vt,_i).call(this,e.block_effects),e=e.parent),r=c.next,c=c.parent}},_i=function(t){for(const e of t)((e.f&St)!==0?I(this,Ni):I(this,Fi)).push(e),et(this,vt,fs).call(this,e.deps),mt(e,bt)},fs=function(t){if(t!==null)for(const e of t)(e.f&pt)===0||(e.f&Qr)===0||(e.f^=Qr,et(this,vt,fs).call(this,e.deps))},Hu=function(){if(I(this,fi)===0){for(const t of I(this,zi))t();I(this,zi).clear()}I(this,di)===0&&et(this,vt,Nu).call(this)},Nu=function(){var o;if(ti.size>1){this.previous.clear();var t=rt,e=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of ti){if(a===this){e=!1;continue}const s=[];for(const[c,u]of this.current){if(a.current.has(c))if(e&&u!==a.current.get(c))a.current.set(c,u);else continue;s.push(c)}if(s.length===0)continue;const l=[...a.current.keys()].filter(c=>!this.current.has(c));if(l.length>0){var n=$t;$t=[];const c=new Set,u=new Map;for(const h of s)Zs(h,l,c,u);if($t.length>0){Le=a,a.apply();for(const h of $t)et(o=a,vt,ds).call(o,h,r);a.deactivate()}$t=n}}Le=null,rt=t}this.committed=!0,ti.delete(this)};let jt=Lo;function Mt(i){var t=Ei;Ei=!0;try{var e;for(i&&(Le!==null&&Qo(),e=i());;){if(Qh(),$t.length===0&&(Le==null||Le.flush(),$t.length===0))return oo=null,e;Qo()}}finally{Ei=t}}function Qo(){var i=oi;Ko=!0;var t=null;try{var e=0;for(ho(!0);$t.length>0;){var r=jt.ensure();if(e++>1e3){var n,o;Jh()}r.process($t),Nr.clear()}}finally{Ko=!1,ho(i),oo=null}}function Jh(){try{wh()}catch(i){Ar(i,oo)}}let ur=null;function Gs(i){var t=i.length;if(t!==0){for(var e=0;e<t;){var r=i[e++];if((r.f&(gr|Vt))===0&&Si(r)&&(ur=new Set,Ci(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?_l(r):r.fn=null),(ur==null?void 0:ur.size)>0)){Nr.clear();for(const n of ur){if((n.f&(gr|Vt))!==0)continue;const o=[n];let a=n.parent;for(;a!==null;)ur.has(a)&&(ur.delete(a),o.push(a)),a=a.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(gr|Vt))===0&&Ci(l)}}ur.clear()}}ur=null}}function Zs(i,t,e,r){if(!e.has(i)&&(e.add(i),i.reactions!==null))for(const n of i.reactions){const o=n.f;(o&pt)!==0?Zs(n,t,e,r):(o&(Jn|fr))!==0&&(o&St)===0&&qs(n,t,r)&&(mt(n,St),ri(n))}}function Ws(i,t){if(i.reactions!==null)for(const e of i.reactions){const r=e.f;(r&pt)!==0?Ws(e,t):(r&Qn)!==0&&(mt(e,St),t.add(e))}}function qs(i,t,e){const r=e.get(i);if(r!==void 0)return r;if(i.deps!==null)for(const n of i.deps){if(t.includes(n))return!0;if((n.f&pt)!==0&&qs(n,t,e))return e.set(n,!0),!0}return e.set(i,!1),!1}function ri(i){for(var t=oo=i;t.parent!==null;){t=t.parent;var e=t.f;if(Ko&&t===Me&&(e&fr)!==0&&(e&Wo)===0)return;if((e&(Lr|Cr))!==0){if((e&bt)===0)return;t.f^=bt}}$t.push(t)}let ao=[];function $h(){try{Mt(()=>{for(const i of ao)Yi(i)})}finally{ao=[]}}function ed(i){var t=Gt(0),e=!0,r=void 0;return m(t),dl(()=>{if(e){var n=rt;try{rt=null,r=i()}finally{rt=n}return}ao.length===0&&Ut($h),ao.push(t)}),e=!1,r}function td(i){As(),Le!==null&&yh();var t=jt.ensure();t.is_fork=!0,rt=new Map;var e=!1,r=t.settled();Mt(i),rt=null;for(var[n,o]of t.previous)n.v=o;return{commit:async()=>{if(e){await r;return}ti.has(t)||bh(),e=!0,t.is_fork=!1;for(var[a,s]of t.current)a.v=s;Mt(()=>{var l=new Set;for(var c of t.current.keys())Ws(c,l);hd(l),el()}),t.revive(),await r},discard:()=>{!e&&ti.has(t)&&(ti.delete(t),t.discard())}}}function rd(i){let t=0,e=Gt(0),r;return()=>{ii()&&(m(e),ct(()=>(t===0&&(r=Xe(()=>i(()=>Ki(e)))),t+=1,()=>{Ut(()=>{t-=1,t===0&&(r==null||r(),r=void 0,Ki(e))})})))}}var id=cr|Kr|Kn;function Xs(i,t,e){new nd(i,t,e)}class nd{constructor(t,e,r){ve(this,dt);at(this,"parent");ve(this,nr,!1);ve(this,Kt);ve(this,hn,de?Se:null);ve(this,Tr);ve(this,pi);ve(this,Er);ve(this,or,null);ve(this,Ft,null);ve(this,kr,null);ve(this,Dr,null);ve(this,jr,null);ve(this,gi,0);ve(this,Gr,0);ve(this,vi,!1);ve(this,Zr,null);ve(this,zo,rd(()=>(De(this,Zr,Gt(I(this,gi))),()=>{De(this,Zr,null)})));De(this,Kt,t),De(this,Tr,e),De(this,pi,r),this.parent=Me.b,De(this,nr,!!I(this,Tr).pending),De(this,Er,_r(()=>{if(Me.b=this,de){const o=I(this,hn);yt(),o.nodeType===vr&&o.data===wi?et(this,dt,Bu).call(this):et(this,dt,Fu).call(this)}else{var n=et(this,dt,ps).call(this);try{De(this,or,Pt(()=>r(n)))}catch(o){this.error(o)}I(this,Gr)>0?et(this,dt,Vo).call(this):De(this,nr,!1)}return()=>{var o;(o=I(this,jr))==null||o.remove()}},id)),de&&De(this,Kt,Se)}is_pending(){return I(this,nr)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!I(this,Tr).pending}update_pending_count(t){et(this,dt,gs).call(this,t),De(this,gi,I(this,gi)+t),I(this,Zr)&&mr(I(this,Zr),I(this,gi))}get_effect_pending(){return I(this,zo).call(this),m(I(this,Zr))}error(t){var e=I(this,Tr).onerror;let r=I(this,Tr).failed;if(I(this,vi)||!e&&!r)throw t;I(this,or)&&(gt(I(this,or)),De(this,or,null)),I(this,Ft)&&(gt(I(this,Ft)),De(this,Ft,null)),I(this,kr)&&(gt(I(this,kr)),De(this,kr,null)),de&&(Qe(I(this,hn)),Tt(),Qe($r()));var n=!1,o=!1;const a=()=>{if(n){Hh();return}n=!0,o&&Ph(),jt.ensure(),De(this,gi,0),I(this,kr)!==null&&ni(I(this,kr),()=>{De(this,kr,null)}),De(this,nr,this.has_pending_snippet()),De(this,or,et(this,dt,Bo).call(this,()=>(De(this,vi,!1),Pt(()=>I(this,pi).call(this,I(this,Kt)))))),I(this,Gr)>0?et(this,dt,Vo).call(this):De(this,nr,!1)};var s=Ne;try{Et(null),o=!0,e==null||e(t,a),o=!1}catch(l){Ar(l,I(this,Er)&&I(this,Er).parent)}finally{Et(s)}r&&Ut(()=>{De(this,kr,et(this,dt,Bo).call(this,()=>{jt.ensure(),De(this,vi,!0);try{return Pt(()=>{r(I(this,Kt),()=>t,()=>a)})}catch(l){return Ar(l,I(this,Er).parent),null}finally{De(this,vi,!1)}}))})}}nr=new WeakMap,Kt=new WeakMap,hn=new WeakMap,Tr=new WeakMap,pi=new WeakMap,Er=new WeakMap,or=new WeakMap,Ft=new WeakMap,kr=new WeakMap,Dr=new WeakMap,jr=new WeakMap,gi=new WeakMap,Gr=new WeakMap,vi=new WeakMap,Zr=new WeakMap,zo=new WeakMap,dt=new WeakSet,Fu=function(){try{De(this,or,Pt(()=>I(this,pi).call(this,I(this,Kt))))}catch(t){this.error(t)}De(this,nr,!1)},Bu=function(){const t=I(this,Tr).pending;t&&(De(this,Ft,Pt(()=>t(I(this,Kt)))),jt.enqueue(()=>{var e=et(this,dt,ps).call(this);De(this,or,et(this,dt,Bo).call(this,()=>(jt.ensure(),Pt(()=>I(this,pi).call(this,e))))),I(this,Gr)>0?et(this,dt,Vo).call(this):(ni(I(this,Ft),()=>{De(this,Ft,null)}),De(this,nr,!1))}))},ps=function(){var t=I(this,Kt);return I(this,nr)&&(De(this,jr,xt()),I(this,Kt).before(I(this,jr)),t=I(this,jr)),t},Bo=function(t){var e=Me,r=Ne,n=Be;Ht(I(this,Er)),Et(I(this,Er)),Ti(I(this,Er).ctx);try{return t()}catch(o){return js(o),null}finally{Ht(e),Et(r),Ti(n)}},Vo=function(){const t=I(this,Tr).pending;I(this,or)!==null&&(De(this,Dr,document.createDocumentFragment()),I(this,Dr).append(I(this,jr)),yl(I(this,or),I(this,Dr))),I(this,Ft)===null&&De(this,Ft,Pt(()=>t(I(this,Kt))))},gs=function(t){var e;if(!this.has_pending_snippet()){this.parent&&et(e=this.parent,dt,gs).call(e,t);return}De(this,Gr,I(this,Gr)+t),I(this,Gr)===0&&(De(this,nr,!1),I(this,Ft)&&ni(I(this,Ft),()=>{De(this,Ft,null)}),I(this,Dr)&&(I(this,Kt).before(I(this,Dr)),De(this,Dr,null)))};function Jo(){return Me.b}function od(){Me===null&&_h();var i=Me.b;return i===null?0:i.get_effect_pending()}function qi(i,t,e,r){const n=Xi;if(e.length===0&&i.length===0){r(t.map(n));return}var o=Le,a=Me,s=so();function l(){Promise.all(e.map(c=>Ks(c))).then(c=>{s();try{r([...t.map(n),...c])}catch(u){(a.f&gr)===0&&Ar(u,a)}o==null||o.deactivate(),Hr()}).catch(c=>{Ar(c,a)})}i.length>0?Promise.all(i).then(()=>{s();try{return l()}finally{o==null||o.deactivate(),Hr()}}):l()}function Ys(i,t){qi(i,[],[],t)}function so(){var i=Me,t=Ne,e=Be,r=Le;return function(o=!0){Ht(i),Et(t),Ti(e),o&&(r==null||r.activate())}}async function ad(i){var t=so(),e=await i;return()=>(t(),e)}async function $o(i){var t=await i;return()=>t}async function*sd(i){var r,n;const t=((r=i[Symbol.asyncIterator])==null?void 0:r.call(i))??((n=i[Symbol.iterator])==null?void 0:n.call(i));if(t===void 0)throw new TypeError("value is not async iterable");let e=!1;try{for(;;){const{done:o,value:a}=(await $o(t.next()))();if(o){e=!0;break}yield a}}finally{if(e&&t.return!==void 0)return(await $o(t.return()))().value}}function Hr(){Ht(null),Et(null),Ti(null)}async function ld(i,t){var e=Jo(),r=Le,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=Me,a=de,s=void 0;a&&(yt(),s=$r(!1));try{var l=t(i)}finally{s&&(Qe(s),yt())}try{await l}catch(c){uo(o)||Ar(c,o)}finally{e.update_pending_count(-1),r.decrement(n),Hr()}}function cd(i){const t=so();var e=Jo(),r=Le,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=Me,a=null;const s=u=>{a={error:u},uo(o)||Ar(u,o)};var l=Promise.resolve(i[0]()).catch(s),c=[l];for(const u of i.slice(1))l=l.then(()=>{if(a)throw a.error;if(uo(o))throw Jr;try{return t(),u()}finally{Hr()}}).catch(s).finally(()=>{Hr()}),c.push(l);return l.then(()=>Promise.resolve()).finally(()=>{e.update_pending_count(-1),r.decrement(n)}),c}function Xi(i){var t=pt|St,e=Ne!==null&&(Ne.f&pt)!==0?Ne:null;return Me!==null&&(Me.f|=Kr),{ctx:Be,deps:null,effects:null,equals:Ls,f:t,fn:i,reactions:null,rv:0,v:st,wv:0,parent:e??Me,ac:null}}function Ks(i,t){let e=Me;e===null&&hh();var r=e.b,n=void 0,o=Gt(st),a=!Ne,s=new Map;return kd(()=>{var d;var l=ks();n=l.promise;try{Promise.resolve(i()).then(l.resolve,l.reject).then(()=>{c===Le&&c.committed&&c.deactivate(),Hr()})}catch(p){l.reject(p),Hr()}var c=Le;if(a){var u=!r.is_pending();r.update_pending_count(1),c.increment(u),(d=s.get(c))==null||d.reject(Jr),s.delete(c),s.set(c,l)}const h=(p,_=void 0)=>{if(c.activate(),_)_!==Jr&&(o.f|=zr,mr(o,_));else{(o.f&zr)!==0&&(o.f^=zr),mr(o,p);for(const[f,g]of s){if(s.delete(f),f===c)break;g.reject(Jr)}}a&&(r.update_pending_count(-1),c.decrement(u))};l.promise.then(h,p=>h(null,p||"unknown"))}),Wt(()=>{for(const l of s.values())l.reject(Jr)}),new Promise(l=>{function c(u){function h(){u===n?l(o):c(n)}u.then(h,h)}c(n)})}function ne(i){const t=Xi(i);return Tl(t),t}function ea(i){const t=Xi(i);return t.equals=Hs,t}function Qs(i){var t=i.effects;if(t!==null){i.effects=null;for(var e=0;e<t.length;e+=1)gt(t[e])}}function ud(i){for(var t=i.parent;t!==null;){if((t.f&pt)===0)return(t.f&gr)===0?t:null;t=t.parent}return null}function ta(i){var t,e=Me;Ht(ud(i));try{i.f&=~Qr,Qs(i),t=Pl(i)}finally{Ht(e)}return t}function Js(i){var t=ta(i);if(i.equals(t)||(Le!=null&&Le.is_fork||(i.v=t),i.wv=Sl()),!ai)if(rt!==null)(ii()||Le!=null&&Le.is_fork)&&rt.set(i,t);else{var e=(i.f&lr)===0?pr:bt;mt(i,e)}}let lo=new Set;const Nr=new Map;function hd(i){lo=i}let $s=!1;function Gt(i,t){var e={f:0,v:i,reactions:null,equals:Ls,rv:0,wv:0};return e}function Ce(i,t){const e=Gt(i);return Tl(e),e}function co(i,t=!1,e=!0){const r=Gt(i);return t||(r.equals=Hs),r}function dd(i,t){return me(i,Xe(()=>m(i))),t}function me(i,t,e=!1){Ne!==null&&(!wr||(Ne.f&Qn)!==0)&&Vs()&&(Ne.f&(pt|fr|Jn|Qn))!==0&&!(Rt!=null&&Rt.includes(i))&&Ch();let r=e?ht(t):t;return mr(i,r)}function mr(i,t){if(!i.equals(t)){var e=i.v;ai?Nr.set(i,t):Nr.set(i,e),i.v=t;var r=jt.ensure();r.capture(i,e),(i.f&pt)!==0&&((i.f&St)!==0&&ta(i),mt(i,(i.f&lr)!==0?bt:pr)),i.wv=Sl(),tl(i,St),Me!==null&&(Me.f&bt)!==0&&(Me.f&(Cr|Lr))===0&&(er===null?Ad([i]):er.push(i)),!r.is_fork&&lo.size>0&&!$s&&el()}return t}function el(){$s=!1;var i=oi;ho(!0);const t=Array.from(lo);try{for(const e of t)(e.f&bt)!==0&&mt(e,pr),Si(e)&&Ci(e)}finally{ho(i)}lo.clear()}function Yi(i,t=1){var e=m(i),r=t===1?e++:e--;return me(i,e),r}function fd(i,t=1){var e=m(i);return me(i,t===1?++e:--e)}function Ki(i){me(i,i.v+1)}function tl(i,t){var e=i.reactions;if(e!==null)for(var r=e.length,n=0;n<r;n++){var o=e[n],a=o.f,s=(a&St)===0;if(s&&mt(o,t),(a&pt)!==0){var l=o;rt==null||rt.delete(l),(a&Qr)===0&&(a&lr&&(o.f|=Qr),tl(l,pr))}else s&&((a&fr)!==0&&ur!==null&&ur.add(o),ri(o))}}function ht(i){if(typeof i!="object"||i===null||Ct in i)return i;const t=qn(i);if(t!==xs&&t!==eh)return i;var e=new Map,r=Xr(i),n=Ce(0),o=si,a=s=>{if(si===o)return s();var l=Ne,c=si;Et(null),kl(o);var u=s();return Et(l),kl(c),u};return r&&e.set("length",Ce(i.length)),new Proxy(i,{defineProperty(s,l,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&kh();var u=e.get(l);return u===void 0?u=a(()=>{var h=Ce(c.value);return e.set(l,h),h}):me(u,c.value,!0),!0},deleteProperty(s,l){var c=e.get(l);if(c===void 0){if(l in s){const u=a(()=>Ce(st));e.set(l,u),Ki(n)}}else me(c,st),Ki(n);return!0},get(s,l,c){var p;if(l===Ct)return i;var u=e.get(l),h=l in s;if(u===void 0&&(!h||(p=sr(s,l))!=null&&p.writable)&&(u=a(()=>{var _=ht(h?s[l]:st),f=Ce(_);return f}),e.set(l,u)),u!==void 0){var d=m(u);return d===st?void 0:d}return Reflect.get(s,l,c)},getOwnPropertyDescriptor(s,l){var c=Reflect.getOwnPropertyDescriptor(s,l);if(c&&"value"in c){var u=e.get(l);u&&(c.value=m(u))}else if(c===void 0){var h=e.get(l),d=h==null?void 0:h.v;if(h!==void 0&&d!==st)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return c},has(s,l){var d;if(l===Ct)return!0;var c=e.get(l),u=c!==void 0&&c.v!==st||Reflect.has(s,l);if(c!==void 0||Me!==null&&(!u||(d=sr(s,l))!=null&&d.writable)){c===void 0&&(c=a(()=>{var p=u?ht(s[l]):st,_=Ce(p);return _}),e.set(l,c));var h=m(c);if(h===st)return!1}return u},set(s,l,c,u){var C;var h=e.get(l),d=l in s;if(r&&l==="length")for(var p=c;p<h.v;p+=1){var _=e.get(p+"");_!==void 0?me(_,st):p in s&&(_=a(()=>Ce(st)),e.set(p+"",_))}if(h===void 0)(!d||(C=sr(s,l))!=null&&C.writable)&&(h=a(()=>Ce(void 0)),me(h,ht(c)),e.set(l,h));else{d=h.v!==st;var f=a(()=>ht(c));me(h,f)}var g=Reflect.getOwnPropertyDescriptor(s,l);if(g!=null&&g.set&&g.set.call(u,c),!d){if(r&&typeof l=="string"){var y=e.get("length"),k=Number(l);Number.isInteger(k)&&k>=y.v&&me(y,k+1)}Ki(n)}return!0},ownKeys(s){m(n);var l=Reflect.ownKeys(s).filter(h=>{var d=e.get(h);return d===void 0||d.v!==st});for(var[c,u]of e)u.v!==st&&!(c in s)&&l.push(c);return l},setPrototypeOf(){Sh()}})}function ki(i){try{if(i!==null&&typeof i=="object"&&Ct in i)return i[Ct]}catch{}return i}function rl(i,t){return Object.is(ki(i),ki(t))}function pd(i,t,e=!0){try{i===t!=(ki(i)===ki(t))&&Ds(e?"===":"!==")}catch{}return i===t===e}function gd(i,t,e=!0){return i==t!=(ki(i)==ki(t))&&Ds(),i==t===e}var ra,il,ia,nl,ol;function na(){if(ra===void 0){ra=window,il=document,ia=/Firefox/.test(navigator.userAgent);var i=Element.prototype,t=Node.prototype,e=Text.prototype;nl=sr(t,"firstChild").get,ol=sr(t,"nextSibling").get,Ts(i)&&(i.__click=void 0,i.__className=void 0,i.__attributes=null,i.__style=void 0,i.__e=void 0),Ts(e)&&(e.__t=void 0)}}function xt(i=""){return document.createTextNode(i)}function nt(i){return nl.call(i)}function Zt(i){return ol.call(i)}function Z(i,t){if(!de)return nt(i);var e=nt(Se);if(e===null)e=Se.appendChild(xt());else if(t&&e.nodeType!==eo){var r=xt();return e==null||e.before(r),Qe(r),r}return Qe(e),e}function K(i,t=!1){if(!de){var e=nt(i);return e instanceof Comment&&e.data===""?Zt(e):e}if(t&&(Se==null?void 0:Se.nodeType)!==eo){var r=xt();return Se==null||Se.before(r),Qe(r),r}return Se}function ue(i,t=1,e=!1){let r=de?Se:i;for(var n;t--;)n=r,r=Zt(r);if(!de)return r;if(e&&(r==null?void 0:r.nodeType)!==eo){var o=xt();return r===null?n==null||n.after(o):r.before(o),Qe(o),o}return Qe(r),r}function oa(i){i.textContent=""}function al(){return!1}function vd(i,t,e){let r=e?{is:e}:void 0;return t?document.createElementNS(t,i,r):document.createElement(i,r)}function md(){return document.createDocumentFragment()}function _d(i=""){return document.createComment(i)}function wd(i,t,e=""){if(t.startsWith("xlink:")){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e);return}return i.setAttribute(t,e)}function sl(i,t){if(t){const e=document.body;i.autofocus=!0,Ut(()=>{document.activeElement===e&&i.focus()})}}function bd(i){de&&nt(i)!==null&&oa(i)}let ll=!1;function cl(){ll||(ll=!0,document.addEventListener("reset",i=>{Promise.resolve().then(()=>{var t;if(!i.defaultPrevented)for(const e of i.target.elements)(t=e.__on_r)==null||t.call(e)})},{capture:!0}))}function Lt(i,t,e,r=!0){r&&e();for(var n of t)i.addEventListener(n,e);Wt(()=>{for(var o of t)i.removeEventListener(o,e)})}function Fr(i){var t=Ne,e=Me;Et(null),Ht(null);try{return i()}finally{Et(t),Ht(e)}}function Qi(i,t,e,r=e){i.addEventListener(t,()=>Fr(e));const n=i.__on_r;n?i.__on_r=()=>{n(),r(!0)}:i.__on_r=()=>r(!0),cl()}function aa(i){Me===null&&(Ne===null&&mh(),vh()),ai&&gh()}function yd(i,t){var e=t.last;e===null?t.last=t.first=i:(e.next=i,i.prev=e,t.last=i)}function zt(i,t,e){var r=Me;r!==null&&(r.f&Vt)!==0&&(i|=Vt);var n={ctx:Be,deps:null,nodes:null,f:i|St|lr,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(e)try{Ci(n),n.f|=ji}catch(s){throw gt(n),s}else t!==null&&ri(n);var o=n;if(e&&o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&Kr)===0&&(o=o.first,(i&fr)!==0&&(i&cr)!==0&&o!==null&&(o.f|=cr)),o!==null&&(o.parent=r,r!==null&&yd(o,r),Ne!==null&&(Ne.f&pt)!==0&&(i&Lr)===0)){var a=Ne;(a.effects??(a.effects=[])).push(o)}return n}function ii(){return Ne!==null&&!wr}function Wt(i){const t=zt(Yn,null,!1);return mt(t,bt),t.teardown=i,t}function ut(i){aa();var t=Me.f,e=!Ne&&(t&Cr)!==0&&(t&ji)===0;if(e){var r=Be;(r.e??(r.e=[])).push(i)}else return ul(i)}function ul(i){return zt(Xn|Cs,i,!1)}function hl(i){return aa(),zt(Yn|Cs,i,!0)}function dl(i){return zt(Qn,i,!0)}function fl(i){jt.ensure();const t=zt(Lr|Kr,i,!0);return()=>{gt(t)}}function xd(i){jt.ensure();const t=zt(Lr|Kr,i,!0);return(e={})=>new Promise(r=>{e.outro?ni(t,()=>{gt(t),r(void 0)}):(gt(t),r(void 0))})}function qt(i){return zt(Xn,i,!1)}function Td(i,t){var e=Be,r={effect:null,ran:!1,deps:i};e.l.$.push(r),r.effect=ct(()=>{i(),!r.ran&&(r.ran=!0,Xe(t))})}function Ed(){var i=Be;ct(()=>{for(var t of i.l.$){t.deps();var e=t.effect;(e.f&bt)!==0&&mt(e,pr),Si(e)&&Ci(e),t.ran=!1}})}function kd(i){return zt(Jn|Kr,i,!0)}function ct(i,t=0){return zt(Yn|t,i,!0)}function Re(i,t=[],e=[],r=[]){qi(r,t,e,n=>{zt(Yn,()=>i(...n.map(m)),!0)})}function Sd(i,t=[],e=[],r=[]){var n=Le,o=e.length>0||r.length>0;o&&n.increment(!0),qi(r,t,e,a=>{zt(Xn,()=>i(...a.map(m)),!1),o&&n.decrement(!0)})}function _r(i,t=0){var e=zt(fr|t,i,!0);return e}function pl(i,t=0){var e=zt(Ss|t,i,!0);return e}function Pt(i){return zt(Cr|Kr,i,!0)}function gl(i){var t=i.teardown;if(t!==null){const e=ai,r=Ne;xl(!0),Et(null);try{t.call(null)}finally{xl(e),Et(r)}}}function vl(i,t=!1){var e=i.first;for(i.first=i.last=null;e!==null;){const n=e.ac;n!==null&&Fr(()=>{n.abort(Jr)});var r=e.next;(e.f&Lr)!==0?e.parent=null:gt(e,t),e=r}}function Cd(i){for(var t=i.first;t!==null;){var e=t.next;(t.f&Cr)===0&>(t),t=e}}function gt(i,t=!0){var e=!1;(t||(i.f&Wo)!==0)&&i.nodes!==null&&i.nodes.end!==null&&(ml(i.nodes.start,i.nodes.end),e=!0),vl(i,t&&!e),fo(i,0),mt(i,gr);var r=i.nodes&&i.nodes.t;if(r!==null)for(const o of r)o.stop();gl(i);var n=i.parent;n!==null&&n.first!==null&&_l(i),i.next=i.prev=i.teardown=i.ctx=i.deps=i.fn=i.nodes=i.ac=null}function ml(i,t){for(;i!==null;){var e=i===t?null:Zt(i);i.remove(),i=e}}function _l(i){var t=i.parent,e=i.prev,r=i.next;e!==null&&(e.next=r),r!==null&&(r.prev=e),t!==null&&(t.first===i&&(t.first=r),t.last===i&&(t.last=e))}function ni(i,t,e=!0){var r=[];wl(i,r,!0);var n=()=>{e&>(i),t&&t()},o=r.length;if(o>0){var a=()=>--o||n();for(var s of r)s.out(a)}else n()}function wl(i,t,e){if((i.f&Vt)===0){i.f^=Vt;var r=i.nodes&&i.nodes.t;if(r!==null)for(const s of r)(s.is_global||e)&&t.push(s);for(var n=i.first;n!==null;){var o=n.next,a=(n.f&cr)!==0||(n.f&Cr)!==0&&(i.f&fr)!==0;wl(n,t,a?e:!1),n=o}}}function sa(i){bl(i,!0)}function bl(i,t){if((i.f&Vt)!==0){i.f^=Vt,(i.f&bt)===0&&(mt(i,St),ri(i));for(var e=i.first;e!==null;){var r=e.next,n=(e.f&cr)!==0||(e.f&Cr)!==0;bl(e,n?t:!1),e=r}var o=i.nodes&&i.nodes.t;if(o!==null)for(const a of o)(a.is_global||t)&&a.in()}}function uo(i=Me){return(i.f&gr)!==0}function yl(i,t){if(i.nodes)for(var e=i.nodes.start,r=i.nodes.end;e!==null;){var n=e===r?null:Zt(e);t.append(e),e=n}}let Br=null;function Pd(i){var t=Br;try{if(Br=new Set,Xe(i),t!==null)for(var e of Br)t.add(e);return Br}finally{Br=t}}function Rd(i){for(var t of Pd(i))mr(t,t.v)}let oi=!1;function ho(i){oi=i}let ai=!1;function xl(i){ai=i}let Ne=null,wr=!1;function Et(i){Ne=i}let Me=null;function Ht(i){Me=i}let Rt=null;function Tl(i){Ne!==null&&(Rt===null?Rt=[i]:Rt.push(i))}let At=null,Xt=0,er=null;function Ad(i){er=i}let El=1,Ji=0,si=Ji;function kl(i){si=i}function Sl(){return++El}function Si(i){var t=i.f;if((t&St)!==0)return!0;if(t&pt&&(i.f&=~Qr),(t&pr)!==0){var e=i.deps;if(e!==null)for(var r=e.length,n=0;n<r;n++){var o=e[n];if(Si(o)&&Js(o),o.wv>i.wv)return!0}(t&lr)!==0&&rt===null&&mt(i,bt)}return!1}function Cl(i,t,e=!0){var r=i.reactions;if(r!==null&&!(Rt!=null&&Rt.includes(i)))for(var n=0;n<r.length;n++){var o=r[n];(o.f&pt)!==0?Cl(o,t,!1):t===o&&(e?mt(o,St):(o.f&bt)!==0&&mt(o,pr),ri(o))}}function Pl(i){var _;var t=At,e=Xt,r=er,n=Ne,o=Rt,a=Be,s=wr,l=si,c=i.f;At=null,Xt=0,er=null,Ne=(c&(Cr|Lr))===0?i:null,Rt=null,Ti(i.ctx),wr=!1,si=++Ji,i.ac!==null&&(Fr(()=>{i.ac.abort(Jr)}),i.ac=null);try{i.f|=qo;var u=i.fn,h=u(),d=i.deps;if(At!==null){var p;if(fo(i,Xt),d!==null&&Xt>0)for(d.length=Xt+At.length,p=0;p<At.length;p++)d[Xt+p]=At[p];else i.deps=d=At;if(ii()&&(i.f&lr)!==0)for(p=Xt;p<d.length;p++)((_=d[p]).reactions??(_.reactions=[])).push(i)}else d!==null&&Xt<d.length&&(fo(i,Xt),d.length=Xt);if(Vs()&&er!==null&&!wr&&d!==null&&(i.f&(pt|pr|St))===0)for(p=0;p<er.length;p++)Cl(er[p],i);return n!==null&&n!==i&&(Ji++,er!==null&&(r===null?r=er:r.push(...er))),(i.f&zr)!==0&&(i.f^=zr),h}catch(f){return js(f)}finally{i.f^=qo,At=t,Xt=e,er=r,Ne=n,Rt=o,Ti(a),wr=s,si=l}}function Id(i,t){let e=t.reactions;if(e!==null){var r=$u.call(e,i);if(r!==-1){var n=e.length-1;n===0?e=t.reactions=null:(e[r]=e[n],e.pop())}}e===null&&(t.f&pt)!==0&&(At===null||!At.includes(t))&&(mt(t,pr),(t.f&lr)!==0&&(t.f^=lr,t.f&=~Qr),Qs(t),fo(t,0))}function fo(i,t){var e=i.deps;if(e!==null)for(var r=t;r<e.length;r++)Id(i,e[r])}function Ci(i){var t=i.f;if((t&gr)===0){mt(i,bt);var e=Me,r=oi;Me=i,oi=!0;try{(t&(fr|Ss))!==0?Cd(i):vl(i),gl(i);var n=Pl(i);i.teardown=typeof n=="function"?n:null,i.wv=El;var o;Go&&Fh&&(i.f&St)!==0&&i.deps}finally{oi=r,Me=e}}}async function la(){await Promise.resolve(),Mt()}function Od(){return jt.ensure().settled()}function m(i){var t=i.f,e=(t&pt)!==0;if(Br==null||Br.add(i),Ne!==null&&!wr){var r=Me!==null&&(Me.f&gr)!==0;if(!r&&!(Rt!=null&&Rt.includes(i))){var n=Ne.deps;if((Ne.f&qo)!==0)i.rv<Ji&&(i.rv=Ji,At===null&&n!==null&&n[Xt]===i?Xt++:At===null?At=[i]:At.includes(i)||At.push(i));else{(Ne.deps??(Ne.deps=[])).push(i);var o=i.reactions;o===null?i.reactions=[Ne]:o.includes(Ne)||o.push(Ne)}}}if(ai){if(Nr.has(i))return Nr.get(i);if(e){var a=i,s=a.v;return((a.f&bt)===0&&a.reactions!==null||Al(a))&&(s=ta(a)),Nr.set(a,s),s}}else e&&(!(rt!=null&&rt.has(i))||Le!=null&&Le.is_fork&&!ii())&&(a=i,Si(a)&&Js(a),oi&&ii()&&(a.f&lr)===0&&Rl(a));if(rt!=null&&rt.has(i))return rt.get(i);if((i.f&zr)!==0)throw i.v;return i.v}function Rl(i){if(i.deps!==null){i.f^=lr;for(const t of i.deps)(t.reactions??(t.reactions=[])).push(i),(t.f&pt)!==0&&(t.f&lr)===0&&Rl(t)}}function Al(i){if(i.v===st)return!0;if(i.deps===null)return!1;for(const t of i.deps)if(Nr.has(t)||(t.f&pt)!==0&&Al(t))return!0;return!1}function Dd(i){return i&&m(i)}function Xe(i){var t=wr;try{return wr=!0,i()}finally{wr=t}}const Md=-7169;function mt(i,t){i.f=i.f&Md|t}function Ld(i,t){var e={};for(var r in i)t.includes(r)||(e[r]=i[r]);for(var n of Object.getOwnPropertySymbols(i))Object.propertyIsEnumerable.call(i,n)&&!t.includes(n)&&(e[n]=i[n]);return e}function ca(i){if(!(typeof i!="object"||!i||i instanceof EventTarget)){if(Ct in i)po(i);else if(!Array.isArray(i))for(let t in i){const e=i[t];typeof e=="object"&&e&&Ct in e&&po(e)}}}function po(i,t=new Set){if(typeof i=="object"&&i!==null&&!(i instanceof EventTarget)&&!t.has(i)){t.add(i),i instanceof Date&&i.getTime();for(let r in i)try{po(i[r],t)}catch{}const e=qn(i);if(e!==Object.prototype&&e!==Array.prototype&&e!==Map.prototype&&e!==Set.prototype&&e!==Date.prototype){const r=ys(e);for(let n in r){const o=r[n].get;if(o)try{o.call(i)}catch{}}}}}function zd(i,t){var e;if(As(),de){const r=(e=window.__svelte)==null?void 0:e.h;if(r!=null&&r.has(i))return r.get(i);Dh()}return t()}const Il=new Set,ua=new Set;function Hd(i){if(!de)return;i.removeAttribute("onload"),i.removeAttribute("onerror");const t=i.__e;t!==void 0&&(i.__e=void 0,queueMicrotask(()=>{i.isConnected&&i.dispatchEvent(t)}))}function Ol(i,t,e,r={}){function n(o){if(r.capture||$i.call(t,o),!o.cancelBubble)return Fr(()=>e==null?void 0:e.call(this,o))}return i.startsWith("pointer")||i.startsWith("touch")||i==="wheel"?Ut(()=>{t.addEventListener(i,n,r)}):t.addEventListener(i,n,r),n}function go(i,t,e,r,n){var o={capture:r,passive:n},a=Ol(i,t,e,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Wt(()=>{t.removeEventListener(i,a,o)})}function Ir(i){for(var t=0;t<i.length;t++)Il.add(i[t]);for(var e of ua)e(i)}let Dl=null;function $i(i){var g;var t=this,e=t.ownerDocument,r=i.type,n=((g=i.composedPath)==null?void 0:g.call(i))||[],o=n[0]||i.target;Dl=i;var a=0,s=Dl===i&&i.__root;if(s){var l=n.indexOf(s);if(l!==-1&&(t===document||t===window)){i.__root=t;return}var c=n.indexOf(t);if(c===-1)return;l<=c&&(a=l)}if(o=n[a]||i.target,o!==t){Yr(i,"currentTarget",{configurable:!0,get(){return o||e}});var u=Ne,h=Me;Et(null),Ht(null);try{for(var d,p=[];o!==null;){var _=o.assignedSlot||o.parentNode||o.host||null;try{var f=o["__"+r];f!=null&&(!o.disabled||i.target===o)&&f.call(o,i)}catch(y){d?p.push(y):d=y}if(i.cancelBubble||_===t||_===null)break;o=_}if(d){for(let y of p)queueMicrotask(()=>{throw y});throw d}}finally{i.__root=t,delete i.currentTarget,Et(u),Ht(h)}}}function Nd(i,t,e,r,n,o=!1,a=!1){var c,u;let s,l;try{s=i()}catch(h){l=h}if(typeof s!="function"&&(o||s!=null||l)){const h=r==null?void 0:r[Bt];n?`${h}${n[0]}${n[1]}`:`${h}`;const d=((c=e[0])==null?void 0:c.eventPhase)<Event.BUBBLING_PHASE?"capture":"";if(((u=e[0])==null?void 0:u.type)+d,Oh(),l)throw l}s==null||s.apply(t,e)}function vo(i){var t=document.createElement("template");return t.innerHTML=i.replaceAll("<!>","<!---->"),t.content}function _t(i,t){var e=Me;e.nodes===null&&(e.nodes={start:i,end:t,a:null,t:null})}function pe(i,t){var e=(t&Uo)!==0,r=(t&ms)!==0,n,o=!i.startsWith("<!>");return()=>{if(de)return _t(Se,null),Se;n===void 0&&(n=vo(o?i:"<!>"+i),e||(n=nt(n)));var a=r||ia?document.importNode(n,!0):n.cloneNode(!0);if(e){var s=nt(a),l=a.lastChild;_t(s,l)}else _t(a,a);return a}}function Ml(i,t,e="svg"){var r=!i.startsWith("<!>"),n=(t&Uo)!==0,o=`<${e}>${r?i:"<!>"+i}</${e}>`,a;return()=>{if(de)return _t(Se,null),Se;if(!a){var s=vo(o),l=nt(s);if(n)for(a=document.createDocumentFragment();nt(l);)a.appendChild(nt(l));else a=nt(l)}var c=a.cloneNode(!0);if(n){var u=nt(c),h=c.lastChild;_t(u,h)}else _t(c,c);return c}}function re(i,t){return Ml(i,t,"svg")}function Fd(i,t){return Ml(i,t,"math")}function Ll(i,t){var e=md();for(var r of i){if(typeof r=="string"){e.append(xt(r));continue}if(r===void 0||r[0][0]==="/"){e.append(_d(r?r[0].slice(3):""));continue}const[s,l,...c]=r,u=s==="svg"?Gn:s==="math"?ws:t;var n=vd(s,u,l==null?void 0:l.is);for(var o in l)wd(n,o,l[o]);if(c.length>0){var a=n.tagName==="TEMPLATE"?n.content:n;a.append(Ll(c,n.tagName==="foreignObject"?void 0:u))}e.append(n)}return e}function Bd(i,t){var e=(t&Uo)!==0,r=(t&ms)!==0,n;return()=>{if(de)return _t(Se,null),Se;if(n===void 0){const l=(t&Ku)!==0?Gn:(t&Qu)!==0?ws:void 0;n=Ll(i,l),e||(n=nt(n))}var o=r||ia?document.importNode(n,!0):n.cloneNode(!0);if(e){var a=nt(o),s=o.lastChild;_t(a,s)}else _t(o,o);return o}}function Vd(i){return()=>Ud(i())}function Ud(i){if(de)return i;const t=i.nodeType===Rs,e=i.tagName==="SCRIPT"?[i]:i.querySelectorAll("script"),r=Me;for(const o of e){const a=document.createElement("script");for(var n of o.attributes)a.setAttribute(n.name,n.value);a.textContent=o.textContent,(t?i.firstChild===o:i===o)&&(r.nodes.start=a),(t?i.lastChild===o:i===o)&&(r.nodes.end=a),o.replaceWith(a)}return i}function kt(i=""){if(!de){var t=xt(i+"");return _t(t,t),t}var e=Se;return e.nodeType!==eo&&(e.before(e=xt()),Qe(e)),_t(e,e),e}function te(){if(de)return _t(Se,null),Se;var i=document.createDocumentFragment(),t=document.createComment(""),e=xt();return i.append(t,e),_t(t,e),i}function S(i,t){if(de){var e=Me;((e.f&ji)===0||e.nodes.end===null)&&(e.nodes.end=Se),yt();return}i!==null&&i.before(t)}function jd(){var i,t;if(de&&Se&&Se.nodeType===vr&&((i=Se.textContent)!=null&&i.startsWith("$"))){const e=Se.textContent.substring(1);return yt(),e}return(t=window.__svelte??(window.__svelte={})).uid??(t.uid=1),`c${window.__svelte.uid++}`}const Gd=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Zd(i){return Gd.includes(i)||i.toLowerCase()==="!doctype"}function Wd(i){return i.endsWith("capture")&&i!=="gotpointercapture"&&i!=="lostpointercapture"}const qd=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Xd(i){return qd.includes(i)}const Yd={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Kd(i){return i=i.toLowerCase(),Yd[i]??i}const Qd=["touchstart","touchmove"];function Jd(i){return Qd.includes(i)}const $d=["textarea","script","style","title"];function ef(i){return $d.includes(i)}function zl(i){return i==null?void 0:i.replace(/\//g,"/")}let mo=!0;function Pi(i){mo=i}function Ye(i,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(i.__t??(i.__t=i.nodeValue))&&(i.__t=e,i.nodeValue=e+"")}function ha(i,t){return Nl(i,t)}function Hl(i,t){na(),t.intro=t.intro??!1;const e=t.target,r=de,n=Se;try{for(var o=nt(e);o&&(o.nodeType!==vr||o.data!==jo);)o=Zt(o);if(!o)throw qr;lt(!0),Qe(o);const a=Nl(i,{...t,anchor:o});return lt(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
5
|
-
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==qr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Th(),na(),oa(e),lt(!1),ha(i,t)}finally{lt(r),Qe(n)}}const Ri=new Map;function Nl(i,{target:t,anchor:e,props:r={},events:n,context:o,intro:a=!0}){na();var s=new Set,l=h=>{for(var d=0;d<h.length;d++){var p=h[d];if(!s.has(p)){s.add(p);var _=Jd(p);t.addEventListener(p,$i,{passive:_});var f=Ri.get(p);f===void 0?(document.addEventListener(p,$i,{passive:_}),Ri.set(p,1)):Ri.set(p,f+1)}}};l(Zn(Il)),ua.add(l);var c=void 0,u=xd(()=>{var h=e??t.appendChild(xt());return Xs(h,{pending:()=>{}},d=>{if(o){Je({});var p=Be;p.c=o}if(n&&(r.$$events=n),de&&_t(d,null),mo=a,c=i(d,r)||{},mo=!0,de&&(Me.nodes.end=Se,Se===null||Se.nodeType!==vr||Se.data!==jn))throw Gi(),qr;o&&$e()}),()=>{var _;for(var d of s){t.removeEventListener(d,$i);var p=Ri.get(d);--p===0?(document.removeEventListener(d,$i),Ri.delete(d)):Ri.set(d,p)}ua.delete(l),h!==e&&((_=h.parentNode)==null||_.removeChild(h))}});return da.set(c,u),c}let da=new WeakMap;function Fl(i,t){const e=da.get(i);return e?(da.delete(i),e(t)):Promise.resolve()}function tf(i){const t=i();t&&Zd(t)&&Bh()}function rf(i){const t=i();t&&!(typeof t=="string")&&uh()}function nf(i,t){i!=null&&typeof i.subscribe!="function"&&ch()}function Bl(i){return i.toString=()=>(lh(),""),i}class Ai{constructor(t,e=!0){at(this,"anchor");ve(this,hr,new Map);ve(this,Sr,new Map);ve(this,Qt,new Map);ve(this,mi,new Set);ve(this,dn,!0);ve(this,fn,()=>{var t=Le;if(I(this,hr).has(t)){var e=I(this,hr).get(t),r=I(this,Sr).get(e);if(r)sa(r),I(this,mi).delete(e);else{var n=I(this,Qt).get(e);n&&(I(this,Sr).set(e,n.effect),I(this,Qt).delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[o,a]of I(this,hr)){if(I(this,hr).delete(o),o===t)break;const s=I(this,Qt).get(a);s&&(gt(s.effect),I(this,Qt).delete(a))}for(const[o,a]of I(this,Sr)){if(o===e||I(this,mi).has(o))continue;const s=()=>{if(Array.from(I(this,hr).values()).includes(o)){var c=document.createDocumentFragment();yl(a,c),c.append(xt()),I(this,Qt).set(o,{effect:a,fragment:c})}else gt(a);I(this,mi).delete(o),I(this,Sr).delete(o)};I(this,dn)||!r?(I(this,mi).add(o),ni(a,s,!1)):s()}}});ve(this,Ho,t=>{I(this,hr).delete(t);const e=Array.from(I(this,hr).values());for(const[r,n]of I(this,Qt))e.includes(r)||(gt(n.effect),I(this,Qt).delete(r))});this.anchor=t,De(this,dn,e)}ensure(t,e){var r=Le,n=al();if(e&&!I(this,Sr).has(t)&&!I(this,Qt).has(t))if(n){var o=document.createDocumentFragment(),a=xt();o.append(a),I(this,Qt).set(t,{effect:Pt(()=>e(a)),fragment:o})}else I(this,Sr).set(t,Pt(()=>e(this.anchor)));if(I(this,hr).set(r,t),n){for(const[s,l]of I(this,Sr))s===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[s,l]of I(this,Qt))s===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(I(this,fn)),r.ondiscard(I(this,Ho))}else de&&(this.anchor=Se),I(this,fn).call(this)}}hr=new WeakMap,Sr=new WeakMap,Qt=new WeakMap,mi=new WeakMap,dn=new WeakMap,fn=new WeakMap,Ho=new WeakMap;function It(i,t,...e){var r=new Ai(i);_r(()=>{const n=t()??null;r.ensure(n,n&&(o=>n(o,...e)))},cr)}function of(i,t){const e=(r,...n)=>{var o=Zi;Bs(i);try{return t(r,...n)}finally{Bs(o)}};return Bl(e),e}function af(i){return(t,...e)=>{var l;var r=i(...e),n;if(de)n=Se,yt();else{var o=r.render().trim(),a=vo(o);n=nt(a),t.before(n)}const s=(l=r.setup)==null?void 0:l.call(r,n);_t(n,n),typeof s=="function"&&Wt(s)}}function sf(){return Ne===null&&xh(),(Ne.ac??(Ne.ac=new AbortController)).signal}function fa(i){Be===null&&yi(),ut(()=>{const t=Xe(i);if(typeof t=="function")return t})}function pa(i){Be===null&&yi(),fa(()=>()=>Xe(i))}function lf(i,t,{bubbles:e=!1,cancelable:r=!1}={}){return new CustomEvent(i,{detail:t,bubbles:e,cancelable:r})}function cf(){const i=Be;return i===null&&yi(),(t,e,r)=>{var o;const n=(o=i.s.$$events)==null?void 0:o[t];if(n){const a=Xr(n)?n.slice():[n],s=lf(t,e,r);for(const l of a)l.call(i.x,s);return!s.defaultPrevented}return!0}}function uf(i){Be===null&&yi(),Be.l===null&&Os(),Vl(Be).b.push(i)}function hf(i){Be===null&&yi(),Be.l===null&&Os(),Vl(Be).a.push(i)}function Vl(i){var t=i.l;return t.u??(t.u={a:[],b:[],m:[]})}const df=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:hf,beforeUpdate:uf,createContext:Xh,createEventDispatcher:cf,createRawSnippet:af,flushSync:Mt,fork:td,getAbortSignal:sf,getAllContexts:Yh,getContext:Rr,hasContext:Yo,hydratable:zd,hydrate:Hl,mount:ha,onDestroy:pa,onMount:fa,setContext:Xo,settled:Od,tick:la,unmount:Fl,untrack:Xe},Symbol.toStringTag,{value:"Module"}));function ff(){return Symbol(bs)}function _o(i,t,e,r){return i!==t&&Rh(e,zl(r)),i}function pf(i,t,e,r){return _o(i[t]=e,Xe(()=>i[t]),t,r)}function gf(i,t,e,r){return _o(i[t]&&(i[t]=e),Xe(()=>i[t]),t,r)}function vf(i,t,e,r){return _o(i[t]||(i[t]=e),Xe(()=>i[t]),t,r)}function mf(i,t,e,r){return _o(i[t]??(i[t]=e),Xe(()=>i[t]),t,r)}var Ul=new Map;function _f(i){var t=Ul.get(i);if(t){for(const e of t)e.remove();Ul.delete(i)}}function wf(i,t,e){return(...r)=>{const n=i(...r);var o=de?n:n.nodeType===Rs?n.firstChild:n;return jl(o,t,e),n}}function bf(i,t,e){i.__svelte_meta={parent:io,loc:{file:t,line:e[0],column:e[1]}},e[2]&&jl(i.firstChild,t,e[2])}function jl(i,t,e){for(var r=0,n=0;i&&r<e.length;){if(de&&i.nodeType===vr){var o=i;o.data===jo||o.data===wi?n+=1:o.data[0]===jn&&(n-=1)}n===0&&i.nodeType===Ps&&bf(i,t,e[r++]),i=i.nextSibling}}function yf(i,t){function e(r,n){let o={},a,s=!1;return _r(()=>{const l=t(),c=m(l);if(a){for(var u in o)delete o[u];gt(a)}a=Pt(()=>{s&&Pi(!1),Object.defineProperties(o,Object.getOwnPropertyDescriptors(new.target?new c(r,n):c(r,n))),s&&Pi(!0)})},cr),s=!0,de&&(r=Se),o}return e[Bt]=i[Bt],e[_s]={original:i,source:Gt(i)},e}function xf(i){var r;const t=Be==null?void 0:Be.function,e=(r=Be==null?void 0:Be.p)==null?void 0:r.function;return{mutation:(n,o,a,s,l)=>{const c=o[0];if(Gl(i,c)||!e)return a;let u=i;for(let d=0;d<o.length-1;d++)if(u=u[o[d]],!(u!=null&&u[Ct]))return a;const h=zl(`${t[Bt]}:${s}:${l}`);return Lh(c,h,n,e[Bt]),a},binding:(n,o,a)=>{var s;!Gl(i,n)&&e&&((s=a())!=null&&s[Ct])&&Mh(t[Bt],n,o[Bt],e[Bt])}}}function Gl(i,t){var r;const e=Ct in i||$n in i;return!!((r=sr(i,t))!=null&&r.set)||e&&t in i||!(t in i)}function Tf(i){i&&fh(i[Bt]??"a component",i.name)}function Ef(){const i=Be==null?void 0:Be.function;function t(e){dh(e,i[Bt])}return{$destroy:()=>t("$destroy()"),$on:()=>t("$on(...)"),$set:()=>t("$set(...)")}}function kf(i,t,e=!1){aa();let r=!0,n=st;dl(()=>{try{var o=i()}catch(s){n=s;return}var a=to(o,!0,!0);Xe(()=>{if(e){if(t(...a),!r){const s=Zh("$inspect(...)");s&&(console.groupCollapsed("stack trace"),console.log(s),console.groupEnd())}}else t(r?"init":"update",...a)}),r=!1}),ct(()=>{try{i()}catch{}n!==st&&(console.error(n),n=st)})}function Sf(i,t=[],e=[],r){var n=Jo(),o=Le,a=!n.is_pending();n.update_pending_count(1),o.increment(a);var s=de;if(s){yt();var l=Se,c=$r(!1);Qe(c)}qi(t,[],e,u=>{s&&(lt(!0),Qe(l));try{for(const h of u)m(h);r(i,...u)}finally{s&<(!1),n.update_pending_count(-1),o.decrement(a)}})}function Cf(i,...t){(typeof i!="object"||!(i instanceof Node))&&Is();for(let e of t)typeof e!="function"&&Is()}const Zl=0,ga=1;function Pf(i,t,e,r,n){de&&yt();var o=st,a=Gt(o),s=Gt(o),l=new Ai(i);_r(()=>{var c=t(),u=!1;let h=de&&Es(c)===(i.data===wi);if(h&&(Qe($r()),lt(!1)),Es(c)){var d=so(),p=!1;const _=f=>{if(!u){p=!0,d(!1),jt.ensure(),de&<(!1);try{f()}finally{Hr(),Ei||Mt()}}};c.then(f=>{_(()=>{mr(a,f),l.ensure(ga,r&&(g=>r(g,a)))})},f=>{_(()=>{if(mr(s,f),l.ensure(ga,n&&(g=>n(g,s))),!n)throw s.v})}),de?l.ensure(Zl,e):Ut(()=>{p||_(()=>{l.ensure(Zl,e)})})}else mr(a,c),l.ensure(ga,r&&(_=>r(_,a)));return h&<(!0),()=>{u=!0}})}function F(i,t,e=!1){de&&yt();var r=new Ai(i),n=e?cr:0;function o(a,s){if(de){const c=Ms(i)===wi;if(a===c){var l=$r();Qe(l),r.anchor=l,lt(!1),r.ensure(a,s),lt(!0);return}}r.ensure(a,s)}_r(()=>{var a=!1;t((s,l=!0)=>{a=!0,o(l,s)}),a||o(!1,null)},n)}function Wl(i,t,e){de&&yt();var r=new Ai(i);_r(()=>{var n=t();r.ensure(n,e)})}function Rf(i,t){de&&Qe(nt(i)),ct(()=>{var e=t();for(var r in e){var n=e[r];n?i.style.setProperty(r,n):i.style.removeProperty(r)}})}function li(i,t){return t}function Af(i,t,e){for(var r=[],n=t.length,o,a=t.length,s=0;s<n;s++){let h=t[s];ni(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var d=i.outrogroups;va(Zn(o.done)),d.delete(o),d.size===0&&(i.outrogroups=null)}}else a-=1},!1)}if(a===0){var l=r.length===0&&e!==null;if(l){var c=e,u=c.parentNode;oa(u),u.append(c),i.items.clear()}va(t,!l)}else o={pending:new Set(t),done:new Set},(i.outrogroups??(i.outrogroups=new Set)).add(o)}function va(i,t=!0){for(var e=0;e<i.length;e++)gt(i[e],t)}var ql;function Yt(i,t,e,r,n,o=null){var a=i,s=new Map,l=(t&Ui)!==0;if(l){var c=i;a=de?Qe(nt(c)):c.appendChild(xt())}de&&yt();var u=null,h=ea(()=>{var y=e();return Xr(y)?y:y==null?[]:Zn(y)}),d,p=!0;function _(){g.fallback=u,If(g,d,a,t,r),u!==null&&(d.length===0?(u.f&Pr)===0?sa(u):(u.f^=Pr,en(u,null,a)):ni(u,()=>{u=null}))}var f=_r(()=>{d=m(h);var y=d.length;let k=!1;if(de){var C=Ms(a)===wi;C!==(y===0)&&(a=$r(),Qe(a),lt(!1),k=!0)}for(var x=new Set,R=Le,O=al(),z=0;z<y;z+=1){de&&Se.nodeType===vr&&Se.data===jn&&(a=Se,k=!0,lt(!1));var B=d[z],A=r(B,z),M=p?null:s.get(A);M?(M.v&&mr(M.v,B),M.i&&mr(M.i,z),O&&R.skipped_effects.delete(M.e)):(M=Of(s,p?a:ql??(ql=xt()),B,A,z,n,t,e),p||(M.e.f|=Pr),s.set(A,M)),x.add(A)}if(y===0&&o&&!u&&(p?u=Pt(()=>o(a)):(u=Pt(()=>o(ql??(ql=xt()))),u.f|=Pr)),de&&y>0&&Qe($r()),!p)if(O){for(const[$,Q]of s)x.has($)||R.skipped_effects.add(Q.e);R.oncommit(_),R.ondiscard(()=>{})}else _();k&<(!0),m(h)}),g={effect:f,items:s,outrogroups:null,fallback:u};p=!1,de&&(a=Se)}function If(i,t,e,r,n){var M,$,Q,le,H,D,U,ce,ee;var o=(r&Uu)!==0,a=t.length,s=i.items,l=i.effect.first,c,u=null,h,d=[],p=[],_,f,g,y;if(o)for(y=0;y<a;y+=1)_=t[y],f=n(_,y),g=s.get(f).e,(g.f&Pr)===0&&(($=(M=g.nodes)==null?void 0:M.a)==null||$.measure(),(h??(h=new Set)).add(g));for(y=0;y<a;y+=1){if(_=t[y],f=n(_,y),g=s.get(f).e,i.outrogroups!==null)for(const N of i.outrogroups)N.pending.delete(g),N.done.delete(g);if((g.f&Pr)!==0)if(g.f^=Pr,g===l)en(g,null,e);else{var k=u?u.next:l;g===i.effect.last&&(i.effect.last=g.prev),g.prev&&(g.prev.next=g.next),g.next&&(g.next.prev=g.prev),Vr(i,u,g),Vr(i,g,k),en(g,k,e),u=g,d=[],p=[],l=u.next;continue}if((g.f&Vt)!==0&&(sa(g),o&&((le=(Q=g.nodes)==null?void 0:Q.a)==null||le.unfix(),(h??(h=new Set)).delete(g))),g!==l){if(c!==void 0&&c.has(g)){if(d.length<p.length){var C=p[0],x;u=C.prev;var R=d[0],O=d[d.length-1];for(x=0;x<d.length;x+=1)en(d[x],C,e);for(x=0;x<p.length;x+=1)c.delete(p[x]);Vr(i,R.prev,O.next),Vr(i,u,R),Vr(i,O,C),l=C,u=O,y-=1,d=[],p=[]}else c.delete(g),en(g,l,e),Vr(i,g.prev,g.next),Vr(i,g,u===null?i.effect.first:u.next),Vr(i,u,g),u=g;continue}for(d=[],p=[];l!==null&&l!==g;)(c??(c=new Set)).add(l),p.push(l),l=l.next;if(l===null)continue}(g.f&Pr)===0&&d.push(g),u=g,l=g.next}if(i.outrogroups!==null){for(const N of i.outrogroups)N.pending.size===0&&(va(Zn(N.done)),(H=i.outrogroups)==null||H.delete(N));i.outrogroups.size===0&&(i.outrogroups=null)}if(l!==null||c!==void 0){var z=[];if(c!==void 0)for(g of c)(g.f&Vt)===0&&z.push(g);for(;l!==null;)(l.f&Vt)===0&&l!==i.fallback&&z.push(l),l=l.next;var B=z.length;if(B>0){var A=(r&Ui)!==0&&a===0?e:null;if(o){for(y=0;y<B;y+=1)(U=(D=z[y].nodes)==null?void 0:D.a)==null||U.measure();for(y=0;y<B;y+=1)(ee=(ce=z[y].nodes)==null?void 0:ce.a)==null||ee.fix()}Af(i,z,A)}}o&&Ut(()=>{var N,W;if(h!==void 0)for(g of h)(W=(N=g.nodes)==null?void 0:N.a)==null||W.apply()})}function Of(i,t,e,r,n,o,a,s){var l=(a&it)!==0?(a&ju)===0?co(e,!1,!1):Gt(e):null,c=(a&ft)!==0?Gt(n):null;return{v:l,i:c,e:Pt(()=>(o(t,l??e,c??n,s),()=>{i.delete(r)}))}}function en(i,t,e){if(i.nodes)for(var r=i.nodes.start,n=i.nodes.end,o=t&&(t.f&Pr)===0?t.nodes.start:e;r!==null;){var a=Zt(r);if(o.before(r),r===n)return;r=a}}function Vr(i,t,e){t===null?i.effect.first=e:t.next=e,e===null?i.effect.last=t:e.prev=t}function br(i,t,e=!1,r=!1,n=!1){var o=i,a="";Re(()=>{var s=Me;if(a===(a=t()??"")){de&&yt();return}if(s.nodes!==null&&(ml(s.nodes.start,s.nodes.end),s.nodes=null),a!==""){if(de){Se.data;for(var l=yt(),c=l;l!==null&&(l.nodeType!==vr||l.data!=="");)c=l,l=Zt(l);if(l===null)throw Gi(),qr;_t(Se,c),o=Qe(l);return}var u=a+"";e?u=`<svg>${u}</svg>`:r&&(u=`<math>${u}</math>`);var h=vo(u);if((e||r)&&(h=nt(h)),_t(nt(h),h.lastChild),e||r)for(;nt(h);)o.before(nt(h));else o.before(h)}})}function Df(i,t,e,r,n){var s;de&&yt();var o=(s=t.$$slots)==null?void 0:s[e],a=!1;o===!0&&(o=t[e==="default"?"children":e],a=!0),o===void 0?n!==null&&n(i):o(i,a?()=>r:r)}function Mf(i){const t={};i.children&&(t.default=!0);for(const e in i.$$slots)t[e]=!0;return t}function Ii(i,t,e){de&&yt();var r=new Ai(i);_r(()=>{var n=t()??null;r.ensure(n,n&&(o=>e(o,n)))},cr)}const Lf=()=>performance.now(),yr={tick:i=>requestAnimationFrame(i),now:()=>Lf(),tasks:new Set};function Xl(){const i=yr.now();yr.tasks.forEach(t=>{t.c(i)||(yr.tasks.delete(t),t.f())}),yr.tasks.size!==0&&yr.tick(Xl)}function zf(i){let t;return yr.tasks.size===0&&yr.tick(Xl),{promise:new Promise(e=>{yr.tasks.add(t={c:i,f:e})}),abort(){yr.tasks.delete(t)}}}function wo(i,t){Fr(()=>{i.dispatchEvent(new CustomEvent(t))})}function Hf(i){if(i==="float")return"cssFloat";if(i==="offset")return"cssOffset";if(i.startsWith("--"))return i;const t=i.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function Yl(i){const t={},e=i.split(";");for(const r of e){const[n,o]=r.split(":");if(!n||o===void 0)break;const a=Hf(n.trim());t[a]=o.trim()}return t}const Nf=i=>i;let Kl=null;function Ql(i){Kl=i}function Ff(i,t,e){var r=Kl??Me,n=r.nodes,o,a,s,l=null;n.a??(n.a={element:i,measure(){o=this.element.getBoundingClientRect()},apply(){if(s==null||s.abort(),a=this.element.getBoundingClientRect(),o.left!==a.left||o.right!==a.right||o.top!==a.top||o.bottom!==a.bottom){const c=t()(this.element,{from:o,to:a},e==null?void 0:e());s=bo(this.element,c,void 0,1,()=>{s==null||s.abort(),s=void 0})}},fix(){if(!i.getAnimations().length){var{position:c,width:u,height:h}=getComputedStyle(i);if(c!=="absolute"&&c!=="fixed"){var d=i.style;l={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=u,d.height=h;var p=i.getBoundingClientRect();if(o.left!==p.left||o.top!==p.top){var _=`translate(${o.left-p.left}px, ${o.top-p.top}px)`;d.transform=d.transform?`${d.transform} ${_}`:_}}}},unfix(){if(l){var c=i.style;c.position=l.position,c.width=l.width,c.height=l.height,c.transform=l.transform}}}),n.a.element=i}function Bf(i,t,e,r){var C;var n=(i&qu)!==0,o=(i&Xu)!==0,a=n&&o,s=(i&Yu)!==0,l=a?"both":n?"in":"out",c,u=t.inert,h=t.style.overflow,d,p;function _(){return Fr(()=>c??(c=e()(t,(r==null?void 0:r())??{},{direction:l})))}var f={is_global:s,in(){var x;if(t.inert=u,!n){p==null||p.abort(),(x=p==null?void 0:p.reset)==null||x.call(p);return}o||d==null||d.abort(),wo(t,"introstart"),d=bo(t,_(),p,1,()=>{wo(t,"introend"),d==null||d.abort(),d=c=void 0,t.style.overflow=h})},out(x){if(!o){x==null||x(),c=void 0;return}t.inert=!0,wo(t,"outrostart"),p=bo(t,_(),d,0,()=>{wo(t,"outroend"),x==null||x()})},stop:()=>{d==null||d.abort(),p==null||p.abort()}},g=Me;if(((C=g.nodes).t??(C.t=[])).push(f),n&&mo){var y=s;if(!y){for(var k=g.parent;k&&(k.f&cr)!==0;)for(;(k=k.parent)&&(k.f&fr)===0;);y=!k||(k.f&ji)!==0}y&&qt(()=>{Xe(()=>f.in())})}}function bo(i,t,e,r,n){var o=r===1;if(bi(t)){var a,s=!1;return Ut(()=>{if(!s){var g=t({direction:o?"in":"out"});a=bo(i,g,e,r,n)}}),{abort:()=>{s=!0,a==null||a.abort()},deactivate:()=>a.deactivate(),reset:()=>a.reset(),t:()=>a.t()}}if(e==null||e.deactivate(),!(t!=null&&t.duration))return n(),{abort:dr,deactivate:dr,reset:dr,t:()=>r};const{delay:l=0,css:c,tick:u,easing:h=Nf}=t;var d=[];if(o&&e===void 0&&(u&&u(0,1),c)){var p=Yl(c(0,1));d.push(p,p)}var _=()=>1-r,f=i.animate(d,{duration:l,fill:"forwards"});return f.onfinish=()=>{f.cancel();var g=(e==null?void 0:e.t())??1-r;e==null||e.abort();var y=r-g,k=t.duration*Math.abs(y),C=[];if(k>0){var x=!1;if(c)for(var R=Math.ceil(k/16.666666666666668),O=0;O<=R;O+=1){var z=g+y*h(O/R),B=Yl(c(z,1-z));C.push(B),x||(x=B.overflow==="hidden")}x&&(i.style.overflow="hidden"),_=()=>{var A=f.currentTime;return g+y*h(A/k)},u&&zf(()=>{if(f.playState!=="running")return!1;var A=_();return u(A,1-A),!0})}f=i.animate(C,{duration:k,fill:"forwards"}),f.onfinish=()=>{_=()=>r,u==null||u(r,1-r),n()}},{abort:()=>{f&&(f.cancel(),f.effect=null,f.onfinish=dr)},deactivate:()=>{n=dr},reset:()=>{r===0&&(u==null||u(1,0))},t:()=>_()}}function Vf(i,t,e,r,n,o){let a=de;de&&yt();var s=null;de&&Se.nodeType===Ps&&(s=Se,yt());var l=de?Se:i,c=Me,u=new Ai(l,!1);_r(()=>{const h=t()||null;var d=n?n():e||h==="svg"?Gn:null;if(h===null){u.ensure(null,null),Pi(!0);return}return u.ensure(h,p=>{if(h){if(s=de?s:d?document.createElementNS(d,h):document.createElement(h),_t(s,s),r){de&&ef(h)&&s.append(document.createComment(""));var _=de?nt(s):s.appendChild(xt());de&&(_===null?lt(!1):Qe(_)),Ql(c),r(s,_),Ql(null)}Me.nodes.end=s,p.before(s)}de&&Qe(p)}),Pi(!0),()=>{h&&Pi(!1)}},cr),Wt(()=>{Pi(!0)}),a&&(lt(!0),Qe(l))}function Uf(i,t){let e=null,r=de;var n;if(de){e=Se;for(var o=nt(document.head);o!==null&&(o.nodeType!==vr||o.data!==i);)o=Zt(o);if(o===null)lt(!1);else{var a=Zt(o);o.remove(),Qe(a)}}de||(n=document.head.appendChild(xt()));try{_r(()=>t(n),Wo)}finally{r&&(lt(!0),Qe(e))}}function jf(i,t){qt(()=>{var e=i.getRootNode(),r=e.host?e:e.head??e.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,r.appendChild(n)}})}function Gf(i,t,e){qt(()=>{var r=Xe(()=>t(i,e==null?void 0:e())||{});if(e&&(r!=null&&r.update)){var n=!1,o={};ct(()=>{var a=e();ca(a),n&&zs(o,a)&&(o=a,r.update(a))}),n=!0}if(r!=null&&r.destroy)return()=>r.destroy()})}function Jl(i,t){var e=void 0,r;pl(()=>{e!==(e=t())&&(r&&(gt(r),r=null),e&&(r=Pt(()=>{qt(()=>e(i))})))})}const Zf=/[&"<]/g;function Wf(i,t){const e=String(i??""),r=Zf;r.lastIndex=0;let n="",o=0;for(;r.test(e);){const a=r.lastIndex-1,s=e[a];n+=e.substring(o,a)+(s==="&"?"&":s==='"'?""":"<"),o=a+1}return n+e.substring(o)}function $l(i){var t,e,r="";if(typeof i=="string"||typeof i=="number")r+=i;else if(typeof i=="object")if(Array.isArray(i)){var n=i.length;for(t=0;t<n;t++)i[t]&&(e=$l(i[t]))&&(r&&(r+=" "),r+=e)}else for(e in i)i[e]&&(r&&(r+=" "),r+=e);return r}function qf(){for(var i,t,e=0,r="",n=arguments.length;e<n;e++)(i=arguments[e])&&(t=$l(i))&&(r&&(r+=" "),r+=t);return r}const ec={translate:new Map([[!0,"yes"],[!1,"no"]])};function Xf(i,t,e=!1){if(i==="hidden"&&t!=="until-found"&&(e=!0),t==null||!t&&e)return"";const r=i in ec&&ec[i].get(t)||t,n=e?"":`="${Wf(r)}"`;return` ${i}${n}`}function yo(i){return typeof i=="object"?qf(i):i??""}const tc=[...`
|
|
6
|
-
\r\f \v\uFEFF`];function Yf(i,t,e){var r=i==null?"":""+i;if(t&&(r=r?r+" "+t:t),e){for(var n in e)if(e[n])r=r?r+" "+n:n;else if(r.length)for(var o=n.length,a=0;(a=r.indexOf(n,a))>=0;){var s=a+o;(a===0||tc.includes(r[a-1]))&&(s===r.length||tc.includes(r[s]))?r=(a===0?"":r.substring(0,a))+r.substring(s+1):a=s}}return r===""?null:r}function rc(i,t=!1){var e=t?" !important;":";",r="";for(var n in i){var o=i[n];o!=null&&o!==""&&(r+=" "+n+": "+o+e)}return r}function ma(i){return i[0]!=="-"||i[1]!=="-"?i.toLowerCase():i}function Kf(i,t){if(t){var e="",r,n;if(Array.isArray(t)?(r=t[0],n=t[1]):r=t,i){i=String(i).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,a=0,s=!1,l=[];r&&l.push(...Object.keys(r).map(ma)),n&&l.push(...Object.keys(n).map(ma));var c=0,u=-1;const f=i.length;for(var h=0;h<f;h++){var d=i[h];if(s?d==="/"&&i[h-1]==="*"&&(s=!1):o?o===d&&(o=!1):d==="/"&&i[h+1]==="*"?s=!0:d==='"'||d==="'"?o=d:d==="("?a++:d===")"&&a--,!s&&o===!1&&a===0){if(d===":"&&u===-1)u=h;else if(d===";"||h===f-1){if(u!==-1){var p=ma(i.substring(c,u).trim());if(!l.includes(p)){d!==";"&&h++;var _=i.substring(c,h).trim();e+=" "+_+";"}}c=h+1,u=-1}}}}return r&&(e+=rc(r)),n&&(e+=rc(n,!0)),e=e.trim(),e===""?null:e}return i==null?null:String(i)}function Ge(i,t,e,r,n,o){var a=i.__className;if(de||a!==e||a===void 0){var s=Yf(e,r,o);(!de||s!==i.getAttribute("class"))&&(s==null?i.removeAttribute("class"):t?i.className=s:i.setAttribute("class",s)),i.__className=e}else if(o&&n!==o)for(var l in o){var c=!!o[l];(n==null||c!==!!n[l])&&i.classList.toggle(l,c)}return o}function _a(i,t={},e,r){for(var n in e){var o=e[n];t[n]!==o&&(e[n]==null?i.style.removeProperty(n):i.style.setProperty(n,o,r))}}function ci(i,t,e,r){var n=i.__style;if(de||n!==t){var o=Kf(t,r);(!de||o!==i.getAttribute("style"))&&(o==null?i.removeAttribute("style"):i.style.cssText=o),i.__style=t}else r&&(Array.isArray(r)?(_a(i,e==null?void 0:e[0],r[0]),_a(i,e==null?void 0:e[1],r[1],"important")):_a(i,e,r));return r}function tn(i,t,e=!1){if(i.multiple){if(t==null)return;if(!Xr(t))return zh();for(var r of i.options)r.selected=t.includes(rn(r));return}for(r of i.options){var n=rn(r);if(rl(n,t)){r.selected=!0;return}}(!e||t!==void 0)&&(i.selectedIndex=-1)}function wa(i){var t=new MutationObserver(()=>{tn(i,i.__value)});t.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Wt(()=>{t.disconnect()})}function Qf(i,t,e=t){var r=new WeakSet,n=!0;Qi(i,"change",o=>{var a=o?"[selected]":":checked",s;if(i.multiple)s=[].map.call(i.querySelectorAll(a),rn);else{var l=i.querySelector(a)??i.querySelector("option:not([disabled])");s=l&&rn(l)}e(s),Le!==null&&r.add(Le)}),qt(()=>{var o=t();if(i===document.activeElement){var a=Wi??Le;if(r.has(a))return}if(tn(i,o,n),n&&o===void 0){var s=i.querySelector(":checked");s!==null&&(o=rn(s),e(o))}i.__value=o,n=!1}),wa(i)}function rn(i){return"__value"in i?i.__value:i.value}const Oi=Symbol("class"),Di=Symbol("style"),ic=Symbol("is custom element"),nc=Symbol("is html");function ba(i){if(de){var t=!1,e=()=>{if(!t){if(t=!0,i.hasAttribute("value")){var r=i.value;Ae(i,"value",null),i.value=r}if(i.hasAttribute("checked")){var n=i.checked;Ae(i,"checked",null),i.checked=n}}};i.__on_r=e,Ut(e),cl()}}function Jf(i,t){var e=xo(i);e.value===(e.value=t??void 0)||i.value===t&&(t!==0||i.nodeName!=="PROGRESS")||(i.value=t??"")}function $f(i,t){var e=xo(i);e.checked!==(e.checked=t??void 0)&&(i.checked=t)}function oc(i,t){t?i.hasAttribute("selected")||i.setAttribute("selected",""):i.removeAttribute("selected")}function ep(i,t){const e=i.checked;i.defaultChecked=t,i.checked=e}function tp(i,t){const e=i.value;i.defaultValue=t,i.value=e}function Ae(i,t,e,r){var n=xo(i);de&&(n[t]=i.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&i.nodeName==="LINK")||n[t]!==(n[t]=e)&&(t==="loading"&&(i[nh]=e),e==null?i.removeAttribute(t):typeof e!="string"&&xa(i).includes(t)?i[t]=e:i.setAttribute(t,e))}function rp(i,t,e){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e)}function ip(i,t,e){var r=Ne,n=Me;let o=de;de&<(!1),Et(null),Ht(null);try{t!=="style"&&(ya.has(i.getAttribute("is")||i.nodeName)||!customElements||customElements.get(i.getAttribute("is")||i.tagName.toLowerCase())?xa(i).includes(t):e&&typeof e=="object")?i[t]=e:Ae(i,t,e==null?e:String(e))}finally{Et(r),Ht(n),o&<(!0)}}function np(i,t,e,r,n=!1,o=!1){if(de&&n&&i.tagName==="INPUT"){var a=i,s=a.type==="checkbox"?"defaultChecked":"defaultValue";s in e||ba(a)}var l=xo(i),c=l[ic],u=!l[nc];let h=de&&c;h&<(!1);var d=t||{},p=i.tagName==="OPTION";for(var _ in t)_ in e||(e[_]=null);e.class?e.class=yo(e.class):(r||e[Oi])&&(e.class=null),e[Di]&&(e.style??(e.style=null));var f=xa(i);for(const O in e){let z=e[O];if(p&&O==="value"&&z==null){i.value=i.__value="",d[O]=z;continue}if(O==="class"){var g=i.namespaceURI==="http://www.w3.org/1999/xhtml";Ge(i,g,z,r,t==null?void 0:t[Oi],e[Oi]),d[O]=z,d[Oi]=e[Oi];continue}if(O==="style"){ci(i,z,t==null?void 0:t[Di],e[Di]),d[O]=z,d[Di]=e[Di];continue}var y=d[O];if(!(z===y&&!(z===void 0&&i.hasAttribute(O)))){d[O]=z;var k=O[0]+O[1];if(k!=="$$")if(k==="on"){const B={},A="$$"+O;let M=O.slice(2);var C=Xd(M);if(Wd(M)&&(M=M.slice(0,-7),B.capture=!0),!C&&y){if(z!=null)continue;i.removeEventListener(M,d[A],B),d[A]=null}if(z!=null)if(C)i[`__${M}`]=z,Ir([M]);else{let $=function(Q){d[O].call(this,Q)};d[A]=Ol(M,i,$,B)}else C&&(i[`__${M}`]=void 0)}else if(O==="style")Ae(i,O,z);else if(O==="autofocus")sl(i,!!z);else if(!c&&(O==="__value"||O==="value"&&z!=null))i.value=i.__value=z;else if(O==="selected"&&p)oc(i,z);else{var x=O;u||(x=Kd(x));var R=x==="defaultValue"||x==="defaultChecked";if(z==null&&!c&&!R)if(l[O]=null,x==="value"||x==="checked"){let B=i;const A=t===void 0;if(x==="value"){let M=B.defaultValue;B.removeAttribute(x),B.defaultValue=M,B.value=B.__value=A?M:null}else{let M=B.defaultChecked;B.removeAttribute(x),B.defaultChecked=M,B.checked=A?M:!1}}else i.removeAttribute(O);else R||f.includes(x)&&(c||typeof z!="string")?(i[x]=z,x in l&&(l[x]=st)):typeof z!="function"&&Ae(i,x,z)}}}return h&<(!0),d}function Ot(i,t,e=[],r=[],n=[],o,a=!1,s=!1){qi(n,e,r,l=>{var c=void 0,u={},h=i.nodeName==="SELECT",d=!1;if(pl(()=>{var _=t(...l.map(m)),f=np(i,c,_,o,a,s);d&&h&&"value"in _&&tn(i,_.value);for(let y of Object.getOwnPropertySymbols(u))_[y]||gt(u[y]);for(let y of Object.getOwnPropertySymbols(_)){var g=_[y];y.description===bs&&(!c||g!==c[y])&&(u[y]&>(u[y]),u[y]=Pt(()=>Jl(i,()=>g))),f[y]=g}c=f}),h){var p=i;qt(()=>{tn(p,c.value,!0),wa(p)})}d=!0})}function xo(i){return i.__attributes??(i.__attributes={[ic]:i.nodeName.includes("-"),[nc]:i.namespaceURI===Ju})}var ya=new Map;function xa(i){var t=i.getAttribute("is")||i.nodeName,e=ya.get(t);if(e)return e;ya.set(t,e=[]);for(var r,n=i,o=Element.prototype;o!==n;){r=ys(n);for(var a in r)r[a].set&&e.push(a);n=qn(n)}return e}function op(i){Lt(document,["focusin","focusout"],t=>{t&&t.type==="focusout"&&t.relatedTarget||i(document.activeElement)})}function ac(i,t,e=t){var r=new WeakSet;Qi(i,"input",async n=>{var o=n?i.defaultValue:i.value;if(o=Ea(i)?ka(o):o,e(o),Le!==null&&r.add(Le),await la(),o!==(o=t())){var a=i.selectionStart,s=i.selectionEnd,l=i.value.length;if(i.value=o??"",s!==null){var c=i.value.length;a===s&&s===l&&c>l?(i.selectionStart=c,i.selectionEnd=c):(i.selectionStart=a,i.selectionEnd=Math.min(s,c))}}}),(de&&i.defaultValue!==i.value||Xe(t)==null&&i.value)&&(e(Ea(i)?ka(i.value):i.value),Le!==null&&r.add(Le)),ct(()=>{var n=t();if(i===document.activeElement){var o=Wi??Le;if(r.has(o))return}Ea(i)&&n===ka(i.value)||i.type==="date"&&!n&&!i.value||n!==i.value&&(i.value=n??"")})}const Ta=new Set;function ap(i,t,e,r,n=r){var o=e.getAttribute("type")==="checkbox",a=i;let s=!1;if(t!==null)for(var l of t)a=a[l]??(a[l]=[]);a.push(e),Qi(e,"change",()=>{var c=e.__value;o&&(c=sc(a,c,e.checked)),n(c)},()=>n(o?[]:null)),ct(()=>{var c=r();if(de&&e.defaultChecked!==e.checked){s=!0;return}o?(c=c||[],e.checked=c.includes(e.__value)):e.checked=rl(e.__value,c)}),Wt(()=>{var c=a.indexOf(e);c!==-1&&a.splice(c,1)}),Ta.has(a)||(Ta.add(a),Ut(()=>{a.sort((c,u)=>c.compareDocumentPosition(u)===4?-1:1),Ta.delete(a)})),Ut(()=>{if(s){var c;if(o)c=sc(a,c,e.checked);else{var u=a.find(h=>h.checked);c=u==null?void 0:u.__value}n(c)}})}function sp(i,t,e=t){Qi(i,"change",r=>{var n=r?i.defaultChecked:i.checked;e(n)}),(de&&i.defaultChecked!==i.checked||Xe(t)==null)&&e(i.checked),ct(()=>{var r=t();i.checked=!!r})}function sc(i,t,e){for(var r=new Set,n=0;n<i.length;n+=1)i[n].checked&&r.add(i[n].__value);return e||r.delete(t),Array.from(r)}function Ea(i){var t=i.type;return t==="number"||t==="range"}function ka(i){return i===""?null:+i}function lp(i,t,e=t){Qi(i,"change",()=>{e(i.files)}),de&&i.files&&e(i.files),ct(()=>{i.files=t()})}function Sa(i){for(var t=[],e=0;e<i.length;e+=1)t.push({start:i.start(e),end:i.end(e)});return t}function cp(i,t,e=t){var r,n,o=()=>{cancelAnimationFrame(r),i.paused||(r=requestAnimationFrame(o));var a=i.currentTime;n!==a&&e(n=a)};r=requestAnimationFrame(o),i.addEventListener("timeupdate",o),ct(()=>{var a=Number(t());n!==a&&!isNaN(a)&&(i.currentTime=n=a)}),Wt(()=>{cancelAnimationFrame(r),i.removeEventListener("timeupdate",o)})}function up(i,t){var e;Lt(i,["loadedmetadata","progress","timeupdate","seeking"],()=>{var r=i.buffered;(!e||e.length!==r.length||e.some((n,o)=>r.start(o)!==n.start||r.end(o)!==n.end))&&(e=Sa(r),t(e))})}function hp(i,t){Lt(i,["loadedmetadata"],()=>t(Sa(i.seekable)))}function dp(i,t){Lt(i,["timeupdate"],()=>t(Sa(i.played)))}function fp(i,t){Lt(i,["seeking","seeked"],()=>t(i.seeking))}function pp(i,t){Lt(i,["timeupdate","ended"],()=>t(i.ended))}function gp(i,t){Lt(i,["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],()=>t(i.readyState))}function vp(i,t,e=t){qt(()=>{var r=Number(t());r!==i.playbackRate&&!isNaN(r)&&(i.playbackRate=r)}),qt(()=>{Lt(i,["ratechange"],()=>{e(i.playbackRate)})})}function mp(i,t,e=t){var r=t(),n=()=>{r!==i.paused&&e(r=i.paused)};Lt(i,["play","pause","canplay"],n,r==null),qt(()=>{(r=!!t())!==i.paused&&(r?i.pause():i.play().catch(()=>{e(r=!0)}))})}function _p(i,t,e=t){var r=()=>{e(i.volume)};t()==null&&r(),Lt(i,["volumechange"],r,!1),ct(()=>{var n=Number(t());n!==i.volume&&!isNaN(n)&&(i.volume=n)})}function wp(i,t,e=t){var r=()=>{e(i.muted)};t()==null&&r(),Lt(i,["volumechange"],r,!1),ct(()=>{var n=!!t();i.muted!==n&&(i.muted=n)})}function bp(i){Lt(window,["online","offline"],()=>{i(navigator.onLine)})}function yp(i,t,e){var r=sr(i,t);r&&r.set&&(i[t]=e,Wt(()=>{i[t]=null}))}const Fo=class Fo{constructor(t){ve(this,No);ve(this,Wr,new WeakMap);ve(this,Bi);ve(this,pn);De(this,pn,t)}observe(t,e){var r=I(this,Wr).get(t)||new Set;return r.add(e),I(this,Wr).set(t,r),et(this,No,Vu).call(this).observe(t,I(this,pn)),()=>{var n=I(this,Wr).get(t);n.delete(e),n.size===0&&(I(this,Wr).delete(t),I(this,Bi).unobserve(t))}}};Wr=new WeakMap,Bi=new WeakMap,pn=new WeakMap,No=new WeakSet,Vu=function(){return I(this,Bi)??De(this,Bi,new ResizeObserver(t=>{for(var e of t){Fo.entries.set(e.target,e);for(var r of I(this,Wr).get(e.target)||[])r(e)}}))},at(Fo,"entries",new WeakMap);let nn=Fo;var xp=new nn({box:"content-box"}),lc=new nn({box:"border-box"}),Tp=new nn({box:"device-pixel-content-box"});function Ep(i,t,e){var r=t==="contentRect"||t==="contentBoxSize"?xp:t==="borderBoxSize"?lc:Tp,n=r.observe(i,o=>e(o[t]));Wt(n)}function kp(i,t,e){var r=lc.observe(i,()=>e(i[t]));qt(()=>(Xe(()=>e(i[t])),r))}function cc(i,t){return i===t||(i==null?void 0:i[Ct])===t}function Mi(i={},t,e,r){return qt(()=>{var n,o;return ct(()=>{n=o,o=(r==null?void 0:r())||[],Xe(()=>{i!==e(...o)&&(t(i,...o),n&&cc(e(...n),i)&&t(null,...n))})}),()=>{Ut(()=>{o&&cc(e(...o),i)&&t(null,...o)})}}),i}function Sp(i,t,e,r=e){t.addEventListener("input",()=>{r(t[i])}),ct(()=>{var n=e();if(t[i]!==n)if(n==null){var o=t[i];r(o)}else t[i]=n+""})}function Cp(i,t,e,r,n){var o=()=>{r(e[i])};e.addEventListener(t,o),n?ct(()=>{e[i]=n()}):o(),(e===document.body||e===window||e===document)&&Wt(()=>{e.removeEventListener(t,o)})}function Pp(i,t){Lt(i,["focus","blur"],()=>{t(i===document.activeElement)})}function Rp(i,t,e=t){var r=i==="x",n=()=>Fr(()=>{o=!0,clearTimeout(a),a=setTimeout(s,100),e(window[r?"scrollX":"scrollY"])});addEventListener("scroll",n,{passive:!0});var o=!1,a,s=()=>{o=!1},l=!0;ct(()=>{var c=t();l?l=!1:!o&&c!=null&&(o=!0,clearTimeout(a),r?scrollTo(c,window.scrollY):scrollTo(window.scrollX,c),a=setTimeout(s,100))}),qt(n),Wt(()=>{removeEventListener("scroll",n)})}function Ap(i,t){Lt(window,["resize"],()=>Fr(()=>t(window[i])))}function Ip(i){return function(...t){var e=t[0];e.isTrusted&&(i==null||i.apply(this,t))}}function Op(i){return function(...t){var e=t[0];e.target===this&&(i==null||i.apply(this,t))}}function Dp(i){return function(...t){var e=t[0];return e.stopPropagation(),i==null?void 0:i.apply(this,t)}}function Mp(i){var t=!1;return function(...e){if(!t)return t=!0,i==null?void 0:i.apply(this,e)}}function Lp(i){return function(...t){var e=t[0];return e.stopImmediatePropagation(),i==null?void 0:i.apply(this,t)}}function zp(i){return function(...t){var e=t[0];return e.preventDefault(),i==null?void 0:i.apply(this,t)}}function Hp(i=!1){const t=Be,e=t.l.u;if(!e)return;let r=()=>ca(t.s);if(i){let n=0,o={};const a=Xi(()=>{let s=!1;const l=t.s;for(const c in l)l[c]!==o[c]&&(o[c]=l[c],s=!0);return s&&n++,n});r=()=>m(a)}e.b.length&&hl(()=>{uc(t,r),Zo(e.b)}),ut(()=>{const n=Xe(()=>e.m.map(th));return()=>{for(const o of n)typeof o=="function"&&o()}}),e.a.length&&ut(()=>{uc(t,r),Zo(e.a)})}function uc(i,t){if(i.l.s)for(const e of i.l.s)m(e);t()}function Np(i){var t=Gt(0);return function(){return arguments.length===1?(me(t,m(t)+1),arguments[0]):(m(t),i())}}function Fp(i,t){var o;var e=(o=i.$$events)==null?void 0:o[t.type],r=Xr(e)?e.slice():e==null?[]:[e];for(var n of r)n.call(this,t)}function Bp(i,t,e){var r;i.$$events||(i.$$events={}),(r=i.$$events)[t]||(r[t]=[]),i.$$events[t].push(e)}function Vp(i){for(var t in i)t in this&&(this[t]=i[t])}function hc(i,t,e){if(i==null)return t(void 0),dr;const r=Xe(()=>i.subscribe(t,e));return r.unsubscribe?()=>r.unsubscribe():r}function Up(i){let t;return hc(i,e=>t=e)(),t}let on=!1,Ca=Symbol();function jp(i,t,e){const r=e[t]??(e[t]={store:null,source:co(void 0),unsubscribe:dr});if(r.store!==i&&!(Ca in e))if(r.unsubscribe(),r.store=i??null,i==null)r.source.v=void 0,r.unsubscribe=dr;else{var n=!0;r.unsubscribe=hc(i,o=>{n?r.source.v=o:me(r.source,o)}),n=!1}return i&&Ca in e?Up(i):m(r.source)}function Gp(i,t,e){let r=e[t];return r&&r.store!==i&&(r.unsubscribe(),r.unsubscribe=dr),i}function dc(i,t){return i.set(t),t}function Zp(i,t){var e=i[t];e.store!==null&&dc(e.store,e.source.v)}function Wp(){const i={};function t(){Wt(()=>{for(var e in i)i[e].unsubscribe();Yr(i,Ca,{enumerable:!1,value:!0})})}return[i,t]}function qp(i,t,e){return i.set(e),t}function Xp(i,t,e=1){return i.set(t+e),t}function Yp(i,t,e=1){const r=t+e;return i.set(r),r}function Kp(){on=!0}function fc(i){var t=on;try{return on=!1,[i(),on]}finally{on=t}}function Qp(i,t=1){const e=i();return i(e+t),e}function Jp(i,t=1){const e=i()+t;return i(e),e}const $p={get(i,t){if(!i.exclude.includes(t))return i.props[t]},set(i,t){return!1},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function Dt(i,t,e){return new Proxy({props:i,exclude:t},$p)}const e0={get(i,t){if(!i.exclude.includes(t))return m(i.version),t in i.special?i.special[t]():i.props[t]},set(i,t,e){if(!(t in i.special)){var r=Me;try{Ht(i.parent_effect),i.special[t]=tr({get[t](){return i.props[t]}},t,vs)}finally{Ht(r)}}return i.special[t](e),Yi(i.version),!0},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},deleteProperty(i,t){return i.exclude.includes(t)||(i.exclude.push(t),Yi(i.version)),!0},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function t0(i,t){return new Proxy({props:i,exclude:t,special:{},version:Gt(0),parent_effect:Me},e0)}const r0={get(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(bi(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r)return r[t]}},set(i,t,e){let r=i.props.length;for(;r--;){let n=i.props[r];bi(n)&&(n=n());const o=sr(n,t);if(o&&o.set)return o.set(e),!0}return!1},getOwnPropertyDescriptor(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(bi(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r){const n=sr(r,t);return n&&!n.configurable&&(n.configurable=!0),n}}},has(i,t){if(t===Ct||t===$n)return!1;for(let e of i.props)if(bi(e)&&(e=e()),e!=null&&t in e)return!0;return!1},ownKeys(i){const t=[];for(let e of i.props)if(bi(e)&&(e=e()),!!e){for(const r in e)t.includes(r)||t.push(r);for(const r of Object.getOwnPropertySymbols(e))t.includes(r)||t.push(r)}return t}};function an(...i){return new Proxy({props:i},r0)}function tr(i,t,e,r){var k;var n=(e&Zu)!==0,o=(e&Wu)!==0,a=r,s=!0,l=()=>(s&&(s=!1,a=o?Xe(r):r),a),c;if(n){var u=Ct in i||$n in i;c=((k=sr(i,t))==null?void 0:k.set)??(u&&t in i?C=>i[t]=C:void 0)}var h,d=!1;n?[h,d]=fc(()=>i[t]):h=i[t],h===void 0&&r!==void 0&&(h=l(),c&&(Eh(),c(h)));var p;if(p=()=>{var C=i[t];return C===void 0?l():(s=!0,C)},(e&vs)===0)return p;if(c){var _=i.$$legacy;return(function(C,x){return arguments.length>0?((!x||_||d)&&c(x?p():C),C):p()})}var f=!1,g=((e&Gu)!==0?Xi:ea)(()=>(f=!1,p()));n&&m(g);var y=Me;return(function(C,x){if(arguments.length>0){const R=x?m(g):n?ht(C):C;return me(g,R),f=!0,a!==void 0&&(a=R),C}return ai&&f||(y.f&gr)!==0?g.v:m(g)})}function i0(i,t){ct(()=>{const e=new Map,r=i(),n=Xr(r)?r:r==null?[]:Array.from(r),o=n.length;for(let a=0;a<o;a++){const s=t(n[a],a);if(e.has(s)){String(e.get(s));let l=String(s);l.startsWith("[object ")&&(l=null),ph()}e.set(s,a)}})}function n0(i,t,e,r,n,o){Ys(t,()=>{var a=!1;Zi==null||Zi[Bt],ct(()=>{if(!a){var[s,l]=fc(e);if(!l){var c=r(),u=!1,h=ct(()=>{u||s[c]});u=!0,h.deps===null&&(Ah(),a=!0)}}})})}function o0(i){return new a0(i)}class a0{constructor(t){ve(this,Mr);ve(this,ar);var o;var e=new Map,r=(a,s)=>{var l=co(s,!1,!1);return e.set(a,l),l};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return m(e.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===$n?!0:(m(e.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,l){return me(e.get(s)??r(s,l),l),Reflect.set(a,s,l)}});De(this,ar,(t.hydrate?Hl:ha)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&Mt(),De(this,Mr,n.$$events);for(const a of Object.keys(I(this,ar)))a==="$set"||a==="$destroy"||a==="$on"||Yr(this,a,{get(){return I(this,ar)[a]},set(s){I(this,ar)[a]=s},enumerable:!0});I(this,ar).$set=a=>{Object.assign(n,a)},I(this,ar).$destroy=()=>{Fl(I(this,ar))}}$set(t){I(this,ar).$set(t)}$on(t,e){I(this,Mr)[t]=I(this,Mr)[t]||[];const r=(...n)=>e.call(this,...n);return I(this,Mr)[t].push(r),()=>{I(this,Mr)[t]=I(this,Mr)[t].filter(n=>n!==r)}}$destroy(){I(this,ar).$destroy()}}Mr=new WeakMap,ar=new WeakMap;let pc;typeof HTMLElement=="function"&&(pc=class extends HTMLElement{constructor(t,e,r){super();at(this,"$$ctor");at(this,"$$s");at(this,"$$c");at(this,"$$cn",!1);at(this,"$$d",{});at(this,"$$r",!1);at(this,"$$p_d",{});at(this,"$$l",{});at(this,"$$l_u",new Map);at(this,"$$me");this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const n=this.$$l_u.get(e);n&&(n(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return o=>{const a=document.createElement("slot");n!=="default"&&(a.name=n),S(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=s0(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),e.default=!0):e[n]=t(n));for(const n of this.attributes){const o=this.$$g_p(n.name);o in this.$$d||(this.$$d[o]=To(o,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=o0({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=fl(()=>{ct(()=>{var n;this.$$r=!0;for(const o of Wn(this.$$c)){if(!((n=this.$$p_d[o])!=null&&n.reflect))continue;this.$$d[o]=this.$$c[o];const a=To(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1})});for(const n in this.$$l)for(const o of this.$$l[n]){const a=this.$$c.$on(n,o);this.$$l_u.set(o,a)}this.$$l={}}}attributeChangedCallback(t,e,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=To(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Wn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function To(i,t,e,r){var o;const n=(o=e[i])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!e[i])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function s0(i){const t={};return i.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function gc(i,t,e,r,n,o){let a=class extends pc{constructor(){super(i,e,n),this.$$p_d=t}static get observedAttributes(){return Wn(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Wn(t).forEach(s=>{Yr(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var h;l=To(s,l,t),this.$$d[s]=l;var c=this.$$c;if(c){var u=(h=sr(c,s))==null?void 0:h.get;u?c[s]=l:c.$set({[s]:l})}}})}),r.forEach(s=>{Yr(a.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),o&&(a=o(a)),i.element=a,a}function l0(i,...t){return Xe(()=>{try{let e=!1;const r=[];for(const n of t)n&&typeof n=="object"&&Ct in n?(r.push(to(n,!0)),e=!0):r.push(n);e&&(Ih(i),console.log("%c[snapshot]","color: grey",...r))}catch{}}),t}const c0=Object.freeze(Object.defineProperty({__proto__:null,CLASS:Oi,FILENAME:Bt,HMR:_s,NAMESPACE_SVG:Gn,STYLE:Di,aborted:uo,action:Gf,get active_effect(){return Me},add_legacy_event_listener:Bp,add_locations:wf,add_svelte_meta:qh,animation:Ff,append:S,append_styles:jf,apply:Nd,assign:pf,assign_and:gf,assign_nullish:mf,assign_or:vf,async:Sf,async_body:ld,async_derived:Ks,attach:Jl,attachment:ff,attr:Xf,attribute_effect:Ot,autofocus:sl,await:Pf,bind_active_element:op,bind_buffered:up,bind_checked:sp,bind_content_editable:Sp,bind_current_time:cp,bind_element_size:kp,bind_ended:pp,bind_files:lp,bind_focused:Pp,bind_group:ap,bind_muted:wp,bind_online:bp,bind_paused:mp,bind_playback_rate:vp,bind_played:dp,bind_prop:yp,bind_property:Cp,bind_ready_state:gp,bind_resize_observer:Ep,bind_seekable:hp,bind_seeking:fp,bind_select_value:Qf,bind_this:Mi,bind_value:ac,bind_volume:_p,bind_window_scroll:Rp,bind_window_size:Ap,boundary:Xs,bubble_event:Fp,check_target:Tf,child:Z,cleanup_styles:_f,clsx:yo,comment:te,component:Ii,create_custom_element:gc,create_ownership_validator:xf,css_props:Rf,deep_read:po,deep_read_state:ca,deferred_template_effect:Sd,delegate:Ir,derived:ne,derived_safe_equal:ea,get document(){return il},each:Yt,eager:ed,effect:qt,effect_root:fl,effect_tracking:ii,element:Vf,equals:gd,event:go,exclude_from_object:Ld,fallback:rh,first_child:K,flush:Mt,for_await_track_reactivity_loss:sd,from_html:pe,from_mathml:Fd,from_svg:re,from_tree:Bd,get:m,head:Uf,hmr:yf,html:br,hydrate_template:Nh,if:F,index:li,init:Hp,init_select:wa,inspect:kf,invalid_default_snippet:ah,invalidate_inner_signals:Rd,invalidate_store:Zp,invoke_error_boundary:Ar,key:Wl,legacy_api:Ef,legacy_pre_effect:Td,legacy_pre_effect_reset:Ed,legacy_rest_props:t0,log_if_contains_state:l0,mark_store_binding:Kp,mutable_source:co,mutate:dd,next:Tt,noop:dr,once:Mp,pending:od,pop:$e,preventDefault:zp,prevent_snippet_stringification:Bl,prop:tr,props_id:jd,proxy:ht,push:Je,raf:yr,reactive_import:Np,remove_input_defaults:ba,remove_textarea_child:bd,render_effect:ct,replay_events:Hd,reset:j,rest_props:Dt,run:cd,run_after_blockers:Ys,safe_get:Dd,sanitize_slots:Mf,save:ad,select_option:tn,self:Op,set:me,set_attribute:Ae,set_checked:$f,set_class:Ge,set_custom_element_data:ip,set_default_checked:ep,set_default_value:tp,set_selected:oc,set_style:ci,set_text:Ye,set_value:Jf,set_xlink_attribute:rp,setup_stores:Wp,sibling:ue,slot:Df,snapshot:to,snippet:It,spread_props:an,state:Ce,stopImmediatePropagation:Lp,stopPropagation:Dp,store_get:jp,store_mutate:qp,store_set:dc,store_unsub:Gp,strict_equals:pd,tag:Gh,tag_proxy:Fs,template_effect:Re,text:kt,tick:la,to_array:ih,trace:jh,track_reactivity_loss:$o,transition:Bf,trusted:Ip,untrack:Xe,update:Yi,update_legacy_props:Vp,update_pre:fd,update_pre_prop:Jp,update_pre_store:Yp,update_prop:Qp,update_store:Xp,user_effect:ut,user_pre_effect:hl,validate_binding:n0,validate_dynamic_element_tag:rf,validate_each_keys:i0,validate_snippet_args:Cf,validate_store:nf,validate_void_dynamic_element:tf,get window(){return ra},with_script:Vd,wrap_snippet:of},Symbol.toStringTag,{value:"Module"})),u0="5";typeof window<"u"&&((Ou=window.__svelte??(window.__svelte={})).v??(Ou.v=new Set)).add(u0);const h0=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-900:oklch(42.1% .095 57.708);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--drop-shadow-md:0 3px 3px #0000001f;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{scrollbar-width:thin;scrollbar-color:var(--fallback-bc,oklch(var(--bc)/.2))transparent}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--fallback-bc,oklch(var(--bc)/.2));border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--fallback-bc,oklch(var(--bc)/.4))}::-webkit-scrollbar-corner{background:0 0}:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}}:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dark]:checked),[data-theme=dark]{color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=cupcake]:checked),[data-theme=cupcake]{color-scheme:light;--color-base-100:oklch(97.788% .004 56.375);--color-base-200:oklch(93.982% .007 61.449);--color-base-300:oklch(91.586% .006 53.44);--color-base-content:oklch(23.574% .066 313.189);--color-primary:oklch(85% .138 181.071);--color-primary-content:oklch(43% .078 188.216);--color-secondary:oklch(89% .061 343.231);--color-secondary-content:oklch(45% .187 3.815);--color-accent:oklch(90% .076 70.697);--color-accent-content:oklch(47% .157 37.304);--color-neutral:oklch(27% .006 286.033);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(68% .169 237.323);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(69% .17 162.48);--color-success-content:oklch(26% .051 172.552);--color-warning:oklch(79% .184 86.047);--color-warning-content:oklch(28% .066 53.813);--color-error:oklch(64% .246 16.439);--color-error-content:oklch(27% .105 12.094);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:1;--noise:0}:root:has(input.theme-controller[value=bumblebee]:checked),[data-theme=bumblebee]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(92% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(85% .199 91.936);--color-primary-content:oklch(42% .095 57.708);--color-secondary:oklch(75% .183 55.934);--color-secondary-content:oklch(40% .123 38.172);--color-accent:oklch(0% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(37% .01 67.558);--color-neutral-content:oklch(92% .003 48.717);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(39% .09 240.876);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(39% .141 25.723);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=emerald]:checked),[data-theme=emerald]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(35.519% .032 262.988);--color-primary:oklch(76.662% .135 153.45);--color-primary-content:oklch(33.387% .04 162.24);--color-secondary:oklch(61.302% .202 261.294);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(72.772% .149 33.2);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(35.519% .032 262.988);--color-neutral-content:oklch(98.462% .001 247.838);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=corporate]:checked),[data-theme=corporate]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(22.389% .031 278.072);--color-primary:oklch(58% .158 241.966);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(55% .046 257.417);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(60% .118 184.704);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(60% .126 221.723);--color-info-content:oklch(100% 0 0);--color-success:oklch(62% .194 149.214);--color-success-content:oklch(100% 0 0);--color-warning:oklch(85% .199 91.936);--color-warning-content:oklch(0% 0 0);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(0% 0 0);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=synthwave]:checked),[data-theme=synthwave]{color-scheme:dark;--color-base-100:oklch(15% .09 281.288);--color-base-200:oklch(20% .09 281.288);--color-base-300:oklch(25% .09 281.288);--color-base-content:oklch(78% .115 274.713);--color-primary:oklch(71% .202 349.761);--color-primary-content:oklch(28% .109 3.907);--color-secondary:oklch(82% .111 230.318);--color-secondary-content:oklch(29% .066 243.157);--color-accent:oklch(75% .183 55.934);--color-accent-content:oklch(26% .079 36.259);--color-neutral:oklch(45% .24 277.023);--color-neutral-content:oklch(87% .065 274.039);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(77% .152 181.912);--color-success-content:oklch(27% .046 192.524);--color-warning:oklch(90% .182 98.111);--color-warning-content:oklch(42% .095 57.708);--color-error:oklch(73.7% .121 32.639);--color-error-content:oklch(23.501% .096 290.329);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=retro]:checked),[data-theme=retro]{color-scheme:light;--color-base-100:oklch(91.637% .034 90.515);--color-base-200:oklch(88.272% .049 91.774);--color-base-300:oklch(84.133% .065 90.856);--color-base-content:oklch(41% .112 45.904);--color-primary:oklch(80% .114 19.571);--color-primary-content:oklch(39% .141 25.723);--color-secondary:oklch(92% .084 155.995);--color-secondary-content:oklch(44% .119 151.328);--color-accent:oklch(68% .162 75.834);--color-accent-content:oklch(41% .112 45.904);--color-neutral:oklch(44% .011 73.639);--color-neutral-content:oklch(86% .005 56.366);--color-info:oklch(58% .158 241.966);--color-info-content:oklch(96% .059 95.617);--color-success:oklch(51% .096 186.391);--color-success-content:oklch(96% .059 95.617);--color-warning:oklch(64% .222 41.116);--color-warning-content:oklch(96% .059 95.617);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(40% .123 38.172);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cyberpunk]:checked),[data-theme=cyberpunk]{color-scheme:light;--color-base-100:oklch(94.51% .179 104.32);--color-base-200:oklch(91.51% .179 104.32);--color-base-300:oklch(85.51% .179 104.32);--color-base-content:oklch(0% 0 0);--color-primary:oklch(74.22% .209 6.35);--color-primary-content:oklch(14.844% .041 6.35);--color-secondary:oklch(83.33% .184 204.72);--color-secondary-content:oklch(16.666% .036 204.72);--color-accent:oklch(71.86% .217 310.43);--color-accent-content:oklch(14.372% .043 310.43);--color-neutral:oklch(23.04% .065 269.31);--color-neutral-content:oklch(94.51% .179 104.32);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=valentine]:checked),[data-theme=valentine]{color-scheme:light;--color-base-100:oklch(97% .014 343.198);--color-base-200:oklch(94% .028 342.258);--color-base-300:oklch(89% .061 343.231);--color-base-content:oklch(52% .223 3.958);--color-primary:oklch(65% .241 354.308);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(62% .265 303.9);--color-secondary-content:oklch(97% .014 308.299);--color-accent:oklch(82% .111 230.318);--color-accent-content:oklch(39% .09 240.876);--color-neutral:oklch(40% .153 2.432);--color-neutral-content:oklch(89% .061 343.231);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(44% .11 240.79);--color-success:oklch(84% .143 164.978);--color-success-content:oklch(43% .095 166.913);--color-warning:oklch(75% .183 55.934);--color-warning-content:oklch(26% .079 36.259);--color-error:oklch(63% .237 25.331);--color-error-content:oklch(97% .013 17.38);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=halloween]:checked),[data-theme=halloween]{color-scheme:dark;--color-base-100:oklch(21% .006 56.043);--color-base-200:oklch(14% .004 49.25);--color-base-300:oklch(0% 0 0);--color-base-content:oklch(84.955% 0 0);--color-primary:oklch(77.48% .204 60.62);--color-primary-content:oklch(19.693% .004 196.779);--color-secondary:oklch(45.98% .248 305.03);--color-secondary-content:oklch(89.196% .049 305.03);--color-accent:oklch(64.8% .223 136.073);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(24.371% .046 65.681);--color-neutral-content:oklch(84.874% .009 65.681);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(13.316% .031 58.318);--color-error:oklch(65.72% .199 27.33);--color-error-content:oklch(13.144% .039 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=garden]:checked),[data-theme=garden]{color-scheme:light;--color-base-100:oklch(92.951% .002 17.197);--color-base-200:oklch(86.445% .002 17.197);--color-base-300:oklch(79.938% .001 17.197);--color-base-content:oklch(16.961% .001 17.32);--color-primary:oklch(62.45% .278 3.836);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(48.495% .11 355.095);--color-secondary-content:oklch(89.699% .022 355.095);--color-accent:oklch(56.273% .054 154.39);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(24.155% .049 89.07);--color-neutral-content:oklch(92.951% .002 17.197);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=forest]:checked),[data-theme=forest]{color-scheme:dark;--color-base-100:oklch(20.84% .008 17.911);--color-base-200:oklch(18.522% .007 17.911);--color-base-300:oklch(16.203% .007 17.911);--color-base-content:oklch(83.768% .001 17.911);--color-primary:oklch(68.628% .185 148.958);--color-primary-content:oklch(0% 0 0);--color-secondary:oklch(69.776% .135 168.327);--color-secondary-content:oklch(13.955% .027 168.327);--color-accent:oklch(70.628% .119 185.713);--color-accent-content:oklch(14.125% .023 185.713);--color-neutral:oklch(30.698% .039 171.364);--color-neutral-content:oklch(86.139% .007 171.364);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=aqua]:checked),[data-theme=aqua]{color-scheme:dark;--color-base-100:oklch(37% .146 265.522);--color-base-200:oklch(28% .091 267.935);--color-base-300:oklch(22% .091 267.935);--color-base-content:oklch(90% .058 230.902);--color-primary:oklch(85.661% .144 198.645);--color-primary-content:oklch(40.124% .068 197.603);--color-secondary:oklch(60.682% .108 309.782);--color-secondary-content:oklch(96% .016 293.756);--color-accent:oklch(93.426% .102 94.555);--color-accent-content:oklch(18.685% .02 94.555);--color-neutral:oklch(27% .146 265.522);--color-neutral-content:oklch(80% .146 265.522);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(27% .077 45.635);--color-error:oklch(73.95% .19 27.33);--color-error-content:oklch(14.79% .038 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lofi]:checked),[data-theme=lofi]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(15.906% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(21.455% .001 17.278);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(26.861% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(79.54% .103 205.9);--color-info-content:oklch(15.908% .02 205.9);--color-success:oklch(90.13% .153 164.14);--color-success-content:oklch(18.026% .03 164.14);--color-warning:oklch(88.37% .135 79.94);--color-warning-content:oklch(17.674% .027 79.94);--color-error:oklch(78.66% .15 28.47);--color-error-content:oklch(15.732% .03 28.47);--radius-selector:2rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=pastel]:checked),[data-theme=pastel]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98.462% .001 247.838);--color-base-300:oklch(92.462% .001 247.838);--color-base-content:oklch(20% 0 0);--color-primary:oklch(90% .063 306.703);--color-primary-content:oklch(49% .265 301.924);--color-secondary:oklch(89% .058 10.001);--color-secondary-content:oklch(51% .222 16.935);--color-accent:oklch(90% .093 164.15);--color-accent-content:oklch(50% .118 165.612);--color-neutral:oklch(55% .046 257.417);--color-neutral-content:oklch(92% .013 255.508);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(52% .105 223.128);--color-success:oklch(87% .15 154.449);--color-success-content:oklch(52% .154 150.069);--color-warning:oklch(83% .128 66.29);--color-warning-content:oklch(55% .195 38.402);--color-error:oklch(80% .114 19.571);--color-error-content:oklch(50% .213 27.518);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:0;--noise:0}:root:has(input.theme-controller[value=fantasy]:checked),[data-theme=fantasy]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(27.807% .029 256.847);--color-primary:oklch(37.45% .189 325.02);--color-primary-content:oklch(87.49% .037 325.02);--color-secondary:oklch(53.92% .162 241.36);--color-secondary-content:oklch(90.784% .032 241.36);--color-accent:oklch(75.98% .204 56.72);--color-accent-content:oklch(15.196% .04 56.72);--color-neutral:oklch(27.807% .029 256.847);--color-neutral-content:oklch(85.561% .005 256.847);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=wireframe]:checked),[data-theme=wireframe]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(87% 0 0);--color-primary-content:oklch(26% 0 0);--color-secondary:oklch(87% 0 0);--color-secondary-content:oklch(26% 0 0);--color-accent:oklch(87% 0 0);--color-accent-content:oklch(26% 0 0);--color-neutral:oklch(87% 0 0);--color-neutral-content:oklch(26% 0 0);--color-info:oklch(44% .11 240.79);--color-info-content:oklch(90% .058 230.902);--color-success:oklch(43% .095 166.913);--color-success-content:oklch(90% .093 164.15);--color-warning:oklch(47% .137 46.201);--color-warning-content:oklch(92% .12 95.746);--color-error:oklch(44% .177 26.899);--color-error-content:oklch(88% .062 18.334);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=black]:checked),[data-theme=black]{color-scheme:dark;--color-base-100:oklch(0% 0 0);--color-base-200:oklch(19% 0 0);--color-base-300:oklch(22% 0 0);--color-base-content:oklch(87.609% 0 0);--color-primary:oklch(35% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(35% 0 0);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(35% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(35% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(45.201% .313 264.052);--color-info-content:oklch(89.04% .062 264.052);--color-success:oklch(51.975% .176 142.495);--color-success-content:oklch(90.395% .035 142.495);--color-warning:oklch(96.798% .211 109.769);--color-warning-content:oklch(19.359% .042 109.769);--color-error:oklch(62.795% .257 29.233);--color-error-content:oklch(12.559% .051 29.233);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=luxury]:checked),[data-theme=luxury]{color-scheme:dark;--color-base-100:oklch(14.076% .004 285.822);--color-base-200:oklch(20.219% .004 308.229);--color-base-300:oklch(23.219% .004 308.229);--color-base-content:oklch(75.687% .123 76.89);--color-primary:oklch(100% 0 0);--color-primary-content:oklch(20% 0 0);--color-secondary:oklch(27.581% .064 261.069);--color-secondary-content:oklch(85.516% .012 261.069);--color-accent:oklch(36.674% .051 338.825);--color-accent-content:oklch(87.334% .01 338.825);--color-neutral:oklch(24.27% .057 59.825);--color-neutral-content:oklch(93.203% .089 90.861);--color-info:oklch(79.061% .121 237.133);--color-info-content:oklch(15.812% .024 237.133);--color-success:oklch(78.119% .192 132.154);--color-success-content:oklch(15.623% .038 132.154);--color-warning:oklch(86.127% .136 102.891);--color-warning-content:oklch(17.225% .027 102.891);--color-error:oklch(71.753% .176 22.568);--color-error-content:oklch(14.35% .035 22.568);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dracula]:checked),[data-theme=dracula]{color-scheme:dark;--color-base-100:oklch(28.822% .022 277.508);--color-base-200:oklch(26.805% .02 277.508);--color-base-300:oklch(24.787% .019 277.508);--color-base-content:oklch(97.747% .007 106.545);--color-primary:oklch(75.461% .183 346.812);--color-primary-content:oklch(15.092% .036 346.812);--color-secondary:oklch(74.202% .148 301.883);--color-secondary-content:oklch(14.84% .029 301.883);--color-accent:oklch(83.392% .124 66.558);--color-accent-content:oklch(16.678% .024 66.558);--color-neutral:oklch(39.445% .032 275.524);--color-neutral-content:oklch(87.889% .006 275.524);--color-info:oklch(88.263% .093 212.846);--color-info-content:oklch(17.652% .018 212.846);--color-success:oklch(87.099% .219 148.024);--color-success-content:oklch(17.419% .043 148.024);--color-warning:oklch(95.533% .134 112.757);--color-warning-content:oklch(19.106% .026 112.757);--color-error:oklch(68.22% .206 24.43);--color-error-content:oklch(13.644% .041 24.43);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cmyk]:checked),[data-theme=cmyk]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(90% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(71.772% .133 239.443);--color-primary-content:oklch(14.354% .026 239.443);--color-secondary:oklch(64.476% .202 359.339);--color-secondary-content:oklch(12.895% .04 359.339);--color-accent:oklch(94.228% .189 105.306);--color-accent-content:oklch(18.845% .037 105.306);--color-neutral:oklch(21.778% 0 0);--color-neutral-content:oklch(84.355% 0 0);--color-info:oklch(68.475% .094 217.284);--color-info-content:oklch(13.695% .018 217.284);--color-success:oklch(46.949% .162 321.406);--color-success-content:oklch(89.389% .032 321.406);--color-warning:oklch(71.236% .159 52.023);--color-warning-content:oklch(14.247% .031 52.023);--color-error:oklch(62.013% .208 28.717);--color-error-content:oklch(12.402% .041 28.717);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=autumn]:checked),[data-theme=autumn]{color-scheme:light;--color-base-100:oklch(95.814% 0 0);--color-base-200:oklch(89.107% 0 0);--color-base-300:oklch(82.4% 0 0);--color-base-content:oklch(19.162% 0 0);--color-primary:oklch(40.723% .161 17.53);--color-primary-content:oklch(88.144% .032 17.53);--color-secondary:oklch(61.676% .169 23.865);--color-secondary-content:oklch(12.335% .033 23.865);--color-accent:oklch(73.425% .094 60.729);--color-accent-content:oklch(14.685% .018 60.729);--color-neutral:oklch(54.367% .037 51.902);--color-neutral-content:oklch(90.873% .007 51.902);--color-info:oklch(69.224% .097 207.284);--color-info-content:oklch(13.844% .019 207.284);--color-success:oklch(60.995% .08 174.616);--color-success-content:oklch(12.199% .016 174.616);--color-warning:oklch(70.081% .164 56.844);--color-warning-content:oklch(14.016% .032 56.844);--color-error:oklch(53.07% .241 24.16);--color-error-content:oklch(90.614% .048 24.16);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=business]:checked),[data-theme=business]{color-scheme:dark;--color-base-100:oklch(24.353% 0 0);--color-base-200:oklch(22.648% 0 0);--color-base-300:oklch(20.944% 0 0);--color-base-content:oklch(84.87% 0 0);--color-primary:oklch(41.703% .099 251.473);--color-primary-content:oklch(88.34% .019 251.473);--color-secondary:oklch(64.092% .027 229.389);--color-secondary-content:oklch(12.818% .005 229.389);--color-accent:oklch(67.271% .167 35.791);--color-accent-content:oklch(13.454% .033 35.791);--color-neutral:oklch(27.441% .013 253.041);--color-neutral-content:oklch(85.488% .002 253.041);--color-info:oklch(62.616% .143 240.033);--color-info-content:oklch(12.523% .028 240.033);--color-success:oklch(70.226% .094 156.596);--color-success-content:oklch(14.045% .018 156.596);--color-warning:oklch(77.482% .115 81.519);--color-warning-content:oklch(15.496% .023 81.519);--color-error:oklch(51.61% .146 29.674);--color-error-content:oklch(90.322% .029 29.674);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=acid]:checked),[data-theme=acid]{color-scheme:light;--color-base-100:oklch(98% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(91% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(71.9% .357 330.759);--color-primary-content:oklch(14.38% .071 330.759);--color-secondary:oklch(73.37% .224 48.25);--color-secondary-content:oklch(14.674% .044 48.25);--color-accent:oklch(92.78% .264 122.962);--color-accent-content:oklch(18.556% .052 122.962);--color-neutral:oklch(21.31% .128 278.68);--color-neutral-content:oklch(84.262% .025 278.68);--color-info:oklch(60.72% .227 252.05);--color-info-content:oklch(12.144% .045 252.05);--color-success:oklch(85.72% .266 158.53);--color-success-content:oklch(17.144% .053 158.53);--color-warning:oklch(91.01% .212 100.5);--color-warning-content:oklch(18.202% .042 100.5);--color-error:oklch(64.84% .293 29.349);--color-error-content:oklch(12.968% .058 29.349);--radius-selector:1rem;--radius-field:1rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lemonade]:checked),[data-theme=lemonade]{color-scheme:light;--color-base-100:oklch(98.71% .02 123.72);--color-base-200:oklch(91.8% .018 123.72);--color-base-300:oklch(84.89% .017 123.72);--color-base-content:oklch(19.742% .004 123.72);--color-primary:oklch(58.92% .199 134.6);--color-primary-content:oklch(11.784% .039 134.6);--color-secondary:oklch(77.75% .196 111.09);--color-secondary-content:oklch(15.55% .039 111.09);--color-accent:oklch(85.39% .201 100.73);--color-accent-content:oklch(17.078% .04 100.73);--color-neutral:oklch(30.98% .075 108.6);--color-neutral-content:oklch(86.196% .015 108.6);--color-info:oklch(86.19% .047 224.14);--color-info-content:oklch(17.238% .009 224.14);--color-success:oklch(86.19% .047 157.85);--color-success-content:oklch(17.238% .009 157.85);--color-warning:oklch(86.19% .047 102.15);--color-warning-content:oklch(17.238% .009 102.15);--color-error:oklch(86.19% .047 25.85);--color-error-content:oklch(17.238% .009 25.85);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=night]:checked),[data-theme=night]{color-scheme:dark;--color-base-100:oklch(20.768% .039 265.754);--color-base-200:oklch(19.314% .037 265.754);--color-base-300:oklch(17.86% .034 265.754);--color-base-content:oklch(84.153% .007 265.754);--color-primary:oklch(75.351% .138 232.661);--color-primary-content:oklch(15.07% .027 232.661);--color-secondary:oklch(68.011% .158 276.934);--color-secondary-content:oklch(13.602% .031 276.934);--color-accent:oklch(72.36% .176 350.048);--color-accent-content:oklch(14.472% .035 350.048);--color-neutral:oklch(27.949% .036 260.03);--color-neutral-content:oklch(85.589% .007 260.03);--color-info:oklch(68.455% .148 237.251);--color-info-content:oklch(0% 0 0);--color-success:oklch(78.452% .132 181.911);--color-success-content:oklch(15.69% .026 181.911);--color-warning:oklch(83.242% .139 82.95);--color-warning-content:oklch(16.648% .027 82.95);--color-error:oklch(71.785% .17 13.118);--color-error-content:oklch(14.357% .034 13.118);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=coffee]:checked),[data-theme=coffee]{color-scheme:dark;--color-base-100:oklch(24% .023 329.708);--color-base-200:oklch(21% .021 329.708);--color-base-300:oklch(16% .019 329.708);--color-base-content:oklch(72.354% .092 79.129);--color-primary:oklch(71.996% .123 62.756);--color-primary-content:oklch(14.399% .024 62.756);--color-secondary:oklch(34.465% .029 199.194);--color-secondary-content:oklch(86.893% .005 199.194);--color-accent:oklch(42.621% .074 224.389);--color-accent-content:oklch(88.524% .014 224.389);--color-neutral:oklch(16.51% .015 326.261);--color-neutral-content:oklch(83.302% .003 326.261);--color-info:oklch(79.49% .063 184.558);--color-info-content:oklch(15.898% .012 184.558);--color-success:oklch(74.722% .072 131.116);--color-success-content:oklch(14.944% .014 131.116);--color-warning:oklch(88.15% .14 87.722);--color-warning-content:oklch(17.63% .028 87.722);--color-error:oklch(77.318% .128 31.871);--color-error-content:oklch(15.463% .025 31.871);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=winter]:checked),[data-theme=winter]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97.466% .011 259.822);--color-base-300:oklch(93.268% .016 262.751);--color-base-content:oklch(41.886% .053 255.824);--color-primary:oklch(56.86% .255 257.57);--color-primary-content:oklch(91.372% .051 257.57);--color-secondary:oklch(42.551% .161 282.339);--color-secondary-content:oklch(88.51% .032 282.339);--color-accent:oklch(59.939% .191 335.171);--color-accent-content:oklch(11.988% .038 335.171);--color-neutral:oklch(19.616% .063 257.651);--color-neutral-content:oklch(83.923% .012 257.651);--color-info:oklch(88.127% .085 214.515);--color-info-content:oklch(17.625% .017 214.515);--color-success:oklch(80.494% .077 197.823);--color-success-content:oklch(16.098% .015 197.823);--color-warning:oklch(89.172% .045 71.47);--color-warning-content:oklch(17.834% .009 71.47);--color-error:oklch(73.092% .11 20.076);--color-error-content:oklch(14.618% .022 20.076);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=dim]:checked),[data-theme=dim]{color-scheme:dark;--color-base-100:oklch(30.857% .023 264.149);--color-base-200:oklch(28.036% .019 264.182);--color-base-300:oklch(26.346% .018 262.177);--color-base-content:oklch(82.901% .031 222.959);--color-primary:oklch(86.133% .141 139.549);--color-primary-content:oklch(17.226% .028 139.549);--color-secondary:oklch(73.375% .165 35.353);--color-secondary-content:oklch(14.675% .033 35.353);--color-accent:oklch(74.229% .133 311.379);--color-accent-content:oklch(14.845% .026 311.379);--color-neutral:oklch(24.731% .02 264.094);--color-neutral-content:oklch(82.901% .031 222.959);--color-info:oklch(86.078% .142 206.182);--color-info-content:oklch(17.215% .028 206.182);--color-success:oklch(86.171% .142 166.534);--color-success-content:oklch(17.234% .028 166.534);--color-warning:oklch(86.163% .142 94.818);--color-warning-content:oklch(17.232% .028 94.818);--color-error:oklch(82.418% .099 33.756);--color-error-content:oklch(16.483% .019 33.756);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=nord]:checked),[data-theme=nord]{color-scheme:light;--color-base-100:oklch(95.127% .007 260.731);--color-base-200:oklch(93.299% .01 261.788);--color-base-300:oklch(89.925% .016 262.749);--color-base-content:oklch(32.437% .022 264.182);--color-primary:oklch(59.435% .077 254.027);--color-primary-content:oklch(11.887% .015 254.027);--color-secondary:oklch(69.651% .059 248.687);--color-secondary-content:oklch(13.93% .011 248.687);--color-accent:oklch(77.464% .062 217.469);--color-accent-content:oklch(15.492% .012 217.469);--color-neutral:oklch(45.229% .035 264.131);--color-neutral-content:oklch(89.925% .016 262.749);--color-info:oklch(69.207% .062 332.664);--color-info-content:oklch(13.841% .012 332.664);--color-success:oklch(76.827% .074 131.063);--color-success-content:oklch(15.365% .014 131.063);--color-warning:oklch(85.486% .089 84.093);--color-warning-content:oklch(17.097% .017 84.093);--color-error:oklch(60.61% .12 15.341);--color-error-content:oklch(12.122% .024 15.341);--radius-selector:1rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=sunset]:checked),[data-theme=sunset]{color-scheme:dark;--color-base-100:oklch(22% .019 237.69);--color-base-200:oklch(20% .019 237.69);--color-base-300:oklch(18% .019 237.69);--color-base-content:oklch(77.383% .043 245.096);--color-primary:oklch(74.703% .158 39.947);--color-primary-content:oklch(14.94% .031 39.947);--color-secondary:oklch(72.537% .177 2.72);--color-secondary-content:oklch(14.507% .035 2.72);--color-accent:oklch(71.294% .166 299.844);--color-accent-content:oklch(14.258% .033 299.844);--color-neutral:oklch(26% .019 237.69);--color-neutral-content:oklch(70% .019 237.69);--color-info:oklch(85.559% .085 206.015);--color-info-content:oklch(17.111% .017 206.015);--color-success:oklch(85.56% .085 144.778);--color-success-content:oklch(17.112% .017 144.778);--color-warning:oklch(85.569% .084 74.427);--color-warning-content:oklch(17.113% .016 74.427);--color-error:oklch(85.511% .078 16.886);--color-error-content:oklch(17.102% .015 16.886);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root{--fx-noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E")}@property --radialprogress{syntax: "<percentage>"; inherits: true; initial-value: 0%;}:root:not(span){overflow:var(--page-overflow)}:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))var(--root-bg)}@supports (color:color-mix(in lab,red,red)){:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))color-mix(in srgb,var(--root-bg),oklch(0% 0 0) calc(var(--page-has-backdrop,0)*40%))}}:root{--page-scroll-transition-on:background-color .3s ease-out;transition:var(--page-scroll-transition);scrollbar-gutter:var(--page-scroll-gutter,unset);scrollbar-gutter:if(style(--page-has-scroll: 1): var(--page-scroll-gutter,unset); else: unset)}:root:root{background:var(--page-scroll-bg,var(--root-bg,var(--color-base-100)))}@keyframes set-page-has-scroll{0%,to{--page-has-scroll:1}}:root,[data-theme]{background-color:var(--root-bg,var(--color-base-100));color:var(--color-base-content)}:where(:root,[data-theme]){--root-bg:var(--color-base-100)}}@layer components;@layer utilities{@layer daisyui.l1.l2.l3{.diff{webkit-user-select:none;-webkit-user-select:none;user-select:none;direction:ltr;grid-template-rows:1fr 1.8rem 1fr;grid-template-columns:auto 1fr;width:100%;display:grid;position:relative;overflow:hidden;container-type:inline-size}.diff:focus-visible,.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px;outline-color:var(--color-base-content)}.diff:focus-visible .diff-resizer{min-width:95cqi;max-width:95cqi}.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px}.diff:has(.diff-item-1:focus-visible) .diff-resizer{min-width:5cqi;max-width:5cqi}@supports (-webkit-overflow-scrolling:touch) and (overflow:-webkit-paged-x){.diff:focus .diff-resizer{min-width:5cqi;max-width:5cqi}.diff:has(.diff-item-1:focus) .diff-resizer{min-width:95cqi;max-width:95cqi}}.modal{pointer-events:none;visibility:hidden;width:100%;max-width:none;height:100%;max-height:none;color:inherit;transition:visibility .3s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;overscroll-behavior:contain;z-index:999;scrollbar-gutter:auto;background-color:#0000;place-items:center;margin:0;padding:0;display:grid;position:fixed;top:0;right:0;bottom:0;left:0;overflow:clip}.modal::backdrop{display:none}.fab{pointer-events:none;z-index:999;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));white-space:nowrap;inset-inline-end:1rem;flex-direction:column-reverse;align-items:flex-end;gap:.5rem;display:flex;position:fixed;bottom:1rem}.fab>*{pointer-events:auto;align-items:center;gap:.5rem;display:flex}.fab>:hover,.fab>:has(:focus-visible){z-index:1}.fab>[tabindex]:first-child{transition-property:opacity,visibility,rotate;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:grid;position:relative}.fab .fab-close,.fab .fab-main-action{inset-inline-end:0;position:absolute;bottom:0}:is(.fab:focus-within:has(.fab-close),.fab:focus-within:has(.fab-main-action))>[tabindex]{opacity:0;rotate:90deg}.fab:focus-within>[tabindex]:first-child{pointer-events:none}.fab:focus-within>:nth-child(n+2){visibility:visible;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:1}.fab>:nth-child(n+2){visibility:hidden;--tw-scale-x:80%;--tw-scale-y:80%;--tw-scale-z:80%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:0;transition-property:opacity,scale,visibility;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.fab>:nth-child(n+2).fab-main-action,.fab>:nth-child(n+2).fab-close{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.fab>:nth-child(3){transition-delay:30ms}.fab>:nth-child(4){transition-delay:60ms}.fab>:nth-child(5){transition-delay:90ms}.fab>:nth-child(6){transition-delay:.12s}.tooltip{--tt-bg:var(--color-neutral);--tt-off: calc(100% + .5rem) ;--tt-tail: calc(100% + 1px + .25rem) ;display:inline-block;position:relative}.tooltip>.tooltip-content,.tooltip[data-tip]:before{border-radius:var(--radius-field);text-align:center;white-space:normal;max-width:20rem;color:var(--color-neutral-content);opacity:0;background-color:var(--tt-bg);pointer-events:none;z-index:2;--tw-content:attr(data-tip);content:var(--tw-content);width:max-content;padding-block:.25rem;padding-inline:.5rem;font-size:.875rem;line-height:1.25;position:absolute}.tooltip:after{opacity:0;background-color:var(--tt-bg);content:"";pointer-events:none;--mask-tooltip:url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");width:.625rem;height:.25rem;-webkit-mask-position:-1px 0;mask-position:-1px 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-image:var(--mask-tooltip);mask-image:var(--mask-tooltip);display:block;position:absolute}@media(prefers-reduced-motion:no-preference){.tooltip>.tooltip-content,.tooltip[data-tip]:before,.tooltip:after{transition:opacity .2s cubic-bezier(.4,0,.2,1) 75ms,transform .2s cubic-bezier(.4,0,.2,1) 75ms}}:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{opacity:1;--tt-pos:0rem}@media(prefers-reduced-motion:no-preference){:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{transition:opacity .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}}.tab{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;webkit-user-select:none;-webkit-user-select:none;user-select:none;flex-wrap:wrap;justify-content:center;align-items:center;display:inline-flex;position:relative}@media(hover:hover){.tab:hover{color:var(--color-base-content)}}.tab{--tab-p:.75rem;--tab-bg:var(--color-base-100);--tab-border-color:var(--color-base-300);--tab-radius-ss:0;--tab-radius-se:0;--tab-radius-es:0;--tab-radius-ee:0;--tab-order:0;--tab-radius-min:calc(.75rem - var(--border));--tab-radius-limit:min(var(--radius-field),var(--tab-radius-min));--tab-radius-grad:#0000 calc(69% - var(--border)),var(--tab-border-color)calc(69% - var(--border) + .25px),var(--tab-border-color)69%,var(--tab-bg) calc(69% + .25px) ;order:var(--tab-order);height:var(--tab-height);padding-inline:var(--tab-p);border-color:#0000;font-size:.875rem}.tab:is(input[type=radio]){min-width:fit-content}.tab:is(input[type=radio]):after{--tw-content:attr(aria-label);content:var(--tw-content)}.tab:is(label){position:relative}.tab:is(label) input{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0;position:absolute;top:0;right:0;bottom:0;left:0}:is(.tab:checked,.tab:is(label:has(:checked)),.tab:is(.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]))+.tab-content{display:block}.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.tab:not(input):empty{cursor:default;flex-grow:1}.tab:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.tab:focus{outline-offset:2px;outline:2px solid #0000}}.tab:focus-visible,.tab:is(label:has(:checked:focus-visible)){outline-offset:-5px;outline:2px solid}.tab[disabled]{pointer-events:none;opacity:.4}.menu{--menu-active-fg:var(--color-neutral-content);--menu-active-bg:var(--color-neutral);flex-flow:column wrap;width:fit-content;padding:.5rem;font-size:.875rem;display:flex}.menu :where(li ul){white-space:nowrap;margin-inline-start:1rem;padding-inline-start:.5rem;position:relative}.menu :where(li ul):before{background-color:var(--color-base-content);opacity:.1;width:var(--border);content:"";inset-inline-start:0;position:absolute;top:.75rem;bottom:.75rem}.menu :where(li>.menu-dropdown:not(.menu-dropdown-show)){display:none}.menu :where(li:not(.menu-title)>:not(ul,details,.menu-title,.btn)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:var(--radius-field);text-align:start;text-wrap:balance;-webkit-user-select:none;user-select:none;grid-auto-columns:minmax(auto,max-content) auto max-content;grid-auto-flow:column;align-content:flex-start;align-items:center;gap:.5rem;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:grid}.menu :where(li>details>summary){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li>details>summary){outline-offset:2px;outline:2px solid #0000}}.menu :where(li>details>summary)::-webkit-details-marker{display:none}:is(.menu :where(li>details>summary),.menu :where(li>.menu-dropdown-toggle)):after{content:"";transform-origin:50%;pointer-events:none;justify-self:flex-end;width:.375rem;height:.375rem;transition-property:rotate,translate;transition-duration:.2s;display:block;translate:0 -1px;rotate:-135deg;box-shadow:inset 2px 2px}.menu details{interpolate-size:allow-keywords;overflow:hidden}.menu details::details-content{block-size:0}@media(prefers-reduced-motion:no-preference){.menu details::details-content{transition-behavior:allow-discrete;transition-property:block-size,content-visibility;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}}.menu details[open]::details-content{block-size:auto}.menu :where(li>details[open]>summary):after,.menu :where(li>.menu-dropdown-toggle.menu-dropdown-show):after{translate:0 1px;rotate:45deg}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{color:var(--color-base-content);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){box-shadow:inset 0 1px #00000003,inset 0 -1px #ffffff03}.menu :where(li:empty){background-color:var(--color-base-content);opacity:.1;height:1px;margin:.5rem 1rem}.menu :where(li){flex-flow:column wrap;flex-shrink:0;align-items:stretch;display:flex;position:relative}.menu :where(li) .badge{justify-self:flex-end}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{outline-offset:2px;outline:2px solid #0000}}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{color:var(--menu-active-fg);background-color:var(--menu-active-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):not(:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):active){box-shadow:0 2px calc(var(--depth)*3px) -2px var(--menu-active-bg)}.menu :where(li).menu-disabled{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li).menu-disabled{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.menu .dropdown:focus-within .menu-dropdown-toggle:after{translate:0 1px;rotate:45deg}.menu .dropdown-content{margin-top:.5rem;padding:.5rem}.menu .dropdown-content:before{display:none}.dock{z-index:1;background-color:var(--color-base-100);color:currentColor;border-top:.5px solid var(--color-base-content);flex-direction:row;justify-content:space-around;align-items:center;width:100%;padding:.5rem;display:flex;position:fixed;bottom:0;left:0;right:0}@supports (color:color-mix(in lab,red,red)){.dock{border-top:.5px solid color-mix(in oklab,var(--color-base-content)5%,#0000)}}.dock{height:4rem;height:calc(4rem + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.dock>*{cursor:pointer;border-radius:var(--radius-box);background-color:#0000;flex-direction:column;flex-shrink:1;flex-basis:100%;justify-content:center;align-items:center;gap:1px;max-width:8rem;height:100%;margin-bottom:.5rem;transition:opacity .2s ease-out;display:flex;position:relative}@media(hover:hover){.dock>:hover{opacity:.8}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{opacity:1}.dock>* .dock-label{font-size:.6875rem}.dock>:after{content:"";background-color:#0000;border-top:3px solid #0000;border-radius:3.40282e38px;width:1.5rem;height:.25rem;transition:background-color .1s ease-out,text-color .1s ease-out,width .1s ease-out;position:absolute;bottom:.2rem}.dropdown{position-area:var(--anchor-v,bottom)var(--anchor-h,span-right);display:inline-block;position:relative}.dropdown>:not(:has(~[class*=dropdown-content])):focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.dropdown>:not(:has(~[class*=dropdown-content])):focus{outline-offset:2px;outline:2px solid #0000}}.dropdown .dropdown-content{position:absolute}.dropdown.dropdown-close .dropdown-content,.dropdown:not(details,.dropdown-open,.dropdown-hover:hover,:focus-within) .dropdown-content,.dropdown.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible)~.dropdown-content{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover],.dropdown .dropdown-content{z-index:999}@media(prefers-reduced-motion:no-preference){.dropdown[popover],.dropdown .dropdown-content{transition-behavior:allow-discrete;transition-property:opacity,scale,display;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation:.2s dropdown}}@starting-style{.dropdown[popover],.dropdown .dropdown-content{opacity:0;scale:95%}}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within)>[tabindex]:first-child{pointer-events:none}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within) .dropdown-content,.dropdown:not(.dropdown-close).dropdown-hover:hover .dropdown-content{opacity:1;scale:100%}.dropdown:is(details) summary::-webkit-details-marker{display:none}.dropdown:where([popover]){background:0 0}.dropdown[popover]{color:inherit;position:fixed}@supports not (position-area:bottom){.dropdown[popover]{margin:auto}.dropdown[popover].dropdown-close{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover].dropdown-open:not(:popover-open){transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover]::backdrop{background-color:oklab(0% none none/.3)}}:is(.dropdown[popover].dropdown-close,.dropdown[popover]:not(.dropdown-open,:popover-open)){transform-origin:top;opacity:0;display:none;scale:95%}:where(.btn){width:unset}.btn{cursor:pointer;text-align:center;vertical-align:middle;outline-offset:2px;webkit-user-select:none;-webkit-user-select:none;user-select:none;padding-inline:var(--btn-p);color:var(--btn-fg);--tw-prose-links:var(--btn-fg);height:var(--size);font-size:var(--fontsize,.875rem);outline-color:var(--btn-color,var(--color-base-content));background-color:var(--btn-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--btn-noise);border-width:var(--border);border-style:solid;border-color:var(--btn-border);text-shadow:0 .5px oklch(100% 0 0/calc(var(--depth)*.15));touch-action:manipulation;box-shadow:0 .5px 0 .5px oklch(100% 0 0/calc(var(--depth)*6%)) inset,var(--btn-shadow);--size:calc(var(--size-field,.25rem)*10);--btn-bg:var(--btn-color,var(--color-base-200));--btn-fg:var(--color-base-content);--btn-p:1rem;--btn-border:var(--btn-bg);border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:.375rem;font-weight:600;transition-property:color,background-color,border-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:inline-flex}@supports (color:color-mix(in lab,red,red)){.btn{--btn-border:color-mix(in oklab,var(--btn-bg),#000 calc(var(--depth)*5%))}}.btn{--btn-shadow:0 3px 2px -2px var(--btn-bg),0 4px 3px -2px var(--btn-bg)}@supports (color:color-mix(in lab,red,red)){.btn{--btn-shadow:0 3px 2px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000),0 4px 3px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000)}}.btn{--btn-noise:var(--fx-noise)}@media(hover:hover){.btn:hover{--btn-bg:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:hover{--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}}.btn:focus-visible,.btn:has(:focus-visible){isolation:isolate;outline-width:2px;outline-style:solid}.btn:active:not(.btn-active){--btn-bg:var(--btn-color,var(--color-base-200));translate:0 .5px}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 5%)}}.btn:active:not(.btn-active){--btn-border:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-border:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}.btn:active:not(.btn-active){--btn-shadow:0 0 0 0 oklch(0% 0 0/0),0 0 0 0 oklch(0% 0 0/0)}.btn:is(input[type=checkbox],input[type=radio]){-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn:is(input[type=checkbox],input[type=radio])[aria-label]:after{--tw-content:attr(aria-label);content:var(--tw-content)}.btn:where(input:checked:not(.filter .btn)){--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content);isolation:isolate}.loading{pointer-events:none;aspect-ratio:1;vertical-align:middle;width:calc(var(--size-selector,.25rem)*6);background-color:currentColor;display:inline-block;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.list{flex-direction:column;font-size:.875rem;display:flex}.list .list-row{--list-grid-cols:minmax(0,auto)1fr;border-radius:var(--radius-box);word-break:break-word;grid-auto-flow:column;grid-template-columns:var(--list-grid-cols);gap:1rem;padding:1rem;display:grid;position:relative}:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{content:"";border-bottom:var(--border)solid;inset-inline:var(--radius-box);border-color:var(--color-base-content);position:absolute;bottom:0}@supports (color:color-mix(in lab,red,red)){:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{border-color:color-mix(in oklab,var(--color-base-content)5%,transparent)}}.toggle{border:var(--border)solid currentColor;color:var(--input-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;webkit-user-select:none;-webkit-user-select:none;user-select:none;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--toggle-p),var(--radius-selector-max)) + min(var(--border),var(--radius-selector-max)));padding:var(--toggle-p);flex-shrink:0;grid-template-columns:0fr 1fr 1fr;place-content:center;display:inline-grid;position:relative;box-shadow:inset 0 1px}@supports (color:color-mix(in lab,red,red)){.toggle{box-shadow:0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000) inset}}.toggle{--input-color:var(--color-base-content);transition:color .3s,grid-template-columns .2s}@supports (color:color-mix(in lab,red,red)){.toggle{--input-color:color-mix(in oklab,var(--color-base-content)50%,#0000)}}.toggle{--toggle-p:calc(var(--size)*.125);--size:calc(var(--size-selector,.25rem)*6);width:calc((var(--size)*2) - (var(--border) + var(--toggle-p))*2);height:var(--size)}.toggle>*{z-index:1;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;grid-column:2/span 1;grid-row-start:1;height:100%;padding:.125rem;transition:opacity .2s,rotate .4s}.toggle>:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.toggle>:focus{outline-offset:2px;outline:2px solid #0000}}.toggle>:nth-child(2){color:var(--color-base-100);rotate:none}.toggle>:nth-child(3){color:var(--color-base-100);opacity:0;rotate:-15deg}.toggle:has(:checked)>:nth-child(2){opacity:0;rotate:15deg}.toggle:has(:checked)>:nth-child(3){opacity:1;rotate:none}.toggle:before{aspect-ratio:1;border-radius:var(--radius-selector);--tw-content:"";content:var(--tw-content);height:100%;box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor;background-color:currentColor;grid-row-start:1;grid-column-start:2;transition:background-color .1s,translate .2s,inset-inline-start .2s;position:relative;inset-inline-start:0;translate:0}@supports (color:color-mix(in lab,red,red)){.toggle:before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000)}}.toggle:before{background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}@media(forced-colors:active){.toggle:before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{.toggle:before{outline-offset:-1rem;outline:.25rem solid}}.toggle:focus-visible,.toggle:has(:focus-visible){outline-offset:2px;outline:2px solid}.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked){background-color:var(--color-base-100);--input-color:var(--color-base-content);grid-template-columns:1fr 1fr 0fr}:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{background-color:currentColor}@starting-style{:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{opacity:0}}.toggle:indeterminate{grid-template-columns:.5fr 1fr .5fr}.toggle:disabled{cursor:not-allowed;opacity:.3}.toggle:disabled:before{border:var(--border)solid currentColor;background-color:#0000}.input{cursor:text;border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;white-space:nowrap;width:clamp(3rem,20rem,100%);height:var(--size);font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.5rem;padding-inline:.75rem;display:inline-flex;position:relative}@supports (color:color-mix(in lab,red,red)){.input{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.input{--size:calc(var(--size-field,.25rem)*10);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.input:where(input){display:inline-flex}.input :where(input){-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;width:100%;height:100%;display:inline-flex}.input :where(input):focus,.input :where(input):focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.input :where(input):focus,.input :where(input):focus-within{outline-offset:2px;outline:2px solid #0000}}.input :where(input[type=url]),.input :where(input[type=email]){direction:ltr}.input :where(input[type=date]){display:inline-flex}.input:focus,.input:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.input:focus,.input:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.input:focus,.input:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.input:focus,.input:focus-within{--font-size:1rem}}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{box-shadow:none}.input:has(>input[disabled])>input[disabled]{cursor:not-allowed}.input::-webkit-date-and-time-value{text-align:inherit}.input[type=number]::-webkit-inner-spin-button{margin-block:-.75rem;margin-inline-end:-.75rem}.input::-webkit-calendar-picker-indicator{position:absolute;inset-inline-end:.75em}.input:has(>input[type=date]) :where(input[type=date]){webkit-appearance:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex}.input:has(>input[type=date]) input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;width:1em;height:1em;position:absolute;inset-inline-end:.75em}.indicator{width:max-content;display:inline-flex;position:relative}.indicator :where(.indicator-item){z-index:1;white-space:nowrap;top:var(--indicator-t,0);bottom:var(--indicator-b,auto);left:var(--indicator-s,auto);right:var(--indicator-e,0);translate:var(--indicator-x,50%)var(--indicator-y,-50%);position:absolute}.table{border-collapse:separate;--tw-border-spacing-x: 0rem ;--tw-border-spacing-y: 0rem ;width:100%;border-spacing:var(--tw-border-spacing-x)var(--tw-border-spacing-y);border-radius:var(--radius-box);text-align:left;font-size:.875rem;position:relative}.table:where(:dir(rtl),[dir=rtl],[dir=rtl] *){text-align:right}@media(hover:hover){:is(.table tr.row-hover,.table tr.row-hover:nth-child(2n)):hover{background-color:var(--color-base-200)}}.table :where(th,td){vertical-align:middle;padding-block:.75rem;padding-inline:1rem}.table :where(thead,tfoot){white-space:nowrap;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead,tfoot){color:color-mix(in oklab,var(--color-base-content)60%,transparent)}}.table :where(thead,tfoot){font-size:.875rem;font-weight:600}.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.table :where(.table-pin-rows thead tr){z-index:1;background-color:var(--color-base-100);position:sticky;top:0}.table :where(.table-pin-rows tfoot tr){z-index:1;background-color:var(--color-base-100);position:sticky;bottom:0}.table :where(.table-pin-cols tr th){background-color:var(--color-base-100);position:sticky;left:0;right:0}.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.steps{counter-reset:step;grid-auto-columns:1fr;grid-auto-flow:column;display:inline-grid;overflow:auto hidden}.steps .step{text-align:center;--step-bg:var(--color-base-300);--step-fg:var(--color-base-content);grid-template-rows:40px 1fr;grid-template-columns:auto;place-items:center;min-width:4rem;display:grid}.steps .step:before{width:100%;height:.5rem;color:var(--step-bg);background-color:var(--step-bg);content:"";border:1px solid;grid-row-start:1;grid-column-start:1;margin-inline-start:-100%;top:0}.steps .step>.step-icon,.steps .step:not(:has(.step-icon)):after{--tw-content:counter(step);content:var(--tw-content);counter-increment:step;z-index:1;color:var(--step-fg);background-color:var(--step-bg);border:1px solid var(--step-bg);border-radius:3.40282e38px;grid-row-start:1;grid-column-start:1;place-self:center;place-items:center;width:2rem;height:2rem;display:grid;position:relative}.steps .step:first-child:before{--tw-content:none;content:var(--tw-content)}.steps .step[data-content]:after{--tw-content:attr(data-content);content:var(--tw-content)}.range{-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;--range-thumb:var(--color-base-100);--range-thumb-size:calc(var(--size-selector,.25rem)*6);--range-progress:currentColor;--range-fill:1;--range-p:.25rem;--range-bg:currentColor}@supports (color:color-mix(in lab,red,red)){.range{--range-bg:color-mix(in oklab,currentColor 10%,#0000)}}.range{cursor:pointer;vertical-align:middle;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));width:clamp(3rem,20rem,100%);height:var(--range-thumb-size);background-color:#0000;border:none;overflow:hidden}[dir=rtl] .range{--range-dir:-1}.range:focus{outline:none}.range:focus-visible{outline-offset:2px;outline:2px solid}.range::-webkit-slider-runnable-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}@media(forced-colors:active){.range::-webkit-slider-runnable-track{border:1px solid}.range::-moz-range-track{border:1px solid}}.range::-webkit-slider-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));background-color:var(--range-thumb);height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));position:relative;top:50%;transform:translateY(-50%)}@supports (color:color-mix(in lab,red,red)){.range::-webkit-slider-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range::-moz-range-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}.range::-moz-range-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));background-color:currentColor;position:relative;top:50%}@supports (color:color-mix(in lab,red,red)){.range::-moz-range-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range:disabled{cursor:not-allowed;opacity:.3}.select{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);height:var(--size);touch-action:manipulation;white-space:nowrap;text-overflow:ellipsis;box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16.1px) calc(1px + 50%);background-repeat:no-repeat;background-size:4px 4px,4px 4px;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.375rem;padding-inline:.75rem 1.75rem;font-size:.875rem;display:inline-flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.select{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.select{border-color:var(--input-color);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.select{--size:calc(var(--size-field,.25rem)*10)}[dir=rtl] .select{background-position:12px calc(1px + 50%),16px calc(1px + 50%)}[dir=rtl] .select::picker(select){translate:.5rem}[dir=rtl] .select select::picker(select){translate:.5rem}.select[multiple]{background-image:none;height:auto;padding-block:.75rem;padding-inline-end:.75rem;overflow:auto}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:calc(100% + 2.75rem);height:calc(100% - calc(var(--border)*2));background:inherit;border-radius:inherit;border-style:none;align-items:center;margin-inline:-.75rem -1.75rem;padding-inline:.75rem 1.75rem}.select select:focus,.select select:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.select select:focus,.select select:focus-within{outline-offset:2px;outline:2px solid #0000}}.select select:not(:last-child){background-image:none;margin-inline-end:-1.375rem}.select:focus,.select:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.select:focus,.select:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.select:focus,.select:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.select:has(>select[disabled])>select[disabled]{cursor:not-allowed}@supports (appearance:base-select){.select,.select select{-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}:is(.select,.select select)::picker(select){-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}}:is(.select,.select select)::picker(select){color:inherit;border:var(--border)solid var(--color-base-200);border-radius:var(--radius-box);background-color:inherit;max-height:min(24rem,70dvh);box-shadow:0 2px calc(var(--depth)*3px) -2px #0003;box-shadow:0 20px 25px -5px rgb(0 0 0/calc(var(--depth)*.1)),0 8px 10px -6px rgb(0 0 0/calc(var(--depth)*.1));margin-block:.5rem;margin-inline:.5rem;padding:.5rem;translate:-.5rem}:is(.select,.select select)::picker-icon{display:none}:is(.select,.select select) optgroup{padding-top:.5em}:is(.select,.select select) optgroup option:first-child{margin-top:.5em}:is(.select,.select select) option{border-radius:var(--radius-field);white-space:normal;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{outline-offset:2px;outline:2px solid #0000}}:is(.select,.select select) option:not(:disabled):active{background-color:var(--color-neutral);color:var(--color-neutral-content);box-shadow:0 2px calc(var(--depth)*3px) -2px var(--color-neutral)}.checkbox{border:var(--border)solid var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox{border:var(--border)solid var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-selector);vertical-align:middle;color:var(--color-base-content);box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 0 #0000 inset,0 0 #0000;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);flex-shrink:0;padding:.25rem;transition:background-color .2s,box-shadow .2s;display:inline-block;position:relative}.checkbox:before{--tw-content:"";content:var(--tw-content);opacity:0;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,70% 80%,70% 100%);width:100%;height:100%;box-shadow:0 3px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-color:currentColor;font-size:1rem;line-height:.75;transition:clip-path .3s .1s,opacity .1s .1s,rotate .3s .1s,translate .3s .1s;display:block;rotate:45deg}.checkbox:focus-visible{outline:2px solid var(--input-color,currentColor);outline-offset:2px}.checkbox:checked,.checkbox[aria-checked=true]{background-color:var(--input-color,#0000);box-shadow:0 0 #0000 inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1))}:is(.checkbox:checked,.checkbox[aria-checked=true]):before{clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 0%,70% 0%,70% 100%);opacity:1}@media(forced-colors:active){:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}@media print{:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}.checkbox:indeterminate{background-color:var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox:indeterminate{background-color:var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox:indeterminate:before{opacity:1;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,80% 80%,80% 100%);translate:0 -35%;rotate:none}.radio{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;border:var(--border)solid var(--input-color,currentColor);border-radius:3.40282e38px;flex-shrink:0;padding:.25rem;display:inline-block;position:relative}@supports (color:color-mix(in lab,red,red)){.radio{border:var(--border)solid var(--input-color,color-mix(in srgb,currentColor 20%,#0000))}}.radio{box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);color:var(--input-color,currentColor)}.radio:before{--tw-content:"";content:var(--tw-content);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);border-radius:3.40282e38px;width:100%;height:100%;display:block}.radio:focus-visible{outline:2px solid}.radio:checked,.radio[aria-checked=true]{background-color:var(--color-base-100);border-color:currentColor}@media(prefers-reduced-motion:no-preference){.radio:checked,.radio[aria-checked=true]{animation:.2s ease-out radio}}:is(.radio:checked,.radio[aria-checked=true]):before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1));background-color:currentColor}@media(forced-colors:active){:is(.radio:checked,.radio[aria-checked=true]):before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{:is(.radio:checked,.radio[aria-checked=true]):before{outline-offset:-1rem;outline:.25rem solid}}.drawer{grid-auto-columns:max-content auto;width:100%;display:grid;position:relative}.card{border-radius:var(--radius-box);outline-offset:2px;outline:0 solid #0000;flex-direction:column;transition:outline .2s ease-in-out;display:flex;position:relative}.card:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.card:focus{outline-offset:2px;outline:2px solid #0000}}.card:focus-visible{outline-color:currentColor}.card :where(figure:first-child){border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-end-radius:unset;border-end-start-radius:unset;overflow:hidden}.card :where(figure:last-child){border-start-start-radius:unset;border-start-end-radius:unset;border-end-end-radius:inherit;border-end-start-radius:inherit;overflow:hidden}.card figure{justify-content:center;align-items:center;display:flex}.card:has(>input:is(input[type=checkbox],input[type=radio])){cursor:pointer;-webkit-user-select:none;user-select:none}.card:has(>:checked){outline:2px solid}.progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-box);background-color:currentColor;width:100%;height:.5rem;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.progress{background-color:color-mix(in oklab,currentcolor 20%,transparent)}}.progress{color:var(--color-base-content)}.progress:indeterminate{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%}@media(prefers-reduced-motion:no-preference){.progress:indeterminate{animation:5s ease-in-out infinite progress}}@supports ((-moz-appearance:none)){.progress:indeterminate::-moz-progress-bar{background-color:#0000}@media(prefers-reduced-motion:no-preference){.progress:indeterminate::-moz-progress-bar{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%;animation:5s ease-in-out infinite progress}}.progress::-moz-progress-bar{border-radius:var(--radius-box);background-color:currentColor}}@supports ((-webkit-appearance:none)){.progress::-webkit-progress-bar{border-radius:var(--radius-box);background-color:#0000}.progress::-webkit-progress-value{border-radius:var(--radius-box);background-color:currentColor}}.textarea{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-field);background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);min-height:5rem;font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;flex-shrink:1;padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.textarea{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.textarea{--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.textarea textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none}.textarea textarea:focus,.textarea textarea:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.textarea textarea:focus,.textarea textarea:focus-within{outline-offset:2px;outline:2px solid #0000}}.textarea:focus,.textarea:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.textarea:focus,.textarea:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.textarea:focus,.textarea:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.textarea:focus,.textarea:focus-within{--font-size:1rem}}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){box-shadow:none}.textarea:has(>textarea[disabled])>textarea[disabled]{cursor:not-allowed}.modal-backdrop{color:#0000;z-index:-1;grid-row-start:1;grid-column-start:1;place-self:stretch stretch;display:grid}.modal-backdrop button{cursor:pointer}.modal-box{background-color:var(--color-base-100);border-top-left-radius:var(--modal-tl,var(--radius-box));border-top-right-radius:var(--modal-tr,var(--radius-box));border-bottom-left-radius:var(--modal-bl,var(--radius-box));border-bottom-right-radius:var(--modal-br,var(--radius-box));opacity:0;overscroll-behavior:contain;grid-row-start:1;grid-column-start:1;width:91.6667%;max-width:32rem;max-height:100vh;padding:1.5rem;transition:translate .3s ease-out,scale .3s ease-out,opacity .2s ease-out 50ms,box-shadow .3s ease-out;overflow-y:auto;scale:95%;box-shadow:0 25px 50px -12px #00000040}.divider{white-space:nowrap;height:1rem;margin:var(--divider-m,1rem 0);--divider-color:var(--color-base-content);flex-direction:row;align-self:stretch;align-items:center;display:flex}@supports (color:color-mix(in lab,red,red)){.divider{--divider-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.divider:before,.divider:after{content:"";background-color:var(--divider-color);flex-grow:1;width:100%;height:.125rem}@media print{.divider:before,.divider:after{border:.5px solid}}.divider:not(:empty){gap:1rem}.filter{flex-wrap:wrap;display:flex}.filter input[type=radio]{width:auto}.filter input{opacity:1;transition:margin .1s,opacity .3s,padding .3s,border-width .1s;overflow:hidden;scale:1}.filter input:not(:last-child){margin-inline-end:.25rem}.filter input.filter-reset{aspect-ratio:1}.filter input.filter-reset:after{--tw-content:"×";content:var(--tw-content)}.filter:not(:has(input:checked:not(.filter-reset))) .filter-reset,.filter:not(:has(input:checked:not(.filter-reset))) input[type=reset],.filter:has(input:checked:not(.filter-reset)) input:not(:checked,.filter-reset,input[type=reset]){opacity:0;border-width:0;width:0;margin-inline:0;padding-inline:0;scale:0}.label{white-space:nowrap;color:currentColor;align-items:center;gap:.375rem;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.label{color:color-mix(in oklab,currentcolor 60%,transparent)}}.label:has(input){cursor:pointer}.label:is(.input>*,.select>*){white-space:nowrap;height:calc(100% - .5rem);font-size:inherit;align-items:center;padding-inline:.75rem;display:flex}.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid currentColor;margin-inline:-.75rem .75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid currentColor;margin-inline:.75rem -.75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.modal-action{justify-content:flex-end;gap:.5rem;margin-top:1.5rem;display:flex}.status{aspect-ratio:1;border-radius:var(--radius-selector);background-color:var(--color-base-content);width:.5rem;height:.5rem;display:inline-block}@supports (color:color-mix(in lab,red,red)){.status{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.status{vertical-align:middle;color:#0000004d;background-position:50%;background-repeat:no-repeat}@supports (color:color-mix(in lab,red,red)){.status{color:color-mix(in oklab,var(--color-black)30%,transparent)}}.status{background-image:radial-gradient(circle at 35% 30%,oklch(1 0 0/calc(var(--depth)*.5)),#0000);box-shadow:0 2px 3px -1px}@supports (color:color-mix(in lab,red,red)){.status{box-shadow:0 2px 3px -1px color-mix(in oklab,currentColor calc(var(--depth)*100%),#0000)}}.badge{border-radius:var(--radius-selector);vertical-align:middle;color:var(--badge-fg);border:var(--border)solid var(--badge-color,var(--color-base-200));background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);background-color:var(--badge-bg);--badge-bg:var(--badge-color,var(--color-base-100));--badge-fg:var(--color-base-content);--size:calc(var(--size-selector,.25rem)*6);width:fit-content;height:var(--size);padding-inline:calc(var(--size)/2 - var(--border));justify-content:center;align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.tabs{--tabs-height:auto;--tabs-direction:row;--tab-height:calc(var(--size-field,.25rem)*10);height:var(--tabs-height);flex-wrap:wrap;flex-direction:var(--tabs-direction);display:flex}.footer{grid-auto-flow:row;place-items:start;gap:2.5rem 1rem;width:100%;font-size:.875rem;line-height:1.25rem;display:grid}.footer>*{place-items:start;gap:.5rem;display:grid}.footer.footer-center{text-align:center;grid-auto-flow:column dense;place-items:center}.footer.footer-center>*{place-items:center}.fab-flower{--position:0rem;display:grid}.fab-flower>:nth-child(-n+2){--position:0rem}.fab-flower>*{--degree:180deg;--flip-degree:calc(180deg - var(--degree));transform:translate(calc(cos(var(--degree))*var(--position)))translateY(calc(sin(var(--degree))*-1*var(--position)));grid-area:1/1}[dir=rtl] :is(.fab-flower>*){transform:translate(calc(cos(var(--flip-degree))*var(--position)))translateY(calc(sin(var(--flip-degree))*-1*var(--position)))}.fab-flower>:nth-child(n+7){display:none}.fab-flower:has(:nth-child(3)){--position:140%}.fab-flower:has(:nth-child(3))>:nth-child(3){--degree:135deg}.fab-flower:has(:nth-child(4)){--position:140%}.fab-flower:has(:nth-child(4))>:nth-child(3){--degree:165deg}.fab-flower:has(:nth-child(4))>:nth-child(4){--degree:105deg}.fab-flower:has(:nth-child(5)){--position:180%}.fab-flower:has(:nth-child(5))>:nth-child(3){--degree:180deg}.fab-flower:has(:nth-child(5))>:nth-child(4){--degree:135deg}.fab-flower:has(:nth-child(5))>:nth-child(5){--degree:90deg}.fab-flower:has(:nth-child(6)){--position:220%}.fab-flower:has(:nth-child(6))>:nth-child(3){--degree:180deg}.fab-flower:has(:nth-child(6))>:nth-child(4){--degree:150deg}.fab-flower:has(:nth-child(6))>:nth-child(5){--degree:120deg}.fab-flower:has(:nth-child(6))>:nth-child(6){--degree:90deg}.link{cursor:pointer;text-decoration-line:underline}.link:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.link:focus{outline-offset:2px;outline:2px solid #0000}}.link:focus-visible{outline-offset:2px;outline:2px solid}.menu-title{color:var(--color-base-content);padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.menu-title{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}.menu-title{font-size:.875rem;font-weight:600}.btn-error{--btn-color:var(--color-error);--btn-fg:var(--color-error-content)}.btn-info{--btn-color:var(--color-info);--btn-fg:var(--color-info-content)}.btn-neutral{--btn-color:var(--color-neutral);--btn-fg:var(--color-neutral-content)}.btn-primary{--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content)}.btn-secondary{--btn-color:var(--color-secondary);--btn-fg:var(--color-secondary-content)}.btn-warning{--btn-color:var(--color-warning);--btn-fg:var(--color-warning-content)}}@layer daisyui.l1.l2{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1;transition:visibility 0s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;background-color:#0006}:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal) .modal-box{opacity:1;translate:0;scale:1}:root:has(:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal)){--page-has-backdrop:1;--page-overflow:hidden;--page-scroll-bg:var(--page-scroll-bg-on);--page-scroll-gutter:stable;--page-scroll-transition:var(--page-scroll-transition-on);animation:forwards set-page-has-scroll;animation-timeline:scroll()}@starting-style{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{opacity:0}}.tooltip>.tooltip-content,.tooltip[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-off)50%}.tooltip:after{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-tail)50%}.btn:disabled:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn:disabled:not(.btn-link,.btn-ghost){box-shadow:none}.btn:disabled{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.btn[disabled]:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn[disabled]:not(.btn-link,.btn-ghost){box-shadow:none}.btn[disabled]{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.list .list-row:has(.list-col-grow:first-child){--list-grid-cols:1fr}.list .list-row:has(.list-col-grow:nth-child(2)){--list-grid-cols:minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(3)){--list-grid-cols:minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(4)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(5)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(6)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row>:not(.list-col-wrap){grid-row-start:1}.steps .step-neutral+.step-neutral:before,.steps .step-neutral:after,.steps .step-neutral>.step-icon{--step-bg:var(--color-neutral);--step-fg:var(--color-neutral-content)}.steps .step-primary+.step-primary:before,.steps .step-primary:after,.steps .step-primary>.step-icon{--step-bg:var(--color-primary);--step-fg:var(--color-primary-content)}.steps .step-secondary+.step-secondary:before,.steps .step-secondary:after,.steps .step-secondary>.step-icon{--step-bg:var(--color-secondary);--step-fg:var(--color-secondary-content)}.steps .step-accent+.step-accent:before,.steps .step-accent:after,.steps .step-accent>.step-icon{--step-bg:var(--color-accent);--step-fg:var(--color-accent-content)}.steps .step-info+.step-info:before,.steps .step-info:after,.steps .step-info>.step-icon{--step-bg:var(--color-info);--step-fg:var(--color-info-content)}.steps .step-success+.step-success:before,.steps .step-success:after,.steps .step-success>.step-icon{--step-bg:var(--color-success);--step-fg:var(--color-success-content)}.steps .step-warning+.step-warning:before,.steps .step-warning:after,.steps .step-warning>.step-icon{--step-bg:var(--color-warning);--step-fg:var(--color-warning-content)}.steps .step-error+.step-error:before,.steps .step-error:after,.steps .step-error>.step-icon{--step-bg:var(--color-error);--step-fg:var(--color-error-content)}.checkbox:disabled,.radio:disabled{cursor:not-allowed;opacity:.2}.tooltip-bottom>.tooltip-content,.tooltip-bottom[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,-.25rem));inset:var(--tt-off)auto auto 50%}.tooltip-bottom:after{transform:translate(-50%)translateY(var(--tt-pos,-.25rem))rotate(180deg);inset:var(--tt-tail)auto auto 50%}.tooltip-left>.tooltip-content,.tooltip-left[data-tip]:before{transform:translate(calc(var(--tt-pos,.25rem) - .25rem))translateY(-50%);inset:50% var(--tt-off)auto auto}.tooltip-left:after{transform:translate(var(--tt-pos,.25rem))translateY(-50%)rotate(-90deg);inset:50% calc(var(--tt-tail) + 1px)auto auto}.tooltip-right>.tooltip-content,.tooltip-right[data-tip]:before{transform:translate(calc(var(--tt-pos,-.25rem) + .25rem))translateY(-50%);inset:50% auto auto var(--tt-off)}.tooltip-right:after{transform:translate(var(--tt-pos,-.25rem))translateY(-50%)rotate(90deg);inset:50% auto auto calc(var(--tt-tail) + 1px)}.tooltip-top>.tooltip-content,.tooltip-top[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-off)50%}.tooltip-top:after{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-tail)50%}.dropdown-end{--anchor-h:span-left}.dropdown-end :where(.dropdown-content){inset-inline-end:0;translate:0}[dir=rtl] :is(.dropdown-end :where(.dropdown-content)){translate:0}.dropdown-end.dropdown-left{--anchor-h:left;--anchor-v:span-top}.dropdown-end.dropdown-left .dropdown-content{top:auto;bottom:0}.dropdown-end.dropdown-right{--anchor-h:right;--anchor-v:span-top}.dropdown-end.dropdown-right .dropdown-content{top:auto;bottom:0}.input-xs{--size:calc(var(--size-field,.25rem)*6);font-size:max(var(--font-size,.6875rem),.6875rem)}.input-xs[type=number]::-webkit-inner-spin-button{margin-block:-.25rem;margin-inline-end:-.75rem}.btn-circle{width:var(--size);height:var(--size);border-radius:3.40282e38px;padding-inline:0}.btn-block{width:100%}.loading-lg{width:calc(var(--size-selector,.25rem)*7)}.loading-xs{width:calc(var(--size-selector,.25rem)*4)}.badge-ghost{border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content);background-image:none}.badge-outline{color:var(--badge-color);--badge-bg:#0000;background-image:none;border-color:currentColor}.loading-spinner{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")}.checkbox-xs{--size:calc(var(--size-selector,.25rem)*4);padding:.125rem}.select-sm{--size:calc(var(--size-field,.25rem)*8);font-size:.75rem}.select-sm option{padding-block:.25rem;padding-inline:.625rem}.select-xs{--size:calc(var(--size-field,.25rem)*6);font-size:.6875rem}.select-xs option{padding-block:.25rem;padding-inline:.5rem}.badge-sm{--size:calc(var(--size-selector,.25rem)*5);font-size:.75rem}.textarea-xs{font-size:max(var(--font-size,.6875rem),.6875rem)}.link-primary{color:var(--color-primary)}@media(hover:hover){.link-primary:hover{color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.link-primary:hover{color:color-mix(in oklab,var(--color-primary)80%,#000)}}}.range-accent{color:var(--color-accent);--range-thumb:var(--color-accent-content)}.range-primary{color:var(--color-primary);--range-thumb:var(--color-primary-content)}.range-secondary{color:var(--color-secondary);--range-thumb:var(--color-secondary-content)}.btn-lg{--fontsize:1.125rem;--btn-p:1.25rem;--size:calc(var(--size-field,.25rem)*12)}.btn-sm{--fontsize:.75rem;--btn-p:.75rem;--size:calc(var(--size-field,.25rem)*8)}.btn-xs{--fontsize:.6875rem;--btn-p:.5rem;--size:calc(var(--size-field,.25rem)*6)}.badge-primary{--badge-color:var(--color-primary);--badge-fg:var(--color-primary-content)}.range-sm{--range-thumb-size:calc(var(--size-selector,.25rem)*5)}.range-xs{--range-thumb-size:calc(var(--size-selector,.25rem)*4)}.toggle-primary:checked,.toggle-primary[aria-checked=true]{--input-color:var(--color-primary)}.toggle-secondary:checked,.toggle-secondary[aria-checked=true]{--input-color:var(--color-secondary)}.toggle-sm[type=checkbox],.toggle-sm:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*5)}.toggle-xs[type=checkbox],.toggle-xs:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*4)}}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1{top:calc(var(--spacing)*1)}.top-2{top:calc(var(--spacing)*2)}.top-4{top:calc(var(--spacing)*4)}.top-px{top:1px}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-2{right:calc(var(--spacing)*2)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-6{left:calc(var(--spacing)*6)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.z-600{z-index:600}.z-800{z-index:800}.z-900{z-index:900}.z-999{z-index:999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.join-item:where(:not(:first-child,:disabled,[disabled],.btn-disabled)){margin-block-start:0;margin-inline-start:calc(var(--border,1px)*-1)}.join-item:where(:is(:disabled,[disabled],.btn-disabled)){border-width:var(--border,1px)0 var(--border,1px)var(--border,1px)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-16{margin-top:calc(var(--spacing)*16)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.join{--join-ss:0;--join-se:0;--join-es:0;--join-ee:0;align-items:stretch;display:inline-flex}.join :where(.join-item){border-start-start-radius:var(--join-ss,0);border-start-end-radius:var(--join-se,0);border-end-end-radius:var(--join-ee,0);border-end-start-radius:var(--join-es,0)}.join :where(.join-item) *{--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}.join>.join-item:where(:first-child),.join :first-child:not(:last-child) :where(.join-item){--join-ss:var(--radius-field);--join-se:0;--join-es:var(--radius-field);--join-ee:0}.join>.join-item:where(:last-child),.join :last-child:not(:first-child) :where(.join-item){--join-ss:0;--join-se:var(--radius-field);--join-es:0;--join-ee:var(--radius-field)}.join>.join-item:where(:only-child),.join :only-child :where(.join-item){--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}:root .prose{--tw-prose-body:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-body:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose{--tw-prose-headings:var(--color-base-content);--tw-prose-lead:var(--color-base-content);--tw-prose-links:var(--color-base-content);--tw-prose-bold:var(--color-base-content);--tw-prose-counters:var(--color-base-content);--tw-prose-bullets:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-bullets:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-hr:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-hr:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-quotes:var(--color-base-content);--tw-prose-quote-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-quote-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-captions:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-captions:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-code:var(--color-base-content);--tw-prose-pre-code:var(--color-neutral-content);--tw-prose-pre-bg:var(--color-neutral);--tw-prose-th-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-th-borders:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-td-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-td-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-kbd:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-kbd:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose :where(code):not(pre>code){background-color:var(--color-base-200);border-radius:var(--radius-selector);border:var(--border)solid var(--color-base-300);font-weight:inherit;padding-block:.2em;padding-inline:.5em}:root .prose :where(code):not(pre>code):before,:root .prose :where(code):not(pre>code):after{display:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-3\\/4{aspect-ratio:3/4}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-122{height:calc(var(--spacing)*122)}.h-\\[160px\\]{height:160px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[calc\\(100vh-8\\.6rem\\)\\]{max-height:calc(100vh - 8.6rem)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-11\\/12{width:91.6667%}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-24{width:calc(var(--spacing)*24)}.w-32{width:calc(var(--spacing)*32)}.w-56{width:calc(var(--spacing)*56)}.w-72{width:calc(var(--spacing)*72)}.w-80{width:calc(var(--spacing)*80)}.w-96{width:calc(var(--spacing)*96)}.w-\\[90px\\]{width:90px}.w-\\[140px\\]{width:140px}.w-\\[150px\\]{width:150px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:300px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.max-w-5xl{max-width:var(--container-5xl)}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[200px\\]{max-width:200px}.max-w-none{max-width:none}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.origin-bottom{transform-origin:bottom}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-4{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.cursor-se-resize{cursor:se-resize}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-base-300>:not(:last-child)){border-color:var(--color-base-300)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.rounded{border-radius:.25rem}.rounded-box{border-radius:var(--radius-box)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-base-200{border-color:var(--color-base-200)}.border-base-300,.border-base-300\\/50{border-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.border-base-300\\/50{border-color:color-mix(in oklab,var(--color-base-300)50%,transparent)}}.border-base-content\\/10{border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.border-base-content\\/10{border-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.border-primary\\/40{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\\/40{border-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.border-red-500{border-color:var(--color-red-500)}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-yellow-400{border-color:var(--color-yellow-400)}.bg-accent{background-color:var(--color-accent)}.bg-base-100,.bg-base-100\\/50{background-color:var(--color-base-100)}@supports (color:color-mix(in lab,red,red)){.bg-base-100\\/50{background-color:color-mix(in oklab,var(--color-base-100)50%,transparent)}}.bg-base-200,.bg-base-200\\/50{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/50{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.bg-base-200\\/90{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/90{background-color:color-mix(in oklab,var(--color-base-200)90%,transparent)}}.bg-base-200\\/95{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/95{background-color:color-mix(in oklab,var(--color-base-200)95%,transparent)}}.bg-base-300,.bg-base-300\\/30{background-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.bg-base-300\\/30{background-color:color-mix(in oklab,var(--color-base-300)30%,transparent)}}.bg-base-content,.bg-base-content\\/20{background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.bg-base-content\\/20{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.bg-primary,.bg-primary\\/5{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/5{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.bg-primary\\/20{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/20{background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-secondary{background-color:var(--color-secondary)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-400\\/40{background-color:#fac80066}@supports (color:color-mix(in lab,red,red)){.bg-yellow-400\\/40{background-color:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.fill-red-500\\/20{fill:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.fill-red-500\\/20{fill:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.fill-yellow-400\\/40{fill:#fac80066}@supports (color:color-mix(in lab,red,red)){.fill-yellow-400\\/40{fill:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.stroke-red-500{stroke:var(--color-red-500)}.stroke-yellow-400{stroke:var(--color-yellow-400)}.object-contain{object-fit:contain}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-0\\.5{padding-inline:calc(var(--spacing)*.5)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.ps-2{padding-inline-start:calc(var(--spacing)*2)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-8{padding-top:calc(var(--spacing)*8)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-12{padding-right:calc(var(--spacing)*12)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-nowrap{text-wrap:nowrap}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-base-content,.text-base-content\\/50{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.text-base-content\\/50{color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.text-error{color:var(--color-error)}.text-primary{color:var(--color-primary)}.text-success{color:var(--color-success)}.text-warning{color:var(--color-warning)}.text-yellow-900{color:var(--color-yellow-900)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.prose :where(.btn-link):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:none}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-primary{--tw-ring-color:var(--color-primary)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@layer daisyui.l1{.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)){--btn-shadow:"";--btn-bg:#0000;--btn-border:#0000;--btn-noise:none}.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)):not(:disabled,[disabled],.btn-disabled){--btn-fg:var(--btn-color,currentColor);outline-color:currentColor}@media(hover:none){.btn-ghost:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color,currentColor);--btn-border:#0000;--btn-noise:none;outline-color:currentColor}}.btn-outline:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn),:disabled,[disabled],.btn-disabled){--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}@media(hover:none){.btn-outline:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}}}.outline-black\\/5{outline-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.outline-black\\/5{outline-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.drop-shadow-md{--tw-drop-shadow-size:drop-shadow(0 3px 3px var(--tw-drop-shadow-color,#0000001f));--tw-drop-shadow:drop-shadow(var(--drop-shadow-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;user-select:none}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}.group-focus-within\\:pointer-events-auto:is(:where(.group):focus-within *){pointer-events:auto}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}@media(hover:hover){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.last\\:border-none:last-child{--tw-border-style:none;border-style:none}@media(hover:hover){.hover\\:bg-base-200:hover,.hover\\:bg-base-200\\/30:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/30:hover{background-color:color-mix(in oklab,var(--color-base-200)30%,transparent)}}.hover\\:bg-base-200\\/50:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/50:hover{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.hover\\:bg-base-300:hover{background-color:var(--color-base-300)}.hover\\:bg-red-500\\/40:hover{background-color:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/40:hover{background-color:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:bg-yellow-400\\/60:hover{background-color:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-yellow-400\\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:fill-red-500\\/40:hover{fill:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-red-500\\/40:hover{fill:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:fill-yellow-400\\/60:hover{fill:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-yellow-400\\/60:hover{fill:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:bg-base-300:focus{background-color:var(--color-base-300)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-base-200:active{background-color:var(--color-base-200)}@media(min-width:48rem){.md\\:grid-cols-\\[200px_1fr\\]{grid-template-columns:200px 1fr}}@media(min-width:64rem){.lg\\:px-32{padding-inline:calc(var(--spacing)*32)}.lg\\:pt-8{padding-top:calc(var(--spacing)*8)}.lg\\:pb-16{padding-bottom:calc(var(--spacing)*16)}}}.osd-background,.osd-background .openseadragon-container{background-color:#0000}@keyframes rating{0%,40%{filter:brightness(1.05)contrast(1.05);scale:1.1}}@keyframes dropdown{0%{opacity:0}}@keyframes radio{0%{padding:5px}50%{padding:3px}}@keyframes toast{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes rotator{89.9999%,to{--first-item-position:0 0%}90%,99.9999%{--first-item-position:0 calc(var(--items)*100%)}to{translate:0 -100%}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}@keyframes menu{0%{opacity:0}}@keyframes progress{50%{background-position-x:-115%}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`;var vc=(function(){function i(t){this.__jsonld=t,this.context=this.getProperty("context"),this.id=this.getProperty("id")}return i.prototype.getProperty=function(t){var e=null;return this.__jsonld&&(e=this.__jsonld[t],e||(e=this.__jsonld["@"+t])),e},i})(),Eo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pa(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function d0(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var t=i.default;if(typeof t=="function"){var e=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(i).forEach(function(r){var n=Object.getOwnPropertyDescriptor(i,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return i[r]}})}),e}var ot={},mc;function f0(){if(mc)return ot;mc=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.ViewingHint=ot.ViewingDirection=ot.ServiceType=ot.ServiceProfile=ot.RenderingFormat=ot.MediaType=ot.IIIFResourceType=ot.ExternalResourceType=ot.Behavior=ot.AnnotationMotivation=void 0;var i;(function(u){u.BOOKMARKING="oa:bookmarking",u.CLASSIFYING="oa:classifying",u.COMMENTING="oa:commenting",u.DESCRIBING="oa:describing",u.EDITING="oa:editing",u.HIGHLIGHTING="oa:highlighting",u.IDENTIFYING="oa:identifying",u.LINKING="oa:linking",u.MODERATING="oa:moderating",u.PAINTING="sc:painting",u.QUESTIONING="oa:questioning",u.REPLYING="oa:replying",u.TAGGING="oa:tagging",u.TRANSCRIBING="oad:transcribing"})(i||(ot.AnnotationMotivation=i={}));var t;(function(u){u.AUTO_ADVANCE="auto-advance",u.CONTINUOUS="continuous",u.FACING_PAGES="facing-pages",u.HIDDEN="hidden",u.INDIVIDUALS="individuals",u.MULTI_PART="multi-part",u.NO_NAV="no-nav",u.NON_PAGED="non-paged",u.PAGED="paged",u.REPEAT="repeat",u.SEQUENCE="sequence",u.THUMBNAIL_NAV="thumbnail-nav",u.TOGETHER="together",u.UNORDERED="unordered"})(t||(ot.Behavior=t={}));var e;(function(u){u.CANVAS="canvas",u.CHOICE="choice",u.OA_CHOICE="oa:choice",u.CONTENT_AS_TEXT="contentastext",u.DATASET="dataset",u.DOCUMENT="document",u.IMAGE="image",u.MODEL="model",u.MOVING_IMAGE="movingimage",u.PDF="pdf",u.PHYSICAL_OBJECT="physicalobject",u.SOUND="sound",u.TEXT="text",u.TEXTUALBODY="textualbody",u.VIDEO="video"})(e||(ot.ExternalResourceType=e={}));var r;(function(u){u.ANNOTATION="annotation",u.ANNOTATION_COLLECTION="annotationcollection",u.ANNOTATION_PAGE="annotationpage",u.CANVAS="canvas",u.COLLECTION="collection",u.MANIFEST="manifest",u.RANGE="range",u.SEQUENCE="sequence"})(r||(ot.IIIFResourceType=r={}));var n;(function(u){u.APNG="image/apng",u.AUDIO_MP4="audio/mp4",u.AUDIO_OGG="audio/ogg",u.AVIF="audio/avif",u.CORTO="application/corto",u.DICOM="application/dicom",u.DRACO="application/draco",u.EPUB="application/epub+zip",u.GIF="image/gif",u.GIRDER="image/vnd.kitware.girder",u.GLB="model/gltf-binary",u.GLTF="model/gltf+json",u.IIIF_PRESENTATION_2='application/ld+json;profile="http://iiif.io/api/presentation/2/context.json"',u.IIIF_PRESENTATION_3='application/ld+json;profile="http://iiif.io/api/presentation/3/context.json"',u.JPG="image/jpeg",u.M3U8="application/vnd.apple.mpegurl",u.MP3="audio/mp3",u.MPEG="audio/mpeg",u.MPEG_DASH="application/dash+xml",u.OBJ="model/obj",u.OPF="application/oebps-package+xml",u.PDF="application/pdf",u.PLY="application/ply",u.PNG="image/png",u.SVG="image/svg+xml",u.THREEJS="application/vnd.threejs+json",u.USDZ="model/vnd.usd+zip",u.VIDEO_MP4="video/mp4",u.VIDEO_OGG="video/ogg",u.WAV="audio/wav",u.WEBM="video/webm",u.WEBP="image/webp"})(n||(ot.MediaType=n={}));var o;(function(u){u.DOC="application/msword",u.DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",u.ODT="application/vnd.oasis.opendocument.text",u.PDF="application/pdf"})(o||(ot.RenderingFormat=o={}));var a;(function(u){u.IMAGE_0_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/compliance.html#level0",u.IMAGE_0_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/compliance.html#level1",u.IMAGE_0_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/compliance.html#level2",u.IMAGE_0_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/conformance.html#level0",u.IMAGE_0_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/conformance.html#level1",u.IMAGE_0_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/conformance.html#level2",u.IMAGE_1_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0",u.IMAGE_1_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1",u.IMAGE_1_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",u.IMAGE_1_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0",u.IMAGE_1_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1",u.IMAGE_1_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2",u.IMAGE_1_LEVEL_0="http://iiif.io/api/image/1/level0.json",u.IMAGE_1_PROFILE_LEVEL_0="http://iiif.io/api/image/1/profiles/level0.json",u.IMAGE_1_LEVEL_1="http://iiif.io/api/image/1/level1.json",u.IMAGE_1_PROFILE_LEVEL_1="http://iiif.io/api/image/1/profiles/level1.json",u.IMAGE_1_LEVEL_2="http://iiif.io/api/image/1/level2.json",u.IMAGE_1_PROFILE_LEVEL_2="http://iiif.io/api/image/1/profiles/level2.json",u.IMAGE_2_LEVEL_0="http://iiif.io/api/image/2/level0.json",u.IMAGE_2_PROFILE_LEVEL_0="http://iiif.io/api/image/2/profiles/level0.json",u.IMAGE_2_LEVEL_1="http://iiif.io/api/image/2/level1.json",u.IMAGE_2_PROFILE_LEVEL_1="http://iiif.io/api/image/2/profiles/level1.json",u.IMAGE_2_LEVEL_2="http://iiif.io/api/image/2/level2.json",u.IMAGE_2_PROFILE_LEVEL_2="http://iiif.io/api/image/2/profiles/level2.json",u.AUTH_0_CLICK_THROUGH="http://iiif.io/api/auth/0/login/clickthrough",u.AUTH_0_LOGIN="http://iiif.io/api/auth/0/login",u.AUTH_0_LOGOUT="http://iiif.io/api/auth/0/logout",u.AUTH_0_RESTRICTED="http://iiif.io/api/auth/0/login/restricted",u.AUTH_0_TOKEN="http://iiif.io/api/auth/0/token",u.AUTH_1_CLICK_THROUGH="http://iiif.io/api/auth/1/clickthrough",u.AUTH_1_EXTERNAL="http://iiif.io/api/auth/1/external",u.AUTH_1_KIOSK="http://iiif.io/api/auth/1/kiosk",u.AUTH_1_LOGIN="http://iiif.io/api/auth/1/login",u.AUTH_1_LOGOUT="http://iiif.io/api/auth/1/logout",u.AUTH_1_PROBE="http://iiif.io/api/auth/1/probe",u.AUTH_1_TOKEN="http://iiif.io/api/auth/1/token",u.SEARCH_0="http://iiif.io/api/search/0/search",u.SEARCH_0_AUTO_COMPLETE="http://iiif.io/api/search/0/autocomplete",u.SEARCH_1="http://iiif.io/api/search/1/search",u.SEARCH_1_AUTO_COMPLETE="http://iiif.io/api/search/1/autocomplete",u.SEARCH_2="http://iiif.io/api/search/2/search",u.SEARCH_2_AUTO_COMPLETE="http://iiif.io/api/search/2/autocomplete",u.TRACKING_EXTENSIONS="http://universalviewer.io/tracking-extensions-profile",u.UI_EXTENSIONS="http://universalviewer.io/ui-extensions-profile",u.PRINT_EXTENSIONS="http://universalviewer.io/print-extensions-profile",u.SHARE_EXTENSIONS="http://universalviewer.io/share-extensions-profile",u.DOWNLOAD_EXTENSIONS="http://universalviewer.io/download-extensions-profile",u.OTHER_MANIFESTATIONS="http://iiif.io/api/otherManifestations.json",u.IXIF="http://wellcomelibrary.org/ld/ixif/0/alpha.json"})(a||(ot.ServiceProfile=a={}));var s;(function(u){u.IMAGE_SERVICE_2="ImageService2",u.IMAGE_SERVICE_3="ImageService3",u.SEARCH_SERVICE_2="SearchService2",u.AUTO_COMPLETE_SERVICE_2="AutoCompleteService2"})(s||(ot.ServiceType=s={}));var l;(function(u){u.BOTTOM_TO_TOP="bottom-to-top",u.LEFT_TO_RIGHT="left-to-right",u.RIGHT_TO_LEFT="right-to-left",u.TOP_TO_BOTTOM="top-to-bottom"})(l||(ot.ViewingDirection=l={}));var c;return(function(u){u.CONTINUOUS="continuous",u.INDIVIDUALS="individuals",u.NON_PAGED="non-paged",u.PAGED="paged",u.TOP="top"})(c||(ot.ViewingHint=c={})),ot}var he=f0(),p0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Or=(function(i){p0(t,i);function t(e,r){var n=i.call(this,e)||this;return n.options=r,n}return t.prototype.getIIIFResourceType=function(){return Fe.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){var e=this.getProperty("label");return e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getDefaultLabel=function(){return this.getLabel().getValue(this.options.locale)},t.prototype.getMetadata=function(){var e=this.getProperty("metadata"),r=[];if(!e)return r;for(var n=0;n<e.length;n++){var o=e[n],a=new Po(this.options.locale);a.parse(o),r.push(a)}return r},t.prototype.getRendering=function(e){for(var r=this.getRenderings(),n=0;n<r.length;n++){var o=r[n];if(o.getFormat()===e)return o}return null},t.prototype.getRenderings=function(){var e;this.__jsonld?e=this.__jsonld.rendering:e=this.rendering;var r=[];if(!e)return r;Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var o=e[n];r.push(new Y0(o,this.options))}return r},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");return r&&(e=new Po(this.options.locale),e.parse(r)),e},t.prototype.getService=function(e){return Fe.getService(this,e)},t.prototype.getServices=function(){return Fe.getServices(this)},t.prototype.getThumbnail=function(){var e=this.getProperty("thumbnail");return Array.isArray(e)&&(e=e[0]),e?new tg(e,this.options):null},t.prototype.isAnnotation=function(){return this.getIIIFResourceType()===he.IIIFResourceType.ANNOTATION},t.prototype.isCanvas=function(){return this.getIIIFResourceType()===he.IIIFResourceType.CANVAS},t.prototype.isCollection=function(){return this.getIIIFResourceType()===he.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===he.IIIFResourceType.MANIFEST},t.prototype.isRange=function(){return this.getIIIFResourceType()===he.IIIFResourceType.RANGE},t.prototype.isSequence=function(){return this.getIIIFResourceType()===he.IIIFResourceType.SEQUENCE},t})(vc),g0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ra=(function(i){g0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?e.toLowerCase():null},t.prototype.getResources=function(){var e=[];if(!this.__jsonld.resources)return e;for(var r=0;r<this.__jsonld.resources.length;r++){var n=this.__jsonld.resources[r],o=new ko(n,this.options);e.push(o)}return e},t.prototype.getType=function(){var e=this.getProperty("type");return e?Fe.normaliseType(e):null},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getMaxWidth=function(){return this.getProperty("maxWidth")},t.prototype.getMaxHeight=function(){var e=this.getProperty("maxHeight");return e?null:this.getMaxWidth()},t})(Or),v0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),_c=(function(i){v0(t,i);function t(e,r){var n=i.call(this,e,r)||this;n.index=-1,n.isLoaded=!1;var o={defaultLabel:"-",locale:"en-GB",resource:n,pessimisticAccessControl:!1};return n.options=Object.assign(o,r),n}return t.prototype.getAttribution=function(){var e=this.getProperty("attribution");return e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getDescription=function(){var e=this.getProperty("description");return e===void 0&&(e=this.getProperty("summary")),e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getSummary=function(){var e=this.getProperty("summary");return e===void 0&&(e=this.getProperty("description")),e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getHomepage=function(){var e=this.getProperty("homepage");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getIIIFResourceType=function(){return Fe.normaliseType(this.getProperty("type"))},t.prototype.getLogo=function(){var e=this.getProperty("logo");if(!e){var r=this.getProperty("provider");if(!r)return null;var n=r.find(function(o){return o.logo!==void 0});n&&n.logo!==void 0?e=n.logo:e=null}return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||(e==null?void 0:e.id)):null},t.prototype.getLicense=function(){return Fe.getLocalisedValue(this.getProperty("license"),this.options.locale)},t.prototype.getRights=function(){var e=this.getProperty("rights");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getNavDate=function(){return new Date(this.getProperty("navDate"))},t.prototype.getRelated=function(){return this.getProperty("related")},t.prototype.getSeeAlso=function(){return this.getProperty("seeAlso")},t.prototype.getTrackingLabel=function(){var e=this.getService(he.ServiceProfile.TRACKING_EXTENSIONS);return e?e.getProperty("trackingLabel"):""},t.prototype.getDefaultTree=function(){return this.defaultTree=new Ja("root"),this.defaultTree.data=this,this.defaultTree},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");if(r)e=new Po(this.options.locale),e.parse(r);else{var n=this.getAttribution();n&&n.length&&(e=new Po(this.options.locale),e.value=n)}return e},t.prototype.isCollection=function(){return this.getIIIFResourceType()===he.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===he.IIIFResourceType.MANIFEST},t.prototype.load=function(){var e=this;return new Promise(function(r){if(e.isLoaded)r(e);else{var n=e.options;n.navDate=e.getNavDate();var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Fe.loadManifest(o).then(function(a){e.parentLabel=e.getLabel().getValue(n.locale);var s=Uc.parse(a,n);e=Object.assign(e,s),e.index=n.index,r(e)})}})},t})(Or),m0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),ko=(function(i){m0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getBody=function(){var e=[],r=this.getProperty("body");if(r)if(Array.isArray(r))for(var n=0;n<r.length;n++){var o=r[n];if(o.items)for(var a=0;a<o.items.length;a++){var s=o.items[a];e.push(new So(s,this.options))}else e.push(new So(o,this.options))}else if(r.items)for(var n=0;n<r.items.length;n++){var o=r.items[n];e.push(new So(o,this.options))}else e.push(new So(r,this.options));return e},t.prototype.getMotivation=function(){var e=this.getProperty("motivation");return e||null},t.prototype.getOn=function(){return this.getProperty("on")},t.prototype.getTarget=function(){return this.getProperty("target")},t.prototype.getResource=function(){return new Ra(this.getProperty("resource"),this.options)},t})(Or),_0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),So=(function(i){_0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?Fe.getMediaType(e):null},t.prototype.getType=function(){var e=this.getProperty("type");return e?Fe.normaliseType(this.getProperty("type")):null},t.prototype.getValue=function(){return this.getProperty("value")},t.prototype.getLanguage=function(){return this.getProperty("language")},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t})(Or),w0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),b0=(function(i){w0(t,i);function t(e,r,n){var o=i.call(this,r)||this;return o.label=e,o.options=n,o}return t.prototype.getIIIFResourceType=function(){return Fe.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){return this.label},t.prototype.getResources=function(){var e=this,r=this.getProperty("resources");return r.map(function(n){return new ko(n,e.options)})},t.prototype.load=function(){var e=this;return new Promise(function(r,n){if(e.isLoaded)r(e);else{var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Fe.loadManifest(o).then(function(a){e.__jsonld=a,e.context=e.getProperty("context"),e.id=e.getProperty("id"),e.isLoaded=!0,r(e)}).catch(n)}})},t})(vc),y0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),wc=(function(i){y0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getItems=function(){return this.getProperty("items")},t.prototype.getAnnotations=function(){var e=[],r=this.getProperty("items");if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new ko(r[n],this.options);e.push(o)}return e},t})(Or),Aa,bc;function x0(){if(bc)return Aa;bc=1;function i(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}return Aa=i,Aa}var Ia,yc;function T0(){if(yc)return Ia;yc=1;var i=typeof Eo=="object"&&Eo&&Eo.Object===Object&&Eo;return Ia=i,Ia}var Oa,xc;function E0(){if(xc)return Oa;xc=1;var i=T0(),t=typeof self=="object"&&self&&self.Object===Object&&self,e=i||t||Function("return this")();return Oa=e,Oa}var Da,Tc;function Ma(){if(Tc)return Da;Tc=1;var i=E0(),t=i.Symbol;return Da=t,Da}var La,Ec;function k0(){if(Ec)return La;Ec=1;var i=Ma(),t=Object.prototype,e=t.hasOwnProperty,r=t.toString,n=i?i.toStringTag:void 0;function o(a){var s=e.call(a,n),l=a[n];try{a[n]=void 0;var c=!0}catch{}var u=r.call(a);return c&&(s?a[n]=l:delete a[n]),u}return La=o,La}var za,kc;function S0(){if(kc)return za;kc=1;var i=Object.prototype,t=i.toString;function e(r){return t.call(r)}return za=e,za}var Ha,Sc;function C0(){if(Sc)return Ha;Sc=1;var i=Ma(),t=k0(),e=S0(),r="[object Null]",n="[object Undefined]",o=i?i.toStringTag:void 0;function a(s){return s==null?s===void 0?n:r:o&&o in Object(s)?t(s):e(s)}return Ha=a,Ha}var Na,Cc;function Pc(){if(Cc)return Na;Cc=1;function i(t){return t!=null&&typeof t=="object"}return Na=i,Na}var Fa,Rc;function P0(){if(Rc)return Fa;Rc=1;var i=C0(),t=Pc(),e="[object Arguments]";function r(n){return t(n)&&i(n)==e}return Fa=r,Fa}var Ba,Ac;function R0(){if(Ac)return Ba;Ac=1;var i=P0(),t=Pc(),e=Object.prototype,r=e.hasOwnProperty,n=e.propertyIsEnumerable,o=i((function(){return arguments})())?i:function(a){return t(a)&&r.call(a,"callee")&&!n.call(a,"callee")};return Ba=o,Ba}var Va,Ic;function A0(){if(Ic)return Va;Ic=1;var i=Array.isArray;return Va=i,Va}var Ua,Oc;function I0(){if(Oc)return Ua;Oc=1;var i=Ma(),t=R0(),e=A0(),r=i?i.isConcatSpreadable:void 0;function n(o){return e(o)||t(o)||!!(r&&o&&o[r])}return Ua=n,Ua}var ja,Dc;function Mc(){if(Dc)return ja;Dc=1;var i=x0(),t=I0();function e(r,n,o,a,s){var l=-1,c=r.length;for(o||(o=t),s||(s=[]);++l<c;){var u=r[l];n>0&&o(u)?n>1?e(u,n-1,o,a,s):i(s,u):a||(s[s.length]=u)}return s}return ja=e,ja}var Ga,Lc;function O0(){if(Lc)return Ga;Lc=1;var i=Mc();function t(e){var r=e==null?0:e.length;return r?i(e,1):[]}return Ga=t,Ga}var D0=O0();const Za=Pa(D0);var Wa,zc;function M0(){if(zc)return Wa;zc=1;var i=Mc(),t=1/0;function e(r){var n=r==null?0:r.length;return n?i(r,t):[]}return Wa=e,Wa}var L0=M0();const Hc=Pa(L0);var z0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Co=(function(i){z0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getCanonicalImageUri=function(e){var r=null,n="full",o=0,a="default",s=e,l=s+",";if(this.externalResource&&this.externalResource.data&&this.externalResource.data["@id"])r=this.externalResource.data["@id"],s||(s=this.externalResource.data.width),this.externalResource.data["@context"]&&(this.externalResource.data["@context"].indexOf("/1.0/context.json")>-1||this.externalResource.data["@context"].indexOf("/1.1/context.json")>-1||this.externalResource.data["@context"].indexOf("/1/context.json")>-1)&&(a="native");else{var c=void 0;if(c=this.getImages(),c&&c.length){var u=c[0],h=u.getResource(),d=h.getServices();s||(s=h.getWidth());var p=d?d.find(function(k){return Fe.isImageProfile(k.getProfile())||Fe.isImageServiceType(k.getIIIFResourceType())}):null;if(p)r=p.id,a=Fe.getImageQuality(p.getProfile());else if(s===h.getWidth())return h.id}if(c=this.getContent(),c&&c.length){var u=c[0],_=u.getBody(),f=_[0],d=f.getServices();s||(s=f.getWidth());var p=d?d.find(function(R){return Fe.isImageServiceType(R.getIIIFResourceType())}):null;if(p)r=p.id,a=Fe.getImageQuality(p.getProfile());else if(s===f.getWidth())return f.id}if(!r){var g=this.getProperty("thumbnail");if(g){if(typeof g=="string")return g;if(g["@id"])return g["@id"];if(g.length)return g[0].id}}}r&&r.endsWith("/")&&(r=r.substr(0,r.length-1));var y=[r,n,l,o,a+".jpg"].join("/");return y},t.prototype.getMaxDimensions=function(){var e=null,r;return this.externalResource&&this.externalResource.data&&this.externalResource.data.profile&&(r=this.externalResource.data.profile,Array.isArray(r)&&(r=r.filter(function(n){var o;return(o=n.maxWidth)!==null&&o!==void 0?o:n.maxwidth})[0],r&&(e=new J0(r.maxWidth,r.maxHeight?r.maxHeight:r.maxWidth)))),e},t.prototype.getContent=function(){var e=[],r=this.__jsonld.items||this.__jsonld.content;if(!r)return e;var n=null;if(r.length&&(n=new wc(r[0],this.options)),!n)return e;for(var o=n.getAnnotations(),a=0;a<o.length;a++){var s=o[a];e.push(s)}return e},t.prototype.getAnnotations=function(){var e=[],r=this.__jsonld.annotations;if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new wc(r[n],this.options);e.push(o)}return e},t.prototype.getDuration=function(){return this.getProperty("duration")},t.prototype.getImages=function(){var e=[];if(!this.__jsonld.images)return e;for(var r=0;r<this.__jsonld.images.length;r++){var n=this.__jsonld.images[r],o=new ko(n,this.options);e.push(o)}return e},t.prototype.getIndex=function(){return this.getProperty("index")},t.prototype.getOtherContent=function(){var e=this,r=Array.isArray(this.getProperty("otherContent"))?this.getProperty("otherContent"):[this.getProperty("otherContent")],n=function(a,s){return typeof a!="string"?!1:a.toLowerCase()===a.toLowerCase()},o=r.filter(function(a){return a&&n(a["@type"])}).map(function(a,s){return new b0(a.label||"Annotation list ".concat(s),a,e.options)}).map(function(a){return a.load()});return Promise.all(o)},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},Object.defineProperty(t.prototype,"imageResources",{get:function(){var e=this,r=Hc([this.getImages().map(function(n){return n.getResource()}),this.getContent().map(function(n){return n.getBody()})]);return Za(r.map(function(n){switch(n.getProperty("type").toLowerCase()){case he.ExternalResourceType.CHOICE:case he.ExternalResourceType.OA_CHOICE:return new t({images:Za([n.getProperty("default"),n.getProperty("item")]).map(function(o){return{resource:o}})},e.options).getImages().map(function(o){return o.getResource()});default:return n}}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resourceAnnotations",{get:function(){return Hc([this.getImages(),this.getContent()])},enumerable:!1,configurable:!0}),t.prototype.resourceAnnotation=function(e){return this.resourceAnnotations.find(function(r){return r.getResource().id===e||Za(new Array(r.getBody())).some(function(n){return n.id===e})})},t.prototype.onFragment=function(e){var r=this.resourceAnnotation(e);if(r){var n=r.getProperty("on"),o=r.getProperty("target");if(!(!n||!o)){var a=(n||o).match(/xywh=(.*)$/);if(a)return a[1].split(",").map(function(s){return parseInt(s,10)})}}},Object.defineProperty(t.prototype,"iiifImageResources",{get:function(){return this.imageResources.filter(function(e){return e&&e.getServices()[0]&&e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageServiceIds",{get:function(){return this.iiifImageResources.map(function(e){return e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return this.getWidth()/this.getHeight()},enumerable:!1,configurable:!0}),t})(Ra),H0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),N0=(function(i){H0(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._collections=null,n._manifests=null,e.__collection=n,n}return t.prototype.getCollections=function(){return this._collections?this._collections:this._collections=this.items.filter(function(e){return e.isCollection()})},t.prototype.getManifests=function(){return this._manifests?this._manifests:this._manifests=this.items.filter(function(e){return e.isManifest()})},t.prototype.getCollectionByIndex=function(e){for(var r=this.getCollections(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Collection index not found")},t.prototype.getManifestByIndex=function(e){for(var r=this.getManifests(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Manifest index not found")},t.prototype.getTotalCollections=function(){return this.getCollections().length},t.prototype.getTotalManifests=function(){return this.getManifests().length},t.prototype.getTotalItems=function(){return this.items.length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):he.ViewingDirection.LEFT_TO_RIGHT},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){return i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Fe.normaliseType(xr.COLLECTION),this._parseManifests(this),this._parseCollections(this),Fe.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._parseManifests=function(e){if(e.getManifests()&&e.getManifests().length)for(var r=0;r<e.getManifests().length;r++){var n=e.getManifests()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"manifest "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Fe.normaliseType(xr.MANIFEST),e.defaultTree.addNode(o)}},t.prototype._parseCollections=function(e){if(e.getCollections()&&e.getCollections().length)for(var r=0;r<e.getCollections().length;r++){var n=e.getCollections()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"collection "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Fe.normaliseType(xr.COLLECTION),e.defaultTree.addNode(o)}},t})(_c),qa=(function(){function i(t,e){this.start=t,this.end=e}return i.prototype.getLength=function(){return this.end-this.start},i})(),Po=(function(){function i(t){this.defaultLocale=t}return i.prototype.parse=function(t){this.resource=t,this.label=ir.parse(this.resource.label,this.defaultLocale),this.value=ir.parse(this.resource.value,this.defaultLocale)},i.prototype.getLabel=function(t){return this.label===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.label.getValue(t||this.defaultLocale))},i.prototype.setLabel=function(t){this.label===null&&(this.label=new ir([])),this.label.setValue(t,this.defaultLocale)},i.prototype.getValue=function(t,e){return e===void 0&&(e="<br/>"),this.value===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValue(t||this.defaultLocale,e))},i.prototype.getValues=function(t){return this.value===null?[]:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValues(t||this.defaultLocale))},i.prototype.setValue=function(t){this.value===null&&(this.value=new ir([])),this.value.setValue(t,this.defaultLocale)},i})(),F0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();(function(i){F0(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.getValue=function(e,r){return e.getValue(r,"<br/>")},t.getValues=function(e,r){return e.getValues(r)},t})(Array);var be={},Nc;function B0(){return Nc||(Nc=1,Object.defineProperty(be,"__esModule",{value:!0}),be.CONTINUE=100,be.SWITCHING_PROTOCOLS=101,be.PROCESSING=102,be.OK=200,be.CREATED=201,be.ACCEPTED=202,be.NON_AUTHORITATIVE_INFORMATION=203,be.NO_CONTENT=204,be.RESET_CONTENT=205,be.PARTIAL_CONTENT=206,be.MULTI_STATUS=207,be.MULTIPLE_CHOICES=300,be.MOVED_PERMANENTLY=301,be.MOVED_TEMPORARILY=302,be.SEE_OTHER=303,be.NOT_MODIFIED=304,be.USE_PROXY=305,be.TEMPORARY_REDIRECT=307,be.BAD_REQUEST=400,be.UNAUTHORIZED=401,be.PAYMENT_REQUIRED=402,be.FORBIDDEN=403,be.NOT_FOUND=404,be.METHOD_NOT_ALLOWED=405,be.NOT_ACCEPTABLE=406,be.PROXY_AUTHENTICATION_REQUIRED=407,be.REQUEST_TIME_OUT=408,be.CONFLICT=409,be.GONE=410,be.LENGTH_REQUIRED=411,be.PRECONDITION_FAILED=412,be.REQUEST_ENTITY_TOO_LARGE=413,be.REQUEST_URI_TOO_LARGE=414,be.UNSUPPORTED_MEDIA_TYPE=415,be.REQUESTED_RANGE_NOT_SATISFIABLE=416,be.EXPECTATION_FAILED=417,be.IM_A_TEAPOT=418,be.UNPROCESSABLE_ENTITY=422,be.LOCKED=423,be.FAILED_DEPENDENCY=424,be.UNORDERED_COLLECTION=425,be.UPGRADE_REQUIRED=426,be.PRECONDITION_REQUIRED=428,be.TOO_MANY_REQUESTS=429,be.REQUEST_HEADER_FIELDS_TOO_LARGE=431,be.INTERNAL_SERVER_ERROR=500,be.NOT_IMPLEMENTED=501,be.BAD_GATEWAY=502,be.SERVICE_UNAVAILABLE=503,be.GATEWAY_TIME_OUT=504,be.HTTP_VERSION_NOT_SUPPORTED=505,be.VARIANT_ALSO_NEGOTIATES=506,be.INSUFFICIENT_STORAGE=507,be.BANDWIDTH_LIMIT_EXCEEDED=509,be.NOT_EXTENDED=510,be.NETWORK_AUTHENTICATION_REQUIRED=511),be}var rr=B0();function V0(i,t){return t=t||{},new Promise(function(e,r){var n=new XMLHttpRequest,o=[],a=[],s={},l=function(){return{ok:(n.status/100|0)==2,statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:l,headers:{keys:function(){return o},entries:function(){return a},get:function(u){return s[u.toLowerCase()]},has:function(u){return u.toLowerCase()in s}}}};for(var c in n.open(t.method||"get",i,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(u,h,d){o.push(h=h.toLowerCase()),a.push([h,d]),s[h]=s[h]?s[h]+","+d:d}),e(l())},n.onerror=r,n.withCredentials=t.credentials=="include",t.headers)n.setRequestHeader(c,t.headers[c]);n.send(t.body||null)})}const Fc=d0(Object.freeze(Object.defineProperty({__proto__:null,default:V0},Symbol.toStringTag,{value:"Module"})));var Xa,Bc;function U0(){return Bc||(Bc=1,Xa=self.fetch||(self.fetch=Fc.default||Fc)),Xa}U0();var Ya=function(i,t,e,r){function n(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(u){try{c(r.next(u))}catch(h){a(h)}}function l(u){try{c(r.throw(u))}catch(h){a(h)}}function c(u){u.done?o(u.value):n(u.value).then(s,l)}c((r=r.apply(i,t||[])).next())})},Ka=function(i,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(e=0)),e;)try{if(r=1,n&&(o=c[0]&2?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return e.label++,{value:c[1],done:!1};case 5:e.label++,n=c[1],c=[0];continue;case 7:c=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1],o=c;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(c);break}o[2]&&e.ops.pop(),e.trys.pop();continue}c=t.call(i,e)}catch(u){c=[6,u],n=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Fe=(function(){function i(){}return i.getMediaType=function(t){return t=t.toLowerCase(),t=t.split(";")[0],t.trim()},i.getImageQuality=function(t){return t===he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_1_LEVEL_1||t===he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1||t===he.ServiceProfile.IMAGE_1_LEVEL_2||t===he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2?"native":"default"},i.getInexactLocale=function(t){return t.indexOf("-")!==-1?t.substr(0,t.indexOf("-")):t},i.getLocalisedValue=function(t,e){if(!Array.isArray(t))return t;for(var r=0;r<t.length;r++){var n=t[r],o=n["@language"];if(e===o)return n["@value"]}for(var a=e.substr(0,e.indexOf("-")),r=0;r<t.length;r++){var s=t[r],l=s["@language"];if(l===a)return s["@value"]}return null},i.generateTreeNodeIds=function(t,e){e===void 0&&(e=0);var r;t.parentNode?r=t.parentNode.id+"-"+e:r="0",t.id=r;for(var n=0;n<t.nodes.length;n++){var o=t.nodes[n];i.generateTreeNodeIds(o,n)}},i.normaliseType=function(t){if(t=(t||"").toLowerCase(),t.indexOf(":")!==-1){var e=t.split(":");return e[1]}return t},i.normaliseUrl=function(t){return t=t.substr(t.indexOf("://")),t.indexOf("#")!==-1&&(t=t.split("#")[0]),t},i.normalisedUrlsMatch=function(t,e){return i.normaliseUrl(t)===i.normaliseUrl(e)},i.isImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.isImageServiceType=function(t){return t!==null&&t.toLowerCase()===he.ServiceType.IMAGE_SERVICE_2.toLowerCase()||t===he.ServiceType.IMAGE_SERVICE_3.toLowerCase()},i.isLevel0ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0))},i.isLevel1ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1))},i.isLevel2ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.parseManifest=function(t,e){return Uc.parse(t,e)},i.checkStatus=function(t){if(t.ok)return t;var e=new Error(t.statusText);return e.response=t,Promise.reject(e)},i.loadManifest=function(t){return new Promise(function(e,r){fetch(t).then(i.checkStatus).then(function(n){return n.json()}).then(function(n){e(n)}).catch(function(n){r()})})},i.loadExternalResourcesAuth1=function(t,e,r,n,o,a,s,l){return new Promise(function(c,u){var h=t.map(function(d){return i.loadExternalResourceAuth1(d,e,r,n,o,a,s,l)});Promise.all(h).then(function(){c(t)}).catch(function(d){u(d)})})},i.loadExternalResourceAuth1=function(t,e,r,n,o,a,s,l){return Ya(this,void 0,void 0,function(){var c;return Ka(this,function(u){switch(u.label){case 0:return[4,n(t)];case 1:return c=u.sent(),c?[4,t.getData(c)]:[3,6];case 2:return u.sent(),t.status!==rr.OK?[3,3]:[2,t];case 3:return[4,i.doAuthChain(t,e,r,o,a,s,l)];case 4:u.sent(),u.label=5;case 5:if(t.status===rr.OK||t.status===rr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError();case 6:return[4,t.getData()];case 7:return u.sent(),t.status===rr.MOVED_TEMPORARILY||t.status===rr.UNAUTHORIZED?[4,i.doAuthChain(t,e,r,o,a,s,l)]:[3,9];case 8:u.sent(),u.label=9;case 9:if(t.status===rr.OK||t.status===rr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError()}})})},i.doAuthChain=function(t,e,r,n,o,a,s){return Ya(this,void 0,void 0,function(){var l,c,u,h,d,p,_,f,f;return Ka(this,function(g){switch(g.label){case 0:return t.isAccessControlled()?(l=t.externalService,l&&(l.options=t.options),c=t.kioskService,c&&(c.options=t.options),u=t.clickThroughService,u&&(u.options=t.options),h=t.loginService,h&&(h.options=t.options),!t.isResponseHandled&&t.status===rr.MOVED_TEMPORARILY?[4,a(t)]:[3,2]):[2,t];case 1:return g.sent(),[2,t];case 2:return d=null,p=null,d=l,d?(p=d,[4,i.attemptResourceWithToken(t,r,d)]):[3,4];case 3:return g.sent(),[2,t];case 4:return d=c,d?(p=d,_=e(d),_?[4,n(_)]:[3,7]):[3,7];case 5:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 6:return g.sent(),[2,t];case 7:return d=u,d?(p=d,[4,o(t,d)]):[3,11];case 8:return f=g.sent(),f?[4,n(f)]:[3,11];case 9:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 10:return g.sent(),[2,t];case 11:return d=h,d?(p=d,[4,o(t,d)]):[3,15];case 12:return f=g.sent(),f?[4,n(f)]:[3,15];case 13:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 14:return g.sent(),[2,t];case 15:return p&&s(t,p),[2]}})})},i.attemptResourceWithToken=function(t,e,r){return Ya(this,void 0,void 0,function(){var n,o;return Ka(this,function(a){switch(a.label){case 0:return n=r.getService(he.ServiceProfile.AUTH_1_TOKEN),n?[4,e(t,n)]:[3,3];case 1:return o=a.sent(),o&&o.accessToken?[4,t.getData(o)]:[3,3];case 2:return a.sent(),[2,t];case 3:return[2]}})})},i.loadExternalResourcesAuth09=function(t,e,r,n,o,a,s,l,c,u){return new Promise(function(h,d){var p=t.map(function(_){return i.loadExternalResourceAuth09(_,e,r,n,o,a,s,l,c,u)});Promise.all(p).then(function(){h(t)}).catch(function(_){d(_)})})},i.loadExternalResourceAuth09=function(t,e,r,n,o,a,s,l,c,u){return new Promise(function(h,d){u&&u.pessimisticAccessControl?t.getData().then(function(){t.isAccessControlled()?t.clickThroughService?(h(r(t)),h(n(t))):o(t).then(function(){a(t,!0).then(function(p){t.getData(p).then(function(){h(c(t))}).catch(function(_){d(i.createInternalServerError(_))})}).catch(function(p){d(i.createInternalServerError(p))})}).catch(function(p){d(i.createInternalServerError(p))}):h(t)}).catch(function(p){d(i.createInternalServerError(p))}):l(t,e).then(function(p){p?t.getData(p).then(function(){t.status===rr.OK?h(c(t)):i.authorize(t,e,r,n,o,a,s,l).then(function(){h(c(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(_){d(i.createAuthorizationFailedError())}):i.authorize(t,e,r,n,o,a,s,l).then(function(){h(c(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(p){d(i.createAuthorizationFailedError())})})},i.createError=function(t,e){var r=new Error;return r.message=e,r.name=String(t),r},i.createAuthorizationFailedError=function(){return i.createError(sn.AUTHORIZATION_FAILED,"Authorization failed")},i.createRestrictedError=function(){return i.createError(sn.RESTRICTED,"Restricted")},i.createInternalServerError=function(t){return i.createError(sn.INTERNAL_SERVER_ERROR,t)},i.authorize=function(t,e,r,n,o,a,s,l){return new Promise(function(c,u){t.getData().then(function(){t.isAccessControlled()?l(t,e).then(function(h){h?t.getData(h).then(function(){t.status===rr.OK?c(t):i.showAuthInteraction(t,e,r,n,o,a,s,c,u)}).catch(function(d){u(i.createInternalServerError(d))}):a(t,!1).then(function(d){d?s(t,d,e).then(function(){t.getData(d).then(function(){t.status===rr.OK?c(t):i.showAuthInteraction(t,e,r,n,o,a,s,c,u)}).catch(function(p){u(i.createInternalServerError(p))})}).catch(function(p){u(i.createInternalServerError(p))}):i.showAuthInteraction(t,e,r,n,o,a,s,c,u)})}).catch(function(h){u(i.createInternalServerError(h))}):c(t)})})},i.showAuthInteraction=function(t,e,r,n,o,a,s,l,c){t.status===rr.MOVED_TEMPORARILY&&!t.isResponseHandled?l(t):t.clickThroughService&&!t.isResponseHandled?r(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){l(t)}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(u){c(i.createInternalServerError(u))})}):o(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){l(t)}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(u){c(i.createInternalServerError(u))})})},i.getService=function(t,e){for(var r=this.getServices(t),n=0;n<r.length;n++){var o=r[n];if(o.getProfile()===e)return o}return null},i.getResourceById=function(t,e){return i.traverseAndFind(t.__jsonld,"@id",e)},i.traverseAndFind=function(t,e,r){if(t.hasOwnProperty(e)&&t[e]===r)return t;for(var n=0;n<Object.keys(t).length;n++)if(typeof t[Object.keys(t)[n]]=="object"){var o=i.traverseAndFind(t[Object.keys(t)[n]],e,r);if(o!=null)return o}},i.getServices=function(t,e){var r=e===void 0?{}:e,n=r.onlyService,o=n===void 0?!1:n,a=r.onlyServices,s=a===void 0?!1:a,l=r.skipParentResources,c=l===void 0?!1:l,u=[];!c&&t&&t.options&&t.options.resource&&t.options.resource!==t&&u.push.apply(u,i.getServices(t.options.resource,{onlyServices:!0}));var h=s?[]:(t.__jsonld||t).service||[];if(Array.isArray(h)||(h=[h]),o||h.push.apply(h,(t.__jsonld||t).services||[]),h.length===0)return u;for(var d=0;d<h.length;d++){var p=h[d];if(typeof p=="string"){var _=this.getResourceById(t.options.resource,p);_&&u.push(new jc(_.__jsonld||_,t.options))}else u.push(new jc(p,t.options))}return u},i.getTemporalComponent=function(t){var e=/t=([^&]+)/g.exec(t),r=null;return e&&e[1]&&(r=e[1].split(",")),r},i})(),j0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Li=(function(){function i(t,e,r){r===void 0&&(r="none"),Array.isArray(t)&&t.length===1?this._value=t[0]:this._value=t,(e==="none"||e==="@none")&&(e=void 0),this._locale=e,this._defaultLocale=r}return i.parseV2Value=function(t,e){return typeof t=="string"?new i(t,void 0,e):t["@value"]?new i(t["@value"],t["@language"],e):null},Object.defineProperty(i.prototype,"value",{get:function(){return Array.isArray(this._value)?this._value.join("<br/>"):this._value},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"locale",{get:function(){return this._locale===void 0?this._defaultLocale:this._locale},enumerable:!1,configurable:!0}),i.prototype.addValue=function(t){Array.isArray(this._value)||(this._value=[this._value]),Array.isArray(t)?this._value=this._value.concat(t):this._value.push(t)},i})(),ir=(function(i){j0(t,i);function t(e,r){e===void 0&&(e=[]);var n=i.apply(this,e)||this;return n.__proto__=t.prototype,n._defaultLocale=r,n}return t.parse=function(e,r){if(!e)return new t([],r);if(Array.isArray(e)){var n=e.map(function(a){return Li.parseV2Value(a,r)}).filter(function(a){return a!==null}),o=n.reduce(function(a,s){var l=s._locale;return l||(l="none"),a[l]?a[l].addValue(s._value):a[l]=s,a},{});return new t(Object.values(o),r)}else{if(typeof e=="string")return new t([new Li(e,void 0,r)],r);if(e["@language"]){var n=Li.parseV2Value(e);return new t(n!==null?[n]:[],r)}else if(e["@value"]){var n=Li.parseV2Value(e);return new t(n!==null?[n]:[],r)}else return new t(Object.keys(e).map(function(a){var s=e[a];if(!Array.isArray(s))throw new Error("A IIIF v3 localized property value must have an array as the value for a given language.");return new Li(s,a,r)}),r)}},t.prototype.getSuitableLocale=function(e){for(var r=Array.from(this.values()).map(function(p){return p._locale}).filter(function(p){return p!==void 0}),n=function(p){var _=r.find(function(f){return f===p});if(_)return{value:_}},o=0,a=e;o<a.length;o++){var s=a[o],l=n(s);if(typeof l=="object")return l.value}for(var c=function(p){var _=r.find(function(f){return Fe.getInexactLocale(f)===Fe.getInexactLocale(p)});if(_)return{value:_}},u=0,h=e;u<h.length;u++){var s=h[u],d=c(s);if(typeof d=="object")return d.value}},t.prototype.setValue=function(e,r){var n=void 0;if(!r)n=this.find(function(a){return a._locale===void 0});else{var o=this.getSuitableLocale([r]);o&&(n=this.find(function(a){return a._locale===o}))}n?n._value=e:this.push(new Li(e,r,this._defaultLocale))},t.prototype.getValue=function(e,r){var n=this.getValues(e);return n.length===0?null:r?n.join(r):n[0]},t.prototype.getValues=function(e){if(!this.length)return[];var r;if(e?Array.isArray(e)?r=e:r=[e]:r=[],this.length===1&&this[0]._locale===void 0){var n=this[0]._value;return Array.isArray(n)?n:[n]}var o=this.getSuitableLocale(r);if(o){var n=this.find(function(c){return c._locale===o})._value;return Array.isArray(n)?n:[n]}var a=!this.find(function(l){return l._locale===void 0});if(a){var n=this[0]._value;return Array.isArray(n)?n:[n]}var s=this.find(function(l){return l._locale===void 0});return s?Array.isArray(s._value)?s._value:[s._value]:[]},t})(Array),G0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Z0=(function(i){G0(t,i);function t(e,r){var n=i.call(this,e,r)||this;if(n.index=0,n._allRanges=null,n.items=[],n._topRanges=[],n.__jsonld.structures&&n.__jsonld.structures.length)for(var o=n._getTopRanges(),a=0;a<o.length;a++){var s=o[a];n._parseRanges(s,String(a))}return n}return t.prototype.getPosterCanvas=function(){var e=this.getProperty("posterCanvas");return e&&(e=new Co(e,this.options)),e},t.prototype.getAccompanyingCanvas=function(){var e=this.getProperty("accompanyingCanvas");return e&&(e=new Co(e,this.options)),e},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){if(i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Fe.normaliseType(xr.MANIFEST),!this.isLoaded)return this.defaultTree;var e=this.getTopRanges();return e.length&&e[0].getTree(this.defaultTree),Fe.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._getTopRanges=function(){var e=[];if(this.__jsonld.structures&&this.__jsonld.structures.length){for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];n.viewingHint===he.ViewingHint.TOP&&e.push(n)}if(!e.length){var o={};o.ranges=this.__jsonld.structures,e.push(o)}}return e},t.prototype.getTopRanges=function(){return this._topRanges},t.prototype._getRangeById=function(e){if(this.__jsonld.structures&&this.__jsonld.structures.length)for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];if(n["@id"]===e||n.id===e)return n}return null},t.prototype._parseRanges=function(e,r,n){var o=null;if(typeof e=="string"&&(o=e,e=this._getRangeById(o)),!e){console.warn("Range:",o,"does not exist");return}var a=new q0(e,this.options);a.parentRange=n,a.path=r,n?n.items.push(a):this._topRanges.push(a);var s=e.items||e.members;if(s)for(var l=0;l<s.length;l++){var c=s[l];if(c["@type"]&&c["@type"].toLowerCase()==="sc:range"||c.type&&c.type.toLowerCase()==="range")this._parseRanges(c,r+"/"+l,a);else if(c["@type"]&&c["@type"].toLowerCase()==="sc:canvas"||c.type&&c.type.toLowerCase()==="canvas"){a.canvases||(a.canvases=[]);var u=c.id||c["@id"];a.canvases.push(u)}}else if(e.ranges)for(var l=0;l<e.ranges.length;l++)this._parseRanges(e.ranges[l],r+"/"+l,a)},t.prototype.getAllRanges=function(){if(this._allRanges!=null)return this._allRanges;this._allRanges=[];for(var e=this.getTopRanges(),r=function(a){var s=e[a];s.id&&n._allRanges.push(s);var l=function(u,h){u.add(h);var d=h.getRanges();return d.length?d.reduce(l,u):u},c=Array.from(s.getRanges().reduce(l,new Set));n._allRanges=n._allRanges.concat(c)},n=this,o=0;o<e.length;o++)r(o);return this._allRanges},t.prototype.getRangeById=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.id===e)return o}return null},t.prototype.getRangeByPath=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.path===e)return o}return null},t.prototype.getSequences=function(){if(this.items.length)return this.items;var e=this.__jsonld.mediaSequences||this.__jsonld.sequences;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new Vc(n,this.options);this.items.push(o)}else if(this.__jsonld.items){var o=new Vc(this.__jsonld.items,this.options);this.items.push(o)}return this.items},t.prototype.getSequenceByIndex=function(e){return this.getSequences()[e]},t.prototype.getTotalSequences=function(){return this.getSequences().length},t.prototype.getManifestType=function(){var e=this.getService(he.ServiceProfile.UI_EXTENSIONS);return e?e.getProperty("manifestType"):Qa.EMPTY},t.prototype.isMultiSequence=function(){return this.getTotalSequences()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();if(e)return e===he.ViewingHint.PAGED;var r=this.getBehavior();return r?r===he.Behavior.PAGED:!1},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t})(_c),Qa;(function(i){i.EMPTY="",i.MANUSCRIPT="manuscript",i.MONOGRAPH="monograph"})(Qa||(Qa={}));var W0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),q0=(function(i){W0(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n._ranges=null,n.canvases=null,n.items=[],n}return t.prototype.getCanvasIds=function(){return this.__jsonld.canvases?this.__jsonld.canvases:this.canvases?this.canvases:[]},t.prototype.getDuration=function(){if(this.canvases&&this.canvases.length){for(var e=[],r=[],n=0,o=this.canvases;n<o.length;n++){var a=o[n];if(a){var s=a.match(/(.*)#t=([0-9.]+),?([0-9.]+)?/)||[void 0,a],l=s[1],c=s[2],u=s[3];l&&(e.push(parseFloat(c)),r.push(parseFloat(u)))}}if(e.length&&r.length)return new qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}else{for(var h=this.getRanges(),e=[],r=[],d=0,p=h;d<p.length;d++){var _=p[d],f=_.getDuration();f&&(e.push(f.start),r.push(f.end))}if(e.length&&r.length)return new qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}var g,y;if(this.canvases&&this.canvases.length)for(var k=0;k<this.canvases.length;k++){var a=this.canvases[k],C=Fe.getTemporalComponent(a);C&&C.length>1&&(k===0&&(g=Number(C[0])),k===this.canvases.length-1&&(y=Number(C[1])))}else for(var h=this.getRanges(),k=0;k<h.length;k++){var _=h[k],f=_.getDuration();f&&(k===0&&(g=f.start),k===h.length-1&&(y=f.end))}if(g!==void 0&&y!==void 0)return new qa(g,y)},t.prototype.getRanges=function(){return this._ranges?this._ranges:this._ranges=this.items.filter(function(e){return e.isRange()})},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getTree=function(e){e.data=this,this.treeNode=e;var r=this.getRanges();if(r&&r.length)for(var n=0;n<r.length;n++){var o=r[n],a=new Ja;e.addNode(a),this._parseTreeNode(a,o)}return Fe.generateTreeNodeIds(e),e},t.prototype.spansTime=function(e){var r=this.getDuration();return!!(r&&e>=r.start&&e<=r.end)},t.prototype._parseTreeNode=function(e,r){e.label=r.getLabel().getValue(this.options.locale),e.data=r,e.data.type=Fe.normaliseType(xr.RANGE),r.treeNode=e;var n=r.getRanges();if(n&&n.length)for(var o=0;o<n.length;o++){var a=n[o],s=a.getBehavior();if(s!==he.Behavior.NO_NAV){var l=new Ja;e.addNode(l),this._parseTreeNode(l,a)}}},t})(Or),X0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Y0=(function(i){X0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){return this.getProperty("format")},t})(Or),K0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Vc=(function(i){K0(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._thumbnails=null,n}return t.prototype.getCanvases=function(){if(this.items.length)return this.items;var e=this.__jsonld.canvases||this.__jsonld.elements;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new Co(n,this.options);o.index=r,this.items.push(o)}else if(this.__jsonld)for(var r=0;r<this.__jsonld.length;r++){var n=this.__jsonld[r],o=new Co(n,this.options);o.index=r,this.items.push(o)}return this.items},t.prototype.getCanvasById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r),o=Fe.normaliseUrl(n.id);if(Fe.normaliseUrl(e)===o)return n}return null},t.prototype.getCanvasByIndex=function(e){return this.getCanvases()[e]},t.prototype.getCanvasIndexById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return null},t.prototype.getCanvasIndexByLabel=function(e,r){e=e.trim(),isNaN(e)||(e=parseInt(e,10).toString(),r&&(e+="r"));for(var n=/(\d*)\D+(\d*)/,o,a,s,l,c,u=0;u<this.getTotalCanvases();u++){var h=this.getCanvasByIndex(u);if(h.getLabel().getValue(this.options.locale)===e)return u;if(o=n.exec(e),!!o&&(l=o[1],c=o[2],!!c&&(s="^"+l+"\\D+"+c+"$",a=new RegExp(s),a.test(h.getLabel().toString()))))return u}return-1},t.prototype.getLastCanvasLabel=function(e){for(var r=this.getTotalCanvases()-1;r>=0;r--){var n=this.getCanvasByIndex(r),o=n.getLabel().getValue(this.options.locale);if(e){var a=/^[a-zA-Z0-9]*$/;if(a.test(o))return o}else if(o)return o}return this.options.defaultLabel},t.prototype.getLastPageIndex=function(){return this.getTotalCanvases()-1},t.prototype.getNextPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===he.ViewingDirection.RIGHT_TO_LEFT?n=o[0]+1:n=o[o.length-1]+1}else n=e+1;return n>this.getLastPageIndex()?-1:n},t.prototype.getPagedIndices=function(e,r){var n=[];if(!r)n.push(e);else{this.isFirstCanvas(e)||this.isLastCanvas(e)?n=[e]:e%2?n=[e,e+1]:n=[e-1,e];var o=this.getViewingDirection();o&&o===he.ViewingDirection.RIGHT_TO_LEFT&&(n=n.reverse())}return n},t.prototype.getPrevPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===he.ViewingDirection.RIGHT_TO_LEFT?n=o[o.length-1]-1:n=o[0]-1}else n=e-1;return n},t.prototype.getStartCanvasIndex=function(){var e=this.getStartCanvas();if(e)for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return 0},t.prototype.getThumbs=function(e,r){for(var n=[],o=this.getTotalCanvases(),a=0;a<o;a++){var s=this.getCanvasByIndex(a),l=new $0(e,s);n.push(l)}return n},t.prototype.getThumbnails=function(){if(this._thumbnails!=null)return this._thumbnails;this._thumbnails=[];for(var e=this.getCanvases(),r=0;r<e.length;r++){var n=e[r].getThumbnail();n&&this._thumbnails.push(n)}return this._thumbnails},t.prototype.getStartCanvas=function(){return this.getProperty("startCanvas")},t.prototype.getTotalCanvases=function(){return this.getCanvases().length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):this.options.resource.getViewingDirection?this.options.resource.getViewingDirection():null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.isCanvasIndexOutOfRange=function(e){return e>this.getTotalCanvases()-1},t.prototype.isFirstCanvas=function(e){return e===0},t.prototype.isLastCanvas=function(e){return e===this.getTotalCanvases()-1},t.prototype.isMultiCanvas=function(){return this.getTotalCanvases()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();return e?e===he.ViewingHint.PAGED:!1},t.prototype.isTotalCanvasesEven=function(){return this.getTotalCanvases()%2===0},t})(Or),Uc=(function(){function i(){}return i.parse=function(t,e){return typeof t=="string"&&(t=JSON.parse(t)),this.parseJson(t,e)},i.parseJson=function(t,e){var r;if(e&&e.navDate&&!isNaN(e.navDate.getTime())&&(t.navDate=e.navDate.toString()),t["@type"])switch(t["@type"]){case"sc:Collection":r=this.parseCollection(t,e);break;case"sc:Manifest":r=this.parseManifest(t,e);break;default:return null}else switch(t.type){case"Collection":r=this.parseCollection(t,e);break;case"Manifest":r=this.parseManifest(t,e);break;default:return null}return r.isLoaded=!0,r},i.parseCollection=function(t,e){var r=new N0(t,e);return e?(r.index=e.index||0,e.resource&&(r.parentCollection=e.resource.parentCollection)):r.index=0,this.parseCollections(r,e),this.parseManifests(r,e),this.parseItems(r,e),r},i.parseCollections=function(t,e){var r;if(t.__jsonld.collections?r=t.__jsonld.collections:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="collection"})),r)for(var n=0;n<r.length;n++){e&&(e.index=n);var o=this.parseCollection(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseManifest=function(t,e){var r=new Z0(t,e);return r},i.parseManifests=function(t,e){var r;if(t.__jsonld.manifests?r=t.__jsonld.manifests:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="manifest"})),r)for(var n=0;n<r.length;n++){var o=this.parseManifest(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseItem=function(t,e){if(t["@type"]){if(t["@type"].toLowerCase()==="sc:manifest")return this.parseManifest(t,e);if(t["@type"].toLowerCase()==="sc:collection")return this.parseCollection(t,e)}else if(t.type){if(t.type.toLowerCase()==="manifest")return this.parseManifest(t,e);if(t.type.toLowerCase()==="collection")return this.parseCollection(t,e)}return null},i.parseItems=function(t,e){var r=t.__jsonld.members||t.__jsonld.items;if(r)for(var n=function(l){e&&(e.index=l);var c=o.parseItem(r[l],e);if(!c)return{value:void 0};if(t.items.filter(function(u){return u.id===c.id})[0])return"continue";c.index=l,c.parentCollection=t,t.items.push(c)},o=this,a=0;a<r.length;a++){var s=n(a);if(typeof s=="object")return s.value}},i})(),Q0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),jc=(function(i){Q0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getProfile=function(){var e=this.getProperty("profile");return e||(e=this.getProperty("dcterms:conformsTo")),Array.isArray(e)?e[0]:e},t.prototype.getConfirmLabel=function(){return Fe.getLocalisedValue(this.getProperty("confirmLabel"),this.options.locale)},t.prototype.getDescription=function(){return Fe.getLocalisedValue(this.getProperty("description"),this.options.locale)},t.prototype.getFailureDescription=function(){return Fe.getLocalisedValue(this.getProperty("failureDescription"),this.options.locale)},t.prototype.getFailureHeader=function(){return Fe.getLocalisedValue(this.getProperty("failureHeader"),this.options.locale)},t.prototype.getHeader=function(){return Fe.getLocalisedValue(this.getProperty("header"),this.options.locale)},t.prototype.getServiceLabel=function(){return Fe.getLocalisedValue(this.getProperty("label"),this.options.locale)},t.prototype.getInfoUri=function(){var e=this.id;return e.endsWith("/")||(e+="/"),e+="info.json",e},t})(Or),J0=(function(){function i(t,e){this.width=t,this.height=e}return i})(),sn;(function(i){i[i.AUTHORIZATION_FAILED=1]="AUTHORIZATION_FAILED",i[i.FORBIDDEN=2]="FORBIDDEN",i[i.INTERNAL_SERVER_ERROR=3]="INTERNAL_SERVER_ERROR",i[i.RESTRICTED=4]="RESTRICTED"})(sn||(sn={}));var $0=(function(){function i(t,e){this.data=e,this.index=e.index,this.width=t;var r=e.getHeight()/e.getWidth();r?this.height=Math.floor(this.width*r):this.height=t,this.uri=e.getCanonicalImageUri(t),this.label=e.getLabel().getValue(),this.viewingHint=e.getViewingHint()}return i})(),eg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),tg=(function(i){eg(t,i);function t(e,r){return i.call(this,e,r)||this}return t})(Ra),Ja=(function(){function i(t,e){this.label=t,this.data=e||{},this.nodes=[]}return i.prototype.addNode=function(t){this.nodes.push(t),t.parentNode=this},i.prototype.isCollection=function(){return this.data.type===Fe.normaliseType(xr.COLLECTION)},i.prototype.isManifest=function(){return this.data.type===Fe.normaliseType(xr.MANIFEST)},i.prototype.isRange=function(){return this.data.type===Fe.normaliseType(xr.RANGE)},i})(),xr;(function(i){i.COLLECTION="collection",i.MANIFEST="manifest",i.RANGE="range"})(xr||(xr={}));var rg=function(i,t){return Fe.parseManifest(i,t)};class ig{constructor(){ve(this,gn,Ce(ht({})));ve(this,vn,Ce(ht(new Map)))}get manifests(){return m(I(this,gn))}set manifests(t){me(I(this,gn),t,!0)}get userAnnotations(){return m(I(this,vn))}set userAnnotations(t){me(I(this,vn),t,!0)}userAnnotationKey(t,e){return`${t}::${e}`}setUserAnnotations(t,e,r){const n=this.userAnnotationKey(t,e),o=new Map(this.userAnnotations);o.set(n,r),this.userAnnotations=o}clearUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);if(this.userAnnotations.has(r)){const n=new Map(this.userAnnotations);n.delete(r),this.userAnnotations=n}}getUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);return this.userAnnotations.get(r)??[]}async fetchManifest(t){if(!this.manifests[t]){this.manifests[t]={isFetching:!0};try{const e=await fetch(t);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const r=await e.json(),n=rg(r);this.manifests[t]={json:r,manifesto:n,isFetching:!1}}catch(e){this.manifests[t]={error:e.message,isFetching:!1}}}}getManifest(t){const e=this.manifests[t];return e==null?void 0:e.manifesto}getManifestEntry(t){return this.manifests[t]}async fetchAnnotationList(t){if(!this.manifests[t])try{const e=await fetch(t);if(e.ok){const r=await e.json();this.manifests[t]={json:r}}else console.error(`Failed to fetch annotation list: ${t}`)}catch(e){console.error(`Error fetching annotation list: ${t}`,e)}}getCanvases(t){const e=this.getManifest(t);if(!e)return[];const r=e.getSequences();return!r||!r.length?[]:r[0].getCanvases()}getAnnotations(t,e){const r=this.manualGetAnnotations(t,e),n=this.getUserAnnotations(t,e);return[...r,...n]}manualGetAnnotations(t,e){const r=this.getManifest(t);if(!r)return[];const n=r.getSequences()[0].getCanvasById(e);if(!n)return[];const o=n.__jsonld;let a=[];const s=l=>l.resources||l.items||[];return o.otherContent&&o.otherContent.forEach(l=>{const c=l["@id"]||l.id;if(c&&!l.resources){const u=this.manifests[c];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(c)}else l.resources&&a.push(...l.resources)}),o.annotations&&o.annotations.forEach(l=>{const c=l.id||l["@id"];if(c&&!l.items){const u=this.manifests[c];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(c)}else l.items&&a.push(...l.items)}),a}}gn=new WeakMap,vn=new WeakMap;const Ur=new ig;class ng{constructor(t=null,e=null,r=[]){ve(this,mn,Ce(null));ve(this,_n,Ce(null));ve(this,wn,Ce(!1));ve(this,bn,Ce(!1));ve(this,yn,Ce(!1));ve(this,xn,Ce(!1));ve(this,Tn,Ce(!1));ve(this,En,Ce(!1));ve(this,kn,Ce("bottom"));ve(this,Sn,Ce(ht(new Set)));ve(this,Cn,Ce(ht({})));ve(this,Pn,Ce(ht({x:20,y:100})));ve(this,Rn,Ce(ht({width:300,height:400})));ve(this,An,Ce(!1));ve(this,In,Ce(ht({x:0,y:0})));ve(this,On,Ce(null));ve(this,Dn,Ce(null));at(this,"eventTarget",null);ve(this,Mn,Ce(""));ve(this,Ln,Ce(null));ve(this,zn,Ce(ht([])));ve(this,Hn,Ce(!1));ve(this,Nn,Ce(!1));ve(this,Fn,Ce(ht([])));ve(this,Bn,Ce(ht([])));ve(this,Vn,Ce(ht([])));ve(this,Un,Ce(null));at(this,"pluginEventHandlers",new Map);this.manifestId=t||null,this.canvasId=e||null,this.manifestId&&Ur.fetchManifest(this.manifestId);for(const n of r)this.registerPlugin(n)}get manifestId(){return m(I(this,mn))}set manifestId(t){me(I(this,mn),t,!0)}get canvasId(){return m(I(this,_n))}set canvasId(t){me(I(this,_n),t,!0)}get showAnnotations(){return m(I(this,wn))}set showAnnotations(t){me(I(this,wn),t,!0)}get showThumbnailGallery(){return m(I(this,bn))}set showThumbnailGallery(t){me(I(this,bn),t,!0)}get isGalleryDockedBottom(){return m(I(this,yn))}set isGalleryDockedBottom(t){me(I(this,yn),t,!0)}get isGalleryDockedRight(){return m(I(this,xn))}set isGalleryDockedRight(t){me(I(this,xn),t,!0)}get isFullScreen(){return m(I(this,Tn))}set isFullScreen(t){me(I(this,Tn),t,!0)}get showMetadataDialog(){return m(I(this,En))}set showMetadataDialog(t){me(I(this,En),t,!0)}get dockSide(){return m(I(this,kn))}set dockSide(t){me(I(this,kn),t,!0)}get visibleAnnotationIds(){return m(I(this,Sn))}set visibleAnnotationIds(t){me(I(this,Sn),t,!0)}get config(){return m(I(this,Cn))}set config(t){me(I(this,Cn),t,!0)}get showRightMenu(){return this.config.showRightMenu??!0}get showLeftMenu(){return this.config.showLeftMenu??!0}get showCanvasNav(){return this.config.showCanvasNav??!0}get galleryPosition(){return m(I(this,Pn))}set galleryPosition(t){me(I(this,Pn),t,!0)}get gallerySize(){return m(I(this,Rn))}set gallerySize(t){me(I(this,Rn),t,!0)}get isGalleryDragging(){return m(I(this,An))}set isGalleryDragging(t){me(I(this,An),t,!0)}get galleryDragOffset(){return m(I(this,In))}set galleryDragOffset(t){me(I(this,In),t,!0)}get dragOverSide(){return m(I(this,On))}set dragOverSide(t){me(I(this,On),t,!0)}get galleryCenterPanelRect(){return m(I(this,Dn))}set galleryCenterPanelRect(t){me(I(this,Dn),t,!0)}setEventTarget(t){this.eventTarget=t}getSnapshot(){let t=-1;return this.manifestId&&this.canvasId&&(t=Ur.getCanvases(this.manifestId).findIndex(r=>(r.id||r["@id"]||(r.getCanvasId?r.getCanvasId():null)||(r.getId?r.getId():null))===this.canvasId)),{manifestId:this.manifestId,canvasId:this.canvasId,currentCanvasIndex:t,showAnnotations:this.showAnnotations,showThumbnailGallery:this.showThumbnailGallery,showSearchPanel:this.showSearchPanel,searchQuery:this.searchQuery,isFullScreen:this.isFullScreen,dockSide:this.dockSide}}dispatchStateChange(t="statechange"){console.log(`[ViewerState] Dispatching ${t}`,JSON.stringify(this.getSnapshot())),this.eventTarget&&queueMicrotask(()=>{var e;(e=this.eventTarget)==null||e.dispatchEvent(new CustomEvent(t,{detail:this.getSnapshot(),bubbles:!0,composed:!0}))})}get manifest(){return this.manifestId?Ur.getManifest(this.manifestId):null}get manifestEntry(){return this.manifestId?Ur.getManifestEntry(this.manifestId):null}get canvases(){return this.manifestId?Ur.getCanvases(this.manifestId):[]}get currentCanvasIndex(){return this.canvasId?this.canvases.findIndex(t=>(t.id||t["@id"]||(t.getCanvasId?t.getCanvasId():null)||(t.getId?t.getId():null))===this.canvasId):this.canvases.length>0?0:-1}get hasNext(){return this.currentCanvasIndex<this.canvases.length-1}get hasPrevious(){return this.currentCanvasIndex>0}nextCanvas(){if(this.hasNext){const t=this.currentCanvasIndex+1,e=this.canvases[t];this.setCanvas(e.id)}}previousCanvas(){if(this.hasPrevious){const t=this.currentCanvasIndex-1,e=this.canvases[t];this.setCanvas(e.id)}}setManifest(t){this.manifestId=t,this.canvasId=null,Ur.fetchManifest(t),this.dispatchStateChange("manifestchange")}setCanvas(t){this.canvasId=t,this.dispatchStateChange("canvaschange")}updateConfig(t){var r;const e=this.config;if(this.config=t,t.gallery&&(t.gallery.open!==void 0&&(this.showThumbnailGallery=t.gallery.open),t.gallery.dockPosition!==void 0&&(this.dockSide=t.gallery.dockPosition)),t.search){t.search.open!==void 0&&(this.showSearchPanel=t.search.open);const n=t.search.query,o=(r=e.search)==null?void 0:r.query;n!==void 0&&n!==o&&n!==this.searchQuery&&this._performSearch(n)}t.annotations&&t.annotations.open!==void 0&&(this.showAnnotations=t.annotations.open)}toggleAnnotations(){this.showAnnotations=!this.showAnnotations,this.dispatchStateChange()}toggleThumbnailGallery(){this.showThumbnailGallery=!this.showThumbnailGallery,this.dispatchStateChange()}toggleFullScreen(){if(document.fullscreenElement)document.exitFullscreen();else{const t=document.getElementById("triiiceratops-viewer");t&&t.requestFullscreen().catch(e=>{console.warn("Fullscreen request failed",e)})}}toggleMetadataDialog(){this.showMetadataDialog=!this.showMetadataDialog}get searchQuery(){return m(I(this,Mn))}set searchQuery(t){me(I(this,Mn),t,!0)}get pendingSearchQuery(){return m(I(this,Ln))}set pendingSearchQuery(t){me(I(this,Ln),t,!0)}get searchResults(){return m(I(this,zn))}set searchResults(t){me(I(this,zn),t,!0)}get isSearching(){return m(I(this,Hn))}set isSearching(t){me(I(this,Hn),t,!0)}get showSearchPanel(){return m(I(this,Nn))}set showSearchPanel(t){me(I(this,Nn),t,!0)}toggleSearchPanel(){this.showSearchPanel=!this.showSearchPanel,this.showSearchPanel||(this.searchAnnotations=[]),this.dispatchStateChange()}get searchAnnotations(){return m(I(this,Fn))}set searchAnnotations(t){me(I(this,Fn),t,!0)}get currentCanvasSearchAnnotations(){return this.canvasId?this.searchAnnotations.filter(t=>t.canvasId===this.canvasId):[]}async search(t){this.dispatchStateChange(),await this._performSearch(t),this.dispatchStateChange()}async _performSearch(t){var e,r;if(t.trim()){this.isSearching=!0,this.searchQuery=t,this.searchResults=[];try{const n=this.manifest;if(!n){console.log("[ViewerState] Manifest not loaded, deferring search:",t),this.pendingSearchQuery=t;return}let o=n.getService("http://iiif.io/api/search/1/search")||n.getService("http://iiif.io/api/search/0/search");if(o||n.__jsonld&&n.__jsonld.service&&(o=(Array.isArray(n.__jsonld.service)?n.__jsonld.service:[n.__jsonld.service]).find(g=>g.profile==="http://iiif.io/api/search/1/search"||g.profile==="http://iiif.io/api/search/0/search")),!o){console.warn("No IIIF search service found in manifest"),this.isSearching=!1;return}const s=`${o.id||o["@id"]}?q=${encodeURIComponent(t)}`,l=await fetch(s);if(!l.ok)throw new Error("Search request failed");const c=await l.json(),u=c.resources||[],h=new Map,d=f=>{const g=typeof f=="string"?f:f["@id"]||f.id;if(!g)return null;const y=g.split("#xywh=");if(y.length<2)return null;const k=y[1].split(",").map(Number);return k.length===4?k:null},p=f=>f?f.replace(/<mark>/g,"<mark>").replace(/<\/mark>/g,"</mark>"):"";if(c.hits)for(const f of c.hits){const g=f.annotations||[];let y=-1,k=null,C=[];for(const x of g){const R=u.find(O=>O["@id"]===x||O.id===x);if(R&&R.on){const O=typeof R.on=="string"?R.on:R.on["@id"]||R.on.id,z=O.split("#")[0],B=d(O),A=this.canvases.findIndex(M=>M.id===z);A>=0&&(y===-1&&(y=A),B&&(C.push(B),k||(k=B)))}}if(y>=0){if(!h.has(y)){const x=this.canvases[y];let R="Canvas "+(y+1);try{if(x.getLabel){const O=x.getLabel();Array.isArray(O)&&O.length>0?R=O[0].value:typeof O=="string"&&(R=O)}else x.label&&(typeof x.label=="string"?R=x.label:Array.isArray(x.label)&&(R=(e=x.label[0])==null?void 0:e.value))}catch{}h.set(y,{canvasIndex:y,canvasLabel:String(R),hits:[]})}h.get(y).hits.push({type:"hit",before:p(f.before),match:p(f.match),after:p(f.after),bounds:k,allBounds:C})}}else if(u.length>0)for(const f of u){const g=typeof f.on=="string"?f.on:f.on["@id"]||f.on.id,y=g.split("#")[0],k=d(g),C=this.canvases.findIndex(x=>x.id===y);if(C>=0){const x=this.canvases[C];let R="Canvas "+(C+1);try{if(x.getLabel){const O=x.getLabel();Array.isArray(O)&&O.length>0?R=O[0].value:typeof O=="string"&&(R=O)}else x.label&&(typeof x.label=="string"?R=x.label:Array.isArray(x.label)&&(R=(r=x.label[0])==null?void 0:r.value))}catch{}h.has(C)||h.set(C,{canvasIndex:C,canvasLabel:String(R),hits:[]}),h.get(C).hits.push({type:"resource",match:p(f.resource&&f.resource.chars?f.resource.chars:f.chars||""),bounds:k,allBounds:k?[k]:[]})}}this.searchResults=Array.from(h.values()).sort((f,g)=>f.canvasIndex-g.canvasIndex);let _=0;this.searchAnnotations=this.searchResults.flatMap(f=>{const g=this.canvases[f.canvasIndex];return f.hits.flatMap(y=>(y.allBounds&&y.allBounds.length>0?y.allBounds:y.bounds?[y.bounds]:[]).map(C=>{const x=`${g.id}#xywh=${C.join(",")}`;return{"@id":`urn:search-hit:${_++}`,"@type":"oa:Annotation",motivation:"sc:painting",on:x,canvasId:g.id,resource:{"@type":"cnt:ContentAsText",chars:y.match},isSearchHit:!0}}))})}catch(n){console.error("Search error:",n)}finally{this.isSearching=!1}}}get pluginMenuButtons(){return m(I(this,Bn))}set pluginMenuButtons(t){me(I(this,Bn),t,!0)}get pluginPanels(){return m(I(this,Vn))}set pluginPanels(t){me(I(this,Vn),t,!0)}get osdViewer(){return m(I(this,Un))}set osdViewer(t){me(I(this,Un),t)}registerPlugin(t){const e=t.id||`plugin-${Math.random().toString(36).substr(2,9)}`;let r=Ce(!1);const n={id:`${e}:toggle`,icon:t.icon,tooltip:t.name,onClick:()=>{me(r,!m(r))},isActive:()=>m(r),order:200},o={id:`${e}:panel`,component:t.panel,position:t.position||"left",isVisible:()=>m(r),props:{...t.props,isOpen:m(r),close:()=>{me(r,!1)}}};this.pluginMenuButtons=[...this.pluginMenuButtons,n],this.pluginPanels=[...this.pluginPanels,o],t.onInit&&t.onInit(this)}unregisterPlugin(t){this.pluginMenuButtons=this.pluginMenuButtons.filter(e=>!e.id.startsWith(`${t}:`)),this.pluginPanels=this.pluginPanels.filter(e=>!e.id.startsWith(`${t}:`))}notifyOSDReady(t){this.osdViewer=t}destroyAllPlugins(){this.pluginMenuButtons=[],this.pluginPanels=[],this.pluginEventHandlers.clear()}}mn=new WeakMap,_n=new WeakMap,wn=new WeakMap,bn=new WeakMap,yn=new WeakMap,xn=new WeakMap,Tn=new WeakMap,En=new WeakMap,kn=new WeakMap,Sn=new WeakMap,Cn=new WeakMap,Pn=new WeakMap,Rn=new WeakMap,An=new WeakMap,In=new WeakMap,On=new WeakMap,Dn=new WeakMap,Mn=new WeakMap,Ln=new WeakMap,zn=new WeakMap,Hn=new WeakMap,Nn=new WeakMap,Fn=new WeakMap,Bn=new WeakMap,Vn=new WeakMap,Un=new WeakMap;const ui="triiiceratops:viewerState",og=["light","dark","cupcake","bumblebee","emerald","corporate","synthwave","retro","cyberpunk","valentine","halloween","garden","forest","aqua","lofi","pastel","fantasy","wireframe","black","luxury","dracula","cmyk","autumn","business","acid","lemonade","night","coffee","winter","dim","nord","sunset","caramellatte","abyss","silk"];function ag(i){i=i.replace(/^#/,"");let t,e,r;if(i.length===3)t=parseInt(i[0]+i[0],16),e=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16);else if(i.length===6||i.length===8)t=parseInt(i.slice(0,2),16),e=parseInt(i.slice(2,4),16),r=parseInt(i.slice(4,6),16);else return null;return isNaN(t)||isNaN(e)||isNaN(r)?null:{r:t,g:e,b:r}}function sg(i){const t=i.match(/rgba?\(\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)(?:\s*[,/]\s*(\d*\.?\d+%?))?\s*\)/i);if(!t)return null;const e=a=>a.endsWith("%")?parseFloat(a)/100*255:parseFloat(a),r=e(t[1]),n=e(t[2]),o=e(t[3]);return isNaN(r)||isNaN(n)||isNaN(o)?null:{r,g:n,b:o}}function $a(i){const t=i/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lg(i,t,e){return{x:.4124564*i+.3575761*t+.1804375*e,y:.2126729*i+.7151522*t+.072175*e,z:.0193339*i+.119192*t+.9503041*e}}function cg(i,t,e){const r=.8189330101*i+.3618667424*t-.1288597137*e,n=.0329845436*i+.9293118715*t+.0361456387*e,o=.0482003018*i+.2643662691*t+.633851707*e,a=Math.cbrt(r),s=Math.cbrt(n),l=Math.cbrt(o);return{L:.2104542553*a+.793617785*s-.0040720468*l,a:1.9779984951*a-2.428592205*s+.4505937099*l,b:.0259040371*a+.7827717662*s-.808675766*l}}function ug(i,t,e){const r=Math.sqrt(t*t+e*e);let n=Math.atan2(e,t)*180/Math.PI;return n<0&&(n+=360),{L:i,C:r,h:n}}function Gc(i,t,e){const r=$a(i),n=$a(t),o=$a(e),{x:a,y:s,z:l}=lg(r,n,o),{L:c,a:u,b:h}=cg(a,s,l);return ug(c,u,h)}function Zc(i,t,e){const r=(i*100).toFixed(2),n=t.toFixed(4),o=t<1e-4?0:e.toFixed(2);return`oklch(${r}% ${n} ${o})`}function hg(i){return i.trim().toLowerCase().startsWith("oklch(")}function dg(i){return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(i.trim())}function fg(i){return/^rgba?\s*\(/i.test(i.trim())}function pg(i){const t=ag(i);if(!t)return console.warn(`Invalid hex color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Gc(t.r,t.g,t.b);return Zc(e,r,n)}function gg(i){const t=sg(i);if(!t)return console.warn(`Invalid rgb color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Gc(t.r,t.g,t.b);return Zc(e,r,n)}function vg(i){const t=i.trim();return hg(t)?t:dg(t)?pg(t):fg(t)?gg(t):(console.warn(`Unrecognized color format: ${i}, passing through as-is`),i)}const Wc={primary:"--color-primary",primaryContent:"--color-primary-content",secondary:"--color-secondary",secondaryContent:"--color-secondary-content",accent:"--color-accent",accentContent:"--color-accent-content",neutral:"--color-neutral",neutralContent:"--color-neutral-content",base100:"--color-base-100",base200:"--color-base-200",base300:"--color-base-300",baseContent:"--color-base-content",info:"--color-info",infoContent:"--color-info-content",success:"--color-success",successContent:"--color-success-content",warning:"--color-warning",warningContent:"--color-warning-content",error:"--color-error",errorContent:"--color-error-content",radiusBox:"--radius-box",radiusField:"--radius-field",radiusSelector:"--radius-selector",sizeSelector:"--size-selector",sizeField:"--size-field",border:"--border",depth:"--depth",noise:"--noise",colorScheme:"color-scheme"},mg=new Set(["primary","primaryContent","secondary","secondaryContent","accent","accentContent","neutral","neutralContent","base100","base200","base300","baseContent","info","infoContent","success","successContent","warning","warningContent","error","errorContent"]);function _g(i){return og.includes(i)}function wg(i,t){i.setAttribute("data-theme",t)}function bg(i,t){for(const[e,r]of Object.entries(t)){if(r==null)continue;const n=e;if(n==="colorScheme"){i.style.colorScheme=r;continue}const o=Wc[n];if(!o)continue;let a=String(r);mg.has(n)&&(a=vg(a)),i.style.setProperty(o,a)}}function yg(i){for(const[t,e]of Object.entries(Wc))t==="colorScheme"?i.style.colorScheme="":i.style.removeProperty(e)}function xg(i){try{const t=JSON.parse(i);return typeof t=="object"&&t!==null?t:null}catch{return null}}function Tg(i,t,e){t?wg(i,t):i.removeAttribute("data-theme"),e?bg(i,e):yg(i)}function qc(i){return i.id||i["@id"]||(typeof i.getId=="function"?i.getId():"")}function ln(i){if(!i)return null;const t=i.match(/xywh=(?:pixel:)?([\d.]+),([\d.]+),([\d.]+),([\d.]+)/);return t?{x:parseFloat(t[1]),y:parseFloat(t[2]),w:parseFloat(t[3]),h:parseFloat(t[4])}:null}function Eg(i){const t=kg(i);if(t)return Sg(t);const e=Ag(i);return e?{type:"RECTANGLE",x:e.x,y:e.y,w:e.w,h:e.h}:null}function kg(i){var e,r;if(typeof i.getTarget=="function"){const n=((e=i.__jsonld)==null?void 0:e.on)||((r=i.__jsonld)==null?void 0:r.target);if(n)return Xc(n)}const t=i.target||i.on;return t?Xc(t):null}function Xc(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=Yc(t);if(e)return e}else return Yc(i);return null}function Yc(i){var e;if(!i)return null;let t=i.selector||i;if(Array.isArray(t)){const r=t.find(n=>n.type==="SvgSelector");return r&&r.value?r.value:null}return(t==null?void 0:t.type)==="SvgSelector"&&t.value?t.value:((e=t==null?void 0:t.item)==null?void 0:e.type)==="SvgSelector"&&t.item.value?t.item.value:null}function Sg(i){try{const e=new DOMParser().parseFromString(i,"image/svg+xml");if(e.documentElement.nodeName==="parsererror")return console.warn("Failed to parse SVG selector:",i),null;const r=[],n=e.querySelectorAll("polygon");for(const l of n){const c=l.getAttribute("points");if(c){const u=Cg(c);r.push(...u)}}const o=e.querySelectorAll("path");for(const l of o){const c=l.getAttribute("d");if(c){const u=Pg(c);r.push(...u)}}const a=e.querySelectorAll("circle");for(const l of a){const c=parseFloat(l.getAttribute("cx")||"0"),u=parseFloat(l.getAttribute("cy")||"0"),h=parseFloat(l.getAttribute("r")||"0"),d=Rg(c,u,h);r.push(...d)}const s=e.querySelectorAll("rect");for(const l of s){const c=parseFloat(l.getAttribute("x")||"0"),u=parseFloat(l.getAttribute("y")||"0"),h=parseFloat(l.getAttribute("width")||"0"),d=parseFloat(l.getAttribute("height")||"0");r.push([c,u],[c+h,u],[c+h,u+d],[c,u+d])}return r.length===0?null:{type:"POLYGON",points:r}}catch(t){return console.warn("Failed to convert SVG to polygon:",t),null}}function Cg(i){const t=[],e=i.trim().split(/\s+/);for(const r of e){const[n,o]=r.split(",").map(a=>parseFloat(a));!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function Pg(i){const t=[],e=/[ML]\s*([\d.]+)[,\s]+([\d.]+)/g;let r;for(;(r=e.exec(i))!==null;){const n=parseFloat(r[1]),o=parseFloat(r[2]);!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function Rg(i,t,e,r=8){const n=[];for(let o=0;o<r;o++){const a=o/r*Math.PI*2,s=i+e*Math.cos(a),l=t+e*Math.sin(a);n.push([s,l])}return n}function Ag(i){var e;if(typeof i.getTarget=="function"){const r=i.getTarget();if(typeof r=="string"&&r.includes("xywh="))return ln(r);const n=(e=i.__jsonld)==null?void 0:e.on;if(n){const o=es(n);if(o)return o}}const t=i.target||i.on;return t?es(t):null}function es(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=es(t);if(e)return e}if(typeof i=="string"&&i.includes("xywh="))return ln(i);if(i.selector){let t=i.selector;if(Array.isArray(t)){const r=t.find(o=>o.type==="FragmentSelector"&&o.value&&o.value.includes("xywh="));if(r)return ln(r.value);const n=t.find(o=>o.value&&o.value.includes("xywh="));return n?ln(n.value):null}const e=t.item||t;if(e.value&&typeof e.value=="string"&&e.value.includes("xywh="))return ln(e.value)}return null}function Kc(i){const t=[];if(typeof i.getBody=="function"){const e=i.getBody();if(e){const r=Array.isArray(e)?e:[e];for(const n of r){const o=n.getValue?n.getValue():"";if(o){const a=n.getFormat?n.getFormat():"",s=n.getPurpose?n.getPurpose():void 0;t.push({value:o,isHtml:a==="text/html"||a==="application/html",purpose:s,format:a})}}}}else{const e=r=>{const n=r.chars||r.value||r["cnt:chars"]||"";if(n){const o=r.format==="text/html"||r.type==="TextualBody";t.push({value:n,isHtml:o,purpose:r.purpose,format:r.format})}};i.resource?(Array.isArray(i.resource)?i.resource:[i.resource]).forEach(e):i.body&&(Array.isArray(i.body)?i.body:[i.body]).forEach(e)}if(t.length===0){let e="";typeof i.getLabel=="function"?e=i.getLabel()||"":i.label&&(e=Array.isArray(i.label)?i.label.join(" "):i.label),e&&t.push({value:e,isHtml:!1,purpose:"commenting"})}return t.length===0&&t.push({value:"Annotation",isHtml:!1,purpose:"commenting"}),t}function Ig(i,t,e=!1){const r=qc(i)||`anno-${t}`,n=Eg(i);if(!n)return null;const o=Kc(i);return{id:r,geometry:n,body:o,isSearchHit:e}}function Og(i,t=new Set){return i.map((e,r)=>{const n=t.has(qc(e));return Ig(e,r,n)}).filter(e=>e!==null)}var Dg=pe("<div></div>"),Mg=re('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'),Lg=pe('<div class="w-full h-full relative"><div></div> <!></div>');function zg(i,t){Je(t,!0);let e=tr(t,"viewerState",7),r=Ce(void 0),n=Ce(void 0),o=Ce(void 0),a=Ce(0),s=ne(()=>{if(!e().manifestId||!e().canvasId)return[];const _=Ur.getAnnotations(e().manifestId,e().canvasId),f=e().currentCanvasSearchAnnotations;return[..._,...f]}),l=ne(()=>{const _=new Set;return e().currentCanvasSearchAnnotations.forEach(f=>{const g=f.id||f["@id"];g&&_.add(g)}),_}),c=ne(()=>Og(m(s),m(l))),u=ne(()=>{if(m(a),!m(n)||!m(o)||!m(c).length)return[];const _=m(n).world.getItemAt(0);if(!_)return[];const f=[],g=e().pluginPanels.find(k=>k.id==="annotation-editor:panel"),y=g?g.isVisible():!1;for(const k of m(c)){if(!k.isSearchHit)if(e().showAnnotations){if(!e().visibleAnnotationIds.has(k.id))continue}else continue;if(k.geometry.type==="RECTANGLE"){const C=_.imageToViewportRectangle(k.geometry.x,k.geometry.y,k.geometry.w,k.geometry.h),x=m(n).viewport.viewportToViewerElementRectangle(C);f.push({id:k.id,type:"RECTANGLE",rect:{x:x.x,y:x.y,width:x.width,height:x.height},isSearchHit:k.isSearchHit,tooltip:k.body.map(R=>R.value).join(" "),pointerEvents:y?"none":"auto"})}else if(k.geometry.type==="POLYGON"){const C=k.geometry.points.map(A=>{const M=_.imageToViewportCoordinates(new(m(o)).Point(A[0],A[1])),$=m(n).viewport.viewportToViewerElementCoordinates(M);return[$.x,$.y]});let x=1/0,R=1/0,O=-1/0,z=-1/0;for(const[A,M]of C)x=Math.min(x,A),R=Math.min(R,M),O=Math.max(O,A),z=Math.max(z,M);const B=C.map(([A,M])=>[A-x,M-R]);f.push({id:k.id,type:"POLYGON",bounds:{x,y:R,width:O-x,height:z-R},points:B,isSearchHit:k.isSearchHit,tooltip:k.body.map(A=>A.value).join(" "),pointerEvents:y?"none":"auto"})}}return f});fa(()=>{if(m(r))return(async()=>{const _=await Promise.resolve().then(()=>w8);me(o,_.default||_,!0),me(n,m(o)({element:m(r),tileSources:null,prefixUrl:"",showNavigationControl:!1,showHomeControl:!1,showFullPageControl:!1,showSequenceControl:!1,showZoomControl:!1,showRotationControl:!1,animationTime:.5,springStiffness:7,zoomPerClick:2,gestureSettingsMouse:{clickToZoom:!1}})),e().notifyOSDReady(m(n))})(),()=>{var _;(_=m(n))==null||_.destroy(),e().osdViewer=null}}),ut(()=>{if(!m(n))return;const _=()=>{Yi(a)};return m(n).addHandler("open",_),m(n).addHandler("animation",_),m(n).addHandler("resize",_),m(n).addHandler("rotate",_),m(n).world.addHandler("add-item",_),m(n).world.addHandler("remove-item",_),()=>{m(n).removeHandler("open",_),m(n).removeHandler("animation",_),m(n).removeHandler("resize",_),m(n).removeHandler("rotate",_),m(n).world.removeHandler("add-item",_),m(n).world.removeHandler("remove-item",_)}}),ut(()=>{!m(n)||!t.tileSources||m(n).open(t.tileSources)});var h=Lg(),d=Z(h);Mi(d,_=>me(r,_),()=>m(r));var p=ue(d,2);Yt(p,17,()=>m(u),_=>_.id,(_,f)=>{var g=te(),y=K(g);{var k=x=>{var R=Dg();Re(()=>{Ae(R,"id",`annotation-visual-${m(f).id??""}`),Ge(R,1,`absolute border-2 transition-colors cursor-pointer pointer-events-auto ${m(f).isSearchHit?"border-yellow-400 bg-yellow-400/40 hover:bg-yellow-400/60":"border-red-500 bg-red-500/20 hover:bg-red-500/40"}`),ci(R,`
|
|
4
|
+
`),r=[];for(let n=0;n<e.length;n++){const o=e[n],a=o.replaceAll("\\","/");if(o.trim()!=="Error"){if(o.includes("validate_each_keys"))return[];a.includes("svelte/src/internal")||a.includes("node_modules/.vite")||r.push(o)}}return r}let Be=null;function Ti(i){Be=i}let io=null;function qh(i,t,e,r,n,o){const a=io;io={type:t,file:e[Bt],line:r,column:n,parent:a,...o};try{return i()}finally{io=a}}let Zi=null;function Bs(i){Zi=i}function Xh(){const i={};return[()=>(Yo(i)||sh(),Rr(i)),t=>Xo(i,t)]}function Rr(i){return no().get(i)}function Xo(i,t){return no().set(i,t),t}function Yo(i){return no().has(i)}function Yh(){return no()}function Je(i,t=!1,e){Be={p:Be,i:!1,c:null,e:null,s:i,x:null,l:null}}function $e(i){var t=Be,e=t.e;if(e!==null){t.e=null;for(var r of e)ul(r)}return i!==void 0&&(t.x=i),t.i=!0,Be=t.p,i??{}}function Vs(){return!0}function no(i){return Be===null&&yi(),Be.c??(Be.c=new Map(Kh(Be)||void 0))}function Kh(i){let t=i.p;for(;t!==null;){const e=t.c;if(e!==null)return e;t=t.p}return null}let ei=[];function Us(){var i=ei;ei=[],Zo(i)}function Ut(i){if(ei.length===0&&!Ei){var t=ei;queueMicrotask(()=>{t===ei&&Us()})}ei.push(i)}function Qh(){for(;ei.length>0;)Us()}function js(i){var t=Me;if(t===null)return Ne.f|=zr,i;if((t.f&ji)===0){if((t.f&Kn)===0)throw i;t.b.error(i)}else Ar(i,t)}function Ar(i,t){for(;t!==null;){if((t.f&Kn)!==0)try{t.b.error(i);return}catch(e){i=e}t=t.parent}throw i}const ti=new Set;let Le=null,Wi=null,rt=null,$t=[],oo=null,Ko=!1,Ei=!1;const Lo=class Lo{constructor(){ve(this,vt);nt(this,"committed",!1);nt(this,"current",new Map);nt(this,"previous",new Map);ve(this,zi,new Set);ve(this,Hi,new Set);ve(this,di,0);ve(this,fi,0);ve(this,un,null);ve(this,Ni,[]);ve(this,Fi,[]);nt(this,"skipped_effects",new Set);nt(this,"is_fork",!1)}is_deferred(){return this.is_fork||I(this,fi)>0}process(t){var r;$t=[],Wi=null,this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)et(this,vt,ds).call(this,n,e);this.is_fork||et(this,vt,Hu).call(this),this.is_deferred()?(et(this,vt,_i).call(this,e.effects),et(this,vt,_i).call(this,e.render_effects),et(this,vt,_i).call(this,e.block_effects)):(Wi=this,Le=null,Gs(e.render_effects),Gs(e.effects),Wi=null,(r=I(this,un))==null||r.resolve()),rt=null}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&zr)===0&&(this.current.set(t,t.v),rt==null||rt.set(t,t.v))}activate(){Le=this,this.apply()}deactivate(){Le===this&&(Le=null,rt=null)}flush(){if(this.activate(),$t.length>0){if(Qo(),Le!==null&&Le!==this)return}else I(this,di)===0&&this.process([]);this.deactivate()}discard(){for(const t of I(this,Hi))t(this);I(this,Hi).clear()}increment(t){De(this,di,I(this,di)+1),t&&De(this,fi,I(this,fi)+1)}decrement(t){De(this,di,I(this,di)-1),t&&De(this,fi,I(this,fi)-1),this.revive()}revive(){for(const t of I(this,Ni))mt(t,St),ri(t);for(const t of I(this,Fi))mt(t,pr),ri(t);De(this,Ni,[]),De(this,Fi,[]),this.flush()}oncommit(t){I(this,zi).add(t)}ondiscard(t){I(this,Hi).add(t)}settled(){return(I(this,un)??De(this,un,ks())).promise}static ensure(){if(Le===null){const t=Le=new Lo;ti.add(Le),Ei||Lo.enqueue(()=>{Le===t&&t.flush()})}return Le}static enqueue(t){Ut(t)}apply(){}};zi=new WeakMap,Hi=new WeakMap,di=new WeakMap,fi=new WeakMap,un=new WeakMap,Ni=new WeakMap,Fi=new WeakMap,vt=new WeakSet,ds=function(t,e){var u;t.f^=bt;for(var r=t.first;r!==null;){var n=r.f,o=(n&(Cr|Lr))!==0,a=o&&(n&bt)!==0,s=a||(n&Vt)!==0||this.skipped_effects.has(r);if((r.f&Kn)!==0&&((u=r.b)!=null&&u.is_pending())&&(e={parent:e,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){o?r.f^=bt:(n&Xn)!==0?e.effects.push(r):Si(r)&&((r.f&fr)!==0&&e.block_effects.push(r),Ci(r));var l=r.first;if(l!==null){r=l;continue}}var c=r.parent;for(r=r.next;r===null&&c!==null;)c===e.effect&&(et(this,vt,_i).call(this,e.effects),et(this,vt,_i).call(this,e.render_effects),et(this,vt,_i).call(this,e.block_effects),e=e.parent),r=c.next,c=c.parent}},_i=function(t){for(const e of t)((e.f&St)!==0?I(this,Ni):I(this,Fi)).push(e),et(this,vt,fs).call(this,e.deps),mt(e,bt)},fs=function(t){if(t!==null)for(const e of t)(e.f&pt)===0||(e.f&Qr)===0||(e.f^=Qr,et(this,vt,fs).call(this,e.deps))},Hu=function(){if(I(this,fi)===0){for(const t of I(this,zi))t();I(this,zi).clear()}I(this,di)===0&&et(this,vt,Nu).call(this)},Nu=function(){var o;if(ti.size>1){this.previous.clear();var t=rt,e=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of ti){if(a===this){e=!1;continue}const s=[];for(const[c,u]of this.current){if(a.current.has(c))if(e&&u!==a.current.get(c))a.current.set(c,u);else continue;s.push(c)}if(s.length===0)continue;const l=[...a.current.keys()].filter(c=>!this.current.has(c));if(l.length>0){var n=$t;$t=[];const c=new Set,u=new Map;for(const h of s)Zs(h,l,c,u);if($t.length>0){Le=a,a.apply();for(const h of $t)et(o=a,vt,ds).call(o,h,r);a.deactivate()}$t=n}}Le=null,rt=t}this.committed=!0,ti.delete(this)};let jt=Lo;function Mt(i){var t=Ei;Ei=!0;try{var e;for(i&&(Le!==null&&Qo(),e=i());;){if(Qh(),$t.length===0&&(Le==null||Le.flush(),$t.length===0))return oo=null,e;Qo()}}finally{Ei=t}}function Qo(){var i=oi;Ko=!0;var t=null;try{var e=0;for(ho(!0);$t.length>0;){var r=jt.ensure();if(e++>1e3){var n,o;Jh()}r.process($t),Nr.clear()}}finally{Ko=!1,ho(i),oo=null}}function Jh(){try{wh()}catch(i){Ar(i,oo)}}let ur=null;function Gs(i){var t=i.length;if(t!==0){for(var e=0;e<t;){var r=i[e++];if((r.f&(gr|Vt))===0&&Si(r)&&(ur=new Set,Ci(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?_l(r):r.fn=null),(ur==null?void 0:ur.size)>0)){Nr.clear();for(const n of ur){if((n.f&(gr|Vt))!==0)continue;const o=[n];let a=n.parent;for(;a!==null;)ur.has(a)&&(ur.delete(a),o.push(a)),a=a.parent;for(let s=o.length-1;s>=0;s--){const l=o[s];(l.f&(gr|Vt))===0&&Ci(l)}}ur.clear()}}ur=null}}function Zs(i,t,e,r){if(!e.has(i)&&(e.add(i),i.reactions!==null))for(const n of i.reactions){const o=n.f;(o&pt)!==0?Zs(n,t,e,r):(o&(Jn|fr))!==0&&(o&St)===0&&qs(n,t,r)&&(mt(n,St),ri(n))}}function Ws(i,t){if(i.reactions!==null)for(const e of i.reactions){const r=e.f;(r&pt)!==0?Ws(e,t):(r&Qn)!==0&&(mt(e,St),t.add(e))}}function qs(i,t,e){const r=e.get(i);if(r!==void 0)return r;if(i.deps!==null)for(const n of i.deps){if(t.includes(n))return!0;if((n.f&pt)!==0&&qs(n,t,e))return e.set(n,!0),!0}return e.set(i,!1),!1}function ri(i){for(var t=oo=i;t.parent!==null;){t=t.parent;var e=t.f;if(Ko&&t===Me&&(e&fr)!==0&&(e&Wo)===0)return;if((e&(Lr|Cr))!==0){if((e&bt)===0)return;t.f^=bt}}$t.push(t)}let ao=[];function $h(){try{Mt(()=>{for(const i of ao)Yi(i)})}finally{ao=[]}}function ed(i){var t=Gt(0),e=!0,r=void 0;return m(t),dl(()=>{if(e){var n=rt;try{rt=null,r=i()}finally{rt=n}return}ao.length===0&&Ut($h),ao.push(t)}),e=!1,r}function td(i){As(),Le!==null&&yh();var t=jt.ensure();t.is_fork=!0,rt=new Map;var e=!1,r=t.settled();Mt(i),rt=null;for(var[n,o]of t.previous)n.v=o;return{commit:async()=>{if(e){await r;return}ti.has(t)||bh(),e=!0,t.is_fork=!1;for(var[a,s]of t.current)a.v=s;Mt(()=>{var l=new Set;for(var c of t.current.keys())Ws(c,l);hd(l),el()}),t.revive(),await r},discard:()=>{!e&&ti.has(t)&&(ti.delete(t),t.discard())}}}function rd(i){let t=0,e=Gt(0),r;return()=>{ii()&&(m(e),ct(()=>(t===0&&(r=Xe(()=>i(()=>Ki(e)))),t+=1,()=>{Ut(()=>{t-=1,t===0&&(r==null||r(),r=void 0,Ki(e))})})))}}var id=cr|Kr|Kn;function Xs(i,t,e){new nd(i,t,e)}class nd{constructor(t,e,r){ve(this,dt);nt(this,"parent");ve(this,nr,!1);ve(this,Kt);ve(this,hn,de?Se:null);ve(this,Tr);ve(this,pi);ve(this,Er);ve(this,or,null);ve(this,Ft,null);ve(this,kr,null);ve(this,Dr,null);ve(this,jr,null);ve(this,gi,0);ve(this,Gr,0);ve(this,vi,!1);ve(this,Zr,null);ve(this,zo,rd(()=>(De(this,Zr,Gt(I(this,gi))),()=>{De(this,Zr,null)})));De(this,Kt,t),De(this,Tr,e),De(this,pi,r),this.parent=Me.b,De(this,nr,!!I(this,Tr).pending),De(this,Er,_r(()=>{if(Me.b=this,de){const o=I(this,hn);yt(),o.nodeType===vr&&o.data===wi?et(this,dt,Bu).call(this):et(this,dt,Fu).call(this)}else{var n=et(this,dt,ps).call(this);try{De(this,or,Pt(()=>r(n)))}catch(o){this.error(o)}I(this,Gr)>0?et(this,dt,Vo).call(this):De(this,nr,!1)}return()=>{var o;(o=I(this,jr))==null||o.remove()}},id)),de&&De(this,Kt,Se)}is_pending(){return I(this,nr)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!I(this,Tr).pending}update_pending_count(t){et(this,dt,gs).call(this,t),De(this,gi,I(this,gi)+t),I(this,Zr)&&mr(I(this,Zr),I(this,gi))}get_effect_pending(){return I(this,zo).call(this),m(I(this,Zr))}error(t){var e=I(this,Tr).onerror;let r=I(this,Tr).failed;if(I(this,vi)||!e&&!r)throw t;I(this,or)&&(gt(I(this,or)),De(this,or,null)),I(this,Ft)&&(gt(I(this,Ft)),De(this,Ft,null)),I(this,kr)&&(gt(I(this,kr)),De(this,kr,null)),de&&(Qe(I(this,hn)),Tt(),Qe($r()));var n=!1,o=!1;const a=()=>{if(n){Hh();return}n=!0,o&&Ph(),jt.ensure(),De(this,gi,0),I(this,kr)!==null&&ni(I(this,kr),()=>{De(this,kr,null)}),De(this,nr,this.has_pending_snippet()),De(this,or,et(this,dt,Bo).call(this,()=>(De(this,vi,!1),Pt(()=>I(this,pi).call(this,I(this,Kt)))))),I(this,Gr)>0?et(this,dt,Vo).call(this):De(this,nr,!1)};var s=Ne;try{Et(null),o=!0,e==null||e(t,a),o=!1}catch(l){Ar(l,I(this,Er)&&I(this,Er).parent)}finally{Et(s)}r&&Ut(()=>{De(this,kr,et(this,dt,Bo).call(this,()=>{jt.ensure(),De(this,vi,!0);try{return Pt(()=>{r(I(this,Kt),()=>t,()=>a)})}catch(l){return Ar(l,I(this,Er).parent),null}finally{De(this,vi,!1)}}))})}}nr=new WeakMap,Kt=new WeakMap,hn=new WeakMap,Tr=new WeakMap,pi=new WeakMap,Er=new WeakMap,or=new WeakMap,Ft=new WeakMap,kr=new WeakMap,Dr=new WeakMap,jr=new WeakMap,gi=new WeakMap,Gr=new WeakMap,vi=new WeakMap,Zr=new WeakMap,zo=new WeakMap,dt=new WeakSet,Fu=function(){try{De(this,or,Pt(()=>I(this,pi).call(this,I(this,Kt))))}catch(t){this.error(t)}De(this,nr,!1)},Bu=function(){const t=I(this,Tr).pending;t&&(De(this,Ft,Pt(()=>t(I(this,Kt)))),jt.enqueue(()=>{var e=et(this,dt,ps).call(this);De(this,or,et(this,dt,Bo).call(this,()=>(jt.ensure(),Pt(()=>I(this,pi).call(this,e))))),I(this,Gr)>0?et(this,dt,Vo).call(this):(ni(I(this,Ft),()=>{De(this,Ft,null)}),De(this,nr,!1))}))},ps=function(){var t=I(this,Kt);return I(this,nr)&&(De(this,jr,xt()),I(this,Kt).before(I(this,jr)),t=I(this,jr)),t},Bo=function(t){var e=Me,r=Ne,n=Be;Ht(I(this,Er)),Et(I(this,Er)),Ti(I(this,Er).ctx);try{return t()}catch(o){return js(o),null}finally{Ht(e),Et(r),Ti(n)}},Vo=function(){const t=I(this,Tr).pending;I(this,or)!==null&&(De(this,Dr,document.createDocumentFragment()),I(this,Dr).append(I(this,jr)),yl(I(this,or),I(this,Dr))),I(this,Ft)===null&&De(this,Ft,Pt(()=>t(I(this,Kt))))},gs=function(t){var e;if(!this.has_pending_snippet()){this.parent&&et(e=this.parent,dt,gs).call(e,t);return}De(this,Gr,I(this,Gr)+t),I(this,Gr)===0&&(De(this,nr,!1),I(this,Ft)&&ni(I(this,Ft),()=>{De(this,Ft,null)}),I(this,Dr)&&(I(this,Kt).before(I(this,Dr)),De(this,Dr,null)))};function Jo(){return Me.b}function od(){Me===null&&_h();var i=Me.b;return i===null?0:i.get_effect_pending()}function qi(i,t,e,r){const n=Xi;if(e.length===0&&i.length===0){r(t.map(n));return}var o=Le,a=Me,s=so();function l(){Promise.all(e.map(c=>Ks(c))).then(c=>{s();try{r([...t.map(n),...c])}catch(u){(a.f&gr)===0&&Ar(u,a)}o==null||o.deactivate(),Hr()}).catch(c=>{Ar(c,a)})}i.length>0?Promise.all(i).then(()=>{s();try{return l()}finally{o==null||o.deactivate(),Hr()}}):l()}function Ys(i,t){qi(i,[],[],t)}function so(){var i=Me,t=Ne,e=Be,r=Le;return function(o=!0){Ht(i),Et(t),Ti(e),o&&(r==null||r.activate())}}async function ad(i){var t=so(),e=await i;return()=>(t(),e)}async function $o(i){var t=await i;return()=>t}async function*sd(i){var r,n;const t=((r=i[Symbol.asyncIterator])==null?void 0:r.call(i))??((n=i[Symbol.iterator])==null?void 0:n.call(i));if(t===void 0)throw new TypeError("value is not async iterable");let e=!1;try{for(;;){const{done:o,value:a}=(await $o(t.next()))();if(o){e=!0;break}yield a}}finally{if(e&&t.return!==void 0)return(await $o(t.return()))().value}}function Hr(){Ht(null),Et(null),Ti(null)}async function ld(i,t){var e=Jo(),r=Le,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=Me,a=de,s=void 0;a&&(yt(),s=$r(!1));try{var l=t(i)}finally{s&&(Qe(s),yt())}try{await l}catch(c){uo(o)||Ar(c,o)}finally{e.update_pending_count(-1),r.decrement(n),Hr()}}function cd(i){const t=so();var e=Jo(),r=Le,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=Me,a=null;const s=u=>{a={error:u},uo(o)||Ar(u,o)};var l=Promise.resolve(i[0]()).catch(s),c=[l];for(const u of i.slice(1))l=l.then(()=>{if(a)throw a.error;if(uo(o))throw Jr;try{return t(),u()}finally{Hr()}}).catch(s).finally(()=>{Hr()}),c.push(l);return l.then(()=>Promise.resolve()).finally(()=>{e.update_pending_count(-1),r.decrement(n)}),c}function Xi(i){var t=pt|St,e=Ne!==null&&(Ne.f&pt)!==0?Ne:null;return Me!==null&&(Me.f|=Kr),{ctx:Be,deps:null,effects:null,equals:Ls,f:t,fn:i,reactions:null,rv:0,v:st,wv:0,parent:e??Me,ac:null}}function Ks(i,t){let e=Me;e===null&&hh();var r=e.b,n=void 0,o=Gt(st),a=!Ne,s=new Map;return kd(()=>{var d;var l=ks();n=l.promise;try{Promise.resolve(i()).then(l.resolve,l.reject).then(()=>{c===Le&&c.committed&&c.deactivate(),Hr()})}catch(p){l.reject(p),Hr()}var c=Le;if(a){var u=!r.is_pending();r.update_pending_count(1),c.increment(u),(d=s.get(c))==null||d.reject(Jr),s.delete(c),s.set(c,l)}const h=(p,_=void 0)=>{if(c.activate(),_)_!==Jr&&(o.f|=zr,mr(o,_));else{(o.f&zr)!==0&&(o.f^=zr),mr(o,p);for(const[f,g]of s){if(s.delete(f),f===c)break;g.reject(Jr)}}a&&(r.update_pending_count(-1),c.decrement(u))};l.promise.then(h,p=>h(null,p||"unknown"))}),Wt(()=>{for(const l of s.values())l.reject(Jr)}),new Promise(l=>{function c(u){function h(){u===n?l(o):c(n)}u.then(h,h)}c(n)})}function ne(i){const t=Xi(i);return Tl(t),t}function ea(i){const t=Xi(i);return t.equals=Hs,t}function Qs(i){var t=i.effects;if(t!==null){i.effects=null;for(var e=0;e<t.length;e+=1)gt(t[e])}}function ud(i){for(var t=i.parent;t!==null;){if((t.f&pt)===0)return(t.f&gr)===0?t:null;t=t.parent}return null}function ta(i){var t,e=Me;Ht(ud(i));try{i.f&=~Qr,Qs(i),t=Pl(i)}finally{Ht(e)}return t}function Js(i){var t=ta(i);if(i.equals(t)||(Le!=null&&Le.is_fork||(i.v=t),i.wv=Sl()),!ai)if(rt!==null)(ii()||Le!=null&&Le.is_fork)&&rt.set(i,t);else{var e=(i.f&lr)===0?pr:bt;mt(i,e)}}let lo=new Set;const Nr=new Map;function hd(i){lo=i}let $s=!1;function Gt(i,t){var e={f:0,v:i,reactions:null,equals:Ls,rv:0,wv:0};return e}function Ce(i,t){const e=Gt(i);return Tl(e),e}function co(i,t=!1,e=!0){const r=Gt(i);return t||(r.equals=Hs),r}function dd(i,t){return me(i,Xe(()=>m(i))),t}function me(i,t,e=!1){Ne!==null&&(!wr||(Ne.f&Qn)!==0)&&Vs()&&(Ne.f&(pt|fr|Jn|Qn))!==0&&!(Rt!=null&&Rt.includes(i))&&Ch();let r=e?ht(t):t;return mr(i,r)}function mr(i,t){if(!i.equals(t)){var e=i.v;ai?Nr.set(i,t):Nr.set(i,e),i.v=t;var r=jt.ensure();r.capture(i,e),(i.f&pt)!==0&&((i.f&St)!==0&&ta(i),mt(i,(i.f&lr)!==0?bt:pr)),i.wv=Sl(),tl(i,St),Me!==null&&(Me.f&bt)!==0&&(Me.f&(Cr|Lr))===0&&(er===null?Ad([i]):er.push(i)),!r.is_fork&&lo.size>0&&!$s&&el()}return t}function el(){$s=!1;var i=oi;ho(!0);const t=Array.from(lo);try{for(const e of t)(e.f&bt)!==0&&mt(e,pr),Si(e)&&Ci(e)}finally{ho(i)}lo.clear()}function Yi(i,t=1){var e=m(i),r=t===1?e++:e--;return me(i,e),r}function fd(i,t=1){var e=m(i);return me(i,t===1?++e:--e)}function Ki(i){me(i,i.v+1)}function tl(i,t){var e=i.reactions;if(e!==null)for(var r=e.length,n=0;n<r;n++){var o=e[n],a=o.f,s=(a&St)===0;if(s&&mt(o,t),(a&pt)!==0){var l=o;rt==null||rt.delete(l),(a&Qr)===0&&(a&lr&&(o.f|=Qr),tl(l,pr))}else s&&((a&fr)!==0&&ur!==null&&ur.add(o),ri(o))}}function ht(i){if(typeof i!="object"||i===null||Ct in i)return i;const t=qn(i);if(t!==xs&&t!==eh)return i;var e=new Map,r=Xr(i),n=Ce(0),o=si,a=s=>{if(si===o)return s();var l=Ne,c=si;Et(null),kl(o);var u=s();return Et(l),kl(c),u};return r&&e.set("length",Ce(i.length)),new Proxy(i,{defineProperty(s,l,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&kh();var u=e.get(l);return u===void 0?u=a(()=>{var h=Ce(c.value);return e.set(l,h),h}):me(u,c.value,!0),!0},deleteProperty(s,l){var c=e.get(l);if(c===void 0){if(l in s){const u=a(()=>Ce(st));e.set(l,u),Ki(n)}}else me(c,st),Ki(n);return!0},get(s,l,c){var p;if(l===Ct)return i;var u=e.get(l),h=l in s;if(u===void 0&&(!h||(p=sr(s,l))!=null&&p.writable)&&(u=a(()=>{var _=ht(h?s[l]:st),f=Ce(_);return f}),e.set(l,u)),u!==void 0){var d=m(u);return d===st?void 0:d}return Reflect.get(s,l,c)},getOwnPropertyDescriptor(s,l){var c=Reflect.getOwnPropertyDescriptor(s,l);if(c&&"value"in c){var u=e.get(l);u&&(c.value=m(u))}else if(c===void 0){var h=e.get(l),d=h==null?void 0:h.v;if(h!==void 0&&d!==st)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return c},has(s,l){var d;if(l===Ct)return!0;var c=e.get(l),u=c!==void 0&&c.v!==st||Reflect.has(s,l);if(c!==void 0||Me!==null&&(!u||(d=sr(s,l))!=null&&d.writable)){c===void 0&&(c=a(()=>{var p=u?ht(s[l]):st,_=Ce(p);return _}),e.set(l,c));var h=m(c);if(h===st)return!1}return u},set(s,l,c,u){var C;var h=e.get(l),d=l in s;if(r&&l==="length")for(var p=c;p<h.v;p+=1){var _=e.get(p+"");_!==void 0?me(_,st):p in s&&(_=a(()=>Ce(st)),e.set(p+"",_))}if(h===void 0)(!d||(C=sr(s,l))!=null&&C.writable)&&(h=a(()=>Ce(void 0)),me(h,ht(c)),e.set(l,h));else{d=h.v!==st;var f=a(()=>ht(c));me(h,f)}var g=Reflect.getOwnPropertyDescriptor(s,l);if(g!=null&&g.set&&g.set.call(u,c),!d){if(r&&typeof l=="string"){var y=e.get("length"),k=Number(l);Number.isInteger(k)&&k>=y.v&&me(y,k+1)}Ki(n)}return!0},ownKeys(s){m(n);var l=Reflect.ownKeys(s).filter(h=>{var d=e.get(h);return d===void 0||d.v!==st});for(var[c,u]of e)u.v!==st&&!(c in s)&&l.push(c);return l},setPrototypeOf(){Sh()}})}function ki(i){try{if(i!==null&&typeof i=="object"&&Ct in i)return i[Ct]}catch{}return i}function rl(i,t){return Object.is(ki(i),ki(t))}function pd(i,t,e=!0){try{i===t!=(ki(i)===ki(t))&&Ds(e?"===":"!==")}catch{}return i===t===e}function gd(i,t,e=!0){return i==t!=(ki(i)==ki(t))&&Ds(),i==t===e}var ra,il,ia,nl,ol;function na(){if(ra===void 0){ra=window,il=document,ia=/Firefox/.test(navigator.userAgent);var i=Element.prototype,t=Node.prototype,e=Text.prototype;nl=sr(t,"firstChild").get,ol=sr(t,"nextSibling").get,Ts(i)&&(i.__click=void 0,i.__className=void 0,i.__attributes=null,i.__style=void 0,i.__e=void 0),Ts(e)&&(e.__t=void 0)}}function xt(i=""){return document.createTextNode(i)}function ot(i){return nl.call(i)}function Zt(i){return ol.call(i)}function Z(i,t){if(!de)return ot(i);var e=ot(Se);if(e===null)e=Se.appendChild(xt());else if(t&&e.nodeType!==eo){var r=xt();return e==null||e.before(r),Qe(r),r}return Qe(e),e}function K(i,t=!1){if(!de){var e=ot(i);return e instanceof Comment&&e.data===""?Zt(e):e}if(t&&(Se==null?void 0:Se.nodeType)!==eo){var r=xt();return Se==null||Se.before(r),Qe(r),r}return Se}function ue(i,t=1,e=!1){let r=de?Se:i;for(var n;t--;)n=r,r=Zt(r);if(!de)return r;if(e&&(r==null?void 0:r.nodeType)!==eo){var o=xt();return r===null?n==null||n.after(o):r.before(o),Qe(o),o}return Qe(r),r}function oa(i){i.textContent=""}function al(){return!1}function vd(i,t,e){let r=e?{is:e}:void 0;return t?document.createElementNS(t,i,r):document.createElement(i,r)}function md(){return document.createDocumentFragment()}function _d(i=""){return document.createComment(i)}function wd(i,t,e=""){if(t.startsWith("xlink:")){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e);return}return i.setAttribute(t,e)}function sl(i,t){if(t){const e=document.body;i.autofocus=!0,Ut(()=>{document.activeElement===e&&i.focus()})}}function bd(i){de&&ot(i)!==null&&oa(i)}let ll=!1;function cl(){ll||(ll=!0,document.addEventListener("reset",i=>{Promise.resolve().then(()=>{var t;if(!i.defaultPrevented)for(const e of i.target.elements)(t=e.__on_r)==null||t.call(e)})},{capture:!0}))}function Lt(i,t,e,r=!0){r&&e();for(var n of t)i.addEventListener(n,e);Wt(()=>{for(var o of t)i.removeEventListener(o,e)})}function Fr(i){var t=Ne,e=Me;Et(null),Ht(null);try{return i()}finally{Et(t),Ht(e)}}function Qi(i,t,e,r=e){i.addEventListener(t,()=>Fr(e));const n=i.__on_r;n?i.__on_r=()=>{n(),r(!0)}:i.__on_r=()=>r(!0),cl()}function aa(i){Me===null&&(Ne===null&&mh(),vh()),ai&&gh()}function yd(i,t){var e=t.last;e===null?t.last=t.first=i:(e.next=i,i.prev=e,t.last=i)}function zt(i,t,e){var r=Me;r!==null&&(r.f&Vt)!==0&&(i|=Vt);var n={ctx:Be,deps:null,nodes:null,f:i|St|lr,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(e)try{Ci(n),n.f|=ji}catch(s){throw gt(n),s}else t!==null&&ri(n);var o=n;if(e&&o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&Kr)===0&&(o=o.first,(i&fr)!==0&&(i&cr)!==0&&o!==null&&(o.f|=cr)),o!==null&&(o.parent=r,r!==null&&yd(o,r),Ne!==null&&(Ne.f&pt)!==0&&(i&Lr)===0)){var a=Ne;(a.effects??(a.effects=[])).push(o)}return n}function ii(){return Ne!==null&&!wr}function Wt(i){const t=zt(Yn,null,!1);return mt(t,bt),t.teardown=i,t}function ut(i){aa();var t=Me.f,e=!Ne&&(t&Cr)!==0&&(t&ji)===0;if(e){var r=Be;(r.e??(r.e=[])).push(i)}else return ul(i)}function ul(i){return zt(Xn|Cs,i,!1)}function hl(i){return aa(),zt(Yn|Cs,i,!0)}function dl(i){return zt(Qn,i,!0)}function fl(i){jt.ensure();const t=zt(Lr|Kr,i,!0);return()=>{gt(t)}}function xd(i){jt.ensure();const t=zt(Lr|Kr,i,!0);return(e={})=>new Promise(r=>{e.outro?ni(t,()=>{gt(t),r(void 0)}):(gt(t),r(void 0))})}function qt(i){return zt(Xn,i,!1)}function Td(i,t){var e=Be,r={effect:null,ran:!1,deps:i};e.l.$.push(r),r.effect=ct(()=>{i(),!r.ran&&(r.ran=!0,Xe(t))})}function Ed(){var i=Be;ct(()=>{for(var t of i.l.$){t.deps();var e=t.effect;(e.f&bt)!==0&&mt(e,pr),Si(e)&&Ci(e),t.ran=!1}})}function kd(i){return zt(Jn|Kr,i,!0)}function ct(i,t=0){return zt(Yn|t,i,!0)}function Re(i,t=[],e=[],r=[]){qi(r,t,e,n=>{zt(Yn,()=>i(...n.map(m)),!0)})}function Sd(i,t=[],e=[],r=[]){var n=Le,o=e.length>0||r.length>0;o&&n.increment(!0),qi(r,t,e,a=>{zt(Xn,()=>i(...a.map(m)),!1),o&&n.decrement(!0)})}function _r(i,t=0){var e=zt(fr|t,i,!0);return e}function pl(i,t=0){var e=zt(Ss|t,i,!0);return e}function Pt(i){return zt(Cr|Kr,i,!0)}function gl(i){var t=i.teardown;if(t!==null){const e=ai,r=Ne;xl(!0),Et(null);try{t.call(null)}finally{xl(e),Et(r)}}}function vl(i,t=!1){var e=i.first;for(i.first=i.last=null;e!==null;){const n=e.ac;n!==null&&Fr(()=>{n.abort(Jr)});var r=e.next;(e.f&Lr)!==0?e.parent=null:gt(e,t),e=r}}function Cd(i){for(var t=i.first;t!==null;){var e=t.next;(t.f&Cr)===0&>(t),t=e}}function gt(i,t=!0){var e=!1;(t||(i.f&Wo)!==0)&&i.nodes!==null&&i.nodes.end!==null&&(ml(i.nodes.start,i.nodes.end),e=!0),vl(i,t&&!e),fo(i,0),mt(i,gr);var r=i.nodes&&i.nodes.t;if(r!==null)for(const o of r)o.stop();gl(i);var n=i.parent;n!==null&&n.first!==null&&_l(i),i.next=i.prev=i.teardown=i.ctx=i.deps=i.fn=i.nodes=i.ac=null}function ml(i,t){for(;i!==null;){var e=i===t?null:Zt(i);i.remove(),i=e}}function _l(i){var t=i.parent,e=i.prev,r=i.next;e!==null&&(e.next=r),r!==null&&(r.prev=e),t!==null&&(t.first===i&&(t.first=r),t.last===i&&(t.last=e))}function ni(i,t,e=!0){var r=[];wl(i,r,!0);var n=()=>{e&>(i),t&&t()},o=r.length;if(o>0){var a=()=>--o||n();for(var s of r)s.out(a)}else n()}function wl(i,t,e){if((i.f&Vt)===0){i.f^=Vt;var r=i.nodes&&i.nodes.t;if(r!==null)for(const s of r)(s.is_global||e)&&t.push(s);for(var n=i.first;n!==null;){var o=n.next,a=(n.f&cr)!==0||(n.f&Cr)!==0&&(i.f&fr)!==0;wl(n,t,a?e:!1),n=o}}}function sa(i){bl(i,!0)}function bl(i,t){if((i.f&Vt)!==0){i.f^=Vt,(i.f&bt)===0&&(mt(i,St),ri(i));for(var e=i.first;e!==null;){var r=e.next,n=(e.f&cr)!==0||(e.f&Cr)!==0;bl(e,n?t:!1),e=r}var o=i.nodes&&i.nodes.t;if(o!==null)for(const a of o)(a.is_global||t)&&a.in()}}function uo(i=Me){return(i.f&gr)!==0}function yl(i,t){if(i.nodes)for(var e=i.nodes.start,r=i.nodes.end;e!==null;){var n=e===r?null:Zt(e);t.append(e),e=n}}let Br=null;function Pd(i){var t=Br;try{if(Br=new Set,Xe(i),t!==null)for(var e of Br)t.add(e);return Br}finally{Br=t}}function Rd(i){for(var t of Pd(i))mr(t,t.v)}let oi=!1;function ho(i){oi=i}let ai=!1;function xl(i){ai=i}let Ne=null,wr=!1;function Et(i){Ne=i}let Me=null;function Ht(i){Me=i}let Rt=null;function Tl(i){Ne!==null&&(Rt===null?Rt=[i]:Rt.push(i))}let At=null,Xt=0,er=null;function Ad(i){er=i}let El=1,Ji=0,si=Ji;function kl(i){si=i}function Sl(){return++El}function Si(i){var t=i.f;if((t&St)!==0)return!0;if(t&pt&&(i.f&=~Qr),(t&pr)!==0){var e=i.deps;if(e!==null)for(var r=e.length,n=0;n<r;n++){var o=e[n];if(Si(o)&&Js(o),o.wv>i.wv)return!0}(t&lr)!==0&&rt===null&&mt(i,bt)}return!1}function Cl(i,t,e=!0){var r=i.reactions;if(r!==null&&!(Rt!=null&&Rt.includes(i)))for(var n=0;n<r.length;n++){var o=r[n];(o.f&pt)!==0?Cl(o,t,!1):t===o&&(e?mt(o,St):(o.f&bt)!==0&&mt(o,pr),ri(o))}}function Pl(i){var _;var t=At,e=Xt,r=er,n=Ne,o=Rt,a=Be,s=wr,l=si,c=i.f;At=null,Xt=0,er=null,Ne=(c&(Cr|Lr))===0?i:null,Rt=null,Ti(i.ctx),wr=!1,si=++Ji,i.ac!==null&&(Fr(()=>{i.ac.abort(Jr)}),i.ac=null);try{i.f|=qo;var u=i.fn,h=u(),d=i.deps;if(At!==null){var p;if(fo(i,Xt),d!==null&&Xt>0)for(d.length=Xt+At.length,p=0;p<At.length;p++)d[Xt+p]=At[p];else i.deps=d=At;if(ii()&&(i.f&lr)!==0)for(p=Xt;p<d.length;p++)((_=d[p]).reactions??(_.reactions=[])).push(i)}else d!==null&&Xt<d.length&&(fo(i,Xt),d.length=Xt);if(Vs()&&er!==null&&!wr&&d!==null&&(i.f&(pt|pr|St))===0)for(p=0;p<er.length;p++)Cl(er[p],i);return n!==null&&n!==i&&(Ji++,er!==null&&(r===null?r=er:r.push(...er))),(i.f&zr)!==0&&(i.f^=zr),h}catch(f){return js(f)}finally{i.f^=qo,At=t,Xt=e,er=r,Ne=n,Rt=o,Ti(a),wr=s,si=l}}function Id(i,t){let e=t.reactions;if(e!==null){var r=$u.call(e,i);if(r!==-1){var n=e.length-1;n===0?e=t.reactions=null:(e[r]=e[n],e.pop())}}e===null&&(t.f&pt)!==0&&(At===null||!At.includes(t))&&(mt(t,pr),(t.f&lr)!==0&&(t.f^=lr,t.f&=~Qr),Qs(t),fo(t,0))}function fo(i,t){var e=i.deps;if(e!==null)for(var r=t;r<e.length;r++)Id(i,e[r])}function Ci(i){var t=i.f;if((t&gr)===0){mt(i,bt);var e=Me,r=oi;Me=i,oi=!0;try{(t&(fr|Ss))!==0?Cd(i):vl(i),gl(i);var n=Pl(i);i.teardown=typeof n=="function"?n:null,i.wv=El;var o;Go&&Fh&&(i.f&St)!==0&&i.deps}finally{oi=r,Me=e}}}async function la(){await Promise.resolve(),Mt()}function Od(){return jt.ensure().settled()}function m(i){var t=i.f,e=(t&pt)!==0;if(Br==null||Br.add(i),Ne!==null&&!wr){var r=Me!==null&&(Me.f&gr)!==0;if(!r&&!(Rt!=null&&Rt.includes(i))){var n=Ne.deps;if((Ne.f&qo)!==0)i.rv<Ji&&(i.rv=Ji,At===null&&n!==null&&n[Xt]===i?Xt++:At===null?At=[i]:At.includes(i)||At.push(i));else{(Ne.deps??(Ne.deps=[])).push(i);var o=i.reactions;o===null?i.reactions=[Ne]:o.includes(Ne)||o.push(Ne)}}}if(ai){if(Nr.has(i))return Nr.get(i);if(e){var a=i,s=a.v;return((a.f&bt)===0&&a.reactions!==null||Al(a))&&(s=ta(a)),Nr.set(a,s),s}}else e&&(!(rt!=null&&rt.has(i))||Le!=null&&Le.is_fork&&!ii())&&(a=i,Si(a)&&Js(a),oi&&ii()&&(a.f&lr)===0&&Rl(a));if(rt!=null&&rt.has(i))return rt.get(i);if((i.f&zr)!==0)throw i.v;return i.v}function Rl(i){if(i.deps!==null){i.f^=lr;for(const t of i.deps)(t.reactions??(t.reactions=[])).push(i),(t.f&pt)!==0&&(t.f&lr)===0&&Rl(t)}}function Al(i){if(i.v===st)return!0;if(i.deps===null)return!1;for(const t of i.deps)if(Nr.has(t)||(t.f&pt)!==0&&Al(t))return!0;return!1}function Dd(i){return i&&m(i)}function Xe(i){var t=wr;try{return wr=!0,i()}finally{wr=t}}const Md=-7169;function mt(i,t){i.f=i.f&Md|t}function Ld(i,t){var e={};for(var r in i)t.includes(r)||(e[r]=i[r]);for(var n of Object.getOwnPropertySymbols(i))Object.propertyIsEnumerable.call(i,n)&&!t.includes(n)&&(e[n]=i[n]);return e}function ca(i){if(!(typeof i!="object"||!i||i instanceof EventTarget)){if(Ct in i)po(i);else if(!Array.isArray(i))for(let t in i){const e=i[t];typeof e=="object"&&e&&Ct in e&&po(e)}}}function po(i,t=new Set){if(typeof i=="object"&&i!==null&&!(i instanceof EventTarget)&&!t.has(i)){t.add(i),i instanceof Date&&i.getTime();for(let r in i)try{po(i[r],t)}catch{}const e=qn(i);if(e!==Object.prototype&&e!==Array.prototype&&e!==Map.prototype&&e!==Set.prototype&&e!==Date.prototype){const r=ys(e);for(let n in r){const o=r[n].get;if(o)try{o.call(i)}catch{}}}}}function zd(i,t){var e;if(As(),de){const r=(e=window.__svelte)==null?void 0:e.h;if(r!=null&&r.has(i))return r.get(i);Dh()}return t()}const Il=new Set,ua=new Set;function Hd(i){if(!de)return;i.removeAttribute("onload"),i.removeAttribute("onerror");const t=i.__e;t!==void 0&&(i.__e=void 0,queueMicrotask(()=>{i.isConnected&&i.dispatchEvent(t)}))}function Ol(i,t,e,r={}){function n(o){if(r.capture||$i.call(t,o),!o.cancelBubble)return Fr(()=>e==null?void 0:e.call(this,o))}return i.startsWith("pointer")||i.startsWith("touch")||i==="wheel"?Ut(()=>{t.addEventListener(i,n,r)}):t.addEventListener(i,n,r),n}function go(i,t,e,r,n){var o={capture:r,passive:n},a=Ol(i,t,e,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Wt(()=>{t.removeEventListener(i,a,o)})}function Ir(i){for(var t=0;t<i.length;t++)Il.add(i[t]);for(var e of ua)e(i)}let Dl=null;function $i(i){var g;var t=this,e=t.ownerDocument,r=i.type,n=((g=i.composedPath)==null?void 0:g.call(i))||[],o=n[0]||i.target;Dl=i;var a=0,s=Dl===i&&i.__root;if(s){var l=n.indexOf(s);if(l!==-1&&(t===document||t===window)){i.__root=t;return}var c=n.indexOf(t);if(c===-1)return;l<=c&&(a=l)}if(o=n[a]||i.target,o!==t){Yr(i,"currentTarget",{configurable:!0,get(){return o||e}});var u=Ne,h=Me;Et(null),Ht(null);try{for(var d,p=[];o!==null;){var _=o.assignedSlot||o.parentNode||o.host||null;try{var f=o["__"+r];f!=null&&(!o.disabled||i.target===o)&&f.call(o,i)}catch(y){d?p.push(y):d=y}if(i.cancelBubble||_===t||_===null)break;o=_}if(d){for(let y of p)queueMicrotask(()=>{throw y});throw d}}finally{i.__root=t,delete i.currentTarget,Et(u),Ht(h)}}}function Nd(i,t,e,r,n,o=!1,a=!1){var c,u;let s,l;try{s=i()}catch(h){l=h}if(typeof s!="function"&&(o||s!=null||l)){const h=r==null?void 0:r[Bt];n?`${h}${n[0]}${n[1]}`:`${h}`;const d=((c=e[0])==null?void 0:c.eventPhase)<Event.BUBBLING_PHASE?"capture":"";if(((u=e[0])==null?void 0:u.type)+d,Oh(),l)throw l}s==null||s.apply(t,e)}function vo(i){var t=document.createElement("template");return t.innerHTML=i.replaceAll("<!>","<!---->"),t.content}function _t(i,t){var e=Me;e.nodes===null&&(e.nodes={start:i,end:t,a:null,t:null})}function pe(i,t){var e=(t&Uo)!==0,r=(t&ms)!==0,n,o=!i.startsWith("<!>");return()=>{if(de)return _t(Se,null),Se;n===void 0&&(n=vo(o?i:"<!>"+i),e||(n=ot(n)));var a=r||ia?document.importNode(n,!0):n.cloneNode(!0);if(e){var s=ot(a),l=a.lastChild;_t(s,l)}else _t(a,a);return a}}function Ml(i,t,e="svg"){var r=!i.startsWith("<!>"),n=(t&Uo)!==0,o=`<${e}>${r?i:"<!>"+i}</${e}>`,a;return()=>{if(de)return _t(Se,null),Se;if(!a){var s=vo(o),l=ot(s);if(n)for(a=document.createDocumentFragment();ot(l);)a.appendChild(ot(l));else a=ot(l)}var c=a.cloneNode(!0);if(n){var u=ot(c),h=c.lastChild;_t(u,h)}else _t(c,c);return c}}function re(i,t){return Ml(i,t,"svg")}function Fd(i,t){return Ml(i,t,"math")}function Ll(i,t){var e=md();for(var r of i){if(typeof r=="string"){e.append(xt(r));continue}if(r===void 0||r[0][0]==="/"){e.append(_d(r?r[0].slice(3):""));continue}const[s,l,...c]=r,u=s==="svg"?Gn:s==="math"?ws:t;var n=vd(s,u,l==null?void 0:l.is);for(var o in l)wd(n,o,l[o]);if(c.length>0){var a=n.tagName==="TEMPLATE"?n.content:n;a.append(Ll(c,n.tagName==="foreignObject"?void 0:u))}e.append(n)}return e}function Bd(i,t){var e=(t&Uo)!==0,r=(t&ms)!==0,n;return()=>{if(de)return _t(Se,null),Se;if(n===void 0){const l=(t&Ku)!==0?Gn:(t&Qu)!==0?ws:void 0;n=Ll(i,l),e||(n=ot(n))}var o=r||ia?document.importNode(n,!0):n.cloneNode(!0);if(e){var a=ot(o),s=o.lastChild;_t(a,s)}else _t(o,o);return o}}function Vd(i){return()=>Ud(i())}function Ud(i){if(de)return i;const t=i.nodeType===Rs,e=i.tagName==="SCRIPT"?[i]:i.querySelectorAll("script"),r=Me;for(const o of e){const a=document.createElement("script");for(var n of o.attributes)a.setAttribute(n.name,n.value);a.textContent=o.textContent,(t?i.firstChild===o:i===o)&&(r.nodes.start=a),(t?i.lastChild===o:i===o)&&(r.nodes.end=a),o.replaceWith(a)}return i}function kt(i=""){if(!de){var t=xt(i+"");return _t(t,t),t}var e=Se;return e.nodeType!==eo&&(e.before(e=xt()),Qe(e)),_t(e,e),e}function te(){if(de)return _t(Se,null),Se;var i=document.createDocumentFragment(),t=document.createComment(""),e=xt();return i.append(t,e),_t(t,e),i}function S(i,t){if(de){var e=Me;((e.f&ji)===0||e.nodes.end===null)&&(e.nodes.end=Se),yt();return}i!==null&&i.before(t)}function jd(){var i,t;if(de&&Se&&Se.nodeType===vr&&((i=Se.textContent)!=null&&i.startsWith("$"))){const e=Se.textContent.substring(1);return yt(),e}return(t=window.__svelte??(window.__svelte={})).uid??(t.uid=1),`c${window.__svelte.uid++}`}const Gd=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Zd(i){return Gd.includes(i)||i.toLowerCase()==="!doctype"}function Wd(i){return i.endsWith("capture")&&i!=="gotpointercapture"&&i!=="lostpointercapture"}const qd=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Xd(i){return qd.includes(i)}const Yd={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Kd(i){return i=i.toLowerCase(),Yd[i]??i}const Qd=["touchstart","touchmove"];function Jd(i){return Qd.includes(i)}const $d=["textarea","script","style","title"];function ef(i){return $d.includes(i)}function zl(i){return i==null?void 0:i.replace(/\//g,"/")}let mo=!0;function Pi(i){mo=i}function Ye(i,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(i.__t??(i.__t=i.nodeValue))&&(i.__t=e,i.nodeValue=e+"")}function ha(i,t){return Nl(i,t)}function Hl(i,t){na(),t.intro=t.intro??!1;const e=t.target,r=de,n=Se;try{for(var o=ot(e);o&&(o.nodeType!==vr||o.data!==jo);)o=Zt(o);if(!o)throw qr;lt(!0),Qe(o);const a=Nl(i,{...t,anchor:o});return lt(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
5
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==qr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Th(),na(),oa(e),lt(!1),ha(i,t)}finally{lt(r),Qe(n)}}const Ri=new Map;function Nl(i,{target:t,anchor:e,props:r={},events:n,context:o,intro:a=!0}){na();var s=new Set,l=h=>{for(var d=0;d<h.length;d++){var p=h[d];if(!s.has(p)){s.add(p);var _=Jd(p);t.addEventListener(p,$i,{passive:_});var f=Ri.get(p);f===void 0?(document.addEventListener(p,$i,{passive:_}),Ri.set(p,1)):Ri.set(p,f+1)}}};l(Zn(Il)),ua.add(l);var c=void 0,u=xd(()=>{var h=e??t.appendChild(xt());return Xs(h,{pending:()=>{}},d=>{if(o){Je({});var p=Be;p.c=o}if(n&&(r.$$events=n),de&&_t(d,null),mo=a,c=i(d,r)||{},mo=!0,de&&(Me.nodes.end=Se,Se===null||Se.nodeType!==vr||Se.data!==jn))throw Gi(),qr;o&&$e()}),()=>{var _;for(var d of s){t.removeEventListener(d,$i);var p=Ri.get(d);--p===0?(document.removeEventListener(d,$i),Ri.delete(d)):Ri.set(d,p)}ua.delete(l),h!==e&&((_=h.parentNode)==null||_.removeChild(h))}});return da.set(c,u),c}let da=new WeakMap;function Fl(i,t){const e=da.get(i);return e?(da.delete(i),e(t)):Promise.resolve()}function tf(i){const t=i();t&&Zd(t)&&Bh()}function rf(i){const t=i();t&&!(typeof t=="string")&&uh()}function nf(i,t){i!=null&&typeof i.subscribe!="function"&&ch()}function Bl(i){return i.toString=()=>(lh(),""),i}class Ai{constructor(t,e=!0){nt(this,"anchor");ve(this,hr,new Map);ve(this,Sr,new Map);ve(this,Qt,new Map);ve(this,mi,new Set);ve(this,dn,!0);ve(this,fn,()=>{var t=Le;if(I(this,hr).has(t)){var e=I(this,hr).get(t),r=I(this,Sr).get(e);if(r)sa(r),I(this,mi).delete(e);else{var n=I(this,Qt).get(e);n&&(I(this,Sr).set(e,n.effect),I(this,Qt).delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[o,a]of I(this,hr)){if(I(this,hr).delete(o),o===t)break;const s=I(this,Qt).get(a);s&&(gt(s.effect),I(this,Qt).delete(a))}for(const[o,a]of I(this,Sr)){if(o===e||I(this,mi).has(o))continue;const s=()=>{if(Array.from(I(this,hr).values()).includes(o)){var c=document.createDocumentFragment();yl(a,c),c.append(xt()),I(this,Qt).set(o,{effect:a,fragment:c})}else gt(a);I(this,mi).delete(o),I(this,Sr).delete(o)};I(this,dn)||!r?(I(this,mi).add(o),ni(a,s,!1)):s()}}});ve(this,Ho,t=>{I(this,hr).delete(t);const e=Array.from(I(this,hr).values());for(const[r,n]of I(this,Qt))e.includes(r)||(gt(n.effect),I(this,Qt).delete(r))});this.anchor=t,De(this,dn,e)}ensure(t,e){var r=Le,n=al();if(e&&!I(this,Sr).has(t)&&!I(this,Qt).has(t))if(n){var o=document.createDocumentFragment(),a=xt();o.append(a),I(this,Qt).set(t,{effect:Pt(()=>e(a)),fragment:o})}else I(this,Sr).set(t,Pt(()=>e(this.anchor)));if(I(this,hr).set(r,t),n){for(const[s,l]of I(this,Sr))s===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[s,l]of I(this,Qt))s===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(I(this,fn)),r.ondiscard(I(this,Ho))}else de&&(this.anchor=Se),I(this,fn).call(this)}}hr=new WeakMap,Sr=new WeakMap,Qt=new WeakMap,mi=new WeakMap,dn=new WeakMap,fn=new WeakMap,Ho=new WeakMap;function It(i,t,...e){var r=new Ai(i);_r(()=>{const n=t()??null;r.ensure(n,n&&(o=>n(o,...e)))},cr)}function of(i,t){const e=(r,...n)=>{var o=Zi;Bs(i);try{return t(r,...n)}finally{Bs(o)}};return Bl(e),e}function af(i){return(t,...e)=>{var l;var r=i(...e),n;if(de)n=Se,yt();else{var o=r.render().trim(),a=vo(o);n=ot(a),t.before(n)}const s=(l=r.setup)==null?void 0:l.call(r,n);_t(n,n),typeof s=="function"&&Wt(s)}}function sf(){return Ne===null&&xh(),(Ne.ac??(Ne.ac=new AbortController)).signal}function fa(i){Be===null&&yi(),ut(()=>{const t=Xe(i);if(typeof t=="function")return t})}function pa(i){Be===null&&yi(),fa(()=>()=>Xe(i))}function lf(i,t,{bubbles:e=!1,cancelable:r=!1}={}){return new CustomEvent(i,{detail:t,bubbles:e,cancelable:r})}function cf(){const i=Be;return i===null&&yi(),(t,e,r)=>{var o;const n=(o=i.s.$$events)==null?void 0:o[t];if(n){const a=Xr(n)?n.slice():[n],s=lf(t,e,r);for(const l of a)l.call(i.x,s);return!s.defaultPrevented}return!0}}function uf(i){Be===null&&yi(),Be.l===null&&Os(),Vl(Be).b.push(i)}function hf(i){Be===null&&yi(),Be.l===null&&Os(),Vl(Be).a.push(i)}function Vl(i){var t=i.l;return t.u??(t.u={a:[],b:[],m:[]})}const df=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:hf,beforeUpdate:uf,createContext:Xh,createEventDispatcher:cf,createRawSnippet:af,flushSync:Mt,fork:td,getAbortSignal:sf,getAllContexts:Yh,getContext:Rr,hasContext:Yo,hydratable:zd,hydrate:Hl,mount:ha,onDestroy:pa,onMount:fa,setContext:Xo,settled:Od,tick:la,unmount:Fl,untrack:Xe},Symbol.toStringTag,{value:"Module"}));function ff(){return Symbol(bs)}function _o(i,t,e,r){return i!==t&&Rh(e,zl(r)),i}function pf(i,t,e,r){return _o(i[t]=e,Xe(()=>i[t]),t,r)}function gf(i,t,e,r){return _o(i[t]&&(i[t]=e),Xe(()=>i[t]),t,r)}function vf(i,t,e,r){return _o(i[t]||(i[t]=e),Xe(()=>i[t]),t,r)}function mf(i,t,e,r){return _o(i[t]??(i[t]=e),Xe(()=>i[t]),t,r)}var Ul=new Map;function _f(i){var t=Ul.get(i);if(t){for(const e of t)e.remove();Ul.delete(i)}}function wf(i,t,e){return(...r)=>{const n=i(...r);var o=de?n:n.nodeType===Rs?n.firstChild:n;return jl(o,t,e),n}}function bf(i,t,e){i.__svelte_meta={parent:io,loc:{file:t,line:e[0],column:e[1]}},e[2]&&jl(i.firstChild,t,e[2])}function jl(i,t,e){for(var r=0,n=0;i&&r<e.length;){if(de&&i.nodeType===vr){var o=i;o.data===jo||o.data===wi?n+=1:o.data[0]===jn&&(n-=1)}n===0&&i.nodeType===Ps&&bf(i,t,e[r++]),i=i.nextSibling}}function yf(i,t){function e(r,n){let o={},a,s=!1;return _r(()=>{const l=t(),c=m(l);if(a){for(var u in o)delete o[u];gt(a)}a=Pt(()=>{s&&Pi(!1),Object.defineProperties(o,Object.getOwnPropertyDescriptors(new.target?new c(r,n):c(r,n))),s&&Pi(!0)})},cr),s=!0,de&&(r=Se),o}return e[Bt]=i[Bt],e[_s]={original:i,source:Gt(i)},e}function xf(i){var r;const t=Be==null?void 0:Be.function,e=(r=Be==null?void 0:Be.p)==null?void 0:r.function;return{mutation:(n,o,a,s,l)=>{const c=o[0];if(Gl(i,c)||!e)return a;let u=i;for(let d=0;d<o.length-1;d++)if(u=u[o[d]],!(u!=null&&u[Ct]))return a;const h=zl(`${t[Bt]}:${s}:${l}`);return Lh(c,h,n,e[Bt]),a},binding:(n,o,a)=>{var s;!Gl(i,n)&&e&&((s=a())!=null&&s[Ct])&&Mh(t[Bt],n,o[Bt],e[Bt])}}}function Gl(i,t){var r;const e=Ct in i||$n in i;return!!((r=sr(i,t))!=null&&r.set)||e&&t in i||!(t in i)}function Tf(i){i&&fh(i[Bt]??"a component",i.name)}function Ef(){const i=Be==null?void 0:Be.function;function t(e){dh(e,i[Bt])}return{$destroy:()=>t("$destroy()"),$on:()=>t("$on(...)"),$set:()=>t("$set(...)")}}function kf(i,t,e=!1){aa();let r=!0,n=st;dl(()=>{try{var o=i()}catch(s){n=s;return}var a=to(o,!0,!0);Xe(()=>{if(e){if(t(...a),!r){const s=Zh("$inspect(...)");s&&(console.groupCollapsed("stack trace"),console.log(s),console.groupEnd())}}else t(r?"init":"update",...a)}),r=!1}),ct(()=>{try{i()}catch{}n!==st&&(console.error(n),n=st)})}function Sf(i,t=[],e=[],r){var n=Jo(),o=Le,a=!n.is_pending();n.update_pending_count(1),o.increment(a);var s=de;if(s){yt();var l=Se,c=$r(!1);Qe(c)}qi(t,[],e,u=>{s&&(lt(!0),Qe(l));try{for(const h of u)m(h);r(i,...u)}finally{s&<(!1),n.update_pending_count(-1),o.decrement(a)}})}function Cf(i,...t){(typeof i!="object"||!(i instanceof Node))&&Is();for(let e of t)typeof e!="function"&&Is()}const Zl=0,ga=1;function Pf(i,t,e,r,n){de&&yt();var o=st,a=Gt(o),s=Gt(o),l=new Ai(i);_r(()=>{var c=t(),u=!1;let h=de&&Es(c)===(i.data===wi);if(h&&(Qe($r()),lt(!1)),Es(c)){var d=so(),p=!1;const _=f=>{if(!u){p=!0,d(!1),jt.ensure(),de&<(!1);try{f()}finally{Hr(),Ei||Mt()}}};c.then(f=>{_(()=>{mr(a,f),l.ensure(ga,r&&(g=>r(g,a)))})},f=>{_(()=>{if(mr(s,f),l.ensure(ga,n&&(g=>n(g,s))),!n)throw s.v})}),de?l.ensure(Zl,e):Ut(()=>{p||_(()=>{l.ensure(Zl,e)})})}else mr(a,c),l.ensure(ga,r&&(_=>r(_,a)));return h&<(!0),()=>{u=!0}})}function F(i,t,e=!1){de&&yt();var r=new Ai(i),n=e?cr:0;function o(a,s){if(de){const c=Ms(i)===wi;if(a===c){var l=$r();Qe(l),r.anchor=l,lt(!1),r.ensure(a,s),lt(!0);return}}r.ensure(a,s)}_r(()=>{var a=!1;t((s,l=!0)=>{a=!0,o(l,s)}),a||o(!1,null)},n)}function Wl(i,t,e){de&&yt();var r=new Ai(i);_r(()=>{var n=t();r.ensure(n,e)})}function Rf(i,t){de&&Qe(ot(i)),ct(()=>{var e=t();for(var r in e){var n=e[r];n?i.style.setProperty(r,n):i.style.removeProperty(r)}})}function li(i,t){return t}function Af(i,t,e){for(var r=[],n=t.length,o,a=t.length,s=0;s<n;s++){let h=t[s];ni(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var d=i.outrogroups;va(Zn(o.done)),d.delete(o),d.size===0&&(i.outrogroups=null)}}else a-=1},!1)}if(a===0){var l=r.length===0&&e!==null;if(l){var c=e,u=c.parentNode;oa(u),u.append(c),i.items.clear()}va(t,!l)}else o={pending:new Set(t),done:new Set},(i.outrogroups??(i.outrogroups=new Set)).add(o)}function va(i,t=!0){for(var e=0;e<i.length;e++)gt(i[e],t)}var ql;function Yt(i,t,e,r,n,o=null){var a=i,s=new Map,l=(t&Ui)!==0;if(l){var c=i;a=de?Qe(ot(c)):c.appendChild(xt())}de&&yt();var u=null,h=ea(()=>{var y=e();return Xr(y)?y:y==null?[]:Zn(y)}),d,p=!0;function _(){g.fallback=u,If(g,d,a,t,r),u!==null&&(d.length===0?(u.f&Pr)===0?sa(u):(u.f^=Pr,en(u,null,a)):ni(u,()=>{u=null}))}var f=_r(()=>{d=m(h);var y=d.length;let k=!1;if(de){var C=Ms(a)===wi;C!==(y===0)&&(a=$r(),Qe(a),lt(!1),k=!0)}for(var x=new Set,R=Le,O=al(),z=0;z<y;z+=1){de&&Se.nodeType===vr&&Se.data===jn&&(a=Se,k=!0,lt(!1));var B=d[z],A=r(B,z),M=p?null:s.get(A);M?(M.v&&mr(M.v,B),M.i&&mr(M.i,z),O&&R.skipped_effects.delete(M.e)):(M=Of(s,p?a:ql??(ql=xt()),B,A,z,n,t,e),p||(M.e.f|=Pr),s.set(A,M)),x.add(A)}if(y===0&&o&&!u&&(p?u=Pt(()=>o(a)):(u=Pt(()=>o(ql??(ql=xt()))),u.f|=Pr)),de&&y>0&&Qe($r()),!p)if(O){for(const[$,Q]of s)x.has($)||R.skipped_effects.add(Q.e);R.oncommit(_),R.ondiscard(()=>{})}else _();k&<(!0),m(h)}),g={effect:f,items:s,outrogroups:null,fallback:u};p=!1,de&&(a=Se)}function If(i,t,e,r,n){var M,$,Q,le,H,D,U,ce,ee;var o=(r&Uu)!==0,a=t.length,s=i.items,l=i.effect.first,c,u=null,h,d=[],p=[],_,f,g,y;if(o)for(y=0;y<a;y+=1)_=t[y],f=n(_,y),g=s.get(f).e,(g.f&Pr)===0&&(($=(M=g.nodes)==null?void 0:M.a)==null||$.measure(),(h??(h=new Set)).add(g));for(y=0;y<a;y+=1){if(_=t[y],f=n(_,y),g=s.get(f).e,i.outrogroups!==null)for(const N of i.outrogroups)N.pending.delete(g),N.done.delete(g);if((g.f&Pr)!==0)if(g.f^=Pr,g===l)en(g,null,e);else{var k=u?u.next:l;g===i.effect.last&&(i.effect.last=g.prev),g.prev&&(g.prev.next=g.next),g.next&&(g.next.prev=g.prev),Vr(i,u,g),Vr(i,g,k),en(g,k,e),u=g,d=[],p=[],l=u.next;continue}if((g.f&Vt)!==0&&(sa(g),o&&((le=(Q=g.nodes)==null?void 0:Q.a)==null||le.unfix(),(h??(h=new Set)).delete(g))),g!==l){if(c!==void 0&&c.has(g)){if(d.length<p.length){var C=p[0],x;u=C.prev;var R=d[0],O=d[d.length-1];for(x=0;x<d.length;x+=1)en(d[x],C,e);for(x=0;x<p.length;x+=1)c.delete(p[x]);Vr(i,R.prev,O.next),Vr(i,u,R),Vr(i,O,C),l=C,u=O,y-=1,d=[],p=[]}else c.delete(g),en(g,l,e),Vr(i,g.prev,g.next),Vr(i,g,u===null?i.effect.first:u.next),Vr(i,u,g),u=g;continue}for(d=[],p=[];l!==null&&l!==g;)(c??(c=new Set)).add(l),p.push(l),l=l.next;if(l===null)continue}(g.f&Pr)===0&&d.push(g),u=g,l=g.next}if(i.outrogroups!==null){for(const N of i.outrogroups)N.pending.size===0&&(va(Zn(N.done)),(H=i.outrogroups)==null||H.delete(N));i.outrogroups.size===0&&(i.outrogroups=null)}if(l!==null||c!==void 0){var z=[];if(c!==void 0)for(g of c)(g.f&Vt)===0&&z.push(g);for(;l!==null;)(l.f&Vt)===0&&l!==i.fallback&&z.push(l),l=l.next;var B=z.length;if(B>0){var A=(r&Ui)!==0&&a===0?e:null;if(o){for(y=0;y<B;y+=1)(U=(D=z[y].nodes)==null?void 0:D.a)==null||U.measure();for(y=0;y<B;y+=1)(ee=(ce=z[y].nodes)==null?void 0:ce.a)==null||ee.fix()}Af(i,z,A)}}o&&Ut(()=>{var N,W;if(h!==void 0)for(g of h)(W=(N=g.nodes)==null?void 0:N.a)==null||W.apply()})}function Of(i,t,e,r,n,o,a,s){var l=(a&it)!==0?(a&ju)===0?co(e,!1,!1):Gt(e):null,c=(a&ft)!==0?Gt(n):null;return{v:l,i:c,e:Pt(()=>(o(t,l??e,c??n,s),()=>{i.delete(r)}))}}function en(i,t,e){if(i.nodes)for(var r=i.nodes.start,n=i.nodes.end,o=t&&(t.f&Pr)===0?t.nodes.start:e;r!==null;){var a=Zt(r);if(o.before(r),r===n)return;r=a}}function Vr(i,t,e){t===null?i.effect.first=e:t.next=e,e===null?i.effect.last=t:e.prev=t}function br(i,t,e=!1,r=!1,n=!1){var o=i,a="";Re(()=>{var s=Me;if(a===(a=t()??"")){de&&yt();return}if(s.nodes!==null&&(ml(s.nodes.start,s.nodes.end),s.nodes=null),a!==""){if(de){Se.data;for(var l=yt(),c=l;l!==null&&(l.nodeType!==vr||l.data!=="");)c=l,l=Zt(l);if(l===null)throw Gi(),qr;_t(Se,c),o=Qe(l);return}var u=a+"";e?u=`<svg>${u}</svg>`:r&&(u=`<math>${u}</math>`);var h=vo(u);if((e||r)&&(h=ot(h)),_t(ot(h),h.lastChild),e||r)for(;ot(h);)o.before(ot(h));else o.before(h)}})}function Df(i,t,e,r,n){var s;de&&yt();var o=(s=t.$$slots)==null?void 0:s[e],a=!1;o===!0&&(o=t[e==="default"?"children":e],a=!0),o===void 0?n!==null&&n(i):o(i,a?()=>r:r)}function Mf(i){const t={};i.children&&(t.default=!0);for(const e in i.$$slots)t[e]=!0;return t}function Ii(i,t,e){de&&yt();var r=new Ai(i);_r(()=>{var n=t()??null;r.ensure(n,n&&(o=>e(o,n)))},cr)}const Lf=()=>performance.now(),yr={tick:i=>requestAnimationFrame(i),now:()=>Lf(),tasks:new Set};function Xl(){const i=yr.now();yr.tasks.forEach(t=>{t.c(i)||(yr.tasks.delete(t),t.f())}),yr.tasks.size!==0&&yr.tick(Xl)}function zf(i){let t;return yr.tasks.size===0&&yr.tick(Xl),{promise:new Promise(e=>{yr.tasks.add(t={c:i,f:e})}),abort(){yr.tasks.delete(t)}}}function wo(i,t){Fr(()=>{i.dispatchEvent(new CustomEvent(t))})}function Hf(i){if(i==="float")return"cssFloat";if(i==="offset")return"cssOffset";if(i.startsWith("--"))return i;const t=i.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function Yl(i){const t={},e=i.split(";");for(const r of e){const[n,o]=r.split(":");if(!n||o===void 0)break;const a=Hf(n.trim());t[a]=o.trim()}return t}const Nf=i=>i;let Kl=null;function Ql(i){Kl=i}function Ff(i,t,e){var r=Kl??Me,n=r.nodes,o,a,s,l=null;n.a??(n.a={element:i,measure(){o=this.element.getBoundingClientRect()},apply(){if(s==null||s.abort(),a=this.element.getBoundingClientRect(),o.left!==a.left||o.right!==a.right||o.top!==a.top||o.bottom!==a.bottom){const c=t()(this.element,{from:o,to:a},e==null?void 0:e());s=bo(this.element,c,void 0,1,()=>{s==null||s.abort(),s=void 0})}},fix(){if(!i.getAnimations().length){var{position:c,width:u,height:h}=getComputedStyle(i);if(c!=="absolute"&&c!=="fixed"){var d=i.style;l={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=u,d.height=h;var p=i.getBoundingClientRect();if(o.left!==p.left||o.top!==p.top){var _=`translate(${o.left-p.left}px, ${o.top-p.top}px)`;d.transform=d.transform?`${d.transform} ${_}`:_}}}},unfix(){if(l){var c=i.style;c.position=l.position,c.width=l.width,c.height=l.height,c.transform=l.transform}}}),n.a.element=i}function Bf(i,t,e,r){var C;var n=(i&qu)!==0,o=(i&Xu)!==0,a=n&&o,s=(i&Yu)!==0,l=a?"both":n?"in":"out",c,u=t.inert,h=t.style.overflow,d,p;function _(){return Fr(()=>c??(c=e()(t,(r==null?void 0:r())??{},{direction:l})))}var f={is_global:s,in(){var x;if(t.inert=u,!n){p==null||p.abort(),(x=p==null?void 0:p.reset)==null||x.call(p);return}o||d==null||d.abort(),wo(t,"introstart"),d=bo(t,_(),p,1,()=>{wo(t,"introend"),d==null||d.abort(),d=c=void 0,t.style.overflow=h})},out(x){if(!o){x==null||x(),c=void 0;return}t.inert=!0,wo(t,"outrostart"),p=bo(t,_(),d,0,()=>{wo(t,"outroend"),x==null||x()})},stop:()=>{d==null||d.abort(),p==null||p.abort()}},g=Me;if(((C=g.nodes).t??(C.t=[])).push(f),n&&mo){var y=s;if(!y){for(var k=g.parent;k&&(k.f&cr)!==0;)for(;(k=k.parent)&&(k.f&fr)===0;);y=!k||(k.f&ji)!==0}y&&qt(()=>{Xe(()=>f.in())})}}function bo(i,t,e,r,n){var o=r===1;if(bi(t)){var a,s=!1;return Ut(()=>{if(!s){var g=t({direction:o?"in":"out"});a=bo(i,g,e,r,n)}}),{abort:()=>{s=!0,a==null||a.abort()},deactivate:()=>a.deactivate(),reset:()=>a.reset(),t:()=>a.t()}}if(e==null||e.deactivate(),!(t!=null&&t.duration))return n(),{abort:dr,deactivate:dr,reset:dr,t:()=>r};const{delay:l=0,css:c,tick:u,easing:h=Nf}=t;var d=[];if(o&&e===void 0&&(u&&u(0,1),c)){var p=Yl(c(0,1));d.push(p,p)}var _=()=>1-r,f=i.animate(d,{duration:l,fill:"forwards"});return f.onfinish=()=>{f.cancel();var g=(e==null?void 0:e.t())??1-r;e==null||e.abort();var y=r-g,k=t.duration*Math.abs(y),C=[];if(k>0){var x=!1;if(c)for(var R=Math.ceil(k/16.666666666666668),O=0;O<=R;O+=1){var z=g+y*h(O/R),B=Yl(c(z,1-z));C.push(B),x||(x=B.overflow==="hidden")}x&&(i.style.overflow="hidden"),_=()=>{var A=f.currentTime;return g+y*h(A/k)},u&&zf(()=>{if(f.playState!=="running")return!1;var A=_();return u(A,1-A),!0})}f=i.animate(C,{duration:k,fill:"forwards"}),f.onfinish=()=>{_=()=>r,u==null||u(r,1-r),n()}},{abort:()=>{f&&(f.cancel(),f.effect=null,f.onfinish=dr)},deactivate:()=>{n=dr},reset:()=>{r===0&&(u==null||u(1,0))},t:()=>_()}}function Vf(i,t,e,r,n,o){let a=de;de&&yt();var s=null;de&&Se.nodeType===Ps&&(s=Se,yt());var l=de?Se:i,c=Me,u=new Ai(l,!1);_r(()=>{const h=t()||null;var d=n?n():e||h==="svg"?Gn:null;if(h===null){u.ensure(null,null),Pi(!0);return}return u.ensure(h,p=>{if(h){if(s=de?s:d?document.createElementNS(d,h):document.createElement(h),_t(s,s),r){de&&ef(h)&&s.append(document.createComment(""));var _=de?ot(s):s.appendChild(xt());de&&(_===null?lt(!1):Qe(_)),Ql(c),r(s,_),Ql(null)}Me.nodes.end=s,p.before(s)}de&&Qe(p)}),Pi(!0),()=>{h&&Pi(!1)}},cr),Wt(()=>{Pi(!0)}),a&&(lt(!0),Qe(l))}function Uf(i,t){let e=null,r=de;var n;if(de){e=Se;for(var o=ot(document.head);o!==null&&(o.nodeType!==vr||o.data!==i);)o=Zt(o);if(o===null)lt(!1);else{var a=Zt(o);o.remove(),Qe(a)}}de||(n=document.head.appendChild(xt()));try{_r(()=>t(n),Wo)}finally{r&&(lt(!0),Qe(e))}}function jf(i,t){qt(()=>{var e=i.getRootNode(),r=e.host?e:e.head??e.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,r.appendChild(n)}})}function Gf(i,t,e){qt(()=>{var r=Xe(()=>t(i,e==null?void 0:e())||{});if(e&&(r!=null&&r.update)){var n=!1,o={};ct(()=>{var a=e();ca(a),n&&zs(o,a)&&(o=a,r.update(a))}),n=!0}if(r!=null&&r.destroy)return()=>r.destroy()})}function Jl(i,t){var e=void 0,r;pl(()=>{e!==(e=t())&&(r&&(gt(r),r=null),e&&(r=Pt(()=>{qt(()=>e(i))})))})}const Zf=/[&"<]/g;function Wf(i,t){const e=String(i??""),r=Zf;r.lastIndex=0;let n="",o=0;for(;r.test(e);){const a=r.lastIndex-1,s=e[a];n+=e.substring(o,a)+(s==="&"?"&":s==='"'?""":"<"),o=a+1}return n+e.substring(o)}function $l(i){var t,e,r="";if(typeof i=="string"||typeof i=="number")r+=i;else if(typeof i=="object")if(Array.isArray(i)){var n=i.length;for(t=0;t<n;t++)i[t]&&(e=$l(i[t]))&&(r&&(r+=" "),r+=e)}else for(e in i)i[e]&&(r&&(r+=" "),r+=e);return r}function qf(){for(var i,t,e=0,r="",n=arguments.length;e<n;e++)(i=arguments[e])&&(t=$l(i))&&(r&&(r+=" "),r+=t);return r}const ec={translate:new Map([[!0,"yes"],[!1,"no"]])};function Xf(i,t,e=!1){if(i==="hidden"&&t!=="until-found"&&(e=!0),t==null||!t&&e)return"";const r=i in ec&&ec[i].get(t)||t,n=e?"":`="${Wf(r)}"`;return` ${i}${n}`}function yo(i){return typeof i=="object"?qf(i):i??""}const tc=[...`
|
|
6
|
+
\r\f \v\uFEFF`];function Yf(i,t,e){var r=i==null?"":""+i;if(t&&(r=r?r+" "+t:t),e){for(var n in e)if(e[n])r=r?r+" "+n:n;else if(r.length)for(var o=n.length,a=0;(a=r.indexOf(n,a))>=0;){var s=a+o;(a===0||tc.includes(r[a-1]))&&(s===r.length||tc.includes(r[s]))?r=(a===0?"":r.substring(0,a))+r.substring(s+1):a=s}}return r===""?null:r}function rc(i,t=!1){var e=t?" !important;":";",r="";for(var n in i){var o=i[n];o!=null&&o!==""&&(r+=" "+n+": "+o+e)}return r}function ma(i){return i[0]!=="-"||i[1]!=="-"?i.toLowerCase():i}function Kf(i,t){if(t){var e="",r,n;if(Array.isArray(t)?(r=t[0],n=t[1]):r=t,i){i=String(i).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,a=0,s=!1,l=[];r&&l.push(...Object.keys(r).map(ma)),n&&l.push(...Object.keys(n).map(ma));var c=0,u=-1;const f=i.length;for(var h=0;h<f;h++){var d=i[h];if(s?d==="/"&&i[h-1]==="*"&&(s=!1):o?o===d&&(o=!1):d==="/"&&i[h+1]==="*"?s=!0:d==='"'||d==="'"?o=d:d==="("?a++:d===")"&&a--,!s&&o===!1&&a===0){if(d===":"&&u===-1)u=h;else if(d===";"||h===f-1){if(u!==-1){var p=ma(i.substring(c,u).trim());if(!l.includes(p)){d!==";"&&h++;var _=i.substring(c,h).trim();e+=" "+_+";"}}c=h+1,u=-1}}}}return r&&(e+=rc(r)),n&&(e+=rc(n,!0)),e=e.trim(),e===""?null:e}return i==null?null:String(i)}function Ge(i,t,e,r,n,o){var a=i.__className;if(de||a!==e||a===void 0){var s=Yf(e,r,o);(!de||s!==i.getAttribute("class"))&&(s==null?i.removeAttribute("class"):t?i.className=s:i.setAttribute("class",s)),i.__className=e}else if(o&&n!==o)for(var l in o){var c=!!o[l];(n==null||c!==!!n[l])&&i.classList.toggle(l,c)}return o}function _a(i,t={},e,r){for(var n in e){var o=e[n];t[n]!==o&&(e[n]==null?i.style.removeProperty(n):i.style.setProperty(n,o,r))}}function ci(i,t,e,r){var n=i.__style;if(de||n!==t){var o=Kf(t,r);(!de||o!==i.getAttribute("style"))&&(o==null?i.removeAttribute("style"):i.style.cssText=o),i.__style=t}else r&&(Array.isArray(r)?(_a(i,e==null?void 0:e[0],r[0]),_a(i,e==null?void 0:e[1],r[1],"important")):_a(i,e,r));return r}function tn(i,t,e=!1){if(i.multiple){if(t==null)return;if(!Xr(t))return zh();for(var r of i.options)r.selected=t.includes(rn(r));return}for(r of i.options){var n=rn(r);if(rl(n,t)){r.selected=!0;return}}(!e||t!==void 0)&&(i.selectedIndex=-1)}function wa(i){var t=new MutationObserver(()=>{tn(i,i.__value)});t.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Wt(()=>{t.disconnect()})}function Qf(i,t,e=t){var r=new WeakSet,n=!0;Qi(i,"change",o=>{var a=o?"[selected]":":checked",s;if(i.multiple)s=[].map.call(i.querySelectorAll(a),rn);else{var l=i.querySelector(a)??i.querySelector("option:not([disabled])");s=l&&rn(l)}e(s),Le!==null&&r.add(Le)}),qt(()=>{var o=t();if(i===document.activeElement){var a=Wi??Le;if(r.has(a))return}if(tn(i,o,n),n&&o===void 0){var s=i.querySelector(":checked");s!==null&&(o=rn(s),e(o))}i.__value=o,n=!1}),wa(i)}function rn(i){return"__value"in i?i.__value:i.value}const Oi=Symbol("class"),Di=Symbol("style"),ic=Symbol("is custom element"),nc=Symbol("is html");function ba(i){if(de){var t=!1,e=()=>{if(!t){if(t=!0,i.hasAttribute("value")){var r=i.value;Ae(i,"value",null),i.value=r}if(i.hasAttribute("checked")){var n=i.checked;Ae(i,"checked",null),i.checked=n}}};i.__on_r=e,Ut(e),cl()}}function Jf(i,t){var e=xo(i);e.value===(e.value=t??void 0)||i.value===t&&(t!==0||i.nodeName!=="PROGRESS")||(i.value=t??"")}function $f(i,t){var e=xo(i);e.checked!==(e.checked=t??void 0)&&(i.checked=t)}function oc(i,t){t?i.hasAttribute("selected")||i.setAttribute("selected",""):i.removeAttribute("selected")}function ep(i,t){const e=i.checked;i.defaultChecked=t,i.checked=e}function tp(i,t){const e=i.value;i.defaultValue=t,i.value=e}function Ae(i,t,e,r){var n=xo(i);de&&(n[t]=i.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&i.nodeName==="LINK")||n[t]!==(n[t]=e)&&(t==="loading"&&(i[nh]=e),e==null?i.removeAttribute(t):typeof e!="string"&&xa(i).includes(t)?i[t]=e:i.setAttribute(t,e))}function rp(i,t,e){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e)}function ip(i,t,e){var r=Ne,n=Me;let o=de;de&<(!1),Et(null),Ht(null);try{t!=="style"&&(ya.has(i.getAttribute("is")||i.nodeName)||!customElements||customElements.get(i.getAttribute("is")||i.tagName.toLowerCase())?xa(i).includes(t):e&&typeof e=="object")?i[t]=e:Ae(i,t,e==null?e:String(e))}finally{Et(r),Ht(n),o&<(!0)}}function np(i,t,e,r,n=!1,o=!1){if(de&&n&&i.tagName==="INPUT"){var a=i,s=a.type==="checkbox"?"defaultChecked":"defaultValue";s in e||ba(a)}var l=xo(i),c=l[ic],u=!l[nc];let h=de&&c;h&<(!1);var d=t||{},p=i.tagName==="OPTION";for(var _ in t)_ in e||(e[_]=null);e.class?e.class=yo(e.class):(r||e[Oi])&&(e.class=null),e[Di]&&(e.style??(e.style=null));var f=xa(i);for(const O in e){let z=e[O];if(p&&O==="value"&&z==null){i.value=i.__value="",d[O]=z;continue}if(O==="class"){var g=i.namespaceURI==="http://www.w3.org/1999/xhtml";Ge(i,g,z,r,t==null?void 0:t[Oi],e[Oi]),d[O]=z,d[Oi]=e[Oi];continue}if(O==="style"){ci(i,z,t==null?void 0:t[Di],e[Di]),d[O]=z,d[Di]=e[Di];continue}var y=d[O];if(!(z===y&&!(z===void 0&&i.hasAttribute(O)))){d[O]=z;var k=O[0]+O[1];if(k!=="$$")if(k==="on"){const B={},A="$$"+O;let M=O.slice(2);var C=Xd(M);if(Wd(M)&&(M=M.slice(0,-7),B.capture=!0),!C&&y){if(z!=null)continue;i.removeEventListener(M,d[A],B),d[A]=null}if(z!=null)if(C)i[`__${M}`]=z,Ir([M]);else{let $=function(Q){d[O].call(this,Q)};d[A]=Ol(M,i,$,B)}else C&&(i[`__${M}`]=void 0)}else if(O==="style")Ae(i,O,z);else if(O==="autofocus")sl(i,!!z);else if(!c&&(O==="__value"||O==="value"&&z!=null))i.value=i.__value=z;else if(O==="selected"&&p)oc(i,z);else{var x=O;u||(x=Kd(x));var R=x==="defaultValue"||x==="defaultChecked";if(z==null&&!c&&!R)if(l[O]=null,x==="value"||x==="checked"){let B=i;const A=t===void 0;if(x==="value"){let M=B.defaultValue;B.removeAttribute(x),B.defaultValue=M,B.value=B.__value=A?M:null}else{let M=B.defaultChecked;B.removeAttribute(x),B.defaultChecked=M,B.checked=A?M:!1}}else i.removeAttribute(O);else R||f.includes(x)&&(c||typeof z!="string")?(i[x]=z,x in l&&(l[x]=st)):typeof z!="function"&&Ae(i,x,z)}}}return h&<(!0),d}function Ot(i,t,e=[],r=[],n=[],o,a=!1,s=!1){qi(n,e,r,l=>{var c=void 0,u={},h=i.nodeName==="SELECT",d=!1;if(pl(()=>{var _=t(...l.map(m)),f=np(i,c,_,o,a,s);d&&h&&"value"in _&&tn(i,_.value);for(let y of Object.getOwnPropertySymbols(u))_[y]||gt(u[y]);for(let y of Object.getOwnPropertySymbols(_)){var g=_[y];y.description===bs&&(!c||g!==c[y])&&(u[y]&>(u[y]),u[y]=Pt(()=>Jl(i,()=>g))),f[y]=g}c=f}),h){var p=i;qt(()=>{tn(p,c.value,!0),wa(p)})}d=!0})}function xo(i){return i.__attributes??(i.__attributes={[ic]:i.nodeName.includes("-"),[nc]:i.namespaceURI===Ju})}var ya=new Map;function xa(i){var t=i.getAttribute("is")||i.nodeName,e=ya.get(t);if(e)return e;ya.set(t,e=[]);for(var r,n=i,o=Element.prototype;o!==n;){r=ys(n);for(var a in r)r[a].set&&e.push(a);n=qn(n)}return e}function op(i){Lt(document,["focusin","focusout"],t=>{t&&t.type==="focusout"&&t.relatedTarget||i(document.activeElement)})}function ac(i,t,e=t){var r=new WeakSet;Qi(i,"input",async n=>{var o=n?i.defaultValue:i.value;if(o=Ea(i)?ka(o):o,e(o),Le!==null&&r.add(Le),await la(),o!==(o=t())){var a=i.selectionStart,s=i.selectionEnd,l=i.value.length;if(i.value=o??"",s!==null){var c=i.value.length;a===s&&s===l&&c>l?(i.selectionStart=c,i.selectionEnd=c):(i.selectionStart=a,i.selectionEnd=Math.min(s,c))}}}),(de&&i.defaultValue!==i.value||Xe(t)==null&&i.value)&&(e(Ea(i)?ka(i.value):i.value),Le!==null&&r.add(Le)),ct(()=>{var n=t();if(i===document.activeElement){var o=Wi??Le;if(r.has(o))return}Ea(i)&&n===ka(i.value)||i.type==="date"&&!n&&!i.value||n!==i.value&&(i.value=n??"")})}const Ta=new Set;function ap(i,t,e,r,n=r){var o=e.getAttribute("type")==="checkbox",a=i;let s=!1;if(t!==null)for(var l of t)a=a[l]??(a[l]=[]);a.push(e),Qi(e,"change",()=>{var c=e.__value;o&&(c=sc(a,c,e.checked)),n(c)},()=>n(o?[]:null)),ct(()=>{var c=r();if(de&&e.defaultChecked!==e.checked){s=!0;return}o?(c=c||[],e.checked=c.includes(e.__value)):e.checked=rl(e.__value,c)}),Wt(()=>{var c=a.indexOf(e);c!==-1&&a.splice(c,1)}),Ta.has(a)||(Ta.add(a),Ut(()=>{a.sort((c,u)=>c.compareDocumentPosition(u)===4?-1:1),Ta.delete(a)})),Ut(()=>{if(s){var c;if(o)c=sc(a,c,e.checked);else{var u=a.find(h=>h.checked);c=u==null?void 0:u.__value}n(c)}})}function sp(i,t,e=t){Qi(i,"change",r=>{var n=r?i.defaultChecked:i.checked;e(n)}),(de&&i.defaultChecked!==i.checked||Xe(t)==null)&&e(i.checked),ct(()=>{var r=t();i.checked=!!r})}function sc(i,t,e){for(var r=new Set,n=0;n<i.length;n+=1)i[n].checked&&r.add(i[n].__value);return e||r.delete(t),Array.from(r)}function Ea(i){var t=i.type;return t==="number"||t==="range"}function ka(i){return i===""?null:+i}function lp(i,t,e=t){Qi(i,"change",()=>{e(i.files)}),de&&i.files&&e(i.files),ct(()=>{i.files=t()})}function Sa(i){for(var t=[],e=0;e<i.length;e+=1)t.push({start:i.start(e),end:i.end(e)});return t}function cp(i,t,e=t){var r,n,o=()=>{cancelAnimationFrame(r),i.paused||(r=requestAnimationFrame(o));var a=i.currentTime;n!==a&&e(n=a)};r=requestAnimationFrame(o),i.addEventListener("timeupdate",o),ct(()=>{var a=Number(t());n!==a&&!isNaN(a)&&(i.currentTime=n=a)}),Wt(()=>{cancelAnimationFrame(r),i.removeEventListener("timeupdate",o)})}function up(i,t){var e;Lt(i,["loadedmetadata","progress","timeupdate","seeking"],()=>{var r=i.buffered;(!e||e.length!==r.length||e.some((n,o)=>r.start(o)!==n.start||r.end(o)!==n.end))&&(e=Sa(r),t(e))})}function hp(i,t){Lt(i,["loadedmetadata"],()=>t(Sa(i.seekable)))}function dp(i,t){Lt(i,["timeupdate"],()=>t(Sa(i.played)))}function fp(i,t){Lt(i,["seeking","seeked"],()=>t(i.seeking))}function pp(i,t){Lt(i,["timeupdate","ended"],()=>t(i.ended))}function gp(i,t){Lt(i,["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],()=>t(i.readyState))}function vp(i,t,e=t){qt(()=>{var r=Number(t());r!==i.playbackRate&&!isNaN(r)&&(i.playbackRate=r)}),qt(()=>{Lt(i,["ratechange"],()=>{e(i.playbackRate)})})}function mp(i,t,e=t){var r=t(),n=()=>{r!==i.paused&&e(r=i.paused)};Lt(i,["play","pause","canplay"],n,r==null),qt(()=>{(r=!!t())!==i.paused&&(r?i.pause():i.play().catch(()=>{e(r=!0)}))})}function _p(i,t,e=t){var r=()=>{e(i.volume)};t()==null&&r(),Lt(i,["volumechange"],r,!1),ct(()=>{var n=Number(t());n!==i.volume&&!isNaN(n)&&(i.volume=n)})}function wp(i,t,e=t){var r=()=>{e(i.muted)};t()==null&&r(),Lt(i,["volumechange"],r,!1),ct(()=>{var n=!!t();i.muted!==n&&(i.muted=n)})}function bp(i){Lt(window,["online","offline"],()=>{i(navigator.onLine)})}function yp(i,t,e){var r=sr(i,t);r&&r.set&&(i[t]=e,Wt(()=>{i[t]=null}))}const Fo=class Fo{constructor(t){ve(this,No);ve(this,Wr,new WeakMap);ve(this,Bi);ve(this,pn);De(this,pn,t)}observe(t,e){var r=I(this,Wr).get(t)||new Set;return r.add(e),I(this,Wr).set(t,r),et(this,No,Vu).call(this).observe(t,I(this,pn)),()=>{var n=I(this,Wr).get(t);n.delete(e),n.size===0&&(I(this,Wr).delete(t),I(this,Bi).unobserve(t))}}};Wr=new WeakMap,Bi=new WeakMap,pn=new WeakMap,No=new WeakSet,Vu=function(){return I(this,Bi)??De(this,Bi,new ResizeObserver(t=>{for(var e of t){Fo.entries.set(e.target,e);for(var r of I(this,Wr).get(e.target)||[])r(e)}}))},nt(Fo,"entries",new WeakMap);let nn=Fo;var xp=new nn({box:"content-box"}),lc=new nn({box:"border-box"}),Tp=new nn({box:"device-pixel-content-box"});function Ep(i,t,e){var r=t==="contentRect"||t==="contentBoxSize"?xp:t==="borderBoxSize"?lc:Tp,n=r.observe(i,o=>e(o[t]));Wt(n)}function kp(i,t,e){var r=lc.observe(i,()=>e(i[t]));qt(()=>(Xe(()=>e(i[t])),r))}function cc(i,t){return i===t||(i==null?void 0:i[Ct])===t}function Mi(i={},t,e,r){return qt(()=>{var n,o;return ct(()=>{n=o,o=(r==null?void 0:r())||[],Xe(()=>{i!==e(...o)&&(t(i,...o),n&&cc(e(...n),i)&&t(null,...n))})}),()=>{Ut(()=>{o&&cc(e(...o),i)&&t(null,...o)})}}),i}function Sp(i,t,e,r=e){t.addEventListener("input",()=>{r(t[i])}),ct(()=>{var n=e();if(t[i]!==n)if(n==null){var o=t[i];r(o)}else t[i]=n+""})}function Cp(i,t,e,r,n){var o=()=>{r(e[i])};e.addEventListener(t,o),n?ct(()=>{e[i]=n()}):o(),(e===document.body||e===window||e===document)&&Wt(()=>{e.removeEventListener(t,o)})}function Pp(i,t){Lt(i,["focus","blur"],()=>{t(i===document.activeElement)})}function Rp(i,t,e=t){var r=i==="x",n=()=>Fr(()=>{o=!0,clearTimeout(a),a=setTimeout(s,100),e(window[r?"scrollX":"scrollY"])});addEventListener("scroll",n,{passive:!0});var o=!1,a,s=()=>{o=!1},l=!0;ct(()=>{var c=t();l?l=!1:!o&&c!=null&&(o=!0,clearTimeout(a),r?scrollTo(c,window.scrollY):scrollTo(window.scrollX,c),a=setTimeout(s,100))}),qt(n),Wt(()=>{removeEventListener("scroll",n)})}function Ap(i,t){Lt(window,["resize"],()=>Fr(()=>t(window[i])))}function Ip(i){return function(...t){var e=t[0];e.isTrusted&&(i==null||i.apply(this,t))}}function Op(i){return function(...t){var e=t[0];e.target===this&&(i==null||i.apply(this,t))}}function Dp(i){return function(...t){var e=t[0];return e.stopPropagation(),i==null?void 0:i.apply(this,t)}}function Mp(i){var t=!1;return function(...e){if(!t)return t=!0,i==null?void 0:i.apply(this,e)}}function Lp(i){return function(...t){var e=t[0];return e.stopImmediatePropagation(),i==null?void 0:i.apply(this,t)}}function zp(i){return function(...t){var e=t[0];return e.preventDefault(),i==null?void 0:i.apply(this,t)}}function Hp(i=!1){const t=Be,e=t.l.u;if(!e)return;let r=()=>ca(t.s);if(i){let n=0,o={};const a=Xi(()=>{let s=!1;const l=t.s;for(const c in l)l[c]!==o[c]&&(o[c]=l[c],s=!0);return s&&n++,n});r=()=>m(a)}e.b.length&&hl(()=>{uc(t,r),Zo(e.b)}),ut(()=>{const n=Xe(()=>e.m.map(th));return()=>{for(const o of n)typeof o=="function"&&o()}}),e.a.length&&ut(()=>{uc(t,r),Zo(e.a)})}function uc(i,t){if(i.l.s)for(const e of i.l.s)m(e);t()}function Np(i){var t=Gt(0);return function(){return arguments.length===1?(me(t,m(t)+1),arguments[0]):(m(t),i())}}function Fp(i,t){var o;var e=(o=i.$$events)==null?void 0:o[t.type],r=Xr(e)?e.slice():e==null?[]:[e];for(var n of r)n.call(this,t)}function Bp(i,t,e){var r;i.$$events||(i.$$events={}),(r=i.$$events)[t]||(r[t]=[]),i.$$events[t].push(e)}function Vp(i){for(var t in i)t in this&&(this[t]=i[t])}function hc(i,t,e){if(i==null)return t(void 0),dr;const r=Xe(()=>i.subscribe(t,e));return r.unsubscribe?()=>r.unsubscribe():r}function Up(i){let t;return hc(i,e=>t=e)(),t}let on=!1,Ca=Symbol();function jp(i,t,e){const r=e[t]??(e[t]={store:null,source:co(void 0),unsubscribe:dr});if(r.store!==i&&!(Ca in e))if(r.unsubscribe(),r.store=i??null,i==null)r.source.v=void 0,r.unsubscribe=dr;else{var n=!0;r.unsubscribe=hc(i,o=>{n?r.source.v=o:me(r.source,o)}),n=!1}return i&&Ca in e?Up(i):m(r.source)}function Gp(i,t,e){let r=e[t];return r&&r.store!==i&&(r.unsubscribe(),r.unsubscribe=dr),i}function dc(i,t){return i.set(t),t}function Zp(i,t){var e=i[t];e.store!==null&&dc(e.store,e.source.v)}function Wp(){const i={};function t(){Wt(()=>{for(var e in i)i[e].unsubscribe();Yr(i,Ca,{enumerable:!1,value:!0})})}return[i,t]}function qp(i,t,e){return i.set(e),t}function Xp(i,t,e=1){return i.set(t+e),t}function Yp(i,t,e=1){const r=t+e;return i.set(r),r}function Kp(){on=!0}function fc(i){var t=on;try{return on=!1,[i(),on]}finally{on=t}}function Qp(i,t=1){const e=i();return i(e+t),e}function Jp(i,t=1){const e=i()+t;return i(e),e}const $p={get(i,t){if(!i.exclude.includes(t))return i.props[t]},set(i,t){return!1},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function Dt(i,t,e){return new Proxy({props:i,exclude:t},$p)}const e0={get(i,t){if(!i.exclude.includes(t))return m(i.version),t in i.special?i.special[t]():i.props[t]},set(i,t,e){if(!(t in i.special)){var r=Me;try{Ht(i.parent_effect),i.special[t]=tr({get[t](){return i.props[t]}},t,vs)}finally{Ht(r)}}return i.special[t](e),Yi(i.version),!0},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},deleteProperty(i,t){return i.exclude.includes(t)||(i.exclude.push(t),Yi(i.version)),!0},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function t0(i,t){return new Proxy({props:i,exclude:t,special:{},version:Gt(0),parent_effect:Me},e0)}const r0={get(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(bi(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r)return r[t]}},set(i,t,e){let r=i.props.length;for(;r--;){let n=i.props[r];bi(n)&&(n=n());const o=sr(n,t);if(o&&o.set)return o.set(e),!0}return!1},getOwnPropertyDescriptor(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(bi(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r){const n=sr(r,t);return n&&!n.configurable&&(n.configurable=!0),n}}},has(i,t){if(t===Ct||t===$n)return!1;for(let e of i.props)if(bi(e)&&(e=e()),e!=null&&t in e)return!0;return!1},ownKeys(i){const t=[];for(let e of i.props)if(bi(e)&&(e=e()),!!e){for(const r in e)t.includes(r)||t.push(r);for(const r of Object.getOwnPropertySymbols(e))t.includes(r)||t.push(r)}return t}};function an(...i){return new Proxy({props:i},r0)}function tr(i,t,e,r){var k;var n=(e&Zu)!==0,o=(e&Wu)!==0,a=r,s=!0,l=()=>(s&&(s=!1,a=o?Xe(r):r),a),c;if(n){var u=Ct in i||$n in i;c=((k=sr(i,t))==null?void 0:k.set)??(u&&t in i?C=>i[t]=C:void 0)}var h,d=!1;n?[h,d]=fc(()=>i[t]):h=i[t],h===void 0&&r!==void 0&&(h=l(),c&&(Eh(),c(h)));var p;if(p=()=>{var C=i[t];return C===void 0?l():(s=!0,C)},(e&vs)===0)return p;if(c){var _=i.$$legacy;return(function(C,x){return arguments.length>0?((!x||_||d)&&c(x?p():C),C):p()})}var f=!1,g=((e&Gu)!==0?Xi:ea)(()=>(f=!1,p()));n&&m(g);var y=Me;return(function(C,x){if(arguments.length>0){const R=x?m(g):n?ht(C):C;return me(g,R),f=!0,a!==void 0&&(a=R),C}return ai&&f||(y.f&gr)!==0?g.v:m(g)})}function i0(i,t){ct(()=>{const e=new Map,r=i(),n=Xr(r)?r:r==null?[]:Array.from(r),o=n.length;for(let a=0;a<o;a++){const s=t(n[a],a);if(e.has(s)){String(e.get(s));let l=String(s);l.startsWith("[object ")&&(l=null),ph()}e.set(s,a)}})}function n0(i,t,e,r,n,o){Ys(t,()=>{var a=!1;Zi==null||Zi[Bt],ct(()=>{if(!a){var[s,l]=fc(e);if(!l){var c=r(),u=!1,h=ct(()=>{u||s[c]});u=!0,h.deps===null&&(Ah(),a=!0)}}})})}function o0(i){return new a0(i)}class a0{constructor(t){ve(this,Mr);ve(this,ar);var o;var e=new Map,r=(a,s)=>{var l=co(s,!1,!1);return e.set(a,l),l};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return m(e.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===$n?!0:(m(e.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,l){return me(e.get(s)??r(s,l),l),Reflect.set(a,s,l)}});De(this,ar,(t.hydrate?Hl:ha)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&Mt(),De(this,Mr,n.$$events);for(const a of Object.keys(I(this,ar)))a==="$set"||a==="$destroy"||a==="$on"||Yr(this,a,{get(){return I(this,ar)[a]},set(s){I(this,ar)[a]=s},enumerable:!0});I(this,ar).$set=a=>{Object.assign(n,a)},I(this,ar).$destroy=()=>{Fl(I(this,ar))}}$set(t){I(this,ar).$set(t)}$on(t,e){I(this,Mr)[t]=I(this,Mr)[t]||[];const r=(...n)=>e.call(this,...n);return I(this,Mr)[t].push(r),()=>{I(this,Mr)[t]=I(this,Mr)[t].filter(n=>n!==r)}}$destroy(){I(this,ar).$destroy()}}Mr=new WeakMap,ar=new WeakMap;let pc;typeof HTMLElement=="function"&&(pc=class extends HTMLElement{constructor(t,e,r){super();nt(this,"$$ctor");nt(this,"$$s");nt(this,"$$c");nt(this,"$$cn",!1);nt(this,"$$d",{});nt(this,"$$r",!1);nt(this,"$$p_d",{});nt(this,"$$l",{});nt(this,"$$l_u",new Map);nt(this,"$$me");this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const n=this.$$l_u.get(e);n&&(n(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return o=>{const a=document.createElement("slot");n!=="default"&&(a.name=n),S(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=s0(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),e.default=!0):e[n]=t(n));for(const n of this.attributes){const o=this.$$g_p(n.name);o in this.$$d||(this.$$d[o]=To(o,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=o0({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=fl(()=>{ct(()=>{var n;this.$$r=!0;for(const o of Wn(this.$$c)){if(!((n=this.$$p_d[o])!=null&&n.reflect))continue;this.$$d[o]=this.$$c[o];const a=To(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1})});for(const n in this.$$l)for(const o of this.$$l[n]){const a=this.$$c.$on(n,o);this.$$l_u.set(o,a)}this.$$l={}}}attributeChangedCallback(t,e,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=To(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Wn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function To(i,t,e,r){var o;const n=(o=e[i])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!e[i])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function s0(i){const t={};return i.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function gc(i,t,e,r,n,o){let a=class extends pc{constructor(){super(i,e,n),this.$$p_d=t}static get observedAttributes(){return Wn(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Wn(t).forEach(s=>{Yr(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var h;l=To(s,l,t),this.$$d[s]=l;var c=this.$$c;if(c){var u=(h=sr(c,s))==null?void 0:h.get;u?c[s]=l:c.$set({[s]:l})}}})}),r.forEach(s=>{Yr(a.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),o&&(a=o(a)),i.element=a,a}function l0(i,...t){return Xe(()=>{try{let e=!1;const r=[];for(const n of t)n&&typeof n=="object"&&Ct in n?(r.push(to(n,!0)),e=!0):r.push(n);e&&(Ih(i),console.log("%c[snapshot]","color: grey",...r))}catch{}}),t}const c0=Object.freeze(Object.defineProperty({__proto__:null,CLASS:Oi,FILENAME:Bt,HMR:_s,NAMESPACE_SVG:Gn,STYLE:Di,aborted:uo,action:Gf,get active_effect(){return Me},add_legacy_event_listener:Bp,add_locations:wf,add_svelte_meta:qh,animation:Ff,append:S,append_styles:jf,apply:Nd,assign:pf,assign_and:gf,assign_nullish:mf,assign_or:vf,async:Sf,async_body:ld,async_derived:Ks,attach:Jl,attachment:ff,attr:Xf,attribute_effect:Ot,autofocus:sl,await:Pf,bind_active_element:op,bind_buffered:up,bind_checked:sp,bind_content_editable:Sp,bind_current_time:cp,bind_element_size:kp,bind_ended:pp,bind_files:lp,bind_focused:Pp,bind_group:ap,bind_muted:wp,bind_online:bp,bind_paused:mp,bind_playback_rate:vp,bind_played:dp,bind_prop:yp,bind_property:Cp,bind_ready_state:gp,bind_resize_observer:Ep,bind_seekable:hp,bind_seeking:fp,bind_select_value:Qf,bind_this:Mi,bind_value:ac,bind_volume:_p,bind_window_scroll:Rp,bind_window_size:Ap,boundary:Xs,bubble_event:Fp,check_target:Tf,child:Z,cleanup_styles:_f,clsx:yo,comment:te,component:Ii,create_custom_element:gc,create_ownership_validator:xf,css_props:Rf,deep_read:po,deep_read_state:ca,deferred_template_effect:Sd,delegate:Ir,derived:ne,derived_safe_equal:ea,get document(){return il},each:Yt,eager:ed,effect:qt,effect_root:fl,effect_tracking:ii,element:Vf,equals:gd,event:go,exclude_from_object:Ld,fallback:rh,first_child:K,flush:Mt,for_await_track_reactivity_loss:sd,from_html:pe,from_mathml:Fd,from_svg:re,from_tree:Bd,get:m,head:Uf,hmr:yf,html:br,hydrate_template:Nh,if:F,index:li,init:Hp,init_select:wa,inspect:kf,invalid_default_snippet:ah,invalidate_inner_signals:Rd,invalidate_store:Zp,invoke_error_boundary:Ar,key:Wl,legacy_api:Ef,legacy_pre_effect:Td,legacy_pre_effect_reset:Ed,legacy_rest_props:t0,log_if_contains_state:l0,mark_store_binding:Kp,mutable_source:co,mutate:dd,next:Tt,noop:dr,once:Mp,pending:od,pop:$e,preventDefault:zp,prevent_snippet_stringification:Bl,prop:tr,props_id:jd,proxy:ht,push:Je,raf:yr,reactive_import:Np,remove_input_defaults:ba,remove_textarea_child:bd,render_effect:ct,replay_events:Hd,reset:j,rest_props:Dt,run:cd,run_after_blockers:Ys,safe_get:Dd,sanitize_slots:Mf,save:ad,select_option:tn,self:Op,set:me,set_attribute:Ae,set_checked:$f,set_class:Ge,set_custom_element_data:ip,set_default_checked:ep,set_default_value:tp,set_selected:oc,set_style:ci,set_text:Ye,set_value:Jf,set_xlink_attribute:rp,setup_stores:Wp,sibling:ue,slot:Df,snapshot:to,snippet:It,spread_props:an,state:Ce,stopImmediatePropagation:Lp,stopPropagation:Dp,store_get:jp,store_mutate:qp,store_set:dc,store_unsub:Gp,strict_equals:pd,tag:Gh,tag_proxy:Fs,template_effect:Re,text:kt,tick:la,to_array:ih,trace:jh,track_reactivity_loss:$o,transition:Bf,trusted:Ip,untrack:Xe,update:Yi,update_legacy_props:Vp,update_pre:fd,update_pre_prop:Jp,update_pre_store:Yp,update_prop:Qp,update_store:Xp,user_effect:ut,user_pre_effect:hl,validate_binding:n0,validate_dynamic_element_tag:rf,validate_each_keys:i0,validate_snippet_args:Cf,validate_store:nf,validate_void_dynamic_element:tf,get window(){return ra},with_script:Vd,wrap_snippet:of},Symbol.toStringTag,{value:"Module"})),u0="5";typeof window<"u"&&((Ou=window.__svelte??(window.__svelte={})).v??(Ou.v=new Set)).add(u0);const h0=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-900:oklch(42.1% .095 57.708);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--drop-shadow-md:0 3px 3px #0000001f;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{scrollbar-width:thin;scrollbar-color:var(--fallback-bc,oklch(var(--bc)/.2))transparent}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--fallback-bc,oklch(var(--bc)/.2));border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--fallback-bc,oklch(var(--bc)/.4))}::-webkit-scrollbar-corner{background:0 0}:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}}:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dark]:checked),[data-theme=dark]{color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=cupcake]:checked),[data-theme=cupcake]{color-scheme:light;--color-base-100:oklch(97.788% .004 56.375);--color-base-200:oklch(93.982% .007 61.449);--color-base-300:oklch(91.586% .006 53.44);--color-base-content:oklch(23.574% .066 313.189);--color-primary:oklch(85% .138 181.071);--color-primary-content:oklch(43% .078 188.216);--color-secondary:oklch(89% .061 343.231);--color-secondary-content:oklch(45% .187 3.815);--color-accent:oklch(90% .076 70.697);--color-accent-content:oklch(47% .157 37.304);--color-neutral:oklch(27% .006 286.033);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(68% .169 237.323);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(69% .17 162.48);--color-success-content:oklch(26% .051 172.552);--color-warning:oklch(79% .184 86.047);--color-warning-content:oklch(28% .066 53.813);--color-error:oklch(64% .246 16.439);--color-error-content:oklch(27% .105 12.094);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:1;--noise:0}:root:has(input.theme-controller[value=bumblebee]:checked),[data-theme=bumblebee]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(92% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(85% .199 91.936);--color-primary-content:oklch(42% .095 57.708);--color-secondary:oklch(75% .183 55.934);--color-secondary-content:oklch(40% .123 38.172);--color-accent:oklch(0% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(37% .01 67.558);--color-neutral-content:oklch(92% .003 48.717);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(39% .09 240.876);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(39% .141 25.723);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=emerald]:checked),[data-theme=emerald]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(35.519% .032 262.988);--color-primary:oklch(76.662% .135 153.45);--color-primary-content:oklch(33.387% .04 162.24);--color-secondary:oklch(61.302% .202 261.294);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(72.772% .149 33.2);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(35.519% .032 262.988);--color-neutral-content:oklch(98.462% .001 247.838);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=corporate]:checked),[data-theme=corporate]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(22.389% .031 278.072);--color-primary:oklch(58% .158 241.966);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(55% .046 257.417);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(60% .118 184.704);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(60% .126 221.723);--color-info-content:oklch(100% 0 0);--color-success:oklch(62% .194 149.214);--color-success-content:oklch(100% 0 0);--color-warning:oklch(85% .199 91.936);--color-warning-content:oklch(0% 0 0);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(0% 0 0);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=synthwave]:checked),[data-theme=synthwave]{color-scheme:dark;--color-base-100:oklch(15% .09 281.288);--color-base-200:oklch(20% .09 281.288);--color-base-300:oklch(25% .09 281.288);--color-base-content:oklch(78% .115 274.713);--color-primary:oklch(71% .202 349.761);--color-primary-content:oklch(28% .109 3.907);--color-secondary:oklch(82% .111 230.318);--color-secondary-content:oklch(29% .066 243.157);--color-accent:oklch(75% .183 55.934);--color-accent-content:oklch(26% .079 36.259);--color-neutral:oklch(45% .24 277.023);--color-neutral-content:oklch(87% .065 274.039);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(77% .152 181.912);--color-success-content:oklch(27% .046 192.524);--color-warning:oklch(90% .182 98.111);--color-warning-content:oklch(42% .095 57.708);--color-error:oklch(73.7% .121 32.639);--color-error-content:oklch(23.501% .096 290.329);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=retro]:checked),[data-theme=retro]{color-scheme:light;--color-base-100:oklch(91.637% .034 90.515);--color-base-200:oklch(88.272% .049 91.774);--color-base-300:oklch(84.133% .065 90.856);--color-base-content:oklch(41% .112 45.904);--color-primary:oklch(80% .114 19.571);--color-primary-content:oklch(39% .141 25.723);--color-secondary:oklch(92% .084 155.995);--color-secondary-content:oklch(44% .119 151.328);--color-accent:oklch(68% .162 75.834);--color-accent-content:oklch(41% .112 45.904);--color-neutral:oklch(44% .011 73.639);--color-neutral-content:oklch(86% .005 56.366);--color-info:oklch(58% .158 241.966);--color-info-content:oklch(96% .059 95.617);--color-success:oklch(51% .096 186.391);--color-success-content:oklch(96% .059 95.617);--color-warning:oklch(64% .222 41.116);--color-warning-content:oklch(96% .059 95.617);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(40% .123 38.172);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cyberpunk]:checked),[data-theme=cyberpunk]{color-scheme:light;--color-base-100:oklch(94.51% .179 104.32);--color-base-200:oklch(91.51% .179 104.32);--color-base-300:oklch(85.51% .179 104.32);--color-base-content:oklch(0% 0 0);--color-primary:oklch(74.22% .209 6.35);--color-primary-content:oklch(14.844% .041 6.35);--color-secondary:oklch(83.33% .184 204.72);--color-secondary-content:oklch(16.666% .036 204.72);--color-accent:oklch(71.86% .217 310.43);--color-accent-content:oklch(14.372% .043 310.43);--color-neutral:oklch(23.04% .065 269.31);--color-neutral-content:oklch(94.51% .179 104.32);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=valentine]:checked),[data-theme=valentine]{color-scheme:light;--color-base-100:oklch(97% .014 343.198);--color-base-200:oklch(94% .028 342.258);--color-base-300:oklch(89% .061 343.231);--color-base-content:oklch(52% .223 3.958);--color-primary:oklch(65% .241 354.308);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(62% .265 303.9);--color-secondary-content:oklch(97% .014 308.299);--color-accent:oklch(82% .111 230.318);--color-accent-content:oklch(39% .09 240.876);--color-neutral:oklch(40% .153 2.432);--color-neutral-content:oklch(89% .061 343.231);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(44% .11 240.79);--color-success:oklch(84% .143 164.978);--color-success-content:oklch(43% .095 166.913);--color-warning:oklch(75% .183 55.934);--color-warning-content:oklch(26% .079 36.259);--color-error:oklch(63% .237 25.331);--color-error-content:oklch(97% .013 17.38);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=halloween]:checked),[data-theme=halloween]{color-scheme:dark;--color-base-100:oklch(21% .006 56.043);--color-base-200:oklch(14% .004 49.25);--color-base-300:oklch(0% 0 0);--color-base-content:oklch(84.955% 0 0);--color-primary:oklch(77.48% .204 60.62);--color-primary-content:oklch(19.693% .004 196.779);--color-secondary:oklch(45.98% .248 305.03);--color-secondary-content:oklch(89.196% .049 305.03);--color-accent:oklch(64.8% .223 136.073);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(24.371% .046 65.681);--color-neutral-content:oklch(84.874% .009 65.681);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(13.316% .031 58.318);--color-error:oklch(65.72% .199 27.33);--color-error-content:oklch(13.144% .039 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=garden]:checked),[data-theme=garden]{color-scheme:light;--color-base-100:oklch(92.951% .002 17.197);--color-base-200:oklch(86.445% .002 17.197);--color-base-300:oklch(79.938% .001 17.197);--color-base-content:oklch(16.961% .001 17.32);--color-primary:oklch(62.45% .278 3.836);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(48.495% .11 355.095);--color-secondary-content:oklch(89.699% .022 355.095);--color-accent:oklch(56.273% .054 154.39);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(24.155% .049 89.07);--color-neutral-content:oklch(92.951% .002 17.197);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=forest]:checked),[data-theme=forest]{color-scheme:dark;--color-base-100:oklch(20.84% .008 17.911);--color-base-200:oklch(18.522% .007 17.911);--color-base-300:oklch(16.203% .007 17.911);--color-base-content:oklch(83.768% .001 17.911);--color-primary:oklch(68.628% .185 148.958);--color-primary-content:oklch(0% 0 0);--color-secondary:oklch(69.776% .135 168.327);--color-secondary-content:oklch(13.955% .027 168.327);--color-accent:oklch(70.628% .119 185.713);--color-accent-content:oklch(14.125% .023 185.713);--color-neutral:oklch(30.698% .039 171.364);--color-neutral-content:oklch(86.139% .007 171.364);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=aqua]:checked),[data-theme=aqua]{color-scheme:dark;--color-base-100:oklch(37% .146 265.522);--color-base-200:oklch(28% .091 267.935);--color-base-300:oklch(22% .091 267.935);--color-base-content:oklch(90% .058 230.902);--color-primary:oklch(85.661% .144 198.645);--color-primary-content:oklch(40.124% .068 197.603);--color-secondary:oklch(60.682% .108 309.782);--color-secondary-content:oklch(96% .016 293.756);--color-accent:oklch(93.426% .102 94.555);--color-accent-content:oklch(18.685% .02 94.555);--color-neutral:oklch(27% .146 265.522);--color-neutral-content:oklch(80% .146 265.522);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(27% .077 45.635);--color-error:oklch(73.95% .19 27.33);--color-error-content:oklch(14.79% .038 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lofi]:checked),[data-theme=lofi]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(15.906% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(21.455% .001 17.278);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(26.861% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(79.54% .103 205.9);--color-info-content:oklch(15.908% .02 205.9);--color-success:oklch(90.13% .153 164.14);--color-success-content:oklch(18.026% .03 164.14);--color-warning:oklch(88.37% .135 79.94);--color-warning-content:oklch(17.674% .027 79.94);--color-error:oklch(78.66% .15 28.47);--color-error-content:oklch(15.732% .03 28.47);--radius-selector:2rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=pastel]:checked),[data-theme=pastel]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98.462% .001 247.838);--color-base-300:oklch(92.462% .001 247.838);--color-base-content:oklch(20% 0 0);--color-primary:oklch(90% .063 306.703);--color-primary-content:oklch(49% .265 301.924);--color-secondary:oklch(89% .058 10.001);--color-secondary-content:oklch(51% .222 16.935);--color-accent:oklch(90% .093 164.15);--color-accent-content:oklch(50% .118 165.612);--color-neutral:oklch(55% .046 257.417);--color-neutral-content:oklch(92% .013 255.508);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(52% .105 223.128);--color-success:oklch(87% .15 154.449);--color-success-content:oklch(52% .154 150.069);--color-warning:oklch(83% .128 66.29);--color-warning-content:oklch(55% .195 38.402);--color-error:oklch(80% .114 19.571);--color-error-content:oklch(50% .213 27.518);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:0;--noise:0}:root:has(input.theme-controller[value=fantasy]:checked),[data-theme=fantasy]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(27.807% .029 256.847);--color-primary:oklch(37.45% .189 325.02);--color-primary-content:oklch(87.49% .037 325.02);--color-secondary:oklch(53.92% .162 241.36);--color-secondary-content:oklch(90.784% .032 241.36);--color-accent:oklch(75.98% .204 56.72);--color-accent-content:oklch(15.196% .04 56.72);--color-neutral:oklch(27.807% .029 256.847);--color-neutral-content:oklch(85.561% .005 256.847);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=wireframe]:checked),[data-theme=wireframe]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(87% 0 0);--color-primary-content:oklch(26% 0 0);--color-secondary:oklch(87% 0 0);--color-secondary-content:oklch(26% 0 0);--color-accent:oklch(87% 0 0);--color-accent-content:oklch(26% 0 0);--color-neutral:oklch(87% 0 0);--color-neutral-content:oklch(26% 0 0);--color-info:oklch(44% .11 240.79);--color-info-content:oklch(90% .058 230.902);--color-success:oklch(43% .095 166.913);--color-success-content:oklch(90% .093 164.15);--color-warning:oklch(47% .137 46.201);--color-warning-content:oklch(92% .12 95.746);--color-error:oklch(44% .177 26.899);--color-error-content:oklch(88% .062 18.334);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=black]:checked),[data-theme=black]{color-scheme:dark;--color-base-100:oklch(0% 0 0);--color-base-200:oklch(19% 0 0);--color-base-300:oklch(22% 0 0);--color-base-content:oklch(87.609% 0 0);--color-primary:oklch(35% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(35% 0 0);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(35% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(35% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(45.201% .313 264.052);--color-info-content:oklch(89.04% .062 264.052);--color-success:oklch(51.975% .176 142.495);--color-success-content:oklch(90.395% .035 142.495);--color-warning:oklch(96.798% .211 109.769);--color-warning-content:oklch(19.359% .042 109.769);--color-error:oklch(62.795% .257 29.233);--color-error-content:oklch(12.559% .051 29.233);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=luxury]:checked),[data-theme=luxury]{color-scheme:dark;--color-base-100:oklch(14.076% .004 285.822);--color-base-200:oklch(20.219% .004 308.229);--color-base-300:oklch(23.219% .004 308.229);--color-base-content:oklch(75.687% .123 76.89);--color-primary:oklch(100% 0 0);--color-primary-content:oklch(20% 0 0);--color-secondary:oklch(27.581% .064 261.069);--color-secondary-content:oklch(85.516% .012 261.069);--color-accent:oklch(36.674% .051 338.825);--color-accent-content:oklch(87.334% .01 338.825);--color-neutral:oklch(24.27% .057 59.825);--color-neutral-content:oklch(93.203% .089 90.861);--color-info:oklch(79.061% .121 237.133);--color-info-content:oklch(15.812% .024 237.133);--color-success:oklch(78.119% .192 132.154);--color-success-content:oklch(15.623% .038 132.154);--color-warning:oklch(86.127% .136 102.891);--color-warning-content:oklch(17.225% .027 102.891);--color-error:oklch(71.753% .176 22.568);--color-error-content:oklch(14.35% .035 22.568);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dracula]:checked),[data-theme=dracula]{color-scheme:dark;--color-base-100:oklch(28.822% .022 277.508);--color-base-200:oklch(26.805% .02 277.508);--color-base-300:oklch(24.787% .019 277.508);--color-base-content:oklch(97.747% .007 106.545);--color-primary:oklch(75.461% .183 346.812);--color-primary-content:oklch(15.092% .036 346.812);--color-secondary:oklch(74.202% .148 301.883);--color-secondary-content:oklch(14.84% .029 301.883);--color-accent:oklch(83.392% .124 66.558);--color-accent-content:oklch(16.678% .024 66.558);--color-neutral:oklch(39.445% .032 275.524);--color-neutral-content:oklch(87.889% .006 275.524);--color-info:oklch(88.263% .093 212.846);--color-info-content:oklch(17.652% .018 212.846);--color-success:oklch(87.099% .219 148.024);--color-success-content:oklch(17.419% .043 148.024);--color-warning:oklch(95.533% .134 112.757);--color-warning-content:oklch(19.106% .026 112.757);--color-error:oklch(68.22% .206 24.43);--color-error-content:oklch(13.644% .041 24.43);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cmyk]:checked),[data-theme=cmyk]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(90% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(71.772% .133 239.443);--color-primary-content:oklch(14.354% .026 239.443);--color-secondary:oklch(64.476% .202 359.339);--color-secondary-content:oklch(12.895% .04 359.339);--color-accent:oklch(94.228% .189 105.306);--color-accent-content:oklch(18.845% .037 105.306);--color-neutral:oklch(21.778% 0 0);--color-neutral-content:oklch(84.355% 0 0);--color-info:oklch(68.475% .094 217.284);--color-info-content:oklch(13.695% .018 217.284);--color-success:oklch(46.949% .162 321.406);--color-success-content:oklch(89.389% .032 321.406);--color-warning:oklch(71.236% .159 52.023);--color-warning-content:oklch(14.247% .031 52.023);--color-error:oklch(62.013% .208 28.717);--color-error-content:oklch(12.402% .041 28.717);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=autumn]:checked),[data-theme=autumn]{color-scheme:light;--color-base-100:oklch(95.814% 0 0);--color-base-200:oklch(89.107% 0 0);--color-base-300:oklch(82.4% 0 0);--color-base-content:oklch(19.162% 0 0);--color-primary:oklch(40.723% .161 17.53);--color-primary-content:oklch(88.144% .032 17.53);--color-secondary:oklch(61.676% .169 23.865);--color-secondary-content:oklch(12.335% .033 23.865);--color-accent:oklch(73.425% .094 60.729);--color-accent-content:oklch(14.685% .018 60.729);--color-neutral:oklch(54.367% .037 51.902);--color-neutral-content:oklch(90.873% .007 51.902);--color-info:oklch(69.224% .097 207.284);--color-info-content:oklch(13.844% .019 207.284);--color-success:oklch(60.995% .08 174.616);--color-success-content:oklch(12.199% .016 174.616);--color-warning:oklch(70.081% .164 56.844);--color-warning-content:oklch(14.016% .032 56.844);--color-error:oklch(53.07% .241 24.16);--color-error-content:oklch(90.614% .048 24.16);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=business]:checked),[data-theme=business]{color-scheme:dark;--color-base-100:oklch(24.353% 0 0);--color-base-200:oklch(22.648% 0 0);--color-base-300:oklch(20.944% 0 0);--color-base-content:oklch(84.87% 0 0);--color-primary:oklch(41.703% .099 251.473);--color-primary-content:oklch(88.34% .019 251.473);--color-secondary:oklch(64.092% .027 229.389);--color-secondary-content:oklch(12.818% .005 229.389);--color-accent:oklch(67.271% .167 35.791);--color-accent-content:oklch(13.454% .033 35.791);--color-neutral:oklch(27.441% .013 253.041);--color-neutral-content:oklch(85.488% .002 253.041);--color-info:oklch(62.616% .143 240.033);--color-info-content:oklch(12.523% .028 240.033);--color-success:oklch(70.226% .094 156.596);--color-success-content:oklch(14.045% .018 156.596);--color-warning:oklch(77.482% .115 81.519);--color-warning-content:oklch(15.496% .023 81.519);--color-error:oklch(51.61% .146 29.674);--color-error-content:oklch(90.322% .029 29.674);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=acid]:checked),[data-theme=acid]{color-scheme:light;--color-base-100:oklch(98% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(91% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(71.9% .357 330.759);--color-primary-content:oklch(14.38% .071 330.759);--color-secondary:oklch(73.37% .224 48.25);--color-secondary-content:oklch(14.674% .044 48.25);--color-accent:oklch(92.78% .264 122.962);--color-accent-content:oklch(18.556% .052 122.962);--color-neutral:oklch(21.31% .128 278.68);--color-neutral-content:oklch(84.262% .025 278.68);--color-info:oklch(60.72% .227 252.05);--color-info-content:oklch(12.144% .045 252.05);--color-success:oklch(85.72% .266 158.53);--color-success-content:oklch(17.144% .053 158.53);--color-warning:oklch(91.01% .212 100.5);--color-warning-content:oklch(18.202% .042 100.5);--color-error:oklch(64.84% .293 29.349);--color-error-content:oklch(12.968% .058 29.349);--radius-selector:1rem;--radius-field:1rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lemonade]:checked),[data-theme=lemonade]{color-scheme:light;--color-base-100:oklch(98.71% .02 123.72);--color-base-200:oklch(91.8% .018 123.72);--color-base-300:oklch(84.89% .017 123.72);--color-base-content:oklch(19.742% .004 123.72);--color-primary:oklch(58.92% .199 134.6);--color-primary-content:oklch(11.784% .039 134.6);--color-secondary:oklch(77.75% .196 111.09);--color-secondary-content:oklch(15.55% .039 111.09);--color-accent:oklch(85.39% .201 100.73);--color-accent-content:oklch(17.078% .04 100.73);--color-neutral:oklch(30.98% .075 108.6);--color-neutral-content:oklch(86.196% .015 108.6);--color-info:oklch(86.19% .047 224.14);--color-info-content:oklch(17.238% .009 224.14);--color-success:oklch(86.19% .047 157.85);--color-success-content:oklch(17.238% .009 157.85);--color-warning:oklch(86.19% .047 102.15);--color-warning-content:oklch(17.238% .009 102.15);--color-error:oklch(86.19% .047 25.85);--color-error-content:oklch(17.238% .009 25.85);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=night]:checked),[data-theme=night]{color-scheme:dark;--color-base-100:oklch(20.768% .039 265.754);--color-base-200:oklch(19.314% .037 265.754);--color-base-300:oklch(17.86% .034 265.754);--color-base-content:oklch(84.153% .007 265.754);--color-primary:oklch(75.351% .138 232.661);--color-primary-content:oklch(15.07% .027 232.661);--color-secondary:oklch(68.011% .158 276.934);--color-secondary-content:oklch(13.602% .031 276.934);--color-accent:oklch(72.36% .176 350.048);--color-accent-content:oklch(14.472% .035 350.048);--color-neutral:oklch(27.949% .036 260.03);--color-neutral-content:oklch(85.589% .007 260.03);--color-info:oklch(68.455% .148 237.251);--color-info-content:oklch(0% 0 0);--color-success:oklch(78.452% .132 181.911);--color-success-content:oklch(15.69% .026 181.911);--color-warning:oklch(83.242% .139 82.95);--color-warning-content:oklch(16.648% .027 82.95);--color-error:oklch(71.785% .17 13.118);--color-error-content:oklch(14.357% .034 13.118);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=coffee]:checked),[data-theme=coffee]{color-scheme:dark;--color-base-100:oklch(24% .023 329.708);--color-base-200:oklch(21% .021 329.708);--color-base-300:oklch(16% .019 329.708);--color-base-content:oklch(72.354% .092 79.129);--color-primary:oklch(71.996% .123 62.756);--color-primary-content:oklch(14.399% .024 62.756);--color-secondary:oklch(34.465% .029 199.194);--color-secondary-content:oklch(86.893% .005 199.194);--color-accent:oklch(42.621% .074 224.389);--color-accent-content:oklch(88.524% .014 224.389);--color-neutral:oklch(16.51% .015 326.261);--color-neutral-content:oklch(83.302% .003 326.261);--color-info:oklch(79.49% .063 184.558);--color-info-content:oklch(15.898% .012 184.558);--color-success:oklch(74.722% .072 131.116);--color-success-content:oklch(14.944% .014 131.116);--color-warning:oklch(88.15% .14 87.722);--color-warning-content:oklch(17.63% .028 87.722);--color-error:oklch(77.318% .128 31.871);--color-error-content:oklch(15.463% .025 31.871);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=winter]:checked),[data-theme=winter]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97.466% .011 259.822);--color-base-300:oklch(93.268% .016 262.751);--color-base-content:oklch(41.886% .053 255.824);--color-primary:oklch(56.86% .255 257.57);--color-primary-content:oklch(91.372% .051 257.57);--color-secondary:oklch(42.551% .161 282.339);--color-secondary-content:oklch(88.51% .032 282.339);--color-accent:oklch(59.939% .191 335.171);--color-accent-content:oklch(11.988% .038 335.171);--color-neutral:oklch(19.616% .063 257.651);--color-neutral-content:oklch(83.923% .012 257.651);--color-info:oklch(88.127% .085 214.515);--color-info-content:oklch(17.625% .017 214.515);--color-success:oklch(80.494% .077 197.823);--color-success-content:oklch(16.098% .015 197.823);--color-warning:oklch(89.172% .045 71.47);--color-warning-content:oklch(17.834% .009 71.47);--color-error:oklch(73.092% .11 20.076);--color-error-content:oklch(14.618% .022 20.076);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=dim]:checked),[data-theme=dim]{color-scheme:dark;--color-base-100:oklch(30.857% .023 264.149);--color-base-200:oklch(28.036% .019 264.182);--color-base-300:oklch(26.346% .018 262.177);--color-base-content:oklch(82.901% .031 222.959);--color-primary:oklch(86.133% .141 139.549);--color-primary-content:oklch(17.226% .028 139.549);--color-secondary:oklch(73.375% .165 35.353);--color-secondary-content:oklch(14.675% .033 35.353);--color-accent:oklch(74.229% .133 311.379);--color-accent-content:oklch(14.845% .026 311.379);--color-neutral:oklch(24.731% .02 264.094);--color-neutral-content:oklch(82.901% .031 222.959);--color-info:oklch(86.078% .142 206.182);--color-info-content:oklch(17.215% .028 206.182);--color-success:oklch(86.171% .142 166.534);--color-success-content:oklch(17.234% .028 166.534);--color-warning:oklch(86.163% .142 94.818);--color-warning-content:oklch(17.232% .028 94.818);--color-error:oklch(82.418% .099 33.756);--color-error-content:oklch(16.483% .019 33.756);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=nord]:checked),[data-theme=nord]{color-scheme:light;--color-base-100:oklch(95.127% .007 260.731);--color-base-200:oklch(93.299% .01 261.788);--color-base-300:oklch(89.925% .016 262.749);--color-base-content:oklch(32.437% .022 264.182);--color-primary:oklch(59.435% .077 254.027);--color-primary-content:oklch(11.887% .015 254.027);--color-secondary:oklch(69.651% .059 248.687);--color-secondary-content:oklch(13.93% .011 248.687);--color-accent:oklch(77.464% .062 217.469);--color-accent-content:oklch(15.492% .012 217.469);--color-neutral:oklch(45.229% .035 264.131);--color-neutral-content:oklch(89.925% .016 262.749);--color-info:oklch(69.207% .062 332.664);--color-info-content:oklch(13.841% .012 332.664);--color-success:oklch(76.827% .074 131.063);--color-success-content:oklch(15.365% .014 131.063);--color-warning:oklch(85.486% .089 84.093);--color-warning-content:oklch(17.097% .017 84.093);--color-error:oklch(60.61% .12 15.341);--color-error-content:oklch(12.122% .024 15.341);--radius-selector:1rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=sunset]:checked),[data-theme=sunset]{color-scheme:dark;--color-base-100:oklch(22% .019 237.69);--color-base-200:oklch(20% .019 237.69);--color-base-300:oklch(18% .019 237.69);--color-base-content:oklch(77.383% .043 245.096);--color-primary:oklch(74.703% .158 39.947);--color-primary-content:oklch(14.94% .031 39.947);--color-secondary:oklch(72.537% .177 2.72);--color-secondary-content:oklch(14.507% .035 2.72);--color-accent:oklch(71.294% .166 299.844);--color-accent-content:oklch(14.258% .033 299.844);--color-neutral:oklch(26% .019 237.69);--color-neutral-content:oklch(70% .019 237.69);--color-info:oklch(85.559% .085 206.015);--color-info-content:oklch(17.111% .017 206.015);--color-success:oklch(85.56% .085 144.778);--color-success-content:oklch(17.112% .017 144.778);--color-warning:oklch(85.569% .084 74.427);--color-warning-content:oklch(17.113% .016 74.427);--color-error:oklch(85.511% .078 16.886);--color-error-content:oklch(17.102% .015 16.886);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root{--fx-noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E")}@property --radialprogress{syntax: "<percentage>"; inherits: true; initial-value: 0%;}:root:not(span){overflow:var(--page-overflow)}:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))var(--root-bg)}@supports (color:color-mix(in lab,red,red)){:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))color-mix(in srgb,var(--root-bg),oklch(0% 0 0) calc(var(--page-has-backdrop,0)*40%))}}:root{--page-scroll-transition-on:background-color .3s ease-out;transition:var(--page-scroll-transition);scrollbar-gutter:var(--page-scroll-gutter,unset);scrollbar-gutter:if(style(--page-has-scroll: 1): var(--page-scroll-gutter,unset); else: unset)}:root:root{background:var(--page-scroll-bg,var(--root-bg,var(--color-base-100)))}@keyframes set-page-has-scroll{0%,to{--page-has-scroll:1}}:root,[data-theme]{background-color:var(--root-bg,var(--color-base-100));color:var(--color-base-content)}:where(:root,[data-theme]){--root-bg:var(--color-base-100)}}@layer components;@layer utilities{@layer daisyui.l1.l2.l3{.diff{webkit-user-select:none;-webkit-user-select:none;user-select:none;direction:ltr;grid-template-rows:1fr 1.8rem 1fr;grid-template-columns:auto 1fr;width:100%;display:grid;position:relative;overflow:hidden;container-type:inline-size}.diff:focus-visible,.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px;outline-color:var(--color-base-content)}.diff:focus-visible .diff-resizer{min-width:95cqi;max-width:95cqi}.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px}.diff:has(.diff-item-1:focus-visible) .diff-resizer{min-width:5cqi;max-width:5cqi}@supports (-webkit-overflow-scrolling:touch) and (overflow:-webkit-paged-x){.diff:focus .diff-resizer{min-width:5cqi;max-width:5cqi}.diff:has(.diff-item-1:focus) .diff-resizer{min-width:95cqi;max-width:95cqi}}.modal{pointer-events:none;visibility:hidden;width:100%;max-width:none;height:100%;max-height:none;color:inherit;transition:visibility .3s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;overscroll-behavior:contain;z-index:999;scrollbar-gutter:auto;background-color:#0000;place-items:center;margin:0;padding:0;display:grid;position:fixed;top:0;right:0;bottom:0;left:0;overflow:clip}.modal::backdrop{display:none}.fab{pointer-events:none;z-index:999;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));white-space:nowrap;inset-inline-end:1rem;flex-direction:column-reverse;align-items:flex-end;gap:.5rem;display:flex;position:fixed;bottom:1rem}.fab>*{pointer-events:auto;align-items:center;gap:.5rem;display:flex}.fab>:hover,.fab>:has(:focus-visible){z-index:1}.fab>[tabindex]:first-child{transition-property:opacity,visibility,rotate;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:grid;position:relative}.fab .fab-close,.fab .fab-main-action{inset-inline-end:0;position:absolute;bottom:0}:is(.fab:focus-within:has(.fab-close),.fab:focus-within:has(.fab-main-action))>[tabindex]{opacity:0;rotate:90deg}.fab:focus-within>[tabindex]:first-child{pointer-events:none}.fab:focus-within>:nth-child(n+2){visibility:visible;--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:1}.fab>:nth-child(n+2){visibility:hidden;--tw-scale-x:80%;--tw-scale-y:80%;--tw-scale-z:80%;scale:var(--tw-scale-x)var(--tw-scale-y);opacity:0;transition-property:opacity,scale,visibility;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.fab>:nth-child(n+2).fab-main-action,.fab>:nth-child(n+2).fab-close{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.fab>:nth-child(3){transition-delay:30ms}.fab>:nth-child(4){transition-delay:60ms}.fab>:nth-child(5){transition-delay:90ms}.fab>:nth-child(6){transition-delay:.12s}.tooltip{--tt-bg:var(--color-neutral);--tt-off: calc(100% + .5rem) ;--tt-tail: calc(100% + 1px + .25rem) ;display:inline-block;position:relative}.tooltip>.tooltip-content,.tooltip[data-tip]:before{border-radius:var(--radius-field);text-align:center;white-space:normal;max-width:20rem;color:var(--color-neutral-content);opacity:0;background-color:var(--tt-bg);pointer-events:none;z-index:2;--tw-content:attr(data-tip);content:var(--tw-content);width:max-content;padding-block:.25rem;padding-inline:.5rem;font-size:.875rem;line-height:1.25;position:absolute}.tooltip:after{opacity:0;background-color:var(--tt-bg);content:"";pointer-events:none;--mask-tooltip:url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");width:.625rem;height:.25rem;-webkit-mask-position:-1px 0;mask-position:-1px 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-image:var(--mask-tooltip);mask-image:var(--mask-tooltip);display:block;position:absolute}@media(prefers-reduced-motion:no-preference){.tooltip>.tooltip-content,.tooltip[data-tip]:before,.tooltip:after{transition:opacity .2s cubic-bezier(.4,0,.2,1) 75ms,transform .2s cubic-bezier(.4,0,.2,1) 75ms}}:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{opacity:1;--tt-pos:0rem}@media(prefers-reduced-motion:no-preference){:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{transition:opacity .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}}.tab{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;webkit-user-select:none;-webkit-user-select:none;user-select:none;flex-wrap:wrap;justify-content:center;align-items:center;display:inline-flex;position:relative}@media(hover:hover){.tab:hover{color:var(--color-base-content)}}.tab{--tab-p:.75rem;--tab-bg:var(--color-base-100);--tab-border-color:var(--color-base-300);--tab-radius-ss:0;--tab-radius-se:0;--tab-radius-es:0;--tab-radius-ee:0;--tab-order:0;--tab-radius-min:calc(.75rem - var(--border));--tab-radius-limit:min(var(--radius-field),var(--tab-radius-min));--tab-radius-grad:#0000 calc(69% - var(--border)),var(--tab-border-color)calc(69% - var(--border) + .25px),var(--tab-border-color)69%,var(--tab-bg) calc(69% + .25px) ;order:var(--tab-order);height:var(--tab-height);padding-inline:var(--tab-p);border-color:#0000;font-size:.875rem}.tab:is(input[type=radio]){min-width:fit-content}.tab:is(input[type=radio]):after{--tw-content:attr(aria-label);content:var(--tw-content)}.tab:is(label){position:relative}.tab:is(label) input{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0;position:absolute;top:0;right:0;bottom:0;left:0}:is(.tab:checked,.tab:is(label:has(:checked)),.tab:is(.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]))+.tab-content{display:block}.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.tab:not(input):empty{cursor:default;flex-grow:1}.tab:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.tab:focus{outline-offset:2px;outline:2px solid #0000}}.tab:focus-visible,.tab:is(label:has(:checked:focus-visible)){outline-offset:-5px;outline:2px solid}.tab[disabled]{pointer-events:none;opacity:.4}.menu{--menu-active-fg:var(--color-neutral-content);--menu-active-bg:var(--color-neutral);flex-flow:column wrap;width:fit-content;padding:.5rem;font-size:.875rem;display:flex}.menu :where(li ul){white-space:nowrap;margin-inline-start:1rem;padding-inline-start:.5rem;position:relative}.menu :where(li ul):before{background-color:var(--color-base-content);opacity:.1;width:var(--border);content:"";inset-inline-start:0;position:absolute;top:.75rem;bottom:.75rem}.menu :where(li>.menu-dropdown:not(.menu-dropdown-show)){display:none}.menu :where(li:not(.menu-title)>:not(ul,details,.menu-title,.btn)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:var(--radius-field);text-align:start;text-wrap:balance;-webkit-user-select:none;user-select:none;grid-auto-columns:minmax(auto,max-content) auto max-content;grid-auto-flow:column;align-content:flex-start;align-items:center;gap:.5rem;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:grid}.menu :where(li>details>summary){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li>details>summary){outline-offset:2px;outline:2px solid #0000}}.menu :where(li>details>summary)::-webkit-details-marker{display:none}:is(.menu :where(li>details>summary),.menu :where(li>.menu-dropdown-toggle)):after{content:"";transform-origin:50%;pointer-events:none;justify-self:flex-end;width:.375rem;height:.375rem;transition-property:rotate,translate;transition-duration:.2s;display:block;translate:0 -1px;rotate:-135deg;box-shadow:inset 2px 2px}.menu details{interpolate-size:allow-keywords;overflow:hidden}.menu details::details-content{block-size:0}@media(prefers-reduced-motion:no-preference){.menu details::details-content{transition-behavior:allow-discrete;transition-property:block-size,content-visibility;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}}.menu details[open]::details-content{block-size:auto}.menu :where(li>details[open]>summary):after,.menu :where(li>.menu-dropdown-toggle.menu-dropdown-show):after{translate:0 1px;rotate:45deg}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{color:var(--color-base-content);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){box-shadow:inset 0 1px #00000003,inset 0 -1px #ffffff03}.menu :where(li:empty){background-color:var(--color-base-content);opacity:.1;height:1px;margin:.5rem 1rem}.menu :where(li){flex-flow:column wrap;flex-shrink:0;align-items:stretch;display:flex;position:relative}.menu :where(li) .badge{justify-self:flex-end}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{outline-offset:2px;outline:2px solid #0000}}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{color:var(--menu-active-fg);background-color:var(--menu-active-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):not(:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):active){box-shadow:0 2px calc(var(--depth)*3px) -2px var(--menu-active-bg)}.menu :where(li).menu-disabled{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li).menu-disabled{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.menu .dropdown:focus-within .menu-dropdown-toggle:after{translate:0 1px;rotate:45deg}.menu .dropdown-content{margin-top:.5rem;padding:.5rem}.menu .dropdown-content:before{display:none}.dock{z-index:1;background-color:var(--color-base-100);color:currentColor;border-top:.5px solid var(--color-base-content);flex-direction:row;justify-content:space-around;align-items:center;width:100%;padding:.5rem;display:flex;position:fixed;bottom:0;left:0;right:0}@supports (color:color-mix(in lab,red,red)){.dock{border-top:.5px solid color-mix(in oklab,var(--color-base-content)5%,#0000)}}.dock{height:4rem;height:calc(4rem + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.dock>*{cursor:pointer;border-radius:var(--radius-box);background-color:#0000;flex-direction:column;flex-shrink:1;flex-basis:100%;justify-content:center;align-items:center;gap:1px;max-width:8rem;height:100%;margin-bottom:.5rem;transition:opacity .2s ease-out;display:flex;position:relative}@media(hover:hover){.dock>:hover{opacity:.8}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{opacity:1}.dock>* .dock-label{font-size:.6875rem}.dock>:after{content:"";background-color:#0000;border-top:3px solid #0000;border-radius:3.40282e38px;width:1.5rem;height:.25rem;transition:background-color .1s ease-out,text-color .1s ease-out,width .1s ease-out;position:absolute;bottom:.2rem}.dropdown{position-area:var(--anchor-v,bottom)var(--anchor-h,span-right);display:inline-block;position:relative}.dropdown>:not(:has(~[class*=dropdown-content])):focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.dropdown>:not(:has(~[class*=dropdown-content])):focus{outline-offset:2px;outline:2px solid #0000}}.dropdown .dropdown-content{position:absolute}.dropdown.dropdown-close .dropdown-content,.dropdown:not(details,.dropdown-open,.dropdown-hover:hover,:focus-within) .dropdown-content,.dropdown.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible)~.dropdown-content{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover],.dropdown .dropdown-content{z-index:999}@media(prefers-reduced-motion:no-preference){.dropdown[popover],.dropdown .dropdown-content{transition-behavior:allow-discrete;transition-property:opacity,scale,display;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation:.2s dropdown}}@starting-style{.dropdown[popover],.dropdown .dropdown-content{opacity:0;scale:95%}}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within)>[tabindex]:first-child{pointer-events:none}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within) .dropdown-content,.dropdown:not(.dropdown-close).dropdown-hover:hover .dropdown-content{opacity:1;scale:100%}.dropdown:is(details) summary::-webkit-details-marker{display:none}.dropdown:where([popover]){background:0 0}.dropdown[popover]{color:inherit;position:fixed}@supports not (position-area:bottom){.dropdown[popover]{margin:auto}.dropdown[popover].dropdown-close{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover].dropdown-open:not(:popover-open){transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover]::backdrop{background-color:oklab(0% none none/.3)}}:is(.dropdown[popover].dropdown-close,.dropdown[popover]:not(.dropdown-open,:popover-open)){transform-origin:top;opacity:0;display:none;scale:95%}:where(.btn){width:unset}.btn{cursor:pointer;text-align:center;vertical-align:middle;outline-offset:2px;webkit-user-select:none;-webkit-user-select:none;user-select:none;padding-inline:var(--btn-p);color:var(--btn-fg);--tw-prose-links:var(--btn-fg);height:var(--size);font-size:var(--fontsize,.875rem);outline-color:var(--btn-color,var(--color-base-content));background-color:var(--btn-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--btn-noise);border-width:var(--border);border-style:solid;border-color:var(--btn-border);text-shadow:0 .5px oklch(100% 0 0/calc(var(--depth)*.15));touch-action:manipulation;box-shadow:0 .5px 0 .5px oklch(100% 0 0/calc(var(--depth)*6%)) inset,var(--btn-shadow);--size:calc(var(--size-field,.25rem)*10);--btn-bg:var(--btn-color,var(--color-base-200));--btn-fg:var(--color-base-content);--btn-p:1rem;--btn-border:var(--btn-bg);border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:.375rem;font-weight:600;transition-property:color,background-color,border-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:inline-flex}@supports (color:color-mix(in lab,red,red)){.btn{--btn-border:color-mix(in oklab,var(--btn-bg),#000 calc(var(--depth)*5%))}}.btn{--btn-shadow:0 3px 2px -2px var(--btn-bg),0 4px 3px -2px var(--btn-bg)}@supports (color:color-mix(in lab,red,red)){.btn{--btn-shadow:0 3px 2px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000),0 4px 3px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000)}}.btn{--btn-noise:var(--fx-noise)}@media(hover:hover){.btn:hover{--btn-bg:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:hover{--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}}.btn:focus-visible,.btn:has(:focus-visible){isolation:isolate;outline-width:2px;outline-style:solid}.btn:active:not(.btn-active){--btn-bg:var(--btn-color,var(--color-base-200));translate:0 .5px}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 5%)}}.btn:active:not(.btn-active){--btn-border:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-border:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}.btn:active:not(.btn-active){--btn-shadow:0 0 0 0 oklch(0% 0 0/0),0 0 0 0 oklch(0% 0 0/0)}.btn:is(input[type=checkbox],input[type=radio]){-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn:is(input[type=checkbox],input[type=radio])[aria-label]:after{--tw-content:attr(aria-label);content:var(--tw-content)}.btn:where(input:checked:not(.filter .btn)){--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content);isolation:isolate}.loading{pointer-events:none;aspect-ratio:1;vertical-align:middle;width:calc(var(--size-selector,.25rem)*6);background-color:currentColor;display:inline-block;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.list{flex-direction:column;font-size:.875rem;display:flex}.list .list-row{--list-grid-cols:minmax(0,auto)1fr;border-radius:var(--radius-box);word-break:break-word;grid-auto-flow:column;grid-template-columns:var(--list-grid-cols);gap:1rem;padding:1rem;display:grid;position:relative}:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{content:"";border-bottom:var(--border)solid;inset-inline:var(--radius-box);border-color:var(--color-base-content);position:absolute;bottom:0}@supports (color:color-mix(in lab,red,red)){:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{border-color:color-mix(in oklab,var(--color-base-content)5%,transparent)}}.toggle{border:var(--border)solid currentColor;color:var(--input-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;webkit-user-select:none;-webkit-user-select:none;user-select:none;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--toggle-p),var(--radius-selector-max)) + min(var(--border),var(--radius-selector-max)));padding:var(--toggle-p);flex-shrink:0;grid-template-columns:0fr 1fr 1fr;place-content:center;display:inline-grid;position:relative;box-shadow:inset 0 1px}@supports (color:color-mix(in lab,red,red)){.toggle{box-shadow:0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000) inset}}.toggle{--input-color:var(--color-base-content);transition:color .3s,grid-template-columns .2s}@supports (color:color-mix(in lab,red,red)){.toggle{--input-color:color-mix(in oklab,var(--color-base-content)50%,#0000)}}.toggle{--toggle-p:calc(var(--size)*.125);--size:calc(var(--size-selector,.25rem)*6);width:calc((var(--size)*2) - (var(--border) + var(--toggle-p))*2);height:var(--size)}.toggle>*{z-index:1;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;grid-column:2/span 1;grid-row-start:1;height:100%;padding:.125rem;transition:opacity .2s,rotate .4s}.toggle>:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.toggle>:focus{outline-offset:2px;outline:2px solid #0000}}.toggle>:nth-child(2){color:var(--color-base-100);rotate:none}.toggle>:nth-child(3){color:var(--color-base-100);opacity:0;rotate:-15deg}.toggle:has(:checked)>:nth-child(2){opacity:0;rotate:15deg}.toggle:has(:checked)>:nth-child(3){opacity:1;rotate:none}.toggle:before{aspect-ratio:1;border-radius:var(--radius-selector);--tw-content:"";content:var(--tw-content);height:100%;box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor;background-color:currentColor;grid-row-start:1;grid-column-start:2;transition:background-color .1s,translate .2s,inset-inline-start .2s;position:relative;inset-inline-start:0;translate:0}@supports (color:color-mix(in lab,red,red)){.toggle:before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000)}}.toggle:before{background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}@media(forced-colors:active){.toggle:before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{.toggle:before{outline-offset:-1rem;outline:.25rem solid}}.toggle:focus-visible,.toggle:has(:focus-visible){outline-offset:2px;outline:2px solid}.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked){background-color:var(--color-base-100);--input-color:var(--color-base-content);grid-template-columns:1fr 1fr 0fr}:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{background-color:currentColor}@starting-style{:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{opacity:0}}.toggle:indeterminate{grid-template-columns:.5fr 1fr .5fr}.toggle:disabled{cursor:not-allowed;opacity:.3}.toggle:disabled:before{border:var(--border)solid currentColor;background-color:#0000}.input{cursor:text;border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;white-space:nowrap;width:clamp(3rem,20rem,100%);height:var(--size);font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.5rem;padding-inline:.75rem;display:inline-flex;position:relative}@supports (color:color-mix(in lab,red,red)){.input{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.input{--size:calc(var(--size-field,.25rem)*10);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.input:where(input){display:inline-flex}.input :where(input){-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;width:100%;height:100%;display:inline-flex}.input :where(input):focus,.input :where(input):focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.input :where(input):focus,.input :where(input):focus-within{outline-offset:2px;outline:2px solid #0000}}.input :where(input[type=url]),.input :where(input[type=email]){direction:ltr}.input :where(input[type=date]){display:inline-flex}.input:focus,.input:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.input:focus,.input:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.input:focus,.input:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.input:focus,.input:focus-within{--font-size:1rem}}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{box-shadow:none}.input:has(>input[disabled])>input[disabled]{cursor:not-allowed}.input::-webkit-date-and-time-value{text-align:inherit}.input[type=number]::-webkit-inner-spin-button{margin-block:-.75rem;margin-inline-end:-.75rem}.input::-webkit-calendar-picker-indicator{position:absolute;inset-inline-end:.75em}.input:has(>input[type=date]) :where(input[type=date]){webkit-appearance:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex}.input:has(>input[type=date]) input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;width:1em;height:1em;position:absolute;inset-inline-end:.75em}.indicator{width:max-content;display:inline-flex;position:relative}.indicator :where(.indicator-item){z-index:1;white-space:nowrap;top:var(--indicator-t,0);bottom:var(--indicator-b,auto);left:var(--indicator-s,auto);right:var(--indicator-e,0);translate:var(--indicator-x,50%)var(--indicator-y,-50%);position:absolute}.table{border-collapse:separate;--tw-border-spacing-x: 0rem ;--tw-border-spacing-y: 0rem ;width:100%;border-spacing:var(--tw-border-spacing-x)var(--tw-border-spacing-y);border-radius:var(--radius-box);text-align:left;font-size:.875rem;position:relative}.table:where(:dir(rtl),[dir=rtl],[dir=rtl] *){text-align:right}@media(hover:hover){:is(.table tr.row-hover,.table tr.row-hover:nth-child(2n)):hover{background-color:var(--color-base-200)}}.table :where(th,td){vertical-align:middle;padding-block:.75rem;padding-inline:1rem}.table :where(thead,tfoot){white-space:nowrap;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead,tfoot){color:color-mix(in oklab,var(--color-base-content)60%,transparent)}}.table :where(thead,tfoot){font-size:.875rem;font-weight:600}.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.table :where(.table-pin-rows thead tr){z-index:1;background-color:var(--color-base-100);position:sticky;top:0}.table :where(.table-pin-rows tfoot tr){z-index:1;background-color:var(--color-base-100);position:sticky;bottom:0}.table :where(.table-pin-cols tr th){background-color:var(--color-base-100);position:sticky;left:0;right:0}.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.steps{counter-reset:step;grid-auto-columns:1fr;grid-auto-flow:column;display:inline-grid;overflow:auto hidden}.steps .step{text-align:center;--step-bg:var(--color-base-300);--step-fg:var(--color-base-content);grid-template-rows:40px 1fr;grid-template-columns:auto;place-items:center;min-width:4rem;display:grid}.steps .step:before{width:100%;height:.5rem;color:var(--step-bg);background-color:var(--step-bg);content:"";border:1px solid;grid-row-start:1;grid-column-start:1;margin-inline-start:-100%;top:0}.steps .step>.step-icon,.steps .step:not(:has(.step-icon)):after{--tw-content:counter(step);content:var(--tw-content);counter-increment:step;z-index:1;color:var(--step-fg);background-color:var(--step-bg);border:1px solid var(--step-bg);border-radius:3.40282e38px;grid-row-start:1;grid-column-start:1;place-self:center;place-items:center;width:2rem;height:2rem;display:grid;position:relative}.steps .step:first-child:before{--tw-content:none;content:var(--tw-content)}.steps .step[data-content]:after{--tw-content:attr(data-content);content:var(--tw-content)}.range{-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;--range-thumb:var(--color-base-100);--range-thumb-size:calc(var(--size-selector,.25rem)*6);--range-progress:currentColor;--range-fill:1;--range-p:.25rem;--range-bg:currentColor}@supports (color:color-mix(in lab,red,red)){.range{--range-bg:color-mix(in oklab,currentColor 10%,#0000)}}.range{cursor:pointer;vertical-align:middle;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));width:clamp(3rem,20rem,100%);height:var(--range-thumb-size);background-color:#0000;border:none;overflow:hidden}[dir=rtl] .range{--range-dir:-1}.range:focus{outline:none}.range:focus-visible{outline-offset:2px;outline:2px solid}.range::-webkit-slider-runnable-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}@media(forced-colors:active){.range::-webkit-slider-runnable-track{border:1px solid}.range::-moz-range-track{border:1px solid}}.range::-webkit-slider-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));background-color:var(--range-thumb);height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));position:relative;top:50%;transform:translateY(-50%)}@supports (color:color-mix(in lab,red,red)){.range::-webkit-slider-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range::-moz-range-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}.range::-moz-range-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));background-color:currentColor;position:relative;top:50%}@supports (color:color-mix(in lab,red,red)){.range::-moz-range-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range:disabled{cursor:not-allowed;opacity:.3}.select{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);height:var(--size);touch-action:manipulation;white-space:nowrap;text-overflow:ellipsis;box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16.1px) calc(1px + 50%);background-repeat:no-repeat;background-size:4px 4px,4px 4px;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.375rem;padding-inline:.75rem 1.75rem;font-size:.875rem;display:inline-flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.select{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.select{border-color:var(--input-color);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.select{--size:calc(var(--size-field,.25rem)*10)}[dir=rtl] .select{background-position:12px calc(1px + 50%),16px calc(1px + 50%)}[dir=rtl] .select::picker(select){translate:.5rem}[dir=rtl] .select select::picker(select){translate:.5rem}.select[multiple]{background-image:none;height:auto;padding-block:.75rem;padding-inline-end:.75rem;overflow:auto}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:calc(100% + 2.75rem);height:calc(100% - calc(var(--border)*2));background:inherit;border-radius:inherit;border-style:none;align-items:center;margin-inline:-.75rem -1.75rem;padding-inline:.75rem 1.75rem}.select select:focus,.select select:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.select select:focus,.select select:focus-within{outline-offset:2px;outline:2px solid #0000}}.select select:not(:last-child){background-image:none;margin-inline-end:-1.375rem}.select:focus,.select:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.select:focus,.select:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.select:focus,.select:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.select:has(>select[disabled])>select[disabled]{cursor:not-allowed}@supports (appearance:base-select){.select,.select select{-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}:is(.select,.select select)::picker(select){-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}}:is(.select,.select select)::picker(select){color:inherit;border:var(--border)solid var(--color-base-200);border-radius:var(--radius-box);background-color:inherit;max-height:min(24rem,70dvh);box-shadow:0 2px calc(var(--depth)*3px) -2px #0003;box-shadow:0 20px 25px -5px rgb(0 0 0/calc(var(--depth)*.1)),0 8px 10px -6px rgb(0 0 0/calc(var(--depth)*.1));margin-block:.5rem;margin-inline:.5rem;padding:.5rem;translate:-.5rem}:is(.select,.select select)::picker-icon{display:none}:is(.select,.select select) optgroup{padding-top:.5em}:is(.select,.select select) optgroup option:first-child{margin-top:.5em}:is(.select,.select select) option{border-radius:var(--radius-field);white-space:normal;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{outline-offset:2px;outline:2px solid #0000}}:is(.select,.select select) option:not(:disabled):active{background-color:var(--color-neutral);color:var(--color-neutral-content);box-shadow:0 2px calc(var(--depth)*3px) -2px var(--color-neutral)}.checkbox{border:var(--border)solid var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox{border:var(--border)solid var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-selector);vertical-align:middle;color:var(--color-base-content);box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 0 #0000 inset,0 0 #0000;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);flex-shrink:0;padding:.25rem;transition:background-color .2s,box-shadow .2s;display:inline-block;position:relative}.checkbox:before{--tw-content:"";content:var(--tw-content);opacity:0;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,70% 80%,70% 100%);width:100%;height:100%;box-shadow:0 3px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-color:currentColor;font-size:1rem;line-height:.75;transition:clip-path .3s .1s,opacity .1s .1s,rotate .3s .1s,translate .3s .1s;display:block;rotate:45deg}.checkbox:focus-visible{outline:2px solid var(--input-color,currentColor);outline-offset:2px}.checkbox:checked,.checkbox[aria-checked=true]{background-color:var(--input-color,#0000);box-shadow:0 0 #0000 inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1))}:is(.checkbox:checked,.checkbox[aria-checked=true]):before{clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 0%,70% 0%,70% 100%);opacity:1}@media(forced-colors:active){:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}@media print{:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}.checkbox:indeterminate{background-color:var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox:indeterminate{background-color:var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox:indeterminate:before{opacity:1;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,80% 80%,80% 100%);translate:0 -35%;rotate:none}.radio{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;border:var(--border)solid var(--input-color,currentColor);border-radius:3.40282e38px;flex-shrink:0;padding:.25rem;display:inline-block;position:relative}@supports (color:color-mix(in lab,red,red)){.radio{border:var(--border)solid var(--input-color,color-mix(in srgb,currentColor 20%,#0000))}}.radio{box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);color:var(--input-color,currentColor)}.radio:before{--tw-content:"";content:var(--tw-content);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);border-radius:3.40282e38px;width:100%;height:100%;display:block}.radio:focus-visible{outline:2px solid}.radio:checked,.radio[aria-checked=true]{background-color:var(--color-base-100);border-color:currentColor}@media(prefers-reduced-motion:no-preference){.radio:checked,.radio[aria-checked=true]{animation:.2s ease-out radio}}:is(.radio:checked,.radio[aria-checked=true]):before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1));background-color:currentColor}@media(forced-colors:active){:is(.radio:checked,.radio[aria-checked=true]):before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{:is(.radio:checked,.radio[aria-checked=true]):before{outline-offset:-1rem;outline:.25rem solid}}.drawer{grid-auto-columns:max-content auto;width:100%;display:grid;position:relative}.card{border-radius:var(--radius-box);outline-offset:2px;outline:0 solid #0000;flex-direction:column;transition:outline .2s ease-in-out;display:flex;position:relative}.card:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.card:focus{outline-offset:2px;outline:2px solid #0000}}.card:focus-visible{outline-color:currentColor}.card :where(figure:first-child){border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-end-radius:unset;border-end-start-radius:unset;overflow:hidden}.card :where(figure:last-child){border-start-start-radius:unset;border-start-end-radius:unset;border-end-end-radius:inherit;border-end-start-radius:inherit;overflow:hidden}.card figure{justify-content:center;align-items:center;display:flex}.card:has(>input:is(input[type=checkbox],input[type=radio])){cursor:pointer;-webkit-user-select:none;user-select:none}.card:has(>:checked){outline:2px solid}.progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-box);background-color:currentColor;width:100%;height:.5rem;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.progress{background-color:color-mix(in oklab,currentcolor 20%,transparent)}}.progress{color:var(--color-base-content)}.progress:indeterminate{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%}@media(prefers-reduced-motion:no-preference){.progress:indeterminate{animation:5s ease-in-out infinite progress}}@supports ((-moz-appearance:none)){.progress:indeterminate::-moz-progress-bar{background-color:#0000}@media(prefers-reduced-motion:no-preference){.progress:indeterminate::-moz-progress-bar{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%;animation:5s ease-in-out infinite progress}}.progress::-moz-progress-bar{border-radius:var(--radius-box);background-color:currentColor}}@supports ((-webkit-appearance:none)){.progress::-webkit-progress-bar{border-radius:var(--radius-box);background-color:#0000}.progress::-webkit-progress-value{border-radius:var(--radius-box);background-color:currentColor}}.textarea{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-field);background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);min-height:5rem;font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;flex-shrink:1;padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.textarea{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.textarea{--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.textarea textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none}.textarea textarea:focus,.textarea textarea:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.textarea textarea:focus,.textarea textarea:focus-within{outline-offset:2px;outline:2px solid #0000}}.textarea:focus,.textarea:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.textarea:focus,.textarea:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.textarea:focus,.textarea:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.textarea:focus,.textarea:focus-within{--font-size:1rem}}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){box-shadow:none}.textarea:has(>textarea[disabled])>textarea[disabled]{cursor:not-allowed}.modal-backdrop{color:#0000;z-index:-1;grid-row-start:1;grid-column-start:1;place-self:stretch stretch;display:grid}.modal-backdrop button{cursor:pointer}.modal-box{background-color:var(--color-base-100);border-top-left-radius:var(--modal-tl,var(--radius-box));border-top-right-radius:var(--modal-tr,var(--radius-box));border-bottom-left-radius:var(--modal-bl,var(--radius-box));border-bottom-right-radius:var(--modal-br,var(--radius-box));opacity:0;overscroll-behavior:contain;grid-row-start:1;grid-column-start:1;width:91.6667%;max-width:32rem;max-height:100vh;padding:1.5rem;transition:translate .3s ease-out,scale .3s ease-out,opacity .2s ease-out 50ms,box-shadow .3s ease-out;overflow-y:auto;scale:95%;box-shadow:0 25px 50px -12px #00000040}.divider{white-space:nowrap;height:1rem;margin:var(--divider-m,1rem 0);--divider-color:var(--color-base-content);flex-direction:row;align-self:stretch;align-items:center;display:flex}@supports (color:color-mix(in lab,red,red)){.divider{--divider-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.divider:before,.divider:after{content:"";background-color:var(--divider-color);flex-grow:1;width:100%;height:.125rem}@media print{.divider:before,.divider:after{border:.5px solid}}.divider:not(:empty){gap:1rem}.filter{flex-wrap:wrap;display:flex}.filter input[type=radio]{width:auto}.filter input{opacity:1;transition:margin .1s,opacity .3s,padding .3s,border-width .1s;overflow:hidden;scale:1}.filter input:not(:last-child){margin-inline-end:.25rem}.filter input.filter-reset{aspect-ratio:1}.filter input.filter-reset:after{--tw-content:"×";content:var(--tw-content)}.filter:not(:has(input:checked:not(.filter-reset))) .filter-reset,.filter:not(:has(input:checked:not(.filter-reset))) input[type=reset],.filter:has(input:checked:not(.filter-reset)) input:not(:checked,.filter-reset,input[type=reset]){opacity:0;border-width:0;width:0;margin-inline:0;padding-inline:0;scale:0}.label{white-space:nowrap;color:currentColor;align-items:center;gap:.375rem;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.label{color:color-mix(in oklab,currentcolor 60%,transparent)}}.label:has(input){cursor:pointer}.label:is(.input>*,.select>*){white-space:nowrap;height:calc(100% - .5rem);font-size:inherit;align-items:center;padding-inline:.75rem;display:flex}.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid currentColor;margin-inline:-.75rem .75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid currentColor;margin-inline:.75rem -.75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.modal-action{justify-content:flex-end;gap:.5rem;margin-top:1.5rem;display:flex}.status{aspect-ratio:1;border-radius:var(--radius-selector);background-color:var(--color-base-content);width:.5rem;height:.5rem;display:inline-block}@supports (color:color-mix(in lab,red,red)){.status{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.status{vertical-align:middle;color:#0000004d;background-position:50%;background-repeat:no-repeat}@supports (color:color-mix(in lab,red,red)){.status{color:color-mix(in oklab,var(--color-black)30%,transparent)}}.status{background-image:radial-gradient(circle at 35% 30%,oklch(1 0 0/calc(var(--depth)*.5)),#0000);box-shadow:0 2px 3px -1px}@supports (color:color-mix(in lab,red,red)){.status{box-shadow:0 2px 3px -1px color-mix(in oklab,currentColor calc(var(--depth)*100%),#0000)}}.badge{border-radius:var(--radius-selector);vertical-align:middle;color:var(--badge-fg);border:var(--border)solid var(--badge-color,var(--color-base-200));background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);background-color:var(--badge-bg);--badge-bg:var(--badge-color,var(--color-base-100));--badge-fg:var(--color-base-content);--size:calc(var(--size-selector,.25rem)*6);width:fit-content;height:var(--size);padding-inline:calc(var(--size)/2 - var(--border));justify-content:center;align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.tabs{--tabs-height:auto;--tabs-direction:row;--tab-height:calc(var(--size-field,.25rem)*10);height:var(--tabs-height);flex-wrap:wrap;flex-direction:var(--tabs-direction);display:flex}.footer{grid-auto-flow:row;place-items:start;gap:2.5rem 1rem;width:100%;font-size:.875rem;line-height:1.25rem;display:grid}.footer>*{place-items:start;gap:.5rem;display:grid}.footer.footer-center{text-align:center;grid-auto-flow:column dense;place-items:center}.footer.footer-center>*{place-items:center}.fab-flower{--position:0rem;display:grid}.fab-flower>:nth-child(-n+2){--position:0rem}.fab-flower>*{--degree:180deg;--flip-degree:calc(180deg - var(--degree));transform:translate(calc(cos(var(--degree))*var(--position)))translateY(calc(sin(var(--degree))*-1*var(--position)));grid-area:1/1}[dir=rtl] :is(.fab-flower>*){transform:translate(calc(cos(var(--flip-degree))*var(--position)))translateY(calc(sin(var(--flip-degree))*-1*var(--position)))}.fab-flower>:nth-child(n+7){display:none}.fab-flower:has(:nth-child(3)){--position:140%}.fab-flower:has(:nth-child(3))>:nth-child(3){--degree:135deg}.fab-flower:has(:nth-child(4)){--position:140%}.fab-flower:has(:nth-child(4))>:nth-child(3){--degree:165deg}.fab-flower:has(:nth-child(4))>:nth-child(4){--degree:105deg}.fab-flower:has(:nth-child(5)){--position:180%}.fab-flower:has(:nth-child(5))>:nth-child(3){--degree:180deg}.fab-flower:has(:nth-child(5))>:nth-child(4){--degree:135deg}.fab-flower:has(:nth-child(5))>:nth-child(5){--degree:90deg}.fab-flower:has(:nth-child(6)){--position:220%}.fab-flower:has(:nth-child(6))>:nth-child(3){--degree:180deg}.fab-flower:has(:nth-child(6))>:nth-child(4){--degree:150deg}.fab-flower:has(:nth-child(6))>:nth-child(5){--degree:120deg}.fab-flower:has(:nth-child(6))>:nth-child(6){--degree:90deg}.link{cursor:pointer;text-decoration-line:underline}.link:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.link:focus{outline-offset:2px;outline:2px solid #0000}}.link:focus-visible{outline-offset:2px;outline:2px solid}.menu-title{color:var(--color-base-content);padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.menu-title{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}.menu-title{font-size:.875rem;font-weight:600}.btn-error{--btn-color:var(--color-error);--btn-fg:var(--color-error-content)}.btn-info{--btn-color:var(--color-info);--btn-fg:var(--color-info-content)}.btn-neutral{--btn-color:var(--color-neutral);--btn-fg:var(--color-neutral-content)}.btn-primary{--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content)}.btn-secondary{--btn-color:var(--color-secondary);--btn-fg:var(--color-secondary-content)}.btn-warning{--btn-color:var(--color-warning);--btn-fg:var(--color-warning-content)}}@layer daisyui.l1.l2{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1;transition:visibility 0s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;background-color:#0006}:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal) .modal-box{opacity:1;translate:0;scale:1}:root:has(:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal)){--page-has-backdrop:1;--page-overflow:hidden;--page-scroll-bg:var(--page-scroll-bg-on);--page-scroll-gutter:stable;--page-scroll-transition:var(--page-scroll-transition-on);animation:forwards set-page-has-scroll;animation-timeline:scroll()}@starting-style{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{opacity:0}}.tooltip>.tooltip-content,.tooltip[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-off)50%}.tooltip:after{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-tail)50%}.btn:disabled:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn:disabled:not(.btn-link,.btn-ghost){box-shadow:none}.btn:disabled{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.btn[disabled]:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn[disabled]:not(.btn-link,.btn-ghost){box-shadow:none}.btn[disabled]{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.list .list-row:has(.list-col-grow:first-child){--list-grid-cols:1fr}.list .list-row:has(.list-col-grow:nth-child(2)){--list-grid-cols:minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(3)){--list-grid-cols:minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(4)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(5)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(6)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row>:not(.list-col-wrap){grid-row-start:1}.steps .step-neutral+.step-neutral:before,.steps .step-neutral:after,.steps .step-neutral>.step-icon{--step-bg:var(--color-neutral);--step-fg:var(--color-neutral-content)}.steps .step-primary+.step-primary:before,.steps .step-primary:after,.steps .step-primary>.step-icon{--step-bg:var(--color-primary);--step-fg:var(--color-primary-content)}.steps .step-secondary+.step-secondary:before,.steps .step-secondary:after,.steps .step-secondary>.step-icon{--step-bg:var(--color-secondary);--step-fg:var(--color-secondary-content)}.steps .step-accent+.step-accent:before,.steps .step-accent:after,.steps .step-accent>.step-icon{--step-bg:var(--color-accent);--step-fg:var(--color-accent-content)}.steps .step-info+.step-info:before,.steps .step-info:after,.steps .step-info>.step-icon{--step-bg:var(--color-info);--step-fg:var(--color-info-content)}.steps .step-success+.step-success:before,.steps .step-success:after,.steps .step-success>.step-icon{--step-bg:var(--color-success);--step-fg:var(--color-success-content)}.steps .step-warning+.step-warning:before,.steps .step-warning:after,.steps .step-warning>.step-icon{--step-bg:var(--color-warning);--step-fg:var(--color-warning-content)}.steps .step-error+.step-error:before,.steps .step-error:after,.steps .step-error>.step-icon{--step-bg:var(--color-error);--step-fg:var(--color-error-content)}.checkbox:disabled,.radio:disabled{cursor:not-allowed;opacity:.2}.tooltip-bottom>.tooltip-content,.tooltip-bottom[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,-.25rem));inset:var(--tt-off)auto auto 50%}.tooltip-bottom:after{transform:translate(-50%)translateY(var(--tt-pos,-.25rem))rotate(180deg);inset:var(--tt-tail)auto auto 50%}.tooltip-left>.tooltip-content,.tooltip-left[data-tip]:before{transform:translate(calc(var(--tt-pos,.25rem) - .25rem))translateY(-50%);inset:50% var(--tt-off)auto auto}.tooltip-left:after{transform:translate(var(--tt-pos,.25rem))translateY(-50%)rotate(-90deg);inset:50% calc(var(--tt-tail) + 1px)auto auto}.tooltip-right>.tooltip-content,.tooltip-right[data-tip]:before{transform:translate(calc(var(--tt-pos,-.25rem) + .25rem))translateY(-50%);inset:50% auto auto var(--tt-off)}.tooltip-right:after{transform:translate(var(--tt-pos,-.25rem))translateY(-50%)rotate(90deg);inset:50% auto auto calc(var(--tt-tail) + 1px)}.tooltip-top>.tooltip-content,.tooltip-top[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-off)50%}.tooltip-top:after{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-tail)50%}.dropdown-end{--anchor-h:span-left}.dropdown-end :where(.dropdown-content){inset-inline-end:0;translate:0}[dir=rtl] :is(.dropdown-end :where(.dropdown-content)){translate:0}.dropdown-end.dropdown-left{--anchor-h:left;--anchor-v:span-top}.dropdown-end.dropdown-left .dropdown-content{top:auto;bottom:0}.dropdown-end.dropdown-right{--anchor-h:right;--anchor-v:span-top}.dropdown-end.dropdown-right .dropdown-content{top:auto;bottom:0}.input-xs{--size:calc(var(--size-field,.25rem)*6);font-size:max(var(--font-size,.6875rem),.6875rem)}.input-xs[type=number]::-webkit-inner-spin-button{margin-block:-.25rem;margin-inline-end:-.75rem}.btn-circle{width:var(--size);height:var(--size);border-radius:3.40282e38px;padding-inline:0}.btn-block{width:100%}.loading-lg{width:calc(var(--size-selector,.25rem)*7)}.loading-xs{width:calc(var(--size-selector,.25rem)*4)}.badge-ghost{border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content);background-image:none}.badge-outline{color:var(--badge-color);--badge-bg:#0000;background-image:none;border-color:currentColor}.loading-spinner{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")}.checkbox-xs{--size:calc(var(--size-selector,.25rem)*4);padding:.125rem}.select-sm{--size:calc(var(--size-field,.25rem)*8);font-size:.75rem}.select-sm option{padding-block:.25rem;padding-inline:.625rem}.select-xs{--size:calc(var(--size-field,.25rem)*6);font-size:.6875rem}.select-xs option{padding-block:.25rem;padding-inline:.5rem}.badge-sm{--size:calc(var(--size-selector,.25rem)*5);font-size:.75rem}.textarea-xs{font-size:max(var(--font-size,.6875rem),.6875rem)}.link-primary{color:var(--color-primary)}@media(hover:hover){.link-primary:hover{color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.link-primary:hover{color:color-mix(in oklab,var(--color-primary)80%,#000)}}}.range-accent{color:var(--color-accent);--range-thumb:var(--color-accent-content)}.range-primary{color:var(--color-primary);--range-thumb:var(--color-primary-content)}.range-secondary{color:var(--color-secondary);--range-thumb:var(--color-secondary-content)}.btn-lg{--fontsize:1.125rem;--btn-p:1.25rem;--size:calc(var(--size-field,.25rem)*12)}.btn-sm{--fontsize:.75rem;--btn-p:.75rem;--size:calc(var(--size-field,.25rem)*8)}.btn-xs{--fontsize:.6875rem;--btn-p:.5rem;--size:calc(var(--size-field,.25rem)*6)}.badge-primary{--badge-color:var(--color-primary);--badge-fg:var(--color-primary-content)}.range-sm{--range-thumb-size:calc(var(--size-selector,.25rem)*5)}.range-xs{--range-thumb-size:calc(var(--size-selector,.25rem)*4)}.toggle-primary:checked,.toggle-primary[aria-checked=true]{--input-color:var(--color-primary)}.toggle-secondary:checked,.toggle-secondary[aria-checked=true]{--input-color:var(--color-secondary)}.toggle-sm[type=checkbox],.toggle-sm:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*5)}.toggle-xs[type=checkbox],.toggle-xs:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*4)}}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1{top:calc(var(--spacing)*1)}.top-2{top:calc(var(--spacing)*2)}.top-4{top:calc(var(--spacing)*4)}.top-px{top:1px}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-2{right:calc(var(--spacing)*2)}.right-4{right:calc(var(--spacing)*4)}.right-6{right:calc(var(--spacing)*6)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.bottom-6{bottom:calc(var(--spacing)*6)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-6{left:calc(var(--spacing)*6)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.z-600{z-index:600}.z-800{z-index:800}.z-900{z-index:900}.z-999{z-index:999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.join-item:where(:not(:first-child,:disabled,[disabled],.btn-disabled)){margin-block-start:0;margin-inline-start:calc(var(--border,1px)*-1)}.join-item:where(:is(:disabled,[disabled],.btn-disabled)){border-width:var(--border,1px)0 var(--border,1px)var(--border,1px)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-16{margin-top:calc(var(--spacing)*16)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.join{--join-ss:0;--join-se:0;--join-es:0;--join-ee:0;align-items:stretch;display:inline-flex}.join :where(.join-item){border-start-start-radius:var(--join-ss,0);border-start-end-radius:var(--join-se,0);border-end-end-radius:var(--join-ee,0);border-end-start-radius:var(--join-es,0)}.join :where(.join-item) *{--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}.join>.join-item:where(:first-child),.join :first-child:not(:last-child) :where(.join-item){--join-ss:var(--radius-field);--join-se:0;--join-es:var(--radius-field);--join-ee:0}.join>.join-item:where(:last-child),.join :last-child:not(:first-child) :where(.join-item){--join-ss:0;--join-se:var(--radius-field);--join-es:0;--join-ee:var(--radius-field)}.join>.join-item:where(:only-child),.join :only-child :where(.join-item){--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}:root .prose{--tw-prose-body:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-body:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose{--tw-prose-headings:var(--color-base-content);--tw-prose-lead:var(--color-base-content);--tw-prose-links:var(--color-base-content);--tw-prose-bold:var(--color-base-content);--tw-prose-counters:var(--color-base-content);--tw-prose-bullets:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-bullets:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-hr:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-hr:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-quotes:var(--color-base-content);--tw-prose-quote-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-quote-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-captions:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-captions:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-code:var(--color-base-content);--tw-prose-pre-code:var(--color-neutral-content);--tw-prose-pre-bg:var(--color-neutral);--tw-prose-th-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-th-borders:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-td-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-td-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-kbd:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-kbd:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose :where(code):not(pre>code){background-color:var(--color-base-200);border-radius:var(--radius-selector);border:var(--border)solid var(--color-base-300);font-weight:inherit;padding-block:.2em;padding-inline:.5em}:root .prose :where(code):not(pre>code):before,:root .prose :where(code):not(pre>code):after{display:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-3\\/4{aspect-ratio:3/4}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-122{height:calc(var(--spacing)*122)}.h-\\[160px\\]{height:160px}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[calc\\(100vh-8\\.6rem\\)\\]{max-height:calc(100vh - 8.6rem)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-11\\/12{width:91.6667%}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-24{width:calc(var(--spacing)*24)}.w-32{width:calc(var(--spacing)*32)}.w-56{width:calc(var(--spacing)*56)}.w-72{width:calc(var(--spacing)*72)}.w-80{width:calc(var(--spacing)*80)}.w-96{width:calc(var(--spacing)*96)}.w-\\[90px\\]{width:90px}.w-\\[140px\\]{width:140px}.w-\\[150px\\]{width:150px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:300px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.max-w-5xl{max-width:var(--container-5xl)}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[200px\\]{max-width:200px}.max-w-none{max-width:none}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.origin-bottom{transform-origin:bottom}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-4{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.cursor-se-resize{cursor:se-resize}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-base-300>:not(:last-child)){border-color:var(--color-base-300)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.rounded{border-radius:.25rem}.rounded-box{border-radius:var(--radius-box)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-base-200{border-color:var(--color-base-200)}.border-base-300,.border-base-300\\/50{border-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.border-base-300\\/50{border-color:color-mix(in oklab,var(--color-base-300)50%,transparent)}}.border-base-content\\/10{border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.border-base-content\\/10{border-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.border-primary\\/40{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\\/40{border-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.border-red-500{border-color:var(--color-red-500)}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-yellow-400{border-color:var(--color-yellow-400)}.bg-accent{background-color:var(--color-accent)}.bg-base-100,.bg-base-100\\/50{background-color:var(--color-base-100)}@supports (color:color-mix(in lab,red,red)){.bg-base-100\\/50{background-color:color-mix(in oklab,var(--color-base-100)50%,transparent)}}.bg-base-200,.bg-base-200\\/50{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/50{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.bg-base-200\\/90{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/90{background-color:color-mix(in oklab,var(--color-base-200)90%,transparent)}}.bg-base-200\\/95{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/95{background-color:color-mix(in oklab,var(--color-base-200)95%,transparent)}}.bg-base-300,.bg-base-300\\/30{background-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.bg-base-300\\/30{background-color:color-mix(in oklab,var(--color-base-300)30%,transparent)}}.bg-base-content,.bg-base-content\\/20{background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.bg-base-content\\/20{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.bg-primary,.bg-primary\\/5{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/5{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.bg-primary\\/20{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/20{background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-secondary{background-color:var(--color-secondary)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-400\\/40{background-color:#fac80066}@supports (color:color-mix(in lab,red,red)){.bg-yellow-400\\/40{background-color:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.fill-red-500\\/20{fill:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.fill-red-500\\/20{fill:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.fill-yellow-400\\/40{fill:#fac80066}@supports (color:color-mix(in lab,red,red)){.fill-yellow-400\\/40{fill:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.stroke-red-500{stroke:var(--color-red-500)}.stroke-yellow-400{stroke:var(--color-yellow-400)}.object-contain{object-fit:contain}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-0\\.5{padding-inline:calc(var(--spacing)*.5)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.ps-2{padding-inline-start:calc(var(--spacing)*2)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-8{padding-top:calc(var(--spacing)*8)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-12{padding-right:calc(var(--spacing)*12)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-nowrap{text-wrap:nowrap}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-base-content,.text-base-content\\/50{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.text-base-content\\/50{color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.text-error{color:var(--color-error)}.text-primary{color:var(--color-primary)}.text-success{color:var(--color-success)}.text-warning{color:var(--color-warning)}.text-yellow-900{color:var(--color-yellow-900)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.prose :where(.btn-link):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:none}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-primary{--tw-ring-color:var(--color-primary)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@layer daisyui.l1{.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)){--btn-shadow:"";--btn-bg:#0000;--btn-border:#0000;--btn-noise:none}.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)):not(:disabled,[disabled],.btn-disabled){--btn-fg:var(--btn-color,currentColor);outline-color:currentColor}@media(hover:none){.btn-ghost:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color,currentColor);--btn-border:#0000;--btn-noise:none;outline-color:currentColor}}.btn-outline:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn),:disabled,[disabled],.btn-disabled){--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}@media(hover:none){.btn-outline:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}}}.outline-black\\/5{outline-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.outline-black\\/5{outline-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.drop-shadow-md{--tw-drop-shadow-size:drop-shadow(0 3px 3px var(--tw-drop-shadow-color,#0000001f));--tw-drop-shadow:drop-shadow(var(--drop-shadow-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;user-select:none}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}.group-focus-within\\:pointer-events-auto:is(:where(.group):focus-within *){pointer-events:auto}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}@media(hover:hover){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.last\\:border-none:last-child{--tw-border-style:none;border-style:none}@media(hover:hover){.hover\\:bg-base-200:hover,.hover\\:bg-base-200\\/30:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/30:hover{background-color:color-mix(in oklab,var(--color-base-200)30%,transparent)}}.hover\\:bg-base-200\\/50:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/50:hover{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.hover\\:bg-base-300:hover{background-color:var(--color-base-300)}.hover\\:bg-red-500\\/40:hover{background-color:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/40:hover{background-color:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:bg-yellow-400\\/60:hover{background-color:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-yellow-400\\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:fill-red-500\\/40:hover{fill:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-red-500\\/40:hover{fill:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:fill-yellow-400\\/60:hover{fill:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-yellow-400\\/60:hover{fill:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:bg-base-300:focus{background-color:var(--color-base-300)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-base-200:active{background-color:var(--color-base-200)}@media(min-width:48rem){.md\\:grid-cols-\\[200px_1fr\\]{grid-template-columns:200px 1fr}}@media(min-width:64rem){.lg\\:px-32{padding-inline:calc(var(--spacing)*32)}.lg\\:pt-8{padding-top:calc(var(--spacing)*8)}.lg\\:pb-16{padding-bottom:calc(var(--spacing)*16)}}}.osd-background,.osd-background .openseadragon-container{background-color:#0000}@keyframes rating{0%,40%{filter:brightness(1.05)contrast(1.05);scale:1.1}}@keyframes dropdown{0%{opacity:0}}@keyframes radio{0%{padding:5px}50%{padding:3px}}@keyframes toast{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes rotator{89.9999%,to{--first-item-position:0 0%}90%,99.9999%{--first-item-position:0 calc(var(--items)*100%)}to{translate:0 -100%}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}@keyframes menu{0%{opacity:0}}@keyframes progress{50%{background-position-x:-115%}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`;var vc=(function(){function i(t){this.__jsonld=t,this.context=this.getProperty("context"),this.id=this.getProperty("id")}return i.prototype.getProperty=function(t){var e=null;return this.__jsonld&&(e=this.__jsonld[t],e||(e=this.__jsonld["@"+t])),e},i})(),Eo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pa(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function d0(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var t=i.default;if(typeof t=="function"){var e=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(i).forEach(function(r){var n=Object.getOwnPropertyDescriptor(i,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return i[r]}})}),e}var at={},mc;function f0(){if(mc)return at;mc=1,Object.defineProperty(at,"__esModule",{value:!0}),at.ViewingHint=at.ViewingDirection=at.ServiceType=at.ServiceProfile=at.RenderingFormat=at.MediaType=at.IIIFResourceType=at.ExternalResourceType=at.Behavior=at.AnnotationMotivation=void 0;var i;(function(u){u.BOOKMARKING="oa:bookmarking",u.CLASSIFYING="oa:classifying",u.COMMENTING="oa:commenting",u.DESCRIBING="oa:describing",u.EDITING="oa:editing",u.HIGHLIGHTING="oa:highlighting",u.IDENTIFYING="oa:identifying",u.LINKING="oa:linking",u.MODERATING="oa:moderating",u.PAINTING="sc:painting",u.QUESTIONING="oa:questioning",u.REPLYING="oa:replying",u.TAGGING="oa:tagging",u.TRANSCRIBING="oad:transcribing"})(i||(at.AnnotationMotivation=i={}));var t;(function(u){u.AUTO_ADVANCE="auto-advance",u.CONTINUOUS="continuous",u.FACING_PAGES="facing-pages",u.HIDDEN="hidden",u.INDIVIDUALS="individuals",u.MULTI_PART="multi-part",u.NO_NAV="no-nav",u.NON_PAGED="non-paged",u.PAGED="paged",u.REPEAT="repeat",u.SEQUENCE="sequence",u.THUMBNAIL_NAV="thumbnail-nav",u.TOGETHER="together",u.UNORDERED="unordered"})(t||(at.Behavior=t={}));var e;(function(u){u.CANVAS="canvas",u.CHOICE="choice",u.OA_CHOICE="oa:choice",u.CONTENT_AS_TEXT="contentastext",u.DATASET="dataset",u.DOCUMENT="document",u.IMAGE="image",u.MODEL="model",u.MOVING_IMAGE="movingimage",u.PDF="pdf",u.PHYSICAL_OBJECT="physicalobject",u.SOUND="sound",u.TEXT="text",u.TEXTUALBODY="textualbody",u.VIDEO="video"})(e||(at.ExternalResourceType=e={}));var r;(function(u){u.ANNOTATION="annotation",u.ANNOTATION_COLLECTION="annotationcollection",u.ANNOTATION_PAGE="annotationpage",u.CANVAS="canvas",u.COLLECTION="collection",u.MANIFEST="manifest",u.RANGE="range",u.SEQUENCE="sequence"})(r||(at.IIIFResourceType=r={}));var n;(function(u){u.APNG="image/apng",u.AUDIO_MP4="audio/mp4",u.AUDIO_OGG="audio/ogg",u.AVIF="audio/avif",u.CORTO="application/corto",u.DICOM="application/dicom",u.DRACO="application/draco",u.EPUB="application/epub+zip",u.GIF="image/gif",u.GIRDER="image/vnd.kitware.girder",u.GLB="model/gltf-binary",u.GLTF="model/gltf+json",u.IIIF_PRESENTATION_2='application/ld+json;profile="http://iiif.io/api/presentation/2/context.json"',u.IIIF_PRESENTATION_3='application/ld+json;profile="http://iiif.io/api/presentation/3/context.json"',u.JPG="image/jpeg",u.M3U8="application/vnd.apple.mpegurl",u.MP3="audio/mp3",u.MPEG="audio/mpeg",u.MPEG_DASH="application/dash+xml",u.OBJ="model/obj",u.OPF="application/oebps-package+xml",u.PDF="application/pdf",u.PLY="application/ply",u.PNG="image/png",u.SVG="image/svg+xml",u.THREEJS="application/vnd.threejs+json",u.USDZ="model/vnd.usd+zip",u.VIDEO_MP4="video/mp4",u.VIDEO_OGG="video/ogg",u.WAV="audio/wav",u.WEBM="video/webm",u.WEBP="image/webp"})(n||(at.MediaType=n={}));var o;(function(u){u.DOC="application/msword",u.DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",u.ODT="application/vnd.oasis.opendocument.text",u.PDF="application/pdf"})(o||(at.RenderingFormat=o={}));var a;(function(u){u.IMAGE_0_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/compliance.html#level0",u.IMAGE_0_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/compliance.html#level1",u.IMAGE_0_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/compliance.html#level2",u.IMAGE_0_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/conformance.html#level0",u.IMAGE_0_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/conformance.html#level1",u.IMAGE_0_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/conformance.html#level2",u.IMAGE_1_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0",u.IMAGE_1_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1",u.IMAGE_1_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",u.IMAGE_1_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0",u.IMAGE_1_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1",u.IMAGE_1_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2",u.IMAGE_1_LEVEL_0="http://iiif.io/api/image/1/level0.json",u.IMAGE_1_PROFILE_LEVEL_0="http://iiif.io/api/image/1/profiles/level0.json",u.IMAGE_1_LEVEL_1="http://iiif.io/api/image/1/level1.json",u.IMAGE_1_PROFILE_LEVEL_1="http://iiif.io/api/image/1/profiles/level1.json",u.IMAGE_1_LEVEL_2="http://iiif.io/api/image/1/level2.json",u.IMAGE_1_PROFILE_LEVEL_2="http://iiif.io/api/image/1/profiles/level2.json",u.IMAGE_2_LEVEL_0="http://iiif.io/api/image/2/level0.json",u.IMAGE_2_PROFILE_LEVEL_0="http://iiif.io/api/image/2/profiles/level0.json",u.IMAGE_2_LEVEL_1="http://iiif.io/api/image/2/level1.json",u.IMAGE_2_PROFILE_LEVEL_1="http://iiif.io/api/image/2/profiles/level1.json",u.IMAGE_2_LEVEL_2="http://iiif.io/api/image/2/level2.json",u.IMAGE_2_PROFILE_LEVEL_2="http://iiif.io/api/image/2/profiles/level2.json",u.AUTH_0_CLICK_THROUGH="http://iiif.io/api/auth/0/login/clickthrough",u.AUTH_0_LOGIN="http://iiif.io/api/auth/0/login",u.AUTH_0_LOGOUT="http://iiif.io/api/auth/0/logout",u.AUTH_0_RESTRICTED="http://iiif.io/api/auth/0/login/restricted",u.AUTH_0_TOKEN="http://iiif.io/api/auth/0/token",u.AUTH_1_CLICK_THROUGH="http://iiif.io/api/auth/1/clickthrough",u.AUTH_1_EXTERNAL="http://iiif.io/api/auth/1/external",u.AUTH_1_KIOSK="http://iiif.io/api/auth/1/kiosk",u.AUTH_1_LOGIN="http://iiif.io/api/auth/1/login",u.AUTH_1_LOGOUT="http://iiif.io/api/auth/1/logout",u.AUTH_1_PROBE="http://iiif.io/api/auth/1/probe",u.AUTH_1_TOKEN="http://iiif.io/api/auth/1/token",u.SEARCH_0="http://iiif.io/api/search/0/search",u.SEARCH_0_AUTO_COMPLETE="http://iiif.io/api/search/0/autocomplete",u.SEARCH_1="http://iiif.io/api/search/1/search",u.SEARCH_1_AUTO_COMPLETE="http://iiif.io/api/search/1/autocomplete",u.SEARCH_2="http://iiif.io/api/search/2/search",u.SEARCH_2_AUTO_COMPLETE="http://iiif.io/api/search/2/autocomplete",u.TRACKING_EXTENSIONS="http://universalviewer.io/tracking-extensions-profile",u.UI_EXTENSIONS="http://universalviewer.io/ui-extensions-profile",u.PRINT_EXTENSIONS="http://universalviewer.io/print-extensions-profile",u.SHARE_EXTENSIONS="http://universalviewer.io/share-extensions-profile",u.DOWNLOAD_EXTENSIONS="http://universalviewer.io/download-extensions-profile",u.OTHER_MANIFESTATIONS="http://iiif.io/api/otherManifestations.json",u.IXIF="http://wellcomelibrary.org/ld/ixif/0/alpha.json"})(a||(at.ServiceProfile=a={}));var s;(function(u){u.IMAGE_SERVICE_2="ImageService2",u.IMAGE_SERVICE_3="ImageService3",u.SEARCH_SERVICE_2="SearchService2",u.AUTO_COMPLETE_SERVICE_2="AutoCompleteService2"})(s||(at.ServiceType=s={}));var l;(function(u){u.BOTTOM_TO_TOP="bottom-to-top",u.LEFT_TO_RIGHT="left-to-right",u.RIGHT_TO_LEFT="right-to-left",u.TOP_TO_BOTTOM="top-to-bottom"})(l||(at.ViewingDirection=l={}));var c;return(function(u){u.CONTINUOUS="continuous",u.INDIVIDUALS="individuals",u.NON_PAGED="non-paged",u.PAGED="paged",u.TOP="top"})(c||(at.ViewingHint=c={})),at}var he=f0(),p0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Or=(function(i){p0(t,i);function t(e,r){var n=i.call(this,e)||this;return n.options=r,n}return t.prototype.getIIIFResourceType=function(){return Fe.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){var e=this.getProperty("label");return e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getDefaultLabel=function(){return this.getLabel().getValue(this.options.locale)},t.prototype.getMetadata=function(){var e=this.getProperty("metadata"),r=[];if(!e)return r;for(var n=0;n<e.length;n++){var o=e[n],a=new Po(this.options.locale);a.parse(o),r.push(a)}return r},t.prototype.getRendering=function(e){for(var r=this.getRenderings(),n=0;n<r.length;n++){var o=r[n];if(o.getFormat()===e)return o}return null},t.prototype.getRenderings=function(){var e;this.__jsonld?e=this.__jsonld.rendering:e=this.rendering;var r=[];if(!e)return r;Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var o=e[n];r.push(new Y0(o,this.options))}return r},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");return r&&(e=new Po(this.options.locale),e.parse(r)),e},t.prototype.getService=function(e){return Fe.getService(this,e)},t.prototype.getServices=function(){return Fe.getServices(this)},t.prototype.getThumbnail=function(){var e=this.getProperty("thumbnail");return Array.isArray(e)&&(e=e[0]),e?new tg(e,this.options):null},t.prototype.isAnnotation=function(){return this.getIIIFResourceType()===he.IIIFResourceType.ANNOTATION},t.prototype.isCanvas=function(){return this.getIIIFResourceType()===he.IIIFResourceType.CANVAS},t.prototype.isCollection=function(){return this.getIIIFResourceType()===he.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===he.IIIFResourceType.MANIFEST},t.prototype.isRange=function(){return this.getIIIFResourceType()===he.IIIFResourceType.RANGE},t.prototype.isSequence=function(){return this.getIIIFResourceType()===he.IIIFResourceType.SEQUENCE},t})(vc),g0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ra=(function(i){g0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?e.toLowerCase():null},t.prototype.getResources=function(){var e=[];if(!this.__jsonld.resources)return e;for(var r=0;r<this.__jsonld.resources.length;r++){var n=this.__jsonld.resources[r],o=new ko(n,this.options);e.push(o)}return e},t.prototype.getType=function(){var e=this.getProperty("type");return e?Fe.normaliseType(e):null},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getMaxWidth=function(){return this.getProperty("maxWidth")},t.prototype.getMaxHeight=function(){var e=this.getProperty("maxHeight");return e?null:this.getMaxWidth()},t})(Or),v0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),_c=(function(i){v0(t,i);function t(e,r){var n=i.call(this,e,r)||this;n.index=-1,n.isLoaded=!1;var o={defaultLabel:"-",locale:"en-GB",resource:n,pessimisticAccessControl:!1};return n.options=Object.assign(o,r),n}return t.prototype.getAttribution=function(){var e=this.getProperty("attribution");return e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getDescription=function(){var e=this.getProperty("description");return e===void 0&&(e=this.getProperty("summary")),e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getSummary=function(){var e=this.getProperty("summary");return e===void 0&&(e=this.getProperty("description")),e?ir.parse(e,this.options.locale):new ir([],this.options.locale)},t.prototype.getHomepage=function(){var e=this.getProperty("homepage");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getIIIFResourceType=function(){return Fe.normaliseType(this.getProperty("type"))},t.prototype.getLogo=function(){var e=this.getProperty("logo");if(!e){var r=this.getProperty("provider");if(!r)return null;var n=r.find(function(o){return o.logo!==void 0});n&&n.logo!==void 0?e=n.logo:e=null}return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||(e==null?void 0:e.id)):null},t.prototype.getLicense=function(){return Fe.getLocalisedValue(this.getProperty("license"),this.options.locale)},t.prototype.getRights=function(){var e=this.getProperty("rights");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getNavDate=function(){return new Date(this.getProperty("navDate"))},t.prototype.getRelated=function(){return this.getProperty("related")},t.prototype.getSeeAlso=function(){return this.getProperty("seeAlso")},t.prototype.getTrackingLabel=function(){var e=this.getService(he.ServiceProfile.TRACKING_EXTENSIONS);return e?e.getProperty("trackingLabel"):""},t.prototype.getDefaultTree=function(){return this.defaultTree=new Ja("root"),this.defaultTree.data=this,this.defaultTree},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");if(r)e=new Po(this.options.locale),e.parse(r);else{var n=this.getAttribution();n&&n.length&&(e=new Po(this.options.locale),e.value=n)}return e},t.prototype.isCollection=function(){return this.getIIIFResourceType()===he.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===he.IIIFResourceType.MANIFEST},t.prototype.load=function(){var e=this;return new Promise(function(r){if(e.isLoaded)r(e);else{var n=e.options;n.navDate=e.getNavDate();var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Fe.loadManifest(o).then(function(a){e.parentLabel=e.getLabel().getValue(n.locale);var s=Uc.parse(a,n);e=Object.assign(e,s),e.index=n.index,r(e)})}})},t})(Or),m0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),ko=(function(i){m0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getBody=function(){var e=[],r=this.getProperty("body");if(r)if(Array.isArray(r))for(var n=0;n<r.length;n++){var o=r[n];if(o.items)for(var a=0;a<o.items.length;a++){var s=o.items[a];e.push(new So(s,this.options))}else e.push(new So(o,this.options))}else if(r.items)for(var n=0;n<r.items.length;n++){var o=r.items[n];e.push(new So(o,this.options))}else e.push(new So(r,this.options));return e},t.prototype.getMotivation=function(){var e=this.getProperty("motivation");return e||null},t.prototype.getOn=function(){return this.getProperty("on")},t.prototype.getTarget=function(){return this.getProperty("target")},t.prototype.getResource=function(){return new Ra(this.getProperty("resource"),this.options)},t})(Or),_0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),So=(function(i){_0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?Fe.getMediaType(e):null},t.prototype.getType=function(){var e=this.getProperty("type");return e?Fe.normaliseType(this.getProperty("type")):null},t.prototype.getValue=function(){return this.getProperty("value")},t.prototype.getLanguage=function(){return this.getProperty("language")},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t})(Or),w0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),b0=(function(i){w0(t,i);function t(e,r,n){var o=i.call(this,r)||this;return o.label=e,o.options=n,o}return t.prototype.getIIIFResourceType=function(){return Fe.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){return this.label},t.prototype.getResources=function(){var e=this,r=this.getProperty("resources");return r.map(function(n){return new ko(n,e.options)})},t.prototype.load=function(){var e=this;return new Promise(function(r,n){if(e.isLoaded)r(e);else{var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Fe.loadManifest(o).then(function(a){e.__jsonld=a,e.context=e.getProperty("context"),e.id=e.getProperty("id"),e.isLoaded=!0,r(e)}).catch(n)}})},t})(vc),y0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),wc=(function(i){y0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getItems=function(){return this.getProperty("items")},t.prototype.getAnnotations=function(){var e=[],r=this.getProperty("items");if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new ko(r[n],this.options);e.push(o)}return e},t})(Or),Aa,bc;function x0(){if(bc)return Aa;bc=1;function i(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}return Aa=i,Aa}var Ia,yc;function T0(){if(yc)return Ia;yc=1;var i=typeof Eo=="object"&&Eo&&Eo.Object===Object&&Eo;return Ia=i,Ia}var Oa,xc;function E0(){if(xc)return Oa;xc=1;var i=T0(),t=typeof self=="object"&&self&&self.Object===Object&&self,e=i||t||Function("return this")();return Oa=e,Oa}var Da,Tc;function Ma(){if(Tc)return Da;Tc=1;var i=E0(),t=i.Symbol;return Da=t,Da}var La,Ec;function k0(){if(Ec)return La;Ec=1;var i=Ma(),t=Object.prototype,e=t.hasOwnProperty,r=t.toString,n=i?i.toStringTag:void 0;function o(a){var s=e.call(a,n),l=a[n];try{a[n]=void 0;var c=!0}catch{}var u=r.call(a);return c&&(s?a[n]=l:delete a[n]),u}return La=o,La}var za,kc;function S0(){if(kc)return za;kc=1;var i=Object.prototype,t=i.toString;function e(r){return t.call(r)}return za=e,za}var Ha,Sc;function C0(){if(Sc)return Ha;Sc=1;var i=Ma(),t=k0(),e=S0(),r="[object Null]",n="[object Undefined]",o=i?i.toStringTag:void 0;function a(s){return s==null?s===void 0?n:r:o&&o in Object(s)?t(s):e(s)}return Ha=a,Ha}var Na,Cc;function Pc(){if(Cc)return Na;Cc=1;function i(t){return t!=null&&typeof t=="object"}return Na=i,Na}var Fa,Rc;function P0(){if(Rc)return Fa;Rc=1;var i=C0(),t=Pc(),e="[object Arguments]";function r(n){return t(n)&&i(n)==e}return Fa=r,Fa}var Ba,Ac;function R0(){if(Ac)return Ba;Ac=1;var i=P0(),t=Pc(),e=Object.prototype,r=e.hasOwnProperty,n=e.propertyIsEnumerable,o=i((function(){return arguments})())?i:function(a){return t(a)&&r.call(a,"callee")&&!n.call(a,"callee")};return Ba=o,Ba}var Va,Ic;function A0(){if(Ic)return Va;Ic=1;var i=Array.isArray;return Va=i,Va}var Ua,Oc;function I0(){if(Oc)return Ua;Oc=1;var i=Ma(),t=R0(),e=A0(),r=i?i.isConcatSpreadable:void 0;function n(o){return e(o)||t(o)||!!(r&&o&&o[r])}return Ua=n,Ua}var ja,Dc;function Mc(){if(Dc)return ja;Dc=1;var i=x0(),t=I0();function e(r,n,o,a,s){var l=-1,c=r.length;for(o||(o=t),s||(s=[]);++l<c;){var u=r[l];n>0&&o(u)?n>1?e(u,n-1,o,a,s):i(s,u):a||(s[s.length]=u)}return s}return ja=e,ja}var Ga,Lc;function O0(){if(Lc)return Ga;Lc=1;var i=Mc();function t(e){var r=e==null?0:e.length;return r?i(e,1):[]}return Ga=t,Ga}var D0=O0();const Za=Pa(D0);var Wa,zc;function M0(){if(zc)return Wa;zc=1;var i=Mc(),t=1/0;function e(r){var n=r==null?0:r.length;return n?i(r,t):[]}return Wa=e,Wa}var L0=M0();const Hc=Pa(L0);var z0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Co=(function(i){z0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getCanonicalImageUri=function(e){var r=null,n="full",o=0,a="default",s=e,l=s+",";if(this.externalResource&&this.externalResource.data&&this.externalResource.data["@id"])r=this.externalResource.data["@id"],s||(s=this.externalResource.data.width),this.externalResource.data["@context"]&&(this.externalResource.data["@context"].indexOf("/1.0/context.json")>-1||this.externalResource.data["@context"].indexOf("/1.1/context.json")>-1||this.externalResource.data["@context"].indexOf("/1/context.json")>-1)&&(a="native");else{var c=void 0;if(c=this.getImages(),c&&c.length){var u=c[0],h=u.getResource(),d=h.getServices();s||(s=h.getWidth());var p=d?d.find(function(k){return Fe.isImageProfile(k.getProfile())||Fe.isImageServiceType(k.getIIIFResourceType())}):null;if(p)r=p.id,a=Fe.getImageQuality(p.getProfile());else if(s===h.getWidth())return h.id}if(c=this.getContent(),c&&c.length){var u=c[0],_=u.getBody(),f=_[0],d=f.getServices();s||(s=f.getWidth());var p=d?d.find(function(R){return Fe.isImageServiceType(R.getIIIFResourceType())}):null;if(p)r=p.id,a=Fe.getImageQuality(p.getProfile());else if(s===f.getWidth())return f.id}if(!r){var g=this.getProperty("thumbnail");if(g){if(typeof g=="string")return g;if(g["@id"])return g["@id"];if(g.length)return g[0].id}}}r&&r.endsWith("/")&&(r=r.substr(0,r.length-1));var y=[r,n,l,o,a+".jpg"].join("/");return y},t.prototype.getMaxDimensions=function(){var e=null,r;return this.externalResource&&this.externalResource.data&&this.externalResource.data.profile&&(r=this.externalResource.data.profile,Array.isArray(r)&&(r=r.filter(function(n){var o;return(o=n.maxWidth)!==null&&o!==void 0?o:n.maxwidth})[0],r&&(e=new J0(r.maxWidth,r.maxHeight?r.maxHeight:r.maxWidth)))),e},t.prototype.getContent=function(){var e=[],r=this.__jsonld.items||this.__jsonld.content;if(!r)return e;var n=null;if(r.length&&(n=new wc(r[0],this.options)),!n)return e;for(var o=n.getAnnotations(),a=0;a<o.length;a++){var s=o[a];e.push(s)}return e},t.prototype.getAnnotations=function(){var e=[],r=this.__jsonld.annotations;if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new wc(r[n],this.options);e.push(o)}return e},t.prototype.getDuration=function(){return this.getProperty("duration")},t.prototype.getImages=function(){var e=[];if(!this.__jsonld.images)return e;for(var r=0;r<this.__jsonld.images.length;r++){var n=this.__jsonld.images[r],o=new ko(n,this.options);e.push(o)}return e},t.prototype.getIndex=function(){return this.getProperty("index")},t.prototype.getOtherContent=function(){var e=this,r=Array.isArray(this.getProperty("otherContent"))?this.getProperty("otherContent"):[this.getProperty("otherContent")],n=function(a,s){return typeof a!="string"?!1:a.toLowerCase()===a.toLowerCase()},o=r.filter(function(a){return a&&n(a["@type"])}).map(function(a,s){return new b0(a.label||"Annotation list ".concat(s),a,e.options)}).map(function(a){return a.load()});return Promise.all(o)},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},Object.defineProperty(t.prototype,"imageResources",{get:function(){var e=this,r=Hc([this.getImages().map(function(n){return n.getResource()}),this.getContent().map(function(n){return n.getBody()})]);return Za(r.map(function(n){switch(n.getProperty("type").toLowerCase()){case he.ExternalResourceType.CHOICE:case he.ExternalResourceType.OA_CHOICE:return new t({images:Za([n.getProperty("default"),n.getProperty("item")]).map(function(o){return{resource:o}})},e.options).getImages().map(function(o){return o.getResource()});default:return n}}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resourceAnnotations",{get:function(){return Hc([this.getImages(),this.getContent()])},enumerable:!1,configurable:!0}),t.prototype.resourceAnnotation=function(e){return this.resourceAnnotations.find(function(r){return r.getResource().id===e||Za(new Array(r.getBody())).some(function(n){return n.id===e})})},t.prototype.onFragment=function(e){var r=this.resourceAnnotation(e);if(r){var n=r.getProperty("on"),o=r.getProperty("target");if(!(!n||!o)){var a=(n||o).match(/xywh=(.*)$/);if(a)return a[1].split(",").map(function(s){return parseInt(s,10)})}}},Object.defineProperty(t.prototype,"iiifImageResources",{get:function(){return this.imageResources.filter(function(e){return e&&e.getServices()[0]&&e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageServiceIds",{get:function(){return this.iiifImageResources.map(function(e){return e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return this.getWidth()/this.getHeight()},enumerable:!1,configurable:!0}),t})(Ra),H0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),N0=(function(i){H0(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._collections=null,n._manifests=null,e.__collection=n,n}return t.prototype.getCollections=function(){return this._collections?this._collections:this._collections=this.items.filter(function(e){return e.isCollection()})},t.prototype.getManifests=function(){return this._manifests?this._manifests:this._manifests=this.items.filter(function(e){return e.isManifest()})},t.prototype.getCollectionByIndex=function(e){for(var r=this.getCollections(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Collection index not found")},t.prototype.getManifestByIndex=function(e){for(var r=this.getManifests(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Manifest index not found")},t.prototype.getTotalCollections=function(){return this.getCollections().length},t.prototype.getTotalManifests=function(){return this.getManifests().length},t.prototype.getTotalItems=function(){return this.items.length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):he.ViewingDirection.LEFT_TO_RIGHT},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){return i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Fe.normaliseType(xr.COLLECTION),this._parseManifests(this),this._parseCollections(this),Fe.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._parseManifests=function(e){if(e.getManifests()&&e.getManifests().length)for(var r=0;r<e.getManifests().length;r++){var n=e.getManifests()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"manifest "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Fe.normaliseType(xr.MANIFEST),e.defaultTree.addNode(o)}},t.prototype._parseCollections=function(e){if(e.getCollections()&&e.getCollections().length)for(var r=0;r<e.getCollections().length;r++){var n=e.getCollections()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"collection "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Fe.normaliseType(xr.COLLECTION),e.defaultTree.addNode(o)}},t})(_c),qa=(function(){function i(t,e){this.start=t,this.end=e}return i.prototype.getLength=function(){return this.end-this.start},i})(),Po=(function(){function i(t){this.defaultLocale=t}return i.prototype.parse=function(t){this.resource=t,this.label=ir.parse(this.resource.label,this.defaultLocale),this.value=ir.parse(this.resource.value,this.defaultLocale)},i.prototype.getLabel=function(t){return this.label===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.label.getValue(t||this.defaultLocale))},i.prototype.setLabel=function(t){this.label===null&&(this.label=new ir([])),this.label.setValue(t,this.defaultLocale)},i.prototype.getValue=function(t,e){return e===void 0&&(e="<br/>"),this.value===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValue(t||this.defaultLocale,e))},i.prototype.getValues=function(t){return this.value===null?[]:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValues(t||this.defaultLocale))},i.prototype.setValue=function(t){this.value===null&&(this.value=new ir([])),this.value.setValue(t,this.defaultLocale)},i})(),F0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();(function(i){F0(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.getValue=function(e,r){return e.getValue(r,"<br/>")},t.getValues=function(e,r){return e.getValues(r)},t})(Array);var be={},Nc;function B0(){return Nc||(Nc=1,Object.defineProperty(be,"__esModule",{value:!0}),be.CONTINUE=100,be.SWITCHING_PROTOCOLS=101,be.PROCESSING=102,be.OK=200,be.CREATED=201,be.ACCEPTED=202,be.NON_AUTHORITATIVE_INFORMATION=203,be.NO_CONTENT=204,be.RESET_CONTENT=205,be.PARTIAL_CONTENT=206,be.MULTI_STATUS=207,be.MULTIPLE_CHOICES=300,be.MOVED_PERMANENTLY=301,be.MOVED_TEMPORARILY=302,be.SEE_OTHER=303,be.NOT_MODIFIED=304,be.USE_PROXY=305,be.TEMPORARY_REDIRECT=307,be.BAD_REQUEST=400,be.UNAUTHORIZED=401,be.PAYMENT_REQUIRED=402,be.FORBIDDEN=403,be.NOT_FOUND=404,be.METHOD_NOT_ALLOWED=405,be.NOT_ACCEPTABLE=406,be.PROXY_AUTHENTICATION_REQUIRED=407,be.REQUEST_TIME_OUT=408,be.CONFLICT=409,be.GONE=410,be.LENGTH_REQUIRED=411,be.PRECONDITION_FAILED=412,be.REQUEST_ENTITY_TOO_LARGE=413,be.REQUEST_URI_TOO_LARGE=414,be.UNSUPPORTED_MEDIA_TYPE=415,be.REQUESTED_RANGE_NOT_SATISFIABLE=416,be.EXPECTATION_FAILED=417,be.IM_A_TEAPOT=418,be.UNPROCESSABLE_ENTITY=422,be.LOCKED=423,be.FAILED_DEPENDENCY=424,be.UNORDERED_COLLECTION=425,be.UPGRADE_REQUIRED=426,be.PRECONDITION_REQUIRED=428,be.TOO_MANY_REQUESTS=429,be.REQUEST_HEADER_FIELDS_TOO_LARGE=431,be.INTERNAL_SERVER_ERROR=500,be.NOT_IMPLEMENTED=501,be.BAD_GATEWAY=502,be.SERVICE_UNAVAILABLE=503,be.GATEWAY_TIME_OUT=504,be.HTTP_VERSION_NOT_SUPPORTED=505,be.VARIANT_ALSO_NEGOTIATES=506,be.INSUFFICIENT_STORAGE=507,be.BANDWIDTH_LIMIT_EXCEEDED=509,be.NOT_EXTENDED=510,be.NETWORK_AUTHENTICATION_REQUIRED=511),be}var rr=B0();function V0(i,t){return t=t||{},new Promise(function(e,r){var n=new XMLHttpRequest,o=[],a=[],s={},l=function(){return{ok:(n.status/100|0)==2,statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:l,headers:{keys:function(){return o},entries:function(){return a},get:function(u){return s[u.toLowerCase()]},has:function(u){return u.toLowerCase()in s}}}};for(var c in n.open(t.method||"get",i,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(u,h,d){o.push(h=h.toLowerCase()),a.push([h,d]),s[h]=s[h]?s[h]+","+d:d}),e(l())},n.onerror=r,n.withCredentials=t.credentials=="include",t.headers)n.setRequestHeader(c,t.headers[c]);n.send(t.body||null)})}const Fc=d0(Object.freeze(Object.defineProperty({__proto__:null,default:V0},Symbol.toStringTag,{value:"Module"})));var Xa,Bc;function U0(){return Bc||(Bc=1,Xa=self.fetch||(self.fetch=Fc.default||Fc)),Xa}U0();var Ya=function(i,t,e,r){function n(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(u){try{c(r.next(u))}catch(h){a(h)}}function l(u){try{c(r.throw(u))}catch(h){a(h)}}function c(u){u.done?o(u.value):n(u.value).then(s,l)}c((r=r.apply(i,t||[])).next())})},Ka=function(i,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(e=0)),e;)try{if(r=1,n&&(o=c[0]&2?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return e.label++,{value:c[1],done:!1};case 5:e.label++,n=c[1],c=[0];continue;case 7:c=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1],o=c;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(c);break}o[2]&&e.ops.pop(),e.trys.pop();continue}c=t.call(i,e)}catch(u){c=[6,u],n=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Fe=(function(){function i(){}return i.getMediaType=function(t){return t=t.toLowerCase(),t=t.split(";")[0],t.trim()},i.getImageQuality=function(t){return t===he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1||t===he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2||t===he.ServiceProfile.IMAGE_1_LEVEL_1||t===he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1||t===he.ServiceProfile.IMAGE_1_LEVEL_2||t===he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2?"native":"default"},i.getInexactLocale=function(t){return t.indexOf("-")!==-1?t.substr(0,t.indexOf("-")):t},i.getLocalisedValue=function(t,e){if(!Array.isArray(t))return t;for(var r=0;r<t.length;r++){var n=t[r],o=n["@language"];if(e===o)return n["@value"]}for(var a=e.substr(0,e.indexOf("-")),r=0;r<t.length;r++){var s=t[r],l=s["@language"];if(l===a)return s["@value"]}return null},i.generateTreeNodeIds=function(t,e){e===void 0&&(e=0);var r;t.parentNode?r=t.parentNode.id+"-"+e:r="0",t.id=r;for(var n=0;n<t.nodes.length;n++){var o=t.nodes[n];i.generateTreeNodeIds(o,n)}},i.normaliseType=function(t){if(t=(t||"").toLowerCase(),t.indexOf(":")!==-1){var e=t.split(":");return e[1]}return t},i.normaliseUrl=function(t){return t=t.substr(t.indexOf("://")),t.indexOf("#")!==-1&&(t=t.split("#")[0]),t},i.normalisedUrlsMatch=function(t,e){return i.normaliseUrl(t)===i.normaliseUrl(e)},i.isImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.isImageServiceType=function(t){return t!==null&&t.toLowerCase()===he.ServiceType.IMAGE_SERVICE_2.toLowerCase()||t===he.ServiceType.IMAGE_SERVICE_3.toLowerCase()},i.isLevel0ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0))},i.isLevel1ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1))},i.isLevel2ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,he.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.parseManifest=function(t,e){return Uc.parse(t,e)},i.checkStatus=function(t){if(t.ok)return t;var e=new Error(t.statusText);return e.response=t,Promise.reject(e)},i.loadManifest=function(t){return new Promise(function(e,r){fetch(t).then(i.checkStatus).then(function(n){return n.json()}).then(function(n){e(n)}).catch(function(n){r()})})},i.loadExternalResourcesAuth1=function(t,e,r,n,o,a,s,l){return new Promise(function(c,u){var h=t.map(function(d){return i.loadExternalResourceAuth1(d,e,r,n,o,a,s,l)});Promise.all(h).then(function(){c(t)}).catch(function(d){u(d)})})},i.loadExternalResourceAuth1=function(t,e,r,n,o,a,s,l){return Ya(this,void 0,void 0,function(){var c;return Ka(this,function(u){switch(u.label){case 0:return[4,n(t)];case 1:return c=u.sent(),c?[4,t.getData(c)]:[3,6];case 2:return u.sent(),t.status!==rr.OK?[3,3]:[2,t];case 3:return[4,i.doAuthChain(t,e,r,o,a,s,l)];case 4:u.sent(),u.label=5;case 5:if(t.status===rr.OK||t.status===rr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError();case 6:return[4,t.getData()];case 7:return u.sent(),t.status===rr.MOVED_TEMPORARILY||t.status===rr.UNAUTHORIZED?[4,i.doAuthChain(t,e,r,o,a,s,l)]:[3,9];case 8:u.sent(),u.label=9;case 9:if(t.status===rr.OK||t.status===rr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError()}})})},i.doAuthChain=function(t,e,r,n,o,a,s){return Ya(this,void 0,void 0,function(){var l,c,u,h,d,p,_,f,f;return Ka(this,function(g){switch(g.label){case 0:return t.isAccessControlled()?(l=t.externalService,l&&(l.options=t.options),c=t.kioskService,c&&(c.options=t.options),u=t.clickThroughService,u&&(u.options=t.options),h=t.loginService,h&&(h.options=t.options),!t.isResponseHandled&&t.status===rr.MOVED_TEMPORARILY?[4,a(t)]:[3,2]):[2,t];case 1:return g.sent(),[2,t];case 2:return d=null,p=null,d=l,d?(p=d,[4,i.attemptResourceWithToken(t,r,d)]):[3,4];case 3:return g.sent(),[2,t];case 4:return d=c,d?(p=d,_=e(d),_?[4,n(_)]:[3,7]):[3,7];case 5:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 6:return g.sent(),[2,t];case 7:return d=u,d?(p=d,[4,o(t,d)]):[3,11];case 8:return f=g.sent(),f?[4,n(f)]:[3,11];case 9:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 10:return g.sent(),[2,t];case 11:return d=h,d?(p=d,[4,o(t,d)]):[3,15];case 12:return f=g.sent(),f?[4,n(f)]:[3,15];case 13:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 14:return g.sent(),[2,t];case 15:return p&&s(t,p),[2]}})})},i.attemptResourceWithToken=function(t,e,r){return Ya(this,void 0,void 0,function(){var n,o;return Ka(this,function(a){switch(a.label){case 0:return n=r.getService(he.ServiceProfile.AUTH_1_TOKEN),n?[4,e(t,n)]:[3,3];case 1:return o=a.sent(),o&&o.accessToken?[4,t.getData(o)]:[3,3];case 2:return a.sent(),[2,t];case 3:return[2]}})})},i.loadExternalResourcesAuth09=function(t,e,r,n,o,a,s,l,c,u){return new Promise(function(h,d){var p=t.map(function(_){return i.loadExternalResourceAuth09(_,e,r,n,o,a,s,l,c,u)});Promise.all(p).then(function(){h(t)}).catch(function(_){d(_)})})},i.loadExternalResourceAuth09=function(t,e,r,n,o,a,s,l,c,u){return new Promise(function(h,d){u&&u.pessimisticAccessControl?t.getData().then(function(){t.isAccessControlled()?t.clickThroughService?(h(r(t)),h(n(t))):o(t).then(function(){a(t,!0).then(function(p){t.getData(p).then(function(){h(c(t))}).catch(function(_){d(i.createInternalServerError(_))})}).catch(function(p){d(i.createInternalServerError(p))})}).catch(function(p){d(i.createInternalServerError(p))}):h(t)}).catch(function(p){d(i.createInternalServerError(p))}):l(t,e).then(function(p){p?t.getData(p).then(function(){t.status===rr.OK?h(c(t)):i.authorize(t,e,r,n,o,a,s,l).then(function(){h(c(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(_){d(i.createAuthorizationFailedError())}):i.authorize(t,e,r,n,o,a,s,l).then(function(){h(c(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(p){d(i.createAuthorizationFailedError())})})},i.createError=function(t,e){var r=new Error;return r.message=e,r.name=String(t),r},i.createAuthorizationFailedError=function(){return i.createError(sn.AUTHORIZATION_FAILED,"Authorization failed")},i.createRestrictedError=function(){return i.createError(sn.RESTRICTED,"Restricted")},i.createInternalServerError=function(t){return i.createError(sn.INTERNAL_SERVER_ERROR,t)},i.authorize=function(t,e,r,n,o,a,s,l){return new Promise(function(c,u){t.getData().then(function(){t.isAccessControlled()?l(t,e).then(function(h){h?t.getData(h).then(function(){t.status===rr.OK?c(t):i.showAuthInteraction(t,e,r,n,o,a,s,c,u)}).catch(function(d){u(i.createInternalServerError(d))}):a(t,!1).then(function(d){d?s(t,d,e).then(function(){t.getData(d).then(function(){t.status===rr.OK?c(t):i.showAuthInteraction(t,e,r,n,o,a,s,c,u)}).catch(function(p){u(i.createInternalServerError(p))})}).catch(function(p){u(i.createInternalServerError(p))}):i.showAuthInteraction(t,e,r,n,o,a,s,c,u)})}).catch(function(h){u(i.createInternalServerError(h))}):c(t)})})},i.showAuthInteraction=function(t,e,r,n,o,a,s,l,c){t.status===rr.MOVED_TEMPORARILY&&!t.isResponseHandled?l(t):t.clickThroughService&&!t.isResponseHandled?r(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){l(t)}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(u){c(i.createInternalServerError(u))})}):o(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){l(t)}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(h){c(i.createInternalServerError(h))})}).catch(function(u){c(i.createInternalServerError(u))})})},i.getService=function(t,e){for(var r=this.getServices(t),n=0;n<r.length;n++){var o=r[n];if(o.getProfile()===e)return o}return null},i.getResourceById=function(t,e){return i.traverseAndFind(t.__jsonld,"@id",e)},i.traverseAndFind=function(t,e,r){if(t.hasOwnProperty(e)&&t[e]===r)return t;for(var n=0;n<Object.keys(t).length;n++)if(typeof t[Object.keys(t)[n]]=="object"){var o=i.traverseAndFind(t[Object.keys(t)[n]],e,r);if(o!=null)return o}},i.getServices=function(t,e){var r=e===void 0?{}:e,n=r.onlyService,o=n===void 0?!1:n,a=r.onlyServices,s=a===void 0?!1:a,l=r.skipParentResources,c=l===void 0?!1:l,u=[];!c&&t&&t.options&&t.options.resource&&t.options.resource!==t&&u.push.apply(u,i.getServices(t.options.resource,{onlyServices:!0}));var h=s?[]:(t.__jsonld||t).service||[];if(Array.isArray(h)||(h=[h]),o||h.push.apply(h,(t.__jsonld||t).services||[]),h.length===0)return u;for(var d=0;d<h.length;d++){var p=h[d];if(typeof p=="string"){var _=this.getResourceById(t.options.resource,p);_&&u.push(new jc(_.__jsonld||_,t.options))}else u.push(new jc(p,t.options))}return u},i.getTemporalComponent=function(t){var e=/t=([^&]+)/g.exec(t),r=null;return e&&e[1]&&(r=e[1].split(",")),r},i})(),j0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Li=(function(){function i(t,e,r){r===void 0&&(r="none"),Array.isArray(t)&&t.length===1?this._value=t[0]:this._value=t,(e==="none"||e==="@none")&&(e=void 0),this._locale=e,this._defaultLocale=r}return i.parseV2Value=function(t,e){return typeof t=="string"?new i(t,void 0,e):t["@value"]?new i(t["@value"],t["@language"],e):null},Object.defineProperty(i.prototype,"value",{get:function(){return Array.isArray(this._value)?this._value.join("<br/>"):this._value},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"locale",{get:function(){return this._locale===void 0?this._defaultLocale:this._locale},enumerable:!1,configurable:!0}),i.prototype.addValue=function(t){Array.isArray(this._value)||(this._value=[this._value]),Array.isArray(t)?this._value=this._value.concat(t):this._value.push(t)},i})(),ir=(function(i){j0(t,i);function t(e,r){e===void 0&&(e=[]);var n=i.apply(this,e)||this;return n.__proto__=t.prototype,n._defaultLocale=r,n}return t.parse=function(e,r){if(!e)return new t([],r);if(Array.isArray(e)){var n=e.map(function(a){return Li.parseV2Value(a,r)}).filter(function(a){return a!==null}),o=n.reduce(function(a,s){var l=s._locale;return l||(l="none"),a[l]?a[l].addValue(s._value):a[l]=s,a},{});return new t(Object.values(o),r)}else{if(typeof e=="string")return new t([new Li(e,void 0,r)],r);if(e["@language"]){var n=Li.parseV2Value(e);return new t(n!==null?[n]:[],r)}else if(e["@value"]){var n=Li.parseV2Value(e);return new t(n!==null?[n]:[],r)}else return new t(Object.keys(e).map(function(a){var s=e[a];if(!Array.isArray(s))throw new Error("A IIIF v3 localized property value must have an array as the value for a given language.");return new Li(s,a,r)}),r)}},t.prototype.getSuitableLocale=function(e){for(var r=Array.from(this.values()).map(function(p){return p._locale}).filter(function(p){return p!==void 0}),n=function(p){var _=r.find(function(f){return f===p});if(_)return{value:_}},o=0,a=e;o<a.length;o++){var s=a[o],l=n(s);if(typeof l=="object")return l.value}for(var c=function(p){var _=r.find(function(f){return Fe.getInexactLocale(f)===Fe.getInexactLocale(p)});if(_)return{value:_}},u=0,h=e;u<h.length;u++){var s=h[u],d=c(s);if(typeof d=="object")return d.value}},t.prototype.setValue=function(e,r){var n=void 0;if(!r)n=this.find(function(a){return a._locale===void 0});else{var o=this.getSuitableLocale([r]);o&&(n=this.find(function(a){return a._locale===o}))}n?n._value=e:this.push(new Li(e,r,this._defaultLocale))},t.prototype.getValue=function(e,r){var n=this.getValues(e);return n.length===0?null:r?n.join(r):n[0]},t.prototype.getValues=function(e){if(!this.length)return[];var r;if(e?Array.isArray(e)?r=e:r=[e]:r=[],this.length===1&&this[0]._locale===void 0){var n=this[0]._value;return Array.isArray(n)?n:[n]}var o=this.getSuitableLocale(r);if(o){var n=this.find(function(c){return c._locale===o})._value;return Array.isArray(n)?n:[n]}var a=!this.find(function(l){return l._locale===void 0});if(a){var n=this[0]._value;return Array.isArray(n)?n:[n]}var s=this.find(function(l){return l._locale===void 0});return s?Array.isArray(s._value)?s._value:[s._value]:[]},t})(Array),G0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Z0=(function(i){G0(t,i);function t(e,r){var n=i.call(this,e,r)||this;if(n.index=0,n._allRanges=null,n.items=[],n._topRanges=[],n.__jsonld.structures&&n.__jsonld.structures.length)for(var o=n._getTopRanges(),a=0;a<o.length;a++){var s=o[a];n._parseRanges(s,String(a))}return n}return t.prototype.getPosterCanvas=function(){var e=this.getProperty("posterCanvas");return e&&(e=new Co(e,this.options)),e},t.prototype.getAccompanyingCanvas=function(){var e=this.getProperty("accompanyingCanvas");return e&&(e=new Co(e,this.options)),e},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){if(i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Fe.normaliseType(xr.MANIFEST),!this.isLoaded)return this.defaultTree;var e=this.getTopRanges();return e.length&&e[0].getTree(this.defaultTree),Fe.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._getTopRanges=function(){var e=[];if(this.__jsonld.structures&&this.__jsonld.structures.length){for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];n.viewingHint===he.ViewingHint.TOP&&e.push(n)}if(!e.length){var o={};o.ranges=this.__jsonld.structures,e.push(o)}}return e},t.prototype.getTopRanges=function(){return this._topRanges},t.prototype._getRangeById=function(e){if(this.__jsonld.structures&&this.__jsonld.structures.length)for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];if(n["@id"]===e||n.id===e)return n}return null},t.prototype._parseRanges=function(e,r,n){var o=null;if(typeof e=="string"&&(o=e,e=this._getRangeById(o)),!e){console.warn("Range:",o,"does not exist");return}var a=new q0(e,this.options);a.parentRange=n,a.path=r,n?n.items.push(a):this._topRanges.push(a);var s=e.items||e.members;if(s)for(var l=0;l<s.length;l++){var c=s[l];if(c["@type"]&&c["@type"].toLowerCase()==="sc:range"||c.type&&c.type.toLowerCase()==="range")this._parseRanges(c,r+"/"+l,a);else if(c["@type"]&&c["@type"].toLowerCase()==="sc:canvas"||c.type&&c.type.toLowerCase()==="canvas"){a.canvases||(a.canvases=[]);var u=c.id||c["@id"];a.canvases.push(u)}}else if(e.ranges)for(var l=0;l<e.ranges.length;l++)this._parseRanges(e.ranges[l],r+"/"+l,a)},t.prototype.getAllRanges=function(){if(this._allRanges!=null)return this._allRanges;this._allRanges=[];for(var e=this.getTopRanges(),r=function(a){var s=e[a];s.id&&n._allRanges.push(s);var l=function(u,h){u.add(h);var d=h.getRanges();return d.length?d.reduce(l,u):u},c=Array.from(s.getRanges().reduce(l,new Set));n._allRanges=n._allRanges.concat(c)},n=this,o=0;o<e.length;o++)r(o);return this._allRanges},t.prototype.getRangeById=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.id===e)return o}return null},t.prototype.getRangeByPath=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.path===e)return o}return null},t.prototype.getSequences=function(){if(this.items.length)return this.items;var e=this.__jsonld.mediaSequences||this.__jsonld.sequences;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new Vc(n,this.options);this.items.push(o)}else if(this.__jsonld.items){var o=new Vc(this.__jsonld.items,this.options);this.items.push(o)}return this.items},t.prototype.getSequenceByIndex=function(e){return this.getSequences()[e]},t.prototype.getTotalSequences=function(){return this.getSequences().length},t.prototype.getManifestType=function(){var e=this.getService(he.ServiceProfile.UI_EXTENSIONS);return e?e.getProperty("manifestType"):Qa.EMPTY},t.prototype.isMultiSequence=function(){return this.getTotalSequences()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();if(e)return e===he.ViewingHint.PAGED;var r=this.getBehavior();return r?r===he.Behavior.PAGED:!1},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t})(_c),Qa;(function(i){i.EMPTY="",i.MANUSCRIPT="manuscript",i.MONOGRAPH="monograph"})(Qa||(Qa={}));var W0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),q0=(function(i){W0(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n._ranges=null,n.canvases=null,n.items=[],n}return t.prototype.getCanvasIds=function(){return this.__jsonld.canvases?this.__jsonld.canvases:this.canvases?this.canvases:[]},t.prototype.getDuration=function(){if(this.canvases&&this.canvases.length){for(var e=[],r=[],n=0,o=this.canvases;n<o.length;n++){var a=o[n];if(a){var s=a.match(/(.*)#t=([0-9.]+),?([0-9.]+)?/)||[void 0,a],l=s[1],c=s[2],u=s[3];l&&(e.push(parseFloat(c)),r.push(parseFloat(u)))}}if(e.length&&r.length)return new qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}else{for(var h=this.getRanges(),e=[],r=[],d=0,p=h;d<p.length;d++){var _=p[d],f=_.getDuration();f&&(e.push(f.start),r.push(f.end))}if(e.length&&r.length)return new qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}var g,y;if(this.canvases&&this.canvases.length)for(var k=0;k<this.canvases.length;k++){var a=this.canvases[k],C=Fe.getTemporalComponent(a);C&&C.length>1&&(k===0&&(g=Number(C[0])),k===this.canvases.length-1&&(y=Number(C[1])))}else for(var h=this.getRanges(),k=0;k<h.length;k++){var _=h[k],f=_.getDuration();f&&(k===0&&(g=f.start),k===h.length-1&&(y=f.end))}if(g!==void 0&&y!==void 0)return new qa(g,y)},t.prototype.getRanges=function(){return this._ranges?this._ranges:this._ranges=this.items.filter(function(e){return e.isRange()})},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getTree=function(e){e.data=this,this.treeNode=e;var r=this.getRanges();if(r&&r.length)for(var n=0;n<r.length;n++){var o=r[n],a=new Ja;e.addNode(a),this._parseTreeNode(a,o)}return Fe.generateTreeNodeIds(e),e},t.prototype.spansTime=function(e){var r=this.getDuration();return!!(r&&e>=r.start&&e<=r.end)},t.prototype._parseTreeNode=function(e,r){e.label=r.getLabel().getValue(this.options.locale),e.data=r,e.data.type=Fe.normaliseType(xr.RANGE),r.treeNode=e;var n=r.getRanges();if(n&&n.length)for(var o=0;o<n.length;o++){var a=n[o],s=a.getBehavior();if(s!==he.Behavior.NO_NAV){var l=new Ja;e.addNode(l),this._parseTreeNode(l,a)}}},t})(Or),X0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Y0=(function(i){X0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){return this.getProperty("format")},t})(Or),K0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Vc=(function(i){K0(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._thumbnails=null,n}return t.prototype.getCanvases=function(){if(this.items.length)return this.items;var e=this.__jsonld.canvases||this.__jsonld.elements;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new Co(n,this.options);o.index=r,this.items.push(o)}else if(this.__jsonld)for(var r=0;r<this.__jsonld.length;r++){var n=this.__jsonld[r],o=new Co(n,this.options);o.index=r,this.items.push(o)}return this.items},t.prototype.getCanvasById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r),o=Fe.normaliseUrl(n.id);if(Fe.normaliseUrl(e)===o)return n}return null},t.prototype.getCanvasByIndex=function(e){return this.getCanvases()[e]},t.prototype.getCanvasIndexById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return null},t.prototype.getCanvasIndexByLabel=function(e,r){e=e.trim(),isNaN(e)||(e=parseInt(e,10).toString(),r&&(e+="r"));for(var n=/(\d*)\D+(\d*)/,o,a,s,l,c,u=0;u<this.getTotalCanvases();u++){var h=this.getCanvasByIndex(u);if(h.getLabel().getValue(this.options.locale)===e)return u;if(o=n.exec(e),!!o&&(l=o[1],c=o[2],!!c&&(s="^"+l+"\\D+"+c+"$",a=new RegExp(s),a.test(h.getLabel().toString()))))return u}return-1},t.prototype.getLastCanvasLabel=function(e){for(var r=this.getTotalCanvases()-1;r>=0;r--){var n=this.getCanvasByIndex(r),o=n.getLabel().getValue(this.options.locale);if(e){var a=/^[a-zA-Z0-9]*$/;if(a.test(o))return o}else if(o)return o}return this.options.defaultLabel},t.prototype.getLastPageIndex=function(){return this.getTotalCanvases()-1},t.prototype.getNextPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===he.ViewingDirection.RIGHT_TO_LEFT?n=o[0]+1:n=o[o.length-1]+1}else n=e+1;return n>this.getLastPageIndex()?-1:n},t.prototype.getPagedIndices=function(e,r){var n=[];if(!r)n.push(e);else{this.isFirstCanvas(e)||this.isLastCanvas(e)?n=[e]:e%2?n=[e,e+1]:n=[e-1,e];var o=this.getViewingDirection();o&&o===he.ViewingDirection.RIGHT_TO_LEFT&&(n=n.reverse())}return n},t.prototype.getPrevPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===he.ViewingDirection.RIGHT_TO_LEFT?n=o[o.length-1]-1:n=o[0]-1}else n=e-1;return n},t.prototype.getStartCanvasIndex=function(){var e=this.getStartCanvas();if(e)for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return 0},t.prototype.getThumbs=function(e,r){for(var n=[],o=this.getTotalCanvases(),a=0;a<o;a++){var s=this.getCanvasByIndex(a),l=new $0(e,s);n.push(l)}return n},t.prototype.getThumbnails=function(){if(this._thumbnails!=null)return this._thumbnails;this._thumbnails=[];for(var e=this.getCanvases(),r=0;r<e.length;r++){var n=e[r].getThumbnail();n&&this._thumbnails.push(n)}return this._thumbnails},t.prototype.getStartCanvas=function(){return this.getProperty("startCanvas")},t.prototype.getTotalCanvases=function(){return this.getCanvases().length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):this.options.resource.getViewingDirection?this.options.resource.getViewingDirection():null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.isCanvasIndexOutOfRange=function(e){return e>this.getTotalCanvases()-1},t.prototype.isFirstCanvas=function(e){return e===0},t.prototype.isLastCanvas=function(e){return e===this.getTotalCanvases()-1},t.prototype.isMultiCanvas=function(){return this.getTotalCanvases()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();return e?e===he.ViewingHint.PAGED:!1},t.prototype.isTotalCanvasesEven=function(){return this.getTotalCanvases()%2===0},t})(Or),Uc=(function(){function i(){}return i.parse=function(t,e){return typeof t=="string"&&(t=JSON.parse(t)),this.parseJson(t,e)},i.parseJson=function(t,e){var r;if(e&&e.navDate&&!isNaN(e.navDate.getTime())&&(t.navDate=e.navDate.toString()),t["@type"])switch(t["@type"]){case"sc:Collection":r=this.parseCollection(t,e);break;case"sc:Manifest":r=this.parseManifest(t,e);break;default:return null}else switch(t.type){case"Collection":r=this.parseCollection(t,e);break;case"Manifest":r=this.parseManifest(t,e);break;default:return null}return r.isLoaded=!0,r},i.parseCollection=function(t,e){var r=new N0(t,e);return e?(r.index=e.index||0,e.resource&&(r.parentCollection=e.resource.parentCollection)):r.index=0,this.parseCollections(r,e),this.parseManifests(r,e),this.parseItems(r,e),r},i.parseCollections=function(t,e){var r;if(t.__jsonld.collections?r=t.__jsonld.collections:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="collection"})),r)for(var n=0;n<r.length;n++){e&&(e.index=n);var o=this.parseCollection(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseManifest=function(t,e){var r=new Z0(t,e);return r},i.parseManifests=function(t,e){var r;if(t.__jsonld.manifests?r=t.__jsonld.manifests:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="manifest"})),r)for(var n=0;n<r.length;n++){var o=this.parseManifest(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseItem=function(t,e){if(t["@type"]){if(t["@type"].toLowerCase()==="sc:manifest")return this.parseManifest(t,e);if(t["@type"].toLowerCase()==="sc:collection")return this.parseCollection(t,e)}else if(t.type){if(t.type.toLowerCase()==="manifest")return this.parseManifest(t,e);if(t.type.toLowerCase()==="collection")return this.parseCollection(t,e)}return null},i.parseItems=function(t,e){var r=t.__jsonld.members||t.__jsonld.items;if(r)for(var n=function(l){e&&(e.index=l);var c=o.parseItem(r[l],e);if(!c)return{value:void 0};if(t.items.filter(function(u){return u.id===c.id})[0])return"continue";c.index=l,c.parentCollection=t,t.items.push(c)},o=this,a=0;a<r.length;a++){var s=n(a);if(typeof s=="object")return s.value}},i})(),Q0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),jc=(function(i){Q0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getProfile=function(){var e=this.getProperty("profile");return e||(e=this.getProperty("dcterms:conformsTo")),Array.isArray(e)?e[0]:e},t.prototype.getConfirmLabel=function(){return Fe.getLocalisedValue(this.getProperty("confirmLabel"),this.options.locale)},t.prototype.getDescription=function(){return Fe.getLocalisedValue(this.getProperty("description"),this.options.locale)},t.prototype.getFailureDescription=function(){return Fe.getLocalisedValue(this.getProperty("failureDescription"),this.options.locale)},t.prototype.getFailureHeader=function(){return Fe.getLocalisedValue(this.getProperty("failureHeader"),this.options.locale)},t.prototype.getHeader=function(){return Fe.getLocalisedValue(this.getProperty("header"),this.options.locale)},t.prototype.getServiceLabel=function(){return Fe.getLocalisedValue(this.getProperty("label"),this.options.locale)},t.prototype.getInfoUri=function(){var e=this.id;return e.endsWith("/")||(e+="/"),e+="info.json",e},t})(Or),J0=(function(){function i(t,e){this.width=t,this.height=e}return i})(),sn;(function(i){i[i.AUTHORIZATION_FAILED=1]="AUTHORIZATION_FAILED",i[i.FORBIDDEN=2]="FORBIDDEN",i[i.INTERNAL_SERVER_ERROR=3]="INTERNAL_SERVER_ERROR",i[i.RESTRICTED=4]="RESTRICTED"})(sn||(sn={}));var $0=(function(){function i(t,e){this.data=e,this.index=e.index,this.width=t;var r=e.getHeight()/e.getWidth();r?this.height=Math.floor(this.width*r):this.height=t,this.uri=e.getCanonicalImageUri(t),this.label=e.getLabel().getValue(),this.viewingHint=e.getViewingHint()}return i})(),eg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),tg=(function(i){eg(t,i);function t(e,r){return i.call(this,e,r)||this}return t})(Ra),Ja=(function(){function i(t,e){this.label=t,this.data=e||{},this.nodes=[]}return i.prototype.addNode=function(t){this.nodes.push(t),t.parentNode=this},i.prototype.isCollection=function(){return this.data.type===Fe.normaliseType(xr.COLLECTION)},i.prototype.isManifest=function(){return this.data.type===Fe.normaliseType(xr.MANIFEST)},i.prototype.isRange=function(){return this.data.type===Fe.normaliseType(xr.RANGE)},i})(),xr;(function(i){i.COLLECTION="collection",i.MANIFEST="manifest",i.RANGE="range"})(xr||(xr={}));var rg=function(i,t){return Fe.parseManifest(i,t)};class ig{constructor(){ve(this,gn,Ce(ht({})));ve(this,vn,Ce(ht(new Map)))}get manifests(){return m(I(this,gn))}set manifests(t){me(I(this,gn),t,!0)}get userAnnotations(){return m(I(this,vn))}set userAnnotations(t){me(I(this,vn),t,!0)}userAnnotationKey(t,e){return`${t}::${e}`}setUserAnnotations(t,e,r){const n=this.userAnnotationKey(t,e),o=new Map(this.userAnnotations);o.set(n,r),this.userAnnotations=o}clearUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);if(this.userAnnotations.has(r)){const n=new Map(this.userAnnotations);n.delete(r),this.userAnnotations=n}}getUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);return this.userAnnotations.get(r)??[]}async fetchManifest(t){if(!this.manifests[t]){this.manifests[t]={isFetching:!0};try{const e=await fetch(t);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const r=await e.json(),n=rg(r);this.manifests[t]={json:r,manifesto:n,isFetching:!1}}catch(e){this.manifests[t]={error:e.message,isFetching:!1}}}}getManifest(t){const e=this.manifests[t];return e==null?void 0:e.manifesto}getManifestEntry(t){return this.manifests[t]}async fetchAnnotationList(t){if(!this.manifests[t])try{const e=await fetch(t);if(e.ok){const r=await e.json();this.manifests[t]={json:r}}else console.error(`Failed to fetch annotation list: ${t}`)}catch(e){console.error(`Error fetching annotation list: ${t}`,e)}}getCanvases(t){const e=this.getManifest(t);if(!e)return[];const r=e.getSequences();return!r||!r.length?[]:r[0].getCanvases()}getAnnotations(t,e){const r=this.manualGetAnnotations(t,e),n=this.getUserAnnotations(t,e);return[...r,...n]}manualGetAnnotations(t,e){const r=this.getManifest(t);if(!r)return[];const n=r.getSequences()[0].getCanvasById(e);if(!n)return[];const o=n.__jsonld;let a=[];const s=l=>l.resources||l.items||[];return o.otherContent&&o.otherContent.forEach(l=>{const c=l["@id"]||l.id;if(c&&!l.resources){const u=this.manifests[c];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(c)}else l.resources&&a.push(...l.resources)}),o.annotations&&o.annotations.forEach(l=>{const c=l.id||l["@id"];if(c&&!l.items){const u=this.manifests[c];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(c)}else l.items&&a.push(...l.items)}),a}}gn=new WeakMap,vn=new WeakMap;const Ur=new ig;class ng{constructor(t=null,e=null,r=[]){ve(this,mn,Ce(null));ve(this,_n,Ce(null));ve(this,wn,Ce(!1));ve(this,bn,Ce(!1));ve(this,yn,Ce(!1));ve(this,xn,Ce(!1));ve(this,Tn,Ce(!1));ve(this,En,Ce(!1));ve(this,kn,Ce("bottom"));ve(this,Sn,Ce(ht(new Set)));ve(this,Cn,Ce(ht({})));ve(this,Pn,Ce(ht({x:20,y:100})));ve(this,Rn,Ce(ht({width:300,height:400})));ve(this,An,Ce(!1));ve(this,In,Ce(ht({x:0,y:0})));ve(this,On,Ce(null));ve(this,Dn,Ce(null));nt(this,"eventTarget",null);nt(this,"viewerElement",null);ve(this,Mn,Ce(""));ve(this,Ln,Ce(null));ve(this,zn,Ce(ht([])));ve(this,Hn,Ce(!1));ve(this,Nn,Ce(!1));ve(this,Fn,Ce(ht([])));ve(this,Bn,Ce(ht([])));ve(this,Vn,Ce(ht([])));ve(this,Un,Ce(null));nt(this,"pluginEventHandlers",new Map);this.manifestId=t||null,this.canvasId=e||null,this.manifestId&&Ur.fetchManifest(this.manifestId);for(const n of r)this.registerPlugin(n)}get manifestId(){return m(I(this,mn))}set manifestId(t){me(I(this,mn),t,!0)}get canvasId(){return m(I(this,_n))}set canvasId(t){me(I(this,_n),t,!0)}get showAnnotations(){return m(I(this,wn))}set showAnnotations(t){me(I(this,wn),t,!0)}get showThumbnailGallery(){return m(I(this,bn))}set showThumbnailGallery(t){me(I(this,bn),t,!0)}get isGalleryDockedBottom(){return m(I(this,yn))}set isGalleryDockedBottom(t){me(I(this,yn),t,!0)}get isGalleryDockedRight(){return m(I(this,xn))}set isGalleryDockedRight(t){me(I(this,xn),t,!0)}get isFullScreen(){return m(I(this,Tn))}set isFullScreen(t){me(I(this,Tn),t,!0)}get showMetadataDialog(){return m(I(this,En))}set showMetadataDialog(t){me(I(this,En),t,!0)}get dockSide(){return m(I(this,kn))}set dockSide(t){me(I(this,kn),t,!0)}get visibleAnnotationIds(){return m(I(this,Sn))}set visibleAnnotationIds(t){me(I(this,Sn),t,!0)}get config(){return m(I(this,Cn))}set config(t){me(I(this,Cn),t,!0)}get showRightMenu(){return this.config.showRightMenu??!0}get showLeftMenu(){return this.config.showLeftMenu??!0}get showCanvasNav(){return this.config.showCanvasNav??!0}get galleryPosition(){return m(I(this,Pn))}set galleryPosition(t){me(I(this,Pn),t,!0)}get gallerySize(){return m(I(this,Rn))}set gallerySize(t){me(I(this,Rn),t,!0)}get isGalleryDragging(){return m(I(this,An))}set isGalleryDragging(t){me(I(this,An),t,!0)}get galleryDragOffset(){return m(I(this,In))}set galleryDragOffset(t){me(I(this,In),t,!0)}get dragOverSide(){return m(I(this,On))}set dragOverSide(t){me(I(this,On),t,!0)}get galleryCenterPanelRect(){return m(I(this,Dn))}set galleryCenterPanelRect(t){me(I(this,Dn),t,!0)}setEventTarget(t){this.eventTarget=t}getSnapshot(){let t=-1;return this.manifestId&&this.canvasId&&(t=Ur.getCanvases(this.manifestId).findIndex(r=>(r.id||r["@id"]||(r.getCanvasId?r.getCanvasId():null)||(r.getId?r.getId():null))===this.canvasId)),{manifestId:this.manifestId,canvasId:this.canvasId,currentCanvasIndex:t,showAnnotations:this.showAnnotations,showThumbnailGallery:this.showThumbnailGallery,showSearchPanel:this.showSearchPanel,searchQuery:this.searchQuery,isFullScreen:this.isFullScreen,dockSide:this.dockSide}}dispatchStateChange(t="statechange"){console.log(`[ViewerState] Dispatching ${t}`,JSON.stringify(this.getSnapshot())),this.eventTarget&&queueMicrotask(()=>{var e;(e=this.eventTarget)==null||e.dispatchEvent(new CustomEvent(t,{detail:this.getSnapshot(),bubbles:!0,composed:!0}))})}get manifest(){return this.manifestId?Ur.getManifest(this.manifestId):null}get manifestEntry(){return this.manifestId?Ur.getManifestEntry(this.manifestId):null}get canvases(){return this.manifestId?Ur.getCanvases(this.manifestId):[]}get currentCanvasIndex(){return this.canvasId?this.canvases.findIndex(t=>(t.id||t["@id"]||(t.getCanvasId?t.getCanvasId():null)||(t.getId?t.getId():null))===this.canvasId):this.canvases.length>0?0:-1}get hasNext(){return this.currentCanvasIndex<this.canvases.length-1}get hasPrevious(){return this.currentCanvasIndex>0}nextCanvas(){if(this.hasNext){const t=this.currentCanvasIndex+1,e=this.canvases[t];this.setCanvas(e.id)}}previousCanvas(){if(this.hasPrevious){const t=this.currentCanvasIndex-1,e=this.canvases[t];this.setCanvas(e.id)}}setManifest(t){this.manifestId=t,this.canvasId=null,Ur.fetchManifest(t),this.dispatchStateChange("manifestchange")}setCanvas(t){this.canvasId=t,this.dispatchStateChange("canvaschange")}updateConfig(t){var r;const e=this.config;if(this.config=t,t.gallery&&(t.gallery.open!==void 0&&(this.showThumbnailGallery=t.gallery.open),t.gallery.dockPosition!==void 0&&(this.dockSide=t.gallery.dockPosition)),t.search){t.search.open!==void 0&&(this.showSearchPanel=t.search.open);const n=t.search.query,o=(r=e.search)==null?void 0:r.query;n!==void 0&&n!==o&&n!==this.searchQuery&&this._performSearch(n)}t.annotations&&t.annotations.open!==void 0&&(this.showAnnotations=t.annotations.open)}toggleAnnotations(){this.showAnnotations=!this.showAnnotations,this.dispatchStateChange()}toggleThumbnailGallery(){this.showThumbnailGallery=!this.showThumbnailGallery,this.dispatchStateChange()}setViewerElement(t){this.viewerElement=t}toggleFullScreen(){if(document.fullscreenElement)document.exitFullscreen();else{const t=this.viewerElement||document.getElementById("triiiceratops-viewer");t?t.requestFullscreen().catch(e=>{console.warn("Fullscreen request failed",e)}):console.warn("Cannot toggle fullscreen: Viewer element not found")}}toggleMetadataDialog(){this.showMetadataDialog=!this.showMetadataDialog}get searchQuery(){return m(I(this,Mn))}set searchQuery(t){me(I(this,Mn),t,!0)}get pendingSearchQuery(){return m(I(this,Ln))}set pendingSearchQuery(t){me(I(this,Ln),t,!0)}get searchResults(){return m(I(this,zn))}set searchResults(t){me(I(this,zn),t,!0)}get isSearching(){return m(I(this,Hn))}set isSearching(t){me(I(this,Hn),t,!0)}get showSearchPanel(){return m(I(this,Nn))}set showSearchPanel(t){me(I(this,Nn),t,!0)}toggleSearchPanel(){this.showSearchPanel=!this.showSearchPanel,this.showSearchPanel||(this.searchAnnotations=[]),this.dispatchStateChange()}get searchAnnotations(){return m(I(this,Fn))}set searchAnnotations(t){me(I(this,Fn),t,!0)}get currentCanvasSearchAnnotations(){return this.canvasId?this.searchAnnotations.filter(t=>t.canvasId===this.canvasId):[]}async search(t){this.dispatchStateChange(),await this._performSearch(t),this.dispatchStateChange()}async _performSearch(t){var e,r;if(t.trim()){this.isSearching=!0,this.searchQuery=t,this.searchResults=[];try{const n=this.manifest;if(!n){console.log("[ViewerState] Manifest not loaded, deferring search:",t),this.pendingSearchQuery=t;return}let o=n.getService("http://iiif.io/api/search/1/search")||n.getService("http://iiif.io/api/search/0/search");if(o||n.__jsonld&&n.__jsonld.service&&(o=(Array.isArray(n.__jsonld.service)?n.__jsonld.service:[n.__jsonld.service]).find(g=>g.profile==="http://iiif.io/api/search/1/search"||g.profile==="http://iiif.io/api/search/0/search")),!o){console.warn("No IIIF search service found in manifest"),this.isSearching=!1;return}const s=`${o.id||o["@id"]}?q=${encodeURIComponent(t)}`,l=await fetch(s);if(!l.ok)throw new Error("Search request failed");const c=await l.json(),u=c.resources||[],h=new Map,d=f=>{const g=typeof f=="string"?f:f["@id"]||f.id;if(!g)return null;const y=g.split("#xywh=");if(y.length<2)return null;const k=y[1].split(",").map(Number);return k.length===4?k:null},p=f=>f?f.replace(/<mark>/g,"<mark>").replace(/<\/mark>/g,"</mark>"):"";if(c.hits)for(const f of c.hits){const g=f.annotations||[];let y=-1,k=null,C=[];for(const x of g){const R=u.find(O=>O["@id"]===x||O.id===x);if(R&&R.on){const O=typeof R.on=="string"?R.on:R.on["@id"]||R.on.id,z=O.split("#")[0],B=d(O),A=this.canvases.findIndex(M=>M.id===z);A>=0&&(y===-1&&(y=A),B&&(C.push(B),k||(k=B)))}}if(y>=0){if(!h.has(y)){const x=this.canvases[y];let R="Canvas "+(y+1);try{if(x.getLabel){const O=x.getLabel();Array.isArray(O)&&O.length>0?R=O[0].value:typeof O=="string"&&(R=O)}else x.label&&(typeof x.label=="string"?R=x.label:Array.isArray(x.label)&&(R=(e=x.label[0])==null?void 0:e.value))}catch{}h.set(y,{canvasIndex:y,canvasLabel:String(R),hits:[]})}h.get(y).hits.push({type:"hit",before:p(f.before),match:p(f.match),after:p(f.after),bounds:k,allBounds:C})}}else if(u.length>0)for(const f of u){const g=typeof f.on=="string"?f.on:f.on["@id"]||f.on.id,y=g.split("#")[0],k=d(g),C=this.canvases.findIndex(x=>x.id===y);if(C>=0){const x=this.canvases[C];let R="Canvas "+(C+1);try{if(x.getLabel){const O=x.getLabel();Array.isArray(O)&&O.length>0?R=O[0].value:typeof O=="string"&&(R=O)}else x.label&&(typeof x.label=="string"?R=x.label:Array.isArray(x.label)&&(R=(r=x.label[0])==null?void 0:r.value))}catch{}h.has(C)||h.set(C,{canvasIndex:C,canvasLabel:String(R),hits:[]}),h.get(C).hits.push({type:"resource",match:p(f.resource&&f.resource.chars?f.resource.chars:f.chars||""),bounds:k,allBounds:k?[k]:[]})}}this.searchResults=Array.from(h.values()).sort((f,g)=>f.canvasIndex-g.canvasIndex);let _=0;this.searchAnnotations=this.searchResults.flatMap(f=>{const g=this.canvases[f.canvasIndex];return f.hits.flatMap(y=>(y.allBounds&&y.allBounds.length>0?y.allBounds:y.bounds?[y.bounds]:[]).map(C=>{const x=`${g.id}#xywh=${C.join(",")}`;return{"@id":`urn:search-hit:${_++}`,"@type":"oa:Annotation",motivation:"sc:painting",on:x,canvasId:g.id,resource:{"@type":"cnt:ContentAsText",chars:y.match},isSearchHit:!0}}))})}catch(n){console.error("Search error:",n),this.isSearching=!1}finally{this.pendingSearchQuery||(this.isSearching=!1)}}}get pluginMenuButtons(){return m(I(this,Bn))}set pluginMenuButtons(t){me(I(this,Bn),t,!0)}get pluginPanels(){return m(I(this,Vn))}set pluginPanels(t){me(I(this,Vn),t,!0)}get osdViewer(){return m(I(this,Un))}set osdViewer(t){me(I(this,Un),t)}registerPlugin(t){const e=t.id||`plugin-${Math.random().toString(36).substr(2,9)}`;let r=Ce(!1);const n={id:`${e}:toggle`,icon:t.icon,tooltip:t.name,onClick:()=>{me(r,!m(r))},isActive:()=>m(r),order:200},o={id:`${e}:panel`,component:t.panel,position:t.position||"left",isVisible:()=>m(r),props:{...t.props,isOpen:m(r),close:()=>{me(r,!1)}}};this.pluginMenuButtons=[...this.pluginMenuButtons,n],this.pluginPanels=[...this.pluginPanels,o],t.onInit&&t.onInit(this)}unregisterPlugin(t){this.pluginMenuButtons=this.pluginMenuButtons.filter(e=>!e.id.startsWith(`${t}:`)),this.pluginPanels=this.pluginPanels.filter(e=>!e.id.startsWith(`${t}:`))}notifyOSDReady(t){this.osdViewer=t}destroyAllPlugins(){this.pluginMenuButtons=[],this.pluginPanels=[],this.pluginEventHandlers.clear()}}mn=new WeakMap,_n=new WeakMap,wn=new WeakMap,bn=new WeakMap,yn=new WeakMap,xn=new WeakMap,Tn=new WeakMap,En=new WeakMap,kn=new WeakMap,Sn=new WeakMap,Cn=new WeakMap,Pn=new WeakMap,Rn=new WeakMap,An=new WeakMap,In=new WeakMap,On=new WeakMap,Dn=new WeakMap,Mn=new WeakMap,Ln=new WeakMap,zn=new WeakMap,Hn=new WeakMap,Nn=new WeakMap,Fn=new WeakMap,Bn=new WeakMap,Vn=new WeakMap,Un=new WeakMap;const ui="triiiceratops:viewerState",og=["light","dark","cupcake","bumblebee","emerald","corporate","synthwave","retro","cyberpunk","valentine","halloween","garden","forest","aqua","lofi","pastel","fantasy","wireframe","black","luxury","dracula","cmyk","autumn","business","acid","lemonade","night","coffee","winter","dim","nord","sunset","caramellatte","abyss","silk"];function ag(i){i=i.replace(/^#/,"");let t,e,r;if(i.length===3)t=parseInt(i[0]+i[0],16),e=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16);else if(i.length===6||i.length===8)t=parseInt(i.slice(0,2),16),e=parseInt(i.slice(2,4),16),r=parseInt(i.slice(4,6),16);else return null;return isNaN(t)||isNaN(e)||isNaN(r)?null:{r:t,g:e,b:r}}function sg(i){const t=i.match(/rgba?\(\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)(?:\s*[,/]\s*(\d*\.?\d+%?))?\s*\)/i);if(!t)return null;const e=a=>a.endsWith("%")?parseFloat(a)/100*255:parseFloat(a),r=e(t[1]),n=e(t[2]),o=e(t[3]);return isNaN(r)||isNaN(n)||isNaN(o)?null:{r,g:n,b:o}}function $a(i){const t=i/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lg(i,t,e){return{x:.4124564*i+.3575761*t+.1804375*e,y:.2126729*i+.7151522*t+.072175*e,z:.0193339*i+.119192*t+.9503041*e}}function cg(i,t,e){const r=.8189330101*i+.3618667424*t-.1288597137*e,n=.0329845436*i+.9293118715*t+.0361456387*e,o=.0482003018*i+.2643662691*t+.633851707*e,a=Math.cbrt(r),s=Math.cbrt(n),l=Math.cbrt(o);return{L:.2104542553*a+.793617785*s-.0040720468*l,a:1.9779984951*a-2.428592205*s+.4505937099*l,b:.0259040371*a+.7827717662*s-.808675766*l}}function ug(i,t,e){const r=Math.sqrt(t*t+e*e);let n=Math.atan2(e,t)*180/Math.PI;return n<0&&(n+=360),{L:i,C:r,h:n}}function Gc(i,t,e){const r=$a(i),n=$a(t),o=$a(e),{x:a,y:s,z:l}=lg(r,n,o),{L:c,a:u,b:h}=cg(a,s,l);return ug(c,u,h)}function Zc(i,t,e){const r=(i*100).toFixed(2),n=t.toFixed(4),o=t<1e-4?0:e.toFixed(2);return`oklch(${r}% ${n} ${o})`}function hg(i){return i.trim().toLowerCase().startsWith("oklch(")}function dg(i){return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(i.trim())}function fg(i){return/^rgba?\s*\(/i.test(i.trim())}function pg(i){const t=ag(i);if(!t)return console.warn(`Invalid hex color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Gc(t.r,t.g,t.b);return Zc(e,r,n)}function gg(i){const t=sg(i);if(!t)return console.warn(`Invalid rgb color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Gc(t.r,t.g,t.b);return Zc(e,r,n)}function vg(i){const t=i.trim();return hg(t)?t:dg(t)?pg(t):fg(t)?gg(t):(console.warn(`Unrecognized color format: ${i}, passing through as-is`),i)}const Wc={primary:"--color-primary",primaryContent:"--color-primary-content",secondary:"--color-secondary",secondaryContent:"--color-secondary-content",accent:"--color-accent",accentContent:"--color-accent-content",neutral:"--color-neutral",neutralContent:"--color-neutral-content",base100:"--color-base-100",base200:"--color-base-200",base300:"--color-base-300",baseContent:"--color-base-content",info:"--color-info",infoContent:"--color-info-content",success:"--color-success",successContent:"--color-success-content",warning:"--color-warning",warningContent:"--color-warning-content",error:"--color-error",errorContent:"--color-error-content",radiusBox:"--radius-box",radiusField:"--radius-field",radiusSelector:"--radius-selector",sizeSelector:"--size-selector",sizeField:"--size-field",border:"--border",depth:"--depth",noise:"--noise",colorScheme:"color-scheme"},mg=new Set(["primary","primaryContent","secondary","secondaryContent","accent","accentContent","neutral","neutralContent","base100","base200","base300","baseContent","info","infoContent","success","successContent","warning","warningContent","error","errorContent"]);function _g(i){return og.includes(i)}function wg(i,t){i.setAttribute("data-theme",t)}function bg(i,t){for(const[e,r]of Object.entries(t)){if(r==null)continue;const n=e;if(n==="colorScheme"){i.style.colorScheme=r;continue}const o=Wc[n];if(!o)continue;let a=String(r);mg.has(n)&&(a=vg(a)),i.style.setProperty(o,a)}}function yg(i){for(const[t,e]of Object.entries(Wc))t==="colorScheme"?i.style.colorScheme="":i.style.removeProperty(e)}function xg(i){try{const t=JSON.parse(i);return typeof t=="object"&&t!==null?t:null}catch{return null}}function Tg(i,t,e){t?wg(i,t):i.removeAttribute("data-theme"),e?bg(i,e):yg(i)}function qc(i){return i.id||i["@id"]||(typeof i.getId=="function"?i.getId():"")}function ln(i){if(!i)return null;const t=i.match(/xywh=(?:pixel:)?([\d.]+),([\d.]+),([\d.]+),([\d.]+)/);return t?{x:parseFloat(t[1]),y:parseFloat(t[2]),w:parseFloat(t[3]),h:parseFloat(t[4])}:null}function Eg(i){const t=kg(i);if(t)return Sg(t);const e=Ag(i);return e?{type:"RECTANGLE",x:e.x,y:e.y,w:e.w,h:e.h}:null}function kg(i){var e,r;if(typeof i.getTarget=="function"){const n=((e=i.__jsonld)==null?void 0:e.on)||((r=i.__jsonld)==null?void 0:r.target);if(n)return Xc(n)}const t=i.target||i.on;return t?Xc(t):null}function Xc(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=Yc(t);if(e)return e}else return Yc(i);return null}function Yc(i){var e;if(!i)return null;let t=i.selector||i;if(Array.isArray(t)){const r=t.find(n=>n.type==="SvgSelector");return r&&r.value?r.value:null}return(t==null?void 0:t.type)==="SvgSelector"&&t.value?t.value:((e=t==null?void 0:t.item)==null?void 0:e.type)==="SvgSelector"&&t.item.value?t.item.value:null}function Sg(i){try{const e=new DOMParser().parseFromString(i,"image/svg+xml");if(e.documentElement.nodeName==="parsererror")return console.warn("Failed to parse SVG selector:",i),null;const r=[],n=e.querySelectorAll("polygon");for(const l of n){const c=l.getAttribute("points");if(c){const u=Cg(c);r.push(...u)}}const o=e.querySelectorAll("path");for(const l of o){const c=l.getAttribute("d");if(c){const u=Pg(c);r.push(...u)}}const a=e.querySelectorAll("circle");for(const l of a){const c=parseFloat(l.getAttribute("cx")||"0"),u=parseFloat(l.getAttribute("cy")||"0"),h=parseFloat(l.getAttribute("r")||"0"),d=Rg(c,u,h);r.push(...d)}const s=e.querySelectorAll("rect");for(const l of s){const c=parseFloat(l.getAttribute("x")||"0"),u=parseFloat(l.getAttribute("y")||"0"),h=parseFloat(l.getAttribute("width")||"0"),d=parseFloat(l.getAttribute("height")||"0");r.push([c,u],[c+h,u],[c+h,u+d],[c,u+d])}return r.length===0?null:{type:"POLYGON",points:r}}catch(t){return console.warn("Failed to convert SVG to polygon:",t),null}}function Cg(i){const t=[],e=i.trim().split(/\s+/);for(const r of e){const[n,o]=r.split(",").map(a=>parseFloat(a));!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function Pg(i){const t=[],e=/[ML]\s*([\d.]+)[,\s]+([\d.]+)/g;let r;for(;(r=e.exec(i))!==null;){const n=parseFloat(r[1]),o=parseFloat(r[2]);!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function Rg(i,t,e,r=8){const n=[];for(let o=0;o<r;o++){const a=o/r*Math.PI*2,s=i+e*Math.cos(a),l=t+e*Math.sin(a);n.push([s,l])}return n}function Ag(i){var e;if(typeof i.getTarget=="function"){const r=i.getTarget();if(typeof r=="string"&&r.includes("xywh="))return ln(r);const n=(e=i.__jsonld)==null?void 0:e.on;if(n){const o=es(n);if(o)return o}}const t=i.target||i.on;return t?es(t):null}function es(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=es(t);if(e)return e}if(typeof i=="string"&&i.includes("xywh="))return ln(i);if(i.selector){let t=i.selector;if(Array.isArray(t)){const r=t.find(o=>o.type==="FragmentSelector"&&o.value&&o.value.includes("xywh="));if(r)return ln(r.value);const n=t.find(o=>o.value&&o.value.includes("xywh="));return n?ln(n.value):null}const e=t.item||t;if(e.value&&typeof e.value=="string"&&e.value.includes("xywh="))return ln(e.value)}return null}function Kc(i){const t=[];if(typeof i.getBody=="function"){const e=i.getBody();if(e){const r=Array.isArray(e)?e:[e];for(const n of r){const o=n.getValue?n.getValue():"";if(o){const a=n.getFormat?n.getFormat():"",s=n.getPurpose?n.getPurpose():void 0;t.push({value:o,isHtml:a==="text/html"||a==="application/html",purpose:s,format:a})}}}}else{const e=r=>{const n=r.chars||r.value||r["cnt:chars"]||"";if(n){const o=r.format==="text/html"||r.type==="TextualBody";t.push({value:n,isHtml:o,purpose:r.purpose,format:r.format})}};i.resource?(Array.isArray(i.resource)?i.resource:[i.resource]).forEach(e):i.body&&(Array.isArray(i.body)?i.body:[i.body]).forEach(e)}if(t.length===0){let e="";typeof i.getLabel=="function"?e=i.getLabel()||"":i.label&&(e=Array.isArray(i.label)?i.label.join(" "):i.label),e&&t.push({value:e,isHtml:!1,purpose:"commenting"})}return t.length===0&&t.push({value:"Annotation",isHtml:!1,purpose:"commenting"}),t}function Ig(i,t,e=!1){const r=qc(i)||`anno-${t}`,n=Eg(i);if(!n)return null;const o=Kc(i);return{id:r,geometry:n,body:o,isSearchHit:e}}function Og(i,t=new Set){return i.map((e,r)=>{const n=t.has(qc(e));return Ig(e,r,n)}).filter(e=>e!==null)}var Dg=pe("<div></div>"),Mg=re('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'),Lg=pe('<div class="w-full h-full relative"><div></div> <!></div>');function zg(i,t){Je(t,!0);let e=tr(t,"viewerState",7),r=Ce(void 0),n=Ce(void 0),o=Ce(void 0),a=Ce(0),s=ne(()=>{if(!e().manifestId||!e().canvasId)return[];const _=Ur.getAnnotations(e().manifestId,e().canvasId),f=e().currentCanvasSearchAnnotations;return[..._,...f]}),l=ne(()=>{const _=new Set;return e().currentCanvasSearchAnnotations.forEach(f=>{const g=f.id||f["@id"];g&&_.add(g)}),_}),c=ne(()=>Og(m(s),m(l))),u=ne(()=>{if(m(a),!m(n)||!m(o)||!m(c).length)return[];const _=m(n).world.getItemAt(0);if(!_)return[];const f=[],g=e().pluginPanels.find(k=>k.id==="annotation-editor:panel"),y=g?g.isVisible():!1;for(const k of m(c)){if(!k.isSearchHit)if(e().showAnnotations){if(!e().visibleAnnotationIds.has(k.id))continue}else continue;if(k.geometry.type==="RECTANGLE"){const C=_.imageToViewportRectangle(k.geometry.x,k.geometry.y,k.geometry.w,k.geometry.h),x=m(n).viewport.viewportToViewerElementRectangle(C);f.push({id:k.id,type:"RECTANGLE",rect:{x:x.x,y:x.y,width:x.width,height:x.height},isSearchHit:k.isSearchHit,tooltip:k.body.map(R=>R.value).join(" "),pointerEvents:y?"none":"auto"})}else if(k.geometry.type==="POLYGON"){const C=k.geometry.points.map(A=>{const M=_.imageToViewportCoordinates(new(m(o)).Point(A[0],A[1])),$=m(n).viewport.viewportToViewerElementCoordinates(M);return[$.x,$.y]});let x=1/0,R=1/0,O=-1/0,z=-1/0;for(const[A,M]of C)x=Math.min(x,A),R=Math.min(R,M),O=Math.max(O,A),z=Math.max(z,M);const B=C.map(([A,M])=>[A-x,M-R]);f.push({id:k.id,type:"POLYGON",bounds:{x,y:R,width:O-x,height:z-R},points:B,isSearchHit:k.isSearchHit,tooltip:k.body.map(A=>A.value).join(" "),pointerEvents:y?"none":"auto"})}}return f});fa(()=>{if(m(r))return(async()=>{const _=await Promise.resolve().then(()=>w8);me(o,_.default||_,!0),me(n,m(o)({element:m(r),tileSources:null,prefixUrl:"",showNavigationControl:!1,showHomeControl:!1,showFullPageControl:!1,showSequenceControl:!1,showZoomControl:!1,showRotationControl:!1,animationTime:.5,springStiffness:7,zoomPerClick:2,gestureSettingsMouse:{clickToZoom:!1}})),e().notifyOSDReady(m(n))})(),()=>{var _;(_=m(n))==null||_.destroy(),e().osdViewer=null}}),ut(()=>{if(!m(n))return;const _=()=>{Yi(a)};return m(n).addHandler("open",_),m(n).addHandler("animation",_),m(n).addHandler("resize",_),m(n).addHandler("rotate",_),m(n).world.addHandler("add-item",_),m(n).world.addHandler("remove-item",_),()=>{m(n).removeHandler("open",_),m(n).removeHandler("animation",_),m(n).removeHandler("resize",_),m(n).removeHandler("rotate",_),m(n).world.removeHandler("add-item",_),m(n).world.removeHandler("remove-item",_)}}),ut(()=>{!m(n)||!t.tileSources||m(n).open(t.tileSources)});var h=Lg(),d=Z(h);Mi(d,_=>me(r,_),()=>m(r));var p=ue(d,2);Yt(p,17,()=>m(u),_=>_.id,(_,f)=>{var g=te(),y=K(g);{var k=x=>{var R=Dg();Re(()=>{Ae(R,"id",`annotation-visual-${m(f).id??""}`),Ge(R,1,`absolute border-2 transition-colors cursor-pointer pointer-events-auto ${m(f).isSearchHit?"border-yellow-400 bg-yellow-400/40 hover:bg-yellow-400/60":"border-red-500 bg-red-500/20 hover:bg-red-500/40"}`),ci(R,`
|
|
7
7
|
left: ${m(f).rect.x??""}px;
|
|
8
8
|
top: ${m(f).rect.y??""}px;
|
|
9
9
|
width: ${m(f).rect.width??""}px;
|
|
@@ -17,8 +17,8 @@ var b8=Object.defineProperty;var zu=tt=>{throw TypeError(tt)};var y8=(tt,it,ft)=
|
|
|
17
17
|
pointer-events: ${m(f).pointerEvents??""};
|
|
18
18
|
`),Ye($,m(f).tooltip),Ae(Q,"id",`annotation-visual-${m(f).id??""}`),Ae(Q,"points",le),Ge(Q,0,`cursor-pointer transition-colors ${m(f).isSearchHit?"fill-yellow-400/40 stroke-yellow-400 hover:fill-yellow-400/60":"fill-red-500/20 stroke-red-500 hover:fill-red-500/40"}`)},[()=>m(f).points.map(le=>le.join(",")).join(" ")]),S(B,A)};F(O,B=>{m(f).type==="POLYGON"&&B(z)},!0)}S(x,R)};F(y,x=>{m(f).type==="RECTANGLE"?x(k):x(C,!1)})}S(_,g)}),j(h),Re(()=>Ge(d,1,`w-full h-full osd-background ${e().config.transparentBackground?"":"bg-base-100"}`)),S(i,h),$e()}let Qc=Symbol("phosphor-svelte");function Nt(){return Yo(Qc)?Rr(Qc):{}}var Hg=re('<path d="M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"></path>'),Ng=re('<path d="M160,48V208L80,128Z" opacity="0.2"></path><path d="M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"></path>',1),Fg=re('<path d="M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"></path>'),Bg=re('<path d="M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"></path>'),Vg=re('<path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"></path>'),Ug=re('<path d="M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"></path>'),jg=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Gg(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=jg();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Hg();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=Ng();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=Fg();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=Bg();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Vg();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=Ug();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var Zg=re('<path d="M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"></path>'),Wg=re('<path d="M176,128,96,208V48Z" opacity="0.2"></path><path d="M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"></path>',1),qg=re('<path d="M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"></path>'),Xg=re('<path d="M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"></path>'),Yg=re('<path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path>'),Kg=re('<path d="M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"></path>'),Qg=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Jg(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Qg();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Zg();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=Wg();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=qg();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=Xg();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Yg();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=Kg();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}const $g="en",ts=["en","de"],Jc="PARAGLIDE_LOCALE",ev=3456e4,$c=["cookie","globalVariable","baseLocale"];globalThis.__paraglide={};let Ro,eu=!1,X=()=>{let i;for(const t of $c){if(t==="cookie")i=ov();else if(t==="baseLocale")i=$g;else if(t==="globalVariable"&&Ro!==void 0)i=Ro;else if(tu(t)&&Ao.has(t)){const e=Ao.get(t);if(e){const r=e.getLocale();if(r instanceof Promise)continue;i=r}}if(i!==void 0){const e=nv(i);return eu||(Ro=e,eu=!0,rs(e,{reload:!1})),e}}throw new Error("No locale found. Read the docs https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found")};const tv=i=>{window.location.reload()};let rs=(i,t)=>{const e={reload:!0,...t};let r;try{r=X()}catch{}const n=[];for(const a of $c)if(a==="globalVariable")Ro=i;else if(a==="cookie"){if(typeof document>"u"||typeof window>"u")continue;const s=`${Jc}=${i}; path=/; max-age=${ev}`;document.cookie=s}else{if(a==="baseLocale")continue;if(tu(a)&&Ao.has(a)){const s=Ao.get(a);if(s){let l=s.setLocale(i);l instanceof Promise&&(l=l.catch(c=>{throw new Error(`Custom strategy "${a}" setLocale failed.`,{cause:c})}),n.push(l))}}}const o=()=>{e.reload&&window.location&&i!==r&&tv()};if(n.length)return Promise.all(n).then(()=>{o()});o()};const rv=i=>{rs=i};function iv(i){return typeof i!="string"?!1:i?ts.some(t=>t.toLowerCase()===i.toLowerCase()):!1}function nv(i){if(typeof i!="string")throw new Error(`Invalid locale: ${i}. Expected a string.`);const t=i.toLowerCase(),e=ts.find(r=>r.toLowerCase()===t);if(!e)throw new Error(`Invalid locale: ${i}. Expected one of: ${ts.join(", ")}`);return e}function ov(){if(typeof document>"u"||!document.cookie)return;const i=document.cookie.match(new RegExp(`(^| )${Jc}=([^;]+)`)),t=i==null?void 0:i[2];if(iv(t))return t}const Ao=new Map;function tu(i){return typeof i=="string"&&/^custom-[A-Za-z0-9_-]+$/.test(i)}const av=()=>"Hello World",sv=()=>"Hallo Welt",lv=(i={},t={})=>(t.locale??X())==="en"?av():sv(),cv=()=>"Search",uv=()=>"Suche",is=(i={},t={})=>(t.locale??X())==="en"?cv():uv(),hv=()=>"Close Search",dv=()=>"Suche schließen",fv=(i={},t={})=>(t.locale??X())==="en"?hv():dv(),pv=()=>"Search content...",gv=()=>"Inhalt durchsuchen...",ru=(i={},t={})=>(t.locale??X())==="en"?pv():gv(),vv=i=>`No results found for "${i==null?void 0:i.query}"`,mv=i=>`Keine Ergebnisse für "${i==null?void 0:i.query}" gefunden`,iu=(i,t={})=>(t.locale??X())==="en"?vv(i):mv(i),_v=()=>"Enter a search term to find occurrences within this manifest.",wv=()=>"Geben Sie einen Suchbegriff ein, um Vorkommen in diesem Manifest zu finden.",nu=(i={},t={})=>(t.locale??X())==="en"?_v():wv(),bv=i=>`${i==null?void 0:i.count} Results`,yv=i=>`${i==null?void 0:i.count} Ergebnisse`,ou=(i,t={})=>(t.locale??X())==="en"?bv(i):yv(i),xv=()=>"Manifest Metadata",Tv=()=>"Manifest-Metadaten",au=(i={},t={})=>(t.locale??X())==="en"?xv():Tv(),Ev=()=>"Loading...",kv=()=>"Lädt...",su=(i={},t={})=>(t.locale??X())==="en"?Ev():kv(),Sv=()=>"Attribution",Cv=()=>"Quellenangabe",lu=(i={},t={})=>(t.locale??X())==="en"?Sv():Cv(),Pv=()=>"License",Rv=()=>"Lizenz",cu=(i={},t={})=>(t.locale??X())==="en"?Pv():Rv(),Av=()=>"Close",Iv=()=>"Schließen",ns=(i={},t={})=>(t.locale??X())==="en"?Av():Iv(),Ov=()=>"Menu",Dv=()=>"Menü",uu=(i={},t={})=>(t.locale??X())==="en"?Ov():Dv(),Mv=()=>"Search",Lv=()=>"Suche",Io=(i={},t={})=>(t.locale??X())==="en"?Mv():Lv(),zv=()=>"Toggle Search",Hv=()=>"Suche umschalten",hu=(i={},t={})=>(t.locale??X())==="en"?zv():Hv(),Nv=()=>"Hide Gallery",Fv=()=>"Galerie ausblenden",Oo=(i={},t={})=>(t.locale??X())==="en"?Nv():Fv(),Bv=()=>"Show Gallery",Vv=()=>"Galerie einblenden",Do=(i={},t={})=>(t.locale??X())==="en"?Bv():Vv(),Uv=()=>"Exit Full Screen",jv=()=>"Vollbildmodus beenden",os=(i={},t={})=>(t.locale??X())==="en"?Uv():jv(),Gv=()=>"Enter Full Screen",Zv=()=>"Vollbildmodus",as=(i={},t={})=>(t.locale??X())==="en"?Gv():Zv(),Wv=()=>"Hide Annotations",qv=()=>"Annotationen ausblenden",ss=(i={},t={})=>(t.locale??X())==="en"?Wv():qv(),Xv=()=>"Show Annotations",Yv=()=>"Annotationen einblenden",ls=(i={},t={})=>(t.locale??X())==="en"?Xv():Yv(),Kv=()=>"Toggle Annotations",Qv=()=>"Annotationen umschalten",du=(i={},t={})=>(t.locale??X())==="en"?Kv():Qv(),Jv=()=>"Metadata",$v=()=>"Metadaten",cs=(i={},t={})=>(t.locale??X())==="en"?Jv():$v(),em=()=>"Toggle Metadata",tm=()=>"Metadaten umschalten",fu=(i={},t={})=>(t.locale??X())==="en"?em():tm(),rm=()=>"Hide All Annotations",im=()=>"Alle Annotationen ausblenden",pu=(i={},t={})=>(t.locale??X())==="en"?rm():im(),nm=()=>"Show All Annotations",om=()=>"Alle Annotationen einblenden",gu=(i={},t={})=>(t.locale??X())==="en"?nm():om(),am=i=>`${i==null?void 0:i.count} Annotations`,sm=i=>`${i==null?void 0:i.count} Annotationen`,vu=(i,t={})=>(t.locale??X())==="en"?am(i):sm(i),lm=i=>`(${i==null?void 0:i.count} visible)`,cm=i=>`(${i==null?void 0:i.count} sichtbar)`,mu=(i,t={})=>(t.locale??X())==="en"?lm(i):cm(i),um=()=>"(No content)",hm=()=>"(Kein Inhalt)",dm=(i={},t={})=>(t.locale??X())==="en"?um():hm(),fm=()=>"No annotations available.",pm=()=>"Keine Annotationen verfügbar.",gm=(i={},t={})=>(t.locale??X())==="en"?fm():pm(),vm=()=>"Previous Canvas",mm=()=>"Vorheriges Canvas",_u=(i={},t={})=>(t.locale??X())==="en"?vm():mm(),_m=()=>"Next Canvas",wm=()=>"Nächstes Canvas",wu=(i={},t={})=>(t.locale??X())==="en"?_m():wm(),bm=()=>"Docs",ym=()=>"Doku",xm=(i={},t={})=>(t.locale??X())==="en"?bm():ym(),Tm=()=>"IIIF Manifest:",Em=()=>"IIIF-Manifest:",km=(i={},t={})=>(t.locale??X())==="en"?Tm():Em(),Sm=()=>"Enter IIIF manifest URL",Cm=()=>"IIIF-Manifest-URL eingeben",Pm=(i={},t={})=>(t.locale??X())==="en"?Sm():Cm(),Rm=()=>"Load",Am=()=>"Laden",Im=(i={},t={})=>(t.locale??X())==="en"?Rm():Am(),Om=()=>"GitHub",Dm=()=>"GitHub",Mm=(i={},t={})=>(t.locale??X())==="en"?Om():Dm(),Lm=()=>"Core",zm=()=>"Basis",Hm=(i={},t={})=>(t.locale??X())==="en"?Lm():zm(),Nm=()=>"Full",Fm=()=>"Vollständig",Bm=(i={},t={})=>(t.locale??X())==="en"?Nm():Fm(),Vm=()=>"Custom Theme",Um=()=>"Benutzerdefiniertes Thema",jm=(i={},t={})=>(t.locale??X())==="en"?Vm():Um(),Gm=()=>"Example without plugins",Zm=()=>"Beispiel ohne Plugins",Wm=(i={},t={})=>(t.locale??X())==="en"?Gm():Zm(),qm=()=>"Example with plugins",Xm=()=>"Beispiel mit Plugins",Ym=(i={},t={})=>(t.locale??X())==="en"?qm():Xm(),Km=()=>"Example with custom theme override",Qm=()=>"Beispiel mit benutzerdefiniertem Thema",Jm=(i={},t={})=>(t.locale??X())==="en"?Km():Qm(),$m=()=>"Plugins",e1=()=>"Erweiterungen",bu=(i={},t={})=>(t.locale??X())==="en"?$m():e1(),t1=()=>"External Controls:",r1=()=>"Externe Steuerelemente:",i1=(i={},t={})=>(t.locale??X())==="en"?t1():r1(),n1=()=>"Active Canvas",o1=()=>"Aktives Canvas",a1=(i={},t={})=>(t.locale??X())==="en"?n1():o1(),s1=()=>"Image Adjustments",l1=()=>"Bildanpassungen",c1=(i={},t={})=>(t.locale??X())==="en"?s1():l1(),u1=()=>"Close Menu",h1=()=>"Menü schließen",d1=(i={},t={})=>(t.locale??X())==="en"?u1():h1(),f1=()=>"Gallery",p1=()=>"Galerie",g1=(i={},t={})=>(t.locale??X())==="en"?f1():p1(),v1=()=>"Close Gallery",m1=()=>"Galerie schließen",_1=(i={},t={})=>(t.locale??X())==="en"?v1():m1(),w1=()=>"Close Search",b1=()=>"Suche schließen",yu=(i={},t={})=>(t.locale??X())==="en"?w1():b1(),y1=()=>"Settings",x1=()=>"Einstellungen",T1=(i={},t={})=>(t.locale??X())==="en"?y1():x1(),E1=()=>"General",k1=()=>"Allgemein",S1=(i={},t={})=>(t.locale??X())==="en"?E1():k1(),C1=()=>"Left Menu",P1=()=>"Linkes Menü",R1=(i={},t={})=>(t.locale??X())==="en"?C1():P1(),A1=()=>"Right Menu",I1=()=>"Rechtes Menü",O1=(i={},t={})=>(t.locale??X())==="en"?A1():I1(),D1=()=>"Canvas Nav",M1=()=>"Canvas-Navigation",L1=(i={},t={})=>(t.locale??X())==="en"?D1():M1(),z1=()=>"Configuration",H1=()=>"Konfiguration",N1=(i={},t={})=>(t.locale??X())==="en"?z1():H1(),F1=()=>"Right Menu Items",B1=()=>"Rechte Menüelemente",V1=(i={},t={})=>(t.locale??X())==="en"?F1():B1(),U1=()=>"Show Search",j1=()=>"Suche anzeigen",G1=(i={},t={})=>(t.locale??X())==="en"?U1():j1(),Z1=()=>"Show Gallery",W1=()=>"Galerie anzeigen",q1=(i={},t={})=>(t.locale??X())==="en"?Z1():W1(),X1=()=>"Show Annotations",Y1=()=>"Annotationen anzeigen",K1=(i={},t={})=>(t.locale??X())==="en"?X1():Y1(),Q1=()=>"Show Fullscreen",J1=()=>"Vollbild anzeigen",$1=(i={},t={})=>(t.locale??X())==="en"?Q1():J1(),e_=()=>"Show Info",t_=()=>"Info anzeigen",r_=(i={},t={})=>(t.locale??X())==="en"?e_():t_(),i_=()=>"Gallery",n_=()=>"Galerie",o_=(i={},t={})=>(t.locale??X())==="en"?i_():n_(),a_=()=>"Open",s_=()=>"Öffnen",l_=(i={},t={})=>(t.locale??X())==="en"?a_():s_(),c_=()=>"Draggable",u_=()=>"Verschiebbar",h_=(i={},t={})=>(t.locale??X())==="en"?c_():u_(),d_=()=>"Close Button",f_=()=>"Schließen-Button",p_=(i={},t={})=>(t.locale??X())==="en"?d_():f_(),g_=()=>"Dock Position",v_=()=>"Andockposition",m_=(i={},t={})=>(t.locale??X())==="en"?g_():v_(),__=()=>"Bottom",w_=()=>"Unten",b_=(i={},t={})=>(t.locale??X())==="en"?__():w_(),y_=()=>"Top",x_=()=>"Oben",T_=(i={},t={})=>(t.locale??X())==="en"?y_():x_(),E_=()=>"Left",k_=()=>"Links",S_=(i={},t={})=>(t.locale??X())==="en"?E_():k_(),C_=()=>"Right",P_=()=>"Rechts",R_=(i={},t={})=>(t.locale??X())==="en"?C_():P_(),A_=()=>"Floating",I_=()=>"Schwebend",O_=(i={},t={})=>(t.locale??X())==="en"?A_():I_(),D_=()=>"Search",M_=()=>"Suche",L_=(i={},t={})=>(t.locale??X())==="en"?D_():M_(),z_=()=>"Annotations",H_=()=>"Annotationen",N_=(i={},t={})=>(t.locale??X())==="en"?z_():H_(),F_=()=>"Panel Open",B_=()=>"Panel geöffnet",V_=(i={},t={})=>(t.locale??X())==="en"?F_():B_(),U_=()=>"Visible by Default",j_=()=>"Standardmäßig sichtbar",G_=(i={},t={})=>(t.locale??X())==="en"?U_():j_(),Z_=()=>"Copy Config",W_=()=>"Konfiguration kopieren",q_=(i={},t={})=>(t.locale??X())==="en"?Z_():W_(),X_=()=>"Copied!",Y_=()=>"Kopiert!",K_=(i={},t={})=>(t.locale??X())==="en"?X_():Y_(),Q_=()=>"Svelte component (not web component)",J_=()=>"Svelte-Komponente (keine Web-Komponente)",$_=(i={},t={})=>(t.locale??X())==="en"?Q_():J_(),ew=()=>"Svelte",tw=()=>"Svelte",rw=(i={},t={})=>(t.locale??X())==="en"?ew():tw(),iw=()=>"Select language",nw=()=>"Sprache wählen",ow=(i={},t={})=>(t.locale??X())==="en"?iw():nw(),aw=()=>"No canvases loaded",sw=()=>"Keine Canvases geladen",lw=(i={},t={})=>(t.locale??X())==="en"?aw():sw(),cw=()=>"Try your own...",uw=()=>"Eigenes ausprobieren...",hw=(i={},t={})=>(t.locale??X())==="en"?cw():uw(),dw=()=>"Transparent Background",fw=()=>"Transparenter Hintergrund",pw=(i={},t={})=>(t.locale??X())==="en"?dw():fw(),gw=()=>"Change Theme",vw=()=>"Design ändern",mw=(i={},t={})=>(t.locale??X())==="en"?gw():vw(),_w=()=>"Theme",ww=()=>"Design",bw=(i={},t={})=>(t.locale??X())==="en"?_w():ww(),yw=()=>"Error: ",xw=()=>"Fehler: ",xu=(i={},t={})=>(t.locale??X())==="en"?yw():xw(),Tw=()=>"No image found",Ew=()=>"Kein Bild gefunden",Tu=(i={},t={})=>(t.locale??X())==="en"?Tw():Ew(),kw=()=>"Panel Width",Sw=()=>"Panelbreite",Cw=(i={},t={})=>(t.locale??X())==="en"?kw():Sw(),Pw=()=>"Annotation Editor",Rw=()=>"Anmerkungs-Editor",Aw=(i={},t={})=>(t.locale??X())==="en"?Pw():Rw(),Iw=()=>"Edit",Ow=()=>"Bearbeiten",Dw=(i={},t={})=>(t.locale??X())==="en"?Iw():Ow(),Mw=()=>"Create",Lw=()=>"Erstellen",zw=(i={},t={})=>(t.locale??X())==="en"?Mw():Lw(),Hw=()=>"Click to start annotating, click again to set shape",Nw=()=>"Klicken zum Annotieren, erneut klicken zum Abschließen",Fw=(i={},t={})=>(t.locale??X())==="en"?Hw():Nw(),Bw=()=>"Click on an annotation to select and edit it",Vw=()=>"Anmerkung klicken zum Bearbeiten",Uw=(i={},t={})=>(t.locale??X())==="en"?Bw():Vw(),jw=()=>"Drawing Tool",Gw=()=>"Zeichenwerkzeug",Zw=(i={},t={})=>(t.locale??X())==="en"?jw():Gw(),Ww=()=>"Undo",qw=()=>"Rückgängig",Xw=(i={},t={})=>(t.locale??X())==="en"?Ww():qw(),Yw=()=>"Redo",Kw=()=>"Wiederholen",Qw=(i={},t={})=>(t.locale??X())==="en"?Yw():Kw(),Jw=()=>"Edit Annotation",$w=()=>"Anmerkung bearbeiten",eb=(i={},t={})=>(t.locale??X())==="en"?Jw():$w(),tb=()=>"Delete annotation",rb=()=>"Anmerkung löschen",ib=(i={},t={})=>(t.locale??X())==="en"?tb():rb(),nb=()=>"Tag value...",ob=()=>"Tag eingeben...",ab=(i={},t={})=>(t.locale??X())==="en"?nb():ob(),sb=()=>"https://...",lb=()=>"https://...",cb=(i={},t={})=>(t.locale??X())==="en"?sb():lb(),ub=()=>"Enter text...",hb=()=>"Text eingeben...",db=(i={},t={})=>(t.locale??X())==="en"?ub():hb(),fb=()=>"Add Content",pb=()=>"Inhalt hinzufügen",gb=(i={},t={})=>(t.locale??X())==="en"?fb():pb(),vb=()=>"Save Changes",mb=()=>"Speichern",_b=(i={},t={})=>(t.locale??X())==="en"?vb():mb(),wb=()=>"Delete Annotation?",bb=()=>"Anmerkung löschen?",yb=(i={},t={})=>(t.locale??X())==="en"?wb():bb(),xb=()=>"Are you sure you want to delete this annotation? This action cannot be undone.",Tb=()=>"Anmerkung wirklich löschen? Dies kann nicht rückgängig gemacht werden.",Eb=(i={},t={})=>(t.locale??X())==="en"?xb():Tb(),kb=()=>"Cancel",Sb=()=>"Abbrechen",Cb=(i={},t={})=>(t.locale??X())==="en"?kb():Sb(),Pb=()=>"Delete",Rb=()=>"Löschen",Ab=(i={},t={})=>(t.locale??X())==="en"?Pb():Rb(),Ib=()=>"Image Adjustments",Ob=()=>"Bildanpassungen",Db=(i={},t={})=>(t.locale??X())==="en"?Ib():Ob(),Mb=()=>"Brightness",Lb=()=>"Helligkeit",zb=(i={},t={})=>(t.locale??X())==="en"?Mb():Lb(),Hb=()=>"Contrast",Nb=()=>"Kontrast",Fb=(i={},t={})=>(t.locale??X())==="en"?Hb():Nb(),Bb=()=>"Saturation",Vb=()=>"Sättigung",Ub=(i={},t={})=>(t.locale??X())==="en"?Bb():Vb(),jb=()=>"Effects",Gb=()=>"Effekte",Zb=(i={},t={})=>(t.locale??X())==="en"?jb():Gb(),Wb=()=>"Invert Colors",qb=()=>"Farben umkehren",Xb=(i={},t={})=>(t.locale??X())==="en"?Wb():qb(),Yb=()=>"Grayscale",Kb=()=>"Graustufen",Qb=(i={},t={})=>(t.locale??X())==="en"?Yb():Kb(),Jb=()=>"Reset to Default",$b=()=>"Zurücksetzen",ey=(i={},t={})=>(t.locale??X())==="en"?Jb():$b(),ty=()=>"Rectangle",ry=()=>"Rechteck",iy=(i={},t={})=>(t.locale??X())==="en"?ty():ry(),ny=()=>"Polygon",oy=()=>"Polygon",ay=(i={},t={})=>(t.locale??X())==="en"?ny():oy(),sy=()=>"Point",ly=()=>"Punkt",Eu=Object.freeze(Object.defineProperty({__proto__:null,annotation_editor_add_content:gb,annotation_editor_cancel:Cb,annotation_editor_create_mode:zw,annotation_editor_delete:Ab,annotation_editor_delete_message:Eb,annotation_editor_delete_title:yb,annotation_editor_delete_tooltip:ib,annotation_editor_edit_mode:Dw,annotation_editor_edit_section:eb,annotation_editor_instruction_create:Fw,annotation_editor_instruction_edit:Uw,annotation_editor_link_placeholder:cb,annotation_editor_redo:Qw,annotation_editor_save:_b,annotation_editor_tag_placeholder:ab,annotation_editor_text_placeholder:db,annotation_editor_title:Aw,annotation_editor_tool_label:Zw,annotation_editor_undo:Xw,annotation_tool_point:(i={},t={})=>(t.locale??X())==="en"?sy():ly(),annotation_tool_polygon:ay,annotation_tool_rectangle:iy,annotations_count:vu,attribution:lu,change_theme_label:mw,close:ns,close_gallery:_1,close_menu:d1,close_search:yu,copied:K_,copy_config:q_,demo_header_active_canvas:a1,demo_header_external_controls:i1,docs:xm,enter_full_screen:as,error_prefix:xu,exit_full_screen:os,gallery:g1,github:Mm,hello_world:lv,hide_all_annotations:pu,hide_annotations:ss,hide_gallery:Oo,iiif_manifest_label:km,image_adjustments:c1,image_adjustments_title:Db,image_filters_brightness:zb,image_filters_contrast:Fb,image_filters_effects:Zb,image_filters_grayscale:Qb,image_filters_invert:Xb,image_filters_reset:ey,image_filters_saturation:Ub,language_select_label:ow,license:cu,load:Im,loading:su,manifest_placeholder:Pm,menu:uu,metadata:cs,metadata_label_fallback:au,next_canvas:wu,no_annotations_available:gm,no_canvases_loaded:lw,no_content:dm,no_image_found:Tu,plugins_tooltip:bu,previous_canvas:_u,search:Io,search_panel_close:fv,search_panel_instruction:nu,search_panel_no_results:iu,search_panel_placeholder:ru,search_panel_results_count:ou,search_panel_title:is,settings_category_configuration:N1,settings_category_general:S1,settings_label:T1,settings_panel_width:Cw,settings_position_bottom:b_,settings_position_floating:O_,settings_position_left:S_,settings_position_right:R_,settings_position_top:T_,settings_select_dock_position:m_,settings_submenu_annotations:N_,settings_submenu_gallery:o_,settings_submenu_right_menu_items:V1,settings_submenu_search:L_,settings_toggle_canvas_nav:L1,settings_toggle_close_button:p_,settings_toggle_draggable:h_,settings_toggle_left_menu:R1,settings_toggle_open:l_,settings_toggle_panel_open:V_,settings_toggle_right_menu:O1,settings_toggle_show_annotations:K1,settings_toggle_show_fullscreen:$1,settings_toggle_show_gallery:q1,settings_toggle_show_info:r_,settings_toggle_show_search:G1,settings_toggle_visible_by_default:G_,settings_transparent_background:pw,show_all_annotations:gu,show_annotations:ls,show_gallery:Do,theme_menu_title:bw,toggle_annotations:du,toggle_metadata:fu,toggle_search:hu,try_your_own:hw,viewer_variant_core:Hm,viewer_variant_custom_theme:jm,viewer_variant_full:Bm,viewer_variant_svelte:rw,viewer_variant_svelte_component_tooltip:$_,viewer_variant_tooltip_core:Wm,viewer_variant_tooltip_custom_theme:Jm,viewer_variant_tooltip_full:Ym,visible_count:mu},Symbol.toStringTag,{value:"Module"}));let ku=Ce(ht(X()));const cy=rs;rv((i,t)=>{cy(i,t),me(ku,X(),!0)});const hi={get current(){return m(ku)}};var uy=pe('<div class="select-none absolute left-1/2 -translate-x-1/2 bg-base-200/90 backdrop-blur rounded-full shadow-lg flex items-center gap-4 z-10 border border-base-300 transition-all duration-200 bottom-4"><button class="btn btn-circle btn-sm btn-ghost"><!></button> <span class="text-sm font-mono tabular-nums text-nowrap"> </span> <button class="btn btn-circle btn-sm btn-ghost"><!></button></div>');function hy(i,t){Je(t,!0);var e=uy(),r=Z(e);r.__click=()=>t.viewerState.previousCanvas();var n=Z(r);Gg(n,{size:20,weight:"bold"}),j(r);var o=ue(r,2),a=Z(o);j(o);var s=ue(o,2);s.__click=()=>t.viewerState.nextCanvas();var l=Z(s);Jg(l,{size:20,weight:"bold"}),j(s),j(e),Re((c,u)=>{r.disabled=!t.viewerState.hasPrevious,Ae(r,"aria-label",c),Ye(a,`${t.viewerState.currentCanvasIndex+1} / ${t.viewerState.canvases.length??""}`),s.disabled=!t.viewerState.hasNext,Ae(s,"aria-label",u)},[()=>_u(),()=>wu()]),S(i,e),$e()}Ir(["click"]);var dy=re('<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"></path>'),fy=re('<path d="M208,96l-80,80L48,96Z" opacity="0.2"></path><path d="M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"></path>',1),py=re('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"></path>'),gy=re('<path d="M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"></path>'),vy=re('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"></path>'),my=re('<path d="M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"></path>'),_y=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function wy(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=_y();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=dy();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=fy();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=py();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=gy();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=vy();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=my();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var by=re('<path d="M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"></path>'),yy=re('<path d="M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" opacity="0.2"></path><path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"></path>',1),xy=re('<path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"></path>'),Ty=re('<path d="M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"></path>'),Ey=re('<path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"></path>'),ky=re('<path d="M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"></path>'),Sy=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Su(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Sy();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=by();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=yy();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=xy();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=Ty();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Ey();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=ky();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var Cy=re('<path d="M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"></path>'),Py=re('<path d="M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" opacity="0.2"></path><path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"></path>',1),Ry=re('<path d="M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"></path>'),Ay=re('<path d="M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"></path>'),Iy=re('<path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"></path>'),Oy=re('<path d="M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"></path>'),Dy=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Cu(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Dy();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Cy();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=Py();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=Ry();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=Ay();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Iy();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=Oy();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var My=re('<svg class="fixed inset-0 z-50 pointer-events-none drop-shadow-md text-primary" style="width: 100vw; height: 100vh;"><line stroke="currentColor" stroke-width="2"></line><circle r="3" fill="currentColor"></circle><circle r="3" fill="currentColor"></circle></svg>'),Ly=pe('<span class="text-xs opacity-50 truncate max-w-[150px]"> </span>'),zy=pe('<span class="badge badge-primary badge-outline badge-sm"> </span>'),Hy=pe('<a target="_blank" rel="noopener noreferrer" class="flex items-center gap-1 text-primary hover:underline hover:text-primary-focus p-1 rounded hover:bg-base-200 -ml-1 transition-colors"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" viewBox="0 0 256 256"><path d="M136.37,187.53a12,12,0,0,1,0,17l-5.94,5.94a60,60,0,0,1-84.88-84.88l24.12-24.12A60,60,0,0,1,152.06,99,12,12,0,1,1,135,116a36,36,0,0,0-50.93,1.57L60,141.66a36,36,0,0,0,50.93,50.93l5.94-5.94A12,12,0,0,1,136.37,187.53Zm81.51-149.41a60,60,0,0,0-84.88,0l-5.94,5.94a12,12,0,0,0,17,17l5.94-5.94a36,36,0,0,1,50.93,50.93l-24.11,24.12A36,36,0,0,1,121,140a12,12,0,1,0-17.08,17,60,60,0,0,0,82.39,2.46l24.12-24.12A60,60,0,0,0,217.88,38.12Z"></path></svg> <span class="truncate max-w-[200px]"> </span></a>'),Ny=pe('<div class="flex flex-wrap gap-2 pointer-events-auto"><!></div>'),Fy=pe('<span class="opacity-50 italic text-xs">(No content)</span>'),By=pe('<div class="w-full text-left p-3 hover:bg-base-300 transition-colors cursor-pointer flex gap-3 group/item items-start focus:outline-none focus:bg-base-300 relative" role="button" tabindex="0"><button class="btn btn-xs btn-circle btn-ghost mt-0.5 shrink-0"><!></button> <div class="flex-1 min-w-0 pointer-events-none"><div class="flex items-start justify-between"><span class="font-bold text-sm text-primary"></span> <!></div> <div><!> <!></div></div></div>'),Vy=pe('<div class="p-4 text-center opacity-50 text-sm">No annotations available.</div>'),Uy=pe('<div class="absolute top-4 right-4 z-40 pointer-events-auto transition-all duration-300"><details class="group relative"><summary class="flex items-center gap-2 bg-base-200/90 backdrop-blur shadow-lg rounded-full px-4 py-2 cursor-pointer list-none hover:bg-base-200 transition-all select-none border border-base-300 pointer-events-auto"><button class="btn btn-xs btn-circle btn-ghost"><!></button> <span class="text-sm font-medium"> <span class="opacity-50 text-xs font-normal ml-1"> </span></span> <!></summary> <div class="absolute right-0 mt-2 w-96 bg-base-200/95 backdrop-blur shadow-xl rounded-box p-0 max-h-[60vh] overflow-y-auto border border-base-300 flex flex-col divide-y divide-base-300"></div></details></div>'),jy=pe("<!> <!>",1);function Gy(i,t){Je(t,!0);const e=Rr(ui);let r=ne(()=>{if(!e.manifestId||!e.canvasId)return[];const y=Ur.getAnnotations(e.manifestId,e.canvasId),k=e.currentCanvasSearchAnnotations;return[...y,...k]});function n(y){return y.id||y["@id"]||(typeof y.getId=="function"?y.getId():"")||""}ut(()=>{var y;if(m(r).length>0)if(((y=e.config.annotations)==null?void 0:y.visible)??!0){const C=new Set;m(r).forEach(x=>{const R=n(x);R&&C.add(R)}),e.visibleAnnotationIds=C}else e.visibleAnnotationIds=new Set;else e.visibleAnnotationIds=new Set});let o=ne(()=>m(r).length===0?!1:m(r).every(y=>{const k=n(y);return!k||e.visibleAnnotationIds.has(k)}));function a(y){e.visibleAnnotationIds.has(y)?e.visibleAnnotationIds.delete(y):e.visibleAnnotationIds.add(y),e.visibleAnnotationIds=new Set(e.visibleAnnotationIds)}function s(){if(m(o))e.visibleAnnotationIds=new Set;else{const y=new Set;m(r).forEach(k=>{const C=n(k);C&&y.add(C)}),e.visibleAnnotationIds=y}}let l=Ce(null),c=Ce(void 0),u=Ce(null);ut(()=>{if(!m(l)){me(u,null);return}const y=()=>{let C=document;if(m(c)){const O=m(c).getRootNode();(O instanceof Document||O instanceof ShadowRoot)&&(C=O)}const x=C.getElementById(`annotation-list-item-${m(l)}`),R=C.getElementById(`annotation-visual-${m(l)}`);if(x&&R){const O=x.getBoundingClientRect(),z=R.getBoundingClientRect(),B=O.left,A=O.top+O.height/2,M=z.left+z.width/2,$=z.top+z.height/2;me(u,{x1:B,y1:A,x2:M,y2:$},!0)}else me(u,null)};y();const k=setInterval(y,16);return()=>clearInterval(k)});let h=ne(()=>m(r).length?m(r).map(y=>{const k=Kc(y);return{id:n(y),bodies:k,label:(typeof y.getLabel=="function"?y.getLabel():y.label)||""}}):[]);var d=jy(),p=K(d);{var _=y=>{var k=My(),C=Z(k),x=ue(C),R=ue(x);j(k),Re(()=>{Ae(C,"x1",m(u).x1),Ae(C,"y1",m(u).y1),Ae(C,"x2",m(u).x2),Ae(C,"y2",m(u).y2),Ae(x,"cx",m(u).x1),Ae(x,"cy",m(u).y1),Ae(R,"cx",m(u).x2),Ae(R,"cy",m(u).y2)}),S(y,k)};F(p,y=>{m(u)&&y(_)})}var f=ue(p,2);{var g=y=>{var k=Uy(),C=Z(k),x=Z(C),R=Z(x);R.__click=D=>{D.preventDefault(),s()};var O=Z(R);{var z=D=>{Su(D,{size:16,weight:"bold"})},B=D=>{Cu(D,{size:16,weight:"bold"})};F(O,D=>{m(o)?D(z):D(B,!1)})}j(R);var A=ue(R,2),M=Z(A),$=ue(M),Q=Z($,!0);j($),j(A);var le=ue(A,2);wy(le,{size:16,weight:"bold",class:"group-open:rotate-180 transition-transform opacity-80"}),j(x);var H=ue(x,2);Yt(H,21,()=>m(h),li,(D,U,ce)=>{const ee=ne(()=>e.visibleAnnotationIds.has(m(U).id));var N=By();N.__click=ye=>{ye.preventDefault(),a(m(U).id)};var W=Z(N);W.__click=ye=>{ye.stopPropagation(),a(m(U).id)};var _e=Z(W);{var Te=ye=>{Su(ye,{size:16,weight:"bold"})},oe=ye=>{Cu(ye,{size:16,weight:"bold"})};F(_e,ye=>{m(ee)?ye(Te):ye(oe,!1)})}j(W);var G=ue(W,2),ie=Z(G),qe=Z(ie);qe.textContent=`#${ce+1}`;var se=ue(qe,2);{var ge=ye=>{var we=Ly(),xe=Z(we,!0);j(we),Re(()=>Ye(xe,m(U).label)),S(ye,we)};F(se,ye=>{m(U).label&&!m(U).bodies.some(we=>we.value===m(U).label)&&ye(ge)})}j(ie);var He=ue(ie,2),Ie=Z(He);Yt(Ie,17,()=>m(U).bodies,li,(ye,we)=>{var xe=Ny(),Ue=Z(xe);{var v=L=>{var V=zy(),J=Z(V,!0);j(V),Re(()=>Ye(J,m(we).value)),S(L,V)},T=L=>{var V=te(),J=K(V);{var fe=Ee=>{var ze=Hy();ze.__click=Ke=>Ke.stopPropagation();var Ve=ue(Z(ze),2),ke=Z(Ve,!0);j(Ve),j(ze),Re(()=>{Ae(ze,"href",m(we).value),Ye(ke,m(we).value)}),S(Ee,ze)},Y=Ee=>{var ze=te(),Ve=K(ze);{var ke=b=>{var w=te(),E=K(w);br(E,()=>m(we).value),S(b,w)},Ke=b=>{var w=kt();Re(()=>Ye(w,m(we).value||"(No content)")),S(b,w)};F(Ve,b=>{m(we).isHtml?b(ke):b(Ke,!1)})}S(Ee,ze)};F(J,Ee=>{m(we).purpose==="linking"?Ee(fe):Ee(Y,!1)},!0)}S(L,V)};F(Ue,L=>{m(we).purpose==="tagging"?L(v):L(T,!1)})}j(xe),S(ye,xe)});var Ze=ue(Ie,2);{var je=ye=>{var we=Fy();S(ye,we)};F(Ze,ye=>{m(U).bodies.length===0&&ye(je)})}j(He),j(G),j(N),Re(()=>{Ae(N,"id",`annotation-list-item-${m(U).id??""}`),Ge(He,1,`text-sm prose prose-sm max-w-none prose-p:my-0 prose-a:text-blue-500 wrap-break-word text-left ${m(ee)?"":"opacity-50"} space-y-2`)}),go("mouseenter",N,()=>me(l,m(U).id,!0)),go("mouseleave",N,()=>me(l,null)),go("keypress",N,ye=>{(ye.key==="Enter"||ye.key===" ")&&(ye.preventDefault(),a(m(U).id))}),S(D,N)},D=>{var U=Vy();S(D,U)}),j(H),j(C),j(k),Mi(k,D=>me(c,D),()=>m(c)),Re((D,U,ce)=>{Ae(R,"title",D),Ye(M,`${U??""} `),Ye(Q,ce)},[()=>m(o)?pu():gu(),()=>vu({count:m(r).length}),()=>mu({count:e.visibleAnnotationIds.size})]),S(y,k)};F(f,y=>{e.showAnnotations&&y(g)})}S(i,d),$e()}Ir(["click"]);var Zy=re('<path d="M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"></path>'),Wy=re('<path d="M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z" opacity="0.2"></path><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>',1),qy=re('<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>'),Xy=re('<path d="M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"></path>'),Yy=re('<path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>'),Ky=re('<path d="M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"></path>'),Qy=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function us(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Qy();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Zy();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=Wy();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=qy();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=Xy();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Yy();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=Ky();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var Jy=pe('<button class="absolute top-1 right-1 btn btn-error btn-xs btn-circle z-20" aria-label="Close Gallery"><!></button>'),$y=pe('<div><div role="button" tabindex="0" aria-label="Drag Gallery"><div></div></div></div>'),e2=pe('<img class="object-contain w-full h-full" loading="lazy" draggable="false"/>'),t2=pe('<span class="opacity-20 text-4xl">?</span>'),r2=pe('<button><div class="aspect-3/4 bg-base-300 rounded overflow-hidden relative w-full flex items-center justify-center"><!></div> <div class="text-xs font-medium truncate w-full opacity-70 group-hover:opacity-100"><span class="font-bold mr-1"> </span> </div></button>'),i2=pe('<div class="absolute bottom-0 right-0 w-6 h-6 cursor-se-resize resize-handle bg-accent hover:bg-accent-focus transition-colors z-50" style="clip-path: polygon(100% 0, 0 100%, 100% 100%);" role="button" tabindex="0" aria-label="Resize"></div>'),n2=pe('<div role="group"><span class="font-bold text-primary opacity-50">Dock Top</span></div> <div role="group"><span class="font-bold text-primary opacity-50">Dock Bottom</span></div> <div role="group"><span class="font-bold text-primary opacity-50 vertical-rl rotate-180" style="writing-mode: vertical-rl;">Dock Left</span></div> <div role="group"><span class="font-bold text-primary opacity-50 vertical-rl rotate-180" style="writing-mode: vertical-rl;">Dock Right</span></div>',1),o2=pe("<div><!> <!> <div><div></div></div> <!></div> <!>",1);function cn(i,t){Je(t,!0);const e=Rr(ui);let r=ne(()=>{var R;return((R=e.config.gallery)==null?void 0:R.draggable)??!0}),n=ne(()=>{var R;return((R=e.config.gallery)==null?void 0:R.showCloseButton)??!0}),o=Ce(!1),a={x:0,y:0,w:0,h:0},s=Ce(null),l=ne(()=>!t.canvases||!Array.isArray(t.canvases)?[]:t.canvases.map((R,O)=>{let z="";try{if(R.getThumbnail){const B=R.getThumbnail();B&&(z=typeof B=="string"?B:B.id||B["@id"])}}catch(B){console.warn("Error getting thumbnail",B)}if(!z){let B=R.getImages();if((!B||!B.length)&&R.getContent&&(B=R.getContent()),B&&B.length>0){const A=B[0];let M=A.getResource?A.getResource():null;if(!M&&A.getBody){const $=A.getBody();Array.isArray($)&&$.length>0?M=$[0]:$&&(M=$)}if(M&&!M.id&&!M.__jsonld&&(!M.getServices||M.getServices().length===0)&&(M=null),!M){const $=A.__jsonld||A;$.body&&(M=Array.isArray($.body)?$.body[0]:$.body)}if(M){const Q=(()=>{let H=[];if(M.getServices&&(H=M.getServices()),!H||H.length===0){const D=M.__jsonld||M;D.service&&(H=Array.isArray(D.service)?D.service:[D.service])}return H})();let le=!1;if(Q.length>0){const H=Q[0];let D="";try{if(D=H.getProfile?H.getProfile():H.profile||"",typeof D=="object"&&D){const ee=D;D=ee.value||ee.id||ee["@id"]||JSON.stringify(ee)}}catch{}const U=String(D??"").toLowerCase();(U.includes("level0")||U.includes("level-0"))&&(le=!0);const ce=H.id||H["@id"];le||(z=`${ce}/full/200,/0/default.jpg`)}if(!z&&(z=M.id||M["@id"],!z)){let H=null;if(A.__jsonld&&A.__jsonld.body?H=A.__jsonld.body:A.body&&(H=A.body),H){const D=Array.isArray(H)?H[0]:H;z=D.id||D["@id"]}}}}}return{id:R.id,label:R.getLabel().length?R.getLabel()[0].value:`Canvas ${O+1}`,src:z,index:O}}));function c(R){if(!e.isGalleryDragging)return;let O=R.clientX-e.galleryDragOffset.x,z=R.clientY-e.galleryDragOffset.y;const B=Math.max(0,window.innerWidth-e.gallerySize.width),A=Math.max(0,window.innerHeight-e.gallerySize.height);O=Math.max(0,Math.min(O,B)),z=Math.max(0,Math.min(z,A)),e.galleryPosition={x:O,y:z};const M=e.galleryCenterPanelRect;if(!M){console.warn("[Gallery] No center panel rect available");return}const $=R.clientX,Q=R.clientY,le=60;e.dragOverSide=null,$>=M.left&&$<=M.left+le?e.dragOverSide="left":$<=M.right&&$>=M.right-le?e.dragOverSide="right":Q>=M.top&&Q<=M.top+le?e.dragOverSide="top":Q<=M.bottom&&Q>=M.bottom-le&&(e.dragOverSide="bottom")}function u(){const R=e.dragOverSide;console.log("[Gallery] stopDrag. dropTarget:",R),e.isGalleryDragging=!1,e.dragOverSide=null,window.removeEventListener("mousemove",c),window.removeEventListener("mouseup",u),R&&(e.dockSide=R)}function h(R){R.stopPropagation(),me(o,!0),a={x:R.clientX,y:R.clientY,w:e.gallerySize.width,h:e.gallerySize.height},window.addEventListener("mousemove",d),window.addEventListener("mouseup",p)}function d(R){if(!m(o))return;const O=R.clientX-a.x,z=R.clientY-a.y;e.gallerySize={width:Math.max(200,a.w+O),height:Math.max(200,a.h+z)}}function p(){me(o,!1),window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",p)}function _(R){e.setCanvas(R)}let f=Ce(ht(e.dockSide));ut(()=>{const R=e.dockSide;me(f,R==="none"||R==="top"||R==="bottom"||R==="left"||R==="right"?R:"none",!0)}),ut(()=>{e.dockSide!==m(f)&&(e.dockSide=m(f),e.isGalleryDockedBottom=m(f)==="bottom",e.isGalleryDockedRight=m(f)==="right")}),ut(()=>{if(!m(s)||!e.canvasId)return;const R=e.canvasId,O=m(s).querySelector(`[data-id="${CSS.escape(R)}"]`);O&&O.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})});let g=ne(()=>m(f)==="top"||m(f)==="bottom"||m(f)==="none"&&e.gallerySize.height<320);function y(R){var A,M;if(!m(r)||R.target.closest(".resize-handle"))return;const O=m(f)!=="none";if(O){let $=Math.max(0,R.clientX-150),Q=Math.max(0,R.clientY-20);const le=Math.max(0,window.innerWidth-300),H=Math.max(0,window.innerHeight-400);$=Math.min($,le),Q=Math.min(Q,H),e.galleryPosition={x:$,y:Q},e.galleryDragOffset={x:R.clientX-$,y:R.clientY-Q}}else e.galleryDragOffset={x:R.clientX-e.galleryPosition.x,y:R.clientY-e.galleryPosition.y};const z=(A=m(s))==null?void 0:A.getRootNode(),B=((M=z==null?void 0:z.getElementById)==null?void 0:M.call(z,"triiiceratops-center-panel"))??document.getElementById("triiiceratops-center-panel");B?(e.galleryCenterPanelRect=B.getBoundingClientRect(),console.log("[Gallery] Captured center panel rect:",e.galleryCenterPanelRect)):console.warn("[Gallery] Could not find center panel in startDrag"),e.isGalleryDragging=!0,window.addEventListener("mousemove",c),window.addEventListener("mouseup",u),O&&me(f,"none")}var k=te(),C=K(k);{var x=R=>{var O=o2(),z=K(O),B=Z(z);{var A=ee=>{var N=Jy();N.__click=()=>e.toggleThumbnailGallery();var W=Z(N);us(W,{size:16,weight:"bold"}),j(N),S(ee,N)};F(B,ee=>{m(n)&&ee(A)})}var M=ue(B,2);{var $=ee=>{var N=$y(),W=Z(N);W.__mousedown=y;var _e=Z(W);j(W),j(N),Re(()=>{Ge(N,1,"bg-base-100 flex shrink-0 select-none relative "+(m(f)==="bottom"||m(f)==="top"?"flex-row h-full items-center border-r border-base-200":"flex-col w-full border-b border-base-200")),Ge(W,1,"cursor-move flex items-center justify-center hover:bg-base-200/50 active:bg-base-200 transition-colors "+(m(f)==="bottom"||m(f)==="top"?"w-8 h-full":"h-6 w-full")),Ge(_e,1,"bg-base-300 rounded-full "+(m(f)==="bottom"||m(f)==="top"?"w-1.5 h-12":"w-12 h-1.5"))}),S(ee,N)};F(M,ee=>{(m(r)||m(f)==="none")&&ee($)})}var Q=ue(M,2),le=Z(Q);Yt(le,21,()=>m(l),li,(ee,N)=>{var W=r2();W.__click=()=>_(m(N).id);var _e=Z(W),Te=Z(_e);{var oe=He=>{var Ie=e2();Re(()=>{Ae(Ie,"src",m(N).src),Ae(Ie,"alt",m(N).label)}),S(He,Ie)},G=He=>{var Ie=t2();S(He,Ie)};F(Te,He=>{m(N).src?He(oe):He(G,!1)})}j(_e);var ie=ue(_e,2),qe=Z(ie),se=Z(qe);j(qe);var ge=ue(qe);j(ie),j(W),Re(()=>{Ge(W,1,`group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${m(g)?"w-[90px]":""} ${e.canvasId===m(N).id?"ring-2 ring-primary bg-primary/5":""}`),Ae(W,"data-id",m(N).id),Ae(W,"aria-label",`Select canvas ${m(N).label??""}`),Ye(se,`${m(N).index+1}.`),Ye(ge,` ${m(N).label??""}`)}),S(ee,W)}),j(le),j(Q);var H=ue(Q,2);{var D=ee=>{var N=i2();N.__mousedown=h,S(ee,N)};F(H,ee=>{m(f)==="none"&&ee(D)})}j(z),Mi(z,ee=>me(s,ee),()=>m(s));var U=ue(z,2);{var ce=ee=>{var N=n2(),W=K(N),_e=ue(W,2),Te=ue(_e,2),oe=ue(Te,2);Re(()=>{Ge(W,1,`absolute top-2 left-2 right-2 h-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${e.dragOverSide==="top"?"bg-primary/20 scale-105":"bg-base-100/50"}`),Ge(_e,1,`absolute bottom-2 left-2 right-2 h-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${e.dragOverSide==="bottom"?"bg-primary/20 scale-105":"bg-base-100/50"}`),Ge(Te,1,`absolute top-2 bottom-2 left-2 w-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${e.dragOverSide==="left"?"bg-primary/20 scale-105":"bg-base-100/50"}`),Ge(oe,1,`absolute top-2 bottom-2 right-2 w-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-300 ${e.dragOverSide==="right"?"bg-primary/20 scale-105":"bg-base-100/50"}`)}),S(ee,N)};F(U,ee=>{e.isGalleryDragging&&ee(ce)})}Re(()=>{Ge(z,1,(m(f)!=="none"?`relative z-50 bg-base-100 shadow-xl border-base-300 flex transition-all duration-200 select-none w-full h-full
|
|
19
19
|
${m(f)==="bottom"||m(f)==="top"?"flex-row border-t":""}
|
|
20
|
-
${m(f)==="left"||m(f)==="right"?"flex-col border-x":""}`:"fixed z-900 bg-base-100 shadow-2xl rounded-lg flex flex-col border border-base-300 overflow-hidden select-none")+(e.isGalleryDragging?" pointer-events-none opacity-80":"")),ci(z,m(f)!=="none"?"":`left: ${e.galleryPosition.x}px; top: ${e.galleryPosition.y}px; width: ${e.gallerySize.width}px; height: ${e.gallerySize.height}px;`),Ge(Q,1,`flex-1 p-1 bg-base-100 ${m(g)?"overflow-x-auto overflow-y-hidden h-full":"overflow-y-auto overflow-x-hidden"}`),Ge(le,1,yo(m(g)?"flex flex-row gap-2 h-full items-center":"grid gap-2")),ci(le,m(g)?"":"grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));")}),S(R,O)};F(C,R=>{e.showThumbnailGallery&&R(x)})}S(i,k),$e()}Ir(["click","mousedown"]);var a2=re('<path d="M84,100A12,12,0,0,1,96,88h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,100Zm12,52h64a12,12,0,0,0,0-24H96a12,12,0,0,0,0,24ZM236,56V184a20,20,0,0,1-20,20H157.89l-12.52,21.92a20,20,0,0,1-34.74,0L98.11,204H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V180h61.07a12,12,0,0,1,10.42,6.05L128,207.94l12.51-21.89A12,12,0,0,1,150.93,180H212Z"></path>'),s2=re('<path d="M224,56V184a8,8,0,0,1-8,8H150.93l-16,28a8,8,0,0,1-13.9,0l-16-28H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z" opacity="0.2"></path><path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>',1),l2=re('<path d="M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM160,144H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),c2=re('<path d="M166,104a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,104Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-74V184a14,14,0,0,1-14,14H154.41L140.16,223a14,14,0,0,1-24.32,0L101.59,198H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V184a2,2,0,0,0,2,2h65.07a6,6,0,0,1,5.21,3l16,28a2,2,0,0,0,3.48,0l16-28a6,6,0,0,1,5.21-3H216a2,2,0,0,0,2-2Z"></path>'),u2=re('<path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>'),h2=re('<path d="M164,104a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,104Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-76V184a12,12,0,0,1-12,12H153.25L138.42,222a12,12,0,0,1-20.84,0L102.75,196H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V184a4,4,0,0,0,4,4h65.07a4,4,0,0,1,3.47,2l16,28a4,4,0,0,0,6.94,0l16-28a4,4,0,0,1,3.47-2H216a4,4,0,0,0,4-4Z"></path>'),d2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function f2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=d2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=a2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=s2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=l2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=c2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=u2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=h2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var p2=re('<path d="M148,96V48a12,12,0,0,1,24,0V84h36a12,12,0,0,1,0,24H160A12,12,0,0,1,148,96ZM96,148H48a12,12,0,0,0,0,24H84v36a12,12,0,0,0,24,0V160A12,12,0,0,0,96,148Zm112,0H160a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V172h36a12,12,0,0,0,0-24ZM96,36A12,12,0,0,0,84,48V84H48a12,12,0,0,0,0,24H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Z"></path>'),g2=re('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Z" opacity="0.2"></path><path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>',1),v2=re('<path d="M152,96V48a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,208,104H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0-5.66,13.66l48,48A8,8,0,0,0,104,208V160A8,8,0,0,0,96,152ZM99.06,40.61a8,8,0,0,0-8.72,1.73l-48,48A8,8,0,0,0,48,104H96a8,8,0,0,0,8-8V48A8,8,0,0,0,99.06,40.61ZM208,152H160a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,208,152Z"></path>'),m2=re('<path d="M154,96V48a6,6,0,0,1,12,0V90h42a6,6,0,0,1,0,12H160A6,6,0,0,1,154,96ZM96,154H48a6,6,0,0,0,0,12H90v42a6,6,0,0,0,12,0V160A6,6,0,0,0,96,154Zm112,0H160a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V166h42a6,6,0,0,0,0-12ZM96,42a6,6,0,0,0-6,6V90H48a6,6,0,0,0,0,12H96a6,6,0,0,0,6-6V48A6,6,0,0,0,96,42Z"></path>'),_2=re('<path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>'),w2=re('<path d="M156,96V48a4,4,0,0,1,8,0V92h44a4,4,0,0,1,0,8H160A4,4,0,0,1,156,96ZM96,156H48a4,4,0,0,0,0,8H92v44a4,4,0,0,0,8,0V160A4,4,0,0,0,96,156Zm112,0H160a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V164h44a4,4,0,0,0,0-8ZM96,44a4,4,0,0,0-4,4V92H48a4,4,0,0,0,0,8H96a4,4,0,0,0,4-4V48A4,4,0,0,0,96,44Z"></path>'),b2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function y2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=b2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=p2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=g2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=v2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=m2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=_2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=w2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var x2=re('<path d="M220,48V88a12,12,0,0,1-24,0V60H168a12,12,0,0,1,0-24h40A12,12,0,0,1,220,48ZM88,196H60V168a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H88a12,12,0,0,0,0-24Zm120-40a12,12,0,0,0-12,12v28H168a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156ZM88,36H48A12,12,0,0,0,36,48V88a12,12,0,0,0,24,0V60H88a12,12,0,0,0,0-24Z"></path>'),T2=re('<path d="M208,48V208H48V48Z" opacity="0.2"></path><path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>',1),E2=re('<path d="M93.66,202.34A8,8,0,0,1,88,216H48a8,8,0,0,1-8-8V168a8,8,0,0,1,13.66-5.66ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,88,40ZM211.06,160.61a8,8,0,0,0-8.72,1.73l-40,40A8,8,0,0,0,168,216h40a8,8,0,0,0,8-8V168A8,8,0,0,0,211.06,160.61ZM208,40H168a8,8,0,0,0-5.66,13.66l40,40A8,8,0,0,0,216,88V48A8,8,0,0,0,208,40Z"></path>'),k2=re('<path d="M214,48V88a6,6,0,0,1-12,0V54H168a6,6,0,0,1,0-12h40A6,6,0,0,1,214,48ZM88,202H54V168a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H88a6,6,0,0,0,0-12Zm120-40a6,6,0,0,0-6,6v34H168a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V168A6,6,0,0,0,208,162ZM88,42H48a6,6,0,0,0-6,6V88a6,6,0,0,0,12,0V54H88a6,6,0,0,0,0-12Z"></path>'),S2=re('<path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>'),C2=re('<path d="M212,48V88a4,4,0,0,1-8,0V52H168a4,4,0,0,1,0-8h40A4,4,0,0,1,212,48ZM88,204H52V168a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H88a4,4,0,0,0,0-8Zm120-40a4,4,0,0,0-4,4v36H168a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V168A4,4,0,0,0,208,164ZM88,44H48a4,4,0,0,0-4,4V88a4,4,0,0,0,8,0V52H88a4,4,0,0,0,0-8Z"></path>'),P2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function R2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=P2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=x2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=T2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=E2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=k2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=S2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=C2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var A2=re('<path d="M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"></path>'),I2=re('<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"></path><path d="M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"></path>',1),O2=re('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"></path>'),D2=re('<path d="M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"></path>'),M2=re('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"></path>'),L2=re('<path d="M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"></path>'),z2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function H2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=z2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=A2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=I2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=O2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=D2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=M2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=L2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var N2=re('<path d="M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"></path>'),F2=re('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>',1),B2=re('<path d="M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'),V2=re('<path d="M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"></path>'),U2=re('<path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>'),j2=re('<path d="M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"></path>'),G2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Pu(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=G2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=N2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=F2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=B2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=V2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=U2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=j2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var Z2=re('<path d="M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"></path>'),W2=re('<path d="M216,64V192H40V64Z" opacity="0.2"></path><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>',1),q2=re('<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"></path>'),X2=re('<path d="M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"></path>'),Y2=re('<path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>'),K2=re('<path d="M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"></path>'),Q2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Q2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Z2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=W2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=q2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=X2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Y2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=K2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var $2=re('<path d="M184,44H72A20,20,0,0,0,52,64V192a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20V64A20,20,0,0,0,184,44Zm-4,144H76V68H180ZM244,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0ZM36,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0Z"></path>'),ex=re('<path d="M200,64V192a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H192A8,8,0,0,1,200,64Z" opacity="0.2"></path><path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>',1),tx=re('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Zm24-16a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,232,48ZM24,48a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,24,48Z"></path>'),rx=re('<path d="M192,50H64A14,14,0,0,0,50,64V192a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V64A14,14,0,0,0,192,50Zm2,142a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H192a2,2,0,0,1,2,2ZM238,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0ZM30,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0Z"></path>'),ix=re('<path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>'),nx=re('<path d="M192,52H64A12,12,0,0,0,52,64V192a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V64A12,12,0,0,0,192,52Zm4,140a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4ZM236,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0ZM28,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0Z"></path>'),ox=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ax(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=ox();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=$2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=ex();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=tx();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=rx();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=ix();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=nx();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var sx=pe("<button><!></button>"),lx=pe("<button><!></button>"),cx=pe("<button><!></button>"),ux=pe("<button><!></button>"),hx=pe("<button><!></button>"),dx=pe('<div class="tooltip tooltip-left"><!></div>'),fx=pe('<div class="tooltip tooltip-left"><!></div>'),px=pe('<div class="tooltip tooltip-left"><!></div>'),gx=pe('<div class="tooltip tooltip-top"><!></div>'),vx=pe('<div class="tooltip tooltip-top"><!></div>'),mx=pe('<div class="absolute z-600 bottom-6 right-6"><!> <!> <!> <!> <!></div>'),_x=pe('<div class="tooltip tooltip-left"><!></div>'),wx=pe('<div class="tooltip tooltip-left"><!></div>'),bx=pe('<div class="tooltip tooltip-top"><!></div>'),yx=pe('<div class="tooltip tooltip-top"><!></div>'),xx=pe('<div class="fab fab-flower fab-top-left absolute z-600 pointer-events-auto bottom-6 right-6"><div tabindex="0" role="button" class="btn btn-lg btn-primary btn-circle shadow-xl"><span class="sr-only"> </span> <!></div> <div class="fab-main-action tooltip tooltip-top"><!></div> <!> <!> <!> <!></div>');function Tx(i,t){Je(t,!0);const e=C=>{var x=sx();x.__click=()=>s.toggleSearchPanel();var R=Z(x);Pu(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,yo(["btn btn-circle btn-lg shadow-lg",s.showSearchPanel?"btn-primary":"btn-neutral"]))},[()=>hu()]),S(C,x)},r=C=>{var x=lx();x.__click=()=>s.toggleThumbnailGallery();var R=Z(x);ax(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,`btn btn-lg btn-circle shadow-lg ${s.showThumbnailGallery?"btn-info":"btn-neutral"}`)},[()=>s.showThumbnailGallery?Oo():Do()]),S(C,x)},n=C=>{var x=cx();x.__click=()=>s.toggleFullScreen();var R=Z(x);{var O=B=>{y2(B,{size:28,weight:"bold"})},z=B=>{R2(B,{size:28,weight:"bold"})};F(R,B=>{s.isFullScreen?B(O):B(z,!1)})}j(x),Re(()=>Ge(x,1,`btn btn-circle btn-lg shadow-lg transition-all duration-300 ease-out ${s.isFullScreen?"btn-warning":"btn-neutral"}`)),S(C,x)},o=C=>{var x=ux();x.__click=()=>s.toggleAnnotations();var R=Z(x);f2(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,`btn btn-lg btn-circle shadow-lg ${s.showAnnotations?"btn-error":"btn-neutral"}`)},[()=>du()]),S(C,x)},a=C=>{var x=hx();x.__click=()=>s.toggleMetadataDialog();var R=Z(x);H2(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,`btn btn-lg btn-circle shadow-lg ${s.showMetadataDialog?"btn-info":"btn-neutral"}`)},[()=>fu()]),S(C,x)},s=Rr(ui),l=ne(()=>s.config.rightMenu||{}),c=ne(()=>m(l).showSearch!==!1),u=ne(()=>m(l).showGallery!==!1),h=ne(()=>m(l).showFullscreen!==!1),d=ne(()=>m(l).showAnnotations!==!1),p=ne(()=>m(l).showInfo!==!1),_=ne(()=>[m(c)?"search":null,m(u)?"gallery":null,m(h)?"fullscreen":null,m(d)?"annotations":null,m(p)?"info":null].filter(C=>C!==null));var f=te(),g=K(f);{var y=C=>{var x=mx(),R=Z(x);{var O=D=>{var U=dx(),ce=Z(U);e(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>Io()]),S(D,U)};F(R,D=>{m(c)&&D(O)})}var z=ue(R,2);{var B=D=>{var U=fx(),ce=Z(U);r(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>s.showThumbnailGallery?Oo():Do()]),S(D,U)};F(z,D=>{m(u)&&D(B)})}var A=ue(z,2);{var M=D=>{var U=px(),ce=Z(U);n(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>s.isFullScreen?os():as()]),S(D,U)};F(A,D=>{m(h)&&D(M)})}var $=ue(A,2);{var Q=D=>{var U=gx(),ce=Z(U);o(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>s.showAnnotations?ss():ls()]),S(D,U)};F($,D=>{m(d)&&D(Q)})}var le=ue($,2);{var H=D=>{var U=vx(),ce=Z(U);a(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>cs()]),S(D,U)};F(le,D=>{m(p)&&D(H)})}j(x),S(C,x)},k=C=>{var x=te(),R=K(x);{var O=z=>{var B=xx(),A=Z(B),M=Z(A),$=Z(M,!0);j(M);var Q=ue(M,2);J2(Q,{size:32,weight:"bold"}),j(A);var le=ue(A,2),H=Z(le);e(H),j(le);var D=ue(le,2);{var U=oe=>{var G=_x(),ie=Z(G);r(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>s.showThumbnailGallery?Oo():Do()]),S(oe,G)};F(D,oe=>{m(u)&&oe(U)})}var ce=ue(D,2);{var ee=oe=>{var G=wx(),ie=Z(G);n(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>s.isFullScreen?os():as()]),S(oe,G)};F(ce,oe=>{m(h)&&oe(ee)})}var N=ue(ce,2);{var W=oe=>{var G=bx(),ie=Z(G);o(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>s.showAnnotations?ss():ls()]),S(oe,G)};F(N,oe=>{m(d)&&oe(W)})}var _e=ue(N,2);{var Te=oe=>{var G=yx(),ie=Z(G);a(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>cs()]),S(oe,G)};F(_e,oe=>{m(p)&&oe(Te)})}j(B),Re((oe,G)=>{Ye($,oe),Ae(le,"data-tip",G)},[()=>uu(),()=>Io()]),S(z,B)};F(R,z=>{m(_).length>1&&z(O)},!0)}S(C,x)};F(g,C=>{m(_).length===1?C(y):C(k,!1)})}S(i,f),$e()}Ir(["click"]);var Ex=re('<path d="M222.41,155.16a12,12,0,0,0-11.56-.69A16,16,0,0,1,188,139,16.2,16.2,0,0,1,202.8,124a15.83,15.83,0,0,1,8,1.5A12,12,0,0,0,228,114.7V72a20,20,0,0,0-20-20H176a40.15,40.15,0,0,0-12.62-29.16,39.67,39.67,0,0,0-29.94-10.76,40.08,40.08,0,0,0-37.34,37C96,50.07,96,51,96,52H64A20,20,0,0,0,44,72v28a40.15,40.15,0,0,0-29.16,12.62A40,40,0,0,0,41.1,179.9a28.3,28.3,0,0,0,2.9.1v28a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V165.31A12,12,0,0,0,222.41,155.16ZM204,204H68V165.31a12,12,0,0,0-17.15-10.84A15.9,15.9,0,0,1,42.8,156,16.2,16.2,0,0,1,28,141.06a16,16,0,0,1,22.82-15.52A12,12,0,0,0,68,114.7V76h42.7a12,12,0,0,0,10.83-17.15A15.9,15.9,0,0,1,120,50.8,16.19,16.19,0,0,1,134.94,36a16,16,0,0,1,15.53,22.81A12,12,0,0,0,161.31,76H204v24c-1,0-1.93,0-2.9.11A40,40,0,0,0,204,180h0Z"></path>'),kx=re('<path d="M204,168a28,28,0,0,0,12-2.69V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V165.31a28,28,0,1,1,0-50.62V72a8,8,0,0,1,8-8h46.69a28,28,0,1,1,50.61,0H208a8,8,0,0,1,8,8v42.69A28,28,0,1,0,204,168Z" opacity="0.2"></path><path d="M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.15,36.15,0,0,0-11.36-26.25,36,36,0,0,0-60.55,23.63,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,36.56,36.56,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"></path>',1),Sx=re('<path d="M165.78,224H208a16,16,0,0,0,16-16V170.35A8,8,0,0,0,212.94,163a23.37,23.37,0,0,1-8.94,1.77c-13.23,0-24-11.1-24-24.73s10.77-24.73,24-24.73a23.37,23.37,0,0,1,8.94,1.77A8,8,0,0,0,224,109.65V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36,36,0,0,0-72,0,35.36,35.36,0,0,0,.22,4H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36,36,0,0,0,0,72,35.36,35.36,0,0,0,4-.22V208a16,16,0,0,0,16,16h42.22"></path>'),Cx=re('<path d="M219.21,160.24a6,6,0,0,0-5.78-.35,22,22,0,1,1-11.05-41.83,22.15,22.15,0,0,1,11.05,2.06A6,6,0,0,0,222,114.7V72a14,14,0,0,0-14-14H169.48a35,35,0,0,0,.52-6,34.1,34.1,0,0,0-10.73-24.78,33.64,33.64,0,0,0-25.45-9.15A34,34,0,0,0,102.54,58H64A14,14,0,0,0,50,72v34.53a34,34,0,0,0-30.79,10.2,34,34,0,0,0,22.31,57.18,34.34,34.34,0,0,0,8.48-.44V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V165.31A6,6,0,0,0,219.21,160.24ZM210,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V165.31a6,6,0,0,0-6-6,5.92,5.92,0,0,0-2.57.58,22,22,0,0,1-31.38-18.46,22,22,0,0,1,31.38-21.31A6,6,0,0,0,62,114.7V72a2,2,0,0,1,2-2h46.69a6,6,0,0,0,5.42-8.57,22.25,22.25,0,0,1-2-11,22,22,0,1,1,41.83,11A6,6,0,0,0,161.3,70H208a2,2,0,0,1,2,2v34.54a34,34,0,0,0-39.93,31.28,33.71,33.71,0,0,0,9.14,25.45A34.15,34.15,0,0,0,210,173.48Z"></path>'),Px=re('<path d="M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.11,36.11,0,0,0-11.36-26.24,36,36,0,0,0-60.55,23.62,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,35.68,35.68,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"></path>'),Rx=re('<path d="M218.14,161.93a4,4,0,0,0-3.86-.24,24,24,0,0,1-34.23-23.25,24,24,0,0,1,34.23-20.13A4,4,0,0,0,220,114.7V72a12,12,0,0,0-12-12H167a32,32,0,1,0-62.91-10.33A32.57,32.57,0,0,0,105,60H64A12,12,0,0,0,52,72v37a32,32,0,1,0-10.33,62.91A32.28,32.28,0,0,0,52,171v37a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V165.31A4,4,0,0,0,218.14,161.93ZM212,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V165.31a4,4,0,0,0-1.86-3.38,4,4,0,0,0-3.85-.24,24,24,0,0,1-34.24-20.13,24,24,0,0,1,34.24-23.25A4,4,0,0,0,60,114.7V72a4,4,0,0,1,4-4h46.69a4,4,0,0,0,3.62-5.71,24,24,0,0,1,20.13-34.24,24,24,0,0,1,23.25,34.24A4,4,0,0,0,161.31,68H208a4,4,0,0,1,4,4v37a32.57,32.57,0,0,0-10.33-.94A32,32,0,1,0,212,171Z"></path>'),Ax=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Ix(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Ax();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Ex();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=kx();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=Sx();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=Cx();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Px();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=Rx();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var Ox=pe('<div class="tooltip tooltip-right"><button><!></button></div>'),Dx=pe('<div class="absolute left-6 bottom-6 z-50 pointer-events-auto flex flex-col items-start transition-all duration-300"><div></div> <div class="tooltip tooltip-right"><button><!></button></div></div>');function Mx(i,t){Je(t,!0);const e=Rr(ui);let r=ne(()=>(hi.current,[...e.pluginMenuButtons].sort((u,h)=>(u.order??100)-(h.order??100)))),n=Ce(!1),o=ne(()=>(hi.current,bu()));function a(){me(n,!m(n))}var s=te(),l=K(s);{var c=u=>{var h=Dx(),d=Z(h);Yt(d,21,()=>m(r),k=>k.id,(k,C)=>{const x=ne(()=>m(C).icon),R=ne(()=>typeof Eu[m(C).tooltip]=="function"?Eu[m(C).tooltip]():m(C).tooltip);var O=Ox(),z=Z(O);z.__click=()=>{m(C).onClick(),me(n,!1)};var B=Z(z);Ii(B,()=>m(x),(A,M)=>{M(A,{size:28,weight:"bold"})}),j(z),j(O),Re(A=>{Ae(O,"data-tip",m(R)),Ae(z,"aria-label",m(C).tooltip),Ge(z,1,`btn btn-lg btn-circle shadow-lg ${A??""}`)},[()=>{var A,M;return(M=(A=m(C)).isActive)!=null&&M.call(A)?m(C).activeClass??"btn-primary":"btn-neutral"}]),S(k,O)}),j(d);var p=ue(d,2),_=Z(p);_.__click=a;var f=Z(_);{var g=k=>{us(k,{size:28,weight:"bold"})},y=k=>{Ix(k,{size:28,weight:"bold"})};F(f,k=>{m(n)?k(g):k(y,!1)})}j(_),j(p),j(h),Re(()=>{Ge(d,1,`flex flex-col-reverse gap-3 mb-3 transition-all duration-300 origin-bottom ${m(n)?"opacity-100 translate-y-0 scale-100":"opacity-0 translate-y-4 scale-90 pointer-events-none"}`),Ae(p,"data-tip",m(o)),Ge(_,1,`btn btn-lg btn-secondary btn-circle shadow-xl transition-transform duration-300 ${m(n)?"rotate-90":""}`),Ae(_,"aria-label",m(o))}),S(u,h)};F(l,u=>{m(r).length>0&&u(c)})}S(i,s),$e()}Ir(["click"]);var Lx=pe('<div class="mb-6 prose"><p><!></p></div>'),zx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),Hx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),Nx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),Fx=pe('<dialog class="modal"><div class="modal-box w-11/12 max-w-5xl"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <h3 class="font-bold text-lg mb-4"> </h3> <div class="py-4 overflow-y-auto max-h-[70vh]"><!> <dl class="grid grid-cols-1 md:grid-cols-[200px_1fr]"><!> <!> <!></dl></div> <div class="modal-action"><form method="dialog"><button class="btn"> </button></form></div></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog>');function Bx(i,t){Je(t,!0);const e=Rr(ui);let r=ne(()=>e.manifest),n=ne(()=>{const H=hi.current;if(!m(r))return[];const D=m(r).getMetadata();return D?D.map(U=>{let ce="",ee="";const N=W=>{if(typeof W=="string")return W;if(Array.isArray(W)){let _e=W.find(Te=>Te.locale===H||Te.language===H);return _e||(_e=W.find(Te=>Te.locale==="en"||Te.language==="en")),_e||(_e=W.find(Te=>!Te.locale&&!Te.language)),_e||(_e=W[0]),_e?_e.value:""}return String(W)};return U.getLabel?ce=N(U.getLabel()):U.label&&(ce=N(U.label)),U.getValue?ee=N(U.getValue()):U.value&&(ee=N(U.value)),{label:ce,value:ee}}):[]}),o=ne(()=>m(r)?m(r).getDescription():""),a=ne(()=>{var H;return m(r)?(H=m(r).getRequiredStatement())==null?void 0:H.getValue():""}),s=ne(()=>m(r)?m(r).getLicense():"");var l=Fx(),c=Z(l),u=Z(c),h=Z(u);h.__click=()=>e.toggleMetadataDialog(),j(u);var d=ue(u,2),p=Z(d,!0);j(d);var _=ue(d,2),f=Z(_);{var g=H=>{var D=Lx(),U=Z(D),ce=Z(U);br(ce,()=>m(o)),j(U),j(D),S(H,D)};F(f,H=>{m(o)&&H(g)})}var y=ue(f,2),k=Z(y);{var C=H=>{var D=zx(),U=K(D),ce=Z(U,!0);j(U);var ee=ue(U,2),N=Z(ee);br(N,()=>m(a)),j(ee),Re(W=>Ye(ce,W),[()=>lu()]),S(H,D)};F(k,H=>{m(a)&&H(C)})}var x=ue(k,2);{var R=H=>{var D=Hx(),U=K(D),ce=Z(U,!0);j(U);var ee=ue(U,2),N=Z(ee),W=Z(N,!0);j(N),j(ee),Re(_e=>{Ye(ce,_e),Ae(N,"href",m(s)),Ye(W,m(s))},[()=>cu()]),S(H,D)};F(x,H=>{m(s)&&H(R)})}var O=ue(x,2);Yt(O,17,()=>m(n),li,(H,D)=>{var U=Nx(),ce=K(U),ee=Z(ce,!0);j(ce);var N=ue(ce,2),W=Z(N);br(W,()=>m(D).value),j(N),Re(()=>Ye(ee,m(D).label)),S(H,U)}),j(y),j(_);var z=ue(_,2),B=Z(z),A=Z(B);A.__click=()=>e.toggleMetadataDialog();var M=Z(A,!0);j(A),j(B),j(z),j(c);var $=ue(c,2),Q=Z($);Q.__click=()=>e.toggleMetadataDialog();var le=Z(Q,!0);j(Q),j($),j(l),Re((H,D,U)=>{l.open=e.showMetadataDialog,Ye(p,H),Ye(M,D),Ye(le,U)},[()=>m(r)?m(r).getLabel().length&&m(r).getLabel()[0]?m(r).getLabel()[0].value:au():su(),()=>ns(),()=>ns()]),S(i,l),$e()}Ir(["click"]);var Vx=pe('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'),Ux=pe('<span class="loading loading-spinner loading-xs"></span>'),jx=pe('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),Gx=pe('<div class="text-center opacity-50 p-4"> </div>'),Zx=pe('<div class="text-center opacity-50 p-4 text-sm"> </div>'),Wx=pe('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'),qx=pe('<div class="leading-relaxed"><!></div>'),Xx=pe('<div class="p-3 text-sm border-b border-base-200 last:border-none hover:bg-base-200/30 transition-colors"><!></div>'),Yx=pe('<button class="w-full text-left bg-base-100 shadow-sm border border-base-200 rounded-box cursor-pointer hover:shadow-md transition-all block p-0 select-none"><div class="text-sm font-bold opacity-80 bg-base-200/50 flex items-center justify-between py-2 px-3 border-b border-base-200"><span> </span> <span class="badge badge-sm badge-ghost"> </span></div> <div class="p-0"></div></button>'),Kx=pe('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>',1),Qx=pe('<div role="dialog"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="font-bold text-lg"> </h2> <!></div> <div class="p-4 border-b border-base-300 shrink-0"><div class="relative w-full"><input type="text" class="input input-bordered w-full pr-12"/> <button class="btn btn-primary absolute right-0 top-0 h-full rounded-l-none"><!></button></div></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><!></div></div>');function Ru(i,t){Je(t,!0);const e=Rr(ui);let r=Ce(""),n=ne(()=>{var p;return((p=e.config.search)==null?void 0:p.showCloseButton)??!0});ut(()=>{e.searchQuery!==Xe(()=>m(r))&&me(r,e.searchQuery,!0)});function o(){e.search(m(r))}function a(p){p.key==="Enter"&&o()}function s(p){const _=e.canvases[p];_&&e.setCanvas(_.id)}let l=ne(()=>{var p;return((p=e.config.search)==null?void 0:p.width)??"320px"}),c=ne(()=>{var p;return((p=e.config.search)==null?void 0:p.position)??"right"});var u=te(),h=K(u);{var d=p=>{var _=Qx(),f=Z(_),g=Z(f),y=Z(g,!0);j(g);var k=ue(g,2);{var C=D=>{var U=Vx();U.__click=()=>e.toggleSearchPanel();var ce=Z(U);us(ce,{size:20,weight:"bold"}),j(U),Re(ee=>Ae(U,"aria-label",ee),[()=>yu()]),S(D,U)};F(k,D=>{m(n)&&D(C)})}j(f);var x=ue(f,2),R=Z(x),O=Z(R);ba(O),O.__keydown=a;var z=ue(O,2);z.__click=o;var B=Z(z);{var A=D=>{var U=Ux();S(D,U)},M=D=>{Pu(D,{size:20,weight:"bold"})};F(B,D=>{e.isSearching?D(A):D(M,!1)})}j(z),j(R),j(x);var $=ue(x,2),Q=Z($);{var le=D=>{var U=jx();S(D,U)},H=D=>{var U=te(),ce=K(U);{var ee=W=>{var _e=Gx(),Te=Z(_e,!0);j(_e),Re(oe=>Ye(Te,oe),[()=>iu({query:e.searchQuery})]),S(W,_e)},N=W=>{var _e=te(),Te=K(_e);{var oe=ie=>{var qe=Zx(),se=Z(qe,!0);j(qe),Re(ge=>Ye(se,ge),[()=>nu()]),S(ie,qe)},G=ie=>{var qe=Kx(),se=K(qe),ge=Z(se,!0);j(se);var He=ue(se,2);Yt(He,17,()=>e.searchResults,li,(Ie,Ze)=>{var je=Yx();je.__click=()=>s(m(Ze).canvasIndex);var ye=Z(je),we=Z(ye),xe=Z(we,!0);j(we);var Ue=ue(we,2),v=Z(Ue);j(Ue),j(ye);var T=ue(ye,2);Yt(T,21,()=>m(Ze).hits.slice(0,1),li,(L,V)=>{var J=Xx(),fe=Z(J);{var Y=ze=>{var Ve=Wx(),ke=Z(Ve),Ke=Z(ke);br(Ke,()=>m(V).before),j(ke);var b=ue(ke,2),w=Z(b);br(w,()=>m(V).match),j(b);var E=ue(b,2),P=Z(E);br(P,()=>m(V).after),j(E),j(Ve),S(ze,Ve)},Ee=ze=>{var Ve=qx(),ke=Z(Ve);br(ke,()=>m(V).match),j(Ve),S(ze,Ve)};F(fe,ze=>{m(V).type==="hit"?ze(Y):ze(Ee,!1)})}j(J),S(L,J)}),j(T),j(je),Re(()=>{Ye(xe,m(Ze).canvasLabel),Ye(v,`${m(Ze).hits.length??""}
|
|
21
|
-
${m(Ze).hits.length===1?"match":"matches"}`)}),S(Ie,je)}),Re(Ie=>Ye(ge,Ie),[()=>ou({count:e.searchResults.length})]),S(ie,qe)};F(Te,ie=>{e.searchResults.length===0&&!e.searchQuery?ie(oe):ie(G,!1)},!0)}S(W,_e)};F(ce,W=>{e.searchResults.length===0&&e.searchQuery?W(ee):W(N,!1)},!0)}S(D,U)};F(Q,D=>{e.isSearching?D(le):D(H,!1)})}j($),j(_),Re((D,U,ce,ee)=>{Ge(_,1,`h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${e.config.transparentBackground?"":m(c)==="left"?"border-r border-base-300":"border-l border-base-300"}`),ci(_,`width: ${m(l)??""}`),Ae(_,"aria-label",D),Ye(y,U),Ae(O,"placeholder",ce),Ae(z,"aria-label",ee)},[()=>is(),()=>Io(),()=>ru(),()=>is()]),ac(O,()=>m(r),D=>me(r,D)),S(p,_)};F(h,p=>{e.showSearchPanel&&p(d)})}S(i,u),$e()}Ir(["click","keydown"]);var Jx=pe('<div class="h-full relative pointer-events-auto"><!></div>'),$x=pe('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'),e8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),t8=pe("<div><!> <!> <!></div>"),r8=pe('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'),i8=pe('<div class="w-full h-full flex items-center justify-center"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),n8=pe('<div class="w-full h-full flex items-center justify-center text-error"> </div>'),o8=pe('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'),a8=pe('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'),s8=pe('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'),l8=pe('<div class="relative w-full z-40 pointer-events-auto"><!></div>'),c8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),u8=pe('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'),h8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),d8=pe("<div><!> <!> <!></div>"),f8=pe('<div id="triiiceratops-viewer"><!> <div id="triiiceratops-center-panel" class="flex-1 relative min-w-0 flex flex-col"><!> <div><!> <!> <!> <!> <!> <!> <!> <!></div> <!> <!></div> <!></div>');function p8(i,t){Je(t,!0);const e=typeof window<"u";let r=tr(t,"plugins",19,()=>[]),n=tr(t,"config",19,()=>({})),o=tr(t,"viewerState",15),a=Ce(void 0);ut(()=>{m(a)&&Tg(m(a),t.theme,t.themeConfig)});const s=new ng(null,void 0,[]);o(s),Xo(ui,s),pa(()=>{s.destroyAllPlugins()}),ut(()=>{t.manifestId&&t.manifestId!==s.manifestId&&s.setManifest(t.manifestId)});let l="";ut(()=>{t.canvasId&&t.canvasId!==l&&(l=t.canvasId,t.canvasId!==s.canvasId&&s.setCanvas(t.canvasId))});let c="";ut(()=>{if(n()){const se=JSON.stringify(n());se!==c&&(c=se,console.log("[Viewer] updateConfig called with new config:",n()),s.updateConfig(n()))}});let u=[];ut(()=>{const se=r();return Xe(()=>{for(const ge of u)s.unregisterPlugin(ge);u=[];for(const ge of se){const He=ge.id||`plugin-${Math.random().toString(36).substr(2,9)}`,Ie={...ge,id:He};s.registerPlugin(Ie),u.push(He)}}),()=>{for(const ge of u)s.unregisterPlugin(ge);u=[]}}),pa(()=>{s.destroyAllPlugins()}),ut(()=>{if(!e)return;const se=()=>{s.isFullScreen=!!document.fullscreenElement};return document.addEventListener("fullscreenchange",se),()=>{document.removeEventListener("fullscreenchange",se)}});let h=ne(()=>{var se;return s.showThumbnailGallery&&s.dockSide==="left"||s.showSearchPanel&&((se=s.config.search)==null?void 0:se.position)==="left"||s.pluginPanels.some(ge=>ge.position==="left"&&ge.isVisible())}),d=ne(()=>{var se;return s.showSearchPanel&&((se=s.config.search)==null?void 0:se.position)!=="left"||s.showThumbnailGallery&&s.dockSide==="right"||s.pluginPanels.some(ge=>ge.position==="right"&&ge.isVisible())}),p=ne(()=>s.manifestEntry),_=ne(()=>s.canvases),f=ne(()=>s.currentCanvasIndex);ut(()=>{if(s.pendingSearchQuery&&m(p)&&!m(p).isFetching&&!m(p).error&&m(p).manifesto){const se=s.pendingSearchQuery;s.pendingSearchQuery=null,console.log("[Viewer] Manifest loaded, triggering deferred search:",se),s.search(se)}}),ut(()=>{var se;m(_)&&m(_).length>0&&!s.canvasId&&!((se=m(p))!=null&&se.isFetching)&&(console.log("[Viewer] Auto-selecting first canvas:",m(_)[0].id),s.setCanvas(m(_)[0].id))});let g=ne(()=>{var T,L;if(!m(_)||m(f)===-1||!m(_)[m(f)])return(T=m(p))!=null&&T.isFetching||console.log("TriiiceratopsViewer: No canvas found"),null;const se=m(_)[m(f)];let ge=se.getImages();if((!ge||!ge.length)&&se.getContent&&(ge=se.getContent()),!ge||!ge.length)return se.__jsonld&&se.__jsonld.items,(L=m(p))!=null&&L.isFetching||console.log("TriiiceratopsViewer: No images/content in canvas"),null;const He=ge[0];let Ie=He.getResource?He.getResource():null;if(!Ie&&He.getBody){const V=He.getBody();Array.isArray(V)&&V.length>0?Ie=V[0]:V&&(Ie=V)}const Ze=(Ie==null?void 0:Ie.__jsonld)||Ie,je=Ie&&(Ie.id||Ie["@id"]||Ze&&(Ze.service||Ze.id||Ze["@id"]));if(Ie&&!je&&(Ie=null),!Ie){const V=He.__jsonld||He;V.body&&(Ie=Array.isArray(V.body)?V.body[0]:V.body)}if(!Ie)return null;const ye=V=>V.id||V["@id"];let we=[];const xe=Ie.__jsonld||Ie;if(xe.service&&(we=Array.isArray(xe.service)?xe.service:[xe.service]),!we.length&&Ie.getServices&&(we=Ie.getServices()),we.length>0){const V=we.find(J=>{const fe=J.getType?J.getType():J.type||J["@type"]||"",Y=J.getProfile?J.getProfile():J.profile||"";return fe==="ImageService1"||fe==="ImageService2"||fe==="ImageService3"||typeof Y=="string"&&Y.includes("http://iiif.io/api/image")||typeof Y=="string"&&Y==="level0"});if(V){let J=ye(V);return J&&!J.endsWith("/info.json")&&(J=`${J}/info.json`),J}}const Ue=ye(Ie);if(Ue&&Ue.includes("/iiif/")){const V=Ue.split("/"),J=V.findIndex(fe=>fe==="full"||fe.match(/^\d+,\d+,\d+,\d+$/));if(J>0)return`${V.slice(0,J).join("/")}/info.json`}return console.log("TriiiceratopsViewer: No service or ID found, returning raw URL"),{type:"image",url:Ue}});var y=f8(),k=Z(y);{var C=se=>{var ge=t8(),He=Z(ge);{var Ie=we=>{var xe=Jx(),Ue=Z(xe);Ru(Ue,{}),j(xe),S(we,xe)};F(He,we=>{var xe;s.showSearchPanel&&((xe=s.config.search)==null?void 0:xe.position)==="left"&&we(Ie)})}var Ze=ue(He,2);{var je=we=>{var xe=$x(),Ue=Z(xe);cn(Ue,{get canvases(){return m(_)}}),j(xe),S(we,xe)};F(Ze,we=>{s.showThumbnailGallery&&s.dockSide==="left"&&we(je)})}var ye=ue(Ze,2);Yt(ye,17,()=>s.pluginPanels,we=>we.id,(we,xe)=>{var Ue=te(),v=K(Ue);{var T=L=>{var V=e8(),J=Z(V);Ii(J,()=>m(xe).component,(fe,Y)=>{Y(fe,an(()=>m(xe).props??{},{get locale(){return hi.current}}))}),j(V),S(L,V)};F(v,L=>{m(xe).isVisible()&&m(xe).position==="left"&&L(T)})}S(we,Ue)}),j(ge),Re(()=>Ge(ge,1,`flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground?"":"bg-base-200 border-r border-base-300"}`)),S(se,ge)};F(k,se=>{m(h)&&se(C)})}var x=ue(k,2),R=Z(x);{var O=se=>{var ge=r8(),He=Z(ge);cn(He,{get canvases(){return m(_)}}),j(ge),S(se,ge)};F(R,se=>{s.showThumbnailGallery&&s.dockSide==="top"&&se(O)})}var z=ue(R,2),B=Z(z);{var A=se=>{var ge=i8();S(se,ge)},M=se=>{var ge=te(),He=K(ge);{var Ie=je=>{var ye=n8(),we=Z(ye);j(ye),Re(xe=>Ye(we,`${xe??""}
|
|
20
|
+
${m(f)==="left"||m(f)==="right"?"flex-col border-x":""}`:"fixed z-900 bg-base-100 shadow-2xl rounded-lg flex flex-col border border-base-300 overflow-hidden select-none")+(e.isGalleryDragging?" pointer-events-none opacity-80":"")),ci(z,m(f)!=="none"?"":`left: ${e.galleryPosition.x}px; top: ${e.galleryPosition.y}px; width: ${e.gallerySize.width}px; height: ${e.gallerySize.height}px;`),Ge(Q,1,`flex-1 p-1 bg-base-100 ${m(g)?"overflow-x-auto overflow-y-hidden h-full":"overflow-y-auto overflow-x-hidden"}`),Ge(le,1,yo(m(g)?"flex flex-row gap-2 h-full items-center":"grid gap-2")),ci(le,m(g)?"":"grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));")}),S(R,O)};F(C,R=>{e.showThumbnailGallery&&R(x)})}S(i,k),$e()}Ir(["click","mousedown"]);var a2=re('<path d="M84,100A12,12,0,0,1,96,88h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,100Zm12,52h64a12,12,0,0,0,0-24H96a12,12,0,0,0,0,24ZM236,56V184a20,20,0,0,1-20,20H157.89l-12.52,21.92a20,20,0,0,1-34.74,0L98.11,204H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V180h61.07a12,12,0,0,1,10.42,6.05L128,207.94l12.51-21.89A12,12,0,0,1,150.93,180H212Z"></path>'),s2=re('<path d="M224,56V184a8,8,0,0,1-8,8H150.93l-16,28a8,8,0,0,1-13.9,0l-16-28H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z" opacity="0.2"></path><path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>',1),l2=re('<path d="M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM160,144H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),c2=re('<path d="M166,104a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,104Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-74V184a14,14,0,0,1-14,14H154.41L140.16,223a14,14,0,0,1-24.32,0L101.59,198H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V184a2,2,0,0,0,2,2h65.07a6,6,0,0,1,5.21,3l16,28a2,2,0,0,0,3.48,0l16-28a6,6,0,0,1,5.21-3H216a2,2,0,0,0,2-2Z"></path>'),u2=re('<path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>'),h2=re('<path d="M164,104a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,104Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-76V184a12,12,0,0,1-12,12H153.25L138.42,222a12,12,0,0,1-20.84,0L102.75,196H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V184a4,4,0,0,0,4,4h65.07a4,4,0,0,1,3.47,2l16,28a4,4,0,0,0,6.94,0l16-28a4,4,0,0,1,3.47-2H216a4,4,0,0,0,4-4Z"></path>'),d2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function f2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=d2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=a2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=s2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=l2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=c2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=u2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=h2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var p2=re('<path d="M148,96V48a12,12,0,0,1,24,0V84h36a12,12,0,0,1,0,24H160A12,12,0,0,1,148,96ZM96,148H48a12,12,0,0,0,0,24H84v36a12,12,0,0,0,24,0V160A12,12,0,0,0,96,148Zm112,0H160a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V172h36a12,12,0,0,0,0-24ZM96,36A12,12,0,0,0,84,48V84H48a12,12,0,0,0,0,24H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Z"></path>'),g2=re('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Z" opacity="0.2"></path><path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>',1),v2=re('<path d="M152,96V48a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,208,104H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0-5.66,13.66l48,48A8,8,0,0,0,104,208V160A8,8,0,0,0,96,152ZM99.06,40.61a8,8,0,0,0-8.72,1.73l-48,48A8,8,0,0,0,48,104H96a8,8,0,0,0,8-8V48A8,8,0,0,0,99.06,40.61ZM208,152H160a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,208,152Z"></path>'),m2=re('<path d="M154,96V48a6,6,0,0,1,12,0V90h42a6,6,0,0,1,0,12H160A6,6,0,0,1,154,96ZM96,154H48a6,6,0,0,0,0,12H90v42a6,6,0,0,0,12,0V160A6,6,0,0,0,96,154Zm112,0H160a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V166h42a6,6,0,0,0,0-12ZM96,42a6,6,0,0,0-6,6V90H48a6,6,0,0,0,0,12H96a6,6,0,0,0,6-6V48A6,6,0,0,0,96,42Z"></path>'),_2=re('<path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>'),w2=re('<path d="M156,96V48a4,4,0,0,1,8,0V92h44a4,4,0,0,1,0,8H160A4,4,0,0,1,156,96ZM96,156H48a4,4,0,0,0,0,8H92v44a4,4,0,0,0,8,0V160A4,4,0,0,0,96,156Zm112,0H160a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V164h44a4,4,0,0,0,0-8ZM96,44a4,4,0,0,0-4,4V92H48a4,4,0,0,0,0,8H96a4,4,0,0,0,4-4V48A4,4,0,0,0,96,44Z"></path>'),b2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function y2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=b2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=p2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=g2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=v2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=m2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=_2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=w2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var x2=re('<path d="M220,48V88a12,12,0,0,1-24,0V60H168a12,12,0,0,1,0-24h40A12,12,0,0,1,220,48ZM88,196H60V168a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H88a12,12,0,0,0,0-24Zm120-40a12,12,0,0,0-12,12v28H168a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156ZM88,36H48A12,12,0,0,0,36,48V88a12,12,0,0,0,24,0V60H88a12,12,0,0,0,0-24Z"></path>'),T2=re('<path d="M208,48V208H48V48Z" opacity="0.2"></path><path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>',1),E2=re('<path d="M93.66,202.34A8,8,0,0,1,88,216H48a8,8,0,0,1-8-8V168a8,8,0,0,1,13.66-5.66ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,88,40ZM211.06,160.61a8,8,0,0,0-8.72,1.73l-40,40A8,8,0,0,0,168,216h40a8,8,0,0,0,8-8V168A8,8,0,0,0,211.06,160.61ZM208,40H168a8,8,0,0,0-5.66,13.66l40,40A8,8,0,0,0,216,88V48A8,8,0,0,0,208,40Z"></path>'),k2=re('<path d="M214,48V88a6,6,0,0,1-12,0V54H168a6,6,0,0,1,0-12h40A6,6,0,0,1,214,48ZM88,202H54V168a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H88a6,6,0,0,0,0-12Zm120-40a6,6,0,0,0-6,6v34H168a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V168A6,6,0,0,0,208,162ZM88,42H48a6,6,0,0,0-6,6V88a6,6,0,0,0,12,0V54H88a6,6,0,0,0,0-12Z"></path>'),S2=re('<path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>'),C2=re('<path d="M212,48V88a4,4,0,0,1-8,0V52H168a4,4,0,0,1,0-8h40A4,4,0,0,1,212,48ZM88,204H52V168a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H88a4,4,0,0,0,0-8Zm120-40a4,4,0,0,0-4,4v36H168a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V168A4,4,0,0,0,208,164ZM88,44H48a4,4,0,0,0-4,4V88a4,4,0,0,0,8,0V52H88a4,4,0,0,0,0-8Z"></path>'),P2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function R2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=P2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=x2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=T2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=E2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=k2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=S2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=C2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var A2=re('<path d="M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"></path>'),I2=re('<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"></path><path d="M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"></path>',1),O2=re('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"></path>'),D2=re('<path d="M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"></path>'),M2=re('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"></path>'),L2=re('<path d="M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"></path>'),z2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function H2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=z2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=A2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=I2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=O2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=D2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=M2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=L2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var N2=re('<path d="M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"></path>'),F2=re('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>',1),B2=re('<path d="M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'),V2=re('<path d="M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"></path>'),U2=re('<path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>'),j2=re('<path d="M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"></path>'),G2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Pu(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=G2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=N2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=F2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=B2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=V2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=U2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=j2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var Z2=re('<path d="M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"></path>'),W2=re('<path d="M216,64V192H40V64Z" opacity="0.2"></path><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>',1),q2=re('<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"></path>'),X2=re('<path d="M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"></path>'),Y2=re('<path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>'),K2=re('<path d="M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"></path>'),Q2=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J2(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Q2();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Z2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=W2();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=q2();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=X2();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Y2();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=K2();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var $2=re('<path d="M184,44H72A20,20,0,0,0,52,64V192a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20V64A20,20,0,0,0,184,44Zm-4,144H76V68H180ZM244,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0ZM36,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0Z"></path>'),ex=re('<path d="M200,64V192a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H192A8,8,0,0,1,200,64Z" opacity="0.2"></path><path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>',1),tx=re('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Zm24-16a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,232,48ZM24,48a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,24,48Z"></path>'),rx=re('<path d="M192,50H64A14,14,0,0,0,50,64V192a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V64A14,14,0,0,0,192,50Zm2,142a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H192a2,2,0,0,1,2,2ZM238,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0ZM30,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0Z"></path>'),ix=re('<path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>'),nx=re('<path d="M192,52H64A12,12,0,0,0,52,64V192a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V64A12,12,0,0,0,192,52Zm4,140a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4ZM236,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0ZM28,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0Z"></path>'),ox=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ax(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=ox();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=$2();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=ex();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=tx();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=rx();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=ix();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=nx();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var sx=pe("<button><!></button>"),lx=pe("<button><!></button>"),cx=pe("<button><!></button>"),ux=pe("<button><!></button>"),hx=pe("<button><!></button>"),dx=pe('<div class="tooltip tooltip-left"><!></div>'),fx=pe('<div class="tooltip tooltip-left"><!></div>'),px=pe('<div class="tooltip tooltip-left"><!></div>'),gx=pe('<div class="tooltip tooltip-top"><!></div>'),vx=pe('<div class="tooltip tooltip-top"><!></div>'),mx=pe('<div class="absolute z-600 bottom-6 right-6"><!> <!> <!> <!> <!></div>'),_x=pe('<div class="tooltip tooltip-left"><!></div>'),wx=pe('<div class="tooltip tooltip-left"><!></div>'),bx=pe('<div class="tooltip tooltip-top"><!></div>'),yx=pe('<div class="tooltip tooltip-top"><!></div>'),xx=pe('<div class="fab fab-flower fab-top-left absolute z-600 pointer-events-auto bottom-6 right-6"><div tabindex="0" role="button" class="btn btn-lg btn-primary btn-circle shadow-xl"><span class="sr-only"> </span> <!></div> <div class="fab-main-action tooltip tooltip-top"><!></div> <!> <!> <!> <!></div>');function Tx(i,t){Je(t,!0);const e=C=>{var x=sx();x.__click=()=>s.toggleSearchPanel();var R=Z(x);Pu(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,yo(["btn btn-circle btn-lg shadow-lg",s.showSearchPanel?"btn-primary":"btn-neutral"]))},[()=>hu()]),S(C,x)},r=C=>{var x=lx();x.__click=()=>s.toggleThumbnailGallery();var R=Z(x);ax(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,`btn btn-lg btn-circle shadow-lg ${s.showThumbnailGallery?"btn-info":"btn-neutral"}`)},[()=>s.showThumbnailGallery?Oo():Do()]),S(C,x)},n=C=>{var x=cx();x.__click=()=>s.toggleFullScreen();var R=Z(x);{var O=B=>{y2(B,{size:28,weight:"bold"})},z=B=>{R2(B,{size:28,weight:"bold"})};F(R,B=>{s.isFullScreen?B(O):B(z,!1)})}j(x),Re(()=>Ge(x,1,`btn btn-circle btn-lg shadow-lg transition-all duration-300 ease-out ${s.isFullScreen?"btn-warning":"btn-neutral"}`)),S(C,x)},o=C=>{var x=ux();x.__click=()=>s.toggleAnnotations();var R=Z(x);f2(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,`btn btn-lg btn-circle shadow-lg ${s.showAnnotations?"btn-error":"btn-neutral"}`)},[()=>du()]),S(C,x)},a=C=>{var x=hx();x.__click=()=>s.toggleMetadataDialog();var R=Z(x);H2(R,{size:28,weight:"bold"}),j(x),Re(O=>{Ae(x,"aria-label",O),Ge(x,1,`btn btn-lg btn-circle shadow-lg ${s.showMetadataDialog?"btn-info":"btn-neutral"}`)},[()=>fu()]),S(C,x)},s=Rr(ui),l=ne(()=>s.config.rightMenu||{}),c=ne(()=>m(l).showSearch!==!1),u=ne(()=>m(l).showGallery!==!1),h=ne(()=>m(l).showFullscreen!==!1),d=ne(()=>m(l).showAnnotations!==!1),p=ne(()=>m(l).showInfo!==!1),_=ne(()=>[m(c)?"search":null,m(u)?"gallery":null,m(h)?"fullscreen":null,m(d)?"annotations":null,m(p)?"info":null].filter(C=>C!==null));var f=te(),g=K(f);{var y=C=>{var x=mx(),R=Z(x);{var O=D=>{var U=dx(),ce=Z(U);e(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>Io()]),S(D,U)};F(R,D=>{m(c)&&D(O)})}var z=ue(R,2);{var B=D=>{var U=fx(),ce=Z(U);r(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>s.showThumbnailGallery?Oo():Do()]),S(D,U)};F(z,D=>{m(u)&&D(B)})}var A=ue(z,2);{var M=D=>{var U=px(),ce=Z(U);n(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>s.isFullScreen?os():as()]),S(D,U)};F(A,D=>{m(h)&&D(M)})}var $=ue(A,2);{var Q=D=>{var U=gx(),ce=Z(U);o(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>s.showAnnotations?ss():ls()]),S(D,U)};F($,D=>{m(d)&&D(Q)})}var le=ue($,2);{var H=D=>{var U=vx(),ce=Z(U);a(ce),j(U),Re(ee=>Ae(U,"data-tip",ee),[()=>cs()]),S(D,U)};F(le,D=>{m(p)&&D(H)})}j(x),S(C,x)},k=C=>{var x=te(),R=K(x);{var O=z=>{var B=xx(),A=Z(B),M=Z(A),$=Z(M,!0);j(M);var Q=ue(M,2);J2(Q,{size:32,weight:"bold"}),j(A);var le=ue(A,2),H=Z(le);e(H),j(le);var D=ue(le,2);{var U=oe=>{var G=_x(),ie=Z(G);r(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>s.showThumbnailGallery?Oo():Do()]),S(oe,G)};F(D,oe=>{m(u)&&oe(U)})}var ce=ue(D,2);{var ee=oe=>{var G=wx(),ie=Z(G);n(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>s.isFullScreen?os():as()]),S(oe,G)};F(ce,oe=>{m(h)&&oe(ee)})}var N=ue(ce,2);{var W=oe=>{var G=bx(),ie=Z(G);o(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>s.showAnnotations?ss():ls()]),S(oe,G)};F(N,oe=>{m(d)&&oe(W)})}var _e=ue(N,2);{var Te=oe=>{var G=yx(),ie=Z(G);a(ie),j(G),Re(qe=>Ae(G,"data-tip",qe),[()=>cs()]),S(oe,G)};F(_e,oe=>{m(p)&&oe(Te)})}j(B),Re((oe,G)=>{Ye($,oe),Ae(le,"data-tip",G)},[()=>uu(),()=>Io()]),S(z,B)};F(R,z=>{m(_).length>1&&z(O)},!0)}S(C,x)};F(g,C=>{m(_).length===1?C(y):C(k,!1)})}S(i,f),$e()}Ir(["click"]);var Ex=re('<path d="M222.41,155.16a12,12,0,0,0-11.56-.69A16,16,0,0,1,188,139,16.2,16.2,0,0,1,202.8,124a15.83,15.83,0,0,1,8,1.5A12,12,0,0,0,228,114.7V72a20,20,0,0,0-20-20H176a40.15,40.15,0,0,0-12.62-29.16,39.67,39.67,0,0,0-29.94-10.76,40.08,40.08,0,0,0-37.34,37C96,50.07,96,51,96,52H64A20,20,0,0,0,44,72v28a40.15,40.15,0,0,0-29.16,12.62A40,40,0,0,0,41.1,179.9a28.3,28.3,0,0,0,2.9.1v28a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V165.31A12,12,0,0,0,222.41,155.16ZM204,204H68V165.31a12,12,0,0,0-17.15-10.84A15.9,15.9,0,0,1,42.8,156,16.2,16.2,0,0,1,28,141.06a16,16,0,0,1,22.82-15.52A12,12,0,0,0,68,114.7V76h42.7a12,12,0,0,0,10.83-17.15A15.9,15.9,0,0,1,120,50.8,16.19,16.19,0,0,1,134.94,36a16,16,0,0,1,15.53,22.81A12,12,0,0,0,161.31,76H204v24c-1,0-1.93,0-2.9.11A40,40,0,0,0,204,180h0Z"></path>'),kx=re('<path d="M204,168a28,28,0,0,0,12-2.69V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V165.31a28,28,0,1,1,0-50.62V72a8,8,0,0,1,8-8h46.69a28,28,0,1,1,50.61,0H208a8,8,0,0,1,8,8v42.69A28,28,0,1,0,204,168Z" opacity="0.2"></path><path d="M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.15,36.15,0,0,0-11.36-26.25,36,36,0,0,0-60.55,23.63,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,36.56,36.56,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"></path>',1),Sx=re('<path d="M165.78,224H208a16,16,0,0,0,16-16V170.35A8,8,0,0,0,212.94,163a23.37,23.37,0,0,1-8.94,1.77c-13.23,0-24-11.1-24-24.73s10.77-24.73,24-24.73a23.37,23.37,0,0,1,8.94,1.77A8,8,0,0,0,224,109.65V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36,36,0,0,0-72,0,35.36,35.36,0,0,0,.22,4H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36,36,0,0,0,0,72,35.36,35.36,0,0,0,4-.22V208a16,16,0,0,0,16,16h42.22"></path>'),Cx=re('<path d="M219.21,160.24a6,6,0,0,0-5.78-.35,22,22,0,1,1-11.05-41.83,22.15,22.15,0,0,1,11.05,2.06A6,6,0,0,0,222,114.7V72a14,14,0,0,0-14-14H169.48a35,35,0,0,0,.52-6,34.1,34.1,0,0,0-10.73-24.78,33.64,33.64,0,0,0-25.45-9.15A34,34,0,0,0,102.54,58H64A14,14,0,0,0,50,72v34.53a34,34,0,0,0-30.79,10.2,34,34,0,0,0,22.31,57.18,34.34,34.34,0,0,0,8.48-.44V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V165.31A6,6,0,0,0,219.21,160.24ZM210,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V165.31a6,6,0,0,0-6-6,5.92,5.92,0,0,0-2.57.58,22,22,0,0,1-31.38-18.46,22,22,0,0,1,31.38-21.31A6,6,0,0,0,62,114.7V72a2,2,0,0,1,2-2h46.69a6,6,0,0,0,5.42-8.57,22.25,22.25,0,0,1-2-11,22,22,0,1,1,41.83,11A6,6,0,0,0,161.3,70H208a2,2,0,0,1,2,2v34.54a34,34,0,0,0-39.93,31.28,33.71,33.71,0,0,0,9.14,25.45A34.15,34.15,0,0,0,210,173.48Z"></path>'),Px=re('<path d="M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.11,36.11,0,0,0-11.36-26.24,36,36,0,0,0-60.55,23.62,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,35.68,35.68,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"></path>'),Rx=re('<path d="M218.14,161.93a4,4,0,0,0-3.86-.24,24,24,0,0,1-34.23-23.25,24,24,0,0,1,34.23-20.13A4,4,0,0,0,220,114.7V72a12,12,0,0,0-12-12H167a32,32,0,1,0-62.91-10.33A32.57,32.57,0,0,0,105,60H64A12,12,0,0,0,52,72v37a32,32,0,1,0-10.33,62.91A32.28,32.28,0,0,0,52,171v37a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V165.31A4,4,0,0,0,218.14,161.93ZM212,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V165.31a4,4,0,0,0-1.86-3.38,4,4,0,0,0-3.85-.24,24,24,0,0,1-34.24-20.13,24,24,0,0,1,34.24-23.25A4,4,0,0,0,60,114.7V72a4,4,0,0,1,4-4h46.69a4,4,0,0,0,3.62-5.71,24,24,0,0,1,20.13-34.24,24,24,0,0,1,23.25,34.24A4,4,0,0,0,161.31,68H208a4,4,0,0,1,4,4v37a32.57,32.57,0,0,0-10.33-.94A32,32,0,1,0,212,171Z"></path>'),Ax=re('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Ix(i,t){Je(t,!0);const e=Nt();let r=Dt(t,["$$slots","$$events","$$legacy","children"]),n=ne(()=>t.weight??e.weight??"regular"),o=ne(()=>t.color??e.color??"currentColor"),a=ne(()=>t.size??e.size??"1em"),s=ne(()=>t.mirrored??e.mirrored??!1);function l(f){let{weight:g,color:y,size:k,mirrored:C,...x}=f;return x}var c=Ax();Ot(c,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>l(e),()=>l(r)]);var u=Z(c);{var h=f=>{var g=te(),y=K(g);It(y,()=>t.children),S(f,g)};F(u,f=>{t.children&&f(h)})}var d=ue(u,2);{var p=f=>{var g=Ex();S(f,g)},_=f=>{var g=te(),y=K(g);{var k=x=>{var R=kx();Tt(),S(x,R)},C=x=>{var R=te(),O=K(R);{var z=A=>{var M=Sx();S(A,M)},B=A=>{var M=te(),$=K(M);{var Q=H=>{var D=Cx();S(H,D)},le=H=>{var D=te(),U=K(D);{var ce=N=>{var W=Px();S(N,W)},ee=N=>{var W=te(),_e=K(W);{var Te=G=>{var ie=Rx();S(G,ie)},oe=G=>{var ie=kt();ie.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),S(G,ie)};F(_e,G=>{m(n)==="thin"?G(Te):G(oe,!1)},!0)}S(N,W)};F(U,N=>{m(n)==="regular"?N(ce):N(ee,!1)},!0)}S(H,D)};F($,H=>{m(n)==="light"?H(Q):H(le,!1)},!0)}S(A,M)};F(O,A=>{m(n)==="fill"?A(z):A(B,!1)},!0)}S(x,R)};F(y,x=>{m(n)==="duotone"?x(k):x(C,!1)},!0)}S(f,g)};F(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}j(c),S(i,c),$e()}var Ox=pe('<div class="tooltip tooltip-right"><button><!></button></div>'),Dx=pe('<div class="absolute left-6 bottom-6 z-50 pointer-events-auto flex flex-col items-start transition-all duration-300"><div></div> <div class="tooltip tooltip-right"><button><!></button></div></div>');function Mx(i,t){Je(t,!0);const e=Rr(ui);let r=ne(()=>(hi.current,[...e.pluginMenuButtons].sort((u,h)=>(u.order??100)-(h.order??100)))),n=Ce(!1),o=ne(()=>(hi.current,bu()));function a(){me(n,!m(n))}var s=te(),l=K(s);{var c=u=>{var h=Dx(),d=Z(h);Yt(d,21,()=>m(r),k=>k.id,(k,C)=>{const x=ne(()=>m(C).icon),R=ne(()=>typeof Eu[m(C).tooltip]=="function"?Eu[m(C).tooltip]():m(C).tooltip);var O=Ox(),z=Z(O);z.__click=()=>{m(C).onClick(),me(n,!1)};var B=Z(z);Ii(B,()=>m(x),(A,M)=>{M(A,{size:28,weight:"bold"})}),j(z),j(O),Re(A=>{Ae(O,"data-tip",m(R)),Ae(z,"aria-label",m(C).tooltip),Ge(z,1,`btn btn-lg btn-circle shadow-lg ${A??""}`)},[()=>{var A,M;return(M=(A=m(C)).isActive)!=null&&M.call(A)?m(C).activeClass??"btn-primary":"btn-neutral"}]),S(k,O)}),j(d);var p=ue(d,2),_=Z(p);_.__click=a;var f=Z(_);{var g=k=>{us(k,{size:28,weight:"bold"})},y=k=>{Ix(k,{size:28,weight:"bold"})};F(f,k=>{m(n)?k(g):k(y,!1)})}j(_),j(p),j(h),Re(()=>{Ge(d,1,`flex flex-col-reverse gap-3 mb-3 transition-all duration-300 origin-bottom ${m(n)?"opacity-100 translate-y-0 scale-100":"opacity-0 translate-y-4 scale-90 pointer-events-none"}`),Ae(p,"data-tip",m(o)),Ge(_,1,`btn btn-lg btn-secondary btn-circle shadow-xl transition-transform duration-300 ${m(n)?"rotate-90":""}`),Ae(_,"aria-label",m(o))}),S(u,h)};F(l,u=>{m(r).length>0&&u(c)})}S(i,s),$e()}Ir(["click"]);var Lx=pe('<div class="mb-6 prose"><p><!></p></div>'),zx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),Hx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),Nx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),Fx=pe('<dialog class="modal"><div class="modal-box w-11/12 max-w-5xl"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <h3 class="font-bold text-lg mb-4"> </h3> <div class="py-4 overflow-y-auto max-h-[70vh]"><!> <dl class="grid grid-cols-1 md:grid-cols-[200px_1fr]"><!> <!> <!></dl></div> <div class="modal-action"><form method="dialog"><button class="btn"> </button></form></div></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog>');function Bx(i,t){Je(t,!0);const e=Rr(ui);let r=ne(()=>e.manifest),n=ne(()=>{const H=hi.current;if(!m(r))return[];const D=m(r).getMetadata();return D?D.map(U=>{let ce="",ee="";const N=W=>{if(typeof W=="string")return W;if(Array.isArray(W)){let _e=W.find(Te=>Te.locale===H||Te.language===H);return _e||(_e=W.find(Te=>Te.locale==="en"||Te.language==="en")),_e||(_e=W.find(Te=>!Te.locale&&!Te.language)),_e||(_e=W[0]),_e?_e.value:""}return String(W)};return U.getLabel?ce=N(U.getLabel()):U.label&&(ce=N(U.label)),U.getValue?ee=N(U.getValue()):U.value&&(ee=N(U.value)),{label:ce,value:ee}}):[]}),o=ne(()=>m(r)?m(r).getDescription():""),a=ne(()=>{var H;return m(r)?(H=m(r).getRequiredStatement())==null?void 0:H.getValue():""}),s=ne(()=>m(r)?m(r).getLicense():"");var l=Fx(),c=Z(l),u=Z(c),h=Z(u);h.__click=()=>e.toggleMetadataDialog(),j(u);var d=ue(u,2),p=Z(d,!0);j(d);var _=ue(d,2),f=Z(_);{var g=H=>{var D=Lx(),U=Z(D),ce=Z(U);br(ce,()=>m(o)),j(U),j(D),S(H,D)};F(f,H=>{m(o)&&H(g)})}var y=ue(f,2),k=Z(y);{var C=H=>{var D=zx(),U=K(D),ce=Z(U,!0);j(U);var ee=ue(U,2),N=Z(ee);br(N,()=>m(a)),j(ee),Re(W=>Ye(ce,W),[()=>lu()]),S(H,D)};F(k,H=>{m(a)&&H(C)})}var x=ue(k,2);{var R=H=>{var D=Hx(),U=K(D),ce=Z(U,!0);j(U);var ee=ue(U,2),N=Z(ee),W=Z(N,!0);j(N),j(ee),Re(_e=>{Ye(ce,_e),Ae(N,"href",m(s)),Ye(W,m(s))},[()=>cu()]),S(H,D)};F(x,H=>{m(s)&&H(R)})}var O=ue(x,2);Yt(O,17,()=>m(n),li,(H,D)=>{var U=Nx(),ce=K(U),ee=Z(ce,!0);j(ce);var N=ue(ce,2),W=Z(N);br(W,()=>m(D).value),j(N),Re(()=>Ye(ee,m(D).label)),S(H,U)}),j(y),j(_);var z=ue(_,2),B=Z(z),A=Z(B);A.__click=()=>e.toggleMetadataDialog();var M=Z(A,!0);j(A),j(B),j(z),j(c);var $=ue(c,2),Q=Z($);Q.__click=()=>e.toggleMetadataDialog();var le=Z(Q,!0);j(Q),j($),j(l),Re((H,D,U)=>{l.open=e.showMetadataDialog,Ye(p,H),Ye(M,D),Ye(le,U)},[()=>m(r)?m(r).getLabel().length&&m(r).getLabel()[0]?m(r).getLabel()[0].value:au():su(),()=>ns(),()=>ns()]),S(i,l),$e()}Ir(["click"]);var Vx=pe('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'),Ux=pe('<span class="loading loading-spinner loading-xs"></span>'),jx=pe('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),Gx=pe('<div class="text-center opacity-50 p-4"> </div>'),Zx=pe('<div class="text-center opacity-50 p-4 text-sm"> </div>'),Wx=pe('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'),qx=pe('<div class="leading-relaxed"><!></div>'),Xx=pe('<div class="p-3 text-sm border-b border-base-200 last:border-none hover:bg-base-200/30 transition-colors"><!></div>'),Yx=pe('<button><div class="text-sm font-bold opacity-80 bg-base-200/50 flex items-center justify-between py-2 px-3 border-b border-base-200"><span> </span> <span class="badge badge-sm badge-ghost"> </span></div> <div class="p-0"></div></button>'),Kx=pe('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>',1),Qx=pe('<div role="dialog"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="font-bold text-lg"> </h2> <!></div> <div class="p-4 border-b border-base-300 shrink-0"><div class="relative w-full"><input type="text" class="input input-bordered w-full pr-12"/> <button class="btn btn-primary absolute right-0 top-0 h-full rounded-l-none"><!></button></div></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><!></div></div>');function Ru(i,t){Je(t,!0);const e=Rr(ui);let r=Ce(""),n=ne(()=>{var p;return((p=e.config.search)==null?void 0:p.showCloseButton)??!0});ut(()=>{e.searchQuery!==Xe(()=>m(r))&&me(r,e.searchQuery,!0)});function o(){e.search(m(r))}function a(p){p.key==="Enter"&&o()}function s(p){const _=e.canvases[p];_&&e.setCanvas(_.id)}let l=ne(()=>{var p;return((p=e.config.search)==null?void 0:p.width)??"320px"}),c=ne(()=>{var p;return((p=e.config.search)==null?void 0:p.position)??"right"});var u=te(),h=K(u);{var d=p=>{var _=Qx(),f=Z(_),g=Z(f),y=Z(g,!0);j(g);var k=ue(g,2);{var C=D=>{var U=Vx();U.__click=()=>e.toggleSearchPanel();var ce=Z(U);us(ce,{size:20,weight:"bold"}),j(U),Re(ee=>Ae(U,"aria-label",ee),[()=>yu()]),S(D,U)};F(k,D=>{m(n)&&D(C)})}j(f);var x=ue(f,2),R=Z(x),O=Z(R);ba(O),O.__keydown=a;var z=ue(O,2);z.__click=o;var B=Z(z);{var A=D=>{var U=Ux();S(D,U)},M=D=>{Pu(D,{size:20,weight:"bold"})};F(B,D=>{e.isSearching?D(A):D(M,!1)})}j(z),j(R),j(x);var $=ue(x,2),Q=Z($);{var le=D=>{var U=jx();S(D,U)},H=D=>{var U=te(),ce=K(U);{var ee=W=>{var _e=Gx(),Te=Z(_e,!0);j(_e),Re(oe=>Ye(Te,oe),[()=>iu({query:e.searchQuery})]),S(W,_e)},N=W=>{var _e=te(),Te=K(_e);{var oe=ie=>{var qe=Zx(),se=Z(qe,!0);j(qe),Re(ge=>Ye(se,ge),[()=>nu()]),S(ie,qe)},G=ie=>{var qe=Kx(),se=K(qe),ge=Z(se,!0);j(se);var He=ue(se,2);Yt(He,17,()=>e.searchResults,li,(Ie,Ze)=>{var je=Yx();je.__click=()=>s(m(Ze).canvasIndex);var ye=Z(je),we=Z(ye),xe=Z(we,!0);j(we);var Ue=ue(we,2),v=Z(Ue);j(Ue),j(ye);var T=ue(ye,2);Yt(T,21,()=>m(Ze).hits.slice(0,1),li,(L,V)=>{var J=Xx(),fe=Z(J);{var Y=ze=>{var Ve=Wx(),ke=Z(Ve),Ke=Z(ke);br(Ke,()=>m(V).before),j(ke);var b=ue(ke,2),w=Z(b);br(w,()=>m(V).match),j(b);var E=ue(b,2),P=Z(E);br(P,()=>m(V).after),j(E),j(Ve),S(ze,Ve)},Ee=ze=>{var Ve=qx(),ke=Z(Ve);br(ke,()=>m(V).match),j(Ve),S(ze,Ve)};F(fe,ze=>{m(V).type==="hit"?ze(Y):ze(Ee,!1)})}j(J),S(L,J)}),j(T),j(je),Re(()=>{Ge(je,1,`w-full text-left bg-base-100 shadow-sm border border-base-200 rounded-box cursor-pointer hover:shadow-md transition-all block p-0 select-none ${e.currentCanvasIndex===m(Ze).canvasIndex?"ring-2 ring-primary bg-primary/5":""}`),Ye(xe,m(Ze).canvasLabel),Ye(v,`${m(Ze).hits.length??""}
|
|
21
|
+
${m(Ze).hits.length===1?"match":"matches"}`)}),S(Ie,je)}),Re(Ie=>Ye(ge,Ie),[()=>ou({count:e.searchResults.length})]),S(ie,qe)};F(Te,ie=>{e.searchResults.length===0&&!e.searchQuery?ie(oe):ie(G,!1)},!0)}S(W,_e)};F(ce,W=>{e.searchResults.length===0&&e.searchQuery?W(ee):W(N,!1)},!0)}S(D,U)};F(Q,D=>{e.isSearching?D(le):D(H,!1)})}j($),j(_),Re((D,U,ce,ee)=>{Ge(_,1,`h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${e.config.transparentBackground?"":m(c)==="left"?"border-r border-base-300":"border-l border-base-300"}`),ci(_,`width: ${m(l)??""}`),Ae(_,"aria-label",D),Ye(y,U),Ae(O,"placeholder",ce),Ae(z,"aria-label",ee)},[()=>is(),()=>Io(),()=>ru(),()=>is()]),ac(O,()=>m(r),D=>me(r,D)),S(p,_)};F(h,p=>{e.showSearchPanel&&p(d)})}S(i,u),$e()}Ir(["click","keydown"]);var Jx=pe('<div class="h-full relative pointer-events-auto"><!></div>'),$x=pe('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'),e8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),t8=pe("<div><!> <!> <!></div>"),r8=pe('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'),i8=pe('<div class="w-full h-full flex items-center justify-center"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),n8=pe('<div class="w-full h-full flex items-center justify-center text-error"> </div>'),o8=pe('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'),a8=pe('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'),s8=pe('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'),l8=pe('<div class="relative w-full z-40 pointer-events-auto"><!></div>'),c8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),u8=pe('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'),h8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),d8=pe("<div><!> <!> <!></div>"),f8=pe('<div id="triiiceratops-viewer"><!> <div id="triiiceratops-center-panel" class="flex-1 relative min-w-0 flex flex-col"><!> <div><!> <!> <!> <!> <!> <!> <!> <!></div> <!> <!></div> <!></div>');function p8(i,t){Je(t,!0);const e=typeof window<"u";let r=tr(t,"plugins",19,()=>[]),n=tr(t,"config",19,()=>({})),o=tr(t,"viewerState",15),a=Ce(void 0);ut(()=>{m(a)&&(Tg(m(a),t.theme,t.themeConfig),s.setViewerElement(m(a)))});const s=new ng(null,void 0,[]);o(s),Xo(ui,s),pa(()=>{s.destroyAllPlugins()}),ut(()=>{t.manifestId&&t.manifestId!==s.manifestId&&s.setManifest(t.manifestId)});let l="";ut(()=>{t.canvasId&&t.canvasId!==l&&(l=t.canvasId,t.canvasId!==s.canvasId&&s.setCanvas(t.canvasId))});let c="";ut(()=>{if(n()){const se=JSON.stringify(n());se!==c&&(c=se,console.log("[Viewer] updateConfig called with new config:",n()),s.updateConfig(n()))}});let u=[];ut(()=>{const se=r();return Xe(()=>{for(const ge of u)s.unregisterPlugin(ge);u=[];for(const ge of se){const He=ge.id||`plugin-${Math.random().toString(36).substr(2,9)}`,Ie={...ge,id:He};s.registerPlugin(Ie),u.push(He)}}),()=>{for(const ge of u)s.unregisterPlugin(ge);u=[]}}),pa(()=>{s.destroyAllPlugins()}),ut(()=>{if(!e)return;const se=()=>{s.isFullScreen=!!document.fullscreenElement};return document.addEventListener("fullscreenchange",se),()=>{document.removeEventListener("fullscreenchange",se)}});let h=ne(()=>{var se;return s.showThumbnailGallery&&s.dockSide==="left"||s.showSearchPanel&&((se=s.config.search)==null?void 0:se.position)==="left"||s.pluginPanels.some(ge=>ge.position==="left"&&ge.isVisible())}),d=ne(()=>{var se;return s.showSearchPanel&&((se=s.config.search)==null?void 0:se.position)!=="left"||s.showThumbnailGallery&&s.dockSide==="right"||s.pluginPanels.some(ge=>ge.position==="right"&&ge.isVisible())}),p=ne(()=>s.manifestEntry),_=ne(()=>s.canvases),f=ne(()=>s.currentCanvasIndex);ut(()=>{if(s.pendingSearchQuery&&m(p)&&!m(p).isFetching&&!m(p).error&&m(p).manifesto){const se=s.pendingSearchQuery;s.pendingSearchQuery=null,console.log("[Viewer] Manifest loaded, triggering deferred search:",se),s.search(se)}}),ut(()=>{var se;m(_)&&m(_).length>0&&!s.canvasId&&!((se=m(p))!=null&&se.isFetching)&&(console.log("[Viewer] Auto-selecting first canvas:",m(_)[0].id),s.setCanvas(m(_)[0].id))});let g=ne(()=>{var T,L;if(!m(_)||m(f)===-1||!m(_)[m(f)])return(T=m(p))!=null&&T.isFetching||console.log("TriiiceratopsViewer: No canvas found"),null;const se=m(_)[m(f)];let ge=se.getImages();if((!ge||!ge.length)&&se.getContent&&(ge=se.getContent()),!ge||!ge.length)return se.__jsonld&&se.__jsonld.items,(L=m(p))!=null&&L.isFetching||console.log("TriiiceratopsViewer: No images/content in canvas"),null;const He=ge[0];let Ie=He.getResource?He.getResource():null;if(!Ie&&He.getBody){const V=He.getBody();Array.isArray(V)&&V.length>0?Ie=V[0]:V&&(Ie=V)}const Ze=(Ie==null?void 0:Ie.__jsonld)||Ie,je=Ie&&(Ie.id||Ie["@id"]||Ze&&(Ze.service||Ze.id||Ze["@id"]));if(Ie&&!je&&(Ie=null),!Ie){const V=He.__jsonld||He;V.body&&(Ie=Array.isArray(V.body)?V.body[0]:V.body)}if(!Ie)return null;const ye=V=>V.id||V["@id"];let we=[];const xe=Ie.__jsonld||Ie;if(xe.service&&(we=Array.isArray(xe.service)?xe.service:[xe.service]),!we.length&&Ie.getServices&&(we=Ie.getServices()),we.length>0){const V=we.find(J=>{const fe=J.getType?J.getType():J.type||J["@type"]||"",Y=J.getProfile?J.getProfile():J.profile||"";return fe==="ImageService1"||fe==="ImageService2"||fe==="ImageService3"||typeof Y=="string"&&Y.includes("http://iiif.io/api/image")||typeof Y=="string"&&Y==="level0"});if(V){let J=ye(V);return J&&!J.endsWith("/info.json")&&(J=`${J}/info.json`),J}}const Ue=ye(Ie);if(Ue&&Ue.includes("/iiif/")){const V=Ue.split("/"),J=V.findIndex(fe=>fe==="full"||fe.match(/^\d+,\d+,\d+,\d+$/));if(J>0)return`${V.slice(0,J).join("/")}/info.json`}return console.log("TriiiceratopsViewer: No service or ID found, returning raw URL"),{type:"image",url:Ue}});var y=f8(),k=Z(y);{var C=se=>{var ge=t8(),He=Z(ge);{var Ie=we=>{var xe=Jx(),Ue=Z(xe);Ru(Ue,{}),j(xe),S(we,xe)};F(He,we=>{var xe;s.showSearchPanel&&((xe=s.config.search)==null?void 0:xe.position)==="left"&&we(Ie)})}var Ze=ue(He,2);{var je=we=>{var xe=$x(),Ue=Z(xe);cn(Ue,{get canvases(){return m(_)}}),j(xe),S(we,xe)};F(Ze,we=>{s.showThumbnailGallery&&s.dockSide==="left"&&we(je)})}var ye=ue(Ze,2);Yt(ye,17,()=>s.pluginPanels,we=>we.id,(we,xe)=>{var Ue=te(),v=K(Ue);{var T=L=>{var V=e8(),J=Z(V);Ii(J,()=>m(xe).component,(fe,Y)=>{Y(fe,an(()=>m(xe).props??{},{get locale(){return hi.current}}))}),j(V),S(L,V)};F(v,L=>{m(xe).isVisible()&&m(xe).position==="left"&&L(T)})}S(we,Ue)}),j(ge),Re(()=>Ge(ge,1,`flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground?"":"bg-base-200 border-r border-base-300"}`)),S(se,ge)};F(k,se=>{m(h)&&se(C)})}var x=ue(k,2),R=Z(x);{var O=se=>{var ge=r8(),He=Z(ge);cn(He,{get canvases(){return m(_)}}),j(ge),S(se,ge)};F(R,se=>{s.showThumbnailGallery&&s.dockSide==="top"&&se(O)})}var z=ue(R,2),B=Z(z);{var A=se=>{var ge=i8();S(se,ge)},M=se=>{var ge=te(),He=K(ge);{var Ie=je=>{var ye=n8(),we=Z(ye);j(ye),Re(xe=>Ye(we,`${xe??""}
|
|
22
22
|
${m(p).error??""}`),[()=>xu()]),S(je,ye)},Ze=je=>{var ye=te(),we=K(ye);{var xe=v=>{var T=te(),L=K(T);Wl(L,()=>m(g),V=>{zg(V,{get tileSources(){return m(g)},get viewerState(){return s}})}),S(v,T)},Ue=v=>{var T=te(),L=K(T);{var V=J=>{var fe=o8(),Y=Z(fe,!0);j(fe),Re(Ee=>Ye(Y,Ee),[()=>Tu()]),S(J,fe)};F(L,J=>{m(p)&&!m(p).isFetching&&!m(g)&&J(V)},!0)}S(v,T)};F(we,v=>{m(g)?v(xe):v(Ue,!1)},!0)}S(je,ye)};F(He,je=>{var ye;(ye=m(p))!=null&&ye.error?je(Ie):je(Ze,!1)},!0)}S(se,ge)};F(B,se=>{var ge;(ge=m(p))!=null&&ge.isFetching?se(A):se(M,!1)})}var $=ue(B,2);Gy($,{});var Q=ue($,2);Bx(Q,{});var le=ue(Q,2);{var H=se=>{Tx(se,{})};F(le,se=>{s.showRightMenu&&se(H)})}var D=ue(le,2);{var U=se=>{Mx(se,{})};F(D,se=>{s.showLeftMenu&&se(U)})}var ce=ue(D,2);Yt(ce,17,()=>s.pluginPanels,se=>se.id,(se,ge)=>{var He=te(),Ie=K(He);{var Ze=je=>{var ye=a8(),we=Z(ye);Ii(we,()=>m(ge).component,(xe,Ue)=>{Ue(xe,an(()=>m(ge).props??{},{get locale(){return hi.current}}))}),j(ye),S(je,ye)};F(Ie,je=>{m(ge).isVisible()&&m(ge).position==="overlay"&&je(Ze)})}S(se,He)});var ee=ue(ce,2);{var N=se=>{hy(se,{get viewerState(){return s}})};F(ee,se=>{m(_).length>1&&s.showCanvasNav&&se(N)})}var W=ue(ee,2);{var _e=se=>{cn(se,{get canvases(){return m(_)}})};F(W,se=>{s.showThumbnailGallery&&s.dockSide==="none"&&se(_e)})}j(z);var Te=ue(z,2);{var oe=se=>{var ge=s8(),He=Z(ge);cn(He,{get canvases(){return m(_)}}),j(ge),S(se,ge)};F(Te,se=>{s.showThumbnailGallery&&s.dockSide==="bottom"&&se(oe)})}var G=ue(Te,2);Yt(G,17,()=>s.pluginPanels,se=>se.id,(se,ge)=>{var He=te(),Ie=K(He);{var Ze=je=>{var ye=l8(),we=Z(ye);Ii(we,()=>m(ge).component,(xe,Ue)=>{Ue(xe,an(()=>m(ge).props??{},{get locale(){return hi.current}}))}),j(ye),S(je,ye)};F(Ie,je=>{m(ge).isVisible()&&m(ge).position==="bottom"&&je(Ze)})}S(se,He)}),j(x);var ie=ue(x,2);{var qe=se=>{var ge=d8(),He=Z(ge);{var Ie=we=>{var xe=c8(),Ue=Z(xe);Ru(Ue,{}),j(xe),S(we,xe)};F(He,we=>{var xe;s.showSearchPanel&&((xe=s.config.search)==null?void 0:xe.position)!=="left"&&we(Ie)})}var Ze=ue(He,2);{var je=we=>{var xe=u8(),Ue=Z(xe);cn(Ue,{get canvases(){return m(_)}}),j(xe),S(we,xe)};F(Ze,we=>{s.showThumbnailGallery&&s.dockSide==="right"&&we(je)})}var ye=ue(Ze,2);Yt(ye,17,()=>s.pluginPanels,we=>we.id,(we,xe)=>{var Ue=te(),v=K(Ue);{var T=L=>{var V=h8(),J=Z(V);Ii(J,()=>m(xe).component,(fe,Y)=>{Y(fe,an(()=>m(xe).props??{},{get locale(){return hi.current}}))}),j(V),S(L,V)};F(v,L=>{m(xe).isVisible()&&m(xe).position==="right"&&L(T)})}S(we,Ue)}),j(ge),Re(()=>Ge(ge,1,`flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground?"":"bg-base-200 border-l border-base-300"}`)),S(se,ge)};F(ie,se=>{m(d)&&se(qe)})}j(y),Mi(y,se=>me(a,se),()=>m(a)),Re(()=>{Ge(y,1,`flex w-full h-full relative overflow-hidden ${s.config.transparentBackground?"":"bg-base-100"}`),Ge(z,1,`flex-1 relative min-h-0 w-full h-full ${s.config.transparentBackground?"":"bg-base-100"}`)}),S(i,y),$e()}var g8=pe('<!> <div class="w-full h-full"><!></div>',1);function v8(i,t){Je(t,!0);let e=tr(t,"manifestId",7,""),r=tr(t,"canvasId",7,""),n=tr(t,"plugins",23,()=>[]),o=tr(t,"theme",7,void 0),a=tr(t,"themeConfig",7,void 0),s=tr(t,"config",7,void 0),l,c=Ce(void 0),u=!1;ut(()=>{m(c)&&l&&!u&&(u=!0,m(c).setEventTarget(l))});let h=ne(()=>{if(o()){if(_g(o()))return o();console.warn(`Invalid theme "${o()}". Using inherited theme.`)}}),d=ne(()=>{if(a()){if(typeof a()=="string"){const C=xg(a());return C||console.warn(`Invalid theme-config JSON: "${a()}". Ignoring.`),C??void 0}return a()}}),p=ne(()=>{if(s()){if(typeof s()=="string")try{return JSON.parse(s())}catch{console.warn(`Invalid config JSON: "${s()}". Ignoring.`);return}return s()}});var _={get manifestId(){return e()},set manifestId(C=""){e(C),Mt()},get canvasId(){return r()},set canvasId(C=""){r(C),Mt()},get plugins(){return n()},set plugins(C=[]){n(C),Mt()},get theme(){return o()},set theme(C=void 0){o(C),Mt()},get themeConfig(){return a()},set themeConfig(C=void 0){a(C),Mt()},get config(){return s()},set config(C=void 0){s(C),Mt()}},f=g8(),g=K(f);br(g,()=>`<style>${h0}</style>`);var y=ue(g,2),k=Z(y);return p8(k,{get manifestId(){return e()},get canvasId(){return r()},get plugins(){return n()},get theme(){return m(h)},get themeConfig(){return m(d)},get config(){return m(p)},get viewerState(){return m(c)},set viewerState(C){me(c,C,!0)}}),j(y),Mi(y,C=>l=C,()=>l),S(i,f),$e(_)}customElements.define("triiiceratops-viewer",gc(v8,{manifestId:{attribute:"manifest-id",reflect:!0,type:"String"},canvasId:{attribute:"canvas-id",reflect:!0,type:"String"},theme:{attribute:"theme",reflect:!0,type:"String"},themeConfig:{attribute:"theme-config",type:"String"},config:{attribute:"config",type:"String"},plugins:{}},[],[],!0)),window.__TriiiceratopsSvelteRuntime={svelte:df,internal:c0},window.TriiiceratopsPlugins=window.TriiiceratopsPlugins||{};var Mo={exports:{}},m8=Mo.exports,Au;function _8(){return Au||(Au=1,(function(i){//! openseadragon 5.0.1
|
|
23
23
|
//! Built on 2024-12-09
|
|
24
24
|
//! Git commit: v5.0.1-0-480de92d
|