@divkitframework/divkit 33.0.0 → 33.1.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 v33.
|
|
2
|
+
DivKit v33.1.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=(Di,ti,yi)=>ti in Di?Iy(Di,ti,{enumerable:!0,configurable:!0,writable:!0,value:yi}):Di[ti]=yi;var Cr=(Di,ti,yi)=>Dy(Di,typeof ti!="symbol"?ti+"":ti,yi);function Di(e){return BigInt(e)}const ti=Di("9223372036854775807"),yi=Di("-9223372036854775808");function un(e){const r=Di(e);if(r>ti||r<yi)throw new Error("Integer overflow.");return r}const Zi=un(0);function sa(e){let r=e;return r<0&&(r=-r),r}function la(e){let r=0;return e>0?r=1:e<0&&(r=-1),un(r)}function Kd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Xd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Yo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function aa(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Zd(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 Qd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function ua(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 xd(e){try{return un(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function ca(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function $d(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function fo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,fo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}$d(fo,Error);function xs(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}fo.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=xs("",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 v33.
|
|
2
|
+
DivKit v33.1.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Oy=Object.defineProperty;var Ly=(M,ui,ei)=>ui in M?Oy(M,ui,{enumerable:!0,configurable:!0,writable:!0,value:ei}):M[ui]=ei;var gr=(M,ui,ei)=>Ly(M,typeof ui!="symbol"?ui+"":ui,ei);function M(){}const ui=e=>e;function ei(e,r){for(const t in r)e[t]=r[t];return e}function _a(e){return e()}function ga(){return Object.create(null)}function nn(e){e.forEach(_a)}function Kr(e){return typeof e=="function"}function th(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Zo;function vi(e,r){return e===r?!0:(Zo||(Zo=document.createElement("a")),Zo.href=r,e===Zo.href)}function Gr(e,r){return e!=e?r==r:e!==r}function rh(e){return Object.keys(e).length===0}function U(e,...r){if(e==null){for(const n of r)n(void 0);return M}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function il(e){let r;return U(e,t=>r=t)(),r}function En(e,r,t){e.$$.on_destroy.push(U(r,t))}function Qo(e,r,t,n){if(e){const i=pa(e,r,t,n);return e[0](i)}}function pa(e,r,t,n){return e[1]&&n?ei(t.ctx.slice(),e[1](n(r))):t.ctx}function xo(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 $o(e,r,t,n,i,o){if(i){const s=pa(r,t,n,o);e.p(s,i)}}function es(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 ol(e,r,t){return e.set(t),r}function ts(e){return e&&Kr(e.destroy)?e.destroy:M}function ma(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const ba=typeof window<"u";let sl=ba?()=>window.performance.now():()=>Date.now(),ll=ba?e=>requestAnimationFrame(e):M;const po=new Set;function ya(e){po.forEach(r=>{r.c(e)||(po.delete(r),r.f())}),po.size!==0&&ll(ya)}function al(e){let r;return po.size===0&&ll(ya),{promise:new Promise(t=>{po.add(r={c:e,f:t})}),abort(){po.delete(r)}}}const ji=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let rs=!1;function nh(){rs=!0}function ih(){rs=!1}function oh(e,r,t,n){for(;e<r;){const i=e+(r-e>>1);t(i)<=n?e=i+1:r=i}return e}function sh(e){if(e.hydrate_init)return;e.hydrate_init=!0;let r=e.childNodes;if(e.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 t=new Int32Array(r.length+1),n=new Int32Array(r.length);t[0]=-1;let i=0;for(let l=0;l<r.length;l++){const u=r[l].claim_order,c=(i>0&&r[t[i]].claim_order<=u?i+1:oh(1,i,h=>r[t[h]].claim_order,u))-1;n[l]=t[c]+1;const d=c+1;t[d]=l,i=Math.max(d,i)}const o=[],s=[];let a=r.length-1;for(let l=t[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;e.insertBefore(s[l],c)}}function lh(e,r){e.appendChild(r)}function va(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ah(e){const r=Pe("style");return r.textContent="/* empty */",uh(va(e),r),r.sheet}function uh(e,r){return lh(e.head||e,r),r.sheet}function zt(e,r){if(rs){for(sh(e),(e.actual_end_child===void 0||e.actual_end_child!==null&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);e.actual_end_child!==null&&e.actual_end_child.claim_order===void 0;)e.actual_end_child=e.actual_end_child.nextSibling;r!==e.actual_end_child?(r.claim_order!==void 0||r.parentNode!==e)&&e.insertBefore(r,e.actual_end_child):e.actual_end_child=r.nextSibling}else(r.parentNode!==e||r.nextSibling!==null)&&e.appendChild(r)}function ch(e,r,t){e.insertBefore(r,t||null)}function ee(e,r,t){rs&&!t?zt(e,r):(r.parentNode!==e||r.nextSibling!=t)&&e.insertBefore(r,t||null)}function E(e){e.parentNode&&e.parentNode.removeChild(e)}function Vn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Pe(e){return document.createElement(e)}function An(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function oi(e){return document.createTextNode(e)}function Cr(){return oi(" ")}function rt(){return oi("")}function Oe(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const fh=["width","height"];function wi(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&&fh.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function dh(e,r){Object.keys(r).forEach(t=>{hh(e,t,r[t])})}function hh(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:y(e,r,t)}function wa(e){return/-/.test(e)?dh:wi}function Ve(e){return Array.from(e.childNodes)}function ka(e){e.claim_info===void 0&&(e.claim_info={last_index:0,total_claimed:0})}function Ea(e,r,t,n,i=!1){ka(e);const o=(()=>{for(let s=e.claim_info.last_index;s<e.length;s++){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i||(e.claim_info.last_index=s),a}}for(let s=e.claim_info.last_index-1;s>=0;s--){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i?l===void 0&&e.claim_info.last_index--:e.claim_info.last_index=s,a}}return n()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function Aa(e,r,t,n){return Ea(e,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];t[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Le(e,r,t){return Aa(e,r,t,Pe)}function Tn(e,r,t){return Aa(e,r,t,An)}function ki(e,r){return Ea(e,t=>t.nodeType===3,t=>{const n=""+r;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n},()=>oi(r),!0)}function jr(e){return ki(e," ")}function Ca(e,r,t){for(let n=t;n<e.length;n+=1){const i=e[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function ul(e,r){const t=Ca(e,"HTML_TAG_START",0),n=Ca(e,"HTML_TAG_END",t+1);if(t===-1||n===-1)return new mo(r);ka(e);const i=e.splice(t,n-t+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=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new mo(r,o)}function Ni(e,r){r=""+r,e.data!==r&&(e.data=r)}function ja(e,r){e.value=r==null?"":r}function J(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Sa(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 _h(e){const r=e.querySelector(":checked");return r&&r.__value}function Va(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}class gh{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,t,n=null){this.e||(this.is_svg?this.e=An(t.nodeName):this.e=Pe(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.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 t=0;t<this.n.length;t+=1)ch(this.t,this.n[t],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(E)}}class mo extends gh{constructor(t=!1,n){super(t);gr(this,"l");this.e=this.n=null,this.l=n}c(t){this.l?this.n=this.l:super.c(t)}i(t){for(let n=0;n<this.n.length;n+=1)ee(this.t,this.n[n],t)}}function Ia(e,r){return new e(r)}const ns=new Map;let is=0;function ph(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function mh(e,r){const t={stylesheet:ah(r),rules:{}};return ns.set(e,t),t}function os(e,r,t,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 v33.
|
|
2
|
+
DivKit v33.1.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var by=Object.defineProperty;var yy=(T,ni,Xn)=>ni in T?by(T,ni,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):T[ni]=Xn;var Er=(T,ni,Xn)=>yy(T,typeof ni!="symbol"?ni+"":ni,Xn);function T(){}const ni=e=>e;function Xn(e,r){for(const t in r)e[t]=r[t];return e}function oa(e){return e()}function sa(){return Object.create(null)}function $r(e){e.forEach(oa)}function Ur(e){return typeof e=="function"}function Wd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Uo;function gi(e,r){return e===r?!0:(Uo||(Uo=document.createElement("a")),Uo.href=r,e===Uo.href)}function Br(e,r){return e!=e?r==r:e!==r}function Ud(e){return Object.keys(e).length===0}function B(e,...r){if(e==null){for(const n of r)n(void 0);return T}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function Zs(e){let r;return B(e,t=>r=t)(),r}function yn(e,r,t){e.$$.on_destroy.push(B(r,t))}function Go(e,r,t,n){if(e){const i=la(e,r,t,n);return e[0](i)}}function la(e,r,t,n){return e[1]&&n?Xn(t.ctx.slice(),e[1](n(r))):t.ctx}function Yo(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 qo(e,r,t,n,i,o){if(i){const s=la(r,t,n,o);e.p(s,i)}}function Ko(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 Qs(e,r,t){return e.set(t),r}function Jo(e){return e&&Ur(e.destroy)?e.destroy:T}function aa(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const ua=typeof window<"u";let xs=ua?()=>window.performance.now():()=>Date.now(),$s=ua?e=>requestAnimationFrame(e):T;const uo=new Set;function ca(e){uo.forEach(r=>{r.c(e)||(uo.delete(r),r.f())}),uo.size!==0&&$s(ca)}function el(e){let r;return uo.size===0&&$s(ca),{promise:new Promise(t=>{uo.add(r={c:e,f:t})}),abort(){uo.delete(r)}}}const wi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Mt(e,r){e.appendChild(r)}function fa(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Gd(e){const r=Pe("style");return r.textContent="/* empty */",Yd(fa(e),r),r.sheet}function Yd(e,r){return Mt(e.head||e,r),r.sheet}function ee(e,r,t){e.insertBefore(r,t||null)}function $(e){e.parentNode&&e.parentNode.removeChild(e)}function En(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Pe(e){return document.createElement(e)}function jn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ii(e){return document.createTextNode(e)}function vr(){return ii(" ")}function mr(){return ii("")}function Ne(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const qd=["width","height"];function pi(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&&qd.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function Kd(e,r){Object.keys(r).forEach(t=>{Jd(e,t,r[t])})}function Jd(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:y(e,r,t)}function da(e){return/-/.test(e)?Kd:pi}function Xd(e){return Array.from(e.childNodes)}function Ii(e,r){r=""+r,e.data!==r&&(e.data=r)}function _a(e,r){e.value=r==null?"":r}function q(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function ha(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 Zd(e){const r=e.querySelector(":checked");return r&&r.__value}function ga(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function pa(e,r){return new e(r)}const Xo=new Map;let Zo=0;function Qd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function xd(e,r){const t={stylesheet:Gd(r),rules:{}};return Xo.set(e,t),t}function Qo(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 Xd=Object.defineProperty;var Zd=(e,r,t)=>r in e?Xd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var Cr=(e,r,t)=>Zd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.1.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Ll(e){return BigInt(e)}const Ro=Ll("9223372036854775807"),Lo=Ll("-9223372036854775808");function cn(e){const r=Ll(e);if(r>Ro||r<Lo)throw new Error("Integer overflow.");return r}const $i=cn(0);function Of(e){let r=e;return r<0&&(r=-r),r}function Rf(e){let r=0;return e>0?r=1:e<0&&(r=-1),cn(r)}function Qd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function xd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Yo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function fa(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function $d(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 eh(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function da(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 th(e){try{return cn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function ha(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function rh(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function bo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,bo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}rh(bo,Error);function xs(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}bo.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=xs("",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 th=Object.defineProperty;var rh=(e,r,t)=>r in e?th(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var gr=(e,r,t)=>rh(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.1.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 Ws=e=>e;function Oi(e,r){for(const t in r)e[t]=r[t];return e}function Wf(e){return e()}function ya(){return Object.create(null)}function sn(e){e.forEach(Wf)}function Zr(e){return typeof e=="function"}function nh(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let xo;function wi(e,r){return e===r?!0:(xo||(xo=document.createElement("a")),xo.href=r,e===xo.href)}function qr(e,r){return e!=e?r==r:e!==r}function ih(e){return Object.keys(e).length===0}function q(e,...r){if(e==null){for(const n of r)n(void 0);return P}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function bl(e){let r;return q(e,t=>r=t)(),r}function jn(e,r,t){e.$$.on_destroy.push(q(r,t))}function Us(e,r,t,n){if(e){const i=Uf(e,r,t,n);return e[0](i)}}function Uf(e,r,t,n){return e[1]&&n?Oi(t.ctx.slice(),e[1](n(r))):t.ctx}function Gs(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 Ys(e,r,t,n,i,o){if(i){const s=Uf(r,t,n,o);e.p(s,i)}}function qs(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 il(e,r,t){return e.set(t),r}function Ks(e){return e&&Zr(e.destroy)?e.destroy:P}function va(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Gf=typeof window<"u";let Yl=Gf?()=>window.performance.now():()=>Date.now(),ql=Gf?e=>requestAnimationFrame(e):P;const wo=new Set;function Yf(e){wo.forEach(r=>{r.c(e)||(wo.delete(r),r.f())}),wo.size!==0&&ql(Yf)}function Kl(e){let r;return wo.size===0&&ql(Yf),{promise:new Promise(t=>{wo.add(r={c:e,f:t})}),abort(){wo.delete(r)}}}const Ti=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Js=!1;function oh(){Js=!0}function sh(){Js=!1}function lh(e,r,t,n){for(;e<r;){const i=e+(r-e>>1);t(i)<=n?e=i+1:r=i}return e}function ah(e){if(e.hydrate_init)return;e.hydrate_init=!0;let r=e.childNodes;if(e.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 t=new Int32Array(r.length+1),n=new Int32Array(r.length);t[0]=-1;let i=0;for(let l=0;l<r.length;l++){const u=r[l].claim_order,c=(i>0&&r[t[i]].claim_order<=u?i+1:lh(1,i,h=>r[t[h]].claim_order,u))-1;n[l]=t[c]+1;const d=c+1;t[d]=l,i=Math.max(d,i)}const o=[],s=[];let a=r.length-1;for(let l=t[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;e.insertBefore(s[l],c)}}function uh(e,r){e.appendChild(r)}function qf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ch(e){const r=Ne("style");return r.textContent="/* empty */",fh(qf(e),r),r.sheet}function fh(e,r){return uh(e.head||e,r),r.sheet}function zt(e,r){if(Js){for(ah(e),(e.actual_end_child===void 0||e.actual_end_child!==null&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);e.actual_end_child!==null&&e.actual_end_child.claim_order===void 0;)e.actual_end_child=e.actual_end_child.nextSibling;r!==e.actual_end_child?(r.claim_order!==void 0||r.parentNode!==e)&&e.insertBefore(r,e.actual_end_child):e.actual_end_child=r.nextSibling}else(r.parentNode!==e||r.nextSibling!==null)&&e.appendChild(r)}function dh(e,r,t){e.insertBefore(r,t||null)}function ee(e,r,t){Js&&!t?zt(e,r):(r.parentNode!==e||r.nextSibling!=t)&&e.insertBefore(r,t||null)}function E(e){e.parentNode&&e.parentNode.removeChild(e)}function In(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Ne(e){return document.createElement(e)}function Cn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function si(e){return document.createTextNode(e)}function jr(){return si(" ")}function rt(){return si("")}function Le(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const hh=["width","height"];function ki(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&&hh.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function _h(e,r){Object.keys(r).forEach(t=>{gh(e,t,r[t])})}function gh(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:y(e,r,t)}function wa(e){return/-/.test(e)?_h:ki}function Ve(e){return Array.from(e.childNodes)}function Kf(e){e.claim_info===void 0&&(e.claim_info={last_index:0,total_claimed:0})}function Jf(e,r,t,n,i=!1){Kf(e);const o=(()=>{for(let s=e.claim_info.last_index;s<e.length;s++){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i||(e.claim_info.last_index=s),a}}for(let s=e.claim_info.last_index-1;s>=0;s--){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i?l===void 0&&e.claim_info.last_index--:e.claim_info.last_index=s,a}}return n()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function Xf(e,r,t,n){return Jf(e,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];t[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Re(e,r,t){return Xf(e,r,t,Ne)}function Mn(e,r,t){return Xf(e,r,t,Cn)}function Ei(e,r){return Jf(e,t=>t.nodeType===3,t=>{const n=""+r;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n},()=>si(r),!0)}function Sr(e){return Ei(e," ")}function ka(e,r,t){for(let n=t;n<e.length;n+=1){const i=e[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Jl(e,r){const t=ka(e,"HTML_TAG_START",0),n=ka(e,"HTML_TAG_END",t+1);if(t===-1||n===-1)return new ko(r);Kf(e);const i=e.splice(t,n-t+1);E(i[0]),E(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new ko(r);for(const s of o)s.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new ko(r,o)}function Li(e,r){r=""+r,e.data!==r&&(e.data=r)}function Ea(e,r){e.value=r==null?"":r}function J(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 ph(e){const r=e.querySelector(":checked");return r&&r.__value}function Zf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}class mh{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,t,n=null){this.e||(this.is_svg?this.e=Cn(t.nodeName):this.e=Ne(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.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 t=0;t<this.n.length;t+=1)dh(this.t,this.n[t],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(E)}}class ko extends mh{constructor(t=!1,n){super(t);gr(this,"l");this.e=this.n=null,this.l=n}c(t){this.l?this.n=this.l:super.c(t)}i(t){for(let n=0;n<this.n.length;n+=1)ee(this.t,this.n[n],t)}}function Ca(e,r){return new e(r)}const Vs=new Map;let Is=0;function bh(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function yh(e,r){const t={stylesheet:ch(r),rules:{}};return Vs.set(e,t),t}function Ds(e,r,t,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 Wd=Object.defineProperty;var Ud=(e,r,t)=>r in e?Wd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var kr=(e,r,t)=>Ud(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.1.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 Ns=e=>e;function Ti(e,r){for(const t in r)e[t]=r[t];return e}function Ff(e){return e()}function ca(){return Object.create(null)}function tn(e){e.forEach(Ff)}function qr(e){return typeof e=="function"}function Gd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Yo;function pi(e,r){return e===r?!0:(Yo||(Yo=document.createElement("a")),Yo.href=r,e===Yo.href)}function Wr(e,r){return e!=e?r==r:e!==r}function Yd(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return M}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function cl(e){let r;return W(e,t=>r=t)(),r}function vn(e,r,t){e.$$.on_destroy.push(W(r,t))}function zs(e,r,t,n){if(e){const i=Mf(e,r,t,n);return e[0](i)}}function Mf(e,r,t,n){return e[1]&&n?Ti(t.ctx.slice(),e[1](n(r))):t.ctx}function Os(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 Ls(e,r,t,n,i,o){if(i){const s=Mf(r,t,n,o);e.p(s,i)}}function Rs(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 Zs(e,r,t){return e.set(t),r}function Bs(e){return e&&qr(e.destroy)?e.destroy:M}function fa(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 Ol=Pf?()=>window.performance.now():()=>Date.now(),Ll=Pf?e=>requestAnimationFrame(e):M;const go=new Set;function Nf(e){go.forEach(r=>{r.c(e)||(go.delete(r),r.f())}),go.size!==0&&Ll(Nf)}function Rl(e){let r;return go.size===0&&Ll(Nf),{promise:new Promise(t=>{go.add(r={c:e,f:t})}),abort(){go.delete(r)}}}const Ci=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Mt(e,r){e.appendChild(r)}function zf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function qd(e){const r=Pe("style");return r.textContent="/* empty */",Kd(zf(e),r),r.sheet}function Kd(e,r){return Mt(e.head||e,r),r.sheet}function ee(e,r,t){e.insertBefore(r,t||null)}function $(e){e.parentNode&&e.parentNode.removeChild(e)}function An(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Pe(e){return document.createElement(e)}function Vn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function di(e){return document.createTextNode(e)}function Er(){return di(" ")}function wr(){return di("")}function ze(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const Jd=["width","height"];function mi(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&&Jd.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function Xd(e,r){Object.keys(r).forEach(t=>{Zd(e,t,r[t])})}function Zd(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:y(e,r,t)}function da(e){return/-/.test(e)?Xd:mi}function Qd(e){return Array.from(e.childNodes)}function Fi(e,r){r=""+r,e.data!==r&&(e.data=r)}function ha(e,r){e.value=r==null?"":r}function q(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function _a(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 xd(e){const r=e.querySelector(":checked");return r&&r.__value}function Of(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ga(e,r){return new e(r)}const vs=new Map;let ks=0;function $d(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function eh(e,r){const t={stylesheet:qd(r),rules:{}};return vs.set(e,t),t}function Es(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
|
@@ -2,7 +2,7 @@ var Kd = Object.defineProperty;
|
|
|
2
2
|
var Xd = (e, r, t) => r in e ? Kd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var Cr = (e, r, t) => Xd(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.1.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var th = Object.defineProperty;
|
|
|
2
2
|
var rh = (e, r, t) => r in e ? th(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var gr = (e, r, t) => rh(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.1.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 Wd = Object.defineProperty;
|
|
|
2
2
|
var Ud = (e, r, t) => r in e ? Wd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var kr = (e, r, t) => Ud(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.1.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 Ql = Object.defineProperty;
|
|
|
2
2
|
var ec = (r, t, e) => t in r ? Ql(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var Sr = (r, t, e) => ec(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.1.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 Ql=Object.defineProperty;var ec=(r,t,e)=>t in r?Ql(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Sr=(r,t,e)=>ec(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.1.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 tc=r=>r;function rc(r){return r()}function ic(){return Object.create(null)}function ds(r){r.forEach(rc)}function nc(r){return typeof r=="function"}function oc(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function $(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 Uo(r){let t;return $(r,e=>t=e)(),t}function sc(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let In;function Fn(r){In=r}function ko(){if(!In)throw new Error("Function called outside component initialization");return In}function Zr(r){ko().$$.on_destroy.push(r)}function ac(){const r=ko();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=sc(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function zi(r,t){return ko().$$.context.set(r,t),t}function Er(r){return ko().$$.context.get(r)}const An=[],Ls=[];let Kn=[];const Hs=[],ll=Promise.resolve();let Go=!1;function lc(){Go||(Go=!0,ll.then(uc))}function Fi(){return lc(),ll}function cc(r){Kn.push(r)}const Fo=new Set;let sn=0;function uc(){if(sn!==0)return;const r=In;do{try{for(;sn<An.length;){const t=An[sn];sn++,Fn(t),dc(t.$$)}}catch(t){throw An.length=0,sn=0,t}for(Fn(null),An.length=0,sn=0;Ls.length;)Ls.pop()();for(let t=0;t<Kn.length;t+=1){const e=Kn[t];Fo.has(e)||(Fo.add(e),e())}Kn.length=0}while(An.length);for(;Hs.length;)Hs.pop()();Go=!1,Fo.clear(),Fn(r)}function dc(r){if(r.fragment!==null){r.update(),ds(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(cc)}}function fc(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const gc=["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"],hc=new Set([...gc]),vc=/[&"<]/g,pc=/[&<]/g;function dt(r,t=!1){const e=String(r),i=t?vc:pc;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 mc=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Ws(r){return mc.test(r)||r.toLowerCase()==="!doctype"}const _c=/[\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 hn(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=qo(o):e.style=qo(bc(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(_c.test(n))return;const o=e[n];o===!0?i+=" "+n:hc.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function bc(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 Kr(r){return typeof r=="string"||r&&typeof r=="object"?dt(r,!0):r}function vn(r){const t={};for(const e in r)t[e]=Kr(r[e]);return t}function Rr(r,t){r=fc(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const yc={$$render:()=>""};function Zt(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 Io;function Ir(r){function t(e,i,n,o,l){const c=In,g={on_destroy:Io,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:ic()};Fn({$$:g});const f=r(e,i,n,o);return Fn(c),f}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{Io=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return ds(Io),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|