@divkitframework/divkit 32.38.0 → 32.39.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.39.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var hy=Object.defineProperty;var gy=(Ci,Zn,pi)=>Zn in Ci?hy(Ci,Zn,{enumerable:!0,configurable:!0,writable:!0,value:pi}):Ci[Zn]=pi;var wr=(Ci,Zn,pi)=>gy(Ci,typeof Zn!="symbol"?Zn+"":Zn,pi);function Ci(e){return BigInt(e)}const Zn=Ci("9223372036854775807"),pi=Ci("-9223372036854775808");function nn(e){const r=Ci(e);if(r>Zn||r<pi)throw new Error("Integer overflow.");return r}const Xi=nn(0);function xl(e){let r=e;return r<0&&(r=-r),r}function $l(e){let r=0;return e>0?r=1:e<0&&(r=-1),nn(r)}function Dd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Fd(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 ea(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Td(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 Md(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function ta(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 Pd(e){try{return nn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function ra(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Nd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function ao(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,ao.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Nd(ao,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))}ao.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.39.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var ky=Object.defineProperty;var Ey=(T,oi,Xn)=>oi in T?ky(T,oi,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):T[oi]=Xn;var gr=(T,oi,Xn)=>Ey(T,typeof oi!="symbol"?oi+"":oi,Xn);function T(){}const oi=t=>t;function Xn(t,r){for(const e in r)t[e]=r[e];return t}function oa(t){return t()}function sa(){return Object.create(null)}function xr(t){t.forEach(oa)}function Rr(t){return typeof t=="function"}function zd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Go;function di(t,r){return t===r?!0:(Go||(Go=document.createElement("a")),Go.href=r,t===Go.href)}function Nr(t,r){return t!=t?r==r:t!==r}function Od(t){return Object.keys(t).length===0}function W(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 Qs(t){let r;return W(t,e=>r=e)(),r}function mn(t,r,e){t.$$.on_destroy.push(W(r,e))}function Yo(t,r,e,n){if(t){const i=la(t,r,e,n);return t[0](i)}}function la(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=la(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:T}function aa(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const ua=typeof window<"u";let $s=ua?()=>window.performance.now():()=>Date.now(),el=ua?t=>requestAnimationFrame(t):T;const co=new Set;function ca(t){co.forEach(r=>{r.c(t)||(co.delete(r),r.f())}),co.size!==0&&el(ca)}function tl(t){let r;return co.size===0&&el(ca),{promise:new Promise(e=>{co.add(r={c:t,f:e})}),abort(){co.delete(r)}}}const ki=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Zo=!1;function Ld(){Zo=!0}function Rd(){Zo=!1}function Bd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Hd(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:Bd(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 Wd(t,r){t.appendChild(r)}function fa(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Ud(t){const r=Ne("style");return r.textContent="/* empty */",Gd(fa(t),r),r.sheet}function Gd(t,r){return Wd(t.head||t,r),r.sheet}function Lt(t,r){if(Zo){for(Hd(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 Yd(t,r,e){t.insertBefore(r,e||null)}function Q(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 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 _n(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ri(t){return document.createTextNode(t)}function kr(){return ri(" ")}function Ze(){return ri("")}function Le(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 qd=["width","height"];function hi(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&&qd.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Kd(t,r){Object.keys(r).forEach(e=>{Jd(t,e,r[e])})}function Jd(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 da(t){return/-/.test(t)?Kd:hi}function De(t){return Array.from(t.childNodes)}function ha(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function _a(t,r,e,n,i=!1){ha(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 ga(t,r,e,n){return _a(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 ga(t,r,e,Ne)}function An(t,r,e){return ga(t,r,e,_n)}function _i(t,r){return _a(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},()=>ri(r),!0)}function Er(t){return _i(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 rl(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 fo(r);ha(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 Ti(t,r){r=""+r,t.data!==r&&(t.data=r)}function ma(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 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 Xd(t){const r=t.querySelector(":checked");return r&&r.__value}function ya(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Zd{constructor(r=!1){gr(this,"is_svg",!1);gr(this,"e");gr(this,"n");gr(this,"t");gr(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=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)Yd(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 Zd{constructor(e=!1,n){super(e);gr(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)Q(this.t,this.n[n],e)}}function va(t,r){return new t(r)}const Qo=new Map;let xo=0;function Qd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function xd(t,r){const e={stylesheet:Ud(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.39.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=(D,$n,Gn)=>$n in D?ny(D,$n,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):D[$n]=Gn;var br=(D,$n,Gn)=>iy(D,typeof $n!="symbol"?$n+"":$n,Gn);function D(){}const $n=e=>e;function Gn(e,r){for(const t in r)e[t]=r[t];return e}function Zl(e){return e()}function Ql(){return Object.create(null)}function Jr(e){e.forEach(Zl)}function Nr(e){return typeof e=="function"}function Ed(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Oo;function li(e,r){return e===r?!0:(Oo||(Oo=document.createElement("a")),Oo.href=r,e===Oo.href)}function Fr(e,r){return e!=e?r==r:e!==r}function Ad(e){return Object.keys(e).length===0}function H(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 Us(e){let r;return H(e,t=>r=t)(),r}function dn(e,r,t){e.$$.on_destroy.push(H(r,t))}function Lo(e,r,t,n){if(e){const i=xl(e,r,t,n);return e[0](i)}}function xl(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=xl(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:D}function $l(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const ea=typeof window<"u";let Ys=ea?()=>window.performance.now():()=>Date.now(),qs=ea?e=>requestAnimationFrame(e):D;const io=new Set;function ta(e){io.forEach(r=>{r.c(e)||(io.delete(r),r.f())}),io.size!==0&&qs(ta)}function Ks(e){let r;return io.size===0&&qs(ta),{promise:new Promise(t=>{io.add(r={c:e,f:t})}),abort(){io.delete(r)}}}const pi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Nt(e,r){e.appendChild(r)}function ra(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Cd(e){const r=ze("style");return r.textContent="/* empty */",jd(ra(e),r),r.sheet}function jd(e,r){return Nt(e.head||e,r),r.sheet}function Q(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 ze(e){return document.createElement(e)}function yn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ei(e){return document.createTextNode(e)}function yr(){return ei(" ")}function fr(){return ei("")}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 Sd=["width","height"];function ai(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&&Sd.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function Vd(e,r){Object.keys(r).forEach(t=>{Id(e,t,r[t])})}function Id(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 na(e){return/-/.test(e)?Vd:ai}function Dd(e){return Array.from(e.childNodes)}function Ci(e,r){r=""+r,e.data!==r&&(e.data=r)}function ia(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 oa(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 Fd(e){const r=e.querySelector(":checked");return r&&r.__value}function sa(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function la(e,r){return new e(r)}const Uo=new Map;let Go=0;function Td(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Md(e,r){const t={stylesheet:Cd(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 Dd=Object.defineProperty;var Fd=(e,r,t)=>r in e?Dd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var yr=(e,r,t)=>Fd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.39.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Dl(e){return BigInt(e)}const To=Dl("9223372036854775807"),Mo=Dl("-9223372036854775808");function un(e){const r=Dl(e);if(r>To||r<Mo)throw new Error("Integer overflow.");return r}const xi=un(0);function wf(e){let r=e;return r<0&&(r=-r),r}function vf(e){let r=0;return e>0?r=1:e<0&&(r=-1),un(r)}function Td(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Md(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Lo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function xl(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Pd(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 Nd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function $l(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 zd(e){try{return un(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function ea(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Od(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function _o(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,_o.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Od(_o,Error);function qs(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}_o.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=qs("",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 zd=Object.defineProperty;var Od=(t,r,e)=>r in t?zd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var gr=(t,r,e)=>Od(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.39.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 Ms=t=>t;function Ni(t,r){for(const e in r)t[e]=r[e];return t}function Af(t){return t()}function oa(){return Object.create(null)}function en(t){t.forEach(Af)}function Hr(t){return typeof t=="function"}function Ld(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Uo;function gi(t,r){return t===r?!0:(Uo||(Uo=document.createElement("a")),Uo.href=r,t===Uo.href)}function Lr(t,r){return t!=t?r==r:t!==r}function Rd(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return P}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function ul(t){let r;return U(t,e=>r=e)(),r}function kn(t,r,e){t.$$.on_destroy.push(U(r,e))}function Ps(t,r,e,n){if(t){const i=Cf(t,r,e,n);return t[0](i)}}function Cf(t,r,e,n){return t[1]&&n?Ni(e.ctx.slice(),t[1](n(r))):e.ctx}function Ns(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 zs(t,r,e,n,i,o){if(i){const s=Cf(r,e,n,o);t.p(s,i)}}function Os(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 Qs(t,r,e){return t.set(e),r}function Ls(t){return t&&Hr(t.destroy)?t.destroy:P}function sa(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const jf=typeof window<"u";let Nl=jf?()=>window.performance.now():()=>Date.now(),zl=jf?t=>requestAnimationFrame(t):P;const po=new Set;function Sf(t){po.forEach(r=>{r.c(t)||(po.delete(r),r.f())}),po.size!==0&&zl(Sf)}function Ol(t){let r;return po.size===0&&zl(Sf),{promise:new Promise(e=>{po.add(r={c:t,f:e})}),abort(){po.delete(r)}}}const Si=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Rs=!1;function Bd(){Rs=!0}function Hd(){Rs=!1}function Wd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Ud(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:Wd(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 Gd(t,r){t.appendChild(r)}function Vf(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Yd(t){const r=Ne("style");return r.textContent="/* empty */",qd(Vf(t),r),r.sheet}function qd(t,r){return Gd(t.head||t,r),r.sheet}function Wt(t,r){if(Rs){for(Ud(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 Kd(t,r,e){t.insertBefore(r,e||null)}function Q(t,r,e){Rs&&!e?Wt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function wn(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 gn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ni(t){return document.createTextNode(t)}function kr(){return ni(" ")}function Qe(){return ni("")}function Le(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 Jd=["width","height"];function pi(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&&Jd.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Xd(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 la(t){return/-/.test(t)?Xd:pi}function De(t){return Array.from(t.childNodes)}function If(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Df(t,r,e,n,i=!1){If(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 Tf(t,r,e,n){return Df(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 Tf(t,r,e,Ne)}function Sn(t,r,e){return Tf(t,r,e,gn)}function bi(t,r){return Df(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 bi(t," ")}function aa(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 Ll(t,r){const e=aa(t,"HTML_TAG_START",0),n=aa(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new mo(r);If(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 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 zi(t,r){r=""+r,t.data!==r&&(t.data=r)}function ua(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 ca(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 Qd(t){const r=t.querySelector(":checked");return r&&r.__value}function Ff(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class xd{constructor(r=!1){gr(this,"is_svg",!1);gr(this,"e");gr(this,"n");gr(this,"t");gr(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=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)Kd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(E)}}class mo extends xd{constructor(e=!1,n){super(e);gr(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)Q(this.t,this.n[n],e)}}function fa(t,r){return new t(r)}const ys=new Map;let vs=0;function $d(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function eh(t,r){const e={stylesheet:Yd(r),rules:{}};return ys.set(t,e),e}function ws(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 Ed=Object.defineProperty;var Ad=(e,r,t)=>r in e?Ed(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var br=(e,r,t)=>Ad(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.39.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function F(){}const js=e=>e;function Ii(e,r){for(const t in r)e[t]=r[t];return e}function _f(e){return e()}function Zl(){return Object.create(null)}function Zr(e){e.forEach(_f)}function Or(e){return typeof e=="function"}function Cd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let zo;function ci(e,r){return e===r?!0:(zo||(zo=document.createElement("a")),zo.href=r,e===zo.href)}function Pr(e,r){return e!=e?r==r:e!==r}function jd(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return F}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function tl(e){let r;return W(e,t=>r=t)(),r}function mn(e,r,t){e.$$.on_destroy.push(W(r,t))}function Ss(e,r,t,n){if(e){const i=gf(e,r,t,n);return e[0](i)}}function gf(e,r,t,n){return e[1]&&n?Ii(t.ctx.slice(),e[1](n(r))):t.ctx}function Vs(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 Is(e,r,t,n,i,o){if(i){const s=gf(r,t,n,o);e.p(s,i)}}function Ds(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 Us(e,r,t){return e.set(t),r}function Fs(e){return e&&Or(e.destroy)?e.destroy:F}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 pf=typeof window<"u";let Sl=pf?()=>window.performance.now():()=>Date.now(),Vl=pf?e=>requestAnimationFrame(e):F;const uo=new Set;function mf(e){uo.forEach(r=>{r.c(e)||(uo.delete(r),r.f())}),uo.size!==0&&Vl(mf)}function Il(e){let r;return uo.size===0&&Vl(mf),{promise:new Promise(t=>{uo.add(r={c:e,f:t})}),abort(){uo.delete(r)}}}const vi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Rt(e,r){e.appendChild(r)}function bf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Sd(e){const r=Oe("style");return r.textContent="/* empty */",Vd(bf(e),r),r.sheet}function Vd(e,r){return Rt(e.head||e,r),r.sheet}function Q(e,r,t){e.insertBefore(r,t||null)}function Z(e){e.parentNode&&e.parentNode.removeChild(e)}function pn(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 kn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ii(e){return document.createTextNode(e)}function yr(){return ii(" ")}function dr(){return ii("")}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 Id=["width","height"];function fi(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&&Id.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function Dd(e,r){Object.keys(r).forEach(t=>{Fd(e,t,r[t])})}function Fd(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 xl(e){return/-/.test(e)?Dd:fi}function Td(e){return Array.from(e.childNodes)}function Di(e,r){r=""+r,e.data!==r&&(e.data=r)}function $l(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 ea(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 yf(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 ds=new Map;let hs=0;function Pd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Nd(e,r){const t={stylesheet:Sd(r),rules:{}};return ds.set(e,t),t}function _s(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
|
@@ -2,7 +2,7 @@ var Id = Object.defineProperty;
|
|
|
2
2
|
var Dd = (e, r, t) => r in e ? Id(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var yr = (e, r, t) => Dd(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.39.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var zd = Object.defineProperty;
|
|
|
2
2
|
var Od = (t, r, e) => r in t ? zd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var gr = (t, r, e) => Od(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.39.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 Ed = Object.defineProperty;
|
|
|
2
2
|
var Ad = (e, r, t) => r in e ? Ed(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var br = (e, r, t) => Ad(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.39.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 Tl = Object.defineProperty;
|
|
|
2
2
|
var Ml = (r, t, e) => t in r ? Tl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var $r = (r, t, e) => Ml(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.39.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 Tl=Object.defineProperty;var Ml=(r,t,e)=>t in r?Tl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var $r=(r,t,e)=>Ml(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.39.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function E(){}const Pl=r=>r;function Ol(r){return r()}function Nl(){return Object.create(null)}function as(r){r.forEach(Ol)}function zl(r){return typeof r=="function"}function Rl(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 E}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function Bo(r){let t;return w(r,e=>t=e)(),t}function Bl(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let Sn;function Fn(r){Sn=r}function yo(){if(!Sn)throw new Error("Function called outside component initialization");return Sn}function qr(r){yo().$$.on_destroy.push(r)}function Ll(){const r=yo();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=Bl(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function Ji(r,t){return yo().$$.context.set(r,t),t}function yr(r){return yo().$$.context.get(r)}const jn=[],Is=[];let Jn=[];const Ds=[],Ya=Promise.resolve();let Lo=!1;function Hl(){Lo||(Lo=!0,Ya.then(Wl))}function Ei(){return Hl(),Ya}function Ul(r){Jn.push(r)}const Fo=new Set;let rn=0;function Wl(){if(rn!==0)return;const r=Sn;do{try{for(;rn<jn.length;){const t=jn[rn];rn++,Fn(t),Gl(t.$$)}}catch(t){throw jn.length=0,rn=0,t}for(Fn(null),jn.length=0,rn=0;Is.length;)Is.pop()();for(let t=0;t<Jn.length;t+=1){const e=Jn[t];Fo.has(e)||(Fo.add(e),e())}Jn.length=0}while(jn.length);for(;Ds.length;)Ds.pop()();Lo=!1,Fo.clear(),Fn(r)}function Gl(r){if(r.fragment!==null){r.update(),as(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Ul)}}function ql(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const Jl=["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"],Yl=new Set([...Jl]),Kl=/[&"<]/g,Xl=/[&<]/g;function ft(r,t=!1){const e=String(r),i=t?Kl:Xl;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 Ts(r){return Zl.test(r)||r.toLowerCase()==="!doctype"}const Ql=/[\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(ec(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(Ql.test(n))return;const o=e[n];o===!0?i+=" "+n:Yl.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function ec(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"?ft(r,!0):r}function gn(r){const t={};for(const e in r)t[e]=Wr(r[e]);return t}function Tr(r,t){r=ql(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const tc={$$render:()=>""};function Wt(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 So;function kr(r){function t(e,i,n,o,l){const c=Sn,f={on_destroy:So,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:Nl()};Fn({$$:f});const d=r(e,i,n,o);return Fn(c),d}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{So=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return as(So),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|