@divkitframework/divkit 32.44.0 → 32.45.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.45.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var vy=Object.defineProperty;var ky=(Si,xn,pi)=>xn in Si?vy(Si,xn,{enumerable:!0,configurable:!0,writable:!0,value:pi}):Si[xn]=pi;var vr=(Si,xn,pi)=>ky(Si,typeof xn!="symbol"?xn+"":xn,pi);function Si(e){return BigInt(e)}const xn=Si("9223372036854775807"),pi=Si("-9223372036854775808");function $r(e){const r=Si(e);if(r>xn||r<pi)throw new Error("Integer overflow.");return r}const Xi=$r(0);function ta(e){let r=e;return r<0&&(r=-r),r}function ra(e){let r=0;return e>0?r=1:e<0&&(r=-1),$r(r)}function Ld(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Rd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Ro(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function na(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Bd(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function Hd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function ia(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function Wd(e){try{return $r(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function oa(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Ud(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function lo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,lo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Ud(lo,Error);function Js(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}lo.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[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(t){var a=this.location.end,l=Js("",o.line.toString().length," "),u=t[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.45.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Iy=Object.defineProperty;var Dy=(I,si,Xn)=>si in I?Iy(I,si,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):I[si]=Xn;var hr=(I,si,Xn)=>Dy(I,typeof si!="symbol"?si+"":si,Xn);function I(){}const si=t=>t;function Xn(t,r){for(const e in r)t[e]=r[e];return t}function aa(t){return t()}function ua(){return Object.create(null)}function $r(t){t.forEach(aa)}function Rr(t){return typeof t=="function"}function Gd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Go;function _i(t,r){return t===r?!0:(Go||(Go=document.createElement("a")),Go.href=r,t===Go.href)}function zr(t,r){return t!=t?r==r:t!==r}function Yd(t){return Object.keys(t).length===0}function W(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 Qs(t){let r;return W(t,e=>r=e)(),r}function _n(t,r,e){t.$$.on_destroy.push(W(r,e))}function Yo(t,r,e,n){if(t){const i=ca(t,r,e,n);return t[0](i)}}function ca(t,r,e,n){return t[1]&&n?Xn(e.ctx.slice(),t[1](n(r))):e.ctx}function qo(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 Ko(t,r,e,n,i,o){if(i){const s=ca(r,e,n,o);t.p(s,i)}}function Jo(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 xs(t,r,e){return t.set(e),r}function Xo(t){return t&&Rr(t.destroy)?t.destroy:I}function fa(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const da=typeof window<"u";let $s=da?()=>window.performance.now():()=>Date.now(),el=da?t=>requestAnimationFrame(t):I;const co=new Set;function ha(t){co.forEach(r=>{r.c(t)||(co.delete(r),r.f())}),co.size!==0&&el(ha)}function tl(t){let r;return co.size===0&&el(ha),{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 Zo=!1;function qd(){Zo=!0}function Kd(){Zo=!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 Xd(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:Jd(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 Zd(t,r){t.appendChild(r)}function _a(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Qd(t){const r=Oe("style");return r.textContent="/* empty */",xd(_a(t),r),r.sheet}function xd(t,r){return Zd(t.head||t,r),r.sheet}function Lt(t,r){if(Zo){for(Xd(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 $d(t,r,e){t.insertBefore(r,e||null)}function x(t,r,e){Zo&&!e?Lt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function vn(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 gn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ni(t){return document.createTextNode(t)}function kr(){return ni(" ")}function $e(){return ni("")}function Re(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 eh=["width","height"];function gi(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&&eh.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function th(t,r){Object.keys(r).forEach(e=>{rh(t,e,r[e])})}function rh(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 ga(t){return/-/.test(t)?th:gi}function De(t){return Array.from(t.childNodes)}function pa(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function ma(t,r,e,n,i=!1){pa(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 ba(t,r,e,n){return ma(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 ba(t,r,e,Oe)}function An(t,r,e){return ba(t,r,e,gn)}function pi(t,r){return ma(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},()=>ni(r),!0)}function Er(t){return pi(t," ")}function ya(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 rl(t,r){const e=ya(t,"HTML_TAG_START",0),n=ya(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new fo(r);pa(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 Mi(t,r){r=""+r,t.data!==r&&(t.data=r)}function va(t,r){t.value=r==null?"":r}function U(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function wa(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 nh(t){const r=t.querySelector(":checked");return r&&r.__value}function ka(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class ih{constructor(r=!1){hr(this,"is_svg",!1);hr(this,"e");hr(this,"n");hr(this,"t");hr(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=gn(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)$d(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 ih{constructor(e=!1,n){super(e);hr(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)x(this.t,this.n[n],e)}}function Ea(t,r){return new t(r)}const Qo=new Map;let xo=0;function oh(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function sh(t,r){const e={stylesheet:Qd(r),rules:{}};return Qo.set(t,e),e}function $o(t,r,e,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
package/dist/browser/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.45.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var cy=Object.defineProperty;var fy=(S,ei,Gn)=>ei in S?cy(S,ei,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):S[ei]=Gn;var br=(S,ei,Gn)=>fy(S,typeof ei!="symbol"?ei+"":ei,Gn);function S(){}const ei=e=>e;function Gn(e,r){for(const t in r)e[t]=r[t];return e}function $l(e){return e()}function ea(){return Object.create(null)}function Xr(e){e.forEach($l)}function Nr(e){return typeof e=="function"}function Fd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Oo;function ui(e,r){return e===r?!0:(Oo||(Oo=document.createElement("a")),Oo.href=r,e===Oo.href)}function Tr(e,r){return e!=e?r==r:e!==r}function Td(e){return Object.keys(e).length===0}function H(e,...r){if(e==null){for(const n of r)n(void 0);return S}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function Us(e){let r;return H(e,t=>r=t)(),r}function cn(e,r,t){e.$$.on_destroy.push(H(r,t))}function Lo(e,r,t,n){if(e){const i=ta(e,r,t,n);return e[0](i)}}function ta(e,r,t,n){return e[1]&&n?Gn(t.ctx.slice(),e[1](n(r))):t.ctx}function Ro(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 Bo(e,r,t,n,i,o){if(i){const s=ta(r,t,n,o);e.p(s,i)}}function Ho(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 Gs(e,r,t){return e.set(t),r}function Wo(e){return e&&Nr(e.destroy)?e.destroy:S}function ra(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const na=typeof window<"u";let Ys=na?()=>window.performance.now():()=>Date.now(),qs=na?e=>requestAnimationFrame(e):S;const io=new Set;function ia(e){io.forEach(r=>{r.c(e)||(io.delete(r),r.f())}),io.size!==0&&qs(ia)}function Ks(e){let r;return io.size===0&&qs(ia),{promise:new Promise(t=>{io.add(r={c:e,f:t})}),abort(){io.delete(r)}}}const mi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Nt(e,r){e.appendChild(r)}function oa(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Md(e){const r=ze("style");return r.textContent="/* empty */",Pd(oa(e),r),r.sheet}function Pd(e,r){return Nt(e.head||e,r),r.sheet}function x(e,r,t){e.insertBefore(r,t||null)}function Z(e){e.parentNode&&e.parentNode.removeChild(e)}function gn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function ze(e){return document.createElement(e)}function yn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ti(e){return document.createTextNode(e)}function yr(){return ti(" ")}function cr(){return ti("")}function Oe(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function b(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const Nd=["width","height"];function ci(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&&Nd.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function zd(e,r){Object.keys(r).forEach(t=>{Od(e,t,r[t])})}function Od(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:b(e,r,t)}function sa(e){return/-/.test(e)?zd:ci}function Ld(e){return Array.from(e.childNodes)}function Si(e,r){r=""+r,e.data!==r&&(e.data=r)}function la(e,r){e.value=r==null?"":r}function W(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function aa(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 Rd(e){const r=e.querySelector(":checked");return r&&r.__value}function ua(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ca(e,r){return new e(r)}const Uo=new Map;let Go=0;function Bd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Hd(e,r){const t={stylesheet:Md(r),rules:{}};return Uo.set(e,t),t}function Yo(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
package/dist/client-devtool.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var Ld=Object.defineProperty;var Rd=(e,r,t)=>r in e?Ld(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var wr=(e,r,t)=>Rd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.45.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Ml(e){return BigInt(e)}const To=Ml("9223372036854775807"),Mo=Ml("-9223372036854775808");function tn(e){const r=Ml(e);if(r>To||r<Mo)throw new Error("Integer overflow.");return r}const Qi=tn(0);function Vf(e){let r=e;return r<0&&(r=-r),r}function If(e){let r=0;return e>0?r=1:e<0&&(r=-1),tn(r)}function Bd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Hd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Ro(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function sa(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Wd(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function Ud(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function la(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function Gd(e){try{return tn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function aa(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Yd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function ho(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,ho.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Yd(ho,Error);function Ks(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}ho.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[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(t){var a=this.location.end,l=Ks("",o.line.toString().length," "),u=t[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 Gd=Object.defineProperty;var Yd=(t,r,e)=>r in t?Gd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var hr=(t,r,e)=>Yd(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.45.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function M(){}const Ps=t=>t;function Li(t,r){for(const e in r)t[e]=r[e];return t}function Ff(t){return t()}function ha(){return Object.create(null)}function en(t){t.forEach(Ff)}function Wr(t){return typeof t=="function"}function qd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Go;function mi(t,r){return t===r?!0:(Go||(Go=document.createElement("a")),Go.href=r,t===Go.href)}function Lr(t,r){return t!=t?r==r:t!==r}function Kd(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return M}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function fl(t){let r;return U(t,e=>r=e)(),r}function bn(t,r,e){t.$$.on_destroy.push(U(r,e))}function Ns(t,r,e,n){if(t){const i=Mf(t,r,e,n);return t[0](i)}}function Mf(t,r,e,n){return t[1]&&n?Li(e.ctx.slice(),t[1](n(r))):e.ctx}function zs(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 Os(t,r,e,n,i,o){if(i){const s=Mf(r,e,n,o);t.p(s,i)}}function Ls(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 $s(t,r,e){return t.set(e),r}function Rs(t){return t&&Wr(t.destroy)?t.destroy:M}function _a(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const Pf=typeof window<"u";let Ll=Pf?()=>window.performance.now():()=>Date.now(),Rl=Pf?t=>requestAnimationFrame(t):M;const go=new Set;function Nf(t){go.forEach(r=>{r.c(t)||(go.delete(r),r.f())}),go.size!==0&&Rl(Nf)}function Bl(t){let r;return go.size===0&&Rl(Nf),{promise:new Promise(e=>{go.add(r={c:t,f:e})}),abort(){go.delete(r)}}}const Vi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Bs=!1;function Jd(){Bs=!0}function Xd(){Bs=!1}function Zd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Qd(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:Zd(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 xd(t,r){t.appendChild(r)}function zf(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function $d(t){const r=Oe("style");return r.textContent="/* empty */",eh(zf(t),r),r.sheet}function eh(t,r){return xd(t.head||t,r),r.sheet}function Bt(t,r){if(Bs){for(Qd(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 th(t,r,e){t.insertBefore(r,e||null)}function x(t,r,e){Bs&&!e?Bt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function kn(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 mn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ii(t){return document.createTextNode(t)}function kr(){return ii(" ")}function et(){return ii("")}function Re(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 rh=["width","height"];function bi(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&&rh.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function nh(t,r){Object.keys(r).forEach(e=>{ih(t,e,r[e])})}function ih(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 ga(t){return/-/.test(t)?nh:bi}function Te(t){return Array.from(t.childNodes)}function Of(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Lf(t,r,e,n,i=!1){Of(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 Rf(t,r,e,n){return Lf(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 He(t,r,e){return Rf(t,r,e,Oe)}function Cn(t,r,e){return Rf(t,r,e,mn)}function vi(t,r){return Lf(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},()=>ii(r),!0)}function Er(t){return vi(t," ")}function pa(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 Hl(t,r){const e=pa(t,"HTML_TAG_START",0),n=pa(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new po(r);Of(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 po(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new po(r,o)}function Ri(t,r){r=""+r,t.data!==r&&(t.data=r)}function ma(t,r){t.value=r==null?"":r}function W(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ba(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 oh(t){const r=t.querySelector(":checked");return r&&r.__value}function Bf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class sh{constructor(r=!1){hr(this,"is_svg",!1);hr(this,"e");hr(this,"n");hr(this,"t");hr(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=mn(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)th(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(E)}}class po extends sh{constructor(e=!1,n){super(e);hr(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)x(this.t,this.n[n],e)}}function ya(t,r){return new t(r)}const vs=new Map;let ws=0;function lh(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function ah(t,r){const e={stylesheet:$d(r),rules:{}};return vs.set(t,e),e}function ks(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 Fd=Object.defineProperty;var Td=(e,r,t)=>r in e?Fd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var br=(e,r,t)=>Td(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.45.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function D(){}const Ss=e=>e;function Ti(e,r){for(const t in r)e[t]=r[t];return e}function kf(e){return e()}function ia(){return Object.create(null)}function Zr(e){e.forEach(kf)}function Lr(e){return typeof e=="function"}function Md(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Oo;function di(e,r){return e===r?!0:(Oo||(Oo=document.createElement("a")),Oo.href=r,e===Oo.href)}function Pr(e,r){return e!=e?r==r:e!==r}function Pd(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return D}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function nl(e){let r;return W(e,t=>r=t)(),r}function hn(e,r,t){e.$$.on_destroy.push(W(r,t))}function Vs(e,r,t,n){if(e){const i=Ef(e,r,t,n);return e[0](i)}}function Ef(e,r,t,n){return e[1]&&n?Ti(t.ctx.slice(),e[1](n(r))):t.ctx}function Is(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 Ds(e,r,t,n,i,o){if(i){const s=Ef(r,t,n,o);e.p(s,i)}}function Fs(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 Ys(e,r,t){return e.set(t),r}function Ts(e){return e&&Lr(e.destroy)?e.destroy:D}function oa(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Af=typeof window<"u";let Dl=Af?()=>window.performance.now():()=>Date.now(),Fl=Af?e=>requestAnimationFrame(e):D;const ao=new Set;function Cf(e){ao.forEach(r=>{r.c(e)||(ao.delete(r),r.f())}),ao.size!==0&&Fl(Cf)}function Tl(e){let r;return ao.size===0&&Fl(Cf),{promise:new Promise(t=>{ao.add(r={c:e,f:t})}),abort(){ao.delete(r)}}}const ki=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Ot(e,r){e.appendChild(r)}function jf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Nd(e){const r=Oe("style");return r.textContent="/* empty */",zd(jf(e),r),r.sheet}function zd(e,r){return Ot(e.head||e,r),r.sheet}function x(e,r,t){e.insertBefore(r,t||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function mn(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 si(e){return document.createTextNode(e)}function yr(){return si(" ")}function dr(){return si("")}function ze(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function b(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const Od=["width","height"];function hi(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&&Od.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function Ld(e,r){Object.keys(r).forEach(t=>{Rd(e,t,r[t])})}function Rd(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:b(e,r,t)}function sa(e){return/-/.test(e)?Ld:hi}function Bd(e){return Array.from(e.childNodes)}function Mi(e,r){r=""+r,e.data!==r&&(e.data=r)}function la(e,r){e.value=r==null?"":r}function H(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function aa(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 Hd(e){const r=e.querySelector(":checked");return r&&r.__value}function Sf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ua(e,r){return new e(r)}const hs=new Map;let _s=0;function Wd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Ud(e,r){const t={stylesheet:Nd(r),rules:{}};return hs.set(e,t),t}function gs(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
|
@@ -2,7 +2,7 @@ var Od = Object.defineProperty;
|
|
|
2
2
|
var Ld = (e, r, t) => r in e ? Od(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var wr = (e, r, t) => Ld(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.45.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var Gd = Object.defineProperty;
|
|
|
2
2
|
var Yd = (t, r, e) => r in t ? Gd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var hr = (t, r, e) => Yd(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.45.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 Fd = Object.defineProperty;
|
|
|
2
2
|
var Td = (e, r, t) => r in e ? Fd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var br = (e, r, t) => Td(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.45.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 Hl = Object.defineProperty;
|
|
|
2
2
|
var Ul = (r, t, e) => t in r ? Hl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var yr = (r, t, e) => Ul(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.45.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 Hl=Object.defineProperty;var Ul=(r,t,e)=>t in r?Hl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var yr=(r,t,e)=>Ul(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.45.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 Wl=r=>r;function Gl(r){return r()}function ql(){return Object.create(null)}function ls(r){r.forEach(Gl)}function Jl(r){return typeof r=="function"}function Yl(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 j}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function Bo(r){let t;return w(r,e=>t=e)(),t}function Kl(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let Fn;function Vn(r){Fn=r}function wo(){if(!Fn)throw new Error("Function called outside component initialization");return Fn}function qr(r){wo().$$.on_destroy.push(r)}function Xl(){const r=wo();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=Kl(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function Mi(r,t){return wo().$$.context.set(r,t),t}function pr(r){return wo().$$.context.get(r)}const En=[],Ns=[];let Yn=[];const zs=[],tl=Promise.resolve();let Lo=!1;function Zl(){Lo||(Lo=!0,tl.then(ec))}function ki(){return Zl(),tl}function Ql(r){Yn.push(r)}const So=new Set;let rn=0;function ec(){if(rn!==0)return;const r=Fn;do{try{for(;rn<En.length;){const t=En[rn];rn++,Vn(t),tc(t.$$)}}catch(t){throw En.length=0,rn=0,t}for(Vn(null),En.length=0,rn=0;Ns.length;)Ns.pop()();for(let t=0;t<Yn.length;t+=1){const e=Yn[t];So.has(e)||(So.add(e),e())}Yn.length=0}while(En.length);for(;zs.length;)zs.pop()();Lo=!1,So.clear(),Vn(r)}function tc(r){if(r.fragment!==null){r.update(),ls(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Ql)}}function rc(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const ic=["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"],nc=new Set([...ic]),oc=/[&"<]/g,sc=/[&<]/g;function ut(r,t=!1){const e=String(r),i=t?oc:sc;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 ac=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Rs(r){return ac.test(r)||r.toLowerCase()==="!doctype"}const lc=/[\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 fn(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=Ho(o):e.style=Ho(cc(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(lc.test(n))return;const o=e[n];o===!0?i+=" "+n:nc.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function cc(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"?ut(r,!0):r}function gn(r){const t={};for(const e in r)t[e]=Wr(r[e]);return t}function Vr(r,t){r=rc(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const uc={$$render:()=>""};function Ut(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 Vo;function wr(r){function t(e,i,n,o,l){const c=Fn,f={on_destroy:Vo,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:ql()};Vn({$$:f});const d=r(e,i,n,o);return Vn(c),d}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{Vo=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return ls(Vo),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|