@divkitframework/divkit 32.26.0 → 32.27.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/dist/browser/client-devtool.js +1 -1
- package/dist/browser/client-hydratable.js +1 -1
- package/dist/browser/client.js +1 -1
- package/dist/client-devtool.js +1 -1
- package/dist/client-hydratable.js +1 -1
- package/dist/client.js +1 -1
- package/dist/esm/client-devtool.mjs +1 -1
- package/dist/esm/client-hydratable.mjs +1 -1
- package/dist/esm/client.mjs +1 -1
- package/dist/esm/server.mjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.27.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var ey=Object.defineProperty;var ty=(Ai,qn,fi)=>qn in Ai?ey(Ai,qn,{enumerable:!0,configurable:!0,writable:!0,value:fi}):Ai[qn]=fi;var gr=(Ai,qn,fi)=>ty(Ai,typeof qn!="symbol"?qn+"":qn,fi);function Ai(t){return BigInt(t)}const qn=Ai("9223372036854775807"),fi=Ai("-9223372036854775808");function nn(t){const r=Ai(t);if(r>qn||r<fi)throw new Error("Integer overflow.");return r}const qi=nn(0);function ql(t){let r=t;return r<0&&(r=-r),r}function Jl(t){let r=0;return t>0?r=1:t<0&&(r=-1),nn(r)}function pd(t,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:t,consequent:r[3],alternate:r[7]}:t}function md(t,r){return r&&r[3]?{type:"TryExpression",test:t,alternate:r[3]}:t}function zo(t,r){return r.length?r.reduce((e,n)=>({type:"BinaryExpression",operator:n[1],left:e,right:n[3]}),t):t}function Kl(t,r){return r.length?r.reduce((e,n)=>({type:"LogicalExpression",operator:n[1],left:e,right:n[3]}),t):t}function bd(t,r){return r.length?r.reduce((e,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:e,method:n[3],arguments:n[5][2]}},t):t}function yd(t){return t==="true"||t==="false"?{type:"BooleanLiteral",value:t==="true"}:{type:"Variable",id:{type:"Identifier",name:t}}}function Xl(t){if(t.every(e=>typeof e=="string"))return{type:"StringLiteral",value:t.join("")};let r=t.reduce((e,n)=>(typeof n=="string"&&typeof e[e.length-1]=="string"?e[e.length-1]+=n:e.push(n),e),[]).reduce((e,n)=>(typeof n=="string"?e.quasis.push({type:"StringLiteral",value:n}):(e.quasis.length===e.expressions.length&&e.quasis.push({type:"StringLiteral",value:""}),e.expressions.push(n)),e),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function wd(t){try{return nn(t)}catch{throw new Error(`Value ${t} can't be converted to Integer type.`)}}function Zl(t){if(t==="'"||t==="\\")return t;throw new Error("Incorrect string escape")}function vd(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function so(t,r,e,n){var i=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(i,so.prototype),i.expected=r,i.found=e,i.location=n,i.name="SyntaxError",i}vd(so,Error);function Us(t,r,e){return e=e||" ",t.length>r?t:(r-=t.length,e+=e.repeat(r),t+e.slice(0,r))}so.prototype.format=function(t){var r="Error: "+this.message;if(this.location){var e=null,n;for(n=0;n<t.length;n++)if(t[n].source===this.location.source){e=t[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(e){var a=this.location.end,l=Us("",o.line.toString().length," "),u=e[i.line-1],c=i.line===a.line?a.column:u.length+1,f=c-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.27.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var ay=Object.defineProperty;var cy=(N,ti,Un)=>ti in N?ay(N,ti,{enumerable:!0,configurable:!0,writable:!0,value:Un}):N[ti]=Un;var or=(N,ti,Un)=>cy(N,typeof ti!="symbol"?ti+"":ti,Un);function N(){}const ti=t=>t;function Un(t,r){for(const e in r)t[e]=r[e];return t}function $l(t){return t()}function ea(){return Object.create(null)}function Xr(t){t.forEach($l)}function Mr(t){return typeof t=="function"}function kd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Ho;function Qn(t,r){return t===r?!0:(Ho||(Ho=document.createElement("a")),Ho.href=r,t===Ho.href)}function Ir(t,r){return t!=t?r==r:t!==r}function Ed(t){return Object.keys(t).length===0}function G(t,...r){if(t==null){for(const n of r)n(void 0);return N}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function Ks(t){let r;return G(t,e=>r=e)(),r}function gn(t,r,e){t.$$.on_destroy.push(G(r,e))}function Wo(t,r,e,n){if(t){const i=ta(t,r,e,n);return t[0](i)}}function ta(t,r,e,n){return t[1]&&n?Un(e.ctx.slice(),t[1](n(r))):e.ctx}function Uo(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Go(t,r,e,n,i,o){if(i){const s=ta(r,e,n,o);t.p(s,i)}}function Yo(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Js(t,r,e){return t.set(e),r}function qo(t){return t&&Mr(t.destroy)?t.destroy:N}function ra(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const na=typeof window<"u";let Xs=na?()=>window.performance.now():()=>Date.now(),Zs=na?t=>requestAnimationFrame(t):N;const uo=new Set;function ia(t){uo.forEach(r=>{r.c(t)||(uo.delete(r),r.f())}),uo.size!==0&&Zs(ia)}function Qs(t){let r;return uo.size===0&&Zs(ia),{promise:new Promise(e=>{uo.add(r={c:t,f:e})}),abort(){uo.delete(r)}}}const mi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Ko=!1;function Ad(){Ko=!0}function Cd(){Ko=!1}function jd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Sd(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let c=0;c<r.length;c++){const u=r[c];u.claim_order!==void 0&&l.push(u)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const c=r[l].claim_order,u=(i>0&&r[e[i]].claim_order<=c?i+1:jd(1,i,d=>r[e[d]].claim_order,c))-1;n[l]=e[u]+1;const f=u+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,c)=>l.claim_order-c.claim_order);for(let l=0,c=0;l<s.length;l++){for(;c<o.length&&s[l].claim_order>=o[c].claim_order;)c++;const u=c<o.length?o[c]:null;t.insertBefore(s[l],u)}}function Vd(t,r){t.appendChild(r)}function oa(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Id(t){const r=Pe("style");return r.textContent="/* empty */",Dd(oa(t),r),r.sheet}function Dd(t,r){return Vd(t.head||t,r),r.sheet}function Nt(t,r){if(Ko){for(Sd(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function Td(t,r,e){t.insertBefore(r,e||null)}function ee(t,r,e){Ko&&!e?Nt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function A(t){t.parentNode&&t.parentNode.removeChild(t)}function pn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Pe(t){return document.createElement(t)}function fn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function xn(t){return document.createTextNode(t)}function Ar(){return xn(" ")}function Ge(){return xn("")}function He(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function b(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Fd=["width","height"];function si(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&Fd.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Md(t,r){Object.keys(r).forEach(e=>{Pd(t,e,r[e])})}function Pd(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:b(t,r,e)}function sa(t){return/-/.test(t)?Md:si}function Ie(t){return Array.from(t.childNodes)}function la(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function aa(t,r,e,n,i=!1){la(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function ca(t,r,e,n){return aa(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Re(t,r,e){return ca(t,r,e,Pe)}function wn(t,r,e){return ca(t,r,e,fn)}function li(t,r){return aa(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>xn(r),!0)}function Cr(t){return li(t," ")}function ua(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function xs(t,r){const e=ua(t,"HTML_TAG_START",0),n=ua(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new fo(r);la(t);const i=t.splice(e,n-e+1);A(i[0]),A(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new fo(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new fo(r,o)}function Ii(t,r){r=""+r,t.data!==r&&(t.data=r)}function fa(t,r){t.value=r==null?"":r}function K(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function da(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Nd(t){const r=t.querySelector(":checked");return r&&r.__value}function ha(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class zd{constructor(r=!1){or(this,"is_svg",!1);or(this,"e");or(this,"n");or(this,"t");or(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=fn(e.nodeName):this.e=Pe(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)Td(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(A)}}class fo extends zd{constructor(e=!1,n){super(e);or(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)ee(this.t,this.n[n],e)}}function _a(t,r){return new t(r)}const Jo=new Map;let Xo=0;function Od(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Ld(t,r){const e={stylesheet:Id(r),rules:{}};return Jo.set(t,e),e}function Zo(t,r,e,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/browser/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.27.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Ub=Object.defineProperty;var Gb=(T,Xn,Ln)=>Xn in T?Ub(T,Xn,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):T[Xn]=Ln;var _r=(T,Xn,Ln)=>Gb(T,typeof Xn!="symbol"?Xn+"":Xn,Ln);function T(){}const Xn=e=>e;function Ln(e,r){for(const t in r)e[t]=r[t];return e}function Gl(e){return e()}function Yl(){return Object.create(null)}function Yr(e){e.forEach(Gl)}function Ir(e){return typeof e=="function"}function cd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Po;function qn(e,r){return e===r?!0:(Po||(Po=document.createElement("a")),Po.href=r,e===Po.href)}function Cr(e,r){return e!=e?r==r:e!==r}function ud(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return T}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function Rs(e){let r;return W(e,t=>r=t)(),r}function un(e,r,t){e.$$.on_destroy.push(W(r,t))}function No(e,r,t,n){if(e){const i=ql(e,r,t,n);return e[0](i)}}function ql(e,r,t,n){return e[1]&&n?Ln(t.ctx.slice(),e[1](n(r))):t.ctx}function zo(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Oo(e,r,t,n,i,o){if(i){const s=ql(r,t,n,o);e.p(s,i)}}function Lo(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function Bs(e,r,t){return e.set(t),r}function Ro(e){return e&&Ir(e.destroy)?e.destroy:T}function Kl(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Jl=typeof window<"u";let Hs=Jl?()=>window.performance.now():()=>Date.now(),Ws=Jl?e=>requestAnimationFrame(e):T;const io=new Set;function Xl(e){io.forEach(r=>{r.c(e)||(io.delete(r),r.f())}),io.size!==0&&Ws(Xl)}function Us(e){let r;return io.size===0&&Ws(Xl),{promise:new Promise(t=>{io.add(r={c:e,f:t})}),abort(){io.delete(r)}}}const fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Tt(e,r){e.appendChild(r)}function Zl(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function fd(e){const r=Ne("style");return r.textContent="/* empty */",dd(Zl(e),r),r.sheet}function dd(e,r){return Tt(e.head||e,r),r.sheet}function $(e,r,t){e.insertBefore(r,t||null)}function x(e){e.parentNode&&e.parentNode.removeChild(e)}function fn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Ne(e){return document.createElement(e)}function pn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Zn(e){return document.createTextNode(e)}function vr(){return Zn(" ")}function tr(){return Zn("")}function Re(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function m(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const _d=["width","height"];function ti(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&_d.indexOf(n)===-1?e[n]=r[n]:m(e,n,r[n])}function hd(e,r){Object.keys(r).forEach(t=>{gd(e,t,r[t])})}function gd(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:m(e,r,t)}function Ql(e){return/-/.test(e)?hd:ti}function pd(e){return Array.from(e.childNodes)}function Ei(e,r){r=""+r,e.data!==r&&(e.data=r)}function xl(e,r){e.value=r==null?"":r}function Y(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function $l(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function md(e){const r=e.querySelector(":checked");return r&&r.__value}function ea(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ta(e,r){return new e(r)}const Bo=new Map;let Ho=0;function bd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function yd(e,r){const t={stylesheet:fd(r),rules:{}};return Bo.set(e,t),t}function Wo(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/client-devtool.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var pd=Object.defineProperty;var md=(t,r,e)=>r in t?pd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var gr=(t,r,e)=>md(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.27.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function El(t){return BigInt(t)}const Vo=El("9223372036854775807"),Io=El("-9223372036854775808");function an(t){const r=El(t);if(r>Vo||r<Io)throw new Error("Integer overflow.");return r}const Zi=an(0);function af(t){let r=t;return r<0&&(r=-r),r}function uf(t){let r=0;return t>0?r=1:t<0&&(r=-1),an(r)}function bd(t,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:t,consequent:r[3],alternate:r[7]}:t}function yd(t,r){return r&&r[3]?{type:"TryExpression",test:t,alternate:r[3]}:t}function No(t,r){return r.length?r.reduce((e,n)=>({type:"BinaryExpression",operator:n[1],left:e,right:n[3]}),t):t}function Jl(t,r){return r.length?r.reduce((e,n)=>({type:"LogicalExpression",operator:n[1],left:e,right:n[3]}),t):t}function wd(t,r){return r.length?r.reduce((e,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:e,method:n[3],arguments:n[5][2]}},t):t}function vd(t){return t==="true"||t==="false"?{type:"BooleanLiteral",value:t==="true"}:{type:"Variable",id:{type:"Identifier",name:t}}}function Kl(t){if(t.every(e=>typeof e=="string"))return{type:"StringLiteral",value:t.join("")};let r=t.reduce((e,n)=>(typeof n=="string"&&typeof e[e.length-1]=="string"?e[e.length-1]+=n:e.push(n),e),[]).reduce((e,n)=>(typeof n=="string"?e.quasis.push({type:"StringLiteral",value:n}):(e.quasis.length===e.expressions.length&&e.quasis.push({type:"StringLiteral",value:""}),e.expressions.push(n)),e),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function kd(t){try{return an(t)}catch{throw new Error(`Value ${t} can't be converted to Integer type.`)}}function Xl(t){if(t==="'"||t==="\\")return t;throw new Error("Incorrect string escape")}function Ed(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function _o(t,r,e,n){var i=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(i,_o.prototype),i.expected=r,i.found=e,i.location=n,i.name="SyntaxError",i}Ed(_o,Error);function Ws(t,r,e){return e=e||" ",t.length>r?t:(r-=t.length,e+=e.repeat(r),t+e.slice(0,r))}_o.prototype.format=function(t){var r="Error: "+this.message;if(this.location){var e=null,n;for(n=0;n<t.length;n++)if(t[n].source===this.location.source){e=t[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(e){var a=this.location.end,l=Ws("",o.line.toString().length," "),u=e[i.line-1],c=i.line===a.line?a.column:u.length+1,f=c-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var kd=Object.defineProperty;var Ed=(t,r,e)=>r in t?kd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var ir=(t,r,e)=>Ed(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.27.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function z(){}const Is=t=>t;function Pi(t,r){for(const e in r)t[e]=r[e];return t}function df(t){return t()}function ea(){return Object.create(null)}function Zr(t){t.forEach(df)}function Nr(t){return typeof t=="function"}function Ad(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Bo;function xn(t,r){return t===r?!0:(Bo||(Bo=document.createElement("a")),Bo.href=r,t===Bo.href)}function Fr(t,r){return t!=t?r==r:t!==r}function Cd(t){return Object.keys(t).length===0}function G(t,...r){if(t==null){for(const n of r)n(void 0);return z}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function ol(t){let r;return G(t,e=>r=e)(),r}function yn(t,r,e){t.$$.on_destroy.push(G(r,e))}function Ds(t,r,e,n){if(t){const i=hf(t,r,e,n);return t[0](i)}}function hf(t,r,e,n){return t[1]&&n?Pi(e.ctx.slice(),t[1](n(r))):e.ctx}function Ts(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Fs(t,r,e,n,i,o){if(i){const s=hf(r,e,n,o);t.p(s,i)}}function Ms(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Ks(t,r,e){return t.set(e),r}function Ps(t){return t&&Nr(t.destroy)?t.destroy:z}function ta(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const _f=typeof window<"u";let Vl=_f?()=>window.performance.now():()=>Date.now(),Il=_f?t=>requestAnimationFrame(t):z;const po=new Set;function gf(t){po.forEach(r=>{r.c(t)||(po.delete(r),r.f())}),po.size!==0&&Il(gf)}function Dl(t){let r;return po.size===0&&Il(gf),{promise:new Promise(e=>{po.add(r={c:t,f:e})}),abort(){po.delete(r)}}}const Ci=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Ns=!1;function jd(){Ns=!0}function Sd(){Ns=!1}function Vd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Id(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let u=0;u<r.length;u++){const c=r[u];c.claim_order!==void 0&&l.push(c)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const u=r[l].claim_order,c=(i>0&&r[e[i]].claim_order<=u?i+1:Vd(1,i,d=>r[e[d]].claim_order,u))-1;n[l]=e[c]+1;const f=c+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,u)=>l.claim_order-u.claim_order);for(let l=0,u=0;l<s.length;l++){for(;u<o.length&&s[l].claim_order>=o[u].claim_order;)u++;const c=u<o.length?o[u]:null;t.insertBefore(s[l],c)}}function Dd(t,r){t.appendChild(r)}function pf(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Td(t){const r=Ne("style");return r.textContent="/* empty */",Fd(pf(t),r),r.sheet}function Fd(t,r){return Dd(t.head||t,r),r.sheet}function Ot(t,r){if(Ns){for(Id(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function Md(t,r,e){t.insertBefore(r,e||null)}function te(t,r,e){Ns&&!e?Ot(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function A(t){t.parentNode&&t.parentNode.removeChild(t)}function bn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Ne(t){return document.createElement(t)}function hn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function $n(t){return document.createTextNode(t)}function Cr(){return $n(" ")}function Ye(){return $n("")}function He(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function b(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Pd=["width","height"];function ui(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&Pd.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Nd(t,r){Object.keys(r).forEach(e=>{zd(t,e,r[e])})}function zd(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:b(t,r,e)}function ra(t){return/-/.test(t)?Nd:ui}function Te(t){return Array.from(t.childNodes)}function mf(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function bf(t,r,e,n,i=!1){mf(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function yf(t,r,e,n){return bf(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Be(t,r,e){return yf(t,r,e,Ne)}function Cn(t,r,e){return yf(t,r,e,hn)}function hi(t,r){return bf(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>$n(r),!0)}function jr(t){return hi(t," ")}function na(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Tl(t,r){const e=na(t,"HTML_TAG_START",0),n=na(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new mo(r);mf(t);const i=t.splice(e,n-e+1);A(i[0]),A(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new mo(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new mo(r,o)}function Ni(t,r){r=""+r,t.data!==r&&(t.data=r)}function ia(t,r){t.value=r==null?"":r}function K(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function oa(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Od(t){const r=t.querySelector(":checked");return r&&r.__value}function vf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Ld{constructor(r=!1){ir(this,"is_svg",!1);ir(this,"e");ir(this,"n");ir(this,"t");ir(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=hn(e.nodeName):this.e=Ne(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)Md(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(A)}}class mo extends Ld{constructor(e=!1,n){super(e);ir(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)te(this.t,this.n[n],e)}}function sa(t,r){return new t(r)}const gs=new Map;let ps=0;function Rd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Bd(t,r){const e={stylesheet:Td(r),rules:{}};return gs.set(t,e),e}function ms(t,r,e,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var ud=Object.defineProperty;var cd=(e,r,t)=>r in e?ud(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var fr=(e,r,t)=>cd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.27.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function P(){}const ks=e=>e;function Vi(e,r){for(const t in r)e[t]=r[t];return e}function tf(e){return e()}function Yl(){return Object.create(null)}function qr(e){e.forEach(tf)}function Fr(e){return typeof e=="function"}function fd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Mo;function Kn(e,r){return e===r?!0:(Mo||(Mo=document.createElement("a")),Mo.href=r,e===Mo.href)}function Vr(e,r){return e!=e?r==r:e!==r}function dd(e){return Object.keys(e).length===0}function U(e,...r){if(e==null){for(const n of r)n(void 0);return P}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function Qs(e){let r;return U(e,t=>r=t)(),r}function hn(e,r,t){e.$$.on_destroy.push(U(r,t))}function Es(e,r,t,n){if(e){const i=rf(e,r,t,n);return e[0](i)}}function rf(e,r,t,n){return e[1]&&n?Vi(t.ctx.slice(),e[1](n(r))):t.ctx}function As(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Cs(e,r,t,n,i,o){if(i){const s=rf(r,t,n,o);e.p(s,i)}}function js(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function Rs(e,r,t){return e.set(t),r}function Ss(e){return e&&Fr(e.destroy)?e.destroy:P}function ql(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const nf=typeof window<"u";let wl=nf?()=>window.performance.now():()=>Date.now(),vl=nf?e=>requestAnimationFrame(e):P;const uo=new Set;function of(e){uo.forEach(r=>{r.c(e)||(uo.delete(r),r.f())}),uo.size!==0&&vl(of)}function kl(e){let r;return uo.size===0&&vl(of),{promise:new Promise(t=>{uo.add(r={c:e,f:t})}),abort(){uo.delete(r)}}}const yi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Pt(e,r){e.appendChild(r)}function sf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function _d(e){const r=Oe("style");return r.textContent="/* empty */",hd(sf(e),r),r.sheet}function hd(e,r){return Pt(e.head||e,r),r.sheet}function $(e,r,t){e.insertBefore(r,t||null)}function x(e){e.parentNode&&e.parentNode.removeChild(e)}function _n(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Oe(e){return document.createElement(e)}function wn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Qn(e){return document.createTextNode(e)}function kr(){return Qn(" ")}function rr(){return Qn("")}function Re(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function m(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const gd=["width","height"];function ii(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&gd.indexOf(n)===-1?e[n]=r[n]:m(e,n,r[n])}function pd(e,r){Object.keys(r).forEach(t=>{md(e,t,r[t])})}function md(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:m(e,r,t)}function Kl(e){return/-/.test(e)?pd:ii}function bd(e){return Array.from(e.childNodes)}function Ii(e,r){r=""+r,e.data!==r&&(e.data=r)}function Jl(e,r){e.value=r==null?"":r}function Y(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Xl(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function yd(e){const r=e.querySelector(":checked");return r&&r.__value}function lf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function Zl(e,r){return new e(r)}const as=new Map;let us=0;function wd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function vd(e,r){const t={stylesheet:_d(r),rules:{}};return as.set(e,t),t}function cs(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
|
@@ -2,7 +2,7 @@ var gd = Object.defineProperty;
|
|
|
2
2
|
var pd = (t, r, e) => r in t ? gd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var gr = (t, r, e) => pd(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.27.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var kd = Object.defineProperty;
|
|
|
2
2
|
var Ed = (t, r, e) => r in t ? kd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var ir = (t, r, e) => Ed(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.27.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/client.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var ud = Object.defineProperty;
|
|
|
2
2
|
var cd = (e, r, t) => r in e ? ud(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var fr = (e, r, t) => cd(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.27.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/server.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var yl = Object.defineProperty;
|
|
|
2
2
|
var wl = (r, t, e) => t in r ? yl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var Er = (r, t, e) => wl(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.27.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var yl=Object.defineProperty;var wl=(r,t,e)=>t in r?yl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Er=(r,t,e)=>wl(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.27.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function $(){}const kl=r=>r;function $l(r){return r()}function jl(){return Object.create(null)}function ns(r){r.forEach($l)}function El(r){return typeof r=="function"}function Al(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function w(r,...t){if(r==null){for(const i of t)i(void 0);return $}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function No(r){let t;return w(r,e=>t=e)(),t}function xl(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let Sn;function Cn(r){Sn=r}function bo(){if(!Sn)throw new Error("Function called outside component initialization");return Sn}function Gr(r){bo().$$.on_destroy.push(r)}function Cl(){const r=bo();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=xl(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function Yi(r,t){return bo().$$.context.set(r,t),t}function yr(r){return bo().$$.context.get(r)}const kn=[],Cs=[];let Yn=[];const Ss=[],Pa=Promise.resolve();let Ro=!1;function Sl(){Ro||(Ro=!0,Pa.then(Fl))}function $i(){return Sl(),Pa}function Vl(r){Yn.push(r)}const xo=new Set;let rn=0;function Fl(){if(rn!==0)return;const r=Sn;do{try{for(;rn<kn.length;){const t=kn[rn];rn++,Cn(t),Il(t.$$)}}catch(t){throw kn.length=0,rn=0,t}for(Cn(null),kn.length=0,rn=0;Cs.length;)Cs.pop()();for(let t=0;t<Yn.length;t+=1){const e=Yn[t];xo.has(e)||(xo.add(e),e())}Yn.length=0}while(kn.length);for(;Ss.length;)Ss.pop()();Ro=!1,xo.clear(),Cn(r)}function Il(r){if(r.fragment!==null){r.update(),ns(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Vl)}}function Dl(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const Tl=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Ml=new Set([...Tl]),Pl=/[&"<]/g,Ol=/[&<]/g;function lt(r,t=!1){const e=String(r),i=t?Pl:Ol;i.lastIndex=0;let n="",o=0;for(;i.test(e);){const l=i.lastIndex-1,c=e[l];n+=e.substring(o,l)+(c==="&"?"&":c==='"'?""":"<"),o=l+1}return n+e.substring(o)}const zl=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Vs(r){return zl.test(r)||r.toLowerCase()==="!doctype"}const Nl=/[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;function dn(r,t){const e=Object.assign({},...r);if(t){const n=t.classes,o=t.styles;n&&(e.class==null?e.class=n:e.class+=" "+n),o&&(e.style==null?e.style=Bo(o):e.style=Bo(Rl(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(Nl.test(n))return;const o=e[n];o===!0?i+=" "+n:Ml.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function Rl(r,t){const e={};for(const i of r.split(";")){const n=i.indexOf(":"),o=i.slice(0,n).trim(),l=i.slice(n+1).trim();o&&(e[o]=l)}for(const i in t){const n=t[i];n?e[i]=n:delete e[i]}return e}function Wr(r){return typeof r=="string"||r&&typeof r=="object"?lt(r,!0):r}function fn(r){const t={};for(const e in r)t[e]=Wr(r[e]);return t}function Mr(r,t){r=Dl(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const Bl={$$render:()=>""};function qt(r,t){if(!r||!r.$$render)throw t==="svelte:component"&&(t+=" this={...}"),new Error(`<${t}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <${t}>.`);return r}let Co;function Ar(r){function t(e,i,n,o,l){const c=Sn,d={on_destroy:Co,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:jl()};Cn({$$:d});const f=r(e,i,n,o);return Cn(c),f}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{Co=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return ns(Co),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|