hypersig-ts 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -1
- package/README.ja.md +20 -15
- package/README.md +20 -15
- package/dist/action.d.ts +15 -1
- package/dist/action.d.ts.map +1 -1
- package/dist/action.js +13 -8
- package/dist/action.js.map +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.d.ts.map +1 -1
- package/dist/element.d.ts +19 -7
- package/dist/element.d.ts.map +1 -1
- package/dist/element.js.map +1 -1
- package/dist/hono.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/live-runtime.js +1 -1
- package/dist/live-runtime.js.map +1 -1
- package/dist/live.d.ts +11 -2
- package/dist/live.d.ts.map +1 -1
- package/dist/protocol.d.ts +10 -1
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +9 -2
- package/dist/protocol.js.map +1 -1
- package/dist/redis.d.ts +48 -0
- package/dist/redis.d.ts.map +1 -0
- package/dist/redis.js +58 -0
- package/dist/redis.js.map +1 -0
- package/dist/runtime.js +3 -3
- package/dist/signal-runtime.d.ts.map +1 -1
- package/dist/signal-runtime.js +87 -18
- package/dist/signal-runtime.js.map +1 -1
- package/dist/signal.d.ts +37 -10
- package/dist/signal.d.ts.map +1 -1
- package/dist/signal.js +25 -11
- package/dist/signal.js.map +1 -1
- package/package.json +10 -3
package/dist/runtime.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var H5={view:"view",pristine:"pristine"};function l6(Q){return typeof Q==="string"&&Q.length<=6144&&/^[A-Za-z0-9_-]+$/.test(Q)}var S4={update:"html-update",ready:"ready",viewError:"view-error",reset:"reset",denied:"access-denied",reconnect:"reconnect",evicted:"evicted"},Y6=0,e4={error:"data-hs-error",connectionStatus:"data-hs-connection-status",fieldError:"data-hs-field-error"},o={signals:"data-hs-signals",text:"data-hs-text",show:"data-hs-show",attr:"data-hs-attr",bind:"data-hs-bind",ref:"data-hs-ref",onSuccess:"data-hs-on-success",onError:"data-hs-on-error",onSubmit:"data-hs-on-submit"},f4={click:"data-hs-on-click",input:"data-hs-on-input",change:"data-hs-on-change",keydown:"data-hs-on-keydown",focusEnter:"data-hs-on-focus-enter",focusLeave:"data-hs-on-focus-leave"},G4={onCustom:"data-hs-on-custom",ownsChildren:"data-hs-owns-children",elementAttr:"data-hs-element-attr",elementJson:"data-hs-element-json"};function d6(Q){return JSON.stringify(Q)}var F8=["disabled","checked","aria-pressed","aria-expanded","aria-current","aria-hidden","aria-invalid","aria-busy","aria-activedescendant","aria-selected","aria-controls","aria-label","tabindex","hidden"],a6=["disabled","checked","hidden"],H8=new Set(F8);function r6(Q){if(Q!==Q.toLowerCase())return!1;if(H8.has(Q))return!0;return Q.startsWith("data-")&&Q.length>5&&!Q.startsWith("data-hs-")}var R8=/^[a-z][a-z0-9._-]*-[a-z0-9._-]*$/,k8=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function R5(Q){return R8.test(Q)&&!k8.has(Q)}var D8=/^[a-z][a-z0-9.:_-]*$/,I8=["click","input","change","submit"],M8=new Set(I8);function o6(Q){return D8.test(Q)&&!M8.has(Q)}var O8=/^[a-z][a-z0-9._-]*$/,P8=new Set(["draggable","spellcheck","contenteditable"]);function n6(Q){return Q.startsWith("aria-")||Q.startsWith("data-")||P8.has(Q)}function Q5(Q){return O8.test(Q)&&!Q.startsWith("on")&&Q!=="style"&&Q!=="id"&&!Q.startsWith("data-hs-")}var b8=new Set(["and","or","eq","ne","gt","ge","lt","le","add","sub","mul","concat","includes","mod"]),Y5=64;function l4(Q){return t6(Q,1)}function t6(Q,q){if(Q===null)return!0;if(typeof Q==="string"||typeof Q==="boolean")return!0;if(typeof Q==="number")return Number.isFinite(Q);if(typeof Q!=="object"||q>Y5)return!1;let Z=(J)=>t6(J,q+1);if(Array.isArray(Q))return Q.every(Z);return Object.values(Q).every((J)=>J===void 0||Z(J))}function i4(Q){return Array.isArray(Q)&&Q.length>0&&Q.every((q)=>typeof q==="string")}function q6(Q){return s4(Q,1)}function s4(Q,q){if(!Array.isArray(Q)||q>Y5)return!1;let[Z,J,z,H]=Q;if(typeof Z!=="string")return!1;let D=(N)=>s4(N,q+1);if(b8.has(Z))return Q.length===3&&D(J)&&D(z);switch(Z){case"lit":return Q.length===2&&l4(J);case"sig":return Q.length===2&&i4(J);case"not":case"length":case"trim":case"lower":return Q.length===2&&D(J);case"clamp":case"at":case"if":return Q.length===4&&D(J)&&D(z)&&D(H);case"get":return Q.length===3&&D(J)&&typeof z==="string";case"uuid":case"output":case"detail":return Q.length===1;default:return!1}}function S8(Q,q){if(!Array.isArray(Q)||q>Y5)return!1;let[Z,J,z,H,D]=Q;switch(Z){case"set":return Q.length===3&&i4(J)&&s4(z,q+1);case"toggle":return Q.length===2&&i4(J);case"focus":return Q.length===2&&typeof J==="string";case"focus-key":return Q.length===3&&typeof J==="string"&&s4(z,q+1);case"call":return Q.length===5&&typeof J==="string"&&L8(z,q+1)&&u4(H,q+1)&&u4(D,q+1);case"after":return Q.length===4&&typeof J==="string"&&w8(z)&&u4(H,q+1);case"cancel":return Q.length===2&&typeof J==="string";case"when":return Q.length===4&&s4(J,q+1)&&u4(z,q+1)&&u4(H,q+1);default:return!1}}var C8=2147483647;function w8(Q){return typeof Q==="number"&&Number.isInteger(Q)&&Q>=0&&Q<=C8}function L8(Q,q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)&&Object.values(Q).every((Z)=>s4(Z,q))}function Z6(Q){return u4(Q,1)}function u4(Q,q){return Array.isArray(Q)&&Q.every((Z)=>S8(Z,q))}function x8(Q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)}function e6(Q,q){if(typeof Q!=="object"||Q===null)return Object.is(Q,q);return JSON.stringify(Q)===JSON.stringify(q)}function X4(Q){return Q!==null&&Q!==!1&&Q!==0&&Q!==""}function y8(Q,q,Z){if(!(typeof q==="number"&&typeof Z==="number")&&!(typeof q==="string"&&typeof Z==="string"))return null;switch(Q){case"gt":return q>Z;case"ge":return q>=Z;case"lt":return q<Z;case"le":return q<=Z}}function _8(Q,q,Z){if(typeof q!=="number"||typeof Z!=="number")return null;let J=Q==="add"?q+Z:Q==="sub"?q-Z:q*Z;return Number.isFinite(J)?J:null}function f8(Q,q){let Z=(J)=>typeof J==="string"||typeof J==="number";if(!Z(Q)||!Z(q))return null;return`${Q}${q}`}function h8(Q){return typeof Q==="string"||Array.isArray(Q)?Q.length:0}function T8(Q,q,Z){if(typeof q!=="number")return 0;if(typeof Q!=="number"||typeof Z!=="number")return q;return Math.max(q,Math.min(Q,Z))}function A8(Q,q){if(typeof Q!=="number"||typeof q!=="number")return 0;if(q===0)return 0;let Z=(Q%q+q)%q;return Number.isFinite(Z)?Z:0}function g8(Q,q,Z){if(Array.isArray(Q)&&typeof q==="number"&&Number.isInteger(q)&&q>=0&&q<Q.length)return Q[q]??null;return Z()}function I4(Q,q){return Q7(Q,q,1)}function Q7(Q,q,Z){if(Z>Y5)return null;let J=(z)=>Q7(z,q,Z+1);switch(Q[0]){case"lit":return Q[1];case"sig":return q.read(Q[1])??null;case"not":return!X4(J(Q[1]));case"and":return X4(J(Q[1]))&&X4(J(Q[2]));case"or":return X4(J(Q[1]))||X4(J(Q[2]));case"eq":return e6(J(Q[1]),J(Q[2]));case"ne":return!e6(J(Q[1]),J(Q[2]));case"gt":case"ge":case"lt":case"le":return y8(Q[0],J(Q[1]),J(Q[2]));case"add":case"sub":case"mul":return _8(Q[0],J(Q[1]),J(Q[2]));case"concat":return f8(J(Q[1]),J(Q[2]));case"length":return h8(J(Q[1]));case"trim":{let z=J(Q[1]);return typeof z==="string"?z.trim():""}case"lower":{let z=J(Q[1]);return typeof z==="string"?z.toLowerCase():""}case"includes":{let z=J(Q[1]),H=J(Q[2]);return typeof z==="string"&&typeof H==="string"?z.includes(H):!1}case"clamp":return T8(J(Q[1]),J(Q[2]),J(Q[3]));case"mod":return A8(J(Q[1]),J(Q[2]));case"at":return g8(J(Q[1]),J(Q[2]),()=>J(Q[3]));case"if":return X4(J(Q[1]))?J(Q[2]):J(Q[3]);case"get":{let z=J(Q[1]);return(x8(z)&&Object.hasOwn(z,Q[2])?z[Q[2]]:void 0)??null}case"uuid":return q.uuid();case"output":return q.output??null;case"detail":return q.detail??null}}function q5(Q){if(Q===null)return"";if(typeof Q==="string")return Q;if(typeof Q==="number"||typeof Q==="boolean")return String(Q);return JSON.stringify(Q)}var p8="[data-hs-view]",E8=new Set(a6);function h4(Q){return Q!==null&&"nodeType"in Q&&Q.nodeType===1}function d4(Q){return Q.tagName==="INPUT"||Q.tagName==="TEXTAREA"}var v8=new Set(["email","number","password","search","tel","text","url"]);function M5(Q){return Q!==null&&d4(Q)&&(Q.tagName==="TEXTAREA"||v8.has(Q.type))}var N8=new Set(["script","style"]);function c8(Q){return Q==="string"||Q==="number"||Q==="boolean"}function k5(Q,q,Z){let J=(Q.get(q)??0)+Z;if(J)Q.set(q,J);else Q.delete(q);return J}function m8(Q){return!Q[0]?.startsWith("$")}function A4(Q,q){let Z=Q.getAttribute(q);if(Z===null)return;try{return JSON.parse(Z)}catch{return}}function Y7(Q,q){let Z=A4(Q,q);return q6(Z)?Z:void 0}function T4(Q,q){let Z=A4(Q,q);return Z6(Z)?Z:[]}function u8(Q){return Array.isArray(Q)&&(Q.length===2||Q.length===3&&Q[2]===Y6)&&i4(Q[0])&&l4(Q[1])}function s8(Q,q){let Z=A4(Q,q);if(!Array.isArray(Z))return new Set;return new Set(Z.filter((J)=>typeof J==="string"))}function J6(Q,q,Z){if(Q.getAttribute(q)!==Z)Q.setAttribute(q,Z)}function i8(Q){return Array.isArray(Q)&&Q.length===2&&typeof Q[0]==="string"&&Z6(Q[1])}function J7(Q,q){let Z=A4(Q,q);return Array.isArray(Z)?Z.filter(i8):[]}function q7(Q){return J7(Q,G4.onCustom).filter(([q])=>o6(q))}function l8(Q){return(Q.ctrlKey?"Control+":"")+(Q.altKey?"Alt+":"")+(Q.shiftKey&&(Q.key.length!==1||Q.key===" ")?"Shift+":"")+(Q.metaKey?"Meta+":"")+Q.key}var d8=new Set(["Tab","Shift+Tab"]);function K6(Q){return R5(Q.localName)}var a8=`[${G4.ownsChildren}]`;function $4(Q){return Q.parentElement?.closest(a8)!=null}function W4(Q,q){return[...Q.querySelectorAll(q)].filter((Z)=>!$4(Z))}function I5(Q,q){let Z=Q.closest(q);while(Z&&$4(Z))Z=Z.parentElement?.closest(q)??null;return Z}function Z7(Q,q){let Z=Q.parentElement;return Z&&I5(Z,q)}function r8(Q){let q=A4(Q,o.signals);return Array.isArray(q)?q.filter(u8):[]}function D5(Q){let q=A4(Q,o.bind);if(!Array.isArray(q)||q.length!==2)return;let Z=q[0],J=q[1];return i4(Z)&&c8(J)?{path:Z,kind:J}:void 0}function o8(Q,q){if(q==="boolean")return"checked"in Q?Q.checked:void 0;if(q==="string")return Q.value;if(Q.value.trim()==="")return;let Z=Number(Q.value);return Number.isFinite(Z)?Z:void 0}function n8(Q,q){if(Q.type==="hidden")return!0;if(q==="boolean"&&"checked"in Q)return Q.checked!==Q.defaultChecked;return Q.value!==Q.defaultValue}function K7(Q){let{root:q}=Q,Z=new Map,J={read:u,uuid:()=>Q.uuid?.()??crypto.randomUUID()},z=new Map,H=new Map,D=new WeakMap,N=new Map,T=!1;function u(j){return Z.get(JSON.stringify(j))}function g(j,U){Z.set(JSON.stringify(j),U),p()}function p(){if(T)return;T=!0,queueMicrotask(()=>{T=!1,X()})}function A(j,U){if(m8(j))g(j,U)}function b(j,U){for(let[I,x,v]of r8(j)){let c=JSON.stringify(I);if(c===U)continue;if(v===Y6&&Z.has(c))continue;A(I,x)}}function h(){let j=q.activeElement,U=M5(j)?D5(j):void 0;return U&&JSON.stringify(U.path)}function k(j){let U=D5(j);if(!U)return;let I=o8(j,U.kind);if(I!==void 0)A(U.path,I)}function w(j,U){let I=A4(j,U);if(typeof I!=="object"||I===null||Array.isArray(I))return;let x=[];for(let v of Object.keys(I)){let c=Reflect.get(I,v);if(q6(c))x.push([v,c])}return x}function _(j){for(let[U,I]of w(j,o.attr)??[]){if(!r6(U))continue;let x=I4(I,J);if(E8.has(U)){if(j.toggleAttribute(U,X4(x)),U==="checked"&&d4(j)&&"checked"in j)j.checked=X4(x)}else J6(j,U,q5(x))}}function S(j){if(!K6(j))return;let U=w(j,G4.elementAttr),I=s8(j,G4.elementJson);for(let[x,v]of U??[]){if(!Q5(x))continue;let c=I4(v,J);if(I.has(x))J6(j,x,d6(c));else if(typeof c==="boolean"&&!n6(x))j.toggleAttribute(x,c);else J6(j,x,q5(c))}}function B(j){if(!d4(j))return;if(j===q.activeElement&&M5(j))return;let U=D5(j),I=U&&u(U.path);if(!U||I===void 0)return;if(U.kind==="boolean"){if("checked"in j)j.checked=X4(I);return}let x=q5(I);if(j.value!==x)j.value=x}function M(j){let U=D.get(j)??new Set;D.set(j,U);for(let[I]of q7(j)){if(U.has(I))continue;U.add(I),j.addEventListener(I,(x)=>{if($4(j))return;let v="detail"in x?x.detail:null;for(let[c,q4]of q7(j))if(c===I)O(q4,j,null,l4(v)?v:null)})}}function X(){for(let j of W4(q,`[${G4.onCustom}]`))if(K6(j))M(j);for(let j of W4(q,`[${o.text}]`)){if(N8.has(j.localName))continue;let U=Y7(j,o.text);if(!U)continue;let I=q5(I4(U,J));if(j.textContent!==I)j.textContent=I}for(let j of W4(q,`[${o.show}]`)){let U=Y7(j,o.show);if(U)j.toggleAttribute("hidden",!X4(I4(U,J)))}for(let j of W4(q,`[${o.attr}]`))_(j);for(let j of W4(q,`[${G4.elementAttr}]`))S(j);for(let j of W4(q,`[${o.bind}]`))B(j)}function $(j){if(T)X();for(let U of W4(q,`[${o.ref}]`))if(U.getAttribute(o.ref)===j){U.focus();return}}function G(j){return z.has(j)}async function W(j,U,I,x,v,c=null){let q4=["$pending",U];k5(z,j,1),j.setAttribute("data-hs-pending",""),k5(H,U,1),g(q4,!0);let K4={ok:!1};try{if(Q.send)K4=await Q.send(j,U,I)}catch{}if(k5(z,j,-1)===0)j.removeAttribute("data-hs-pending");if(g(q4,k5(H,U,-1)>0),K4.ok)g(["$restored",U],!1),O(x,j,K4.data,c);else O(v,j,null,c);return K4}function O(j,U,I=null,x=null){let v={...J,output:I,detail:x};for(let c of j)switch(c[0]){case"set":A(c[1],I4(c[2],v));break;case"toggle":A(c[1],!X4(u(c[1])??null));break;case"focus":$(c[1]);break;case"focus-key":{let q4=I4(c[2],v);if(typeof q4==="string")$(JSON.stringify([c[1],q4]));break}case"call":{if(!U)break;let[,q4,K4,R4,r4]=c,L5=Object.fromEntries(Object.entries(K4).map(([x5,y5])=>[x5,I4(y5,v)]));W(U,q4,JSON.stringify(L5),R4,r4,x);break}case"after":{let[,q4,K4,R4]=c;clearTimeout(N.get(q4)),N.set(q4,setTimeout(()=>{N.delete(q4),O(R4,U?.isConnected?U:null,I,x)},K4));break}case"cancel":clearTimeout(N.get(c[1])),N.delete(c[1]);break;case"when":{let[,q4,K4,R4]=c,r4=X4(I4(q4,v))?K4:R4;O(r4,U,I,x);break}}}for(let j of W4(q,`[${o.signals}]`))b(j);for(let j of Q.restoredActions??[])g(["$restored",j],!0);for(let j of W4(q,`[${o.bind}]`)){let U=D5(j);if(U&&d4(j)&&n8(j,U.kind))k(j)}X();for(let j of["click","input","change"]){let U=f4[j];q.addEventListener(j,(I)=>{let x=I.target;if(!h4(x))return;if(j!=="click"&&d4(x)&&!$4(x))k(x);let v=I5(x,`[${U}]`);if(v&&!(j==="click"&&G(v)))O(T4(v,U),v)})}let C=`[${f4.keydown}]`;q.addEventListener("keydown",(j)=>{let U=j.target;if(j.isComposing||j.keyCode===229||!h4(U))return;if(j.defaultPrevented)return;let I=l8(j);for(let x=I5(U,C);x;x=Z7(x,C)){let v=J7(x,f4.keydown).find(([c])=>c===I);if(!v)continue;if(!d8.has(I))j.preventDefault();if(!G(x))O(v[1],x);return}});function P(j,U,I){let x=`[${j}]`;for(let v=I5(U,x);v&&!(I&&v.contains(I));v=Z7(v,x))if(!G(v))O(T4(v,j),v)}let y=q.activeElement,s=null;return q.addEventListener("focusin",(j)=>{let U=j.target;if(!h4(U))return;let I=j.relatedTarget,x=y;if(s&&I===s.target)x=s.from;else if(h4(I))x=I;else if(x?.isConnected){y=U,s={target:U,from:x};try{P(f4.focusLeave,x,U)}finally{s=null}if(y!==U)return}y=U,P(f4.focusEnter,U,x)}),q.addEventListener("focusout",(j)=>{let U=j.target;if(!h4(U))return;let I=h4(j.relatedTarget)?j.relatedTarget:null;if(!I&&!q.hasFocus())return;if(y=I,U===s?.target)return;P(f4.focusLeave,U,I)}),q.addEventListener("reset",(j)=>{let U=j.target;if(!h4(U))return;queueMicrotask(()=>{for(let I of W4(U,`[${o.bind}]`))if(d4(I))k(I)})}),{applySnapshots(j){let U=h();for(let I of W4(j,`[${o.signals}]`))if(I.closest(p8)===j)b(I,U);p()},send(j,U,I){if($4(j)||G(j))return Promise.resolve({ok:!1});return W(j,U,I,T4(j,o.onSuccess),T4(j,o.onError))},sendForm(j,U,I){if($4(j)||G(j))return Promise.resolve({ok:!1});return O(T4(j,o.onSubmit),j),X(),W(j,U,new FormData(j,I),T4(j,o.onSuccess),T4(j,o.onError))},isSending:G,keepsChildren(j,U){let I=G4.ownsChildren;return j.hasAttribute(I)&&U.hasAttribute(I)&&j.tagName===U.tagName&&j.getAttribute("id")===U.getAttribute("id")},boundElementAttributes(j){if(!K6(j))return new Set;let U=w(j,G4.elementAttr);return new Set((U??[]).map(([I])=>I).filter((I)=>Q5(I)))},write:g,read:u}}var $6="hypersig:reset-draft";function O5(Q){return Array.isArray(Q)}function $7(){let Q=new Map;for(let q of document.querySelectorAll("form[data-hs-draft-form]")){let Z=q.dataset.hsDraftForm;if(!Z||Q.has(Z)||q.closest("[data-hs-view]")||$4(q))continue;let J=new Map;for(let z of q.querySelectorAll("[data-hs-draft]")){let H=z.getAttribute("name");if(!H||J.has(H)||z.closest("[data-hs-view]")||$4(z))continue;if(z instanceof HTMLTextAreaElement||z instanceof HTMLInputElement&&["text","search","email","tel","url","number","hidden"].includes(z.type))J.set(H,z)}Q.set(Z,{form:q,fields:J})}return Q}function j7(Q){let q=[];for(let[Z,{fields:J}]of $7())if([...J.values()].some((z)=>z.value!==z.defaultValue))q.push([Z,[...J].map(([z,H])=>[z,H.value])]);if(!q.length)return!0;if(!Q)return!1;try{return sessionStorage.setItem($6,JSON.stringify({url:location.pathname+location.search,scope:Q,expires:Date.now()+120000,drafts:q})),!0}catch{return!1}}function X7(Q){let q=[];try{let Z=sessionStorage.getItem($6);if(!Z)return q;sessionStorage.removeItem($6);let J=JSON.parse(Z);if(!Q||!J||typeof J!=="object"||!("scope"in J)||J.scope!==Q||!("url"in J)||J.url!==location.pathname+location.search||!("expires"in J)||typeof J.expires!=="number"||J.expires<Date.now()||!("drafts"in J)||!O5(J.drafts))return q;let z=$7();for(let H of J.drafts){if(!O5(H))continue;let[D,N]=H,T=typeof D==="string"?z.get(D):void 0;if(!T||!O5(N)||T.fields.size!==N.length)continue;let u=new Map;for(let g of N){if(!O5(g))continue;let[p,A]=g,b=typeof p==="string"?T.fields.get(p):void 0;if(b&&typeof A==="string")u.set(b,A)}if(u.size===T.fields.size){for(let[p,A]of u)p.value=A;T.form.setAttribute("data-hs-draft-restored","");let g=T.form.getAttribute("action");if(g!==null)q.push(g)}}}catch{}return q}var z7=function(){let Q=()=>{},q={morphStyle:"outerHTML",callbacks:{beforeNodeAdded:Q,afterNodeAdded:Q,beforeNodeMorphed:Q,afterNodeMorphed:Q,beforeNodeRemoved:Q,afterNodeRemoved:Q,beforeAttributeUpdated:Q},head:{style:"merge",shouldPreserve:(b)=>b.getAttribute("im-preserve")==="true",shouldReAppend:(b)=>b.getAttribute("im-re-append")==="true",shouldRemove:Q,afterHeadMorphed:Q},restoreFocus:!0};function Z(b,h,k={}){let w=g(b),_=p(h),S=u(w,_,k);return N(S,w,_,(B)=>{let M=z(B,()=>{if(B.morphStyle==="innerHTML")return H(B,w,_),Array.from(w.childNodes);else return J(B,w,_)});return B.pantry.remove(),M})}function J(b,h,k){let w=p(h);return H(b,w,k,h,h.nextSibling),Array.from(w.childNodes)}function z(b,h){if(!b.config.restoreFocus)return h();let k=b.doc.activeElement;if(!(A.inputElement(k)||A.textAreaElement(k)))return h();let{id:w,selectionStart:_,selectionEnd:S}=k,B=h();if(w&&w!==b.doc.activeElement?.getAttribute("id"))k=b.target.querySelector(`[id="${CSS.escape(w)}"]`),k?.focus();if(k&&!k.selectionEnd&&S)try{k.setSelectionRange(_,S)}catch{}return B}let H=function(){function b(X,$,G,W=null,O=null){if(A.templateElement($)&&A.templateElement(G))$=$.content,G=G.content;W||=$.firstChild;for(let C of G.childNodes){if(W&&W!=O){let y=k(X,C,W,O);if(y){if(y!==W)_(X,W,y);D(y,C,X),W=y.nextSibling;continue}}if(A.element(C)){let y=C.getAttribute("id");if(X.persistentIds.has(y)){let s=S($,y,W,X);D(s,C,X),W=s.nextSibling;continue}}let P=h($,C,W,X);if(P)W=P.nextSibling}while(W&&W!=O){let C=W;W=W.nextSibling,w(X,C)}}function h(X,$,G,W){if(W.callbacks.beforeNodeAdded($)===!1)return null;if(W.idMap.has($)){let O=W.doc.createElementNS($.namespaceURI,$.localName);return X.insertBefore(O,G),D(O,$,W),W.callbacks.afterNodeAdded(O),O}else{let O=W.doc.importNode($,!0);return X.insertBefore(O,G),W.callbacks.afterNodeAdded(O),O}}let k=function(){function X(W,O,C,P){let y=null,s=O.nextSibling,j=0,U=C;while(U&&U!=P){if(G(U,O)){if($(W,U,O))return U;if(y===null){if(!W.idMap.has(U))y=U}}if(y===null&&s&&G(U,s)){if(j++,s=s.nextSibling,j>=2)y=void 0}if(W.activeElementAndParents.includes(U))break;U=U.nextSibling}return y||null}function $(W,O,C){let P=W.idMap.get(O),y=W.idMap.get(C);if(!y||!P)return!1;for(let s of P)if(y.has(s))return!0;return!1}function G(W,O){let C=W,P=O;return C.nodeType===P.nodeType&&C.tagName===P.tagName&&(!C.getAttribute?.("id")||C.getAttribute?.("id")===P.getAttribute?.("id"))}return X}();function w(X,$){if($===X.pantry)return;if(X.idMap.has($))M(X.pantry,$,null);else{if(X.callbacks.beforeNodeRemoved($)===!1)return;$.parentNode?.removeChild($),X.callbacks.afterNodeRemoved($)}}function _(X,$,G){let W=$;while(W&&W!==G){let O=W;W=W.nextSibling,w(X,O)}return W}function S(X,$,G,W){let O=`[id="${CSS.escape($)}"]`,C=W.target.getAttribute?.("id")===$&&W.target||W.target.querySelector(O)||W.pantry.querySelector(O);return B(C,W),M(X,C,G),C}function B(X,$){let G=X.getAttribute("id");while(X=X.parentNode){let W=$.idMap.get(X);if(W){if(W.delete(G),!W.size)$.idMap.delete(X)}}}function M(X,$,G){if(X.moveBefore)try{X.moveBefore($,G)}catch(W){X.insertBefore($,G)}else X.insertBefore($,G)}return b}(),D=function(){function b(B,M,X){if(X.ignoreActive&&B===X.doc.activeElement)return null;if(X.callbacks.beforeNodeMorphed(B,M)===!1)return B;if(A.headElement(B)&&X.head.style==="none");else if(A.headElement(B)&&X.head.style!=="morph")T(B,M,X);else if(h(B,M,X),!S(B,X))H(X,B,M);return X.callbacks.afterNodeMorphed(B,M),B}function h(B,M,X){let $=M.nodeType;if($===1){let G=B,W=M,O=G.attributes,C=W.attributes;for(let P of C){if(G.getAttribute(P.name)===P.value)continue;if(_(P.name,G,"update",X))continue;G.setAttributeNode(P.cloneNode())}for(let P=O.length-1;0<=P;P--){let y=O[P];if(!y)continue;if(!W.hasAttribute(y.name)){if(_(y.name,G,"remove",X))continue;G.removeAttribute(y.name)}}if(!S(G,X))k(G,W,X)}if($===8||$===3){if(B.nodeValue!==M.nodeValue)B.nodeValue=M.nodeValue}}function k(B,M,X){if(A.inputElement(B)&&A.inputElement(M)&&M.type!=="file"){let $=M.value,G=B.value;if(w(B,M,"checked",X),w(B,M,"disabled",X),!M.hasAttribute("value")){if(!_("value",B,"remove",X))B.value="",B.removeAttribute("value")}else if(G!==$){if(!_("value",B,"update",X))B.setAttribute("value",$),B.value=$}}else if(A.optionElement(B)&&A.optionElement(M))w(B,M,"selected",X);else if(A.textAreaElement(B)&&A.textAreaElement(M)){let $=M.value,G=B.value;if(_("value",B,"update",X))return;if($!==G)B.value=$;if(B.firstChild&&B.firstChild.nodeValue!==$)B.firstChild.nodeValue=$}}function w(B,M,X,$){let G=M[X],W=B[X];if(G!==W){let O=_(X,B,"update",$);if(!O)B[X]=M[X];if(G){if(!O)B.setAttribute(X,"")}else if(!_(X,B,"remove",$))B.removeAttribute(X)}}function _(B,M,X,$){if(B==="value"&&$.ignoreActiveValue&&M===$.doc.activeElement)return!0;return $.callbacks.beforeAttributeUpdated(B,M,X)===!1}function S(B,M){return!!M.ignoreActiveValue&&B===M.doc.activeElement&&B!==M.doc.body}return b}();function N(b,h,k,w){if(b.head.block&&b.head.style!=="none"){let _=h.querySelector("head"),S=k.querySelector("head");if(_&&S){let B=T(_,S,b);return Promise.all(B).then(()=>{let M=Object.assign(b,{head:{block:!1,style:"none"}});return w(M)})}}return w(b)}function T(b,h,k){let w=[],_=[],S=[],B=[],M=new Map;for(let $ of h.children)M.set($.outerHTML,$);for(let $ of b.children){let G=M.has($.outerHTML),W=k.head.shouldReAppend($),O=k.head.shouldPreserve($);if(G||O)if(W)_.push($);else M.delete($.outerHTML),S.push($);else if(k.head.style==="append"){if(W)_.push($),B.push($)}else if(k.head.shouldRemove($)!==!1)_.push($)}B.push(...M.values());let X=[];for(let $ of B){let G=k.doc.createRange().createContextualFragment($.outerHTML).firstChild;if(k.callbacks.beforeNodeAdded(G)!==!1){if("href"in G&&G.href||"src"in G&&G.src){let W,O=new Promise(function(C){W=C});G.addEventListener("load",function(){W()}),X.push(O)}b.appendChild(G),k.callbacks.afterNodeAdded(G),w.push(G)}}for(let $ of _)if(k.callbacks.beforeNodeRemoved($)!==!1)b.removeChild($),k.callbacks.afterNodeRemoved($);return k.head.afterHeadMorphed(b,{added:w,kept:S,removed:_}),X}let u=function(){function b(X,$,G){let{persistentIds:W,idMap:O}=B(X,$),C=h(G),P=C.morphStyle||"outerHTML";if(!["innerHTML","outerHTML"].includes(P))throw`Do not understand how to morph style ${P}`;if(P==="innerHTML"&&!X.append)throw`Cannot morph the innerHTML of a ${X.nodeName} node, as it cannot have children`;let y=C.head.style||"merge";if(!["merge","append","morph","none"].includes(y))throw`Do not understand how to morph head style ${y}`;let s=X.ownerDocument;return{target:X,newContent:$,doc:s,config:C,morphStyle:P,ignoreActive:C.ignoreActive,ignoreActiveValue:C.ignoreActiveValue,restoreFocus:C.restoreFocus,idMap:O,persistentIds:W,pantry:k(s),activeElementAndParents:w(X,s),callbacks:C.callbacks,head:C.head}}function h(X){let $=Object.assign({},q);return Object.assign($,X),$.callbacks=Object.assign({},q.callbacks,X.callbacks),$.head=Object.assign({},q.head,X.head),$}function k(X){let $=X.createElement("div");return $.hidden=!0,X.documentElement.append($),$}function w(X,$){let G=[],W=$.activeElement;if(W?.tagName!=="BODY"&&X.contains(W))while(W){if(G.push(W),W===X)break;W=W.parentElement}return G}function _(X){let $=[],G=X;for(let O of G.querySelectorAll?.("[id]")??[]){let C=O.getAttribute("id");if(C)$.push({elt:O,id:C})}let W=G.getAttribute?.("id");if(W)$.push({elt:X,id:W});return $}function S(X,$,G,W){for(let{elt:O,id:C}of W)if($.has(C)){let P=O;while(P){let y=X.get(P);if(y==null)y=new Set,X.set(P,y);if(y.add(C),P===G)break;P=P.parentElement}}}function B(X,$){let G=_(X),W=_($),O=M(G,W),C=new Map;S(C,O,X,G);let P=$.__idiomorphRoot||$;return S(C,O,P,W),{persistentIds:O,idMap:C}}function M(X,$){let G=new Set,W=new Map;for(let{elt:C,id:P}of X)if(W.has(P))G.add(P);else W.set(P,C.tagName);let O=new Set;for(let{elt:C,id:P}of $)if(O.has(P))G.add(P);else if(W.get(P)===C.tagName)O.add(P);for(let C of G)O.delete(C);if(G.size)console.warn("[Warning] duplicate ids found during morph, state loss within these elements is possible:",Array.from(G));return O}return b}(),{normalizeElement:g,normalizeParent:p}=function(){let b=new WeakSet;function h(S){if(A.document(S))return S.documentElement;else return S}function k(S){if(S==null)return document.createElement("div");else if(typeof S==="string")return k(_(S));else if(b.has(S))return S;else if(A.node(S))if(S.parentNode)return new w(S);else{let B=document.createElement("div");return B.append(S),B}else{let B=document.createElement("div");for(let M of[...S])B.append(M);return B}}class w{constructor(S){this.originalNode=S,this.realParentNode=S.parentNode,this.previousSibling=S.previousSibling,this.nextSibling=S.nextSibling}get childNodes(){let S=[],B=this.previousSibling?this.previousSibling.nextSibling:this.realParentNode.firstChild;while(B&&B!=this.nextSibling)S.push(B),B=B.nextSibling;return S}querySelectorAll(S){return this.childNodes.reduce((B,M)=>{if(A.element(M)){if(M.matches(S))B.push(M);let X=M.querySelectorAll(S);for(let $=0;$<X.length;$++)B.push(X[$])}return B},[])}insertBefore(S,B){return this.realParentNode.insertBefore(S,B)}moveBefore(S,B){return this.realParentNode.moveBefore(S,B)}get __idiomorphRoot(){return this.originalNode}}function _(S){let B=new DOMParser,M=S.replace(/<svg(\s[^>]*>|>)([\s\S]*?)<\/svg>/gim,"");if(M.match(/<\/html>/)||M.match(/<\/head>/)||M.match(/<\/body>/)){let X=B.parseFromString(S,"text/html");if(X.doctype?.remove(),M.match(/<\/html>/))return b.add(X),X;else{let $=X.firstChild;if($)b.add($);return $}}else{let $=B.parseFromString("<body><template>"+S+"</template></body>","text/html").body.querySelector("template").content;return b.add($),$}}return{normalizeElement:h,normalizeParent:k}}(),A=function(){let b=(k)=>k instanceof Element||k?.nodeType===Node.ELEMENT_NODE,h=(k,w)=>b(k)&&k.localName===w&&k.namespaceURI==="http://www.w3.org/1999/xhtml";return{element:b,node:(k)=>k instanceof Node||typeof k?.nodeType==="number",document:(k)=>k instanceof Document||k?.nodeType===Node.DOCUMENT_NODE,templateElement:(k)=>h(k,"template"),headElement:(k)=>h(k,"head"),inputElement:(k)=>h(k,"input"),optionElement:(k)=>h(k,"option"),textAreaElement:(k)=>h(k,"textarea")}}();return{morph:Z,defaults:q}}();var B7="data-hs-pending";function t8(Q,q,Z){let J=q.getAttribute("data-hs-view");if(J&&Q.getAttribute("data-hs-view")===J)return{kind:"skip"};if(Z.keepsChildren(Q,q))return{kind:"keepChildren",boundAttributes:Z.boundElementAttributes(q)};let z=G4.ownsChildren;if(Q.hasAttribute(z)&&q.hasAttribute(z))return{kind:"replace"};return{kind:"morph"}}function e8(Q,q,Z){for(let J of Q.getAttributeNames()){if(q.hasAttribute(J)||Z.boundAttributes.has(J))continue;if(J===B7&&Z.isSending)continue;Q.removeAttribute(J)}for(let{name:J,value:z}of q.attributes){if(Z.boundAttributes.has(J))continue;if(Q.getAttribute(J)!==z)Q.setAttribute(J,z)}}function V7(Q,q,Z){let J=[];z7.morph(Q,q,{head:{style:"none"},morphStyle:"innerHTML",ignoreActiveValue:M5(Q.ownerDocument.activeElement),restoreFocus:!0,callbacks:{beforeNodeMorphed(z,H){if(!(z instanceof Element)||!(H instanceof Element))return!0;let D=t8(z,H,Z);switch(D.kind){case"morph":return!0;case"skip":return!1;case"keepChildren":return e8(z,H,{isSending:Z.isSending(z),boundAttributes:D.boundAttributes}),!1;case"replace":return J.push([z,H.cloneNode(!0)]),!1}},beforeAttributeUpdated(z,H,D){return!(z===B7&&D==="remove"&&Z.isSending(H))}}});for(let[z,H]of J)z.replaceWith(H)}function Q9(Q,q){let Z=Q.filter((J)=>J<=q&&q-J<60000);return Z.length<3?{kind:"reload",reloadTimes:[...Z,q]}:{kind:"ask-user"}}function G7(Q){try{let q=sessionStorage.getItem("hypersig:reset-reloads")??"[]",Z=[];try{Z=JSON.parse(q)}catch{}let J=Array.isArray(Z)?Z.filter((H)=>typeof H==="number"):[],z=Q9(J,Q);if(z.kind==="ask-user")return!1;return sessionStorage.setItem("hypersig:reset-reloads",JSON.stringify(z.reloadTimes)),!0}catch{return!1}}/*! @license DOMPurify 3.4.18 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.18/LICENSE */function Y9(Q,q){this.v=Q,this.k=q}function W7(Q,q){(q==null||q>Q.length)&&(q=Q.length);for(var Z=0,J=Array(q);Z<q;Z++)J[Z]=Q[Z];return J}function q9(Q){if(Array.isArray(Q))return Q}function Z9(Q,q){var Z=Q==null?null:typeof Symbol<"u"&&Q[Symbol.iterator]||Q["@@iterator"];if(Z!=null){var J,z,H,D,N=[],T=!0,u=!1;try{if(H=(Z=Z.call(Q)).next,q===0){if(Object(Z)!==Z)return;T=!1}else for(;!(T=(J=H.call(Z)).done)&&(N.push(J.value),N.length!==q);T=!0);}catch(g){u=!0,z=g}finally{try{if(!T&&Z.return!=null&&(D=Z.return(),Object(D)!==D))return}finally{if(u)throw z}}return N}}function J9(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */function K9(Q,q){return q9(Q)||Z9(Q,q)||$9(Q,q)||J9()}function $9(Q,q){if(Q){if(typeof Q=="string")return W7(Q,q);var Z={}.toString.call(Q).slice(8,-1);return Z==="Object"&&Q.constructor&&(Z=Q.constructor.name),Z==="Map"||Z==="Set"?Array.from(Q):Z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Z)?W7(Q,q):void 0}}function P5(Q){var q,Z;function J(H,D){try{var N=Q[H](D),T=N.value,u=T instanceof Y9;Promise.resolve(u?T.v:T).then(function(g){if(u){var p=H==="return"&&T.k?H:"next";if(!T.k||g.done)return J(p,g);g=Q[p](g).value}z(!!N.done,g)},function(g){J("throw",g)})}catch(g){z(2,g)}}function z(H,D){H===2?q.reject(D):q.resolve({value:D,done:H}),(q=q.next)?J(q.key,q.arg):Z=null}this._invoke=function(H,D){return new Promise(function(N,T){var u={key:H,arg:D,resolve:N,reject:T,next:null};Z?Z=Z.next=u:(q=Z=u,J(H,D))})},typeof Q.return!="function"&&(this.return=void 0)}P5.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},P5.prototype.next=function(Q){return this._invoke("next",Q)},P5.prototype.throw=function(Q){return this._invoke("throw",Q)},P5.prototype.return=function(Q){return this._invoke("return",Q)};var{entries:C7,keys:j9,setPrototypeOf:U7,isFrozen:X9,getPrototypeOf:w7,getOwnPropertyDescriptor:L7,freeze:Y4,seal:t,create:w4}=Object,x7=typeof Reflect<"u"&&Reflect,C5=x7.apply,R6=x7.construct;if(!Y4)Y4=function(q){return q};if(!t)t=function(q){return q};if(!C5)C5=function(q,Z){for(var J=arguments.length,z=Array(J>2?J-2:0),H=2;H<J;H++)z[H-2]=arguments[H];return q.apply(Z,z)};if(!R6)R6=function(q){for(var Z=arguments.length,J=Array(Z>1?Z-1:0),z=1;z<Z;z++)J[z-1]=arguments[z];return new q(...J)};var M4=i(Array.prototype.forEach),z9=i(Array.prototype.lastIndexOf),F7=i(Array.prototype.pop),Z5=i(Array.prototype.push),B9=i(Array.prototype.slice),V9=i(Array.prototype.splice),a4=Array.isArray,j6=y7(Set),X6=i(Set.prototype.add),J5=i(Set.prototype.has),g4=i(String.prototype.toLowerCase),z6=i(String.prototype.toString),G9=i(String.prototype.match),b5=i(String.prototype.replace),B6=i(String.prototype.indexOf),W9=i(String.prototype.trim),U9=i(Number.prototype.toString),F9=i(Boolean.prototype.toString),H7=typeof BigInt>"u"?null:i(BigInt.prototype.toString),R7=typeof Symbol>"u"?null:i(Symbol.prototype.toString),J4=i(Object.prototype.hasOwnProperty),K5=i(Object.prototype.toString),H9=RegExp.prototype.test,Q4=function(q,Z){if(q instanceof RegExp)q.lastIndex=0;return C5(H9,q,[Z])},O4=y7(TypeError);function i(Q){return function(q){for(var Z=arguments.length,J=Array(Z>1?Z-1:0),z=1;z<Z;z++)J[z-1]=arguments[z];return C5(Q,q,J)}}function y7(Q){return function(){for(var q=arguments.length,Z=Array(q),J=0;J<q;J++)Z[J]=arguments[J];return R6(Q,Z)}}function m(Q,q){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g4;if(U7)U7(Q,null);if(!a4(q))return Q;let J=q.length;while(J--){let z=q[J];if(typeof z==="string"){let H=Z(z);if(H!==z){if(!X9(q))q[J]=H;z=H}}Q[z]=!0}return Q}function R9(Q){for(let q=0;q<Q.length;q++)if(!J4(Q,q))Q[q]=null;return Q}function w5(Q){let q=w4(null);for(let J of C7(Q)){var Z=K9(J,2);let z=Z[0],H=Z[1];if(J4(Q,z))if(a4(H))q[z]=R9(H);else if(H&&typeof H==="object"&&H.constructor===Object)q[z]=w5(H);else q[z]=H}return q}function $5(Q){let q=w4(null),Z=j9(Q),J=Z.length;while(J--)q[Z[J]]=Q[Z[J]];return q}function k9(Q){switch(typeof Q){case"string":return Q;case"number":return U9(Q);case"boolean":return F9(Q);case"bigint":return H7?H7(Q):"0";case"symbol":return R7?R7(Q):"Symbol()";case"undefined":return K5(Q);case"function":case"object":{if(Q===null)return K5(Q);let q=Q,Z=z4(q,"toString");if(typeof Z==="function"){let J=Z(q);return typeof J==="string"?J:K5(J)}return K5(Q)}default:return K5(Q)}}function z4(Q,q){while(Q!==null){let J=L7(Q,q);if(J){if(J.get)return i(J.get);if(typeof J.value==="function")return i(J.value)}Q=w7(Q)}function Z(){return null}return Z}function D9(Q,q){while(Q!==null){let Z=L7(Q,q);if(Z)return Z.get?i(Z.get):null;Q=w7(Q)}return null}function I9(Q){if(!Q)return!1;try{return Q4(Q,""),!0}catch(q){return!1}}var k7=Y4(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),V6=Y4(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),G6=Y4(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M9=Y4(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W6=Y4(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),O9=Y4(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),D7=Y4(["#text"]),I7=Y4(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),U6=Y4(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),M7=Y4(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),S5=Y4(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),P9=t(/{{[\w\W]*|^[\w\W]*}}/g),b9=t(/<%[\w\W]*|^[\w\W]*%>/g),S9=t(/\${[\w\W]*/g),C9=t(/{{|}}|\${|<%|%>|<%|%>/),w9=t(/^data-[\-\w.\u00B7-\uFFFF]+$/),L9=t(/^aria-[\-\w]+$/),O7=t(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),x9=t(/^(?:\w+script|data):/i),y9=t(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),_9=t(/^html$/i),f9=t(/^[a-z][.\w]*(-[.\w]+)+$/i),F6=t(/<[/\w!]/g),P7=t(/<[/\w]/g),h9=t(/<\/no(script|embed|frames)/i),b7=t(/\/>/i),T9=t(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i),A9=t(/^[\r\n\t ]+/),n={element:1,text:3,processingInstruction:7,comment:8,document:9,documentFragment:11},g9=Y4(m({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),p9=function(){return typeof window>"u"?null:window},E9=function(q,Z){if(typeof q!=="object"||typeof q.createPolicy!=="function")return null;let J=null,z="data-tt-policy-suffix";if(Z&&Z.hasAttribute(z))J=Z.getAttribute(z);let H="dompurify"+(J?"#"+J:"");try{return q.createPolicy(H,{createHTML(D){return D},createScriptURL(D){return D}})}catch(D){return console.warn("TrustedTypes policy "+H+" could not be created."),null}},S7=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},C4=function(q,Z,J,z){return J4(q,Z)&&a4(q[Z])?m(z.base?$5(z.base):{},q[Z],z.transform):J},H6=function(q,Z,J){let z=J4(q,Z)?q[Z]:void 0;return z&&typeof z==="object"?w5(z):J};function _7(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p9(),q=(F)=>_7(F);if(q.version="3.4.18",q.removed=[],!Q||!Q.document||Q.document.nodeType!==n.document||!Q.Element)return q.isSupported=!1,q;let Z=Q.document,J=Z,z=J.currentScript,H=Q.HTMLTemplateElement,D=Q.Node,N=Q.Element,T=Q.NodeFilter,u=Q.DOMParser,g=Q.trustedTypes,p=N.prototype,A=z4(p,"cloneNode"),b=z4(p,"remove"),h=z4(p,"removeAttributeNode"),k=z4(p,"nextSibling"),w=z4(p,"childNodes"),_=z4(p,"parentNode"),S=z4(p,"shadowRoot"),B=z4(p,"attributes"),M=D&&D.prototype?z4(D.prototype,"nodeType"):null,X=D&&D.prototype?z4(D.prototype,"nodeName"):null,$=D&&D.prototype?z4(D.prototype,"ownerDocument"):null,G=function(Y){return M?M(Y):Y.nodeType},W=function(Y){return X?X(Y):Y.nodeName},O=D9(p,"namespaceURI"),C=function(Y){return O?O(Y):Y.namespaceURI};if(typeof H==="function"){let F=Z.createElement("template");if(F.content&&F.content.ownerDocument)Z=F.content.ownerDocument}let P,y="",s,j=!1,U=0,I=function(){if(U>0)throw O4('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},x=function(Y){I(),U++;try{return P.createHTML(Y)}finally{U--}},v=function(Y){return P&&p5?x(Y):Y},c=function(Y){I(),U++;try{return P.createScriptURL(Y)}finally{U--}},q4=function(){if(!j)s=E9(g,z),j=!0;return s},K4=Z,R4=K4.implementation,r4=K4.createNodeIterator,L5=K4.createDocumentFragment,x5=K4.getElementsByTagName,y5=J.importNode,l=S7();q.isSupported=typeof C7==="function"&&typeof _==="function"&&R4&&R4.createHTMLDocument!==void 0;let g7=P9,p7=b9,E7=S9,v7=w9,N7=L9,c7=x9,m7=y9,u7=f9,I6=O7,d=null,_5=m({},[...k7,...V6,...G6,...W6,...D7]),a=null,f5=m({},[...I7,...U6,...M7,...S5]),U4=null,o4=null,M6=null,P4=Object.seal(w4(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),O6=!0,h5=!0,P6=!1,T5=!0,k4=!1,L4=!0,x4=!1,A5=!1,j5=null,X5=null,g5=!1,p4=!1,z5=!1,p5=!1,b6=!0,S6=!1,C6="user-content-",E5=!0,v5=!1,y4=null,E4=!1,_4=null,w6=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),L6=null,x6=m({},["audio","video","img","source","image","track"]),y6=null,_6=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),B5="http://www.w3.org/1998/Math/MathML",V5="http://www.w3.org/2000/svg",F4="http://www.w3.org/1999/xhtml",v4=F4,N5=!1,f6=null,s7=m({},[B5,V5,F4],z6),i7=Y4(m({},["mi","mo","mn","ms","mtext"])),c5=null,l7=Y4(m({},["annotation-xml"])),m5=null,d7=Y4(w4(null)),a7=m({},["title","style","font","a","script"]),n4=null,r7=["application/xhtml+xml","text/html"],o7="text/html",r=null,G5=null,n7=Z.createElement("form"),h6=function(Y){return Y instanceof RegExp||Y instanceof Function},u5=function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Y||typeof Y!=="object")Y={};Y=w5(Y),n4=r7.indexOf(Y.PARSER_MEDIA_TYPE)===-1?o7:Y.PARSER_MEDIA_TYPE,r=n4==="application/xhtml+xml"?z6:g4,d=C4(Y,"ALLOWED_TAGS",_5,{transform:r}),a=C4(Y,"ALLOWED_ATTR",f5,{transform:r}),f6=C4(Y,"ALLOWED_NAMESPACES",s7,{transform:z6}),y6=C4(Y,"ADD_URI_SAFE_ATTR",_6,{transform:r,base:_6}),L6=C4(Y,"ADD_DATA_URI_TAGS",x6,{transform:r,base:x6}),_4=C4(Y,"FORBID_CONTENTS",w6,{transform:r}),o4=C4(Y,"FORBID_TAGS",w4(null),{transform:r}),M6=C4(Y,"FORBID_ATTR",w4(null),{transform:r}),E4=J4(Y,"USE_PROFILES")?Y.USE_PROFILES&&typeof Y.USE_PROFILES==="object"?w5(Y.USE_PROFILES):Y.USE_PROFILES:!1,O6=Y.ALLOW_ARIA_ATTR!==!1,h5=Y.ALLOW_DATA_ATTR!==!1,P6=Y.ALLOW_UNKNOWN_PROTOCOLS||!1,T5=Y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,k4=Y.SAFE_FOR_TEMPLATES||!1,L4=Y.SAFE_FOR_XML!==!1,x4=Y.WHOLE_DOCUMENT||!1,p4=Y.RETURN_DOM||!1,z5=Y.RETURN_DOM_FRAGMENT||!1,p5=Y.RETURN_TRUSTED_TYPE||!1,g5=Y.FORCE_BODY||!1,b6=Y.SANITIZE_DOM!==!1,S6=Y.SANITIZE_NAMED_PROPS||!1,E5=Y.KEEP_CONTENT!==!1,v5=Y.IN_PLACE||!1,I6=I9(Y.ALLOWED_URI_REGEXP)?Y.ALLOWED_URI_REGEXP:O7,v4=typeof Y.NAMESPACE==="string"?Y.NAMESPACE:F4,c5=H6(Y,"MATHML_TEXT_INTEGRATION_POINTS",i7),m5=H6(Y,"HTML_INTEGRATION_POINTS",l7);let K=H6(Y,"CUSTOM_ELEMENT_HANDLING",d7);if(U4=w4(null),J4(K,"tagNameCheck")&&h6(K.tagNameCheck))U4.tagNameCheck=K.tagNameCheck;if(J4(K,"attributeNameCheck")&&h6(K.attributeNameCheck))U4.attributeNameCheck=K.attributeNameCheck;if(J4(K,"allowCustomizedBuiltInElements")&&typeof K.allowCustomizedBuiltInElements==="boolean")U4.allowCustomizedBuiltInElements=K.allowCustomizedBuiltInElements;if(t(U4),k4)h5=!1;if(z5)p4=!0;if(E4){if((J4(Y,"ALLOWED_TAGS")||J4(Y,"ALLOWED_ATTR"))&&typeof console<"u"&&typeof console.warn==="function")console.warn("DOMPurify: USE_PROFILES overrides ALLOWED_TAGS and ALLOWED_ATTR. Do not use these options together.");if(d=m({},D7),a=w4(null),E4.html===!0)m(d,k7),m(a,I7);if(E4.svg===!0)m(d,V6),m(a,U6),m(a,S5);if(E4.svgFilters===!0)m(d,G6),m(a,U6),m(a,S5);if(E4.mathMl===!0)m(d,W6),m(a,M7),m(a,S5)}if(P4.tagCheck=null,P4.attributeCheck=null,J4(Y,"ADD_TAGS")){if(typeof Y.ADD_TAGS==="function")P4.tagCheck=Y.ADD_TAGS;else if(a4(Y.ADD_TAGS)){if(d===_5)d=$5(d);m(d,Y.ADD_TAGS,r)}}if(J4(Y,"ADD_ATTR")){if(typeof Y.ADD_ATTR==="function")P4.attributeCheck=Y.ADD_ATTR;else if(a4(Y.ADD_ATTR)){if(a===f5)a=$5(a);m(a,Y.ADD_ATTR,r)}}if(J4(Y,"ADD_FORBID_CONTENTS")&&a4(Y.ADD_FORBID_CONTENTS)){if(_4===w6)_4=$5(_4);m(_4,Y.ADD_FORBID_CONTENTS,r)}if(E5)d["#text"]=!0;if(x4)m(d,["html","head","body"]);if(d.table)d.tbody=!0,delete o4.tbody;if(Y.TRUSTED_TYPES_POLICY){if(typeof Y.TRUSTED_TYPES_POLICY.createHTML!=="function")throw O4('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Y.TRUSTED_TYPES_POLICY.createScriptURL!=="function")throw O4('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let V=P;P=Y.TRUSTED_TYPES_POLICY;try{y=x("")}catch(R){throw P=V,R}}else if(Y.TRUSTED_TYPES_POLICY===null)P=void 0,y="";else{if(P===void 0)P=q4();if(P&&typeof y==="string")y=x("")}G5=Y4(Y)},T6=m({},[...V6,...G6,...M9]),A6=m({},[...W6,...O9]),t7=function(Y,K,V){if(K===F4)return Y==="svg";if(K===B5)return Y==="svg"&&(V==="annotation-xml"||c5[V]);return Boolean(T6[Y])},e7=function(Y,K,V){if(K===F4)return Y==="math";if(K===V5)return Y==="math"&&m5[V];return Boolean(A6[Y])},Q8=function(Y,K,V){if(K===V5&&!m5[V])return!1;if(K===B5&&!c5[V])return!1;return!A6[Y]&&(a7[Y]||!T6[Y])},Y8=function(Y){let K=C(Y),V=g4(W(Y)),R=_(Y),L=v4,f="template";if(R&&G(R)===n.element)L=C(R),f=g4(W(R));if(!f6[K])return!1;if(K===V5)return t7(V,L,f);if(K===B5)return e7(V,L,f);if(K===F4)return Q8(V,L,f);return n4==="application/xhtml+xml"},b4=function(Y){Z5(q.removed,{element:Y});try{_(Y).removeChild(Y)}catch(K){if(b(Y),!_(Y))throw O4("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},g6=function(Y,K,V){try{h(Y,K)}catch(R){try{Y.removeAttribute(V)}catch(L){}}},s5=function(Y){d5(Y);let K=w(Y);if(K)M4(B9(K),(V)=>{try{b(V)}catch(R){}});if(G(Y)===n.element)i5(Y,!1)},N4=function(Y,K,V){if(!V)try{V=K.getAttributeNode(Y)}catch(R){V=null}if(Z5(q.removed,{attribute:V||null,from:K}),V)g6(K,V,Y);else try{K.removeAttribute(Y)}catch(R){}if(Y==="is")if(p4||z5)try{b4(K)}catch(R){}else try{K.setAttribute(Y,"")}catch(R){}},i5=function(Y,K){let V=B(Y);if(!V)return;for(let R=V.length-1;R>=0;--R){let L=V[R],f=L&&L.name;if(typeof f==="string"&&!(K&&a[r(f)]))g6(Y,L,f)}},l5=function(Y,K){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,R=[Y];while(R.length>0){let L=R.pop();if(K(L)===!1)continue;if(V&&G(L)===n.element){let E=S(L);if(c4(E))R.push(E)}let f=w(L);if(f)for(let E=f.length-1;E>=0;--E)R.push(f[E])}},d5=function(Y){l5(Y,(K)=>{if(G(K)===n.element)i5(K,!0)})},a5=function(Y){let K=[];return l5(Y,(V)=>{K.push(V)},!0),K},q8=function(Y,K){let V=j6();M4(a5(Y),(R)=>{if(G(R)===n.element)X6(V,R)}),M4(K,(R)=>{if(G(R)===n.element&&!J5(V,R))i5(R,!0)})},p6=function(Y,K){let V=!1;return M4(q.removed,(R)=>{if(R.element)V=V||R.element===Y,d5(R.element)}),q8(Y,K),V},Z8=8,J8=function(Y,K){let V=y4,R=null,L=()=>{if(!R)R=j6(),M4(K,(f)=>{X6(R,f)});return R};for(let f=0;;f++){let E=a5(Y),e=[Y],D4=!1;if(M4(E,(V4)=>{if(G(V4)===n.documentFragment)Z5(e,V4);else if(!D4&&!J5(V,V4))D4=J5(L(),V4)}),!D4)return;if(f>=Z8)throw O4("the tree kept changing during in-place sanitization; refusing to return it");M4(e,(V4,j4)=>{K8(V4,j4>0,Y,L())})}},K8=function(Y,K,V,R){let L=W5(Y),f;while(f=L.nextNode()){if(!J5(R,f)||J5(y4,f))continue;if(K)B4(l.uponSanitizeShadowNode,f,null);t5(f,V)}},$8=function(Y){if(y4)X6(y4,Y)},E6=function(Y,K){if(!L4)return!1;if(Y==="patchsrc")return!0;return Y==="for"&&K!=="label"&&K!=="output"},j8=function(Y){if(!L4)return;l5(Y,(K)=>{let V=G(K);if(V===n.processingInstruction||V===n.comment&&Q4(P7,K.data)){try{b(K)}catch(R){}return!1}if(V===n.element){let R=K,L=r(W(K));try{if(R.hasAttribute&&R.hasAttribute("patchsrc"))R.removeAttribute("patchsrc");if(R.hasAttribute&&R.hasAttribute("for")&&E6("for",L))R.removeAttribute("for")}catch(f){}}return!0})},v6=function(Y){let K=null,V=null;if(g5)Y="<remove></remove>"+Y;else{let f=G9(Y,A9);V=f&&f[0]}if(n4==="application/xhtml+xml"&&v4===F4)Y='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Y+"</body></html>";let R=P?x(Y):Y;if(v4===F4)try{K=new u().parseFromString(R,n4)}catch(f){}if(!K||!K.documentElement){K=R4.createDocument(v4,"template",null);try{K.documentElement.innerHTML=N5?y:R}catch(f){}}let L=K.body||K.documentElement;if(Y&&V)L.insertBefore(Z.createTextNode(V),L.childNodes[0]||null);if(v4===F4)return x5.call(K,x4?"html":"body")[0];return x4?K.documentElement:L},W5=function(Y){let K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=$?$(Y):Y.ownerDocument;return r4.call(V||Y,Y,(K?0:T.SHOW_ELEMENT)|T.SHOW_COMMENT|T.SHOW_TEXT|T.SHOW_PROCESSING_INSTRUCTION|T.SHOW_CDATA_SECTION,null)},r5=function(Y){return Y=b5(Y,g7," "),Y=b5(Y,p7," "),Y=b5(Y,E7," "),Y},o5=function(Y){var K;n5(Y);let V=(K=Y.querySelectorAll)===null||K===void 0?void 0:K.call(Y,"template");if(V)M4(V,(R)=>{if(c4(R.content))o5(R.content)})},n5=function(Y){Y.normalize();let K=W5(Y,!0),V=K.nextNode();while(V)V.data=r5(V.data),V=K.nextNode()},U5=function(Y){let K=X?X(Y):null;if(typeof K!=="string")return!1;if(r(K)!=="form")return!1;return typeof Y.nodeName!=="string"||typeof Y.textContent!=="string"||typeof Y.removeChild!=="function"||Y.attributes!==B(Y)||typeof Y.removeAttribute!=="function"||typeof Y.removeAttributeNode!=="function"||typeof Y.getAttributeNode!=="function"||typeof Y.setAttribute!=="function"||typeof Y.namespaceURI!=="string"||typeof Y.insertBefore!=="function"||typeof Y.hasChildNodes!=="function"||Y.nodeType!==M(Y)||Y.childNodes!==w(Y)},N6=function(Y){if(!M||typeof Y!=="object"||Y===null)return null;try{let K=M(Y);return typeof K==="number"?K:null}catch(K){return null}},c4=function(Y){return N6(Y)===n.documentFragment},t4=function(Y){return N6(Y)!==null};function B4(F,Y,K){if(F.length===0)return;M4(F,(V)=>{V.call(q,Y,K,G5)})}let X8=function(Y,K,V){if(L4&&V===n.element&&Y.hasChildNodes()&&!t4(Y.firstElementChild)&&Q4(F6,Y.textContent)&&Q4(F6,Y.innerHTML))return!0;if(L4&&g9[K]&&V===n.element&&C(Y)===F4&&(t4(Y.firstElementChild)||typeof Y.textContent==="string"&&Q4(F6,Y.textContent)))return!0;if(V===n.processingInstruction)return!0;if(L4&&V===n.comment&&Q4(P7,Y.data))return!0;return!1},F5=function(Y,K){if(Y instanceof RegExp)return Q4(Y,K);if(Y instanceof Function){for(var V=arguments.length,R=Array(V>2?V-2:0),L=2;L<V;L++)R[L-2]=arguments[L];return Boolean(Y(K,...R))}return!1},z8=function(Y,K,V){if(!o4[K]&&u6(K)&&F5(U4.tagNameCheck,K))return!1;if(E5&&!_4[K]&&!_4[g4(K)]){let R=_(Y),L=w(Y);if(L&&R){let f=L.length;for(let E=f-1;E>=0;--E){let e=Y===V?A(L[E],!0):L[E];R.insertBefore(e,k(Y))}}}return b4(Y),!0},c6=function(Y,K,V,R){if(Y.length===0)return K;return K===V||K===R?$5(K):K},m4=function(Y,K){if(Y===K||_(Y)!==null)return!1;if(v5)d5(Y);return!0},B8=function(Y,K){if($8(Y),B4(l.beforeSanitizeElements,Y,null),m4(Y,K))return!0;if(U5(Y))return b4(Y),!0;let V=r(W(Y)),R=G(Y);if(d=c6(l.uponSanitizeElement,d,_5,j5),B4(l.uponSanitizeElement,Y,{tagName:V,allowedTags:d}),m4(Y,K))return!0;if(X8(Y,V,R))return b4(Y),!0;if(o4[V]||!(P4.tagCheck instanceof Function&&P4.tagCheck(V))&&!d[V]){let L=z8(Y,V,K);if(L===!1){if(B4(l.afterSanitizeElements,Y,null),m4(Y,K))return!0}return L}if(R===n.element&&!Y8(Y))return b4(Y),!0;if((V==="noscript"||V==="noembed"||V==="noframes")&&Q4(h9,Y.innerHTML))return b4(Y),!0;if(k4&&R===n.text){let L=Y.textContent,f=r5(L);if(L!==f)Z5(q.removed,{element:Y.cloneNode()}),Y.textContent=f}return B4(l.afterSanitizeElements,Y,null),m4(Y,K)},m6=function(Y,K,V){if(M6[K])return!1;if(E6(K,Y))return!1;if(b6&&(K==="id"||K==="name")&&((V in Z)||(V in n7)))return!1;let R=a[K]||P4.attributeCheck instanceof Function&&P4.attributeCheck(K,Y);if(h5&&Q4(v7,K))return!0;if(O6&&Q4(N7,K))return!0;if(!R)return u6(Y)&&F5(U4.tagNameCheck,Y)&&F5(U4.attributeNameCheck,K,Y)||K==="is"&&U4.allowCustomizedBuiltInElements&&F5(U4.tagNameCheck,V);if(y6[K])return!0;let L=b5(V,m7,"");if(Q4(I6,L))return!0;if((K==="src"||K==="xlink:href"||K==="href")&&Y!=="script"&&B6(V,"data:")===0&&L6[Y])return!0;if(P6&&!Q4(c7,L))return!0;return!V},V8=m({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),u6=function(Y){return!V8[g4(Y)]&&Q4(u7,Y)},G8=function(Y,K,V,R){if(P&&typeof g==="object"&&typeof g.getAttributeType==="function"&&!V)switch(g.getAttributeType(Y,K)){case"TrustedHTML":return x(R);case"TrustedScriptURL":return c(R)}return R},W8=function(Y,K,V,R){try{if(V)Y.setAttributeNS(V,K,R);else Y.setAttribute(K,R);if(U5(Y))return b4(Y),!1;return!0}catch(L){return N4(K,Y),!1}},s6=function(Y,K){if(L4&&Q4(T9,K))return!0;return g4(Y)==="attributename"&&B6(K,"href")!==-1},U8=function(Y,K){if(B4(l.beforeSanitizeAttributes,Y,null),m4(Y,K))return;let V=Y.attributes;if(!V||U5(Y))return;a=c6(l.uponSanitizeAttribute,a,f5,X5);let R={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:a,forceKeepAttr:void 0},L=V.length,f=r(W(Y));while(L--){let E=V[L],e=E.name,D4=E.namespaceURI,V4=E.value,j4=r(e),H4=V4,Z4=e==="value"?H4:W9(H4),i6=!1;if(R.attrName=j4,R.attrValue=Z4,R.keepAttr=!0,R.forceKeepAttr=void 0,B4(l.uponSanitizeAttribute,Y,R),Z4=R.attrValue,S6&&(j4==="id"||j4==="name")&&B6(Z4,C6)!==0)N4(e,Y,E),Z4=C6+Z4,i6=!0;if(s6(e,Z4)){N4(e,Y,E);continue}if(R.forceKeepAttr)continue;if(!R.keepAttr){N4(e,Y,E);continue}if(!T5&&Q4(b7,Z4)){N4(e,Y,E);continue}if(k4)Z4=r5(Z4);if(!m6(f,j4,Z4)){N4(e,Y,E);continue}if(Z4=G8(f,j4,D4,Z4),Z4!==H4){if(W8(Y,e,D4,Z4)&&i6)F7(q.removed)}}B4(l.afterSanitizeAttributes,Y,null),m4(Y,K)},t5=function(Y,K){if(B8(Y,K),U8(Y,K),c4(Y.content))e5(Y.content)},e5=function(Y){let K=null,V=W5(Y);B4(l.beforeSanitizeShadowDOM,Y,null);while(K=V.nextNode())if(B4(l.uponSanitizeShadowNode,K,null),t5(K,Y),G(K)===n.element){let R=S(K);if(c4(R))Q6(R),e5(R)}if(k4)n5(Y);B4(l.afterSanitizeShadowDOM,Y,null)},Q6=function(Y){let K=[{node:Y,shadow:null}];while(K.length>0){let V=K.pop();if(V.shadow){e5(V.shadow);continue}let R=V.node,L=G(R)===n.element,f=w(R);if(f)for(let E=f.length-1;E>=0;--E)K.push({node:f[E],shadow:null});if(L){let E=X?X(R):null;if(typeof E==="string"&&r(E)==="template"){let e=R.content;if(c4(e))K.push({node:e,shadow:null})}}if(L){let E=S(R);if(c4(E))K.push({node:null,shadow:E},{node:E,shadow:null})}}};return q.sanitize=function(F){let Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=null,V=null,R=null,L=null;if(N5=!F,N5)F="<!-->";if(typeof F!=="string"&&!t4(F)){if(F=k9(F),typeof F!=="string")throw O4("dirty is not a string, aborting")}if(!q.isSupported)return F;if(A5)d=j5,a=X5;else u5(Y);q.removed=[];let f=v5&&typeof F!=="string"&&t4(F),E=[],e=y4;if(f){j8(F);let H4=W(F);if(typeof H4==="string"){let Z4=r(H4);if(!d[Z4]||o4[Z4])throw s5(F),O4("root node is forbidden and cannot be sanitized in-place")}if(U5(F))throw s5(F),O4("root node is clobbered and cannot be sanitized in-place");E=a5(F),y4=j6()}else if(t4(F)){if(K=v6("<!---->"),V=K.ownerDocument.importNode(F,!0),V.nodeType===n.element&&V.nodeName==="BODY")K=V;else if(V.nodeName==="HTML")K=V;else K.appendChild(V);Q6(K)}else{if(!p4&&!k4&&!x4&&F.indexOf("<")===-1)return v(F);if(K=v6(F),!K)return p4?null:p5?y:""}if(K&&g5)b4(K.firstChild);let D4=f?F:K;try{if(f)Q6(F);let H4=W5(D4);while(R=H4.nextNode())t5(R,D4);if(f)J8(F,E)}catch(H4){if(f)s5(F),p6(F,E);throw H4}finally{y4=e}if(f){if(p6(F,E))throw O4("a node selected for removal could not be safely returned; refusing to sanitize in place");if(k4)o5(F);return F}if(p4){if(k4)o5(K);if(z5){L=L5.call(K.ownerDocument);while(K.firstChild)L.appendChild(K.firstChild)}else L=K;if(a.shadowroot||a.shadowrootmode)L=y5.call(J,L,!0);return L}let V4=()=>x4?K.outerHTML:K.innerHTML,j4=V4();if(k4&&Q4(C9,j4))n5(K),j4=V4();if(x4&&d["!doctype"]&&K.ownerDocument&&K.ownerDocument.doctype&&K.ownerDocument.doctype.name&&Q4(_9,K.ownerDocument.doctype.name))j4="<!DOCTYPE "+K.ownerDocument.doctype.name+`>
|
|
3
|
-
`+
|
|
1
|
+
var b5={view:"view",pristine:"pristine"};function n6(Q){return typeof Q==="string"&&Q.length<=6144&&/^[A-Za-z0-9_-]+$/.test(Q)}var y4={update:"html-update",ready:"ready",viewError:"view-error",reset:"reset",denied:"access-denied",reconnect:"reconnect",evicted:"evicted"},P5=0,j5={error:"data-hs-error",connectionStatus:"data-hs-connection-status",fieldError:"data-hs-field-error"},n={signals:"data-hs-signals",text:"data-hs-text",show:"data-hs-show",attr:"data-hs-attr",bind:"data-hs-bind",ref:"data-hs-ref",onSuccess:"data-hs-on-success",onError:"data-hs-on-error",onSubmit:"data-hs-on-submit"},_4={click:"data-hs-on-click",input:"data-hs-on-input",change:"data-hs-on-change",keydown:"data-hs-on-keydown",focusEnter:"data-hs-on-focus-enter",focusLeave:"data-hs-on-focus-leave"},W4={onCustom:"data-hs-on-custom",ownsChildren:"data-hs-owns-children",elementAttr:"data-hs-element-attr",elementJson:"data-hs-element-json"};function t6(Q){return JSON.stringify(Q)}var R8=["disabled","checked","aria-pressed","aria-expanded","aria-current","aria-hidden","aria-invalid","aria-busy","aria-activedescendant","aria-selected","aria-controls","aria-label","tabindex","hidden"],e6=["disabled","checked","hidden"],D8=new Set(R8);function Q7(Q){if(Q!==Q.toLowerCase())return!1;if(D8.has(Q))return!0;return Q.startsWith("data-")&&Q.length>5&&!Q.startsWith("data-hs-")}var k8=/^[a-z][a-z0-9._-]*-[a-z0-9._-]*$/,I8=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function S5(Q){return k8.test(Q)&&!I8.has(Q)}var M8=/^[a-z][a-z0-9.:_-]*$/,O8=["click","input","change","submit"],b8=new Set(O8);function Y7(Q){return M8.test(Q)&&!b8.has(Q)}var P8=/^[a-z][a-z0-9._-]*$/,S8=new Set(["draggable","spellcheck","contenteditable"]);function q7(Q){return Q.startsWith("aria-")||Q.startsWith("data-")||S8.has(Q)}function K5(Q){return P8.test(Q)&&!Q.startsWith("on")&&Q!=="style"&&Q!=="id"&&!Q.startsWith("data-hs-")}var L8=new Set(["and","or","eq","ne","gt","ge","lt","le","add","sub","mul","concat","includes","mod"]),X5=64;function e4(Q){return Z7(Q,1)}function Z7(Q,q){if(Q===null)return!0;if(typeof Q==="string"||typeof Q==="boolean")return!0;if(typeof Q==="number")return Number.isFinite(Q);if(typeof Q!=="object"||q>X5)return!1;let Z=(J)=>Z7(J,q+1);if(Array.isArray(Q))return Q.every(Z);return Object.values(Q).every((J)=>J===void 0||Z(J))}function t4(Q){return Array.isArray(Q)&&Q.length>0&&Q.every((q)=>typeof q==="string")}function K6(Q){return n4(Q,1)}function n4(Q,q){if(!Array.isArray(Q)||q>X5)return!1;let[Z,J,X,F]=Q;if(typeof Z!=="string")return!1;let I=(v)=>n4(v,q+1);if(L8.has(Z))return Q.length===3&&I(J)&&I(X);switch(Z){case"lit":return Q.length===2&&e4(J);case"sig":return Q.length===2&&t4(J);case"not":case"length":case"trim":case"lower":return Q.length===2&&I(J);case"clamp":case"at":case"if":return Q.length===4&&I(J)&&I(X)&&I(F);case"get":return Q.length===3&&I(J)&&typeof X==="string";case"uuid":case"output":case"detail":return Q.length===1;default:return!1}}function C8(Q,q){if(!Array.isArray(Q)||q>X5)return!1;let[Z,J,X,F,I,v]=Q;switch(Z){case"set":return Q.length===3&&t4(J)&&n4(X,q+1);case"toggle":return Q.length===2&&t4(J);case"focus":return Q.length===2&&typeof J==="string";case"focus-key":return Q.length===3&&typeof J==="string"&&n4(X,q+1);case"call":return(Q.length===5||Q.length===6&&f8(v,q+1))&&typeof J==="string"&&y8(X,q+1)&&N4(F,q+1)&&N4(I,q+1);case"after":return Q.length===4&&typeof J==="string"&&w8(X)&&N4(F,q+1);case"cancel":return Q.length===2&&typeof J==="string";case"when":return Q.length===4&&n4(J,q+1)&&N4(X,q+1)&&N4(F,q+1);default:return!1}}var x8=2147483647;function w8(Q){return typeof Q==="number"&&Number.isInteger(Q)&&Q>=0&&Q<=x8}function y8(Q,q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)&&Object.values(Q).every((Z)=>n4(Z,q))}function X6(Q){return N4(Q,1)}function _8(Q){return Q[0]==="set"}function f8(Q,q){return N4(Q,q)&&Q.every(_8)}function N4(Q,q){return Array.isArray(Q)&&Q.every((Z)=>C8(Z,q))}function T8(Q){return typeof Q==="object"&&Q!==null&&!Array.isArray(Q)}function J7(Q,q){if(typeof Q!=="object"||Q===null)return Object.is(Q,q);return JSON.stringify(Q)===JSON.stringify(q)}function X4(Q){return Q!==null&&Q!==!1&&Q!==0&&Q!==""}function h8(Q,q,Z){if(!(typeof q==="number"&&typeof Z==="number")&&!(typeof q==="string"&&typeof Z==="string"))return null;switch(Q){case"gt":return q>Z;case"ge":return q>=Z;case"lt":return q<Z;case"le":return q<=Z}}function A8(Q,q,Z){if(typeof q!=="number"||typeof Z!=="number")return null;let J=Q==="add"?q+Z:Q==="sub"?q-Z:q*Z;return Number.isFinite(J)?J:null}function g8(Q,q){let Z=(J)=>typeof J==="string"||typeof J==="number";if(!Z(Q)||!Z(q))return null;return`${Q}${q}`}function p8(Q){return typeof Q==="string"||Array.isArray(Q)?Q.length:0}function E8(Q,q,Z){if(typeof q!=="number")return 0;if(typeof Q!=="number"||typeof Z!=="number")return q;return Math.max(q,Math.min(Q,Z))}function N8(Q,q){if(typeof Q!=="number"||typeof q!=="number")return 0;if(q===0)return 0;let Z=(Q%q+q)%q;return Number.isFinite(Z)?Z:0}function v8(Q,q,Z){if(Array.isArray(Q)&&typeof q==="number"&&Number.isInteger(q)&&q>=0&&q<Q.length)return Q[q]??null;return Z()}function k4(Q,q){return $7(Q,q,1)}function $7(Q,q,Z){if(Z>X5)return null;let J=(X)=>$7(X,q,Z+1);switch(Q[0]){case"lit":return Q[1];case"sig":return q.read(Q[1])??null;case"not":return!X4(J(Q[1]));case"and":return X4(J(Q[1]))&&X4(J(Q[2]));case"or":return X4(J(Q[1]))||X4(J(Q[2]));case"eq":return J7(J(Q[1]),J(Q[2]));case"ne":return!J7(J(Q[1]),J(Q[2]));case"gt":case"ge":case"lt":case"le":return h8(Q[0],J(Q[1]),J(Q[2]));case"add":case"sub":case"mul":return A8(Q[0],J(Q[1]),J(Q[2]));case"concat":return g8(J(Q[1]),J(Q[2]));case"length":return p8(J(Q[1]));case"trim":{let X=J(Q[1]);return typeof X==="string"?X.trim():""}case"lower":{let X=J(Q[1]);return typeof X==="string"?X.toLowerCase():""}case"includes":{let X=J(Q[1]),F=J(Q[2]);return typeof X==="string"&&typeof F==="string"?X.includes(F):!1}case"clamp":return E8(J(Q[1]),J(Q[2]),J(Q[3]));case"mod":return N8(J(Q[1]),J(Q[2]));case"at":return v8(J(Q[1]),J(Q[2]),()=>J(Q[3]));case"if":return X4(J(Q[1]))?J(Q[2]):J(Q[3]);case"get":{let X=J(Q[1]);return(T8(X)&&Object.hasOwn(X,Q[2])?X[Q[2]]:void 0)??null}case"uuid":return q.uuid();case"output":return q.output??null;case"detail":return q.detail??null}}function z5(Q){if(Q===null)return"";if(typeof Q==="string")return Q;if(typeof Q==="number"||typeof Q==="boolean")return String(Q);return JSON.stringify(Q)}var c8="[data-hs-view]",m8=new Set(e6);function v4(Q){return Q!==null&&"nodeType"in Q&&Q.nodeType===1}function Q5(Q){return Q.tagName==="INPUT"||Q.tagName==="TEXTAREA"}var u8=new Set(["email","number","password","search","tel","text","url"]);function w5(Q){return Q!==null&&Q5(Q)&&(Q.tagName==="TEXTAREA"||u8.has(Q.type))}var s8=new Set(["script","style"]);function i8(Q){return Q==="string"||Q==="number"||Q==="boolean"}function L5(Q,q,Z){let J=(Q.get(q)??0)+Z;if(J)Q.set(q,J);else Q.delete(q);return J}function j7(Q){return!Q[0]?.startsWith("$")}function m4(Q,q){let Z=Q.getAttribute(q);if(Z===null)return;try{return JSON.parse(Z)}catch{return}}function K7(Q,q){let Z=m4(Q,q);return K6(Z)?Z:void 0}function c4(Q,q){let Z=m4(Q,q);return X6(Z)?Z:[]}function l8(Q){return Array.isArray(Q)&&(Q.length===2||Q.length===3&&Q[2]===P5)&&t4(Q[0])&&e4(Q[1])}function d8(Q,q){let Z=m4(Q,q);if(!Array.isArray(Z))return new Set;return new Set(Z.filter((J)=>typeof J==="string"))}function z6(Q,q,Z){if(Q.getAttribute(q)!==Z)Q.setAttribute(q,Z)}function a8(Q){return Array.isArray(Q)&&Q.length===2&&typeof Q[0]==="string"&&X6(Q[1])}function V7(Q,q){let Z=m4(Q,q);return Array.isArray(Z)?Z.filter(a8):[]}var X7=new WeakMap;function r8(Q){let q=Q.getAttribute(_4.keydown)??"",Z=X7.get(Q);if(Z?.text===q)return Z.handlers;let J=V7(Q,_4.keydown);return X7.set(Q,{text:q,handlers:J}),J}function z7(Q){return V7(Q,W4.onCustom).filter(([q])=>Y7(q))}function o8(Q){let q=Q.key.length===1&&Q.key!==" ",Z=Q.ctrlKey||Q.altKey||Q.metaKey;return(Q.ctrlKey?"Control+":"")+(Q.altKey?"Alt+":"")+(Q.shiftKey&&(Z||!q)?"Shift+":"")+(Q.metaKey?"Meta+":"")+(Z&&q?Q.key.toLowerCase():Q.key)}var n8=new Set(["Tab","Shift+Tab"]);function B6(Q){return S5(Q.localName)}var t8=`[${W4.ownsChildren}]`;function j4(Q){return Q.parentElement?.closest(t8)!=null}function U4(Q,q){return[...Q.querySelectorAll(q)].filter((Z)=>!j4(Z))}function x5(Q,q){let Z=Q.closest(q);while(Z&&j4(Z))Z=Z.parentElement?.closest(q)??null;return Z}function B7(Q,q){let Z=Q.parentElement;return Z&&x5(Z,q)}function e8(Q){let q=m4(Q,n.signals);return Array.isArray(q)?q.filter(l8):[]}function C5(Q){let q=m4(Q,n.bind);if(!Array.isArray(q)||q.length!==2)return;let Z=q[0],J=q[1];return t4(Z)&&i8(J)?{path:Z,kind:J}:void 0}function Q9(Q,q){if(q==="boolean")return"checked"in Q?Q.checked:void 0;if(q==="string")return Q.value;if(Q.value.trim()==="")return;let Z=Number(Q.value);return Number.isFinite(Z)?Z:void 0}function Y9(Q,q){if(Q.type==="hidden")return!0;if(q==="boolean"&&"checked"in Q)return Q.checked!==Q.defaultChecked;return Q.value!==Q.defaultValue}function G7(Q){let{root:q}=Q,Z=new Map,J={read:p,uuid:()=>Q.uuid?.()??crypto.randomUUID()},X=new Map,F=new Map,I=new WeakMap,v=new Map,h=new Map,s=new Map,N=!1;function p(K){return Z.get(JSON.stringify(K))}function g(K,R){Z.set(JSON.stringify(K),R),P()}function P(){if(N)return;N=!0,queueMicrotask(()=>{N=!1,G()})}function y(K,R){if(j7(K))g(K,R)}function D(K,R){s.delete(JSON.stringify(K)),y(K,R)}function w(K,R){for(let[k,L,A]of e8(K)){let c=JSON.stringify(k);if(A!==P5&&j7(k))h.set(c,L);if(c===R)continue;if(A===P5&&Z.has(c))continue;y(k,L)}}function _(){let K=q.activeElement,R=w5(K)?C5(K):void 0;return R&&JSON.stringify(R.path)}function b(K){let R=C5(K);if(!R)return;let k=Q9(K,R.kind);if(k!==void 0)D(R.path,k)}function z(K,R){let k=m4(K,R);if(typeof k!=="object"||k===null||Array.isArray(k))return;let L=[];for(let A of Object.keys(k)){let c=Reflect.get(k,A);if(K6(c))L.push([A,c])}return L}function M(K){for(let[R,k]of z(K,n.attr)??[]){if(!Q7(R))continue;let L=k4(k,J);if(m8.has(R)){if(K.toggleAttribute(R,X4(L)),R==="checked"&&Q5(K)&&"checked"in K)K.checked=X4(L)}else if(L===null)K.removeAttribute(R);else z6(K,R,z5(L))}}function B(K){if(!B6(K))return;let R=z(K,W4.elementAttr),k=d8(K,W4.elementJson);for(let[L,A]of R??[]){if(!K5(L))continue;let c=k4(A,J);if(k.has(L))z6(K,L,t6(c));else if(typeof c==="boolean"&&!q7(L))K.toggleAttribute(L,c);else z6(K,L,z5(c))}}function j(K){if(!Q5(K))return;if(K===q.activeElement&&w5(K))return;let R=C5(K),k=R&&p(R.path);if(!R||k===void 0)return;if(R.kind==="boolean"){if("checked"in K)K.checked=X4(k);return}let L=z5(k);if(K.value!==L)K.value=L}function W(K){let R=I.get(K)??new Set;I.set(K,R);for(let[k]of z7(K)){if(R.has(k))continue;R.add(k),K.addEventListener(k,(L)=>{if(j4(K))return;let A="detail"in L?L.detail:null;for(let[c,J4]of z7(K))if(c===k)i(J4,K,null,e4(A)?A:null)})}}function G(){for(let K of U4(q,`[${W4.onCustom}]`))if(B6(K))W(K);for(let K of U4(q,`[${n.text}]`)){if(s8.has(K.localName))continue;let R=K7(K,n.text);if(!R)continue;let k=z5(k4(R,J));if(K.textContent!==k)K.textContent=k}for(let K of U4(q,`[${n.show}]`)){let R=K7(K,n.show);if(R)K.toggleAttribute("hidden",!X4(k4(R,J)))}for(let K of U4(q,`[${n.attr}]`))M(K);for(let K of U4(q,`[${W4.elementAttr}]`))B(K);for(let K of U4(q,`[${n.bind}]`))j(K)}function C(K){if(N)G();for(let R of U4(q,`[${n.ref}]`))if(R.getAttribute(n.ref)===K){R.focus();return}}function S(K){return X.has(K)}async function O(K,R,k,L,A,c=null,J4=[],I4){let F4=["$pending",R];L5(X,K,1),K.setAttribute("data-hs-pending",""),L5(F,R,1),g(F4,!0);let m={ok:!1};try{if(Q.send)m=await Q.send(K,R,k)}catch{}if(L5(X,K,-1)===0)K.removeAttribute("data-hs-pending");g(F4,L5(F,R,-1)>0);for(let M4 of J4){let h4=JSON.stringify(M4);if(s.get(h4)!==I4)continue;s.delete(h4);let s4=h.get(h4);if(!m.ok&&s4!==void 0)y(M4,s4)}try{if(m.ok)g(["$restored",R],!1),i(L,K,m.data,c);else i(A,K,null,c)}catch(M4){(q.defaultView??window).reportError(M4)}return m}function T(K,R){let k=K.find(([,A])=>!h.has(JSON.stringify(A)));if(k)throw Error(`Pending path ${JSON.stringify(k[1])} has no committed value`);let L={};for(let[,A,c]of K)y(A,k4(c,R)),s.set(JSON.stringify(A),L);return L}function i(K,R,k=null,L=null){let A={...J,output:k,detail:L};for(let c of K)switch(c[0]){case"set":D(c[1],k4(c[2],A));break;case"toggle":D(c[1],!X4(p(c[1])??null));break;case"focus":C(c[1]);break;case"focus-key":{let J4=k4(c[2],A);if(typeof J4==="string")C(JSON.stringify([c[1],J4]));break}case"call":{if(!R)break;let[,J4,I4,F4,m,M4=[]]=c,h4=T(M4,A),s4=Object.fromEntries(Object.entries(I4).map(([q5,g5])=>[q5,k4(g5,A)]));O(R,J4,JSON.stringify(s4),F4,m,L,M4.map(([,q5])=>q5),h4);break}case"after":{let[,J4,I4,F4]=c;clearTimeout(v.get(J4)),v.set(J4,setTimeout(()=>{v.delete(J4),i(F4,R?.isConnected?R:null,k,L)},I4));break}case"cancel":clearTimeout(v.get(c[1])),v.delete(c[1]);break;case"when":{let[,J4,I4,F4]=c,m=X4(k4(J4,A))?I4:F4;i(m,R,k,L);break}}}for(let K of U4(q,`[${n.signals}]`))w(K);for(let K of Q.restoredActions??[])g(["$restored",K],!0);for(let K of U4(q,`[${n.bind}]`)){let R=C5(K);if(R&&Q5(K)&&Y9(K,R.kind))b(K)}G();for(let K of["click","input","change"]){let R=_4[K];q.addEventListener(K,(k)=>{let L=k.target;if(!v4(L))return;if(K!=="click"&&Q5(L)&&!j4(L))b(L);let A=x5(L,`[${R}]`);if(A&&!(K==="click"&&S(A)))i(c4(A,R),A)})}let L4=`[${_4.keydown}]`;q.addEventListener("keydown",(K)=>{let R=K.target;if(K.isComposing||K.keyCode===229||!v4(R))return;if(K.defaultPrevented)return;let k=o8(K);for(let L=x5(R,L4);L;L=B7(L,L4)){let A=r8(L).find(([c])=>c===k);if(!A)continue;if(!n8.has(k))K.preventDefault();if(!S(L))i(A[1],L);return}});function r(K,R,k){let L=`[${K}]`;for(let A=x5(R,L);A&&!(k&&A.contains(k));A=B7(A,L))if(!S(A))i(c4(A,K),A)}let C4=q.activeElement,z4=null;return q.addEventListener("focusin",(K)=>{let R=K.target;if(!v4(R))return;let k=K.relatedTarget,L=C4;if(z4&&k===z4.target)L=z4.from;else if(v4(k))L=k;else if(L?.isConnected){C4=R,z4={target:R,from:L};try{r(_4.focusLeave,L,R)}finally{z4=null}if(C4!==R)return}C4=R,r(_4.focusEnter,R,L)}),q.addEventListener("focusout",(K)=>{let R=K.target;if(!v4(R))return;let k=v4(K.relatedTarget)?K.relatedTarget:null;if(!k&&!q.hasFocus())return;if(C4=k,R===z4?.target)return;r(_4.focusLeave,R,k)}),q.addEventListener("reset",(K)=>{let R=K.target;if(!v4(R))return;queueMicrotask(()=>{for(let k of U4(R,`[${n.bind}]`))if(Q5(k))b(k)})}),{applySnapshots(K){let R=_();for(let k of U4(K,`[${n.signals}]`))if(k.closest(c8)===K)w(k,R);P()},send(K,R,k){if(j4(K)||S(K))return Promise.resolve({ok:!1});return O(K,R,k,c4(K,n.onSuccess),c4(K,n.onError))},sendForm(K,R,k){if(j4(K)||S(K))return Promise.resolve({ok:!1});return i(c4(K,n.onSubmit),K),G(),O(K,R,new FormData(K,k),c4(K,n.onSuccess),c4(K,n.onError))},isSending:S,keepsChildren(K,R){let k=W4.ownsChildren;return K.hasAttribute(k)&&R.hasAttribute(k)&&K.tagName===R.tagName&&K.getAttribute("id")===R.getAttribute("id")},boundElementAttributes(K){if(!B6(K))return new Set;let R=z(K,W4.elementAttr);return new Set((R??[]).map(([k])=>k).filter((k)=>K5(k)))},write:g,read:p}}var V6="hypersig:reset-draft";function y5(Q){return Array.isArray(Q)}function W7(){let Q=new Map;for(let q of document.querySelectorAll("form[data-hs-draft-form]")){let Z=q.dataset.hsDraftForm;if(!Z||Q.has(Z)||q.closest("[data-hs-view]")||j4(q))continue;let J=new Map;for(let X of q.querySelectorAll("[data-hs-draft]")){let F=X.getAttribute("name");if(!F||J.has(F)||X.closest("[data-hs-view]")||j4(X))continue;if(X instanceof HTMLTextAreaElement||X instanceof HTMLInputElement&&["text","search","email","tel","url","number","hidden"].includes(X.type))J.set(F,X)}Q.set(Z,{form:q,fields:J})}return Q}function U7(Q){let q=[];for(let[Z,{fields:J}]of W7())if([...J.values()].some((X)=>X.value!==X.defaultValue))q.push([Z,[...J].map(([X,F])=>[X,F.value])]);if(!q.length)return!0;if(!Q)return!1;try{return sessionStorage.setItem(V6,JSON.stringify({url:location.pathname+location.search,scope:Q,expires:Date.now()+120000,drafts:q})),!0}catch{return!1}}function F7(Q){let q=[];try{let Z=sessionStorage.getItem(V6);if(!Z)return q;sessionStorage.removeItem(V6);let J=JSON.parse(Z);if(!Q||!J||typeof J!=="object"||!("scope"in J)||J.scope!==Q||!("url"in J)||J.url!==location.pathname+location.search||!("expires"in J)||typeof J.expires!=="number"||J.expires<Date.now()||!("drafts"in J)||!y5(J.drafts))return q;let X=W7();for(let F of J.drafts){if(!y5(F))continue;let[I,v]=F,h=typeof I==="string"?X.get(I):void 0;if(!h||!y5(v)||h.fields.size!==v.length)continue;let s=new Map;for(let N of v){if(!y5(N))continue;let[p,g]=N,P=typeof p==="string"?h.fields.get(p):void 0;if(P&&typeof g==="string")s.set(P,g)}if(s.size===h.fields.size){for(let[p,g]of s)p.value=g;h.form.setAttribute("data-hs-draft-restored","");let N=h.form.getAttribute("action");if(N!==null)q.push(N)}}}catch{}return q}var H7=function(){let Q=()=>{},q={morphStyle:"outerHTML",callbacks:{beforeNodeAdded:Q,afterNodeAdded:Q,beforeNodeMorphed:Q,afterNodeMorphed:Q,beforeNodeRemoved:Q,afterNodeRemoved:Q,beforeAttributeUpdated:Q},head:{style:"merge",shouldPreserve:(P)=>P.getAttribute("im-preserve")==="true",shouldReAppend:(P)=>P.getAttribute("im-re-append")==="true",shouldRemove:Q,afterHeadMorphed:Q},restoreFocus:!0};function Z(P,y,D={}){let w=N(P),_=p(y),b=s(w,_,D);return v(b,w,_,(z)=>{let M=X(z,()=>{if(z.morphStyle==="innerHTML")return F(z,w,_),Array.from(w.childNodes);else return J(z,w,_)});return z.pantry.remove(),M})}function J(P,y,D){let w=p(y);return F(P,w,D,y,y.nextSibling),Array.from(w.childNodes)}function X(P,y){if(!P.config.restoreFocus)return y();let D=P.doc.activeElement;if(!(g.inputElement(D)||g.textAreaElement(D)))return y();let{id:w,selectionStart:_,selectionEnd:b}=D,z=y();if(w&&w!==P.doc.activeElement?.getAttribute("id"))D=P.target.querySelector(`[id="${CSS.escape(w)}"]`),D?.focus();if(D&&!D.selectionEnd&&b)try{D.setSelectionRange(_,b)}catch{}return z}let F=function(){function P(B,j,W,G=null,C=null){if(g.templateElement(j)&&g.templateElement(W))j=j.content,W=W.content;G||=j.firstChild;for(let S of W.childNodes){if(G&&G!=C){let T=D(B,S,G,C);if(T){if(T!==G)_(B,G,T);I(T,S,B),G=T.nextSibling;continue}}if(g.element(S)){let T=S.getAttribute("id");if(B.persistentIds.has(T)){let i=b(j,T,G,B);I(i,S,B),G=i.nextSibling;continue}}let O=y(j,S,G,B);if(O)G=O.nextSibling}while(G&&G!=C){let S=G;G=G.nextSibling,w(B,S)}}function y(B,j,W,G){if(G.callbacks.beforeNodeAdded(j)===!1)return null;if(G.idMap.has(j)){let C=G.doc.createElementNS(j.namespaceURI,j.localName);return B.insertBefore(C,W),I(C,j,G),G.callbacks.afterNodeAdded(C),C}else{let C=G.doc.importNode(j,!0);return B.insertBefore(C,W),G.callbacks.afterNodeAdded(C),C}}let D=function(){function B(G,C,S,O){let T=null,i=C.nextSibling,L4=0,r=S;while(r&&r!=O){if(W(r,C)){if(j(G,r,C))return r;if(T===null){if(!G.idMap.has(r))T=r}}if(T===null&&i&&W(r,i)){if(L4++,i=i.nextSibling,L4>=2)T=void 0}if(G.activeElementAndParents.includes(r))break;r=r.nextSibling}return T||null}function j(G,C,S){let O=G.idMap.get(C),T=G.idMap.get(S);if(!T||!O)return!1;for(let i of O)if(T.has(i))return!0;return!1}function W(G,C){let S=G,O=C;return S.nodeType===O.nodeType&&S.tagName===O.tagName&&(!S.getAttribute?.("id")||S.getAttribute?.("id")===O.getAttribute?.("id"))}return B}();function w(B,j){if(j===B.pantry)return;if(B.idMap.has(j))M(B.pantry,j,null);else{if(B.callbacks.beforeNodeRemoved(j)===!1)return;j.parentNode?.removeChild(j),B.callbacks.afterNodeRemoved(j)}}function _(B,j,W){let G=j;while(G&&G!==W){let C=G;G=G.nextSibling,w(B,C)}return G}function b(B,j,W,G){let C=`[id="${CSS.escape(j)}"]`,S=G.target.getAttribute?.("id")===j&&G.target||G.target.querySelector(C)||G.pantry.querySelector(C);return z(S,G),M(B,S,W),S}function z(B,j){let W=B.getAttribute("id");while(B=B.parentNode){let G=j.idMap.get(B);if(G){if(G.delete(W),!G.size)j.idMap.delete(B)}}}function M(B,j,W){if(B.moveBefore)try{B.moveBefore(j,W)}catch(G){B.insertBefore(j,W)}else B.insertBefore(j,W)}return P}(),I=function(){function P(z,M,B){if(B.ignoreActive&&z===B.doc.activeElement)return null;if(B.callbacks.beforeNodeMorphed(z,M)===!1)return z;if(g.headElement(z)&&B.head.style==="none");else if(g.headElement(z)&&B.head.style!=="morph")h(z,M,B);else if(y(z,M,B),!b(z,B))F(B,z,M);return B.callbacks.afterNodeMorphed(z,M),z}function y(z,M,B){let j=M.nodeType;if(j===1){let W=z,G=M,C=W.attributes,S=G.attributes;for(let O of S){if(W.getAttribute(O.name)===O.value)continue;if(_(O.name,W,"update",B))continue;W.setAttributeNode(O.cloneNode())}for(let O=C.length-1;0<=O;O--){let T=C[O];if(!T)continue;if(!G.hasAttribute(T.name)){if(_(T.name,W,"remove",B))continue;W.removeAttribute(T.name)}}if(!b(W,B))D(W,G,B)}if(j===8||j===3){if(z.nodeValue!==M.nodeValue)z.nodeValue=M.nodeValue}}function D(z,M,B){if(g.inputElement(z)&&g.inputElement(M)&&M.type!=="file"){let j=M.value,W=z.value;if(w(z,M,"checked",B),w(z,M,"disabled",B),!M.hasAttribute("value")){if(!_("value",z,"remove",B))z.value="",z.removeAttribute("value")}else if(W!==j){if(!_("value",z,"update",B))z.setAttribute("value",j),z.value=j}}else if(g.optionElement(z)&&g.optionElement(M))w(z,M,"selected",B);else if(g.textAreaElement(z)&&g.textAreaElement(M)){let j=M.value,W=z.value;if(_("value",z,"update",B))return;if(j!==W)z.value=j;if(z.firstChild&&z.firstChild.nodeValue!==j)z.firstChild.nodeValue=j}}function w(z,M,B,j){let W=M[B],G=z[B];if(W!==G){let C=_(B,z,"update",j);if(!C)z[B]=M[B];if(W){if(!C)z.setAttribute(B,"")}else if(!_(B,z,"remove",j))z.removeAttribute(B)}}function _(z,M,B,j){if(z==="value"&&j.ignoreActiveValue&&M===j.doc.activeElement)return!0;return j.callbacks.beforeAttributeUpdated(z,M,B)===!1}function b(z,M){return!!M.ignoreActiveValue&&z===M.doc.activeElement&&z!==M.doc.body}return P}();function v(P,y,D,w){if(P.head.block&&P.head.style!=="none"){let _=y.querySelector("head"),b=D.querySelector("head");if(_&&b){let z=h(_,b,P);return Promise.all(z).then(()=>{let M=Object.assign(P,{head:{block:!1,style:"none"}});return w(M)})}}return w(P)}function h(P,y,D){let w=[],_=[],b=[],z=[],M=new Map;for(let j of y.children)M.set(j.outerHTML,j);for(let j of P.children){let W=M.has(j.outerHTML),G=D.head.shouldReAppend(j),C=D.head.shouldPreserve(j);if(W||C)if(G)_.push(j);else M.delete(j.outerHTML),b.push(j);else if(D.head.style==="append"){if(G)_.push(j),z.push(j)}else if(D.head.shouldRemove(j)!==!1)_.push(j)}z.push(...M.values());let B=[];for(let j of z){let W=D.doc.createRange().createContextualFragment(j.outerHTML).firstChild;if(D.callbacks.beforeNodeAdded(W)!==!1){if("href"in W&&W.href||"src"in W&&W.src){let G,C=new Promise(function(S){G=S});W.addEventListener("load",function(){G()}),B.push(C)}P.appendChild(W),D.callbacks.afterNodeAdded(W),w.push(W)}}for(let j of _)if(D.callbacks.beforeNodeRemoved(j)!==!1)P.removeChild(j),D.callbacks.afterNodeRemoved(j);return D.head.afterHeadMorphed(P,{added:w,kept:b,removed:_}),B}let s=function(){function P(B,j,W){let{persistentIds:G,idMap:C}=z(B,j),S=y(W),O=S.morphStyle||"outerHTML";if(!["innerHTML","outerHTML"].includes(O))throw`Do not understand how to morph style ${O}`;if(O==="innerHTML"&&!B.append)throw`Cannot morph the innerHTML of a ${B.nodeName} node, as it cannot have children`;let T=S.head.style||"merge";if(!["merge","append","morph","none"].includes(T))throw`Do not understand how to morph head style ${T}`;let i=B.ownerDocument;return{target:B,newContent:j,doc:i,config:S,morphStyle:O,ignoreActive:S.ignoreActive,ignoreActiveValue:S.ignoreActiveValue,restoreFocus:S.restoreFocus,idMap:C,persistentIds:G,pantry:D(i),activeElementAndParents:w(B,i),callbacks:S.callbacks,head:S.head}}function y(B){let j=Object.assign({},q);return Object.assign(j,B),j.callbacks=Object.assign({},q.callbacks,B.callbacks),j.head=Object.assign({},q.head,B.head),j}function D(B){let j=B.createElement("div");return j.hidden=!0,B.documentElement.append(j),j}function w(B,j){let W=[],G=j.activeElement;if(G?.tagName!=="BODY"&&B.contains(G))while(G){if(W.push(G),G===B)break;G=G.parentElement}return W}function _(B){let j=[],W=B;for(let C of W.querySelectorAll?.("[id]")??[]){let S=C.getAttribute("id");if(S)j.push({elt:C,id:S})}let G=W.getAttribute?.("id");if(G)j.push({elt:B,id:G});return j}function b(B,j,W,G){for(let{elt:C,id:S}of G)if(j.has(S)){let O=C;while(O){let T=B.get(O);if(T==null)T=new Set,B.set(O,T);if(T.add(S),O===W)break;O=O.parentElement}}}function z(B,j){let W=_(B),G=_(j),C=M(W,G),S=new Map;b(S,C,B,W);let O=j.__idiomorphRoot||j;return b(S,C,O,G),{persistentIds:C,idMap:S}}function M(B,j){let W=new Set,G=new Map;for(let{elt:S,id:O}of B)if(G.has(O))W.add(O);else G.set(O,S.tagName);let C=new Set;for(let{elt:S,id:O}of j)if(C.has(O))W.add(O);else if(G.get(O)===S.tagName)C.add(O);for(let S of W)C.delete(S);if(W.size)console.warn("[Warning] duplicate ids found during morph, state loss within these elements is possible:",Array.from(W));return C}return P}(),{normalizeElement:N,normalizeParent:p}=function(){let P=new WeakSet;function y(b){if(g.document(b))return b.documentElement;else return b}function D(b){if(b==null)return document.createElement("div");else if(typeof b==="string")return D(_(b));else if(P.has(b))return b;else if(g.node(b))if(b.parentNode)return new w(b);else{let z=document.createElement("div");return z.append(b),z}else{let z=document.createElement("div");for(let M of[...b])z.append(M);return z}}class w{constructor(b){this.originalNode=b,this.realParentNode=b.parentNode,this.previousSibling=b.previousSibling,this.nextSibling=b.nextSibling}get childNodes(){let b=[],z=this.previousSibling?this.previousSibling.nextSibling:this.realParentNode.firstChild;while(z&&z!=this.nextSibling)b.push(z),z=z.nextSibling;return b}querySelectorAll(b){return this.childNodes.reduce((z,M)=>{if(g.element(M)){if(M.matches(b))z.push(M);let B=M.querySelectorAll(b);for(let j=0;j<B.length;j++)z.push(B[j])}return z},[])}insertBefore(b,z){return this.realParentNode.insertBefore(b,z)}moveBefore(b,z){return this.realParentNode.moveBefore(b,z)}get __idiomorphRoot(){return this.originalNode}}function _(b){let z=new DOMParser,M=b.replace(/<svg(\s[^>]*>|>)([\s\S]*?)<\/svg>/gim,"");if(M.match(/<\/html>/)||M.match(/<\/head>/)||M.match(/<\/body>/)){let B=z.parseFromString(b,"text/html");if(B.doctype?.remove(),M.match(/<\/html>/))return P.add(B),B;else{let j=B.firstChild;if(j)P.add(j);return j}}else{let j=z.parseFromString("<body><template>"+b+"</template></body>","text/html").body.querySelector("template").content;return P.add(j),j}}return{normalizeElement:y,normalizeParent:D}}(),g=function(){let P=(D)=>D instanceof Element||D?.nodeType===Node.ELEMENT_NODE,y=(D,w)=>P(D)&&D.localName===w&&D.namespaceURI==="http://www.w3.org/1999/xhtml";return{element:P,node:(D)=>D instanceof Node||typeof D?.nodeType==="number",document:(D)=>D instanceof Document||D?.nodeType===Node.DOCUMENT_NODE,templateElement:(D)=>y(D,"template"),headElement:(D)=>y(D,"head"),inputElement:(D)=>y(D,"input"),optionElement:(D)=>y(D,"option"),textAreaElement:(D)=>y(D,"textarea")}}();return{morph:Z,defaults:q}}();var R7="data-hs-pending";function q9(Q,q,Z){let J=q.getAttribute("data-hs-view");if(J&&Q.getAttribute("data-hs-view")===J)return{kind:"skip"};if(Z.keepsChildren(Q,q))return{kind:"keepChildren",boundAttributes:Z.boundElementAttributes(q)};let X=W4.ownsChildren;if(Q.hasAttribute(X)&&q.hasAttribute(X))return{kind:"replace"};return{kind:"morph"}}function Z9(Q,q,Z){for(let J of Q.getAttributeNames()){if(q.hasAttribute(J)||Z.boundAttributes.has(J))continue;if(J===R7&&Z.isSending)continue;Q.removeAttribute(J)}for(let{name:J,value:X}of q.attributes){if(Z.boundAttributes.has(J))continue;if(Q.getAttribute(J)!==X)Q.setAttribute(J,X)}}function D7(Q,q,Z){let J=[];H7.morph(Q,q,{head:{style:"none"},morphStyle:"innerHTML",ignoreActiveValue:w5(Q.ownerDocument.activeElement),restoreFocus:!0,callbacks:{beforeNodeMorphed(X,F){if(!(X instanceof Element)||!(F instanceof Element))return!0;let I=q9(X,F,Z);switch(I.kind){case"morph":return!0;case"skip":return!1;case"keepChildren":return Z9(X,F,{isSending:Z.isSending(X),boundAttributes:I.boundAttributes}),!1;case"replace":return J.push([X,F.cloneNode(!0)]),!1}},beforeAttributeUpdated(X,F,I){return!(X===R7&&I==="remove"&&Z.isSending(F))}}});for(let[X,F]of J)X.replaceWith(F)}function J9(Q,q){let Z=Q.filter((J)=>J<=q&&q-J<60000);return Z.length<3?{kind:"reload",reloadTimes:[...Z,q]}:{kind:"ask-user"}}function k7(Q){try{let q=sessionStorage.getItem("hypersig:reset-reloads")??"[]",Z=[];try{Z=JSON.parse(q)}catch{}let J=Array.isArray(Z)?Z.filter((F)=>typeof F==="number"):[],X=J9(J,Q);if(X.kind==="ask-user")return!1;return sessionStorage.setItem("hypersig:reset-reloads",JSON.stringify(X.reloadTimes)),!0}catch{return!1}}/*! @license DOMPurify 3.4.18 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.18/LICENSE */function $9(Q,q){this.v=Q,this.k=q}function I7(Q,q){(q==null||q>Q.length)&&(q=Q.length);for(var Z=0,J=Array(q);Z<q;Z++)J[Z]=Q[Z];return J}function j9(Q){if(Array.isArray(Q))return Q}function K9(Q,q){var Z=Q==null?null:typeof Symbol<"u"&&Q[Symbol.iterator]||Q["@@iterator"];if(Z!=null){var J,X,F,I,v=[],h=!0,s=!1;try{if(F=(Z=Z.call(Q)).next,q===0){if(Object(Z)!==Z)return;h=!1}else for(;!(h=(J=F.call(Z)).done)&&(v.push(J.value),v.length!==q);h=!0);}catch(N){s=!0,X=N}finally{try{if(!h&&Z.return!=null&&(I=Z.return(),Object(I)!==I))return}finally{if(s)throw X}}return v}}function X9(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */function z9(Q,q){return j9(Q)||K9(Q,q)||B9(Q,q)||X9()}function B9(Q,q){if(Q){if(typeof Q=="string")return I7(Q,q);var Z={}.toString.call(Q).slice(8,-1);return Z==="Object"&&Q.constructor&&(Z=Q.constructor.name),Z==="Map"||Z==="Set"?Array.from(Q):Z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Z)?I7(Q,q):void 0}}function _5(Q){var q,Z;function J(F,I){try{var v=Q[F](I),h=v.value,s=h instanceof $9;Promise.resolve(s?h.v:h).then(function(N){if(s){var p=F==="return"&&h.k?F:"next";if(!h.k||N.done)return J(p,N);N=Q[p](N).value}X(!!v.done,N)},function(N){J("throw",N)})}catch(N){X(2,N)}}function X(F,I){F===2?q.reject(I):q.resolve({value:I,done:F}),(q=q.next)?J(q.key,q.arg):Z=null}this._invoke=function(F,I){return new Promise(function(v,h){var s={key:F,arg:I,resolve:v,reject:h,next:null};Z?Z=Z.next=s:(q=Z=s,J(F,I))})},typeof Q.return!="function"&&(this.return=void 0)}_5.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_5.prototype.next=function(Q){return this._invoke("next",Q)},_5.prototype.throw=function(Q){return this._invoke("throw",Q)},_5.prototype.return=function(Q){return this._invoke("return",Q)};var{entries:T7,keys:V9,setPrototypeOf:M7,isFrozen:G9,getPrototypeOf:h7,getOwnPropertyDescriptor:A7,freeze:q4,seal:e,create:T4}=Object,g7=typeof Reflect<"u"&&Reflect,h5=g7.apply,O6=g7.construct;if(!q4)q4=function(q){return q};if(!e)e=function(q){return q};if(!h5)h5=function(q,Z){for(var J=arguments.length,X=Array(J>2?J-2:0),F=2;F<J;F++)X[F-2]=arguments[F];return q.apply(Z,X)};if(!O6)O6=function(q){for(var Z=arguments.length,J=Array(Z>1?Z-1:0),X=1;X<Z;X++)J[X-1]=arguments[X];return new q(...J)};var P4=l(Array.prototype.forEach),W9=l(Array.prototype.lastIndexOf),O7=l(Array.prototype.pop),B5=l(Array.prototype.push),U9=l(Array.prototype.slice),F9=l(Array.prototype.splice),Y5=Array.isArray,G6=p7(Set),W6=l(Set.prototype.add),V5=l(Set.prototype.has),u4=l(String.prototype.toLowerCase),U6=l(String.prototype.toString),H9=l(String.prototype.match),f5=l(String.prototype.replace),F6=l(String.prototype.indexOf),R9=l(String.prototype.trim),D9=l(Number.prototype.toString),k9=l(Boolean.prototype.toString),b7=typeof BigInt>"u"?null:l(BigInt.prototype.toString),P7=typeof Symbol>"u"?null:l(Symbol.prototype.toString),$4=l(Object.prototype.hasOwnProperty),G5=l(Object.prototype.toString),I9=RegExp.prototype.test,Y4=function(q,Z){if(q instanceof RegExp)q.lastIndex=0;return h5(I9,q,[Z])},S4=p7(TypeError);function l(Q){return function(q){for(var Z=arguments.length,J=Array(Z>1?Z-1:0),X=1;X<Z;X++)J[X-1]=arguments[X];return h5(Q,q,J)}}function p7(Q){return function(){for(var q=arguments.length,Z=Array(q),J=0;J<q;J++)Z[J]=arguments[J];return O6(Q,Z)}}function u(Q,q){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u4;if(M7)M7(Q,null);if(!Y5(q))return Q;let J=q.length;while(J--){let X=q[J];if(typeof X==="string"){let F=Z(X);if(F!==X){if(!G9(q))q[J]=F;X=F}}Q[X]=!0}return Q}function M9(Q){for(let q=0;q<Q.length;q++)if(!$4(Q,q))Q[q]=null;return Q}function A5(Q){let q=T4(null);for(let J of T7(Q)){var Z=z9(J,2);let X=Z[0],F=Z[1];if($4(Q,X))if(Y5(F))q[X]=M9(F);else if(F&&typeof F==="object"&&F.constructor===Object)q[X]=A5(F);else q[X]=F}return q}function W5(Q){let q=T4(null),Z=V9(Q),J=Z.length;while(J--)q[Z[J]]=Q[Z[J]];return q}function O9(Q){switch(typeof Q){case"string":return Q;case"number":return D9(Q);case"boolean":return k9(Q);case"bigint":return b7?b7(Q):"0";case"symbol":return P7?P7(Q):"Symbol()";case"undefined":return G5(Q);case"function":case"object":{if(Q===null)return G5(Q);let q=Q,Z=B4(q,"toString");if(typeof Z==="function"){let J=Z(q);return typeof J==="string"?J:G5(J)}return G5(Q)}default:return G5(Q)}}function B4(Q,q){while(Q!==null){let J=A7(Q,q);if(J){if(J.get)return l(J.get);if(typeof J.value==="function")return l(J.value)}Q=h7(Q)}function Z(){return null}return Z}function b9(Q,q){while(Q!==null){let Z=A7(Q,q);if(Z)return Z.get?l(Z.get):null;Q=h7(Q)}return null}function P9(Q){if(!Q)return!1;try{return Y4(Q,""),!0}catch(q){return!1}}var S7=q4(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),H6=q4(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R6=q4(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S9=q4(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D6=q4(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L9=q4(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L7=q4(["#text"]),C7=q4(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),k6=q4(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),x7=q4(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),T5=q4(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),C9=e(/{{[\w\W]*|^[\w\W]*}}/g),x9=e(/<%[\w\W]*|^[\w\W]*%>/g),w9=e(/\${[\w\W]*/g),y9=e(/{{|}}|\${|<%|%>|<%|%>/),_9=e(/^data-[\-\w.\u00B7-\uFFFF]+$/),f9=e(/^aria-[\-\w]+$/),w7=e(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),T9=e(/^(?:\w+script|data):/i),h9=e(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),A9=e(/^html$/i),g9=e(/^[a-z][.\w]*(-[.\w]+)+$/i),I6=e(/<[/\w!]/g),y7=e(/<[/\w]/g),p9=e(/<\/no(script|embed|frames)/i),_7=e(/\/>/i),E9=e(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i),N9=e(/^[\r\n\t ]+/),t={element:1,text:3,processingInstruction:7,comment:8,document:9,documentFragment:11},v9=q4(u({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),c9=function(){return typeof window>"u"?null:window},m9=function(q,Z){if(typeof q!=="object"||typeof q.createPolicy!=="function")return null;let J=null,X="data-tt-policy-suffix";if(Z&&Z.hasAttribute(X))J=Z.getAttribute(X);let F="dompurify"+(J?"#"+J:"");try{return q.createPolicy(F,{createHTML(I){return I},createScriptURL(I){return I}})}catch(I){return console.warn("TrustedTypes policy "+F+" could not be created."),null}},f7=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},f4=function(q,Z,J,X){return $4(q,Z)&&Y5(q[Z])?u(X.base?W5(X.base):{},q[Z],X.transform):J},M6=function(q,Z,J){let X=$4(q,Z)?q[Z]:void 0;return X&&typeof X==="object"?A5(X):J};function E7(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c9(),q=(U)=>E7(U);if(q.version="3.4.18",q.removed=[],!Q||!Q.document||Q.document.nodeType!==t.document||!Q.Element)return q.isSupported=!1,q;let Z=Q.document,J=Z,X=J.currentScript,F=Q.HTMLTemplateElement,I=Q.Node,v=Q.Element,h=Q.NodeFilter,s=Q.DOMParser,N=Q.trustedTypes,p=v.prototype,g=B4(p,"cloneNode"),P=B4(p,"remove"),y=B4(p,"removeAttributeNode"),D=B4(p,"nextSibling"),w=B4(p,"childNodes"),_=B4(p,"parentNode"),b=B4(p,"shadowRoot"),z=B4(p,"attributes"),M=I&&I.prototype?B4(I.prototype,"nodeType"):null,B=I&&I.prototype?B4(I.prototype,"nodeName"):null,j=I&&I.prototype?B4(I.prototype,"ownerDocument"):null,W=function(Y){return M?M(Y):Y.nodeType},G=function(Y){return B?B(Y):Y.nodeName},C=b9(p,"namespaceURI"),S=function(Y){return C?C(Y):Y.namespaceURI};if(typeof F==="function"){let U=Z.createElement("template");if(U.content&&U.content.ownerDocument)Z=U.content.ownerDocument}let O,T="",i,L4=!1,r=0,C4=function(){if(r>0)throw S4('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},z4=function(Y){C4(),r++;try{return O.createHTML(Y)}finally{r--}},K=function(Y){return O&&u5?z4(Y):Y},R=function(Y){C4(),r++;try{return O.createScriptURL(Y)}finally{r--}},k=function(){if(!L4)i=m9(N,X),L4=!0;return i},L=Z,A=L.implementation,c=L.createNodeIterator,J4=L.createDocumentFragment,I4=L.getElementsByTagName,F4=J.importNode,m=f7();q.isSupported=typeof T7==="function"&&typeof _==="function"&&A&&A.createHTMLDocument!==void 0;let M4=C9,h4=x9,s4=w9,q5=_9,g5=f9,u7=T9,s7=h9,i7=g9,S6=w7,d=null,p5=u({},[...S7,...H6,...R6,...D6,...L7]),a=null,E5=u({},[...C7,...k6,...x7,...T5]),H4=null,Z5=null,L6=null,x4=Object.seal(T4(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),C6=!0,N5=!0,x6=!1,v5=!0,O4=!1,A4=!0,g4=!1,c5=!1,U5=null,F5=null,m5=!1,i4=!1,H5=!1,u5=!1,w6=!0,y6=!1,_6="user-content-",s5=!0,i5=!1,p4=null,l4=!1,E4=null,f6=u({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),T6=null,h6=u({},["audio","video","img","source","image","track"]),A6=null,g6=u({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),R5="http://www.w3.org/1998/Math/MathML",D5="http://www.w3.org/2000/svg",R4="http://www.w3.org/1999/xhtml",d4=R4,l5=!1,p6=null,l7=u({},[R5,D5,R4],U6),d7=q4(u({},["mi","mo","mn","ms","mtext"])),d5=null,a7=q4(u({},["annotation-xml"])),a5=null,r7=q4(T4(null)),o7=u({},["title","style","font","a","script"]),J5=null,n7=["application/xhtml+xml","text/html"],t7="text/html",o=null,k5=null,e7=Z.createElement("form"),E6=function(Y){return Y instanceof RegExp||Y instanceof Function},r5=function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Y||typeof Y!=="object")Y={};Y=A5(Y),J5=n7.indexOf(Y.PARSER_MEDIA_TYPE)===-1?t7:Y.PARSER_MEDIA_TYPE,o=J5==="application/xhtml+xml"?U6:u4,d=f4(Y,"ALLOWED_TAGS",p5,{transform:o}),a=f4(Y,"ALLOWED_ATTR",E5,{transform:o}),p6=f4(Y,"ALLOWED_NAMESPACES",l7,{transform:U6}),A6=f4(Y,"ADD_URI_SAFE_ATTR",g6,{transform:o,base:g6}),T6=f4(Y,"ADD_DATA_URI_TAGS",h6,{transform:o,base:h6}),E4=f4(Y,"FORBID_CONTENTS",f6,{transform:o}),Z5=f4(Y,"FORBID_TAGS",T4(null),{transform:o}),L6=f4(Y,"FORBID_ATTR",T4(null),{transform:o}),l4=$4(Y,"USE_PROFILES")?Y.USE_PROFILES&&typeof Y.USE_PROFILES==="object"?A5(Y.USE_PROFILES):Y.USE_PROFILES:!1,C6=Y.ALLOW_ARIA_ATTR!==!1,N5=Y.ALLOW_DATA_ATTR!==!1,x6=Y.ALLOW_UNKNOWN_PROTOCOLS||!1,v5=Y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,O4=Y.SAFE_FOR_TEMPLATES||!1,A4=Y.SAFE_FOR_XML!==!1,g4=Y.WHOLE_DOCUMENT||!1,i4=Y.RETURN_DOM||!1,H5=Y.RETURN_DOM_FRAGMENT||!1,u5=Y.RETURN_TRUSTED_TYPE||!1,m5=Y.FORCE_BODY||!1,w6=Y.SANITIZE_DOM!==!1,y6=Y.SANITIZE_NAMED_PROPS||!1,s5=Y.KEEP_CONTENT!==!1,i5=Y.IN_PLACE||!1,S6=P9(Y.ALLOWED_URI_REGEXP)?Y.ALLOWED_URI_REGEXP:w7,d4=typeof Y.NAMESPACE==="string"?Y.NAMESPACE:R4,d5=M6(Y,"MATHML_TEXT_INTEGRATION_POINTS",d7),a5=M6(Y,"HTML_INTEGRATION_POINTS",a7);let $=M6(Y,"CUSTOM_ELEMENT_HANDLING",r7);if(H4=T4(null),$4($,"tagNameCheck")&&E6($.tagNameCheck))H4.tagNameCheck=$.tagNameCheck;if($4($,"attributeNameCheck")&&E6($.attributeNameCheck))H4.attributeNameCheck=$.attributeNameCheck;if($4($,"allowCustomizedBuiltInElements")&&typeof $.allowCustomizedBuiltInElements==="boolean")H4.allowCustomizedBuiltInElements=$.allowCustomizedBuiltInElements;if(e(H4),O4)N5=!1;if(H5)i4=!0;if(l4){if(($4(Y,"ALLOWED_TAGS")||$4(Y,"ALLOWED_ATTR"))&&typeof console<"u"&&typeof console.warn==="function")console.warn("DOMPurify: USE_PROFILES overrides ALLOWED_TAGS and ALLOWED_ATTR. Do not use these options together.");if(d=u({},L7),a=T4(null),l4.html===!0)u(d,S7),u(a,C7);if(l4.svg===!0)u(d,H6),u(a,k6),u(a,T5);if(l4.svgFilters===!0)u(d,R6),u(a,k6),u(a,T5);if(l4.mathMl===!0)u(d,D6),u(a,x7),u(a,T5)}if(x4.tagCheck=null,x4.attributeCheck=null,$4(Y,"ADD_TAGS")){if(typeof Y.ADD_TAGS==="function")x4.tagCheck=Y.ADD_TAGS;else if(Y5(Y.ADD_TAGS)){if(d===p5)d=W5(d);u(d,Y.ADD_TAGS,o)}}if($4(Y,"ADD_ATTR")){if(typeof Y.ADD_ATTR==="function")x4.attributeCheck=Y.ADD_ATTR;else if(Y5(Y.ADD_ATTR)){if(a===E5)a=W5(a);u(a,Y.ADD_ATTR,o)}}if($4(Y,"ADD_FORBID_CONTENTS")&&Y5(Y.ADD_FORBID_CONTENTS)){if(E4===f6)E4=W5(E4);u(E4,Y.ADD_FORBID_CONTENTS,o)}if(s5)d["#text"]=!0;if(g4)u(d,["html","head","body"]);if(d.table)d.tbody=!0,delete Z5.tbody;if(Y.TRUSTED_TYPES_POLICY){if(typeof Y.TRUSTED_TYPES_POLICY.createHTML!=="function")throw S4('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Y.TRUSTED_TYPES_POLICY.createScriptURL!=="function")throw S4('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let V=O;O=Y.TRUSTED_TYPES_POLICY;try{T=z4("")}catch(H){throw O=V,H}}else if(Y.TRUSTED_TYPES_POLICY===null)O=void 0,T="";else{if(O===void 0)O=k();if(O&&typeof T==="string")T=z4("")}k5=q4(Y)},N6=u({},[...H6,...R6,...S9]),v6=u({},[...D6,...L9]),Q8=function(Y,$,V){if($===R4)return Y==="svg";if($===R5)return Y==="svg"&&(V==="annotation-xml"||d5[V]);return Boolean(N6[Y])},Y8=function(Y,$,V){if($===R4)return Y==="math";if($===D5)return Y==="math"&&a5[V];return Boolean(v6[Y])},q8=function(Y,$,V){if($===D5&&!a5[V])return!1;if($===R5&&!d5[V])return!1;return!v6[Y]&&(o7[Y]||!N6[Y])},Z8=function(Y){let $=S(Y),V=u4(G(Y)),H=_(Y),x=d4,f="template";if(H&&W(H)===t.element)x=S(H),f=u4(G(H));if(!p6[$])return!1;if($===D5)return Q8(V,x,f);if($===R5)return Y8(V,x,f);if($===R4)return q8(V,x,f);return J5==="application/xhtml+xml"},w4=function(Y){B5(q.removed,{element:Y});try{_(Y).removeChild(Y)}catch($){if(P(Y),!_(Y))throw S4("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},c6=function(Y,$,V){try{y(Y,$)}catch(H){try{Y.removeAttribute(V)}catch(x){}}},o5=function(Y){e5(Y);let $=w(Y);if($)P4(U9($),(V)=>{try{P(V)}catch(H){}});if(W(Y)===t.element)n5(Y,!1)},a4=function(Y,$,V){if(!V)try{V=$.getAttributeNode(Y)}catch(H){V=null}if(B5(q.removed,{attribute:V||null,from:$}),V)c6($,V,Y);else try{$.removeAttribute(Y)}catch(H){}if(Y==="is")if(i4||H5)try{w4($)}catch(H){}else try{$.setAttribute(Y,"")}catch(H){}},n5=function(Y,$){let V=z(Y);if(!V)return;for(let H=V.length-1;H>=0;--H){let x=V[H],f=x&&x.name;if(typeof f==="string"&&!($&&a[o(f)]))c6(Y,x,f)}},t5=function(Y,$){let V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,H=[Y];while(H.length>0){let x=H.pop();if($(x)===!1)continue;if(V&&W(x)===t.element){let E=b(x);if(r4(E))H.push(E)}let f=w(x);if(f)for(let E=f.length-1;E>=0;--E)H.push(f[E])}},e5=function(Y){t5(Y,($)=>{if(W($)===t.element)n5($,!0)})},Q6=function(Y){let $=[];return t5(Y,(V)=>{$.push(V)},!0),$},J8=function(Y,$){let V=G6();P4(Q6(Y),(H)=>{if(W(H)===t.element)W6(V,H)}),P4($,(H)=>{if(W(H)===t.element&&!V5(V,H))n5(H,!0)})},m6=function(Y,$){let V=!1;return P4(q.removed,(H)=>{if(H.element)V=V||H.element===Y,e5(H.element)}),J8(Y,$),V},$8=8,j8=function(Y,$){let V=p4,H=null,x=()=>{if(!H)H=G6(),P4($,(f)=>{W6(H,f)});return H};for(let f=0;;f++){let E=Q6(Y),Q4=[Y],b4=!1;if(P4(E,(G4)=>{if(W(G4)===t.documentFragment)B5(Q4,G4);else if(!b4&&!V5(V,G4))b4=V5(x(),G4)}),!b4)return;if(f>=$8)throw S4("the tree kept changing during in-place sanitization; refusing to return it");P4(Q4,(G4,K4)=>{K8(G4,K4>0,Y,x())})}},K8=function(Y,$,V,H){let x=I5(Y),f;while(f=x.nextNode()){if(!V5(H,f)||V5(p4,f))continue;if($)V4(m.uponSanitizeShadowNode,f,null);J6(f,V)}},X8=function(Y){if(p4)W6(p4,Y)},u6=function(Y,$){if(!A4)return!1;if(Y==="patchsrc")return!0;return Y==="for"&&$!=="label"&&$!=="output"},z8=function(Y){if(!A4)return;t5(Y,($)=>{let V=W($);if(V===t.processingInstruction||V===t.comment&&Y4(y7,$.data)){try{P($)}catch(H){}return!1}if(V===t.element){let H=$,x=o(G($));try{if(H.hasAttribute&&H.hasAttribute("patchsrc"))H.removeAttribute("patchsrc");if(H.hasAttribute&&H.hasAttribute("for")&&u6("for",x))H.removeAttribute("for")}catch(f){}}return!0})},s6=function(Y){let $=null,V=null;if(m5)Y="<remove></remove>"+Y;else{let f=H9(Y,N9);V=f&&f[0]}if(J5==="application/xhtml+xml"&&d4===R4)Y='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Y+"</body></html>";let H=O?z4(Y):Y;if(d4===R4)try{$=new s().parseFromString(H,J5)}catch(f){}if(!$||!$.documentElement){$=A.createDocument(d4,"template",null);try{$.documentElement.innerHTML=l5?T:H}catch(f){}}let x=$.body||$.documentElement;if(Y&&V)x.insertBefore(Z.createTextNode(V),x.childNodes[0]||null);if(d4===R4)return I4.call($,g4?"html":"body")[0];return g4?$.documentElement:x},I5=function(Y){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=j?j(Y):Y.ownerDocument;return c.call(V||Y,Y,($?0:h.SHOW_ELEMENT)|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Y6=function(Y){return Y=f5(Y,M4," "),Y=f5(Y,h4," "),Y=f5(Y,s4," "),Y},q6=function(Y){var $;Z6(Y);let V=($=Y.querySelectorAll)===null||$===void 0?void 0:$.call(Y,"template");if(V)P4(V,(H)=>{if(r4(H.content))q6(H.content)})},Z6=function(Y){Y.normalize();let $=I5(Y,!0),V=$.nextNode();while(V)V.data=Y6(V.data),V=$.nextNode()},M5=function(Y){let $=B?B(Y):null;if(typeof $!=="string")return!1;if(o($)!=="form")return!1;return typeof Y.nodeName!=="string"||typeof Y.textContent!=="string"||typeof Y.removeChild!=="function"||Y.attributes!==z(Y)||typeof Y.removeAttribute!=="function"||typeof Y.removeAttributeNode!=="function"||typeof Y.getAttributeNode!=="function"||typeof Y.setAttribute!=="function"||typeof Y.namespaceURI!=="string"||typeof Y.insertBefore!=="function"||typeof Y.hasChildNodes!=="function"||Y.nodeType!==M(Y)||Y.childNodes!==w(Y)},i6=function(Y){if(!M||typeof Y!=="object"||Y===null)return null;try{let $=M(Y);return typeof $==="number"?$:null}catch($){return null}},r4=function(Y){return i6(Y)===t.documentFragment},$5=function(Y){return i6(Y)!==null};function V4(U,Y,$){if(U.length===0)return;P4(U,(V)=>{V.call(q,Y,$,k5)})}let B8=function(Y,$,V){if(A4&&V===t.element&&Y.hasChildNodes()&&!$5(Y.firstElementChild)&&Y4(I6,Y.textContent)&&Y4(I6,Y.innerHTML))return!0;if(A4&&v9[$]&&V===t.element&&S(Y)===R4&&($5(Y.firstElementChild)||typeof Y.textContent==="string"&&Y4(I6,Y.textContent)))return!0;if(V===t.processingInstruction)return!0;if(A4&&V===t.comment&&Y4(y7,Y.data))return!0;return!1},O5=function(Y,$){if(Y instanceof RegExp)return Y4(Y,$);if(Y instanceof Function){for(var V=arguments.length,H=Array(V>2?V-2:0),x=2;x<V;x++)H[x-2]=arguments[x];return Boolean(Y($,...H))}return!1},V8=function(Y,$,V){if(!Z5[$]&&a6($)&&O5(H4.tagNameCheck,$))return!1;if(s5&&!E4[$]&&!E4[u4($)]){let H=_(Y),x=w(Y);if(x&&H){let f=x.length;for(let E=f-1;E>=0;--E){let Q4=Y===V?g(x[E],!0):x[E];H.insertBefore(Q4,D(Y))}}}return w4(Y),!0},l6=function(Y,$,V,H){if(Y.length===0)return $;return $===V||$===H?W5($):$},o4=function(Y,$){if(Y===$||_(Y)!==null)return!1;if(i5)e5(Y);return!0},G8=function(Y,$){if(X8(Y),V4(m.beforeSanitizeElements,Y,null),o4(Y,$))return!0;if(M5(Y))return w4(Y),!0;let V=o(G(Y)),H=W(Y);if(d=l6(m.uponSanitizeElement,d,p5,U5),V4(m.uponSanitizeElement,Y,{tagName:V,allowedTags:d}),o4(Y,$))return!0;if(B8(Y,V,H))return w4(Y),!0;if(Z5[V]||!(x4.tagCheck instanceof Function&&x4.tagCheck(V))&&!d[V]){let x=V8(Y,V,$);if(x===!1){if(V4(m.afterSanitizeElements,Y,null),o4(Y,$))return!0}return x}if(H===t.element&&!Z8(Y))return w4(Y),!0;if((V==="noscript"||V==="noembed"||V==="noframes")&&Y4(p9,Y.innerHTML))return w4(Y),!0;if(O4&&H===t.text){let x=Y.textContent,f=Y6(x);if(x!==f)B5(q.removed,{element:Y.cloneNode()}),Y.textContent=f}return V4(m.afterSanitizeElements,Y,null),o4(Y,$)},d6=function(Y,$,V){if(L6[$])return!1;if(u6($,Y))return!1;if(w6&&($==="id"||$==="name")&&((V in Z)||(V in e7)))return!1;let H=a[$]||x4.attributeCheck instanceof Function&&x4.attributeCheck($,Y);if(N5&&Y4(q5,$))return!0;if(C6&&Y4(g5,$))return!0;if(!H)return a6(Y)&&O5(H4.tagNameCheck,Y)&&O5(H4.attributeNameCheck,$,Y)||$==="is"&&H4.allowCustomizedBuiltInElements&&O5(H4.tagNameCheck,V);if(A6[$])return!0;let x=f5(V,s7,"");if(Y4(S6,x))return!0;if(($==="src"||$==="xlink:href"||$==="href")&&Y!=="script"&&F6(V,"data:")===0&&T6[Y])return!0;if(x6&&!Y4(u7,x))return!0;return!V},W8=u({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),a6=function(Y){return!W8[u4(Y)]&&Y4(i7,Y)},U8=function(Y,$,V,H){if(O&&typeof N==="object"&&typeof N.getAttributeType==="function"&&!V)switch(N.getAttributeType(Y,$)){case"TrustedHTML":return z4(H);case"TrustedScriptURL":return R(H)}return H},F8=function(Y,$,V,H){try{if(V)Y.setAttributeNS(V,$,H);else Y.setAttribute($,H);if(M5(Y))return w4(Y),!1;return!0}catch(x){return a4($,Y),!1}},r6=function(Y,$){if(A4&&Y4(E9,$))return!0;return u4(Y)==="attributename"&&F6($,"href")!==-1},H8=function(Y,$){if(V4(m.beforeSanitizeAttributes,Y,null),o4(Y,$))return;let V=Y.attributes;if(!V||M5(Y))return;a=l6(m.uponSanitizeAttribute,a,E5,F5);let H={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:a,forceKeepAttr:void 0},x=V.length,f=o(G(Y));while(x--){let E=V[x],Q4=E.name,b4=E.namespaceURI,G4=E.value,K4=o(Q4),D4=G4,Z4=Q4==="value"?D4:R9(D4),o6=!1;if(H.attrName=K4,H.attrValue=Z4,H.keepAttr=!0,H.forceKeepAttr=void 0,V4(m.uponSanitizeAttribute,Y,H),Z4=H.attrValue,y6&&(K4==="id"||K4==="name")&&F6(Z4,_6)!==0)a4(Q4,Y,E),Z4=_6+Z4,o6=!0;if(r6(Q4,Z4)){a4(Q4,Y,E);continue}if(H.forceKeepAttr)continue;if(!H.keepAttr){a4(Q4,Y,E);continue}if(!v5&&Y4(_7,Z4)){a4(Q4,Y,E);continue}if(O4)Z4=Y6(Z4);if(!d6(f,K4,Z4)){a4(Q4,Y,E);continue}if(Z4=U8(f,K4,b4,Z4),Z4!==D4){if(F8(Y,Q4,b4,Z4)&&o6)O7(q.removed)}}V4(m.afterSanitizeAttributes,Y,null),o4(Y,$)},J6=function(Y,$){if(G8(Y,$),H8(Y,$),r4(Y.content))$6(Y.content)},$6=function(Y){let $=null,V=I5(Y);V4(m.beforeSanitizeShadowDOM,Y,null);while($=V.nextNode())if(V4(m.uponSanitizeShadowNode,$,null),J6($,Y),W($)===t.element){let H=b($);if(r4(H))j6(H),$6(H)}if(O4)Z6(Y);V4(m.afterSanitizeShadowDOM,Y,null)},j6=function(Y){let $=[{node:Y,shadow:null}];while($.length>0){let V=$.pop();if(V.shadow){$6(V.shadow);continue}let H=V.node,x=W(H)===t.element,f=w(H);if(f)for(let E=f.length-1;E>=0;--E)$.push({node:f[E],shadow:null});if(x){let E=B?B(H):null;if(typeof E==="string"&&o(E)==="template"){let Q4=H.content;if(r4(Q4))$.push({node:Q4,shadow:null})}}if(x){let E=b(H);if(r4(E))$.push({node:null,shadow:E},{node:E,shadow:null})}}};return q.sanitize=function(U){let Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=null,V=null,H=null,x=null;if(l5=!U,l5)U="<!-->";if(typeof U!=="string"&&!$5(U)){if(U=O9(U),typeof U!=="string")throw S4("dirty is not a string, aborting")}if(!q.isSupported)return U;if(c5)d=U5,a=F5;else r5(Y);q.removed=[];let f=i5&&typeof U!=="string"&&$5(U),E=[],Q4=p4;if(f){z8(U);let D4=G(U);if(typeof D4==="string"){let Z4=o(D4);if(!d[Z4]||Z5[Z4])throw o5(U),S4("root node is forbidden and cannot be sanitized in-place")}if(M5(U))throw o5(U),S4("root node is clobbered and cannot be sanitized in-place");E=Q6(U),p4=G6()}else if($5(U)){if($=s6("<!---->"),V=$.ownerDocument.importNode(U,!0),V.nodeType===t.element&&V.nodeName==="BODY")$=V;else if(V.nodeName==="HTML")$=V;else $.appendChild(V);j6($)}else{if(!i4&&!O4&&!g4&&U.indexOf("<")===-1)return K(U);if($=s6(U),!$)return i4?null:u5?T:""}if($&&m5)w4($.firstChild);let b4=f?U:$;try{if(f)j6(U);let D4=I5(b4);while(H=D4.nextNode())J6(H,b4);if(f)j8(U,E)}catch(D4){if(f)o5(U),m6(U,E);throw D4}finally{p4=Q4}if(f){if(m6(U,E))throw S4("a node selected for removal could not be safely returned; refusing to sanitize in place");if(O4)q6(U);return U}if(i4){if(O4)q6($);if(H5){x=J4.call($.ownerDocument);while($.firstChild)x.appendChild($.firstChild)}else x=$;if(a.shadowroot||a.shadowrootmode)x=F4.call(J,x,!0);return x}let G4=()=>g4?$.outerHTML:$.innerHTML,K4=G4();if(O4&&Y4(y9,K4))Z6($),K4=G4();if(g4&&d["!doctype"]&&$.ownerDocument&&$.ownerDocument.doctype&&$.ownerDocument.doctype.name&&Y4(A9,$.ownerDocument.doctype.name))K4="<!DOCTYPE "+$.ownerDocument.doctype.name+`>
|
|
3
|
+
`+K4;return K(K4)},q.setConfig=function(){let U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r5(U),c5=!0,U5=d,F5=a},q.clearConfig=function(){k5=null,c5=!1,U5=null,F5=null,O=i,T=""},q.isValidAttribute=function(U,Y,$){if(!k5)r5({});let V=o(U),H=o(Y);if(typeof $==="string"&&(r6(Y,$)||!v5&&Y4(_7,$)))return!1;return d6(V,H,$)},q.addHook=function(U,Y){if(typeof Y!=="function")return;if(!$4(m,U))return;B5(m[U],Y)},q.removeHook=function(U,Y){if(!$4(m,U))return;if(Y!==void 0){let $=W9(m[U],Y);return $===-1?void 0:F9(m[U],$,1)[0]}return O7(m[U])},q.removeHooks=function(U){if(!$4(m,U))return;m[U]=[]},q.removeAllHooks=function(){m=f7()},q}var N7=E7();function v7(Q){return N7.sanitize(Q,{RETURN_DOM_FRAGMENT:!0,USE_PROFILES:{html:!0},FORBID_TAGS:["style","template"],FORBID_ATTR:["data-hs-stream","style"],CUSTOM_ELEMENT_HANDLING:{tagNameCheck:(q)=>S5(q),attributeNameCheck:(q)=>K5(q),allowCustomizedBuiltInElements:!1}})}function u9(Q){return typeof Q==="object"&&Q!==null&&"target"in Q&&typeof Q.target==="string"&&"version"in Q&&typeof Q.version==="number"&&Number.isSafeInteger(Q.version)&&Q.version>0&&"html"in Q&&typeof Q.html==="string"&&(!("children"in Q)||Array.isArray(Q.children)&&Q.children.every((q)=>typeof q==="string"))}var s9=3000;function b6(Q){if(!(Q instanceof MessageEvent)||typeof Q.data!=="string")return;try{return JSON.parse(Q.data)}catch{return}}function i9(Q,q,Z){let J=!0,X=Q,F,I=new Map,v=new WeakMap,h=new Set,s=!1,N=!1;function p(D){switch(D){case"reload-required":return"Live updates require reloading this page. Copy your draft before reloading.";case"too-many-tabs":return"Live updates stopped because this page is open in too many tabs. Reload to resume.";case"disconnected":return I.size?"Live updates disconnected.":"";case"connecting":case"ready":return""}}function g(D){document.documentElement.dataset.hsConnection=D;let w=P6(document,`[${j5.connectionStatus}]`);if(w)w.textContent=p(D)}function P({keepStatus:D=!1}={}){if(!J||N)return;let w=new Map;for(let j of document.querySelectorAll("[data-hs-view]")){let W=j.dataset.hsView;if(W&&!W.includes("/")&&!j4(j))w.set(W,j)}if(w.size===I.size&&[...w].every(([j,W])=>I.get(j)===W)&&(F||w.size===0))return;F?.close();for(let[j,W]of w)if(I.get(j)!==W)h.delete(j);if(I=w,I.size===0){F=void 0,g("disconnected");return}if(!D)g("connecting");if(!s)for(let j of I.keys())h.add(j);s=!0;let _=new URL(X);for(let j of I.keys())if(_.searchParams.append(b5.view,j),h.has(j))_.searchParams.append(b5.pristine,j);let b=_.searchParams.getAll(b5.pristine),z=new EventSource(_);F=z,z.addEventListener("open",()=>{if(z===F)v=new WeakMap});function M(j){let W=I.get(j.split("/",1)[0]??"");if(!W?.isConnected)return;if(!j.includes("/"))return W.dataset.hsView===j?W:void 0;for(let G of W.querySelectorAll("[data-hs-view]"))if(G.dataset.hsView===j&&G.id===`hs-view-${j}`&&!j4(G))return G}z.addEventListener(y4.update,(j)=>{if(z!==F)return;let W=b6(j);if(!u9(W))return;let G=M(W.target);if(!G||W.version<=(v.get(G)??0))return;let C=v7(W.html),S=new Set(W.children);for(let O of C.querySelectorAll("[data-hs-view]")){let T=O.dataset.hsView;if(!T||!T.startsWith(`${W.target}/`)||T.slice(W.target.length+1).includes("/")||O.tagName!=="DIV"||O.id!==`hs-view-${T}`||j4(O)||!S.delete(T))O.removeAttribute("data-hs-view")}D7(G,C,Z),Z.applySnapshots(G),G.removeAttribute("data-hs-view-error"),v.set(G,W.version),h.delete(W.target.split("/",1)[0]??"")}),z.addEventListener(y4.viewError,(j)=>{if(z!==F)return;let W=b6(j);if(typeof W!=="string")return;let G=M(W);if(!G)return;h.delete(W.split("/",1)[0]??""),G.setAttribute("data-hs-view-error",""),G.dispatchEvent(new CustomEvent("hypersig:view-error",{bubbles:!0,detail:{target:W}}))}),z.addEventListener(y4.ready,()=>{if(z===F)g("ready")});function B(){h.clear();for(let j of I.values())j.removeAttribute("data-hs-view-error"),j.replaceChildren();g("disconnected")}z.addEventListener("error",()=>{if(z!==F)return;if(z.readyState===EventSource.CLOSED){B();return}if(g("disconnected"),b.every((j)=>h.has(j)))return;z.close(),F=void 0,setTimeout(()=>{if(!F)P()},s9)}),z.addEventListener(y4.denied,()=>{if(z!==F)return;z.close(),B()}),z.addEventListener(y4.reconnect,(j)=>{if(z!==F)return;z.close(),F=void 0;let W=b6(j);if(n6(W))X=new URL(W,X);P({keepStatus:!0})}),z.addEventListener(y4.evicted,()=>{if(z!==F)return;z.close(),N=!0,g("too-many-tabs")}),z.addEventListener(y4.reset,()=>{if(z!==F)return;if(z.close(),U7(q)&&k7(Date.now()))location.reload();else B(),g("reload-required")})}new MutationObserver((D)=>{if(D.some((_)=>_.type==="attributes"||[..._.addedNodes,..._.removedNodes].some((b)=>b instanceof Element&&(b.matches("[data-hs-view]:not([data-hs-view*='/'])")||b.querySelector("[data-hs-view]:not([data-hs-view*='/'])")))))P()}).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-hs-view"]}),window.addEventListener("pagehide",()=>{J=!1,F?.close(),F=void 0}),window.addEventListener("pageshow",()=>{J=!0,P()}),P()}function P6(Q,q){for(let Z of Q?.querySelectorAll(q)??[])if(!j4(Z))return Z;return null}function l9(Q){let q=new URL("../actions/",Q).pathname;return async function(J,X,F){let I=J.closest("form"),v=`[${j5.error}]`,h=P6(I,v)??P6(document,v),s=I?[...I.querySelectorAll(`[${j5.fieldError}]`)].filter((P)=>!j4(P)):void 0;if(h)h.textContent="";for(let P of s??[])P.textContent="";let N=0,p;try{let P=new URL(X,location.href);if(P.origin!==location.origin||!P.pathname.startsWith(q))throw Error("Unexpected Action URL");let y=await fetch(P,{method:"POST",body:F,headers:{Accept:"application/json",...typeof F==="string"?{"Content-Type":"application/json"}:{}},redirect:"error"});if(y.ok){let D=await y.json().catch(()=>null),w=D&&typeof D==="object"&&"data"in D&&e4(D.data)?D.data:null;if(J.hasAttribute("data-hs-action-result"))J.dispatchEvent(new CustomEvent("hypersig:action-success",{bubbles:!0,detail:{data:w}}));return{ok:!0,data:w}}N=y.status,p=await y.json().catch(()=>null)}catch{}let g=N?`Action failed (${N}).`:"Action request failed.";if(p&&typeof p==="object"&&"error"in p){if(p.error==="action"&&"message"in p&&typeof p.message==="string")g=p.message;if(p.error==="input"&&"fieldIssues"in p&&Array.isArray(p.fieldIssues)&&s?.length){let P=[];for(let y of p.fieldIssues){if(!y||typeof y!=="object"||!("message"in y)||typeof y.message!=="string")continue;let D="field"in y?[...s].find((w)=>w.getAttribute(j5.fieldError)===y.field):void 0;if(D)D.textContent=D.textContent?`${D.textContent} ${y.message}`:y.message;else P.push(y.message)}g=P.join(" ")}}if(h)h.textContent=g;return J.dispatchEvent(new CustomEvent("hypersig:action-error",{bubbles:!0,detail:{status:N}})),{ok:!1}}}function d9(Q){async function q(Z,J,X){if(!Z.hasAttribute("data-hs-reset-on-success")){await Q.sendForm(Z,J,X);return}let F=new AbortController,I=!1,v=()=>{I=!0};Z.addEventListener("input",v,{signal:F.signal}),Z.addEventListener("change",v,{signal:F.signal});try{if((await Q.sendForm(Z,J,X)).ok&&!I)HTMLFormElement.prototype.reset.call(Z)}finally{F.abort()}}document.addEventListener("click",(Z)=>{if(Z.defaultPrevented||!(Z.target instanceof Element))return;let J=Z.target.closest("button[data-hs-action]"),X=J?.dataset.hsAction,F=J?.dataset.hsInput;if(!J||!X||F===void 0)return;Z.preventDefault(),Q.send(J,X,F)}),document.addEventListener("submit",(Z)=>{if(Z.defaultPrevented||!(Z.target instanceof HTMLFormElement)||!Z.target.hasAttribute("data-hs-form"))return;let J=Z.target;Z.preventDefault();let X=J.getAttribute("action");if(X)q(J,X,Z.submitter)})}var m7=document.querySelector("script[data-hs-stream]"),c7=m7?.dataset.hsStream;if(c7){let Q=new URL(c7,location.href);if(Q.origin===location.origin){let q=m7?.dataset.hsDraftScope,Z=F7(q),J=G7({root:document,send:l9(Q),restoredActions:Z});i9(Q,q,J),d9(J)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal-runtime.d.ts","sourceRoot":"","sources":["../src/signal-runtime.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,SAAS,
|
|
1
|
+
{"version":3,"file":"signal-runtime.d.ts","sourceRoot":"","sources":["../src/signal-runtime.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,SAAS,EAET,UAAU,EAGX,MAAM,eAAe,CAAC;AAmBvB,qEAAqE;AACrE,MAAM,MAAM,UAAU,GAAG;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,SAAS,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAA;CAAE,CAAC;AAEvE,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,QAAQ,CAAC;IACf;;;;OAIG;IACH,IAAI,CAAC,CACH,OAAO,EAAE,WAAW,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,GAAG,QAAQ,GACtB,OAAO,CAAC,UAAU,CAAC,CAAC;IACvB,gFAAgF;IAChF,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,sEAAsE;IACtE,IAAI,CAAC,IAAI,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,cAAc,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACxC;;;;;;;;;;OAUG;IACH,IAAI,CACF,OAAO,EAAE,WAAW,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,GAAG,QAAQ,GACtB,OAAO,CAAC,UAAU,CAAC,CAAC;IACvB;;;;;;;;OAQG;IACH,QAAQ,CACN,IAAI,EAAE,eAAe,EACrB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,WAAW,GAAG,IAAI,GAC5B,OAAO,CAAC,UAAU,CAAC,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC;IACrC;;;;;OAKG;IACH,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACzD;;;;OAIG;IACH,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9D,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IAChD,IAAI,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;CAC/C;AASD,KAAK,KAAK,GAAG,gBAAgB,GAAG,mBAAmB,CAAC;AAwBpD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,IAAI,KAAK,CAMvE;AA4ID;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAEtD;AAyED,wBAAgB,YAAY,CAAC,OAAO,EAAE,oBAAoB,GAAG,aAAa,CAmkBzE"}
|