| 1 | /* widget-sandbox version=0.6.3 protocol=1 profile=1 sdk=1 */ |
| 2 | "use strict";(()=>{var Fu=Object.create;var mr=Object.defineProperty;var Bu=Object.getOwnPropertyDescriptor;var Uu=Object.getOwnPropertyNames;var Wu=Object.getPrototypeOf,ju=Object.prototype.hasOwnProperty;var ct=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},x=(e,t)=>{for(var n in t)mr(e,n,{get:t[n],enumerable:!0})},Hu=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Uu(t))!ju.call(e,i)&&i!==n&&mr(e,i,{get:()=>t[i],enumerable:!(r=Bu(t,i))||r.enumerable});return e};var qu=(e,t,n)=>(n=e!=null?Fu(Wu(e)):{},Hu(t||!e||!e.__esModule?mr(n,"default",{value:e,enumerable:!0}):n,e));var la=ct(Cr=>{var aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Cr.encode=function(e){if(0<=e&&e<aa.length)return aa[e];throw new TypeError("Must be between 0 and 63: "+e)};Cr.decode=function(e){var t=65,n=90,r=97,i=122,o=48,s=57,a=43,c=47,l=26,u=52;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+l:o<=e&&e<=s?e-o+u:e==a?62:e==c?63:-1}});var da=ct(Ar=>{var ca=la(),Tr=5,ua=1<<Tr,pa=ua-1,ha=ua;function rp(e){return e<0?(-e<<1)+1:(e<<1)+0}function ip(e){var t=(e&1)===1,n=e>>1;return t?-n:n}Ar.encode=function(t){var n="",r,i=rp(t);do r=i&pa,i>>>=Tr,i>0&&(r|=ha),n+=ca.encode(r);while(i>0);return n};Ar.decode=function(t,n,r){var i=t.length,o=0,s=0,a,c;do{if(n>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(c=ca.decode(t.charCodeAt(n++)),c===-1)throw new Error("Invalid base64 digit: "+t.charAt(n-1));a=!!(c&ha),c&=pa,o=o+(c<<s),s+=Tr}while(a);r.value=ip(o),r.rest=n}});var Tn=ct($=>{function op(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw new Error('"'+t+'" is a required argument.')}$.getArg=op;var fa=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,sp=/^data:.+\,.+$/;function zt(e){var t=e.match(fa);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}$.urlParse=zt;function gt(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}$.urlGenerate=gt;var ap=32;function lp(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var o=e(n);return t.unshift({input:n,result:o}),t.length>ap&&t.pop(),o}}var Er=lp(function(t){var n=t,r=zt(t);if(r){if(!r.path)return t;n=r.path}for(var i=$.isAbsolute(n),o=[],s=0,a=0;;)if(s=a,a=n.indexOf("/",s),a===-1){o.push(n.slice(s));break}else for(o.push(n.slice(s,a));a<n.length&&n[a]==="/";)a++;for(var c,l=0,a=o.length-1;a>=0;a--)c=o[a],c==="."?o.splice(a,1):c===".."?l++:l>0&&(c===""?(o.splice(a+1,l),l=0):(o.splice(a,2),l--));return n=o.join("/"),n===""&&(n=i?"/":"."),r?(r.path=n,gt(r)):n});$.normalize=Er;function ma(e,t){e===""&&(e="."),t===""&&(t=".");var n=zt(t),r=zt(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),gt(n);if(n||t.match(sp))return t;if(r&&!r.host&&!r.path)return r.host=t,gt(r);var i=t.charAt(0)==="/"?t:Er(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=i,gt(r)):i}$.join=ma;$.isAbsolute=function(e){return e.charAt(0)==="/"||fa.test(e)};function cp(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var n=0;t.indexOf(e+"/")!==0;){var r=e.lastIndexOf("/");if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}$.relative=cp;var ga=(function(){var e=Object.create(null);return!("__proto__"in e)})();function ba(e){return e}function up(e){return xa(e)?"$"+e:e}$.toSetString=ga?ba:up;function pp(e){return xa(e)?e.slice(1):e}$.fromSetString=ga?ba:pp;function xa(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function hp(e,t,n){var r=Oe(e.source,t.source);return r! |
| 3 | `)}})}var kr=100,ea=60,ta=" ";function na({source:e,line:t,column:n,baseLine:r,baseColumn:i},o){function s(d,g){return l.slice(d,g).map((T,b)=>String(d+b+1).padStart(h)+" |"+T).join(` |
| 4 | `)}let a=` |
| 5 | `.repeat(Math.max(r-1,0)),c=" ".repeat(Math.max(i-1,0)),l=(a+c+e).split(/\r\n?|\n|\f/),u=Math.max(1,t-o)-1,p=Math.min(t+o,l.length+1),h=Math.max(4,String(p).length)+1,f=0;n+=(ta.length-1)*(l[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>kr&&(f=n-ea+3,n=ea-2);for(let d=u;d<=p;d++)d>=0&&d<l.length&&(l[d]=l[d].replace(/\t/g,ta),l[d]=(f>0&&l[d].length>f?"\u2026":"")+l[d].substr(f,kr-2)+(l[d].length>f+kr-1?"\u2026":""));return[s(u,t),new Array(n+h+2).join("-")+"^",s(t,p)].filter(Boolean).join(` |
| 6 | `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function wr(e,t,n,r,i,o=1,s=1){return Object.assign(et("SyntaxError",e),{source:t,offset:n,line:r,column:i,sourceFragment(c){return na({source:t,line:r,column:i,baseLine:o,baseColumn:s},isNaN(c)?0:c)},get formattedMessage(){return`Parse error: ${e} |
| 7 | `+na({source:t,line:r,column:i,baseLine:o,baseColumn:s},2)}})}function ra(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var mt=()=>{},Qu=33,Zu=35,vr=59,ia=123,oa=0,Ju={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},ep={createList(){return new F},createSingleNodeList(e){return new F().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function tp(e){return function(){return this[e]()}}function Sr(e){let t=Object.create(null);for(let n of Object.keys(e)){let r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function np(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Sr(e.atrule),pseudo:Sr(e.pseudo),node:Sr(e.node)};for(let[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=tp(r);break}return{config:t,...t,...t.node}}function sa(e){let t="",n="<unknown>",r=!1,i=mt,o=!1,s=new wn,a=Object.assign(new vn,np(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:ra,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(u){return u===ia?1:0},consumeUntilLeftCurlyBracketOrSemicolon(u){return u===ia||u===vr?1:0},consumeUntilExclamationMarkOrSemicolon(u){return u===Qu||u===vr?1:0},consumeUntilSemicolonIncluded(u){return u===vr?2:0},createList:mt,createSingleNodeList:mt,getFirstListNode:mt,getLastListNode:mt,parseWithFallback(u,p){let h=this.tokenIndex;try{return u.call(this)}catch(f){if(o)throw f;this.skip(h-this.tokenIndex);let d=p.call(this);return o=!0,i(f,d),o=!1,d}},lookupNonWSType(u){let p;do if(p=this.lookupType(u++),p!==13&&p!==25)return p;while(p!==oa);return oa},charCodeAt(u){return u>=0&&u<t.length?t.charCodeAt(u):0},substring(u,p){return t.substring(u,p)},substrToCursor(u){return this.source.substring(u,this.tokenStart)},cmpChar(u,p){return Re(t,u,p)},cmpStr(u,p,h){return Ne(t,u,p,h)},consume(u){let p=this.tokenStart;return this.eat(u),this.substrToCursor(p)},consumeFunctionName(){let u=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),u},consumeNumber(u){let p=t.substring(this.tokenStart,Ze(t,this.tokenStart));return this.eat(u),p},eat(u){if(this.tokenType!==u){let p=ht[u].slice(0,-6).replace(/-/g," ").replace(/^./,d=>d.toUpperCase()),h=` |
| 8 | `,13,!0)},emit(c){i+=c},result(){return i}};r&&(typeof r.decorator=="function"&&(s=r.decorator(s)),r.sourceMap&&(s=La |
| 9 | syntax: `+i.syntax+` |
| 10 | value: `+(o||"<empty string>")+` |
| 11 | --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,c),i.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:c,end:l},i};var Rn=new Map,yt=new Map,Nn=45,Pn=Op,Pr=zp;function On(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Nn&&e.charCodeAt(t+1)===Nn}function Ua(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Nn&&e.charCodeAt(t+1)!==Nn){let n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function Op(e){if(Rn.has(e))return Rn.get(e);let t=e.toLowerCase(),n=Rn.get(t);if(n===void 0){let r=On(t,0),i=r?"":Ua(t,0);n=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:r})}return Rn.set(e,n),n}function zp(e){if(yt.has(e))return yt.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");let r=On(t,n.length);if(!r&&(t=t.toLowerCase(),yt.has(t))){let a=yt.get(t);return yt.set(e,a),a}let i=r?"":Ua(t,n.length),o=t.substr(0,n.length+i.length),s=Object.freeze({basename:t.substr(o.length),name:t.substr(n.length),hack:n,vendor:i,prefix:o,custom:r});return yt.set(e,s),s}var kt=["initial","inherit","unset","revert","revert-layer"];var Ut=43,Ae=45,Or=110,wt=!0,Mp=!1;function Dr(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Bt(e,t,n){for(;e!==null&&(e.type===13||e.type===25);)e=n(++t);return t}function Ge(e,t,n,r){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===Ut||i===Ae){if(n)return 0;t++}for(;t<e.value.length;t++)if(!W(e.value.charCodeAt(t)))return 0;return r+1}function zr(e,t,n){let r=!1,i=Bt(e,t,n);if(e=n(i),e===null)return t;if(e.type!==10)if(Dr(e,Ut)||Dr(e,Ae)){if(r=!0,i=Bt(n(++i),i,n),e=n(i),e===null||e.type!==10)return 0}else return t;if(!r){let o=e.value.charCodeAt(0);if(o!==Ut&&o!==Ae)return 0}return Ge(e,r?0:1,r,i)}function Mr(e,t){let n=0;if(!e)return 0;if(e.type===10)return Ge(e,0,Mp,n);if(e.type===1&&e.value.charCodeAt(0)===Ae){if(!Re(e.value,1,Or))return 0;switch(e.value.length){case 2:return zr(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Ae?0:(n=Bt(t(++n),n,t),e=t(n),Ge(e,0,wt,n));default:return e.value.charCodeAt(2)!==Ae?0:Ge(e,3,wt,n)}}else if(e.type===1||Dr(e,Ut)&&t(n+1).type===1){if(e.type!==1&&(e=t(++n)),e===null||!Re(e.value,0,Or))return 0;switch(e.value.length){case 1:return zr(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Ae?0:(n=Bt(t(++n),n,t),e=t(n),Ge(e,0,wt,n));default:return e.value.charCodeAt(1)!==Ae?0:Ge(e,2,wt,n)}}else if(e.type===12){let r=e.value.charCodeAt(0),i=r===Ut||r===Ae?1:0,o=i;for(;o<e.value.length&&W(e.value.charCodeAt(o));o++);return o===i||!Re(e.value,o,Or)?0:o+1===e.value.length?zr(t(++n),n,t):e.value.charCodeAt(o+1)!==Ae?0:o+2===e.value.length?(n=Bt(t(++n),n,t),e=t(n),Ge(e,0,wt,n)):Ge(e,o+2,wt,n)}return 0}var Fp=43,Wa=45,ja=63,Bp=117;function Fr(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Up(e,t){return e.value.charCodeAt(0)===t}function Wt(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===Wa&&n&&r!==0)return Wt(e,t+r+1,!1),6;if(!ne(o)||++r>6)return 0}return r}function zn(e,t,n){if(!e)return 0;for(;Fr(n(t),ja);){if(++e>6)return 0;t++}return t}function Br(e,t){let n=0;if(e===null||e.type!==1||!Re(e.value,0,Bp)||(e=t(++n),e===null))return 0;if(Fr(e,Fp))return e=t(++n),e===null?0:e.type===1?zn(Wt(e,0,!0),++n,t):Fr(e,ja)?zn(1,++n,t):0;if(e.type===10){let r=Wt(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===12||e.type===10?!Up(e,Wa)||!Wt(e,1,!1)?0:n+1:zn(r,n,t))}return e.type===12?zn(Wt(e,1,!0),++n,t):0}var Ur=["calc(","-moz-calc(","-webkit-calc("],Wr=["min(","max(","clamp("],jr=["round(","mod(","rem("],Wp=["sin(","cos(","tan("],jp=["asin(","acos(","atan(","atan2("],Hp=["pow(","sqrt(","log(","exp(","sign("],Hr=["hypot("],qr=["abs("],Ha=[...Ur,...Wr,...jr,...Wp,...Hp,...Hr,...qr],qp=[...Ur,...Wr,...jr,...Hr,...qr],De=[...Ur,...Wr,...jr,...jp,...Hr,...qr],Gr=new Map([[2,22],[21,22],[19,20],[23,24]]);function ke(e,t){return t<e.length?e.charCodeAt(t):0}function qa(e,t){return Ne(e,0,e.len |
| 12 | `+t+` |
| 13 | --`+new Array((n||t.length)+1).join("-")+"^"})}var fh=9,mh=10,gh=12,bh=13,xh |
| 14 | |
| 15 | `)&&s(12,"IHDR")&&t(0,24))return[r(16)*65536+r(18),r(20)*65536+r(22)];if((s(0,"GIF87a")||s(0,"GIF89a"))&&t(0,13)){let a=[i(6),i(8)],c=0;for(let l=13+(n(10)&128?3<<(n(10)&7)+1:0),u=0;l<gs&&u<256;u++){if(!t(l,l+2))return null;if(n(l)===44)return t(l,l+9)?[Math.max(a[0],i(l+1)+i(l+5)),Math.max(a[1],i(l+3)+i(l+7))]:null;if(n(l)!==33)return null;for(l+=2;;){if(l>=gs||++c>4096||!t(l,l+1))return null;let p=n(l);if(l+=1+p,p===0)break}}return null}if(s(0,"RIFF")&&s(8,"WEBP"))return s(12,"VP8X")&&t(0,30)?[1+o(24),1+o(27)]:s(12,"VP8L")&&t(0,25)&&n(20)===47?[1+(n(21)|(n(22)&63)<<8),1+(n(22)>>6|n(23)<<2|(n(24)&15)<<10)]:s(12,"VP8 ")&&t(0,30)?[(n(26)|n(27)<<8)&16383,(n(28)|n(29)<<8)&16383]:null;if(s(0,"\xFF\xD8")&&t(0,4))for(let a=2,c=0;a+9<=gs&&c<1024;c++){if(!t(a,a+4)||n(a)!==255)return null;let l=n(a+1);if(l===255){a++;continue}if(l===1||l>=208&&l<=216){a+=2;continue}if(l>=192&&l<=207&&l!==196&&l!==200&&l!==204)return t(a,a+9)?[r(a+7),r(a+5)]:null;if(l===217||l===218)return null;a+=2+r(a+2)}return null}var bs=null;function Ye(e,t){let n=Ac(String(e));if(n.startsWith("#"))return/^#[^\s"'()\\<>]*$/.test(n)?n:null;if(t==="fragment-only")return null;if(/^data:/i.test(n)){let r=gb(n);if(r===null||t!=="image"||!xs.has(r))return null;if(bs?.url===n)return bs.checked;let i=Cb(n),o=i?i[0]*i[1]<=bb?n:null:xb;return bs={url:n,checked:o},o}return/^blob:/i.test(n)&&mb.has(n)?n:null}function Ec(e){return Ac(String(e)).startsWith("#")}var ys="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><rect width="48" height="48" fill="#8882"/><path d="M8 36l10-12 8 9 6-7 8 10z" fill="#8886"/><circle cx="33" cy="15" r="4" fill="#8886"/></svg>');var Tb=["bg_color","text_color","hint_color","link_color","button_color","button_text_color","secondary_bg_color","accent_text_color","subtitle_text_color","destructive_text_color","section_bg_color","section_header_text_color","section_separator_color","header_bg_color","bottom_bar_bg_color"];var ks=/^(0|[0-9]{1,4}(\.[0-9]{1,3})?(px|em|rem))$/,Lc=/^#[0-9a-fA-F]{6}$/,Ab=new Set(["system-ui","sans-serif","serif","monospace","ui-sans-serif","ui-serif","ui-monospace","ui-rounded"]),Eb=/^(?:(normal|italic) )?(?:(normal|bold|[1-9]00) )?[0-9]{1,3}(?: |
| 16 | script iframe frame frameset object embed link meta base portal noscript set title template applet param |
| 17 | noembed noframes plaintext xmp listing slot track area map math metadata fencedframe audio video source |
| 18 | `)),Ns=new Set(or("keep").filter(e=>!an.has(e))),sr=new Map([...or("span").map(e=>[e,"span"]),...or("div").map(e=>[e,"div"])]),ln=new Set([...an,...or("drop")]),Ps=new Map(Ie.svg.elements.map(e=>[e.toLowerCase(),e])),ar=new Set(Ie.html.attributes),gu=Ie.svg.attributes,lr=new Set(gu.map(e=>e.toLowerCase())),mv=new Set([...ar,...lr]),Os=new Map(gu.filter(e=>e!==e.toLowerCase()).map(e=>[e.toLowerCase(),e])),zs=new Set(lt(` |
| 19 | href xlink:href src srcset poster action formaction background ping data cite codebase manifest longdesc |
| 20 | usemap profile icon archive classid lowsrc dynsrc srcdoc imagesrcset imagesizes attributionsrc |
| 21 | `)),Ds=new Set(lt(` |
| 22 | fill stroke filter mask clip-path marker marker-start marker-mid marker-end cursor color flood-color |
| 23 | lighting-color stop-color |
| 24 | `)),Ms=new Set(["from","to","by","values"]),Fs=new Set(lt(` |
| 25 | xmlns xmlns:xlink target rel download autofocus nonce is loading decoding crossorigin referrerpolicy |
| 26 | integrity fetchpriority charset http-equiv content async defer |
| 27 | `)),Sx={scrollTop:{type:"number",tags:null},scrollLeft:{type:"number",tags:null}},bu=(e,t)=>Object.fromEntries(Object.entries(e).filter(([n])=>t.includes(n))),cr=bu(Sx,Ie.properties),Cx={scrollIntoView:4,setPointerCapture:1,releasePointerCapture:1,scrollTo:2,scrollBy:2,observeResize:0,unobserveResize:0},ur=bu(Cx,Ie.methods),xu=new Set(Ie.canvas.methods),yu=new Set(Ie.canvas.properties),Bs=new Set(lt(` |
| 28 | putImageData globalCompositeOperation shadowBlur shadowColor shadowOffsetX shadowOffsetY filter |
| 29 | letterSpacing wordSpacing fontKerning fontStretch fontVariantCaps textRendering |
| 30 | `)),ku=new Set(Ie.canvas.gradients),wu=new Set(lt(` |
| 31 | moveTo lineTo bezierCurveTo quadraticCurveTo arc arcTo ellipse rect roundRect closePath addPath |
| 32 | `)),vu=new Set(lt(` |
| 33 | getBBox getComputedTextLength getTotalLength getPointAtLength getCTM getScreenCTM getSubStringLength |
| 34 | getNumberOfChars |
| 35 | `)),Su=new Set(Ie.canvas.queries.filter(e=>e!=="measureText"));var cn=1,Cu=4*1024*1024,Tu=fs;var xv={memoryLimitBytes:8*1024*1024,cpuLimitMs:500,cpuQuotaMs:300,cpuQuotaWindowMs:1e3,cpuKillAfterMs:0,mainThreadQuotaMs:100,maxTimers:64};var Tx=65536,yv=16*1024*1024/Tx,kv=16*1024*1024;var qs=5e4,Au=32*1024,Ax=2*1024*1024,Gs=8192,Eu=1024,Ex=48*1024;function pr(e){let t=0,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i>=11904&&i<=42191||i>=44032&&i<=55295||i>=63744||i>=55296&&i<=56319?(n&&t++,n=!1,t++,i>=55296&&i<=56319&&r+1<e.length&&e.charCodeAt(r+1)>=56320&&e.charCodeAt(r+1)<=57343&&r++):i<=32||i===45||i===63||i===47||i===8203?(n&&t++,n=!1):n=!0}return n&&t++,Math.max(t,Math.ceil(e.length/1024))}var Lx=256;function hr(e){if(e.length>Lx)return!0;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=1424&&n<8192||n>=11904&&n<=55295||n>=63744&&n<=65519)return!0}return!1}function Us(e){let t=0;for(let n=0;n<e.length;n++)e.charCodeAt(n)>=1424&&t++;return t}var _x=new Set(["offset","easing","composite","computed-offset"]),Ws=Symbol("out of profile"),Ix=8*1024,Rx=1e4,Nx=2e3,Px=4e3,Ox=400,zx=32,Dx=64,Mx=2048*2048,Lu=4*1024*1024,Fx=2e5,Bx=5e5,Ux=1024,Wx=2**31,Ru=0,jx=/^[a-zA-Z_][\w.:\-]*$/,Hx=/^[a-zA-Z][\w.\-]*$/,Nu=new Set(Tu),Pu=new Set(["animate","animateTransform","animateMotion"]),Ou=new Set(["use","linearGradient","radialGradient","pattern","filter","textPath","mpath","feImage"]);function Vs(e){return e==="strict"?{maxText:Au,maxCanvasString:Au,maxAttr:Ix,maxOps:Rx,maxCanvasCmds:Px,maxNodes:Nx,maxCssRules:Ox,maxKeyframes:zx,maxLiveAnims:Dx,maxCanvasPixels:Mx,complexTextBudget:Gs,textBudget:Ex,stop:!0}:{maxText:Ax,maxCanvasString:Lu,maxAttr:Lu,maxOps:Fx,maxCanvasCmds:Bx,maxNodes:0,maxCssRules:0,maxKeyframes:0,maxLiveAnims:Ux,maxCanvasPixels:0,complexTextBudget:0,textBudget:0,stop:!1}}function qx(e){let t=0,n=0,r=[],i=0;for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);if(s===34||s===39)for(o++;o<e.length&&e.charCodeAt(o)!==s;o++)e.charCodeAt(o)===92&&o++;else if(s===92)o++;else if(s===47&&e.charCodeAt(o+1)===42){let a=e.indexOf("*/",o+2);o=a<0?e.length:a+1}else if(s===123){let a=e.slice(i,o).trim().toLowerCase(),c=r[r.length-1],l;c==="kf"?l="frame":/^@(-webkit-)?keyframes |
| 36 |
Preview is bounded. Use the raw download for the complete file.