@builder.io/sdk-vue 0.6.4 → 0.7.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/package.json +2 -1
- package/vue2/lib/{node/block-f8ec39b9.cjs → browser/block-134a618c.cjs} +2 -2
- package/vue2/lib/browser/{block-7623343e.js → block-169c0cf4.js} +7 -7
- package/vue2/lib/{node/block-styles-78f1fc51.js → browser/block-styles-d8839dd9.js} +5 -5
- package/vue2/lib/{edge/block-styles-d41b334a.cjs → browser/block-styles-dd554acd.cjs} +1 -1
- package/vue2/lib/browser/{block-wrapper-04c09786.cjs → block-wrapper-54cd4f6c.cjs} +1 -1
- package/vue2/lib/browser/{block-wrapper-d129f149.js → block-wrapper-ad23d63e.js} +5 -5
- package/vue2/lib/{edge/blocks-wrapper-c1a59075.cjs → browser/blocks-wrapper-051a6973.cjs} +1 -1
- package/vue2/lib/{edge/blocks-wrapper-d1b2c241.js → browser/blocks-wrapper-ba3f831e.js} +1 -1
- package/vue2/lib/{edge/component-ref-f49d33aa.cjs → browser/component-ref-73bbe275.cjs} +1 -1
- package/vue2/lib/{edge/component-ref-bac7483e.js → browser/component-ref-7c67cc85.js} +6 -6
- package/vue2/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -1
- package/vue2/lib/{edge/content-ee5058bf.cjs → browser/content-91d3070e.cjs} +1 -1
- package/vue2/lib/browser/{content-59001c88.js → content-c3064d9d.js} +9 -9
- package/vue2/lib/{node/css-e268cc90.cjs → browser/css-2c9ad067.cjs} +1 -1
- package/vue2/lib/browser/{css-5244a373.js → css-ccd5d9e3.js} +1 -1
- package/vue2/lib/{node/enable-editor-0ec0fba2.js → browser/enable-editor-d9f53d7d.js} +28 -29
- package/vue2/lib/browser/enable-editor-f87e3e48.cjs +1 -0
- package/vue2/lib/browser/{evaluate-c6468e7e.cjs → evaluate-043734e5.cjs} +1 -1
- package/vue2/lib/{node/evaluate-81e9d18d.js → browser/evaluate-b309ef11.js} +1 -1
- package/vue2/lib/browser/{get-block-actions-72575937.cjs → get-block-actions-7a5e8d90.cjs} +1 -1
- package/vue2/lib/{node/get-block-actions-19c074c1.js → browser/get-block-actions-e6c36554.js} +2 -2
- package/vue2/lib/{node/get-block-properties-a61a4f44.cjs → browser/get-block-properties-088a8d57.cjs} +1 -1
- package/vue2/lib/browser/{get-block-properties-8bd6705f.js → get-block-properties-fded8311.js} +2 -2
- package/vue2/lib/{node/get-processed-block-5ea5ad51.js → browser/get-processed-block-28afdbdd.js} +2 -2
- package/vue2/lib/browser/{get-processed-block-df5bc2af.cjs → get-processed-block-cb418829.cjs} +1 -1
- package/vue2/lib/{edge/index-df9193d2.cjs → browser/index-7b952a40.cjs} +4 -4
- package/vue2/lib/{node/index-cd218de0.js → browser/index-8b428b10.js} +47 -43
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +5 -5
- package/vue2/lib/browser/{inlined-script-b9da40ba.cjs → inlined-script-36c7686b.cjs} +1 -1
- package/vue2/lib/{edge/inlined-script-1c876548.js → browser/inlined-script-de7385eb.js} +1 -1
- package/vue2/lib/{node/inlined-styles-cb8ac12b.js → browser/inlined-styles-48c2284e.js} +1 -1
- package/vue2/lib/{node/inlined-styles-86ba9613.cjs → browser/inlined-styles-f49a7f1a.cjs} +1 -1
- package/vue2/lib/{node/interactive-element-7034b3c2.cjs → browser/interactive-element-2463f839.cjs} +1 -1
- package/vue2/lib/{node/interactive-element-c2e016e7.js → browser/interactive-element-b479db6b.js} +5 -5
- package/vue2/lib/{node/repeated-block-82b3437a.js → browser/repeated-block-284f31d8.js} +2 -2
- package/vue2/lib/browser/{repeated-block-515aea68.cjs → repeated-block-d5a07fb8.cjs} +1 -1
- package/vue2/lib/{node/styles-b9bdec6e.js → browser/styles-4803ecb4.js} +2 -2
- package/vue2/lib/{node/styles-f43008cc.cjs → browser/styles-f19bff73.cjs} +2 -2
- package/vue2/lib/edge/{block-9a136438.js → block-04a014ef.js} +7 -7
- package/vue2/lib/{browser/block-f8ec39b9.cjs → edge/block-7f6b0f80.cjs} +2 -2
- package/vue2/lib/{node/block-styles-442c9444.cjs → edge/block-styles-57f025e0.cjs} +1 -1
- package/vue2/lib/edge/{block-styles-293e6520.js → block-styles-9d313184.js} +5 -5
- package/vue2/lib/edge/{block-wrapper-e6bc8771.cjs → block-wrapper-252f3467.cjs} +1 -1
- package/vue2/lib/{node/block-wrapper-d129f149.js → edge/block-wrapper-e16ccd29.js} +5 -5
- package/vue2/lib/{browser/blocks-wrapper-744d9c88.js → edge/blocks-wrapper-671e376d.js} +1 -1
- package/vue2/lib/{browser/blocks-wrapper-ffcf193b.cjs → edge/blocks-wrapper-be28f72a.cjs} +1 -1
- package/vue2/lib/{node/component-ref-c0bc64bb.cjs → edge/component-ref-276a92fb.cjs} +1 -1
- package/vue2/lib/{node/component-ref-ad91463a.js → edge/component-ref-65be9ea0.js} +6 -6
- package/vue2/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -1
- package/vue2/lib/{browser/content-6391e001.cjs → edge/content-6d81d16f.cjs} +1 -1
- package/vue2/lib/edge/{content-dd98b5f2.js → content-962ba49d.js} +9 -9
- package/vue2/lib/{browser/css-e268cc90.cjs → edge/css-88f2410f.cjs} +1 -1
- package/vue2/lib/edge/{css-a40d0ce1.js → css-9d2e1bcb.js} +1 -1
- package/vue2/lib/edge/enable-editor-617a4b09.cjs +1 -0
- package/vue2/lib/{browser/enable-editor-0ec0fba2.js → edge/enable-editor-b6040943.js} +28 -29
- package/vue2/lib/edge/{evaluate-5aed4676.js → evaluate-becf2384.js} +1 -1
- package/vue2/lib/edge/{evaluate-16c456b4.cjs → evaluate-e31fc7a4.cjs} +1 -1
- package/vue2/lib/{browser/get-block-actions-19c074c1.js → edge/get-block-actions-046a80d0.js} +2 -2
- package/vue2/lib/edge/{get-block-actions-877fd5f9.cjs → get-block-actions-0ed7b9a3.cjs} +1 -1
- package/vue2/lib/{browser/get-block-properties-a61a4f44.cjs → edge/get-block-properties-a9ab7e30.cjs} +1 -1
- package/vue2/lib/{node/get-block-properties-8bd6705f.js → edge/get-block-properties-c460b7ad.js} +2 -2
- package/vue2/lib/edge/{get-processed-block-f0bfcc66.js → get-processed-block-23aa8a9f.js} +2 -2
- package/vue2/lib/edge/{get-processed-block-ccaa4214.cjs → get-processed-block-fe5c136a.cjs} +1 -1
- package/vue2/lib/edge/{index-f8dc2e35.js → index-8d71df29.js} +47 -43
- package/vue2/lib/{node/index-4480d5e4.cjs → edge/index-cb2684cd.cjs} +4 -4
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +5 -5
- package/vue2/lib/{node/inlined-script-4f903f8e.js → edge/inlined-script-45e42092.js} +1 -1
- package/vue2/lib/{node/inlined-script-b9da40ba.cjs → edge/inlined-script-f370acdf.cjs} +1 -1
- package/vue2/lib/{browser/inlined-styles-86ba9613.cjs → edge/inlined-styles-375c218f.cjs} +1 -1
- package/vue2/lib/edge/{inlined-styles-7ebd6646.js → inlined-styles-411ade32.js} +1 -1
- package/vue2/lib/{browser/interactive-element-c2e016e7.js → edge/interactive-element-0e97e5ad.js} +5 -5
- package/vue2/lib/edge/{interactive-element-3eaf0e7a.cjs → interactive-element-92851fbe.cjs} +1 -1
- package/vue2/lib/edge/{repeated-block-446ae014.cjs → repeated-block-8eefee0f.cjs} +1 -1
- package/vue2/lib/{browser/repeated-block-82b3437a.js → edge/repeated-block-c41268e9.js} +2 -2
- package/vue2/lib/{browser/styles-b9bdec6e.js → edge/styles-633d9689.js} +2 -2
- package/vue2/lib/{browser/styles-f43008cc.cjs → edge/styles-f2039a70.cjs} +2 -2
- package/vue2/lib/{edge/block-33134063.cjs → node/block-134a618c.cjs} +2 -2
- package/vue2/lib/node/{block-7623343e.js → block-169c0cf4.js} +7 -7
- package/vue2/lib/{browser/block-styles-78f1fc51.js → node/block-styles-d8839dd9.js} +5 -5
- package/vue2/lib/{browser/block-styles-442c9444.cjs → node/block-styles-dd554acd.cjs} +1 -1
- package/vue2/lib/node/{block-wrapper-04c09786.cjs → block-wrapper-54cd4f6c.cjs} +1 -1
- package/vue2/lib/{edge/block-wrapper-2f05e945.js → node/block-wrapper-ad23d63e.js} +5 -5
- package/vue2/lib/node/{blocks-wrapper-ffcf193b.cjs → blocks-wrapper-051a6973.cjs} +1 -1
- package/vue2/lib/node/{blocks-wrapper-744d9c88.js → blocks-wrapper-ba3f831e.js} +1 -1
- package/vue2/lib/{browser/component-ref-c0bc64bb.cjs → node/component-ref-73bbe275.cjs} +1 -1
- package/vue2/lib/{browser/component-ref-ad91463a.js → node/component-ref-7c67cc85.js} +6 -6
- package/vue2/lib/node/components/content/components/enable-editor.vue.d.ts +0 -1
- package/vue2/lib/node/{content-6391e001.cjs → content-91d3070e.cjs} +1 -1
- package/vue2/lib/node/{content-59001c88.js → content-c3064d9d.js} +9 -9
- package/vue2/lib/{edge/css-6d51b919.cjs → node/css-2c9ad067.cjs} +1 -1
- package/vue2/lib/node/{css-5244a373.js → css-ccd5d9e3.js} +1 -1
- package/vue2/lib/{edge/enable-editor-aeb1f840.js → node/enable-editor-d9f53d7d.js} +28 -29
- package/vue2/lib/node/enable-editor-f87e3e48.cjs +1 -0
- package/vue2/lib/node/{evaluate-c6468e7e.cjs → evaluate-043734e5.cjs} +1 -1
- package/vue2/lib/{browser/evaluate-81e9d18d.js → node/evaluate-b309ef11.js} +1 -1
- package/vue2/lib/node/{get-block-actions-72575937.cjs → get-block-actions-7a5e8d90.cjs} +1 -1
- package/vue2/lib/{edge/get-block-actions-350bc978.js → node/get-block-actions-e6c36554.js} +2 -2
- package/vue2/lib/{edge/get-block-properties-ece4e040.cjs → node/get-block-properties-088a8d57.cjs} +1 -1
- package/vue2/lib/{edge/get-block-properties-8b0da7b7.js → node/get-block-properties-fded8311.js} +2 -2
- package/vue2/lib/{browser/get-processed-block-5ea5ad51.js → node/get-processed-block-28afdbdd.js} +2 -2
- package/vue2/lib/node/{get-processed-block-df5bc2af.cjs → get-processed-block-cb418829.cjs} +1 -1
- package/vue2/lib/{browser/index-4480d5e4.cjs → node/index-7b952a40.cjs} +4 -4
- package/vue2/lib/{browser/index-cd218de0.js → node/index-8b428b10.js} +47 -43
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +5 -5
- package/vue2/lib/{edge/inlined-script-44721dc7.cjs → node/inlined-script-36c7686b.cjs} +1 -1
- package/vue2/lib/{browser/inlined-script-4f903f8e.js → node/inlined-script-de7385eb.js} +1 -1
- package/vue2/lib/{browser/inlined-styles-cb8ac12b.js → node/inlined-styles-48c2284e.js} +1 -1
- package/vue2/lib/{edge/inlined-styles-eb80e4fe.cjs → node/inlined-styles-f49a7f1a.cjs} +1 -1
- package/vue2/lib/{browser/interactive-element-7034b3c2.cjs → node/interactive-element-2463f839.cjs} +1 -1
- package/vue2/lib/{edge/interactive-element-64d11339.js → node/interactive-element-b479db6b.js} +5 -5
- package/vue2/lib/{edge/repeated-block-b9a8feeb.js → node/repeated-block-284f31d8.js} +2 -2
- package/vue2/lib/node/{repeated-block-515aea68.cjs → repeated-block-d5a07fb8.cjs} +1 -1
- package/vue2/lib/{edge/styles-cfea6654.js → node/styles-4803ecb4.js} +2 -2
- package/vue2/lib/{edge/styles-36552ab4.cjs → node/styles-f19bff73.cjs} +2 -2
- package/vue2/package.json +1 -0
- package/vue3/lib/{edge/block-wrapper.e3b7b422.js → browser/block-wrapper.b3297452.js} +8 -8
- package/vue3/lib/browser/{block-wrapper.1501b793.cjs → block-wrapper.c00ddfcb.cjs} +1 -1
- package/vue3/lib/browser/component-ref.5446db23.cjs +1 -0
- package/vue3/lib/{edge/component-ref.7035b91b.js → browser/component-ref.88102d68.js} +17 -17
- package/vue3/lib/browser/components/content/components/enable-editor.vue.d.ts +0 -1
- package/vue3/lib/{edge/get-block-actions.7d762289.js → browser/get-block-actions.1865148e.js} +1 -1
- package/vue3/lib/browser/{get-block-actions.316f88d7.cjs → get-block-actions.703f8554.cjs} +1 -1
- package/vue3/lib/browser/index.403011b1.cjs +69 -0
- package/vue3/lib/{node/index.67caa0a0.js → browser/index.c51504ff.js} +446 -444
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/index.js +1 -1
- package/vue3/lib/browser/{repeated-block.3a15e789.cjs → repeated-block.2245fce7.cjs} +1 -1
- package/vue3/lib/{edge/repeated-block.59223c04.js → browser/repeated-block.f6fdedb6.js} +6 -6
- package/vue3/lib/browser/style.css +1 -1
- package/vue3/lib/edge/{block-wrapper.8441fbe1.cjs → block-wrapper.6e434dc7.cjs} +1 -1
- package/vue3/lib/{node/block-wrapper.d71006fa.js → edge/block-wrapper.dad1bb39.js} +8 -8
- package/vue3/lib/edge/component-ref.94b009f1.cjs +1 -0
- package/vue3/lib/{node/component-ref.104f0d16.js → edge/component-ref.f5eef526.js} +17 -17
- package/vue3/lib/edge/components/content/components/enable-editor.vue.d.ts +0 -1
- package/vue3/lib/edge/{get-block-actions.37ab332e.cjs → get-block-actions.c5c7e487.cjs} +1 -1
- package/vue3/lib/{browser/get-block-actions.12becb73.js → edge/get-block-actions.f1dcfc47.js} +1 -1
- package/vue3/lib/edge/{index.db87480a.cjs → index.61c09215.cjs} +16 -16
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/{index.811ded87.js → index.f80ab661.js} +369 -367
- package/vue3/lib/edge/index.js +1 -1
- package/vue3/lib/edge/{repeated-block.2c467c57.cjs → repeated-block.8292d33a.cjs} +1 -1
- package/vue3/lib/{node/repeated-block.ab5e93b5.js → edge/repeated-block.e2eb73cd.js} +6 -6
- package/vue3/lib/edge/style.css +1 -1
- package/vue3/lib/{browser/block-wrapper.d71006fa.js → node/block-wrapper.b3297452.js} +8 -8
- package/vue3/lib/node/{block-wrapper.1501b793.cjs → block-wrapper.c00ddfcb.cjs} +1 -1
- package/vue3/lib/node/component-ref.5446db23.cjs +1 -0
- package/vue3/lib/{browser/component-ref.104f0d16.js → node/component-ref.88102d68.js} +17 -17
- package/vue3/lib/node/components/content/components/enable-editor.vue.d.ts +0 -1
- package/vue3/lib/node/{get-block-actions.12becb73.js → get-block-actions.1865148e.js} +1 -1
- package/vue3/lib/node/{get-block-actions.316f88d7.cjs → get-block-actions.703f8554.cjs} +1 -1
- package/vue3/lib/node/index.403011b1.cjs +69 -0
- package/vue3/lib/{browser/index.67caa0a0.js → node/index.c51504ff.js} +446 -444
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/index.js +1 -1
- package/vue3/lib/node/{repeated-block.3a15e789.cjs → repeated-block.2245fce7.cjs} +1 -1
- package/vue3/lib/{browser/repeated-block.ab5e93b5.js → node/repeated-block.f6fdedb6.js} +6 -6
- package/vue3/lib/node/style.css +1 -1
- package/vue3/package.json +1 -0
- package/vue2/lib/browser/enable-editor-68f3b7d1.cjs +0 -1
- package/vue2/lib/edge/enable-editor-86cc8a4d.cjs +0 -1
- package/vue2/lib/node/enable-editor-68f3b7d1.cjs +0 -1
- package/vue3/lib/browser/component-ref.4f5f964f.cjs +0 -1
- package/vue3/lib/browser/index.2b9eb004.cjs +0 -69
- package/vue3/lib/edge/component-ref.40439a7f.cjs +0 -1
- package/vue3/lib/node/component-ref.4f5f964f.cjs +0 -1
- package/vue3/lib/node/index.2b9eb004.cjs +0 -69
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const oe=require("./index-
|
|
1
|
+
"use strict";const oe=require("./index-cb2684cd.cjs"),jr=(e,t,n)=>{if(Object(e)!==e)return e;const r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce((i,s,u)=>Object(i[s])===i[s]?i[s]:i[s]=Math.abs(Number(r[u+1]))>>0===+r[u+1]?[]:{},e)[r[r.length-1]]=n,e};var C,Hr=function(e){function t(o){return 48>o?o===36:58>o?!0:65>o?!1:91>o?!0:97>o?o===95:123>o?!0:170<=o&&Vr.test(String.fromCharCode(o))}function n(o){return 65>o?o===36:91>o?!0:97>o?o===95:123>o?!0:170<=o&&yr.test(String.fromCharCode(o))}function r(o,a){for(var l=g,p=1,w=0;;){Ze.lastIndex=w;var R=Ze.exec(l);if(R&&R.index<o)++p,w=R.index+R[0].length;else break}throw l={line:p,ab:o-w},a+=" ("+l.line+":"+l.ab+")",a=new SyntaxError(a),a.j=o,a.X=l,a.o=c,a}function i(o){o=o.split(" ");for(var a=Object.create(null),l=0;l<o.length;l++)a[o[l]]=!0;return function(p){return a[p]||!1}}function s(){this.line=le,this.ab=c-K}function u(o,a){he=c,x.C&&(lt=new s),d=o,S(),W=a,Ce=o.m}function h(){for(var o=c,a=x.va&&x.C&&new s,l=g.charCodeAt(c+=2);c<fe&&l!==10&&l!==13&&l!==8232&&l!==8233;)++c,l=g.charCodeAt(c);x.va&&x.va(!1,g.slice(o+2,c),o,c,a,x.C&&new s)}function S(){for(;c<fe;){var o=g.charCodeAt(c);if(o===32)++c;else if(o===13)++c,o=g.charCodeAt(c),o===10&&++c,x.C&&(++le,K=c);else if(o===10||o===8232||o===8233)++c,x.C&&(++le,K=c);else if(8<o&&14>o)++c;else if(o===47)if(o=g.charCodeAt(c+1),o===42){o=void 0;var a=x.va&&x.C&&new s,l=c,p=g.indexOf("*/",c+=2);if(p===-1&&r(c-2,"Unterminated comment"),c=p+2,x.C)for(Ze.lastIndex=l;(o=Ze.exec(g))&&o.index<c;)++le,K=o.index+o[0].length;x.va&&x.va(!0,g.slice(l+2,p),l,c,a,x.C&&new s)}else if(o===47)h();else break;else if(o===160)++c;else if(5760<=o&&Xr.test(String.fromCharCode(o)))++c;else break}}function F(o){switch(o){case 46:o=g.charCodeAt(c+1),48<=o&&57>=o?U(!0):(++c,u(ur));return;case 40:return++c,u(Z);case 41:return++c,u($);case 59:return++c,u(z);case 44:return++c,u(ie);case 91:return++c,u(wt);case 93:return++c,u(Et);case 123:return++c,u(Ie);case 125:return++c,u(ve);case 58:return++c,u(Te);case 63:return++c,u(lr);case 48:if(o=g.charCodeAt(c+1),o===120||o===88){c+=2,o=ae(16),o===null&&r(M+2,"Expected hexadecimal number"),n(g.charCodeAt(c))&&r(c,"Identifier directly after number"),u(Ae,o);return}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return U(!1);case 34:case 39:c++;for(var a="";;){c>=fe&&r(M,"Unterminated string constant");var l=g.charCodeAt(c);if(l===o){++c,u($e,a);break}if(l===92){l=g.charCodeAt(++c);var p=/^[0-7]+/.exec(g.slice(c,c+3));for(p&&(p=p[0]);p&&255<parseInt(p,8);)p=p.slice(0,-1);if(p==="0"&&(p=null),++c,p)V&&r(c-2,"Octal literal in strict mode"),a+=String.fromCharCode(parseInt(p,8)),c+=p.length-1;else switch(l){case 110:a+=`
|
|
2
2
|
`;break;case 114:a+="\r";break;case 120:a+=String.fromCharCode(X(2));break;case 117:a+=String.fromCharCode(X(4));break;case 85:a+=String.fromCharCode(X(8));break;case 116:a+=" ";break;case 98:a+="\b";break;case 118:a+="\v";break;case 102:a+="\f";break;case 48:a+="\0";break;case 13:g.charCodeAt(c)===10&&++c;case 10:x.C&&(K=c,++le);break;default:a+=String.fromCharCode(l)}}else l!==13&&l!==10&&l!==8232&&l!==8233||r(M,"Unterminated string constant"),a+=String.fromCharCode(l),++c}return;case 47:o=g.charCodeAt(c+1),Ce?(++c,Ge()):o===61?O(ce,2):O(cr,1);return;case 37:case 42:g.charCodeAt(c+1)===61?O(ce,2):O(Lr,1);return;case 124:case 38:a=g.charCodeAt(c+1),a===o?O(o===124?hr:gr,2):a===61?O(ce,2):O(o===124?Rr:Ur,1);return;case 94:g.charCodeAt(c+1)===61?O(ce,2):O(Pr,1);return;case 43:case 45:a=g.charCodeAt(c+1),a===o?a===45&&g.charCodeAt(c+2)===62&&Ke.test(g.slice(ne,c))?(c+=3,h(),S(),I()):O(Mr,2):a===61?O(ce,2):O(Fr,1);return;case 60:case 62:a=g.charCodeAt(c+1),l=1,a===o?(l=o===62&&g.charCodeAt(c+2)===62?3:2,g.charCodeAt(c+l)===61?O(ce,l+1):O(_r,l)):a===33&&o===60&&g.charCodeAt(c+2)===45&&g.charCodeAt(c+3)===45?(c+=4,h(),S(),I()):(a===61&&(l=g.charCodeAt(c+2)===61?3:2),O(Dr,l));return;case 61:case 33:g.charCodeAt(c+1)===61?O(br,g.charCodeAt(c+2)===61?3:2):O(o===61?pr:fr,1);return;case 126:return O(fr,1)}return!1}function I(o){if(o?c=M+1:M=c,x.C&&(ut=new s),o)return Ge();if(c>=fe)return u(ft);if(o=g.charCodeAt(c),n(o)||o===92)return Xe();if(F(o)===!1){if(o=String.fromCharCode(o),o==="\\"||yr.test(o))return Xe();r(c,"Unexpected character '"+o+"'")}}function O(o,a){var l=g.slice(c,c+a);c+=a,u(o,l)}function Ge(){for(var o,a,l=c;;){c>=fe&&r(l,"Unterminated regexp");var p=g.charAt(c);if(Ke.test(p)&&r(l,"Unterminated regexp"),o)o=!1;else{if(p==="[")a=!0;else if(p==="]"&&a)a=!1;else if(p==="/"&&!a)break;o=p==="\\"}++c}o=g.slice(l,c),++c,(a=pe())&&!/^[gmi]*$/.test(a)&&r(l,"Invalid regexp flag");try{var w=new RegExp(o,a)}catch(R){throw R instanceof SyntaxError&&r(l,R.message),R}u(Vt,w)}function ae(o,a){for(var l=c,p=0,w=a===void 0?1/0:a,R=0;R<w;++R){var L=g.charCodeAt(c);if(L=97<=L?L-97+10:65<=L?L-65+10:48<=L&&57>=L?L-48:1/0,L>=o)break;++c,p=p*o+L}return c===l||a!==void 0&&c-l!==a?null:p}function U(o){var a=c,l=!1,p=g.charCodeAt(c)===48;o||ae(10)!==null||r(a,"Invalid number"),g.charCodeAt(c)===46&&(++c,ae(10),l=!0),o=g.charCodeAt(c),(o===69||o===101)&&(o=g.charCodeAt(++c),o!==43&&o!==45||++c,ae(10)===null&&r(a,"Invalid number"),l=!0),n(g.charCodeAt(c))&&r(c,"Identifier directly after number"),o=g.slice(a,c);var w;l?w=parseFloat(o):p&&o.length!==1?/[89]/.test(o)||V?r(a,"Invalid number"):w=parseInt(o,8):w=parseInt(o,10),u(Ae,w)}function X(o){return o=ae(16,o),o===null&&r(M,"Bad character escape sequence"),o}function pe(){ye=!1;for(var o,a=!0,l=c;;){var p=g.charCodeAt(c);if(t(p))ye&&(o+=g.charAt(c)),++c;else if(p===92){ye||(o=g.slice(l,c)),ye=!0,g.charCodeAt(++c)!==117&&r(c,"Expecting Unicode escape sequence \\uXXXX"),++c,p=X(4);var w=String.fromCharCode(p);w||r(c-1,"Invalid Unicode escape"),(a?n(p):t(p))||r(c-4,"Invalid Unicode escape"),o+=w}else break;a=!1}return ye?o:g.slice(l,c)}function Xe(){var o=pe(),a=ge;!ye&&Gr(o)&&(a=Nr[o]),u(a,o)}function j(){ct=M,ne=he,pt=lt,I()}function qe(o){if(V=o,c=M,x.C)for(;c<K;)K=g.lastIndexOf(`
|
|
3
3
|
`,K-2)+1,--le;S(),I()}function Ft(){this.type=null,this.start=M,this.end=null}function Lt(){this.start=ut,this.end=null,at&&(this.source=at)}function b(){var o=new Ft;return x.C&&(o.X=new Lt),x.vb&&(o.sourceFile=x.vb),x.Xa&&(o.j=[M,0]),o}function re(o){var a=new Ft;return a.start=o.start,x.C&&(a.X=new Lt,a.X.start=o.X.start),x.Xa&&(a.j=[o.j[0],0]),a}function E(o,a){return o.type=a,o.end=ne,x.C&&(o.X.end=pt),x.Xa&&(o.j[1]=ne),o}function et(o){return o.type==="ExpressionStatement"&&o.la.type==="Literal"&&o.la.value==="use strict"}function A(o){return d===o?(j(),!0):!1}function Ve(){return!x.fc&&(d===ft||d===ve||Ke.test(g.slice(ne,M)))}function ue(){A(z)||Ve()||J()}function T(o){d===o?j():J()}function J(){r(M,"Unexpected token")}function We(o){o.type!=="Identifier"&&o.type!=="MemberExpression"&&r(o.start,"Assigning to rvalue"),V&&o.type==="Identifier"&&Ye(o.name)&&r(o.start,"Assigning to "+o.name+" in strict mode")}function H(){(d===cr||d===ce&&W==="/=")&&I(!0);var o=d,a=b();switch(o){case ht:case Ht:j();var l=o===ht;A(z)||Ve()?a.label=null:d!==ge?J():(a.label=Y(),ue());for(var p=0;p<N.length;++p){var w=N[p];if((a.label===null||w.name===a.label.name)&&(w.kind!==null&&(l||w.kind==="loop")||a.label&&l))break}return p===N.length&&r(a.start,"Unsyntactic "+o.l),E(a,l?"BreakStatement":"ContinueStatement");case $t:return j(),ue(),E(a,"DebuggerStatement");case Yt:return j(),N.push(xt),a.body=H(),N.pop(),T(dt),a.test=Se(),ue(),E(a,"DoWhileStatement");case zt:return j(),N.push(xt),T(Z),d===z?tt(a,null):d===mt?(o=b(),j(),Gt(o,!0),E(o,"VariableDeclaration"),o.fa.length===1&&A(Je)?Bt(a,o):tt(a,o)):(o=_(!1,!0),A(Je)?(We(o),Bt(a,o)):tt(a,o));case vt:return j(),ot(a,!0);case Qt:return j(),a.test=Se(),a.da=H(),a.alternate=A(Kt)?H():null,E(a,"IfStatement");case qt:return Oe||x.Ib||r(M,"'return' outside of function"),j(),A(z)||Ve()?a.K=null:(a.K=_(),ue()),E(a,"ReturnStatement");case yt:for(j(),a.Qb=Se(),a.tb=[],T(Ie),N.push(Wr);d!==ve;)d===gt||d===Jt?(o=d===gt,p&&E(p,"SwitchCase"),a.tb.push(p=b()),p.da=[],j(),o?p.test=_():(l&&r(ct,"Multiple default clauses"),l=!0,p.test=null),T(Te)):(p||J(),p.da.push(H()));return p&&E(p,"SwitchCase"),j(),N.pop(),E(a,"SwitchStatement");case er:return j(),Ke.test(g.slice(ne,M))&&r(ne,"Illegal newline after throw"),a.K=_(),ue(),E(a,"ThrowStatement");case tr:return j(),a.block=je(),a.Ea=null,d===Wt&&(o=b(),j(),T(Z),o.Ua=Y(),V&&Ye(o.Ua.name)&&r(o.Ua.start,"Binding "+o.Ua.name+" in strict mode"),T($),o.body=je(),a.Ea=E(o,"CatchClause")),a.fb=A(Zt)?je():null,a.Ea||a.fb||r(a.start,"Missing catch or finally clause"),E(a,"TryStatement");case mt:return j(),Gt(a),ue(),E(a,"VariableDeclaration");case dt:return j(),a.test=Se(),N.push(xt),a.body=H(),N.pop(),E(a,"WhileStatement");case rr:return V&&r(M,"'with' in strict mode"),j(),a.object=Se(),a.body=H(),E(a,"WithStatement");case Ie:return je();case z:return j(),E(a,"EmptyStatement");default:if(l=W,w=_(),o===ge&&w.type==="Identifier"&&A(Te)){for(p=0;p<N.length;++p)N[p].name===l&&r(w.start,"Label '"+l+"' is already declared");return N.push({name:l,kind:d.W?"loop":d===yt?"switch":null}),a.body=H(),N.pop(),a.label=w,E(a,"LabeledStatement")}return a.la=w,ue(),E(a,"ExpressionStatement")}}function Se(){T(Z);var o=_();return T($),o}function je(o){var a=b(),l=!0,p=!1;for(a.body=[],T(Ie);!A(ve);){var w=H();if(a.body.push(w),l&&o&&et(w)){var R=p;qe(p=!0)}l=!1}return p&&!R&&qe(!1),E(a,"BlockStatement")}function tt(o,a){return o.ua=a,T(z),o.test=d===z?null:_(),T(z),o.update=d===$?null:_(),T($),o.body=H(),N.pop(),E(o,"ForStatement")}function Bt(o,a){return o.left=a,o.right=_(),T($),o.body=H(),N.pop(),E(o,"ForInStatement")}function Gt(o,a){for(o.fa=[],o.kind="var";;){var l=b();if(l.id=Y(),V&&Ye(l.id.name)&&r(l.id.start,"Binding "+l.id.name+" in strict mode"),l.ua=A(pr)?_(!0,a):null,o.fa.push(E(l,"VariableDeclarator")),!A(ie))break}}function _(o,a){var l=rt(a);if(!o&&d===ie){for(o=re(l),o.xb=[l];A(ie);)o.xb.push(rt(a));return E(o,"SequenceExpression")}return l}function rt(o){var a=nt(it(),-1,o);if(A(lr)){var l=re(a);l.test=a,l.da=_(!0),T(Te),l.alternate=_(!0,o),a=E(l,"ConditionalExpression")}return d.Cb?(l=re(a),l.operator=W,l.left=a,j(),l.right=rt(o),We(a),E(l,"AssignmentExpression")):a}function nt(o,a,l){var p=d.L;if(p!==null&&(!l||d!==Je)&&p>a){var w=re(o);return w.left=o,w.operator=W,o=d,j(),w.right=nt(it(),p,l),p=E(w,o===hr||o===gr?"LogicalExpression":"BinaryExpression"),nt(p,a,l)}return o}function it(){if(d.prefix){var o=b(),a=d.$b;return o.operator=W,Ce=o.prefix=!0,j(),o.K=it(),a?We(o.K):V&&o.operator==="delete"&&o.K.type==="Identifier"&&r(o.start,"Deleting local variable in strict mode"),E(o,a?"UpdateExpression":"UnaryExpression")}for(a=ke(He());d.cc&&!Ve();)o=re(a),o.operator=W,o.prefix=!1,o.K=a,We(a),j(),a=E(o,"UpdateExpression");return a}function ke(o,a){if(A(ur)){var l=re(o);return l.object=o,l.Wa=Y(!0),l.bb=!1,ke(E(l,"MemberExpression"),a)}return A(wt)?(l=re(o),l.object=o,l.Wa=_(),l.bb=!0,T(Et),ke(E(l,"MemberExpression"),a)):!a&&A(Z)?(l=re(o),l.callee=o,l.arguments=st($,!1),ke(E(l,"CallExpression"),a)):o}function He(){switch(d){case ir:var o=b();return j(),E(o,"ThisExpression");case ge:return Y();case Ae:case $e:case Vt:return o=b(),o.value=W,o.raw=g.slice(M,he),j(),E(o,"Literal");case or:case sr:case ar:return o=b(),o.value=d.$a,o.raw=d.l,j(),E(o,"Literal");case Z:o=ut;var a=M;j();var l=_();return l.start=a,l.end=he,x.C&&(l.X.start=o,l.X.end=lt),x.Xa&&(l.j=[a,he]),T($),l;case wt:return o=b(),j(),o.elements=st(Et,!0,!0),E(o,"ArrayExpression");case Ie:for(o=b(),a=!0,l=!1,o.h=[],j();!A(ve);){if(a)a=!1;else if(T(ie),x.sb&&A(ve))break;var p={key:d===Ae||d===$e?He():Y(!0)},w=!1;if(A(Te)){p.value=_(!0);var R=p.kind="init"}else p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"?J():(w=l=!0,R=p.kind=p.key.name,p.key=d===Ae||d===$e?He():Y(!0),d!==Z&&J(),p.value=ot(b(),!1));if(p.key.type==="Identifier"&&(V||l))for(var L=0;L<o.h.length;++L){var me=o.h[L];if(me.key.name===p.key.name){var St=R===me.kind||w&&me.kind==="init"||R==="init"&&(me.kind==="get"||me.kind==="set");St&&!V&&R==="init"&&me.kind==="init"&&(St=!1),St&&r(p.key.start,"Redefinition of property")}}o.h.push(p)}return E(o,"ObjectExpression");case vt:return o=b(),j(),ot(o,!1);case nr:return o=b(),j(),o.callee=ke(He(),!0),o.arguments=A(Z)?st($,!1):Tr,E(o,"NewExpression")}J()}function ot(o,a){d===ge?o.id=Y():a?J():o.id=null,o.oa=[];var l=!0;for(T(Z);!A($);)l?l=!1:T(ie),o.oa.push(Y());l=Oe;var p=N;if(Oe=!0,N=[],o.body=je(!0),Oe=l,N=p,V||o.body.body.length&&et(o.body.body[0])){for(l=o.id?-1:0;l<o.oa.length;++l)if(p=0>l?o.id:o.oa[l],(vr(p.name)||Ye(p.name))&&r(p.start,"Defining '"+p.name+"' in strict mode"),0<=l)for(var w=0;w<l;++w)p.name===o.oa[w].name&&r(p.start,"Argument name clash in strict mode")}return E(o,a?"FunctionDeclaration":"FunctionExpression")}function st(o,a,l){for(var p=[],w=!0;!A(o);){if(w)w=!1;else if(T(ie),a&&x.sb&&A(o))break;p.push(l&&d===ie?null:_(!0))}return p}function Y(o){var a=b();return o&&x.yb==="everywhere"&&(o=!1),d===ge?(!o&&(x.yb&&Br(W)||V&&vr(W))&&g.slice(M,he).indexOf("\\")===-1&&r(M,"The keyword '"+W+"' is reserved"),a.name=W):o&&d.l?a.name=d.l:J(),Ce=!1,j(),E(a,"Identifier")}e.version="0.5.0";var x,g="",fe,at;e.parse=function(o,a){g=String(o),fe=g.length,x=a||{};for(var l in Xt)Object.prototype.hasOwnProperty.call(x,l)||(x[l]=Xt[l]);for(at=x.sourceFile,le=1,c=K=0,Ce=!0,S(),l=x.dc,ct=ne=c,x.C&&(pt=new s),Oe=V=!1,N=[],I(),o=l||b(),a=!0,l||(o.body=[]);d!==ft;)l=H(),o.body.push(l),a&&et(l)&&qe(!0),a=!1;return E(o,"Program")};var Xt={fc:!1,sb:!0,yb:!1,Ib:!1,C:!1,va:null,Xa:!1,dc:null,sourceFile:null,vb:null},c=0,M=0,he=0,ut,lt,d,W,Ce,le,K,ct=0,ne=0,pt,Oe,N,V,Tr=[],Ae={type:"num"},Vt={type:"regexp"},$e={type:"string"},ge={type:"name"},ft={type:"eof"},ht={l:"break"},gt={l:"case",m:!0},Wt={l:"catch"},Ht={l:"continue"},$t={l:"debugger"},Jt={l:"default"},Yt={l:"do",W:!0},Kt={l:"else",m:!0},Zt={l:"finally"},zt={l:"for",W:!0},vt={l:"function"},Qt={l:"if"},qt={l:"return",m:!0},yt={l:"switch"},er={l:"throw",m:!0},tr={l:"try"},mt={l:"var"},dt={l:"while",W:!0},rr={l:"with"},nr={l:"new",m:!0},ir={l:"this"},or={l:"null",$a:null},sr={l:"true",$a:!0},ar={l:"false",$a:!1},Je={l:"in",L:7,m:!0},Nr={break:ht,case:gt,catch:Wt,continue:Ht,debugger:$t,default:Jt,do:Yt,else:Kt,finally:Zt,for:zt,function:vt,if:Qt,return:qt,switch:yt,throw:er,try:tr,var:mt,while:dt,with:rr,null:or,true:sr,false:ar,new:nr,in:Je,instanceof:{l:"instanceof",L:7,m:!0},this:ir,typeof:{l:"typeof",prefix:!0,m:!0},void:{l:"void",prefix:!0,m:!0},delete:{l:"delete",prefix:!0,m:!0}},wt={type:"[",m:!0},Et={type:"]"},Ie={type:"{",m:!0},ve={type:"}"},Z={type:"(",m:!0},$={type:")"},ie={type:",",m:!0},z={type:";",m:!0},Te={type:":",m:!0},ur={type:"."},lr={type:"?",m:!0},cr={L:10,m:!0},pr={Cb:!0,m:!0},ce={Cb:!0,m:!0},Mr={cc:!0,prefix:!0,$b:!0},fr={prefix:!0,m:!0},hr={L:1,m:!0},gr={L:2,m:!0},Rr={L:3,m:!0},Pr={L:4,m:!0},Ur={L:5,m:!0},br={L:6,m:!0},Dr={L:7,m:!0},_r={L:8,m:!0},Fr={L:9,prefix:!0,m:!0},Lr={L:10,m:!0},Br=i("class enum extends super const export import"),vr=i("implements interface let package private protected public static yield"),Ye=i("eval arguments"),Gr=i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"),Xr=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,yr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),Vr=RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"),Ke=/[\n\r\u2028\u2029]/,Ze=/\r\n|[\n\r\u2028\u2029]/g,ye,xt={kind:"loop"},Wr={kind:"switch"}},kt=kt=typeof globalThis>"u"?void 0:globalThis;Hr(kt.j||(kt.j={}));function f(e,t){typeof e=="string"&&(e=we(e,"code"));var n=e.constructor;this.ya=function(){return new n({options:{}})};var r=this.ya(),i;for(i in e)r[i]=i==="body"?e[i].slice():e[i];this.ra=r,this.ca=[],this.qb=t,this.za=!1,this.ba=[],this.Ya=0,this.rb=Object.create(null),e=/^step([A-Z]\w*)$/;var s,u;for(u in this)typeof this[u]=="function"&&(s=u.match(e))&&(this.rb[s[1]]=this[u].bind(this));this.N=Ot(this,this.ra,null),this.Na=this.N.object,this.ra=we(this.ba.join(`
|
|
4
4
|
`),"polyfills"),this.ba=void 0,ze(this.ra),s=new y(this.ra,this.N),s.done=!1,this.o=[s],this.Eb(),this.value=void 0,this.ra=r,s=new y(this.ra,this.N),s.done=!1,this.o.length=0,this.o[0]=s}var mr={C:!0,kc:5},At={configurable:!0,enumerable:!0,writable:!1},v={configurable:!0,enumerable:!1,writable:!0},G={configurable:!0,enumerable:!1,writable:!1},Ne={configurable:!1,enumerable:!1,writable:!1},dr={configurable:!1,enumerable:!0,writable:!0},kr={STEP_ERROR:!0},xe={SCOPE_REFERENCE:!0},_e={VALUE_IN_DESCRIPTOR:!0},de={REGEXP_TIMEOUT:!0},wr=[],q=null,be=null,se=typeof globalThis>"u"?void 0:globalThis,$r=["onmessage = function(e) {","var result;","var data = e.data;","switch (data[0]) {","case 'split':","result = data[1].split(data[2], data[3]);","break;","case 'match':","result = data[1].match(data[2]);","break;","case 'search':","result = data[1].search(data[2]);","break;","case 'replace':","result = data[1].replace(data[2], data[3]);","break;","case 'exec':","var regexp = data[1];","regexp.lastIndex = data[2];","result = [regexp.exec(data[3]), data[1].lastIndex];","break;","default:","throw Error('Unknown RegExp operation: ' + data[0]);","}","postMessage(result);","close();","};"];function It(e){var t=e>>>0;return t===Number(e)?t:NaN}function De(e){var t=e>>>0;return String(t)===String(e)&&t!==4294967295?t:NaN}function ze(e,t,n){t?e.start=t:delete e.start,n?e.end=n:delete e.end;for(var r in e)if(r!=="loc"&&e.hasOwnProperty(r)){var i=e[r];i&&typeof i=="object"&&ze(i,t,n)}}f.prototype.REGEXP_MODE=2;f.prototype.REGEXP_THREAD_TIMEOUT=1e3;f.prototype.POLYFILL_TIMEOUT=1e3;C=f.prototype;C.P=!1;C.Ka=!1;C.Kb=0;C.ic=0;function we(e,t){var n={},r;for(r in mr)n[r]=mr[r];return n.sourceFile=t,se.j.parse(e,n)}C.Jb=function(e){var t=this.o[0];if(!t||t.node.type!=="Program")throw Error("Expecting original AST to start with a Program node");if(typeof e=="string"&&(e=we(e,"appendCode"+this.Kb++)),!e||e.type!=="Program")throw Error("Expecting new AST to start with a Program node");Fe(this,e,t.scope),Array.prototype.push.apply(t.node.body,e.body),t.node.body.jb=null,t.done=!1};C.lb=function(){var e=this.o,t;do{var n=e[e.length-1];if(this.za)break;if(!n||n.node.type==="Program"&&n.done){if(!this.ca.length)return!1;if(n=this.ca[0],!n||n.time>Date.now())n=null;else{this.ca.shift(),0<=n.interval&&Ar(this,n,n.interval);var r=new y(n.node,n.scope);n.zb&&(r.ia=2,r.B=this.Na,r.U=n.zb,r.Qa=!0,r.F=n.Lb),n=r}if(!n)break}r=n.node;var i=be;be=this;try{var s=this.rb[r.type](e,n,r)}catch(u){if(u!==kr)throw this.value!==u&&(this.value=void 0),u}finally{be=i}if(s&&e.push(s),this.P)throw this.value=void 0,Error("Getter not supported in this context");if(this.Ka)throw this.value=void 0,Error("Setter not supported in this context");t||r.end||(t=Date.now()+this.POLYFILL_TIMEOUT)}while(!r.end&&t>Date.now());return!0};C.Eb=function(){for(;!this.za&&this.lb(););return this.za};function Jr(e,t){e.g(t,"NaN",NaN,Ne),e.g(t,"Infinity",1/0,Ne),e.g(t,"undefined",void 0,Ne),e.g(t,"window",t,At),e.g(t,"this",t,Ne),e.g(t,"self",t),e.M=new k(null),e.Z=new k(e.M),Yr(e,t),Kr(e,t),t.xa=e.M,e.g(t,"constructor",e.v,v),Zr(e,t),zr(e,t),Qr(e,t),qr(e,t),en(e,t),tn(e,t),rn(e,t),nn(e,t),on(e,t);var n=e.i(function(){throw EvalError("Can't happen")},!1);n.eval=!0,e.g(t,"eval",n,v),e.g(t,"parseInt",e.i(parseInt,!1),v),e.g(t,"parseFloat",e.i(parseFloat,!1),v),e.g(t,"isNaN",e.i(isNaN,!1),v),e.g(t,"isFinite",e.i(isFinite,!1),v);for(var r=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],i=0;i<r.length;i++)n=function(s){return function(u){try{return s(u)}catch(h){m(e,e.Gb,h.message)}}}(r[i][0]),e.g(t,r[i][1],e.i(n,!1),v);n=function(s){return Er(e,!1,arguments)},e.g(t,"setTimeout",e.i(n,!1),v),n=function(s){return Er(e,!0,arguments)},e.g(t,"setInterval",e.i(n,!1),v),n=function(s){xr(e,s)},e.g(t,"clearTimeout",e.i(n,!1),v),n=function(s){xr(e,s)},e.g(t,"clearInterval",e.i(n,!1),v),e.OBJECT=e.v,e.OBJECT_PROTO=e.M,e.FUNCTION=e.O,e.FUNCTION_PROTO=e.Z,e.ARRAY=e.qa,e.ARRAY_PROTO=e.La,e.REGEXP=e.I,e.REGEXP_PROTO=e.Ma,e.DATE=e.$,e.DATE_PROTO=e.nb,e.qb&&e.qb(e,t)}C.Wb=0;function Yr(e,t){var n=/^[A-Za-z_$][\w$]*$/,r=function(i){var s=arguments.length?String(arguments[arguments.length-1]):"",u=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(u){u=u.split(/\s*,\s*/);for(var h=0;h<u.length;h++){var S=u[h];n.test(S)||m(e,e.T,"Invalid function argument: "+S)}u=u.join(", ")}try{var F=we("(function("+u+") {"+s+"})","function"+e.Wb++)}catch(I){m(e,e.T,"Invalid code: "+I.message)}return F.body.length!==1&&m(e,e.T,"Invalid code in function body"),Mt(e,F.body[0].la,e.N,"anonymous")};e.O=e.i(r,!0),e.g(t,"Function",e.O,v),e.g(e.O,"prototype",e.Z,v),e.g(e.Z,"constructor",e.O,v),e.Z.Ta=function(){},e.Z.Ta.id=e.Ya++,e.Z.Ab=!0,e.g(e.Z,"length",0,G),e.Z.H="Function",r=function(i,s){var u=e.o[e.o.length-1];u.U=this,u.B=i,u.F=[],s!=null&&(s instanceof k?u.F=Cr(e,s):m(e,e.j,"CreateListFromArrayLike called on non-object")),u.eb=!1},P(e,e.O,"apply",r),r=function(i){var s=e.o[e.o.length-1];s.U=this,s.B=i,s.F=[];for(var u=1;u<arguments.length;u++)s.F.push(arguments[u]);s.eb=!1},P(e,e.O,"call",r),e.ba.push("Object.defineProperty(Function.prototype, 'bind',","{configurable: true, writable: true, value:","function bind(oThis) {","if (typeof this !== 'function') {","throw TypeError('What is trying to be bound is not callable');","}","var aArgs = Array.prototype.slice.call(arguments, 1),","fToBind = this,","fNOP = function() {},","fBound = function() {","return fToBind.apply(this instanceof fNOP","? this",": oThis,","aArgs.concat(Array.prototype.slice.call(arguments)));","};","if (this.prototype) {","fNOP.prototype = this.prototype;","}","fBound.prototype = new fNOP();","return fBound;","}","});",""),r=function(){return String(this)},P(e,e.O,"toString",r),e.g(e.O,"toString",e.i(r,!1),v),r=function(){return this.valueOf()},P(e,e.O,"valueOf",r),e.g(e.O,"valueOf",e.i(r,!1),v)}function Kr(e,t){function n(i){i!=null||m(e,e.j,"Cannot convert '"+i+"' to object")}var r=function(i){if(i==null)return te(e)?this:e.s(e.M);if(!(i instanceof k)){var s=e.s(ee(e,i));return s.data=i,s}return i};e.v=e.i(r,!0),e.g(e.v,"prototype",e.M,v),e.g(e.M,"constructor",e.v,v),e.g(t,"Object",e.v,v),r=function(i){return n(i),Q(e,Object.getOwnPropertyNames(i instanceof k?i.h:i))},e.g(e.v,"getOwnPropertyNames",e.i(r,!1),v),r=function(i){return n(i),i instanceof k&&(i=i.h),Q(e,Object.keys(i))},e.g(e.v,"keys",e.i(r,!1),v),r=function(i){return i===null?e.s(null):(i instanceof k||m(e,e.j,"Object prototype may only be an Object or null, not "+i),e.s(i))},e.g(e.v,"create",e.i(r,!1),v),e.ba.push("(function() {","var create_ = Object.create;","Object.create = function create(proto, props) {","var obj = create_(proto);","props && Object.defineProperties(obj, props);","return obj;","};","})();",""),r=function(i,s,u){return s=String(s),i instanceof k||m(e,e.j,"Object.defineProperty called on non-object: "+i),u instanceof k||m(e,e.j,"Property description must be an object"),!i.preventExtensions||s in i.h||m(e,e.j,"Can't define property '"+s+"', object is not extensible"),e.g(i,s,_e,u.h),i},e.g(e.v,"defineProperty",e.i(r,!1),v),e.ba.push("(function() {","var defineProperty_ = Object.defineProperty;","Object.defineProperty = function defineProperty(obj, prop, d1) {","var d2 = {};","if ('configurable' in d1) d2.configurable = d1.configurable;","if ('enumerable' in d1) d2.enumerable = d1.enumerable;","if ('writable' in d1) d2.writable = d1.writable;","if ('value' in d1) d2.value = d1.value;","if ('get' in d1) d2.get = d1.get;","if ('set' in d1) d2.set = d1.set;","return defineProperty_(obj, prop, d2);","};","})();","Object.defineProperty(Object, 'defineProperties',","{configurable: true, writable: true, value:","function defineProperties(obj, props) {","var keys = Object.keys(props);","for (var i = 0; i < keys.length; i++) {","Object.defineProperty(obj, keys[i], props[keys[i]]);","}","return obj;","}","});",""),r=function(i,s){if(i instanceof k||m(e,e.j,"Object.getOwnPropertyDescriptor called on non-object: "+i),s=String(s),s in i.h){var u=Object.getOwnPropertyDescriptor(i.h,s),h=i.V[s];return i=i.Y[s],s=e.s(e.M),h||i?(e.g(s,"get",h),e.g(s,"set",i)):(e.g(s,"value",u.value),e.g(s,"writable",u.writable)),e.g(s,"configurable",u.configurable),e.g(s,"enumerable",u.enumerable),s}},e.g(e.v,"getOwnPropertyDescriptor",e.i(r,!1),v),r=function(i){return n(i),ee(e,i)},e.g(e.v,"getPrototypeOf",e.i(r,!1),v),r=function(i){return!!i&&!i.preventExtensions},e.g(e.v,"isExtensible",e.i(r,!1),v),r=function(i){return i instanceof k&&(i.preventExtensions=!0),i},e.g(e.v,"preventExtensions",e.i(r,!1),v),P(e,e.v,"toString",k.prototype.toString),P(e,e.v,"toLocaleString",k.prototype.toString),P(e,e.v,"valueOf",k.prototype.valueOf),r=function(i){return n(this),this instanceof k?String(i)in this.h:this.hasOwnProperty(i)},P(e,e.v,"hasOwnProperty",r),r=function(i){return n(this),this instanceof k?Object.prototype.propertyIsEnumerable.call(this.h,i):this.propertyIsEnumerable(i)},P(e,e.v,"propertyIsEnumerable",r),r=function(i){for(;;){if(i=ee(e,i),!i)return!1;if(i===this)return!0}},P(e,e.v,"isPrototypeOf",r)}function Zr(e,t){var n=function(r){var i=te(e)?this:Ee(e),s=arguments[0];if(arguments.length===1&&typeof s=="number")isNaN(It(s))&&m(e,e.ob,"Invalid array length: "+s),i.h.length=s;else{for(s=0;s<arguments.length;s++)i.h[s]=arguments[s];i.h.length=s}return i};e.qa=e.i(n,!0),e.La=e.qa.h.prototype,e.g(t,"Array",e.qa,v),n=function(r){return r&&r.H==="Array"},e.g(e.qa,"isArray",e.i(n,!1),v),e.g(e.La,"length",0,{configurable:!1,enumerable:!1,writable:!0}),e.La.H="Array",e.ba.push("(function() {","function createArrayMethod_(f) {","Object.defineProperty(Array.prototype, f.name,","{configurable: true, writable: true, value: f});","}","createArrayMethod_(","function pop() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","len--;","var x = o[len];","delete o[len];","o.length = len;","return x;","}",");","createArrayMethod_(","function push(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","for (var i = 0; i < arguments.length; i++) {","o[len] = arguments[i];","len++;","}","o.length = len;","return len;","}",");","createArrayMethod_(","function shift() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","o.length = 0;","return undefined;","}","var value = o[0];","for (var i = 0; i < len - 1; i++) {","if ((i + 1) in o) {","o[i] = o[i + 1];","} else {","delete o[i];","}","}","delete o[i];","o.length = len - 1;","return value;","}",");","createArrayMethod_(","function unshift(var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 0) {","len = 0;","}","for (var i = len - 1; i >= 0; i--) {","if (i in o) {","o[i + arguments.length] = o[i];","} else {","delete o[i + arguments.length];","}","}","for (var i = 0; i < arguments.length; i++) {","o[i] = arguments[i];","}","return (o.length = len + arguments.length);","}",");","createArrayMethod_(","function reverse() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len || len < 2) {","return o;","}","for (var i = 0; i < len / 2 - 0.5; i++) {","var x = o[i];","var hasX = i in o;","if ((len - i - 1) in o) {","o[i] = o[len - i - 1];","} else {","delete o[i];","}","if (hasX) {","o[len - i - 1] = x;","} else {","delete o[len - i - 1];","}","}","return o;","}",");","createArrayMethod_(","function indexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var n = fromIndex | 0;","if (!len || n >= len) {","return -1;","}","var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);","while (i < len) {","if (i in o && o[i] === searchElement) {","return i;","}","i++;","}","return -1;","}",");","createArrayMethod_(","function lastIndexOf(searchElement, fromIndex) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","if (!len) {","return -1;","}","var n = len - 1;","if (arguments.length > 1) {","n = fromIndex | 0;","if (n) {","n = (n > 0 || -1) * Math.floor(Math.abs(n));","}","}","var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);","while (i >= 0) {","if (i in o && o[i] === searchElement) {","return i;","}","i--;","}","return -1;","}",");","createArrayMethod_(","function slice(start, end) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","start = (start >= 0) ? start : Math.max(0, len + start);","if (typeof end !== 'undefined') {","if (end !== Infinity) {","end |= 0;","}","if (end < 0) {","end = len + end;","} else {","end = Math.min(end, len);","}","} else {","end = len;","}","var size = end - start;","var cloned = new Array(size);","for (var i = 0; i < size; i++) {","if ((start + i) in o) {","cloned[i] = o[start + i];","}","}","return cloned;","}",");","createArrayMethod_(","function splice(start, deleteCount, var_args) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","start |= 0;","if (start < 0) {","start = Math.max(len + start, 0);","} else {","start = Math.min(start, len);","}","if (arguments.length < 1) {","deleteCount = len - start;","} else {","deleteCount |= 0;","deleteCount = Math.max(0, Math.min(deleteCount, len - start));","}","var removed = [];","for (var i = start; i < start + deleteCount; i++) {","if (i in o) {","removed.push(o[i]);","} else {","removed.length++;","}","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = start + deleteCount; i < len - deleteCount; i++) {","if ((i + deleteCount) in o) {","o[i] = o[i + deleteCount];","} else {","delete o[i];","}","}","for (var i = len - deleteCount; i < len; i++) {","delete o[i];","}","len -= deleteCount;","var arl = arguments.length - 2;","for (var i = len - 1; i >= start; i--) {","if (i in o) {","o[i + arl] = o[i];","} else {","delete o[i + arl];","}","}","len += arl;","for (var i = 2; i < arguments.length; i++) {","o[start + i - 2] = arguments[i];","}","o.length = len;","return removed;","}",");","createArrayMethod_(","function concat(var_args) {","if (!this) throw TypeError();","var o = Object(this);","var cloned = [];","for (var i = -1; i < arguments.length; i++) {","var value = (i === -1) ? o : arguments[i];","if (Array.isArray(value)) {","for (var j = 0, l = value.length; j < l; j++) {","if (j in value) {","cloned.push(value[j]);","} else {","cloned.length++;","}","}","} else {","cloned.push(value);","}","}","return cloned;","}",");","createArrayMethod_(","function join(opt_separator) {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var sep = typeof opt_separator === 'undefined' ?","',' : ('' + opt_separator);","var str = '';","for (var i = 0; i < len; i++) {","if (i && sep) str += sep;","str += (o[i] === null || o[i] === undefined) ? '' : o[i];","}","return str;","}",");","createArrayMethod_(","function every(callbackfn, thisArg) {","if (!this || typeof callbackfn !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o && !callbackfn.call(t, o[k], k, o)) return false;","k++;","}","return true;","}",");","createArrayMethod_(","function filter(fun, var_args) {","if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var res = [];","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o) {","var val = o[i];","if (fun.call(thisArg, val, i, o)) res.push(val);","}","}","return res;","}",");","createArrayMethod_(","function forEach(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","while (k < len) {","if (k in o) callback.call(t, o[k], k, o);","k++;","}","}",");","createArrayMethod_(","function map(callback, thisArg) {","if (!this || typeof callback !== 'function') throw TypeError();","var t, k = 0;","var o = Object(this), len = o.length >>> 0;","if (arguments.length > 1) t = thisArg;","var a = new Array(len);","while (k < len) {","if (k in o) a[k] = callback.call(t, o[k], k, o);","k++;","}","return a;","}",");","createArrayMethod_(","function reduce(callback /*, initialValue*/) {","if (!this || typeof callback !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = 0, value;","if (arguments.length === 2) {","value = arguments[1];","} else {","while (k < len && !(k in o)) k++;","if (k >= len) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k++];","}","for (; k < len; k++) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function reduceRight(callback /*, initialValue*/) {","if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var k = len - 1, value;","if (arguments.length >= 2) {","value = arguments[1];","} else {","while (k >= 0 && !(k in o)) k--;","if (k < 0) {","throw TypeError('Reduce of empty array with no initial value');","}","value = o[k--];","}","for (; k >= 0; k--) {","if (k in o) value = callback(value, o[k], k, o);","}","return value;","}",");","createArrayMethod_(","function some(fun/*, thisArg*/) {","if (!this || typeof fun !== 'function') throw TypeError();","var o = Object(this), len = o.length >>> 0;","var thisArg = arguments.length >= 2 ? arguments[1] : void 0;","for (var i = 0; i < len; i++) {","if (i in o && fun.call(thisArg, o[i], i, o)) return true;","}","return false;","}",");","createArrayMethod_(","function sort(opt_comp) {","if (!this) throw TypeError();","if (typeof opt_comp !== 'function') {","opt_comp = undefined;","}","for (var i = 0; i < this.length; i++) {","var changes = 0;","for (var j = 0; j < this.length - i - 1; j++) {","if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :","(String(this[j]) > String(this[j + 1]))) {","var swap = this[j];","var hasSwap = j in this;","if ((j + 1) in this) {","this[j] = this[j + 1];","} else {","delete this[j];","}","if (hasSwap) {","this[j + 1] = swap;","} else {","delete this[j + 1];","}","changes++;","}","}","if (!changes) break;","}","return this;","}",");","createArrayMethod_(","function toLocaleString() {","if (!this) throw TypeError();","var o = Object(this), len = o.length >>> 0;","var out = [];","for (var i = 0; i < len; i++) {","out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();","}","return out.join(',');","}",");","})();","")}function zr(e,t){var n=function(r){return r=arguments.length?se.String(r):"",te(e)?(this.data=r,this):r};for(e.J=e.i(n,!0),e.g(t,"String",e.J,v),e.g(e.J,"fromCharCode",e.i(String.fromCharCode,!1),v),t="charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "),n=0;n<t.length;n++)P(e,e.J,t[n],String.prototype[t[n]]);n=function(r,i,s){i=e.R(i),s=e.R(s);try{return String(this).localeCompare(r,i,s)}catch(u){m(e,e.D,"localeCompare: "+u.message)}},P(e,e.J,"localeCompare",n),n=function(r,i,s){var u=String(this);if(i=i?Number(i):void 0,D(e,r,e.I)&&(r=r.data,Re(e,r,s),e.REGEXP_MODE===2)){if(q)r=Me(e,"string.split(separator, limit)",{string:u,separator:r,limit:i},r,s),r!==de&&s(Q(e,r));else{var h=e.ha(),S=Pe(e,r,h,s);h.onmessage=function(F){clearTimeout(S),s(Q(e,F.data))},h.postMessage(["split",u,r,i])}return}r=u.split(r,i),s(Q(e,r))},Ue(e,e.J,"split",n),n=function(r,i){var s=String(this);if(r=D(e,r,e.I)?r.data:new RegExp(r),Re(e,r,i),e.REGEXP_MODE===2)if(q)r=Me(e,"string.match(regexp)",{string:s,regexp:r},r,i),r!==de&&i(r&&Q(e,r));else{var u=e.ha(),h=Pe(e,r,u,i);u.onmessage=function(S){clearTimeout(h),i(S.data&&Q(e,S.data))},u.postMessage(["match",s,r])}else r=s.match(r),i(r&&Q(e,r))},Ue(e,e.J,"match",n),n=function(r,i){var s=String(this);if(D(e,r,e.I)?r=r.data:r=new RegExp(r),Re(e,r,i),e.REGEXP_MODE===2)if(q)r=Me(e,"string.search(regexp)",{string:s,regexp:r},r,i),r!==de&&i(r);else{var u=e.ha(),h=Pe(e,r,u,i);u.onmessage=function(S){clearTimeout(h),i(S.data)},u.postMessage(["search",s,r])}else i(s.search(r))},Ue(e,e.J,"search",n),n=function(r,i,s){var u=String(this);if(i=String(i),D(e,r,e.I)&&(r=r.data,Re(e,r,s),e.REGEXP_MODE===2)){if(q)r=Me(e,"string.replace(substr, newSubstr)",{string:u,substr:r,newSubstr:i},r,s),r!==de&&s(r);else{var h=e.ha(),S=Pe(e,r,h,s);h.onmessage=function(F){clearTimeout(S),s(F.data)},h.postMessage(["replace",u,r,i])}return}s(u.replace(r,i))},Ue(e,e.J,"replace",n),e.ba.push("(function() {","var replace_ = String.prototype.replace;","String.prototype.replace = function replace(substr, newSubstr) {","if (typeof newSubstr !== 'function') {","return replace_.call(this, substr, newSubstr);","}","var str = this;","if (substr instanceof RegExp) {","var subs = [];","var m = substr.exec(str);","while (m) {","m.push(m.index, str);","var inject = newSubstr.apply(null, m);","subs.push([m.index, m[0].length, inject]);","m = substr.global ? substr.exec(str) : null;","}","for (var i = subs.length - 1; i >= 0; i--) {","str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);","}","} else {","var i = str.indexOf(substr);","if (i !== -1) {","var inject = newSubstr(str.substr(i, substr.length), i, str);","str = str.substring(0, i) + inject + str.substring(i + substr.length);","}","}","return str;","};","})();","")}function Qr(e,t){e.mb=e.i(function(n){return n=se.Boolean(n),te(e)?(this.data=n,this):n},!0),e.g(t,"Boolean",e.mb,v)}function qr(e,t){var n=function(r){return r=arguments.length?se.Number(r):0,te(e)?(this.data=r,this):r};for(e.aa=e.i(n,!0),e.g(t,"Number",e.aa,v),t=["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"],n=0;n<t.length;n++)e.g(e.aa,t[n],Number[t[n]],Ne);n=function(r){try{return Number(this).toExponential(r)}catch(i){m(e,e.D,i.message)}},P(e,e.aa,"toExponential",n),n=function(r){try{return Number(this).toFixed(r)}catch(i){m(e,e.D,i.message)}},P(e,e.aa,"toFixed",n),n=function(r){try{return Number(this).toPrecision(r)}catch(i){m(e,e.D,i.message)}},P(e,e.aa,"toPrecision",n),n=function(r){try{return Number(this).toString(r)}catch(i){m(e,e.D,i.message)}},P(e,e.aa,"toString",n),n=function(r,i){r=r?e.R(r):void 0,i=i?e.R(i):void 0;try{return Number(this).toLocaleString(r,i)}catch(s){m(e,e.D,"toLocaleString: "+s.message)}},P(e,e.aa,"toLocaleString",n)}function en(e,t){var n=function(i,s){if(!te(e))return se.Date();var u=[null].concat(Array.from(arguments));return this.data=new(Function.prototype.bind.apply(se.Date,u)),this};e.$=e.i(n,!0),e.nb=e.$.h.prototype,e.g(t,"Date",e.$,v),e.g(e.$,"now",e.i(Date.now,!1),v),e.g(e.$,"parse",e.i(Date.parse,!1),v),e.g(e.$,"UTC",e.i(Date.UTC,!1),v),t="getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");for(var r=0;r<t.length;r++)n=function(i){return function(s){var u=this.data;u instanceof Date||m(e,e.j,i+" not called on a Date");for(var h=[],S=0;S<arguments.length;S++)h[S]=e.R(arguments[S]);return u[i].apply(u,h)}}(t[r]),P(e,e.$,t[r],n)}function tn(e,t){var n=function(r,i){if(te(e))var s=this;else{if(i===void 0&&D(e,r,e.I))return r;s=e.s(e.Ma)}r=r===void 0?"":String(r),i=i?String(i):"",/^[gmi]*$/.test(i)||m(e,e.T,"Invalid regexp flag: "+i);try{var u=new se.RegExp(r,i)}catch(h){m(e,e.T,h.message)}return Tt(e,s,u),s};e.I=e.i(n,!0),e.Ma=e.I.h.prototype,e.g(t,"RegExp",e.I,v),e.g(e.I.h.prototype,"global",void 0,G),e.g(e.I.h.prototype,"ignoreCase",void 0,G),e.g(e.I.h.prototype,"multiline",void 0,G),e.g(e.I.h.prototype,"source","(?:)",G),e.ba.push("Object.defineProperty(RegExp.prototype, 'test',","{configurable: true, writable: true, value:","function test(str) {","return !!this.exec(str);","}","});"),n=function(r,i){function s(I){if(I){var O=Q(e,I);return e.g(O,"index",I.index),e.g(O,"input",I.input),O}return null}var u=this.data;if(r=String(r),u.lastIndex=Number(e.G(this,"lastIndex")),Re(e,u,i),e.REGEXP_MODE===2)if(q)r=Me(e,"regexp.exec(string)",{string:r,regexp:u},u,i),r!==de&&(e.g(this,"lastIndex",u.lastIndex),i(s(r)));else{var h=e.ha(),S=Pe(e,u,h,i),F=this;h.onmessage=function(I){clearTimeout(S),e.g(F,"lastIndex",I.data[1]),i(s(I.data[0]))},h.postMessage(["exec",u,u.lastIndex,r])}else r=u.exec(r),e.g(this,"lastIndex",u.lastIndex),i(s(r))},Ue(e,e.I,"exec",n)}function rn(e,t){function n(r){var i=e.i(function(s){var u=te(e)?this:e.Aa(i);return Ct(e,u,s),u},!0);return e.g(i,"prototype",e.Aa(e.D),v),e.g(i.h.prototype,"name",r,v),e.g(t,r,i,v),i}e.D=e.i(function(r){var i=te(e)?this:e.Aa(e.D);return Ct(e,i,r),i},!0),e.g(t,"Error",e.D,v),e.g(e.D.h.prototype,"message","",v),e.g(e.D.h.prototype,"name","Error",v),n("EvalError"),e.ob=n("RangeError"),e.pb=n("ReferenceError"),e.T=n("SyntaxError"),e.j=n("TypeError"),e.Gb=n("URIError")}function nn(e,t){var n=e.s(e.M);e.g(t,"Math",n,v);var r="E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");for(t=0;t<r.length;t++)e.g(n,r[t],Math[r[t]],G);for(r="abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "),t=0;t<r.length;t++)e.g(n,r[t],e.i(Math[r[t]],!1),v)}function on(e,t){var n=e.s(e.M);e.g(t,"JSON",n,v),t=function(r){try{var i=JSON.parse(String(r))}catch(s){m(e,e.T,s.message)}return e.Ia(i)},e.g(n,"parse",e.i(t,!1)),t=function(r,i,s){i&&i.H==="Function"?m(e,e.j,"Function replacer on JSON.stringify not supported"):i&&i.H==="Array"?(i=Cr(e,i),i=i.filter(function(h){return typeof h=="string"||typeof h=="number"})):i=null,typeof s!="string"&&typeof s!="number"&&(s=void 0),r=e.R(r);try{var u=JSON.stringify(r,i,s)}catch(h){m(e,e.j,h.message)}return u},e.g(n,"stringify",e.i(t,!1))}function D(e,t,n){if(t==null||!n)return!1;if(n=n.h.prototype,t===n)return!0;for(t=ee(e,t);t;){if(t===n)return!0;t=t.xa}return!1}function Tt(e,t,n){t.data=new RegExp(n.source,n.flags),e.g(t,"lastIndex",n.lastIndex,v),e.g(t,"source",n.source,G),e.g(t,"global",n.global,G),e.g(t,"ignoreCase",n.ignoreCase,G),e.g(t,"multiline",n.multiline,G)}function Ct(e,t,n){n&&e.g(t,"message",String(n),v),n=[];for(var r=e.o.length-1;0<=r;r--){var i=e.o[r],s=i.node;s.type==="CallExpression"&&(i=i.U)&&n.length&&(n[n.length-1].Ob=e.G(i,"name")),!s.X||n.length&&s.type!=="CallExpression"||n.push({Nb:s.X})}for(r=String(e.G(t,"name")),s=String(e.G(t,"message")),s=r+": "+s+`
|
package/vue2/lib/{browser/get-block-actions-19c074c1.js → edge/get-block-actions-046a80d0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as n } from "./index-
|
|
2
|
-
import { e as s } from "./evaluate-
|
|
1
|
+
import { T as n } from "./index-8d71df29.js";
|
|
2
|
+
import { e as s } from "./evaluate-becf2384.js";
|
|
3
3
|
const l = (e) => `v-on:${e.toLowerCase()}`, i = (e, t) => (o) => s({
|
|
4
4
|
code: e,
|
|
5
5
|
context: t.context,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-cb2684cd.cjs"),s=require("./evaluate-e31fc7a4.cjs"),l=e=>`v-on:${e.toLowerCase()}`,i=(e,t)=>o=>s.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:o,isExpression:!1});function u(e){const t={},o=e.block.actions??{};for(const c in o){if(!o.hasOwnProperty(c))continue;const n=o[c];let a=l(c);if(e.stripPrefix)switch(r.TARGET){case"vue2":case"vue3":a=a.replace("v-on:","");break;case"svelte":a=a.replace("on:","");break}t[a]=i(n,e)}return t}exports.getBlockActions=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./index-
|
|
1
|
+
"use strict";const c=require("./index-cb2684cd.cjs"),n=require("./css-88f2410f.cjs");function i(e){const t={};if(typeof e!="string")return t;const s=e.trim().split(/\\s+/);for(const r of s)t[r]=!0;return t}function o(e){return e.class=i(e.class),e}const a=e=>({href:e.href});function u({block:e,context:t}){var r;const s={...a(e),...e.properties,"builder-id":e.id,style:e.style?l(e.style):void 0,class:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return o(s)}function l(e){switch(c.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return n.convertStyleMapToCSSArray(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}exports.getBlockProperties=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("./evaluate-
|
|
1
|
+
"use strict";const u=require("./evaluate-e31fc7a4.cjs"),f=require("./index-cb2684cd.cjs");const g=({block:e,context:s,localState:r,rootState:o,rootSetState:i})=>{if(!e.bindings)return e;const n=f.fastClone(e),t={...n,properties:{...n.properties},actions:{...n.actions}};for(const c in e.bindings){const a=e.bindings[c],d=u.evaluate({code:a,localState:r,rootState:o,rootSetState:i,context:s});u.set(t,c,d)}return t};function l({block:e,context:s,shouldEvaluateBindings:r,localState:o,rootState:i,rootSetState:n}){const t=e;return r?g({block:t,localState:o,rootState:i,rootSetState:n,context:s}):t}exports.getProcessedBlock=l;
|
|
@@ -116,7 +116,7 @@ const on = ct.exports, P = (e) => JSON.parse(JSON.stringify(e)), U = {
|
|
|
116
116
|
"Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",
|
|
117
117
|
e
|
|
118
118
|
), e;
|
|
119
|
-
}), dt = () => import("./inlined-styles-
|
|
119
|
+
}), dt = () => import("./inlined-styles-411ade32.js").then((e) => e.default).catch((e) => {
|
|
120
120
|
throw console.error(
|
|
121
121
|
"Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",
|
|
122
122
|
e
|
|
@@ -548,7 +548,7 @@ var Nt = function() {
|
|
|
548
548
|
null,
|
|
549
549
|
null
|
|
550
550
|
);
|
|
551
|
-
const dn = Ut.exports,
|
|
551
|
+
const dn = Ut.exports, Mt = b({
|
|
552
552
|
name: "builder-video",
|
|
553
553
|
props: [
|
|
554
554
|
"autoPlay",
|
|
@@ -591,7 +591,7 @@ const dn = Ut.exports, Lt = b({
|
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
});
|
|
594
|
-
var
|
|
594
|
+
var Lt = function() {
|
|
595
595
|
var o;
|
|
596
596
|
var t = this, n = t._self._c;
|
|
597
597
|
return t._self._setupProxy, n("video", t._b({ style: {
|
|
@@ -605,8 +605,8 @@ var Mt = function() {
|
|
|
605
605
|
borderRadius: 1
|
|
606
606
|
}, attrs: { preload: t.preload || "metadata", src: t.video || "no-src", poster: t.posterImage } }, "video", t.spreadProps, !1));
|
|
607
607
|
}, Wt = [], Kt = /* @__PURE__ */ g(
|
|
608
|
-
Lt,
|
|
609
608
|
Mt,
|
|
609
|
+
Lt,
|
|
610
610
|
Wt,
|
|
611
611
|
!1,
|
|
612
612
|
null,
|
|
@@ -631,17 +631,17 @@ const mn = Kt.exports, zt = Symbol(), Gt = {
|
|
|
631
631
|
}, Dt = Symbol(), Ht = {
|
|
632
632
|
Components: { registeredComponents: {} },
|
|
633
633
|
key: Dt
|
|
634
|
-
}, Jt = () => import("./block-styles-
|
|
634
|
+
}, Jt = () => import("./block-styles-9d313184.js").then((e) => e.default).catch((e) => {
|
|
635
635
|
throw console.error(
|
|
636
636
|
"Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",
|
|
637
637
|
e
|
|
638
638
|
), e;
|
|
639
|
-
}), Xt = () => import("./block-
|
|
639
|
+
}), Xt = () => import("./block-04a014ef.js").then((e) => e.default).catch((e) => {
|
|
640
640
|
throw console.error(
|
|
641
641
|
"Error while attempting to dynamically import component Block at ../block/block.vue",
|
|
642
642
|
e
|
|
643
643
|
), e;
|
|
644
|
-
}), qt = () => import("./blocks-wrapper-
|
|
644
|
+
}), qt = () => import("./blocks-wrapper-671e376d.js").then((e) => e.default).catch((e) => {
|
|
645
645
|
throw console.error(
|
|
646
646
|
"Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",
|
|
647
647
|
e
|
|
@@ -683,9 +683,9 @@ var Yt = function() {
|
|
|
683
683
|
null,
|
|
684
684
|
null
|
|
685
685
|
);
|
|
686
|
-
const
|
|
686
|
+
const M = te.exports, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
687
687
|
__proto__: null,
|
|
688
|
-
default:
|
|
688
|
+
default: M
|
|
689
689
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
690
690
|
function y() {
|
|
691
691
|
return typeof window < "u" && typeof document < "u";
|
|
@@ -770,18 +770,18 @@ function re(e, t, n) {
|
|
|
770
770
|
return;
|
|
771
771
|
}
|
|
772
772
|
}
|
|
773
|
-
const se = (e) => e === "react" || e === "reactNative",
|
|
773
|
+
const se = (e) => e === "react" || e === "reactNative", L = se(w), W = "builderIoAbTest", K = "builderIoRenderContent", ie = () => {
|
|
774
774
|
const e = oe.toString().replace(/\s+/g, " "), t = re.toString().replace(/\s+/g, " ");
|
|
775
775
|
return `
|
|
776
776
|
window.${W} = ${e}
|
|
777
777
|
window.${K} = ${t}
|
|
778
778
|
`;
|
|
779
779
|
}, ae = (e, t) => `
|
|
780
|
-
window.${W}("${t}",${JSON.stringify(e)}, ${
|
|
780
|
+
window.${W}("${t}",${JSON.stringify(e)}, ${L})`, fn = ({
|
|
781
781
|
contentId: e,
|
|
782
782
|
variationId: t
|
|
783
783
|
}) => `
|
|
784
|
-
window.${K}("${t}", "${e}", ${
|
|
784
|
+
window.${K}("${t}", "${e}", ${L})`, x = (e) => e != null, I = (e) => x(e) ? e : !0, ce = (e) => {
|
|
785
785
|
if (e === "localhost" || e === "127.0.0.1")
|
|
786
786
|
return e;
|
|
787
787
|
const t = e.split(".");
|
|
@@ -916,17 +916,17 @@ const se = (e) => e === "react" || e === "reactNative", M = se(w), W = "builderI
|
|
|
916
916
|
...e,
|
|
917
917
|
...r
|
|
918
918
|
};
|
|
919
|
-
}, ye = () => import("./content-
|
|
919
|
+
}, ye = () => import("./content-962ba49d.js").then((e) => e.default).catch((e) => {
|
|
920
920
|
throw console.error(
|
|
921
921
|
"Error while attempting to dynamically import component ContentComponent at ../content/content.vue",
|
|
922
922
|
e
|
|
923
923
|
), e;
|
|
924
|
-
}), ve = () => import("./inlined-styles-
|
|
924
|
+
}), ve = () => import("./inlined-styles-411ade32.js").then((e) => e.default).catch((e) => {
|
|
925
925
|
throw console.error(
|
|
926
926
|
"Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",
|
|
927
927
|
e
|
|
928
928
|
), e;
|
|
929
|
-
}), Se = () => import("./inlined-script-
|
|
929
|
+
}), Se = () => import("./inlined-script-45e42092.js").then((e) => e.default).catch((e) => {
|
|
930
930
|
throw console.error(
|
|
931
931
|
"Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",
|
|
932
932
|
e
|
|
@@ -1013,7 +1013,7 @@ var xe = function() {
|
|
|
1013
1013
|
const q = Ce.exports, $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1014
1014
|
__proto__: null,
|
|
1015
1015
|
default: q
|
|
1016
|
-
}, Symbol.toStringTag, { value: "Module" })), pn =
|
|
1016
|
+
}, Symbol.toStringTag, { value: "Module" })), pn = M, hn = q;
|
|
1017
1017
|
function Te() {
|
|
1018
1018
|
return y() && window.self !== window.top;
|
|
1019
1019
|
}
|
|
@@ -1111,11 +1111,13 @@ const F = "builder.", Ee = "options.", Be = (e) => {
|
|
|
1111
1111
|
const e = new URLSearchParams(window.location.search);
|
|
1112
1112
|
return Y(e);
|
|
1113
1113
|
}, Z = (e) => e instanceof URLSearchParams ? Be(e) : e, Ne = "v3", O = (e) => {
|
|
1114
|
+
let {
|
|
1115
|
+
noTraverse: t = !1
|
|
1116
|
+
} = e;
|
|
1114
1117
|
const {
|
|
1115
|
-
limit:
|
|
1116
|
-
userAttributes:
|
|
1117
|
-
query:
|
|
1118
|
-
noTraverse: r = !1,
|
|
1118
|
+
limit: n = 30,
|
|
1119
|
+
userAttributes: o,
|
|
1120
|
+
query: r,
|
|
1119
1121
|
model: s,
|
|
1120
1122
|
apiKey: i,
|
|
1121
1123
|
includeRefs: u = !0,
|
|
@@ -1127,15 +1129,16 @@ const F = "builder.", Ee = "options.", Be = (e) => {
|
|
|
1127
1129
|
throw new Error("Missing API key");
|
|
1128
1130
|
if (!["v2", "v3"].includes(f))
|
|
1129
1131
|
throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${f}'`);
|
|
1130
|
-
|
|
1132
|
+
(e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
|
|
1133
|
+
const p = new URL(`https://cdn.builder.io/api/${f}/content/${s}?apiKey=${i}&limit=${n}&noTraverse=${t}&includeRefs=${u}${d ? `&locale=${d}` : ""}${a ? `&enrich=${a}` : ""}`), c = {
|
|
1131
1134
|
...je(),
|
|
1132
1135
|
...Z(e.options || {})
|
|
1133
1136
|
}, m = R(c);
|
|
1134
1137
|
for (const l in m)
|
|
1135
1138
|
p.searchParams.set(l, String(m[l]));
|
|
1136
|
-
if (
|
|
1139
|
+
if (o && p.searchParams.set("userAttributes", JSON.stringify(o)), r) {
|
|
1137
1140
|
const l = R({
|
|
1138
|
-
query:
|
|
1141
|
+
query: r
|
|
1139
1142
|
});
|
|
1140
1143
|
for (const h in l)
|
|
1141
1144
|
p.searchParams.set(h, JSON.stringify(l[h]));
|
|
@@ -1152,7 +1155,7 @@ async function E(e) {
|
|
|
1152
1155
|
const Sn = E, Ue = async (e) => {
|
|
1153
1156
|
const t = O(e);
|
|
1154
1157
|
return await (await Oe(t.href)).json();
|
|
1155
|
-
},
|
|
1158
|
+
}, Me = async (e, t, n = O(e)) => {
|
|
1156
1159
|
const o = I(e.canTrack);
|
|
1157
1160
|
if (n.search.includes("preview="), !o || !(y() || w === "reactNative"))
|
|
1158
1161
|
return t;
|
|
@@ -1172,7 +1175,7 @@ const Sn = E, Ue = async (e) => {
|
|
|
1172
1175
|
async function tt(e) {
|
|
1173
1176
|
try {
|
|
1174
1177
|
const t = O(e), n = await Ue(e);
|
|
1175
|
-
return Fe(n) ?
|
|
1178
|
+
return Fe(n) ? Me(e, n) : (v.error("Error fetching data. ", {
|
|
1176
1179
|
url: t,
|
|
1177
1180
|
content: n,
|
|
1178
1181
|
options: e
|
|
@@ -1182,14 +1185,14 @@ async function tt(e) {
|
|
|
1182
1185
|
}
|
|
1183
1186
|
}
|
|
1184
1187
|
const kn = tt;
|
|
1185
|
-
function
|
|
1188
|
+
function Le() {
|
|
1186
1189
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
1187
1190
|
const t = Math.random() * 16 | 0;
|
|
1188
1191
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
1189
1192
|
});
|
|
1190
1193
|
}
|
|
1191
1194
|
function et() {
|
|
1192
|
-
return
|
|
1195
|
+
return Le().replace(/-/g, "");
|
|
1193
1196
|
}
|
|
1194
1197
|
const nt = "builderSessionId", We = async ({
|
|
1195
1198
|
canTrack: e
|
|
@@ -1376,18 +1379,19 @@ const xn = (e) => en({
|
|
|
1376
1379
|
};
|
|
1377
1380
|
};
|
|
1378
1381
|
export {
|
|
1379
|
-
|
|
1382
|
+
vn as A,
|
|
1380
1383
|
on as B,
|
|
1381
1384
|
sn as C,
|
|
1382
|
-
|
|
1383
|
-
|
|
1385
|
+
tt as D,
|
|
1386
|
+
kn as E,
|
|
1384
1387
|
an as F,
|
|
1385
|
-
|
|
1386
|
-
|
|
1388
|
+
Sn as G,
|
|
1389
|
+
Me as H,
|
|
1387
1390
|
cn as I,
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
+
Y as J,
|
|
1392
|
+
xn as K,
|
|
1393
|
+
wn as L,
|
|
1394
|
+
ee as M,
|
|
1391
1395
|
pn as R,
|
|
1392
1396
|
ln as S,
|
|
1393
1397
|
w as T,
|
|
@@ -1409,14 +1413,14 @@ export {
|
|
|
1409
1413
|
g as n,
|
|
1410
1414
|
v as o,
|
|
1411
1415
|
gn as p,
|
|
1412
|
-
|
|
1416
|
+
I as q,
|
|
1413
1417
|
yn as r,
|
|
1414
1418
|
Ae as s,
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1419
|
+
_n as t,
|
|
1420
|
+
E as u,
|
|
1421
|
+
Oe as v,
|
|
1422
|
+
Ye as w,
|
|
1423
|
+
M as x,
|
|
1424
|
+
q as y,
|
|
1425
|
+
hn as z
|
|
1422
1426
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const y=require("vue");function
|
|
1
|
+
"use strict";const y=require("vue");function R(e={},t,n){const o={};for(const r in e){if(!e[r]||n&&!r.startsWith(t))continue;const s=n?r.replace(t,""):r;o[s]=e[r]}return o}const pt=y.defineComponent({name:"builder-button",props:["attributes","text","link","openLinkInNewTab"],data(){return{filterAttrs:R}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});function _(e,t,n,o,r,s,i,u){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),o&&(a.functional=!0),s&&(a._scopeId="data-v-"+s);var d;if(i?(d=function(c){c=c||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!c&&typeof __VUE_SSR_CONTEXT__<"u"&&(c=__VUE_SSR_CONTEXT__),r&&r.call(this,c),c&&c._registeredComponents&&c._registeredComponents.add(i)},a._ssrRegister=d):r&&(d=u?function(){r.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(a.functional){a._injectStyles=d;var f=a.render;a.render=function(m,l){return d.call(l),f(m,l)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,d):[d]}return{exports:e,options:a}}var ht=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.link?n("a",t._g(t._b({attrs:{role:"button",href:t.link,target:t.openLinkInNewTab?"_blank":void 0}},"a",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")]):n("button",t._g(t._b({class:t._classStringToObject(t.attributes.class+" button-2fnk003dqad"),style:t.attributes.style},"button",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")])},gt=[],_t=_(pt,ht,gt,!1,null,"d03c6eb1",null,null);const bt=_t.exports,I=e=>JSON.parse(JSON.stringify(e)),z={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},yt=(e,t=z)=>`@media (max-width: ${t[e].max}px)`,G=({small:e,medium:t})=>{const n=I(z);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const r=n.small.max+1;n.medium={max:t,min:r,default:r+1};const s=n.medium.max+1;return n.large={max:2e3,min:s,default:s+1},n},C="vue2",vt=()=>Promise.resolve().then(()=>H).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",e),e}),St=()=>Promise.resolve().then(()=>require("./inlined-styles-375c218f.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",e),e}),kt=y.defineComponent({name:"builder-columns",components:{"inlined-styles":St,blocks:vt},props:["js","space","columns","stackColumnsAt","reverseColumnsWhenStacked","builderContext","builderBlock","builderComponents"],data(){return{gutterSize:typeof this.space=="number"?this.space||0:20,cols:this.columns||[],stackAt:this.stackColumnsAt||"tablet",flexDir:this.stackColumnsAt==="never"?"row":this.reverseColumnsWhenStacked?"column-reverse":"column",TARGET:C}},computed:{columnsCssVars(){return{"--flex-dir":this.flexDir,"--flex-dir-tablet":this.getTabletStyle({stackedStyle:this.flexDir,desktopStyle:"row"})}},columnsStyles(){return`
|
|
2
2
|
@media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
|
|
3
3
|
.${this.builderBlock.id}-breakpoints {
|
|
4
4
|
flex-direction: var(--flex-dir-tablet);
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
margin-left: var(--column-margin-left-mobile) !important;
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
`}},methods:{getWidth(e){var t;return((t=this.cols[e])==null?void 0:t.width)||100/this.cols.length},getColumnCssWidth(e){const t=this.gutterSize*(this.cols.length-1)/this.cols.length;return`calc(${this.getWidth(e)}% - ${t}px)`},getTabletStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="tablet"?e:t},getMobileStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="never"?t:e},columnCssVars(e){const t=e===0?0:this.gutterSize,n=this.getColumnCssWidth(e),o=`${t}px`,r="100%",s=0;return{width:n,["margin-left"]:o,"--column-width-mobile":this.getMobileStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-mobile":this.getMobileStyle({stackedStyle:s,desktopStyle:o}),"--column-width-tablet":this.getTabletStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-tablet":this.getTabletStyle({stackedStyle:s,desktopStyle:o})}},getWidthForBreakpointSize(e){var n,o;return G(((o=(n=this.builderContext.content)==null?void 0:n.meta)==null?void 0:o.breakpoints)||{})[e].max},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Ct=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._b({class:t._classStringToObject(`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`),style:t.columnsCssVars},"div",{},!1),[t.TARGET!=="reactNative"?[n("inlined-styles",{attrs:{styles:t.columnsStyles}})]:t._e(),t._l(t.columns,function(o,r){return n("div",t._b({key:r,staticClass:"builder-column div-t9spj7joih-2",style:t.columnCssVars(r)},"div",{},!1),[n("blocks",{attrs:{path:`component.options.columns.${r}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents,blocks:o.blocks}})],1)})],2)},xt=[],wt=_(kt,Ct,xt,!1,null,"c700504e",null,null);const $t=wt.exports,Tt=y.defineComponent({name:"builder-fragment-component",props:[]});var Rt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("span",[t._t("default")],2)},It=[],Pt=_(Tt,Rt,It,!1,null,null,null,null);const At=Pt.exports;function M(e){return e.replace(/http(s)?:/,"")}function Et(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+r+t+"="+encodeURIComponent(n)}function Ot(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return M(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),r=n[3],s=t.match("x")?t:`${t}x`;return M(`${o[0]}_${s}${r}`)}return null}function P(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(r=>r!==o).map(r=>`${Et(e,"width",r)} ${r}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Ot(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const Vt=y.defineComponent({name:"builder-image",props:["image","src","srcset","noWebp","aspectRatio","altText","backgroundPosition","backgroundSize","className","sizes","builderBlock","fitContent"],computed:{srcSetToUse(){var n;const t=this.image||this.src;if(!t||!(t.match(/builder\.io/)||t.match(/cdn\.shopify\.com/)))return this.srcset;if(this.srcset&&((n=this.image)!=null&&n.includes("builder.io/api/v1/image"))){if(!this.srcset.includes(this.image.split("?")[0]))return console.debug("Removed given srcset"),P(t)}else if(this.image&&!this.srcset)return P(t);return P(t)},webpSrcSet(){var e;return(e=this.srcSetToUse)!=null&&e.match(/builder\.io/)&&!this.noWebp?this.srcSetToUse.replace(/\?/g,"?format=webp&"):""},aspectRatioCss(){const e={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return this.aspectRatio?e:void 0}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Bt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[n("picture",[t.webpSrcSet?[n("source",{attrs:{type:"image/webp",srcset:t.webpSrcSet}})]:t._e(),n("img",{class:t._classStringToObject("builder-image"+(t.className?" "+t.className:"")+" img-1pl23ac79ld"),style:{objectPosition:t.backgroundPosition||"center",objectFit:t.backgroundSize||"cover",...t.aspectRatioCss},attrs:{loading:"lazy",alt:t.altText,role:t.altText?"presentation":void 0,src:t.image,srcset:t.srcSetToUse,sizes:t.sizes}})],2),t.aspectRatio&&!((r=(o=t.builderBlock)==null?void 0:o.children)!=null&&r.length&&t.fitContent)?[n("div",{staticClass:"builder-image-sizer div-1pl23ac79ld",style:{paddingTop:t.aspectRatio*100+"%"}})]:t._e(),(i=(s=t.builderBlock)==null?void 0:s.children)!=null&&i.length&&t.fitContent?[t._t("default")]:t._e(),!t.fitContent&&t.$slots.default?[n("div",{staticClass:"div-1pl23ac79ld-2"},[t._t("default")],2)]:t._e()],2)},jt=[],Nt=_(Vt,Bt,jt,!1,null,"29cdebee",null,null);const Ft=Nt.exports,Ut=y.defineComponent({name:"builder-section-component",props:["attributes","maxWidth"],data(){return{filterAttrs:T}}});var Mt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("section",t._g(t._b({style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:t.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"}},"section",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._t("default")],2)},Wt=[],Lt=_(Ut,Mt,Wt,!1,null,null,null,null);const Kt=Lt.exports,w="[Builder.io]: ",v={log:(...e)=>console.log(w,...e),error:(...e)=>console.error(w,...e),warn:(...e)=>console.warn(w,...e),debug:(...e)=>console.debug(w,...e)},zt=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return I({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{v.error("Could not fetch symbol content: ",n)})},Gt=()=>Promise.resolve().then(()=>We).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",e),e}),qt=y.defineComponent({name:"builder-symbol",components:{"content-variants":Gt},props:["js","attributes","symbol","dynamic","builderContext","builderComponents"],data(){var e;return{contentToUse:(e=this.symbol)==null?void 0:e.content,filterAttrs:T}},mounted(){this.setContent()},watch:{onUpdateHook0:{handler(){this.setContent()},immediate:!0}},computed:{className(){var e,t;return[...Object.keys(this.attributes.class),"builder-symbol",(e=this.symbol)!=null&&e.inline?"builder-inline-symbol":void 0,(t=this.symbol)!=null&&t.dynamic||this.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},onUpdateHook0(){return{0:this.symbol}}},methods:{setContent(){this.contentToUse||zt({symbol:this.symbol,builderContextValue:this.builderContext}).then(e=>{e&&(this.contentToUse=e)})},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Dt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._g(t._b({class:t._classStringToObject(t.className)},"div",{...t.filterAttrs(t.attributes,"v-on:",!1)},!1),t.filterAttrs(t.attributes,"v-on:",!0)),[n("content-variants",{attrs:{__isNestedRender:!0,apiVersion:t.builderContext.apiVersion,apiKey:t.builderContext.apiKey,context:t.builderContext.context,customComponents:Object.values(t.builderComponents),data:{...(o=t.symbol)==null?void 0:o.data,...t.builderContext.localState,...(s=(r=t.contentToUse)==null?void 0:r.data)==null?void 0:s.state},model:(i=t.symbol)==null?void 0:i.model,content:t.contentToUse}})],1)},Ht=[],Jt=_(qt,Dt,Ht,!1,null,null,null,null);const Qt=Jt.exports,Xt=y.defineComponent({name:"builder-text",props:["text"]});var Yt=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"builder-text",style:{outline:"none"},domProps:{innerHTML:t._s(((o=t.text)==null?void 0:o.toString())||"")}})},Zt=[],te=_(Xt,Yt,Zt,!1,null,null,null,null);const ee=te.exports,ne=y.defineComponent({name:"builder-video",props:["autoPlay","muted","controls","loop","playsInline","attributes","preload","fit","position","video","posterImage"],computed:{videoProps(){return{...this.autoPlay===!0?{autoPlay:!0}:{},...this.muted===!0?{muted:!0}:{},...this.controls===!0?{controls:!0}:{},...this.loop===!0?{loop:!0}:{},...this.playsInline===!0?{playsInline:!0}:{}}},spreadProps(){return{...this.attributes,...this.videoProps}}}});var oe=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("video",t._b({style:{width:"100%",height:"100%",...(o=t.attributes)==null?void 0:o.style,objectFit:t.fit,objectPosition:t.position,borderRadius:1},attrs:{preload:t.preload||"metadata",src:t.video||"no-src",poster:t.posterImage}},"video",t.spreadProps,!1))},re=[],se=_(ne,oe,re,!1,null,null,null,null);const ie=se.exports,ae=Symbol(),q={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{}},key:ae},ce=Symbol(),D={Components:{registeredComponents:{}},key:ce},le=()=>Promise.resolve().then(()=>require("./block-styles-442c9444.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",e),e}),ue=()=>Promise.resolve().then(()=>require("./block-f8ec39b9.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block/block.vue",e),e}),de=()=>Promise.resolve().then(()=>require("./blocks-wrapper-ffcf193b.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",e),e}),me=y.defineComponent({name:"builder-blocks",components:{"blocks-wrapper":de,block:ue,"block-styles":le},props:["blocks","parent","path","styleProp","context","registeredComponents"],inject:{builderContext:q.key,componentsContext:D.key}});var fe=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("blocks-wrapper",{attrs:{blocks:t.blocks,parent:t.parent,path:t.path,styleProp:t.styleProp}},[t.blocks?t._l(t.blocks,function(o,r){return n("block",{key:"render-block-"+o.id,attrs:{block:o,context:t.context||t.builderContext,registeredComponents:t.registeredComponents||t.componentsContext.registeredComponents}})}):t._e(),t.blocks?t._l(t.blocks,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:t.context||t.builderContext}})}):t._e()],2)},pe=[],he=_(me,fe,pe,!1,null,null,null,null);const O=he.exports,H=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"}));function b(){return typeof window<"u"&&typeof document<"u"}const $=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),ge=({canTrack:e,content:t})=>!(!($(t).length>0)||!e);function _e(e,t,n){var i;function o(){function u(l,h,S){let x="";if(S){const g=new Date;g.setTime(g.getTime()+S*24*60*60*1e3),x="; expires="+g.toUTCString()}document.cookie=l+"="+(h||"")+x+"; path=/; Secure; SameSite=None"}function a(l){const h=l+"=",S=document.cookie.split(";");for(let x=0;x<S.length;x++){let g=S[x];for(;g.charAt(0)===" ";)g=g.substring(1,g.length);if(g.indexOf(h)===0)return g.substring(h.length,g.length)}return null}const d=`builder.tests.${e}`,f=a(d),p=t.map(l=>l.id).concat(e);if(f&&p.includes(f))return f;let c=0;const m=Math.random();for(let l=0;l<t.length;l++){const h=t[l],S=h.testRatio;if(c+=S,m<c)return u(d,h.id),h.id}return u(d,e),e}const r=o(),s=(i=document.currentScript)==null?void 0:i.previousElementSibling;if(n){s.remove();const u=document.currentScript;u==null||u.remove()}else{const u=t.concat({id:e}).filter(a=>a.id!==r).map(a=>`.variant-${a.id} { display: none; }
|
|
25
|
+
`}},methods:{getWidth(e){var t;return((t=this.cols[e])==null?void 0:t.width)||100/this.cols.length},getColumnCssWidth(e){const t=this.gutterSize*(this.cols.length-1)/this.cols.length;return`calc(${this.getWidth(e)}% - ${t}px)`},getTabletStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="tablet"?e:t},getMobileStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="never"?t:e},columnCssVars(e){const t=e===0?0:this.gutterSize,n=this.getColumnCssWidth(e),o=`${t}px`,r="100%",s=0;return{width:n,["margin-left"]:o,"--column-width-mobile":this.getMobileStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-mobile":this.getMobileStyle({stackedStyle:s,desktopStyle:o}),"--column-width-tablet":this.getTabletStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-tablet":this.getTabletStyle({stackedStyle:s,desktopStyle:o})}},getWidthForBreakpointSize(e){var n,o;return G(((o=(n=this.builderContext.content)==null?void 0:n.meta)==null?void 0:o.breakpoints)||{})[e].max},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Ct=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._b({class:t._classStringToObject(`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`),style:t.columnsCssVars},"div",{},!1),[t.TARGET!=="reactNative"?[n("inlined-styles",{attrs:{styles:t.columnsStyles}})]:t._e(),t._l(t.columns,function(o,r){return n("div",t._b({key:r,staticClass:"builder-column div-t9spj7joih-2",style:t.columnCssVars(r)},"div",{},!1),[n("blocks",{attrs:{path:`component.options.columns.${r}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents,blocks:o.blocks}})],1)})],2)},xt=[],wt=_(kt,Ct,xt,!1,null,"c700504e",null,null);const $t=wt.exports,Tt=y.defineComponent({name:"builder-fragment-component",props:[]});var Rt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("span",[t._t("default")],2)},It=[],Pt=_(Tt,Rt,It,!1,null,null,null,null);const At=Pt.exports;function M(e){return e.replace(/http(s)?:/,"")}function Et(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+r+t+"="+encodeURIComponent(n)}function Ot(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return M(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),r=n[3],s=t.match("x")?t:`${t}x`;return M(`${o[0]}_${s}${r}`)}return null}function A(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(r=>r!==o).map(r=>`${Et(e,"width",r)} ${r}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Ot(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const Vt=y.defineComponent({name:"builder-image",props:["image","src","srcset","noWebp","aspectRatio","altText","backgroundPosition","backgroundSize","className","sizes","builderBlock","fitContent"],computed:{srcSetToUse(){var n;const t=this.image||this.src;if(!t||!(t.match(/builder\.io/)||t.match(/cdn\.shopify\.com/)))return this.srcset;if(this.srcset&&((n=this.image)!=null&&n.includes("builder.io/api/v1/image"))){if(!this.srcset.includes(this.image.split("?")[0]))return console.debug("Removed given srcset"),A(t)}else if(this.image&&!this.srcset)return A(t);return A(t)},webpSrcSet(){var e;return(e=this.srcSetToUse)!=null&&e.match(/builder\.io/)&&!this.noWebp?this.srcSetToUse.replace(/\?/g,"?format=webp&"):""},aspectRatioCss(){const e={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return this.aspectRatio?e:void 0}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Bt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[n("picture",[t.webpSrcSet?[n("source",{attrs:{type:"image/webp",srcset:t.webpSrcSet}})]:t._e(),n("img",{class:t._classStringToObject("builder-image"+(t.className?" "+t.className:"")+" img-1pl23ac79ld"),style:{objectPosition:t.backgroundPosition||"center",objectFit:t.backgroundSize||"cover",...t.aspectRatioCss},attrs:{loading:"lazy",alt:t.altText,role:t.altText?"presentation":void 0,src:t.image,srcset:t.srcSetToUse,sizes:t.sizes}})],2),t.aspectRatio&&!((r=(o=t.builderBlock)==null?void 0:o.children)!=null&&r.length&&t.fitContent)?[n("div",{staticClass:"builder-image-sizer div-1pl23ac79ld",style:{paddingTop:t.aspectRatio*100+"%"}})]:t._e(),(i=(s=t.builderBlock)==null?void 0:s.children)!=null&&i.length&&t.fitContent?[t._t("default")]:t._e(),!t.fitContent&&t.$slots.default?[n("div",{staticClass:"div-1pl23ac79ld-2"},[t._t("default")],2)]:t._e()],2)},jt=[],Nt=_(Vt,Bt,jt,!1,null,"29cdebee",null,null);const Ft=Nt.exports,Ut=y.defineComponent({name:"builder-section-component",props:["attributes","maxWidth"],data(){return{filterAttrs:R}}});var Mt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("section",t._g(t._b({style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:t.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"}},"section",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._t("default")],2)},Wt=[],Lt=_(Ut,Mt,Wt,!1,null,null,null,null);const Kt=Lt.exports,w="[Builder.io]: ",v={log:(...e)=>console.log(w,...e),error:(...e)=>console.error(w,...e),warn:(...e)=>console.warn(w,...e),debug:(...e)=>console.debug(w,...e)},zt=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return P({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{v.error("Could not fetch symbol content: ",n)})},Gt=()=>Promise.resolve().then(()=>We).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",e),e}),Dt=y.defineComponent({name:"builder-symbol",components:{"content-variants":Gt},props:["js","attributes","symbol","dynamic","builderContext","builderComponents"],data(){var e;return{contentToUse:(e=this.symbol)==null?void 0:e.content,filterAttrs:R}},mounted(){this.setContent()},watch:{onUpdateHook0:{handler(){this.setContent()},immediate:!0}},computed:{className(){var e,t;return[...Object.keys(this.attributes.class),"builder-symbol",(e=this.symbol)!=null&&e.inline?"builder-inline-symbol":void 0,(t=this.symbol)!=null&&t.dynamic||this.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},onUpdateHook0(){return{0:this.symbol}}},methods:{setContent(){this.contentToUse||zt({symbol:this.symbol,builderContextValue:this.builderContext}).then(e=>{e&&(this.contentToUse=e)})},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var qt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._g(t._b({class:t._classStringToObject(t.className)},"div",{...t.filterAttrs(t.attributes,"v-on:",!1)},!1),t.filterAttrs(t.attributes,"v-on:",!0)),[n("content-variants",{attrs:{__isNestedRender:!0,apiVersion:t.builderContext.apiVersion,apiKey:t.builderContext.apiKey,context:t.builderContext.context,customComponents:Object.values(t.builderComponents),data:{...(o=t.symbol)==null?void 0:o.data,...t.builderContext.localState,...(s=(r=t.contentToUse)==null?void 0:r.data)==null?void 0:s.state},model:(i=t.symbol)==null?void 0:i.model,content:t.contentToUse}})],1)},Ht=[],Jt=_(Dt,qt,Ht,!1,null,null,null,null);const Qt=Jt.exports,Xt=y.defineComponent({name:"builder-text",props:["text"]});var Yt=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"builder-text",style:{outline:"none"},domProps:{innerHTML:t._s(((o=t.text)==null?void 0:o.toString())||"")}})},Zt=[],te=_(Xt,Yt,Zt,!1,null,null,null,null);const ee=te.exports,ne=y.defineComponent({name:"builder-video",props:["autoPlay","muted","controls","loop","playsInline","attributes","preload","fit","position","video","posterImage"],computed:{videoProps(){return{...this.autoPlay===!0?{autoPlay:!0}:{},...this.muted===!0?{muted:!0}:{},...this.controls===!0?{controls:!0}:{},...this.loop===!0?{loop:!0}:{},...this.playsInline===!0?{playsInline:!0}:{}}},spreadProps(){return{...this.attributes,...this.videoProps}}}});var oe=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("video",t._b({style:{width:"100%",height:"100%",...(o=t.attributes)==null?void 0:o.style,objectFit:t.fit,objectPosition:t.position,borderRadius:1},attrs:{preload:t.preload||"metadata",src:t.video||"no-src",poster:t.posterImage}},"video",t.spreadProps,!1))},re=[],se=_(ne,oe,re,!1,null,null,null,null);const ie=se.exports,ae=Symbol(),D={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{}},key:ae},ce=Symbol(),q={Components:{registeredComponents:{}},key:ce},le=()=>Promise.resolve().then(()=>require("./block-styles-57f025e0.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",e),e}),ue=()=>Promise.resolve().then(()=>require("./block-7f6b0f80.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block/block.vue",e),e}),de=()=>Promise.resolve().then(()=>require("./blocks-wrapper-be28f72a.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",e),e}),me=y.defineComponent({name:"builder-blocks",components:{"blocks-wrapper":de,block:ue,"block-styles":le},props:["blocks","parent","path","styleProp","context","registeredComponents"],inject:{builderContext:D.key,componentsContext:q.key}});var fe=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("blocks-wrapper",{attrs:{blocks:t.blocks,parent:t.parent,path:t.path,styleProp:t.styleProp}},[t.blocks?t._l(t.blocks,function(o,r){return n("block",{key:"render-block-"+o.id,attrs:{block:o,context:t.context||t.builderContext,registeredComponents:t.registeredComponents||t.componentsContext.registeredComponents}})}):t._e(),t.blocks?t._l(t.blocks,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:t.context||t.builderContext}})}):t._e()],2)},pe=[],he=_(me,fe,pe,!1,null,null,null,null);const O=he.exports,H=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"}));function b(){return typeof window<"u"&&typeof document<"u"}const $=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),ge=({canTrack:e,content:t})=>!(!($(t).length>0)||!e);function _e(e,t,n){var i;function o(){function u(l,h,S){let x="";if(S){const g=new Date;g.setTime(g.getTime()+S*24*60*60*1e3),x="; expires="+g.toUTCString()}document.cookie=l+"="+(h||"")+x+"; path=/; Secure; SameSite=None"}function a(l){const h=l+"=",S=document.cookie.split(";");for(let x=0;x<S.length;x++){let g=S[x];for(;g.charAt(0)===" ";)g=g.substring(1,g.length);if(g.indexOf(h)===0)return g.substring(h.length,g.length)}return null}const d=`builder.tests.${e}`,f=a(d),p=t.map(l=>l.id).concat(e);if(f&&p.includes(f))return f;let c=0;const m=Math.random();for(let l=0;l<t.length;l++){const h=t[l],S=h.testRatio;if(c+=S,m<c)return u(d,h.id),h.id}return u(d,e),e}const r=o(),s=(i=document.currentScript)==null?void 0:i.previousElementSibling;if(n){s.remove();const u=document.currentScript;u==null||u.remove()}else{const u=t.concat({id:e}).filter(a=>a.id!==r).map(a=>`.variant-${a.id} { display: none; }
|
|
26
26
|
`).join("");s.innerHTML=u}}function be(e,t,n){var a;if(!navigator.cookieEnabled)return;function o(d){const f=d+"=",p=document.cookie.split(";");for(let c=0;c<p.length;c++){let m=p[c];for(;m.charAt(0)===" ";)m=m.substring(1,m.length);if(m.indexOf(f)===0)return m.substring(f.length,m.length)}return null}const r=`builder.tests.${t}`,s=o(r),i=(a=document.currentScript)==null?void 0:a.parentElement,u=e===t;if(s===e){if(u)return;i==null||i.removeAttribute("hidden"),i==null||i.removeAttribute("aria-hidden")}else{u&&(n?i==null||i.remove():(i==null||i.setAttribute("hidden","true"),i==null||i.setAttribute("aria-hidden","true")));return}}const ye=e=>e==="react"||e==="reactNative",J=ye(C),Q="builderIoAbTest",X="builderIoRenderContent",ve=()=>{const e=_e.toString().replace(/\s+/g," "),t=be.toString().replace(/\s+/g," ");return`
|
|
27
27
|
window.${Q} = ${e}
|
|
28
28
|
window.${X} = ${t}
|
|
29
29
|
`},Se=(e,t)=>`
|
|
30
30
|
window.${Q}("${t}",${JSON.stringify(e)}, ${J})`,ke=({contentId:e,variationId:t})=>`
|
|
31
|
-
window.${X}("${t}", "${e}", ${J})`,k=e=>e!=null,
|
|
32
|
-
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const st=Ze();function E(e,t=null,n="."){return Object.keys(e).reduce((o,r)=>{const s=e[r],i=[t,r].filter(Boolean).join(n);return[typeof s=="object",s!==null,!(Array.isArray(s)&&s.length===0)].every(Boolean)?{...o,...E(s,i,n)}:{...o,[i]:s}},{})}const K="builder.",tn="options.",en=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},N=e=>{if(!e)return{};const t=it(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(K)){const r=o.replace(K,"").replace(tn,"");n[r]=t[o]}}),n},nn=()=>{if(!b())return{};const e=new URLSearchParams(window.location.search);return N(e)},it=e=>e instanceof URLSearchParams?en(e):e,on="v3",F=e=>{const{limit:
|
|
31
|
+
window.${X}("${t}", "${e}", ${J})`,k=e=>e!=null,T=e=>k(e)?e:!0,Ce=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},Y=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){v.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},Z=async e=>Y(e),xe=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(k).join("; "),we=[["secure",""],["SameSite","None"]],$e=({name:e,value:t,expires:n})=>{const r=(b()?location.protocol==="https:":!0)?we:[[]],s=n?[["expires",n.toUTCString()]]:[[]],i=[[e,t],...s,["path","/"],["domain",Ce(window.location.hostname)],...r];return xe(i)},tt=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const r=$e({name:e,value:t,expires:n});document.cookie=r}catch(r){v.warn("[COOKIE] SET error: ",(r==null?void 0:r.message)||r)}},Te="builder.tests",V=e=>`${Te}.${e}`,Re=({contentId:e})=>Z({name:V(e),canTrack:!0}),Ie=({contentId:e})=>Y({name:V(e),canTrack:!0}),Pe=({contentId:e,value:t})=>tt({name:V(e),value:t,canTrack:!0}),et=e=>k(e.id)&&k(e.variations)&&Object.keys(e.variations).length>0,Ae=({id:e,variations:t})=>{var r;let n=0;const o=Math.random();for(const s in t){const i=(r=t[s])==null?void 0:r.testRatio;if(n+=i,o<n)return s}return e},nt=e=>{const t=Ae(e);return Pe({contentId:e.id,value:t}).catch(n=>{v.error("could not store A/B test variation: ",n)}),t},ot=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},Ee=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!et(e))return e;const n=Ie({contentId:e.id})||nt({variations:e.variations,id:e.id}),o=ot({item:e,testGroupId:n});return{...e,...o}},Oe=async({item:e,canTrack:t})=>{if(!t||!et(e))return e;const o=await Re({contentId:e.id})||nt({variations:e.variations,id:e.id}),r=ot({item:e,testGroupId:o});return{...e,...r}},Ve=()=>Promise.resolve().then(()=>require("./content-6d81d16f.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentComponent at ../content/content.vue",e),e}),Be=()=>Promise.resolve().then(()=>require("./inlined-styles-375c218f.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",e),e}),je=()=>Promise.resolve().then(()=>require("./inlined-script-f370acdf.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",e),e}),Ne=y.defineComponent({name:"content-variants",components:{"inlined-script":je,"inlined-styles":Be,"content-component":Ve},props:["canTrack","content","__isNestedRender","model","data","context","apiKey","apiVersion","customComponents","locale","includeRefs","enrich"],data(){return{shouldRenderVariants:ge({canTrack:T(this.canTrack),content:this.content}),getScriptString:ve,getVariants:$,TARGET:C}},mounted(){this.shouldRenderVariants=!1},computed:{variantScriptStr(){var e;return Se($(this.content).map(t=>({id:t.testVariationId,testRatio:t.testRatio})),((e=this.content)==null?void 0:e.id)||"")},hideVariantsStyleString(){return $(this.content).map(e=>`.variant-${e.testVariationId} { display: none; } `).join("")},defaultContent(){var e;return this.shouldRenderVariants?{...this.content,testVariationId:(e=this.content)==null?void 0:e.id}:Ee({item:this.content,canTrack:T(this.canTrack)})}}});var Fe=function(){var o,r;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[!t.__isNestedRender&&t.TARGET!=="reactNative"?[n("inlined-script",{attrs:{scriptStr:t.getScriptString()}})]:t._e(),t.shouldRenderVariants?[n("inlined-styles",{attrs:{id:`variants-styles-${(o=t.content)==null?void 0:o.id}`,styles:t.hideVariantsStyleString}}),n("inlined-script",{attrs:{scriptStr:t.variantScriptStr}}),t._l(t.getVariants(t.content),function(s,i){return n("content-component",{key:s.testVariationId,attrs:{content:s,showContent:!1,classNameProp:void 0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}})})]:t._e(),n("content-component",t._b({attrs:{content:t.defaultContent,classNameProp:`variant-${(r=t.content)==null?void 0:r.id}`,showContent:!0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}},"content-component",{key:t.shouldRenderVariants.toString()},!1))],2)},Ue=[],Me=_(Ne,Fe,Ue,!1,null,null,null,null);const B=Me.exports,We=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),Le=O,Ke=B;function ze(){return b()&&window.self!==window.top}function j(){return ze()&&window.location.search.indexOf("builder.frameEditing=")!==-1}function Ge(){return!b()||j()?!1:location.search.indexOf("builder.preview=")!==-1}const De=[],qe=e=>({type:"builder.registerComponent",data:rt(e)}),He=e=>{const t=e.toString().trim();return`return (${!t.startsWith("function")&&!t.startsWith("(")?"function ":""}${t}).apply(this, arguments)`},Je=e=>typeof e=="function"?He(e):I(e),rt=({inputs:e,...t})=>({...I(t),inputs:e==null?void 0:e.map(n=>Object.entries(n).reduce((o,[r,s])=>({...o,[r]:Je(s)}),{}))}),W={};function Qe(e,t){let n=W[e];if(n||(n=W[e]=[]),n.push(t),b()){const o={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(r){console.debug("Could not postmessage",r)}}}const L={};function Xe(e){if(b()){Object.assign(L,e);const t={type:"builder.settingsChange",data:L};parent.postMessage(t,"*")}}function Ye(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:globalThis}function Ze(){const e=Ye().fetch;if(typeof e>"u")throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
32
|
+
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const st=Ze();function E(e,t=null,n="."){return Object.keys(e).reduce((o,r)=>{const s=e[r],i=[t,r].filter(Boolean).join(n);return[typeof s=="object",s!==null,!(Array.isArray(s)&&s.length===0)].every(Boolean)?{...o,...E(s,i,n)}:{...o,[i]:s}},{})}const K="builder.",tn="options.",en=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},N=e=>{if(!e)return{};const t=it(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(K)){const r=o.replace(K,"").replace(tn,"");n[r]=t[o]}}),n},nn=()=>{if(!b())return{};const e=new URLSearchParams(window.location.search);return N(e)},it=e=>e instanceof URLSearchParams?en(e):e,on="v3",F=e=>{let{noTraverse:t=!1}=e;const{limit:n=30,userAttributes:o,query:r,model:s,apiKey:i,includeRefs:u=!0,enrich:a,locale:d,apiVersion:f=on}=e;if(!i)throw new Error("Missing API key");if(!["v2","v3"].includes(f))throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${f}'`);(e.limit===void 0||e.limit>1)&&!("noTraverse"in e)&&(t=!0);const p=new URL(`https://cdn.builder.io/api/${f}/content/${s}?apiKey=${i}&limit=${n}&noTraverse=${t}&includeRefs=${u}${d?`&locale=${d}`:""}${a?`&enrich=${a}`:""}`),c={...nn(),...it(e.options||{})},m=E(c);for(const l in m)p.searchParams.set(l,String(m[l]));if(o&&p.searchParams.set("userAttributes",JSON.stringify(o)),r){const l=E({query:r});for(const h in l)p.searchParams.set(h,JSON.stringify(l[h]))}return p},rn=e=>"results"in e;async function P(e){const t=await U({...e,limit:1});return t&&t.results[0]||null}const sn=P,an=async e=>{const t=F(e);return await(await st(t.href)).json()},at=async(e,t,n=F(e))=>{const o=T(e.canTrack);if(n.search.includes("preview="),!o||!(b()||C==="reactNative"))return t;try{const r=[];for(const s of t.results)r.push(await Oe({item:s,canTrack:o}));t.results=r}catch(r){v.error("Could not process A/B tests. ",r)}return t};async function U(e){try{const t=F(e),n=await an(e);return rn(n)?at(e,n):(v.error("Error fetching data. ",{url:t,content:n,options:e}),null)}catch(t){return v.error("Error fetching data. ",t),null}}const cn=U;function ln(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function ct(){return ln().replace(/-/g,"")}const lt="builderSessionId",un=async({canTrack:e})=>{if(!e)return;const t=await Z({name:lt,canTrack:e});if(k(t))return t;{const n=dn();return mn({id:n,canTrack:e}),n}},dn=()=>ct(),mn=({id:e,canTrack:t})=>tt({name:lt,value:e,canTrack:t}),ut=()=>b()&&typeof localStorage<"u"?localStorage:void 0,fn=({key:e,canTrack:t})=>{var n;try{return t?(n=ut())==null?void 0:n.getItem(e):void 0}catch(o){console.debug("[LocalStorage] GET error: ",o);return}},pn=({key:e,canTrack:t,value:n})=>{var o;try{t&&((o=ut())==null||o.setItem(e,n))}catch(r){console.debug("[LocalStorage] SET error: ",r)}},dt="builderVisitorId",hn=({canTrack:e})=>{if(!e)return;const t=fn({key:dt,canTrack:e});if(k(t))return t;{const n=gn();return _n({id:n,canTrack:e}),n}},gn=()=>ct(),_n=({id:e,canTrack:t})=>pn({key:dt,value:e,canTrack:t}),bn=()=>{if(b()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},yn=()=>typeof navigator=="object"&&navigator.userAgent||"",mt=()=>{const e=yn(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||C==="reactNative"}},n=e.match(/Tablet|iPad/i),o=bn();return{urlPath:o==null?void 0:o.pathname,host:(o==null?void 0:o.host)||(o==null?void 0:o.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},vn=async({canTrack:e})=>{if(!e)return{visitorId:void 0,sessionId:void 0};const t=await un({canTrack:e}),n=hn({canTrack:e});return{sessionId:t,visitorId:n}},Sn=async({type:e,canTrack:t,apiKey:n,metadata:o,...r})=>({type:e,data:{...r,metadata:{url:location.href,...o},...await vn({canTrack:t}),userAttributes:mt(),ownerId:n}});async function ft(e){if(!e.apiKey){v.error("Missing API key for track call. Please provide your API key.");return}if(e.canTrack&&!j()&&(b()||C==="reactNative"))return fetch("https://cdn.builder.io/api/v1/track",{method:"POST",body:JSON.stringify({events:[await Sn(e)]}),headers:{"content-type":"application/json"},mode:"cors"}).catch(t=>{console.error("Failed to track: ",t)})}const kn=e=>ft({...e,canTrack:!0}),Cn=async e=>{var o,r,s;const t=e.path||((o=e.url)==null?void 0:o.pathname)||((r=e.userAttributes)==null?void 0:r.urlPath),n={...e,apiKey:e.apiKey,model:e.model||"page",userAttributes:{...e.userAttributes,...t?{urlPath:t}:{}},options:N(e.searchParams||((s=e.url)==null?void 0:s.searchParams)||e.options)};return{apiKey:n.apiKey,model:n.model,content:await P(n)}};exports.Blocks=O;exports.Button=bt;exports.Columns=$t;exports.ComponentsContext=q;exports.Content=B;exports.Fragment=At;exports.Image=Ft;exports.RenderBlocks=Le;exports.RenderContent=Ke;exports.Section=Kt;exports.Symbol=Qt;exports.TARGET=C;exports.Text=ee;exports.Video=ie;exports._processContentResult=at;exports._track=ft;exports.blocks=H;exports.builderContext=D;exports.checkIsDefined=k;exports.components=De;exports.createRegisterComponentMessage=qe;exports.fastClone=I;exports.fetch=st;exports.fetchBuilderProps=Cn;exports.fetchEntries=U;exports.fetchOneEntry=P;exports.filterAttrs=R;exports.getAllContent=cn;exports.getBuilderSearchParams=N;exports.getContent=sn;exports.getDefaultCanTrack=T;exports.getMaxWidthQueryForSize=yt;exports.getRenderContentScriptString=ke;exports.getSizesForBreakpoints=G;exports.getUserAttributes=mt;exports.isBrowser=b;exports.isEditing=j;exports.isPreviewing=Ge;exports.logger=v;exports.normalizeComponent=_;exports.register=Qe;exports.serializeComponentInfo=rt;exports.setEditorSettings=Xe;exports.track=kn;
|
package/vue2/lib/edge/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cb2684cd.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|