@emailmaker/emailmaker 1.0.48 → 1.0.50

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.
Files changed (53) hide show
  1. package/README.md +1 -1
  2. package/asset-manifest.json +34 -32
  3. package/emailmaker-esm.js +1 -1
  4. package/emailmaker.js +1 -1
  5. package/iframe/429.js +1 -0
  6. package/iframe/css/sandbox.css +20 -2
  7. package/iframe/{iframe-eblock.a19b4b005600512ad57d.html → iframe-eblock.3347c72c85af92a68e68.html} +1 -1
  8. package/iframe/{iframe.a19b4b005600512ad57d.html → iframe.3347c72c85af92a68e68.html} +1 -1
  9. package/iframe/js/cssbeautify.js +1 -1
  10. package/iframe/sandbox-eblock.js +1 -1
  11. package/iframe/sandbox.js +1 -1
  12. package/package.json +1 -1
  13. package/plugin.html +1 -1
  14. package/plugin_blocks_test.html +1 -1
  15. package/plugin_default.html +1 -1
  16. package/plugin_s.html +1 -1
  17. package/static/js/1477.46df6668.js +2 -0
  18. package/static/js/1481.cd1a0886.js +1 -0
  19. package/static/js/1729.48808a7e.chunk.js +1 -0
  20. package/static/js/1813.e0bee286.js +1 -0
  21. package/static/js/{1821.dafa50f8.js → 1821.cbca44c5.js} +1 -1
  22. package/static/js/{2208.5f05988a.js → 2208.f73122ba.js} +1 -1
  23. package/static/js/{3430.bec16278.js → 3430.0fd120a4.js} +1 -1
  24. package/static/js/{3710.193d2d5a.chunk.js → 3710.0baf371f.chunk.js} +1 -1
  25. package/static/js/{5130.785486e8.js → 5130.0a524bcd.js} +2 -2
  26. package/static/js/{5571.cca36131.js → 5571.c89c79dc.js} +1 -1
  27. package/static/js/{5974.b325ee33.chunk.js → 5974.b84228a5.chunk.js} +2 -2
  28. package/static/js/6003.8d228b96.js +1 -0
  29. package/static/js/6430.0f6c23d8.js +2 -0
  30. package/static/js/{4384.d7dc931a.js.LICENSE.txt → 6430.0f6c23d8.js.LICENSE.txt} +0 -7
  31. package/static/js/6453.bbda855c.js +1 -0
  32. package/static/js/7159.56dbb0aa.js +2 -0
  33. package/static/js/7159.56dbb0aa.js.LICENSE.txt +13 -0
  34. package/static/js/{8458.004e0f0c.js → 8458.f8ef5e55.js} +1 -1
  35. package/static/js/8689.5ec8c633.chunk.js +1 -0
  36. package/static/js/{9593.8a0e7a2e.js → 9202.de849f35.js} +2 -2
  37. package/static/js/{9593.8a0e7a2e.js.LICENSE.txt → 9202.de849f35.js.LICENSE.txt} +0 -7
  38. package/static/js/9689.a67829e8.js +1 -0
  39. package/static/js/{emailmaker_core.7cf76221.js → emailmaker_core.22b19970.js} +1 -1
  40. package/translations.pot +9 -9
  41. package/static/js/1472.4f1f2346.js +0 -1
  42. package/static/js/1729.b71e4a99.chunk.js +0 -1
  43. package/static/js/2896.ce4941ab.js +0 -2
  44. package/static/js/2896.ce4941ab.js.LICENSE.txt +0 -6
  45. package/static/js/353.3e6b29fb.js +0 -1
  46. package/static/js/3593.f09ad9a7.js +0 -1
  47. package/static/js/4384.d7dc931a.js +0 -2
  48. package/static/js/7698.28da948c.js +0 -1
  49. package/static/js/8689.63fa1dc3.chunk.js +0 -1
  50. package/static/js/9878.cca6854e.js +0 -2
  51. /package/static/js/{9878.cca6854e.js.LICENSE.txt → 1477.46df6668.js.LICENSE.txt} +0 -0
  52. /package/static/js/{5130.785486e8.js.LICENSE.txt → 5130.0a524bcd.js.LICENSE.txt} +0 -0
  53. /package/static/js/{5974.b325ee33.chunk.js.LICENSE.txt → 5974.b84228a5.chunk.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emailmaker/emailmaker",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "private": false,
5
5
  "main": "emailmaker.js",
6
6
  "module": "emailmaker-esm.js",
package/plugin.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?b791249c6ddd572ea8ba"></script></head><body><button id="change_theme" style="width: 150px; height: 30px">Click Me</button><div style="background: white; width: 100%; height: 50px; display: flex; justify-content: center; align-items: center"></div><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?b791249c6ddd572ea8ba";
1
+ <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?9758857452ccd4c9d420"></script></head><body><button id="change_theme" style="width: 150px; height: 30px">Click Me</button><div style="background: white; width: 100%; height: 50px; display: flex; justify-content: center; align-items: center"></div><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?9758857452ccd4c9d420";
2
2
  const auth_jwt = {
3
3
  username: '****',
4
4
  password: '****',
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?b791249c6ddd572ea8ba"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">const getAuthToken = async () => {
1
+ <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?9758857452ccd4c9d420"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">const getAuthToken = async () => {
2
2
  var requestOptions = {
3
3
  method: 'POST',
4
4
  redirect: 'follow',
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?b791249c6ddd572ea8ba"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?b791249c6ddd572ea8ba";
1
+ <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?9758857452ccd4c9d420"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?9758857452ccd4c9d420";
2
2
  const auth_jwt = {
3
3
  username: "****",
4
4
  password: "****"
package/plugin_s.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?b791249c6ddd572ea8ba"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">const getAuthToken = async () => {
1
+ <!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?9758857452ccd4c9d420"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">const getAuthToken = async () => {
2
2
 
3
3
  var requestOptions = {
4
4
  method: 'POST',
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 1477.46df6668.js.LICENSE.txt */
2
+ (globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1477],{84362:(t,e,r)=>{"use strict";var n=r(91002)(),o=r(4545)("Object.prototype.toString"),c=function(t){return!(n&&t&&"object"===typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},i=function(t){return!!c(t)||null!==t&&"object"===typeof t&&"number"===typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},a=function(){return c(arguments)}();c.isLegacyArguments=i,t.exports=a?c:i},41248:t=>{function e(t){return!!t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"===typeof t.readFloatLE&&"function"===typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},35786:t=>{"use strict";var e,r,n=Function.prototype.toString,o="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof o&&"function"===typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o((function(){throw 42}),null,e)}catch(d){d!==r&&(o=null)}else o=null;var c=/^\s*class\b/,i=function(t){try{var e=n.call(t);return c.test(e)}catch(r){return!1}},a=function(t){try{return!i(t)&&(n.call(t),!0)}catch(e){return!1}},u=Object.prototype.toString,f="function"===typeof Symbol&&!!Symbol.toStringTag,s=!(0 in[,]),l=function(){return!1};if("object"===typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(l=function(t){if((s||!t)&&("undefined"===typeof t||"object"===typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(r){}return!1})}t.exports=o?function(t){if(l(t))return!0;if(!t)return!1;if("function"!==typeof t&&"object"!==typeof t)return!1;try{o(t,null,e)}catch(n){if(n!==r)return!1}return!i(t)&&a(t)}:function(t){if(l(t))return!0;if(!t)return!1;if("function"!==typeof t&&"object"!==typeof t)return!1;if(f)return a(t);if(i(t))return!1;var e=u.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)}},33962:(t,e,r)=>{"use strict";var n,o=Object.prototype.toString,c=Function.prototype.toString,i=/^\s*(?:function)?\*/,a=r(91002)(),u=Object.getPrototypeOf;t.exports=function(t){if("function"!==typeof t)return!1;if(i.test(c.call(t)))return!0;if(!a)return"[object GeneratorFunction]"===o.call(t);if(!u)return!1;if("undefined"===typeof n){var e=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&u(e)}return u(t)===n}},2566:(t,e,r)=>{"use strict";var n=r(88317);t.exports=function(t){return!!n(t)}},99211:(t,e,r)=>{var n=r(9766),o=function(t){var e="",r=Object.keys(t);return r.forEach((function(o,c){var i=t[o];(function(t){return/[height|width]$/.test(t)})(o=n(o))&&"number"===typeof i&&(i+="px"),e+=!0===i?o:!1===i?"not "+o:"("+o+": "+i+")",c<r.length-1&&(e+=" and ")})),e};t.exports=function(t){var e="";return"string"===typeof t?t:t instanceof Array?(t.forEach((function(r,n){e+=o(r),n<t.length-1&&(e+=", ")})),e):o(t)}},48409:(t,e,r)=>{!function(){var e=r(29981),n=r(80985).utf8,o=r(41248),c=r(80985).bin,i=function(t,r){t.constructor==String?t=r&&"binary"===r.encoding?c.stringToBytes(t):n.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var a=e.bytesToWords(t),u=8*t.length,f=1732584193,s=-271733879,l=-1732584194,p=271733878,d=0;d<a.length;d++)a[d]=16711935&(a[d]<<8|a[d]>>>24)|4278255360&(a[d]<<24|a[d]>>>8);a[u>>>5]|=128<<u%32,a[14+(u+64>>>9<<4)]=u;var y=i._ff,h=i._gg,b=i._hh,g=i._ii;for(d=0;d<a.length;d+=16){var m=f,A=s,v=l,w=p;f=y(f,s,l,p,a[d+0],7,-680876936),p=y(p,f,s,l,a[d+1],12,-389564586),l=y(l,p,f,s,a[d+2],17,606105819),s=y(s,l,p,f,a[d+3],22,-1044525330),f=y(f,s,l,p,a[d+4],7,-176418897),p=y(p,f,s,l,a[d+5],12,1200080426),l=y(l,p,f,s,a[d+6],17,-1473231341),s=y(s,l,p,f,a[d+7],22,-45705983),f=y(f,s,l,p,a[d+8],7,1770035416),p=y(p,f,s,l,a[d+9],12,-1958414417),l=y(l,p,f,s,a[d+10],17,-42063),s=y(s,l,p,f,a[d+11],22,-1990404162),f=y(f,s,l,p,a[d+12],7,1804603682),p=y(p,f,s,l,a[d+13],12,-40341101),l=y(l,p,f,s,a[d+14],17,-1502002290),f=h(f,s=y(s,l,p,f,a[d+15],22,1236535329),l,p,a[d+1],5,-165796510),p=h(p,f,s,l,a[d+6],9,-1069501632),l=h(l,p,f,s,a[d+11],14,643717713),s=h(s,l,p,f,a[d+0],20,-373897302),f=h(f,s,l,p,a[d+5],5,-701558691),p=h(p,f,s,l,a[d+10],9,38016083),l=h(l,p,f,s,a[d+15],14,-660478335),s=h(s,l,p,f,a[d+4],20,-405537848),f=h(f,s,l,p,a[d+9],5,568446438),p=h(p,f,s,l,a[d+14],9,-1019803690),l=h(l,p,f,s,a[d+3],14,-187363961),s=h(s,l,p,f,a[d+8],20,1163531501),f=h(f,s,l,p,a[d+13],5,-1444681467),p=h(p,f,s,l,a[d+2],9,-51403784),l=h(l,p,f,s,a[d+7],14,1735328473),f=b(f,s=h(s,l,p,f,a[d+12],20,-1926607734),l,p,a[d+5],4,-378558),p=b(p,f,s,l,a[d+8],11,-2022574463),l=b(l,p,f,s,a[d+11],16,1839030562),s=b(s,l,p,f,a[d+14],23,-35309556),f=b(f,s,l,p,a[d+1],4,-1530992060),p=b(p,f,s,l,a[d+4],11,1272893353),l=b(l,p,f,s,a[d+7],16,-155497632),s=b(s,l,p,f,a[d+10],23,-1094730640),f=b(f,s,l,p,a[d+13],4,681279174),p=b(p,f,s,l,a[d+0],11,-358537222),l=b(l,p,f,s,a[d+3],16,-722521979),s=b(s,l,p,f,a[d+6],23,76029189),f=b(f,s,l,p,a[d+9],4,-640364487),p=b(p,f,s,l,a[d+12],11,-421815835),l=b(l,p,f,s,a[d+15],16,530742520),f=g(f,s=b(s,l,p,f,a[d+2],23,-995338651),l,p,a[d+0],6,-198630844),p=g(p,f,s,l,a[d+7],10,1126891415),l=g(l,p,f,s,a[d+14],15,-1416354905),s=g(s,l,p,f,a[d+5],21,-57434055),f=g(f,s,l,p,a[d+12],6,1700485571),p=g(p,f,s,l,a[d+3],10,-1894986606),l=g(l,p,f,s,a[d+10],15,-1051523),s=g(s,l,p,f,a[d+1],21,-2054922799),f=g(f,s,l,p,a[d+8],6,1873313359),p=g(p,f,s,l,a[d+15],10,-30611744),l=g(l,p,f,s,a[d+6],15,-1560198380),s=g(s,l,p,f,a[d+13],21,1309151649),f=g(f,s,l,p,a[d+4],6,-145523070),p=g(p,f,s,l,a[d+11],10,-1120210379),l=g(l,p,f,s,a[d+2],15,718787259),s=g(s,l,p,f,a[d+9],21,-343485551),f=f+m>>>0,s=s+A>>>0,l=l+v>>>0,p=p+w>>>0}return e.endian([f,s,l,p])};i._ff=function(t,e,r,n,o,c,i){var a=t+(e&r|~e&n)+(o>>>0)+i;return(a<<c|a>>>32-c)+e},i._gg=function(t,e,r,n,o,c,i){var a=t+(e&n|r&~n)+(o>>>0)+i;return(a<<c|a>>>32-c)+e},i._hh=function(t,e,r,n,o,c,i){var a=t+(e^r^n)+(o>>>0)+i;return(a<<c|a>>>32-c)+e},i._ii=function(t,e,r,n,o,c,i){var a=t+(r^(e|~n))+(o>>>0)+i;return(a<<c|a>>>32-c)+e},i._blocksize=16,i._digestsize=16,t.exports=function(t,r){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var n=e.wordsToBytes(i(t,r));return r&&r.asBytes?n:r&&r.asString?c.bytesToString(n):e.bytesToHex(n)}}()},62813:(t,e,r)=>{"use strict";r.d(e,{o4:()=>W});var n=r(33825).Buffer;const o="3.7.2",c=o,i="function"===typeof atob,a="function"===typeof btoa,u="function"===typeof n,f="function"===typeof TextDecoder?new TextDecoder:void 0,s="function"===typeof TextEncoder?new TextEncoder:void 0,l=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),p=(t=>{let e={};return t.forEach(((t,r)=>e[t]=r)),e})(l),d=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,y=String.fromCharCode.bind(String),h="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(t,e=(t=>t))=>new Uint8Array(Array.prototype.slice.call(t,0).map(e)),b=t=>t.replace(/=/g,"").replace(/[+\/]/g,(t=>"+"==t?"-":"_")),g=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),m=t=>{let e,r,n,o,c="";const i=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,c+=l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}return i?c.slice(0,i-3)+"===".substring(i):c},A=a?t=>btoa(t):u?t=>n.from(t,"binary").toString("base64"):m,v=u?t=>n.from(t).toString("base64"):t=>{let e=[];for(let r=0,n=t.length;r<n;r+=4096)e.push(y.apply(null,t.subarray(r,r+4096)));return A(e.join(""))},w=(t,e=!1)=>e?b(v(t)):v(t),j=t=>{if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?y(192|e>>>6)+y(128|63&e):y(224|e>>>12&15)+y(128|e>>>6&63)+y(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return y(240|e>>>18&7)+y(128|e>>>12&63)+y(128|e>>>6&63)+y(128|63&e)},x=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,C=t=>t.replace(x,j),S=u?t=>n.from(t,"utf8").toString("base64"):s?t=>v(s.encode(t)):t=>A(C(t)),T=(t,e=!1)=>e?b(S(t)):S(t),O=t=>T(t,!0),E=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,F=t=>{switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return y(55296+(e>>>10))+y(56320+(1023&e));case 3:return y((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return y((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},R=t=>t.replace(E,F),B=t=>{if(t=t.replace(/\s+/g,""),!d.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,r,n,o="";for(let c=0;c<t.length;)e=p[t.charAt(c++)]<<18|p[t.charAt(c++)]<<12|(r=p[t.charAt(c++)])<<6|(n=p[t.charAt(c++)]),o+=64===r?y(e>>16&255):64===n?y(e>>16&255,e>>8&255):y(e>>16&255,e>>8&255,255&e);return o},U=i?t=>atob(g(t)):u?t=>n.from(t,"base64").toString("binary"):B,_=u?t=>h(n.from(t,"base64")):t=>h(U(t),(t=>t.charCodeAt(0))),I=t=>_(J(t)),D=u?t=>n.from(t,"base64").toString("utf8"):f?t=>f.decode(_(t)):t=>R(U(t)),J=t=>g(t.replace(/[-_]/g,(t=>"-"==t?"+":"/"))),k=t=>D(J(t)),z=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),L=function(){const t=(t,e)=>Object.defineProperty(String.prototype,t,z(e));t("fromBase64",(function(){return k(this)})),t("toBase64",(function(t){return T(this,t)})),t("toBase64URI",(function(){return T(this,!0)})),t("toBase64URL",(function(){return T(this,!0)})),t("toUint8Array",(function(){return I(this)}))},P=function(){const t=(t,e)=>Object.defineProperty(Uint8Array.prototype,t,z(e));t("toBase64",(function(t){return w(this,t)})),t("toBase64URI",(function(){return w(this,!0)})),t("toBase64URL",(function(){return w(this,!0)}))},W={version:o,VERSION:c,atob:U,atobPolyfill:B,btoa:A,btoaPolyfill:m,fromBase64:k,toBase64:T,encode:T,encodeURI:O,encodeURL:O,utob:C,btou:R,decode:k,isValid:t=>{if("string"!==typeof t)return!1;const e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},fromUint8Array:w,toUint8Array:I,extendString:L,extendUint8Array:P,extendBuiltins:()=>{L(),P()}}},49211:(t,e,r)=>{"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}r.d(e,{A:()=>c});var o=function t(e,r){function o(t,o,c){if("undefined"!==typeof document){"number"===typeof(c=n({},r,c)).expires&&(c.expires=new Date(Date.now()+864e5*c.expires)),c.expires&&(c.expires=c.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var a in c)c[a]&&(i+="; "+a,!0!==c[a]&&(i+="="+c[a].split(";")[0]));return document.cookie=t+"="+e.write(o,t)+i}}return Object.create({set:o,get:function(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var c=r[o].split("="),i=c.slice(1).join("=");try{var a=decodeURIComponent(c[0]);if(n[a]=e.read(i,a),t===a)break}catch(u){}}return t?n[t]:n}},remove:function(t,e){o(t,"",n({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,n({},this.attributes,e))},withConverter:function(e){return t(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const c=o},47271:(t,e,r)=>{"use strict";r.d(e,{iU:()=>s});new TextEncoder;const n=new TextDecoder;const o=t=>{let e=t;e instanceof Uint8Array&&(e=n.decode(e)),e=e.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return(t=>{const e=atob(t),r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r})(e)}catch(r){throw new TypeError("The input to be decoded is not correctly encoded.")}};class c extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(t){var e;super(t),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,null===(e=Error.captureStackTrace)||void 0===e||e.call(Error,this,this.constructor)}}class i extends c{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}Symbol.asyncIterator;const a=crypto;a.getRandomValues.bind(a);function u(t){if("object"!==typeof(e=t)||null===e||"[object Object]"!==Object.prototype.toString.call(t))return!1;var e;if(null===Object.getPrototypeOf(t))return!0;let r=t;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r}Symbol();const f=o;function s(t){if("string"!==typeof t)throw new i("JWTs must use Compact JWS serialization, JWT must be a string");const{1:e,length:r}=t.split(".");if(5===r)throw new i("Only JWTs using Compact JWS serialization can be decoded");if(3!==r)throw new i("Invalid JWT");if(!e)throw new i("JWTs must contain a payload");let o,c;try{o=f(e)}catch(a){throw new i("Failed to base64url decode the payload")}try{c=JSON.parse(n.decode(o))}catch(s){throw new i("Failed to parse the decoded payload as JSON")}if(!u(c))throw new i("Invalid JWT Claims Set");return c}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1481,6453],{90854:(e,t,r)=>{r.d(t,{A6:()=>l,AH:()=>d,BF:()=>m,Cn:()=>y,Lv:()=>b,M6:()=>u,ST:()=>f,TM:()=>o,b6:()=>S,d1:()=>T,ih:()=>v,ir:()=>w,rq:()=>A,uE:()=>c,vq:()=>a,wz:()=>p});const n=new Set(["area","br","col","embed","hr","img","input","link","meta","param"]);function o(e){return"<!DOCTYPE "+e.name+(e.publicId?' PUBLIC "'+e.publicId+'"':"")+(!e.publicId&&e.systemId?" SYSTEM":"")+(e.systemId?' "'+e.systemId+'"':"")+">"}const s=Object.create(null);function i(e,t){const r=s[e]||(s[e]=Object.create(null));let n=r[t];if("boolean"!==typeof n){const o=document.createElement(e)[t.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g,((e,t)=>t.toUpperCase()))];n=r[t]="undefined"!==typeof o&&"boolean"!==typeof o}return n}function a(e){return e.nodeType===Node.ELEMENT_NODE}function c(e){return a(e)&&!e.ownerSVGElement}function l(e){return"IMG"===e.tagName}function u(e){return"AMP-IMG"===e.tagName}function m(e){return"FORM"===e.tagName}function f(e){return"STYLE"===e.tagName}function p(e){return e.nodeType===Node.DOCUMENT_NODE}let d;var h;function y(e){return e.nodeType===Node.COMMENT_NODE}(h=d||(d={})).isStyleRule=function(e){return"CSSStyleRule"===e.constructor.name},h.isImportRule=function(e){return"CSSImportRule"===e.constructor.name},h.isMediaRule=function(e){return"CSSMediaRule"===e.constructor.name},h.isFontFaceRule=function(e){return"CSSFontFaceRule"===e.constructor.name},h.isPageRule=function(e){return"CSSPageRule"===e.constructor.name},h.isKeyframesRule=function(e){return"CSSKeyframesRule"===e.constructor.name},h.isKeyframeRuleRule=function(e){return"CSSKeyframeRule"===e.constructor.name},h.isNamespaceRule=function(e){return"CSSNamespaceRule"===e.constructor.name},h.isCounterStyleRule=function(e){return"CSSCounterStyleRule"===e.constructor.name},h.isSupportsRule=function(e){return"CSSSupportsRule"===e.constructor.name},h.isFontFeatureValuesRuleRule=function(e){return"CSSFontFeatureValuesRule"===e.constructor.name};const g=/(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;function v(e){const t=S(e).matchAll(g);if(t)for(const r of t){const[,e,,t,n]=r;return{open:e,close:n,content:t}}}function w(e){return e.nodeType===Node.TEXT_NODE}function b(e){return"TABLE"===e.tagName}async function A(e,t=5e3){return"undefined"===typeof e.complete||e.complete?getComputedStyle(e):new Promise(((r,n)=>{setTimeout(r,t),e.onload=()=>r(getComputedStyle(e)),e.onerror=e=>console.log(e)}))}function S(e){if(a(e))return function(e){var t;const r=(null===(t=Object.getOwnPropertyDescriptor(e,"$$tagName"))||void 0===t?void 0:t.value)||e.tagName.toLowerCase(),o=function(e){const t=e.tagName.toLowerCase();let r="";for(const n of e.attributes){const e=n.name,o=n.value;r+=""!==o||"em"===e||i(t,e)?` ${e}="${o.replaceAll('"',"'")}"`:` ${e}`}return r}(e);return n.has(r.toLowerCase())?`<${r}${o}>`:f(e)?`<${r}${o}>${e.innerHTML}</${r}>`:`<${r}${o}>${function(e){let t="";for(const r of e.childNodes)t+=S(r);return t}(e)}</${r}>`}(e);if(p(e))return[...e.childNodes].map((e=>S(e))).join("");if(function(e){return e.nodeType===Node.DOCUMENT_TYPE_NODE}(e))return o(e);const t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function T(e,t){for(const s of e.childNodes)s.remove();let r=t.find((e=>function(e){return"HTML"===e.tagName}(e))),n=t.find((e=>function(e){return"BODY"===e.tagName}(e))),o=e;r||(r=e.createElement("html"),e.appendChild(r),o=r,n||(n=e.createElement("body"),r.appendChild(n),o=n));for(const s of t)o===e&&w(s)?o.appendChild(e.createComment(`%%%{{{${s.data}}}}%%%`)):o.appendChild(s)}},84007:(e,t,r)=>{r.d(t,{$$:()=>m,Os:()=>l});var n=r(16799),o=r(8357),s=r(61704);const i=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"],a=new n.H(i),c=new o.X(a);function l(e,t,r){try{e.setAttribute(t,r)}catch{let n=e.tagName.toLowerCase();"html"===n&&(n="div");const o=`<${n} ${t}="${r}"/>`;let s=function(e){let t;switch(null===e||void 0===e?void 0:e.toLowerCase()){case"tr":t=document.createElement("table");break;case"td":t=document.createElement("tr");break;case"head":case"body":t=document.createElement("html");break;case"DocumentType":case"html":{const e=document.implementation.createHTMLDocument();for(const t of[...e.childNodes])t.remove();return e}default:t=document.createElement("div")}return t}(n);if(s instanceof Document)return;s.innerHTML=o;const i=s.querySelector(n);if(!i)throw new Error("targetElement is not defined");const a=i.getAttributeNode(t);a&&e.setAttributeNode(a.cloneNode())}}function u(e,t=!0){let r=e.content;switch(e.type){case s.Z.ROOT:{const r=document.implementation.createHTMLDocument();for(const e of[...r.childNodes])r.removeChild(e);if(t)for(const t of e.children)r.appendChild(u(t));return r}case s.Z.DOCTYPE:return(new DOMParser).parseFromString(`<!DOCTYPE${e.content}>`,"text/html").doctype;case s.Z.COMMENT:return document.createComment(r||"");case s.Z.ELEMENT:if(e.tag){const r=document.createElement(e.tag);if(Object.defineProperty(r,"$$tagName",{enumerable:!1,configurable:!1,value:e.tag}),e.attributes)for(const t of e.attributeNames){const o=e.attributes[t];try{l(r,t,"string"===typeof o?o:"")}catch(n){}}if(t)for(const t of e.children)r.appendChild(u(t));return r}return document.createTextNode("<");case s.Z.HTML:return function(e){if(e){const t=document.createElement("div");return t.insertAdjacentHTML("afterbegin",e),t.firstChild||document.createTextNode("")}return document.createTextNode("")}(r||"");default:throw new Error("unsupported node")}}function m(e){var t;return(t=e,c.parse(t)).roots.map((e=>u(e)))}},26453:(e,t,r)=>{r.d(t,{Km:()=>P,Sc:()=>R,Nh:()=>T});var n=r(90854),o=r(84007),s=r(74851),i=r(97717);const a="amp-custom";function c(e,t,r){for(const o of t)if(n.AH.isStyleRule(o)){const t=o.selectorText.split(/\+>~/).flatMap((e=>e.trim().split(" ")));if(1===t.length&&t[0].trim().startsWith(".em-"))for(const s of o.style){if("important"===o.style.getPropertyPriority(s))for(const t of e.querySelectorAll(o.selectorText))if((0,n.uE)(t)){const e=t.style;for(const n of[...e])if(n.startsWith(s)){const o=r(n,e.getPropertyValue(n)),s=t.getAttribute("class");t.setAttribute("class",s?`${o} ${s}`:o),e.removeProperty(n)}}}}else n.AH.isMediaRule(o)&&c(e,o.cssRules,r)}function l(e,t){const r=t.sheet;if(r){const o=new Set;c(e,r.cssRules,((e,s)=>{const i=function(e,t){return`em-${e.replaceAll("-","_")}-${t.toLowerCase()}`}(e,s),a=[...r.cssRules],c=`.${i} { ${e}: ${s} }`;return a.find((e=>n.AH.isStyleRule(e)&&e.selectorText===`.${i}`))||o.has(c)||(o.add(c),t.innerHTML=`\n.${i} { ${e}: ${s} };\n${t.innerHTML}`),i})),o.size&&(t.innerHTML=`\n${[...o].join("\n")};\n${t.innerHTML}`)}else console.log("sheet not initialized");const o=t.innerHTML,s=o.replace(/!important/g,"");o!==s&&(t.innerHTML=s)}const u='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',m="<!doctype html>";async function f(e,t={}){const r=document.createElement("amp-img"),s=await(0,n.rq)(e)||void 0;let a=[];try{let c=e;for(;c&&(0,n.uE)(c);){const e=getComputedStyle(c);"none"===(null===e||void 0===e?void 0:e.display)&&(c.style.display="initial",a.push([c,c.style.display])),c=c.parentElement}const l=null!==s&&void 0!==s&&s.height?`${parseInt(s.height)}`:"",u=null!==s&&void 0!==s&&s.width?`${parseInt(s.width)}`:"",m=(0,i.xm)(e);let f=!1;if(m){let t=m.getAttribute("width");try{let r=u?`${u}px`:"";t||(m.setAttribute("width","720px"),r=getComputedStyle(e).width||""),m.setAttribute("width",!t||parseInt(t)>320?"320px":"720px"),r!==(getComputedStyle(e).width||"")&&(f=!0)}finally{t&&m.setAttribute("width",t||"")}}const p=e.src||e.srcset.split(",")[0];"100%"===e.style.width&&e.style.removeProperty("width"),"100%"===e.style.maxWidth&&e.style.removeProperty("max-width"),t={...(0,i.gu)(e),alt:e.alt,width:u,height:l,src:p,layout:f?"responsive":"fixed",...t};for(const e of Object.keys(t))(0,o.Os)(r,e,t[e])}finally{for(const[e,t]of a)e.style.display=t}return r}function p(e){const t=document.createElement("img"),{layout:r,height:n,...s}=(0,i.gu)(e),a="responsive"===r;for(const i of Object.keys(s))(0,o.Os)(t,i,s[i]);return a&&(t.style.maxWidth=s.width||"0px",t.style.width="100%"),t}var d=r(59896),h=r(91981),y=r(91391);var g=r(80424);const v=new Map;const w=new Map;const b="$GLOBAL_ATTRS",A=new Map;async function S(){if(!A.size){var e;const t=null===(e=(await(0,g.F)()).attrLists.find((e=>e.name===b)))||void 0===e?void 0:e.attrs;if(t)for(const e of t)A.set(e.name,e)}return A}function T(e){var t;return(0,n.vq)(e)&&(e.tagName.startsWith("AMP")||"FORM"===e.tagName||"TEMPLATE"===e.tagName&&"amp-mustache"===(null===(t=e.getAttribute("type"))||void 0===t?void 0:t.toLowerCase()))}function x(e,t,r){var o,s,i;if(t)if((0,n.vq)(e))switch(e.tagName.toLowerCase()){case"body":case r("script"):case"style":case"meta":case"title":return;case"head":case"html":c();break;default:a()||c()}else(0,n.wz)(e)?c():(0,n.ir)(e)&&(null!==(o=e.textContent)&&void 0!==o&&o.trim()||null!==(s=e.nextSibling)&&void 0!==s&&null!==(i=s.textContent)&&void 0!==i&&i.trim()&&(0,n.ir)(e.nextSibling))&&a();function a(){const r=t.compareDocumentPosition(e);if(!(8&r)){if(2&r)return t.insertBefore(e,t.firstChild),!0;if(4&r)return t.appendChild(e),!0}return!1}function c(){const n=[...e.childNodes];for(let e=n.length-1;e>=0;e--)x(n[e],t,r)}}async function C(e,t){const r=new Set,c=e=>t.replaceSelectors(e.toLowerCase());if(t.replaceImages&&await async function(e){const t=e.querySelectorAll("img");for(const n of t)n.replaceWith(await f(n));const r=e.querySelectorAll("picture");for(const n of r){const e=n.querySelector("img");if(e){const t=await f(e);n.replaceWith(t)}else n.remove()}}(e),t.injectExtensions){const T=t.replaceSelectors(y.Vq);if(!e.querySelector(T)){const C=t.createElementFn("script");C.setAttribute("src",y.zq),C.setAttribute("async","");(0,i.xy)(e).appendChild(C)}}t.injectRequiredTags&&((0,h.y)(e,t.createElementFn,c),function(e){const t=e.doctype;if(t){if((0,n.TM)(t)===m)return;const r=(new DOMParser).parseFromString(m,"text/html").doctype;e.replaceChild(r,t)}else{const t=(new DOMParser).parseFromString(m,"text/html").doctype;e.insertBefore(t,e.firstChild)}}(e),(0,s.R)(e),(0,d.C)(e)),t.replaceStylesAndLinks&&function(e){const t=(0,i.xy)(e),r=e.querySelectorAll('link[rel="stylesheet"]'),n=[...e.querySelectorAll("style")].filter((e=>!e.hasAttribute("amp4email-boilerplate")));if(1===n.length){const r=n[0];if(r.parentElement===t&&""===r.getAttribute(a))return void l(e,r)}let o=[];for(const s of n)o.push(s.innerHTML),s.remove();if(o.length){const r=e.createElement("style");r.innerHTML=`\n${o.join("")}\n`,r.setAttribute(a,""),t.append(r),l(e,r)}for(const s of r)s.remove()}(e);const u=await(0,g.F)(),p=await async function(){if(!v.size){const e=await(0,g.F)(),t=e.tags;for(let r=0;r<t.length;r++){const n=t[r],{selector:o,attrs:s,attrLists:i}=n,a=(null===i||void 0===i?void 0:i.flatMap((t=>e.attrLists.filter((({name:e})=>e===t)).flatMap((e=>e.attrs)))))||[];v.set(o,{...n,priority:r,attrs:new Map([...s,...a].map((e=>[e.name,e])))})}}return v}(),b=new Set(t.removeUnsupportedTags?e.querySelectorAll("*"):[]),A=new Map;for(let[E,R]of p)if(!R.deprecation){E=c(E);let P=[...e.querySelectorAll(E)].filter((e=>!A.has(e)));R.unique&&P.length&&(P=[P[0]]),t.injectRequiredTags&&R.required&&!P.length&&(P=[...P,t.createElementFn(R.name)]);for(const $ of P){if(t.injectRequiredAttributes&&$.getAttribute("on")&&!$.getAttribute("tabindex")&&$.setAttribute("tabindex","0"),t.removeUnsupportedStyles){let N=!1;for(const M of[...$.classList])M.startsWith("i-amphtml")&&(N=!0,$.classList.remove(M));N&&!$.classList.length&&$.removeAttribute("class")}const L=A.get($);L&&L.priority>R.priority||A.set($,R)}}for(let[O,q]of A){if(t.injectExtensions&&q.requiresExtension)for(const F of q.requiresExtension)r.add(F);const H=q.requiredParent?"$ROOT"===q.requiredParent?e:e.querySelector(q.requiredParent):null;!H||O.parentNode&&!t.moveInvalidTagPosition?O.parentNode||e.body.appendChild(O):H!==O.parentNode&&("HEAD"===q.name||(0,n.vq)(H)&&"HEAD"===H.tagName?H.insertBefore(O,H.firstChild):H.appendChild(O)),t.removeUnsupportedTags&&b.delete(O);const D=await S();if(t.removeUnsupportedAttributes||t.injectRequiredAttributes){const I=q.attrs,k=t.injectRequiredAttributes?new Set([...I].map((([e,t])=>t)).filter((e=>e.required&&e.value))):void 0,j=O.getAttributeNames();for(const U of j){const W=I.get(U)||D.get(U);if(W){if("id"===U||"class"===U||"style"===U){null===k||void 0===k||k.delete(W);continue}if(t.removeUnsupportedAttributes){const z=O.getAttribute(U);if(W.value&&W.value.indexOf(z)<0){O.removeAttribute(U);continue}if(W.valueRegex){if(!new RegExp(W.valueRegex).test(z)){O.removeAttribute(U);continue}}if(W.disallowedValueRegex){if(new RegExp(W.disallowedValueRegex).test(z)){O.removeAttribute(U);continue}}const _=W.valueUrl;if(_)if(""===z){if(!_.allowEmpty){O.removeAttribute(U);continue}}else if(z.indexOf("\x3c!--")>0&&z.indexOf("--\x3e")>0);else if(!_.allowRelative){if(z.startsWith("#")||z.startsWith("/")){O.removeAttribute(U);continue}{const B=_.protocol.length?_.protocol:["https"];let Q=z.substring(0,z.indexOf(":"));if(Q){if(B.indexOf(Q)<0){let V=B[0]+z.substring(z.indexOf(":"));if(!URL.canParse(V)){O.removeAttribute(U);continue}(0,o.Os)(O,U,V)}else if(!URL.canParse(z)){O.removeAttribute(U);continue}}else{let Y=B[0]+z;if(!URL.canParse(Y)){O.removeAttribute(U);continue}(0,o.Os)(O,U,Y)}}}}null===k||void 0===k||k.delete(W)}else{if("id"===U||"class"===U||"style"===U)continue;t.removeUnsupportedAttributes&&O.removeAttribute(U)}}if(k)for(const Z of k)(0,o.Os)(O,Z.name,Z.value[0])}}t.moveInvalidTagPosition&&x(e,e.body,c);for(const K of b)K.remove();if(t.removeUnsupportedStyles){const G=e.querySelectorAll("*"),X=await async function(){if(!w.size){const e=await(0,g.F)();for(const t of e.declarations)w.set(t.name,t)}return w}();function J(e){const t=e.cssText.replaceAll(/\".*\"/g,"").replaceAll(/\'.*\'/g,"").replaceAll(/\/\*.*\*\/|(-moz-|-ms-|-o-|-webkit-)+\w+(?=:)/g,"").match(/[a-z-]+(?=:[^before|after|hover])/gi)||[];for(const r of t){if(!r)continue;const t=e.getPropertyValue(r);"important"===e.getPropertyPriority(r)&&e.setProperty(r,t);const n=X.get(r);if(n){if(n.value)n.value.indexOf(t)<0&&e.removeProperty(r);else if(n.valueRegex){new RegExp(n.valueRegex).test(t)||e.removeProperty(r)}}else e.removeProperty(r)}}function ee(e){return"CSSStyleRule"===e.constructor.name}function te(e){return"CSSMediaRule"===e.constructor.name}function re(e){const t=e.cssRules;for(let r=t.length-1;r>=0;r--){const n=t[r];ee(n)?n.selectorText.indexOf("[")>=0||n.selectorText.indexOf(":")>=0?e.deleteRule(r):(J(n.style),n.style.cssText||e.deleteRule(r)):te(n)?(re(n),n.cssRules.length||e.deleteRule(r)):e.deleteRule(r)}}for(const oe of G)if((0,n.uE)(oe)){const se=oe.getAttribute("style");se&&(J(oe.style),oe.style.length?oe.style.cssText!==se&&oe.setAttribute("style",oe.style.cssText):oe.removeAttribute("style"))}const ne=e.querySelector("style[amp-custom]");if(ne){const ie=ne.sheet;ie&&(re(ie),ne.innerHTML=[...ie.cssRules].map((e=>e.cssText)).join("\n"))}}await async function(e,t,r){for(const{name:s,versions:a}of t){const t=r.replaceSelectors("amp-mustache"===s?`script[async][custom-template='${s}']`:`script[async][custom-element='${s}']`);if(!e.querySelector(t)){const t=(0,i.xy)(e),c=r.createElementFn("script"),l=(n=s,o=a.findLast((e=>"latest"!==e))||"v0",`${y.gP}/${n.toLowerCase()}-${o}.js`);c.setAttribute("async",""),c.setAttribute("amp-mustache"===s?"custom-template":"custom-element",s),c.setAttribute("src",l),t.appendChild(c),t.appendChild(e.createTextNode("\n"))}}var n,o}(e,u.extensions.filter((({name:e})=>r.has(e))),t)}function E(e,t){return Object.keys(t).reduce(((e,r)=>e.replaceAll(r,t[r])),e)}function R(e,t={}){const{correct:r=!0,injectExtensions:n=!0,mappedTags:o={}}=t;return C(e,{replaceImages:r,replaceStylesAndLinks:r,injectRequiredTags:r,injectExtensions:n,formsAsAmpForms:n,injectRequiredAttributes:r,moveInvalidTagPosition:r,removeUnsupportedTags:r,removeUnsupportedAttributes:r,removeUnsupportedStyles:r,createElementFn:t=>e.createElement(o[t.toLowerCase()]||t),replaceSelectors:e=>E(e.toLowerCase(),o)})}function P(e,t={}){const{correct:r=!0,removeExtensions:o=!0,mappedTags:c={}}=t,l=t=>e.createElement(c[t.toLowerCase()]||t),f=e=>E(e,c);if(r){!function(e){const t=e.querySelectorAll("amp-img");for(const r of t)r.replaceWith(p(r))}(e),function(e){const t=e.doctype;if(t&&(0,n.TM)(t).toLowerCase()===m){const r=(new DOMParser).parseFromString(u,"text/html").doctype;e.replaceChild(r,t)}}(e),function(e){const t=e.querySelector(`style[${a}]`);t&&t.removeAttribute(a)}(e),(0,s.C)(e);const t=(0,i.ep)(e);t.removeAttribute("\u26a14email"),t.removeAttribute("data-css-strict")}o&&function(e,t){const r=e.querySelectorAll("*"),n=e.querySelectorAll(t.replaceSelectors("script[src]"));for(const s of n){var o;null!==(o=s.getAttribute("src"))&&void 0!==o&&o.startsWith(y.gP)&&s.remove()}for(const s of r)T(s)&&"FORM"!==s.tagName&&s.remove()}(e,{formsAsAmpForms:t.removeExtensions,createElementFn:l,replaceSelectors:f})}},7205:(e,t,r)=>{r.d(t,{A:()=>a});const n=(e,t)=>t.some((t=>t instanceof RegExp?t.test(e):t===e)),o=new Set(["https:","http:","file:"]),s=e=>{try{const{protocol:t}=new URL(e);return t.endsWith(":")&&!t.includes(".")&&!o.has(t)}catch{return!1}},i=(e,{stripHash:t})=>{var r,n;const o=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!o)throw new Error(`Invalid URL: ${e}`);let{type:s,data:i,hash:a}=o.groups;const c=s.split(";");a=t?"":a;let l=!1;"base64"===c[c.length-1]&&(c.pop(),l=!0);const u=null!==(r=null===(n=c.shift())||void 0===n?void 0:n.toLowerCase())&&void 0!==r?r:"",m=[...c.map((e=>{let[t,r=""]=e.split("=").map((e=>e.trim()));return"charset"===t&&(r=r.toLowerCase(),"us-ascii"===r)?"":`${t}${r?`=${r}`:""}`})).filter(Boolean)];return l&&m.push("base64"),(m.length>0||u&&"text/plain"!==u)&&m.unshift(u),`data:${m.join(";")},${l?i.trim():i}${a?`#${a}`:""}`};function a(e,t){if("string"!==typeof(t={defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0,...t}).defaultProtocol||t.defaultProtocol.endsWith(":")||(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return i(e,t);if(s(e))return e;const r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));const o=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===o.protocol&&(o.protocol="http:"),t.forceHttps&&"http:"===o.protocol&&(o.protocol="https:"),t.stripAuthentication&&(o.username="",o.password=""),t.stripHash?o.hash="":t.stripTextFragment&&(o.hash=o.hash.replace(/#?:~:text.*?$/i,"")),o.pathname){const e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let t=0,r="";for(;;){const n=e.exec(o.pathname);if(!n)break;const s=n[0],i=n.index;r+=o.pathname.slice(t,i).replace(/\/{2,}/g,"/"),r+=s,t=i+s.length}r+=o.pathname.slice(t,o.pathname.length).replace(/\/{2,}/g,"/"),o.pathname=r}if(o.pathname)try{o.pathname=decodeURI(o.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=o.pathname.split("/");const r=e[e.length-1];n(r,t.removeDirectoryIndex)&&(e=e.slice(0,-1),o.pathname=e.slice(1).join("/")+"/")}if(o.hostname&&(o.hostname=o.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(o.hostname)&&(o.hostname=o.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(const s of[...o.searchParams.keys()])n(s,t.removeQueryParameters)&&o.searchParams.delete(s);if(Array.isArray(t.keepQueryParameters)||!0!==t.removeQueryParameters||(o.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(const s of[...o.searchParams.keys()])n(s,t.keepQueryParameters)||o.searchParams.delete(s);if(t.sortQueryParameters){o.searchParams.sort();try{o.search=decodeURIComponent(o.search)}catch{}}t.removeTrailingSlash&&(o.pathname=o.pathname.replace(/\/$/,"")),t.removeExplicitPort&&o.port&&(o.port="");const a=e;return e=o.toString(),t.removeSingleSlash||"/"!==o.pathname||a.endsWith("/")||""!==o.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===o.pathname)&&""===o.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1729],{1729:e=>{e.exports=JSON.parse('{"tags":[{"name":"META","selector":"head > meta[charset]","required":true,"requiredParent":"HEAD","attrs":[{"name":"charset","value":["utf-8"],"required":true}],"unique":true},{"name":"SCRIPT","selector":"head > script[src]","required":true,"requiredParent":"HEAD","attrs":[{"name":"src","value":["https://cdn.ampproject.org/v0.js"],"required":true}],"attrLists":["nonce-attr","amphtml-engine-attrs"],"unique":true},{"name":"STYLE","selector":"head > style[amp-custom-length-check]","requiredParent":"HEAD","attrs":[{"name":"amp-custom-length-check","value":[""],"required":true},{"name":"type","value":["text/css"]}],"attrLists":["nonce-attr"],"unique":true},{"name":"STYLE","selector":"head > style[amp-custom]","requiredParent":"HEAD","attrs":[{"name":"amp-custom","value":[""],"required":true},{"name":"type","value":["text/css"]}],"unique":true},{"name":"STYLE","selector":"head > style[amp-custom]","requiredParent":"HEAD","attrs":[{"name":"amp-custom","value":[""],"required":true},{"name":"type","value":["text/css"]}],"unique":true},{"name":"STYLE","selector":"head > style[amp4email-boilerplate]","requiredParent":"HEAD","attrs":[{"name":"amp4email-boilerplate","value":[""],"required":true}],"unique":true},{"name":"SCRIPT","selector":"amp-state > script[type]","requiresExtension":["amp-bind"],"requiredParent":"AMP-STATE","attrs":[{"name":"type","value":["application/json"],"required":true}],"attrLists":["nonce-attr"]},{"name":"HEAD","selector":"html > head","required":true,"requiredParent":"HTML","attrs":[],"unique":true},{"name":"BODY","selector":"html > body","required":true,"requiredParent":"HTML","attrs":[],"unique":true},{"name":"SECTION","selector":"amp-accordion > section","requiredParent":"AMP-ACCORDION","attrs":[{"name":"access-hide","value":[""]},{"name":"expanded","value":[""]},{"name":"[data-expand]"},{"name":"[expanded]"}]},{"name":"DIV","selector":"div[submit-success][template]","attrs":[{"name":"align"},{"name":"submit-success","required":true},{"name":"template","required":true}]},{"name":"DIV","selector":"div[submit-error][template]","attrs":[{"name":"align"},{"name":"submit-error","required":true},{"name":"template","required":true}]},{"name":"SCRIPT","selector":"script[type][template]","requiresExtension":["amp-mustache"],"attrs":[{"name":"id","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"},{"name":"type","value":["text/plain"],"required":true},{"name":"template","value":["amp-mustache"],"required":true}],"attrLists":["nonce-attr"]},{"name":"FORM","selector":"form[action-xhr]","requiresExtension":["amp-form"],"attrs":[{"name":"accept"},{"name":"accept-charset"},{"name":"action-xhr","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"autocomplete"},{"name":"custom-validation-reporting","value":["as-you-go","interact-and-submit","show-all-on-submit","show-first-on-submit"]},{"name":"enctype"},{"name":"method","value":["post"],"required":true},{"name":"novalidate"},{"name":"xssi-prefix"}]},{"name":"DIV","selector":"div[submitting]","attrs":[{"name":"align"},{"name":"submitting","required":true}]},{"name":"DIV","selector":"div[submit-success]","attrs":[{"name":"align"},{"name":"submit-success","required":true}]},{"name":"DIV","selector":"div[submit-error]","attrs":[{"name":"align"},{"name":"submit-error","required":true}]},{"name":"SCRIPT","selector":"script[type]","attrs":[{"name":"type","value":["application/ld+json"],"required":true}],"attrLists":["nonce-attr"]},{"name":"DIV","selector":"div[fetch-error]","attrs":[{"name":"align"},{"name":"fetch-error","required":true}]},{"name":"NAV","selector":"nav[toolbar]","requiredParent":"AMP-SIDEBAR","attrs":[{"name":"toolbar","required":true},{"name":"toolbar-target","required":true}]},{"name":"HTML","selector":"html","required":true,"requiredParent":"$ROOT","attrs":[{"name":"\u26a14email","value":[""],"required":true},{"name":"data-css-strict","value":[""],"required":true}],"unique":true},{"name":"TITLE","selector":"title","deprecation":"Title tags in email have no meaning. This tag may become invalid in the future.","attrs":[{"name":"[text]"}]},{"name":"META","selector":"meta","attrs":[{"name":"content"},{"name":"itemprop"},{"name":"name","disallowedValueRegex":"(^|\\\\s)(amp-.*|amp4ads-.*|apple-itunes-app|content-disposition|revisit-after|viewport)(\\\\s|$)"},{"name":"media"},{"name":"property"},{"name":"scheme"}]},{"name":"ARTICLE","selector":"article","attrs":[]},{"name":"SECTION","selector":"section","attrs":[]},{"name":"NAV","selector":"nav","attrs":[]},{"name":"ASIDE","selector":"aside","attrs":[]},{"name":"H1","selector":"h1","attrs":[{"name":"align"}]},{"name":"H2","selector":"h2","attrs":[{"name":"align"}]},{"name":"H3","selector":"h3","attrs":[{"name":"align"}]},{"name":"H4","selector":"h4","attrs":[{"name":"align"}]},{"name":"H5","selector":"h5","attrs":[{"name":"align"}]},{"name":"H6","selector":"h6","attrs":[{"name":"align"}]},{"name":"HEADER","selector":"header","attrs":[]},{"name":"FOOTER","selector":"footer","attrs":[]},{"name":"ADDRESS","selector":"address","attrs":[]},{"name":"P","selector":"p","attrs":[{"name":"align"}]},{"name":"HR","selector":"hr","attrs":[]},{"name":"PRE","selector":"pre","attrs":[]},{"name":"BLOCKQUOTE","selector":"blockquote","attrs":[{"name":"align"}],"attrLists":["cite-attr"]},{"name":"OL","selector":"ol","attrs":[{"name":"reversed","value":[""]},{"name":"start","valueRegex":"[0-9]*"},{"name":"type","valueRegex":"[1AaIi]"}]},{"name":"UL","selector":"ul","attrs":[]},{"name":"LI","selector":"li","attrs":[{"name":"value","valueRegex":"[0-9]*"}]},{"name":"DL","selector":"dl","attrs":[]},{"name":"DT","selector":"dt","attrs":[]},{"name":"DD","selector":"dd","attrs":[]},{"name":"FIGURE","selector":"figure","attrs":[]},{"name":"FIGCAPTION","selector":"figcaption","attrs":[]},{"name":"DIV","selector":"div","attrs":[{"name":"align"}]},{"name":"MAIN","selector":"main","attrs":[]},{"name":"A","selector":"a","attrs":[{"name":"border"},{"name":"href","valueUrl":{"protocol":["http","https","mailto","tel"],"allowRelative":false},"disallowedValueRegex":"__amp_source_origin|(.|\\\\s){{|}}(.|\\\\s)|^{{.*[^}][^}]$|^[^{][^{].*}}$|^}}|{{$|{{#|{{/|{{\\\\^"},{"name":"hreflang"},{"name":"media"},{"name":"role"},{"name":"tabindex"},{"name":"target","value":["_blank"]},{"name":"type","value":["text/html"]}]},{"name":"EM","selector":"em","attrs":[]},{"name":"STRONG","selector":"strong","attrs":[]},{"name":"SMALL","selector":"small","attrs":[]},{"name":"S","selector":"s","attrs":[]},{"name":"CITE","selector":"cite","attrs":[]},{"name":"Q","selector":"q","attrs":[],"attrLists":["cite-attr"]},{"name":"DFN","selector":"dfn","attrs":[]},{"name":"ABBR","selector":"abbr","attrs":[]},{"name":"DATA","selector":"data","attrs":[]},{"name":"TIME","selector":"time","attrs":[{"name":"datetime"},{"name":"pubdate","value":[""]}]},{"name":"CODE","selector":"code","attrs":[]},{"name":"VAR","selector":"var","attrs":[]},{"name":"SAMP","selector":"samp","attrs":[]},{"name":"KBD","selector":"kbd","attrs":[]},{"name":"SUB","selector":"sub","attrs":[]},{"name":"SUP","selector":"sup","attrs":[]},{"name":"I","selector":"i","attrs":[]},{"name":"B","selector":"b","attrs":[]},{"name":"U","selector":"u","attrs":[]},{"name":"MARK","selector":"mark","attrs":[]},{"name":"RUBY","selector":"ruby","attrs":[]},{"name":"RB","selector":"rb","attrs":[]},{"name":"RT","selector":"rt","attrs":[]},{"name":"RP","selector":"rp","attrs":[]},{"name":"BDO","selector":"bdo","attrs":[{"name":"dir"}]},{"name":"SPAN","selector":"span","attrs":[]},{"name":"BR","selector":"br","attrs":[]},{"name":"WBR","selector":"wbr","attrs":[]},{"name":"INS","selector":"ins","attrs":[{"name":"datetime"}],"attrLists":["cite-attr"]},{"name":"DEL","selector":"del","attrs":[{"name":"datetime"}],"attrLists":["cite-attr"]},{"name":"TABLE","selector":"table","attrs":[{"name":"align"},{"name":"bgcolor"},{"name":"border","value":["0","1"]},{"name":"cellpadding"},{"name":"cellspacing"},{"name":"sortable"},{"name":"width"}]},{"name":"CAPTION","selector":"caption","attrs":[]},{"name":"COLGROUP","selector":"colgroup","attrs":[{"name":"span"}]},{"name":"COL","selector":"col","attrs":[{"name":"span"}]},{"name":"TBODY","selector":"tbody","attrs":[]},{"name":"THEAD","selector":"thead","attrs":[]},{"name":"TFOOT","selector":"tfoot","attrs":[]},{"name":"TR","selector":"tr","attrs":[{"name":"align"},{"name":"bgcolor"},{"name":"height"},{"name":"valign"}]},{"name":"TD","selector":"td","attrs":[{"name":"align"},{"name":"bgcolor"},{"name":"colspan"},{"name":"headers"},{"name":"height"},{"name":"rowspan"},{"name":"valign"},{"name":"width"}]},{"name":"TH","selector":"th","attrs":[{"name":"abbr"},{"name":"align"},{"name":"bgcolor"},{"name":"colspan"},{"name":"headers"},{"name":"height"},{"name":"rowspan"},{"name":"scope"},{"name":"sorted"},{"name":"valign"},{"name":"width"}]},{"name":"FORM","selector":"form","requiresExtension":["amp-form"],"attrs":[{"name":"accept"},{"name":"accept-charset"},{"name":"action-xhr","valueUrl":{"protocol":["https"],"allowRelative":false},"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"autocomplete"},{"name":"custom-validation-reporting","value":["as-you-go","interact-and-submit","show-all-on-submit","show-first-on-submit"]},{"name":"enctype"},{"name":"method","value":["get"]},{"name":"novalidate"},{"name":"xssi-prefix"}]},{"name":"LABEL","selector":"label","attrs":[{"name":"for"}]},{"name":"INPUT","selector":"input","attrs":[{"name":"no-verify","value":[""]},{"name":"type","disallowedValueRegex":"(^|\\\\s)(file|image|password|)(\\\\s|$)"},{"name":"[type]"}],"attrLists":["input-common-attr","name-attr"]},{"name":"BUTTON","selector":"button","attrs":[{"name":"disabled","value":[""]},{"name":"role"},{"name":"tabindex"},{"name":"type"},{"name":"value"},{"name":"[disabled]"},{"name":"[type]"},{"name":"[value]"}],"attrLists":["name-attr"]},{"name":"SELECT","selector":"select","attrs":[{"name":"autofocus"},{"name":"disabled"},{"name":"multiple"},{"name":"no-verify","value":[""]},{"name":"required"},{"name":"size"},{"name":"[autofocus]"},{"name":"[disabled]"},{"name":"[multiple]"},{"name":"[required]"},{"name":"[size]"}],"attrLists":["name-attr"]},{"name":"DATALIST","selector":"datalist","attrs":[]},{"name":"OPTGROUP","selector":"optgroup","requiredParent":"SELECT","attrs":[{"name":"disabled"},{"name":"label"},{"name":"[disabled]"},{"name":"[label]"}]},{"name":"OPTION","selector":"option","attrs":[{"name":"disabled"},{"name":"label"},{"name":"selected"},{"name":"value"},{"name":"[disabled]"},{"name":"[label]"},{"name":"[selected]"},{"name":"[value]"}]},{"name":"TEXTAREA","selector":"textarea","attrs":[{"name":"autocomplete"},{"name":"autoexpand"},{"name":"autofocus"},{"name":"cols"},{"name":"disabled"},{"name":"maxlength"},{"name":"minlength"},{"name":"no-verify","value":[""]},{"name":"pattern"},{"name":"placeholder"},{"name":"readonly"},{"name":"required"},{"name":"rows"},{"name":"selectiondirection"},{"name":"selectionend"},{"name":"selectionstart"},{"name":"spellcheck"},{"name":"wrap"},{"name":"[autocomplete]"},{"name":"[autofocus]"},{"name":"[cols]"},{"name":"[defaulttext]"},{"name":"[disabled]"},{"name":"[maxlength]"},{"name":"[minlength]"},{"name":"[pattern]"},{"name":"[placeholder]"},{"name":"[readonly]"},{"name":"[required]"},{"name":"[rows]"},{"name":"[selectiondirection]"},{"name":"[selectionend]"},{"name":"[selectionstart]"},{"name":"[spellcheck]"},{"name":"[wrap]"}],"attrLists":["name-attr"]},{"name":"OUTPUT","selector":"output","attrs":[{"name":"for"},{"name":"form"}],"attrLists":["name-attr"]},{"name":"PROGRESS","selector":"progress","attrs":[{"name":"max"},{"name":"value"}]},{"name":"METER","selector":"meter","attrs":[{"name":"high"},{"name":"low"},{"name":"max"},{"name":"min"},{"name":"optimum"},{"name":"value"}]},{"name":"FIELDSET","selector":"fieldset","attrs":[{"name":"disabled"},{"name":"[disabled]"}],"attrLists":["name-attr"]},{"name":"LEGEND","selector":"legend","attrs":[]},{"name":"DETAILS","selector":"details","attrs":[{"name":"open","value":[""]},{"name":"[open]"}]},{"name":"SUMMARY","selector":"summary","requiredParent":"DETAILS","attrs":[]},{"name":"AMP-IMG","selector":"amp-img","attrs":[{"name":"alt"},{"name":"attribution"},{"name":"placeholder"},{"name":"[alt]"},{"name":"[attribution]"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay"],"required":true}],"attrLists":["extended-amp-global","mandatory-src-amp4email","$AMP_LAYOUT_ATTRS"]},{"name":"AMP-LAYOUT","selector":"amp-layout","attrs":[{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay","container"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-accordion\']","attrs":[{"name":"custom-element","value":["amp-accordion"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-accordion-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-ACCORDION","selector":"amp-accordion","requiresExtension":["amp-accordion"],"attrs":[{"name":"animate","value":[""]},{"name":"disable-session-states","value":[""]},{"name":"expand-single-section","value":[""]},{"name":"layout","value":["container"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-anim\']","attrs":[{"name":"custom-element","value":["amp-anim"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-anim-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-ANIM","selector":"amp-anim","requiresExtension":["amp-anim"],"attrs":[{"name":"alt"},{"name":"attribution"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","nodisplay"],"required":true}],"attrLists":["extended-amp-global","mandatory-src-amp4email","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-autocomplete\']","attrs":[{"name":"custom-element","value":["amp-autocomplete"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-autocomplete-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-AUTOCOMPLETE","selector":"amp-autocomplete","requiresExtension":["amp-autocomplete"],"attrs":[{"name":"highlight-user-entry"},{"name":"inline"},{"name":"items"},{"name":"max-items"},{"name":"min-characters"},{"name":"prefetch"},{"name":"query"},{"name":"submit-on-enter"},{"name":"suggest-first"},{"name":"src","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"template"},{"name":"layout","value":["container"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-bind\']","attrs":[{"name":"custom-element","value":["amp-bind"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-bind-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-STATE","selector":"amp-state","requiresExtension":["amp-bind"],"attrs":[],"attrLists":["mandatory-id-attr"]},{"name":"AMP-BIND-MACRO","selector":"amp-bind-macro","requiresExtension":["amp-bind"],"attrs":[{"name":"arguments"},{"name":"expression","required":true}],"attrLists":["mandatory-id-attr"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-carousel\']","attrs":[{"name":"custom-element","value":["amp-carousel"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-carousel-0.1.js","https://cdn.ampproject.org/v0/amp-carousel-0.2.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-CAROUSEL","selector":"amp-carousel","requiresExtension":["amp-carousel"],"attrs":[{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay"],"required":true}],"attrLists":["amp-carousel-common","extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-fit-text\']","attrs":[{"name":"custom-element","value":["amp-fit-text"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-fit-text-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-FIT-TEXT","selector":"amp-fit-text","requiresExtension":["amp-fit-text"],"attrs":[{"name":"max-font-size"},{"name":"min-font-size"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","flex_item","intrinsic","nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-form\']","attrs":[{"name":"custom-element","value":["amp-form"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-form-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-image-lightbox\']","deprecation":"amp-image-lightbox cannot be properly positioned in emails and will soon be invalid in AMP4EMAIL.","attrs":[{"name":"custom-element","value":["amp-image-lightbox"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-image-lightbox-0.1.js","https://cdn.ampproject.org/v0/amp-image-lightbox-latest.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-IMAGE-LIGHTBOX","selector":"amp-image-lightbox","requiresExtension":["amp-image-lightbox"],"attrs":[{"name":"controls"},{"name":"layout","value":["nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-lightbox\']","deprecation":"amp-lightbox cannot be properly positioned in emails and will soon be invalid in AMP4EMAIL.","attrs":[{"name":"custom-element","value":["amp-lightbox"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-lightbox-0.1.js","https://cdn.ampproject.org/v0/amp-lightbox-latest.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-LIGHTBOX","selector":"amp-lightbox","requiresExtension":["amp-lightbox"],"attrs":[{"name":"animate-in","value":["fade-in","fly-in-bottom","fly-in-top"]},{"name":"animation","value":["fade-in","fly-in-bottom","fly-in-top"]},{"name":"controls"},{"name":"from"},{"name":"scrollable"},{"name":"[open]"},{"name":"layout","value":["nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-list\']","attrs":[{"name":"custom-element","value":["amp-list"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-list-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-LIST","selector":"amp-list","requiresExtension":["amp-list"],"attrs":[{"name":"binding","value":["always","no","refresh","refresh-evaluate"]},{"name":"diffable","value":[""]},{"name":"items"},{"name":"max-items"},{"name":"single-item"},{"name":"src","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|{{|}}"},{"name":"template"},{"name":"xssi-prefix"},{"name":"[is-layout-container]"},{"name":"layout","value":["responsive","container","fill","fixed","fixed_height","flex_item","nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-template=\'amp-mustache\']","attrs":[{"name":"custom-template","value":["amp-mustache"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-mustache-0.1.js","https://cdn.ampproject.org/v0/amp-mustache-0.2.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"TEMPLATE","selector":"template","requiresExtension":["amp-mustache"],"attrs":[{"name":"id","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"},{"name":"type","value":["amp-mustache"],"required":true}]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-selector\']","attrs":[{"name":"custom-element","value":["amp-selector"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-selector-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-SELECTOR","selector":"amp-selector","requiresExtension":["amp-selector"],"attrs":[{"name":"disabled","value":[""]},{"name":"form"},{"name":"keyboard-select-mode","value":["focus","none","select"]},{"name":"multiple","value":[""]},{"name":"[disabled]"},{"name":"[selected]"},{"name":"layout","value":["responsive","fill","fixed","fixed_height","nodisplay","container"],"required":true}],"attrLists":["extended-amp-global","name-attr","$AMP_LAYOUT_ATTRS"]},{"name":"$REFERENCE_POINT","selector":"amp-selector option","attrs":[{"name":"disabled","value":[""]},{"name":"option","required":true},{"name":"selected","value":[""]}]},{"name":"$REFERENCE_POINT","selector":"amp-selector child","attrs":[]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-sidebar\']","attrs":[{"name":"custom-element","value":["amp-sidebar"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-SIDEBAR","selector":"amp-sidebar","requiresExtension":["amp-sidebar"],"attrs":[{"name":"side","value":["left","right"]},{"name":"layout","value":["nodisplay"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]},{"name":"SCRIPT","selector":"script[custom-element=\'amp-timeago\']","attrs":[{"name":"custom-element","value":["amp-timeago"],"required":true},{"name":"src","value":["https://cdn.ampproject.org/v0/amp-timeago-0.1.js"],"required":true}],"attrLists":["common-extension-attrs"]},{"name":"AMP-TIMEAGO","selector":"amp-timeago","requiresExtension":["amp-timeago"],"attrs":[{"name":"cutoff","valueRegex":"\\\\d+"},{"name":"datetime","valueRegex":"\\\\d{4}-[01]\\\\d-[0-3]\\\\dT[0-2]\\\\d:[0-5]\\\\d(:[0-5]\\\\d(\\\\.\\\\d+)?)?(Z|[+-][0-1][0-9]:[0-5][0-9])","required":true},{"name":"locale"},{"name":"[datetime]"},{"name":"[title]"},{"name":"layout","value":["responsive","fixed","fixed_height"],"required":true}],"attrLists":["extended-amp-global","$AMP_LAYOUT_ATTRS"]}],"attrLists":[{"name":"cite-attr","attrs":[{"name":"cite","valueUrl":{"protocol":["http","https"],"allowEmpty":true},"disallowedValueRegex":"__amp_source_origin"}]},{"name":"input-common-attr","attrs":[{"name":"accept"},{"name":"accesskey"},{"name":"autocomplete"},{"name":"autofocus"},{"name":"checked"},{"name":"disabled"},{"name":"height"},{"name":"inputmode"},{"name":"list"},{"name":"enterkeyhint"},{"name":"max"},{"name":"maxlength"},{"name":"min"},{"name":"minlength"},{"name":"multiple"},{"name":"pattern"},{"name":"placeholder"},{"name":"readonly"},{"name":"required"},{"name":"selectiondirection"},{"name":"size"},{"name":"spellcheck"},{"name":"step"},{"name":"tabindex"},{"name":"value"},{"name":"width"},{"name":"[accept]"},{"name":"[accesskey]"},{"name":"[autocomplete]"},{"name":"[checked]"},{"name":"[disabled]"},{"name":"[height]"},{"name":"[inputmode]"},{"name":"[max]"},{"name":"[maxlength]"},{"name":"[min]"},{"name":"[minlength]"},{"name":"[multiple]"},{"name":"[pattern]"},{"name":"[placeholder]"},{"name":"[readonly]"},{"name":"[required]"},{"name":"[selectiondirection]"},{"name":"[size]"},{"name":"[spellcheck]"},{"name":"[step]"},{"name":"[value]"},{"name":"[width]"}]},{"name":"amphtml-engine-attrs","attrs":[{"name":"async","value":[""],"required":true},{"name":"crossorigin","value":["anonymous"]},{"name":"type","value":["text/javascript"]}]},{"name":"mandatory-src-amp4email","attrs":[{"name":"src","valueUrl":{"protocol":["https"],"allowRelative":false},"required":true,"disallowedValueRegex":"__amp_source_origin|(.|\\\\s){{|}}(.|\\\\s)|^{{.*[^}][^}]$|^[^{][^{].*}}$|^}}|{{$|{{#|{{/|{{\\\\^"}]},{"name":"extended-amp-global","attrs":[{"name":"i-amphtml-layout","value":["container","fill","fixed","fixed-height","flex-item","fluid","intrinsic","nodisplay","responsive"]},{"name":"media"},{"name":"noloading","value":[""]}]},{"name":"$AMP_LAYOUT_ATTRS","attrs":[{"name":"disable-inline-width"},{"name":"height"},{"name":"heights"},{"name":"layout"},{"name":"sizes"},{"name":"width"},{"name":"[height]"},{"name":"[width]"}]},{"name":"nonce-attr","attrs":[{"name":"nonce"}]},{"name":"common-extension-attrs","attrs":[{"name":"async","value":[""],"required":true},{"name":"crossorigin","value":["anonymous"]},{"name":"nonce"},{"name":"type","value":["text/javascript"]}]},{"name":"mandatory-id-attr","attrs":[{"name":"id","required":true,"disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"}]},{"name":"name-attr","attrs":[{"name":"name","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"}]},{"name":"$GLOBAL_ATTRS","attrs":[{"name":"itemid"},{"name":"itemprop"},{"name":"itemref"},{"name":"itemscope"},{"name":"itemtype"},{"name":"about"},{"name":"content"},{"name":"datatype"},{"name":"inlist"},{"name":"prefix"},{"name":"property"},{"name":"rel","disallowedValueRegex":"(^|\\\\s)(canonical|components|dns-prefetch|import|manifest|preconnect|preload|prerender|serviceworker|stylesheet|subresource)(\\\\s|$)"},{"name":"resource"},{"name":"rev"},{"name":"style"},{"name":"typeof"},{"name":"vocab"},{"name":"accesskey"},{"name":"class"},{"name":"dir"},{"name":"draggable"},{"name":"hidden","value":[""]},{"name":"id","disallowedValueRegex":"(^|\\\\s)(__amp_\\\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\\\S*|\\\\$p|\\\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\\\s|$)"},{"name":"lang"},{"name":"slot"},{"name":"tabindex"},{"name":"title"},{"name":"translate"},{"name":"aria-activedescendant"},{"name":"aria-atomic"},{"name":"aria-autocomplete"},{"name":"aria-busy"},{"name":"aria-checked"},{"name":"aria-controls"},{"name":"aria-current"},{"name":"aria-describedby"},{"name":"aria-disabled"},{"name":"aria-dropeffect"},{"name":"aria-expanded"},{"name":"aria-flowto"},{"name":"aria-grabbed"},{"name":"aria-haspopup"},{"name":"aria-hidden"},{"name":"aria-invalid"},{"name":"aria-label"},{"name":"aria-labelledby"},{"name":"aria-level"},{"name":"aria-live"},{"name":"aria-modal"},{"name":"aria-multiline"},{"name":"aria-multiselectable"},{"name":"aria-orientation"},{"name":"aria-owns"},{"name":"aria-posinset"},{"name":"aria-pressed"},{"name":"aria-readonly"},{"name":"aria-relevant"},{"name":"aria-required"},{"name":"aria-selected"},{"name":"aria-setsize"},{"name":"aria-sort"},{"name":"aria-valuemax"},{"name":"aria-valuemin"},{"name":"aria-valuenow"},{"name":"aria-valuetext"},{"name":"on"},{"name":"role"},{"name":"placeholder","value":[""]},{"name":"fallback","value":[""]},{"name":"overflow"},{"name":"amp-access"},{"name":"amp-access-behavior"},{"name":"amp-access-hide"},{"name":"amp-access-id"},{"name":"amp-access-loader"},{"name":"amp-access-loading"},{"name":"amp-access-off"},{"name":"amp-access-on"},{"name":"amp-access-show"},{"name":"amp-access-style"},{"name":"amp-access-template"},{"name":"i-amp-access-id"},{"name":"validation-for"},{"name":"visible-when-invalid","value":["badInput","customError","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","typeMismatch","valueMissing"]},{"name":"amp-fx","valueRegex":"(fade-in|fade-in-scroll|float-in-bottom|float-in-top|fly-in-bottom|fly-in-left|fly-in-right|fly-in-top|parallax)(\\\\s|fade-in|fade-in-scroll|float-in-bottom|float-in-top|fly-in-bottom|fly-in-left|fly-in-right|fly-in-top|parallax)*"},{"name":"subscriptions-action"},{"name":"subscriptions-actions","value":[""]},{"name":"subscriptions-decorate"},{"name":"subscriptions-dialog","value":[""]},{"name":"subscriptions-display"},{"name":"subscriptions-lang"},{"name":"subscriptions-section","value":["actions","content","content-not-granted","loading"]},{"name":"subscriptions-service"},{"name":"subscriptions-google-rtc"},{"name":"next-page-hide"},{"name":"next-page-replace"},{"name":"[aria-activedescendant]"},{"name":"[aria-atomic]"},{"name":"[aria-autocomplete]"},{"name":"[aria-busy]"},{"name":"[aria-checked]"},{"name":"[aria-controls]"},{"name":"[aria-describedby]"},{"name":"[aria-disabled]"},{"name":"[aria-dropeffect]"},{"name":"[aria-expanded]"},{"name":"[aria-flowto]"},{"name":"[aria-grabbed]"},{"name":"[aria-haspopup]"},{"name":"[aria-hidden]"},{"name":"[aria-invalid]"},{"name":"[aria-label]"},{"name":"[aria-labelledby]"},{"name":"[aria-level]"},{"name":"[aria-live]"},{"name":"[aria-multiline]"},{"name":"[aria-multiselectable]"},{"name":"[aria-orientation]"},{"name":"[aria-owns]"},{"name":"[aria-posinset]"},{"name":"[aria-pressed]"},{"name":"[aria-readonly]"},{"name":"[aria-relevant]"},{"name":"[aria-required]"},{"name":"[aria-selected]"},{"name":"[aria-setsize]"},{"name":"[aria-sort]"},{"name":"[aria-valuemax]"},{"name":"[aria-valuemin]"},{"name":"[aria-valuenow]"},{"name":"[aria-valuetext]"},{"name":"[class]"},{"name":"[hidden]"},{"name":"[text]"},{"name":"i-amphtml-binding","value":[""]},{"name":"autoscroll"}]},{"name":"amp-carousel-common","attrs":[{"name":"arrows","value":[""]},{"name":"autoplay","valueRegex":"(|[0-9]+)"},{"name":"controls"},{"name":"delay","valueRegex":"[0-9]+"},{"name":"dots","value":[""]},{"name":"loop","value":[""]},{"name":"slide","valueRegex":"[0-9]+"},{"name":"type","value":["carousel","slides"]},{"name":"[slide]"}]}],"extensions":[{"name":"amp-accordion","versions":["0.1"]},{"name":"amp-anim","versions":["0.1"]},{"name":"amp-autocomplete","versions":["0.1"]},{"name":"amp-bind","versions":["0.1"]},{"name":"amp-carousel","versions":["0.1","0.2"]},{"name":"amp-fit-text","versions":["0.1"]},{"name":"amp-form","versions":["0.1"]},{"name":"amp-image-lightbox","versions":["0.1","latest"]},{"name":"amp-lightbox","versions":["0.1","latest"]},{"name":"amp-list","versions":["0.1"]},{"name":"amp-mustache","versions":["0.1","0.2"]},{"name":"amp-selector","versions":["0.1"]},{"name":"amp-sidebar","versions":["0.1"]},{"name":"amp-timeago","versions":["0.1"]}],"declarations":[{"name":"-moz-appearance"},{"name":"-webkit-appearance"},{"name":"-webkit-tap-highlight-color"},{"name":"align-content"},{"name":"align-items"},{"name":"align-self"},{"name":"appearance"},{"name":"aspect-ratio"},{"name":"azimuth"},{"name":"background"},{"name":"background-attachment"},{"name":"background-blend-mode"},{"name":"background-clip"},{"name":"background-color"},{"name":"background-image"},{"name":"background-origin"},{"name":"background-position"},{"name":"background-repeat"},{"name":"background-size"},{"name":"border"},{"name":"border-bottom"},{"name":"border-bottom-color"},{"name":"border-bottom-left-radius"},{"name":"border-bottom-right-radius"},{"name":"border-bottom-style"},{"name":"border-bottom-width"},{"name":"border-collapse"},{"name":"border-color"},{"name":"border-left"},{"name":"border-left-color"},{"name":"border-left-style"},{"name":"border-left-width"},{"name":"border-radius"},{"name":"border-right"},{"name":"border-right-color"},{"name":"border-right-style"},{"name":"border-right-width"},{"name":"border-spacing"},{"name":"border-style"},{"name":"border-top"},{"name":"border-top-color"},{"name":"border-top-left-radius"},{"name":"border-top-right-radius"},{"name":"border-top-style"},{"name":"border-top-width"},{"name":"border-width"},{"name":"bottom"},{"name":"box-shadow"},{"name":"box-sizing"},{"name":"break-after"},{"name":"break-before"},{"name":"break-inside"},{"name":"caption-side"},{"name":"caret-color"},{"name":"clear"},{"name":"color"},{"name":"color-adjust"},{"name":"column-count"},{"name":"column-fill"},{"name":"column-gap"},{"name":"column-rule"},{"name":"column-rule-color"},{"name":"column-rule-style"},{"name":"column-rule-width"},{"name":"column-span"},{"name":"column-width"},{"name":"columns"},{"name":"counter-increment"},{"name":"counter-reset"},{"name":"cursor","value":["initial","pointer"]},{"name":"direction"},{"name":"display"},{"name":"elevation"},{"name":"empty-cells"},{"name":"filter","valueRegex":"^ *((blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\\\(([^() ]*|(rgb|rgba|hsl|hsla)\\\\([^()]*\\\\))( +([^() ]*|(rgb|rgba|hsl|hsla)\\\\([^()]*\\\\)))*\\\\) *)*$"},{"name":"flex"},{"name":"flex-basis"},{"name":"flex-direction"},{"name":"flex-flow"},{"name":"flex-grow"},{"name":"flex-shrink"},{"name":"flex-wrap"},{"name":"float"},{"name":"font"},{"name":"font-family"},{"name":"font-feature-settings"},{"name":"font-kerning"},{"name":"font-size"},{"name":"font-size-adjust"},{"name":"font-stretch"},{"name":"font-style"},{"name":"font-synthesis"},{"name":"font-variant"},{"name":"font-variant-alternates"},{"name":"font-variant-caps"},{"name":"font-variant-east-asian"},{"name":"font-variant-ligatures"},{"name":"font-variant-numeric"},{"name":"font-variation-settings"},{"name":"font-weight"},{"name":"gap"},{"name":"grid"},{"name":"grid-area"},{"name":"grid-auto-columns"},{"name":"grid-auto-flow"},{"name":"grid-auto-rows"},{"name":"grid-column"},{"name":"grid-column-end"},{"name":"grid-column-start"},{"name":"grid-row"},{"name":"grid-row-end"},{"name":"grid-row-start"},{"name":"grid-template"},{"name":"grid-template-areas"},{"name":"grid-template-columns"},{"name":"grid-template-rows"},{"name":"height"},{"name":"hyphens"},{"name":"image-orientation"},{"name":"image-resolution"},{"name":"inline-size"},{"name":"isolation"},{"name":"justify-content"},{"name":"justify-items"},{"name":"justify-self"},{"name":"left"},{"name":"letter-spacing"},{"name":"line-break"},{"name":"line-height"},{"name":"list-style"},{"name":"list-style-position"},{"name":"list-style-type"},{"name":"margin"},{"name":"margin-bottom"},{"name":"margin-left"},{"name":"margin-right"},{"name":"margin-top"},{"name":"max-height"},{"name":"max-width"},{"name":"min-height"},{"name":"min-width"},{"name":"mix-blend-mode"},{"name":"object-fit"},{"name":"object-position"},{"name":"offset-distance"},{"name":"opacity"},{"name":"order"},{"name":"outline"},{"name":"outline-color"},{"name":"outline-offset"},{"name":"outline-style"},{"name":"outline-width"},{"name":"overflow"},{"name":"overflow-wrap"},{"name":"overflow-x"},{"name":"overflow-y"},{"name":"padding"},{"name":"padding-bottom"},{"name":"padding-left"},{"name":"padding-right"},{"name":"padding-top"},{"name":"pause"},{"name":"pause-after"},{"name":"pause-before"},{"name":"perspective"},{"name":"perspective-origin"},{"name":"pitch"},{"name":"pitch-range"},{"name":"place-items"},{"name":"position"},{"name":"quotes"},{"name":"resize"},{"name":"richness"},{"name":"right"},{"name":"row-gap"},{"name":"speak"},{"name":"speak-header"},{"name":"speak-numeral"},{"name":"speak-punctuation"},{"name":"speech-rate"},{"name":"stress"},{"name":"table-layout"},{"name":"text-align"},{"name":"text-align-last"},{"name":"text-combine-upright"},{"name":"text-decoration"},{"name":"text-decoration-color"},{"name":"text-decoration-line"},{"name":"text-decoration-skip"},{"name":"text-decoration-style"},{"name":"text-emphasis"},{"name":"text-emphasis-color"},{"name":"text-emphasis-position"},{"name":"text-emphasis-style"},{"name":"text-indent"},{"name":"text-justify"},{"name":"text-orientation"},{"name":"text-overflow"},{"name":"text-shadow"},{"name":"text-transform"},{"name":"text-underline-position"},{"name":"top"},{"name":"transform"},{"name":"transform-box"},{"name":"transform-origin"},{"name":"transform-style"},{"name":"transition","valueRegex":"^ *((initial|unset)|(((none|offset-distance|opacity|transform|visibility)( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms)( *(linear|(ease|ease-in|ease-out|ease-in-out|cubic-bezier\\\\( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(, *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?){3} *\\\\))|(step-start|step-end|steps\\\\( *(|-|\\\\+)[0-9]+(, *(jump-start|jump-end|jump-none|jump-both|start|end))? *\\\\)))( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms))?)?)?)(, *((none|offset-distance|opacity|transform|visibility)( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms)( *(linear|(ease|ease-in|ease-out|ease-in-out|cubic-bezier\\\\( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(, *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?){3} *\\\\))|(step-start|step-end|steps\\\\( *(|-|\\\\+)[0-9]+(, *(jump-start|jump-end|jump-none|jump-both|start|end))? *\\\\)))( *(|-|\\\\+)([0-9]+|[0-9]*\\\\.[0-9]+)(e(|-|\\\\+)?[0-9]+)?(s|ms))?)?)?))*)) *$"},{"name":"transition-delay"},{"name":"transition-duration"},{"name":"transition-property","valueRegex":"^ *(initial|unset|(none|offset-distance|opacity|transform|visibility)(, *(none|offset-distance|opacity|transform|visibility))*) *$"},{"name":"transition-timing-function"},{"name":"unicode-bidi"},{"name":"vertical-align"},{"name":"visibility","value":["hidden","initial","visible"]},{"name":"voice-family"},{"name":"white-space"},{"name":"width"},{"name":"word-break"},{"name":"word-spacing"},{"name":"word-wrap"},{"name":"writing-mode"},{"name":"z-index","valueRegex":"([-+]?0)|([-+]?100)|([-+]?[1-9][0-9]?)"}]}')}}]);
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[1813],{45053:(t,e,n)=>{function s(t,e,n){const s=[];if(n&&(e=e.filter((t=>t.isVariable))),e.length){const n=function(t,e){const n=e.reduce(((t,{mapFn:e,start:n,end:s,syntax:a})=>(t[n]?t[n].push({value:s,mapFn:e,syntax:a}):t[n]=[{value:s,mapFn:e,syntax:a}],t)),Object.create(null)),s=new RegExp(e.map((({start:t})=>`(${t.replace(/[-[\]{}()*+?.,\\^$|]/g,"\\$&")})`)).join("|"),"g");return[...t.matchAll(s)].map((t=>({start:t.index,startToken:t[0],endTokens:n[t[0]]})))}(t,e);for(let e=0,a=n.length;e<a;e++){const{start:i,startToken:r,endTokens:o}=n[e];for(const{mapFn:c,value:h,syntax:d}of o){let r=t.indexOf(h,i);if(r>=0){for(let s=e+1;s<a;s++){const{start:e,startToken:a,endTokens:i}=n[s];i.some((t=>t.syntax===d))&&e<r&&(r=t.indexOf(h,r+1))}if(r>=0){const o=r+h.length,d=t.substring(i,o),l=c(d);!1!==l&&d!==l&&s.push({text:l,range:{start:i,end:o}});const p=n.findIndex((({start:t})=>t>=o));e=p>e?p-1:a;break}}}}}return s}function a(t,e){const n=[t];for(let s=e.length-1;s>=0;s--){const{text:t,range:a}=e[s],i=n[0];n.splice(0,1,i.substring(0,a.start),t,i.substring(a.end))}return n.join("")}function i(t){return`\x3c!--${t}--\x3e`}function r(t){return t.substring(4,t.length-3)}n.d(e,{Hk:()=>h,uI:()=>d});const o=/#set\s*\(\s*.*=.*\)/gm,c=/<!--#set\s*\(\s*.*=.*\)-->/gm,h=t=>{t.escape("\x3c!--","--\x3e",(t=>t),!1),t.escape("<style","</style>",(t=>t),!1),t.escape("<script","<\/script>",(t=>t),!1),t.escape("@{","}",i,!0).unescape("\x3c!--@{","}--\x3e",r,!0),t.unescape("\x3c!--%%%{{{","}}}%%%--\x3e",(t=>t.substring(10,t.length-9)),!1),t.escape("{%","%}",i,!0).unescape("\x3c!--{%","%}--\x3e",r,!0),t.escape("{#","#}",i,!0).unescape("\x3c!--{#","#}--\x3e",r,!0),t.escape("[[","]]",i,!0).unescape("\x3c!--[[","]]--\x3e",r,!0),t.createSyntax("ExpertSender").escape("<if",">",i).escape("</if",">",i).escape("<else",">",i).escape("</else",">",i).escape("<var ",">",i,!0).unescape("\x3c!--<if ",">--\x3e",r).unescape("\x3c!--</if",">--\x3e",r).unescape("\x3c!--<else ",">--\x3e",r).unescape("\x3c!--</else",">--\x3e",r).unescape("\x3c!--<var",">--\x3e",r,!0),t.createSyntax("velocity").escape("#if","#end",i).escape("#set",")",(t=>!!t.match(o)&&i(t)),!0).escape("#foreach","#end",i).escape("#macro","#end",i).unescape("\x3c!--#if","#end--\x3e",r).unescape("\x3c!--#set",")--\x3e",(t=>!!t.match(c)&&r(t)),!0).unescape("\x3c!--#foreach","#end--\x3e",r).unescape("\x3c!--#macro","#end--\x3e",r),t.escape("*|","|*",i,!0).unescape("\x3c!--*|","|*--\x3e",r,!0)};class d{constructor(t=h){this._disposables=[],this._escapes=[],this._unescapes=[];const{_escapes:e,_unescapes:n}=this;t({createSyntax(t){return{...this,syntax:t}},escape(t,n,s,a){return e.push({start:t,end:n,mapFn:s,isVariable:a,syntax:this.syntax||t}),this},unescape(t,e,s,a){return n.push({start:t,end:e,mapFn:s,isVariable:a,syntax:this.syntax||t}),this}})}getMappings(t,e){return s(t,this._escapes,e)}getRevertMappings(t,e){return s(t,this._unescapes,e)}getEscapedText(t,e){return a(t,this.getMappings(t,e))}getUnescapedText(t,e){return a(t,this.getRevertMappings(t,e))}addDisposable(t){this._disposables.push(t)}dispose(){for(const t of this._disposables)t.dispose()}}},80424:(t,e,n)=>{let s;async function a(){return s||(s=await n.e(1729).then(n.t.bind(n,1729,19)).then((t=>t.default)))}n.d(e,{F:()=>a})},74851:(t,e,n)=>{n.d(e,{C:()=>i,R:()=>a});var s=n(97717);function a(t){const e=(0,s.xy)(t);if(!t.querySelector("style[amp4email-boilerplate]")){const n=t.createElement("style");n.setAttribute("amp4email-boilerplate",""),n.innerHTML="body{visibility:hidden}",e.prepend(n)}}function i(t){const e=t.querySelector("style[amp4email-boilerplate]");e&&e.remove()}},91391:(t,e,n)=>{n.d(e,{Vq:()=>i,gP:()=>s,zq:()=>a});const s="https://cdn.ampproject.org/v0",a=`${s}.js`,i=`script[src='${a}']`},59896:(t,e,n)=>{n.d(e,{C:()=>a});var s=n(97717);function a(t){let e=t.querySelectorAll("meta");for(const s of e){const t=s.getAttribute("charset");if(t)return void("utf-8"!==t&&s.setAttribute("charset","utf-8"))}const n=(0,s.xy)(t),a=t.createElement("meta");a.setAttribute("charset","utf-8"),n.insertBefore(a,n.firstChild)}},91981:(t,e,n)=>{function s(t,e,n){const s=n('script:not([type="application/ld+json"])'),a=t.querySelectorAll(s);for(const r of a){var i;null!==(i=r.getAttribute("src"))&&void 0!==i&&i.startsWith("https://cdn.ampproject.org/")||r.closest("amp-state")&&"application/json"===r.getAttribute("type")||r.remove()}}n.d(e,{y:()=>s})},97717:(t,e,n)=>{function s(t){let e=t.documentElement;return e||(e=t.createElement("html"),t.appendChild(e)),e}function a(t){let e=t.head;if(!e){e=t.createElement("head");let n=s(t);n.insertBefore(e,n.firstChild)}return e}function i(t){const e=Object.create(null),n=t.getAttributeNames();for(const s of n)e[s]=t.getAttribute(s);return e}function r(t){for(const e of document.querySelectorAll("iframe"))if(e.contentDocument===t.ownerDocument)return e}n.d(e,{ep:()=>s,gu:()=>i,xm:()=>r,xy:()=>a})},16799:(t,e,n)=>{n.d(e,{H:()=>s});class s{constructor(t){this._voidElements=void 0,this._voidElements=new Set(t)}isVoidElement(t,e){return this._voidElements.has(t.toLowerCase())}}},8357:(t,e,n)=>{n.d(e,{X:()=>y});var s=n(60439);let a;!function(t){t[t.StartCommentTag=0]="StartCommentTag",t[t.Comment=1]="Comment",t[t.EndCommentTag=2]="EndCommentTag",t[t.StartTagOpen=3]="StartTagOpen",t[t.StartTagClose=4]="StartTagClose",t[t.StartTagSelfClose=5]="StartTagSelfClose",t[t.StartTag=6]="StartTag",t[t.EndTagOpen=7]="EndTagOpen",t[t.EndTagClose=8]="EndTagClose",t[t.EndTag=9]="EndTag",t[t.DelimiterAssign=10]="DelimiterAssign",t[t.AttributeName=11]="AttributeName",t[t.AttributeValue=12]="AttributeValue",t[t.StartDoctypeTag=13]="StartDoctypeTag",t[t.Doctype=14]="Doctype",t[t.EndDoctypeTag=15]="EndDoctypeTag",t[t.Content=16]="Content",t[t.Whitespace=17]="Whitespace",t[t.Unknown=18]="Unknown",t[t.Script=19]="Script",t[t.Styles=20]="Styles",t[t.EOS=21]="EOS",t[t.AdvancedStart=100]="AdvancedStart",t[t.AdvancedEnd=101]="AdvancedEnd"}(a||(a={}));class i{constructor(t,e){this.source=void 0,this.len=void 0,this.position=void 0,this.source=t,this.len=t.length,this.position=e}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(t){this.position=t}goBack(t){this.position-=t}advance(t){this.position+=t}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(t=0){return this.source.charCodeAt(this.position+t)||0}advanceIfChar(t){return t===this.source.charCodeAt(this.position)&&(this.position++,!0)}advanceIfChars(t){let e;if(this.position+t.length>this.source.length)return!1;for(e=0;e<t.length;e++)if(this.source.charCodeAt(this.position+e)!==t[e])return!1;return this.advance(e),!0}advanceIfRegExp(t){const e=this.source.substr(this.position).match(t);return e?(this.position=this.position+e.index+e[0].length,e[0]):""}advanceUntilRegExp(t){const e=this.source.substr(this.position).match(t);return e?(this.position=this.position+e.index,e[0]):(this.goToEnd(),"")}advanceUntilChar(t){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===t)return!0;this.advance(1)}return!1}advanceUntilChars(t){for(;this.position+t.length<=this.source.length;){let e=0;for(;e<t.length&&this.source.charCodeAt(this.position+e)===t[e];e++);if(e===t.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar((t=>t===C||t===S||t===u||t===T||t===f))>0}advanceWhileChar(t){const e=this.position;for(;this.position<this.len&&t(this.source.charCodeAt(this.position));)this.position++;return this.position-e}}const r="!".charCodeAt(0),o="-".charCodeAt(0),c="<".charCodeAt(0),h=">".charCodeAt(0),d="/".charCodeAt(0),l="=".charCodeAt(0),p='"'.charCodeAt(0),g="'".charCodeAt(0),u="\n".charCodeAt(0),f="\r".charCodeAt(0),T="\f".charCodeAt(0),C=" ".charCodeAt(0),S="\t".charCodeAt(0),m={"text/x-handlebars-template":!0,"text/html":!0};function b(t,e=0,n=s.S5.WithinContent,u=!1){const f=new i(t,e);let T,C,S,b,E,v=n,x=0,k=a.Unknown;function y(){return f.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase()}function A(t,e,n){return k=e,x=t,T=n,e}function W(){const t=f.pos();if(f.eos())return A(t,a.EOS);let e;switch(v){case s.S5.WithinComment:return f.advanceIfChars([o,o,h])?(v=s.S5.WithinContent,A(t,a.EndCommentTag)):(f.advanceUntilChars([o,o,h]),A(t,a.Comment));case s.S5.WithinDoctype:return f.advanceIfChar(h)?(v=s.S5.WithinContent,A(t,a.EndDoctypeTag)):(f.advanceUntilChar(h),A(t,a.Doctype));case s.S5.WithinContent:if(f.advanceIfChar(c)){if(!f.eos()&&f.peekChar()===r){if(f.advanceIfChars([r,o,o]))return v=s.S5.WithinComment,A(t,a.StartCommentTag);if(f.advanceIfRegExp(/^!doctype/i))return v=s.S5.WithinDoctype,A(t,a.StartDoctypeTag)}return f.advanceIfChar(d)?(v=s.S5.AfterOpeningEndTag,A(t,a.EndTagOpen)):(v=s.S5.AfterOpeningStartTag,A(t,a.StartTagOpen))}return f.advanceUntilChar(c),A(t,a.Content);case s.S5.AfterOpeningEndTag:return y().length>0?(v=s.S5.WithinEndTag,A(t,a.EndTag)):f.skipWhitespace()?A(t,a.Whitespace,"Tag name must directly follow the open bracket."):(v=s.S5.WithinEndTag,f.advanceUntilChar(h),t<f.pos()?A(t,a.Unknown,"End tag name expected."):W());case s.S5.WithinEndTag:if(f.skipWhitespace())return A(t,a.Whitespace);if(f.advanceIfChar(h))return v=s.S5.WithinContent,A(t,a.EndTagClose);if(u&&f.peekChar()===c)return v=s.S5.WithinContent,A(t,a.EndTagClose,"Closing bracket missing.");e="Closing bracket expected.";break;case s.S5.AfterOpeningStartTag:return S=y(),E=void 0,b=void 0,S.length>0?(C=!1,v=s.S5.WithinTag,A(t,a.StartTag)):f.skipWhitespace()?A(t,a.Whitespace,"Tag name must directly follow the open bracket."):(v=s.S5.WithinTag,f.advanceUntilChar(h),t<f.pos()?A(t,a.Unknown,"Start tag name expected."):W());case s.S5.WithinTag:return f.skipWhitespace()?(C=!0,A(t,a.Whitespace)):C&&(b=f.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase(),b.length>0)?(v=s.S5.AfterAttributeName,C=!1,A(t,a.AttributeName)):f.advanceIfChars([d,h])?(v=s.S5.WithinContent,A(t,a.StartTagSelfClose)):f.advanceIfChar(h)?(v="script"===S?E&&m[E]?s.S5.WithinContent:s.S5.WithinScriptContent:"style"===S?s.S5.WithinStyleContent:s.S5.WithinContent,A(t,a.StartTagClose)):u&&f.peekChar()===c?(v=s.S5.WithinContent,A(t,a.StartTagClose,"Closing bracket missing.")):(f.advance(1),A(t,a.Unknown,"Unexpected character in tag."));case s.S5.AfterAttributeName:return f.skipWhitespace()?(C=!0,A(t,a.Whitespace)):f.advanceIfChar(l)?(v=s.S5.BeforeAttributeValue,A(t,a.DelimiterAssign)):(v=s.S5.WithinTag,W());case s.S5.BeforeAttributeValue:if(f.skipWhitespace())return A(t,a.Whitespace);let n=f.advanceIfRegExp(/^[^\s"'`=<>]+/);if(n.length>0)return f.peekChar()===h&&f.peekChar(-1)===d&&(f.goBack(1),n=n.substr(0,n.length-1)),"type"===b&&(E=n),v=s.S5.WithinTag,C=!1,A(t,a.AttributeValue);const i=f.peekChar();return i===g||i===p?(f.advance(1),f.advanceUntilChar(i)&&f.advance(1),"type"===b&&(E=f.getSource().substring(t+1,f.pos()-1)),v=s.S5.WithinTag,C=!1,A(t,a.AttributeValue)):(v=s.S5.WithinTag,C=!1,W());case s.S5.WithinScriptContent:let T=1;for(;!f.eos();){const e=f.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===e.length)return f.goToEnd(),A(t,a.Script);if("\x3c!--"===e)1===T&&(T=2);else if("--\x3e"===e)T=1;else if("/"!==e[1])2===T&&(T=3);else{if(3!==T){f.goBack(e.length);break}T=2}}return v=s.S5.WithinContent,t<f.pos()?A(t,a.Script):W();case s.S5.WithinStyleContent:return f.advanceUntilRegExp(/<\/style/i),v=s.S5.WithinContent,t<f.pos()?A(t,a.Styles):W()}return f.advance(1),v=s.S5.WithinContent,A(t,a.Unknown,e)}return{scan:function(){const t=f.pos(),e=v,n=W();return n===a.EOS||t!==f.pos()||u&&(n===a.StartTagClose||n===a.EndTagClose)?n:(console.log("Scanner.scan has not advanced at offset "+t+", state before: "+e+" after: "+v),f.advance(1),A(t,a.Unknown))},getTokenType:()=>k,getTokenOffset:()=>x,getTokenLength:()=>f.pos()-x,getTokenEnd:()=>f.pos(),getTokenText:()=>f.getSource().substring(x,f.pos()),getScannerState:()=>v,getTokenError:()=>T}}var E=n(16799),v=n(61704);function x(t){if("string"===typeof t){const e=t.startsWith("'")||t.startsWith('"')?1:0,n=t.endsWith("'")||t.endsWith('"')?t.length-1:t.length;return t.substring(e,n)}return t}class k{constructor(t,e){this.text=t,this.type=e,this.node=void 0,this.replaces=void 0}get hasNode(){return!!this.node}addReplace(t){var e;null===(e=this.replaces)||void 0===e||e.push(t)}start(t,e,n){if(!this.node){const s=this.node=new v.b(t,this.text.length,[],n);s.type=this.type,s.startTagEnd=e,this.replaces=[]}}finish(t,e){const n=this.replaces,s=this.node,a=t+(e||0);if(n){for(const t of n){const e=t.parent;if(!e)throw new Error("parent not defined");const n=e.children.indexOf(t);e.children.splice(n,1)}this.replaces=void 0}if(s){const n=s.parent;if(!n)throw new Error("parent not defined");n.children.push(s),s.closed=void 0!==e,s.endTagStart=t,s.end=a,s.content=this.text.substring(s.startTagEnd,t),this.node=void 0}}}class y{constructor(t){this.dataManager=t}parse(t,e=[]){var n;const s=b(t,void 0,void 0,!0),i=new v.b(0,t.length,[],void 0);i.type=v.Z.ROOT;let r,o=i,c=-1,h=null,d=s.scan();const l=()=>{if(!o.tag){const e=o.parent.children,n=e[e.length-2],s=t.substring(o.start,o.end);(null===n||void 0===n?void 0:n.type)===v.Z.HTML?(n.content=(n.content||"")+s,n.end=o.end,e.splice(e.length-1,1)):(o.type=v.Z.HTML,o.content=s,o.children=[]),o.type=v.Z.HTML}o=o.parent},p=new k(t,v.Z.COMMENT),g=new k(t,v.Z.DOCTYPE),u=t=>{o.children.push(t)};for(;d!==a.EOS;){switch(d){case a.StartDoctypeTag:g.start(s.getTokenOffset(),s.getTokenEnd(),o);break;case a.EndDoctypeTag:{const e=o.lastChild,n=g.node;if(!n)throw new Error("");const a=e?e.end:void 0!==o.startTagEnd?o.startTagEnd:o.start;if(a!==n.start){const e=t.substring(a,n.start);if(e){const t=new v.b(a,n.start,[],o);t.type=v.Z.HTML,t.content=e,u(t)}}g.finish(s.getTokenOffset(),s.getTokenLength());break}case a.StartCommentTag:p.start(s.getTokenOffset(),s.getTokenEnd(),o);break;case a.EndCommentTag:{const e=o.lastChild,n=p.node;if(!n)throw new Error("");const a=e?e.end:void 0!==o.startTagEnd?o.startTagEnd:o.start;if(a!==n.start){const e=t.substring(a,n.start);if(e){const t=new v.b(a,n.start,[],o);t.type=v.Z.HTML,t.content=e,u(t)}}p.finish(s.getTokenOffset(),s.getTokenLength());break}case a.StartTagOpen:const n=o.lastChild,i=new v.b(s.getTokenOffset(),t.length,[],o),d=n?n.end:void 0!==o.startTagEnd?o.startTagEnd:o.start;if(d!==i.start){const e=t.substring(d,i.start);if(e){const t=new v.b(d,i.start,[],o);t.type=v.Z.HTML,t.content=e,u(t)}}u(i),o=i;break;case a.StartTag:o.tag=s.getTokenText();break;case a.StartTagClose:o.parent&&(o.end=s.getTokenEnd(),s.getTokenLength()?(o.startTagEnd=s.getTokenEnd(),o.tag&&this.dataManager.isVoidElement(o.tag,e)&&(o.closed=!0,l())):l());break;case a.StartTagSelfClose:o.parent&&(o.closed=!0,o.end=s.getTokenEnd(),o.startTagEnd=s.getTokenEnd(),l());break;case a.EndTagOpen:c=s.getTokenOffset(),r=void 0;break;case a.EndTag:r=s.getTokenText().toLowerCase();break;case a.EndTagClose:let f=o;for(;!f.isSameTag(r)&&f.parent;)f=f.parent;if(f.parent){const e=o.lastChild,n=e?e.end:void 0===o.startTagEnd?o.start:o.startTagEnd;if(n!==c){const e=t.substring(n,c);if(e){const t=new v.b(n,c,[],o);t.type=v.Z.HTML,t.content=e,u(t)}}for(;o!==f;)o.end=c,o.closed=!1,l();o.closed=!0,o.endTagStart=c,o.end=s.getTokenEnd(),l()}break;case a.AttributeName:{h=s.getTokenText();let t=o.attributes;t||(o.attributes=t={}),t[h]=null;break}case a.AttributeValue:{const t=s.getTokenText(),e=o.attributes;e&&h&&(e[h]=x(t),h=null);break}}d=s.scan()}for(;o.parent;)o.end=t.length,o.closed=!1,l();p.hasNode&&console.log("has unclosed comments"),p.finish(t.length);const f=(null===(n=i.lastChild)||void 0===n?void 0:n.end)||0;if(f<t.length){const e=t.substring(f);if(e){const n=new v.b(f,t.length,[],i);n.type=v.Z.HTML,n.content=e,u(n)}}return{roots:i.children,findNodeBefore:i.findNodeBefore.bind(i),findNodeAt:i.findNodeAt.bind(i)}}}const A=["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"];new y(new E.H(A))},61704:(t,e,n)=>{n.d(e,{b:()=>r,Z:()=>a});new Set(["area","br","col","embed","hr","img","input","link","meta","param"]);Object.create(null);function s(t,e){let n=0,s=t.length;if(0===s)return 0;for(;n<s;){let a=Math.floor((n+s)/2);e(t[a])?s=a:n=a+1}return n}let a;!function(t){t[t.HTML=0]="HTML",t[t.ELEMENT=1]="ELEMENT",t[t.ROOT=2]="ROOT",t[t.COMMENT=3]="COMMENT",t[t.DOCTYPE=4]="DOCTYPE",t[t.ADVANCED=5]="ADVANCED"}(a||(a={}));const i=t=>t.type===a.HTML?t.start-1:t.start;class r{get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}get root(){return this.parent?this.parent.root:this}constructor(t,e,n,s){this.start=t,this.end=e,this.children=n,this.parent=s,this.content=void 0,this.type=a.ELEMENT,this.tag=void 0,this.closed=!1,this.startTagEnd=void 0,this.endTagStart=void 0,this.attributes=void 0,this.createdBy=void 0,this.isDirty=void 0}isSameTag(t){return void 0===this.tag?void 0===t:void 0!==t&&this.tag.length===t.length&&this.tag.toLowerCase()===t}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(t){const e=s(this.children,(e=>t<=i(e)))-1;if(e>=0){const n=this.children[e];if(t>i(n)){if(t<n.end)return n.findNodeBefore(t);const e=n.lastChild;return e&&e.end===n.end?n.findNodeBefore(t):n}}return this}findNodeAt(t){const e=s(this.children,(e=>t<=i(e)))-1;if(e>=0){const s=this.children[e];if(t>=i(s)&&t<=((n=s).type===a.HTML?n.end+1:n.end))return s.findNodeAt(t)}var n;return this}find(t){if(t(this))return this;for(const e of this.children){let n=e.find(t);if(n)return n}}closest(t){let e=this;do{if(t(e))return e}while(e=e.parent)}parents(){return this.parent?[this.parent,...this.parent.parents()]:[]}closestFromRoot(t,e=!0){const n=e?[this,...this.parents()]:this.parents();for(let s=n.length-1;s>=0;s--){const e=n[s];if(t(e))return e}}contains(t){return Boolean(t.closest((t=>t===this)))}clone(t=this.parent,e=this.start,n=!0){const s=this.start-e,a=new r(e,this.end-s,[],t);return a.children=n?this.children.map((t=>t.clone(a,t.start-s))):[],a.attributes={...this.attributes},a.closed=this.closed,a.content=this.content,a.startTagEnd=this.startTagEnd,a.endTagStart=this.endTagStart,a.tag=this.tag,a.type=this.type,a}}}}]);