@divkitframework/divkit 32.15.0 → 32.16.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.16.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Yb=Object.defineProperty;var qb=(vi,Un,li)=>Un in vi?Yb(vi,Un,{enumerable:!0,configurable:!0,writable:!0,value:li}):vi[Un]=li;var cr=(vi,Un,li)=>qb(vi,typeof Un!="symbol"?Un+"":Un,li);function vi(t){return BigInt(t)}const Un=vi("9223372036854775807"),li=vi("-9223372036854775808");function an(t){const r=vi(t);if(r>Un||r<li)throw new Error("Integer overflow.");return r}const Hi=an(0);function Wl(t){let r=t;return r<0&&(r=-r),r}function Ul(t){let r=0;return t>0?r=1:t<0&&(r=-1),an(r)}function ad(t,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:t,consequent:r[3],alternate:r[7]}:t}function ud(t,r){return r&&r[3]?{type:"TryExpression",test:t,alternate:r[3]}:t}function Po(t,r){return r.length?r.reduce((e,n)=>({type:"BinaryExpression",operator:n[1],left:e,right:n[3]}),t):t}function Gl(t,r){return r.length?r.reduce((e,n)=>({type:"LogicalExpression",operator:n[1],left:e,right:n[3]}),t):t}function cd(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 fd(t){return t==="true"||t==="false"?{type:"BooleanLiteral",value:t==="true"}:{type:"Variable",id:{type:"Identifier",name:t}}}function Yl(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 dd(t){try{return an(t)}catch{throw new Error(`Value ${t} can't be converted to Integer type.`)}}function ql(t){if(t==="'"||t==="\\")return t;throw new Error("Incorrect string escape")}function _d(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function ro(t,r,e,n){var i=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(i,ro.prototype),i.expected=r,i.found=e,i.location=n,i.name="SyntaxError",i}_d(ro,Error);function Rs(t,r,e){return e=e||" ",t.length>r?t:(r-=t.length,e+=e.repeat(r),t+e.slice(0,r))}ro.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=Rs("",o.line.toString().length," "),u=e[i.line-1],c=i.line===a.line?a.column:u.length+1,d=c-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.16.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var ny=Object.defineProperty;var iy=(F,$n,ei)=>$n in F?ny(F,$n,{enumerable:!0,configurable:!0,writable:!0,value:ei}):F[$n]=ei;var nr=(F,$n,ei)=>iy(F,typeof $n!="symbol"?$n+"":$n,ei);function F(){}const $n=t=>t;function ei(t,r){for(const e in r)t[e]=r[e];return t}function Xl(t){return t()}function Zl(){return Object.create(null)}function Xr(t){t.forEach(Xl)}function Nr(t){return typeof t=="function"}function bd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Ro;function Jn(t,r){return t===r?!0:(Ro||(Ro=document.createElement("a")),Ro.href=r,t===Ro.href)}function Tr(t,r){return t!=t?r==r:t!==r}function yd(t){return Object.keys(t).length===0}function G(t,...r){if(t==null){for(const n of r)n(void 0);return F}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function vd(t){let r;return G(t,e=>r=e)(),r}function mn(t,r,e){t.$$.on_destroy.push(G(r,e))}function Bo(t,r,e,n){if(t){const i=Ql(t,r,e,n);return t[0](i)}}function Ql(t,r,e,n){return t[1]&&n?ei(e.ctx.slice(),t[1](n(r))):e.ctx}function Ho(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 Wo(t,r,e,n,i,o){if(i){const s=Ql(r,e,n,o);t.p(s,i)}}function Uo(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 Us(t,r,e){return t.set(e),r}function Go(t){return t&&Nr(t.destroy)?t.destroy:F}function xl(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const $l=typeof window<"u";let Gs=$l?()=>window.performance.now():()=>Date.now(),Ys=$l?t=>requestAnimationFrame(t):F;const oo=new Set;function ea(t){oo.forEach(r=>{r.c(t)||(oo.delete(r),r.f())}),oo.size!==0&&Ys(ea)}function qs(t){let r;return oo.size===0&&Ys(ea),{promise:new Promise(e=>{oo.add(r={c:t,f:e})}),abort(){oo.delete(r)}}}const gi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Yo=!1;function wd(){Yo=!0}function kd(){Yo=!1}function Ed(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Ad(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:Ed(1,i,h=>r[e[h]].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 Cd(t,r){t.appendChild(r)}function ta(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function jd(t){const r=Oe("style");return r.textContent="/* empty */",Sd(ta(t),r),r.sheet}function Sd(t,r){return Cd(t.head||t,r),r.sheet}function Mt(t,r){if(Yo){for(Ad(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 Vd(t,r,e){t.insertBefore(r,e||null)}function te(t,r,e){Yo&&!e?Mt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function E(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 Oe(t){return document.createElement(t)}function dn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Xn(t){return document.createTextNode(t)}function Ar(){return Xn(" ")}function Ke(){return Xn("")}function Ge(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 Id=["width","height"];function oi(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&&Id.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Dd(t,r){Object.keys(r).forEach(e=>{Td(t,e,r[e])})}function Td(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)?Dd:oi}function Se(t){return Array.from(t.childNodes)}function na(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function ia(t,r,e,n,i=!1){na(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 oa(t,r,e,n){return ia(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 oa(t,r,e,Oe)}function wn(t,r,e){return oa(t,r,e,dn)}function si(t,r){return ia(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 si(t," ")}function sa(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 Ks(t,r){const e=sa(t,"HTML_TAG_START",0),n=sa(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new so(r);na(t);const i=t.splice(e,n-e+1);E(i[0]),E(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new so(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new so(r,o)}function Si(t,r){r=""+r,t.data!==r&&(t.data=r)}function la(t,r){t.value=r==null?"":r}function Y(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function aa(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 Fd(t){const r=t.querySelector(":checked");return r&&r.__value}function ca(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Md{constructor(r=!1){nr(this,"is_svg",!1);nr(this,"e");nr(this,"n");nr(this,"t");nr(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=dn(e.nodeName):this.e=Oe(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)Vd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(E)}}class so extends Md{constructor(e=!1,n){super(e);nr(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 ua(t,r){return new t(r)}const qo=new Map;let Ko=0;function Pd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Nd(t,r){const e={stylesheet:jd(r),rules:{}};return qo.set(t,e),e}function Jo(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.16.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Lb=Object.defineProperty;var Rb=(I,Kn,Jn)=>Kn in I?Lb(I,Kn,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):I[Kn]=Jn;var _r=(I,Kn,Jn)=>Rb(I,typeof Kn!="symbol"?Kn+"":Kn,Jn);function I(){}const Kn=t=>t;function Jn(t,r){for(const e in r)t[e]=r[e];return t}function Bl(t){return t()}function Hl(){return Object.create(null)}function Yr(t){t.forEach(Bl)}function Fr(t){return typeof t=="function"}function od(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let To;function Un(t,r){return t===r?!0:(To||(To=document.createElement("a")),To.href=r,t===To.href)}function Sr(t,r){return t!=t?r==r:t!==r}function sd(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return I}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function ld(t){let r;return U(t,e=>r=e)(),r}function dn(t,r,e){t.$$.on_destroy.push(U(r,e))}function Mo(t,r,e,n){if(t){const i=Wl(t,r,e,n);return t[0](i)}}function Wl(t,r,e,n){return t[1]&&n?Jn(e.ctx.slice(),t[1](n(r))):e.ctx}function Po(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 No(t,r,e,n,i,o){if(i){const s=Wl(r,e,n,o);t.p(s,i)}}function zo(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 Ns(t,r,e){return t.set(e),r}function Oo(t){return t&&Fr(t.destroy)?t.destroy:I}function Ul(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const Gl=typeof window<"u";let zs=Gl?()=>window.performance.now():()=>Date.now(),Os=Gl?t=>requestAnimationFrame(t):I;const $i=new Set;function Yl(t){$i.forEach(r=>{r.c(t)||($i.delete(r),r.f())}),$i.size!==0&&Os(Yl)}function Ls(t){let r;return $i.size===0&&Os(Yl),{promise:new Promise(e=>{$i.add(r={c:t,f:e})}),abort(){$i.delete(r)}}}const ci=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Dt(t,r){t.appendChild(r)}function ql(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function ad(t){const r=Le("style");return r.textContent="/* empty */",cd(ql(t),r),r.sheet}function cd(t,r){return Dt(t.head||t,r),r.sheet}function $(t,r,e){t.insertBefore(r,e||null)}function x(t){t.parentNode&&t.parentNode.removeChild(t)}function _n(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Le(t){return document.createElement(t)}function pn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Xn(t){return document.createTextNode(t)}function vr(){return Xn(" ")}function $t(){return Xn("")}function We(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function m(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const ud=["width","height"];function ei(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&&ud.indexOf(n)===-1?t[n]=r[n]:m(t,n,r[n])}function fd(t,r){Object.keys(r).forEach(e=>{dd(t,e,r[e])})}function dd(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:m(t,r,e)}function Kl(t){return/-/.test(t)?fd:ei}function _d(t){return Array.from(t.childNodes)}function vi(t,r){r=""+r,t.data!==r&&(t.data=r)}function Jl(t,r){t.value=r==null?"":r}function G(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function Xl(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 hd(t){const r=t.querySelector(":checked");return r&&r.__value}function Zl(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}function Ql(t,r){return new t(r)}const Lo=new Map;let Ro=0;function gd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function pd(t,r){const e={stylesheet:ad(r),rules:{}};return Lo.set(t,e),e}function Bo(t,r,e,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 ad=Object.defineProperty;var ud=(t,r,e)=>r in t?ad(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var ar=(t,r,e)=>ud(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.16.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function wl(t){return BigInt(t)}const jo=wl("9223372036854775807"),So=wl("-9223372036854775808");function cn(t){const r=wl(t);if(r>jo||r<So)throw new Error("Integer overflow.");return r}const Yi=cn(0);function $c(t){let r=t;return r<0&&(r=-r),r}function ef(t){let r=0;return t>0?r=1:t<0&&(r=-1),cn(r)}function cd(t,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:t,consequent:r[3],alternate:r[7]}:t}function fd(t,r){return r&&r[3]?{type:"TryExpression",test:t,alternate:r[3]}:t}function Mo(t,r){return r.length?r.reduce((e,n)=>({type:"BinaryExpression",operator:n[1],left:e,right:n[3]}),t):t}function Ul(t,r){return r.length?r.reduce((e,n)=>({type:"LogicalExpression",operator:n[1],left:e,right:n[3]}),t):t}function dd(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 _d(t){return t==="true"||t==="false"?{type:"BooleanLiteral",value:t==="true"}:{type:"Variable",id:{type:"Identifier",name:t}}}function Gl(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 hd(t){try{return cn(t)}catch{throw new Error(`Value ${t} can't be converted to Integer type.`)}}function Yl(t){if(t==="'"||t==="\\")return t;throw new Error("Incorrect string escape")}function gd(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function ao(t,r,e,n){var i=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(i,ao.prototype),i.expected=r,i.found=e,i.location=n,i.name="SyntaxError",i}gd(ao,Error);function Rs(t,r,e){return e=e||" ",t.length>r?t:(r-=t.length,e+=e.repeat(r),t+e.slice(0,r))}ao.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=Rs("",o.line.toString().length," "),u=e[i.line-1],c=i.line===a.line?a.column:u.length+1,d=c-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var bd=Object.defineProperty;var yd=(t,r,e)=>r in t?bd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var rr=(t,r,e)=>yd(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.16.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function N(){}const js=t=>t;function eo(t,r){for(const e in r)t[e]=r[e];return t}function af(t){return t()}function Zl(){return Object.create(null)}function Qr(t){t.forEach(af)}function Or(t){return typeof t=="function"}function vd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Lo;function Qn(t,r){return t===r?!0:(Lo||(Lo=document.createElement("a")),Lo.href=r,t===Lo.href)}function Pr(t,r){return t!=t?r==r:t!==r}function wd(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 kd(t){let r;return G(t,e=>r=e)(),r}function yn(t,r,e){t.$$.on_destroy.push(G(r,e))}function Ss(t,r,e,n){if(t){const i=uf(t,r,e,n);return t[0](i)}}function uf(t,r,e,n){return t[1]&&n?eo(e.ctx.slice(),t[1](n(r))):e.ctx}function Vs(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 Is(t,r,e,n,i,o){if(i){const s=uf(r,e,n,o);t.p(s,i)}}function Ds(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 Gs(t,r,e){return t.set(e),r}function Ts(t){return t&&Or(t.destroy)?t.destroy:N}function Ql(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const cf=typeof window<"u";let Cl=cf?()=>window.performance.now():()=>Date.now(),jl=cf?t=>requestAnimationFrame(t):N;const co=new Set;function ff(t){co.forEach(r=>{r.c(t)||(co.delete(r),r.f())}),co.size!==0&&jl(ff)}function Sl(t){let r;return co.size===0&&jl(ff),{promise:new Promise(e=>{co.add(r={c:t,f:e})}),abort(){co.delete(r)}}}const Ei=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Fs=!1;function Ed(){Fs=!0}function Ad(){Fs=!1}function Cd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function jd(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:Cd(1,i,h=>r[e[h]].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 Sd(t,r){t.appendChild(r)}function df(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Vd(t){const r=Oe("style");return r.textContent="/* empty */",Id(df(t),r),r.sheet}function Id(t,r){return Sd(t.head||t,r),r.sheet}function Nt(t,r){if(Fs){for(jd(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 Dd(t,r,e){t.insertBefore(r,e||null)}function te(t,r,e){Fs&&!e?Nt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function E(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 Oe(t){return document.createElement(t)}function _n(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function xn(t){return document.createTextNode(t)}function Cr(){return xn(" ")}function Ke(){return xn("")}function qe(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 Td=["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&&Td.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Fd(t,r){Object.keys(r).forEach(e=>{Md(t,e,r[e])})}function Md(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 xl(t){return/-/.test(t)?Fd:ui}function Se(t){return Array.from(t.childNodes)}function hf(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function _f(t,r,e,n,i=!1){hf(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 gf(t,r,e,n){return _f(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 Ue(t,r,e){return gf(t,r,e,Oe)}function An(t,r,e){return gf(t,r,e,_n)}function fi(t,r){return _f(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 jr(t){return fi(t," ")}function $l(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 Vl(t,r){const e=$l(t,"HTML_TAG_START",0),n=$l(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new fo(r);hf(t);const i=t.splice(e,n-e+1);E(i[0]),E(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 Fi(t,r){r=""+r,t.data!==r&&(t.data=r)}function ea(t,r){t.value=r==null?"":r}function q(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ta(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 Pd(t){const r=t.querySelector(":checked");return r&&r.__value}function pf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Nd{constructor(r=!1){rr(this,"is_svg",!1);rr(this,"e");rr(this,"n");rr(this,"t");rr(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=_n(e.nodeName):this.e=Oe(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)Dd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(E)}}class fo extends Nd{constructor(e=!1,n){super(e);rr(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 ra(t,r){return new t(r)}const ds=new Map;let hs=0;function zd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Od(t,r){const e={stylesheet:Vd(r),rules:{}};return ds.set(t,e),e}function _s(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 od=Object.defineProperty;var sd=(t,r,e)=>r in t?od(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var fr=(t,r,e)=>sd(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.16.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function T(){}const ys=t=>t;function Ji(t,r){for(const e in r)t[e]=r[e];return t}function Qc(t){return t()}function Hl(){return Object.create(null)}function Kr(t){t.forEach(Qc)}function Mr(t){return typeof t=="function"}function ld(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Fo;function qn(t,r){return t===r?!0:(Fo||(Fo=document.createElement("a")),Fo.href=r,t===Fo.href)}function Dr(t,r){return t!=t?r==r:t!==r}function ad(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return T}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function ud(t){let r;return U(t,e=>r=e)(),r}function hn(t,r,e){t.$$.on_destroy.push(U(r,e))}function ws(t,r,e,n){if(t){const i=xc(t,r,e,n);return t[0](i)}}function xc(t,r,e,n){return t[1]&&n?Ji(e.ctx.slice(),t[1](n(r))):e.ctx}function vs(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 ks(t,r,e,n,i,o){if(i){const s=xc(r,e,n,o);t.p(s,i)}}function Es(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 zs(t,r,e){return t.set(e),r}function As(t){return t&&Mr(t.destroy)?t.destroy:T}function Wl(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const $c=typeof window<"u";let ml=$c?()=>window.performance.now():()=>Date.now(),bl=$c?t=>requestAnimationFrame(t):T;const io=new Set;function ef(t){io.forEach(r=>{r.c(t)||(io.delete(r),r.f())}),io.size!==0&&bl(ef)}function yl(t){let r;return io.size===0&&bl(ef),{promise:new Promise(e=>{io.add(r={c:t,f:e})}),abort(){io.delete(r)}}}const mi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Tt(t,r){t.appendChild(r)}function tf(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function cd(t){const r=Le("style");return r.textContent="/* empty */",fd(tf(t),r),r.sheet}function fd(t,r){return Tt(t.head||t,r),r.sheet}function ee(t,r,e){t.insertBefore(r,e||null)}function x(t){t.parentNode&&t.parentNode.removeChild(t)}function _n(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Le(t){return document.createElement(t)}function yn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Zn(t){return document.createTextNode(t)}function kr(){return Zn(" ")}function rr(){return Zn("")}function Ge(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function m(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const dd=["width","height"];function ii(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&&dd.indexOf(n)===-1?t[n]=r[n]:m(t,n,r[n])}function _d(t,r){Object.keys(r).forEach(e=>{hd(t,e,r[e])})}function hd(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:m(t,r,e)}function Ul(t){return/-/.test(t)?_d:ii}function gd(t){return Array.from(t.childNodes)}function ji(t,r){r=""+r,t.data!==r&&(t.data=r)}function Gl(t,r){t.value=r==null?"":r}function Y(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function Yl(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 pd(t){const r=t.querySelector(":checked");return r&&r.__value}function rf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}function ql(t,r){return new t(r)}const os=new Map;let ss=0;function md(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:cd(r),rules:{}};return os.set(t,e),e}function ls(t,r,e,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
|
@@ -2,7 +2,7 @@ var ld = Object.defineProperty;
|
|
|
2
2
|
var ad = (t, r, e) => r in t ? ld(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var ar = (t, r, e) => ad(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.16.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var bd = Object.defineProperty;
|
|
|
2
2
|
var yd = (t, r, e) => r in t ? bd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var rr = (t, r, e) => yd(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.16.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 od = Object.defineProperty;
|
|
|
2
2
|
var sd = (t, r, e) => r in t ? od(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var fr = (t, r, e) => sd(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.16.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 ml = Object.defineProperty;
|
|
|
2
2
|
var _l = (r, t, e) => t in r ? ml(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var $r = (r, t, e) => _l(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.16.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 ml=Object.defineProperty;var _l=(r,t,e)=>t in r?ml(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var $r=(r,t,e)=>_l(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.16.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function j(){}const bl=r=>r;function yl(r){return r()}function wl(){return Object.create(null)}function rs(r){r.forEach(yl)}function $l(r){return typeof r=="function"}function kl(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function y(r,...t){if(r==null){for(const i of t)i(void 0);return j}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function jl(r){let t;return y(r,e=>t=e)(),t}function Al(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let Cn;function xn(r){Cn=r}function mo(){if(!Cn)throw new Error("Function called outside component initialization");return Cn}function Hr(r){mo().$$.on_destroy.push(r)}function El(){const r=mo();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=Al(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function Gi(r,t){return mo().$$.context.set(r,t),t}function br(r){return mo().$$.context.get(r)}const wn=[],js=[];let Jn=[];const As=[],Ia=Promise.resolve();let Oo=!1;function xl(){Oo||(Oo=!0,Ia.then(Sl))}function wi(){return xl(),Ia}function Cl(r){Jn.push(r)}const Ao=new Set;let Qi=0;function Sl(){if(Qi!==0)return;const r=Cn;do{try{for(;Qi<wn.length;){const t=wn[Qi];Qi++,xn(t),Fl(t.$$)}}catch(t){throw wn.length=0,Qi=0,t}for(xn(null),wn.length=0,Qi=0;js.length;)js.pop()();for(let t=0;t<Jn.length;t+=1){const e=Jn[t];Ao.has(e)||(Ao.add(e),e())}Jn.length=0}while(wn.length);for(;As.length;)As.pop()();Oo=!1,Ao.clear(),xn(r)}function Fl(r){if(r.fragment!==null){r.update(),rs(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Cl)}}function Vl(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const Il=["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"],Dl=new Set([...Il]),Tl=/[&"<]/g,Ml=/[&<]/g;function at(r,t=!1){const e=String(r),i=t?Tl:Ml;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 Pl=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Es(r){return Pl.test(r)||r.toLowerCase()==="!doctype"}const Ol=/[\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 ln(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=zo(o):e.style=zo(zl(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(Ol.test(n))return;const o=e[n];o===!0?i+=" "+n:Dl.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function zl(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 Br(r){return typeof r=="string"||r&&typeof r=="object"?at(r,!0):r}function cn(r){const t={};for(const e in r)t[e]=Br(r[e]);return t}function Ir(r,t){r=Vl(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const Nl={$$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 Eo;function kr(r){function t(e,i,n,o,l){const c=Cn,g={on_destroy:Eo,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:wl()};xn({$$:g});const f=r(e,i,n,o);return xn(c),f}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{Eo=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return rs(Eo),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|