/*! For license information please see main.js.LICENSE.txt */ (()=>{var t={109:function(t){var e;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window,e=()=>(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>o});var n=function(){return n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0&&t.set("private",1)}));var w=function(t){var e=[];for(var n in t){var r=t[n];r=r instanceof Array||r instanceof Object?JSON.stringify(r):r,e.push("".concat(n,"=").concat("'".concat(r,"'")))}return e.length?" ".concat(e.join(" ")):""},E=function(t){return i.indexOf(t)>=0},x=w(y),C=w(b),T={category:o,select:!0};E("column1")&&r.add("column1",n(n({},T),{label:e.labelColumn1,media:'\n \n ',content:"
\n
\n
\n ").concat(c?""):"")})),E("column2")&&r.add("column2",n(n({},T),{label:e.labelColumn2,media:'\n \n ',content:"
\n
\n
\n
\n ").concat(c?""):"")})),E("column3")&&r.add("column3",n(n({},T),{label:e.labelColumn3,media:'\n \n ',content:"
\n
\n
\n
\n
\n ").concat(c?""):"")})),E("column3-7")&&r.add("column3-7",n(n({},T),{label:e.labelColumn37,media:'\n \n ',content:"
\n
\n
\n
\n ").concat(c?""):"")})),E("text")&&r.add("text",n(n({},T),{activate:!0,label:e.labelText,media:'\n \n ',content:{type:"text",content:"Insert your text here",style:{padding:"10px"}}})),E("link")&&r.add("link",n(n({},T),{label:e.labelLink,media:'\n \n ',content:{type:"link",content:"Link",style:{color:"#d983a6"}}})),E("image")&&r.add("image",n(n({},T),{activate:!0,label:e.labelImage,media:'\n \n ',content:{style:{color:"black"},type:"image"}})),E("video")&&r.add("video",n(n({},T),{label:e.labelVideo,media:'\n \n ',content:{type:"video",src:"img/video2.webm",style:{height:"350px",width:"615px"}}})),E("map")&&r.add("map",n(n({},T),{label:e.labelMap,media:'\n \n ',content:{type:"map",style:{height:"350px"}}}))}(t,r({blocks:["column1","column2","column3","column3-7","text","link","image","video","map"],flexGrid:!1,stylePrefix:"gjs-",addBasicStyle:!0,category:"Basic",labelColumn1:"1 Column",labelColumn2:"2 Columns",labelColumn3:"3 Columns",labelColumn37:"2 Columns 3/7",labelText:"Text",labelLink:"Link",labelImage:"Image",labelVideo:"Video",labelMap:"Map",rowHeight:75},e))};return e})(),t.exports=e()},716:function(t){var e;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window,e=()=>(()=>{var t={480:t=>{var e;window,e=function(){return e=[function(t,e,n){"use strict";var r;function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function a(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}(e);try{for(s.s();!(i=s.n()).done;){var l=i.value;if(t(l)&&(a.push(l),--r<=0))break;if(n&&Object(o.h)(l)&&0c.indexOf(p)?l===e?D.FOLLOWING|D.CONTAINED_BY:D.FOLLOWING:l===t?D.PRECEDING|D.CONTAINS:D.PRECEDING}function G(t){return(t=t.filter((function(t,e,n){return!n.includes(t,e+1)}))).sort((function(t,e){return(e=W(t,e))&D.PRECEDING?-1:e&D.FOLLOWING?1:0})),t}function Y(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return K(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return{s:e=function(){},n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}function K(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(X);try{for(J.s();!(I=J.n()).done;){var tt=I.value;(0,L.assignComponents)(Z,tt.components),(0,P.assignDependencies)(Q,tt.dependencies)}}catch(e){J.e(e)}finally{J.f()}"string"==typeof e&&(e=(0,k.default)(e,{keepComments:W,components:Z,filePath:d,actualPath:u,preprocessors:p,ignoreIncludes:D})),e=(0,j.handleMjml3)(e,{noMigrateWarn:$});var et,nt,rt={backgroundColor:"",beforeDoctype:"",breakpoint:"480px",classes:{},classesDefault:{},defaultAttributes:{},htmlAttributes:{},fonts:z,inlineStyle:[],headStyle:{},componentsHeadStyle:[],headRaw:[],mediaQueries:{},preview:"",style:[],title:"",forceOWADesktop:"desktop"===(0,w.default)(e,"attributes.owa","mobile"),lang:(0,w.default)(e,"attributes.lang"),dir:(0,w.default)(e,"attributes.dir")},ot={components:Z,dependencies:Q,initializeType:F.initializeType};switch(c){case"skip":break;case"strict":if(0<(l=(0,P.default)(e,ot)).length)throw new V("ValidationError: \n ".concat(l.map((function(t){return t.formattedMessage})).join("\n")),l);break;default:l=(0,P.default)(e,ot)}function it(t,e,n){if(n=2 tags.");return a=(0,M.default)(a),$.length&&(et=$.filter((function(t){return t.attributes.position&&"file-start"===t.attributes.position}))).length&&(rt.beforeDoctype=et.map((function(t){return t.content})).join("\n")),(0,h.default)(rt.htmlAttributes)||(nt=(0,S.load)(a,{xmlMode:!0,decodeEntities:!1}),(0,g.default)(rt.htmlAttributes,(function(t,e){(0,g.default)(t,(function(t,n){nt(e).each((function(){nt(this).attr(n,t||"")}))}))})),a=nt.root().html()),a=K(s({content:a},rt)),0>14)-1))break;d+=h}}0!==c&&(r+=1==(h=(t[c]&l.VALUE_LENGTH)>>14)?String.fromCharCode(t[c]&~l.VALUE_LENGTH):2===h?String.fromCharCode(t[c+1]):String.fromCharCode(t[c+1],t[c+2]),o=i-u+1)}else{var m,v=i+1,y=10;for(((m=e.charCodeAt(v))|s.To_LOWER_BIT)===s.LOWER_X&&(y=16,i+=1,v+=1);(m=e.charCodeAt(++i))>=s.ZERO&&m<=s.NINE||16===y&&(m|s.To_LOWER_BIT)>=s.LOWER_A&&(m|s.To_LOWER_BIT)<=s.LOWER_F;);if(v!==i){if(v=e.substring(v,i),v=parseInt(v,y),e.charCodeAt(i)===s.SEMI)i+=1;else if(n)continue;r+=(0,a.default)(v),o=i}}return r+e.slice(o)}}function p(t,e,n,r){var o=(e&l.BRANCH_LENGTH)>>7;if(e&=l.JUMP_TABLE,0==o)return 0!=e&&r===e?n:-1;if(e)return(e=r-e)<0||o<=e?-1:t[n+e]-1;for(var i=n,a=i+o-1;i<=a;){var s=i+a>>>1,c=t[s];if(c=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function h(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;var n=(t="string"!=typeof t?""+t:t).length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return k(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return P(t).length;default:if(r)return k(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,o);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(t,e,n):v(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,r,o){var i=1,a=t.length,s=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a/=i=2,s/=2,n/=2}function l(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(o)for(var c=-1,u=n;u>>10&1023|55296),u=56320|1023&u),r.push(u),o+=p}return function(t){var e=t.length;if(e<=_)return String.fromCharCode.apply(String,t);for(var n="",r=0;rthis.length)return"";if((n=void 0===n||n>this.length?this.length:n)<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t=t||"utf8";;)switch(t){case"hex":return function(t,e,n){var r=t.length;(!n||n<0||rn&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,r,o){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),(e=void 0===e?0:e)<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(o<=r&&n<=e)return 0;if(o<=r)return-1;if(n<=e)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(i,a),c=this.slice(r,o),u=t.slice(e,n),p=0;pthis.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var i=!1;;)switch(r){case"hex":return function(t,e,n,r){n=Number(n)||0;var o=t.length-n;if((!r||o<(r=Number(r)))&&(r=o),(o=e.length)%2!=0)throw new TypeError("Invalid hex string");o/2>8,o.push(r%=256),o.push(n);return o}(e,t.length-n),t,n,r)}(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;function w(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(nt.length)throw new RangeError("Index out of range")}function x(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function C(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function T(t,e,n,r){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function A(t,e,n,r,i){return i||T(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function O(t,e,n,r,i){return i||T(t,0,n,8),o.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):n>>8):x(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):C(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):C(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){t=+t,e|=0,r||E(this,t,e,n,(r=Math.pow(2,8*n-1))-1,-r);var o=0,i=1,a=0;for(this[e]=255&t;++o>>8):x(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):C(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):C(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return A(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return A(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return O(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return O(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n=n||0,r||0===r||(r=this.length),e>=t.length&&(e=t.length),(r=0=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length);var o,i=(r=t.length-e>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(t=t||0))for(s=e;s>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function P(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(S,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function j(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}}).call(this,n(17))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n(6),o=n(0);function i(e){return function(n,r,i,s){return"string"==typeof(n=void 0!==t&&t.isBuffer(n)?n.toString():n)?e(n,r,i,s):(s=n,!Array.isArray(s)&&Object(o.l)(s)?s:(a(s,n=new o.b([])),n))}}function a(t,e){var n=Array.isArray(t)?t:[t];e?e.children=n:e=null;for(var o=0;o",'"',"`"," ","\r","\n","\t"]),["'"].concat(e)),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n(406);function b(t,e,n){if(t&&i.isObject(t)&&t instanceof a)return t;var r=new a;return r.parse(t,e,n),r}a.prototype.parse=function(t,e,n){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+r(t));var a=t.indexOf("?"),l=-1!==a&&a\+~]/,c=[":after",":before",":first-letter",":first-line",":lang"],u=["::after","::before","::first-letter","::first-line"],p="double-quote",d="single-quote",f="root";t.exports=function(t,e,n,h){for(var g,m=o(t,r.COMMA),v=0,y=m.length;v䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(t){return t.charCodeAt(0)}))),new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(t){return t.charCodeAt(0)}))));function h(t){for(var e=1;e$\x80-\uFFFF]/g,m=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),v=null!=String.prototype.codePointAt?function(t,e){return t.codePointAt(e)}:function(t,e){return 55296==(64512&t.charCodeAt(e))?1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e)};function y(t){for(var e="",n=0;null!==(i=g.exec(t));){var r=i.index,o=t.charCodeAt(r),i=m.get(o);n=void 0!==i?(e+=t.substring(n,r)+i,r+1):(e+="".concat(t.substring(n,r),"&#x").concat(v(t,r).toString(16),";"),g.lastIndex+=Number(55296==(64512&o)))}return e+t.substr(n)}function b(t,e){return function(n){for(var r,o=0,i="";r=t.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=e.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}b(/[&<>'"]/g,m);var _=b(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),w=b(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));(f={})[f.XML=0]="XML",f[f.HTML=1]="HTML",(f={})[f.Legacy=0]="Legacy",f[f.Strict=1]="Strict",(f={})[f.UTF8=0]="UTF8",f[f.ASCII=1]="ASCII",f[f.Extensive=2]="Extensive",f[f.Attribute=3]="Attribute",f[f.Text=4]="Text";var E=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(t){return[t.toLowerCase(),t]}))),x=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(t){return[t.toLowerCase(),t]})));function C(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function T(t){for(var e=1;e")}(e);case s:return function(t){return"\x3c!--".concat(t.data,"--\x3e")}(e);case p:return function(t){return"")}(e);case l:case c:case u:return function(e,n){"foreign"===n.xmlMode&&(e.name=null!==(o=E.get(e.name))&&void 0!==o?o:e.name,e.parent&&k.has(e.parent.name)&&(n=T(T({},n),{},{xmlMode:!1}))),!n.xmlMode&&P.has(e.name)&&(n=T(T({},n),{},{xmlMode:"foreign"}));var r="<".concat(e.name),o=function(t,e){var n;if(t){var r=!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)?O:e.xmlMode||"utf8"!==e.encodeEntities?y:_;return Object.keys(t).map((function(n){var o,i=null!==(o=t[n])&&void 0!==o?o:"";return"foreign"===e.xmlMode&&(n=null!==(o=x.get(n))&&void 0!==o?o:n),e.emptyAttrs||e.xmlMode||""!==i?"".concat(n,'="').concat(r(i),'"'):n})).join(" ")}}(e.attribs,n);return o&&(r+=" ".concat(o)),0===e.children.length&&(n.xmlMode?!1!==n.selfClosingTags:n.selfClosingTags&&S.has(e.name))?(n.xmlMode||(r+=" "),r+="/>"):(r+=">",0"))),r}(e,n);case i:return function(t,e){var n,r=t.data||"";return!1===(null!==(n=e.encodeEntities)&&void 0!==n?n:e.decodeEntities)||!e.xmlMode&&t.parent&&A.has(t.parent.name)?r:(e.xmlMode||"utf8"!==e.encodeEntities?y:w)(r)}(e,n)}}(r[h],n);return f};var k=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),P=new Set(["svg","math"])},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,n(e,r)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var r=n(67),o=n(239),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e,n=[];for(e in Object(t))i.call(t,e)&&"constructor"!=e&&n.push(e);return n}},function(t,e,n){n=n(28)(n(16),"Map"),t.exports=n},function(t,e){t.exports=function(t){return"number"==typeof t&&-1e[r]?1:-1;return t.length-e.length},e.compare=function(t,n){return 1==e.compareFunc(t,n)?t:n},e.getDefaultOptions=function(t){return(t=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},t)).webResources=t.webResources||{},t}},function(t,e,n){(function(e){t.exports=function(t){return function(t){var n=[].slice.call(arguments,1);n.unshift("["+t+"]"),e.stderr.write(n.join(" ")+"\n")}.bind(null,t)}}).call(this,n(14))},function(t,e,n){var r;function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){var n;!function(){"use strict";var t=[function(t,e,n){var r=n(1).Beautifier,o=n(5).Options;t.exports=function(t,e){return new r(t,e).beautify()},t.exports.defaultOptions=function(){return new o}},function(t,e,n){var r=n(2).Output,o=n(3).Token,i=n(4),a=n(5).Options,s=n(7).Tokenizer,l=n(7).line_starters,c=n(7).positionable_operators,u=n(7).TOKEN;function p(t,e){return-1!==e.indexOf(t)}function d(t,e){return t&&t.type===u.RESERVED&&t.text===e}function f(t,e){return t&&t.type===u.RESERVED&&p(t.text,e)}var h=["case","return","do","if","throw","else","await","break","continue","async"],g=function(t){for(var e={},n=0;nn&&(n=t.line_indent_level)),{mode:e,parent:t,last_token:t?t.last_token:new o(u.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,alignment:0,line_indent_level:t?t.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0}},_.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];return this._last_last_text="",this._output=new r(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode("BlockStatement"),e=new s(t,this._options),this._tokens=e.tokenize(),t},_.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._reset(this._source_text),e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&i.lineBreak.test(t||"")&&(e=t.match(i.lineBreak)[0]));for(var n=this._tokens.next();n;)this.handle_token(n),this._last_last_text=this._flags.last_token.text,this._flags.last_token=n,n=this._tokens.next();return this._output.get_code(e)},_.prototype.handle_token=function(t,e){t.type===u.START_EXPR?this.handle_start_expr(t):t.type===u.END_EXPR?this.handle_end_expr(t):t.type===u.START_BLOCK?this.handle_start_block(t):t.type===u.END_BLOCK?this.handle_end_block(t):t.type===u.WORD||t.type===u.RESERVED?this.handle_word(t):t.type===u.SEMICOLON?this.handle_semicolon(t):t.type===u.STRING?this.handle_string(t):t.type===u.EQUALS?this.handle_equals(t):t.type===u.OPERATOR?this.handle_operator(t):t.type===u.COMMA?this.handle_comma(t):t.type===u.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===u.COMMENT?this.handle_comment(t,e):t.type===u.DOT?this.handle_dot(t):t.type===u.EOF?this.handle_eof(t):(t.type,u.UNKNOWN,this.handle_unknown(t,e))},_.prototype.handle_whitespace_and_comments=function(t,e){var n=t.newlines,r=this._options.keep_array_indentation&&y(this._flags.mode);if(t.comments_before)for(var o=t.comments_before.next();o;)this.handle_whitespace_and_comments(o,e),this.handle_token(o,e),o=t.comments_before.next();if(r)for(var i=0;ithis._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&1this._flags.parent.indentation_level)&&(--this._flags.indentation_level,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},_.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},_.prototype.restore_mode=function(){0"===this._flags.last_token.text||!p(this._flags.last_token.type,[u.EQUALS,u.START_EXPR,u.COMMA,u.OPERATOR])&&!f(this._flags.last_token,["return","throw","import","default"])?this.set_mode("BlockStatement"):this.set_mode("ObjectLiteral"),e=(n=!e.comments_before&&"}"===e.text)&&"function"===this._flags.last_word&&this._flags.last_token.type===u.END_EXPR,this._options.brace_preserve_inline){var r=0,o=null;this._flags.inline_frame=!0;do{if((o=this._tokens.peek((r+=1)-1)).newlines){this._flags.inline_frame=!1;break}}while(o.type!==u.EOF&&(o.type!==u.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==u.OPERATOR&&(e||this._flags.last_token.type===u.EQUALS||f(this._flags.last_token,h)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!y(this._previous_flags.mode)||this._flags.last_token.type!==u.START_EXPR&&this._flags.last_token.type!==u.COMMA||(this._flags.last_token.type!==u.COMMA&&!this._options.space_in_paren||(this._output.space_before_token=!0),(this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==u.OPERATOR&&this._flags.last_token.type!==u.START_EXPR&&(this._flags.last_token.type!==u.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(t),this.indent(),n||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},_.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);"Statement"===this._flags.mode;)this.restore_mode();var e=this._flags.last_token.type===u.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(y(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},_.prototype.handle_word=function(t){if(t.type===u.RESERVED&&(p(t.text,["set","get"])&&"ObjectLiteral"!==this._flags.mode||"import"===t.text&&"("===this._tokens.peek().text||p(t.text,["as","from"])&&!this._flags.import_block||"ObjectLiteral"===this._flags.mode&&":"===this._tokens.peek().text)&&(t.type=u.WORD),this.start_of_statement(t)?f(this._flags.last_token,["var","let","const"])&&t.type===u.WORD&&(this._flags.declaration_statement=!0):!t.newlines||b(this._flags.mode)||this._flags.last_token.type===u.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===u.EQUALS||!this._options.preserve_newlines&&f(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(d(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&d(t,"else"))this._flags.else_block=!0;else{for(;"Statement"===this._flags.mode;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&f(t,["case","default"]))return this.print_newline(),this._flags.last_token.type!==u.END_BLOCK&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==u.COMMA&&this._flags.last_token.type!==u.START_EXPR&&this._flags.last_token.type!==u.EQUALS&&this._flags.last_token.type!==u.OPERATOR||this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t),d(t,"function"))return(p(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!p(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==u.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD?f(this._flags.last_token,["get","set","new","export"])||f(this._flags.last_token,w)||d(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===u.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:!this._flags.multiline_frame&&(b(this._flags.mode)||y(this._flags.mode))||this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var e="NONE";this._flags.last_token.type===u.END_BLOCK?this._previous_flags.inline_frame?e="SPACE":!f(t,["else","catch","finally","from"])||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?e="NEWLINE":(e="SPACE",this._output.space_before_token=!0):this._flags.last_token.type===u.SEMICOLON&&"BlockStatement"===this._flags.mode?e="NEWLINE":this._flags.last_token.type===u.SEMICOLON&&b(this._flags.mode)?e="SPACE":this._flags.last_token.type===u.STRING?e="NEWLINE":this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD||"*"===this._flags.last_token.text&&(p(this._last_last_text,["function","yield"])||"ObjectLiteral"===this._flags.mode&&p(this._last_last_text,["{",","]))?e="SPACE":this._flags.last_token.type===u.START_BLOCK?e=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===u.END_EXPR&&(this._output.space_before_token=!0,e="NEWLINE"),f(t,l)&&")"!==this._flags.last_token.text&&(e=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),f(t,["else","catch","finally"])?(this._flags.last_token.type!==u.END_BLOCK||"BlockStatement"!==this._previous_flags.mode||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===e?f(this._flags.last_token,h)||"declare"===this._flags.last_token.text&&f(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==u.END_EXPR?this._flags.last_token.type===u.START_EXPR&&f(t,["var","let","const"])||":"===this._flags.last_token.text||(d(t,"if")&&d(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):f(t,l)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&y(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===e&&(this._output.space_before_token=!0),!t.previous||t.previous.type!==u.WORD&&t.previous.type!==u.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===u.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&d(t,"from")&&(this._flags.import_block=!1))},_.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();!("Statement"!==this._flags.mode||this._flags.if_block&&d(e,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},_.prototype.handle_string=function(t){t.text.startsWith("`")&&0===t.newlines&&""===t.whitespace_before&&(")"===t.previous.text||this._flags.last_token.type===u.WORD)||(this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===u.RESERVED||this._flags.last_token.type===u.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===u.COMMA||this._flags.last_token.type===u.START_EXPR||this._flags.last_token.type===u.EQUALS||this._flags.last_token.type===u.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):!t.text.startsWith("`")||this._flags.last_token.type!==u.END_EXPR||"]"!==t.previous.text&&")"!==t.previous.text||0!==t.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(t)},_.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},_.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(b(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):"ObjectLiteral"===this._flags.mode||"Statement"===this._flags.mode&&"ObjectLiteral"===this._flags.parent.mode?("Statement"===this._flags.mode&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},_.prototype.handle_operator=function(t){var e="*"===t.text&&(f(this._flags.last_token,["function","yield"])||p(this._flags.last_token.type,[u.START_BLOCK,u.COMMA,u.END_BLOCK,u.SEMICOLON])),n=p(t.text,["-","+"])&&(p(this._flags.last_token.type,[u.START_BLOCK,u.START_EXPR,u.EQUALS,u.OPERATOR])||p(this._flags.last_token.text,l)||","===this._flags.last_token.text);if(this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!e),f(this._flags.last_token,h))return this._output.space_before_token=!0,void this.print_token(t);if("*"!==t.text||this._flags.last_token.type!==u.DOT)if("::"!==t.text){if(this._flags.last_token.type===u.OPERATOR&&p(this._options.operator_position,m)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==u.START_BLOCK?(this.indent(),this.print_newline()):this._output.space_before_token=!0);var r=!0,o=!0,i=!1;if(":"===t.text?0===this._flags.ternary_depth?r=!1:(--this._flags.ternary_depth,i=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!n&&!e&&this._options.preserve_newlines&&p(t.text,c)){var a=":"===t.text,s=a&&i,d=a&&!i;switch(this._options.operator_position){case g.before_newline:return this._output.space_before_token=!d,this.print_token(t),a&&!s||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case g.after_newline:return this._output.space_before_token=!0,!a||s?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case g.preserve_newline:return d||this.allow_wrap_or_preserved_newline(t),r=!(this._output.just_added_newline()||d),this._output.space_before_token=r,this.print_token(t),void(this._output.space_before_token=!0)}}e?(this.allow_wrap_or_preserved_newline(t),r=!1,o=(e=this._tokens.peek())&&p(e.type,[u.WORD,u.RESERVED])):"..."===t.text?(this.allow_wrap_or_preserved_newline(t),r=this._flags.last_token.type===u.START_BLOCK,o=!1):(p(t.text,["--","++","!","~"])||n)&&(this._flags.last_token.type!==u.COMMA&&this._flags.last_token.type!==u.START_EXPR||this.allow_wrap_or_preserved_newline(t),o=r=!1,!t.newlines||"--"!==t.text&&"++"!==t.text||this.print_newline(!1,!0),";"===this._flags.last_token.text&&b(this._flags.mode)&&(r=!0),this._flags.last_token.type===u.RESERVED?r=!0:this._flags.last_token.type===u.END_EXPR?r=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===u.OPERATOR&&(r=p(t.text,["--","-","++","+"])&&p(this._flags.last_token.text,["--","-","++","+"]),p(t.text,["+","-"])&&p(this._flags.last_token.text,["--","++"])&&(o=!0)),("BlockStatement"!==this._flags.mode||this._flags.inline_frame)&&"Statement"!==this._flags.mode||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline()),this._output.space_before_token=this._output.space_before_token||r,this.print_token(t),this._output.space_before_token=o}else this.print_token(t);else this.print_token(t)},_.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):void(i.newline.test(t.text)||t.newlines?this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0))},_.prototype.print_block_commment=function(t,e){var n,r,o,a=function(t){for(var e=[],n=(t=t.replace(i.allLineBreaks,"\n")).indexOf("\n");-1!==n;)e.push(t.substring(0,n)),n=(t=t.substring(n+1)).indexOf("\n");return t.length&&e.push(t),e}(t.text),s=t.whitespace_before,l=s.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(a[0]),this.print_newline(!1,e),1this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),--t.__character_count),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){0=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t,e=this.__cache.length,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},r.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},r.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();return e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline(),e=this.__lines.join("\n"),"\n"!==t?e.replace(/[\n]/g,t):e},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),1>> === !== << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),i=(i="\\?\\.(?!\\d) "+(i=">>>= ... >>= <<= === >>> !== **= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |").replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")).replace(/ /g,"|");var m,v=new RegExp(i),y=(i=(a="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",")).concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),new RegExp("^(?:"+i.join("|")+")$"));((i=function(t,e){o.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source),t=new l(this._input),e=new c(this._input).read_options(this._options),this.__patterns={template:e,identifier:e.starting_with(s.identifier).matching(s.identifierMatch),number:t.matching(f),punct:t.matching(v),comment:t.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:t.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:t.matching(//),include:t.starting_with(/#include/).until_after(s.lineBreak),shebang:t.starting_with(/#!/).until_after(s.lineBreak),xml:t.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\]|)(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:e.until(/['\\\n\r\u2028\u2029]/),double_quote:e.until(/["\\\n\r\u2028\u2029]/),template_text:e.until(/[`\\$]/),template_expression:e.until(/[`}\\]/)}}).prototype=new o)._is_comment=function(t){return t.type===p.COMMENT||t.type===p.BLOCK_COMMENT||t.type===p.UNKNOWN},i.prototype._is_opening=function(t){return t.type===p.START_BLOCK||t.type===p.START_EXPR},i.prototype._is_closing=function(t,e){return(t.type===p.END_BLOCK||t.type===p.END_EXPR)&&e&&("]"===t.text&&"["===e.text||")"===t.text&&"("===e.text||"}"===t.text&&"{"===e.text)},i.prototype._reset=function(){m=!1},i.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.peek();return null===n?this._create_token(p.EOF,""):this._read_non_javascript(n)||this._read_string(n)||this._read_word(t)||this._read_singles(n)||this._read_comment(n)||this._read_regexp(n,t)||this._read_xml(n,t)||this._read_punctuation()||this._create_token(p.UNKNOWN,this._input.next())},i.prototype._read_word=function(t){var e=this.__patterns.identifier.read();return""!==e?(e=e.replace(s.allLineBreaks,"\n"),t.type!==p.DOT&&(t.type!==p.RESERVED||"set"!==t.text&&"get"!==t.text)&&y.test(e)?"in"===e||"of"===e?this._create_token(p.OPERATOR,e):this._create_token(p.RESERVED,e):this._create_token(p.WORD,e)):""!==(e=this.__patterns.number.read())?this._create_token(p.WORD,e):void 0},i.prototype._read_singles=function(t){var e=null;return"("===t||"["===t?e=this._create_token(p.START_EXPR,t):")"===t||"]"===t?e=this._create_token(p.END_EXPR,t):"{"===t?e=this._create_token(p.START_BLOCK,t):"}"===t?e=this._create_token(p.END_BLOCK,t):";"===t?e=this._create_token(p.SEMICOLON,t):"."===t&&g.test(this._input.peek(1))?e=this._create_token(p.DOT,t):","===t&&(e=this._create_token(p.COMMA,t)),e&&this._input.next(),e},i.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(""!==t)return"="===t?this._create_token(p.EQUALS,t):"?."===t?this._create_token(p.DOT,t):this._create_token(p.OPERATOR,t)},i.prototype._read_non_javascript=function(t){var e="";if("#"===t){if(this._is_first_token()&&(e=this.__patterns.shebang.read()))return this._create_token(p.UNKNOWN,e.trim()+"\n");if(e=this.__patterns.include.read())return this._create_token(p.UNKNOWN,e.trim()+"\n");t=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(h)){for(;n+=t=this._input.next(),this._input.hasNext()&&"#"!==t&&"="!==t;);return"#"===t||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(p.WORD,n)}this._input.back()}else if("<"===t&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(s.newline);)e+=this._input.next();return m=!0,this._create_token(p.COMMENT,e)}}else if(m&&"-"===t&&(e=this.__patterns.html_comment_end.read()))return m=!1,this._create_token(p.COMMENT,e);return null},i.prototype._read_comment=function(t){var e,n=null;return"/"===t&&(e="","*"===this._input.peek(1)?(e=this.__patterns.block_comment.read(),(t=d.get_directives(e))&&"start"===t.ignore&&(e+=d.readIgnored(this._input)),e=e.replace(s.allLineBreaks,"\n"),(n=this._create_token(p.BLOCK_COMMENT,e)).directives=t):"/"===this._input.peek(1)&&(e=this.__patterns.comment.read(),n=this._create_token(p.COMMENT,e))),n},i.prototype._read_string=function(t){if("`"!==t&&"'"!==t&&'"'!==t)return null;var e=this._input.next();return this.has_char_escapes=!1,e+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=function(t){for(var e,n="",o=new r(t),i=null;o.hasNext();)if((i=o.match(/([\s]|[^\\]|\\\\)+/g))&&(n+=i[0]),"\\"===o.peek()){if(o.next(),"x"===o.peek())i=o.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==o.peek()){n+="\\",o.hasNext()&&(n+=o.next());continue}i=o.match(/u([0-9A-Fa-f]{4})/g)}if(!i)return t;if(126<(e=parseInt(i[1],16))&&e<=255&&0===i[0].indexOf("x"))return t;n+=0<=e&&e<32?"\\"+i[0]:34===e||39===e||92===e?"\\"+String.fromCharCode(e):String.fromCharCode(e)}return n}(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(s.allLineBreaks,"\n"),this._create_token(p.STRING,e)},i.prototype._allow_regexp_or_xml=function(t){return t.type===p.RESERVED&&u(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===p.END_EXPR&&")"===t.text&&t.opened.previous.type===p.RESERVED&&u(t.opened.previous.text,["if","while","for"])||u(t.type,[p.COMMENT,p.START_EXPR,p.START_BLOCK,p.START,p.END_BLOCK,p.OPERATOR,p.EQUALS,p.EOF,p.SEMICOLON,p.COMMA])},i.prototype._read_regexp=function(t,e){if("/"===t&&this._allow_regexp_or_xml(e)){for(var n=this._input.next(),r=!1,o=!1;this._input.hasNext()&&(r||o||this._input.peek()!==t)&&!this._input.testChar(s.newline);)n+=this._input.peek(),r?r=!1:(r="\\"===this._input.peek(),"["===this._input.peek()?o=!0:"]"===this._input.peek()&&(o=!1)),this._input.next();return this._input.peek()===t&&(n+=this._input.next(),n+=this._input.read(s.identifier)),this._create_token(p.STRING,n)}return null},i.prototype._read_xml=function(t,e){if(this._options.e4x&&"<"===t&&this._allow_regexp_or_xml(e)){var n="",r=this.__patterns.xml.read_match();if(r){for(var o=r[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),i=0===o.indexOf("{"),a=0;r;){var l=!!r[1],c=r[2];if(!r[r.length-1]&&"![CDATA["!==c.slice(0,8)&&(c===o||i&&c.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(l?--a:++a),n+=r[0],a<=0)break;r=this.__patterns.xml.read_match()}return r||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(s.allLineBreaks,"\n"),this._create_token(p.STRING,n)}}return null},i.prototype._read_string_recursive=function(t,e,n){var r,o;"'"===t?o=this.__patterns.single_quote:'"'===t?o=this.__patterns.double_quote:"`"===t?o=this.__patterns.template_text:"}"===t&&(o=this.__patterns.template_expression);for(var i=o.read(),a="";this._input.hasNext();){if((a=this._input.next())===t||!e&&s.newline.test(a)){this._input.back();break}"\\"===a&&this._input.hasNext()?("x"===(r=this._input.peek())||"u"===r?this.has_char_escapes=!0:"\r"===r&&"\n"===this._input.peek(1)&&this._input.next(),a+=this._input.next()):n&&("${"===n&&"$"===a&&"{"===this._input.peek()&&(a+=this._input.next()),n===a&&(a+="`"===t?this._read_string_recursive("}",e,"`"):this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(a+=this._input.next()))),i+=a+=o.read()}return i},t.exports.Tokenizer=i,t.exports.TOKEN=p,t.exports.positionable_operators=n.slice(),t.exports.line_starters=a.slice()},function(t){var e=RegExp.prototype.hasOwnProperty("sticky");function n(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){0=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},function(t,e,n){var r=n(8).InputScanner,o=n(3).Token,i=n(10).TokenStream,a=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"};(n=function(t,e){this._input=new r(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)}).prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new i,this._reset();for(var e=new o(s.START,""),n=null,r=[],a=new i;e.type!==s.EOF;){for(t=this._get_next_token(e,n);this._is_comment(t);)a.add(t),t=this._get_next_token(e,n);a.isEmpty()||(t.comments_before=a,a=new i),t.parent=n,this._is_opening(t)?(r.push(n),n=t):n&&this._is_closing(t,n)&&((t.opened=n).closed=t,n=r.pop(),t.parent=n),(t.previous=e).next=t,this.__tokens.add(t),e=t}return this.__tokens},n.prototype._is_first_token=function(){return this.__tokens.isEmpty()},n.prototype._reset=function(){},n.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},n.prototype._is_comment=function(t){return!1},n.prototype._is_opening=function(t){return!1},n.prototype._is_closing=function(t,e){return!1},n.prototype._create_token=function(t,e){return new o(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},n.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=n,t.exports.TOKEN=s},function(t){function e(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position/),erb:t.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:t.starting_with(/{%/).until_after(/%}/),django_value:t.starting_with(/{{/).until_after(/}}/),django_comment:t.starting_with(/{#/).until_after(/#}/),smarty:t.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:t.starting_with(/{\*/).until_after(/\*}/),smarty_literal:t.starting_with(/{literal}/).until_after(/{\/literal}/)}}(i.prototype=new r)._create=function(){return new i(this._input,this)},i.prototype._update=function(){this.__set_templated_pattern()},i.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},i.prototype.read_options=function(t){var e,n=this._create();for(e in o)n._disabled[e]=-1===t.templating.indexOf(e);return n._update(),n},i.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},i.prototype.read=function(){for(var t="",e=(t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern),this._read_template());e;)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},i.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},i.prototype._read_template=function(){var t,e="",n=this._input.peek();return"<"===n?(t=this._input.peek(1),this._disabled.php||this._excluded.php||"?"!==t||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==t||(e=e||this.__patterns.erb.read())):"{"===n&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read())),e},t.exports.TemplatablePattern=i}],e={},r=function n(r){var o=e[r];return void 0!==o||(o=e[r]={exports:{}},t[r](o,o.exports,n)),o.exports}(0);n=r}();var i=n;void 0===(r=function(){return{js_beautify:i}}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){var r;function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){var n;!function(){"use strict";var t=[,,function(t){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function n(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",0this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),--t.__character_count),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){0=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t,e=this.__cache.length,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},r.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},r.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();return e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline(),e=this.__lines.join("\n"),"\n"!==t?e.replace(/[\n]/g,t):e},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),1=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},,,,,function(t){function e(t,e){t="string"==typeof t?t:t.source,e="string"==typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}e.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(t);n;)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},e.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=e},,function(t,e,n){var r=n(16).Beautifier,o=n(17).Options;t.exports=function(t,e){return new r(t,e).beautify()},t.exports.defaultOptions=function(){return new o}},function(t,e,n){var r=n(17).Options,o=n(2).Output,i=n(8).InputScanner,a=new(n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,u=/(?:\s|\n)+/g,p=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function f(t,e){this._source_text=t||"",this._options=new r(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}f.prototype.eatString=function(t){var e="";for(this._ch=this._input.next();this._ch;){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},f.prototype.eatWhitespace=function(t){for(var e=c.test(this._input.peek()),n=0;c.test(this._input.peek());)this._ch=this._input.next(),t&&"\n"===this._ch&&(0===n||n=this._nestedLevel):this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&v&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===f&&this._output.trim(!0),_=w=!1,y&&(this.outdent(),y=!1),this.print_string(this._ch),v=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!v&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==m?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),y||(this._output.space_before_token=y=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(r),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===m?(y&&(this.outdent(),y=!1),w=_=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),m++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),m&&(m--,this.outdent()))):(this.preserveSingleSpace(r),this.print_string(this._ch),this.eatWhitespace(),m++,this.indent()):")"===this._ch?(m&&(m--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||y||0!==m||w||_?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||y||0!==m?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(r),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):("!"!==this._ch||this._input.lookBack("\\")?this.preserveSingleSpace(r):this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(e)},t.exports.Beautifier=f},function(t,e,n){var r=n(6).Options;function o(t){r.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0),t=this._get_boolean("space_around_selector_separator"),this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var e=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var n=0;ne[1]?1:-1}t.exports=function(t,e){switch(e){case"natural":return t.sort(o);case"standard":return t.sort(i);case"none":case!1:return t}}},function(t,e,n){var r=n(80).Spaces,o=n(15),i=n(81),a=/[\s"'][iI]\s*\]/,s=/([\d\w])([iI])\]/g,l=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,c=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,u=/^(?:(?:)\s*)+/,p=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,d=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,f=/[>\+~]/,h=/\s/;t.exports=function(t,e,n,g,m){var v=[],y=[];function b(t,e){return m.push("HTML comment '"+e+"' at "+i(t[2][0])+". Removing."),""}for(var _=0,w=t.length;_~]/.test(o(e[1])),l=0,c=e[2].length;lt.length)&&(e=t.length);for(var n=0,r=new Array(e);n")?"".concat(c,""):c;c=t(c,s(s({},n),{},{filePath:i,actualPath:i}),[].concat(o(L.includedIn),[{file:L.absoluteFilePath,line:r}])),i=function(t){var e=1t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(i);try{for(v.s();!(m=v.n()).done;){var y=m.value;l.push.apply(l,r(t(y,n)))}}catch(e){v.e(e)}finally{v.f()}}return l},Object.defineProperty(e,"rulesCollection",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"registerRule",{enumerable:!0,get:function(){return u.registerRule}}),Object.defineProperty(e,"dependencies",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"registerDependencies",{enumerable:!0,get:function(){return p.registerDependencies}}),Object.defineProperty(e,"assignDependencies",{enumerable:!0,get:function(){return p.assignDependencies}}),e.formatValidationError=void 0,c=c(n(52));var u=l(n(490)),p=l(n(496)),d=["mjml"];c=c.default,e.formatValidationError=c},function(t,e,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=n(74),i=n(30),a=n(56),s=n(18);t.exports=function(t,e,n){if(!s(n))return!1;var l=r(e);return!!("number"==l?i(n)&&a(e,n.length):"string"==l&&e in n)&&o(n[e],t)}},function(t,e,n){"use strict";n.r(e),n.d(e,"Parser",(function(){return x})),n.d(e,"DomHandler",(function(){return C.c})),n.d(e,"parseDocument",(function(){return R})),n.d(e,"parseDOM",(function(){return M})),n.d(e,"createDomStream",(function(){return B})),n.d(e,"Tokenizer",(function(){return d})),n.d(e,"ElementType",(function(){return r})),n.d(e,"getFeed",(function(){return I.getFeed})),n.d(e,"parseFeed",(function(){return F})),n.d(e,"DomUtils",(function(){return I})),n.d(e,"DefaultHandler",(function(){return C.c}));var r={};n.r(r),n.d(r,"ElementType",(function(){return f})),n.d(r,"isTag",(function(){return T})),n.d(r,"Root",(function(){return A})),n.d(r,"Text",(function(){return O})),n.d(r,"Directive",(function(){return S})),n.d(r,"Comment",(function(){return k})),n.d(r,"Script",(function(){return P})),n.d(r,"Style",(function(){return j})),n.d(r,"Tag",(function(){return N})),n.d(r,"CDATA",(function(){return L})),n.d(r,"Doctype",(function(){return D}));var o,i,a,s=n(11);function l(t){return t===o.Space||t===o.NewLine||t===o.Tab||t===o.FormFeed||t===o.CarriageReturn}function c(t){return t===o.Slash||t===o.Gt||l(t)}function u(t){return t>=o.Zero&&t<=o.Nine}(g=o=o||{})[g.Tab=9]="Tab",g[g.NewLine=10]="NewLine",g[g.FormFeed=12]="FormFeed",g[g.CarriageReturn=13]="CarriageReturn",g[g.Space=32]="Space",g[g.ExclamationMark=33]="ExclamationMark",g[g.Num=35]="Num",g[g.Amp=38]="Amp",g[g.SingleQuote=39]="SingleQuote",g[g.DoubleQuote=34]="DoubleQuote",g[g.Dash=45]="Dash",g[g.Slash=47]="Slash",g[g.Zero=48]="Zero",g[g.Nine=57]="Nine",g[g.Semi=59]="Semi",g[g.Lt=60]="Lt",g[g.Eq=61]="Eq",g[g.Gt=62]="Gt",g[g.Questionmark=63]="Questionmark",g[g.UpperA=65]="UpperA",g[g.LowerA=97]="LowerA",g[g.UpperF=70]="UpperF",g[g.LowerF=102]="LowerF",g[g.UpperZ=90]="UpperZ",g[g.LowerZ=122]="LowerZ",g[g.LowerX=120]="LowerX",g[g.OpeningSquareBracket=91]="OpeningSquareBracket",(m=i=i||{})[m.Text=1]="Text",m[m.BeforeTagName=2]="BeforeTagName",m[m.InTagName=3]="InTagName",m[m.InSelfClosingTag=4]="InSelfClosingTag",m[m.BeforeClosingTagName=5]="BeforeClosingTagName",m[m.InClosingTagName=6]="InClosingTagName",m[m.AfterClosingTagName=7]="AfterClosingTagName",m[m.BeforeAttributeName=8]="BeforeAttributeName",m[m.InAttributeName=9]="InAttributeName",m[m.AfterAttributeName=10]="AfterAttributeName",m[m.BeforeAttributeValue=11]="BeforeAttributeValue",m[m.InAttributeValueDq=12]="InAttributeValueDq",m[m.InAttributeValueSq=13]="InAttributeValueSq",m[m.InAttributeValueNq=14]="InAttributeValueNq",m[m.BeforeDeclaration=15]="BeforeDeclaration",m[m.InDeclaration=16]="InDeclaration",m[m.InProcessingInstruction=17]="InProcessingInstruction",m[m.BeforeComment=18]="BeforeComment",m[m.CDATASequence=19]="CDATASequence",m[m.InSpecialComment=20]="InSpecialComment",m[m.InCommentLike=21]="InCommentLike",m[m.BeforeSpecialS=22]="BeforeSpecialS",m[m.SpecialStartSequence=23]="SpecialStartSequence",m[m.InSpecialTag=24]="InSpecialTag",m[m.BeforeEntity=25]="BeforeEntity",m[m.BeforeNumericEntity=26]="BeforeNumericEntity",m[m.InNamedEntity=27]="InNamedEntity",m[m.InNumericEntity=28]="InNumericEntity",m[m.InHexEntity=29]="InHexEntity",(v=a={})[v.NoValue=0]="NoValue",v[v.Unquoted=1]="Unquoted",v[v.Single=2]="Single",v[v.Double=3]="Double";var p={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function t(e,n){var r=void 0!==(r=e.xmlMode)&&r;e=void 0===(e=e.decodeEntities)||e,function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cbs=n,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=e,this.entityTrie=r?s.xmlDecodeTree:s.htmlDecodeTree}return function(t,e){e&&function(t,e){for(var n=0;nthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===o.Amp&&(this.state=i.BeforeEntity)}},{key:"stateSpecialStartSequence",value:function(t){var e=this.sequenceIndex===this.currentSequence.length;if(e?c(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(t)}},{key:"stateInSpecialTag",value:function(t){if(this.sequenceIndex===this.currentSequence.length){if(t===o.Gt||l(t)){var e,n=this.index-this.currentSequence.length;return this.sectionStart=o.LowerA&&t<=o.LowerZ||t>=o.UpperA&&t<=o.UpperZ}(t)}},{key:"startSpecial",value:function(t,e){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=e,this.state=i.SpecialStartSequence}},{key:"stateBeforeTagName",value:function(t){var e;t===o.ExclamationMark?(this.state=i.BeforeDeclaration,this.sectionStart=this.index+1):t===o.Questionmark?(this.state=i.InProcessingInstruction,this.sectionStart=this.index+1):this.isTagStartChar(t)?(e=32|t,this.sectionStart=this.index,this.xmlMode||e!==p.TitleEnd[2]?this.state=this.xmlMode||e!==p.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(p.TitleEnd,3)):t===o.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(t))}},{key:"stateInTagName",value:function(t){c(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(t))}},{key:"stateBeforeClosingTagName",value:function(t){l(t)||(t===o.Gt?this.state=i.Text:(this.state=this.isTagStartChar(t)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))}},{key:"stateInClosingTagName",value:function(t){t!==o.Gt&&!l(t)||(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(t))}},{key:"stateAfterClosingTagName",value:function(t){t!==o.Gt&&!this.fastForwardTo(o.Gt)||(this.state=i.Text,this.sectionStart=this.index+1)}},{key:"stateBeforeAttributeName",value:function(t){t===o.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):t===o.Slash?this.state=i.InSelfClosingTag:l(t)||(this.state=i.InAttributeName,this.sectionStart=this.index)}},{key:"stateInSelfClosingTag",value:function(t){t===o.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):l(t)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(t))}},{key:"stateInAttributeName",value:function(t){t!==o.Eq&&!c(t)||(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(t))}},{key:"stateAfterAttributeName",value:function(t){t===o.Eq?this.state=i.BeforeAttributeValue:t===o.Slash||t===o.Gt?(this.cbs.onattribend(a.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(t)):l(t)||(this.cbs.onattribend(a.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)}},{key:"stateBeforeAttributeValue",value:function(t){t===o.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):t===o.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):l(t)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}},{key:"handleInAttributeValue",value:function(t,e){t===e||!this.decodeEntities&&this.fastForwardTo(e)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===o.DoubleQuote?a.Double:a.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&t===o.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)}},{key:"stateInAttributeValueDoubleQuotes",value:function(t){this.handleInAttributeValue(t,o.DoubleQuote)}},{key:"stateInAttributeValueSingleQuotes",value:function(t){this.handleInAttributeValue(t,o.SingleQuote)}},{key:"stateInAttributeValueNoQuotes",value:function(t){l(t)||t===o.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(a.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===o.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)}},{key:"stateBeforeDeclaration",value:function(t){t===o.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=t===o.Dash?i.BeforeComment:i.InDeclaration}},{key:"stateInDeclaration",value:function(t){t!==o.Gt&&!this.fastForwardTo(o.Gt)||(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)}},{key:"stateInProcessingInstruction",value:function(t){t!==o.Gt&&!this.fastForwardTo(o.Gt)||(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)}},{key:"stateBeforeComment",value:function(t){t===o.Dash?(this.state=i.InCommentLike,this.currentSequence=p.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration}},{key:"stateInSpecialComment",value:function(t){t!==o.Gt&&!this.fastForwardTo(o.Gt)||(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)}},{key:"stateBeforeSpecialS",value:function(t){var e=32|t;e===p.ScriptEnd[3]?this.startSpecial(p.ScriptEnd,4):e===p.StyleEnd[3]?this.startSpecial(p.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(t))}},{key:"stateBeforeEntity",value:function(t){this.entityExcess=1,this.entityResult=0,t===o.Num?this.state=i.BeforeNumericEntity:t===o.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(t))}},{key:"stateInNamedEntity",value:function(t){if(this.entityExcess+=1,this.trieIndex=Object(s.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,t),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var e=this.trieCurrent&s.BinTrieFlags.VALUE_LENGTH;e&&(e=(e>>14)-1,this.allowLegacyEntity()||t===o.Semi?((t=this.index-this.entityExcess+1)>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.entityResult=this.trieIndex,this.trieIndex+=e,this.entityExcess=0,this.sectionStart=this.index+1,0==e&&this.emitNamedEntity()):this.trieIndex+=e)}},{key:"emitNamedEntity",value:function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&s.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~s.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},{key:"stateBeforeNumericEntity",value:function(t){(32|t)===o.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(t))}},{key:"emitNumericEntity",value:function(t){var e=this.index-this.entityExcess-1;2+e+Number(this.state===i.InHexEntity)!==this.index&&(e>this.sectionStart&&this.emitPartial(this.sectionStart,e),this.sectionStart=this.index+Number(t),this.emitCodePoint(Object(s.replaceCodePoint)(this.entityResult))),this.state=this.baseState}},{key:"stateInNumericEntity",value:function(t){t===o.Semi?this.emitNumericEntity(!0):u(t)?(this.entityResult=10*this.entityResult+(t-o.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}},{key:"stateInHexEntity",value:function(t){t===o.Semi?this.emitNumericEntity(!0):u(t)?(this.entityResult=16*this.entityResult+(t-o.Zero),this.entityExcess++):function(t){return t>=o.UpperA&&t<=o.UpperF||t>=o.LowerA&&t<=o.LowerF}(t)?(this.entityResult=16*this.entityResult+((32|t)-o.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}},{key:"allowLegacyEntity",value:function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)}},{key:"cleanup",value:function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}},{key:"shouldContinue",value:function(){return this.index=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,e-this.bufferOffset);return n}},{key:"shiftBuffer",value:function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}},{key:"write",value:function(t){var e,n;this.ended?null!==(n=(e=this.cbs).onerror)&&void 0!==n&&n.call(e,new Error(".write() after done!")):(this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++))}},{key:"end",value:function(t){var e,n;this.ended?null!==(n=(e=this.cbs).onerror)&&void 0!==n&&n.call(e,Error(".end() after done!")):(t&&this.write(t),this.ended=!0,this.tokenizer.end())}},{key:"pause",value:function(){this.tokenizer.pause()}},{key:"resume",value:function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex$\x80-\uFFFF]/g;var r=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function o(t){for(var n="",o=0;null!==(s=e.xmlReplacer.exec(t));){var i=s.index,a=t.charCodeAt(i),s=r.get(a);o=void 0!==s?(n+=t.substring(o,i)+s,i+1):(n+="".concat(t.substring(o,i),"&#x").concat((0,e.getCodePoint)(t,i).toString(16),";"),e.xmlReplacer.lastIndex+=Number(55296==(64512&a)))}return n+t.substr(o)}function i(t,e){return function(n){for(var r,o=0,i="";r=t.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=e.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}e.getCodePoint=null!=String.prototype.codePointAt?function(t,e){return t.codePointAt(e)}:function(t,e){return 55296==(64512&t.charCodeAt(e))?1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e)},e.encodeXML=o,e.escape=o,e.escapeUTF8=i(/[&<>'"]/g,r),e.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var r=n(94),o=n(38),i=n(69),a=n(12),s=n(30),l=n(70),c=n(67),u=n(97),p=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||l(t)||u(t)||i(t)))return!t.length;var e,n=o(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(e in t)if(p.call(t,e))return!1;return!0}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e="object"==(void 0===e?"undefined":n(e))&&e&&e.Object===Object&&e,t.exports=e}).call(this,n(17))},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,n){n=n(28)(n(16),"WeakMap"),t.exports=n},function(t,e,n){t.exports=n(40)},function(t,e,n){var r=n(252),o=n(31);t.exports=function(t,e){return t&&r(t,e,o)}},function(t,e,n){var r=n(254),o=n(69),i=n(12),a=n(70),s=n(56),l=n(97),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n,u=i(t),p=!u&&o(t),d=!u&&!p&&a(t),f=!u&&!p&&!d&&l(t),h=u||p||d||f,g=h?r(t.length,String):[],m=g.length;for(n in t)!e&&!c.call(t,n)||h&&("length"==n||d&&("offset"==n||"parent"==n)||f&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||s(n,m))||g.push(n);return g}},function(t,e){t.exports=function(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o>>10&1023|55296),t=56320|1023&t),e+String.fromCharCode(t)},e.replaceCodePoint=i,e.default=function(t){return(0,e.fromCodePoint)(i(t))}},function(t,e,n){n(117)("lex"),t.exports=function(t){var e,n,r,o,i="",a=0,s=-1,l=0,c=1,u="before-selector",p=[u],d={},f=[],h=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function g(t){return t?p[p.length-1-t]:u}function m(e){return t[s+(e||1)]}function v(){var t=p.pop();return u=p[p.length-1],t}function y(t){return u=t,p.push(u),p.length}function b(t){var e=u;return p[p.length-1]=u=t,e}function _(e){var n;1==(e||1)?("\n"==t[s]?(c++,a=1):a++,s++):(1<(n=t.slice(s,s+e).split("\n")).length&&(c+=n.length-1,a=1),a+=n[n.length-1].length,s+=e)}function w(){d.end={line:c,col:a},f.push(d),i="",d={}}function E(t){d={type:t,start:{line:c,col:a}}}for(;_(),e=t[s];)switch(e){case" ":switch(g()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":i+=e}break;case"\n":case"\t":case"\r":case"\f":switch(g()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":i+=e;break;case"at-value":"\n"===e&&(d.value=i.trim(),w(),v())}break;case":":switch(g()){case"name":d.name=i.trim(),i="",b("before-value");break;case"before-selector":i+=e,E("selector"),y("selector");break;case"before-value":b("value"),i+=e;break;default:i+=e}break;case";":switch(g()){case"name":case"before-value":case"value":0t._pos){var i=n.substr(t._pos);if("x-user-defined"===t._charset){for(var a=new o(i.length),s=0;st._pos&&(t.push(new o(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){t.push(null)},c.readAsArrayBuffer(n)}t._xhr.readyState===l.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,n(14),n(17),n(22).Buffer)},function(t,e,n){(((e=t.exports=n(192)).Stream=e).Readable=e).Writable=n(196),e.Duplex=n(50),e.Transform=n(198),e.PassThrough=n(400)},function(t,e,n){"use strict";(function(e,r){var o=n(86);t.exports=v;var i,a=n(176);function s(t,e){return t.listeners(e).length}v.ReadableState=m,n(193).EventEmitter;var l=n(194),c=n(128).Buffer,u=e.Uint8Array||function(){},p=Object.create(n(61));p.inherits=n(34),e=n(393);var d,f=void 0,h=(f=e&&e.debuglog?e.debuglog("stream"):function(){},n(394));e=n(195),p.inherits(v,l);var g=["error","close","destroy","pause","resume"];function m(t,e){var r=e instanceof(i=i||n(50));this.objectMode=!!(t=t||{}).objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var o=t.highWaterMark,a=t.readableHighWaterMark;e=this.objectMode?16:16384,this.highWaterMark=o||0===o?o:r&&(a||0===a)?a:e,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d=d||n(197).StringDecoder,this.decoder=new d(t.encoding),this.encoding=t.encoding)}function v(t){if(i=i||n(50),!(this instanceof v))return new v(t);this._readableState=new m(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function y(t,e,n,r,o){var i,a=t._readableState;return null===e?(a.reading=!1,function(t,e){var n;e.ended||(!e.decoder||(n=e.decoder.end())&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length),e.ended=!0,w(t))}(t,a)):(i=o?i:function(t,e){return function(t){return c.isBuffer(t)||t instanceof u}(e)||"string"==typeof e||void 0===e||t.objectMode?void 0:new TypeError("Invalid non-string/buffer chunk")}(a,e))?t.emit("error",i):a.objectMode||e&&0e.highWaterMark&&(e.highWaterMark=function(t){return 8388608<=t?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function w(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?o.nextTick(E,t):E(t))}function E(t){f("emit readable"),t.emit("readable"),O(t)}function x(t,e){e.readingMore||(e.readingMore=!0,o.nextTick(C,t,e))}function C(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;return ti.length?i.length:t;if(a===i.length?o+=i:o+=i.slice(0,t),0==(t-=a)){a===i.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n).data=i.slice(a);break}++r}return e.length-=r,o}:function(t,e){var n=c.allocUnsafe(t),r=e.head,o=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var i=r.data,a=t>i.length?i.length:t;if(i.copy(n,n.length-t,0,a),0==(t-=a)){a===i.length?(++o,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r).data=i.slice(a);break}++o}return e.length-=o,n})(t,e),r}(t,e.buffer,e.decoder),n);var n}function k(t){var e=t._readableState;if(0=e.highWaterMark||e.ended))return f("read: emitReadable",e.length,e.ended),(0===e.length&&e.ended?k:w)(this),null;if(0===(t=_(t,e))&&e.ended)return 0===e.length&&k(this),null;var r=e.needReadable;return f("need readable",r),(0===e.length||e.length-tn&&!i.warned&&(i.warned=!0,(n=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",n.emitter=t,n.type=e,n.count=i.length,function(t){console&&console.warn&&console.warn(t)}(n))),t}function f(t,e,n){return(e=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(t={fired:!1,wrapFn:void 0,target:t,type:e,listener:n})).listener=n,t.wrapFn=e}function h(t,e,n){return void 0===(t=t._events)||void 0===(e=t[e])?[]:"function"==typeof e?n?[e.listener||e]:[e]:n?function(t){for(var e=new Array(t.length),n=0;n>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e){return 128!=(192&e[0])?(t.lastNeed=0,"�"):1>>=5)&&(e|=32),n+=r.encode(e),0>1;return 1&~t?e:-e}(s),n.rest=e}},function(t,e,n){var r=n(62),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function a(){this._array=[],this._set=i?new Map:Object.create(null)}a.fromArray=function(t,e){for(var n=new a,r=0,o=t.length;rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;t[a.componentName||(0,i.default)(a.name)]=a}}catch(t){o.e(t)}finally{o.f()}}e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e="",n=0;n\n ").concat(this.getContent(),"\n \n ")}},{key:"render",value:function(){return"\n \n \n \n \n ").concat(this.renderContent(),"\n \n \n \n \n ")}}]),n}(n(9).BodyComponent),e.default=n,(0,r.default)(n,"componentName","mj-accordion-text"),(0,r.default)(n,"endingTag",!0),(0,r.default)(n,"allowedAttributes",{"background-color":"color","font-size":"unit(px)","font-family":"string","font-weight":"string","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)",color:"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}"}),(0,r.default)(n,"defaultAttributes",{"font-size":"13px","line-height":"1",padding:"16px"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(4)),s=r(n(5)),l=r(n(8)),c=n(9),u=r(n(53));c=function(t){(0,a.default)(n,t);var e=(0,s.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,[{key:"getStyles",value:function(){return{td:{width:"100%","background-color":this.getAttribute("background-color"),color:this.getAttribute("color"),"font-size":this.getAttribute("font-size"),"font-family":this.getAttribute("font-family"),"padding-bottom":this.getAttribute("padding-bottom"),"padding-left":this.getAttribute("padding-left"),"padding-right":this.getAttribute("padding-right"),"padding-top":this.getAttribute("padding-top"),padding:this.getAttribute("padding")},table:{width:"100%","border-bottom":this.getAttribute("border")},td2:{padding:"16px",background:this.getAttribute("background-color"),"vertical-align":this.getAttribute("icon-align")},img:{display:"none",width:this.getAttribute("icon-width"),height:this.getAttribute("icon-height")}}}},{key:"renderTitle",value:function(){return"\n \n ").concat(this.getContent(),"\n \n ")}},{key:"renderIcons",value:function(){return(0,u.default)("\n \n \n \n \n "),!0)}},{key:"render",value:function(){var t=[this.renderTitle(),this.renderIcons()];return t=("right"===this.getAttribute("icon-position")?t:t.reverse()).join("\n"),"\n
\n \n \n \n ").concat(t,"\n \n \n \n
\n ")}}]),n}(c.BodyComponent),e.default=c,(0,l.default)(c,"componentName","mj-accordion-title"),(0,l.default)(c,"endingTag",!0),(0,l.default)(c,"allowedAttributes",{"background-color":"color",color:"color","font-size":"unit(px)","font-family":"string","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}"}),(0,l.default)(c,"defaultAttributes",{"font-size":"13px",padding:"16px"}),t.exports=e.default},function(t,e,n){var r=n(65)("join",n(566));r.placeholder=n(51),t.exports=r},function(t,e,n){var r=n(65)("identity",n(24),n(567));r.placeholder=n(51),t.exports=r},function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||o(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ").concat(t?"
"):"","\n \n \n \n \n \x3c!--[if mso | IE]>\n \n \n
\n \n \n \n \n ").concat(t?"
":"","\n \n ")}},{key:"renderFullWidth",value:function(){var t=this.hasBackground()?this.renderWithBackground("\n ".concat(this.renderBefore(),"\n ").concat(this.renderSection(),"\n ").concat(this.renderAfter(),"\n ")):"\n ".concat(this.renderBefore(),"\n ").concat(this.renderSection(),"\n ").concat(this.renderAfter(),"\n ");return"\n \n \n \n \n ").concat(t,"\n \n \n \n \n ")}},{key:"renderSimple",value:function(){var t=this.renderSection();return"\n ".concat(this.renderBefore(),"\n ").concat(this.hasBackground()?this.renderWithBackground(t):t,"\n ").concat(this.renderAfter(),"\n ")}},{key:"render",value:function(){return this.isFullWidth()?this.renderFullWidth():this.renderSimple()}}]),n}(v.BodyComponent),e.default=g,(0,f.default)(g,"componentName","mj-section"),(0,f.default)(g,"allowedAttributes",{"background-color":"color","background-url":"string","background-repeat":"enum(repeat,no-repeat)","background-size":"string","background-position":"string","background-position-x":"string","background-position-y":"string",border:"string","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","full-width":"enum(full-width,false,)",padding:"unit(px,%){1,4}","padding-top":"unit(px,%)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","text-align":"enum(left,center,right)","text-padding":"unit(px,%){1,4}"}),(0,f.default)(g,"defaultAttributes",{"background-repeat":"repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0","text-align":"center","text-padding":"4px 4px 4px 0"}),t.exports=e.default},function(t,e,n){"use strict";n.r(e),n.d(e,"load",(function(){return Ii})),n.d(e,"html",(function(){return _})),n.d(e,"xml",(function(){return w})),n.d(e,"text",(function(){return E})),n.d(e,"contains",(function(){return Ri})),n.d(e,"merge",(function(){return Mi})),n.d(e,"parseHTML",(function(){return Bi})),n.d(e,"root",(function(){return Fi}));var r={};n.r(r),n.d(r,"html",(function(){return _})),n.d(r,"xml",(function(){return w})),n.d(r,"text",(function(){return E})),n.d(r,"parseHTML",(function(){return x})),n.d(r,"root",(function(){return C})),n.d(r,"contains",(function(){return T})),n.d(r,"merge",(function(){return A}));var o={};n.r(o),n.d(o,"attr",(function(){return W})),n.d(o,"prop",(function(){return K})),n.d(o,"data",(function(){return Z})),n.d(o,"val",(function(){return Q})),n.d(o,"removeAttr",(function(){return et})),n.d(o,"hasClass",(function(){return nt})),n.d(o,"addClass",(function(){return rt})),n.d(o,"removeClass",(function(){return ot})),n.d(o,"toggleClass",(function(){return it}));var i={};n.r(i),n.d(i,"find",(function(){return Be})),n.d(i,"parent",(function(){return qe})),n.d(i,"parents",(function(){return ze})),n.d(i,"parentsUntil",(function(){return We})),n.d(i,"closest",(function(){return Ge})),n.d(i,"next",(function(){return Ye})),n.d(i,"nextAll",(function(){return Ke})),n.d(i,"nextUntil",(function(){return $e})),n.d(i,"prev",(function(){return Xe})),n.d(i,"prevAll",(function(){return Ze})),n.d(i,"prevUntil",(function(){return Qe})),n.d(i,"siblings",(function(){return Je})),n.d(i,"children",(function(){return tn})),n.d(i,"contents",(function(){return en})),n.d(i,"each",(function(){return nn})),n.d(i,"map",(function(){return rn})),n.d(i,"filter",(function(){return an})),n.d(i,"filterArray",(function(){return sn})),n.d(i,"is",(function(){return ln})),n.d(i,"not",(function(){return cn})),n.d(i,"has",(function(){return un})),n.d(i,"first",(function(){return pn})),n.d(i,"last",(function(){return dn})),n.d(i,"eq",(function(){return fn})),n.d(i,"get",(function(){return hn})),n.d(i,"toArray",(function(){return gn})),n.d(i,"index",(function(){return mn})),n.d(i,"slice",(function(){return vn})),n.d(i,"end",(function(){return yn})),n.d(i,"add",(function(){return bn})),n.d(i,"addBack",(function(){return _n}));var a={};n.r(a),n.d(a,"_makeDomArray",(function(){return Tn})),n.d(a,"appendTo",(function(){return Sn})),n.d(a,"prependTo",(function(){return kn})),n.d(a,"append",(function(){return Pn})),n.d(a,"prepend",(function(){return jn})),n.d(a,"wrap",(function(){return Ln})),n.d(a,"wrapInner",(function(){return Dn})),n.d(a,"unwrap",(function(){return In})),n.d(a,"wrapAll",(function(){return Rn})),n.d(a,"after",(function(){return Mn})),n.d(a,"insertAfter",(function(){return Bn})),n.d(a,"before",(function(){return Fn})),n.d(a,"insertBefore",(function(){return Un})),n.d(a,"remove",(function(){return Hn})),n.d(a,"replaceWith",(function(){return Vn})),n.d(a,"empty",(function(){return qn})),n.d(a,"html",(function(){return zn})),n.d(a,"toString",(function(){return Wn})),n.d(a,"text",(function(){return Gn})),n.d(a,"clone",(function(){return Yn}));var s={};n.r(s),n.d(s,"css",(function(){return Xn}));var l={};n.r(l),n.d(l,"serialize",(function(){return er})),n.d(l,"serializeArray",(function(){return nr}));var c={};function u(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function p(t){for(var e=1;et.length-3)){var n=t.charCodeAt(e+1);return(n>=S.LowerA&&n<=S.LowerZ||n>=S.UpperA&&n<=S.UpperZ||n===S.Exclamation)&&t.includes(">",e+2)}}function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}(fe=S=S||{})[fe.LowerA=97]="LowerA",fe[fe.LowerZ=122]="LowerZ",fe[fe.UpperA=65]="UpperA",fe[fe.UpperZ=90]="UpperZ",fe[fe.Exclamation=33]="Exclamation";var I,R,M=Object.prototype.hasOwnProperty,B=/\s+/,F="data-",U={null:null,true:!0,false:!1},H=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,V=/^{[^]*}$|^\[[^]*]$/;function q(t,e,n){var r;if(t&&Object(k.m)(t))return null!==(r=t.attribs)&&void 0!==r||(t.attribs={}),e?M.call(t.attribs,e)?!n&&H.test(e)?e:t.attribs[e]:"option"===t.name&&"value"===e?E(t.children):"input"!==t.name||"radio"!==t.attribs.type&&"checkbox"!==t.attribs.type||"value"!==e?void 0:"on":t.attribs}function z(t,e,n){null===n?J(t,e):t.attribs[e]="".concat(n)}function W(t,e){if("object"!==D(t)&&void 0===e)return 1").parent().html();case"innerHTML":return this.html();default:return G(r,t,this.options.xmlMode)}}if("object"===D(t)||void 0!==e){if("function"!=typeof e)return j(this,(function(r){Object(k.m)(r)&&("object"===D(t)?Object.keys(t).forEach((function(e){var o=t[e];Y(r,e,o,n.options.xmlMode)})):Y(r,t,e,n.options.xmlMode))}));if("object"===D(t))throw new Error("Bad combination of arguments.");return j(this,(function(r,o){Object(k.m)(r)&&Y(r,t,e.call(r,o,G(r,t,n.options.xmlMode)),n.options.xmlMode)}))}}function $(t,e,n){var r=t;null!==(t=r.data)&&void 0!==t||(r.data={}),"object"===D(e)?Object.assign(r.data,e):"string"==typeof e&&void 0!==n&&(r.data[e]=n)}function X(t,e){for(var n,r,o=null==e?(n=Object.keys(t.attribs).filter((function(t){return t.startsWith(F)}))).map((function(t){return function(t){return t.replace(/[_.-](\w|$)/g,(function(t,e){return e.toUpperCase()}))}(t.slice(F.length))})):(n=[F+function(t){return t.replace(/[A-Z]/g,"-$&").toLowerCase()}(e)],[e]),i=0;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n>10|55296,1023&r|56320)}function ht(t){return t.replace(lt,ft)}function gt(t){return 39===t||34===t}function mt(t){return 32===t||9===t||10===t||12===t||13===t}function vt(t){var e=[],n=function t(e,n,r){var o=[];function i(t){if(!(e=n.slice(r+t).match(st)))throw new Error("Expected name, found ".concat(n.slice(r)));var e=(e=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o=[],i=!0,a=!1;try{for(e=e.call(t);!(i=(n=e.next()).done)&&(o.push(n.value),1!==o.length);i=!0);}catch(t){a=!0,r=t}finally{try{i||null==e.return||e.return()}finally{if(a)throw r}}return o}}(t)||function(t){if(t){if("string"==typeof t)return at(t,1);var e=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(e="Object"===e&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?at(t,1):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e))[0];return r+=t+e.length,ht(e)}function a(t){for(r+=t;rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n>=1)):t.type===I.Pseudo&&(t.data?"has"===t.name||"contains"===t.name?n=0:Array.isArray(t.data)?(n=Math.min.apply(Math,_t(t.data.map((function(t){return Math.min.apply(Math,_t(t.map(At)))})))))<0&&(n=0):n=2:n=3),n}var Ot=/[-[\]{}()*+?.,\\^$|#\s]/g;function St(t){return t.replace(Ot,"\\$&")}var kt=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function Pt(t,e){return"boolean"==typeof t.ignoreCase?t.ignoreCase:"quirks"===t.ignoreCase?e.quirksMode:!e.xmlMode&&kt.has(t.name)}var jt={equals:function(t,e,n){var r=n.adapter,o=e.name,i=e.value;return Pt(e,n)?(i=i.toLowerCase(),function(e){var n=r.getAttributeValue(e,o);return null!=n&&n.length===i.length&&n.toLowerCase()===i&&t(e)}):function(e){return r.getAttributeValue(e,o)===i&&t(e)}},hyphen:function(t,e,n){var r=n.adapter,o=e.name,i=e.value,a=i.length;return Pt(e,n)?(i=i.toLowerCase(),function(e){var n=r.getAttributeValue(e,o);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a).toLowerCase()===i&&t(e)}):function(e){var n=r.getAttributeValue(e,o);return null!=n&&(n.length===a||"-"===n.charAt(a))&&n.substr(0,a)===i&&t(e)}},element:function(t,e,n){var r=n.adapter,o=e.name,i=e.value;if(/\s/.test(i))return bt.a.falseFunc;var a=new RegExp("(?:^|\\s)".concat(St(i),"(?:$|\\s)"),Pt(e,n)?"i":"");return function(e){var n=r.getAttributeValue(e,o);return null!=n&&n.length>=i.length&&a.test(n)&&t(e)}},exists:function(t,e,n){var r=e.name,o=n.adapter;return function(e){return o.hasAttrib(e,r)&&t(e)}},start:function(t,e,n){var r=n.adapter,o=e.name,i=e.value,a=i.length;return 0===a?bt.a.falseFunc:Pt(e,n)?(i=i.toLowerCase(),function(e){var n=r.getAttributeValue(e,o);return null!=n&&n.length>=a&&n.substr(0,a).toLowerCase()===i&&t(e)}):function(e){var n;return!(null===(n=r.getAttributeValue(e,o))||void 0===n||!n.startsWith(i))&&t(e)}},end:function(t,e,n){var r=n.adapter,o=e.name,i=e.value,a=-i.length;return 0==a?bt.a.falseFunc:Pt(e,n)?(i=i.toLowerCase(),function(e){var n;return(null===(n=r.getAttributeValue(e,o))||void 0===n?void 0:n.substr(a).toLowerCase())===i&&t(e)}):function(e){var n;return!(null===(n=r.getAttributeValue(e,o))||void 0===n||!n.endsWith(i))&&t(e)}},any:function(t,e,n){var r=n.adapter,o=e.name,i=e.value;if(""===i)return bt.a.falseFunc;if(Pt(e,n)){var a=new RegExp(St(i),"i");return function(e){var n=r.getAttributeValue(e,o);return null!=n&&n.length>=i.length&&a.test(n)&&t(e)}}return function(e){var n;return!(null===(n=r.getAttributeValue(e,o))||void 0===n||!n.includes(i))&&t(e)}},not:function(t,e,n){var r=n.adapter,o=e.name,i=e.value;return""===i?function(e){return!!r.getAttributeValue(e,o)&&t(e)}:Pt(e,n)?(i=i.toLowerCase(),function(e){var n=r.getAttributeValue(e,o);return(null==n||n.length!==i.length||n.toLowerCase()!==i)&&t(e)}):function(e){return r.getAttributeValue(e,o)!==i&&t(e)}}},Nt=new Set([9,10,12,13,32]),Lt="0".charCodeAt(0),Dt="9".charCodeAt(0);function It(t){return function(t){var e=t[0],n=t[1]-1;if(n<0&&e<=0)return bt.a.falseFunc;if(-1===e)return function(t){return t<=n};if(0===e)return function(t){return t===n};if(1===e)return n<0?bt.a.trueFunc:function(t){return n<=t};var r=Math.abs(e),o=(n%r+r)%r;return 1=Lt&&t.charCodeAt(e)<=Dt;)r=10*r+(t.charCodeAt(e)-Lt),e++;return e===n?null:r}function s(){for(;er)throw new Error("Pseudo-class :".concat(e," requires an argument"))}else if(t.length===r)throw new Error("Pseudo-class :".concat(e," doesn't have any arguments"))}var Ht={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:":is(\n :is(button, input, select, textarea, optgroup, option)[disabled],\n optgroup[disabled] > option,\n fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *)\n )",enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"};function Vt(t){return function(t){if(Array.isArray(t))return qt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return qt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}(t);try{for(a.s();!(r=a.n()).done;){var s=r.value;if(!(0t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}(t);try{for(o.s();!(e=o.n()).done;){var i=e.value;(i.some(ge)?n:r).push(i)}}catch(t){o.e(t)}finally{o.f()}return[r,n]}function ye(t){return function(t){if(Array.isArray(t))return xe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Ee(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function be(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function _e(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?null:t[e+n],c=0;ct.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}(t.split(";"));try{for(o.s();!(n=o.n()).done;){var i,a=n.value,s=a.indexOf(":");s<1||s===a.length-1?0<(i=a.trimEnd()).length&&void 0!==e&&(r[e]+=";".concat(i)):r[e=a.slice(0,s).trim()]=a.slice(s+1).trim()}}catch(t){o.e(t)}finally{o.f()}return r}(t.attribs.style);if("string"==typeof e)return n[e];if(Array.isArray(e)){var r={};return e.forEach((function(t){null!=n[t]&&(r[t]=n[t])})),r}return n}}var Qn="input,select,textarea,keygen",Jn=/%20/g,tr=/\r?\n/g;function er(){return this.serializeArray().map((function(t){return"".concat(encodeURIComponent(t.name),"=").concat(encodeURIComponent(t.value))})).join("&").replace(Jn,"+")}function nr(){var t=this;return this.map((function(e,n){var r=t._make(n);return(Object(k.m)(n)&&"form"===n.name?r.find(Qn):r.filter(Qn)).toArray()})).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((function(e,n){var r=(n=t._make(n)).attr("name");return n=null!==(n=n.val())&&void 0!==n?n:"",Array.isArray(n)?n.map((function(t){return{name:r,value:t.replace(tr,"\r\n")}})):{name:r,value:n.replace(tr,"\r\n")}})).toArray()}function rr(t,e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,rr),this.length=0,this.options=n,this._root=e,t){for(var r=0;rthis.bufferWaterline}},{key:"dropParsedChunk",value:function(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}},{key:"write",value:function(t,e){0this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(e)return this.html.startsWith(t,this.pos);for(var n=0;n=this.html.length?(this.endOfChunkHit=!this.lastChunkWritten,cr.EOF):(t=this.html.charCodeAt(t))===cr.CARRIAGE_RETURN?cr.LINE_FEED:t}},{key:"advance",value:function(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,cr.EOF;var t=this.html.charCodeAt(this.pos);return t===cr.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,cr.LINE_FEED):t===cr.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,dr(t)&&(t=this._processSurrogate(t)),null===this.handler.onParseError||31=cr.DIGIT_0&&t<=cr.DIGIT_9}function Rr(t){return t>=cr.LATIN_CAPITAL_A&&t<=cr.LATIN_CAPITAL_Z}function Mr(t){return function(t){return t>=cr.LATIN_SMALL_A&&t<=cr.LATIN_SMALL_Z}(t)||Rr(t)}function Br(t){return Mr(t)||Ir(t)}function Fr(t){return t>=cr.LATIN_CAPITAL_A&&t<=cr.LATIN_CAPITAL_F}function Ur(t){return t>=cr.LATIN_SMALL_A&&t<=cr.LATIN_SMALL_F}function Hr(t){return t===cr.SPACE||t===cr.LINE_FEED||t===cr.TABULATION||t===cr.FORM_FEED}function Vr(t){return Hr(t)||t===cr.SOLIDUS||t===cr.GREATER_THAN_SIGN}var qr=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=e,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Nr.DATA,this.returnState=Nr.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new mr(n),this.currentLocation=this.getCurrentLocation(-1)}return function(t,e){e&&function(t,e){for(var n=0;n>14)-1,t!==cr.SEMICOLON&&this._isCharacterReferenceInAttribute()&&function(t){return t===cr.EQUALS_SIGN||Br(t)}(this.preprocessor.peek(1))?(e=[cr.AMPERSAND],o+=a):(e=0==a?[xr.htmlDecodeTree[o]&~xr.BinTrieFlags.VALUE_LENGTH]:1==a?[xr.htmlDecodeTree[++o]]:[xr.htmlDecodeTree[++o],xr.htmlDecodeTree[++o]],n=0,r=t!==cr.SEMICOLON),0==a)){this._consume();break}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(ur.missingSemicolonAfterCharacterReference),this._unconsume(1),e}},{key:"_isCharacterReferenceInAttribute",value:function(){return this.returnState===Nr.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Nr.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Nr.ATTRIBUTE_VALUE_UNQUOTED}},{key:"_flushCodePointConsumedAsCharacterReference",value:function(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}},{key:"_callState",value:function(t){switch(this.state){case Nr.DATA:this._stateData(t);break;case Nr.RCDATA:this._stateRcdata(t);break;case Nr.RAWTEXT:this._stateRawtext(t);break;case Nr.SCRIPT_DATA:this._stateScriptData(t);break;case Nr.PLAINTEXT:this._statePlaintext(t);break;case Nr.TAG_OPEN:this._stateTagOpen(t);break;case Nr.END_TAG_OPEN:this._stateEndTagOpen(t);break;case Nr.TAG_NAME:this._stateTagName(t);break;case Nr.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(t);break;case Nr.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(t);break;case Nr.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(t);break;case Nr.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(t);break;case Nr.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(t);break;case Nr.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(t);break;case Nr.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(t);break;case Nr.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(t);break;case Nr.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(t);break;case Nr.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(t);break;case Nr.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(t);break;case Nr.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(t);break;case Nr.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(t);break;case Nr.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(t);break;case Nr.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(t);break;case Nr.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(t);break;case Nr.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(t);break;case Nr.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(t);break;case Nr.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(t);break;case Nr.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(t);break;case Nr.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(t);break;case Nr.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(t);break;case Nr.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(t);break;case Nr.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(t);break;case Nr.ATTRIBUTE_NAME:this._stateAttributeName(t);break;case Nr.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(t);break;case Nr.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(t);break;case Nr.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(t);break;case Nr.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(t);break;case Nr.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(t);break;case Nr.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(t);break;case Nr.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(t);break;case Nr.BOGUS_COMMENT:this._stateBogusComment(t);break;case Nr.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(t);break;case Nr.COMMENT_START:this._stateCommentStart(t);break;case Nr.COMMENT_START_DASH:this._stateCommentStartDash(t);break;case Nr.COMMENT:this._stateComment(t);break;case Nr.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(t);break;case Nr.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(t);break;case Nr.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(t);break;case Nr.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(t);break;case Nr.COMMENT_END_DASH:this._stateCommentEndDash(t);break;case Nr.COMMENT_END:this._stateCommentEnd(t);break;case Nr.COMMENT_END_BANG:this._stateCommentEndBang(t);break;case Nr.DOCTYPE:this._stateDoctype(t);break;case Nr.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(t);break;case Nr.DOCTYPE_NAME:this._stateDoctypeName(t);break;case Nr.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(t);break;case Nr.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(t);break;case Nr.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(t);break;case Nr.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(t);break;case Nr.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(t);break;case Nr.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(t);break;case Nr.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break;case Nr.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(t);break;case Nr.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(t);break;case Nr.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(t);break;case Nr.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(t);break;case Nr.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(t);break;case Nr.BOGUS_DOCTYPE:this._stateBogusDoctype(t);break;case Nr.CDATA_SECTION:this._stateCdataSection(t);break;case Nr.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(t);break;case Nr.CDATA_SECTION_END:this._stateCdataSectionEnd(t);break;case Nr.CHARACTER_REFERENCE:this._stateCharacterReference(t);break;case Nr.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(t);break;case Nr.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(t);break;case Nr.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(t);break;case Nr.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(t);break;case Nr.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(t);break;case Nr.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(t);break;case Nr.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(t);break;default:throw new Error("Unknown state")}}},{key:"_stateData",value:function(t){switch(t){case cr.LESS_THAN_SIGN:this.state=Nr.TAG_OPEN;break;case cr.AMPERSAND:this.returnState=Nr.DATA,this.state=Nr.CHARACTER_REFERENCE;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this._emitCodePoint(t);break;case cr.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}},{key:"_stateRcdata",value:function(t){switch(t){case cr.AMPERSAND:this.returnState=Nr.RCDATA,this.state=Nr.CHARACTER_REFERENCE;break;case cr.LESS_THAN_SIGN:this.state=Nr.RCDATA_LESS_THAN_SIGN;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this._emitChars("�");break;case cr.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}},{key:"_stateRawtext",value:function(t){switch(t){case cr.LESS_THAN_SIGN:this.state=Nr.RAWTEXT_LESS_THAN_SIGN;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this._emitChars("�");break;case cr.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}},{key:"_stateScriptData",value:function(t){switch(t){case cr.LESS_THAN_SIGN:this.state=Nr.SCRIPT_DATA_LESS_THAN_SIGN;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this._emitChars("�");break;case cr.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}},{key:"_statePlaintext",value:function(t){switch(t){case cr.NULL:this._err(ur.unexpectedNullCharacter),this._emitChars("�");break;case cr.EOF:this._emitEOFToken();break;default:this._emitCodePoint(t)}}},{key:"_stateTagOpen",value:function(t){if(Mr(t))this._createStartTagToken(),this.state=Nr.TAG_NAME,this._stateTagName(t);else switch(t){case cr.EXCLAMATION_MARK:this.state=Nr.MARKUP_DECLARATION_OPEN;break;case cr.SOLIDUS:this.state=Nr.END_TAG_OPEN;break;case cr.QUESTION_MARK:this._err(ur.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Nr.BOGUS_COMMENT,this._stateBogusComment(t);break;case cr.EOF:this._err(ur.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(ur.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Nr.DATA,this._stateData(t)}}},{key:"_stateEndTagOpen",value:function(t){if(Mr(t))this._createEndTagToken(),this.state=Nr.TAG_NAME,this._stateTagName(t);else switch(t){case cr.GREATER_THAN_SIGN:this._err(ur.missingEndTagName),this.state=Nr.DATA;break;case cr.EOF:this._err(ur.eofBeforeTagName),this._emitChars("");break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this.state=Nr.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case cr.EOF:this._err(ur.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Nr.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}},{key:"_stateScriptDataEscapedLessThanSign",value:function(t){t===cr.SOLIDUS?this.state=Nr.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Mr(t)?(this._emitChars("<"),this.state=Nr.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=Nr.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}},{key:"_stateScriptDataEscapedEndTagOpen",value:function(t){Mr(t)?(this.state=Nr.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this.state=Nr.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case cr.EOF:this._err(ur.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Nr.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}},{key:"_stateScriptDataDoubleEscapedLessThanSign",value:function(t){t===cr.SOLIDUS?(this.state=Nr.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Nr.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}},{key:"_stateScriptDataDoubleEscapeEnd",value:function(t){if(this.preprocessor.startsWith("script",!1)&&Vr(this.preprocessor.peek(6))){this._emitCodePoint(t);for(var e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Nr.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Nr.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}},{key:"_stateBeforeAttributeName",value:function(t){switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.SOLIDUS:case cr.GREATER_THAN_SIGN:case cr.EOF:this.state=Nr.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break;case cr.EQUALS_SIGN:this._err(ur.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Nr.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Nr.ATTRIBUTE_NAME,this._stateAttributeName(t)}}},{key:"_stateAttributeName",value:function(t){switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:case cr.SOLIDUS:case cr.GREATER_THAN_SIGN:case cr.EOF:this._leaveAttrName(),this.state=Nr.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break;case cr.EQUALS_SIGN:this._leaveAttrName(),this.state=Nr.BEFORE_ATTRIBUTE_VALUE;break;case cr.QUOTATION_MARK:case cr.APOSTROPHE:case cr.LESS_THAN_SIGN:this._err(ur.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(Rr(t)?t+32:t)}}},{key:"_stateAfterAttributeName",value:function(t){switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.SOLIDUS:this.state=Nr.SELF_CLOSING_START_TAG;break;case cr.EQUALS_SIGN:this.state=Nr.BEFORE_ATTRIBUTE_VALUE;break;case cr.GREATER_THAN_SIGN:this.state=Nr.DATA,this.emitCurrentTagToken();break;case cr.EOF:this._err(ur.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Nr.ATTRIBUTE_NAME,this._stateAttributeName(t)}}},{key:"_stateBeforeAttributeValue",value:function(t){switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.QUOTATION_MARK:this.state=Nr.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case cr.APOSTROPHE:this.state=Nr.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case cr.GREATER_THAN_SIGN:this._err(ur.missingAttributeValue),this.state=Nr.DATA,this.emitCurrentTagToken();break;default:this.state=Nr.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}},{key:"_stateAttributeValueDoubleQuoted",value:function(t){switch(t){case cr.QUOTATION_MARK:this.state=Nr.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case cr.AMPERSAND:this.returnState=Nr.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Nr.CHARACTER_REFERENCE;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this.currentAttr.value+="�";break;case cr.EOF:this._err(ur.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}},{key:"_stateAttributeValueSingleQuoted",value:function(t){switch(t){case cr.APOSTROPHE:this.state=Nr.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case cr.AMPERSAND:this.returnState=Nr.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Nr.CHARACTER_REFERENCE;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this.currentAttr.value+="�";break;case cr.EOF:this._err(ur.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}},{key:"_stateAttributeValueUnquoted",value:function(t){switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:this._leaveAttrValue(),this.state=Nr.BEFORE_ATTRIBUTE_NAME;break;case cr.AMPERSAND:this.returnState=Nr.ATTRIBUTE_VALUE_UNQUOTED,this.state=Nr.CHARACTER_REFERENCE;break;case cr.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Nr.DATA,this.emitCurrentTagToken();break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this.currentAttr.value+="�";break;case cr.QUOTATION_MARK:case cr.APOSTROPHE:case cr.LESS_THAN_SIGN:case cr.EQUALS_SIGN:case cr.GRAVE_ACCENT:this._err(ur.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break;case cr.EOF:this._err(ur.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(t)}}},{key:"_stateAfterAttributeValueQuoted",value:function(t){switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:this._leaveAttrValue(),this.state=Nr.BEFORE_ATTRIBUTE_NAME;break;case cr.SOLIDUS:this._leaveAttrValue(),this.state=Nr.SELF_CLOSING_START_TAG;break;case cr.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Nr.DATA,this.emitCurrentTagToken();break;case cr.EOF:this._err(ur.eofInTag),this._emitEOFToken();break;default:this._err(ur.missingWhitespaceBetweenAttributes),this.state=Nr.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}},{key:"_stateSelfClosingStartTag",value:function(t){switch(t){case cr.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Nr.DATA,this.emitCurrentTagToken();break;case cr.EOF:this._err(ur.eofInTag),this._emitEOFToken();break;default:this._err(ur.unexpectedSolidusInTag),this.state=Nr.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}},{key:"_stateBogusComment",value:function(t){var e=this.currentToken;switch(t){case cr.GREATER_THAN_SIGN:this.state=Nr.DATA,this.emitCurrentComment(e);break;case cr.EOF:this.emitCurrentComment(e),this._emitEOFToken();break;case cr.NULL:this._err(ur.unexpectedNullCharacter),e.data+="�";break;default:e.data+=String.fromCodePoint(t)}}},{key:"_stateMarkupDeclarationOpen",value:function(t){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=Nr.COMMENT_START):this._consumeSequenceIfMatch("doctype",!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=Nr.DOCTYPE):this._consumeSequenceIfMatch("[CDATA[",!0)?this.inForeignNode?this.state=Nr.CDATA_SECTION:(this._err(ur.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=Nr.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ur.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Nr.BOGUS_COMMENT,this._stateBogusComment(t))}},{key:"_stateCommentStart",value:function(t){switch(t){case cr.HYPHEN_MINUS:this.state=Nr.COMMENT_START_DASH;break;case cr.GREATER_THAN_SIGN:this._err(ur.abruptClosingOfEmptyComment),this.state=Nr.DATA;var e=this.currentToken;this.emitCurrentComment(e);break;default:this.state=Nr.COMMENT,this._stateComment(t)}}},{key:"_stateCommentStartDash",value:function(t){var e=this.currentToken;switch(t){case cr.HYPHEN_MINUS:this.state=Nr.COMMENT_END;break;case cr.GREATER_THAN_SIGN:this._err(ur.abruptClosingOfEmptyComment),this.state=Nr.DATA,this.emitCurrentComment(e);break;case cr.EOF:this._err(ur.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="-",this.state=Nr.COMMENT,this._stateComment(t)}}},{key:"_stateComment",value:function(t){var e=this.currentToken;switch(t){case cr.HYPHEN_MINUS:this.state=Nr.COMMENT_END_DASH;break;case cr.LESS_THAN_SIGN:e.data+="<",this.state=Nr.COMMENT_LESS_THAN_SIGN;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),e.data+="�";break;case cr.EOF:this._err(ur.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+=String.fromCodePoint(t)}}},{key:"_stateCommentLessThanSign",value:function(t){var e=this.currentToken;switch(t){case cr.EXCLAMATION_MARK:e.data+="!",this.state=Nr.COMMENT_LESS_THAN_SIGN_BANG;break;case cr.LESS_THAN_SIGN:e.data+="<";break;default:this.state=Nr.COMMENT,this._stateComment(t)}}},{key:"_stateCommentLessThanSignBang",value:function(t){t===cr.HYPHEN_MINUS?this.state=Nr.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Nr.COMMENT,this._stateComment(t))}},{key:"_stateCommentLessThanSignBangDash",value:function(t){t===cr.HYPHEN_MINUS?this.state=Nr.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Nr.COMMENT_END_DASH,this._stateCommentEndDash(t))}},{key:"_stateCommentLessThanSignBangDashDash",value:function(t){t!==cr.GREATER_THAN_SIGN&&t!==cr.EOF&&this._err(ur.nestedComment),this.state=Nr.COMMENT_END,this._stateCommentEnd(t)}},{key:"_stateCommentEndDash",value:function(t){var e=this.currentToken;switch(t){case cr.HYPHEN_MINUS:this.state=Nr.COMMENT_END;break;case cr.EOF:this._err(ur.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="-",this.state=Nr.COMMENT,this._stateComment(t)}}},{key:"_stateCommentEnd",value:function(t){var e=this.currentToken;switch(t){case cr.GREATER_THAN_SIGN:this.state=Nr.DATA,this.emitCurrentComment(e);break;case cr.EXCLAMATION_MARK:this.state=Nr.COMMENT_END_BANG;break;case cr.HYPHEN_MINUS:e.data+="-";break;case cr.EOF:this._err(ur.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="--",this.state=Nr.COMMENT,this._stateComment(t)}}},{key:"_stateCommentEndBang",value:function(t){var e=this.currentToken;switch(t){case cr.HYPHEN_MINUS:e.data+="--!",this.state=Nr.COMMENT_END_DASH;break;case cr.GREATER_THAN_SIGN:this._err(ur.incorrectlyClosedComment),this.state=Nr.DATA,this.emitCurrentComment(e);break;case cr.EOF:this._err(ur.eofInComment),this.emitCurrentComment(e),this._emitEOFToken();break;default:e.data+="--!",this.state=Nr.COMMENT,this._stateComment(t)}}},{key:"_stateDoctype",value:function(t){switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:this.state=Nr.BEFORE_DOCTYPE_NAME;break;case cr.GREATER_THAN_SIGN:this.state=Nr.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break;case cr.EOF:this._err(ur.eofInDoctype),this._createDoctypeToken(null);var e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.missingWhitespaceBeforeDoctypeName),this.state=Nr.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}},{key:"_stateBeforeDoctypeName",value:function(t){if(Rr(t))this._createDoctypeToken(String.fromCharCode(t+32)),this.state=Nr.DOCTYPE_NAME;else switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.NULL:this._err(ur.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=Nr.DOCTYPE_NAME;break;case cr.GREATER_THAN_SIGN:this._err(ur.missingDoctypeName),this._createDoctypeToken(null);var e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.EOF:this._err(ur.eofInDoctype),this._createDoctypeToken(null),(e=this.currentToken).forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=Nr.DOCTYPE_NAME}}},{key:"_stateDoctypeName",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:this.state=Nr.AFTER_DOCTYPE_NAME;break;case cr.GREATER_THAN_SIGN:this.state=Nr.DATA,this.emitCurrentDoctype(e);break;case cr.NULL:this._err(ur.unexpectedNullCharacter),e.name+="�";break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.name+=String.fromCodePoint(Rr(t)?t+32:t)}}},{key:"_stateAfterDoctypeName",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.GREATER_THAN_SIGN:this.state=Nr.DATA,this.emitCurrentDoctype(e);break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=Nr.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=Nr.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ur.invalidCharacterSequenceAfterDoctypeName),e.forceQuirks=!0,this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}},{key:"_stateAfterDoctypePublicKeyword",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:this.state=Nr.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case cr.QUOTATION_MARK:this._err(ur.missingWhitespaceAfterDoctypePublicKeyword),e.publicId="",this.state=Nr.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case cr.APOSTROPHE:this._err(ur.missingWhitespaceAfterDoctypePublicKeyword),e.publicId="",this.state=Nr.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case cr.GREATER_THAN_SIGN:this._err(ur.missingDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Nr.DATA,this.emitCurrentDoctype(e);break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.missingQuoteBeforeDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}},{key:"_stateBeforeDoctypePublicIdentifier",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.QUOTATION_MARK:e.publicId="",this.state=Nr.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case cr.APOSTROPHE:e.publicId="",this.state=Nr.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case cr.GREATER_THAN_SIGN:this._err(ur.missingDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Nr.DATA,this.emitCurrentDoctype(e);break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.missingQuoteBeforeDoctypePublicIdentifier),e.forceQuirks=!0,this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}},{key:"_stateDoctypePublicIdentifierDoubleQuoted",value:function(t){var e=this.currentToken;switch(t){case cr.QUOTATION_MARK:this.state=Nr.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),e.publicId+="�";break;case cr.GREATER_THAN_SIGN:this._err(ur.abruptDoctypePublicIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.publicId+=String.fromCodePoint(t)}}},{key:"_stateDoctypePublicIdentifierSingleQuoted",value:function(t){var e=this.currentToken;switch(t){case cr.APOSTROPHE:this.state=Nr.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),e.publicId+="�";break;case cr.GREATER_THAN_SIGN:this._err(ur.abruptDoctypePublicIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.publicId+=String.fromCodePoint(t)}}},{key:"_stateAfterDoctypePublicIdentifier",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:this.state=Nr.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case cr.GREATER_THAN_SIGN:this.state=Nr.DATA,this.emitCurrentDoctype(e);break;case cr.QUOTATION_MARK:this._err(ur.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cr.APOSTROPHE:this._err(ur.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}},{key:"_stateBetweenDoctypePublicAndSystemIdentifiers",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.QUOTATION_MARK:e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cr.APOSTROPHE:e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}},{key:"_stateAfterDoctypeSystemKeyword",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:this.state=Nr.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case cr.QUOTATION_MARK:this._err(ur.missingWhitespaceAfterDoctypeSystemKeyword),e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cr.APOSTROPHE:this._err(ur.missingWhitespaceAfterDoctypeSystemKeyword),e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cr.GREATER_THAN_SIGN:this._err(ur.missingDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Nr.DATA,this.emitCurrentDoctype(e);break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}},{key:"_stateBeforeDoctypeSystemIdentifier",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.QUOTATION_MARK:e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cr.APOSTROPHE:e.systemId="",this.state=Nr.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cr.GREATER_THAN_SIGN:this._err(ur.missingDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Nr.DATA,this.emitCurrentDoctype(e);break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.missingQuoteBeforeDoctypeSystemIdentifier),e.forceQuirks=!0,this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}},{key:"_stateDoctypeSystemIdentifierDoubleQuoted",value:function(t){var e=this.currentToken;switch(t){case cr.QUOTATION_MARK:this.state=Nr.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),e.systemId+="�";break;case cr.GREATER_THAN_SIGN:this._err(ur.abruptDoctypeSystemIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.systemId+=String.fromCodePoint(t)}}},{key:"_stateDoctypeSystemIdentifierSingleQuoted",value:function(t){var e=this.currentToken;switch(t){case cr.APOSTROPHE:this.state=Nr.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case cr.NULL:this._err(ur.unexpectedNullCharacter),e.systemId+="�";break;case cr.GREATER_THAN_SIGN:this._err(ur.abruptDoctypeSystemIdentifier),e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:e.systemId+=String.fromCodePoint(t)}}},{key:"_stateAfterDoctypeSystemIdentifier",value:function(t){var e=this.currentToken;switch(t){case cr.SPACE:case cr.LINE_FEED:case cr.TABULATION:case cr.FORM_FEED:break;case cr.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.EOF:this._err(ur.eofInDoctype),e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break;default:this._err(ur.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Nr.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}},{key:"_stateBogusDoctype",value:function(t){var e=this.currentToken;switch(t){case cr.GREATER_THAN_SIGN:this.emitCurrentDoctype(e),this.state=Nr.DATA;break;case cr.NULL:this._err(ur.unexpectedNullCharacter);break;case cr.EOF:this.emitCurrentDoctype(e),this._emitEOFToken()}}},{key:"_stateCdataSection",value:function(t){switch(t){case cr.RIGHT_SQUARE_BRACKET:this.state=Nr.CDATA_SECTION_BRACKET;break;case cr.EOF:this._err(ur.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(t)}}},{key:"_stateCdataSectionBracket",value:function(t){t===cr.RIGHT_SQUARE_BRACKET?this.state=Nr.CDATA_SECTION_END:(this._emitChars("]"),this.state=Nr.CDATA_SECTION,this._stateCdataSection(t))}},{key:"_stateCdataSectionEnd",value:function(t){switch(t){case cr.GREATER_THAN_SIGN:this.state=Nr.DATA;break;case cr.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Nr.CDATA_SECTION,this._stateCdataSection(t)}}},{key:"_stateCharacterReference",value:function(t){t===cr.NUMBER_SIGN?this.state=Nr.NUMERIC_CHARACTER_REFERENCE:Br(t)?(this.state=Nr.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(cr.AMPERSAND),this._reconsumeInState(this.returnState,t))}},{key:"_stateNamedCharacterReference",value:function(t){var e=this._matchNamedCharacterReference(t);if(!this._ensureHibernation())if(e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t;){var e=this.current;0=o&&t.openElements.shortenToLength(o);break}if(t._isSpecialElement(i,a))break}}function $o(t,e){switch(e.tagID){case Er.A:case Er.B:case Er.I:case Er.S:case Er.U:case Er.EM:case Er.TT:case Er.BIG:case Er.CODE:case Er.FONT:case Er.NOBR:case Er.SMALL:case Er.STRIKE:case Er.STRONG:ko(t,e);break;case Er.P:!function(t){t.openElements.hasInButtonScope(Er.P)||t._insertFakeElement(wr.P,Er.P),t._closePElement()}(t);break;case Er.DL:case Er.UL:case Er.OL:case Er.DIR:case Er.DIV:case Er.NAV:case Er.PRE:case Er.MAIN:case Er.MENU:case Er.ASIDE:case Er.BUTTON:case Er.CENTER:case Er.FIGURE:case Er.FOOTER:case Er.HEADER:case Er.HGROUP:case Er.DIALOG:case Er.ADDRESS:case Er.ARTICLE:case Er.DETAILS:case Er.SECTION:case Er.SUMMARY:case Er.LISTING:case Er.FIELDSET:case Er.BLOCKQUOTE:case Er.FIGCAPTION:!function(t,e){e=e.tagID,t.openElements.hasInScope(e)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(e))}(t,e);break;case Er.LI:!function(t){t.openElements.hasInListItemScope(Er.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(Er.LI),t.openElements.popUntilTagNamePopped(Er.LI))}(t);break;case Er.DD:case Er.DT:!function(t,e){e=e.tagID,t.openElements.hasInScope(e)&&(t.openElements.generateImpliedEndTagsWithExclusion(e),t.openElements.popUntilTagNamePopped(e))}(t,e);break;case Er.H1:case Er.H2:case Er.H3:case Er.H4:case Er.H5:case Er.H6:!function(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}(t);break;case Er.BR:!function(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(wr.BR,Er.BR),t.openElements.pop(),t.framesetOk=!1}(t);break;case Er.BODY:!function(t,e){var n;t.openElements.hasInScope(Er.BODY)&&(t.insertionMode=ho.AFTER_BODY,!t.options.sourceCodeLocationInfo||(n=t.openElements.tryPeekProperlyNestedBodyElement())&&t._setEndLocation(n,e))}(t,e);break;case Er.HTML:!function(t,e){t.openElements.hasInScope(Er.BODY)&&(t.insertionMode=ho.AFTER_BODY,hi(t,e))}(t,e);break;case Er.FORM:!function(t){var e=0=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}function _i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n").concat(function(t,e){return e.treeAdapter.isElementNode(t)&&e.treeAdapter.getNamespaceURI(t)===yr.HTML&&xi.has(e.treeAdapter.getTagName(t))}(t,e)?"":"".concat(function(t,e){var n="";if(t=e.treeAdapter.isElementNode(t)&&e.treeAdapter.getTagName(t)===wr.TEMPLATE&&e.treeAdapter.getNamespaceURI(t)===yr.HTML?e.treeAdapter.getTemplateContent(t):t,t=e.treeAdapter.getChildNodes(t)){var r,o=bi(t);try{for(o.s();!(r=o.n()).done;)n+=Ti(r.value,e)}catch(t){o.e(t)}finally{o.f()}}return n}(t,e),""))}(t,e):e.treeAdapter.isTextNode(t)?function(t,e){var n=e.treeAdapter,r=n.getTextNodeContent(t),o=n.getParentNode(t);return(t=o&&n.isElementNode(o)&&n.getTagName(o))&&n.getNamespaceURI(o)===yr.HTML&&jr(t,e.scriptingEnabled)?r:Object(yi.escapeText)(r)}(t,e):e.treeAdapter.isCommentNode(t)?function(t,e){return e=e.treeAdapter,"\x3c!--".concat(e.getCommentNodeContent(t),"--\x3e")}(t,e):e.treeAdapter.isDocumentTypeNode(t)?function(t,e){return e=e.treeAdapter,"")}(t,e):""}function Ai(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function Oi(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n>>0,e>>>=0;for(var i=Array(o);++r"},HBS:{start:"{{",end:"}}"}}},function(t,e,n){"use strict";e.byteLength=function(t){var e=l(t);return 3*((t=e[0])+(e=e[1]))/4-e},e.toByteArray=function(t){for(var e,n=(r=l(t))[0],r=r[1],a=new i(function(t,e,n){return 3*(e+n)/4-n}(0,n,r)),s=0,c=0>16&255,a[s++]=e>>8&255,a[s++]=255&e;return 2===r&&(e=o[t.charCodeAt(u)]<<2|o[t.charCodeAt(u+1)]>>4,a[s++]=255&e),1===r&&(e=o[t.charCodeAt(u)]<<10|o[t.charCodeAt(u+1)]<<4|o[t.charCodeAt(u+2)]>>2,a[s++]=e>>8&255,a[s++]=255&e),a},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=0,s=n-o;a>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}(o));return i.join("")}(t,a,s>2]+r[e<<4&63]+"==")):2==o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;function l(t){var e=t.length;if(0>1,u=-7,p=n?o-1:0,d=n?-1:1;for(n=t[e+p],p+=d,i=n&(1<<-u)-1,n>>=-u,u+=s;0>=-u,u+=r;0>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,f=r?1:-1;for(i=e<0||0===e&&1/e<0?1:0,e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(r=Math.pow(2,-a))<1&&(a--,r*=2),2<=(e+=1<=a+u?p/r:p*Math.pow(2,1-u))*r&&(a++,r/=2),c<=a+u?(s=0,a=c):1<=a+u?(s=(e*r-1)*Math.pow(2,o),a+=u):(s=e*Math.pow(2,u-1)*Math.pow(2,o),a=0));8<=o;t[n+d]=255&s,d+=f,s/=256,o-=8);for(a=a<䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(t){return t.charCodeAt(0)})))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(t){return t.charCodeAt(0)})))},function(t,e,n){t.exports={lex:n(178),parse:n(344),stringify:n(345)}},function(t,e,n){n(117)("parse");var r,o,i,a,s=n(178);function l(t,e){var n;e=e||{};for(var r=["type","name","value"],o={},a=0;a+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(//,"["+r(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])"));function c(){this.length=0}function u(t,e,n,a,s,l,u,p,d,f,h,g,m,v,y,b){var _,w;return(e||!this.length)&&(_=this[this.length++]=new c,e)||(_=_||this[this.length-1],w=(w=n||a||!_.length?_[_.length++]=new i(n):w)||_[_.length-1],s?w.tag=o(s):l?w.id=o(l):u?(s=o(u),(l=w.classes||(w.classes={}))[s]||(l[s]=r(u),(u=w.classList||(w.classList=[])).push(s),u.sort())):m?(b=b||y,(w.pseudos||(w.pseudos=[])).push({type:1==g.length?"class":"element",name:o(m),escapedName:r(m),value:b?o(b):null,escapedValue:b?r(b):null})):p&&(h=h?r(h):null,(w.attributes||(w.attributes=[])).push({operator:d,name:o(p),escapedName:r(p),value:h?o(h):null,escapedValue:h?r(h):null}))),""}function p(t){this.length=0;for(var e,n=this,r=t;t;){if((e=t.replace(l,(function(){return u.apply(n,arguments)})))===t)throw new Error(r+" is an invalid expression");t=e}}i.prototype.toString=function(){if(!this.raw){var t,e,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(t=0;e=this.attributes[t++];)n+="["+e.name+(e.operator?e.operator+'"'+e.value+'"':"")+"]";if(this.pseudos)for(t=0;e=this.pseudos[t++];)n+=":"+e.name,e.value&&(n+="("+e.value+")");this.raw=n}return this.raw},c.prototype.toString=function(){if(!this.raw){for(var t,e="",n=0;t=this[n++];)1!==n&&(e+=" ")," "!==t.combinator&&(e+=t.combinator+" "),e+=t;this.raw=e}return this.raw},p.prototype.toString=function(){if(!this.raw){for(var t,e=[],n=0;t=this[n++];)e.push(t);this.raw=e.join(", ")}return this.raw};var d={};t.exports=function(t){return null==t?null:(t=(""+t).replace(/^\s+|\s+$/g,""),d[t]||(d[t]=new p(t)))}},function(t,e,n){"use strict";t.exports=o;var r=n(116);function o(t,e,n,r,o){this.prop=t,this.value=e,this.selector=n,this.priority=r||0,this.additionalPriority=o||[]}o.prototype.compareFunc=function(t){var e=[];e.push.apply(e,this.selector.specificity()),e.push.apply(e,this.additionalPriority),e[0]+=this.priority;var n=[];return n.push.apply(n,t.selector.specificity()),n.push.apply(n,t.additionalPriority),n[0]+=t.priority,r.compareFunc(e,n)},o.prototype.compare=function(t){return 1===this.compareFunc(t)?this:t},o.prototype.toString=function(){return this.prop+": "+this.value.replace(/['"]+/g,"")+";"}},function(t,e,n){"use strict";var r=n(116),o=n(350);t.exports=function(t){function e(e,a,s){s=s||{};var l=r.parseCSS(a),c=[],u="style",p={};function d(r,o){if(r.name){var i=r.name.toUpperCase();if(-1").get(0)).pseudoElementType=m,i.pseudoElementParent=a,i.counterProps=a.counterProps,a[o]=i),a=i),a.styleProps||(a.styleProps={},e(a).attr(u)&&(i="* { "+e(a).attr(u)+" } ",f(r.parseCSS(i)[0][1],new r.Selector(""))}function n(t){return t.replace(/\s*!important$/,"")}function i(t){return"before"===t.name||"after"===t.name}return t.ignoredPseudos=["hover","active","focus","visited","link"],t.widthElements=["TABLE","TD","TH","IMG"],t.heightElements=["TABLE","TD","TH","IMG"],t.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],t.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],t.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},t.excludedProperties=[],t.juiceDocument=function(n,o){var i=function(e,n){return function(e,n){var o,i,a=[];return e("style").each((function(){var s,l=!!(i=this).childNodes;1===(o=l?i.childNodes:i.children).length?(o=o[0].data,n.applyStyleTags&&void 0===e(i).attr("data-embed")&&a.push(o),n.removeStyleTags&&void 0===e(i).attr("data-embed")&&(s=l?i.childNodes[0].nodeValue:i.children[0].data,(s=r.getPreservedText(s,{mediaQueries:n.preserveMediaQueries,fontFaces:n.preserveFontFaces,keyFrames:n.preserveKeyFrames,pseudos:n.preservePseudos},t.ignoredPseudos))?l?i.childNodes[0].nodeValue=s:i.children[0].data=s:e(i).remove()),e(i).removeAttr("data-embed")):n.removeStyleTags&&e(i).remove()})),a}(e,n).join("\n")}(n,o=r.getDefaultOptions(o));return e(n,i+="\n"+o.extraCss,o),n},t.inlineDocument=e,t}},function(t,e,n){"use strict";e.romanize=function(t){if(isNaN(t))return NaN;for(var e=String(+t).split(""),n=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],r="",o=3;o--;)r=(n[+e.pop()+10*o]||"")+r;return Array(+e.join("")+1).join("M")+r},e.alphanumeric=function(t){for(var e,n="";0this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),--t.__character_count),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){0=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var t,e=this.__cache.length,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},r.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},r.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();return e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline(),e=this.__lines.join("\n"),"\n"!==t?e.replace(/[\n]/g,t):e},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(t,e){return this.next_line.set_indent(t=t||0,e=e||0),1=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=n},function(t,e,n){var r=n(8).InputScanner,o=n(3).Token,i=n(10).TokenStream,a=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"};(n=function(t,e){this._input=new r(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)}).prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new i,this._reset();for(var e=new o(s.START,""),n=null,r=[],a=new i;e.type!==s.EOF;){for(t=this._get_next_token(e,n);this._is_comment(t);)a.add(t),t=this._get_next_token(e,n);a.isEmpty()||(t.comments_before=a,a=new i),t.parent=n,this._is_opening(t)?(r.push(n),n=t):n&&this._is_closing(t,n)&&((t.opened=n).closed=t,n=r.pop(),t.parent=n),(t.previous=e).next=t,this.__tokens.add(t),e=t}return this.__tokens},n.prototype._is_first_token=function(){return this.__tokens.isEmpty()},n.prototype._reset=function(){},n.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},n.prototype._is_comment=function(t){return!1},n.prototype._is_opening=function(t){return!1},n.prototype._is_closing=function(t,e){return!1},n.prototype._create_token=function(t,e){return new o(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},n.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=n,t.exports.TOKEN=s},function(t){function e(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position/),erb:t.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:t.starting_with(/{%/).until_after(/%}/),django_value:t.starting_with(/{{/).until_after(/}}/),django_comment:t.starting_with(/{#/).until_after(/#}/),smarty:t.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:t.starting_with(/{\*/).until_after(/\*}/),smarty_literal:t.starting_with(/{literal}/).until_after(/{\/literal}/)}}(i.prototype=new r)._create=function(){return new i(this._input,this)},i.prototype._update=function(){this.__set_templated_pattern()},i.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},i.prototype.read_options=function(t){var e,n=this._create();for(e in o)n._disabled[e]=-1===t.templating.indexOf(e);return n._update(),n},i.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},i.prototype.read=function(){for(var t="",e=(t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern),this._read_template());e;)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},i.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},i.prototype._read_template=function(){var t,e="",n=this._input.peek();return"<"===n?(t=this._input.peek(1),this._disabled.php||this._excluded.php||"?"!==t||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==t||(e=e||this.__patterns.erb.read())):"{"===n&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read())),e},t.exports.TemplatablePattern=i},,,,function(t,e,n){var r=n(19).Beautifier,o=n(20).Options;t.exports=function(t,e,n,o){return new r(t,e,n,o).beautify()},t.exports.defaultOptions=function(){return new o}},function(t,e,n){function r(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new i(t,e)}var o=n(20).Options,i=n(2).Output,a=n(21).Tokenizer,s=n(21).TOKEN,l=/\r\n|[\r\n]/,c=/\r\n|[\r\n]/g;function u(t,e){return-1!==e.indexOf(t)}function p(t,e,n){this.parent=t||null,this.tag=e?e.tag_name:"",this.indent_level=n||0,this.parser_token=e||null}function d(t){this._printer=t,this._current_frame=null}function f(t,e,n,r){this._source_text=t||"",e=e||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null,e=new o(e,"html"),this._options=e,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,5),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,8),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}r.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)},r.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e},r.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},r.prototype.add_raw_token=function(t){this._output.add_raw_token(t)},r.prototype.print_preserved_newlines=function(t){var e=0;t.type!==s.TEXT&&t.previous.type!==s.TEXT&&(e=t.newlines?1:0),this.preserve_newlines&&(e=t.newlines|]]>)$/.exec(a)))return void t.add_raw_token(e);l=s+n[1]+"\n",a=n[4],n[5]&&(c=s+n[5]),a=a.replace(/\n[ \t]*$/,""),(n[2]||-1!==n[3].indexOf("\n"))&&(n=n[3].match(/[ \t]+$/))&&(e.whitespace_before=n[0])}a=a&&(o?((i=function(){this.eol="\n"}).prototype=this._options.raw_options,o(s+a,new i)):s+(a=(i=e.whitespace_before)?a.replace(new RegExp("\n("+i+")?","g"),"\n"):a).replace(/\n/g,"\n"+s)),l&&(a=a?l+a+"\n"+c:l+c),t.print_newline(!1),a&&(e.text=a,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}},f.prototype._handle_tag_open=function(t,e,n,r){var o=this._get_tag_open_token(e);return!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||e.type!==s.TAG_OPEN||0!==e.text.indexOf("]*)/),this.tag_check=n?n[1]:""):(n=e.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===e.text&&">"===this.tag_check&&null!==e.next&&(this.tag_check=e.next.text)),this.tag_check=this.tag_check.toLowerCase(),e.type===s.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&"/>"===e.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};f.prototype._get_tag_open_token=function(t){return(t=new h(this._tag_stack.get_parser_token(),t)).alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||u(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&u(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&u(t.tag_check,this._options.content_unformatted),t.is_inline_element=u(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},f.prototype._set_tag_position=function(t,e,n,r,o){n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=function(t,e){var n=null,r=null;return e.closed?("script"===t?n="text/javascript":"style"===t&&(n="text/css"),-1<(n=function(t){for(var e=null,n=t.next;n.type!==s.EOF&&t.closed!==n;){if(n.type===s.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===s.EQUALS&&n.next.next&&n.next.next.type===s.VALUE&&(e=n.next.next.text);break}n=n.next}return e}(e)||n).search("text/css")?r="css":-1/);((i=function(t,e){r.call(this,t,e),this._current_tag_name="",t=new a(this._input).read_options(this._options),e=new s(this._input),this.__patterns={word:t.until(/[\n\r\t <]/),single_quote:t.until_after(/'/),double_quote:t.until_after(/"/),attribute:t.until(/[\n\r\t =>]|\/>/),element_name:t.until(/[\n\r\t >\/]/),handlebars_comment:e.starting_with(/{{!--/).until_after(/--}}/),handlebars:e.starting_with(/{{/).until_after(/}}/),handlebars_open:e.until(/[\n\r\t }]/),handlebars_raw_close:e.until(/}}/),comment:e.starting_with(//),cdata:e.starting_with(//),conditional_comment:e.starting_with(//),processing:e.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter&&(t=this._input.get_literal_regexp(this._options.unformatted_content_delimiter),this.__patterns.unformatted_content_delimiter=e.matching(t).until_after(t))}).prototype=new r)._is_comment=function(t){return!1},i.prototype._is_opening=function(t){return t.type===l.TAG_OPEN},i.prototype._is_closing=function(t,e){return t.type===l.TAG_CLOSE&&e&&((">"===t.text||"/>"===t.text)&&"<"===e.text[0]||"}}"===t.text&&"{"===e.text[0]&&"{"===e.text[1])},i.prototype._reset=function(){this._current_tag_name=""},i.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.peek();return null===n?this._create_token(l.EOF,""):this._read_open_handlebars(n,e)||this._read_attribute(n,t,e)||this._read_close(n,e)||this._read_raw_content(n,t,e)||this._read_content_word(n)||this._read_comment_or_cdata(n)||this._read_processing(n)||this._read_open(n,e)||this._create_token(l.UNKNOWN,this._input.next())},i.prototype._read_comment_or_cdata=function(t){var e=null,n=null,r=null;return"<"===t&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(r=c.get_directives(n))&&"start"===r.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((e=this._create_token(l.COMMENT,n)).directives=r)),e},i.prototype._read_processing=function(t){var e=null,n=null;return"<"!==t||(n="!"===(t=this._input.peek(1))||"?"===t?(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read():n)&&((e=this._create_token(l.COMMENT,n)).directives=null),e},i.prototype._read_open=function(t,e){var n=null,r=null;return e||"<"===t&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),r=this._create_token(l.TAG_OPEN,n)),r},i.prototype._read_open_handlebars=function(t,e){var n=null,r=null;return e||this._options.indent_handlebars&&"{"===t&&"{"===this._input.peek(1)&&(r="!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),this._create_token(l.TAG_OPEN,n))),r},i.prototype._read_close=function(t,e){var n=null,r=null;return e&&("<"===e.text[0]&&(">"===t||"/"===t&&">"===this._input.peek(1))?(n=this._input.next(),"/"===t&&(n+=this._input.next()),r=this._create_token(l.TAG_CLOSE,n)):"{"===e.text[0]&&"}"===t&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),r=this._create_token(l.TAG_CLOSE,"}}"))),r},i.prototype._read_attribute=function(t,e,n){var r=null;return n&&"<"===n.text[0]&&("="===t?r=this._create_token(l.EQUALS,this._input.next()):'"'===t||"'"===t?(n=this._input.next(),n+=('"'===t?this.__patterns.double_quote:this.__patterns.single_quote).read(),r=this._create_token(l.VALUE,n)):(n=this.__patterns.attribute.read())&&(r=e.type===l.EQUALS?this._create_token(l.VALUE,n):this._create_token(l.ATTRIBUTE,n))),r},i.prototype._is_content_unformatted=function(t){return-1===this._options.void_elements.indexOf(t)&&(-1!==this._options.content_unformatted.indexOf(t)||-1!==this._options.unformatted.indexOf(t))},i.prototype._read_raw_content=function(t,e,n){var r="";if(n&&"{"===n.text[0])r=this.__patterns.handlebars_raw_close.read();else if(e.type===l.TAG_CLOSE&&"<"===e.opened.text[0]&&"/"!==e.text[0])if("script"===(e=e.opened.text.substr(1).toLowerCase())||"style"===e){if(t=this._read_comment_or_cdata(t))return t.type=l.TEXT,t;r=this._input.readUntil(new RegExp("","ig"))}else this._is_content_unformatted(e)&&(r=this._input.readUntil(new RegExp("","ig")));return r?this._create_token(l.TEXT,r):null},i.prototype._read_content_word=function(t){var e="";if(e=(e=this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]?this.__patterns.unformatted_content_delimiter.read():e)||this.__patterns.word.read())return this._create_token(l.TEXT,e)},t.exports.Tokenizer=i,t.exports.TOKEN=l}],e={},n=function n(r){var o=e[r];return void 0!==o||(o=e[r]={exports:{}},t[r](o,o.exports,n)),o.exports}(18);i=n}();var a=i;r=[n,n(118),n(119)],void 0===(r=function(t){var e=n(118),r=n(119);return{html_beautify:function(t,n){return a(t,n,e.js_beautify,r.css_beautify)}}}.apply(e,r))||(t.exports=r)}()},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=n(353),i=n(435).decode,a=n(436).HTMLParser,s=n(437),l=n(451),c=n(452),u=n(208);function p(t){return t&&t.replace(/^[ \n\r\t\f]+/,"").replace(/[ \n\r\t\f]+$/,"")}function d(t){return t&&t.replace(/[ \n\r\t\f\xA0]+/g,(function(t){return"\t"===t?"\t":t.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")}))}function f(t,e,n,r,o){var i="",a="";return e.preserveLineBreaks&&(t=t.replace(/^[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*/,(function(){return i="\n",""})).replace(/[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*$/,(function(){return a="\n",""}))),n&&(t=t.replace(/^[ \n\r\t\f\xA0]+/,(function(t){var n=!i&&e.conservativeCollapse;return n&&"\t"===t?"\t":t.replace(/^[^\xA0]+/,"").replace(/(\xA0+)[^\xA0]+/g,"$1 ")||(n?" ":"")}))),r&&(t=t.replace(/[ \n\r\t\f\xA0]+$/,(function(t){var n=!a&&e.conservativeCollapse;return n&&"\t"===t?"\t":t.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(n?" ":"")}))),o&&(t=d(t)),i+t+a}var h=(n=u.createMapFromString)("a,abbr,acronym,b,bdi,bdo,big,button,cite,code,del,dfn,em,font,i,ins,kbd,label,mark,math,nobr,object,q,rp,rt,rtc,ruby,s,samp,select,small,span,strike,strong,sub,sup,svg,textarea,time,tt,u,var"),g=n("a,abbr,acronym,b,big,del,em,font,i,ins,kbd,mark,nobr,rp,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"),m=n("comment,img,input,wbr");function v(t,e,n,r){var o=e&&!m(e);o&&!r.collapseInlineTagWhitespace&&(o="/"===e.charAt(0)?!h(e.slice(1)):!g(e));var i=n&&!m(n);return f(t,r,o,i=i&&!r.collapseInlineTagWhitespace?"/"===n.charAt(0)?!g(n.slice(1)):!h(n):i,e&&n)}function y(t,e){for(var n=t.length;n--;)if(t[n].name.toLowerCase()===e)return 1}var b=u.createMap(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript"]);function _(t){return""===(t=p(t.split(/;/,2)[0]).toLowerCase())||b(t)}function w(t){return""===(t=p(t).toLowerCase())||"text/css"===t}function E(t,e){if("style"===t){for(var n=0,r=e.length;n([\s\S]*?)/g,(function(n,r){c||(c=Q(t),o=new RegExp("^"+c+"([0-9]+)$"),e.ignoreCustomComments?e.ignoreCustomComments=e.ignoreCustomComments.slice():e.ignoreCustomComments=[],e.ignoreCustomComments.push(o));var o="\x3c!--"+c+rt.length+"--\x3e";return rt.push(r),o}));var it=e.ignoreCustomFragments.map((function(t){return t.source}));function at(t,n){return e.canTrimWhitespace(t,n,$)}function st(){for(var t=y.length-1;0$/);if(i)r=i[1];else if(/>$/.test(o)||(y[t]=v(o,null,n,e)))break}}function ut(t){var e,n=y.length-1;1]+$/.test(t)}(l)?a=!r||e||/\/$/.test(l)?l+" ":l:(n.preventAttributesEscaping||(l='"'==(t=void 0===n.quoteCharacter?(l.match(/'/g)||[]).length<(l.match(/"/g)||[]).length?"'":'"':"'"===n.quoteCharacter?"'":'"')?l.replace(/"/g,"""):l.replace(/'/g,"'")),a=t+l+t,r||n.removeTagWhitespace||(a+=" ")),void 0===l||n.collapseBooleanAttributes&&function(t,e){return x(t)||"draggable"===t&&!C(e)}(s.toLowerCase(),l.toLowerCase())?(i=s,r||(i+=" ")):i=s+c.customAssign+a,c.customOpen+i+c.customClose}(m,p,e,h,u)),h=!1)}0"),a&&!e.includeAutoGeneratedTags&&(st(),et="")},end:function(t,n,o){t=(e="svg"===t.toLowerCase()?Object.getPrototypeOf(e):e).name(t),e.collapseWhitespace&&(A.length?t===A[A.length-1]&&A.pop():ut("/"+t),G.length&&t===G[G.length-1]&&G.pop());var i=!1;t===w&&(w="",i=!s),e.removeOptionalTags&&(i&&H(et)&&st(),et="",!W(t)||!nt||z(nt)||"p"===nt&&D(t)||lt(),nt=P(t)?t:""),e.removeEmptyElements&&i&&function(t,e){switch(t){case"textarea":return;case"audio":case"script":case"video":if(Y("src",e))return;break;case"iframe":if(Y("src",e)||Y("srcdoc",e))return;break;case"object":if(Y("data",e))return;break;case"applet":if(Y("code",e))return}return 1}(t,n)?(st(),nt=et=""):(o&&!e.includeAutoGeneratedTags?nt="":y.push(""),r="/"+t,h(t)?i&&(b+="|"):b="")},chars:function(t,n,o){if(n=""===n?"comment":n,o=""===o?"comment":o,e.decodeEntities&&t&&!J(w)&&(t=i(t)),e.collapseWhitespace){if(!A.length){var a;if("comment"!==n||-1===(a=y[y.length-1]).indexOf(c)&&(a||(n=r),1":"--\x3e",t=function(t){return/^\[if\s[^\]]+]|\[endif]$/.test(t)}(t)?r+function(t,e){return e.processConditionalComments?t.replace(/^(\[if\s[^\]]+]>)([\s\S]*?)(":d(t))}}),e.removeOptionalTags&&(H(et)&&st(),nt&&!z(nt)&<()),e.collapseWhitespace&&ut("br"),function(t,e,n,r){var o,i=e.maxLineLength;if(i){for(var a="",s=[];t.length;){var l=a.length,c=t[0].indexOf("\n");c<0?a+=r(n(t.shift())):(a+=r(n(t[0].slice(0,c))),t[0]=t[0].slice(c+1)),0i?(s.push(a.slice(0,l)),a=a.slice(l)):0<=c&&(s.push(a),a="")}a&&s.push(a),o=s.join("\n")}else o=r(n(t.join("")));return e.collapseWhitespace?f(o,e,!0,!0):o}(y,e,m?function(t){return t.replace(m,(function(t,n,r,o){return r=ot[+r][0],e.collapseWhitespace?("\t"!==n&&(r=n+r),"\t"!==o&&(r+=o),f(r,{preserveLineBreaks:e.preserveLineBreaks,conservativeCollapse:!e.trimCustomFragments},/^[ \n\r\t\f]/.test(r),/[ \n\r\t\f]$/.test(r))):r}))}:Z,c?function(t){return t.replace(new RegExp("\x3c!--"+c+"([0-9]+)--\x3e","g"),(function(t,e){return rt[+e]}))}:Z)}e.minify=function(t,e){var n=Date.now();return t=tt(t,e=function(t){var e={name:function(t){return t.toLowerCase()},canCollapseWhitespace:K,canTrimWhitespace:$,html5:!0,ignoreCustomComments:[/^!/],ignoreCustomFragments:[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/],includeAutoGeneratedTags:!0,log:Z,minifyCSS:Z,minifyJS:Z,minifyURLs:Z};return Object.keys(t).forEach((function(n){var i=t[n];"caseSensitive"===n?i&&(e.name=Z):"log"===n?"function"==typeof i&&(e.log=i):"minifyCSS"===n&&"function"!=typeof i?i&&("object"!==r(i)&&(i={}),e.minifyCSS=function(t,n){t=t.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,(function(t,n,r,o,i){return n+r+e.minifyURLs(o)+r+i}));var r=new o(i).minify(S(t,n));return 0\s*$/,""):t;return i.parse.bare_returns=n,(r=c.minify(r,i)).error?(e.log(r.error),t):r.code.replace(/;$/,"")}):"minifyURLs"===n&&"function"!=typeof i?i&&("string"==typeof i?i={site:i}:"object"!==r(i)&&(i={}),e.minifyURLs=function(t){try{return s.relate(t,i)}catch(n){return e.log(n),t}}):e[n]=i})),e}(e||{})),e.log("minified in: "+(Date.now()-n)+"ms"),t}},function(t,e,n){t.exports=n(354)},function(t,e,n){(function(e){var r=n(355),o=n(356),i=n(364),a=n(388),s=n(389),l=n(390),c=n(80).formatFrom,u=n(412),p=n(413),d=n(414),f=n(25).OptimizationLevel,h=n(25).optimizationLevelFrom,g=n(415),m=n(416),v=n(417),y=n(424),b=n(433),_=n(434),w=t.exports=function(t){this.options={compatibility:s((t=t||{}).compatibility),fetch:l(t.fetch),format:c(t.format),inline:u(t.inline),inlineRequest:p(t.inlineRequest),inlineTimeout:d(t.inlineTimeout),level:h(t.level),rebase:g(t.rebase),rebaseTo:m(t.rebaseTo),returnPromise:!!t.returnPromise,sourceMap:!!t.sourceMap,sourceMapInlineSources:!!t.sourceMapInlineSources}};function E(t,n,s,l){var c="function"!=typeof s?s:null,u="function"==typeof l?l:"function"==typeof s?s:null,p={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:v(),localOnly:!u,options:n,source:null,sourcesContent:{},validator:a(n.compatibility),warnings:[]};return c&&p.inputSourceMapTracker.track(void 0,c),function(t){return t?function(t){return t()}:e.nextTick}(p.localOnly)((function(){return y(t,p,(function(t){return t=function(t,e){return t.stats=function(t,e){var n=Date.now()-e.stats.startedAt;return delete e.stats.startedAt,e.stats.timeSpent=n,e.stats.efficiency=1-t.length/e.stats.originalSize,e.stats.minifiedSize=t.length,e.stats}(t.styles,e),t.errors=e.errors,t.inlinedStylesheets=e.inlinedStylesheets,t.warnings=e.warnings,t}((p.options.sourceMap?_:b)(function(t,e){var n=r(t,e);return n=f.One in e.options.level?o(t,e):t,f.Two in e.options.level?i(t,e,!0):n}(t,p),p),p),u?u(0s.length?1:a.length==s.length?0:-1}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!=typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e){var n=/^@media\W/;t.exports=function(t,e){for(var r,o=t.length-1;0<=o;o--)r=!e&&n.test(t[o][1]),t[o][1]=t[o][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")").replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1").replace(r?/\) /g:null,")");return t}},function(t,e){t.exports=function(t){return t.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}},function(t,e,n){var r=n(365),o=n(376),i=n(379),a=n(380),s=n(381),l=n(382),c=n(383),u=n(384),p=n(385),d=n(386),f=n(83),h=n(25).OptimizationLevel,g=n(10);t.exports=function t(e,n,m){var v,y,b=n.options.level[h.Two];if(function(e,n){for(var r=0,o=e.length;rObject.keys(v).length||!function(t){var e,n;for(n in t){if(void 0!==e&&t[n].important!=e)return 1;e=t[n].important}}(v)&&function(t,e,n){var o,s,l,c,p=a[e],f=(e=[d.PROPERTY,[d.PROPERTY_NAME,e],[d.PROPERTY_VALUE,p.defaultValue]],u(e));for(i([f],n,[]),l=0,c=p.components.length;l~\+]/;t.exports=function(t){for(var e,n,a,s,l,c=[0,0,0],u=0,p=!1,d=!1,f=0,h=t.length;f\+~:]+/g,"")}t.exports=function(t,e){for(var n=e.options,p=n.level[a.Two].mergeSemantically,d=n.compatibility.selectors.adjacentSpace,f=n.level[a.One].selectorsSortingMethod,h=n.compatibility.selectors.mergeablePseudoClasses,g=n.compatibility.selectors.mergeablePseudoElements,m=n.compatibility.selectors.multiplePseudoMerging,v={},y=t.length-1;0<=y;y--){var b,_,w=t[y];w[0]==c.RULE&&(0e[1]?1:t[1]==e[1]?0:-1}function x(t,e,n){return function t(e,n,r,o){var i=[[e,function(t,e,n){for(var r=0,o=t.length-1;0<=o;o--)r+=t[o][2].length>n?u(t[o][1]).length:-1;return r-(t.length-1)*e+1}(e,n,r)]];if(2h?(T(O+1,y[P]),y.splice(P,1),B=!(v[R]=[j])):(v[R]=v[R]||[],v[R].push(j)),B?y[P]=function(t,e){return(t=l(t))[5]=t[5].concat(e[5]),t}(y[P],M):y.push(M))}for(I=0,k=(_=_.sort(p)).length;Ie[1]?1:-1}t.exports=function(t){for(var e=[],r=[],o=0,i=t.length;o>>0),n=this.head,o=0;n;)!function(t,e,n){t.copy(e,n)}(n.data,e,o),o+=n.data.length,n=n.next;return e},i),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var t=o.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;0<=e&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(397),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(17))},function(t,e,n){(function(t,e){!function(t){"use strict";var n,r,o,i,a,s;function l(t){delete r[t]}function c(t){if(o)setTimeout(c,0,t);else{var e=r[t];if(e){o=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{l(t),o=!1}}}}t.setImmediate||(n=1,o=!(r={}),i=t.document,s=(s=Object.getPrototypeOf&&Object.getPrototypeOf(t))&&s.setTimeout?s:t,("[object process]"==={}.toString.call(t.process)?function(){a=function(t){e.nextTick((function(){c(t)}))}}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){function e(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(n)&&c(+e.data.slice(n.length))}var n="setImmediate$"+Math.random()+"$";t.addEventListener?t.addEventListener("message",e,!1):t.attachEvent("onmessage",e),a=function(e){t.postMessage(n+e,"*")}}:t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){c(t.data)},a=function(e){t.port2.postMessage(e)}}:i&&"onreadystatechange"in i.createElement("script")?function(){var t=i.documentElement;a=function(e){var n=i.createElement("script");n.onreadystatechange=function(){c(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}:function(){a=function(t){setTimeout(c,0,t)}})(),s.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),o=0;o= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=Math.floor,b=String.fromCharCode;function _(t){throw new RangeError(v[t])}function w(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function E(t,e){var n=t.split("@"),r="";return 1>>10&1023|55296),t=56320|1023&t),e+b(t)})).join("")}function T(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function A(t,e,n){var r=0;for(t=n?y(t/700):t>>1,t+=y(t/e);455y((d-u)/i))&&_("overflow"),u+=s*i,!(s<(s=a<=h?1:h+26<=a?26:a-h));a+=f)i>y(d/(s=f-s))&&_("overflow"),i*=s;h=A(u-o,e=l.length+1,0==o),y(u/e)>d-p&&_("overflow"),p+=y(u/e),u%=e,l.splice(u++,0,p)}return C(l)}function S(t){for(var e,n,r,o,i,a,s,l,c,u,p=[],h=(t=x(t)).length,g=128,m=72,v=e=0;vy((d-e)/(l=n+1))&&_("overflow"),e+=(o-g)*l,g=o,v=0;vd&&_("overflow"),s==g){for(i=e,a=f;!(i<(c=a<=m?1:m+26<=a?26:a-m));a+=f)p.push(b(T(c+(u=i-c)%(c=f-c),0))),i=y(u/c);p.push(b(T(i,0))),m=A(e,l,n==r),e=0,++n}++e,++g}return p.join("")}if(u={version:"1.4.1",ucs2:{decode:x,encode:C},decode:O,encode:S,toASCII:function(t){return E(t,(function(t){return g.test(t)?"xn--"+S(t):t}))},toUnicode:function(t){return E(t,(function(t){return h.test(t)?O(t.slice(4).toLowerCase()):t}))}},"object"==i(n(87))&&n(87))void 0===(o=function(){return u}.call(e,n,e,t))||(t.exports=o);else if(s&&l)if(t.exports==s)l.exports=u;else for(p in u)u.hasOwnProperty(p)&&(s[p]=u[p]);else a.punycode=u}(this)}).call(this,n(54)(t),n(17))},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"===r(t)&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,n){"use strict";e.decode=e.parse=n(407),e.encode=e.stringify=n(408)},function(t,e,n){"use strict";t.exports=function(t,e,n,o){n=n||"=";var i={};if("string"!=typeof t||0===t.length)return i;var a=/\+/g;t=t.split(e=e||"&"),e=1e3,o&&"number"==typeof o.maxKeys&&(e=o.maxKeys);var s=t.length;0s;)c.column--,i=e[l].originalPositionFor(c);return!i||i.column<0?n:null===i.line&&1=this._sources.size()&&!this.sourcesContent.some((function(t){return null==t}))},c.prototype.sourceContentFor=function(t,e){if(!this.sourcesContent)return null;if(0<=(o=this._findSourceIndex(t)))return this.sourcesContent[o];var n,o=t;if(null!=this.sourceRoot&&(o=r.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(n=r.urlParse(this.sourceRoot))){if(t=o.replace(/^file:\/\//,""),"file"==n.scheme&&this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];if((!n.path||"/"==n.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(e)return null;throw new Error('"'+o+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(t){var e=r.getArg(t,"source");return(e=this._findSourceIndex(e))<0?{line:null,column:null,lastColumn:null}:(e={source:e,originalLine:r.getArg(t,"line"),originalColumn:r.getArg(t,"column")},0<=(t=this._findMapping(e,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(t,"bias",l.GREATEST_LOWER_BOUND)))&&(t=this._originalMappings[t]).source===e.source?{line:r.getArg(t,"generatedLine",null),column:r.getArg(t,"generatedColumn",null),lastColumn:r.getArg(t,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null})},e.BasicSourceMapConsumer=c,(p.prototype=Object.create(l.prototype)).constructor=l,p.prototype._version=3,Object.defineProperty(p.prototype,"sources",{get:function(){for(var t=[],e=0;et.format.wrapAt&&(a(t,t.format.breakWith),t.output.push(t.format.breakWith))}function a(t,e){e=e.split("\n"),t.line+=e.length-1,t.column=1t.format.wrapAt&&(u(t,t.format.breakWith,!1),t.output.push(t.format.breakWith))}function u(t,e,n){e=e.split("\n"),n&&function(t,e){for(var n=0,r=e.length;n>>10&1023|55296),t=56320|1023&t),n+P(t))}function f(t){return"&#x"+t.toString(16).toUpperCase()+";"}function h(t){return"&#"+t+";"}function g(t,e){function n(t){return a(t.charCodeAt(0))}(e=p(e,g.options)).strict&&C.test(t)&&N("forbidden code point");var r=e.encodeEverything,o=e.useNamedReferences,i=e.allowUnsafeSymbols,a=e.decimal?h:f;return r?(t=t.replace(v,(function(t){return o&&u(_,t)?"&"+_[t]+";":n(t)})),o&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(t=t.replace(b,(function(t){return"&"+_[t]+";"})))):o?t=(t=(t=i?t:t.replace(w,(function(t){return"&"+_[t]+";"}))).replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(b,(function(t){return"&"+_[t]+";"})):i||(t=t.replace(w,n)),t.replace(m,(function(t){var e=t.charCodeAt(0);return t=t.charCodeAt(1),a(1024*(e-55296)+t-56320+65536)})).replace(y,n)}c.global!==c&&c.window!==c||(a=c);var m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v=/[\x01-\x7F]/g,y=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,b=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,_={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","°":"deg","©":"copy","®":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78",𝒶:"ascr",𝕒:"aopf",𝔞:"afr",𝔸:"Aopf",𝔄:"Afr",𝒜:"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig",𝒷:"bscr",𝕓:"bopf",𝔟:"bfr",𝔹:"Bopf",ℬ:"Bscr",𝔅:"Bfr",𝔠:"cfr",𝒸:"cscr",𝕔:"copf",ℭ:"Cfr",𝒞:"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare",𝔡:"dfr",ⅆ:"dd",𝕕:"dopf",𝒹:"dscr",𝒟:"Dscr",𝔇:"Dfr",ⅅ:"DD",𝔻:"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr",𝔢:"efr",𝕖:"eopf",ℰ:"Escr",𝔈:"Efr",𝔼:"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr",𝔣:"ffr",𝕗:"fopf",𝒻:"fscr",𝔉:"Ffr",𝔽:"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr",𝕘:"gopf",𝔤:"gfr",𝒢:"Gscr",𝔾:"Gopf",𝔊:"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil",𝔥:"hfr",ℎ:"planckh",𝒽:"hscr",𝕙:"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok",𝕚:"iopf",𝔦:"ifr",𝒾:"iscr",ⅈ:"ii",𝕀:"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath",𝒿:"jscr",𝕛:"jopf",𝔧:"jfr",𝒥:"Jscr",𝔍:"Jfr",𝕁:"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath",𝕜:"kopf",𝓀:"kscr",𝔨:"kfr",𝒦:"Kscr",𝕂:"Kopf",𝔎:"Kfr",ķ:"kcedil",Ķ:"Kcedil",𝔩:"lfr",𝓁:"lscr",ℓ:"ell",𝕝:"lopf",ℒ:"Lscr",𝔏:"Lfr",𝕃:"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot",𝔪:"mfr",𝕞:"mopf",𝓂:"mscr",𝔐:"Mfr",𝕄:"Mopf",ℳ:"Mscr",𝔫:"nfr",𝕟:"nopf",𝓃:"nscr",ℕ:"Nopf",𝒩:"Nscr",𝔑:"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG",𝕠:"oopf",𝔬:"ofr",ℴ:"oscr",𝒪:"Oscr",𝔒:"Ofr",𝕆:"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig",𝔭:"pfr",𝓅:"pscr",𝕡:"popf",ℙ:"Popf",𝔓:"Pfr",𝒫:"Pscr",𝕢:"qopf",𝔮:"qfr",𝓆:"qscr",𝒬:"Qscr",𝔔:"Qfr",ℚ:"Qopf",ĸ:"kgreen",𝔯:"rfr",𝕣:"ropf",𝓇:"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil",𝕤:"sopf",𝓈:"sscr",𝔰:"sfr",𝕊:"Sopf",𝔖:"Sfr",𝒮:"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig",𝔱:"tfr",𝓉:"tscr",𝕥:"topf",𝒯:"Tscr",𝔗:"Tfr",𝕋:"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok",𝓊:"uscr",𝕦:"uopf",𝔲:"ufr",𝕌:"Uopf",𝔘:"Ufr",𝒰:"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr",𝔳:"vfr",𝕧:"vopf",𝓋:"vscr",𝔙:"Vfr",𝕍:"Vopf",𝒱:"Vscr",𝕨:"wopf",𝓌:"wscr",𝔴:"wfr",𝒲:"Wscr",𝕎:"Wopf",𝔚:"Wfr",ŵ:"wcirc",Ŵ:"Wcirc",𝔵:"xfr",𝓍:"xscr",𝕩:"xopf",𝕏:"Xopf",𝔛:"Xfr",𝒳:"Xscr",𝔶:"yfr",𝓎:"yscr",𝕪:"yopf",𝒴:"Yscr",𝔜:"Yfr",𝕐:"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml",𝓏:"zscr",𝔷:"zfr",𝕫:"zopf",ℨ:"Zfr",ℤ:"Zopf",𝒵:"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},w=/["&'<>`]/g,E={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},x=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,C=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,T=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,A={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},O={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},S={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},k=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],P=String.fromCharCode,j={}.hasOwnProperty,N=function(t){throw Error("Parse error: "+t)};(c=function t(e,n){var r=(n=p(n,t.options)).strict;return r&&x.test(e)&&N("malformed character reference"),e.replace(T,(function(t,e,o,i,a,s,l,c,u){var p,f,h;return e?A[h=e]:o?(h=o,i&&n.isAttributeValue?(r&&"="==i&&N("`&` did not start a character reference"),t):(r&&N("named character reference was not terminated by a semicolon"),O[h]+(i||""))):a?(f=a,p=s,r&&!p&&N("character reference was not terminated by a semicolon"),d(f=parseInt(f,10),r)):l?(p=c,r&&!p&&N("character reference was not terminated by a semicolon"),d(f=parseInt(l,16),r)):(r&&N("named character reference was not terminated by a semicolon"),t)}))}).options={isAttributeValue:!(g.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1}),strict:!1};var L={version:"1.2.0",encode:g,decode:c,escape:function(t){return t.replace(w,(function(t){return E[t]}))},unescape:c};if("object"==i(n(87))&&n(87))void 0===(o=function(){return L}.call(e,n,e,t))||(t.exports=o);else if(s&&!s.nodeType)if(l)l.exports=L;else for(var D in L)u(L,D)&&(s[D]=L[D]);else a.he=L}(this)}).call(this,n(54)(t),n(17))},function(t,e,n){"use strict";var r=n(208).createMapFromString,o=/([^\s"'<>/=]+)/,i=[/=/],a=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],s=(n="((?:"+(n="["+(n="A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u0401-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u0559\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A3")+"_]["+n+"0-9\\u0660-\\u0669\\u06F0-\\u06F9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE7-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\.\\-_\\u0300-\\u0345\\u0360\\u0361\\u0483-\\u0486\\u0591-\\u05A1\\u05A3-\\u05B9\\u05BB-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u064B-\\u0652\\u0670\\u06D6-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0901-\\u0903\\u093C\\u093E-\\u094D\\u0951-\\u0954\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A02\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A70\\u0A71\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B43\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B82\\u0B83\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C01-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C82\\u0C83\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D43\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F8B\\u0F90-\\u0F95\\u0F97\\u0F99-\\u0FAD\\u0FB1-\\u0FB7\\u0FB9\\u20D0-\\u20DC\\u20E1\\u302A-\\u302F\\u3099\\u309A\\xB7\\u02D0\\u02D1\\u0387\\u0640\\u0E46\\u0EC6\\u3005\\u3031-\\u3035\\u309D\\u309E\\u30FC-\\u30FE]*")+"\\:)?"+n+")",new RegExp("^<"+n)),l=/^\s*(\/?)>/,c=new RegExp("^<\\/"+n+"[^>]*>"),u=/^]+>/i,p=!1;"x".replace(/x(.)?/g,(function(t,e){p=""===e}));var d=r("area,base,basefont,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),f=r("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,noscript,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,svg,textarea,tt,u,var",!0),h=r("colgroup,dd,dt,li,option,p,td,tfoot,th,thead,tr,source",!0),g=r("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected",!0),m=r("script,style",!0),v=r("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,ol,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track,ul",!0),y={};function b(t,e){for(var n,r,b,_,w=[],E=function(t){var e=o.source+"(?:\\s*("+function(t){return i.concat(t.customAttrAssign||[]).map((function(t){return"(?:"+t.source+")"})).join("|")}(t)+")[ \\t\\n\\f\\r]*(?:"+a.join("|")+"))?";if(t.customAttrSurround){for(var n=[],r=t.customAttrSurround.length-1;0<=r;r--)n[r]="(?:("+t.customAttrSurround[r][0].source+")\\s*"+e+"\\s*("+t.customAttrSurround[r][1].source+"))";n.push("(?:"+e+")"),e="(?:"+n.join("|")+")"}return new RegExp("^\\s*"+e)}(e);t;){if(r=t,n&&m(n)){var x=n.toLowerCase(),C=y[x]||(y[x]=new RegExp("([\\s\\S]*?)]*>","i"));t=t.replace(C,(function(t,n){return"script"!==x&&"style"!==x&&"noscript"!==x&&(n=n.replace(//g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""})),P("",x)}else{if(0===(A=t.indexOf("<"))){if(/^\s*?)/gm,(function(t,e,n,r){return n=n.replace(/(^|>)(\s+)(<|$)/gm,(function(t,e,n,r){return"".concat(e).concat(r)})).replace(/\s{2,}/gm," "),"".concat(e).concat(n).concat(r)}))},t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=void 0===(m=t.backgroundColor)?"":m,n=void 0===(w=t.beforeDoctype)?"":w,r=void 0===(v=t.breakpoint)?"480px":v,d=void 0===(y=t.content)?"":y,f=void 0===(E=t.fonts)?{}:E,h=void 0===(b=t.mediaQueries)?{}:b,g=void 0===(x=t.headStyle)?[]:x,m=void 0===(_=t.componentsHeadStyle)?{}:_,v=void 0===(w=t.headRaw)?[]:w,y=t.preview,b=void 0===(E=t.title)?"":E,_=void 0===(x=t.style)?[]:x,w=t.forceOWADesktop,E=t.inlineStyle,x=t.lang;return t=t.dir,x=x?'lang="'.concat(x,'" '):"",t=t?'dir="'.concat(t,'" '):"","".concat(n?"".concat(n,"\n"):"","\n\n \n ').concat(b,'\n \x3c!--[if !mso]>\x3c!--\x3e\n \n \x3c!--\n \n \n \x3c!--[if mso]>\n \n \n \n \n ').concat((0,s.default)(m,(function(t,e){return"".concat(t,"\n").concat(e(r))}),""),"\n ").concat((0,s.default)(g,(function(t,e){return"".concat(t,"\n").concat(e(r))}),""),'\n \n \n ").concat(v.filter((0,a.default)(i.default)).join("\n"),'\n \n \n ').concat((0,c.default)(y),"\n ").concat(d,"\n \n\n ")};var o=r(n(68)),i=r(n(90)),a=r(n(221)),s=r(n(41)),l=r(n(46)),c=r(n(530)),u=n(531),p=r(n(532));t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return""!==t?'\n
'.concat(t,"
\n "):""},t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.buildFontsTags=function(t,e){var n=[];return(0,i.default)(2\x3c!--\x3e\n ".concat((0,o.default)(n,(function(t){return'')})).join("\n"),'\n \n \x3c!--\n @media only screen and (min-width:'.concat(t,") {\n ").concat(r.join("\n"),'\n }\n \n \n ").concat(n?'"):"","\n ")};var o=r(n(148)),i=r(n(46));t.exports=e.default},function(t,e,n){"use strict";(function(t){var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.readMjmlConfig=l,e.resolveComponentPath=c,e.registerCustomComponent=u,e.handleMjmlConfigComponents=p,e.default=function(){var e=0\n \n \n \n \n \n \n ").concat(e.render(),"\n \n \n \x3c!--[if mso | IE]>\n \n \n \n \n \n \n ").concat(this.renderChildren(t,{attributes:this.getSocialElementAttributes()}),"\n \n \n ")}},{key:"render",value:function(){return"\n ".concat("horizontal"===this.getAttribute("mode")?this.renderHorizontal():this.renderVertical(),"\n ")}}]),n}(n(9).BodyComponent),e.default=n,(0,l.default)(n,"componentName","mj-social"),(0,l.default)(n,"allowedAttributes",{align:"enum(left,right,center)","border-radius":"unit(px,%)","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","inner-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",mode:"enum(horizontal,vertical)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","table-layout":"enum(auto,fixed)","text-padding":"unit(px,%){1,4}","text-decoration":"string","vertical-align":"enum(top,bottom,middle)"}),(0,l.default)(n,"defaultAttributes",{align:"center","border-radius":"3px",color:"#333333","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","icon-size":"20px","inner-padding":null,"line-height":"22px",mode:"horizontal",padding:"10px 25px","text-decoration":"none"}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n \n \n \n \n \n ").concat(a?""):"","\n \n ").concat(a?"":"","\n \n \n \n \n \n ").concat(this.getContent()?"\n \n ").concat(a?""):""),"\n ").concat(this.getContent(),"\n ").concat(a?"":"","\n \n "):"","\n \n ")}}]),n}(a.BodyComponent),e.default=a,(0,p.default)(a,"componentName","mj-social-element"),(0,p.default)(a,"endingTag",!0),(0,p.default)(a,"allowedAttributes",{align:"enum(left,center,right)","background-color":"color",color:"color","border-radius":"unit(px)","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",name:"string","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-padding":"unit(px,%){1,4}",rel:"string",src:"string",srcset:"string",sizes:"string",alt:"string",title:"string",target:"string","text-decoration":"string","vertical-align":"enum(top,middle,bottom)"}),(0,p.default)(a,"defaultAttributes",{align:"left",color:"#000","border-radius":"3px","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"4px","text-padding":"4px 4px 4px 0",target:"_blank","text-decoration":"none","vertical-align":"middle"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Navbar",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"NavbarLink",{enumerable:!0,get:function(){return i.default}});var o=r(n(541)),i=r(n(542))},function(t,e,n){"use strict";var r=n(36).default,o=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(3)),a=o(n(7)),s=o(n(37)),l=o(n(4)),c=o(n(5)),u=o(n(8)),p=n(9),d=r(n(53)),f=o(n(225));n=function(t){(0,l.default)(n,t);var e=(0,c.default)(n);function n(){var t;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a a { display:block!important; }\n .mj-menu-checkbox[type="checkbox"]:checked ~ .mj-menu-trigger .mj-menu-icon-close { display:block!important; }\n .mj-menu-checkbox[type="checkbox"]:checked ~ .mj-menu-trigger .mj-menu-icon-open { display:none!important; }\n }\n ')})),t}return(0,a.default)(n,[{key:"getStyles",value:function(){return{div:{align:this.getAttribute("align"),width:"100%"},label:{display:"block",cursor:"pointer","mso-hide":"all","-moz-user-select":"none","user-select":"none",color:this.getAttribute("ico-color"),"font-size":this.getAttribute("ico-font-size"),"font-family":this.getAttribute("ico-font-family"),"text-transform":this.getAttribute("ico-text-transform"),"text-decoration":this.getAttribute("ico-text-decoration"),"line-height":this.getAttribute("ico-line-height"),"padding-top":this.getAttribute("ico-padding-top"),"padding-right":this.getAttribute("ico-padding-right"),"padding-bottom":this.getAttribute("ico-padding-bottom"),"padding-left":this.getAttribute("ico-padding-left"),padding:this.getAttribute("ico-padding")},trigger:{display:"none","max-height":"0px","max-width":"0px","font-size":"0px",overflow:"hidden"},icoOpen:{"mso-hide":"all"},icoClose:{display:"none","mso-hide":"all"}}}},{key:"renderHamburger",value:function(){var t=(0,f.default)(16);return"\n ".concat((0,d.msoConditionalTag)('\n \n '),!0),"\n \n \n \n ").concat(this.getAttribute("ico-open"),"\n \n \n ").concat(this.getAttribute("ico-close"),"\n \n \n \n ")}},{key:"render",value:function(){return"\n ".concat("hamburger"===this.getAttribute("hamburger")?this.renderHamburger():"","\n \n ").concat((0,d.default)('\n \n \n ')),"\n ").concat(this.renderChildren(this.props.children,{attributes:{navbarBaseUrl:this.getAttribute("base-url")}}),"\n ").concat((0,d.default)("\n
\n "),"\n \n ")}}]),n}(p.BodyComponent),e.default=n,(0,u.default)(n,"componentName","mj-navbar"),(0,u.default)(n,"allowedAttributes",{align:"enum(left,center,right)","base-url":"string",hamburger:"string","ico-align":"enum(left,center,right)","ico-open":"string","ico-close":"string","ico-color":"color","ico-font-size":"unit(px,%)","ico-font-family":"string","ico-text-transform":"string","ico-padding":"unit(px,%){1,4}","ico-padding-left":"unit(px,%)","ico-padding-top":"unit(px,%)","ico-padding-right":"unit(px,%)","ico-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-left":"unit(px,%)","padding-top":"unit(px,%)","padding-right":"unit(px,%)","padding-bottom":"unit(px,%)","ico-text-decoration":"string","ico-line-height":"unit(px,%,)"}),(0,u.default)(n,"defaultAttributes",{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"☰","ico-close":"⊗","ico-color":"#000000","ico-font-size":"30px","ico-font-family":"Ubuntu, Helvetica, Arial, sans-serif","ico-text-transform":"uppercase","ico-padding":"10px","ico-text-decoration":"none","ico-line-height":"30px"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(4)),s=r(n(5)),l=r(n(8)),c=n(9),u=r(n(53));n=function(t){(0,a.default)(n,t);var e=(0,s.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,[{key:"getStyles",value:function(){return{a:{display:"inline-block",color:this.getAttribute("color"),"font-family":this.getAttribute("font-family"),"font-size":this.getAttribute("font-size"),"font-style":this.getAttribute("font-style"),"font-weight":this.getAttribute("font-weight"),"letter-spacing":this.getAttribute("letter-spacing"),"line-height":this.getAttribute("line-height"),"text-decoration":this.getAttribute("text-decoration"),"text-transform":this.getAttribute("text-transform"),padding:this.getAttribute("padding"),"padding-top":this.getAttribute("padding-top"),"padding-left":this.getAttribute("padding-left"),"padding-right":this.getAttribute("padding-right"),"padding-bottom":this.getAttribute("padding-bottom")},td:{padding:this.getAttribute("padding"),"padding-top":this.getAttribute("padding-top"),"padding-left":this.getAttribute("padding-left"),"padding-right":this.getAttribute("padding-right"),"padding-bottom":this.getAttribute("padding-bottom")}}}},{key:"renderContent",value:function(){var t=this.getAttribute("href"),e=(e=this.getAttribute("navbarBaseUrl"))?"".concat(e).concat(t):t;return t=this.getAttribute("css-class")?" ".concat(this.getAttribute("css-class")):"","\n \n ").concat(this.getContent(),"\n \n ")}},{key:"render",value:function(){return"\n ".concat((0,u.default)("\n \n ")),"\n ").concat(this.renderContent(),"\n ").concat((0,u.default)("\n \n "),"\n ")}}]),n}(c.BodyComponent),e.default=n,(0,l.default)(n,"componentName","mj-navbar-link"),(0,l.default)(n,"endingTag",!0),(0,l.default)(n,"allowedAttributes",{color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string",name:"string",target:"string",rel:"string","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string"}),(0,l.default)(n,"defaultAttributes",{color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","font-weight":"normal","line-height":"22px",padding:"15px 10px",target:"_blank","text-decoration":"none","text-transform":"uppercase"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Carousel",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"CarouselImage",{enumerable:!0,get:function(){return i.default}});var o=r(n(544)),i=r(n(552))},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(37)),s=r(n(4)),l=r(n(5)),c=r(n(8)),u=r(n(46)),p=r(n(226)),d=r(n(547)),f=r(n(549)),h=n(9),g=n(53),m=r(n(225));h=function(t){(0,s.default)(n,t);var e=(0,l.default)(n);function n(){var t,r=0\n \n ").concat((0,f.default)(1,this.props.children.length+1).map((function(o){return"\n \n \n \n ")})).join(""),"\n \n \n ")}},{key:"generateImages",value:function(){return"\n \n \n ").concat(this.renderChildren(this.props.children,{attributes:{"border-radius":this.getAttribute("border-radius")}}),"\n \n \n ")}},{key:"generateCarousel",value:function(){return"\n \n \n \n ").concat(this.generateControls("previous",this.getAttribute("left-icon")),"\n ").concat(this.generateImages(),"\n ").concat(this.generateControls("next",this.getAttribute("right-icon")),"\n \n \n \n ")}},{key:"renderFallback",value:function(){var t=this.props.children;return 0===t.length?"":(0,g.msoConditionalTag)(this.renderChildren([t[0]],{attributes:{"border-radius":this.getAttribute("border-radius")}}))}},{key:"render",value:function(){return"\n ".concat((0,g.msoConditionalTag)("\n \n ").concat(this.generateRadios(),"\n \n ").concat(this.generateThumbnails(),"\n ").concat(this.generateCarousel(),"\n \n \n "),!0),"\n ").concat(this.renderFallback(),"\n ")}}]),n}(h.BodyComponent),e.default=h,(0,c.default)(h,"componentName","mj-carousel"),(0,c.default)(h,"allowedAttributes",{align:"enum(left,center,right)","border-radius":"unit(px,%){1,4}","container-background-color":"color","icon-width":"unit(px,%)","left-icon":"string",padding:"unit(px,%){1,4}","padding-top":"unit(px,%)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","right-icon":"string",thumbnails:"enum(visible,hidden)","tb-border":"string","tb-border-radius":"unit(px,%)","tb-hover-border-color":"color","tb-selected-border-color":"color","tb-width":"unit(px,%)"}),(0,c.default)(h,"defaultAttributes",{align:"center","border-radius":"6px","icon-width":"44px","left-icon":"https://i.imgur.com/xTh3hln.png","right-icon":"https://i.imgur.com/os7o9kz.png",thumbnails:"visible","tb-border":"2px solid transparent","tb-border-radius":"6px","tb-hover-border-color":"#fead0d","tb-selected-border-color":"#ccc"}),t.exports=e.default},function(t,e,n){var r=n(44);t.exports=function(t,e,n){for(var o=-1,i=t.length;++o\n \n \n ")}},{key:"renderRadio",value:function(){var t=this.props.index,e=this.getAttribute("carouselId");return"\n \n ")}},{key:"render",value:function(){var t=(i=this.attributes).src,e=i.alt,n=i.href,r=i.rel,o=i.title,i=this.props.index;return t="\n \n "),e=this.getAttribute("css-class")||"","\n \n ").concat(n?"").concat(t,""):t,"\n \n ")}}]),n}(l.BodyComponent),e.default=n,(0,r.default)(n,"componentName","mj-carousel-image"),(0,r.default)(n,"endingTag",!0),(0,r.default)(n,"allowedAttributes",{alt:"string",href:"string",rel:"string",target:"string",title:"string",src:"string","thumbnails-src":"string","border-radius":"unit(px,%){1,4}","tb-border":"string","tb-border-radius":"unit(px,%){1,4}"}),(0,r.default)(n,"defaultAttributes",{target:"_blank"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Accordion",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"AccordionElement",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"AccordionText",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"AccordionTitle",{enumerable:!0,get:function(){return s.default}});var o=r(n(554)),i=r(n(555)),a=r(n(227)),s=r(n(228))},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n \n ").concat(this.renderChildren(this.props.children,{attributes:e}),"\n \n \n ")}}]),n}(n(9).BodyComponent),e.default=n,(0,d.default)(n,"componentName","mj-accordion"),(0,d.default)(n,"allowedAttributes",{"container-background-color":"color",border:"string","font-family":"string","icon-align":"enum(top,middle,bottom)","icon-width":"unit(px,%)","icon-height":"unit(px,%)","icon-wrapped-url":"string","icon-wrapped-alt":"string","icon-unwrapped-url":"string","icon-unwrapped-alt":"string","icon-position":"enum(left,right)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}"}),(0,d.default)(n,"defaultAttributes",{border:"2px solid black","font-family":"Ubuntu, Helvetica, Arial, sans-serif","icon-align":"middle","icon-wrapped-url":"https://i.imgur.com/bIXv1bk.png","icon-wrapped-alt":"+","icon-unwrapped-url":"https://i.imgur.com/w4uTygT.png","icon-unwrapped-alt":"-","icon-position":"right","icon-height":"32px","icon-width":"32px",padding:"10px 25px"}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n \n \n ").concat((0,h.default)("\n \n "),!0),"\n
\n ").concat(this.handleMissingChildren(),"\n
\n \n \n \n ")}}]),n}(f.BodyComponent),e.default=f,(0,p.default)(f,"componentName","mj-accordion-element"),(0,p.default)(f,"allowedAttributes",{"background-color":"color",border:"string","font-family":"string","icon-align":"enum(top,middle,bottom)","icon-width":"unit(px,%)","icon-height":"unit(px,%)","icon-wrapped-url":"string","icon-wrapped-alt":"string","icon-unwrapped-url":"string","icon-unwrapped-alt":"string","icon-position":"enum(left,right)"}),(0,p.default)(f,"defaultAttributes",{title:{img:{width:"32px",height:"32px"}}}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n ").concat(this.renderChildren(),"\n \n ")}}]),n}(n(9).BodyComponent),e.default=n,(0,i.default)(n,"componentName","mj-body"),(0,i.default)(n,"allowedAttributes",{width:"unit(px)","background-color":"color"}),(0,i.default)(n,"defaultAttributes",{width:"600px"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(4)),s=r(n(5));r=r(n(8)),n=function(t){(0,a.default)(n,t);var e=(0,s.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,[{key:"handler",value:function(){return this.handlerChildren()}}]),n}(n(9).HeadComponent),e.default=n,(0,r.default)(n,"componentName","mj-head"),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n\n \n \n \n \n \n \n \n \n \n \n ").concat(this.renderChildren(e,{renderer:function(t){return t.constructor.isRawElement()?t.render():"\n \n \n ").concat(t.render(),"\n \n \n ")}}),"\n \n \n \n \n \n \n \n \x3c!--[if mso | IE]>\n \n \n \n \n \n ").concat(this.renderContent(),"\n \n \n ")}return e=parseInt(this.getAttribute("height"),10)-this.getShorthandAttrValue("padding","top")-this.getShorthandAttrValue("padding","bottom"),"\n \n ").concat(this.renderContent(),"\n \n ")}},{key:"render",value:function(){var t=this.context.containerWidth;return"\n \x3c!--[if mso | IE]>\n \n \n \n \n \n \n \n \n ").concat(this.renderMode(),"\n \n \n \n \n \x3c!--[if mso | IE]>\n \n \n \n \n \n \n \n <").concat(t,"\n ").concat(this.htmlAttributes({href:this.getAttribute("href"),name:this.getAttribute("name"),rel:this.getAttribute("rel"),title:this.getAttribute("title"),style:"content",target:"a"==t?this.getAttribute("target"):void 0}),"\n >\n ").concat(this.getContent(),"\n \n \n \n \n \n ")}}]),n}(c.BodyComponent),e.default=c,(0,l.default)(c,"componentName","mj-button"),(0,l.default)(c,"endingTag",!0),(0,l.default)(c,"allowedAttributes",{align:"enum(left,center,right)","background-color":"color","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",border:"string",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)",href:"string",name:"string",title:"string","inner-padding":"unit(px,%){1,4}","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",rel:"string",target:"string","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)","text-align":"enum(left,right,center)",width:"unit(px,%)"}),(0,l.default)(c,"defaultAttributes",{align:"center","background-color":"#414141",border:"none","border-radius":"3px",color:"#ffffff","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","font-weight":"normal","inner-padding":"10px 25px","line-height":"120%",padding:"10px 25px",target:"_blank","text-decoration":"none","text-transform":"none","vertical-align":"middle"}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n \n \n \n ").concat(this.renderColumn(),"\n \n \n \n \n ")}},{key:"renderColumn",value:function(){var t=this.props.children;return"\n \n \n ").concat(this.renderChildren(t,{renderer:function(t){return t.constructor.isRawElement()?t.render():"\n \n \n ").concat(t.render(),"\n \n \n ")}}),"\n \n \n ")}},{key:"render",value:function(){var t="".concat(this.getColumnClass()," mj-outlook-group-fix");return this.getAttribute("css-class")&&(t+=" ".concat(this.getAttribute("css-class"))),"\n \n ").concat(this.hasGutter()?this.renderGutter():this.renderColumn(),"\n \n ")}}]),n}(p.BodyComponent),e.default=p,(0,u.default)(p,"componentName","mj-column"),(0,u.default)(p,"allowedAttributes",{"background-color":"color",border:"string","border-bottom":"string","border-left":"string","border-radius":"unit(px,%){1,4}","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","inner-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","inner-border":"string","inner-border-bottom":"string","inner-border-left":"string","inner-border-radius":"unit(px,%){1,4}","inner-border-right":"string","inner-border-top":"string",padding:"unit(px,%){1,4}","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"}),(0,u.default)(p,"defaultAttributes",{direction:"ltr","vertical-align":"top"}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n \n \n \n  \n \n \n \n \n

\n ").concat(this.renderAfter(),"\n ")}}]),n}(p.BodyComponent),e.default=p,(0,u.default)(p,"componentName","mj-divider"),(0,u.default)(p,"allowedAttributes",{"border-color":"color","border-style":"string","border-width":"unit(px)","container-background-color":"color",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",width:"unit(px,%)",align:"enum(left,center,right)"}),(0,u.default)(p,"defaultAttributes",{"border-color":"#000000","border-style":"solid","border-width":"4px",padding:"10px 25px",width:"100%",align:"center"}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n \x3c!--[if mso | IE]>\n \n \n \n \n \n \n \n \n \n \n ")}}]),n}(p.BodyComponent),e.default=p,(0,u.default)(p,"componentName","mj-group"),(0,u.default)(p,"allowedAttributes",{"background-color":"color",direction:"enum(ltr,rtl)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"}),(0,u.default)(p,"defaultAttributes",{direction:"ltr"}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}var o=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(3)),a=o(n(7)),s=o(n(37)),l=o(n(4)),c=o(n(5)),u=o(n(8)),p=o(n(226)),d=n(9),f=o(n(35));n=function(t){(0,l.default)(n,t);var e=(0,c.default)(n);function n(){var t;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a\n "),this.getAttribute("href")?"\n \n ").concat(t,"\n \n "):t}},{key:"render",value:function(){return"\n \n \n \n \n ").concat(this.renderImage(),"\n \n \n \n \n ")}}]),n}(d.BodyComponent),e.default=n,(0,u.default)(n,"componentName","mj-image"),(0,u.default)(n,"allowedAttributes",{alt:"string",href:"string",name:"string",src:"string",srcset:"string",sizes:"string",title:"string",rel:"string",align:"enum(left,center,right)",border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","border-radius":"unit(px,%){1,4}","container-background-color":"color","fluid-on-mobile":"boolean",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",target:"string",width:"unit(px)",height:"unit(px,auto)","max-height":"unit(px,%)","font-size":"unit(px)",usemap:"string"}),(0,u.default)(n,"defaultAttributes",{align:"center",border:"0",height:"auto",padding:"10px 25px",target:"_blank","font-size":"13px"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(4)),s=r(n(5));r=r(n(8)),n=function(t){(0,a.default)(n,t);var e=(0,s.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,[{key:"render",value:function(){return this.getContent()}}]),n}(n(9).BodyComponent),e.default=n,(0,r.default)(n,"componentName","mj-raw"),(0,r.default)(n,"endingTag",!0),(0,r.default)(n,"rawElement",!0),(0,r.default)(n,"allowedAttributes",{position:"enum(file-start)"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(4)),s=r(n(5));r=r(n(8)),n=function(t){(0,a.default)(n,t);var e=(0,s.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,[{key:"getStyles",value:function(){return{div:{height:this.getAttribute("height"),"line-height":this.getAttribute("height")}}}},{key:"render",value:function(){return"\n  \n ")}}]),n}(n(9).BodyComponent),e.default=n,(0,r.default)(n,"componentName","mj-spacer"),(0,r.default)(n,"allowedAttributes",{border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","container-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",height:"unit(px,%)"}),(0,r.default)(n,"defaultAttributes",{height:"20px"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(4)),s=r(n(5)),l=r(n(8)),c=n(9),u=r(n(53));c=function(t){(0,a.default)(n,t);var e=(0,s.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,[{key:"getStyles",value:function(){return{text:{"font-family":this.getAttribute("font-family"),"font-size":this.getAttribute("font-size"),"font-style":this.getAttribute("font-style"),"font-weight":this.getAttribute("font-weight"),"letter-spacing":this.getAttribute("letter-spacing"),"line-height":this.getAttribute("line-height"),"text-align":this.getAttribute("align"),"text-decoration":this.getAttribute("text-decoration"),"text-transform":this.getAttribute("text-transform"),color:this.getAttribute("color"),height:this.getAttribute("height")}}}},{key:"renderContent",value:function(){return"\n ").concat(this.getContent(),"\n ")}},{key:"render",value:function(){var t=this.getAttribute("height");return t?"\n ".concat((0,u.default)('\n
\n ')),"\n ").concat(this.renderContent(),"\n ").concat((0,u.default)("\n
\n "),"\n "):this.renderContent()}}]),n}(c.BodyComponent),e.default=c,(0,l.default)(c,"componentName","mj-text"),(0,l.default)(c,"endingTag",!0),(0,l.default)(c,"allowedAttributes",{align:"enum(left,right,center,justify)","background-color":"color",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)"}),(0,l.default)(c,"defaultAttributes",{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px"}),t.exports=e.default},function(t,e,n){"use strict";function r(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)),r}function o(t){for(var e=1;e\n ").concat(this.getContent(),"\n \n ")}}]),n}(n(9).BodyComponent),e.default=n,(0,p.default)(n,"componentName","mj-table"),(0,p.default)(n,"endingTag",!0),(0,p.default)(n,"allowedAttributes",{align:"enum(left,right,center)",border:"string",cellpadding:"integer",cellspacing:"integer","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-weight":"string","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",role:"enum(none,presentation)","table-layout":"enum(auto,fixed,initial,inherit)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"}),(0,p.default)(n,"defaultAttributes",{align:"left",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","table-layout":"auto",width:"100%"}),t.exports=e.default},function(t,e,n){"use strict";var r=n(1).default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(3)),i=r(n(7)),a=r(n(4)),s=r(n(5)),l=r(n(8)),c=(r=r(n(231)),n(9));r=function(t){(0,a.default)(n,t);var e=(0,s.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,[{key:"renderWrappedChildren",value:function(){var t=this.props.children,e=this.context.containerWidth;return"\n ".concat(this.renderChildren(t,{renderer:function(t){return t.constructor.isRawElement()?t.render():"\n \x3c!--[if mso | IE]>\n \n \n \n \n \n {var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{default:()=>kt});var t=function(){return t=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n \n ';n.resetBlocks&&r.getAll().reset();var a=function(o,i){n.blocks.indexOf(o)>=0&&r.add(o,t(t({select:!0,category:e.I18n.t("grapesjs-mjml.category")},i),n.block(o)))},s=function(t){return e.I18n.t("grapesjs-mjml.components.names.".concat(t))};a("mj-1-column",{label:s("oneColumn"),media:'\n \n ',content:"\n Content 1\n "}),a("mj-2-columns",{label:s("twoColumn"),media:'\n \n ',content:"\n Content 1\n Content 2\n "}),a("mj-3-columns",{label:s("threeColumn"),media:'\n \n ',content:"\n Content 1\n Content 2\n Content 3\n "}),a("mj-text",{label:s("text"),media:'\n \n ',content:"Insert text here",activate:!0}),a("mj-button",{label:s("button"),media:'\n \n ',content:"Button"}),a("mj-image",{label:s("image"),media:'\n \n ',content:''),activate:!0}),a("mj-divider",{label:s("divider"),media:'\n \n ',content:""}),a("mj-social-group",{label:s("socialGroup"),media:i,content:'\n \n \n \n '}),a("mj-social-element",{label:s("socialElement"),media:i,content:''}),a("mj-spacer",{label:s("spacer"),media:'\n \n ',content:""}),a("mj-navbar",{label:s("navBar"),media:'\n \n ',content:"\n Getting started\n Try it live\n Templates\n Components\n "}),a("mj-navbar-link",{label:s("navLink"),media:'\n \n ',content:"Link"}),a("mj-hero",{label:s("hero"),media:'\n \n ',content:'\n \n GO TO SPACE\n \n \n ORDER YOUR TICKET NOW\n \n '}),a("mj-wrapper",{label:s("wrapper"),media:'\n \n ',content:'\n \n \n \n \n \n \n \n First line of text \n \n Second line of text \n \n \n ')}),a("mj-raw",{label:s("raw"),media:'\n \n ',content:'\n
\n Example image\n Example image\n Example image\n Example image\n Example image\n Example image\n
\n
'})};var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&n.constructor===Object&&(i.fonts=n),t(e,i)}var s=function(t){return(Array.isArray(t)?t:[t]).map((function(t){return'[data-gjs-type="'.concat(t,'"]')})).join(", ")},l=function(t,e){return t.I18n.t("grapesjs-mjml.components.names.".concat(e))},c="set-device-desktop",u="set-device-tablet",p="set-device-mobile",d="mjml-import",f="mjml-code",h="mjml-code-to-html";const g=function(t,e){var n=t.Commands,r=e.overwriteExport?"export-template":"mjml-export";n.add(f,(function(){return"".concat(e.preMjml).concat(t.getHtml().trim()).concat(e.postMjml)})),n.add(h,(function(t,r,o){var i=o||{},s=i.mjml,l=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o",end:""}},getChildrenSelector:function(){return this.model.getAttributes()["full-width"]?"table > tbody > tr > td > div table > tbody > tr > td":"table > tbody > tr > td"},init:function(){var t=this;r.init.call(this),this.listenTo(this.model.get("components"),"add remove",(function(){t.getChildrenContainer().innerHTML=t.model.get("content"),t.renderChildren()}))}})})};var w=function(){return w=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getChildrenSelector:function(){return"div"}})})};var C=function(){return C=Object.assign||function(t){for(var e,n=1,r=arguments.length;n".concat(o.start),end:"".concat(o.end,"")}}return{start:"",end:""}},getChildrenSelector:function(){return this.model.getAttributes()["full-width"]?"table > tbody > tr > td > div table > tbody > tr > td":"table > tbody > tr > td"},init:function(){r.init.call(this),this.listenTo(this.model.get("components"),"add remove",this.render)}})})};var O=function(){return O=Object.assign||function(t){for(var e,n=1,r=arguments.length;n/,""),s=i.indexOf("")+6,l=i.indexOf("");c.innerHTML=i.substring(s,l).trim();for(var u=this.getTemplateFromEl(c),p={},d=u.attributes,f=void 0,h=0,g=d.length;h".concat(e.style,"")),this.getChildrenContainer().innerHTML=this.model.get("content"),this.renderChildren(),this.renderStyle(),this.updateStatus(),this.postRender(),this},renderStyle:function(){var t,e=this,n=e.model,r=e.attributes,o=e.el,i=n.get("style")||{},a=n.get("stylable"),s=Object.keys(i).filter((function(t){return a.indexOf(t)>-1})).map((function(t){return"".concat(t,":").concat(i[t],";")})),l="".concat(r.style," ").concat(s.join(" ")," ").concat(o.getAttribute("style"));o.setAttribute("style",l),null===(t=o.firstElementChild)||void 0===t||t.setAttribute("style",""),this.checkVisibility()},getMjmlTemplate:function(){var t=this.model.collection.length-1;t=t||0;var e=Array(t).fill("").join("");return{start:"",end:"".concat(e,"")}},getTemplateFromEl:function(t){return t.firstChild.querySelector("div > table > tbody > tr > td > div")},getChildrenSelector:function(){return"table"}})})};var P=function(){return P=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getTemplateFromEl:function(t){return t.querySelector("tr").innerHTML},getChildrenSelector:function(){return"td > div"},rerender:function(){this.render()},onActive:function(){this.getChildrenContainer().style.pointerEvents="all"}})})};var L=function(){return L=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getTemplateFromEl:function(t){return t.querySelector("tr").innerHTML},getChildrenSelector:function(){return"a,p"},rerender:function(){this.render()}})})};var R=function(){return R=Object.assign||function(t){for(var e,n=1,r=arguments.length;n',end:""}},getTemplateFromEl:function(t){return t.querySelector("tr").innerHTML},getChildrenSelector:function(){return"img"}})})};var F=function(){return F=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getTemplateFromEl:function(t){return t.querySelector("tr").innerHTML},getChildrenSelector:function(){return"p"}})})};var V=function(){return V=Object.assign||function(t){for(var e,n=1,r=arguments.length;n".concat(n.start),end:"".concat(n.end,"")}}return{start:"",end:""}},rerender:function(){this.render()},getTemplateFromEl:function(t){return t.querySelector("div").innerHTML},getChildrenSelector:function(){return"a,p"}})})};var W=function(){return W=Object.assign||function(t){for(var e,n=1,r=arguments.length;n/,""),s=i.indexOf("")+6,l=i.indexOf("");c.innerHTML=i.substring(s,l).trim();for(var u=this.getTemplateFromEl(c),p={},d=u.attributes,f=void 0,h=0,g=d.length;h".concat(e.style,"")),this.getChildrenContainer().innerHTML=this.model.get("content"),this.renderChildren(),this.renderStyle(),this.postRender(),this},getMjmlTemplate:function(){return{start:"",end:""}},getTemplateFromEl:function(t){return t.firstChild.querySelector("tr")},getChildrenSelector:function(){return"div.mj-inline-links"},rerender:function(){o.rerender.call(this),this.model.components().models.forEach((function(t){t.attributes.type==q&&t.view.rerender()}))}})})};var K=function(){return K=Object.assign||function(t){for(var e,n=1,r=arguments.length;n".concat(n.start),end:"".concat(n.end,"")}}return{start:"",end:""}},getTemplateFromEl:function(t){return t.querySelector("tr > td > table").innerHTML},getChildrenSelector:function(){return"img"}})})};var Z=function(){return Z=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getTemplateFromEl:function(t){return t.querySelector("tr").innerHTML},getChildrenSelector:function(){return"td"},rerender:function(){r.rerender.call(this),this.model.components().models.forEach((function(t){t.attributes.type===$&&t.view.rerender()}))},init:function(){r.init.call(this),this.listenTo(this.model.get("components"),"add remove update",this.render)}})})};var tt=function(){return tt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getTemplateFromEl:function(t){return t.querySelector("tr").innerHTML},getChildrenSelector:function(){return"td"}})})};var rt=function(){return rt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getChildrenSelector:function(){return"table tr td"}})})};var at=function(){return at=Object.assign||function(t){for(var e,n=1,r=arguments.length;n".concat(i.start),end:"".concat(i.end,"")}}if(o&&"mj-head"===n){var a=r.getInnerMjmlTemplate.call(e);return{start:"".concat(a.start),end:"".concat(a.end,"")}}return{start:"",end:""}},getTemplateFromEl:function(t){return t.innerHTML},getChildrenSelector:function(){return"*"},init:function(){r.init.call(this),this.listenTo(this.model.get("components"),"add remove",this.render)}})})};var ct=function(){return ct=Object.assign||function(t){for(var e,n=1,r=arguments.length;n"),end:t.end}},renderStyle:function(){this.getChildrenContainer().style.maxWidth="none",this.getChildrenContainer().style.width="100%",this.el.setAttribute("style","".concat(this.el.getAttribute("style")+this.attributes.style))},rerender:function(){r.rerender.call(this),this.model.components().models.forEach((function(t){[T,st].indexOf(t.attributes.type)<0||t.view.rerender()}))}})})};var dt=function(){return dt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:""}},getTemplateFromEl:function(t){return t.querySelector("style").innerHTML},renderStyle:function(){},getTemplateFromMjml:function(){var t=this.getMjmlTemplate(),e=this.getInnerMjmlTemplate(),r=a(n.mjmlParser,"".concat(t.start,"\n ").concat(e.start).concat(e.end).concat(t.end),n.fonts).html,o=r.indexOf("")+6,i=r.indexOf("");return r=r.substring(o,i).trim(),l.innerHTML=r,this.getTemplateFromEl(l)}})})};var yt=function(){return yt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",end:'')}},getTemplateFromEl:function(t){return t.querySelectorAll("style")[1].innerHTML},renderStyle:function(){},renderChildren:function(){},getTemplateFromMjml:function(){var t=this.getMjmlTemplate(),e=this.getInnerMjmlTemplate(),r=a(n.mjmlParser,"".concat(t.start,"\n ").concat(e.start).concat(e.end).concat(t.end),n.fonts).html,o=r.indexOf("")+6,i=r.indexOf("");return r=r.substring(o,i).trim(),l.innerHTML=r,this.getTemplateFromEl(l)}})})};var wt=function(){return wt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n")+t.get("content"),t.components().forEach((function(t){o+=t.toHTML()})),n||(o+="")),o},isHidden:function(){return"none"===this.getStyle().display}},i={init:function(){var t,e;this.stopListening(this.model,"change:style"),this.listenTo(this.model,"change:attributes change:src",this.rerender),this.debouncedRender=(t=this.render.bind(this),function(){for(var n=this,r=[],o=0;o",end:""}},getInnerMjmlTemplate:function(){var t=this.model,e=t.get("tagName"),n=t.getMjmlAttributes(),r="";for(var o in n){var i=n[o];r+=void 0!==i&&""!==i?" "+o+'="'+i+'"':""}return{start:"<".concat(e).concat(r,">"),end:"")}},getTemplateFromEl:function(t){return t.firstChild.innerHTML},getTemplateFromMjml:function(){var t=this.getMjmlTemplate(),n=this.getInnerMjmlTemplate(),o="".concat(t.start).concat(n.start).concat(n.end).concat(t.end),i=a(e.mjmlParser,o,e.fonts).html,s=(i=i.replace(//,"")).indexOf("")+6,l=i.indexOf("");return i=i.substring(s,l).trim(),r.innerHTML=i,this.getTemplateFromEl(r)},renderChildren:function(t){this.updateContent();var e=this.getChildrenContainer();t?this.childrenView.parentEl=e:(this.childrenView=this.childrenView||new n({collection:this.model.get("components"),config:this.config,componentTypes:this.opts.componentTypes}),this.childNodes=this.childrenView.render(e).el.childNodes);for(var r=Array.prototype.slice.call(this.childNodes),o=0,i=r.length;o\n \n ')}),n.addButton("options",{id:"undo",command:"core:undo",attributes:{title:o("undo")},label:"\n \n ')}),n.addButton("options",{id:"redo",command:"core:redo",attributes:{title:o("redo")},label:"\n \n ')}),e.resetDevices&&(t.getConfig().showDevices=!1,n.addPanel({id:"devices-c"}).get("buttons").add([{id:c,command:c,active:!0,attributes:{title:o("desktop")},label:"\n \n ')},{id:u,command:u,attributes:{title:o("tablet")},label:"\n \n ')},{id:p,command:p,attributes:{title:o("mobile")},label:"\n \n ')}]))},Ot=function(t,e){e.resetStyleManager&&t.onReady((function(){var e=t.StyleManager.getSectors();e.reset(),e.add([{name:"Dimension",open:!1,buildProps:["width","height","max-width","min-height","margin","padding","vertical-align"],properties:[{property:"margin",properties:[{name:"Top",property:"margin-top"},{name:"Right",property:"margin-right"},{name:"Bottom",property:"margin-bottom"},{name:"Left",property:"margin-left"}]},{property:"padding",detached:!0,properties:[{name:"Top",property:"padding-top"},{name:"Right",property:"padding-right"},{name:"Bottom",property:"padding-bottom"},{name:"Left",property:"padding-left"}]},{property:"icon-size",type:"integer",defaults:"20px",units:["px","%"]},{property:"vertical-align",type:"select",list:[{value:"top"},{value:"middle"},{value:"bottom"}]}]},{name:"Typography",open:!1,buildProps:["font-family","font-size","font-weight","letter-spacing","color","line-height","text-align","align","text-decoration","font-style"],properties:[{name:"Font",property:"font-family"},{name:"Weight",property:"font-weight"},{name:"Font color",property:"color"},{property:"text-align",type:"radio",defaults:"left",list:[{value:"left",name:"Left",className:"fa fa-align-left"},{value:"center",name:"Center",className:"fa fa-align-center"},{value:"right",name:"Right",className:"fa fa-align-right"},{value:"justify",name:"Justify",className:"fa fa-align-justify"}]},{property:"align",type:"radio",defaults:"left",list:[{value:"left",name:"Left",className:"fa fa-align-left"},{value:"center",name:"Center",className:"fa fa-align-center"},{value:"right",name:"Right",className:"fa fa-align-right"},{value:"justify",name:"Justify",className:"fa fa-align-justify"}]},{property:"text-decoration",type:"radio",defaults:"none",list:[{value:"none",name:"None",className:"fa fa-times"},{value:"underline",name:"underline",className:"fa fa-underline"},{value:"line-through",name:"Line-through",className:"fa fa-strikethrough"}]},{property:"font-style",type:"radio",defaults:"normal",list:[{value:"normal",name:"Normal",className:"fa fa-font"},{value:"italic",name:"Italic",className:"fa fa-italic"}]}]},{name:"Decorations",open:!1,buildProps:["background-color","container-background-color","background-url","background-repeat","background-size","border-radius","border"],properties:[{name:"Background color",property:"container-background-color",type:"color"},{property:"background-url",type:"file"},{property:"border-radius",properties:[{name:"Top",property:"border-top-left-radius"},{name:"Right",property:"border-top-right-radius"},{name:"Bottom",property:"border-bottom-left-radius"},{name:"Left",property:"border-bottom-right-radius"}]},{property:"border-detached",name:"Border detached",type:"composite",detached:!0,properties:[{name:"Width",property:"border-width",type:"integer",units:["px","%"]},{name:"Style",property:"border-style",type:"select",list:[{value:"none"},{value:"solid"},{value:"dotted"},{value:"dashed"},{value:"double"},{value:"groove"},{value:"ridge"},{value:"inset"},{value:"outset"}]},{name:"Color",property:"border-color",type:"color"}]}]}])}))};var St=function(){return St=Object.assign||function(t){for(var e,n=1,r=arguments.length;n(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>i});var n=function(){return n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t={4729:(t,e,n)=>{var r,o,i;o=[n(5706),n(4193)],r=function(t,e){var n=Array.prototype.slice;function r(t,e,n){return n.length<=4?t.call(e,n[0],n[1],n[2],n[3]):t.apply(e,n)}function o(t,e){return n.call(t,e)}function i(e,n){return null!=e&&(t.isArray(n)||(n=o(arguments,1)),t.all(n,(function(t){return t in e})))}var a,s,l=(a=!1,s=-1,function(){return a||(s++,a=!0,t.defer((function(){a=!1}))),s});function c(){this.registeredObjects=[],this.cidIndexes=[]}function u(e,n,r,o){for(var i,a=0,s=n.length;at.maximumStackLength&&(t.shift(),t.pointer--)}}}c.prototype={isRegistered:function(e){return e&&e.cid?this.registeredObjects[e.cid]:t.contains(this.registeredObjects,e)},register:function(t){return!this.isRegistered(t)&&(t&&t.cid?(this.registeredObjects[t.cid]=t,this.cidIndexes.push(t.cid)):this.registeredObjects.push(t),!0)},unregister:function(e){if(this.isRegistered(e)){if(e&&e.cid)delete this.registeredObjects[e.cid],this.cidIndexes.splice(t.indexOf(this.cidIndexes,e.cid),1);else{var n=t.indexOf(this.registeredObjects,e);this.registeredObjects.splice(n,1)}return!0}return!1},get:function(){return t.map(this.cidIndexes,(function(t){return this.registeredObjects[t]}),this).concat(this.registeredObjects)}};var h={add:{undo:function(t,e,n,r){t.remove(n,r)},redo:function(t,e,n,r){r.index&&(r.at=r.index),t.add(n,r)},on:function(e,n,r){return{object:n,before:void 0,after:e,options:t.clone(r)}}},remove:{undo:function(t,e,n,r){"index"in r&&(r.at=r.index),t.add(e,r)},redo:function(t,e,n,r){t.remove(e,r)},on:function(e,n,r){return{object:n,before:e,after:void 0,options:t.clone(r)}}},change:{undo:function(e,n,r,o){t.isEmpty(n)?t.each(t.keys(r),e.unset,e):(e.set(n),o&&o.unsetData&&o.unsetData.before&&o.unsetData.before.length&&t.each(o.unsetData.before,e.unset,e))},redo:function(e,n,r,o){t.isEmpty(r)?t.each(t.keys(n),e.unset,e):(e.set(r),o&&o.unsetData&&o.unsetData.after&&o.unsetData.after.length&&t.each(o.unsetData.after,e.unset,e))},on:function(e,n){var r=e.changedAttributes(),o=t.keys(r),i=t.pick(e.previousAttributes(),o),a=t.keys(i),s=(n||(n={})).unsetData={after:[],before:[]};return o.length!=a.length&&(o.length>a.length?t.each(o,(function(t){t in i||s.before.push(t)}),this):t.each(a,(function(t){t in r||s.after.push(t)}))),{object:e,before:i,after:r,options:t.clone(n)}}},reset:{undo:function(t,e,n){t.reset(e)},redo:function(t,e,n){t.reset(n)},on:function(e,n){return{object:e,before:n.previousModels,after:t.clone(e.models)}}}};function g(){}function m(e,n,r,o){if("object"==typeof n)return t.each(n,(function(t,n){2===e?m(e,t,r,o):m(e,n,t,r)}));switch(e){case 0:i(r,"undo","redo","on")&&t.all(t.pick(r,"undo","redo","on"),t.isFunction)&&(o[n]=r);break;case 1:o[n]&&t.isObject(r)&&(o[n]=t.extend({},o[n],r));break;case 2:delete o[n]}return this}g.prototype=h;var v=e.Model.extend({defaults:{type:null,object:null,before:null,after:null,magicFusionIndex:null},undo:function(t){p("undo",this.attributes)},redo:function(t){p("redo",this.attributes)}}),y=e.Collection.extend({model:v,pointer:-1,track:!1,isCurrentlyUndoRedoing:!1,maximumStackLength:1/0,setMaxLength:function(t){this.maximumStackLength=t}}),b=e.Model.extend({defaults:{maximumStackLength:1/0,track:!1},initialize:function(e){this.stack=new y,this.objectRegistry=new c,this.undoTypes=new g,this.stack.setMaxLength(this.get("maximumStackLength")),this.on("change:maximumStackLength",(function(t,e){this.stack.setMaxLength(e)}),this),e&&e.track&&this.startTracking(),e&&e.register&&(t.isArray(e.register)||t.isArguments(e.register)?r(this.register,this,e.register):this.register(e.register))},startTracking:function(){this.set("track",!0),this.stack.track=!0},stopTracking:function(){this.set("track",!1),this.stack.track=!1},isTracking:function(){return this.get("track")},_addToStack:function(t){f(this.stack,t,o(arguments,1),this.undoTypes)},register:function(){u("on",arguments,this._addToStack,this)},unregister:function(){u("off",arguments,this._addToStack,this)},unregisterAll:function(){r(this.unregister,this,this.objectRegistry.get())},undo:function(t){d("undo",this,this.stack,t)},undoAll:function(){d("undo",this,this.stack,!1,!0)},redo:function(t){d("redo",this,this.stack,t)},redoAll:function(){d("redo",this,this.stack,!1,!0)},isAvailable:function(t){var e=this.stack,n=e.length;switch(t){case"undo":return n>0&&e.pointer>-1;case"redo":return n>0&&e.pointer{var r,o,i;i="object"==typeof self&&self.self===self&&self||"object"==typeof n.g&&n.g.global===n.g&&n.g,r=[n(5706),n(6411),e],o=function(t,e,n){i.Backbone=function(t,e,n,r){var o=t.Backbone,i=Array.prototype.slice;e.VERSION="1.4.1",e.$=r,e.noConflict=function(){return t.Backbone=o,this},e.emulateHTTP=!1,e.emulateJSON=!1;var a,s=e.Events={},l=/\s+/,c=function(t,e,r,o,i){var a,s=0;if(r&&"object"==typeof r){void 0!==o&&"context"in i&&void 0===i.context&&(i.context=o);for(a=n.keys(r);sthis.length&&(o=this.length),o<0&&(o+=this.length+1);var i,a,s=[],l=[],c=[],u=[],p={},d=e.add,f=e.merge,h=e.remove,g=!1,m=this.comparator&&null==o&&!1!==e.sort,v=n.isString(this.comparator)?this.comparator:null;for(a=0;a7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(H,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var r=document.body,o=r.insertBefore(this.iframe,r.firstChild).contentWindow;o.document.open(),o.document.close(),o.location.hash="#"+this.fragment}var i=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?i("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?i("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),F.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),n.some(this.handlers,(function(e){if(e.route.test(t))return e.callback(t),!0})))},navigate:function(t,e){if(!F.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var n=this.root;""!==t&&"?"!==t.charAt(0)||(n=n.slice(0,-1)||"/");var r=n+t;t=t.replace(V,"");var o=this.decodeFragment(t);if(this.fragment!==o){if(this.fragment=o,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,r);else{if(!this._wantsHashChange)return this.location.assign(r);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var i=this.iframe.contentWindow;e.replace||(i.document.open(),i.document.close()),this._updateHash(i.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,n){if(n){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else t.hash="#"+e}}),e.history=new F;v.extend=y.extend=D.extend=O.extend=F.extend=function(t,e){var r,o=this;return r=t&&n.has(t,"constructor")?t.constructor:function(){return o.apply(this,arguments)},n.extend(r,o,e),r.prototype=n.create(o.prototype,t),r.prototype.constructor=r,r.__super__=o.prototype,r};var q=function(){throw new Error('A "url" property or function must be specified')},z=function(t,e){var n=e.error;e.error=function(r){n&&n.call(e.context,t,r,e),t.trigger("error",t,r,e)}};return e}(i,n,t,e)}.apply(e,r),void 0===o||(t.exports=o)},3640:(t,e,n)=>{!function(t){t.extendMode("css",{commentStart:"/*",commentEnd:"*/",newlineAfterToken:function(t,e){return/^[;{}]$/.test(e)}}),t.extendMode("javascript",{commentStart:"/*",commentEnd:"*/",newlineAfterToken:function(t,e,n,r){return this.jsonMode?/^[\[,{]$/.test(e)||/^}/.test(n):(";"!=e||!r.lexical||")"!=r.lexical.type)&&/^[;{}]$/.test(e)&&!/^;/.test(n)}});var e=/^(a|abbr|acronym|area|base|bdo|big|br|button|caption|cite|code|col|colgroup|dd|del|dfn|em|frame|hr|iframe|img|input|ins|kbd|label|legend|link|map|object|optgroup|option|param|q|samp|script|select|small|span|strong|sub|sup|textarea|tt|var)$/;t.extendMode("xml",{commentStart:"\x3c!--",commentEnd:"--\x3e",newlineAfterToken:function(t,n,r,o){var i=!1;return"html"==this.configuration&&(i=!!o.context&&e.test(o.context.tagName)),!i&&("tag"==t&&/>$/.test(n)&&o.context||/^-1&&s>-1&&s>a&&(t=t.substr(0,a)+t.substring(a+i.commentStart.length,s)+t.substr(s+i.commentEnd.length)),o.replaceRange(t,n,r)}}))})),t.defineExtension("autoIndentRange",(function(t,e){var n=this;this.operation((function(){for(var r=t.line;r<=e.line;r++)n.indentLine(r,"smart")}))})),t.defineExtension("autoFormatRange",(function(e,n){var r=this,o=r.getMode(),i=r.getRange(e,n).split("\n"),a=t.copyState(o,r.getTokenAt(e).state),s=r.getOption("tabSize"),l="",c=0,u=0===e.ch;function p(){l+="\n",u=!0,++c}for(var d=0;d2),m=/Android/.test(t),v=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(t),y=g||/Mac/.test(e),b=/\bCrOS\b/.test(t),_=/win/i.test(e),w=p&&t.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(p=!1,l=!0);var E=y&&(c||p&&(null==w||w<12.11)),x=n||a&&s>=9;function C(t){return new RegExp("(^|\\s)"+t+"(?:$|\\s)\\s*")}var T,A=function(t,e){var n=t.className,r=C(e).exec(n);if(r){var o=n.slice(r.index+r[0].length);t.className=n.slice(0,r.index)+(o?r[1]+o:"")}};function O(t){for(var e=t.childNodes.length;e>0;--e)t.removeChild(t.firstChild);return t}function S(t,e){return O(t).appendChild(e)}function k(t,e,n,r){var o=document.createElement(t);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof e)o.appendChild(document.createTextNode(e));else if(e)for(var i=0;i=e)return a+(e-i);a+=s-i,a+=n-a%n,i=s+1}}g?I=function(t){t.selectionStart=0,t.selectionEnd=t.value.length}:a&&(I=function(t){try{t.select()}catch(t){}});var F=function(){this.id=null,this.f=null,this.time=0,this.handler=R(this.onTimeout,this)};function U(t,e){for(var n=0;n=e)return r+Math.min(a,e-o);if(o+=i-r,r=i+1,(o+=n-o%n)>=e)return r}}var G=[""];function Y(t){for(;G.length<=t;)G.push(K(G)+" ");return G[t]}function K(t){return t[t.length-1]}function $(t,e){for(var n=[],r=0;r"€"&&(t.toUpperCase()!=t.toLowerCase()||Q.test(t))}function tt(t,e){return e?!!(e.source.indexOf("\\w")>-1&&J(t))||e.test(t):J(t)}function et(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e])return!1;return!0}var nt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function rt(t){return t.charCodeAt(0)>=768&&nt.test(t)}function ot(t,e,n){for(;(n<0?e>0:en?-1:1;;){if(e==n)return e;var o=(e+n)/2,i=r<0?Math.ceil(o):Math.floor(o);if(i==e)return t(i)?e:n;t(i)?n=i:e=i+r}}var at=null;function st(t,e,n){var r;at=null;for(var o=0;oe)return o;i.to==e&&(i.from!=i.to&&"before"==n?r=o:at=o),i.from==e&&(i.from!=i.to&&"before"!=n?r=o:at=o)}return null!=r?r:at}var lt=function(){function t(t){return t<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(t):1424<=t&&t<=1524?"R":1536<=t&&t<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(t-1536):1774<=t&&t<=2220?"r":8192<=t&&t<=8203?"w":8204==t?"b":"L"}var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,r=/[LRr]/,o=/[Lb1n]/,i=/[1n]/;function a(t,e,n){this.level=t,this.from=e,this.to=n}return function(s,l){var c="ltr"==l?"L":"R";if(0==s.length||"ltr"==l&&!e.test(s))return!1;for(var u=s.length,p=[],d=0;d-1&&(r[e]=o.slice(0,i).concat(o.slice(i+1)))}}}function ht(t,e){var n=dt(t,e);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o0}function yt(t){t.prototype.on=function(t,e){pt(this,t,e)},t.prototype.off=function(t,e){ft(this,t,e)}}function bt(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function _t(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}function wt(t){return null!=t.defaultPrevented?t.defaultPrevented:0==t.returnValue}function Et(t){bt(t),_t(t)}function xt(t){return t.target||t.srcElement}function Ct(t){var e=t.which;return null==e&&(1&t.button?e=1:2&t.button?e=3:4&t.button&&(e=2)),y&&t.ctrlKey&&1==e&&(e=3),e}var Tt,At,Ot=function(){if(a&&s<9)return!1;var t=k("div");return"draggable"in t||"dragDrop"in t}();function St(t){if(null==Tt){var e=k("span","​");S(t,k("span",[e,document.createTextNode("x")])),0!=t.firstChild.offsetHeight&&(Tt=e.offsetWidth<=1&&e.offsetHeight>2&&!(a&&s<8))}var n=Tt?k("span","​"):k("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function kt(t){if(null!=At)return At;var e=S(t,document.createTextNode("AخA")),n=T(e,0,1).getBoundingClientRect(),r=T(e,1,2).getBoundingClientRect();return O(t),!(!n||n.left==n.right)&&(At=r.right-n.right<3)}var Pt,jt=3!="\n\nb".split(/\n/).length?function(t){for(var e=0,n=[],r=t.length;e<=r;){var o=t.indexOf("\n",e);-1==o&&(o=t.length);var i=t.slice(e,"\r"==t.charAt(o-1)?o-1:o),a=i.indexOf("\r");-1!=a?(n.push(i.slice(0,a)),e+=a+1):(n.push(i),e=o+1)}return n}:function(t){return t.split(/\r\n?|\n/)},Nt=window.getSelection?function(t){try{return t.selectionStart!=t.selectionEnd}catch(t){return!1}}:function(t){var e;try{e=t.ownerDocument.selection.createRange()}catch(t){}return!(!e||e.parentElement()!=t)&&0!=e.compareEndPoints("StartToEnd",e)},Lt="oncopy"in(Pt=k("div"))||(Pt.setAttribute("oncopy","return;"),"function"==typeof Pt.oncopy),Dt=null;var It={},Rt={};function Mt(t,e){arguments.length>2&&(e.dependencies=Array.prototype.slice.call(arguments,2)),It[t]=e}function Bt(t){if("string"==typeof t&&Rt.hasOwnProperty(t))t=Rt[t];else if(t&&"string"==typeof t.name&&Rt.hasOwnProperty(t.name)){var e=Rt[t.name];"string"==typeof e&&(e={name:e}),(t=Z(e,t)).name=e.name}else{if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+xml$/.test(t))return Bt("application/xml");if("string"==typeof t&&/^[\w\-]+\/[\w\-]+\+json$/.test(t))return Bt("application/json")}return"string"==typeof t?{name:t}:t||{name:"null"}}function Ft(t,e){e=Bt(e);var n=It[e.name];if(!n)return Ft(t,"text/plain");var r=n(t,e);if(Ut.hasOwnProperty(e.name)){var o=Ut[e.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=e.name,e.helperType&&(r.helperType=e.helperType),e.modeProps)for(var a in e.modeProps)r[a]=e.modeProps[a];return r}var Ut={};function Ht(t,e){M(e,Ut.hasOwnProperty(t)?Ut[t]:Ut[t]={})}function Vt(t,e){if(!0===e)return e;if(t.copyState)return t.copyState(e);var n={};for(var r in e){var o=e[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function qt(t,e){for(var n;t.innerMode&&(n=t.innerMode(e))&&n.mode!=t;)e=n.state,t=n.mode;return n||{mode:t,state:e}}function zt(t,e,n){return!t.startState||t.startState(e,n)}var Wt=function(t,e,n){this.pos=this.start=0,this.string=t,this.tabSize=e||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Gt(t,e){if((e-=t.first)<0||e>=t.size)throw new Error("There is no line "+(e+t.first)+" in the document.");for(var n=t;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(e=t.first&&en?te(n,Gt(t,n).text.length):function(t,e){var n=t.ch;return null==n||n>e?te(t.line,e):n<0?te(t.line,0):t}(e,Gt(t,e.line).text.length)}function le(t,e){for(var n=[],r=0;r=this.string.length},Wt.prototype.sol=function(){return this.pos==this.lineStart},Wt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Wt.prototype.next=function(){if(this.pose},Wt.prototype.eatSpace=function(){for(var t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t},Wt.prototype.skipToEnd=function(){this.pos=this.string.length},Wt.prototype.skipTo=function(t){var e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0},Wt.prototype.backUp=function(t){this.pos-=t},Wt.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}var o=function(t){return n?t.toLowerCase():t};if(o(this.string.substr(this.pos,t.length))==o(t))return!1!==e&&(this.pos+=t.length),!0},Wt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Wt.prototype.hideFirstChars=function(t,e){this.lineStart+=t;try{return e()}finally{this.lineStart-=t}},Wt.prototype.lookAhead=function(t){var e=this.lineOracle;return e&&e.lookAhead(t)},Wt.prototype.baseToken=function(){var t=this.lineOracle;return t&&t.baseToken(this.pos)};var ce=function(t,e){this.state=t,this.lookAhead=e},ue=function(t,e,n,r){this.state=e,this.doc=t,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function pe(t,e,n,r){var o=[t.state.modeGen],i={};_e(t,e.text,t.doc.mode,n,(function(t,e){return o.push(t,e)}),i,r);for(var a=n.state,s=function(r){n.baseTokens=o;var s=t.state.overlays[r],l=1,c=0;n.state=!0,_e(t,e.text,s.mode,n,(function(t,e){for(var n=l;ct&&o.splice(l,1,t,o[l+1],r),l+=2,c=Math.min(t,r)}if(e)if(s.opaque)o.splice(n,l-n,t,"overlay "+e),l=n+2;else for(;nt.options.maxHighlightLength&&Vt(t.doc.mode,r.state),i=pe(t,e,r);o&&(r.state=o),e.stateAfter=r.save(!o),e.styles=i.styles,i.classes?e.styleClasses=i.classes:e.styleClasses&&(e.styleClasses=null),n===t.doc.highlightFrontier&&(t.doc.modeFrontier=Math.max(t.doc.modeFrontier,++t.doc.highlightFrontier))}return e.styles}function fe(t,e,n){var r=t.doc,o=t.display;if(!r.mode.startState)return new ue(r,!0,e);var i=function(t,e,n){for(var r,o,i=t.doc,a=n?-1:e-(t.doc.mode.innerMode?1e3:100),s=e;s>a;--s){if(s<=i.first)return i.first;var l=Gt(i,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ce?c.lookAhead:0)<=i.modeFrontier))return s;var u=B(l.text,null,t.options.tabSize);(null==o||r>u)&&(o=s-1,r=u)}return o}(t,e,n),a=i>r.first&&Gt(r,i-1).stateAfter,s=a?ue.fromSaved(r,a,i):new ue(r,zt(r.mode),i);return r.iter(i,e,(function(n){he(t,n.text,s);var r=s.line;n.stateAfter=r==e-1||r%5==0||r>=o.viewFrom&&re.start)return i}throw new Error("Mode "+t.name+" failed to advance stream.")}ue.prototype.lookAhead=function(t){var e=this.doc.getLine(this.line+t);return null!=e&&t>this.maxLookAhead&&(this.maxLookAhead=t),e},ue.prototype.baseToken=function(t){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=t;)this.baseTokenPos+=2;var e=this.baseTokens[this.baseTokenPos+1];return{type:e&&e.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-t}},ue.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ue.fromSaved=function(t,e,n){return e instanceof ce?new ue(t,Vt(t.mode,e.state),n,e.lookAhead):new ue(t,Vt(t.mode,e),n)},ue.prototype.save=function(t){var e=!1!==t?Vt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ce(e,this.maxLookAhead):e};var ve=function(t,e,n){this.start=t.start,this.end=t.pos,this.string=t.current(),this.type=e||null,this.state=n};function ye(t,e,n,r){var o,i,a=t.doc,s=a.mode,l=Gt(a,(e=se(a,e)).line),c=fe(t,e.line,n),u=new Wt(l.text,t.options.tabSize,c);for(r&&(i=[]);(r||u.post.options.maxHighlightLength?(s=!1,a&&he(t,e,r,p.pos),p.pos=e.length,l=null):l=be(me(n,p,r.state,d),i),d){var f=d[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){for(;c=e:i.to>e);(r||(r=[])).push(new xe(a,i.from,s?null:i.to))}}return r}(n,o,a),l=function(t,e,n){var r;if(t)for(var o=0;o=e:i.to>e)||i.from==e&&"bookmark"==a.type&&(!n||i.marker.insertLeft)){var s=null==i.from||(a.inclusiveLeft?i.from<=e:i.from0&&s)for(var b=0;be)&&(!n||Ne(n,i.marker)<0)&&(n=i.marker)}return n}function Me(t,e,n,r,o){var i=Gt(t,e),a=Ee&&i.markedSpans;if(a)for(var s=0;s=0&&p<=0||u<=0&&p>=0)&&(u<=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?ee(c.to,n)>=0:ee(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?ee(c.from,r)<=0:ee(c.from,r)<0)))return!0}}}function Be(t){for(var e;e=De(t);)t=e.find(-1,!0).line;return t}function Fe(t,e){var n=Gt(t,e),r=Be(n);return n==r?e:Xt(r)}function Ue(t,e){if(e>t.lastLine())return e;var n,r=Gt(t,e);if(!He(t,r))return e;for(;n=Ie(r);)r=n.find(1,!0).line;return Xt(r)+1}function He(t,e){var n=Ee&&e.markedSpans;if(n)for(var r=void 0,o=0;oe.maxLineLength&&(e.maxLineLength=n,e.maxLine=t)}))}var Ge=function(t,e,n){this.text=t,ke(this,e),this.height=n?n(this):1};function Ye(t){t.parent=null,Se(t)}Ge.prototype.lineNo=function(){return Xt(this)},yt(Ge);var Ke={},$e={};function Xe(t,e){if(!t||/^\s*$/.test(t))return null;var n=e.addModeClass?$e:Ke;return n[t]||(n[t]=t.replace(/\S+/g,"cm-$&"))}function Ze(t,e){var n=P("span",null,null,l?"padding-right: .1px":null),r={pre:P("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:t,trailingSpace:!1,splitSpaces:t.getOption("lineWrapping")};e.measure={};for(var o=0;o<=(e.rest?e.rest.length:0);o++){var i=o?e.rest[o-1]:e.line,a=void 0;r.pos=0,r.addToken=Je,kt(t.display.measure)&&(a=ct(i,t.doc.direction))&&(r.addToken=tn(r.addToken,a)),r.map=[],nn(i,r,de(t,i,e!=t.display.externalMeasured&&Xt(i))),i.styleClasses&&(i.styleClasses.bgClass&&(r.bgClass=D(i.styleClasses.bgClass,r.bgClass||"")),i.styleClasses.textClass&&(r.textClass=D(i.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(St(t.display.measure))),0==o?(e.measure.map=r.map,e.measure.cache={}):((e.measure.maps||(e.measure.maps=[])).push(r.map),(e.measure.caches||(e.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ht(t,"renderLine",t,e.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function Qe(t){var e=k("span","•","cm-invalidchar");return e.title="\\u"+t.charCodeAt(0).toString(16),e.setAttribute("aria-label",e.title),e}function Je(t,e,n,r,o,i,l){if(e){var c,u=t.splitSpaces?function(t,e){if(t.length>1&&!/ /.test(t))return t;for(var n=e,r="",o=0;oc&&p.from<=c);d++);if(p.to>=u)return t(n,r,o,i,a,s,l);t(n,r.slice(0,p.to-c),o,i,null,s,l),i=null,r=r.slice(p.to-c),c=p.to}}}function en(t,e,n,r){var o=!r&&n.widgetNode;o&&t.map.push(t.pos,t.pos+e,o),!r&&t.cm.display.input.needsContentAttribute&&(o||(o=t.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(t.cm.display.input.setUneditable(o),t.content.appendChild(o)),t.pos+=e,t.trailingSpace=!1}function nn(t,e,n){var r=t.markedSpans,o=t.text,i=0;if(r)for(var a,s,l,c,u,p,d,f=o.length,h=0,g=1,m="",v=0;;){if(v==h){l=c=u=s="",d=null,p=null,v=1/0;for(var y=[],b=void 0,_=0;_h||E.collapsed&&w.to==h&&w.from==h)){if(null!=w.to&&w.to!=h&&v>w.to&&(v=w.to,c=""),E.className&&(l+=" "+E.className),E.css&&(s=(s?s+";":"")+E.css),E.startStyle&&w.from==h&&(u+=" "+E.startStyle),E.endStyle&&w.to==v&&(b||(b=[])).push(E.endStyle,w.to),E.title&&((d||(d={})).title=E.title),E.attributes)for(var x in E.attributes)(d||(d={}))[x]=E.attributes[x];E.collapsed&&(!p||Ne(p.marker,E)<0)&&(p=w)}else w.from>h&&v>w.from&&(v=w.from)}if(b)for(var C=0;C=f)break;for(var A=Math.min(f,v);;){if(m){var O=h+m.length;if(!p){var S=O>A?m.slice(0,A-h):m;e.addToken(e,S,a?a+l:l,u,h+S.length==v?c:"",s,d)}if(O>=A){m=m.slice(A-h),h=A;break}h=O,u=""}m=o.slice(i,i=n[g++]),a=Xe(n[g++],e.cm.options)}}else for(var k=1;kn)return{map:t.measure.maps[o],cache:t.measure.caches[o],before:!0}}function Pn(t,e,n,r){return Ln(t,Nn(t,e),n,r)}function jn(t,e){if(e>=t.display.viewFrom&&e=n.lineN&&e2&&i.push((l.bottom+c.top)/2-n.top)}}i.push(n.bottom-n.top)}}(t,e.view,e.rect),e.hasHeights=!0),(i=function(t,e,n,r){var o,i=Rn(e.map,n,r),l=i.node,c=i.start,u=i.end,p=i.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){for(;c&&rt(e.line.text.charAt(i.coverStart+c));)--c;for(;i.coverStart+u1}(t))return e;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:e.left*n,right:e.right*n,top:e.top*r,bottom:e.bottom*r}}(t.display.measure,o))}else{var f;c>0&&(p=r="right"),o=t.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!o||!o.left&&!o.right)){var h=l.parentNode.getClientRects()[0];o=h?{left:h.left,right:h.left+or(t.display),top:h.top,bottom:h.bottom}:In}for(var g=o.top-e.rect.top,m=o.bottom-e.rect.top,v=(g+m)/2,y=e.view.measure.heights,b=0;be)&&(o=(i=l-s)-1,e>=l&&(a="right")),null!=o){if(r=t[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==o)for(;c&&t[c-2]==t[c-3]&&t[c-1].insertLeft;)r=t[2+(c-=3)],a="left";if("right"==n&&o==l-s)for(;c=0&&(n=t[o]).left==n.right;o--);return n}function Bn(t){if(t.measure&&(t.measure.cache={},t.measure.heights=null,t.rest))for(var e=0;e=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(t,e,n){return a(n?t-1:t,1==s[e].level!=n)}var p=st(s,l,c),d=at,f=u(l,p,"before"==c);return null!=d&&(f.other=u(l,d,"before"!=c)),f}function Kn(t,e){var n=0;e=se(t.doc,e),t.options.lineWrapping||(n=or(t.display)*e.ch);var r=Gt(t.doc,e.line),o=qe(r)+xn(t.display);return{left:n,right:n,top:o,bottom:o+r.height}}function $n(t,e,n,r,o){var i=te(t,e,n);return i.xRel=o,r&&(i.outside=r),i}function Xn(t,e,n){var r=t.doc;if((n+=t.display.viewOffset)<0)return $n(r.first,0,null,-1,-1);var o=Zt(r,n),i=r.first+r.size-1;if(o>i)return $n(r.first+r.size-1,Gt(r,i).text.length,null,1,1);e<0&&(e=0);for(var a=Gt(r,o);;){var s=tr(t,a,o,e,n),l=Re(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==o)return c;a=Gt(r,o=c.line)}}function Zn(t,e,n,r){r-=qn(e);var o=e.text.length,i=it((function(e){return Ln(t,n,e-1).bottom<=r}),o,0);return{begin:i,end:o=it((function(e){return Ln(t,n,e).top>r}),i,o)}}function Qn(t,e,n,r){return n||(n=Nn(t,e)),Zn(t,e,n,zn(t,e,Ln(t,n,r),"line").top)}function Jn(t,e,n,r){return!(t.bottom<=n)&&(t.top>n||(r?t.left:t.right)>e)}function tr(t,e,n,r,o){o-=qe(e);var i=Nn(t,e),a=qn(e),s=0,l=e.text.length,c=!0,u=ct(e,t.doc.direction);if(u){var p=(t.options.lineWrapping?nr:er)(t,e,n,i,u,r,o);s=(c=1!=p.level)?p.from:p.to-1,l=c?p.to:p.from-1}var d,f,h=null,g=null,m=it((function(e){var n=Ln(t,i,e);return n.top+=a,n.bottom+=a,!!Jn(n,r,o,!1)&&(n.top<=o&&n.left<=r&&(h=e,g=n),!0)}),s,l),v=!1;if(g){var y=r-g.left=_.bottom?1:0}return $n(n,m=ot(e.text,m,1),f,v,r-d)}function er(t,e,n,r,o,i,a){var s=it((function(s){var l=o[s],c=1!=l.level;return Jn(Yn(t,te(n,c?l.to:l.from,c?"before":"after"),"line",e,r),i,a,!0)}),0,o.length-1),l=o[s];if(s>0){var c=1!=l.level,u=Yn(t,te(n,c?l.from:l.to,c?"after":"before"),"line",e,r);Jn(u,i,a,!0)&&u.top>a&&(l=o[s-1])}return l}function nr(t,e,n,r,o,i,a){var s=Zn(t,e,r,a),l=s.begin,c=s.end;/\s/.test(e.text.charAt(c-1))&&c--;for(var u=null,p=null,d=0;d=c||f.to<=l)){var h=Ln(t,r,1!=f.level?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=hg)&&(u=f,p=g)}}return u||(u=o[o.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function rr(t){if(null!=t.cachedTextHeight)return t.cachedTextHeight;if(null==Dn){Dn=k("pre",null,"CodeMirror-line-like");for(var e=0;e<49;++e)Dn.appendChild(document.createTextNode("x")),Dn.appendChild(k("br"));Dn.appendChild(document.createTextNode("x"))}S(t.measure,Dn);var n=Dn.offsetHeight/50;return n>3&&(t.cachedTextHeight=n),O(t.measure),n||1}function or(t){if(null!=t.cachedCharWidth)return t.cachedCharWidth;var e=k("span","xxxxxxxxxx"),n=k("pre",[e],"CodeMirror-line-like");S(t.measure,n);var r=e.getBoundingClientRect(),o=(r.right-r.left)/10;return o>2&&(t.cachedCharWidth=o),o||10}function ir(t){for(var e=t.display,n={},r={},o=e.gutters.clientLeft,i=e.gutters.firstChild,a=0;i;i=i.nextSibling,++a){var s=t.display.gutterSpecs[a].className;n[s]=i.offsetLeft+i.clientLeft+o,r[s]=i.clientWidth}return{fixedPos:ar(e),gutterTotalWidth:e.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:e.wrapper.clientWidth}}function ar(t){return t.scroller.getBoundingClientRect().left-t.sizer.getBoundingClientRect().left}function sr(t){var e=rr(t.display),n=t.options.lineWrapping,r=n&&Math.max(5,t.display.scroller.clientWidth/or(t.display)-3);return function(o){if(He(t.doc,o))return 0;var i=0;if(o.widgets)for(var a=0;a0&&(l=Gt(t.doc,c.line).text).length==c.ch){var u=B(l,l.length,t.options.tabSize)-l.length;c=te(c.line,Math.max(0,Math.round((i-Tn(t.display).left)/or(t.display))-u))}return c}function ur(t,e){if(e>=t.display.viewTo)return null;if((e-=t.display.viewFrom)<0)return null;for(var n=t.display.view,r=0;re)&&(o.updateLineNumbers=e),t.curOp.viewChanged=!0,e>=o.viewTo)Ee&&Fe(t.doc,e)o.viewFrom?fr(t):(o.viewFrom+=r,o.viewTo+=r);else if(e<=o.viewFrom&&n>=o.viewTo)fr(t);else if(e<=o.viewFrom){var i=hr(t,n,n+r,1);i?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):fr(t)}else if(n>=o.viewTo){var a=hr(t,e,e,-1);a?(o.view=o.view.slice(0,a.index),o.viewTo=a.lineN):fr(t)}else{var s=hr(t,e,e,-1),l=hr(t,n,n+r,1);s&&l?(o.view=o.view.slice(0,s.index).concat(on(t,s.lineN,l.lineN)).concat(o.view.slice(l.index)),o.viewTo+=r):fr(t)}var c=o.externalMeasured;c&&(n=o.lineN&&e=r.viewTo)){var i=r.view[ur(t,e)];if(null!=i.node){var a=i.changes||(i.changes=[]);-1==U(a,n)&&a.push(n)}}}function fr(t){t.display.viewFrom=t.display.viewTo=t.doc.first,t.display.view=[],t.display.viewOffset=0}function hr(t,e,n,r){var o,i=ur(t,e),a=t.display.view;if(!Ee||n==t.doc.first+t.doc.size)return{index:i,lineN:n};for(var s=t.display.viewFrom,l=0;l0){if(i==a.length-1)return null;o=s+a[i].size-e,i++}else o=s-e;e+=o,n+=o}for(;Fe(t.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function gr(t){for(var e=t.display.view,n=0,r=0;r=t.display.viewTo||s.to().line0&&(o.style.width=i.right-i.left+"px")}if(r.other){var a=n.appendChild(k("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=r.other.left+"px",a.style.top=r.other.top+"px",a.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function br(t,e){return t.top-e.top||t.left-e.left}function _r(t,e,n){var r=t.display,o=t.doc,i=document.createDocumentFragment(),a=Tn(t.display),s=a.left,l=Math.max(r.sizerWidth,On(t)-r.sizer.offsetLeft)-a.right,c="ltr"==o.direction;function u(t,e,n,r){e<0&&(e=0),e=Math.round(e),r=Math.round(r),i.appendChild(k("div",null,"CodeMirror-selected","position: absolute; left: "+t+"px;\n top: "+e+"px; width: "+(null==n?l-t:n)+"px;\n height: "+(r-e)+"px"))}function p(e,n,r){var i,a,p=Gt(o,e),d=p.text.length;function f(n,r){return Gn(t,te(e,n),"div",p,r)}function h(e,n,r){var o=Qn(t,p,null,e),i="ltr"==n==("after"==r)?"left":"right";return f("after"==r?o.begin:o.end-(/\s/.test(p.text.charAt(o.end-1))?2:1),i)[i]}var g=ct(p,o.direction);return function(t,e,n,r){if(!t)return r(e,n,"ltr",0);for(var o=!1,i=0;ie||e==n&&a.to==e)&&(r(Math.max(a.from,e),Math.min(a.to,n),1==a.level?"rtl":"ltr",i),o=!0)}o||r(e,n,"ltr")}(g,n||0,null==r?d:r,(function(t,e,o,p){var m="ltr"==o,v=f(t,m?"left":"right"),y=f(e-1,m?"right":"left"),b=null==n&&0==t,_=null==r&&e==d,w=0==p,E=!g||p==g.length-1;if(y.top-v.top<=3){var x=(c?_:b)&&E,C=(c?b:_)&&w?s:(m?v:y).left,T=x?l:(m?y:v).right;u(C,v.top,T-C,v.bottom)}else{var A,O,S,k;m?(A=c&&b&&w?s:v.left,O=c?l:h(t,o,"before"),S=c?s:h(e,o,"after"),k=c&&_&&E?l:y.right):(A=c?h(t,o,"before"):s,O=!c&&b&&w?l:v.right,S=!c&&_&&E?s:y.left,k=c?h(e,o,"after"):l),u(A,v.top,O-A,v.bottom),v.bottom0?e.blinker=setInterval((function(){t.hasFocus()||Tr(t),e.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),t.options.cursorBlinkRate):t.options.cursorBlinkRate<0&&(e.cursorDiv.style.visibility="hidden")}}function Er(t){t.hasFocus()||(t.display.input.focus(),t.state.focused||Cr(t))}function xr(t){t.state.delayingBlurEvent=!0,setTimeout((function(){t.state.delayingBlurEvent&&(t.state.delayingBlurEvent=!1,t.state.focused&&Tr(t))}),100)}function Cr(t,e){t.state.delayingBlurEvent&&!t.state.draggingText&&(t.state.delayingBlurEvent=!1),"nocursor"!=t.options.readOnly&&(t.state.focused||(ht(t,"focus",t,e),t.state.focused=!0,L(t.display.wrapper,"CodeMirror-focused"),t.curOp||t.display.selForContextMenu==t.doc.sel||(t.display.input.reset(),l&&setTimeout((function(){return t.display.input.reset(!0)}),20)),t.display.input.receivedFocus()),wr(t))}function Tr(t,e){t.state.delayingBlurEvent||(t.state.focused&&(ht(t,"blur",t,e),t.state.focused=!1,A(t.display.wrapper,"CodeMirror-focused")),clearInterval(t.display.blinker),setTimeout((function(){t.state.focused||(t.display.shift=!1)}),150))}function Ar(t){for(var e=t.display,n=e.lineDiv.offsetTop,r=Math.max(0,e.scroller.getBoundingClientRect().top),o=e.lineDiv.getBoundingClientRect().top,i=0,l=0;l.005||g<-.005)&&(ot.display.sizerWidth){var v=Math.ceil(d/or(t.display));v>t.display.maxLineLength&&(t.display.maxLineLength=v,t.display.maxLine=c.line,t.display.maxLineChanged=!0)}}}Math.abs(i)>2&&(e.scroller.scrollTop+=i)}function Or(t){if(t.widgets)for(var e=0;e=a&&(i=Zt(e,qe(Gt(e,l))-t.wrapper.clientHeight),a=l)}return{from:i,to:Math.max(a,i+1)}}function kr(t,e){var n=t.display,r=rr(t.display);e.top<0&&(e.top=0);var o=t.curOp&&null!=t.curOp.scrollTop?t.curOp.scrollTop:n.scroller.scrollTop,i=Sn(t),a={};e.bottom-e.top>i&&(e.bottom=e.top+i);var s=t.doc.height+Cn(n),l=e.tops-r;if(e.topo+i){var u=Math.min(e.top,(c?s:e.bottom)-i);u!=o&&(a.scrollTop=u)}var p=t.options.fixedGutter?0:n.gutters.offsetWidth,d=t.curOp&&null!=t.curOp.scrollLeft?t.curOp.scrollLeft:n.scroller.scrollLeft-p,f=On(t)-n.gutters.offsetWidth,h=e.right-e.left>f;return h&&(e.right=e.left+f),e.left<10?a.scrollLeft=0:e.leftf+d-3&&(a.scrollLeft=e.right+(h?0:10)-f),a}function Pr(t,e){null!=e&&(Lr(t),t.curOp.scrollTop=(null==t.curOp.scrollTop?t.doc.scrollTop:t.curOp.scrollTop)+e)}function jr(t){Lr(t);var e=t.getCursor();t.curOp.scrollToPos={from:e,to:e,margin:t.options.cursorScrollMargin}}function Nr(t,e,n){null==e&&null==n||Lr(t),null!=e&&(t.curOp.scrollLeft=e),null!=n&&(t.curOp.scrollTop=n)}function Lr(t){var e=t.curOp.scrollToPos;e&&(t.curOp.scrollToPos=null,Dr(t,Kn(t,e.from),Kn(t,e.to),e.margin))}function Dr(t,e,n,r){var o=kr(t,{left:Math.min(e.left,n.left),top:Math.min(e.top,n.top)-r,right:Math.max(e.right,n.right),bottom:Math.max(e.bottom,n.bottom)+r});Nr(t,o.scrollLeft,o.scrollTop)}function Ir(t,e){Math.abs(t.doc.scrollTop-e)<2||(n||lo(t,{top:e}),Rr(t,e,!0),n&&lo(t),ro(t,100))}function Rr(t,e,n){e=Math.max(0,Math.min(t.display.scroller.scrollHeight-t.display.scroller.clientHeight,e)),(t.display.scroller.scrollTop!=e||n)&&(t.doc.scrollTop=e,t.display.scrollbars.setScrollTop(e),t.display.scroller.scrollTop!=e&&(t.display.scroller.scrollTop=e))}function Mr(t,e,n,r){e=Math.max(0,Math.min(e,t.display.scroller.scrollWidth-t.display.scroller.clientWidth)),(n?e==t.doc.scrollLeft:Math.abs(t.doc.scrollLeft-e)<2)&&!r||(t.doc.scrollLeft=e,po(t),t.display.scroller.scrollLeft!=e&&(t.display.scroller.scrollLeft=e),t.display.scrollbars.setScrollLeft(e))}function Br(t){var e=t.display,n=e.gutters.offsetWidth,r=Math.round(t.doc.height+Cn(t.display));return{clientHeight:e.scroller.clientHeight,viewHeight:e.wrapper.clientHeight,scrollWidth:e.scroller.scrollWidth,clientWidth:e.scroller.clientWidth,viewWidth:e.wrapper.clientWidth,barLeft:t.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+An(t)+e.barHeight,nativeBarWidth:e.nativeBarWidth,gutterWidth:n}}var Fr=function(t,e,n){this.cm=n;var r=this.vert=k("div",[k("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=k("div",[k("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=o.tabIndex=-1,t(r),t(o),pt(r,"scroll",(function(){r.clientHeight&&e(r.scrollTop,"vertical")})),pt(o,"scroll",(function(){o.clientWidth&&e(o.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Fr.prototype.update=function(t){var e=t.scrollWidth>t.clientWidth+1,n=t.scrollHeight>t.clientHeight+1,r=t.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=e?r+"px":"0";var o=t.viewHeight-(e?r:0);this.vert.firstChild.style.height=Math.max(0,t.scrollHeight-t.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(e){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=t.barLeft+"px";var i=t.viewWidth-t.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,t.scrollWidth-t.clientWidth+i)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&t.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:e?r:0}},Fr.prototype.setScrollLeft=function(t){this.horiz.scrollLeft!=t&&(this.horiz.scrollLeft=t),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Fr.prototype.setScrollTop=function(t){this.vert.scrollTop!=t&&(this.vert.scrollTop=t),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Fr.prototype.zeroWidthHack=function(){var t=y&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=t,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new F,this.disableVert=new F},Fr.prototype.enableZeroWidthBar=function(t,e,n){t.style.pointerEvents="auto",e.set(1e3,(function r(){var o=t.getBoundingClientRect();("vert"==n?document.elementFromPoint(o.right-1,(o.top+o.bottom)/2):document.elementFromPoint((o.right+o.left)/2,o.bottom-1))!=t?t.style.pointerEvents="none":e.set(1e3,r)}))},Fr.prototype.clear=function(){var t=this.horiz.parentNode;t.removeChild(this.horiz),t.removeChild(this.vert)};var Ur=function(){};function Hr(t,e){e||(e=Br(t));var n=t.display.barWidth,r=t.display.barHeight;Vr(t,e);for(var o=0;o<4&&n!=t.display.barWidth||r!=t.display.barHeight;o++)n!=t.display.barWidth&&t.options.lineWrapping&&Ar(t),Vr(t,Br(t)),n=t.display.barWidth,r=t.display.barHeight}function Vr(t,e){var n=t.display,r=n.scrollbars.update(e);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&t.options.coverGutterNextToScrollbar&&t.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=e.gutterWidth+"px"):n.gutterFiller.style.display=""}Ur.prototype.update=function(){return{bottom:0,right:0}},Ur.prototype.setScrollLeft=function(){},Ur.prototype.setScrollTop=function(){},Ur.prototype.clear=function(){};var qr={native:Fr,null:Ur};function zr(t){t.display.scrollbars&&(t.display.scrollbars.clear(),t.display.scrollbars.addClass&&A(t.display.wrapper,t.display.scrollbars.addClass)),t.display.scrollbars=new qr[t.options.scrollbarStyle]((function(e){t.display.wrapper.insertBefore(e,t.display.scrollbarFiller),pt(e,"mousedown",(function(){t.state.focused&&setTimeout((function(){return t.display.input.focus()}),0)})),e.setAttribute("cm-not-content","true")}),(function(e,n){"horizontal"==n?Mr(t,e):Ir(t,e)}),t),t.display.scrollbars.addClass&&L(t.display.wrapper,t.display.scrollbars.addClass)}var Wr=0;function Gr(t){var e;t.curOp={cm:t,viewChanged:!1,startHeight:t.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Wr,markArrays:null},e=t.curOp,an?an.ops.push(e):e.ownsGroup=an={ops:[e],delayedCallbacks:[]}}function Yr(t){var e=t.curOp;e&&function(t,e){var n=t.ownsGroup;if(n)try{!function(t){var e=t.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&e.options.lineWrapping,t.update=t.mustUpdate&&new io(e,t.mustUpdate&&{top:t.scrollTop,ensure:t.scrollToPos},t.forceUpdate)}function $r(t){t.updatedDisplay=t.mustUpdate&&ao(t.cm,t.update)}function Xr(t){var e=t.cm,n=e.display;t.updatedDisplay&&Ar(e),t.barMeasure=Br(e),n.maxLineChanged&&!e.options.lineWrapping&&(t.adjustWidthTo=Pn(e,n.maxLine,n.maxLine.text.length).left+3,e.display.sizerWidth=t.adjustWidthTo,t.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+t.adjustWidthTo+An(e)+e.display.barWidth),t.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+t.adjustWidthTo-On(e))),(t.updatedDisplay||t.selectionChanged)&&(t.preparedSelection=n.input.prepareSelection())}function Zr(t){var e=t.cm;null!=t.adjustWidthTo&&(e.display.sizer.style.minWidth=t.adjustWidthTo+"px",t.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!h){var i=k("div","​",null,"position: absolute;\n top: "+(e.top-n.viewOffset-xn(t.display))+"px;\n height: "+(e.bottom-e.top+An(t)+n.barHeight)+"px;\n left: "+e.left+"px; width: "+Math.max(2,e.right-e.left)+"px;");t.display.lineSpace.appendChild(i),i.scrollIntoView(o),t.display.lineSpace.removeChild(i)}}}(e,function(t,e,n,r){var o;null==r&&(r=0),t.options.lineWrapping||e!=n||(n="before"==e.sticky?te(e.line,e.ch+1,"before"):e,e=e.ch?te(e.line,"before"==e.sticky?e.ch-1:e.ch,"after"):e);for(var i=0;i<5;i++){var a=!1,s=Yn(t,e),l=n&&n!=e?Yn(t,n):s,c=kr(t,o={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=t.doc.scrollTop,p=t.doc.scrollLeft;if(null!=c.scrollTop&&(Ir(t,c.scrollTop),Math.abs(t.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Mr(t,c.scrollLeft),Math.abs(t.doc.scrollLeft-p)>1&&(a=!0)),!a)break}return o}(e,se(r,t.scrollToPos.from),se(r,t.scrollToPos.to),t.scrollToPos.margin));var o=t.maybeHiddenMarkers,i=t.maybeUnhiddenMarkers;if(o)for(var a=0;a=t.display.viewTo)){var n=+new Date+t.options.workTime,r=fe(t,e.highlightFrontier),o=[];e.iter(r.line,Math.min(e.first+e.size,t.display.viewTo+500),(function(i){if(r.line>=t.display.viewFrom){var a=i.styles,s=i.text.length>t.options.maxHighlightLength?Vt(e.mode,r.state):null,l=pe(t,i,r,!0);s&&(r.state=s),i.styles=l.styles;var c=i.styleClasses,u=l.classes;u?i.styleClasses=u:c&&(i.styleClasses=null);for(var p=!a||a.length!=i.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!p&&dn)return ro(t,t.options.workDelay),!0})),e.highlightFrontier=r.line,e.modeFrontier=Math.max(e.modeFrontier,r.line),o.length&&Jr(t,(function(){for(var e=0;e=n.viewFrom&&e.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==gr(t))return!1;fo(t)&&(fr(t),e.dims=ir(t));var o=r.first+r.size,i=Math.max(e.visible.from-t.options.viewportMargin,r.first),a=Math.min(o,e.visible.to+t.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(o,n.viewTo)),Ee&&(i=Fe(t.doc,i),a=Ue(t.doc,a));var s=i!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=e.wrapperHeight||n.lastWrapWidth!=e.wrapperWidth;(function(t,e,n){var r=t.display;0==r.view.length||e>=r.viewTo||n<=r.viewFrom?(r.view=on(t,e,n),r.viewFrom=e):(r.viewFrom>e?r.view=on(t,e,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,ur(t,n)))),r.viewTo=n})(t,i,a),n.viewOffset=qe(Gt(t.doc,n.viewFrom)),t.display.mover.style.top=n.viewOffset+"px";var c=gr(t);if(!s&&0==c&&!e.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(t){if(t.hasFocus())return null;var e=N();if(!e||!j(t.display.lineDiv,e))return null;var n={activeElt:e};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&j(t.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(t);return c>4&&(n.lineDiv.style.display="none"),function(t,e,n){var r=t.display,o=t.options.lineNumbers,i=r.lineDiv,a=i.firstChild;function s(e){var n=e.nextSibling;return l&&y&&t.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),n}for(var c=r.view,u=r.viewFrom,p=0;p-1&&(f=!1),un(t,d,u,n)),f&&(O(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(Jt(t.options,u)))),a=d.node.nextSibling}else{var h=vn(t,d,u,n);i.insertBefore(h,a)}u+=d.size}for(;a;)a=s(a)}(t,n.updateLineNumbers,e.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(t){if(t&&t.activeElt&&t.activeElt!=N()&&(t.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(t.activeElt.nodeName)&&t.anchorNode&&j(document.body,t.anchorNode)&&j(document.body,t.focusNode))){var e=window.getSelection(),n=document.createRange();n.setEnd(t.anchorNode,t.anchorOffset),n.collapse(!1),e.removeAllRanges(),e.addRange(n),e.extend(t.focusNode,t.focusOffset)}}(u),O(n.cursorDiv),O(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=e.wrapperHeight,n.lastWrapWidth=e.wrapperWidth,ro(t,400)),n.updateLineNumbers=null,!0}function so(t,e){for(var n=e.viewport,r=!0;;r=!1){if(r&&t.options.lineWrapping&&e.oldDisplayWidth!=On(t))r&&(e.visible=Sr(t.display,t.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(t.doc.height+Cn(t.display)-Sn(t),n.top)}),e.visible=Sr(t.display,t.doc,n),e.visible.from>=t.display.viewFrom&&e.visible.to<=t.display.viewTo)break;if(!ao(t,e))break;Ar(t);var o=Br(t);mr(t),Hr(t,o),uo(t,o),e.force=!1}e.signal(t,"update",t),t.display.viewFrom==t.display.reportedViewFrom&&t.display.viewTo==t.display.reportedViewTo||(e.signal(t,"viewportChange",t,t.display.viewFrom,t.display.viewTo),t.display.reportedViewFrom=t.display.viewFrom,t.display.reportedViewTo=t.display.viewTo)}function lo(t,e){var n=new io(t,e);if(ao(t,n)){Ar(t),so(t,n);var r=Br(t);mr(t),Hr(t,r),uo(t,r),n.finish()}}function co(t){var e=t.gutters.offsetWidth;t.sizer.style.marginLeft=e+"px",ln(t,"gutterChanged",t)}function uo(t,e){t.display.sizer.style.minHeight=e.docHeight+"px",t.display.heightForcer.style.top=e.docHeight+"px",t.display.gutters.style.height=e.docHeight+t.display.barHeight+An(t)+"px"}function po(t){var e=t.display,n=e.view;if(e.alignWidgets||e.gutters.firstChild&&t.options.fixedGutter){for(var r=ar(e)-e.scroller.scrollLeft+t.doc.scrollLeft,o=e.gutters.offsetWidth,i=r+"px",a=0;as.clientWidth,u=s.scrollHeight>s.clientHeight;if(o&&c||i&&u){if(i&&y&&l)t:for(var d=e.target,f=a.view;d!=s;d=d.parentNode)for(var h=0;h=0&&ee(t,r.to())<=0)return n}return-1};var Co=function(t,e){this.anchor=t,this.head=e};function To(t,e,n){var r=t&&t.options.selectionsMayTouch,o=e[n];e.sort((function(t,e){return ee(t.from(),e.from())})),n=U(e,o);for(var i=1;i0:l>=0){var c=ie(s.from(),a.from()),u=oe(s.to(),a.to()),p=s.empty()?a.from()==a.head:s.from()==s.head;i<=n&&--n,e.splice(--i,2,new Co(p?u:c,p?c:u))}}return new xo(e,n)}function Ao(t,e){return new xo([new Co(t,e||t)],0)}function Oo(t){return t.text?te(t.from.line+t.text.length-1,K(t.text).length+(1==t.text.length?t.from.ch:0)):t.to}function So(t,e){if(ee(t,e.from)<0)return t;if(ee(t,e.to)<=0)return Oo(e);var n=t.line+e.text.length-(e.to.line-e.from.line)-1,r=t.ch;return t.line==e.to.line&&(r+=Oo(e).ch-e.to.ch),te(n,r)}function ko(t,e){for(var n=[],r=0;r1&&t.remove(s.line+1,h-1),t.insert(s.line+1,v)}ln(t,"change",t,e)}function Io(t,e,n){!function t(r,o,i){if(r.linked)for(var a=0;as-(t.cm?t.cm.options.historyEventDelay:500)||"*"==e.origin.charAt(0)))&&(i=function(t,e){return e?(Uo(t.done),K(t.done)):t.done.length&&!K(t.done).ranges?K(t.done):t.done.length>1&&!t.done[t.done.length-2].ranges?(t.done.pop(),K(t.done)):void 0}(o,o.lastOp==r)))a=K(i.changes),0==ee(e.from,e.to)&&0==ee(e.from,a.to)?a.to=Oo(e):i.changes.push(Fo(t,e));else{var l=K(o.done);for(l&&l.ranges||qo(t.sel,o.done),i={changes:[Fo(t,e)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=s,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=e.origin,a||ht(t,"historyAdded")}function Vo(t,e,n,r){var o=t.history,i=r&&r.origin;n==o.lastSelOp||i&&o.lastSelOrigin==i&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==i||function(t,e,n,r){var o=e.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-t.history.lastSelTime<=(t.cm?t.cm.options.historyEventDelay:500)}(t,i,K(o.done),e))?o.done[o.done.length-1]=e:qo(e,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=i,o.lastSelOp=n,r&&!1!==r.clearRedo&&Uo(o.undone)}function qo(t,e){var n=K(e);n&&n.ranges&&n.equals(t)||e.push(t)}function zo(t,e,n,r){var o=e["spans_"+t.id],i=0;t.iter(Math.max(t.first,n),Math.min(t.first+t.size,r),(function(n){n.markedSpans&&((o||(o=e["spans_"+t.id]={}))[i]=n.markedSpans),++i}))}function Wo(t){if(!t)return null;for(var e,n=0;n-1&&(K(s)[p]=c[p],delete c[p])}}}return r}function Ko(t,e,n,r){if(r){var o=t.anchor;if(n){var i=ee(e,o)<0;i!=ee(n,o)<0?(o=e,e=n):i!=ee(e,n)<0&&(e=n)}return new Co(o,e)}return new Co(n||e,e)}function $o(t,e,n,r,o){null==o&&(o=t.cm&&(t.cm.display.shift||t.extend)),ti(t,new xo([Ko(t.sel.primary(),e,n,o)],0),r)}function Xo(t,e,n){for(var r=[],o=t.cm&&(t.cm.display.shift||t.extend),i=0;i=e.ch:s.to>e.ch))){if(o&&(ht(l,"beforeCursorEnter"),l.explicitlyCleared)){if(i.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var p=l.find(r<0?1:-1),d=void 0;if((r<0?u:c)&&(p=si(t,p,-r,p&&p.line==e.line?i:null)),p&&p.line==e.line&&(d=ee(p,n))&&(r<0?d<0:d>0))return ii(t,p,e,r,o)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=si(t,f,r,f.line==e.line?i:null)),f?ii(t,f,e,r,o):null}}return e}function ai(t,e,n,r,o){var i=r||1;return ii(t,e,n,i,o)||!o&&ii(t,e,n,i,!0)||ii(t,e,n,-i,o)||!o&&ii(t,e,n,-i,!0)||(t.cantEdit=!0,te(t.first,0))}function si(t,e,n,r){return n<0&&0==e.ch?e.line>t.first?se(t,te(e.line-1)):null:n>0&&e.ch==(r||Gt(t,e.line)).text.length?e.line0)){var u=[l,1],p=ee(c.from,s.from),d=ee(c.to,s.to);(p<0||!a.inclusiveLeft&&!p)&&u.push({from:c.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),o.splice.apply(o,u),l+=u.length-3}}return o}(t,e.from,e.to);if(r)for(var o=r.length-1;o>=0;--o)pi(t,{from:r[o].from,to:r[o].to,text:o?[""]:e.text,origin:e.origin});else pi(t,e)}}function pi(t,e){if(1!=e.text.length||""!=e.text[0]||0!=ee(e.from,e.to)){var n=ko(t,e);Ho(t,e,n,t.cm?t.cm.curOp.id:NaN),hi(t,e,n,Ae(t,e));var r=[];Io(t,(function(t,n){n||-1!=U(r,t.history)||(yi(t.history,e),r.push(t.history)),hi(t,e,null,Ae(t,e))}))}}function di(t,e,n){var r=t.cm&&t.cm.state.suppressEdits;if(!r||n){for(var o,i=t.history,a=t.sel,s="undo"==e?i.done:i.undone,l="undo"==e?i.undone:i.done,c=0;c=0;--f){var h=d(f);if(h)return h.v}}}}function fi(t,e){if(0!=e&&(t.first+=e,t.sel=new xo($(t.sel.ranges,(function(t){return new Co(te(t.anchor.line+e,t.anchor.ch),te(t.head.line+e,t.head.ch))})),t.sel.primIndex),t.cm)){pr(t.cm,t.first,t.first-e,e);for(var n=t.cm.display,r=n.viewFrom;rt.lastLine())){if(e.from.linei&&(e={from:e.from,to:te(i,Gt(t,i).text.length),text:[e.text[0]],origin:e.origin}),e.removed=Yt(t,e.from,e.to),n||(n=ko(t,e)),t.cm?function(t,e,n){var r=t.doc,o=t.display,i=e.from,a=e.to,s=!1,l=i.line;t.options.lineWrapping||(l=Xt(Be(Gt(r,i.line))),r.iter(l,a.line+1,(function(t){if(t==o.maxLine)return s=!0,!0}))),r.sel.contains(e.from,e.to)>-1&&mt(t),Do(r,e,n,sr(t)),t.options.lineWrapping||(r.iter(l,i.line+e.text.length,(function(t){var e=ze(t);e>o.maxLineLength&&(o.maxLine=t,o.maxLineLength=e,o.maxLineChanged=!0,s=!1)})),s&&(t.curOp.updateMaxLine=!0)),function(t,e){if(t.modeFrontier=Math.min(t.modeFrontier,e),!(t.highlightFrontiern;r--){var o=Gt(t,r).stateAfter;if(o&&(!(o instanceof ce)||r+o.lookAhead1||!(this.children[0]instanceof _i))){var s=[];this.collapse(s),this.children=[new _i(s)],this.children[0].parent=this}},collapse:function(t){for(var e=0;e50){for(var a=o.lines.length%25+25,s=a;s10);t.parent.maybeSpill()}},iterN:function(t,e,n){for(var r=0;r0||0==a&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=P("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(Me(t,e.line,e,n,i)||e.line!=n.line&&Me(t,n.line,e,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ee=!0}i.addToHistory&&Ho(t,{from:e,to:n,origin:"markText"},t.sel,NaN);var s,l=e.line,c=t.cm;if(t.iter(l,n.line+1,(function(r){c&&i.collapsed&&!c.options.lineWrapping&&Be(r)==c.display.maxLine&&(s=!0),i.collapsed&&l!=e.line&&$t(r,0),function(t,e,n){var r=n&&window.WeakSet&&(n.markedSpans||(n.markedSpans=new WeakSet));r&&r.has(t.markedSpans)?t.markedSpans.push(e):(t.markedSpans=t.markedSpans?t.markedSpans.concat([e]):[e],r&&r.add(t.markedSpans)),e.marker.attachLine(t)}(r,new xe(i,l==e.line?e.ch:null,l==n.line?n.ch:null),t.cm&&t.cm.curOp),++l})),i.collapsed&&t.iter(e.line,n.line+1,(function(e){He(t,e)&&$t(e,0)})),i.clearOnEnter&&pt(i,"beforeCursorEnter",(function(){return i.clear()})),i.readOnly&&(we=!0,(t.history.done.length||t.history.undone.length)&&t.clearHistory()),i.collapsed&&(i.id=++Ci,i.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),i.collapsed)pr(c,e.line,n.line+1);else if(i.className||i.startStyle||i.endStyle||i.css||i.attributes||i.title)for(var u=e.line;u<=n.line;u++)dr(c,u,"text");i.atomic&&ri(c.doc),ln(c,"markerAdded",c,i)}return i}Ti.prototype.clear=function(){if(!this.explicitlyCleared){var t=this.doc.cm,e=t&&!t.curOp;if(e&&Gr(t),vt(this,"clear")){var n=this.find();n&&ln(this,"clear",n.from,n.to)}for(var r=null,o=null,i=0;it.display.maxLineLength&&(t.display.maxLine=c,t.display.maxLineLength=u,t.display.maxLineChanged=!0)}null!=r&&t&&this.collapsed&&pr(t,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&ri(t.doc)),t&&ln(t,"markerCleared",t,this,r,o),e&&Yr(t),this.parent&&this.parent.clear()}},Ti.prototype.find=function(t,e){var n,r;null==t&&"bookmark"==this.type&&(t=1);for(var o=0;o=0;l--)ui(this,r[l]);s?Jo(this,s):this.cm&&jr(this.cm)})),undo:no((function(){di(this,"undo")})),redo:no((function(){di(this,"redo")})),undoSelection:no((function(){di(this,"undo",!0)})),redoSelection:no((function(){di(this,"redo",!0)})),setExtending:function(t){this.extend=t},getExtending:function(){return this.extend},historySize:function(){for(var t=this.history,e=0,n=0,r=0;r=t.ch)&&e.push(o.marker.parent||o.marker)}return e},findMarks:function(t,e,n){t=se(this,t),e=se(this,e);var r=[],o=t.line;return this.iter(t.line,e.line+1,(function(i){var a=i.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&o!=t.line||null!=l.from&&o==e.line&&l.from>=e.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o})),r},getAllMarks:function(){var t=[];return this.iter((function(e){var n=e.markedSpans;if(n)for(var r=0;rt)return e=t,!0;t-=i,++n})),se(this,te(n,e))},indexFromPos:function(t){var e=(t=se(this,t)).ch;if(t.linee&&(e=t.from),null!=t.to&&t.to-1)return e.state.draggingText(t),void setTimeout((function(){return e.display.input.focus()}),20);try{var p=t.dataTransfer.getData("Text");if(p){var d;if(e.state.draggingText&&!e.state.draggingText.copy&&(d=e.listSelections()),ei(e.doc,Ao(n,n)),d)for(var f=0;f=0;e--)gi(t.doc,"",r[e].from,r[e].to,"+delete");jr(t)}))}function Qi(t,e,n){var r=ot(t.text,e+n,n);return r<0||r>t.text.length?null:r}function Ji(t,e,n){var r=Qi(t,e.ch,n);return null==r?null:new te(e.line,r,n<0?"after":"before")}function ta(t,e,n,r,o){if(t){"rtl"==e.doc.direction&&(o=-o);var i=ct(n,e.doc.direction);if(i){var a,s=o<0?K(i):i[0],l=o<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==e.doc.direction){var c=Nn(e,n);a=o<0?n.text.length-1:0;var u=Ln(e,c,a).top;a=it((function(t){return Ln(e,c,t).top==u}),o<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=Qi(n,a,1))}else a=o<0?s.to:s.from;return new te(r,a,l)}}return new te(r,o<0?n.text.length:0,o<0?"before":"after")}qi.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},qi.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},qi.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},qi.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},qi.default=y?qi.macDefault:qi.pcDefault;var ea={selectAll:li,singleSelection:function(t){return t.setSelection(t.getCursor("anchor"),t.getCursor("head"),V)},killLine:function(t){return Zi(t,(function(e){if(e.empty()){var n=Gt(t.doc,e.head.line).text.length;return e.head.ch==n&&e.head.line0)o=new te(o.line,o.ch+1),t.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),te(o.line,o.ch-2),o,"+transpose");else if(o.line>t.doc.first){var a=Gt(t.doc,o.line-1).text;a&&(o=new te(o.line,1),t.replaceRange(i.charAt(0)+t.doc.lineSeparator()+a.charAt(a.length-1),te(o.line-1,a.length-1),o,"+transpose"))}n.push(new Co(o,o))}t.setSelections(n)}))},newlineAndIndent:function(t){return Jr(t,(function(){for(var e=t.listSelections(),n=e.length-1;n>=0;n--)t.replaceRange(t.doc.lineSeparator(),e[n].anchor,e[n].head,"+input");e=t.listSelections();for(var r=0;r-1&&(ee((o=c.ranges[o]).from(),e)<0||e.xRel>0)&&(ee(o.to(),e)>0||e.xRel<0)?function(t,e,n,r){var o=t.display,i=!1,c=to(t,(function(e){l&&(o.scroller.draggable=!1),t.state.draggingText=!1,t.state.delayingBlurEvent&&(t.hasFocus()?t.state.delayingBlurEvent=!1:xr(t)),ft(o.wrapper.ownerDocument,"mouseup",c),ft(o.wrapper.ownerDocument,"mousemove",u),ft(o.scroller,"dragstart",p),ft(o.scroller,"drop",c),i||(bt(e),r.addNew||$o(t.doc,n,null,null,r.extend),l&&!d||a&&9==s?setTimeout((function(){o.wrapper.ownerDocument.body.focus({preventScroll:!0}),o.input.focus()}),20):o.input.focus())})),u=function(t){i=i||Math.abs(e.clientX-t.clientX)+Math.abs(e.clientY-t.clientY)>=10},p=function(){return i=!0};l&&(o.scroller.draggable=!0),t.state.draggingText=c,c.copy=!r.moveOnDrag,pt(o.wrapper.ownerDocument,"mouseup",c),pt(o.wrapper.ownerDocument,"mousemove",u),pt(o.scroller,"dragstart",p),pt(o.scroller,"drop",c),t.state.delayingBlurEvent=!0,setTimeout((function(){return o.input.focus()}),20),o.scroller.dragDrop&&o.scroller.dragDrop()}(t,r,e,i):function(t,e,n,r){a&&xr(t);var o=t.display,i=t.doc;bt(e);var s,l,c=i.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=i.sel.contains(n),s=l>-1?u[l]:new Co(n,n)):(s=i.sel.primary(),l=i.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new Co(n,n)),n=cr(t,e,!0,!0),l=-1;else{var p=va(t,n,r.unit);s=r.extend?Ko(s,p.anchor,p.head,r.extend):p}r.addNew?-1==l?(l=u.length,ti(i,To(t,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(ti(i,To(t,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=i.sel):Zo(i,l,s,q):(l=0,ti(i,new xo([s],0),q),c=i.sel);var d=n;function f(e){if(0!=ee(d,e))if(d=e,"rectangle"==r.unit){for(var o=[],a=t.options.tabSize,u=B(Gt(i,n.line).text,n.ch,a),p=B(Gt(i,e.line).text,e.ch,a),f=Math.min(u,p),h=Math.max(u,p),g=Math.min(n.line,e.line),m=Math.min(t.lastLine(),Math.max(n.line,e.line));g<=m;g++){var v=Gt(i,g).text,y=W(v,f,a);f==h?o.push(new Co(te(g,y),te(g,y))):v.length>y&&o.push(new Co(te(g,y),te(g,W(v,h,a))))}o.length||o.push(new Co(n,n)),ti(i,To(t,c.ranges.slice(0,l).concat(o),l),{origin:"*mouse",scroll:!1}),t.scrollIntoView(e)}else{var b,_=s,w=va(t,e,r.unit),E=_.anchor;ee(w.anchor,E)>0?(b=w.head,E=ie(_.from(),w.anchor)):(b=w.anchor,E=oe(_.to(),w.head));var x=c.ranges.slice(0);x[l]=function(t,e){var n=e.anchor,r=e.head,o=Gt(t.doc,n.line);if(0==ee(n,r)&&n.sticky==r.sticky)return e;var i=ct(o);if(!i)return e;var a=st(i,n.ch,n.sticky),s=i[a];if(s.from!=n.ch&&s.to!=n.ch)return e;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==i.length)return e;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==t.doc.direction?1:-1)>0;else{var u=st(i,r.ch,r.sticky),p=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?p<0:p>0}var d=i[c+(l?-1:0)],f=l==(1==d.level),h=f?d.from:d.to,g=f?"after":"before";return n.ch==h&&n.sticky==g?e:new Co(new te(n.line,h,g),r)}(t,new Co(se(i,E),b)),ti(i,To(t,x,l),q)}}var h=o.wrapper.getBoundingClientRect(),g=0;function m(e){var n=++g,a=cr(t,e,!0,"rectangle"==r.unit);if(a)if(0!=ee(a,d)){t.curOp.focus=N(),f(a);var s=Sr(o,i);(a.line>=s.to||a.lineh.bottom?20:0;l&&setTimeout(to(t,(function(){g==n&&(o.scroller.scrollTop+=l,m(e))})),50)}}function v(e){t.state.selectingText=!1,g=1/0,e&&(bt(e),o.input.focus()),ft(o.wrapper.ownerDocument,"mousemove",y),ft(o.wrapper.ownerDocument,"mouseup",b),i.history.lastSelOrigin=null}var y=to(t,(function(t){0!==t.buttons&&Ct(t)?m(t):v(t)})),b=to(t,v);t.state.selectingText=b,pt(o.wrapper.ownerDocument,"mousemove",y),pt(o.wrapper.ownerDocument,"mouseup",b)}(t,r,e,i)}(e,r,i,t):xt(t)==n.scroller&&bt(t):2==o?(r&&$o(e.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==o&&(x?e.display.input.onContextMenu(t):xr(e)))}}function va(t,e,n){if("char"==n)return new Co(e,e);if("word"==n)return t.findWordAt(e);if("line"==n)return new Co(te(e.line,0),se(t.doc,te(e.line+1,0)));var r=n(t,e);return new Co(r.from,r.to)}function ya(t,e,n,r){var o,i;if(e.touches)o=e.touches[0].clientX,i=e.touches[0].clientY;else try{o=e.clientX,i=e.clientY}catch(t){return!1}if(o>=Math.floor(t.display.gutters.getBoundingClientRect().right))return!1;r&&bt(e);var a=t.display,s=a.lineDiv.getBoundingClientRect();if(i>s.bottom||!vt(t,n))return wt(e);i-=s.top-a.viewOffset;for(var l=0;l=o)return ht(t,n,t,Zt(t.doc,i),t.display.gutterSpecs[l].className,e),wt(e)}}function ba(t,e){return ya(t,e,"gutterClick",!0)}function _a(t,e){En(t.display,e)||function(t,e){return!!vt(t,"gutterContextMenu")&&ya(t,e,"gutterContextMenu",!1)}(t,e)||gt(t,e,"contextmenu")||x||t.display.input.onContextMenu(e)}function wa(t){t.display.wrapper.className=t.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+t.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Un(t)}ga.prototype.compare=function(t,e,n){return this.time+400>t&&0==ee(e,this.pos)&&n==this.button};var Ea={toString:function(){return"CodeMirror.Init"}},xa={},Ca={};function Ta(t,e,n){if(!e!=!(n&&n!=Ea)){var r=t.display.dragFunctions,o=e?pt:ft;o(t.display.scroller,"dragstart",r.start),o(t.display.scroller,"dragenter",r.enter),o(t.display.scroller,"dragover",r.over),o(t.display.scroller,"dragleave",r.leave),o(t.display.scroller,"drop",r.drop)}}function Aa(t){t.options.lineWrapping?(L(t.display.wrapper,"CodeMirror-wrap"),t.display.sizer.style.minWidth="",t.display.sizerWidth=null):(A(t.display.wrapper,"CodeMirror-wrap"),We(t)),lr(t),pr(t),Un(t),setTimeout((function(){return Hr(t)}),100)}function Oa(t,e){var n=this;if(!(this instanceof Oa))return new Oa(t,e);this.options=e=e?M(e):{},M(xa,e,!1);var r=e.value;"string"==typeof r?r=new ji(r,e.mode,null,e.lineSeparator,e.direction):e.mode&&(r.modeOption=e.mode),this.doc=r;var o=new Oa.inputStyles[e.inputStyle](this),i=this.display=new vo(t,r,o,e);for(var c in i.wrapper.CodeMirror=this,wa(this),e.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),zr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new F,keySeq:null,specialChars:null},e.autofocus&&!v&&i.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(t){var e=t.display;pt(e.scroller,"mousedown",to(t,ma)),pt(e.scroller,"dblclick",a&&s<11?to(t,(function(e){if(!gt(t,e)){var n=cr(t,e);if(n&&!ba(t,e)&&!En(t.display,e)){bt(e);var r=t.findWordAt(n);$o(t.doc,r.anchor,r.head)}}})):function(e){return gt(t,e)||bt(e)}),pt(e.scroller,"contextmenu",(function(e){return _a(t,e)})),pt(e.input.getField(),"contextmenu",(function(n){e.scroller.contains(n.target)||_a(t,n)}));var n,r={end:0};function o(){e.activeTouch&&(n=setTimeout((function(){return e.activeTouch=null}),1e3),(r=e.activeTouch).end=+new Date)}function i(t){if(1!=t.touches.length)return!1;var e=t.touches[0];return e.radiusX<=1&&e.radiusY<=1}function l(t,e){if(null==e.left)return!0;var n=e.left-t.left,r=e.top-t.top;return n*n+r*r>400}pt(e.scroller,"touchstart",(function(o){if(!gt(t,o)&&!i(o)&&!ba(t,o)){e.input.ensurePolled(),clearTimeout(n);var a=+new Date;e.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==o.touches.length&&(e.activeTouch.left=o.touches[0].pageX,e.activeTouch.top=o.touches[0].pageY)}})),pt(e.scroller,"touchmove",(function(){e.activeTouch&&(e.activeTouch.moved=!0)})),pt(e.scroller,"touchend",(function(n){var r=e.activeTouch;if(r&&!En(e,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var i,a=t.coordsChar(e.activeTouch,"page");i=!r.prev||l(r,r.prev)?new Co(a,a):!r.prev.prev||l(r,r.prev.prev)?t.findWordAt(a):new Co(te(a.line,0),se(t.doc,te(a.line+1,0))),t.setSelection(i.anchor,i.head),t.focus(),bt(n)}o()})),pt(e.scroller,"touchcancel",o),pt(e.scroller,"scroll",(function(){e.scroller.clientHeight&&(Ir(t,e.scroller.scrollTop),Mr(t,e.scroller.scrollLeft,!0),ht(t,"scroll",t))})),pt(e.scroller,"mousewheel",(function(e){return Eo(t,e)})),pt(e.scroller,"DOMMouseScroll",(function(e){return Eo(t,e)})),pt(e.wrapper,"scroll",(function(){return e.wrapper.scrollTop=e.wrapper.scrollLeft=0})),e.dragFunctions={enter:function(e){gt(t,e)||Et(e)},over:function(e){gt(t,e)||(function(t,e){var n=cr(t,e);if(n){var r=document.createDocumentFragment();yr(t,n,r),t.display.dragCursor||(t.display.dragCursor=k("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),S(t.display.dragCursor,r)}}(t,e),Et(e))},start:function(e){return function(t,e){if(a&&(!t.state.draggingText||+new Date-Ni<100))Et(e);else if(!gt(t,e)&&!En(t.display,e)&&(e.dataTransfer.setData("Text",t.getSelection()),e.dataTransfer.effectAllowed="copyMove",e.dataTransfer.setDragImage&&!d)){var n=k("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",p&&(n.width=n.height=1,t.display.wrapper.appendChild(n),n._top=n.offsetTop),e.dataTransfer.setDragImage(n,0,0),p&&n.parentNode.removeChild(n)}}(t,e)},drop:to(t,Li),leave:function(e){gt(t,e)||Di(t)}};var c=e.input.getField();pt(c,"keyup",(function(e){return pa.call(t,e)})),pt(c,"keydown",to(t,ua)),pt(c,"keypress",to(t,da)),pt(c,"focus",(function(e){return Cr(t,e)})),pt(c,"blur",(function(e){return Tr(t,e)}))}(this),Mi(),Gr(this),this.curOp.forceUpdate=!0,Ro(this,r),e.autofocus&&!v||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Cr(n)}),20):Tr(this),Ca)Ca.hasOwnProperty(c)&&Ca[c](this,e[c],Ea);fo(this),e.finishInit&&e.finishInit(this);for(var u=0;u150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=e>i.first?B(Gt(i,e-1).text,null,a):0:"add"==n?c=l+t.options.indentUnit:"subtract"==n?c=l-t.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var p="",d=0;if(t.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)d+=a,p+="\t";if(da,l=jt(e),c=null;if(s&&r.ranges.length>1)if(Pa&&Pa.text.join("\n")==e){if(r.ranges.length%Pa.text.length==0){c=[];for(var u=0;u=0;d--){var f=r.ranges[d],h=f.from(),g=f.to();f.empty()&&(n&&n>0?h=te(h.line,h.ch-n):t.state.overwrite&&!s?g=te(g.line,Math.min(Gt(i,g.line).text.length,g.ch+K(l).length)):s&&Pa&&Pa.lineWise&&Pa.text.join("\n")==l.join("\n")&&(h=g=te(h.line,0)));var m={from:h,to:g,text:c?c[d%c.length]:l,origin:o||(s?"paste":t.state.cutIncoming>a?"cut":"+input")};ui(t.doc,m),ln(t,"inputRead",t,m)}e&&!s&&Da(t,e),jr(t),t.curOp.updateInput<2&&(t.curOp.updateInput=p),t.curOp.typing=!0,t.state.pasteIncoming=t.state.cutIncoming=-1}function La(t,e){var n=t.clipboardData&&t.clipboardData.getData("Text");if(n)return t.preventDefault(),e.isReadOnly()||e.options.disableInput||Jr(e,(function(){return Na(e,n,0,null,"paste")})),!0}function Da(t,e){if(t.options.electricChars&&t.options.smartIndent)for(var n=t.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=t.getModeAt(o.head),a=!1;if(i.electricChars){for(var s=0;s-1){a=ka(t,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(Gt(t.doc,o.head.line).text.slice(0,o.head.ch))&&(a=ka(t,o.head.line,"smart"));a&&ln(t,"electricInput",t,o.head.line)}}}function Ia(t){for(var e=[],n=[],r=0;r0?0:-1));if(isNaN(u))a=null;else{var p=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new te(e.line,Math.max(0,Math.min(s.text.length,e.ch+n*(p?2:1))),-n)}}else a=o?function(t,e,n,r){var o=ct(e,t.doc.direction);if(!o)return Ji(e,n,r);n.ch>=e.text.length?(n.ch=e.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var i=st(o,n.ch,n.sticky),a=o[i];if("ltr"==t.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&d>=u.begin)){var f=p?"before":"after";return new te(n.line,d,f)}}var h=function(t,e,r){for(var i=function(t,e){return e?new te(n.line,l(t,1),"before"):new te(n.line,t,"after")};t>=0&&t0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c0?u.end:l(u.begin,-1);return null==m||r>0&&m==e.text.length||!(g=h(r>0?0:o.length-1,r,c(m)))?null:g}(t.cm,s,e,n):Ji(s,e,n);if(null==a){if(i||((c=e.line+l)=t.first+t.size||(e=new te(c,e.ch,e.sticky),!(s=Gt(t,c)))))return!1;e=ta(o,t.cm,s,e.line,l)}else e=a;return!0}if("char"==r||"codepoint"==r)c();else if("column"==r)c(!0);else if("word"==r||"group"==r)for(var u=null,p="group"==r,d=t.cm&&t.cm.getHelper(e,"wordChars"),f=!0;!(n<0)||c(!f);f=!1){var h=s.text.charAt(e.ch)||"\n",g=tt(h,d)?"w":p&&"\n"==h?"n":!p||/\s/.test(h)?null:"p";if(!p||f||g||(g="s"),u&&u!=g){n<0&&(n=1,c(),e.sticky="after");break}if(g&&(u=g),n>0&&!c(!f))break}var m=ai(t,e,i,a,!0);return ne(i,m)&&(m.hitSide=!0),m}function Fa(t,e,n,r){var o,i,a=t.doc,s=e.left;if("page"==r){var l=Math.min(t.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*rr(t.display),3);o=(n>0?e.bottom:e.top)+n*c}else"line"==r&&(o=n>0?e.bottom+3:e.top-3);for(;(i=Xn(t,s,o)).outside;){if(n<0?o<=0:o>=a.height){i.hitSide=!0;break}o+=5*n}return i}var Ua=function(t){this.cm=t,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new F,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ha(t,e){var n=jn(t,e.line);if(!n||n.hidden)return null;var r=Gt(t.doc,e.line),o=kn(n,r,e.line),i=ct(r,t.doc.direction),a="left";i&&(a=st(i,e.ch)%2?"right":"left");var s=Rn(o.map,e.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Va(t,e){return e&&(t.bad=!0),t}function qa(t,e,n){var r;if(e==t.display.lineDiv){if(!(r=t.display.lineDiv.childNodes[n]))return Va(t.clipPos(te(t.display.viewTo-1)),!0);e=null,n=0}else for(r=e;;r=r.parentNode){if(!r||r==t.display.lineDiv)return null;if(r.parentNode&&r.parentNode==t.display.lineDiv)break}for(var o=0;o=e.display.viewTo||i.line=e.display.viewFrom&&Ha(e,o)||{node:l[0].measure.map[2],offset:0},u=i.liner.firstLine()&&(a=te(a.line-1,Gt(r.doc,a.line-1).length)),s.ch==Gt(r.doc,s.line).text.length&&s.lineo.viewTo-1)return!1;a.line==o.viewFrom||0==(t=ur(r,a.line))?(e=Xt(o.view[0].line),n=o.view[0].node):(e=Xt(o.view[t].line),n=o.view[t-1].node.nextSibling);var l,c,u=ur(r,s.line);if(u==o.view.length-1?(l=o.viewTo-1,c=o.lineDiv.lastChild):(l=Xt(o.view[u+1].line)-1,c=o.view[u+1].node.previousSibling),!n)return!1;for(var p=r.doc.splitLines(function(t,e,n,r,o){var i="",a=!1,s=t.doc.lineSeparator(),l=!1;function c(){a&&(i+=s,l&&(i+=s),a=l=!1)}function u(t){t&&(c(),i+=t)}function p(e){if(1==e.nodeType){var n=e.getAttribute("cm-text");if(n)return void u(n);var i,d=e.getAttribute("cm-marker");if(d){var f=t.findMarks(te(r,0),te(o+1,0),(m=+d,function(t){return t.id==m}));return void(f.length&&(i=f[0].find(0))&&u(Yt(t.doc,i.from,i.to).join(s)))}if("false"==e.getAttribute("contenteditable"))return;var h=/^(pre|div|p|li|table|br)$/i.test(e.nodeName);if(!/^br$/i.test(e.nodeName)&&0==e.textContent.length)return;h&&c();for(var g=0;g1&&d.length>1;)if(K(p)==K(d))p.pop(),d.pop(),l--;else{if(p[0]!=d[0])break;p.shift(),d.shift(),e++}for(var f=0,h=0,g=p[0],m=d[0],v=Math.min(g.length,m.length);fa.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)f--,h++;p[p.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,""),p[0]=p[0].slice(f).replace(/\u200b+$/,"");var w=te(e,f),E=te(l,d.length?K(d).length-h:0);return p.length>1||p[0]||ee(w,E)?(gi(r.doc,p,w,E,"+input"),!0):void 0},Ua.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ua.prototype.reset=function(){this.forceCompositionEnd()},Ua.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ua.prototype.readFromDOMSoon=function(){var t=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(t.readDOMTimeout=null,t.composing){if(!t.composing.done)return;t.composing=null}t.updateFromDOM()}),80))},Ua.prototype.updateFromDOM=function(){var t=this;!this.cm.isReadOnly()&&this.pollContent()||Jr(this.cm,(function(){return pr(t.cm)}))},Ua.prototype.setUneditable=function(t){t.contentEditable="false"},Ua.prototype.onKeyPress=function(t){0==t.charCode||this.composing||(t.preventDefault(),this.cm.isReadOnly()||to(this.cm,Na)(this.cm,String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),0))},Ua.prototype.readOnlyChanged=function(t){this.div.contentEditable=String("nocursor"!=t)},Ua.prototype.onContextMenu=function(){},Ua.prototype.resetPosition=function(){},Ua.prototype.needsContentAttribute=!0;var Wa=function(t){this.cm=t,this.prevInput="",this.pollingFast=!1,this.polling=new F,this.hasSelection=!1,this.composing=null};Wa.prototype.init=function(t){var e=this,n=this,r=this.cm;this.createField(t);var o=this.textarea;function i(t){if(!gt(r,t)){if(r.somethingSelected())ja({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var e=Ia(r);ja({lineWise:!0,text:e.text}),"cut"==t.type?r.setSelections(e.ranges,null,V):(n.prevInput="",o.value=e.text.join("\n"),I(o))}"cut"==t.type&&(r.state.cutIncoming=+new Date)}}t.wrapper.insertBefore(this.wrapper,t.wrapper.firstChild),g&&(o.style.width="0px"),pt(o,"input",(function(){a&&s>=9&&e.hasSelection&&(e.hasSelection=null),n.poll()})),pt(o,"paste",(function(t){gt(r,t)||La(t,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pt(o,"cut",i),pt(o,"copy",i),pt(t.scroller,"paste",(function(e){if(!En(t,e)&&!gt(r,e)){if(!o.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var i=new Event("paste");i.clipboardData=e.clipboardData,o.dispatchEvent(i)}})),pt(t.lineSpace,"selectstart",(function(e){En(t,e)||bt(e)})),pt(o,"compositionstart",(function(){var t=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:t,range:r.markText(t,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pt(o,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Wa.prototype.createField=function(t){this.wrapper=Ma(),this.textarea=this.wrapper.firstChild},Wa.prototype.screenReaderLabelChanged=function(t){t?this.textarea.setAttribute("aria-label",t):this.textarea.removeAttribute("aria-label")},Wa.prototype.prepareSelection=function(){var t=this.cm,e=t.display,n=t.doc,r=vr(t);if(t.options.moveInputWithCursor){var o=Yn(t,n.sel.primary().head,"div"),i=e.wrapper.getBoundingClientRect(),a=e.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(e.wrapper.clientHeight-10,o.top+a.top-i.top)),r.teLeft=Math.max(0,Math.min(e.wrapper.clientWidth-10,o.left+a.left-i.left))}return r},Wa.prototype.showSelection=function(t){var e=this.cm.display;S(e.cursorDiv,t.cursors),S(e.selectionDiv,t.selection),null!=t.teTop&&(this.wrapper.style.top=t.teTop+"px",this.wrapper.style.left=t.teLeft+"px")},Wa.prototype.reset=function(t){if(!this.contextMenuPending&&!this.composing){var e=this.cm;if(e.somethingSelected()){this.prevInput="";var n=e.getSelection();this.textarea.value=n,e.state.focused&&I(this.textarea),a&&s>=9&&(this.hasSelection=n)}else t||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Wa.prototype.getField=function(){return this.textarea},Wa.prototype.supportsTouch=function(){return!1},Wa.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||N()!=this.textarea))try{this.textarea.focus()}catch(t){}},Wa.prototype.blur=function(){this.textarea.blur()},Wa.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Wa.prototype.receivedFocus=function(){this.slowPoll()},Wa.prototype.slowPoll=function(){var t=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){t.poll(),t.cm.state.focused&&t.slowPoll()}))},Wa.prototype.fastPoll=function(){var t=!1,e=this;e.pollingFast=!0,e.polling.set(20,(function n(){e.poll()||t?(e.pollingFast=!1,e.slowPoll()):(t=!0,e.polling.set(60,n))}))},Wa.prototype.poll=function(){var t=this,e=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!e.state.focused||Nt(n)&&!r&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var o=n.value;if(o==r&&!e.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===o||y&&/[\uf700-\uf7ff]/.test(o))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var i=o.charCodeAt(0);if(8203!=i||r||(r="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,o.length);l1e3||o.indexOf("\n")>-1?n.value=t.prevInput="":t.prevInput=o,t.composing&&(t.composing.range.clear(),t.composing.range=e.markText(t.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Wa.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Wa.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Wa.prototype.onContextMenu=function(t){var e=this,n=e.cm,r=n.display,o=e.textarea;e.contextMenuPending&&e.contextMenuPending();var i=cr(n,t),c=r.scroller.scrollTop;if(i&&!p){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(i)&&to(n,ti)(n.doc,Ao(i),V);var u,d=o.style.cssText,f=e.wrapper.style.cssText,h=e.wrapper.offsetParent.getBoundingClientRect();if(e.wrapper.style.cssText="position: static",o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(t.clientY-h.top-5)+"px; left: "+(t.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(o.value=e.prevInput=" "),e.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),x){Et(t);var g=function(){ft(window,"mouseup",g),setTimeout(v,20)};pt(window,"mouseup",g)}else setTimeout(v,50)}function m(){if(null!=o.selectionStart){var t=n.somethingSelected(),i="​"+(t?o.value:"");o.value="⇚",o.value=i,e.prevInput=t?"":"​",o.selectionStart=1,o.selectionEnd=i.length,r.selForContextMenu=n.doc.sel}}function v(){if(e.contextMenuPending==v&&(e.contextMenuPending=!1,e.wrapper.style.cssText=f,o.style.cssText=d,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=o.selectionStart)){(!a||a&&s<9)&&m();var t=0,i=function(){r.selForContextMenu==n.doc.sel&&0==o.selectionStart&&o.selectionEnd>0&&"​"==e.prevInput?to(n,li)(n):t++<10?r.detectingSelectAll=setTimeout(i,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(i,200)}}},Wa.prototype.readOnlyChanged=function(t){t||this.reset(),this.textarea.disabled="nocursor"==t,this.textarea.readOnly=!!t},Wa.prototype.setUneditable=function(){},Wa.prototype.needsContentAttribute=!1,function(t){var e=t.optionHandlers;function n(n,r,o,i){t.defaults[n]=r,o&&(e[n]=i?function(t,e,n){n!=Ea&&o(t,e,n)}:o)}t.defineOption=n,t.Init=Ea,n("value","",(function(t,e){return t.setValue(e)}),!0),n("mode",null,(function(t,e){t.doc.modeOption=e,jo(t)}),!0),n("indentUnit",2,jo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(t){No(t),Un(t),pr(t)}),!0),n("lineSeparator",null,(function(t,e){if(t.doc.lineSep=e,e){var n=[],r=t.doc.first;t.doc.iter((function(t){for(var o=0;;){var i=t.text.indexOf(e,o);if(-1==i)break;o=i+e.length,n.push(te(r,i))}r++}));for(var o=n.length-1;o>=0;o--)gi(t.doc,e,n[o],te(n[o].line,n[o].ch+e.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(t,e,n){t.state.specialChars=new RegExp(e.source+(e.test("\t")?"":"|\t"),"g"),n!=Ea&&t.refresh()})),n("specialCharPlaceholder",Qe,(function(t){return t.refresh()}),!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(t,e){return t.getInputField().spellcheck=e}),!0),n("autocorrect",!1,(function(t,e){return t.getInputField().autocorrect=e}),!0),n("autocapitalize",!1,(function(t,e){return t.getInputField().autocapitalize=e}),!0),n("rtlMoveVisually",!_),n("wholeLineUpdateBefore",!0),n("theme","default",(function(t){wa(t),mo(t)}),!0),n("keyMap","default",(function(t,e,n){var r=Xi(e),o=n!=Ea&&Xi(n);o&&o.detach&&o.detach(t,r),r.attach&&r.attach(t,o||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Aa,!0),n("gutters",[],(function(t,e){t.display.gutterSpecs=ho(e,t.options.lineNumbers),mo(t)}),!0),n("fixedGutter",!0,(function(t,e){t.display.gutters.style.left=e?ar(t.display)+"px":"0",t.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(t){return Hr(t)}),!0),n("scrollbarStyle","native",(function(t){zr(t),Hr(t),t.display.scrollbars.setScrollTop(t.doc.scrollTop),t.display.scrollbars.setScrollLeft(t.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(t,e){t.display.gutterSpecs=ho(t.options.gutters,e),mo(t)}),!0),n("firstLineNumber",1,mo,!0),n("lineNumberFormatter",(function(t){return t}),mo,!0),n("showCursorWhenSelecting",!1,mr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(t,e){"nocursor"==e&&(Tr(t),t.display.input.blur()),t.display.input.readOnlyChanged(e)})),n("screenReaderLabel",null,(function(t,e){e=""===e?null:e,t.display.input.screenReaderLabelChanged(e)})),n("disableInput",!1,(function(t,e){e||t.display.input.reset()}),!0),n("dragDrop",!0,Ta),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,mr,!0),n("singleCursorHeightPerLine",!0,mr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,No,!0),n("addModeClass",!1,No,!0),n("pollInterval",100),n("undoDepth",200,(function(t,e){return t.doc.history.undoDepth=e})),n("historyEventDelay",1250),n("viewportMargin",10,(function(t){return t.refresh()}),!0),n("maxHighlightLength",1e4,No,!0),n("moveInputWithCursor",!0,(function(t,e){e||t.display.input.resetPosition()})),n("tabindex",null,(function(t,e){return t.display.input.getField().tabIndex=e||""})),n("autofocus",null),n("direction","ltr",(function(t,e){return t.doc.setDirection(e)}),!0),n("phrases",null)}(Oa),function(t){var e=t.optionHandlers,n=t.helpers={};t.prototype={constructor:t,focus:function(){window.focus(),this.display.input.focus()},setOption:function(t,n){var r=this.options,o=r[t];r[t]==n&&"mode"!=t||(r[t]=n,e.hasOwnProperty(t)&&to(this,e[t])(this,n,o),ht(this,"optionChange",this,t))},getOption:function(t){return this.options[t]},getDoc:function(){return this.doc},addKeyMap:function(t,e){this.state.keyMaps[e?"push":"unshift"](Xi(t))},removeKeyMap:function(t){for(var e=this.state.keyMaps,n=0;nn&&(ka(this,o.head.line,t,!0),n=o.head.line,r==this.doc.sel.primIndex&&jr(this));else{var i=o.from(),a=o.to(),s=Math.max(n,i.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&Zo(this.doc,r,new Co(i,c[r].to()),V)}}})),getTokenAt:function(t,e){return ye(this,t,e)},getLineTokens:function(t,e){return ye(this,te(t),e,!0)},getTokenTypeAt:function(t){t=se(this.doc,t);var e,n=de(this,Gt(this.doc,t.line)),r=0,o=(n.length-1)/2,i=t.ch;if(0==i)e=n[2];else for(;;){var a=r+o>>1;if((a?n[2*a-1]:0)>=i)o=a;else{if(!(n[2*a+1]i&&(t=i,o=!0),r=Gt(this.doc,t)}else r=t;return zn(this,r,{top:0,left:0},e||"page",n||o).top+(o?this.doc.height-qe(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return or(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(t,e,n,r,o){var i,a,s,l=this.display,c=(t=Yn(this,se(this.doc,t))).bottom,u=t.left;if(e.style.position="absolute",e.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(e),l.sizer.appendChild(e),"over"==r)c=t.top;else if("above"==r||"near"==r){var p=Math.max(l.wrapper.clientHeight,this.doc.height),d=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==r||t.bottom+e.offsetHeight>p)&&t.top>e.offsetHeight?c=t.top-e.offsetHeight:t.bottom+e.offsetHeight<=p&&(c=t.bottom),u+e.offsetWidth>d&&(u=d-e.offsetWidth)}e.style.top=c+"px",e.style.left=e.style.right="","right"==o?(u=l.sizer.clientWidth-e.offsetWidth,e.style.right="0px"):("left"==o?u=0:"middle"==o&&(u=(l.sizer.clientWidth-e.offsetWidth)/2),e.style.left=u+"px"),n&&(i=this,a={left:u,top:c,right:u+e.offsetWidth,bottom:c+e.offsetHeight},null!=(s=kr(i,a)).scrollTop&&Ir(i,s.scrollTop),null!=s.scrollLeft&&Mr(i,s.scrollLeft))},triggerOnKeyDown:eo(ua),triggerOnKeyPress:eo(da),triggerOnKeyUp:pa,triggerOnMouseDown:eo(ma),execCommand:function(t){if(ea.hasOwnProperty(t))return ea[t].call(null,this)},triggerElectric:eo((function(t){Da(this,t)})),findPosH:function(t,e,n,r){var o=1;e<0&&(o=-1,e=-e);for(var i=se(this.doc,t),a=0;a0&&a(e.charAt(n-1));)--n;for(;r.5||this.options.lineWrapping)&&lr(this),ht(this,"refresh",this)})),swapDoc:eo((function(t){var e=this.doc;return e.cm=null,this.state.selectingText&&this.state.selectingText(),Ro(this,t),Un(this),this.display.input.reset(),Nr(this,t.scrollLeft,t.scrollTop),this.curOp.forceScroll=!0,ln(this,"swapDoc",this,e),e})),phrase:function(t){var e=this.options.phrases;return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:t},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},yt(t),t.registerHelper=function(e,r,o){n.hasOwnProperty(e)||(n[e]=t[e]={_global:[]}),n[e][r]=o},t.registerGlobalHelper=function(e,r,o,i){t.registerHelper(e,r,i),n[e]._global.push({pred:o,val:i})}}(Oa);var Ga="iter insert remove copy getEditor constructor".split(" ");for(var Ya in ji.prototype)ji.prototype.hasOwnProperty(Ya)&&U(Ga,Ya)<0&&(Oa.prototype[Ya]=function(t){return function(){return t.apply(this.doc,arguments)}}(ji.prototype[Ya]));return yt(ji),Oa.inputStyles={textarea:Wa,contenteditable:Ua},Oa.defineMode=function(t){Oa.defaults.mode||"null"==t||(Oa.defaults.mode=t),Mt.apply(this,arguments)},Oa.defineMIME=function(t,e){Rt[t]=e},Oa.defineMode("null",(function(){return{token:function(t){return t.skipToEnd()}}})),Oa.defineMIME("text/plain","null"),Oa.defineExtension=function(t,e){Oa.prototype[t]=e},Oa.defineDocExtension=function(t,e){ji.prototype[t]=e},Oa.fromTextArea=function(t,e){if((e=e?M(e):{}).value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var n=N();e.autofocus=n==t||null!=t.getAttribute("autofocus")&&n==document.body}function r(){t.value=s.getValue()}var o;if(t.form&&(pt(t.form,"submit",r),!e.leaveSubmitMethodAlone)){var i=t.form;o=i.submit;try{var a=i.submit=function(){r(),i.submit=o,i.submit(),i.submit=a}}catch(t){}}e.finishInit=function(n){n.save=r,n.getTextArea=function(){return t},n.toTextArea=function(){n.toTextArea=isNaN,r(),t.parentNode.removeChild(n.getWrapperElement()),t.style.display="",t.form&&(ft(t.form,"submit",r),e.leaveSubmitMethodAlone||"function"!=typeof t.form.submit||(t.form.submit=o))}},t.style.display="none";var s=Oa((function(e){return t.parentNode.insertBefore(e,t.nextSibling)}),e);return s},function(t){t.off=ft,t.on=pt,t.wheelEventPixels=wo,t.Doc=ji,t.splitLines=jt,t.countColumn=B,t.findColumn=W,t.isWordChar=J,t.Pass=H,t.signal=ht,t.Line=Ge,t.changeEnd=Oo,t.scrollbarModel=qr,t.Pos=te,t.cmpPos=ee,t.modes=It,t.mimeModes=Rt,t.resolveMode=Bt,t.getMode=Ft,t.modeExtensions=Ut,t.extendMode=Ht,t.copyState=Vt,t.startState=zt,t.innerMode=qt,t.commands=ea,t.keyMap=qi,t.keyName=$i,t.isModifierKey=Yi,t.lookupKey=Gi,t.normalizeKeyMap=Wi,t.StringStream=Wt,t.SharedTextMarker=Oi,t.TextMarker=Ti,t.LineWidget=Ei,t.e_preventDefault=bt,t.e_stopPropagation=_t,t.e_stop=Et,t.addClass=L,t.contains=j,t.rmClass=A,t.keyNames=Fi}(Oa),Oa.version="5.63.0",Oa}()},7389:(t,e,n)=>{!function(t){function e(t){for(var e={},n=0;n*\/]/.test(n)?E(null,"select-op"):"."==n&&t.match(/^-?[_a-z][_a-z0-9-]*/i)?E("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?E(null,n):t.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(t.current())&&(e.tokenize=T),E("variable callee","variable")):/[\w\\\-]/.test(n)?(t.eatWhile(/[\w\\\-]/),E("property","word")):E(null,null):/[\d.]/.test(t.peek())?(t.eatWhile(/[\w.%]/),E("number","unit")):t.match(/^-[\w\\\-]*/)?(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?E("variable-2","variable-definition"):E("variable-2","variable")):t.match(/^\w+-/)?E("meta","meta"):void 0}function C(t){return function(e,n){for(var r,o=!1;null!=(r=e.next());){if(r==t&&!o){")"==t&&e.backUp(1);break}o=!o&&"\\"==r}return(r==t||!o&&")"!=t)&&(n.tokenize=null),E("string","string")}}function T(t,e){return t.next(),t.match(/^\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=C(")"),E(null,"(")}function A(t,e,n){this.type=t,this.indent=e,this.prev=n}function O(t,e,n,r){return t.context=new A(n,e.indentation()+(!1===r?0:a),t.context),n}function S(t){return t.context.prev&&(t.context=t.context.prev),t.context.type}function k(t,e,n){return N[n.context.type](t,e,n)}function P(t,e,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return k(t,e,n)}function j(t){var e=t.current().toLowerCase();i=v.hasOwnProperty(e)?"atom":m.hasOwnProperty(e)?"keyword":"variable"}var N={top:function(t,e,n){if("{"==t)return O(n,e,"block");if("}"==t&&n.context.prev)return S(n);if(_&&/@component/i.test(t))return O(n,e,"atComponentBlock");if(/^@(-moz-)?document$/i.test(t))return O(n,e,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(t))return O(n,e,"atBlock");if(/^@(font-face|counter-style)/i.test(t))return n.stateArg=t,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(t))return"keyframes";if(t&&"@"==t.charAt(0))return O(n,e,"at");if("hash"==t)i="builtin";else if("word"==t)i="tag";else{if("variable-definition"==t)return"maybeprop";if("interpolation"==t)return O(n,e,"interpolation");if(":"==t)return"pseudo";if(y&&"("==t)return O(n,e,"parens")}return n.context.type},block:function(t,e,n){if("word"==t){var r=e.current().toLowerCase();return d.hasOwnProperty(r)?(i="property","maybeprop"):f.hasOwnProperty(r)?(i=w?"string-2":"property","maybeprop"):y?(i=e.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(i+=" error","maybeprop")}return"meta"==t?"block":y||"hash"!=t&&"qualifier"!=t?N.top(t,e,n):(i="error","block")},maybeprop:function(t,e,n){return":"==t?O(n,e,"prop"):k(t,e,n)},prop:function(t,e,n){if(";"==t)return S(n);if("{"==t&&y)return O(n,e,"propBlock");if("}"==t||"{"==t)return P(t,e,n);if("("==t)return O(n,e,"parens");if("hash"!=t||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(e.current())){if("word"==t)j(e);else if("interpolation"==t)return O(n,e,"interpolation")}else i+=" error";return"prop"},propBlock:function(t,e,n){return"}"==t?S(n):"word"==t?(i="property","maybeprop"):n.context.type},parens:function(t,e,n){return"{"==t||"}"==t?P(t,e,n):")"==t?S(n):"("==t?O(n,e,"parens"):"interpolation"==t?O(n,e,"interpolation"):("word"==t&&j(e),"parens")},pseudo:function(t,e,n){return"meta"==t?"pseudo":"word"==t?(i="variable-3",n.context.type):k(t,e,n)},documentTypes:function(t,e,n){return"word"==t&&l.hasOwnProperty(e.current())?(i="tag",n.context.type):N.atBlock(t,e,n)},atBlock:function(t,e,n){if("("==t)return O(n,e,"atBlock_parens");if("}"==t||";"==t)return P(t,e,n);if("{"==t)return S(n)&&O(n,e,y?"block":"top");if("interpolation"==t)return O(n,e,"interpolation");if("word"==t){var r=e.current().toLowerCase();i="only"==r||"not"==r||"and"==r||"or"==r?"keyword":c.hasOwnProperty(r)?"attribute":u.hasOwnProperty(r)?"property":p.hasOwnProperty(r)?"keyword":d.hasOwnProperty(r)?"property":f.hasOwnProperty(r)?w?"string-2":"property":v.hasOwnProperty(r)?"atom":m.hasOwnProperty(r)?"keyword":"error"}return n.context.type},atComponentBlock:function(t,e,n){return"}"==t?P(t,e,n):"{"==t?S(n)&&O(n,e,y?"block":"top",!1):("word"==t&&(i="error"),n.context.type)},atBlock_parens:function(t,e,n){return")"==t?S(n):"{"==t||"}"==t?P(t,e,n,2):N.atBlock(t,e,n)},restricted_atBlock_before:function(t,e,n){return"{"==t?O(n,e,"restricted_atBlock"):"word"==t&&"@counter-style"==n.stateArg?(i="variable","restricted_atBlock_before"):k(t,e,n)},restricted_atBlock:function(t,e,n){return"}"==t?(n.stateArg=null,S(n)):"word"==t?(i="@font-face"==n.stateArg&&!h.hasOwnProperty(e.current().toLowerCase())||"@counter-style"==n.stateArg&&!g.hasOwnProperty(e.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(t,e,n){return"word"==t?(i="variable","keyframes"):"{"==t?O(n,e,"top"):k(t,e,n)},at:function(t,e,n){return";"==t?S(n):"{"==t||"}"==t?P(t,e,n):("word"==t?i="tag":"hash"==t&&(i="builtin"),"at")},interpolation:function(t,e,n){return"}"==t?S(n):"{"==t||";"==t?P(t,e,n):("word"==t?i="variable":"variable"!=t&&"("!=t&&")"!=t&&(i="error"),"interpolation")}};return{startState:function(t){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new A(r?"block":"top",t||0,null)}},token:function(t,e){if(!e.tokenize&&t.eatSpace())return null;var n=(e.tokenize||x)(t,e);return n&&"object"==typeof n&&(o=n[1],n=n[0]),i=n,"comment"!=o&&(e.state=N[e.state](o,t,e)),i},indent:function(t,e){var n=t.context,r=e&&e.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=Math.max(0,n.indent-a)):o=(n=n.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}}));var n=["domain","regexp","url","url-prefix"],r=e(n),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=e(o),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme"],s=e(a),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light"],c=e(l),u=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=e(u),d=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],f=e(d),h=e(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),g=e(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),m=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],v=e(m),y=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=e(y),_=n.concat(o).concat(a).concat(l).concat(u).concat(d).concat(m).concat(y);function w(t,e){for(var n,r=!1;null!=(n=t.next());){if(r&&"/"==n){e.tokenize=null;break}r="*"==n}return["comment","comment"]}t.registerHelper("hintWords","css",_),t.defineMIME("text/css",{documentTypes:r,mediaTypes:i,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:p,nonStandardPropertyKeywords:f,fontProperties:h,counterDescriptors:g,colorKeywords:v,valueKeywords:b,tokenHooks:{"/":function(t,e){return!!t.eat("*")&&(e.tokenize=w,w(t,e))}},name:"css"}),t.defineMIME("text/x-scss",{mediaTypes:i,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:p,nonStandardPropertyKeywords:f,colorKeywords:v,valueKeywords:b,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=w,w(t,e)):["operator","operator"]},":":function(t){return!!t.match(/^\s*\{/,!1)&&[null,null]},$:function(t){return t.match(/^[\w-]+/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(t){return!!t.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),t.defineMIME("text/x-less",{mediaTypes:i,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:p,nonStandardPropertyKeywords:f,colorKeywords:v,valueKeywords:b,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(t,e){return t.eat("/")?(t.skipToEnd(),["comment","comment"]):t.eat("*")?(e.tokenize=w,w(t,e)):["operator","operator"]},"@":function(t){return t.eat("{")?[null,"interpolation"]:!t.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(t.eatWhile(/[\w\\\-]/),t.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),t.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:i,mediaFeatures:s,propertyKeywords:p,nonStandardPropertyKeywords:f,fontProperties:h,counterDescriptors:g,colorKeywords:v,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(t,e){return!!t.eat("*")&&(e.tokenize=w,w(t,e))}},name:"css",helperType:"gss"})}(n(4408))},8253:(t,e,n)=>{!function(t){var e={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};var n={};function r(t,e){var r=t.match(function(t){return n[t]||(n[t]=new RegExp("\\s+"+t+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(e));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function o(t,e){return new RegExp((e?"^":"")+"","i")}function i(t,e){for(var n in t)for(var r=e[n]||(e[n]=[]),o=t[n],i=o.length-1;i>=0;i--)r.unshift(o[i])}t.defineMode("htmlmixed",(function(n,a){var s=t.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:a.multilineTagIndentFactor,multilineTagIndentPastTag:a.multilineTagIndentPastTag,allowMissingTagName:a.allowMissingTagName}),l={},c=a&&a.tags,u=a&&a.scriptTypes;if(i(e,l),c&&i(c,l),u)for(var p=u.length-1;p>=0;p--)l.script.unshift(["type",u[p].matches,u[p].mode]);function d(e,i){var a,c=s.token(e,i.htmlState),u=/\btag\b/.test(c);if(u&&!/[<>\s\/]/.test(e.current())&&(a=i.htmlState.tagName&&i.htmlState.tagName.toLowerCase())&&l.hasOwnProperty(a))i.inTag=a+" ";else if(i.inTag&&u&&/>$/.test(e.current())){var p=/^([\S]+) (.*)/.exec(i.inTag);i.inTag=null;var f=">"==e.current()&&function(t,e){for(var n=0;n-1?t.backUp(r.length-o):r.match(/<\/?$/)&&(t.backUp(r.length),t.match(e,!1)||t.match(r)),n}(t,m,e.localMode.token(t,e.localState))},i.localMode=h,i.localState=t.startState(h,s.indent(i.htmlState,"",""))}else i.inTag&&(i.inTag+=e.current(),e.eol()&&(i.inTag+=" "));return c}return{startState:function(){return{token:d,inTag:null,localMode:null,localState:null,htmlState:t.startState(s)}},copyState:function(e){var n;return e.localState&&(n=t.copyState(e.localMode,e.localState)),{token:e.token,inTag:e.inTag,localMode:e.localMode,localState:n,htmlState:t.copyState(s,e.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(e,n,r){return!e.localMode||/^\s*<\//.test(n)?s.indent(e.htmlState,n,r):e.localMode.indent?e.localMode.indent(e.localState,n,r):t.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||s}}}}),"xml","javascript","css"),t.defineMIME("text/html","htmlmixed")}(n(4408),n(9701),n(6061),n(7389))},6061:(t,e,n)=>{!function(t){t.defineMode("javascript",(function(e,n){var r,o,i=e.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=!1!==n.trackScope,u=n.typescript,p=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function t(t){return{type:t,style:"keyword"}}var e=t("keyword a"),n=t("keyword b"),r=t("keyword c"),o=t("keyword d"),i=t("operator"),a={type:"atom",style:"atom"};return{if:t("if"),while:e,with:e,else:n,do:n,try:n,finally:n,return:o,break:o,continue:o,new:t("new"),delete:r,void:r,throw:r,debugger:t("debugger"),var:t("var"),const:t("var"),let:t("var"),function:t("function"),catch:t("catch"),for:t("for"),switch:t("switch"),case:t("case"),default:t("default"),in:i,typeof:i,instanceof:i,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:t("this"),class:t("class"),super:t("atom"),yield:r,export:t("export"),import:t("import"),extends:r,await:r}}(),f=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(t,e,n){return r=t,o=n,e}function m(t,e){var n,r=t.next();if('"'==r||"'"==r)return e.tokenize=(n=r,function(t,e){var r,o=!1;if(s&&"@"==t.peek()&&t.match(h))return e.tokenize=m,g("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=n||o);)o=!o&&"\\"==r;return o||(e.tokenize=m),g("string","string")}),e.tokenize(t,e);if("."==r&&t.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return g("number","number");if("."==r&&t.match(".."))return g("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return g(r);if("="==r&&t.eat(">"))return g("=>","operator");if("0"==r&&t.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return g("number","number");if(/\d/.test(r))return t.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),g("number","number");if("/"==r)return t.eat("*")?(e.tokenize=v,v(t,e)):t.eat("/")?(t.skipToEnd(),g("comment","comment")):Jt(t,e,1)?(function(t){for(var e,n=!1,r=!1;null!=(e=t.next());){if(!n){if("/"==e&&!r)return;"["==e?r=!0:r&&"]"==e&&(r=!1)}n=!n&&"\\"==e}}(t),t.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),g("regexp","string-2")):(t.eat("="),g("operator","operator",t.current()));if("`"==r)return e.tokenize=y,y(t,e);if("#"==r&&"!"==t.peek())return t.skipToEnd(),g("meta","meta");if("#"==r&&t.eatWhile(p))return g("variable","property");if("<"==r&&t.match("!--")||"-"==r&&t.match("->")&&!/\S/.test(t.string.slice(0,t.start)))return t.skipToEnd(),g("comment","comment");if(f.test(r))return">"==r&&e.lexical&&">"==e.lexical.type||(t.eat("=")?"!"!=r&&"="!=r||t.eat("="):/[<>*+\-|&?]/.test(r)&&(t.eat(r),">"==r&&t.eat(r))),"?"==r&&t.eat(".")?g("."):g("operator","operator",t.current());if(p.test(r)){t.eatWhile(p);var o=t.current();if("."!=e.lastType){if(d.propertyIsEnumerable(o)){var i=d[o];return g(i.type,i.style,o)}if("async"==o&&t.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return g("async","keyword",o)}return g("variable","variable",o)}}function v(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize=m;break}r="*"==n}return g("comment","comment")}function y(t,e){for(var n,r=!1;null!=(n=t.next());){if(!r&&("`"==n||"$"==n&&t.eat("{"))){e.tokenize=m;break}r=!r&&"\\"==n}return g("quasi","string-2",t.current())}function b(t,e){e.fatArrowAt&&(e.fatArrowAt=null);var n=t.string.indexOf("=>",t.start);if(!(n<0)){if(u){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(t.string.slice(t.start,n));r&&(n=r.index)}for(var o=0,i=!1,a=n-1;a>=0;--a){var s=t.string.charAt(a),l="([{}])".indexOf(s);if(l>=0&&l<3){if(!o){++a;break}if(0==--o){"("==s&&(i=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))i=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(t.string.charAt(a-1)==s&&"\\"!=t.string.charAt(a-2)){a--;break}}else if(i&&!o){++a;break}}i&&!o&&(e.fatArrowAt=a)}}var _={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function w(t,e,n,r,o,i){this.indented=t,this.column=e,this.type=n,this.prev=o,this.info=i,null!=r&&(this.align=r)}function E(t,e){if(!c)return!1;for(var n=t.localVars;n;n=n.next)if(n.name==e)return!0;for(var r=t.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==e)return!0}function x(t,e,n,r,o){var i=t.cc;for(C.state=t,C.stream=o,C.marked=null,C.cc=i,C.style=e,t.lexical.hasOwnProperty("align")||(t.lexical.align=!0);;)if((i.length?i.pop():l?V:U)(n,r)){for(;i.length&&i[i.length-1].lex;)i.pop()();return C.marked?C.marked:"variable"==n&&E(t,r)?"variable-2":e}}var C={state:null,column:null,marked:null,cc:null};function T(){for(var t=arguments.length-1;t>=0;t--)C.cc.push(arguments[t])}function A(){return T.apply(null,arguments),!0}function O(t,e){for(var n=e;n;n=n.next)if(n.name==t)return!0;return!1}function S(t){var e=C.state;if(C.marked="def",c){if(e.context)if("var"==e.lexical.info&&e.context&&e.context.block){var r=k(t,e.context);if(null!=r)return void(e.context=r)}else if(!O(t,e.localVars))return void(e.localVars=new N(t,e.localVars));n.globalVars&&!O(t,e.globalVars)&&(e.globalVars=new N(t,e.globalVars))}}function k(t,e){if(e){if(e.block){var n=k(t,e.prev);return n?n==e.prev?e:new j(n,e.vars,!0):null}return O(t,e.vars)?e:new j(e.prev,new N(t,e.vars),!1)}return null}function P(t){return"public"==t||"private"==t||"protected"==t||"abstract"==t||"readonly"==t}function j(t,e,n){this.prev=t,this.vars=e,this.block=n}function N(t,e){this.name=t,this.next=e}var L=new N("this",new N("arguments",null));function D(){C.state.context=new j(C.state.context,C.state.localVars,!1),C.state.localVars=L}function I(){C.state.context=new j(C.state.context,C.state.localVars,!0),C.state.localVars=null}function R(){C.state.localVars=C.state.context.vars,C.state.context=C.state.context.prev}function M(t,e){var n=function(){var n=C.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new w(r,C.stream.column(),t,null,n.lexical,e)};return n.lex=!0,n}function B(){var t=C.state;t.lexical.prev&&(")"==t.lexical.type&&(t.indented=t.lexical.indented),t.lexical=t.lexical.prev)}function F(t){return function e(n){return n==t?A():";"==t||"}"==n||")"==n||"]"==n?T():A(e)}}function U(t,e){return"var"==t?A(M("vardef",e),Ct,F(";"),B):"keyword a"==t?A(M("form"),z,U,B):"keyword b"==t?A(M("form"),U,B):"keyword d"==t?C.stream.match(/^\s*$/,!1)?A():A(M("stat"),G,F(";"),B):"debugger"==t?A(F(";")):"{"==t?A(M("}"),I,lt,B,R):";"==t?A():"if"==t?("else"==C.state.lexical.info&&C.state.cc[C.state.cc.length-1]==B&&C.state.cc.pop()(),A(M("form"),z,U,B,Pt)):"function"==t?A(Dt):"for"==t?A(M("form"),I,jt,U,R,B):"class"==t||u&&"interface"==e?(C.marked="keyword",A(M("form","class"==t?t:e),Ft,B)):"variable"==t?u&&"declare"==e?(C.marked="keyword",A(U)):u&&("module"==e||"enum"==e||"type"==e)&&C.stream.match(/^\s*\w/,!1)?(C.marked="keyword","enum"==e?A(Zt):"type"==e?A(Rt,F("operator"),ft,F(";")):A(M("form"),Tt,F("{"),M("}"),lt,B,B)):u&&"namespace"==e?(C.marked="keyword",A(M("form"),V,U,B)):u&&"abstract"==e?(C.marked="keyword",A(U)):A(M("stat"),et):"switch"==t?A(M("form"),z,F("{"),M("}","switch"),I,lt,B,B,R):"case"==t?A(V,F(":")):"default"==t?A(F(":")):"catch"==t?A(M("form"),D,H,U,B,R):"export"==t?A(M("stat"),qt,B):"import"==t?A(M("stat"),Wt,B):"async"==t?A(U):"@"==e?A(V,U):T(M("stat"),V,F(";"),B)}function H(t){if("("==t)return A(Mt,F(")"))}function V(t,e){return W(t,e,!1)}function q(t,e){return W(t,e,!0)}function z(t){return"("!=t?T():A(M(")"),G,F(")"),B)}function W(t,e,n){if(C.state.fatArrowAt==C.stream.start){var r=n?Q:Z;if("("==t)return A(D,M(")"),at(Mt,")"),B,F("=>"),r,R);if("variable"==t)return T(D,Tt,F("=>"),r,R)}var o=n?K:Y;return _.hasOwnProperty(t)?A(o):"function"==t?A(Dt,o):"class"==t||u&&"interface"==e?(C.marked="keyword",A(M("form"),Bt,B)):"keyword c"==t||"async"==t?A(n?q:V):"("==t?A(M(")"),G,F(")"),B,o):"operator"==t||"spread"==t?A(n?q:V):"["==t?A(M("]"),Xt,B,o):"{"==t?st(rt,"}",null,o):"quasi"==t?T($,o):"new"==t?A(function(t){return function(e){return"."==e?A(t?tt:J):"variable"==e&&u?A(wt,t?K:Y):T(t?q:V)}}(n)):A()}function G(t){return t.match(/[;\}\)\],]/)?T():T(V)}function Y(t,e){return","==t?A(G):K(t,e,!1)}function K(t,e,n){var r=0==n?Y:K,o=0==n?V:q;return"=>"==t?A(D,n?Q:Z,R):"operator"==t?/\+\+|--/.test(e)||u&&"!"==e?A(r):u&&"<"==e&&C.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?A(M(">"),at(ft,">"),B,r):"?"==e?A(V,F(":"),o):A(o):"quasi"==t?T($,r):";"!=t?"("==t?st(q,")","call",r):"."==t?A(nt,r):"["==t?A(M("]"),G,F("]"),B,r):u&&"as"==e?(C.marked="keyword",A(ft,r)):"regexp"==t?(C.state.lastType=C.marked="operator",C.stream.backUp(C.stream.pos-C.stream.start-1),A(o)):void 0:void 0}function $(t,e){return"quasi"!=t?T():"${"!=e.slice(e.length-2)?A($):A(G,X)}function X(t){if("}"==t)return C.marked="string-2",C.state.tokenize=y,A($)}function Z(t){return b(C.stream,C.state),T("{"==t?U:V)}function Q(t){return b(C.stream,C.state),T("{"==t?U:q)}function J(t,e){if("target"==e)return C.marked="keyword",A(Y)}function tt(t,e){if("target"==e)return C.marked="keyword",A(K)}function et(t){return":"==t?A(B,U):T(Y,F(";"),B)}function nt(t){if("variable"==t)return C.marked="property",A()}function rt(t,e){return"async"==t?(C.marked="property",A(rt)):"variable"==t||"keyword"==C.style?(C.marked="property","get"==e||"set"==e?A(ot):(u&&C.state.fatArrowAt==C.stream.start&&(n=C.stream.match(/^\s*:\s*/,!1))&&(C.state.fatArrowAt=C.stream.pos+n[0].length),A(it))):"number"==t||"string"==t?(C.marked=s?"property":C.style+" property",A(it)):"jsonld-keyword"==t?A(it):u&&P(e)?(C.marked="keyword",A(rt)):"["==t?A(V,ct,F("]"),it):"spread"==t?A(q,it):"*"==e?(C.marked="keyword",A(rt)):":"==t?T(it):void 0;var n}function ot(t){return"variable"!=t?T(it):(C.marked="property",A(Dt))}function it(t){return":"==t?A(q):"("==t?T(Dt):void 0}function at(t,e,n){function r(o,i){if(n?n.indexOf(o)>-1:","==o){var a=C.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),A((function(n,r){return n==e||r==e?T():T(t)}),r)}return o==e||i==e?A():n&&n.indexOf(";")>-1?T(t):A(F(e))}return function(n,o){return n==e||o==e?A():T(t,r)}}function st(t,e,n){for(var r=3;r"),ft):"quasi"==t?T(vt,_t):void 0}function ht(t){if("=>"==t)return A(ft)}function gt(t){return t.match(/[\}\)\]]/)?A():","==t||";"==t?A(gt):T(mt,gt)}function mt(t,e){return"variable"==t||"keyword"==C.style?(C.marked="property",A(mt)):"?"==e||"number"==t||"string"==t?A(mt):":"==t?A(ft):"["==t?A(F("variable"),ut,F("]"),mt):"("==t?T(It,mt):t.match(/[;\}\)\],]/)?void 0:A()}function vt(t,e){return"quasi"!=t?T():"${"!=e.slice(e.length-2)?A(vt):A(ft,yt)}function yt(t){if("}"==t)return C.marked="string-2",C.state.tokenize=y,A(vt)}function bt(t,e){return"variable"==t&&C.stream.match(/^\s*[?:]/,!1)||"?"==e?A(bt):":"==t?A(ft):"spread"==t?A(bt):T(ft)}function _t(t,e){return"<"==e?A(M(">"),at(ft,">"),B,_t):"|"==e||"."==t||"&"==e?A(ft):"["==t?A(ft,F("]"),_t):"extends"==e||"implements"==e?(C.marked="keyword",A(ft)):"?"==e?A(ft,F(":"),ft):void 0}function wt(t,e){if("<"==e)return A(M(">"),at(ft,">"),B,_t)}function Et(){return T(ft,xt)}function xt(t,e){if("="==e)return A(ft)}function Ct(t,e){return"enum"==e?(C.marked="keyword",A(Zt)):T(Tt,ct,St,kt)}function Tt(t,e){return u&&P(e)?(C.marked="keyword",A(Tt)):"variable"==t?(S(e),A()):"spread"==t?A(Tt):"["==t?st(Ot,"]"):"{"==t?st(At,"}"):void 0}function At(t,e){return"variable"!=t||C.stream.match(/^\s*:/,!1)?("variable"==t&&(C.marked="property"),"spread"==t?A(Tt):"}"==t?T():"["==t?A(V,F("]"),F(":"),At):A(F(":"),Tt,St)):(S(e),A(St))}function Ot(){return T(Tt,St)}function St(t,e){if("="==e)return A(q)}function kt(t){if(","==t)return A(Ct)}function Pt(t,e){if("keyword b"==t&&"else"==e)return A(M("form","else"),U,B)}function jt(t,e){return"await"==e?A(jt):"("==t?A(M(")"),Nt,B):void 0}function Nt(t){return"var"==t?A(Ct,Lt):"variable"==t?A(Lt):T(Lt)}function Lt(t,e){return")"==t?A():";"==t?A(Lt):"in"==e||"of"==e?(C.marked="keyword",A(V,Lt)):T(V,Lt)}function Dt(t,e){return"*"==e?(C.marked="keyword",A(Dt)):"variable"==t?(S(e),A(Dt)):"("==t?A(D,M(")"),at(Mt,")"),B,pt,U,R):u&&"<"==e?A(M(">"),at(Et,">"),B,Dt):void 0}function It(t,e){return"*"==e?(C.marked="keyword",A(It)):"variable"==t?(S(e),A(It)):"("==t?A(D,M(")"),at(Mt,")"),B,pt,R):u&&"<"==e?A(M(">"),at(Et,">"),B,It):void 0}function Rt(t,e){return"keyword"==t||"variable"==t?(C.marked="type",A(Rt)):"<"==e?A(M(">"),at(Et,">"),B):void 0}function Mt(t,e){return"@"==e&&A(V,Mt),"spread"==t?A(Mt):u&&P(e)?(C.marked="keyword",A(Mt)):u&&"this"==t?A(ct,St):T(Tt,ct,St)}function Bt(t,e){return"variable"==t?Ft(t,e):Ut(t,e)}function Ft(t,e){if("variable"==t)return S(e),A(Ut)}function Ut(t,e){return"<"==e?A(M(">"),at(Et,">"),B,Ut):"extends"==e||"implements"==e||u&&","==t?("implements"==e&&(C.marked="keyword"),A(u?ft:V,Ut)):"{"==t?A(M("}"),Ht,B):void 0}function Ht(t,e){return"async"==t||"variable"==t&&("static"==e||"get"==e||"set"==e||u&&P(e))&&C.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(C.marked="keyword",A(Ht)):"variable"==t||"keyword"==C.style?(C.marked="property",A(Vt,Ht)):"number"==t||"string"==t?A(Vt,Ht):"["==t?A(V,ct,F("]"),Vt,Ht):"*"==e?(C.marked="keyword",A(Ht)):u&&"("==t?T(It,Ht):";"==t||","==t?A(Ht):"}"==t?A():"@"==e?A(V,Ht):void 0}function Vt(t,e){if("!"==e)return A(Vt);if("?"==e)return A(Vt);if(":"==t)return A(ft,St);if("="==e)return A(q);var n=C.state.lexical.prev;return T(n&&"interface"==n.info?It:Dt)}function qt(t,e){return"*"==e?(C.marked="keyword",A($t,F(";"))):"default"==e?(C.marked="keyword",A(V,F(";"))):"{"==t?A(at(zt,"}"),$t,F(";")):T(U)}function zt(t,e){return"as"==e?(C.marked="keyword",A(F("variable"))):"variable"==t?T(q,zt):void 0}function Wt(t){return"string"==t?A():"("==t?T(V):"."==t?T(Y):T(Gt,Yt,$t)}function Gt(t,e){return"{"==t?st(Gt,"}"):("variable"==t&&S(e),"*"==e&&(C.marked="keyword"),A(Kt))}function Yt(t){if(","==t)return A(Gt,Yt)}function Kt(t,e){if("as"==e)return C.marked="keyword",A(Gt)}function $t(t,e){if("from"==e)return C.marked="keyword",A(V)}function Xt(t){return"]"==t?A():T(at(q,"]"))}function Zt(){return T(M("form"),Tt,F("{"),M("}"),at(Qt,"}"),B,B)}function Qt(){return T(Tt,St)}function Jt(t,e,n){return e.tokenize==m&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||"quasi"==e.lastType&&/\{\s*$/.test(t.string.slice(0,t.pos-(n||0)))}return R.lex=!0,B.lex=!0,{startState:function(t){var e={tokenize:m,lastType:"sof",cc:[],lexical:new w((t||0)-i,0,"block",!1),localVars:n.localVars,context:n.localVars&&new j(null,null,!1),indented:t||0};return n.globalVars&&"object"==typeof n.globalVars&&(e.globalVars=n.globalVars),e},token:function(t,e){if(t.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=t.indentation(),b(t,e)),e.tokenize!=v&&t.eatSpace())return null;var n=e.tokenize(t,e);return"comment"==r?n:(e.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",x(e,n,r,o,t))},indent:function(e,r){if(e.tokenize==v||e.tokenize==y)return t.Pass;if(e.tokenize!=m)return 0;var o,s=r&&r.charAt(0),l=e.lexical;if(!/^\s*else\b/.test(r))for(var c=e.cc.length-1;c>=0;--c){var u=e.cc[c];if(u==B)l=l.prev;else if(u!=Pt&&u!=R)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=e.cc[e.cc.length-1])&&(o==Y||o==K)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var p=l.type,d=s==p;return"vardef"==p?l.indented+("operator"==e.lastType||","==e.lastType?l.info.length+1:0):"form"==p&&"{"==s?l.indented:"form"==p?l.indented+i:"stat"==p?l.indented+(function(t,e){return"operator"==t.lastType||","==t.lastType||f.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}(e,r)?a||i:0):"switch"!=l.info||d||0==n.doubleIndentSwitch?l.align?l.column+(d?0:1):l.indented+(d?0:i):l.indented+(/^(?:case|default)\b/.test(r)?i:2*i)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:Jt,skipExpression:function(e){x(e,"atom","atom","true",new t.StringStream("",2,null))}}})),t.registerHelper("wordChars","javascript",/[\w$]/),t.defineMIME("text/javascript","javascript"),t.defineMIME("text/ecmascript","javascript"),t.defineMIME("application/javascript","javascript"),t.defineMIME("application/x-javascript","javascript"),t.defineMIME("application/ecmascript","javascript"),t.defineMIME("application/json",{name:"javascript",json:!0}),t.defineMIME("application/x-json",{name:"javascript",json:!0}),t.defineMIME("application/manifest+json",{name:"javascript",json:!0}),t.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),t.defineMIME("text/typescript",{name:"javascript",typescript:!0}),t.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n(4408))},9701:(t,e,n)=>{!function(t){var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",(function(r,o){var i,a,s=r.indentUnit,l={},c=o.htmlMode?e:n;for(var u in c)l[u]=c[u];for(var u in o)l[u]=o[u];function p(t,e){function n(n){return e.tokenize=n,n(t,e)}var r=t.next();return"<"==r?t.eat("!")?t.eat("[")?t.match("CDATA[")?n(f("atom","]]>")):null:t.match("--")?n(f("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),n(h(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=f("meta","?>"),"meta"):(i=t.eat("/")?"closeTag":"openTag",e.tokenize=d,"tag bracket"):"&"==r?(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error":(t.eatWhile(/[^&<]/),null)}function d(t,e){var n,r,o=t.next();if(">"==o||"/"==o&&t.eat(">"))return e.tokenize=p,i=">"==o?"endTag":"selfcloseTag","tag bracket";if("="==o)return i="equals",null;if("<"==o){e.tokenize=p,e.state=b,e.tagName=e.tagStart=null;var a=e.tokenize(t,e);return a?a+" tag error":"tag error"}return/[\'\"]/.test(o)?(e.tokenize=(n=o,r=function(t,e){for(;!t.eol();)if(t.next()==n){e.tokenize=d;break}return"string"},r.isInAttribute=!0,r),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function f(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=p;break}n.next()}return t}}function h(t){return function(e,n){for(var r;null!=(r=e.next());){if("<"==r)return n.tokenize=h(t+1),n.tokenize(e,n);if(">"==r){if(1==t){n.tokenize=p;break}return n.tokenize=h(t-1),n.tokenize(e,n)}}return"meta"}}function g(t){return t&&t.toLowerCase()}function m(t,e,n){this.prev=t.context,this.tagName=e||"",this.indent=t.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function v(t){t.context&&(t.context=t.context.prev)}function y(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!l.contextGrabbers.hasOwnProperty(g(n))||!l.contextGrabbers[g(n)].hasOwnProperty(g(e)))return;v(t)}}function b(t,e,n){return"openTag"==t?(n.tagStart=e.column(),_):"closeTag"==t?w:b}function _(t,e,n){return"word"==t?(n.tagName=e.current(),a="tag",C):l.allowMissingTagName&&"endTag"==t?(a="tag bracket",C(t,0,n)):(a="error",_)}function w(t,e,n){if("word"==t){var r=e.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(g(n.context.tagName))&&v(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",E):(a="tag error",x)}return l.allowMissingTagName&&"endTag"==t?(a="tag bracket",E(t,0,n)):(a="error",x)}function E(t,e,n){return"endTag"!=t?(a="error",E):(v(n),b)}function x(t,e,n){return a="error",E(t,0,n)}function C(t,e,n){if("word"==t)return a="attribute",T;if("endTag"==t||"selfcloseTag"==t){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||l.autoSelfClosers.hasOwnProperty(g(r))?y(n,r):(y(n,r),n.context=new m(n,r,o==n.indented)),b}return a="error",C}function T(t,e,n){return"equals"==t?A:(l.allowMissing||(a="error"),C(t,0,n))}function A(t,e,n){return"string"==t?O:"word"==t&&l.allowUnquoted?(a="string",C):(a="error",C(t,0,n))}function O(t,e,n){return"string"==t?O:C(t,0,n)}return p.isInText=!0,{startState:function(t){var e={tokenize:p,state:b,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;i=null;var n=e.tokenize(t,e);return(n||i)&&"comment"!=n&&(a=null,e.state=e.state(i||n,t,e),a&&(n="error"==a?n+" error":a)),n},indent:function(e,n,r){var o=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+s;if(o&&o.noIndent)return t.Pass;if(e.tokenize!=d&&e.tokenize!=p)return r?r.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==l.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(t){t.state==A&&(t.state=C)},xmlCurrentTag:function(t){return t.tagName?{name:t.tagName,close:"closeTag"==t.type}:null},xmlCurrentContext:function(t){for(var e=[],n=t.context;n;n=n.prev)e.push(n.tagName);return e.reverse()}}})),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n(4408))},3023:(t,e,n)=>{n.d(e,{A:()=>a});var r,o=n(1749),i=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});const a=function(t){function e(e,n,r){var o=t.call(this,n,r)||this;return o._module=e,o}return i(e,t),Object.defineProperty(e.prototype,"module",{get:function(){return this._module},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return this._module.config},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"em",{get:function(){return this._module.em},enumerable:!1,configurable:!0}),e}(o.Kx)},2820:(t,e,n)=>{n.d(e,{A:()=>l,F:()=>o});var r,o,i=n(3023),a=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});!function(t){t.Select="select",t.Hover="hover",t.Spacing="spacing",t.Target="target",t.Resize="resize"}(o||(o={}));var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.defaults=function(){return{id:"",type:""}},Object.defineProperty(e.prototype,"type",{get:function(){return this.get("type")||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){var t;return this.get("component")||(null===(t=this.get("componentView"))||void 0===t?void 0:t.model)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"componentView",{get:function(){var t;return this.get("componentView")||(null===(t=this.get("component"))||void 0===t?void 0:t.getView())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"el",{get:function(){var t;return null===(t=this.componentView)||void 0===t?void 0:t.el},enumerable:!1,configurable:!0}),e.prototype.getBoxRect=function(t){var e=this.el,n=this.em.Canvas.getCanvasView();return this.get("boxRect")||(e&&n?n.getElBoxRect(e,t):{x:0,y:0,width:0,height:0})},e.prototype.getStyle=function(t){void 0===t&&(t={});var e=t.boxRect||this.getBoxRect(t),n=e.width,r=e.height,o=e.x,i=e.y;return{width:"".concat(n,"px"),height:"".concat(r,"px"),top:"0",left:"0",position:"absolute",translate:"".concat(o,"px ").concat(i,"px")}},e.prototype.isType=function(t){return this.type===t},e}(i.A);const l=s},8351:(t,e,n)=>{var r;n.d(e,{A:()=>o}),function(t){t.run="command:run",t._run="run",t.runCommand="command:run:",t._runCommand="run:",t.runBeforeCommand="command:run:before:",t.abort="command:abort:",t._abort="abort:",t.stop="command:stop",t._stop="stop",t.stopCommand="command:stop:",t._stopCommand="stop:",t.stopBeforeCommand="command:stop:before:"}(r||(r={}));const o=r},371:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});const r={run:function(t){t.Components.clear(),t.Css.clear()}}},6301:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});var r=n(5706),o=n(5633),i=n(2097);const a={run:function(t){(0,r.bindAll)(this,"onKeyUp","enableDragger","disableDragger"),this.editor=t,this.canvasModel=this.canvas.getCanvasView().model,this.toggleMove(1)},stop:function(t){this.toggleMove(),this.disableDragger()},onKeyUp:function(t){" "===(0,i.Ch)(t)&&this.editor.stopCommand(this.id)},enableDragger:function(t){this.toggleDragger(1,t)},disableDragger:function(t){this.toggleDragger(0,t)},toggleDragger:function(t,e){var n=this.canvasModel,r=this.em,i=this.dragger,a=t?"add":"remove";this.getCanvas().classList[a]("".concat(this.ppfx,"is__grabbing")),i||(i=new o.A({getPosition:function(){return{x:n.get("x"),y:n.get("y")}},setPosition:function(t){var e=t.x,r=t.y;n.set({x:e,y:r})},onStart:function(t,e){r.trigger("canvas:move:start",e)},onDrag:function(t,e){r.trigger("canvas:move",e)},onEnd:function(t,e){r.trigger("canvas:move:end",e)}}),this.dragger=i),t?i.start(e):i.stop()},toggleMove:function(t){var e=this.ppfx,n=t?"add":"remove",r=t?"on":"off",o={on:i.on,off:i.AU},a=this.getCanvas(),s=["".concat(e,"is__grab")];!t&&s.push("".concat(e,"is__grabbing")),s.forEach((function(t){return a.classList[n](t)})),o[r](document,"keyup",this.onKeyUp),o[r](a,"mousedown",this.enableDragger),o[r](document,"mouseup",this.disableDragger)}}},5301:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l,defineCommand:()=>s});var r,o=n(1749),i=n(8351),a=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function s(t){return t}const l=function(t){function e(e){var n=t.call(this,0)||this;n.config=e||{},n.em=n.config.em||{};var r=n.config.stylePrefix;return n.pfx=r,n.ppfx=n.config.pStylePrefix,n.hoverClass="".concat(r,"hover"),n.badgeClass="".concat(r,"badge"),n.plhClass="".concat(r,"placeholder"),n.freezClass="".concat(n.ppfx,"freezed"),n.canvas=n.em.Canvas,n.init(n.config),n}return a(e,t),e.prototype.onFrameScroll=function(t){},e.prototype.getCanvas=function(){return this.canvas.getElement()},e.prototype.getCanvasBody=function(){return this.canvas.getBody()},e.prototype.getCanvasTools=function(){return this.canvas.getToolsEl()},e.prototype.offset=function(t){var e=t.getBoundingClientRect();return{top:e.top+t.ownerDocument.body.scrollTop,left:e.left+t.ownerDocument.body.scrollLeft}},e.prototype.init=function(t){},e.prototype.callRun=function(t,e){void 0===e&&(e={});var n=this.id;if(t.trigger("".concat(i.A.runBeforeCommand).concat(n),{options:e}),t.trigger("".concat(i.A._runCommand).concat(n,":before"),e),e.abort)return t.trigger("".concat(i.A.abort).concat(n),{options:e}),void t.trigger("".concat(i.A._abort).concat(n),e);var r=e.sender||t,o=this.run(t,r,e),a={id:n,result:o,options:e};return t.trigger("".concat(i.A.runCommand).concat(n),a),t.trigger(i.A.run,a),t.trigger("".concat(i.A._runCommand).concat(n),o,e),t.trigger(i.A._run,n,o,e),o},e.prototype.callStop=function(t,e){void 0===e&&(e={});var n=this.id,r=e.sender||t;t.trigger("".concat(i.A.stopBeforeCommand).concat(n),{options:e}),t.trigger("".concat(i.A._stopCommand).concat(n,":before"),e);var o=this.stop(t,r,e),a={id:n,result:o,options:e};return t.trigger("".concat(i.A.stopCommand).concat(n),a),t.trigger(i.A.stop,a),t.trigger("".concat(i.A._stopCommand).concat(n),o,e),t.trigger(i.A._stop,n,o,e),o},e.prototype.stopCommand=function(t){this.em.Commands.stop(this.id,t)},e.prototype.run=function(t,e,n){},e.prototype.stop=function(t,e,n){},e}(o.Kx)},8542:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});var r=n(5706),o={run:function(t,e,n){var o=this;void 0===n&&(n={});var i=[],a=n.component||t.getSelectedAll();return(a=(0,r.isArray)(a)?function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o{n.r(e),n.d(e,{default:()=>s});var r=n(5706),o=n(5633),i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
\n ');(e=document.createElement("div")).className="".concat(s,"guides"),l.className="".concat(s,"guide-info ").concat(s,"guide-info__x"),c.className="".concat(s,"guide-info ").concat(s,"guide-info__y"),l.innerHTML=u,c.innerHTML=u,e.appendChild(l),e.appendChild(c),o.Canvas.getGlobalToolsEl().appendChild(e),this.guidesEl=e,this.elGuideInfoX=l,this.elGuideInfoY=c,this.elGuideInfoContentX=l.querySelector(".".concat(s,"guide-info__content")),this.elGuideInfoContentY=c.querySelector(".".concat(s,"guide-info__content")),i.on("canvas:update frame:scroll",(0,r.debounce)((function(){var e;t.updateGuides(),a.debug&&(null===(e=t.guides)||void 0===e||e.forEach((function(e){return t.renderGuide(e)})))}),200))}return e},getGuidesStatic:function(){var t=this,e=[],n=this.target.getEl(),o=n.parentNode,i=void 0===o?{}:o;return(0,r.each)(i.children,(function(r){return e=e.concat(n!==r?t.getElementGuides(r):[])})),e.concat(this.getElementGuides(i))},getGuidesTarget:function(){return this.getElementGuides(this.target.getEl())},updateGuides:function(t){var e,n,o=this;(t||this.guides).forEach((function(t){var i=t.origin,a=e===i?n:o.getElementPos(i);e=i,n=a,(0,r.each)(o.getGuidePosUpdate(t,a),(function(e,n){return t[n]=e})),t.originRect=a}))},getGuidePosUpdate:function(t,e){var n={},r=e.top,o=e.height,i=e.left,a=e.width;switch(t.type){case"t":n.y=r;break;case"b":n.y=r+o;break;case"l":n.x=i;break;case"r":n.x=i+a;break;case"x":n.x=i+a/2;break;case"y":n.y=r+o/2}return n},renderGuide:function(t){void 0===t&&(t={});var e=t.guide||document.createElement("div"),n="px",r=t.active?2:1,o=e.children[0];return e.style="position: absolute; background-color: ".concat(t.active?"green":"red",";"),e.children.length||((o=document.createElement("div")).style="position: absolute; color: red; padding: 5px; top: 0; left: 0;",e.appendChild(o)),t.y?(e.style.width="100%",e.style.height="".concat(r).concat(n),e.style.top="".concat(t.y).concat(n),e.style.left=0):(e.style.width="".concat(r).concat(n),e.style.height="100%",e.style.left="".concat(t.x).concat(n),e.style.top="0".concat(n)),!t.guide&&this.guidesContainer.appendChild(e),e},getElementPos:function(t){return this.editor.Canvas.getElementPos(t,{noScroll:1})},getElementGuides:function(t){var e=this,n=this.opts,r=this.getElementPos(t),o=r.top,a=r.height,s=r.left,l=r.width,c=[{type:"t",y:o},{type:"b",y:o+a},{type:"l",x:s},{type:"r",x:s+l},{type:"x",x:s+l/2},{type:"y",y:o+a/2}].map((function(o){return i(i({},o),{origin:t,originRect:r,guide:n.debug&&e.renderGuide(o)})}));return c.forEach((function(t){var n;return null===(n=e.guides)||void 0===n?void 0:n.push(t)})),c},getTranslate:function(t,e){void 0===e&&(e="x");var n=0;return(t||"").split(" ").forEach((function(t){var r=t.trim(),o="translate".concat(e.toUpperCase(),"(");0===r.indexOf(o)&&(n=parseFloat(r.replace(o,"")))})),n},setTranslate:function(t,e,n){var r="translate".concat(e.toUpperCase(),"("),o="".concat(r).concat(n,")"),i=(t||"").split(" ").map((function(t){return 0===t.trim().indexOf(r)&&(t=o),t})).join(" ");return i.indexOf(r)<0&&(i+=" ".concat(o)),i},getPosition:function(){var t=this.target,e=this.isTran,n=t.getStyle(),r=n.left,o=n.top,i=n.transform,a=0,s=0;return e?(a=this.getTranslate(i),s=this.getTranslate(i,"y")):(a=parseFloat(r||0),s=parseFloat(o||0)),{x:a,y:s}},setPosition:function(t){var e=t.x,n=t.y,o=t.end,i=t.position,a=t.width,s=t.height,l=this,c=l.target,u=l.isTran,p=l.em,d=!o,f="".concat(parseInt(e,10)).concat("px"),h="".concat(parseInt(n,10)).concat("px"),g={};if(u){var m=c.getStyle().transform||"";m=this.setTranslate(m,"x",f),g={transform:m=this.setTranslate(m,"y",h),__p:d},c.addStyle(g,{avoidStore:!o})}else{var v={position:i,width:a,height:s},y={left:f,top:h,__p:d};(0,r.keys)(v).forEach((function(t){var e=v[t];e&&(y[t]=e)})),g=y,c.addStyle(g,{avoidStore:!o})}null==p||p.Styles.__emitCmpStyleUpdate(g,{components:p.getSelected()})},_getDragData:function(){var t=this.target;return{target:t,parent:t.parent(),index:t.index()}},onStart:function(t){var e=this,n=e.target,r=e.editor,o=e.isTran,i=e.opts,a=i.center,s=i.onStart,l=r.Canvas,c=n.getStyle(),u="absolute",p=[u,"relative"];if(s&&s(this._getDragData()),!o&&c.position!==u){var d=l.offset(n.getEl()),f=d.left,h=d.top,g=d.width,m=d.height,v=n.parent(),y=void 0;do{var b=v.getStyle();y=p.indexOf(b.position)>=0?v:null,v=v.parent()}while(v&&!y);if(a){var _=l.getMouseRelativeCanvas(t);f=_.x,h=_.y}else if(y){var w=l.offset(y.getEl());f-=w.left,h-=w.top}this.setPosition({x:f,y:h,width:"".concat(g,"px"),height:"".concat(m,"px"),position:u})}},onDrag:function(){for(var t=this,e=[],n=0;n0})).sort((function(t,e){return t.gap-e.gap})).map((function(t){return t.guide}))[0];if(y){var b=y.originRect,_=b.left,w=b.width,E=b.top,x=b.height,C=b.rect,T=u?_{n.r(e),n.d(e,{default:()=>r});const r={run:function(t){if(t.Canvas.hasFocus()){var e=[];t.getSelectedAll().forEach((function(t){var n=t.components(),r=n&&n.filter((function(t){return t.get("selectable")}))[0];r&&e.push(r)})),e.length&&t.select(e)}}}},3709:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});const r={run:function(t,e,n){if(void 0===n&&(n={}),t.Canvas.hasFocus()||n.force){var r=[];t.getSelectedAll().forEach((function(t){for(var e=t.parent();e&&!e.get("selectable");)e=e.parent();e&&r.push(e)})),r.length&&t.select(r)}}}},2860:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});const r={run:function(t){if(t.Canvas.hasFocus()){var e=[];t.getSelectedAll().forEach((function(t){var n=t.parent();if(n){var r,o=n.components().length,i=0,a=0;do{i++,r=(a=t.index()+i)<=o?n.getChildAt(a):null}while(r&&!r.get("selectable"));e.push(r||t)}})),e.length&&t.select(e)}}}},4944:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});const r={run:function(t){if(t.Canvas.hasFocus()){var e=[];t.getSelectedAll().forEach((function(t){var n=t.parent();if(n){var r,o=0,i=0;do{o++,r=(i=t.index()-o)>=0?n.getChildAt(i):null}while(r&&!r.get("selectable"));e.push(r||t)}})),e.length&&t.select(e)}}}},767:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var r=n(5706);const o={run:function(t,e,n){void 0===n&&(n={});var o=n.target,i=[];if(!o.get("styles"))return i;var a=o.get("type"),s=t.Pages.getAllWrappers();if(!(0,r.flatten)(s.map((function(t){return t.findType(a)}))).length){var l=t.CssComposer.getAll();i=l.filter((function(t){return t.get("group")==="cmp:".concat(a)})),l.remove(i)}return i}}},2126:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});const r={run:function(t){var e=t.getModel(),n=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o{n.r(e),n.d(e,{default:()=>o});var r=n(2097);const o={run:function(t,e,n){var o=this;void 0===n&&(n={}),e&&e.set&&e.set("active",0);var i=t.getConfig(),a=t.Modal,s=i.stylePrefix;if(this.cm=t.CodeManager||null,!this.editors){var l=this.buildEditor("htmlmixed","hopscotch","HTML"),c=this.buildEditor("css","hopscotch","CSS");this.htmlEditor=l.model,this.cssEditor=c.model;var u=(0,r.a_)("div",{class:"".concat(s,"export-dl")});u.appendChild(l.el),u.appendChild(c.el),this.editors=u}a.open({title:i.textViewCode,content:this.editors}).getModel().once("change:open",(function(){return t.stopCommand("".concat(o.id))})),this.htmlEditor.setContent(t.getHtml(n.optsHtml)),this.cssEditor.setContent(t.getCss(n.optsCss))},stop:function(t){var e=t.Modal;e&&e.close()},buildEditor:function(t,e,n){var r=this.em.CodeManager,o=r.createViewer({label:n,codeName:t,theme:e});return{model:o,el:new r.EditorView({model:o,config:r.getConfig()}).render().el}}}},1085:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var r=n(5706);const o={isEnabled:function(){var t=document;return!!(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement)},enable:function(t){var e="";return t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?(e="webkit",t.webkitRequestFullscreen()):t.mozRequestFullScreen?(e="moz",t.mozRequestFullScreen()):t.msRequestFullscreen&&t.msRequestFullscreen(),e},disable:function(){var t=document;this.isEnabled()&&(t.exitFullscreen?t.exitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen())},fsChanged:function(t){this.isEnabled()||(this.stopCommand({sender:this.sender}),document.removeEventListener("".concat(t||"","fullscreenchange"),this.fsChanged))},run:function(t,e,n){void 0===n&&(n={}),this.sender=e;var o=n.target,i=(0,r.isElement)(o)?o:document.querySelector(o),a=this.enable(i||t.getContainer());this.fsChanged=this.fsChanged.bind(this,a),document.addEventListener(a+"fullscreenchange",this.fsChanged)},stop:function(t,e){e&&e.set&&e.set("active",!1),this.disable()}}},9622:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var r=n(5706),o=n(6411),i=n(2097),a=n(4596),s=n(2983);const l=(0,r.extend)({},s.default,a.default,{init:function(t){a.default.init.apply(this,arguments),(0,r.bindAll)(this,"initSorter","rollback","onEndMove"),this.opt=t,this.hoverClass=this.ppfx+"highlighter-warning",this.badgeClass=this.ppfx+"badge-warning",this.noSelClass=this.ppfx+"no-select"},enable:function(){for(var t=[],e=0;e{n.r(e),n.d(e,{default:()=>i});var r=n(5706),o=n(2097);const i={open:function(t){var e=this,n=this,o=n.editor,i=n.title,a=n.config,s=n.am,l=a.custom;if((0,r.isFunction)(l.open))return l.open(s.__customData());o.Modal.open({title:i,content:t}).onceClose((function(){return o.stopCommand(e.id)}))},close:function(){var t=this.config.custom;if((0,r.isFunction)(t.close))return t.close(this.am.__customData());var e=this.editor.Modal;e&&e.close()},run:function(t,e,n){void 0===n&&(n={});var r=t.AssetManager,i=r.getConfig(),a=n.types,s=void 0===a?[]:a,l=n.accept,c=n.select;if(this.title=n.modalTitle||t.t("assetManager.modalTitle")||"",this.editor=t,this.config=i,this.am=r,r.setTarget(n.target),r.onClick(n.onClick),r.onDblClick(n.onDblClick),r.onSelect(n.onSelect),r.__behaviour({select:c,types:s,options:n}),i.custom)this.rendered=this.rendered||(0,o.a_)("div"),this.rendered.className="".concat(i.stylePrefix,"custom-wrp"),r.__behaviour({container:this.rendered}),r.__trgCustom();else{if(!this.rendered||s){var u=r.getAll().filter((function(t){return t}));s&&s.length&&(u=u.filter((function(t){return-1!==s.indexOf(t.get("type"))}))),r.render(u),this.rendered=r.getContainer()}if(l){var p=this.rendered.querySelector("input#".concat(i.stylePrefix,"uploadFile"));p&&p.setAttribute("accept",l)}}return this.open(this.rendered),this},stop:function(t){this.editor=t,this.close(this.rendered)}}},3666:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});var r=n(5706),o=n(2097);const i={open:function(){var t=this,e=t.container,n=t.editor,o=t.bm,i=t.config,a=i.custom,s=i.appendTo;if((0,r.isFunction)(a.open))return a.open(o.__customData());if(this.firstRender&&!s){var l="views-container",c=n.Panels;(c.getPanel(l)||c.addPanel({id:l})).set("appendContent",e).trigger("change:appendContent"),a||e.appendChild(o.render())}e&&(e.style.display="block")},close:function(){var t=this.container,e=this.config.custom;if((0,r.isFunction)(e.close))return e.close(this.bm.__customData());t&&(t.style.display="none")},run:function(t){var e=t.Blocks;this.config=e.getConfig(),this.firstRender=!this.container,this.container=this.container||(0,o.a_)("div"),this.editor=t,this.bm=e;var n=this.container;e.__behaviour({container:n}),this.config.custom&&e.__trgCustom(),this.open()},stop:function(){this.close()}}},5838:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});const r={run:function(t){var e=t.LayerManager,n=t.Panels,r=e.getConfig();if(!r.appendTo){if(!this.layers){var o="views-container",i=document.createElement("div"),a=n.getPanel(o)||n.addPanel({id:o});r.custom?e.__trgCustom({container:i}):i.appendChild(e.render()),a.set("appendContent",i).trigger("change:appendContent"),this.layers=i}this.layers.style.display="block"}},stop:function(){var t=this.layers;t&&(t.style.display="none")}}},8692:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var r=n(6411);const o={run:function(t,e){if(this.sender=e,!this.$cnt){var n=t.getConfig(),o=t.Panels,i=t.DeviceManager,a=t.SelectorManager,s=t.StyleManager,l="change:appendContent",c=(0,r.default)("
"),u=(0,r.default)("
"),p=(0,r.default)("
"),d=(0,r.default)("
");if(this.$cnt=c,this.$cntInner=u,u.append(p),u.append(d),c.append(u),i&&n.showDevices){var f=o.addPanel({id:"devices-c"}),h=i.render();f.set("appendContent",h).trigger(l)}var g=a.getConfig();g.custom?a.__trgCustom({container:p.get(0)}):g.appendTo||p.append(a.render([])),this.sm=s;var m=s.getConfig(),v=m.stylePrefix;this.$header=(0,r.default)('
').concat(t.t("styleManager.empty"),"
")),c.append(this.$header),m.custom?s.__trgCustom({container:d.get(0)}):m.appendTo||d.append(s.render());var y="views-container";(o.getPanel(y)||o.addPanel({id:y})).set("appendContent",c).trigger(l);var b=t.getModel();this.listenTo(b,s.events.target,this.toggleSm)}this.toggleSm()},toggleSm:function(){var t=this,e=t.sender,n=t.sm,r=t.$cntInner,o=t.$header;e&&e.get&&!e.get("active")||!n||(n.getSelected()?(null==r||r.show(),null==o||o.hide()):(null==r||r.hide(),null==o||o.show()))},stop:function(){var t,e;null===(t=this.$cntInner)||void 0===t||t.hide(),null===(e=this.$header)||void 0===e||e.hide()}}},9163:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var r=n(6411);const o={run:function(t,e){this.sender=e;var n,o=t.getModel(),i=t.Config.stylePrefix,a=t.TraitManager,s=a.getConfig();if(!s.appendTo){if(!this.$cn){this.$cn=(0,r.default)("
"),this.$cn2=(0,r.default)("
"),this.$cn.append(this.$cn2),this.$header=(0,r.default)("
").append('
').concat(o.t("traitManager.empty"),"
")),this.$cn.append(this.$header),s.custom?a.__trgCustom({container:this.$cn2.get(0)}):(this.$cn2.append('
').concat(o.t("traitManager.label"),"
")),this.$cn2.append(a.render()));var l=t.Panels;null==(n=l.getPanel("views-container")?l.getPanel("views-container"):l.addPanel({id:"views-container"}))||n.set("appendContent",this.$cn.get(0)).trigger("change:appendContent"),this.target=t.getModel(),this.listenTo(this.target,"component:toggled",this.toggleTm)}this.toggleTm()}},toggleTm:function(){var t=this.sender;t&&t.get&&!t.get("active")||(1===this.target.getSelectedAll().length?(this.$cn2.show(),this.$header.hide()):(this.$cn2.hide(),this.$header.show()))},stop:function(){this.$cn2&&this.$cn2.hide(),this.$header&&this.$header.hide()}}},9298:(t,e,n)=>{n.r(e),n.d(e,{default:()=>o});var r=n(5706);const o={run:function(t,e,n){void 0===n&&(n={});var o=t.getModel(),a=o.get("clipboard"),s=t.getSelected();(null==a?void 0:a.length)&&s&&(t.getSelectedAll().forEach((function(e){var s,l,c,u,p=(null===(l=null===(s=e.delegate)||void 0===s?void 0:s.copy)||void 0===l?void 0:l.call(s,e))||e,d=p.collection;if(d){var f={at:p.index()+1,action:n.action||"paste-component"};u=(0,r.contains)(a,p)&&p.get("copyable")?d.add(p.clone(),f):i(t,a,p.parent(),f)}else{var h=null===(c=o.Pages.getSelected())||void 0===c?void 0:c.getMainComponent();f={at:(null==h?void 0:h.components().length)||0,action:n.action||"paste-component"},u=i(t,a,h,f)}(u=(0,r.isArray)(u)?u:[u]).forEach((function(e){return t.trigger("component:paste",e)}))})),s.emitUpdate())}};function i(t,e,n,r){var o=e.filter((function(t){return t.get("copyable")})).filter((function(e){return t.Components.canMove(n,e).result}));return n.components().add(o.map((function(t){return t.clone()})),r)}},8594:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});var r=n(5706),o="core:component-outline";const i={getPanels:function(t){return this.panels||(this.panels=t.Panels.getPanels()),this.panels},preventDrag:function(t){t.abort=1},tglEffects:function(t){var e=this.em,n=t?"on":"off";if(e){var o=e.Canvas,i=o.getBody(),a=o.getToolbarEl();a&&(a.style.display=t?"none":"");var s=i.querySelectorAll(".".concat(this.ppfx,"no-pointer"));(0,r.each)(s,(function(e){return e.style.pointerEvents=t?"all":""})),e[n]("run:tlb-move:before",this.preventDrag)}},run:function(t,e){var n=this;this.sender=e,this.selected=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o{n.r(e),n.d(e,{default:()=>o});var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n{n.r(e),n.d(e,{default:()=>T});var r,o=n(5706),i=n(1749),a=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});const s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.defaults=function(){return{command:"",attributes:{}}},e}(i.Kx);var l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e}(i.pM);const u=c;c.prototype.model=s;var p=n(91),d=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(){return f=Object.assign||function(t){for(var e,n=1,r=arguments.length;n').concat(l,"
"):"",'\n
').concat(o.getName(),"
");i.innerHTML=p?p(o):d}a.display="block";var f=r.getTargetToElementFixed(t,i,{pos:e}).top,h=n.leftOff<0?-n.leftOff:0;a.top=f+"px",a.left=h+"px"}else a.display="none"},showHighlighter:function(t){this.canvas.getHighlighter(t).style.opacity=""},initResize:function(t){var e=this.em,n=this.canvas,r=e.Editor,i=!(0,o.isElement)(t)&&(0,_.GW)(t)?t:e.getSelected(),a=null==i?void 0:i.get("resizable"),s=E.F.Resize,l=n.hasCustomSpot(s);if(n.removeSpots({type:s}),i&&a){n.addSpot({type:s,component:i});var c,u=(0,o.isElement)(t)?t:i.getEl(),p=(0,w.isObject)(a)?a:{},d=p.onStart,f=void 0===d?function(){}:d,h=p.onMove,g=void 0===h?function(){}:h,m=p.onEnd,v=void 0===m?function(){}:m,y=p.updateTarget,x=void 0===y?function(){}:y,T=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o=0,v=["cl","cr"].indexOf(s)>=0,y={};if(!m){var b=n.getBody().offsetWidth,_=r.w{n.r(e),n.d(e,{default:()=>a});var r=n(6411),o=n(6778),i=n(2128);const a={startSelectPosition:function(t,e,n){void 0===n&&(n={}),this.isPointed=!1;var r=this.em.Utils,a=t[0].ownerDocument.body;r&&(this.sorter=new r.ComponentSorter({em:this.em,treeClass:o.A,containerContext:{container:a,containerSel:"*",itemSel:"*",pfx:this.ppfx,document:e,placeholderElement:this.canvas.getPlacerEl()},positionOptions:{windowMargin:1,canvasRelative:!0},dragBehavior:{dragDirection:i.A.BothDirections,nested:!0}})),n.onStart&&(this.sorter.eventHandlers.legacyOnStartSort=n.onStart),t&&t.length>0&&this.sorter.startSort(t.map((function(t){return{element:t}})))},getOffsetDim:function(){var t=this.offset(this.canvas.getFrameEl()),e=this.offset(this.canvas.getElement());return{top:t.top-e.top,left:t.left-e.left}},stopSelectPosition:function(){this.posTargetCollection=null,this.posIndex="after"==this.posMethod&&0!==this.cDim.length?this.posIndex+1:this.posIndex,this.sorter&&this.sorter.cancelDrag(),this.cDim&&(this.posIsLastEl=0!==this.cDim.length&&"after"==this.posMethod&&this.posIndex==this.cDim.length,this.posTargetEl=0===this.cDim.length?(0,r.default)(this.outsideElem):!this.posIsLastEl&&this.cDim[this.posIndex]?(0,r.default)(this.cDim[this.posIndex][5]).parent():(0,r.default)(this.outsideElem),this.posTargetModel=this.posTargetEl.data("model"),this.posTargetCollection=this.posTargetEl.data("model-comp"))},enable:function(){this.startSelectPosition()},nearFloat:function(t,e,n){var r=t||0,o=e||"before",i=n.length,a=0!==i&&"after"==o&&r==i;return 0!==i&&(!a&&!n[r][4]||n[r-1]&&!n[r-1][4]||a&&!n[r-1][4])?1:0},run:function(){this.enable()},stop:function(){this.stopSelectPosition(),this.$wrapper.css("cursor",""),this.$wrapper.unbind()}}},9490:(t,e,n)=>{n.r(e),n.d(e,{default:()=>s});var r=n(5706),o=n(2820),i=n(6411),a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n')).get(0),P=(0,i.default)('
')).get(0),j=g+S+"-el",N="".concat(g+O+"-el"," ").concat(g+O),L="".concat(j," ").concat(g+S);y=(0,i.default)('
')).get(0),b=(0,i.default)('
')).get(0),_=(0,i.default)('
')).get(0),w=(0,i.default)('
')).get(0),E=(0,i.default)('
')).get(0),x=(0,i.default)('
')).get(0),C=(0,i.default)('
')).get(0),T=(0,i.default)('
')).get(0),this["marginT"+c]=y,this["marginB"+c]=b,this["marginL"+c]=_,this["marginR"+c]=w,this["padT"+c]=E,this["padB"+c]=x,this["padL"+c]=C,this["padR"+c]=T,k.appendChild(y),k.appendChild(b),k.appendChild(_),k.appendChild(w),P.appendChild(E),P.appendChild(x),P.appendChild(C),P.appendChild(T),v.appendChild(k),v.appendChild(P),this[m]="1"}var D="px",I=parseFloat(h.marginLeft.replace(D,""))*p,R=parseFloat(h.marginRight.replace(D,""))*p,M=parseFloat(h.marginTop.replace(D,""))*p,B=parseFloat(h.marginBottom.replace(D,""))*p,F=y.style,U=b.style,H=_.style,V=w.style,q=E.style,z=x.style,W=C.style,G=T.style,Y=parseFloat(f.left),K=parseFloat(h.width)*p+D;F.height=M+D,F.width=K,F.top=f.top-M+D,F.left=Y+D,U.height=B+D,U.width=K,U.top=f.top+f.height+D,U.left=Y+D;var $=f.height+M+B+D,X=f.top-M+D;H.height=$,H.width=I+D,H.top=X,H.left=Y-I+D,V.height=$,V.width=R+D,V.top=X,V.left=Y+f.width+D;var Z=parseFloat(h.paddingTop)*p;q.height=Z+D;var Q=parseFloat(h.paddingBottom)*p;z.height=Q+D;var J=f.height-Q-Z+D,tt=f.top+Z+D;W.height=J,W.width=parseFloat(h.paddingLeft)*p+D,W.top=tt;var et=parseFloat(h.paddingRight)*p;G.height=J,G.width=et+D,G.top=tt}}else t.stopCommand("".concat(this.id),n)},stop:function(t,e,n){void 0===n&&(n={});var r=(n||{}).state||"",o=this.getOffsetMethod(r),i=n.view;this.canvas[o](i).style.opacity=0}}},1396:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});var r=n(5706),o=n(9195);const i={init:function(){(0,r.bindAll)(this,"_onFramesChange")},run:function(t){this.toggleVis(t,!0)},stop:function(t){this.toggleVis(t,!1)},toggleVis:function(t,e){if(void 0===e&&(e=!0),!t.Commands.isActive("preview")){var n=t.Canvas,r=e?"on":"off";n.getModel()[r]("change:frames",this._onFramesChange),this.handleFrames(n.getFrames(),e)}},handleFrames:function(t,e){var n=this;t.forEach((function(t){var r;(null===(r=t.view)||void 0===r?void 0:r.loaded)&&n._upFrame(t,e),t.__ol||(t.on("loaded",(function(){return n._upFrame(t)})),t.__ol=!0)}))},_onFramesChange:function(t,e){this.handleFrames(e)},_upFrame:function(t,e){var n,r=this,i=r.ppfx,a=r.em,s=r.id,l=((0,o.isDef)(e)?e:a.Commands.isActive(s))?"add":"remove",c="".concat(i,"dashed");null===(n=t.view)||void 0===n||n.getBody().classList[l](c)}}},1749:(t,e,n)=>{n.d(e,{Kx:()=>u,Ss:()=>d,e2:()=>c,lK:()=>f,pM:()=>p,x2:()=>o});var r,o,i=n(4193),a=n.n(i),s=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(){return l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n{var r,o;n.d(e,{I:()=>o,t:()=>r}),function(t){t.remove="component:remove",t.add="component:add",t.move="component:move"}(r||(r={})),function(t){t.add="component:add",t.remove="component:remove",t.removeBefore="component:remove:before",t.create="component:create",t.update="component:update",t.updateInside="component:update-inside",t.select="component:select",t.selectBefore="component:select:before",t.scriptMount="component:script:mount",t.scriptMountBefore="component:script:mount:before",t.scriptUnmount="component:script:unmount",t.symbolMainAdd="symbol:main:add",t.symbolMainUpdate="symbol:main:update",t.symbolMainUpdateDeep="symbol:main:update-deep",t.symbolMainRemove="symbol:main:remove",t.symbolMain="symbol:main",t.symbolInstanceAdd="symbol:instance:add",t.symbolInstanceRemove="symbol:instance:remove",t.symbolInstance="symbol:instance",t.symbol="symbol"}(o||(o={}))},91:(t,e,n)=>{n.d(e,{A:()=>l});var r,o=n(5706),i=n(1749),a=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,r){void 0===e&&(e={}),void 0===r&&(r=!1);var o=t.call(this,e)||this;return o.itemsView="",o.itemType="type",o.reuseView=!1,o.config=n||e.config||{},r&&o.listenTo(o.collection,"add",o.addTo),o.items=[],o}return a(e,t),e.prototype.addTo=function(t){this.add(t)},e.prototype.itemViewNotFound=function(t){var e=this.config,n=this.ns,r=e.em,o="".concat(n?"[".concat(n,"]: "):"","'").concat(t,"' type not found");r&&r.logWarning(o)},e.prototype.add=function(t,e){var n,r=this,i=r.config,a=r.reuseView,s=r.items,l=this.itemsView||{},c=e||null,u=this.itemView,p=t.get(this.itemType);l[p]?u=l[p]:!p||l[p]||(0,o.includes)(["button","checkbox","color","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"],p)||this.itemViewNotFound(p),n=t.view&&a?t.view:new u({model:t,config:i},i),s&&s.push(n);var d=n.render().el;c?c.appendChild(d):this.$el.append(d)},e.prototype.render=function(){var t=document.createDocumentFragment();return this.clearItems(),this.$el.empty(),this.collection.length&&this.collection.each((function(e){this.add(e,t)}),this),this.$el.append(t),this.onRender(),this},e.prototype.onRender=function(){},e.prototype.onRemoveBefore=function(t,e){},e.prototype.onRemove=function(t,e){},e.prototype.remove=function(e){void 0===e&&(e={});var n=this.items;return this.onRemoveBefore(n,e),this.clearItems(),t.prototype.remove.call(this),this.onRemove(n,e),this},e.prototype.clearItems=function(){this.items},e}(i.Ss);const l=s;s.prototype.itemView=""},5633:(t,e,n)=>{n.d(e,{A:()=>l});var r=n(5706),o=n(2097),i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=e&&t<=e+r||t<=e&&t>=e-r},t.prototype.setGuideLock=function(t,e){var n=(0,r.isUndefined)(t.x)?"Y":"X",o="trg".concat(n);return null!==e?(t.active=!0,t.lock=e,this[o]=t):(delete t.active,delete t.lock,delete this[o]),t},t.prototype.stop=function(t,e){void 0===e&&(e={});var n=this.delta,o=!!e.cancel,i=o?0:n.x,a=o?0:n.y;this.toggleDrag(),this.lockedAxis=null,this.move(i,a,!0);var s=this.opts.onEnd;(0,r.isFunction)(s)&&s(t,this,{cancelled:o})},t.prototype.keyHandle=function(t){(0,o.v$)(t)&&this.stop(t,{cancel:!0})},t.prototype.move=function(t,e,n){var o=this.el,i=this.opts,a=this.startPosition;if(a){var s=i.setPosition,l=a.x+t,c=a.y+e;this.position={x:l,y:c,end:n},(0,r.isFunction)(s)&&s(this.position),o&&(o.style.left="".concat(l,"px"),o.style.top="".concat(c,"px"))}},t.prototype.getContainerEl=function(){var t=this.opts.container;return t?[t]:this.getDocumentEl()},t.prototype.getWindowEl=function(){return this.getContainerEl().map((function(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow}))},t.prototype.getDocumentEl=function(t){var e=this.opts.doc;if(t=t||this.el,!this.docs.length){var n=[document];t&&n.push(t.ownerDocument),e&&n.push(e),this.docs=n}return this.docs},t.prototype.getPointerPos=function(t){var e=this.opts.getPointerPosition,n=(0,o.G2)(t);return e?e(t):{x:n.clientX,y:n.clientY}},t.prototype.getStartPosition=function(){var t=this.el,e=this.opts.getPosition,n={x:0,y:0};return(0,r.isFunction)(e)?n=e():t&&(n={x:parseFloat(t.style.left),y:parseFloat(t.style.top)}),n},t.prototype.getScrollInfo=function(){var t=this.opts.doc,e=t&&t.body;return{y:e?e.scrollTop:0,x:e?e.scrollLeft:0}},t.prototype.detectAxisLock=function(t,e){var n=t,r=e,o=Math.abs(n),i=Math.abs(r);return r>=o||r<=-o?"x":n>i||n<-i?"y":void 0},t}();const l=s},6411:(t,e,n)=>{n.r(e),n.d(e,{default:()=>gt});var r="undefined"!=typeof document?document:null,o="undefined"!=typeof window?window:null,i=Array.prototype,a=i.filter,s=i.indexOf,l=i.map,c=i.push,u=i.reverse,p=i.slice,d=i.splice,f=/^#[\w-]*$/,h=/^\.[\w-]*$/,g=/<.+>/,m=/^\w+$/;function v(t,e){return void 0===e&&(e=r),h.test(t)?e.getElementsByClassName(t.slice(1)):m.test(t)?e.getElementsByTagName(t):e.querySelectorAll(t)}function y(t,e){if(void 0===e&&(e=r),t){if(t.__cash)return t;var n=t;if(S(t)){if(e.__cash&&(e=e[0]),!(n=f.test(t)?e.getElementById(t.slice(1)):g.test(t)?dt(t):v(t,e)))return}else if(O(t))return this.ready(t);(n.nodeType||n===o)&&(n=[n]),this.length=n.length;for(var i=0,a=this.length;i=0})):n.value=o}))},_.clone=function(){return this.map((function(t,e){return e.cloneNode(!0)}))},_.detach=function(){return this.each((function(t,e){e.parentNode&&e.parentNode.removeChild(e)}))};var ct,ut=/^\s*<(\w+)[^>]*>/,pt=/^\s*<(\w+)\s*\/?>(?:<\/\1>)?\s*$/;function dt(t){if(function(){if(!ct){var t=r.createElement("table"),e=r.createElement("tr");ct={"*":r.createElement("div"),tr:r.createElement("tbody"),td:e,th:e,thead:t,tbody:t,tfoot:t}}}(),!S(t))return[];if(pt.test(t))return[r.createElement(RegExp.$1)];var e=ut.test(t)&&RegExp.$1,n=ct[e]||ct["*"];return n.innerHTML=t,b(n.childNodes).detach().get()}function ft(t,e,n){if(void 0!==e){var r=S(e);!r&&e.length?C(e,(function(e){return ft(t,e,n)})):C(t,r?function(t){t.insertAdjacentHTML(n?"afterbegin":"beforeend",e)}:function(t,r){return function(t,e,n){n?t.insertBefore(e,t.childNodes[0]):t.appendChild(e)}(t,r?e.cloneNode(!0):e,n)})}}b.parseHTML=dt,_.empty=function(){var t=this[0];if(t)for(;t.firstChild;)t.removeChild(t.firstChild);return this},_.append=function(){var t=this;return C(arguments,(function(e){ft(t,e)})),this},_.appendTo=function(t){return ft(b(t),this),this},_.html=function(t){if(void 0===t)return this[0]&&this[0].innerHTML;var e=t.nodeType?t[0].outerHTML:t;return this.each((function(t,n){n.innerHTML=e}))},_.insertAfter=function(t){var e=this;return b(t).each((function(t,n){var r=n.parentNode;e.each((function(e,o){r.insertBefore(t?o.cloneNode(!0):o,n.nextSibling)}))})),this},_.after=function(){var t=this;return C(u.apply(arguments),(function(e){u.apply(b(e).slice()).insertAfter(t)})),this},_.insertBefore=function(t){var e=this;return b(t).each((function(t,n){var r=n.parentNode;e.each((function(e,o){r.insertBefore(t?o.cloneNode(!0):o,n)}))})),this},_.before=function(){var t=this;return C(arguments,(function(e){b(e).insertBefore(t)})),this},_.prepend=function(){var t=this;return C(arguments,(function(e){ft(t,e,!0)})),this},_.prependTo=function(t){return ft(b(t),u.apply(this.slice()),!0),this},_.remove=function(){return this.detach().off()},_.replaceWith=function(t){var e=this;return this.each((function(n,r){var o=r.parentNode;if(o){var i=n?b(t).clone():b(t);if(!i[0])return e.remove(),!1;o.replaceChild(i[0],r),b(i[0]).after(i.slice(1))}}))},_.replaceAll=function(t){return b(t).replaceWith(this),this},_.text=function(t){return void 0===t?this[0]?this[0].textContent:"":this.each((function(e,n){n.textContent=t}))};var ht=r&&r.documentElement;_.offset=function(){var t=this[0];if(t){var e=t.getBoundingClientRect();return{top:e.top+o.pageYOffset-ht.clientTop,left:e.left+o.pageXOffset-ht.clientLeft}}},_.offsetParent=function(){return b(this[0]&&this[0].offsetParent)},_.position=function(){var t=this[0];if(t)return{left:t.offsetLeft,top:t.offsetTop}},_.children=function(t){var e=[];return this.each((function(t,n){c.apply(e,n.children)})),e=b(D(e)),t?e.filter((function(e,n){return A(n,t)})):e},_.contents=function(){var t=[];return this.each((function(e,n){c.apply(t,"IFRAME"===n.tagName?[n.contentDocument]:n.childNodes)})),b(t.length&&D(t))},_.find=function(t){for(var e=[],n=0,r=this.length;n{n.d(e,{AU:()=>N,BC:()=>h,C8:()=>w,Ch:()=>C,Ci:()=>O,D8:()=>i,G2:()=>T,GW:()=>_,GZ:()=>m,I6:()=>c,LJ:()=>k,Sc:()=>f,X6:()=>u,Xy:()=>E,YZ:()=>s,ZQ:()=>a,a_:()=>g,af:()=>y,bG:()=>d,cx:()=>l,ir:()=>b,kk:()=>P,on:()=>j,rp:()=>S,v$:()=>A,yL:()=>v,zN:()=>p});var r=n(5706),o=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o=i?t.appendChild(e):t.insertBefore(e,o[a])},h=function(t,e){return f(t,e)},g=function(t,e,n){void 0===e&&(e={});var o=document.createElement(t);return e&&(0,r.each)(e,(function(t,e){return o.setAttribute(e,t)})),n&&((0,r.isString)(n)?o.innerHTML=n:o.appendChild(n)),o},m=function(t){return document.createTextNode(t)},v=function(t,e){var n,r=t.type;try{n=new window[e](r,t)}catch(t){(n=document.createEvent(e)).initEvent(r,!0,!0)}return n._parentEvent=t,0===r.indexOf("key")&&(n.keyCodeVal=t.keyCode,["keyCode","which"].forEach((function(t){Object.defineProperty(n,t,{get:function(){return this.keyCodeVal}})}))),n},y=function(t,e){void 0===e&&(e=[]),(Array.isArray(e)?e:[e]).forEach((function(e){var n=e.tag||"div",o=e.attributes||{},i=document.createElement(n);(0,r.each)(o,(function(t,e){i.setAttribute(e,t)})),t.appendChild(i)}))},b=function(t){return(null==t?void 0:t.nodeType)===Node.TEXT_NODE},_=function(t){return t&&!b(t)&&!function(t){return(null==t?void 0:t.nodeType)===Node.COMMENT_NODE}(t)},w=function(t){var e,n={top:0,left:0,width:0,height:0};if(!t)return n;if(b(t)){var r=document.createRange();r.selectNode(t),e=r.getBoundingClientRect(),r.detach()}return e||(t.getBoundingClientRect?t.getBoundingClientRect():n)},E=function(t){var e=(null==t?void 0:t.ownerDocument)||document,n=e.documentElement,r=e.defaultView||window;return{x:(r.pageXOffset||n.scrollLeft||0)-(n.clientLeft||0),y:(r.pageYOffset||n.scrollTop||0)-(n.clientTop||0)}},x=function(t){return t.which||t.keyCode},C=function(t){return String.fromCharCode(x(t))},T=function(t){return t.touches&&t.touches[0]?t.touches[0]:t},A=function(t){return 27===x(t)},O=function(t){return 13===x(t)},S=function(t){return function(t){return t.ctrlKey}(t)||t.metaKey},k=function(t){if(!t)return"";var e=t.name,n=t.publicId,r=t.systemId,o=n?' PUBLIC "'.concat(n,'"'):"",i=!n&&r?' SYSTEM "'.concat(r,'"'):"";return"")},P=function(t){void 0===t&&(t={});var e=[];return(0,r.each)(t,(function(t,n){return e.push("".concat(n,'="').concat(t,'"'))})),e.join(" ")},j=function(t,e,n,o){var i=e.split(/\s+/),a=(0,r.isArray)(t)?t:[t];i.forEach((function(t){a.forEach((function(e){return null==e?void 0:e.addEventListener(t,n,o)}))}))},N=function(t,e,n,o){var i=e.split(/\s+/),a=(0,r.isArray)(t)?t:[t];i.forEach((function(t){a.forEach((function(e){return null==e?void 0:e.removeEventListener(t,n,o)}))}))}},9195:(t,e,n)=>{n.r(e),n.d(e,{appendStyles:()=>w,buildBase64UrlFromSvg:()=>z,camelCase:()=>T,capitalize:()=>R,createId:()=>q,deepMerge:()=>N,escape:()=>P,escapeNodeContent:()=>j,find:()=>k,get:()=>u,getComponentModel:()=>H,getComponentView:()=>U,getElement:()=>S,getGlobal:()=>m,getModel:()=>L,getUiClass:()=>_,getUnitFromValue:()=>x,getViewEl:()=>B,hasDnd:()=>O,hasWin:()=>g,isBultInMethod:()=>p,isComponent:()=>F,isDef:()=>h,isEmptyObj:()=>I,isObject:()=>D,isRule:()=>M,matches:()=>b,normalizeFloat:()=>A,normalizeKey:()=>d,setViewEl:()=>V,shallowDiff:()=>E,stringToPath:()=>c,toLowerCase:()=>v,upFirst:()=>C,wait:()=>f});var r=n(5706),o=n(2097),i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0?a!==s&&(n[i]=s):n[i]=null}for(var i in e)e.hasOwnProperty(i)&&(0,r.isUndefined)(t[i])&&(n[i]=e[i]);return n},x=function(t){return t.replace(parseFloat(t),"")},C=function(t){return t[0].toUpperCase()+t.toLowerCase().slice(1)},T=function(t){return t.replace(/-./g,(function(t){return t[1].toUpperCase()}))},A=function(t,e,n){void 0===e&&(e=1),void 0===n&&(n=0);var r=0;if(isNaN(t))return n;if(t=parseFloat(t),Math.floor(t)!==t){var o=e.toString().split(".")[1];r=o?o.length:0}return r?parseFloat(t.toFixed(r)):t},O=function(t){return"draggable"in document.createElement("i")&&(!t||t.config.nativeDnD)},S=function(t){return(0,r.isElement)(t)||(0,o.ir)(t)?t:t&&t.getEl?t.getEl():void 0},k=function(t,e){var n=null;return t.some((function(r,o){return e(r,o,t)?(n=r,1):0})),n},P=function(t){return void 0===t&&(t=""),"".concat(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`")},j=function(t){return void 0===t&&(t=""),"".concat(t).replace(/&/g,"&").replace(//g,">")},N=function(){for(var t=[],e=0;e{n.d(e,{h:()=>a});var r,o=n(3161),i=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.displayCache=new Map,e}return i(e,t),e.prototype.getChildren=function(){return this.getDisplayedChildren()},e.prototype.getDisplayedChildren=function(){var t=this;return this.model.components().filter((function(e){return t.isChildDisplayed(e)})).map((function(e){return new t.constructor(e)}))},e.prototype.isChildDisplayed=function(t){if(this.displayCache.has(t))return this.displayCache.get(t);var e,n=!!(e=t.getEl())&&"object"==typeof e&&e.nodeType===Node.ELEMENT_NODE&&"none"!==window.getComputedStyle(e).display&&e.offsetWidth>0&&e.offsetHeight>0;return this.displayCache.set(t,n),n},e.prototype.getParent=function(){var t=this.model.parent();return t?new this.constructor(t):null},e.prototype.addChildAt=function(t,e,n){var r,o,i,a,s,l,c,u;if(void 0===n&&(n={action:"add-component"}),(null===(o=null===(r=this.model)||void 0===r?void 0:r.isInstanceOf)||void 0===o?void 0:o.call(r,"text"))&&(null===(a=null===(i=null==t?void 0:t.model)||void 0===i?void 0:i.get)||void 0===a?void 0:a.call(i,"textable")))return null===(u=null===(c=null===(l=null===(s=this.model)||void 0===s?void 0:s.getView)||void 0===l?void 0:l.call(s))||void 0===c?void 0:c.insertComponent)||void 0===u?void 0:u.call(c,null==t?void 0:t.model,{action:n.action});var p=this.model.components().add(t.model,{at:this.getRealIndex(e),action:n.action});return new this.constructor(p)},e.prototype.removeChildAt=function(t,e){void 0===e&&(e={temporary:!1});var n=this.model.components().at(this.getRealIndex(t));n&&this.model.components().remove(n,e)},e.prototype.indexOfChild=function(t){return this.getDisplayIndex(t)},e.prototype.getDisplayIndex=function(t){var e=this.getDisplayedChildren();return e?e.findIndex((function(e){return e.model===t.model})):-1},e.prototype.getRealIndex=function(t){if(-1===t)return-1;for(var e=0,n=this.model.components(),r=0;r{n.d(e,{A:()=>s});var r,o=n(3253),i=(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._dropAreaConfig={ratio:.8,minUndroppableDimension:1,maxUndroppableDimension:15},e}return i(e,t),Object.defineProperty(e.prototype,"view",{get:function(){var t,e;return null===(e=(t=this.model).getView)||void 0===e?void 0:e.call(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){var t,e;return null===(e=(t=this.model).getEl)||void 0===e?void 0:e.call(t)},enumerable:!1,configurable:!0}),e}(o.h);const s=a},3161:(t,e,n)=>{n.d(e,{$:()=>r});var r=function(){function t(t,e){void 0===e&&(e={}),this._dropAreaConfig={ratio:1,minUndroppableDimension:0,maxUndroppableDimension:0},this._model=t,this._dragSource=e}return Object.defineProperty(t.prototype,"model",{get:function(){return this._model},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dragSource",{get:function(){return this._dragSource},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropArea",{get:function(){var t,e;return this.getParent()?null===(e=this.nodeDimensions)||void 0===e?void 0:e.getDropArea(this._dropAreaConfig):null===(t=this.nodeDimensions)||void 0===t?void 0:t.clone()},enumerable:!1,configurable:!0}),t.prototype.isWithinDropBounds=function(t,e){return!!this.dropArea&&this.dropArea.isWithinBounds(t,e)},t.prototype.equals=function(t){return!!(null==t?void 0:t._model)&&this._model===t._model},t.prototype.adjustDimensions=function(t){var e,n;0===t.topDifference&&0===t.leftDifference||(null===(e=this.nodeDimensions)||void 0===e||e.adjustDimensions(t),null===(n=this.childrenDimensions)||void 0===n||n.forEach((function(e){return e.adjustDimensions(t)})))},t}()},2128:(t,e,n)=>{var r;n.d(e,{A:()=>r}),function(t){t.Vertical="Vertical",t.Horizontal="Horizontal",t.BothDirections="BothDirections"}(r||(r={}))},585:(t,e,n)=>{var r={"./CanvasClear":371,"./CanvasClear.ts":371,"./CanvasMove":6301,"./CanvasMove.ts":6301,"./CommandAbstract":5301,"./CommandAbstract.ts":5301,"./ComponentDelete":8542,"./ComponentDelete.ts":8542,"./ComponentDrag":1319,"./ComponentDrag.ts":1319,"./ComponentEnter":1859,"./ComponentEnter.ts":1859,"./ComponentExit":3709,"./ComponentExit.ts":3709,"./ComponentNext":2860,"./ComponentNext.ts":2860,"./ComponentPrev":4944,"./ComponentPrev.ts":4944,"./ComponentStyleClear":767,"./ComponentStyleClear.ts":767,"./CopyComponent":2126,"./CopyComponent.ts":2126,"./ExportTemplate":4860,"./ExportTemplate.ts":4860,"./Fullscreen":1085,"./Fullscreen.ts":1085,"./MoveComponent":9622,"./MoveComponent.ts":9622,"./OpenAssets":8481,"./OpenAssets.ts":8481,"./OpenBlocks":3666,"./OpenBlocks.ts":3666,"./OpenLayers":5838,"./OpenLayers.ts":5838,"./OpenStyleManager":8692,"./OpenStyleManager.ts":8692,"./OpenTraitManager":9163,"./OpenTraitManager.ts":9163,"./PasteComponent":9298,"./PasteComponent.ts":9298,"./Preview":8594,"./Preview.ts":8594,"./Resize":7604,"./Resize.ts":7604,"./SelectComponent":4596,"./SelectComponent.ts":4596,"./SelectPosition":2983,"./SelectPosition.ts":2983,"./ShowOffset":9490,"./ShowOffset.ts":9490,"./SwitchVisibility":1396,"./SwitchVisibility.ts":1396};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id=585},5706:(t,e,n)=>{n.r(e),n.d(e,{VERSION:()=>o,after:()=>De,all:()=>tn,allKeys:()=>mt,any:()=>en,assign:()=>Dt,before:()=>Ie,bind:()=>Ee,bindAll:()=>Te,chain:()=>ye,chunk:()=>Bn,clone:()=>Bt,collect:()=>Ke,compact:()=>On,compose:()=>Le,constant:()=>Q,contains:()=>nn,countBy:()=>gn,create:()=>Mt,debounce:()=>Pe,default:()=>qn,defaults:()=>It,defer:()=>Se,delay:()=>Oe,detect:()=>We,difference:()=>kn,drop:()=>Tn,each:()=>Ye,escape:()=>ae,every:()=>tn,extend:()=>Lt,extendOwn:()=>Dt,filter:()=>Qe,find:()=>We,findIndex:()=>Fe,findKey:()=>Me,findLastIndex:()=>Ue,findWhere:()=>Ge,first:()=>Cn,flatten:()=>Sn,foldl:()=>Xe,foldr:()=>Ze,forEach:()=>Ye,functions:()=>jt,get:()=>qt,groupBy:()=>fn,has:()=>zt,head:()=>Cn,identity:()=>Wt,include:()=>nn,includes:()=>nn,indexBy:()=>hn,indexOf:()=>qe,initial:()=>xn,inject:()=>Xe,intersection:()=>Ln,invert:()=>Pt,invoke:()=>rn,isArguments:()=>$,isArray:()=>G,isArrayBuffer:()=>M,isBoolean:()=>S,isDataView:()=>W,isDate:()=>L,isElement:()=>k,isEmpty:()=>lt,isEqual:()=>gt,isError:()=>I,isFinite:()=>X,isFunction:()=>U,isMap:()=>Ct,isMatch:()=>ct,isNaN:()=>Z,isNull:()=>A,isNumber:()=>N,isObject:()=>T,isRegExp:()=>D,isSet:()=>At,isString:()=>j,isSymbol:()=>R,isTypedArray:()=>ot,isUndefined:()=>O,isWeakMap:()=>Tt,isWeakSet:()=>Ot,iteratee:()=>Xt,keys:()=>st,last:()=>An,lastIndexOf:()=>ze,map:()=>Ke,mapObject:()=>Qt,matcher:()=>Gt,matches:()=>Gt,max:()=>sn,memoize:()=>Ae,methods:()=>jt,min:()=>ln,mixin:()=>Un,negate:()=>Ne,noop:()=>Jt,now:()=>re,object:()=>Rn,omit:()=>En,once:()=>Re,pairs:()=>kt,partial:()=>we,partition:()=>mn,pick:()=>wn,pluck:()=>on,property:()=>Yt,propertyOf:()=>te,random:()=>ne,range:()=>Mn,reduce:()=>Xe,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Tn,restArguments:()=>C,result:()=>ge,sample:()=>cn,select:()=>Qe,shuffle:()=>un,size:()=>bn,some:()=>en,sortBy:()=>pn,sortedIndex:()=>He,tail:()=>Tn,take:()=>Cn,tap:()=>Ft,template:()=>he,templateSettings:()=>le,throttle:()=>ke,times:()=>ee,toArray:()=>yn,toPath:()=>Ut,transpose:()=>Dn,unescape:()=>se,union:()=>Nn,uniq:()=>jn,unique:()=>jn,uniqueId:()=>ve,unzip:()=>Dn,values:()=>St,where:()=>an,without:()=>Pn,wrap:()=>je,zip:()=>In});var r={};n.r(r),n.d(r,{VERSION:()=>o,after:()=>De,all:()=>tn,allKeys:()=>mt,any:()=>en,assign:()=>Dt,before:()=>Ie,bind:()=>Ee,bindAll:()=>Te,chain:()=>ye,chunk:()=>Bn,clone:()=>Bt,collect:()=>Ke,compact:()=>On,compose:()=>Le,constant:()=>Q,contains:()=>nn,countBy:()=>gn,create:()=>Mt,debounce:()=>Pe,default:()=>Hn,defaults:()=>It,defer:()=>Se,delay:()=>Oe,detect:()=>We,difference:()=>kn,drop:()=>Tn,each:()=>Ye,escape:()=>ae,every:()=>tn,extend:()=>Lt,extendOwn:()=>Dt,filter:()=>Qe,find:()=>We,findIndex:()=>Fe,findKey:()=>Me,findLastIndex:()=>Ue,findWhere:()=>Ge,first:()=>Cn,flatten:()=>Sn,foldl:()=>Xe,foldr:()=>Ze,forEach:()=>Ye,functions:()=>jt,get:()=>qt,groupBy:()=>fn,has:()=>zt,head:()=>Cn,identity:()=>Wt,include:()=>nn,includes:()=>nn,indexBy:()=>hn,indexOf:()=>qe,initial:()=>xn,inject:()=>Xe,intersection:()=>Ln,invert:()=>Pt,invoke:()=>rn,isArguments:()=>$,isArray:()=>G,isArrayBuffer:()=>M,isBoolean:()=>S,isDataView:()=>W,isDate:()=>L,isElement:()=>k,isEmpty:()=>lt,isEqual:()=>gt,isError:()=>I,isFinite:()=>X,isFunction:()=>U,isMap:()=>Ct,isMatch:()=>ct,isNaN:()=>Z,isNull:()=>A,isNumber:()=>N,isObject:()=>T,isRegExp:()=>D,isSet:()=>At,isString:()=>j,isSymbol:()=>R,isTypedArray:()=>ot,isUndefined:()=>O,isWeakMap:()=>Tt,isWeakSet:()=>Ot,iteratee:()=>Xt,keys:()=>st,last:()=>An,lastIndexOf:()=>ze,map:()=>Ke,mapObject:()=>Qt,matcher:()=>Gt,matches:()=>Gt,max:()=>sn,memoize:()=>Ae,methods:()=>jt,min:()=>ln,mixin:()=>Un,negate:()=>Ne,noop:()=>Jt,now:()=>re,object:()=>Rn,omit:()=>En,once:()=>Re,pairs:()=>kt,partial:()=>we,partition:()=>mn,pick:()=>wn,pluck:()=>on,property:()=>Yt,propertyOf:()=>te,random:()=>ne,range:()=>Mn,reduce:()=>Xe,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Tn,restArguments:()=>C,result:()=>ge,sample:()=>cn,select:()=>Qe,shuffle:()=>un,size:()=>bn,some:()=>en,sortBy:()=>pn,sortedIndex:()=>He,tail:()=>Tn,take:()=>Cn,tap:()=>Ft,template:()=>he,templateSettings:()=>le,throttle:()=>ke,times:()=>ee,toArray:()=>yn,toPath:()=>Ut,transpose:()=>Dn,unescape:()=>se,union:()=>Nn,uniq:()=>jn,unique:()=>jn,uniqueId:()=>ve,unzip:()=>Dn,values:()=>St,where:()=>an,without:()=>Pn,wrap:()=>je,zip:()=>In});var o="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},a=Array.prototype,s=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,u=a.slice,p=s.toString,d=s.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,h="undefined"!=typeof DataView,g=Array.isArray,m=Object.keys,v=Object.create,y=f&&ArrayBuffer.isView,b=isNaN,_=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1;function C(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),o=0;o=0&&n<=x}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),nt=J(et);var rt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ot=f?function(t){return y?y(t)&&!W(t):nt(t)&&rt.test(p.call(t))}:Q(!1),it=tt("length");function at(t,e){e=function(t){for(var e={},n=t.length,r=0;r":">",'"':""","'":"'","`":"`"},ae=oe(ie),se=oe(Pt(ie)),le=ut.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ce=/(.)^/,ue={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},pe=/\\|'|\r|\n|\u2028|\u2029/g;function de(t){return"\\"+ue[t]}var fe=/^\s*(\w|\$)+\s*$/;function he(t,e,n){!e&&n&&(e=n),e=It({},e,ut.templateSettings);var r=RegExp([(e.escape||ce).source,(e.interpolate||ce).source,(e.evaluate||ce).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(r,(function(e,n,r,a,s){return i+=t.slice(o,s).replace(pe,de),o=s+e.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e})),i+="';\n";var a,s=e.variable;if(s){if(!fe.test(s))throw new Error("variable is not a bare identifier: "+s)}else i="with(obj||{}){\n"+i+"}\n",s="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(s,"_",i)}catch(t){throw t.source=i,t}var l=function(t){return a.call(this,t,ut)};return l.source="function("+s+"){\n"+i+"}",l}function ge(t,e,n){var r=(e=Ht(e)).length;if(!r)return U(n)?n.call(t):n;for(var o=0;o1)Ce(s,e-1,n,r),o=r.length;else for(var l=0,c=s.length;le?(r&&(clearTimeout(r),r=null),s=c,a=t.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(r),s=0,r=o=i=null},c}function Pe(t,e,n){var r,o,i,a,s,l=function(){var c=re()-o;e>c?r=setTimeout(l,e-c):(r=null,n||(a=t.apply(s,i)),r||(i=s=null))},c=C((function(c){return s=this,i=c,o=re(),r||(r=setTimeout(l,e),n&&(a=t.apply(s,i))),a}));return c.cancel=function(){clearTimeout(r),r=i=s=null},c}function je(t,e){return we(e,t)}function Ne(t){return function(){return!t.apply(this,arguments)}}function Le(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function De(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Ie(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const Re=we(Ie,2);function Me(t,e,n){e=Zt(e,n);for(var r,o=st(t),i=0,a=o.length;i0?0:o-1;i>=0&&i0?a=i>=0?i:Math.max(i+s,a):s=i>=0?Math.min(i+1,s):i+s+1;else if(n&&i&&s)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=e(u.call(r,a,s),Z))>=0?i+a:-1;for(i=t>0?a:s-1;i>=0&&i=3;return function(e,n,r,o){var i=!xe(e)&&st(e),a=(i||e).length,s=t>0?0:a-1;for(o||(r=e[i?i[s]:s],s+=t);s>=0&&s=0}const rn=C((function(t,e,n){var r,o;return U(e)?o=e:(e=Ht(e),r=e.slice(0,-1),e=e[e.length-1]),Ke(t,(function(t){var i=o;if(!i){if(r&&r.length&&(t=Vt(t,r)),null==t)return;i=t[e]}return null==i?i:i.apply(t,n)}))}));function on(t,e){return Ke(t,Yt(e))}function an(t,e){return Qe(t,Gt(e))}function sn(t,e,n){var r,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,l=(t=xe(t)?t:St(t)).length;si&&(i=r);else e=Zt(e,n),Ye(t,(function(t,n,r){((o=e(t,n,r))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)}));return i}function ln(t,e,n){var r,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,l=(t=xe(t)?t:St(t)).length;sr||void 0===n)return 1;if(n1&&(r=Kt(r,e[1])),e=mt(t)):(r=_n,e=Ce(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o1&&(n=e[1])):(e=Ke(Ce(e,!1,!1),String),r=function(t,n){return!nn(e,n)}),wn(t,r,n)}));function xn(t,e,n){return u.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function Cn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:xn(t,t.length-e)}function Tn(t,e,n){return u.call(t,null==e||n?1:e)}function An(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:Tn(t,Math.max(0,t.length-e))}function On(t){return Qe(t,Boolean)}function Sn(t,e){return Ce(t,e,!1)}const kn=C((function(t,e){return e=Ce(e,!0,!0),Qe(t,(function(t){return!nn(e,t)}))})),Pn=C((function(t,e){return kn(t,e)}));function jn(t,e,n,r){S(e)||(r=n,n=e,e=!1),null!=n&&(n=Zt(n,r));for(var o=[],i=[],a=0,s=it(t);a{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};r.d(o,{Ay:()=>hm,I0:()=>fm,nu:()=>dm});var i=r(5706),a=r(9195);function s(t){for(var e=[],n=1;n','
\n
\n \n \n \n
\n
\n
\n
\n \n '],n=['\n
','
\n
\n \n \n \n
\n
\n
\n
\n \n '],Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,j=e),r,o,r,r,r,r,r,r,r)},e.prototype.events=function(){return{change:"updateDevice","click [data-add-trasp]":"startAdd"}},e.prototype.startAdd=function(){},e.prototype.updateDevice=function(){var t=this.em;if(t){var e=this.devicesEl;t.set("device",e?e.val():"")}},e.prototype.updateSelect=function(){var t=this.em,e=this.devicesEl;if(t&&t.getDeviceModel&&e){var n=t.getDeviceModel();e.val(n?n.get("id"):"")}},e.prototype.getOptions=function(){var t=this.collection,e=this.em,n="";return t.forEach((function(t){var r=t.attributes,o=r.name,i=r.id,a=e&&e.t&&e.t("deviceManager.devices.".concat(i))||o;n+='")})),n},e.prototype.render=function(){var t=this,e=t.em,n=t.ppfx,r=t.$el,o=t.el,i=e&&e.t&&e.t("deviceManager.device");return r.html(this.template({ppfx:n,label:i})),this.devicesEl=r.find(".".concat(n,"devices")),this.devicesEl.append(this.getOptions()),this.devicesEl.val(e.get("device")),o.className="".concat(n,"devices-c"),this},e}(d.Ss);const P=k;var j,N=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),L=function(){return L=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0&&this.head.splice(o,1)},e.prototype.addLink=function(t){var e="link";!this.getHeadByAttr("href",t,e)&&this.addHeadItem({tag:e,attributes:{href:t,rel:"stylesheet"}})},e.prototype.removeLink=function(t){this.removeHeadByAttr("href",t,"link")},e.prototype.addScript=function(t){var e="script";!this.getHeadByAttr("src",t,e)&&this.addHeadItem({tag:e,attributes:{src:t}})},e.prototype.removeScript=function(t){this.removeHeadByAttr("src",t,"script")},e.prototype.getPage=function(){var t;return null===(t=this.collection)||void 0===t?void 0:t.page},e.prototype._emitUpdated=function(t){void 0===t&&(t={}),this.em.trigger("frame:updated",X({frame:this},t))},e.prototype.hasAutoHeight=function(){return!("auto"!==this.attributes.height&&!this.config.infiniteCanvas)},e.prototype.toJSON=function(t){void 0===t&&(t={});var e=E.A.prototype.toJSON.call(this,t),n=(0,i.result)(this,"defaults");return t.fromUndo&&delete e.component,delete e.styles,delete e.changesCount,e[Q]&&delete e.width,e[J]&&delete e.height,e.refFrame&&(e.refFrame=e.refFrame.id,delete e.component),(0,i.forEach)(e,(function(t,n){0===n.indexOf("_")&&delete e[n]})),(0,i.forEach)(n,(function(t,n){e[n]===t&&delete e[n]})),(0,i.forEach)(["attributes","head"],(function(t){(0,i.isEmpty)(e[t])&&delete e[t]})),e},e}(E.A);const nt=et;var rt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const ot=function(t){function e(e,n){void 0===n&&(n=[]);var r=t.call(this,e,n,nt)||this;return r.loadedItems=0,r.itemsToLoad=0,(0,i.bindAll)(r,"itemLoaded"),r.on("add",r.onAdd),r.on("reset",r.onReset),r.on("remove",r.onRemove),r.forEach((function(t){return r.onAdd(t)})),r}return rt(e,t),e.prototype.onAdd=function(t){this.module.framesById[t.id]=t},e.prototype.onReset=function(t,e){var n=this;((null==e?void 0:e.previousModels)||[]).map((function(t){return n.onRemove(t)}))},e.prototype.onRemove=function(t){t.onRemove(),delete this.module.framesById[t.id]},e.prototype.initRefs=function(){this.forEach((function(t){return t.initRefs()}))},e.prototype.itemLoaded=function(){this.loadedItems++,this.loadedItems>=this.itemsToLoad&&(this.trigger("loaded:all"),this.listenToLoadItems(!1))},e.prototype.listenToLoad=function(){this.loadedItems=0,this.itemsToLoad=this.length,this.listenToLoadItems(!0)},e.prototype.listenToLoadItems=function(t){var e=this;this.forEach((function(n){return n[t?"on":"off"]("loaded",e.itemLoaded)}))},e}(K);var it=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),at=function(t){function e(e){var n=this,r=e.em,o=e.config,i=o.scripts,a=o.styles;return(n=t.call(this,e,{scripts:i,styles:a})||this).set("frames",new ot(e)),n.on("change:zoom",n.onZoomChange),n.on("change:x change:y",n.onCoordsChange),n.on("change:pointer change:pointerScreen",n.onPointerChange),n.listenTo(r,"change:device ".concat(M),n.updateDevice),n.listenTo(r,W.select,n._pageUpdated),n}return it(e,t),e.prototype.defaults=function(){return{frame:"",frames:[],rulers:!1,zoom:100,x:0,y:0,scripts:[],styles:[],pointer:d.lK,pointerScreen:d.lK}},Object.defineProperty(e.prototype,"frames",{get:function(){return this.get("frames")},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this.em.Pages._initPage();this.set("frames",t.getFrames()),this.updateDevice({frame:t.getMainFrame()})},e.prototype._pageUpdated=function(t,e){var n=this.em;n.setSelected(),n.get("readyCanvas")&&n.stopDefault(),null==e||e.getFrames().map((function(t){return t.disable()})),this.set("frames",t.getFrames()),this.updateDevice({frame:t.getMainFrame()})},e.prototype.updateDevice=function(t){void 0===t&&(t={});var e=this.em,n=e.getDeviceModel(),r=t.frame||e.getCurrentFrameModel();if(r&&n){var o=n.attributes,i=o.width,a=o.height;r.set({width:i,height:a},{noUndo:1})}},e.prototype.onZoomChange=function(){var t=this.em,e=this.module;this.get("zoom")<1&&this.set("zoom",1),t.trigger(e.events.zoom)},e.prototype.onCoordsChange=function(){var t=this.em,e=this.module;t.trigger(e.events.coords)},e.prototype.onPointerChange=function(){var t=this.em,e=this.module;t.trigger(e.events.pointer)},e.prototype.getPointerCoords=function(t){void 0===t&&(t=d.x2.World);var e=this.attributes,n=e.pointer,r=e.pointerScreen;return t===d.x2.World?n:r},e}(E.A);const st=at;var lt=r(2820),ct=r(3172),ut=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pt=function(t){function e(e,n){void 0===n&&(n=[]);var r=t.call(this,e,n,lt.A)||this;r.on("add",r.onAdd),r.on("change",r.onChange),r.on("remove",r.onRemove);var o=r.em;r.refreshDbn=(0,i.debounce)((function(){return r.refresh()}),0);var a="component:resize styleable:change component:input ".concat(ct.I.update," frame:updated undo redo");return r.listenTo(o,a,(function(){return r.refreshDbn()})),r}return ut(e,t),Object.defineProperty(e.prototype,"em",{get:function(){return this.module.em},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){return this.module.events},enumerable:!1,configurable:!0}),e.prototype.refresh=function(){var t=this.em,e=this.events;t.trigger(e.spot)},e.prototype.onAdd=function(t){this.__trgEvent(this.events.spotAdd,{spot:t})},e.prototype.onChange=function(t){this.__trgEvent(this.events.spotUpdate,{spot:t})},e.prototype.onRemove=function(t){this.__trgEvent(this.events.spotRemove,{spot:t})},e.prototype.__trgEvent=function(t,e){this.module.em.trigger(t,e),this.refreshDbn()},e}(K);const dt=pt;var ft;!function(t){t.dragEnter="canvas:dragenter",t.dragOver="canvas:dragover",t.dragEnd="canvas:dragend",t.dragData="canvas:dragdata",t.drop="canvas:drop",t.spot="canvas:spot",t.spotAdd="canvas:spot:add",t.spotUpdate="canvas:spot:update",t.spotRemove="canvas:spot:remove",t.coords="canvas:coords",t.zoom="canvas:zoom",t.pointer="canvas:pointer",t.refresh="canvas:refresh",t.frameLoad="canvas:frame:load",t.frameLoadHead="canvas:frame:load:head",t.frameLoadBody="canvas:frame:load:body"}(ft||(ft={}));const ht=ft;var gt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),mt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return gt(e,t),Object.defineProperty(e.prototype,"pfx",{get:function(){return this.ppfx+this.config.stylePrefix||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ppfx",{get:function(){return this.em.config.stylePrefix||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"module",{get:function(){var t,e;return null!==(e=null===(t=this.model)||void 0===t?void 0:t.module)&&void 0!==e?e:this.collection.module},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"em",{get:function(){return this.module.em},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return this.module.config},enumerable:!1,configurable:!0}),e.prototype.preinitialize=function(t){this.className=""},e}(d.Ss);const vt=mt;var yt=r(2097),bt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const _t=function(t){function e(e,n){void 0===e&&(e={}),void 0===n&&(n=!1);var r=t.call(this,e)||this;return r.itemsView="",r.itemType="type",r.reuseView=!1,r.viewCollection=[],n&&r.listenTo(r.collection,"add",r.addTo),r}return bt(e,t),e.prototype.addTo=function(t){this.add(t)},e.prototype.itemViewNotFound=function(t){},e.prototype.add=function(t,e){var n,r=this.reuseView,o=this.viewCollection,i=e||null,a=t.get(this.itemType);n=t.view&&r?t.view:this.renderView(t,a),o.push(n);var s=n.render().el;i?i.appendChild(s):this.$el.append(s)},e.prototype.render=function(){var t=this,e=document.createDocumentFragment();return this.clearItems(),this.$el.empty(),this.collection.length&&this.collection.each((function(n){return t.add(n,e)})),this.$el.append(e),this.onRender(),this},e.prototype.onRender=function(){},e.prototype.onRemoveBefore=function(t,e){},e.prototype.onRemove=function(t,e){},e.prototype.remove=function(t){void 0===t&&(t={});var e=this.viewCollection;return this.onRemoveBefore(e,t),this.clearItems(),d.Ss.prototype.remove.apply(this,t),this.onRemove(e,t),this},e.prototype.clearItems=function(){this.viewCollection},e}(vt);var wt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const Et=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;n.config=e.config||{};var r=n.model;return n.listenTo(r,"change",n.render),n.listenTo(r,"destroy remove",n.remove),n.listenTo(r.get("selectors"),"change",n.render),r.setView(n),n}return wt(e,t),Object.defineProperty(e.prototype,"frameView",{get:function(){return this.config.frameView},enumerable:!1,configurable:!0}),e.prototype.remove=function(){return t.prototype.remove.call(this),this.model.removeView(this),this},e.prototype.updateStyles=function(){this.render()},e.prototype.tagName=function(){return"style"},e.prototype.render=function(){var t=this.model,e=this.el,n=t.get("important");return e.innerHTML=t.toCSS({important:n}),this},e}(d.Ss);var xt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const Ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xt(e,t),e.prototype._createElement=function(){return document.createTextNode("")},e.prototype.render=function(){var t=this.model,e=t.get("important");return this.el.textContent=t.getDeclaration({important:e}),this},e}(Et);var Tt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),At=function(t,e){return"".concat(t).concat(e?"-".concat(parseFloat(e)):"")},Ot=function(t){function e(e){var n=t.call(this,e)||this;(0,i.bindAll)(n,"sortRules");var r=e.config||{};n.atRules={},n.config=r,n.em=r.em,n.pfx=r.stylePrefix||"",n.className=n.pfx+"rules";var o=n.collection;return n.listenTo(o,"add",n.addTo),n.listenTo(o,"reset",n.render),n}return Tt(e,t),e.prototype.addTo=function(t){this.addToCollection(t)},e.prototype.addToCollection=function(t,e){if(this.renderStarted){var n,r,o=e||null,i={model:t,config:this.config};if("keyframes"===t.get("atRuleType")){var a=t.getAtRule(),s=this.atRules[a];if(!s){var l=document.createElement("style");s=document.createTextNode(""),l.appendChild(document.createTextNode("".concat(a,"{"))),l.appendChild(s),l.appendChild(document.createTextNode("}")),this.atRules[a]=s,n=l}r=new Ct(i),s.appendData(r.render().el.textContent)}else n=(r=new Et(i)).render().el;var c=this.className,u=t.get("mediaText"),p=At(c),d=p;if(u&&(d=At(c,this.getMediaWidth(u))),n){var f=o||this.el,h=void 0;try{h=f.querySelector("#".concat(d))}catch(t){}h||(h=f.querySelector("#".concat(p))),null==h||h.appendChild(n)}return n}},e.prototype.getMediaWidth=function(t){return t&&t.replace("(".concat(this.em.getConfig().mediaCondition,": "),"").replace(")","")},e.prototype.sortRules=function(t,e){var n=-1!==(this.em.getConfig().mediaCondition||"").indexOf("min-width");return n?(n?t:e)-(n?e:t):0},e.prototype.render=function(){var t=this;this.renderStarted=!0,this.atRules={};var e=this,n=e.em,r=e.$el,o=e.collection,i=this.className,a=document.createDocumentFragment();r.empty();var s=n.Devices.getAll().pluck("priority").sort(this.sortRules);return s.every((function(t){return t}))&&s.unshift(0),s.forEach((function(t){return a.appendChild((0,yt.a_)("div",{id:At(i,t)}))})),o.each((function(e){return t.addToCollection(e,a)})),r.append(a),r.attr("class",i),this},e}(d.Ss);const St=Ot;var kt,Pt="text/html",jt=Pt;!function(t){t.html="parse:html",t.htmlRoot="parse:html:root",t.css="parse:css",t.all="parse"}(kt||(kt={}));var Nt=function(){return Nt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;){var n=t.indexOf("/*"),r=t.indexOf("*/")+2;t=t.replace(t.slice(n,r),"")}for(var o=t.split(";"),a=0,s=o.length;a"!=="".concat(t.outerHTML).slice(-2)||(a.void=!0),i&&!a.components&&!n.skipChildren){var c=o[0];1===i&&3===c.nodeType?(!a.type&&(a.type="text"),a.components={type:"textnode",content:c.nodeValue}):a.components=this.parseNodes(t,Nt(Nt({},n),{inSvg:n.inSvg||"svg"===a.type}))}var u=a.components;if(!a.type&&(null==u?void 0:u.length)){for(var p=e.textTypes,d=void 0===p?[]:p,f=e.textTags,h=void 0===f?[]:f,g=!0,m=!1,v=0;v".concat(t,""),l=r.parseFromString(s,o);if(a){if(e.asDocument)return l;var c=l.head,u=l.body,p=c.querySelectorAll("script");(0,i.each)(p,(function(t){return u.appendChild(t)}));var d=[];(0,i.each)(c.children,(function(t){return d.push(t)})),(0,i.each)(d,(function(t,e){return u.insertBefore(t,u.children[e])})),n=u}else n=l.firstChild;return n}(y,g),_=b,w=b;v&&(_=w.documentElement,d.doctype=(0,yt.LJ)(w.doctype));var E=_.querySelectorAll("script"),x=E.length;if(!((0,i.isUndefined)(p.allowScripts)?g.allowScripts:p.allowScripts))for(;x--;)null===(s=E[x].parentNode)||void 0===s||s.removeChild(E[x]);if(g.allowUnsafeAttr&&g.allowUnsafeAttrValue||this.__sanitizeNode(_,g),r){for(var C=_.querySelectorAll("style"),T=C.length,A="";T--;)A=C[T].innerHTML+A,null===(l=C[T].parentNode)||void 0===l||l.removeChild(C[T]);A&&(d.css=r.parse(A))}null===(c=null==t?void 0:t.Parser)||void 0===c||c.__emitEvent(kt.htmlRoot,{input:y,root:_});var O=[];if(v)d.head=this.parseNode(w.head,f),d.root=this.parseNodeAttr(_),O=this.parseNode(w.body,f);else{var S=this.parseNodes(_,f);O=1!==S.length||f.returnArray?S:S[0]}return d.html=O,null===(u=null==t?void 0:t.Parser)||void 0===u||u.__emitEvent(kt.html,{input:y,output:d,options:g}),d},__sanitizeNode:function(t,e){var n=this,r=t.attributes||[],o=t.childNodes||[],a=[];(0,i.each)(r,(function(t){var n=t.nodeName||"",r=t.nodeValue||"";!e.allowUnsafeAttr&&n.startsWith("on")&&a.push(n),!e.allowUnsafeAttrValue&&r.startsWith("javascript:")&&a.push(n)})),a.map((function(e){return t.removeAttribute(e)})),(0,i.each)(o,(function(t){return n.__sanitizeNode(t,e)}))},__checkAsDocument:function(t,e){return(0,a.isDef)(e.asDocument)?e.asDocument:(0,i.isFunction)(e.detectDocument)?!!e.detectDocument(t):e.detectDocument?t.toLowerCase().trim().startsWith("",t.lessThan="<",t.greaterThanOrEqual=">=",t.lessThanOrEqual="<=",t.equals="=",t.notEquals="!="}(Jt||(Jt={}));var ne,re=function(t){function e(e){var n=t.call(this)||this;return n.operator=e,n}return ee(e,t),e.prototype.evaluate=function(t,e){switch(this.operator){case Jt.greaterThan:return t>e;case Jt.lessThan:return t=e;case Jt.lessThanOrEqual:return t<=e;case Jt.equals:return t===e;case Jt.notEquals:return t!==e;default:throw new Error("Unsupported number operator: ".concat(this.operator))}},e}(Kt),oe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();!function(t){t.contains="contains",t.startsWith="startsWith",t.endsWith="endsWith",t.matchesRegex="matchesRegex",t.equalsIgnoreCase="equalsIgnoreCase",t.trimEquals="trimEquals"}(ne||(ne={}));var ie=function(t){function e(e){var n=t.call(this)||this;return n.operator=e,n}return oe(e,t),e.prototype.evaluate=function(t,e){switch(this.operator){case ne.contains:return t.includes(e);case ne.startsWith:return t.startsWith(e);case ne.endsWith:return t.endsWith(e);case ne.matchesRegex:if(!e)throw new Error("Regex pattern must be provided.");return new RegExp(e).test(t);case ne.equalsIgnoreCase:return t.toLowerCase()===e.toLowerCase();case ne.trimEquals:return t.trim()===e.trim();default:throw new Error("Unsupported string operator: ".concat(this.operator))}},e}(Kt),ae=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),se=function(t){function e(e,n){var r=t.call(this,e)||this;return r.condition=e,r.em=n.em,r}return ae(e,t),e.prototype.evaluate=function(){return this.evaluateCondition(this.condition)},e.prototype.evaluateCondition=function(t){if("boolean"==typeof t)return t;if(this.isLogicGroup(t)){var e=t.logicalOperator,n=t.statements,r=new te(e);return new Yt(r,n,{em:this.em}).evaluate()}if(this.isExpression(t)){var o=t.left,i=(r=t.operator,t.right),a=zt(o,this.em),s=zt(i,this.em);return this.getOperator(a,r).evaluate(a,s)}throw new Error("Invalid condition type.")},e.prototype.getOperator=function(t,e){if(this.isOperatorInEnum(e,Gt))return new Zt(e);if("number"==typeof t)return new re(e);if("string"==typeof t)return new ie(e);throw new Error("Unsupported data type: ".concat(typeof t))},e.prototype.getDataVariables=function(){var t=[];return this.extractVariables(this.condition,t),t},e.prototype.extractVariables=function(t,e){var n=this;this.isExpression(t)?(qt(t.left)&&e.push(t.left),qt(t.right)&&e.push(t.right)):this.isLogicGroup(t)&&t.statements.forEach((function(t){return n.extractVariables(t,e)}))},e.prototype.isLogicGroup=function(t){return t&&void 0!==t.logicalOperator&&Array.isArray(t.statements)},e.prototype.isExpression=function(t){return t&&void 0!==t.left&&"string"==typeof t.operator},e.prototype.isOperatorInEnum=function(t,e){return Object.values(e).includes(t)},e}(d.Kx),le=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ce="conditional-variable",ue=function(t){function e(e,n,r,o){var i=this;if(void 0===e)throw new pe;var a=new se(e,{em:o.em});return(i=t.call(this,{type:ce,condition:a,ifTrue:n,ifFalse:r})||this).ifTrue=n,i.ifFalse=r,i.variableListeners=[],i.condition=a,i.em=o.em,i.lastEvaluationResult=i.evaluate(),i.listenToDataVariables(),i._onValueChange=o.onValueChange,i}return le(e,t),e.prototype.evaluate=function(){return this.condition.evaluate()},e.prototype.getDataValue=function(){return this.lastEvaluationResult?zt(this.ifTrue,this.em):zt(this.ifFalse,this.em)},e.prototype.reevaluate=function(){this.lastEvaluationResult=this.evaluate()},Object.defineProperty(e.prototype,"onValueChange",{set:function(t){this._onValueChange=t,this.listenToDataVariables()},enumerable:!1,configurable:!0}),e.prototype.listenToDataVariables=function(){var t=this;this.em&&(this.cleanupListeners(),this.getDependentDataVariables().forEach((function(e){var n=new Mt(e,{em:t.em}),r=new fe({em:t.em,dataVariable:n,updateValueFromDataVariable:function(){var e;t.reevaluate(),null===(e=t._onValueChange)||void 0===e||e.call(t)}.bind(t)});t.variableListeners.push(r)})))},e.prototype.getDependentDataVariables=function(){var t=this.condition.getDataVariables();return qt(this.ifTrue)&&t.push(this.ifTrue),qt(this.ifFalse)&&t.push(this.ifFalse),t},e.prototype.cleanupListeners=function(){this.variableListeners.forEach((function(t){return t.destroy()})),this.variableListeners=[]},e.prototype.toJSON=function(){return{type:ce,condition:this.condition,ifTrue:this.ifTrue,ifFalse:this.ifFalse}},e}(d.Kx),pe=function(t){function e(){return t.call(this,"No condition was provided to a conditional component.")||this}return le(e,t),e}(Error),de=function(){function t(t){var e=this;this.dataListeners=[],this.model=new d.Kx,this.onChange=function(){var t=e.dynamicVariable.getDataValue();e.updateValueFromDynamicVariable(t)},this.em=t.em,this.dynamicVariable=t.dataVariable,this.updateValueFromDynamicVariable=t.updateValueFromDataVariable,this.listenToDynamicVariable()}return t.prototype.listenToDynamicVariable=function(){var t=this,e=this.em,n=this.dynamicVariable;this.removeListeners();var r=[];switch(n.get("type")){case It:r=this.listenToDataVariable(n,e);break;case ce:r=this.listenToConditionalVariable(n,e)}r.forEach((function(e){return t.model.listenTo(e.obj,e.event,t.onChange)})),this.dataListeners=r},t.prototype.listenToConditionalVariable=function(t,e){var n=this;return t.getDependentDataVariables().flatMap((function(t){return n.listenToDataVariable(new Mt(t,{em:n.em}),e)}))},t.prototype.listenToDataVariable=function(t,e){var n=[],r=t.attributes.path,o=(0,a.stringToPath)(r||"").join("."),i=this.em.DataSources.fromPath(r),s=i[0],l=i[1];return s&&n.push({obj:s.records,event:"add remove reset"}),l&&n.push({obj:l,event:"change"}),n.push({obj:t,event:"change:path change:defaultValue"},{obj:e.DataSources.all,event:"add remove reset"},{obj:e,event:"".concat(Ht.path,":").concat(o)}),n},t.prototype.removeListeners=function(){var t=this;this.dataListeners.forEach((function(e){return t.model.stopListening(e.obj,e.event,t.onChange)})),this.dataListeners=[]},t.prototype.destroy=function(){this.removeListeners()},t}();const fe=de;var he=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge=function(){return ge=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0:r;if("__"===t.substring(0,2))return"continue";var a=n[t];((0,i.isArray)(a)?a:[a]).forEach((function(n){var r="".concat(n).concat(o?" !important":"");r&&e.push("".concat(t,":").concat(r,";"))}))};for(var a in n)o(a);return e.join("")},e.prototype.getSelectors=function(){return this.get("selectors")||this.get("classes")},e.prototype.getSelectorsString=function(t){return this.selectorsToString?this.selectorsToString(t):this.getSelectors().getFullString()},e}(d.Kx);const be=ye;var _e=function(){return _e=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0}))},Pe=function(t,e){void 0===e&&(e={});var n=[],r=e.changed;if(e.fromInstance||e.noPropagate||e.fromUndo||r&&ke(t,r))return n;var o=Se(t)||[],i=Oe(t);return(i?we([i],Se(i)||[],!0):o).filter((function(e){return e!==t})).filter((function(t){return!(r&&ke(t,r))}))},je=function(t,e){for(var n=t,r=t.parent(e);r&&Ce(r);)n=r,r=r.parent(e);return n},Ne=function(t,e){void 0===e&&(e={});var n=Oe(t),r=n&&Se(n);!e.skipRefs&&r&&n.set(An,r.filter((function(e){return e!==t}))),t.set(On,0),t.components().forEach((function(t){return Ne(t,e)}))},Le=function(t,e,n,r){void 0===r&&(r={});var o=Oe(t),i=Se(t);(o||i)&&t.em.log(e,{model:t,toUp:n,context:"symbols",opts:r})},De=function(t,e,n,r){var o=r||n||{},i={fromInstance:o.fromInstance,fromUndo:o.fromUndo},a=e.opt.temporary;if(r)if(r.add){var s=[],l=!!Se(t);if((y=Pe(t,_e(_e({},i),{changed:"components:add"}))).length){var c=Oe(e);s=Se(c||e)||[],(s=we([],s,!0)).push(c||e)}!a&&Le(t,"add",y,{opts:r,addedInstances:s.map((function(t){return t.cid})),added:e.cid}),y.forEach((function(n){var o=je(n),i=s.filter((function(t){var e=je(t,{prev:1});return o&&e&&e===o}))[0]||e.clone({symbol:!0,symbolInv:l});n.append(i,_e({fromInstance:t},r))}))}else{var u=Oe(e);if(u&&!r.temporary&&u.set(An,Se(u).filter((function(t){return t!==e}))),!Te(e)&&!r.skipRefsUp){var p="components:remove",d=r.index,f=e.parent(),h=_e({fromInstance:e},r),g=Te(e),m=function(t){var e=t.parent();e&&!ke(e,p)&&t.remove(h)};y=ke(f,p)?[]:Pe(e,i),g&&(y=f&&Pe(f,_e(_e({},i),{changed:p})),m=function(t){var e=t.components().at(d);e&&e.remove(_e({fromInstance:f},h))}),!a&&Le(t,"remove",y,{opts:r,removed:e.cid,isSymbNested:g}),y.forEach(m)}}else{var v=e,y=Pe(t,_e(_e({},i),{changed:"components:reset"})),b=v.models,_=new Set;Le(t,"reset",y,{components:b}),y.forEach((function(e){var r=e.components(),o=b.map((function(t,e){return!Ce(t)||_.has(t)?(_.add(t),t.clone({symbol:!0})):r.at(e)}));r.reset(o,_e({fromInstance:t},n))}))}t.__changesUp(o)},Ie=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Re=function(){return Re=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0}));e.keepIds=(e.keepIds||[]).concat(s),i.forEach((function(t){return n.removeChildren(t,r,e)})),t.each((function(t){return n.onAdd(t)}))},e.prototype.resetFromString=function(t,e){var n,r;void 0===t&&(t=""),void 0===e&&(e={}),e.keepIds=Fe(this);var o=this,i=o.domc,a=o.em,s=o.parent,l=null==a?void 0:a.Css,c=(null==i?void 0:i.allById())||{},u=this.parseString(t,e),p=Ue(u,c,e),d=e.visitedCmps,f=void 0===d?{}:d;Object.keys(f).forEach((function(t){var e=f[t];if(e.length){var n=(null==l?void 0:l.getRules("#".concat(t)))||[];n.length&&e.forEach((function(t){n.forEach((function(e){var n=e.clone();n.set("selectors",["#".concat(t.attributes.id)]),l.getAll().add(n)}))}))}})),this.reset(p,e),null==a||a.trigger("component:content",s,e,t),null===(r=(n=s).__checkInnerChilds)||void 0===r||r.call(n)},e.prototype.removeChildren=function(t,e,n){var r=this;if(void 0===n&&(n={}),t){var o=this.domc,i=this.em,a=n.temporary||n.fromUndo;if(t.prevColl=this,!a){var s=t.getId(),l=i.Selectors.getAll(),c=i.Css.getAll(),u=(n.keepIds||[]).indexOf(s)<0;delete(o?o.allById():{})[s];var p=u?c.remove(c.filter((function(t){return t.getSelectors().getFullString()==="#".concat(s)})),n):[];l.remove(p.map((function(t){return t.getSelectors().at(0)}))),t.opt.temporary||(i.Commands.run("core:component-style-clear",{target:t}),t.views.forEach((function(e){e.scriptContainer&&t.emitWithEitor(ct.I.scriptUnmount,{component:t,view:e,el:e.el})})),t.removed(),t.trigger("removed"),i.trigger(ct.I.remove,t),o&&xe(t)&&Te(t)&&o.symbols.__trgEvent(o.events.symbolInstanceRemove,{component:t},!0));var d=t.components();d.forEach((function(t){De(t,t,d,Re(Re({},n),{skipRefsUp:!0})),r.removeChildren(t,e,n)}))}var f=t.components();i.stopListening(f),i.stopListening(t),i.stopListening(t.get("classes")),t.__postRemove()}},e.prototype.model=function(t,e){var n,r=e.collection.opt,o=r.em,i=o.Components.componentTypes;e.em=o,e.config=r.config,e.componentTypes=i,e.domc=r.domc;for(var a=0;a=0&&o.set("void",!0),r.em=a,o.opt=r,o.em=a,o.config=r.config||{},o.setAttributes(wn(wn({},(0,i.result)(o,"defaults").attributes||{}),o.get("attributes")||{})),o.ccid=e.createId(o,r),o.preInit(),o.initClasses(),o.initComponents(),o.initTraits(),o.initToolbar(),o.initScriptProps(),o.listenTo(o,"change:script",o.scriptUpdated),o.listenTo(o,"change:tagName",o.tagUpdated),o.listenTo(o,"change:attributes",o.attrUpdated),o.listenTo(o,"change:attributes:id",o._idUpdated),o.on("change:toolbar",o.__emitUpdateTlb),o.on("change",o.__onChange),o.on(Pn,o.__propToParent),o.set("status",""),o.views=[],["classes","traits","components"].forEach((function(t){var e="add remove ".concat("components"!==t?"change":"");o.listenTo(o.get(t),e.trim(),(function(){for(var e=[],n=0;n").concat(o);return!i&&(a+="")),a},e.prototype.getInnerHTML=function(t){return this.__innerHTML(t)},e.prototype.__innerHTML=function(t){void 0===t&&(t={});var e=this.components();return e.length?e.map((function(e){return e.toHTML(t)})).join(""):this.content},e.prototype.__attrToString=function(t){void 0===t&&(t={});var e=[],n=t.attributes,r=this.getAttrToHTML(t);if(n&&((0,i.isFunction)(n)?r=n(this,r)||{}:(0,a.isObject)(n)&&(r=n)),t.withProps){var o=this.toJSON();(0,i.forEach)(o,(function(t,e){"_"!==e[0]&&["classes","attributes","components"].indexOf(e)<0&&(r["data-gjs-".concat(e)]=(0,i.isArray)(t)||(0,a.isObject)(t)?JSON.stringify(t):(0,i.isBoolean)(t)?"".concat(t):t)}))}for(var s in r){var l=r[s];if(!(0,i.isUndefined)(l)&&null!==l)if((0,i.isBoolean)(l))l&&e.push(s);else{var c="";if(t.altQuoteAttr&&(0,i.isString)(l)&&l.indexOf('"')>=0)c="'".concat(l.replace(/'/g,"'"),"'");else{var u=(0,i.isString)(l)?l.replace(/"/g,"""):l;c='"'.concat(u,'"')}e.push("".concat(s,"=").concat(c))}}return e.join(" ")},e.prototype.getAttrToHTML=function(t){var e=this.getAttributes();return Cn(this.em)&&!0!==(null==t?void 0:t.keepInlineStyle)&&delete e.style,e},e.prototype.toJSON=function(t){void 0===t&&(t={});var e=c.Model.prototype.toJSON.call(this,t);if((e=wn(wn({},e),this.componentDVListener.getDynamicPropsDefs())).attributes=this.componentDVListener.getAttributesDefsOrValues(this.getAttributes()),delete e.componentDVListener,delete e.attributes.class,delete e.toolbar,delete e.traits,delete e.status,delete e.open,delete e._undoexc,delete e.delegate,!t.fromUndo){var n=e[On],r=e[An];r&&(0,i.isArray)(r)&&(e[An]=r.filter((function(t){return t})).map((function(t){return t.getId?t.getId():t}))),n&&!(0,i.isString)(n)&&(e[On]=n.getId())}return this.em.getConfig().avoidDefaults&&this.getChangedProps(e),e},e.prototype.getChangedProps=function(t){var e=t||c.Model.prototype.toJSON.apply(this),n=(0,i.result)(this,"defaults");return(0,i.forEach)(n,(function(t,n){-1===["type"].indexOf(n)&&e[n]===t&&delete e[n]})),(0,i.isEmpty)(e.type)&&delete e.type,(0,i.forEach)(["attributes","style"],(function(t){(0,i.isEmpty)(n[t])&&(0,i.isEmpty)(e[t])&&delete e[t]})),(0,i.forEach)(["classes","components"],(function(t){(!e[t]||(0,i.isEmpty)(n[t])&&!e[t].length)&&delete e[t]})),e},e.prototype.getId=function(){return(this.get("attributes")||{}).id||this.ccid||this.cid},e.prototype.setId=function(t,e){var n=wn({},this.get("attributes"));return n.id=t,this.set("attributes",n,e),this},e.prototype.getEl=function(t){var e=this.getView(t);return e&&e.el},e.prototype.getView=function(t){var e=this,n=e.view,r=e.views,o=e.em,i=t||(null==o?void 0:o.getCurrentFrameModel());return i&&(n=r.filter((function(t){return t.frameView===i.view}))[0]),n},e.prototype.getCurrentView=function(){var t=this.em.getCurrentFrame(),e=null==t?void 0:t.model;return this.getView(e)},e.prototype.__getScriptProps=function(){var t=this.props();return(this.get("script-props")||[]).reduce((function(e,n){return e[n]=t[n],e}),{})},e.prototype.getScriptString=function(t){var e=this,n=t||this.get("script")||"";if(!n)return n;if(this.get("script-props"))n=n.toString().trim();else{if((0,i.isFunction)(n)){var r=n.toString().trim();n=(r=r.slice(r.indexOf("{")+1,r.lastIndexOf("}"))).trim()}var o=this.em.getConfig(),a=xn(o.tagVarStart||"{[ "),s=xn(o.tagVarEnd||" ]}"),l=new RegExp("".concat(a,"([\\w\\d-]*)").concat(s),"g");n=n.replace(l,(function(t,n){e.scriptUpdated();var r=e.attributes[n]||"";return(0,i.isArray)(r)||"object"==typeof r?JSON.stringify(r):r}))}return n},e.prototype.emitUpdate=function(t){for(var e,n=[],r=1;r=0&&this.__propSelfToParent({component:this,changed:(e={},e[t]=a,e),options:n[2]||n[1]||{}})},e.prototype.emitWithEitor=function(t,e){[this.em,this].forEach((function(n){return null==n?void 0:n.trigger(t,e)}))},e.prototype.onAll=function(t){return(0,i.isFunction)(t)&&(t(this),this.components().forEach((function(e){return e.onAll(t)}))),this},e.prototype.forEachChild=function(t){(0,i.isFunction)(t)&&this.components().forEach((function(e){t(e),e.forEachChild(t)}))},e.prototype.remove=function(t){var e=this;void 0===t&&(t={});var n=this.em,r=this.collection,o=function(){r&&r.remove(e,wn({action:ct.t.remove},t)),r||(e.components("",t),e.components().removeChildren(e,void 0,t))},i=wn({},t);return[this,n].map((function(t){return t.trigger(ct.I.removeBefore,e,o,i)})),!i.abort&&o(),this},e.prototype.destroy=function(e){return this.componentDVListener.destroy(),t.prototype.destroy.call(this,e)},e.prototype.move=function(t,e){if(void 0===e&&(e={}),t){var n=e.at,r=this.index(),o=t===this.parent();if(!o||r!==n&&r!==n-1){o&&n&&n>r&&(e.at=n-1);var i=ct.t.move;this.remove({action:i,temporary:1}),t.append(this,wn({action:i},e)),this.emitUpdate()}}return this},e.prototype.isInstanceOf=function(t){var e,n,r=null===(n=null===(e=this.em)||void 0===e?void 0:e.Components.getType(t))||void 0===n?void 0:n.model;if(!r)return!1;var o=this.constructor.typeExtends;return this instanceof r||o.has(t)},e.prototype.isChildOf=function(t){for(var e=(0,i.isString)(t),n=this.parent();n;){if(e){if(n.isInstanceOf(t))return!0}else if(n===t)return!0;n=n.parent()}return!1},e.prototype.resetId=function(t){void 0===t&&(t={});var n=this.em,r=this.getId();if(!r)return this;var o=e.createId(this);this.setId(o);var i=null==n?void 0:n.Css.getIdRule(r),a=null==i?void 0:i.get("selectors").at(0);return null==a||a.set("name",o),this},e.prototype._getStyleRule=function(t){var e=(void 0===t?{}:t).id,n=this.em,r=e||this.getId();return null==n?void 0:n.Css.getIdRule(r)},e.prototype._getStyleSelector=function(t){var e=this._getStyleRule(t);return null==e?void 0:e.get("selectors").at(0)},e.prototype._idUpdated=function(t,n,r){if(void 0===r&&(r={}),!r.idUpdate){var o=this.ccid,i=(this.get("attributes")||{}).id,a=(this.previous("attributes")||{}).id||o,s=e.getList(this);if(s[i]||!i&&a)return this.setId(a,{idUpdate:!0});delete s[a],s[i]=this,this.ccid=i;var l=this._getStyleSelector({id:a});l&&l.set({name:i,label:i})}},e.getDefaults=function(){return(0,i.result)(this.prototype,"defaults")},e.isComponent=function(t,e){return{tagName:(0,a.toLowerCase)(t.tagName)}},e.ensureInList=function(t){var n=e.getList(t),r=t.getId(),o=n[r];if(o){if(o!==t){var i=e.getIncrementId(r,n);t.setId(i),n[i]=t}}else n[r]=t;t.components().forEach((function(t){return e.ensureInList(t)}))},e.createId=function(t,n){void 0===n&&(n={});var r,o=e.getList(t),i=n.idMap,a=void 0===i?{}:i,s=t.get("attributes").id;return s?(r=e.getIncrementId(s,o,n),t.setId(r),s!==r&&(a[s]=r)):r=e.getNewId(o),o[r]=t,r},e.getNewId=function(t){for(var n=Object.keys(t).length.toString().length+2,r=(Math.random()+1.1).toString(36).slice(-n),o="i".concat(r);t[o];)o=e.getNewId(t);return o},e.getIncrementId=function(t,e,n){void 0===n&&(n={});var r=n.keepIds,o=1,i=t;if((void 0===r?[]:r).indexOf(t)<0)for(;e[i];)o++,i="".concat(t,"-").concat(o);return i},e.getList=function(t){var e,n=t.em,r=null==n?void 0:n.Components;return null!==(e=null==r?void 0:r.componentsById)&&void 0!==e?e:{}},e.checkId=function(t,n,r,o){void 0===n&&(n=[]),void 0===r&&(r={}),void 0===o&&(o={});var a=(0,i.isArray)(t)?t:[t],s=o.keepIds,l=void 0===s?[]:s,c=o.idMap,u=void 0===c?{}:c;a.forEach((function(t){t.attributes;var a=t.attributes,s=void 0===a?{}:a,c=t.components,p=s.id;if(p&&r[p]&&l.indexOf(p)<0){var d=e.getIncrementId(p,r);u[p]=d,s.id=d,(0,i.isArray)(n)&&n.forEach((function(t){var e=t.selectors;e.forEach((function(t,n){t==="#".concat(p)&&(e[n]="#".concat(d))}))}))}c&&e.checkId(c,n,r,o)}))},e.typeExtends=new Set,e}(be);const Nn=jn;var Ln=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Dn=function(){return Dn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n";if(i.stopDefault(),i.inAbsoluteMode()){var d=i.Components.getWrapper(),f=d.append({})[0],h=i.Commands.run("core:component-drag",{event:t,guidesInfo:1,center:1,target:f,onEnd:function(t,e,n){var r;if(!n.cancelled&&p){r=d.append(p)[0];var i=a.getOffset(),l=f.getStyle(),c=l.top,u=l.left,h=l.position,g=(0,yt.Xy)(t.target),m=parseInt("".concat(parseFloat(u)+g.x-i.left),10),v=parseInt("".concat(parseFloat(c)+g.y-i.top),10);r.addStyle({left:m+"px",top:v+"px",position:h})}o.handleDragEnd(r,s),f.remove()}});c=function(e){return h.stop(t,{cancel:e})},this.setAbsoluteDragContent=function(t){return p=t}}else{var g=new u.ComponentSorter({em:i,treeClass:qn,containerContext:{container:this.el,containerSel:"*",itemSel:"*",pfx:"gjs-",placeholderElement:a.getPlacerEl(),document:this.el.ownerDocument},dragBehavior:{dragDirection:Fn.A.BothDirections,nested:!0},positionOptions:{windowMargin:1,canvasRelative:!0},eventHandlers:{legacyOnEndMove:this.handleDragEnd}}),m=null===(e=this.getSorterOptions)||void 0===e?void 0:e.call(this,g);m&&(g.eventHandlers.legacyOnStartSort=m.legacyOnStart,g.eventHandlers.legacyOnEnd=m.legacyOnEnd,g.containerContext.customTarget=m.customTarget);var v=null===(n=this.getTempDropModel(p).view)||void 0===n?void 0:n.el,y=v?[{element:v,dragSource:l}]:[];g.startSort(y),this.sorter=g,this.draggedNode=null===(r=g.sourceNodes)||void 0===r?void 0:r[0],c=function(t){t?g.cancelDrag():g.endDrag()}}this.dragStop=c,i.trigger("canvas:dragenter",s,p)}},t.prototype.getTempDropModel=function(t){var e,n=this.em.Components.getComponents(),r={avoidChildren:1,avoidStore:1,avoidUpdateStyle:1},o=n.add(t,zn(zn({},r),{temporary:!0})),i=n.remove(o,zn(zn({},r),{temporary:!0}));return null===(e=(i=i instanceof Array?i[0]:i).view)||void 0===e||e.$el.data("model",i),i},t.prototype.handleDragEnd=function(t,e){var n=this.em;this.over=!1,t&&(n.set("dragResult",t),n.trigger("canvas:drop",e,t)),n.runDefault({preserveSelected:1})},t.prototype.handleDragOver=function(t){t.preventDefault(),this.em.trigger("canvas:dragover",t)},t.prototype.handleDrop=function(t){var e;t.preventDefault();var n=t.dataTransfer,r=this.getContentByData(n).content;this.draggedNode&&(this.draggedNode.content=r),null===(e=this.setAbsoluteDragContent)||void 0===e||e.call(this,r),this.endDrop(!r,t)},t.prototype.getContentByData=function(t){var e=this.em,n=t&&t.types,r=t&&t.files||[],o=e.get("dragSource"),a=t&&t.getData("text");if(r.length){a=[];for(var s=0;s=0)a=t&&t.getData("text/html").replace(/<\/?meta[^>]*>/g,"");else if((0,i.indexOf)(n,"text/uri-list")>=0)a={type:"link",attributes:{href:a},content:a};else if((0,i.indexOf)(n,"text/json")>=0){var u=t&&t.getData("text/json");u&&(a=JSON.parse(u))}else 1===n.length&&"text/plain"===n[0]&&(a="
".concat(a,"
"));var p={content:a};return e.trigger("canvas:dragdata",t,p),p},t}();const Gn=Wn;var Yn=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Kn=function(){return Kn=Object.assign||function(t){for(var e,n=1,r=arguments.length;ns&&(l+=o-s),!(0,i.isUndefined)(t)&&l!==r&&l>0&&l0){var l=e.shift(),u=(0,yt.a_)("script",Kn({type:"text/javascript"},(0,i.isString)(l)?{src:l}:l));null===(r=n.contentDocument)||void 0===r||r.head.appendChild(u),u.hasAttribute("nomodule")&&"noModule"in HTMLScriptElement.prototype?c(e):u.onerror=u.onload=c.bind(null,e)}else null==o||o.trigger(ht.frameLoadHead,s),t.renderBody(),null==o||o.trigger(ht.frameLoadBody,s),null==o||o.trigger(a,s)};n.onload=function(){var e=t.config.frameContent;if(e){var n=t.getDoc();n.open(),n.write(e),n.close()}s.window=t.getWindow(),null==o||o.trigger("".concat(a,":before"),s),null==o||o.trigger(ht.frameLoad,s),t.renderHead(),c(function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o\n ".concat(h.baseCss||i.frameStyle||"","\n\n ").concat(f?"body { overflow: hidden }":"",'\n\n [data-gjs-type="wrapper"] {\n ').concat(f?"":"min-height: 100vh;","\n padding-top: 0.001em;\n }\n\n .").concat(c,"dashed *[data-gjs-highlightable] {\n outline: 1px dashed rgba(170,170,170,0.7);\n outline-offset: -2px;\n }\n\n .").concat(c,"selected {\n outline: 2px solid #3b97e3 !important;\n outline-offset: -2px;\n }\n\n .").concat(c,"selected-parent {\n outline: 2px solid ").concat("#ffca6f"," !important\n }\n\n .").concat(c,"no-select {\n user-select: none;\n -webkit-user-select:none;\n -moz-user-select: none;\n }\n\n .").concat(c,"freezed {\n opacity: 0.5;\n pointer-events: none;\n }\n\n .").concat(c,"no-pointer {\n pointer-events: none;\n }\n\n .").concat(c,"pointer-init {\n pointer-events: initial;\n }\n\n .").concat(c,"plh-image {\n background: #f5f5f5;\n border: none;\n height: 100px;\n width: 100px;\n display: block;\n outline: 3px solid #ffca6f;\n cursor: pointer;\n outline-offset: -2px\n }\n\n .").concat(c,"grabbing {\n cursor: grabbing;\n cursor: -webkit-grabbing;\n }\n\n .").concat(c,"is__grabbing {\n overflow-x: hidden;\n }\n\n .").concat(c,"is__grabbing,\n .").concat(c,"is__grabbing * {\n cursor: grabbing !important;\n }\n\n ").concat(h.canvasCss||"","\n ").concat(h.protectedCss||"","\n "));var g=l.root,m=((null===(t=null==s?void 0:s.Components)||void 0===t?void 0:t.getType("wrapper"))||{}).view;m&&(this.wrapper=new m({model:g,config:Kn(Kn({},g.config),{em:s,frameView:this})}).render(),(0,yt.BC)(p,null===(e=this.wrapper)||void 0===e?void 0:e.el),(0,yt.BC)(p,new St({collection:l.getStyles(),config:Kn(Kn({},s.Css.getConfig()),{frameView:this})}).render().el),(0,yt.BC)(p,this.getJsContainer()),(0,yt.on)(p,"click",(function(t){var e;return t&&"A"==(null===(e=t.target)||void 0===e?void 0:e.tagName)&&t.preventDefault()})),(0,yt.on)(p,"submit",(function(t){return t&&t.preventDefault()})),[{event:"keydown keyup keypress",class:"KeyboardEvent"},{event:"mousedown mousemove mouseup",class:"MouseEvent"},{event:"pointerdown pointermove pointerup",class:"PointerEvent"},{event:"wheel",class:"WheelEvent",opts:{passive:!i.infiniteCanvas}}].forEach((function(t){return t.event.split(" ").forEach((function(e){u.addEventListener(e,(function(e){return r.el.dispatchEvent((0,yt.yL)(e,t.class))}),t.opts)}))})),this._toggleEffects(!0),(0,a.hasDnd)(s)&&(this.droppable=new Gn(s,null===(n=this.wrapper)||void 0===n?void 0:n.el)),this.loaded=!0,l.trigger("loaded"))},e.prototype._toggleEffects=function(t){var e=t?yt.on:yt.AU,n=this.getWindow();n&&e(n,"".concat(yt.D8," resize"),this._emitUpdate)},e.prototype._emitUpdate=function(){this.model._emitUpdated()},e}(vt);const Xn=$n;var Zn=r(5633),Qn=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Jn=function(){return Jn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
\n ').concat(i.get("name")||"",'\n
\n
\n \n
\n \n
\n
\n
\n ')).append(e.el);var l=(0,yt.a_)("div",{class:"".concat(r,"tools"),style:"pointer-events:none; display: none"},'\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n '));this.elTools=l;var c=null==o?void 0:o.toolsWrapper;return c&&c.appendChild(l),s&&s({el:a,elTop:a.querySelector("[data-frame-top]"),elRight:a.querySelector("[data-frame-right]"),elBottom:a.querySelector("[data-frame-bottom]"),elLeft:a.querySelector("[data-frame-left]"),frame:i,frameWrapperView:this,remove:this.remove,startDrag:this.startDrag}),this},e}(vt);const er=tr;var nr=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const rr=function(t){function e(e,n){void 0===e&&(e={});var r=t.call(this,e,!0)||this;return r.listenTo(r.collection,"reset",r.render),r.canvasView=n.canvasView,r._module=n.module,r}return nr(e,t),e.prototype.onRemoveBefore=function(t,e){void 0===e&&(e={}),t.forEach((function(t){return t.remove(e)}))},e.prototype.onRender=function(){var t=this.$el,e=this.ppfx;t.attr({class:"".concat(e,"frames")})},e.prototype.clearItems=function(){(this.viewCollection||[]).forEach((function(t){return t.remove()})),this.viewCollection=[]},e.prototype.renderView=function(t,e){return new er(t,this.canvasView)},e}(_t);var or=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ir=function(){return ir=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
\n \n
\n \n ')},e.prototype._onFramesUpdate=function(){this._initFrames(),this._renderFrames()},e.prototype._initFrames=function(){var t=this,e=t.frames,n=t.model,r=t.config,o=t.em,i=n.frames;o.set("readyCanvas",0),i.once("loaded:all",(function(){return o.set("readyCanvas",1)})),null==e||e.remove(),this.frames=new rr({collection:i},ir(ir({},r),{canvasView:this}))},e.prototype.checkSelected=function(t,e){var n;void 0===e&&(e={});var r=e.scroll,o=this.em.getCurrentFrame();r&&(null===(n=t.views)||void 0===n||n.forEach((function(t){t.frameView===o&&t.scrollIntoView(r)})))},e.prototype.remove=function(){for(var t,e=[],n=0;n=T?T/2-x/2:-w)+w)*k,y:(-m.y+A/2-C/2+E)*k};if(y){var N=s.getZoomMultiplier(),L=(A*N-A)/2;j.y=(-m.y+E)*k-L/N}s.setCoords(j.x,j.y)},e.prototype.isElInViewport=function(t){var e=(0,a.getElement)(t),n=(0,yt.C8)(e),r=this.getFrameOffset(e),o=n.top,i=n.left;return o>=0&&i>=0&&o<=r.height&&i<=r.width},e.prototype.offset=function(t,e){void 0===e&&(e={});var n=e.noScroll,r=(0,yt.C8)(t),o=n?{x:0,y:0}:(0,yt.Xy)(t);return{top:r.top+o.y,left:r.left+o.x,width:r.width,height:r.height}},e.prototype.getRectToScreen=function(t){var e,n,r,o,i=this.module.getZoomDecimal(),a=this.module.getCoords(),s=this.getViewportDelta();return{x:(null!==(e=t.x)&&void 0!==e?e:0)*i+a.x+s.x||0,y:(null!==(n=t.y)&&void 0!==n?n:0)*i+a.y+s.y||0,width:(null!==(r=t.width)&&void 0!==r?r:0)*i,height:(null!==(o=t.height)&&void 0!==o?o:0)*i}},e.prototype.getElBoxRect=function(t,e){var n,r,o;void 0===e&&(e={});var i=this.module,s=(0,yt.C8)(t),l=s.width,c=s.height,u=s.left,p=s.top,d=null===(n=(0,a.getComponentView)(t))||void 0===n?void 0:n.frameView,f=null==d?void 0:d.getBoxRect(),h=i.getZoomMultiplier(),g=null!==(r=null==f?void 0:f.x)&&void 0!==r?r:0,m=null!==(o=null==f?void 0:f.y)&&void 0!==o?o:0,v=this.el,y=(0,yt.Xy)(),b={x:u+g+(v.scrollLeft+y.x)*h,y:p+m+(v.scrollTop+y.y)*h,width:l,height:c};return e.local&&(b.x=u,b.y=p),e.toScreen?this.getRectToScreen(b):b},e.prototype.getViewportRect=function(t){void 0===t&&(t={});var e=this.getCanvasOffset(),n=e.top,r=e.left,o=e.width,i=e.height,a=this.module;if(t.toWorld){var s=a.getZoomMultiplier(),l=a.getCoords(),c=this.getViewportDelta();return{x:(-l.x-c.x||0)*s,y:(-l.y-c.y||0)*s,width:o*s,height:i*s}}return{x:r,y:n,width:o,height:i}},e.prototype.getViewportDelta=function(t){void 0===t&&(t={});var e=this.module.getZoomMultiplier(),n=this.getCanvasOffset(),r=n.width,o=n.height;return{x:(r*e-r)/2/e,y:(o*e-o)/2/e}},e.prototype.clearOff=function(){this.frmOff=void 0,this.cvsOff=void 0},e.prototype.getFrameOffset=function(t){var e;if(!this.frmOff||t){var n=null===(e=this.frame)||void 0===e?void 0:e.el,r=null==t?void 0:t.ownerDocument.defaultView,o=r?r.frameElement:n;this.frmOff=this.offset(o||n)}return this.frmOff},e.prototype.getCanvasOffset=function(){return this.cvsOff||(this.cvsOff=this.offset(this.el)),this.cvsOff},e.prototype.getElementPos=function(t,e){void 0===e&&(e={});var n=this.module.getZoomDecimal(),r=this.getFrameOffset(t),o=this.el,i=this.getCanvasOffset(),a=this.offset(t,e),s=e.avoidFrameOffset?0:r.top,l=e.avoidFrameOffset?0:r.left,c=e.avoidFrameZoom?a.top:a.top*n,u=e.avoidFrameZoom?a.left:a.left*n;return{top:e.avoidFrameOffset?c:c+s-i.top+o.scrollTop,left:e.avoidFrameOffset?u:u+l-i.left+o.scrollLeft,height:e.avoidFrameZoom?a.height:a.height*n,width:e.avoidFrameZoom?a.width:a.width*n,zoom:n,rect:a}},e.prototype.getElementOffsets=function(t){if(!t||(0,yt.ir)(t))return{};var e={},n=window.getComputedStyle(t),r=this.module.getZoomDecimal();return["marginTop","marginRight","marginBottom","marginLeft","paddingTop","paddingRight","paddingBottom","paddingLeft","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"].forEach((function(t){e[t]=parseFloat(n[t])*r})),e},e.prototype.getPosition=function(t){var e;void 0===t&&(t={});var n=null===(e=this.frame)||void 0===e?void 0:e.el.contentDocument;if(!n)return{top:0,left:0,width:0,height:0};var r=n.body,o=this.module.getZoomDecimal(),i=this.getFrameOffset(),a=this.getCanvasOffset(),s=t.noScroll;return{top:i.top+(s?0:r.scrollTop)*o-a.top,left:i.left+(s?0:r.scrollLeft)*o-a.left,width:a.width,height:a.height}},e.prototype.updateScript=function(t){var e=t.model,n=e.getId(),r={component:e,view:t,el:t.el};if(!t.scriptContainer){t.scriptContainer=(0,yt.a_)("div",{"data-id":n});var o=this.getJsContainer();null==o||o.appendChild(t.scriptContainer)}t.el.id=n,t.scriptContainer.innerHTML="";var i=document.createElement("script"),a=e.getScriptString(),s=e.get("script-props")?a:"function(){\n".concat(a,"\n;}"),l=JSON.stringify(e.__getScriptProps());i.innerHTML="\n setTimeout(function() {\n var item = document.getElementById('".concat(n,"');\n if (!item) return;\n var script = (").concat(s,").bind(item);\n script(").concat(l,", { el: item });\n }, 1);"),setTimeout((function(){e.emitWithEitor(ct.I.scriptMountBefore,r);var n=t.scriptContainer;null==n||n.appendChild(i),e.emitWithEitor(ct.I.scriptMount,r)}),0)},e.prototype.getJsContainer=function(t){var e=this.getFrameView(t);return null==e?void 0:e.getJsContainer()},e.prototype.getFrameView=function(t){return(null==t?void 0:t.frameView)||this.em.getCurrentFrame()},e.prototype._renderFrames=function(){if(this.ready){var t=this,e=t.model,n=t.frames,r=t.em,o=t.framesArea,i=e.frames;i.listenToLoad(),n.render();var a=i.at(0),s=null==a?void 0:a.view;r.setCurrentFrame(s),null==o||o.appendChild(n.el),this.frame=s,this.updateFramesArea()}},e.prototype.renderFrames=function(){this._renderFrames()},e.prototype.render=function(){var t=this,e=t.el,n=t.$el,r=t.ppfx,o=t.config,i=t.em;n.html(this.template());var s=n.find("[data-frames]");this.framesArea=s.get(0);var l=n.find("[data-tools]");return this.toolsWrapper=l.get(0),l.append('\n
\n
\n
\n
\n
\n
\n ').concat(o.extHl?'
'):"",'\n
\n
\n
\n
\n
\n
\n
\n ')),this.toolsEl=e.querySelector("#".concat(r,"tools")),this.hlEl=e.querySelector(".".concat(r,"highlighter")),this.badgeEl=e.querySelector(".".concat(r,"badge")),this.placerEl=e.querySelector(".".concat(r,"placeholder")),this.ghostEl=e.querySelector(".".concat(r,"ghost")),this.toolbarEl=e.querySelector(".".concat(r,"toolbar")),this.resizerEl=e.querySelector(".".concat(r,"resizer")),this.offsetEl=e.querySelector(".".concat(r,"offset-v")),this.fixedOffsetEl=e.querySelector(".".concat(r,"offset-fixed-v")),this.toolsGlobEl=e.querySelector(".".concat(r,"tools-gl")),this.spotsEl=e.querySelector("[data-spots]"),this.cvStyle=e.querySelector("[data-canvas-style]"),this.el.className=(0,a.getUiClass)(i,this.className),this.ready=!0,this._renderFrames(),this},e}(vt);const sr=ar;var lr=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),cr=function(){return cr=Object.assign||function(t){for(var e,n=1,r=arguments.length;n",frameStyle:"\n body { background-color: #fff }\n * ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1) }\n * ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2) }\n * ::-webkit-scrollbar { width: 10px }\n ",notTextable:["button","a","input[type=checkbox]","input[type=radio]"],allowExternalDrop:!0})||this;return n.events=ft,n.framesById={},n.canvas=new st(n),n.spots=new dt(n),n.model=n.canvas,n.startAutoscroll=n.startAutoscroll.bind(n),n.stopAutoscroll=n.stopAutoscroll.bind(n),n}return lr(e,t),e.prototype.getCanvasView=function(){return this.canvasView},e.prototype.postLoad=function(){this.model.init()},e.prototype.getModel=function(){return this.canvas},e.prototype.getElement=function(){return this.getCanvasView().el},e.prototype.getFrame=function(t){return this.getFrames()[t||0]},e.prototype.getFrameEl=function(){var t=(this.canvasView||{}).frame;return null==t?void 0:t.el},e.prototype.getFramesEl=function(){var t;return null===(t=this.canvasView)||void 0===t?void 0:t.framesArea},e.prototype.getWindow=function(){var t=(this.canvasView||{}).frame;return null==t?void 0:t.getWindow()},e.prototype.getDocument=function(){var t=this.getFrameEl();return null==t?void 0:t.contentDocument},e.prototype.getBody=function(){var t=this.getDocument();return null==t?void 0:t.body},e.prototype._getLocalEl=function(t,e,n){var r=t,o=null==e?void 0:e.frameView;return o?o[n]():r},e.prototype.getGlobalToolsEl=function(){var t;return null===(t=this.canvasView)||void 0===t?void 0:t.toolsGlobEl},e.prototype.getToolsEl=function(t){return this._getLocalEl(this.getCanvasView().toolsEl,t,"getToolsEl")},e.prototype.getHighlighter=function(t){return this._getLocalEl(this.getCanvasView().hlEl,t,"getHighlighter")},e.prototype.getBadgeEl=function(t){return this._getLocalEl(this.getCanvasView().badgeEl,t,"getBadgeEl")},e.prototype.getPlacerEl=function(){return this.getCanvasView().placerEl},e.prototype.getGhostEl=function(){return this.getCanvasView().ghostEl},e.prototype.getToolbarEl=function(){return this.getCanvasView().toolbarEl},e.prototype.getResizerEl=function(){return this.getCanvasView().resizerEl},e.prototype.getOffsetViewerEl=function(t){return this._getLocalEl(this.getCanvasView().offsetEl,t,"getOffsetViewerEl")},e.prototype.getFixedOffsetViewerEl=function(){return this.getCanvasView().fixedOffsetEl},e.prototype.getSpotsEl=function(){var t;return null===(t=this.canvasView)||void 0===t?void 0:t.spotsEl},e.prototype.render=function(){var t;return null===(t=this.canvasView)||void 0===t||t.remove(),this.canvasView=new sr(this.canvas),this.canvasView.render().el},e.prototype.getOffset=function(){var t=this.offset(this.getFrameEl()),e=this.offset(this.getElement());return{top:t.top-e.top,left:t.left-e.left}},e.prototype.offset=function(t){return this.getCanvasView().offset(t)},e.prototype.setCustomBadgeLabel=function(t){this.config.customBadgeLabel=t},e.prototype.getElementPos=function(t,e){return this.getCanvasView().getElementPos(t,e)},e.prototype.getElementOffsets=function(t){return this.getCanvasView().getElementOffsets(t)},e.prototype.getRect=function(){var t,e=null!==(t=this.getCanvasView().getPosition())&&void 0!==t?t:{},n=e.top,r=void 0===n?0:n,o=e.left,i=void 0===o?0:o;return cr(cr({},this.getCanvasView().getCanvasOffset()),{topScroll:r,leftScroll:i})},e.prototype.getTargetToElementDim=function(t,e,n){void 0===n&&(n={});var r=n||{},o=this.getCanvasView().getPosition();if(o){var i=r.elPos||this.getCanvasView().getElementPos(e),a=n.toRight||0,s=r.targetHeight||t.offsetHeight,l=r.targetWidth||t.offsetWidth,c=r.event||null,u=i.top-s,p=i.left;p+=a?i.width:0;var d=(p=a?p-l:p)i.top+i.height?i.top+i.height:f,left:d,elementTop:i.top,elementLeft:i.left,elementWidth:i.width,elementHeight:i.height,targetWidth:t.offsetWidth,targetHeight:t.offsetHeight,canvasTop:o.top,canvasLeft:o.left,canvasWidth:o.width,canvasHeight:o.height};return c&&this.em&&this.em.trigger(c,h),h}},e.prototype.canvasRectOffset=function(t,e,n){var r=this;void 0===n&&(n={});var o=function(t,e,o){void 0===e&&(e=1);var i=r.em.getZoomDecimal(),a=e?"top":"left",s=t.ownerDocument,l=n.offset?function(t){var e=t.defaultView;return null==e?void 0:e.frameElement}(s):{},c=l.offsetTop,u=void 0===c?0:c,p=l.offsetLeft,d=void 0===p?0:p,f=s.body||{},h=f.scrollTop,g=void 0===h?0:h,m=f.scrollLeft,v=e?g:void 0===m?0:m,y=e?u:d;return o[a]-(v-y)*i};return{top:o(t,1,e),left:o(t,0,e)}},e.prototype.getTargetToElementFixed=function(t,e,n){void 0===n&&(n={});var r=n.pos||this.getElementPos(t,{noScroll:!0}),o=n.canvasOff||this.canvasRectOffset(t,r),a=e.offsetHeight||0,s=e.offsetWidth||0,l=r.left+r.width,c=this.getCanvasView(),u=c.getPosition(),p=c.getFrameOffset(t),d=n.event,f=-a,h=(0,i.isUndefined)(n.left)?r.width-s:n.left;if(h=r.left<-h?-r.left:h,h=l>u.width?h-(l-u.width):h,o.top\n \n '),fallback:"\n \n '),file:""})},enumerable:!1,configurable:!0}),e.prototype.initToolbar=function(){t.prototype.initToolbar.call(this);var e=this.em;if(e){var n="image-editor";if(e.Commands.has(n)){for(var r=!1,o=this.get("toolbar"),i=0;i=0)&&delete n.editable}))}return n},e}(jr);var Ur=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Hr=function(){return Hr=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0},e}(Nn);var go=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),mo=function(){return mo=Object.assign||function(t){for(var e,n=1,r=arguments.length;n").concat(l).concat(s,""):s},e.prototype.__postAdd=function(){var e,n=null===(e=this.em)||void 0===e?void 0:e.UndoManager;return!this.__hasUm&&(null==n||n.add(this)),t.prototype.__postAdd.call(this)},e.prototype.__postRemove=function(){var e,n=null===(e=this.em)||void 0===e?void 0:e.UndoManager;return null==n||n.remove(this),t.prototype.__postRemove.call(this)},e.isComponent=function(){return!1},e}(Nn);const Bo=Mo;var Fo=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Uo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.compView=Wo,e}return Fo(e,t),e.prototype.initialize=function(t){this.opts=t||{},this.config=t.config||{},this.em=this.config.em;var e=this.collection;this.listenTo(e,"add",this.addTo),this.listenTo(e,"reset",this.resetChildren),this.listenTo(e,"remove",this.removeChildren)},e.prototype.removeChildren=function(t,e,n){var r=this;void 0===n&&(n={}),t.views.forEach((function(t){if(t){var e=t.childrenView,n=t.scriptContainer;e&&e.stopListening(),(0,yt.YZ)(n),t.remove.apply(t)}})),t.components().forEach((function(t){return r.removeChildren(t,e,n)}))},e.prototype.addTo=function(t){this.addToCollection(t,null,this.collection.indexOf(t))},e.prototype.addToCollection=function(t,e,n){for(var r=this,o=r.config,a=r.opts,s=r.em,l=o.frameView,c=(null==l?void 0:l.model)&&t.getView(l.model),u=a.componentTypes||(null==s?void 0:s.Components.getTypes()),p=t.get("type")||"default",d=this.compView,f=0;f=0&&l0&&u=0&&p0&&c<=s)},e.prototype.scrollIntoView=function(t){var e;if(void 0===t&&(t={}),!this.isInViewport()||t.force){var n=this.el;if("smooth"!==t.behavior){var r=this.getOffsetRect();null===(e=n.ownerDocument.defaultView)||void 0===e||e.scrollTo(0,r.top)}else n.scrollIntoView(qo({behavior:"smooth",block:"nearest"},t))}},e.prototype.reset=function(){var t=this,e=t.el,n=t.model;t.scriptContainer&&n.emitWithEitor(ct.I.scriptUnmount,{component:n,view:t,el:e}),this.el="",this._ensureElement(),this._setData(),(0,yt.bG)(e,this.el),this.render()},e.prototype._setData=function(){var t=this.model,e=t.components();this.$el.data({model:t,collection:e,view:this})},e.prototype._createElement=function(t){return this.createDoc.createElement(t)},e.prototype.renderChildren=function(){this.updateContent();var t=this.getChildrenContainer(),e=this.childrenView||new Ho({collection:this.model.get("components"),config:this.config,componentTypes:this.opts.componentTypes});e.render(t),this.childrenView=e;for(var n=Array.prototype.slice.call(e.el.childNodes),r=0,o=n.length;r0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]-1;return Zi(Zi({},r),!f||h?{reason:$i.TargetReject}:{result:!0})},e.prototype.allById=function(){return this.componentsById},e.prototype.getById=function(t){return this.componentsById[t]||null},e.prototype.destroy=function(){var t,e=this.allById();Object.keys(e).forEach((function(t){return e[t]&&e[t].remove()})),null===(t=this.componentView)||void 0===t||t.remove(),[this.em,this.componentsById,this.componentView].forEach((function(t){return{}}))},e}(w);const Ji=Qi;var ta=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ea=Number.MAX_VALUE,na=function(t){function e(){var e=t.call(this)||this;return(0,i.bindAll)(e,"sortRules"),e.compCls=[],e.ids=[],e}return ta(e,t),e.prototype.buildFromModel=function(t,e){var n=this;void 0===e&&(e={});var r="",o=this.em,i=o&&o.getConfig().avoidInlineStyle,a=t.styleToString(),s=t.classes;return this.ids.push("#".concat(t.getId())),s.forEach((function(t){return n.compCls.push(t.getFullName())})),!i&&a&&(r="#".concat(t.getId(),"{").concat(a,"}")),t.components().forEach((function(t){return r+=n.buildFromModel(t,e)})),r},e.prototype.build=function(t,e){var n=this;void 0===e&&(e={});var r=e.json,o=e.em,s=e.cssc||(null==o?void 0:o.Css);this.em=o,this.compCls=[],this.ids=[],this.model=t;var l=[],c=t?this.buildFromModel(t,e):"",u=(0,i.isUndefined)(e.clearStyles)&&o?o.getConfig().clearStyles:e.clearStyles;if(s){var p=e.rules||s.getAll(),d={},f=[];e.onlyMatched&&t&&(0,a.hasWin)()&&(p=this.matchedRules(t,p)),p.forEach((function(t){var o=t.getAtRule();if(o){var i=d[o];i?i.push(t):d[o]=[t]}else{var a=n.buildFromRule(t,f,e);r?l.push(a):c+=a}})),this.sortMediaObject(d).forEach((function(t){var o="",i=t.key;t.value.forEach((function(t){var a=n.buildFromRule(t,f,e);t.get("singleAtRule")?c+="".concat(i,"{").concat(a,"}"):o+=a,r&&l.push(a)})),o&&(c+="".concat(i,"{").concat(o,"}"))})),o&&u&&p.remove&&p.remove(f)}return r?l.filter((function(t){return t})):c},e.prototype.buildFromRule=function(t,e,n){var r,o=this;void 0===n&&(n={});var i,a="",s=this.model,l=t.selectorsToString({skipAdd:1}),c=t.get("selectorsAdd"),u=t.get("singleAtRule");if(null===(r=t.get("selectors"))||void 0===r||r.forEach((function(t){var e=t.getFullName();(o.compCls.indexOf(e)>=0||o.ids.indexOf(e)>=0||n.keepUnusedStyles)&&(i=1)})),l&&i||c||u||!s){var p=t.getDeclaration({body:1});p&&(n.json?a=t:a+=p)}else e.push(t);return a},e.prototype.matchedRules=function(t,e){var n=this,r=t.getEl(),o=[];return e.forEach((function(t){try{t.selectorsToString().split(",").some((function(t){return null==r?void 0:r.matches(n.__cleanSelector(t))}))&&o.push(t)}catch(t){}})),t.components().forEach((function(t){o=o.concat(n.matchedRules(t,e))})),o=o.filter((function(t,e){return o.indexOf(t)===e}))},e.prototype.getQueryLength=function(t){var e=/(-?\d*\.?\d+)\w{0,}/.exec(t);return e?parseFloat(e[1]):ea},e.prototype.sortMediaObject=function(t){var e=this;void 0===t&&(t={});var n=[];return(0,i.each)(t,(function(t,e){return n.push({key:e,value:t})})),n.sort((function(t,n){var r=[t.key,n.key].every((function(t){return-1!==t.indexOf("min-width")})),o=r?t.key:n.key,i=r?n.key:t.key;return e.getQueryLength(o)-e.getQueryLength(i)}))},e.prototype.sortRules=function(t,e){var n=function(t){return t.get("mediaText")||""},r=[n(t),n(e)].every((function(t){return-1!==t.indexOf("min-width")})),o=n(r?t:e),i=n(r?e:t);return this.getQueryLength(o)-this.getQueryLength(i)},e.prototype.__cleanSelector=function(t){return t.split(" ").map((function(t){return t.split(":")[0]})).join(" ")},e}(d.Kx);const ra=na;var oa=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ia=function(){return ia=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0}))},e.prototype.setIdRule=function(t,e,n){void 0===e&&(e={}),void 0===n&&(n={});var r=n.addOpts,o=void 0===r?{}:r,a=n.mediaText,s=n.state||"",l=(0,i.isUndefined)(a)?this.em.getCurrentMedia():a,c=this.em.Selectors.add({name:t,type:We.TYPE_ID},o),u=this.add(c,s,l,{},o);return u.setStyle(e,fa(fa({},n),o)),u},e.prototype.getIdRule=function(t,e){void 0===e&&(e={});var n=e.mediaText,r=e.state||"",o=(0,i.isUndefined)(n)?this.em.getCurrentMedia():n,a=this.em.Selectors.get(t,We.TYPE_ID);return a&&this.get(a,r,o)},e.prototype.setClassRule=function(t,e,n){void 0===e&&(e={}),void 0===n&&(n={});var r=n.state||"",o=n.mediaText||this.em.getCurrentMedia(),i=this.em.Selectors.add({name:t,type:We.TYPE_CLASS}),a=this.add(i,r,o);return a.setStyle(e,n),a},e.prototype.getClassRule=function(t,e){void 0===e&&(e={});var n=e.state||"",r=e.mediaText||this.em.getCurrentMedia(),o=this.em.Selectors.get(t,We.TYPE_CLASS);return o&&this.get(o,n,r)},e.prototype.remove=function(t,e){var n=(0,i.isString)(t)?this.getRules(t):t,r=this.getAll().remove(n,e);return(0,i.isArray)(r)?r:[r]},e.prototype.clear=function(t){return void 0===t&&(t={}),this.getAll().reset([],t),this},e.prototype.getComponentRules=function(t,e){void 0===e&&(e={});var n=e.state,r=e.mediaText;e.current&&(n=this.em.get("state")||"",r=this.em.getCurrentMedia());var o=t.getId();return this.getAll().filter((function(t){return!(!(0,i.isUndefined)(n)&&t.get("state")!==n||!(0,i.isUndefined)(r)&&t.get("mediaText")!==r||t.getSelectorsString()!=="#".concat(o))}))},e.prototype.render=function(){var t;return null===(t=this.rulesView)||void 0===t||t.remove(),this.rulesView=new St({collection:this.rules,config:this.config}),this.rulesView.render().el},e.prototype.checkId=function(t,e){void 0===e&&(e={});var n=e.idMap,r=void 0===n?{}:n,o=[];return Object.keys(r).length?((Array.isArray(t)?t:[t]).forEach((function(t){var e=t.selectors;if(e&&1==e.length){var n=e[0];if((0,i.isString)(n)){if("#"===n[0]){var a=n.substring(1),s=r[a];a&&s&&(e[0]="#".concat(s),o.push(t))}}else n.name&&n.type===We.TYPE_ID&&(s=r[n.name])&&(n.name=s,o.push(t))}})),o):o},e.prototype.destroy=function(){var t;this.rules.reset(),this.rules.stopListening(),null===(t=this.rulesView)||void 0===t||t.remove()},e}(w);const ga=ha;var ma=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const va=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ma(e,t),e.prototype.defaults=function(){return{label:"",content:"",media:"",category:"",activate:!1,select:void 0,resetId:!1,disable:!1,onClick:void 0,attributes:{},dragDef:{}}},Object.defineProperty(e.prototype,"category",{get:function(){var t=this.get("category");return t instanceof Qe?t:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this.collection},enumerable:!1,configurable:!0}),e.prototype.getId=function(){return this.id},e.prototype.getLabel=function(){return this.get("label")},e.prototype.getMedia=function(){return this.get("media")},e.prototype.getContent=function(){return this.get("content")},e.prototype.getDragDef=function(){return this.get("dragDef")},e.prototype.getCategoryLabel=function(){var t=this.get("category");return(0,i.isFunction)(null==t?void 0:t.get)?t.get("label"):(null==t?void 0:t.label)?null==t?void 0:t.label:t},e}(d.Kx);var ya=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ba=function(t){function e(e,n){var r=t.call(this,e)||this;return r.em=n.em,r.on("add",r.handleAdd),r}return ya(e,t),e.prototype.getCategories=function(){return this.em.Blocks.getCategories()},e.prototype.handleAdd=function(t){this.initCategory(t)},e}(nn);const _a=ba;var wa;ba.prototype.model=va,function(t){t.add="block:add",t.remove="block:remove",t.removeBefore="block:remove:before",t.update="block:update",t.dragStart="block:drag:start",t.drag="block:drag",t.dragEnd="block:drag:stop",t.categoryUpdate="block:category:update",t.custom="block:custom",t.all="block"}(wa||(wa={}));var Ea=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xa=function(){return xa=Object.assign||function(t){for(var e,n=1,r=arguments.length;n').concat(h,""):"",'\n
').concat(d,"
\n "),r.title=c.title||(null===(t=r.textContent)||void 0===t?void 0:t.trim()),r.setAttribute("draggable","".concat(!(!(0,a.hasDnd)(n)||l)));var m=f&&f({el:r,model:s,className:p,prefix:i});return m&&(r.innerHTML=m),this},e}(d.Ss);const Ta=Ca;var Aa=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Oa=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.config=n;var i=n.pStylePrefix||"";return o.em=n.em,o.catName=r,o.pfx=i,o.caretR="fa fa-caret-right",o.caretD="fa fa-caret-down",o.iconClass="".concat(i,"caret-icon"),o.activeClass="".concat(i,"open"),o.className="".concat(i).concat(r,"-category"),o.listenTo(o.model,"change:open",o.updateVisibility),o.model.view=o,o}return Aa(e,t),e.prototype.events=function(){return{"click [data-title]":"toggle"}},e.prototype.template=function(t){var e,n,r=t.pfx,o=t.label,i=t.catName;return s(ka||(e=['\n
\n \n ','\n
\n
\n '],n=['\n
\n \n ','\n
\n
\n '],Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,ka=e),r,r,o,r,i)},e.prototype.attributes=function(){return this.model.get("attributes")||{}},e.prototype.updateVisibility=function(){this.model.get("open")?this.open():this.close()},e.prototype.open=function(){this.$el.addClass(this.activeClass),this.getIconEl().className="".concat(this.iconClass," ").concat(this.caretD),this.getTypeEl().style.display=""},e.prototype.close=function(){this.$el.removeClass(this.activeClass),this.getIconEl().className="".concat(this.iconClass," ").concat(this.caretR),this.getTypeEl().style.display="none"},e.prototype.toggle=function(){var t=this.model;t.set("open",!t.get("open"))},e.prototype.getIconEl=function(){return this.iconEl||(this.iconEl=this.el.querySelector(".".concat(this.iconClass))),this.iconEl},e.prototype.getTypeEl=function(){return this.typeEl||(this.typeEl=this.el.querySelector(".".concat(this.pfx).concat(this.catName,"s-c"))),this.typeEl},e.prototype.append=function(t){this.getTypeEl().appendChild(t)},e.prototype.render=function(){var t=this,e=t.em,n=t.el,r=t.$el,o=t.model,i=t.pfx,a=t.catName,s=e.t("".concat(a,"Manager.categories.").concat(o.id))||o.get("label");return n.innerHTML=this.template({pfx:i,label:s,catName:a}),r.addClass(this.className),r.css({order:o.get("order")}),this.updateVisibility(),this},e}(d.Ss);const Sa=Oa;var ka,Pa=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ja=function(){return ja=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
\n
\n
\n '),this.collection.each((function(e){return t.add(e,n)})),this.append(n);var r="".concat(this.blockContClass,"s ").concat(e,"one-bg ").concat(e,"two-color");return this.$el.addClass(r),this.rendered=!0,this},e}(d.Ss);const La=Na;var Da=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ia=function(){return Ia=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n ','\n $'," \n "],e=['\n \n ','\n $'," \n "],Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,Wa=t),r,r,r,a,r,r,i.iconTagRemove)},e.prototype.events=function(){return{"click [data-tag-remove]":"removeTag","click [data-tag-status]":"changeStatus","dblclick [data-tag-name]":"startEditTag","focusout [data-tag-name]":"endEditTag"}},e.prototype.getInputEl=function(){return this.inputEl||(this.inputEl=this.el.querySelector("[data-tag-name]")),this.inputEl},e.prototype.startEditTag=function(){var t=this.em,e=this.getInputEl();e[Va]="true",e.focus(),null==t||t.setEditing(!0)},e.prototype.endEditTag=function(){var t=this.model,e=this.em,n=this.getInputEl(),r=n.textContent||"",o=null==e?void 0:e.Selectors;n[Va]="false",null==e||e.setEditing(!1),o&&o.rename(t,r)!==t&&(n.innerText=t.getLabel())},e.prototype.changeStatus=function(){var t=this.model;t.set("active",!t.getActive())},e.prototype.removeTag=function(){this.module.removeSelected(this.model)},e.prototype.updateStatus=function(){var t=this,e=t.model,n=t.$el,r=t.config,o=r.iconTagOn,i=r.iconTagOff,a=n.find("[data-tag-status]");e.get("active")?(a.html(o),n.removeClass("opac50")):(a.html(i),n.addClass("opac50"))},e.prototype.render=function(){var t=this,e=t.pfx,n=t.ppfx,r=t.$el,o=t.model,i="".concat(e,"tag"),a=["".concat(i," ").concat(n,"three-bg")];return o.get("protected")&&a.push("".concat(i,"-protected")),r.html(this.template()),r.attr("class",a.join(" ")),this.updateStatus(),this},e}(d.Ss);const za=qa;var Wa,Ga=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ya=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},Ka=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;n.config=e.config||{},n.pfx=n.config.stylePrefix||"",n.ppfx=n.config.pStylePrefix||"",n.className=n.pfx+"tags",n.stateInputId=n.pfx+"states",n.stateInputC=n.pfx+"input-c",n.states=n.config.states||[];var r=n.config.em,o=n.collection;n.target=r;var a=r.Selectors;n.module=a,n.em=r,n.componentChanged=(0,i.debounce)(n.componentChanged.bind(n),0),n.checkSync=(0,i.debounce)(n.checkSync.bind(n),0);var s=ct.I.update,l="".concat(s,":classes"),c="component:toggled ".concat(l),u="".concat(l," ").concat(s,":attributes:id change:state");return n.listenTo(r,c,n.componentChanged),n.listenTo(r,"styleManager:update",n.componentChanged),n.listenTo(r,u,n.__handleStateChange),n.listenTo(r,"styleable:change change:device",n.checkSync),n.listenTo(o,"add",n.addNew),n.listenTo(o,"reset",n.renderClasses),n.listenTo(o,"remove",n.tagRemoved),n.listenTo(a.getAll(),a.events.state,(0,i.debounce)((function(){return n.renderStates()}),0)),n.delegateEvents(),n}return Ga(e,t),e.prototype.template=function(t){var e=t.labelInfo,n=t.labelHead,r=t.iconSync,o=t.iconAdd,i=t.pfx,a=t.ppfx;return s(Xa||(Xa=Ya(['
\n
','
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n $',' \n \n
\n
\n
',':
\n
\n
'],['
\n
','
\n
\n \n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n $',' \n \n
\n
\n
',':
\n
\n
'])),i,i,i,i,n,i,i,i,a,a,a,i,a,a,i,a,i,i,i,i,i,o,i,i,r,i,i,e,i)},e.prototype.events=function(){return{"change [data-states]":"stateChanged","click [data-add]":"startNewTag","focusout [data-input]":"endNewTag","keyup [data-input]":"onInputKeyUp","click [data-sync-style]":"syncStyle"}},e.prototype.syncStyle=function(){var t,e=this.em,n=this.getTarget(),r=e.Css,o=this.getCommonSelectors({opts:{noDisabled:1}}),i=e.get("state"),a=e.getCurrentMedia(),s=[],l=r.get(o,i,a)||r.add(o,i,a);this.getTargets().forEach((function(e){var n=r.getIdRule(e.getId(),{state:i,mediaText:a});t=n.getStyle(),n.setStyle({}),s.push(n)})),t&&l.addStyle(t),e.trigger("component:toggled"),e.trigger("component:sync-style",{component:n,selectors:o,mediaText:a,rule:l,ruleComponents:s,state:i})},e.prototype.tagRemoved=function(t){this.updateStateVis()},e.prototype.addNew=function(t){this.addToClasses(t)},e.prototype.startNewTag=function(){var t,e;null===(t=this.$addBtn)||void 0===t||t.css({display:"none"}),null===(e=this.$input)||void 0===e||e.show().focus()},e.prototype.endNewTag=function(){var t,e;null===(t=this.$addBtn)||void 0===t||t.css({display:""}),null===(e=this.$input)||void 0===e||e.hide().val("")},e.prototype.onInputKeyUp=function(t){var e;13===t.keyCode?(t.preventDefault(),this.addNewTag(null===(e=this.$input)||void 0===e?void 0:e.val())):27===t.keyCode&&this.endNewTag()},e.prototype.checkStates=function(){var t=this.em.getState(),e=this.getStates();e&&e.val(t)},e.prototype.componentChanged=function(t){var e=(void 0===t?{}:t).targets;this.updateSelection(e)},e.prototype.updateSelection=function(t){var e=t||this.getTargets(),n=[];return(e=(0,i.isArray)(e)?e:[e])&&e.length&&(n=this.getCommonSelectors({targets:e}),this.checkSync({validSelectors:n})),this.collection.reset(n),this.updateStateVis(e),this.module.__trgCustom(),n},e.prototype.getCommonSelectors=function(t){var e=void 0===t?{}:t,n=e.targets,r=e.opts,o=void 0===r?{}:r,i=n||this.getTargets();return this.module.__getCommonSelectors(i,o)},e.prototype._commonSelectors=function(){for(var t,e=[],n=0;n',""],['',""])),r,t);else{var u=null==t?void 0:t.getSelectors();if(!u)return"";var p=u.getStyleable(),d=a.get("state"),f=t.getId?s(Qa||(Qa=Ya(['','\n #',""],['','\n #',""])),r,t.getName(),r,t.getId()):"";e=(e=this.collection.getFullString(p))?s(Ja||(Ja=Ya(['',""],['',""])),r,e):t.get("selectorsAdd")||f,e=c&&f?f:e,e+=d?s(ts||(ts=Ya([':',""],[':',""])),r,d):"",e=l?l({result:e,state:d,target:t}):e}return e&&'').concat(e,"")},e.prototype.stateChanged=function(t){var e=this.em,n=t.target.value;e.set("state",n)},e.prototype.addNewTag=function(t){var e=t.trim();e&&(this.module.addSelected({label:e}),this.endNewTag())},e.prototype.addToClasses=function(t,e){var n=e,r=this.getClasses(),o=new za({model:t,config:this.config,coll:this.collection,module:this.module}).render().el;return n?n.appendChild(o):r.append(o),o},e.prototype.renderClasses=function(){var t=this,e=document.createDocumentFragment(),n=this.getClasses();n.empty(),this.collection.each((function(n){return t.addToClasses(n,e)})),n.append(e)},e.prototype.getClasses=function(){return this.$el.find("[data-selectors]")},e.prototype.getStates=function(){if(!this.$states){var t=this.$el.find("[data-states]");this.$states=t[0]&&t}return this.$states},e.prototype.getStatesC=function(){return this.$statesC||(this.$statesC=this.$el.find("#"+this.stateInputC)),this.$statesC},e.prototype.renderStates=function(){var t=this.module,e=this.em,n=e.t("selectorManager.emptyState"),r=t.getStates().map((function(t){var n=e.t("selectorManager.states.".concat(t.id))||t.getLabel()||t.id;return'")})).join(""),o=this.getStates();o&&o.html('").concat(r)),this.checkStates()},e.prototype.render=function(){var t=this,e=t.em,n=t.pfx,r=t.ppfx,o=t.config,i=t.$el,a=t.el,s=o.render,l={iconSync:o.iconSync,iconAdd:o.iconAdd,labelHead:e.t("selectorManager.label"),labelInfo:e.t("selectorManager.selected"),ppfx:r,pfx:n,el:a};i.html(this.template(l));var c=s&&s(l);return c&&c!==a&&i.empty().append(c),this.$input=i.find("[data-input]"),this.$addBtn=i.find("[data-add]"),this.$classes=i.find("#"+n+"tags-c"),this.$btnSyncEl=i.find("[data-sync-style]"),this.$input.hide(),this.renderStates(),this.renderClasses(),i.attr("class","".concat(this.className," ").concat(r,"one-bg ").concat(r,"two-color")),this},e}(d.Ss);const $a=Ka;var Xa,Za,Qa,Ja,ts,es=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ns=function(){return ns=Object.assign||function(t){for(var e,n=1,r=arguments.length;n',iconSync:'',iconTagOn:'',iconTagOff:'',iconTagRemove:'',componentFirst:!1,custom:!1},{skipListen:!0})||this;n.Selector=We,n.Selectors=$e,n.storageKey="",(0,i.bindAll)(n,"__updateSelectedByComponents");var r=n.config,o=r.pStylePrefix;o&&(r.stylePrefix=o+r.stylePrefix),n.all=new $e(r.selectors),n.selected=new $e([],{em:e,config:r}),n.states=new d.pM(r.states.map((function(t){return new Ua(t)})),{model:Ua}),n.model=new d.Kx({cFirst:r.componentFirst,_undo:!0}),n.__update=(0,i.debounce)((function(){return n.__trgCustom()}),0),n.__initListen({collections:[n.states,n.selected],propagate:[{entity:n.states,event:n.events.state}]}),e.on("change:state",(function(t,n){return e.trigger(fs,n)})),n.model.on("change:cFirst",(function(t,n){return e.trigger("selector:type",n)}));var a="".concat(ct.I.update,":classes");e.on("component:toggled ".concat(a),n.__updateSelectedByComponents);var s="component:toggled ".concat(a," change:device styleManager:update selector:state selector:type style:target");return n.model.listenTo(e,s,(function(){return n.__update()})),n}return es(e,t),e.prototype.__trgCustom=function(t){this.em.trigger(this.events.custom,this.__customData(t))},e.prototype.getAll=function(t){return void 0===t&&(t={}),this.all?t.array?rs([],this.all.models,!0):this.all:[]},e.prototype.__customData=function(t){return void 0===t&&(t={}),this.__ctn=this.__ctn||t.container,{states:this.getStates(),selected:this.getSelected(),container:this.__ctn}},e.prototype.postRender=function(){this.__appendTo(),this.__trgCustom()},e.prototype.select=function(t,e){void 0===e&&(e={});var n=Array.isArray(t)?t:[t],r=this.em.Styles.select(n,e);this.selected.reset(this.__getCommonSelectors(r));var o=this.selectorTags,i=r.filter((function(t){return t})).map((function(t){return(0,a.isComponent)(t)||(0,a.isRule)(t)&&!t.get("selectorsAdd")?t:t.getSelectorsString()}));return o&&o.componentChanged({targets:i}),this},e.prototype.addSelector=function(t,e,n){void 0===e&&(e={}),void 0===n&&(n={});var r=ns({},e);(0,i.isObject)(t)?r=t:r.name=t,os(r.name)?(r.name=r.name.substr(1),r.type=We.TYPE_ID):is(r.name)&&(r.name=r.name.substr(1)),r.label&&!r.name&&(r.name=this.escapeName(r.label));var o=r.name,a=this.getConfig(),s=this.all,l=this.em,c=o?this.get(o,r.type):s.where(r)[0];if(!c){var u=r instanceof We?r:new We(r,ns(ns({},n),{config:a,em:l}));return s.add(u,n)}return c},e.prototype.getSelector=function(t,e){return void 0===e&&(e=We.TYPE_CLASS),os(t)?(t=t.substr(1),e=We.TYPE_ID):is(t)&&(t=t.substr(1)),this.all.where({name:t,type:e})[0]},e.prototype.add=function(t,e){var n=this;void 0===e&&(e={});var r=(0,i.isString)(t)?{}:e;return(0,i.isArray)(t)?t.map((function(t){return n.addSelector(t,e,r)})):this.addSelector(t,e,r)},e.prototype.addClass=function(t){var e=this,n=[];return(0,i.isString)(t)&&(t=t.trim().split(" ")),t.forEach((function(t){return n.push(e.addSelector(t))})),n},e.prototype.get=function(t,e){var n=this;if((0,i.isArray)(t)){var r=[];return t.map((function(t){return n.getSelector(t)})).filter(Boolean).forEach((function(t){return r.indexOf(t)<0&&r.push(t)})),r}return this.getSelector(t,e)},e.prototype.remove=function(t,e){return this.__remove(t,e)},e.prototype.rename=function(t,e,n){var r=this.escapeName(e);return this.get(r)||t.set({name:r,label:e},n)},e.prototype.setState=function(t){return this.em.setState(t),this},e.prototype.getState=function(){return this.em.getState()},e.prototype.getStates=function(){return rs([],this.states.models,!0)},e.prototype.setStates=function(t,e){return this.states.reset(t.map((function(t){return new Ua(t)})),e)},e.prototype.getSelected=function(){return this.__getCommon()},e.prototype.getSelectedAll=function(){return rs([],this.selected.models,!0)},e.prototype.addSelected=function(t){var e=this.add(t);this.em.getSelectedAll().forEach((function(t){t.getSelectors().add(e)}))},e.prototype.removeSelected=function(t){this.em.getSelectedAll().forEach((function(e){!t.get("protected")&&e&&e.getSelectors().remove(t)}))},e.prototype.duplicateSelected=function(t,e){var n=this;void 0===e&&(e={});var r=this.em,o=this.getSelected();if(!(o.indexOf(t)<0)){var i=this.getState(),a=r.getCurrentMedia(),s=r.Css.get(o,i,a),l=null==s?void 0:s.getStyle();r.getSelectedAll().forEach((function(r){var o=r.getSelectors();if(o.includes(t)){var i=e.suffix||" copy",a=t.getLabel(),s=n.addSelector("".concat(a).concat(i)),l=o.indexOf(t);o.remove(t),o.add(s,{at:l})}})),l&&r.Css.add(this.getSelected(),i,a).setStyle(l)}},e.prototype.getSelectedTargets=function(){return this.em.Styles.getSelectedAll()},e.prototype.setComponentFirst=function(t){this.getConfig().componentFirst=t,this.model.set({cFirst:t})},e.prototype.getComponentFirst=function(){return this.getConfig().componentFirst},e.prototype.escapeName=function(t){var e=this.getConfig().escapeName;return e?e(t):We.escapeName(t)},e.prototype.render=function(t){var e=this.selectorTags,n=this.getConfig(),r=null==e?void 0:e.el;return this.selected.reset(t),this.selectorTags=new $a({el:r,collection:this.selected,module:this,config:n}),this.selectorTags.render().el},e.prototype.destroy=function(){var t=this.selectorTags;this.model.stopListening(),this.__update.cancel(),this.__destroy(),null==t||t.remove(),this.selectorTags=void 0},e.prototype.__getCommon=function(){return this.__getCommonSelectors(this.em.getSelectedAll())},e.prototype.__getCommonSelectors=function(t,e){void 0===e&&(e={});var n=t.map((function(t){return t.getSelectors&&t.getSelectors().getValid(e)})).filter(Boolean);return this.__common.apply(this,n)},e.prototype.__common=function(){for(var t=this,e=[],n=0;n=0})):e.slice(1).reduce((function(e,n){return t.__common(e,n)}),e[0]):[]},e.prototype.__updateSelectedByComponents=function(){this.selected.reset(this.__getCommon())},e}(w);const ms=gs;var vs,ys=((vs={})[4]="media",vs[5]="font-face",vs[6]="page",vs[7]="keyframes",vs[11]="counter-style",vs[12]="supports",vs[13]="document",vs[14]="font-feature-values",vs[15]="viewport",vs),bs=(0,i.keys)(ys),_s=[5,6,11,15],ws=bs.filter((function(t){return _s.indexOf(Number(t))<0})).map((function(t){return ys[t]})).concat(["container","layer"]),Es=_s.map((function(t){return ys[t]})),xs=function(t){void 0===t&&(t="");for(var e=[],n=[],r=t.split(","),o=0,i=r.length;o=0&&(r.singleAtRule=!0),l&&(r.atRuleType=l),c&&(r.selectorsAdd=c),u&&(r.mediaText=u),s&&(t[o-1]=a[0],r.state=s,a.splice(a.length-1,1)),r.selectors=t,r.style=e,r},Os=function(t){var e=t.cssText,n=void 0===e?"":e;return ws.find((function(t){return 0===n.indexOf("@".concat(t))}))},Ss=function(t){for(var e=[],n=t.cssRules||[],r=0,o=n.length;r=0;if(p)s=!0,l=ys[a],c=Ts(i);else if(bs.indexOf("".concat(a))>=0||!a&&Os(i)){var d=Ss(i),f=ys[a]||Os(i);c=Ts(i);for(var h=0,g=d.length;h0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]').concat(n,"")},e.prototype.templateInput=function(t){var e=this.clsField;return'
')},e.prototype.getClbOpts=function(){return{component:this.target,trait:this.model,elInput:this.getInputElem()}},e.prototype.removeView=function(){this.remove(),this.removed()},e.prototype.init=function(){},e.prototype.removed=function(){},e.prototype.onRender=function(t){},e.prototype.onUpdate=function(t){},e.prototype.onEvent=function(t){},e.prototype.onChange=function(t){var e=this.getInputElem();e&&!(0,i.isUndefined)(e.value)&&this.model.set("value",e.value),this.onEvent(dl(dl({},this.getClbOpts()),{event:t}))},e.prototype.getValueForTarget=function(){return this.model.get("value")},e.prototype.setInputValue=function(t){var e=this.getInputElem();e&&(e.value=t)},e.prototype.onValueChange=function(t,e,n){void 0===n&&(n={});var r=this.model,o=this.getValueForTarget();n.fromTarget?(this.setInputValue(o),this.postUpdate()):r.setValue(o,n)},e.prototype.renderLabel=function(){var t=this.$el,e=this.target,n=this.getLabel(),r=this.templateLabel(e);this.createLabel&&(r=this.createLabel({label:n,component:e,trait:this})||""),t.find("[data-label]").append(r)},e.prototype.getLabel=function(){var t=this.em,e=this.model.attributes,n=e.label,r=e.name;return t.t("traitManager.traits.labels.".concat(r))||(0,a.capitalize)(n||r).replace(/-/g," ")},e.prototype.getComponent=function(){return this.target},e.prototype.getInputEl=function(){if(!this.$input){var t=this.em,e=this.model,n=e,r=e.attributes.name,o=n.get("placeholder")||n.get("default")||"",a=n.get("type")||"text",s=n.get("min"),l=n.get("max"),c=this.getModelValue(),u=(0,p.default)('')),d=t.t("traitManager.traits.attributes.".concat(r))||{};u.attr(dl({placeholder:o},d)),(0,i.isUndefined)(c)||(n.set({value:c},{silent:!0}),u.prop("value",c)),s&&u.prop("min",s),l&&u.prop("max",l),this.$input=u}return this.$input.get(0)},e.prototype.getInputElem=function(){var t=this.input,e=this.$input;return t||e&&e.get&&e.get(0)||this.getElInput()},e.prototype.getModelValue=function(){return this.model.getValue()},e.prototype.getElInput=function(){return this.elInput},e.prototype.renderField=function(){var t=this,e=t.$el,n=t.appendInput,r=t.model,o=e.find("[data-input]"),a=o[o.length-1],s=r.el;s||(s=this.createInput?this.createInput(this.getClbOpts()):this.getInputEl()),(0,i.isString)(s)?(a.innerHTML=s,this.elInput=a.firstChild):(n?a.appendChild(s):a.insertBefore(s,a.firstChild),this.elInput=s),r.el=this.elInput},e.prototype.hasLabel=function(){var t=this.model.attributes.label;return!this.noLabel&&!1!==t},e.prototype.rerender=function(){delete this.model.el,this.render()},e.prototype.postUpdate=function(){this.onUpdate(this.getClbOpts())},e.prototype.render=function(){var t=this,e=t.$el,n=t.pfx,r=t.ppfx,o=t.model.attributes,a=o.type,s=o.id,l=this.hasLabel&&this.hasLabel(),c="".concat(n,"trait");delete this.$input;var u='
\n ').concat(l?'
'):"",'\n
\n ').concat(this.templateInput?(0,i.isFunction)(this.templateInput)?this.templateInput(this.getClbOpts()):this.templateInput:"","\n
\n
");return e.empty().append(u),l&&this.renderLabel(),this.renderField(),this.el.className="".concat(c,"__wrp ").concat(c,"__wrp-").concat(s),this.postUpdate(),this.onRender(this.getClbOpts()),this},e}(d.Ss);const hl=fl;fl.prototype.eventCapture=["change"];var gl=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ml=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return gl(e,t),e.prototype.templateInput=function(){return""},e.prototype.onChange=function(){this.handleClick()},e.prototype.handleClick=function(){this.model.runCommand()},e.prototype.renderLabel=function(){this.model.get("label")&&hl.prototype.renderLabel.apply(this)},e.prototype.getInputEl=function(){var t=this.model,e=this.ppfx,n=t.props(),r=n.labelButton,o=n.text,i=n.full,a=r||o,s="".concat(e,"btn");return'")},e}(hl);const vl=ml;ml.prototype.eventCapture=["click button"];var yl=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const bl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.appendInput=!1,e}return yl(e,t),e.prototype.templateInput=function(){var t=this.ppfx,e=this.clsField;return'')},e.prototype.onChange=function(){this.model.set("value",this.getInputElem().checked)},e.prototype.setInputValue=function(t){var e=this.getInputElem();e&&(e.checked=!!t)},e.prototype.getInputEl=function(){for(var t=[],e=0;e')},e.prototype.inputClass=function(){return"".concat(this.ppfx,"field")},e.prototype.holderClass=function(){return"".concat(this.ppfx,"input-holder")},e.prototype.elementUpdated=function(){this.model.trigger("el:change")},e.prototype.setValue=function(t,e){var n=this.model,r=t||n.get("defaults"),o=this.getInputEl();o&&(o.value=r)},e.prototype.handleModelChange=function(t,e,n){this.setValue(e,n)},e.prototype.handleChange=function(t){t.stopPropagation();var e=this.getInputEl().value;this.__onInputChange(e),this.elementUpdated()},e.prototype.__onInputChange=function(t){this.model.set({value:t},{fromInput:1})},e.prototype.getInputEl=function(){if(!this.inputEl){var t=this.model,e=this.opts.type||"text",n=t.get("placeholder")||t.get("defaults")||t.get("default")||"";this.inputEl=(0,p.default)(''))}return this.inputEl.get(0)},e.prototype.render=function(){this.inputEl=null;var t=this.$el;return t.addClass(this.inputClass()),t.html(this.template()),t.find(".".concat(this.holderClass())).append(this.getInputEl()),this},e}(d.Ss);const El=wl;wl.prototype.events={change:"handleChange"};var xl=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Cl=function(){return Cl=Object.assign||function(t){for(var e,n=1,r=arguments.length;n","
","
",""].join(""),l=function(){var t="";if(o)for(var e=1;e<=6;e++)t+="
";return["
","
","
","
","","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
",t,"
","
","
","
","
","","
","
","
","","","
","
","
"].join("")}(),c="spectrum.id";t.fn.spectrum=function(a,u){if("string"==typeof a){var p=this,d=Array.prototype.slice.call(arguments,1);return this.each((function(){var e=r[t(this).data(c)];if(e){var n=e[a];if(!n)throw new Error("Spectrum: no such method: '"+a+"'");"get"==a?p=e.get():"container"==a?p=e.container:"option"==a?p=e.option.apply(e,d):"destroy"==a?(e.destroy(),t(this).removeData(c)):n.apply(e,d)}})),p}return this.spectrum("destroy").each((function(){var u=function(a,c){var u,p,d,f,h=function(e,r){var o=t.extend({},n,e);return o.callbacks={move:S(o.move,r),change:S(o.change,r),show:S(o.show,r),hide:S(o.hide,r),beforeShow:S(o.beforeShow,r)},o}(c,a),g=h.flat,m=h.showSelectionPalette,v=h.localStorageKey,b=h.theme,_=h.callbacks,w=(u=Wt,p=10,function(){var t=this,e=arguments,n=function(){f=null,u.apply(t,e)};d&&clearTimeout(f),!d&&f||(f=setTimeout(n,p))}),E=!1,x=!1,C=!0,A=0,j=0,N=0,L=0,D=0,I=0,R=0,M=0,B=0,F=0,U=1,H=[],V=[],q={},z=h.selectionPalette.slice(0),W=h.maxSelectionSize,G="sp-dragging",Y=null,K=a.ownerDocument,$=(K.body,t(a)),X=!1,Z=t(l,K).addClass(b),Q=Z.find(".sp-picker-container"),J=Z.find(".sp-color"),tt=Z.find(".sp-dragger"),et=Z.find(".sp-hue"),nt=Z.find(".sp-slider"),rt=Z.find(".sp-alpha-inner"),ot=Z.find(".sp-alpha"),it=Z.find(".sp-alpha-handle"),at=Z.find(".sp-input"),st=Z.find(".sp-palette"),lt=Z.find(".sp-initial"),ct=Z.find(".sp-cancel"),ut=Z.find(".sp-clear"),pt=Z.find(".sp-choose"),dt=Z.find(".sp-palette-toggle"),ft=$.is("input"),ht=ft&&"color"===$.attr("type")&&P(),gt=ft&&!g,mt=gt?t(s).addClass(b).addClass(h.className).addClass(h.replacerClassName):t([]),vt=gt?mt:$,yt=mt.find(".sp-preview-inner"),bt=h.color||ft&&$.val(),_t=!1,wt=h.preferredFormat,Et=!h.showButtons||h.clickoutFiresChange,xt=!bt,Ct=h.allowEmpty&&!ht;function Tt(){if(h.showPaletteOnly&&(h.showPalette=!0),dt.text(h.showPaletteOnly?h.togglePaletteMoreText:h.togglePaletteLessText),h.palette){H=h.palette.slice(0),V=t.isArray(H[0])?H:[H],q={};for(var e=0;e1&&(delete window.localStorage[v],t.each(e,(function(t,e){Ot(e)})))}catch(t){}try{z=window.localStorage[v].split(";")}catch(t){}}}function Ot(e){if(m){var n=y(e).toRgbString();if(!q[n]&&-1===t.inArray(n,z))for(z.push(n);z.length>W;)z.shift();if(v&&window.localStorage)try{window.localStorage[v]=z.join(";")}catch(t){}}}function St(){var e=Ut(),n=t.map(V,(function(t,n){return T(t,e,"sp-palette-row sp-palette-row-"+n,h)}));At(),z&&n.push(T(function(){var t=[];if(h.showPalette)for(var e=0;ewindow.innerWidth-window.scrollX&&i.right-a>0&&(l.left-=a-l.width),i.bottom+sMath.abs(e-o);Y=i?"x":"y"}}else Y=null;var a=!Y||"y"===Y;(!Y||"x"===Y)&&(B=parseFloat(t/A)),a&&(F=parseFloat((j-e)/j)),xt=!1,h.showAlpha||(U=1),Ht()}),Pt,jt),bt?(Ft(bt),Vt(),wt=h.preferredFormat||y(bt).getFormat(),Ot(bt)):Vt(),g&&Dt();var r=o?"mousedown.spectrum":"click.spectrum touchstart.spectrum";st.delegate(".sp-thumb-el",r,n),lt.delegate(".sp-thumb-el:nth-child(1)",r,{ignore:!0},n)}();var Yt={show:Dt,hide:Mt,toggle:Lt,reflow:Wt,option:function(n,r){return n===e?t.extend({},h):r===e?h[n]:(h[n]=r,"preferredFormat"===n&&(wt=h.preferredFormat),void Tt())},enable:function(){X=!1,$.attr("disabled",!1),vt.removeClass("sp-disabled")},disable:Gt,offset:function(t){h.offset=t,Wt()},set:function(t){Ft(t),zt()},get:Ut,destroy:function(){$.show(),vt.unbind("click.spectrum touchstart.spectrum"),Z.remove(),mt.remove(),r[Yt.id]=null},container:Z};return Yt.id=r.push(Yt)-1,Yt}(this,t.extend({},a,t(this).data()));t(this).data(c,u.id)}))},t.fn.spectrum.load=!0,t.fn.spectrum.loadOpts={},t.fn.spectrum.draggable=k,t.fn.spectrum.defaults=n,t.fn.spectrum.inputTypeColorSupport=function e(){if(void 0===e._cachedResult){var n=t("")[0];e._cachedResult="color"===n.type&&""!==n.value}return e._cachedResult},t.spectrum={},t.spectrum.localization={},t.spectrum.palettes={},t.fn.spectrum.processNativeColorInputs=function(){var e=t("input[type=color]");e.length&&!P()&&e.spectrum({preferredFormat:"hex6"})};var u=/^[\s,#]+/,p=/\s+$/,d=0,f=Math,h=f.round,g=f.min,m=f.max,v=f.random,y=function(t,e){if(e=e||{},(t=t||"")instanceof y)return t;if(!(this instanceof y))return new y(t,e);var n=function(t){var e,n,r,o={r:0,g:0,b:0},i=1,a=!1,s=!1;return"string"==typeof t&&(t=function(t){t=t.replace(u,"").replace(p,"").toLowerCase();var e,n,r=!1;if(E[t])t=E[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=C.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=C.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=C.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=C.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=C.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=C.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=C.hex8.exec(t))?{a:(n=e[1],Z(n)/255),r:Z(e[2]),g:Z(e[3]),b:Z(e[4]),format:r?"name":"hex8"}:(e=C.hex6.exec(t))?{r:Z(e[1]),g:Z(e[2]),b:Z(e[3]),format:r?"name":"hex"}:!!(e=C.hex3.exec(t))&&{r:Z(e[1]+""+e[1]),g:Z(e[2]+""+e[2]),b:Z(e[3]+""+e[3]),format:r?"name":"hex"}}(t)),"object"==typeof t&&(t.hasOwnProperty("r")&&t.hasOwnProperty("g")&&t.hasOwnProperty("b")?(e=t.r,n=t.g,r=t.b,o={r:255*$(e,255),g:255*$(n,255),b:255*$(r,255)},a=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):t.hasOwnProperty("h")&&t.hasOwnProperty("s")&&t.hasOwnProperty("v")?(t.s=J(t.s),t.v=J(t.v),o=function(t,e,n){t=6*$(t,360),e=$(e,100),n=$(n,100);var r=f.floor(t),o=t-r,i=n*(1-e),a=n*(1-o*e),s=n*(1-(1-o)*e),l=r%6;return{r:255*[n,a,i,i,s,n][l],g:255*[s,n,n,a,i,i][l],b:255*[i,i,s,n,n,a][l]}}(t.h,t.s,t.v),a=!0,s="hsv"):t.hasOwnProperty("h")&&t.hasOwnProperty("s")&&t.hasOwnProperty("l")&&(t.s=J(t.s),t.l=J(t.l),o=function(t,e,n){var r,o,i;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=$(t,360),e=$(e,100),n=$(n,100),0===e)r=o=i=n;else{var s=n<.5?n*(1+e):n+e-n*e,l=2*n-s;r=a(l,s,t+1/3),o=a(l,s,t),i=a(l,s,t-1/3)}return{r:255*r,g:255*o,b:255*i}}(t.h,t.s,t.l),a=!0,s="hsl"),t.hasOwnProperty("a")&&(i=t.a)),i=K(i),{ok:a,format:t.format||s,r:g(255,m(o.r,0)),g:g(255,m(o.g,0)),b:g(255,m(o.b,0)),a:i}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=h(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=h(this._r)),this._g<1&&(this._g=h(this._g)),this._b<1&&(this._b=h(this._b)),this._ok=n.ok,this._tc_id=d++};y.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},setAlpha:function(t){return this._a=K(t),this._roundA=h(100*this._a)/100,this},toHsv:function(){var t=N(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=N(this._r,this._g,this._b),e=h(360*t.h),n=h(100*t.s),r=h(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=j(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=j(this._r,this._g,this._b),e=h(360*t.h),n=h(100*t.s),r=h(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return L(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(){return D(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:h(this._r),g:h(this._g),b:h(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+h(this._r)+", "+h(this._g)+", "+h(this._b)+")":"rgba("+h(this._r)+", "+h(this._g)+", "+h(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:h(100*$(this._r,255))+"%",g:h(100*$(this._g,255))+"%",b:h(100*$(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+h(100*$(this._r,255))+"%, "+h(100*$(this._g,255))+"%, "+h(100*$(this._b,255))+"%)":"rgba("+h(100*$(this._r,255))+"%, "+h(100*$(this._g,255))+"%, "+h(100*$(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[L(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+D(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?"GradientType = 1, ":"";return t&&(n=y(t).toHex8String()),"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(B,arguments)},brighten:function(){return this._applyModification(F,arguments)},darken:function(){return this._applyModification(U,arguments)},desaturate:function(){return this._applyModification(I,arguments)},saturate:function(){return this._applyModification(R,arguments)},greyscale:function(){return this._applyModification(M,arguments)},spin:function(){return this._applyModification(H,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(G,arguments)},complement:function(){return this._applyCombination(V,arguments)},monochromatic:function(){return this._applyCombination(Y,arguments)},splitcomplement:function(){return this._applyCombination(W,arguments)},triad:function(){return this._applyCombination(q,arguments)},tetrad:function(){return this._applyCombination(z,arguments)}},y.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]="a"===r?t[r]:J(t[r]));t=n}return y(t,e)},y.equals=function(t,e){return!(!t||!e)&&y(t).toRgbString()==y(e).toRgbString()},y.random=function(){return y.fromRatio({r:v(),g:v(),b:v()})},y.mix=function(t,e,n){n=0===n?0:n||50;var r,o=y(t).toRgb(),i=y(e).toRgb(),a=n/100,s=2*a-1,l=i.a-o.a,c=1-(r=((r=s*l==-1?s:(s+l)/(1+s*l))+1)/2),u={r:i.r*r+o.r*c,g:i.g*r+o.g*c,b:i.b*r+o.b*c,a:i.a*a+o.a*(1-a)};return y(u)},y.readability=function(t,e){var n=y(t),r=y(e),o=n.toRgb(),i=r.toRgb(),a=n.getBrightness(),s=r.getBrightness(),l=Math.max(o.r,i.r)-Math.min(o.r,i.r)+Math.max(o.g,i.g)-Math.min(o.g,i.g)+Math.max(o.b,i.b)-Math.min(o.b,i.b);return{brightness:Math.abs(a-s),color:l}},y.isReadable=function(t,e){var n=y.readability(t,e);return n.brightness>125&&n.color>500},y.mostReadable=function(t,e){for(var n=null,r=0,o=!1,i=0;i125&&a.color>500,l=a.brightness/125*3+a.color/500;(s&&!o||s&&o&&l>r||!s&&!o&&l>r)&&(o=s,r=l,n=y(e[i]))}return n};var b,_,w,E=y.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=y.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(E),C=(_="[\\s|\\(]+("+(b="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+b+")[,|\\s]+("+b+")\\s*\\)?",w="[\\s|\\(]+("+b+")[,|\\s]+("+b+")[,|\\s]+("+b+")[,|\\s]+("+b+")\\s*\\)?",{rgb:new RegExp("rgb"+_),rgba:new RegExp("rgba"+w),hsl:new RegExp("hsl"+_),hsla:new RegExp("hsla"+w),hsv:new RegExp("hsv"+_),hsva:new RegExp("hsva"+w),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});window.tinycolor=y,t((function(){t.fn.spectrum.load&&t.fn.spectrum.processNativeColorInputs()}))}function T(e,n,r,o){for(var a=[],s=0;s')}else a.push(t("
").append(t('').attr("title",o.noColorSelectedText)).html())}return"
"+a.join("")+"
"}function A(){}function O(t){t.stopPropagation()}function S(t,e){var n=Array.prototype.slice,r=n.call(arguments,2);return function(){return t.apply(e,r.concat(n.call(arguments)))}}function k(e,n,r,i){n=n||function(){},r=r||function(){},i=i||function(){};var a=document,s=!1,l={},c=0,u=0,p="ontouchstart"in window,d={};function f(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}function h(t){if(s){if(o&&a.documentMode<9&&!t.button)return g();var r=t&&t.touches&&t.touches[0],i=r&&r.pageX||t.pageX,d=r&&r.pageY||t.pageY,h=Math.max(0,Math.min(i-l.left,u)),m=Math.max(0,Math.min(d-l.top,c));p&&f(t),n.apply(e,[h,m,t])}}function g(){s&&(t(a).unbind(d),t(a.body).removeClass("sp-dragging"),setTimeout((function(){i.apply(e,arguments)}),0)),s=!1}d.selectstart=f,d.dragstart=f,d["touchmove mousemove"]=h,d["touchend mouseup"]=g,t(e).bind("touchstart mousedown",(function(n){(n.which?3==n.which:2==n.button)||s||!1!==r.apply(e,arguments)&&(s=!0,c=t(e).height(),u=t(e).width(),l=t(e).offset(),t(a).bind(d),t(a.body).addClass("sp-dragging"),h(n),f(n))}))}function P(){return t.fn.spectrum.inputTypeColorSupport()}function j(t,e,n){t=$(t,255),e=$(e,255),n=$(n,255);var r,o,i=m(t,e,n),a=g(t,e,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case t:r=(e-n)/l+(e>1)+720)%360;--e;)r.h=(r.h+o)%360,i.push(y(r));return i}function Y(t,e){e=e||6;for(var n=y(t).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/e;e--;)a.push(y({h:r,s:o,v:i})),i=(i+s)%1;return a}function K(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function $(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=g(e,m(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),f.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function X(t){return g(1,m(0,t))}function Z(t){return parseInt(t,16)}function Q(t){return 1==t.length?"0"+t:""+t}function J(t){return t<=1&&(t=100*t+"%"),t}}(p.default);var Tl=function(t){var e="name"===t.getFormat()&&t.toName(),n=1==t.getAlpha()?t.toHexString():t.toRgbString();return e||n.replace(/ /g,"")},Al=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xl(e,t),e.prototype.template=function(){var t=this.ppfx;return'\n
\n
\n
\n
\n
\n
\n ')},e.prototype.inputClass=function(){var t=this.ppfx;return"".concat(t,"field ").concat(t,"field-color")},e.prototype.holderClass=function(){return"".concat(this.ppfx,"input-holder")},e.prototype.remove=function(){return t.prototype.remove.call(this),this.colorEl.spectrum("destroy"),this},e.prototype.handleChange=function(t){t.stopPropagation();var e=t.target.value;(0,i.isUndefined)(e)||this.__onInputChange(e)},e.prototype.__onInputChange=function(t){var e=this.model,n=this.opts.onChange,r=t,o=this.getColorEl();if(o){o.spectrum("set",r);var i=o.spectrum("get"),a=r&&Tl(i);a&&(r=a)}n?n(r):e.set({value:r},{fromInput:1})},e.prototype.setValue=function(t,e){void 0===e&&(e={});var n=this.model,r=(0,i.isUndefined)(e.def)?n.get("defaults"):e.def,o=(0,i.isUndefined)(t)?(0,i.isUndefined)(r)?"":r:t,a=this.getInputEl(),s=this.getColorEl(),l="none"!=o?o:"";a.value=o,s.get(0).style.backgroundColor=l,(e.fromTarget||e.fromInput&&!e.avoidStore)&&(s.spectrum("set",l),this.noneColor="none"==o,this.movedColor=l)},e.prototype.getColorEl=function(){var t=this;if(!this.colorEl){var e=this,n=e.em,r=e.model,o=e.opts,i=this.ppfx,a=o.onChange,s=(0,p.default)('
')),l=s.get(0).style,c=n&&n.getConfig&&n.getConfig().colorPicker||{};this.movedColor="";var u,d=!1;this.$el.find("[data-colorp-c]").append(s);var f=function(t,e){void 0===e&&(e=!0),a?a(t,!e):(e&&r.setValueFromInput(0,!1),r.setValueFromInput(t,e))};s.spectrum(Cl(Cl(Cl({color:r.getValue()||!1,containerClassName:"".concat(i,"one-bg ").concat(i,"two-color ").concat(i,"editor-sp"),maxSelectionSize:8,showPalette:!0,showAlpha:!0,chooseText:"Ok",cancelText:"⨯",palette:[]},c),r.get("colorPicker")||{}),{move:function(e){var n=Tl(e);t.movedColor=n,l.backgroundColor=n,f(n,!1)},change:function(e){d=!0;var n=Tl(e);l.backgroundColor=n,f(n),t.noneColor=!1},show:function(e){d=!1,t.movedColor="",u=a?r.getValue({noDefault:!0}):Tl(e)},hide:function(){d||!u&&!a||(t.noneColor&&(u=""),l.backgroundColor=u,s.spectrum("set",u),f(u,!1))}})),n&&n.on&&this.listenTo(n,"component:selected",(function(){t.movedColor&&f(t.movedColor),d=!0,t.movedColor="",s.spectrum("hide")})),this.colorEl=s}return this.colorEl},e.prototype.render=function(){return El.prototype.render.call(this),this.getColorEl(),this},e}(El);const Ol=Al;var Sl=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const kl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sl(e,t),e.prototype.templateInput=function(){return""},e.prototype.getInputEl=function(){if(!this.input){var t=this.model,e=this.getModelValue(),n=new Ol({model:t,target:this.config.em,contClass:this.ppfx+"field-color",ppfx:this.ppfx}).render();n.setValue(e,{fromTarget:1}),this.input=n.el}return this.input},e}(hl);var Pl=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jl=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return(0,i.bindAll)(n,"moveIncrement","upIncrement"),n.doc=document,n.listenTo(n.model,"change:unit",n.handleModelChange),n}return Pl(e,t),e.prototype.template=function(){var t=this.ppfx;return'\n \n \n
\n
\n
\n
\n ')},e.prototype.inputClass=function(){var t=this.ppfx;return this.opts.contClass||"".concat(t,"field ").concat(t,"field-integer")},e.prototype.setValue=function(t,e){var n=e||{},r=this.validateInputValue(t,{deepCheck:1}),o={value:r.value,unit:""};(r.unit||r.force)&&(o.unit=r.unit),this.model.set(o,n),n.silent&&this.handleModelChange()},e.prototype.handleChange=function(t){t.stopPropagation(),this.setValue(this.getInputEl().value),this.elementUpdated()},e.prototype.handleUnitChange=function(t){t.stopPropagation();var e=this.getUnitEl().value;this.model.set("unit",e),this.elementUpdated()},e.prototype.handleKeyDown=function(t){"ArrowUp"===t.key&&(t.preventDefault(),this.upArrowClick()),"ArrowDown"===t.key&&(t.preventDefault(),this.downArrowClick())},e.prototype.elementUpdated=function(){this.model.trigger("el:change")},e.prototype.handleModelChange=function(){var t=this.model;this.getInputEl().value=t.get("value");var e=this.getUnitEl();e&&(e.value=t.get("unit")||"")},e.prototype.getUnitEl=function(){if(!this.unitEl){var t=this.model,e=t.get("units")||[];if(e.length){var n=[''];e.forEach((function(e){var r=e==t.get("unit")?"selected":"";n.push(""))}));var r=document.createElement("div");r.innerHTML='"),this.unitEl=r.firstChild}}return this.unitEl},e.prototype.upArrowClick=function(){var t=this.model.get("step"),e=parseFloat(this.getInputEl().value);this.setValue(this.normalizeValue(e+t)),this.elementUpdated()},e.prototype.downArrowClick=function(){var t=this.model.get("step"),e=parseFloat(this.getInputEl().value);this.setValue(this.normalizeValue(e-t)),this.elementUpdated()},e.prototype.downIncrement=function(t){t.preventDefault(),this.moved=!1;var e=this.model.get("value")||0;e=this.normalizeValue(e),this.current={y:t.pageY,val:e},(0,yt.on)(this.doc,"mousemove",this.moveIncrement),(0,yt.on)(this.doc,"mouseup",this.upIncrement)},e.prototype.moveIncrement=function(t){this.moved=!0;var e=this.model,n=e.get("step"),r=this.current,o=this.normalizeValue(r.val+(r.y-t.pageY)*n),i=this.validateInputValue(o),a=i.value,s=i.unit;return this.prValue=a,e.set({value:a,unit:s},{avoidStore:1}),!1},e.prototype.upIncrement=function(){var t=this.model,e=t.get("step");if((0,yt.AU)(this.doc,"mouseup",this.upIncrement),(0,yt.AU)(this.doc,"mousemove",this.moveIncrement),this.prValue&&this.moved){var n=this.prValue-e;t.set("value",n,{avoidStore:1}).set("value",n+e),this.elementUpdated()}},e.prototype.normalizeValue=function(t,e){void 0===e&&(e=0);var n=this.model.get("step"),r=0;if(isNaN(t))return e;if(t=parseFloat(t),Math.floor(t)!==t){var o=n.toString().split(".")[1];r=o?o.length:0}return r?parseFloat(t.toFixed(r)):t},e.prototype.validateInputValue=function(t,e){void 0===e&&(e={});var n=0,r=e||{},o=this.model,a=(0,i.isUndefined)(t)?"":t,s=e.units||o.get("units")||[],l=o.get("unit")||s.length&&s[0]||"",c=(0,i.isUndefined)(e.max)?o.get("max"):e.max,u=(0,i.isUndefined)(e.min)?o.get("min"):e.min,p=!!o.get("limitlessMax"),d=!!o.get("limitlessMin");if(r.deepCheck){var f=o.get("fixedValues")||[];if(""===a&&(l=""),a){var h=new RegExp("^"+f.join("|"),"g");if(f.length&&h.test(a))a=a.match(h)[0],l="",n=1;else{var g=a+"";a+="",a=parseFloat(a.replace(",",".")),a=isNaN(a)?"":a;var m=g.replace(a,"");(0,i.indexOf)(s,m)>=0&&(l=m)}}}return p||(0,i.isUndefined)(c)||""===c||(a=a>c?c:a),d||(0,i.isUndefined)(u)||""===u||(a=a\n
\n
\n
\n
\n
')},e.prototype.getInputEl=function(){if(!this.$input){var t=this.model,e=this.em,n=t.get("name"),r=t.get("options")||[],o=[],a="",this.$input=(0,p.default)(a);var s=t.getTargetValue(),l=o.indexOf(s)>=0?s:t.get("default");!(0,i.isUndefined)(l)&&this.$input.val(l)}return this.$input.get(0)},e}(hl);var Bl=r(91),Fl=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ul="data-categories",Hl="data-no-categories",Vl=function(t){function e(e,n){var r=t.call(this,e)||this;r.reuseView=!0,r.renderedCategories=new Map,r.itemsView=n;var o=e.config||{};r.config=o;var i=e.editor;r.em=i;var a=o.pStylePrefix||"";return r.ppfx=a,r.pfx=a+o.stylePrefix||"",r.className="".concat(r.pfx,"traits"),r.traitContClass="".concat(a,"traits-c"),r.classNoCat="".concat(a,"traits-empty-c"),r.catsClass="".concat(a,"trait-categories"),r.collection=new mn([],{em:i}),r.listenTo(i,"component:toggled",r.updatedCollection),r.updatedCollection(),r}return Fl(e,t),e.prototype.updatedCollection=function(){var t=this.ppfx,e=this.em,n=e.getSelected();this.el.className="".concat(this.traitContClass,"s ").concat(t,"one-bg ").concat(t,"two-color"),this.collection=(null==n?void 0:n.traits)||new mn([],{em:e}),this.render()},e.prototype.add=function(t,e){var n=this.config,r=this.renderedCategories,o=this.itemView,i=t.get(this.itemType);this.itemsView&&this.itemsView[i]&&(o=this.itemsView[i]);var a=new o({config:n,model:t,attributes:t.get("attributes")}).render().el,s=t.parent.initCategory(t);if(s){var l=s.getId(),c=this.getCategoriesEl(),u=r.get(l);return!u&&c&&(u=new Sa({model:s},n,"trait").render(),r.set(l,u),c.appendChild(u.el)),void(null==u||u.append(a))}e?e.appendChild(a):this.append(a)},e.prototype.getCategoriesEl=function(){return this.catsEl||(this.catsEl=this.el.querySelector("[".concat(Ul,"]"))),this.catsEl},e.prototype.getTraitsEl=function(){return this.traitsEl||(this.traitsEl=this.el.querySelector("[".concat(Hl,"]"))),this.traitsEl},e.prototype.append=function(t){var e=this.getTraitsEl();null==e||e.appendChild(t)},e.prototype.render=function(){var t=this,e=this,n=e.el,r=e.ppfx,o=e.catsClass,i=e.traitContClass,a=e.classNoCat,s=document.createDocumentFragment();delete this.catsEl,delete this.traitsEl,this.renderedCategories=new Map,n.innerHTML='\n
\n
\n "),this.collection.forEach((function(e){return t.add(e,s)})),this.append(s);var l="".concat(i,"s ").concat(r,"one-bg ").concat(r,"two-color");return this.$el.addClass(l),this.rendered=!0,this},e}(Bl.A);const ql=Vl;Vl.prototype.itemView=hl;var zl=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wl=function(t){function e(e){var n=t.call(this,e,"TraitManager",{stylePrefix:"trt-",appendTo:"",optionsTarget:[{value:!1},{value:"_blank"}],custom:!1})||this;n.TraitsView=ql,n.events=sn,n.state=new d.Kx({traits:[]}),n.types={text:hl,number:Il,select:Ml,checkbox:bl,color:kl,button:vl};var r=n,o=r.state,a=r.config,s=r.events,l=a.pStylePrefix;l&&(a.stylePrefix="".concat(l).concat(a.stylePrefix)),(0,i.bindAll)(n,"__onSelect");var c=(0,i.debounce)((function(){return n.__upSel()}),0),u=(0,i.debounce)((function(){return n.__onUp()}),0);return o.listenTo(e,"component:toggled",c),o.listenTo(e,s.value,u),o.on("change:traits",n.__onSelect),n.debounced=[c,u],n}return zl(e,t),e.prototype.select=function(t){var e=(null==t?void 0:t.getTraits())||[];this.state.set({component:t,traits:e}),this.__trgCustom()},e.prototype.getCategories=function(){var t,e=this.getComponent();return function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o\n
\n ').concat(c?'\n ').concat(E,'\n ').concat(x,"\n "):"",'\n
\n
\n
\n ').concat(C,"\n ").concat(y?'').concat(y,""):"",'\n ').concat(v,'\n
\n
\n
\n
\n
\n
').concat(u||"",'
\n
").concat(w||"",'
\n
\n \n
\n ')},Object.defineProperty(e.prototype,"em",{get:function(){return this.module.em},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ppfx",{get:function(){return this.em.getConfig().stylePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pfx",{get:function(){return this.config.stylePrefix},enumerable:!1,configurable:!0}),e.prototype.initComponent=function(){var t=this,e=this.model,n=this.config.onInit,r=e.components();this.listenTo(r,"remove add reset",this.checkChildren),[["change:status",this.updateStatus],["change:open",this.updateOpening],["change:layerable",this.updateLayerable],["change:style:display",this.updateVisibility],["change:draggable",this.updateMove],["rerender:layer",this.render],["change:name change:custom-name",this.updateName]].forEach((function(n){return t.listenTo(e,n[0],n[1])})),this.$el.data("model",e),this.$el.data("collection",r),e.viewLayer=this,n.bind(this)({component:e,render:this.__render,listenTo:this.listenTo})},e.prototype.updateName=function(){this.getInputName().innerText=this.model.getName()},e.prototype.getVisibilityEl=function(){return this.getItemContainer().find("[data-toggle-visible]")},e.prototype.updateVisibility=function(){var t=this,e=t.pfx,n=t.model,r=t.module,o="".concat(e,"layer-hidden"),i=r.isVisible(n)?"removeClass":"addClass";this.$el[i](o),this.getVisibilityEl()[i]("".concat(e,"layer-off"))},e.prototype.updateMove=function(){var t=this.model,e=this.config,n=this.getItemContainer().find("[".concat(gc,"]"))[0];if(n){var r=t.get("draggable")&&e.sortable;n.style.display=r?"":"none"}},e.prototype.toggleVisibility=function(t){null==t||t.stopImmediatePropagation();var e=this.module,n=this.model;e.setVisible(n,!e.isVisible(n))},e.prototype.handleEdit=function(t){null==t||t.stopPropagation();var e=this,n=e.em,r=e.$el,o=e.clsNoEdit,i=e.clsEdit,a=this.getInputName();a[hc]="true",a.focus(),document.execCommand("selectAll",!1),n.setEditing(!0),r.find(".".concat(this.inputNameCls)).removeClass(o).addClass(i)},e.prototype.handleEditKey=function(t){t.stopPropagation(),((0,yt.v$)(t)||(0,yt.Ci)(t))&&this.handleEditEnd(t)},e.prototype.handleEditEnd=function(t){null==t||t.stopPropagation();var e=this,n=e.em,r=e.$el,o=e.clsNoEdit,i=e.clsEdit,a=e.model,s=this.getInputName(),l=s.textContent;s.scrollLeft=0,s[hc]="false",a.setName(l),n.setEditing(!1),r.find(".".concat(this.inputNameCls)).addClass(o).removeClass(i),this.updateName()},e.prototype.getInputName=function(){return this.inputName||(this.inputName=this.el.querySelector(".".concat(this.inputNameCls))),this.inputName},e.prototype.updateOpening=function(){var t=this,e=t.$el,n=t.model,r=t.pfx,o="open",i="".concat(r,"layer-open"),a=this.getCaret();this.module.isOpen(n)?(e.addClass(o),a.addClass(i)):(e.removeClass(o),a.removeClass(i))},e.prototype.toggleOpening=function(t){var e=this.model,n=this.module;null==t||t.stopImmediatePropagation(),e.get("components").length&&n.setOpen(e,!n.isOpen(e))},e.prototype.handleSelect=function(t){null==t||t.stopPropagation();var e=this.module,n=this.model;e.setLayerData(n,{selected:!0},{event:t})},e.prototype.handleHover=function(t){null==t||t.stopPropagation();var e=this.module,n=this.model;e.setLayerData(n,{hovered:!0})},e.prototype.handleHoverOut=function(t){null==t||t.stopPropagation();var e=this.module,n=this.model;e.setLayerData(n,{hovered:!1})},e.prototype.startSort=function(t){var e,n,r;t.stopPropagation();var o=this,i=o.em,a=o.sorter,s=o.model;if((!t.button||0===t.button)&&a){var l=(null===(n=null===(e=s.delegate)||void 0===e?void 0:e.move)||void 0===n?void 0:n.call(e,s))||s;a.eventHandlers=fc({legacyOnStartSort:sc(i),legacyOnMoveClb:lc(i),legacyOnEndMove:cc(i,[l])},a.eventHandlers);var c=(null===(r=l.viewLayer)||void 0===r?void 0:r.el)||t.target;a.startSort([{element:c}])}},e.prototype.updateStatus=function(){Wo.prototype.updateStatus.apply(this,[{avoidHover:!this.config.highlightHover,noExtHl:!0}])},e.prototype.getItemContainer=function(){return this.$el.children("[data-toggle-select]")},e.prototype.checkChildren=function(){var t=this,e=t.model,n=t.clsNoChild,r=t.module,o=r.getComponents(e).length,i=this.getItemContainer(),a=i.find(".".concat(this.clsTitle)),s=i.find("[data-count]");a[o?"removeClass":"addClass"](n),s.html("".concat(o||"")),!o&&r.setOpen(e,!1)},e.prototype.getCaret=function(){return this.caret&&this.caret.length||(this.caret=this.getItemContainer().find(".".concat(this.clsCaret))),this.caret},e.prototype.setRoot=function(t){var e,n=(0,i.isString)(t)?null===(e=this.em.getWrapper())||void 0===e?void 0:e.find(t)[0]:t;n&&(this.stopListening(),this.model=n,this.initComponent(),this._rendered&&this.render())},e.prototype.updateLayerable=function(){(this.parentView||this).render()},e.prototype.__clearItems=function(){var t;null===(t=this.items)||void 0===t||t.remove()},e.prototype.remove=function(){for(var t=[],e=0;e\n ').concat(this.getPreview(),'\n \n
\n ').concat(this.getInfo(),'\n
\n
\n ⨯\n
\n ')},e.prototype.updateTarget=function(t){t&&t.set&&(t.set("attributes",(0,i.clone)(t.get("attributes"))),t.set("src",this.model.get("src")))},e.prototype.getPreview=function(){return""},e.prototype.getInfo=function(){return""},e.prototype.render=function(){var t=this.el;return t.innerHTML=this.template(this,this.model),t.className=this.className,this},e}(d.Ss);var Bc=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fc=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},Uc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Bc(e,t),e.prototype.getPreview=function(){var t=this,e=t.pfx,n=t.ppfx,r=t.model.get("src");return s(Vc||(Vc=Fc(['\n
\n
\n '],['\n
\n
\n '])),e,r,e,n)},e.prototype.getInfo=function(){var t=this.pfx,e=this.model,n=e.get("name"),r=e.get("width"),o=e.get("height"),i=e.get("unitDim"),a=r&&o?"".concat(r,"x").concat(o).concat(i):"";return n=n||e.getFilename(),s(qc||(qc=Fc(['\n
','
\n
',"
\n "],['\n
','
\n
',"
\n "])),t,n,t,a)},e.prototype.init=function(t){var e=this.pfx;this.className+=" ".concat(e,"asset-image")},e.prototype.onClick=function(){var t=this.model,e=this.pfx,n=this.__getBhv().select,r=this.config.onClick,o=this.collection;o.trigger("deselectAll"),this.$el.addClass(e+"highlight"),(0,i.isFunction)(n)?n(t,!1):(0,i.isFunction)(r)?r(t):this.updateTarget(o.target)},e.prototype.onDblClick=function(){var t=this.em,e=this.model,n=this.__getBhv().select,r=this.config.onDblClick,o=this.collection,a=o.target,s=o.onSelect;(0,i.isFunction)(n)?n(e,!0):(0,i.isFunction)(r)?r(e):(this.updateTarget(a),null==t||t.Modal.close()),(0,i.isFunction)(s)&&s(e)},e.prototype.onRemove=function(t){t.stopImmediatePropagation(),this.model.collection.remove(this.model)},e}(Mc);const Hc=Uc;var Vc,qc;Uc.prototype.events={"click [data-toggle=asset-remove]":"onRemove",click:"onClick",dblclick:"onDblClick"};var zc=function(){return zc=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
\n \n
\n \n
\n \n ')),'\n
\n
\n ').concat(o,'\n
\n
\n
\n
\n ')},e.prototype.handleSubmit=function(t){t.preventDefault();var e=this.getAddInput(),n=e&&e.value.trim(),r=this.config.handleAdd;if(n){e.value="";var o=this.getAssetsEl();o&&(o.scrollTop=0),r?r.bind(this)(n):this.options.globalCollection.add(n,{at:0})}},e.prototype.getAssetsEl=function(){return this.el.querySelector(".".concat(this.pfx,"assets"))},e.prototype.getAddInput=function(){return this.inputUrl&&this.inputUrl.value||(this.inputUrl=this.el.querySelector(".".concat(this.pfx,"add-asset input"))),this.inputUrl},e.prototype.removedAsset=function(t){this.collection.length||this.toggleNoAssets()},e.prototype.addToAsset=function(t){1==this.collection.length&&this.toggleNoAssets(!0),this.addAsset(t)},e.prototype.addAsset=function(t,e){void 0===e&&(e=null);var n=e,r=this.collection,o=this.config,i=new t.typeView({model:t,collection:r,config:o}).render().el;if(n)n.appendChild(i);else{var a=this.getAssetsEl();a&&a.insertBefore(i,a.firstChild)}return i},e.prototype.toggleNoAssets=function(t){void 0===t&&(t=!1);var e=this.$el.find(".".concat(this.pfx,"assets"));if(t)e.empty();else{var n=this.config.noAssets;n&&e.append(n)}},e.prototype.deselectAll=function(){var t=this.pfx;this.$el.find(".".concat(t,"highlight")).removeClass("".concat(t,"highlight"))},e.prototype.renderAssets=function(){var t=this,e=document.createDocumentFragment(),n=this.$el.find(".".concat(this.pfx,"assets"));n.empty(),this.toggleNoAssets(!!this.collection.length),this.collection.each((function(n){return t.addAsset(n,e)})),n.append(e)},e.prototype.render=function(){var t=this.options.fu.render().el;return this.$el.empty(),this.$el.append(t).append(this.template(this)),this.el.className="".concat(this.ppfx,"asset-manager"),this.renderAssets(),this},e}(d.Ss);const tu=Jc;Jc.prototype.events={submit:"handleSubmit"};var eu=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nu=function(t){function e(n){void 0===n&&(n={});var r=t.call(this,n)||this;r.options=n;var o=n.config||{};r.module=n.module,r.config=o,r.em=r.config.em,r.pfx=o.stylePrefix||"",r.ppfx=o.pStylePrefix||"",r.target=r.options.globalCollection||{},r.uploadId=r.pfx+"uploadFile",r.disabled=void 0!==o.disableUpload?o.disableUpload:!o.upload&&!o.embedAsBase64,r.multiUpload=void 0===o.multiUpload||o.multiUpload;var i=o.uploadFile;return i?r.uploadFile=i.bind(r):!o.upload&&o.embedAsBase64&&(r.uploadFile=e.embedAsBase64),r.delegateEvents(),r}return eu(e,t),e.prototype.template=function(t){var e,n,r=t.pfx,o=t.title,i=t.uploadId,a=t.disabled,l=t.multiUpload;return s(ou||(e=['\n
\n
','
\n \n
\n \n '],n=['\n
\n
','
\n \n
\n \n '],Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,ou=e),r,o,i,a?"disabled":"",l?"multiple":"")},e.prototype.events=function(){return{"change [data-input]":"uploadFile"}},e.prototype.onUploadStart=function(){var t=this.module;null==t||t.__propEv(t.events.uploadStart)},e.prototype.onUploadEnd=function(t){var e=this.$el,n=this.module;null==n||n.__propEv(n.events.uploadEnd,t);var r=e.find("input");r&&r.val("")},e.prototype.onUploadError=function(t){var e=this.module;console.error(t),this.onUploadEnd(t),null==e||e.__propEv(e.events.uploadError,t)},e.prototype.onUploadResponse=function(t,e){var n,r=this,o=r.module,i=r.config,a=r.target;try{n="string"==typeof t?JSON.parse(t):t}catch(e){n=t}null==o||o.__propEv(o.events.uploadResponse,n),i.autoAdd&&a&&a.add(n.data,{at:0}),this.onUploadEnd(t),null==e||e(n)},e.prototype.uploadFile=function(t,e){var n=this,r=t.dataTransfer?t.dataTransfer.files:t.target.files,o=this.config,i=o.beforeUpload;if(!1!==(i&&i(r))){var a=new FormData,s=o.params,l=o.customFetch,c=o.fetchOptions;for(var u in s)a.append(u,s[u]);if(this.multiUpload)for(var p=0;p').concat(r.dropzoneContent,"")),p(),"draggable"in i&&[i,s].forEach((function(t){t.ondragover=d,t.ondragleave=f,t.ondrop=h}))},e.prototype.render=function(){var t=this,e=t.$el,n=t.pfx,r=t.em;return e.html(this.template({title:r&&r.t("assetManager.uploadTitle"),uploadId:this.uploadId,disabled:this.disabled,multiUpload:this.multiUpload,pfx:n})),this.initDrop(),e.attr("class",n+"file-uploader"),this},e.embedAsBase64=function(t,e){var n=this,r=t.dataTransfer?t.dataTransfer.files:t.target.files,o={data:[]};if(FileReader){for(var i=[],a=/^(.+)\/(.+)$/,s=function(t){var e=new Promise((function(e,n){var r=new FileReader;r.addEventListener("load",(function(o){var i,s=t.name,l=a.exec(t.type);if("image"===(i=l?l[1]:t.type)){var c={src:r.result,name:s,type:i,height:0,width:0},u=new Image;u.addEventListener("error",(function(t){n(t)})),u.addEventListener("load",(function(){c.height=u.height,c.width=u.width,e(c)})),u.src=c.src}else e(i?{src:r.result,name:s,type:i}:r.result)})),r.addEventListener("error",(function(t){n(t)})),r.addEventListener("abort",(function(t){n("Aborted")})),r.readAsDataURL(t)}));i.push(e)},l=0,c=r;l0&&(o=t.split(".").reduce((function(t,e){if(!(0,i.isUndefined)(t))return t[e]}),r)),o}},e.prototype._debug=function(t,e){void 0===e&&(e={});var n=this.em,r=this.config;(e.debug||r.debug)&&n&&n.logWarning(t)},e.prototype.destroy=function(){},e}(_);const Su=Ou;var ku=function(){return ku=Object.assign||function(t){for(var e,n=1,r=arguments.length;nb?m.h=Math.round(m.w/b):m.w=Math.round(m.h*b)}for(var _ in~v.indexOf("l")&&(m.l+=o.w-m.w),~v.indexOf("t")&&(m.t+=o.h-m.h),m){var w=_;m[w]=parseInt("".concat(m[w]),10)}return m}},t}();const ju=Pu;var Nu=function(){return Nu=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=this.left&&t<=this.left+this.width&&e>=this.top&&e<=this.top+this.height},t}();const Fu=Bu;var Uu=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Hu=function(){return Hu=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0;o=o||this.getDim(t.element),t.nodeDimensions=o,i=i||this.getChildrenDim(t),t.childrenDimensions=i;var l=o.clone(),c=0,u="inside";return s&&(c=(r=function(t,e,n){for(var r,o={index:0,placement:"before"},i=0,a=0,s=0,l=0,c=0,u=0,p=0,d=t.length;pa||s&&c>=s||i&&h+m0?0===p.handleNodeAddition(t,e,r).length&&p.triggerNullOnEndMove(!1):p.triggerNullOnEndMove(!0),null==t||t.restNodeState(),p.placeholder.hide()},p.onTargetChange=function(t,e){var n;null==t||t.restNodeState();var r=p.em.Canvas;if(!e)return p.placeholder.hide(),void r.removeSpots(Xu);null==e||e.setSelectedParentState(),p.targetIsText=e.isTextNode(),p.targetIsText&&(null===(n=p.sourceNodes)||void 0===n?void 0:n.some((function(t){return t.isTextable()})))?(e.setContentEditable(!0),p.placeholder.hide()):p.placeholder.show(),[lt.F.Select,lt.F.Hover,lt.F.Spacing].forEach((function(t){return r.removeSpots({type:t})})),r.addSpot($u($u({},Xu),{component:e.model}))},(0,i.bindAll)(p,"handleScrollEvent"),p}return Ku(e,t),e.prototype.onStartSort=function(){this.em.clearSelection(),this.setAutoCanvasScroll(!0)},e.prototype.bindDragEventHandlers=function(){this.em.on("frame:scroll",this.handleScrollEvent),t.prototype.bindDragEventHandlers.call(this)},e.prototype.cleanupEventListeners=function(){this.em.off("frame:scroll",this.handleScrollEvent),t.prototype.cleanupEventListeners.call(this)},e.prototype.handleScrollEvent=function(){for(var t,e=[],n=0;n=0&&xp.splice(r,1),93!=n&&224!=n||(n=91),n in yp)for(e in yp[n]=!1,_p)_p[e]==n&&(Pp[e]=!1)}function kp(){for(mp in yp)yp[mp]=!1;for(mp in _p)Pp[mp]=!1}function Pp(t,e,n){var r,o;r=Np(t),void 0===n&&(n=e,e="all");for(var i=0;i1&&(o=Lp(t),t=[t[t.length-1]]),t=t[0],(t=Ep(t))in vp||(vp[t]=[]),vp[t].push({shortcut:r[i],scope:e,method:n,key:r[i],mods:o})}for(mp in _p)Pp[mp]=!1;function jp(){return bp||"all"}function Np(t){var e;return""==(e=(t=t.replace(/\s/g,"")).split(","))[e.length-1]&&(e[e.length-2]+=","),e}function Lp(t){for(var e=t.slice(0,t.length-1),n=0;n1&&(s=Lp(r)),t=r[r.length-1],t=Ep(t),void 0===e&&(e=jp()),!vp[t])return;for(o=0;o0,yp)(!yp[r]&&Cp(n.mods,+r)>-1||yp[r]&&-1==Cp(n.mods,+r))&&(i=!1);(0!=n.mods.length||yp[16]||yp[18]||yp[17]||yp[91])&&!i||!1===n.method(t,n)&&(t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation&&t.stopPropagation(),t.cancelBubble&&(t.cancelBubble=!0))}}(t)})),Dp(t.document,"keyup",Sp),Dp(t,"focus",kp)};const Ip=Pp;var Rp=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mp=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o\n
\n
').concat(o,'
\n
\n
\n
\n
').concat(r,'
\n
\n
\n \n ')},e.prototype.events=function(){return{click:"onClick","click [data-close-modal]":"hide"}},e.prototype.onClick=function(t){this.config.backdrop&&t.target===this.el&&this.hide()},e.prototype.getCollector=function(){return this.$collector||(this.$collector=this.$el.find("."+this.pfx+"collector")),this.$collector},e.prototype.getContent=function(){var t=this.pfx;return this.$content||(this.$content=this.$el.find(".".concat(t,"content #").concat(t,"c"))),this.$content},e.prototype.getTitle=function(t){return void 0===t&&(t={}),this.$title||(this.$title=this.$el.find("."+this.pfx+"title")),t.$?this.$title:this.$title.get(0)},e.prototype.updateContent=function(){var t=this.getContent(),e=t.children(),n=this.getCollector(),r=this.model.get("content");e.length&&n.append(e),t.empty().append(r)},e.prototype.updateTitle=function(){var t=this.getTitle({$:!0});t&&t.empty().append(this.model.get("title"))},e.prototype.updateOpen=function(){this.el.style.display=this.model.get("open")?"":"none"},e.prototype.hide=function(){this.model.close()},e.prototype.show=function(){this.model.open()},e.prototype.updateAttr=function(t){var e=this,n=e.pfx,r=e.$el,o=e.el,i=[].slice.call(o.attributes).map((function(t){return t.name}));r.removeAttr(i.join(" ")),r.attr(qp(qp({},t||{}),{class:"".concat(n,"container ").concat(t&&t.class||"").trim()}))},e.prototype.render=function(){var t=this.$el,e=this.model.toJSON();return e.pfx=this.pfx,e.ppfx=this.ppfx,t.html(this.template(e)),this.updateAttr(),this.updateOpen(),this},e}(vt);const Wp=zp;var Gp=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Yp=function(t){function e(e){var n=t.call(this,e,"Modal",{stylePrefix:"mdl-",title:"",content:"",backdrop:!0,custom:!1,extend:{}})||this;return n.model=new Hp(n),n.model.on("change:open",(function(t,n){e.trigger("modal:".concat(n?"open":"close"))})),n.model.on("change",(0,i.debounce)((function(){var t=n._evData(),r=n.config.custom;(0,i.isFunction)(r)&&r(t),e.trigger("modal",t)}),0)),n}return Gp(e,t),e.prototype._evData=function(){var t=this,e=this.getTitle(),n=this.getContent(),r=this.model.attributes;return{open:r.open,attributes:r.attributes,title:(0,i.isString)(e)?(0,yt.GZ)(e):e,content:(0,i.isString)(n)?(0,yt.GZ)(n):n.get?n.get(0):n,close:function(){t.close()}}},e.prototype.postRender=function(t){var e=t.model.config.el||t.el,n=this.render();n&&(null==e||e.appendChild(n))},e.prototype.open=function(t){void 0===t&&(t={});var e=t.attributes||{};return t.title&&this.setTitle(t.title),t.content&&this.setContent(t.content),this.model.set("attributes",e),this.model.open(),this.modal&&this.modal.updateAttr(e),this},e.prototype.close=function(){return this.model.close(),this},e.prototype.onceClose=function(t){return this.em.once("modal:close",t),this},e.prototype.onceOpen=function(t){return this.em.once("modal:open",t),this},e.prototype.isOpen=function(){return!!this.model.get("open")},e.prototype.setTitle=function(t){return this.model.set("title",t),this},e.prototype.getTitle=function(){return this.model.get("title")},e.prototype.setContent=function(t){return this.model.set("content"," "),this.model.set("content",t),this},e.prototype.getContent=function(){return this.model.get("content")},e.prototype.getContentEl=function(){var t;return null===(t=this.modal)||void 0===t?void 0:t.getContent().get(0)},e.prototype.getModel=function(){return this.model},e.prototype.render=function(){var t;if(!this.config.custom){var e=Wp.extend(this.config.extend),n=this.modal&&this.modal.el;return this.modal=new e({el:n,model:this.model,config:this.config}),null===(t=this.modal)||void 0===t?void 0:t.render().el}},e.prototype.destroy=function(){var t;null===(t=this.modal)||void 0===t||t.remove()},e}(_);const Kp=Yp;var $p="sw-visibility",Xp="export-template",Zp="open-sm",Qp="open-tm",Jp="open-layers",td="open-blocks",ed="fullscreen",nd="preview";var rd=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const od=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.get("buttons").length&&r.set("buttons",new sd(r.module,r.get("buttons"))),r}return rd(e,t),e.prototype.defaults=function(){return{id:"",label:"",tagName:"span",className:"",command:"",context:"",buttons:[],attributes:{},options:{},active:!1,dragDrop:!1,togglable:!0,runDefaultCommand:!0,stopDefaultCommand:!1,disable:!1}},Object.defineProperty(e.prototype,"className",{get:function(){return this.get("className")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"command",{get:function(){return this.get("command")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this.get("active")},set:function(t){this.set("active",t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"togglable",{get:function(){return this.get("togglable")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"runDefaultCommand",{get:function(){return this.get("runDefaultCommand")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"stopDefaultCommand",{get:function(){return this.get("stopDefaultCommand")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disable",{get:function(){return this.get("disable")},enumerable:!1,configurable:!0}),e}(E.A);var id=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ad=function(t){function e(e,n){return t.call(this,e,n,od)||this}return id(e,t),e.prototype.deactivateAllExceptOne=function(t,e){this.forEach((function(n,r){n!==t&&(n.set("active",!1),e&&n.get("buttons").length&&n.get("buttons").deactivateAllExceptOne(t,e))}))},e.prototype.deactivateAll=function(t,e){var n=t||"";this.forEach((function(t){t.get("context")==n&&t!==e&&t.set("active",!1,{fromCollection:!0})}))},e.prototype.disableAllButtons=function(t){var e=t||"";this.forEach((function(t,n){t.get("context")==e&&t.set("disable",!0)}))},e.prototype.disableAllButtonsExceptOne=function(t,e){this.forEach((function(n,r){n!==t&&(n.set("disable",!0),e&&n.get("buttons").length&&n.get("buttons").disableAllButtonsExceptOne(t,e))}))},e}(K);const sd=ad;ad.prototype.model=od;var ld=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const cd=function(t){function e(e,n){var r=t.call(this,e,n)||this,o=r.get("buttons")||[];return r.buttons=new sd(e,o),r}return ld(e,t),e.prototype.defaults=function(){return{id:"",content:"",visible:!0,buttons:[],attributes:{}}},Object.defineProperty(e.prototype,"buttons",{get:function(){return this.get("buttons")},set:function(t){this.set("buttons",t)},enumerable:!1,configurable:!0}),e}(E.A);var ud=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pd=function(t){function e(e,n){return t.call(this,e,n,cd)||this}return ud(e,t),e}(K);const dd=pd;pd.prototype.model=cd;var fd=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),hd=function(){return hd=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
','
\n
\n \n '],n=['\n
\n
','
\n
\n
\n '],Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,Wd=e),r,r,o,r,i,r)},e.prototype.initialize=function(t){this.config=t.config||{},this.pfx=this.config.stylePrefix},e.prototype.render=function(){var t,e,n=this,r=n.model,o=n.pfx,i=n.$el,a=r.toJSON(),s=r.get("input")||(null===(e=(t=r).getElement)||void 0===e?void 0:e.call(t));return a.pfx=o,i.html(this.template(a)),i.attr("class","".concat(o,"editor-c")),i.find("#".concat(o,"code")).append(s),this},e}(d.Ss);const zd=qd;var Wd,Gd=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Yd=function(){return Yd=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0})))return!1;if((0,i.isBoolean)(e))return!0;if((0,i.isArray)(e)&&rf(t).some((function(t){return e.indexOf(t)>=0})))return!0}return!1},on:function(t,e,n){var o=of.get(t);o||(o=t.previousAttributes(),of.set(t,o));var a=n||e||{};if(a.noUndo&&setTimeout((function(){of.delete(t)})),!nf(a)){var s=t.toJSON({fromUndo:r}),l={object:t,before:o,after:s};if(of.delete(t),!(0,i.isEmpty)(s))return l}}}),n.um.changeUndoType("add",{on:function(t,e,o){if(void 0===o&&(o={}),!nf(o)&&n.isRegistered(e))return{object:e,before:void 0,after:t,options:tf(tf({},o),{fromUndo:r})}}}),n.um.changeUndoType("remove",{on:function(t,e,o){if(void 0===o&&(o={}),!nf(o)&&n.isRegistered(e))return{object:e,before:t,after:void 0,options:tf(tf({},o),{fromUndo:r})}}}),n.um.changeUndoType("reset",{undo:function(t,e){t.reset(e,{fromUndo:r})},redo:function(t,e,n){t.reset(n,{fromUndo:r})},on:function(t,e){if(void 0===e&&(e={}),!nf(e)&&n.isRegistered(t))return{object:t,before:e.previousModels,after:ef([],t.models,!0),options:tf(tf({},e),{fromUndo:r})}}}),n.um.on("undo redo",(function(){e.getSelectedAll().map((function(t){return t.trigger("rerender:layer")}))})),[Qd.undo,Qd.redo].forEach((function(t){return n.um.on(t,(function(){return e.trigger(t)}))})),n}return Jd(e,t),e.prototype.postLoad=function(){var t=this.config,e=this.em;t.trackSelection&&e&&this.add(e.get("selected"))},e.prototype.add=function(t){return this.um.register(t),this},e.prototype.remove=function(t){return this.um.unregister(t),this},e.prototype.removeAll=function(){return this.um.unregisterAll(),this},e.prototype.start=function(){return this.um.startTracking(),this},e.prototype.stop=function(){return this.um.stopTracking(),this},e.prototype.undo=function(t){void 0===t&&(t=!0);var e=this.em,n=this.um;return!e.isEditing()&&n.undo(t),this},e.prototype.undoAll=function(){return this.um.undoAll(),this},e.prototype.redo=function(t){void 0===t&&(t=!0);var e=this.em,n=this.um;return!e.isEditing()&&n.redo(t),this},e.prototype.redoAll=function(){return this.um.redoAll(),this},e.prototype.hasUndo=function(){return!!this.um.isAvailable("undo")},e.prototype.hasRedo=function(){return!!this.um.isAvailable("redo")},e.prototype.isRegistered=function(t){return!!this.getInstance().objectRegistry.isRegistered(t)},e.prototype.getStack=function(){return this.um.stack},e.prototype.getStackGroup=function(){var t=[],e=[];return this.getStack().forEach((function(n){var r=n.get("magicFusionIndex");e.indexOf(r)<0&&(e.push(r),t.push(n))})),t},e.prototype.skip=function(t){var e=!!this.um.isTracking();e&&this.stop(),t(),e&&this.start()},e.prototype.getGroupedStack=function(){var t={};return this.getStack().forEach((function(e,n){var r=e.get("magicFusionIndex"),o=function(t,e){var n=t.attributes,r=n.type,o=n.after,i=n.before,a=n.object,s=n.options;return{index:e,type:r,after:o,before:i,object:a,options:void 0===s?{}:s}}(e,n);t[r]?t[r].push(o):t[r]=[o]})),Object.keys(t).map((function(e){var n=t[e];return{index:n[n.length-1].index,actions:n,labels:(0,i.unique)(n.reduce((function(t,e){var n,r=null===(n=e.options)||void 0===n?void 0:n.action;return r&&t.push(r),t}),[]))}}))},e.prototype.goToGroup=function(t){var e=this;if(t){var n=this.getPointer(),r=t.index-n;(0,i.times)(Math.abs(r),(function(){e[r<0?"undo":"redo"](!1)}))}},e.prototype.getPointer=function(){return this.getStack().pointer},e.prototype.clear=function(){return this.um.clear(),this},e.prototype.getInstance=function(){return this.um},e.prototype.destroy=function(){this.clear().removeAll()},e}(_);const sf=af;var lf,cf=function(){return cf=Object.assign||function(t){for(var e,n=1,r=arguments.length;nB",attributes:{title:"Bold"},result:function(t){return t.exec("bold")}},italic:{name:"italic",icon:"I",attributes:{title:"Italic"},result:function(t){return t.exec("italic")}},underline:{name:"underline",icon:"U",attributes:{title:"Underline"},result:function(t){return t.exec("underline")}},strikethrough:{name:"strikethrough",icon:"S",attributes:{title:"Strike-through"},result:function(t){return t.exec("strikeThrough")}},link:{icon:'\n \n ',name:"link",attributes:{style:"font-size:1.4rem;padding:0 4px 2px;",title:"Link"},state:function(t){return t&&t.selection()&&pf(t)?1:0},result:function(t){pf(t)?t.exec("unlink"):t.insertHTML('").concat(t.selection(),""),{select:!0})}},wrap:{name:"wrap",icon:'\n \n ',attributes:{title:"Wrap for style"},state:function(t){return(null==t?void 0:t.selection())&&pf(t,"SPAN")?-1:0},result:function(t){!pf(t,"SPAN")&&t.insertHTML("").concat(t.selection(),""),{select:!0})}}},hf=function(){function t(t,e,n){void 0===n&&(n={});var r=this;if(this.em=t,this.settings=n,e[uf])return e[uf];e[uf]=this,this.setEl(e),this.updateActiveActions=this.updateActiveActions.bind(this),this.__onKeydown=this.__onKeydown.bind(this),this.__onPaste=this.__onPaste.bind(this);var o=(n.actions||[]).map((function(t){var e=t;return(0,i.isString)(t)?e=cf({},ff[t]):ff[t.name]&&(e=cf(cf({},ff[t.name]),t)),e})),a=o.length?o:Object.keys(ff).map((function(t){return ff[t]}));n.classes=cf({actionbar:"actionbar",button:"action",active:"active",disabled:"disabled",inactive:"inactive"},n.classes);var s=n.classes,l=n.actionbar;if(this.actionbar=l,this.classes=s,this.actions=a,!l){if(!this.isCustom(n.module)){var c=n.actionbarContainer;(l=document.createElement("div")).className=s.actionbar,null==c||c.appendChild(l),this.actionbar=l}a.forEach((function(t){return r.addAction(t)}))}return n.styleWithCSS&&this.exec("styleWithCSS"),this}return t.prototype.isCustom=function(t){var e=t||this.em.RichTextEditor;return!(!(null==e?void 0:e.config.custom)&&!(null==e?void 0:e.customRte))},t.prototype.destroy=function(){},t.prototype.setEl=function(t){this.el=t,this.doc=t.ownerDocument},t.prototype.updateActiveActions=function(){var t=this,e=this.getActions();e.forEach((function(e){var n=e.update,r=e.btn,o=t.classes,i=o.active,a=o.inactive,s=o.disabled,l=e.state,c=e.name,u=t.doc,p=lf.INACTIVE;if(r&&(r.className=r.className.replace(i,"").trim(),r.className=r.className.replace(a,"").trim(),r.className=r.className.replace(s,"").trim()),l){var d=l(t,u);if(p=d,r)switch(d){case 1:r.className+=" ".concat(i);break;case 0:r.className+=" ".concat(a);break;case-1:r.className+=" ".concat(s)}}else u.queryCommandSupported(c)&&u.queryCommandState(c)&&(r&&(r.className+=" ".concat(i)),p=lf.ACTIVE);e.currentState=p,null==n||n(t,e)})),e.length&&this.em.RichTextEditor.__dbdTrgCustom()},t.prototype.enable=function(t){return this.enabled?this:this.__toggleEffects(!0,t)},t.prototype.disable=function(){return this.__toggleEffects(!1)},t.prototype.__toggleEffects=function(t,e){void 0===t&&(t=!1),void 0===e&&(e={});var n=t?yt.on:yt.AU,r=this.el,o=this.doc,i=this.actionbarEl();if(i&&(i.style.display=t?"":"none"),r.contentEditable="".concat(!!t),n(r,"mouseup keyup",this.updateActiveActions),n(o,"keydown",this.__onKeydown),n(o,"paste",this.__onPaste),this.enabled=t,t){var a=e.event;if(this.syncActions(),this.updateActiveActions(),a){var s=null;if(o.caretRangeFromPoint){var l=(0,yt.G2)(a);s=o.caretRangeFromPoint(l.clientX,l.clientY)}else a.rangeParent&&(s=o.createRange()).setStart(a.rangeParent,a.rangeOffset);var c=o.getSelection();null==c||c.removeAllRanges(),s&&(null==c||c.addRange(s))}r.focus()}return this},t.prototype.__onKeydown=function(t){var e=this.em,n=e.RichTextEditor.getConfig().onKeydown;if(n)return n({ev:t,rte:this,editor:e.getEditor()});var r=this.doc;"Enter"!==t.key||["insertOrderedList","insertUnorderedList"].some((function(t){return r.queryCommandState(t)}))||(r.execCommand("insertLineBreak"),t.preventDefault())},t.prototype.__onPaste=function(t){var e=this.em,n=e.RichTextEditor.getConfig().onPaste;if(n)return n({ev:t,rte:this,editor:e.getEditor()});var r=t.clipboardData,o=r.getData("text"),i=r.getData("text/html");if(o&&!i){t.preventDefault();var a=o.replace(/(?:\r\n|\r|\n)/g,"
");this.doc.execCommand("insertHTML",!1,a)}},t.prototype.syncActions=function(){var t=this;this.getActions().forEach((function(e){if(t.actionbar&&(!e.state||e.state&&e.state(t,t.doc)>=0)){var n=e.event||"click",r=e.btn;r&&(r["on".concat(n)]=function(){e.result(t,e),t.updateActiveActions()})}}))},t.prototype.addAction=function(t,e){void 0===e&&(e={});var n=e.sync,r=this.actionbarEl();if(r){var o=t.icon,i=t.attributes,a=void 0===i?{}:i,s=document.createElement("span");for(var l in s.className=this.classes.button,t.btn=s,a)s.setAttribute(l,a[l]);"string"==typeof o?s.innerHTML=o:s.appendChild(o),r.appendChild(s)}n&&(this.actions.push(t),this.syncActions())},t.prototype.getActions=function(){return this.actions},t.prototype.selection=function(){return this.doc.getSelection()},t.prototype.exec=function(t,e){this.doc.execCommand(t,!1,e)},t.prototype.actionbarEl=function(){return this.actionbar},t.prototype.insertHTML=function(t,e){var n=(void 0===e?{}:e).select,r=this,o=r.em,s=r.doc,l=r.el,c=s.getSelection();if(c&&c.rangeCount){var u=(0,a.getComponentModel)(l)||o.getSelected(),p=s.createElement("div"),d=c.getRangeAt(0);d.deleteContents(),(0,i.isString)(t)?p.innerHTML=t:t&&p.appendChild(t),Array.prototype.slice.call(p.childNodes).forEach((function(t){d.insertNode(t)})),c.removeAllRanges(),c.addRange(d),l.focus(),n&&u&&(u.once("rte:disable",(function(){var t=u.find("[".concat(df,"]"))[0];t&&(o.setSelected(t),t.removeAttributes(df))})),u.trigger("disable"))}},t}();const gf=hf;var mf=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),vf=function(){return vf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=0}))),g=this.get("onChange"),m={property:this,from:p,to:u,value:l,opts:e};o.__trgEv(o.events.propertyUpdate,m),g&&g(m),h&&this.__upTargetsStyle(((n={})[a]=l,n),e)},e.prototype.__upTargetsStyle=function(t,e){var n,r=null===(n=this.em)||void 0===n?void 0:n.get("StyleManager");null==r||r.addStyleTargets(Tf(Tf({},t),{__p:!!e.avoidStore}),e)},e.prototype._up=function(t,e){void 0===e&&(e={}),e.noTarget&&(e.__up=!0);var n=e.partial,r=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o=0&&a.push(u),n.value=String.prototype.substring.apply(s,a)}if(e.numeric){var p=parseFloat(n.value);n.unit=n.value.replace(p,""),n.value=p}return n},e.prototype.__getFullValue=function(t){var e=(void 0===t?{}:t).withDefault;return!this.hasValue()&&e?this.getDefaultValue():this.getFullValue()},e.prototype.getFullValue=function(t,e){void 0===e&&(e={});var n=this.get("functionName"),r=this.getDefaultValue(),o=(0,i.isUndefined)(t)?this.get("value"):t,a=!(0,i.isUndefined)(o)&&""!==o;if(o&&r&&o===r)return r;if(n&&a){var s="url"===n?"'".concat(o.replace(/'|"/g,""),"'"):o;o="".concat(n,"(").concat(s,")")}return a&&this.get("important")&&!e.skipImportant&&(o="".concat(o," !important")),o||""},e.prototype.__setParentTarget=function(t){this.up({parentTarget:t})},e.prototype.getParentTarget=function(){return this.get("parentTarget")||null},e.prototype.__parseFn=function(t){void 0===t&&(t="");var e=t.indexOf("(")+1,n=t.lastIndexOf(")");return{name:t.substring(0,e-1).trim(),value:String.prototype.substring.apply(t,[e,n>=0?n:void 0]).trim()}},e.prototype.__checkVisibility=function(t){var e=t.target,n=t.component,r=t.sectors,o=n||e;if(!o)return!1;var s=this.getId(),l=this.getName(),c=this.get("toRequire"),u=this.get("requires"),p=this.get("requiresParent"),d=o.get("unstylable"),f=o.get("stylable-require"),h=o.get("stylable");if((0,i.isArray)(h)&&(h=h.indexOf(l)>=0),(0,i.isArray)(d)&&(h=d.indexOf(l)<0),c&&(h=!e||f&&(f.indexOf(s)>=0||f.indexOf(l)>=0)),r&&u){var g=(0,i.keys)(u);r.forEach((function(t){t.getProperties().forEach((function(t){if((0,i.includes)(g,t.id)){var e=u[t.id];h=h&&(0,i.includes)(e,t.get("value"))}}))}))}if(p){var m=n&&n.parent(),v=m&&m.getEl();if(v){var y=(0,a.hasWin)()?window.getComputedStyle(v):{};(0,i.each)(p,(function(t,e){h=h&&y[e]&&(0,i.includes)(t,y[e])}))}else h=!1}return!!h},e}(d.Kx);const Sf=Of;Of.callParentInit=function(t,e,n,r){void 0===r&&(r={}),t.prototype.initialize.apply(e,[n,Tf(Tf({},r),{skipInit:1})])},Of.callInit=function(t,e,n){void 0===n&&(n={}),!n.skipInit&&t.init(e,n)};var kf=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pf=function(){return Pf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0},e.prototype.getLayer=function(t){return void 0===t&&(t=0),this.layers.at(t)||void 0},e.prototype.getSelectedLayer=function(){var t=this.get("selectedLayer");return t&&t.getIndex()>=0?t:void 0},e.prototype.selectLayer=function(t){return this.set("selectedLayer",t,{__select:!0})},e.prototype.selectLayerAt=function(t){void 0===t&&(t=0);var e=this.getLayer(t);return e&&this.selectLayer(e)},e.prototype.moveLayer=function(t,e){void 0===e&&(e=0);var n=this.layers,r=t?t.getIndex():-1;r>=0&&(0,i.isNumber)(e)&&e>=0&&e\n
\n ')},e.prototype.templateLabel=function(t){var e=this.pfx,n=this.em,r=t.parent,o=t.attributes,i=o.icon,a=void 0===i?"":i,s=o.info,l=void 0===s?"":s,c=null==n?void 0:n.getConfig().icons,u=(null==c?void 0:c.close)||"";return'\n \n ').concat(t.getLabel(),"\n \n ").concat(r?"":'"),"\n ")},e.prototype.templateInput=function(t){return'\n
\n \n
\n ')},e.prototype.remove=function(){var t=this;return d.Ss.prototype.remove.apply(this,arguments),["em","input","$input","view"].forEach((function(e){return t[e]=null})),this.__destroyFn(this._getClbOpts()),this},e.prototype.updateStatus=function(){var t,e=this,n=e.model,r=e.pfx,o=e.ppfx,i=e.config,a="".concat(o,"four-color"),s="".concat(o,"color-warn"),l=this.$el.children(".".concat(r,"label")),c=this.getClearEl(),u=c?c.style:{};l.removeClass("".concat(a," ").concat(s)),u.display="none",n.hasValue({noParent:!0})&&i.highlightChanged?(l.addClass(a),i.clearProperties&&(u.display="")):n.hasValue()&&i.highlightComputed&&l.addClass(s),null===(t=this.parent)||void 0===t||t.updateStatus()},e.prototype.clear=function(t){t&&t.stopPropagation(),this.model.clear()},e.prototype.getClearEl=function(){return this.clearEl||(this.clearEl=this.el.querySelector("[".concat(qf,"]"))),this.clearEl},e.prototype.inputValueChanged=function(t){t&&t.stopPropagation(),this.emit||this.model.upValue(t.target.value)},e.prototype.onValueChange=function(t,e,n){void 0===n&&(n={}),this.setValue(this.model.getFullValue(void 0,{skipImportant:!0})),this.updateStatus()},e.prototype.setValue=function(t){var e=this.model,n=(0,i.isUndefined)(t)||""===t?e.getDefaultValue():t;if(this.update)return this.__update(n);this.__setValueInput(n)},e.prototype.__setValueInput=function(t){var e=this.getInputEl();e&&(e.value=t)},e.prototype.getInputEl=function(){return this.input||(this.input=this.el.querySelector("input")),this.input},e.prototype.updateVisibility=function(){this.el.style.display=this.model.isVisible()?"":"none"},e.prototype.clearCached=function(){delete this.clearEl,delete this.input,delete this.$input},e.prototype.__unset=function(){var t=this.unset&&this.unset.bind(this);t&&t(this._getClbOpts())},e.prototype.__update=function(t){var e=this.update&&this.update.bind(this);e&&e(Vf(Vf({},this._getClbOpts()),{value:t}))},e.prototype.__change=function(){for(var t=[],e=0;e\n \n \n ')},e.prototype.remove=function(){var t;return null===(t=this.props)||void 0===t||t.remove(),Wf.prototype.remove.apply(this,arguments),this},e.prototype.onValueChange=function(){},e.prototype.onRender=function(){var t=this.pfx,e=this.model,n=e.get("properties");if(n.length&&!this.props){var r=e.isDetached(),o=new Yf({config:$f($f({},this.config),{highlightComputed:r,highlightChanged:r}),collection:n,parent:this});o.render(),this.$el.find("#".concat(t,"input-holder")).append(o.el),this.props=o}},e.prototype.clearCached=function(){Wf.prototype.clearCached.apply(this,arguments),delete this.props},e}(Wf);const Zf=Xf;var Qf=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Jf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Qf(e,t),e.prototype.events=function(){return{click:"select","click [data-close-layer]":"removeItem","mousedown [data-move-layer]":"initSorter","touchstart [data-move-layer]":"initSorter"}},e.prototype.template=function(){var t=this,e=t.pfx,n=t.ppfx,r=t.em,o=null==r?void 0:r.getConfig().icons,i=(null==o?void 0:o.close)||"",a=(null==o?void 0:o.move)||"";return'\n
\n
\n ').concat(a,'\n
\n
\n \n
\n ').concat(i,'\n
\n
\n
\n ')},e.prototype.initialize=function(t){void 0===t&&(t={});var e=this.model,n=t.config||{};this.em=n.em,this.config=n,this.sorter=t.sorter,this.pfx=n.stylePrefix||"",this.ppfx=n.pStylePrefix||"",this.propertyView=t.propertyView;var r=this.propertyView.model;this.listenTo(e,"destroy remove",this.remove),this.listenTo(e,"change:values",this.updateLabel),this.listenTo(r,"change:selectedLayer",this.updateVisibility),e.view=this,e.set({droppable:0,draggable:1}),this.$el.data("model",e)},e.prototype.initSorter=function(){var t;null===(t=this.sorter)||void 0===t||t.startSort([{element:this.el}])},e.prototype.removeItem=function(t){t&&t.stopPropagation(),this.model.remove()},e.prototype.select=function(){this.model.select()},e.prototype.getPropertiesWrapper=function(){return this.propsWrapEl||(this.propsWrapEl=this.el.querySelector("[data-properties]")),this.propsWrapEl},e.prototype.getPreviewEl=function(){return this.previewEl||(this.previewEl=this.el.querySelector("[data-preview]")),this.previewEl},e.prototype.getLabelEl=function(){return this.labelEl||(this.labelEl=this.el.querySelector("[data-label]")),this.labelEl},e.prototype.updateLabel=function(){var t=this.model,e=t.getLabel();if(this.getLabelEl().innerHTML=e,t.hasPreview()){var n=this.getPreviewEl(),r=t.getStylePreview({number:{min:-3,max:3}}),o=(0,i.keys)(r).map((function(t){return"".concat(t,":").concat(r[t])})).join(";");n.setAttribute("style",o)}},e.prototype.updateVisibility=function(){var t,e=this,n=e.pfx,r=e.model,o=e.propertyView,i=this.getPropertiesWrapper(),a=r.isSelected();i.style.display=a?"":"none",this.$el[a?"addClass":"removeClass"]("".concat(n,"active")),a&&i.appendChild(null===(t=o.props)||void 0===t?void 0:t.el)},e.prototype.render=function(){var t=this,e=t.el,n=t.pfx,r=t.model;return e.innerHTML=this.template(),e.className="".concat(n,"layer"),r.hasPreview()&&(e.querySelector("[data-preview-box]").style.display=""),this.updateLabel(),this.updateVisibility(),this},e}(d.Ss);const th=Jf;var eh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nh=function(t){function e(e){var n=t.call(this,e)||this,r=n.collection,o=e.config||{},i=o.em,a=o.stylePrefix||"",s=o.pStylePrefix||"";n.config=o,n.pfx=a,n.ppfx=s,n.propertyView=e.propertyView,n.className="".concat(a,"layers ").concat(s,"field"),n.listenTo(r,"add",n.addTo),n.listenTo(r,"reset",n.reset),n.items=[];var l=n.createPlaceholder(o.pStylePrefix);n.$el.append(l);var c=null==i?void 0:i.Utils;return n.sorter=c?new c.StyleManagerSorter({em:i,containerContext:{container:n.el,containerSel:".".concat(a,"layers"),itemSel:".".concat(a,"layer"),pfx:o.pStylePrefix,document,placeholderElement:l},dragBehavior:{dragDirection:Fn.A.Vertical,nested:!1}}):void 0,r.view=n,n.$el.data("model",r),n.$el.data("collection",r),n}return eh(e,t),e.prototype.addTo=function(t){var e=this.collection.indexOf(t);this.addToCollection(t,null,e)},e.prototype.addToCollection=function(t,e,n){var r=e||null,o=this,i=o.propertyView,a=o.config,s=o.sorter,l=o.$el,c=new th({model:t,config:a,sorter:s,propertyView:i}),u=c.render().el;if(this.items.push(c),r)r.appendChild(u);else if(void 0!==n){var p="before";l.children().length===n&&(n--,p="after"),n<0?l.append(u):l.children().eq(n)[p](u)}else l.append(u);return u},e.prototype.reset=function(t,e){this.clearItems(),this.render()},e.prototype.remove=function(){return this.clearItems(),d.Ss.prototype.remove.apply(this,arguments),this},e.prototype.clearItems=function(){this.items.forEach((function(t){return t.remove()})),this.items=[]},e.prototype.render=function(){var t=this,e=this.$el,n=document.createDocumentFragment();return e.empty(),this.collection.forEach((function(e){return t.addToCollection(e,n)})),e.append(n),e.attr("class",this.className),this},e.prototype.createPlaceholder=function(t){var e=document.createElement("div"),n=document.createElement("div");return this.el.parentNode,e.className=t+"placeholder",e.style.display="none",e.style.pointerEvents="none",n.className=t+"placeholder-int",e.appendChild(n),e},e}(d.Ss);const rh=nh;var oh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ih=function(){return ih=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n \n
\n \n ")},e.prototype.init=function(){var t=this.model;this.listenTo(t.layers,"change reset",this.updateStatus),this.listenTo(t,"change:isEmptyValue",this.updateStatus)},e.prototype.addLayer=function(){this.model.addLayer({},{at:0})},e.prototype.setValue=function(){},e.prototype.remove=function(){var t;return null===(t=this.layersView)||void 0===t||t.remove(),Zf.prototype.remove.apply(this,arguments),this},e.prototype.clearCached=function(){Zf.prototype.clearCached.apply(this,arguments),delete this.layersView},e.prototype.onRender=function(){var t=this,e=t.model,n=t.el,r=t.config,o=e.get("properties");if(o.length&&!this.props){var i=new Yf({config:ih(ih({},r),{highlightComputed:!1,highlightChanged:!1}),collection:o,parent:this});i.render();var a=new rh({collection:e.layers,config:r,propertyView:this});a.render(),n.querySelector("[data-layers-wrapper]").appendChild(a.el),this.props=i,this.layersView=a}},e}(Zf);const sh=ah;var lh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ch=function(){return ch=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
\n
\n \n
\n
\n
\n
\n
\n
').concat(o,"
\n
\n \n ")},e.prototype.__setValueInput=function(t){var e=this.model,n=this.el,r=e.getDefaultValue(),o=n.querySelector("[data-preview-box]"),i=n.querySelector("[data-preview]");o.style.display=t&&t!==r?"":"none",i.style.backgroundImage=t||e.getDefaultValue()},e.prototype.openAssetManager=function(){var t,e=this,n=null===(t=this.em)||void 0===t?void 0:t.Assets;null==n||n.open({select:function(t,r){var o=(0,i.isString)(t)?t:t.get("src");e.model.upValue(o,{partial:!r}),r&&n.close()},types:["image"],accept:"image/*"})},e}(Wf);const ph=uh;var dh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return dh(e,t),e.prototype.templateInput=function(t){return""},e.prototype.init=function(){var t=this.model;this.listenTo(t,"change:unit",this.onValueChange),this.listenTo(t,"change:units",this.render)},e.prototype.setValue=function(t){},e.prototype.onRender=function(){var t=this,e=t.ppfx,n=t.model,r=t.el;if(!this.inputInst){var o=n.input;o.ppfx=e,o.render(),r.querySelector(".".concat(e,"fields")).appendChild(o.el),this.input=o.inputEl.get(0),this.inputInst=o}},e.prototype.clearCached=function(){Wf.prototype.clearCached.apply(this,arguments),this.inputInst=null},e}(Wf);const hh=fh;var gh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),mh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return gh(e,t),e.prototype.setValue=function(t){var e;null===(e=this.inputInst)||void 0===e||e.setValue(t,{fromTarget:1,def:this.model.getDefaultValue()})},e.prototype.remove=function(){var t=this;hh.prototype.remove.apply(this,arguments);var e=this.inputInst;return e&&e.remove&&e.remove(),["inputInst","$color"].forEach((function(e){return t[e]=null})),this},e.prototype.__handleChange=function(t,e){this.model.upValue(t,{partial:e})},e.prototype.onRender=function(){var t;if(!this.inputInst){this.__handleChange=this.__handleChange.bind(this);var e=this,n=e.ppfx,r=e.model,o=e.em,i=e.el,a=new Ol({target:o,model:r,ppfx:n,onChange:this.__handleChange}).render();i.querySelector(".".concat(n,"fields")).appendChild(a.el),this.input=null===(t=a.inputEl)||void 0===t?void 0:t.get(0),this.inputInst=a}},e}(hh);const vh=mh;var yh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bh=function(){return bh=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n \n
\n
\n
\n \n ')},e.prototype.updateOptions=function(){delete this.input,this.onRender()},e.prototype.onRender=function(){var t=this.pfx,e=this.model,n=e.getOptions();if(!this.input){var r=[];n.forEach((function(t){var n=e.getOptionId(t),o=e.getOptionLabel(n),i=t.style?t.style.replace(/"/g,"""):"",a=i?'style="'.concat(i,'"'):"",s=n.replace(/"/g,""");r.push('"))}));var o=this.el.querySelector("#".concat(t,"input-holder"));o.innerHTML=""),this.input=o.firstChild}},e.prototype.__setValueInput=function(t){var e=this.model,n=this.getInputEl(),r=e.getOptions()[0],o=r?e.getOptionId(r):"";n&&(n.value=t||o)},e}(Wf);var Th=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ah=function(){return Ah=Object.assign||function(t){for(var e,n=1,r=arguments.length;n')},e.prototype.onRender=function(){var t=this.pfx,e=this.ppfx,n=this.model,r="".concat(e,"radio-item-label"),o=n.getName(),i=n.getOptions(),a="".concat(t,"radio ").concat(t,"radio-").concat(o),s=n.cid;if(!this.input){var l=[];i.forEach((function(i){var c=i.className?"".concat(i.className," ").concat(t,"icon ").concat(r):"",u=n.getOptionId(i),p="".concat(o,"-").concat(u,"-").concat(s),d=c?"":n.getOptionLabel(u),f=i.title?'title="'.concat(i.title,'"'):"",h=n.getValue()===u?"checked":"";l.push('\n
\n \n \n
\n "))}));var c=this.el.querySelector(".".concat(e,"field"));c.innerHTML='
').concat(l.join(""),"
"),this.input=c.firstChild}},e.prototype.__setValueInput=function(t){var e,n=this.model,r=t||n.getDefaultValue(),o=null===(e=this.getInputEl())||void 0===e?void 0:e.querySelector('[value="'.concat(r,'"]'));o&&(o.checked=!0)},e}(Ch);const Ph=kh;var jh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Nh=function(){return Nh=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n \n \n ')},e.prototype.getSliderEl=function(){return this.slider||(this.slider=this.el.querySelector("input[type=range]")),this.slider},e.prototype.inputValueChanged=function(t){t.stopPropagation(),this.model.upValue(this.getSliderEl().value)},e.prototype.inputValueChangedSoft=function(t){t.stopPropagation(),this.model.upValue(this.getSliderEl().value,{partial:!0})},e.prototype.setValue=function(t){var e=this.model,n=e.parseValue(t);this.getSliderEl().value=""===t?e.getDefaultValue():parseFloat(n.value),hh.prototype.setValue.apply(this,arguments)},e.prototype.onRender=function(){hh.prototype.onRender.apply(this,arguments),this.model.get("showInput")||(this.inputInst.el.style.display="none")},e.prototype.clearCached=function(){hh.prototype.clearCached.apply(this,arguments),delete this.slider},e}(hh),Hh=d.pM.extend(Gc).extend({extendViewApi:1,init:function(){var t=this.opts,e=this.em,n=t.module||(null==e?void 0:e.get("StyleManager"));n&&(n.__listenAdd(this,n.events.propertyAdd),n.__listenRemove(this,n.events.propertyRemove))},types:[{id:"stack",model:Uf,view:sh,isType:function(t){if(t&&"stack"==t.type)return t}},{id:"composite",model:Df,view:Zf,isType:function(t){if(t&&"composite"==t.type)return t}},{id:"file",model:Sf,view:ph,isType:function(t){if(t&&"file"==t.type)return t}},{id:"color",model:Sf,view:vh,isType:function(t){if(t&&"color"==t.type)return t}},{id:"select",model:Eh,view:Ch,isType:function(t){if(t&&"select"==t.type)return t}},{id:"radio",model:Oh,view:Ph,isType:function(t){if(t&&"radio"==t.type)return t}},{id:"slider",model:Mh,view:Uh,isType:function(t){if(t&&"slider"==t.type)return t}},{id:"integer",model:Dh,view:hh,isType:function(t){if(t&&"integer"==t.type)return t}},{id:"number",model:Dh,view:hh,isType:function(t){if(t&&"number"==t.type)return t}},{id:"base",model:Sf,view:Wf,isType:function(t){return t.type="base",t}}]});var Vh=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qh=function(){return qh=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n
$','
\n
',"
\n \n "],r=['\n
\n
$','
\n
',"
\n
\n "],Object.defineProperty?Object.defineProperty(n,"raw",{value:r}):n.raw=r,rg=n),c,c,l,c,i)},e.prototype.events=function(){return{"click [data-sector-title]":"toggle"}},e.prototype.updateOpen=function(){var t=this,e=t.$el,n=t.model,r=t.pfx,o=n.isOpen();e[o?"addClass":"removeClass"]("".concat(r,"open")),this.getPropertiesEl().style.display=o?"":"none"},e.prototype.updateVisibility=function(){this.el.style.display=this.model.isVisible()?"":"none"},e.prototype.getPropertiesEl=function(){var t=this.$el,e=this.pfx;return t.find(".".concat(e,"properties")).get(0)},e.prototype.toggle=function(){var t=this.model;t.setOpen(!t.get("open"))},e.prototype.renderProperties=function(){var t=this.model,e=this.config,n=t.get("properties");if(n){var r=new Yf({collection:n,config:e});this.$el.append(r.render().el)}},e.prototype.render=function(){var t=this,e=t.pfx,n=t.model,r=t.$el,o=n.getId(),i=n.getName();return r.html(this.template({pfx:e,label:i})),this.renderProperties(),r.attr("class","".concat(e,"sector ").concat(e,"sector__").concat(o," no-select")),this.updateOpen(),this},e}(d.Ss);const ng=eg;var rg,og=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ig=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this,r=e.module,o=e.config,i=n.collection;return n.pfx=(null==o?void 0:o.stylePrefix)||"",n.ppfx=(null==o?void 0:o.pStylePrefix)||"",n.config=o,n.module=r,n.listenTo(i,"add",n.addTo),n.listenTo(i,"reset",n.render),n}return og(e,t),e.prototype.remove=function(){var t=this;return d.Ss.prototype.remove.apply(this,arguments),["config","module","em"].forEach((function(e){return t[e]={}})),this},e.prototype.addTo=function(t,e,n){void 0===n&&(n={}),this.addToCollection(t,null,n)},e.prototype.addToCollection=function(t,e,n){void 0===n&&(n={});var r=this.config,o=this.el,i=e||o,a=new ng({model:t,config:r}).render().el;return(0,yt.Sc)(i,a,n.at),a},e.prototype.render=function(){var t=this,e=this,n=e.$el,r=e.pfx,o=e.ppfx;n.empty();var i=document.createDocumentFragment();return this.collection.each((function(e){return t.addToCollection(e,i)})),n.append(i),n.addClass("".concat(r,"sectors ").concat(o,"one-bg ").concat(o,"two-color")),this},e}(d.Ss);const ag=ig;var sg=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),lg=function(){return lg=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0}))})):[]},y=function(t){return t?c.getRules().filter((function(e){return e.selectorsToString()===t})):[]};p?(f=c.getRules("#".concat(p.getId())),h=y(p.get("tagName")),m=(l?v(l.getSelectors().getFullName(d)):[]).concat(h).concat(f)):(f=l?c.getRules("#".concat(l.getId())):[],h=y((null==l?void 0:l.get("tagName"))||""),g=v(((null==l?void 0:l.getSelectors().getFullName(d))||[]).filter((function(e){return-1===t.getSelectors().getFullName(d).findIndex((function(t){return t===e}))})).concat(t.getSelectors().getFullName(d))),m=h.concat(f).concat(g));var b=m.filter((function(t){return(0,i.isUndefined)(r)?1:t.get("state")===r})).sort(u.sortRules).reverse();s=b.slice(b.indexOf(t)+1)}return s},e.prototype.addType=function(t,e){this.properties.addType(t,e)},e.prototype.getType=function(t){return this.properties.getType(t)},e.prototype.getTypes=function(){return this.properties.getTypes()},e.prototype.createType=function(t,e){var n=void 0===e?{}:e,r=n.model,o=void 0===r?{}:r,i=n.view,a=void 0===i?{}:i,s=this.config,l=this.getType(t);if(l)return new l.view(lg({model:new l.model(o),config:s},a))},e.prototype.render=function(){var t=this,e=t.config,n=t.em,r=t.SectView,o=r&&r.el;return this.SectView=new ag({el:o,em:n,config:e,module:this,collection:this.sectors}),this.SectView.render().el},e.prototype._logNoSector=function(t){var e=this.em;e&&e.logWarning("'".concat(t,"' sector not found"))},e.prototype.__emitCmpStyleUpdate=function(t,e){void 0===e&&(e={});var n=this.em;if(!t.__p){var r=this.getSelectedAll(),o=e.components||n.getSelectedAll(),i=Array.isArray(o)?o:[o],a=lg({},t);delete a.__p,i.forEach((function(t){return!r.includes(t)&&t.__onStyleChange(a)}))}},e.prototype.__upProps=function(t){var e=this;void 0===t&&(t={});var n=this.getSelected();if(n){var r=this.sectors,o=this.model.get("component"),i=this.getSelectedParents(),a=n.getStyle(),s=i.map((function(t){return{target:t,style:t.getStyle()}}));r.map((function(n){n.getProperties().map((function(n){e.__upProp(n,a,s,t)}))})),r.forEach((function(t){var e=t.getProperties();e.forEach((function(t){var e=t.__checkVisibility({target:n,component:o,sectors:r});t.set("visible",e)}));var i=e.some((function(t){return t.isVisible()}));t.set("visible",i)}))}},e.prototype.__upProp=function(t,e,n,r){var o=this,i=t.getName(),a=e[i],s=xg(a),l="stack"===t.getType(),c="composite"===t.getType(),u=lg(lg({},r),{__up:!0}),p=!c&&!l,d=t,f=t,h=l?d.__getLayersFromStyle(e):[],g=c?f.__getPropsFromStyle(e):{},m=s?a:null,v=null;if(l&&null===h||c&&null===g){var y=l?"__getLayersFromStyle":"__getPropsFromStyle";if(_=n.filter((function(t){return null!==d[y](t.style)}))[0]){m=_.style[i],v=_.target;var b=d[y](_.style);l?h=b:g=b}}else if(!s){var _;m=null,(_=n.filter((function(t){return xg(t.style[i])}))[0])&&(m=_.style[i],v=_.target)}if(t.__setParentTarget(v),p&&t.__getFullValue()!==m&&t.upValue(m,u),l&&d.__setLayers(h||[],{isEmptyValue:d.isEmptyValueStyle(e)}),c){var w=f.getProperties();if(f.isDetached()){var E=f.__getPropsFromStyle(e,{byName:!0})||{},x=n.map((function(t){return lg(lg({},t),{style:f.__getPropsFromStyle(t.style,{byName:!0})||{}})}));w.map((function(t){return o.__upProp(t,E,x,r)}))}else f.__setProperties(g||{},u),f.getProperties().map((function(t){return t.__setParentTarget(v)}))}},e.prototype.destroy=function(){var t;[this.properties,this.sectors].forEach((function(t){t.reset(),t.stopListening()})),null===(t=this.SectView)||void 0===t||t.remove(),this.model.stopListening(),this.upAll.cancel()},e}(w);const Ag=Tg;var Og=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Sg=function(){return Sg=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=o.getStepsBeforeSave()&&this.store().catch((function(t){return r.logError(t)}))},e.prototype.loadModule=function(t){var e=new t(this);return this.set(e.name,e),e.onLoad&&this.toLoad.push(e),this.modules.push(e),e},e.prototype.loadStorableModule=function(t){var e=this.loadModule(t);return this.storables.push(e),e},e.prototype.init=function(t,e){void 0===e&&(e={}),this.destroyed&&(this.initialize(e),this.destroyed=!1),this.set("Editor",t)},e.prototype.getEditor=function(){return this.get("Editor")},e.prototype.handleUpdates=function(t,e,n){var r=this;void 0===n&&(n={}),this.__skip||n.temporary||n.noCount||n.avoidStore||n.partial||!this.get("ready")||(this.timedInterval&&clearTimeout(this.timedInterval),this.timedInterval=setTimeout((function(){var t=r.getDirtyCount()||0,e=(n.unset,function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);of&&(p=(0,i.isUndefined)(p)?n:Math.min(p,n)))})),!(0,i.isUndefined)(s))for(;s!==f;)n.addSelected(d.at(s),e),s++;if(!(0,i.isUndefined)(p))for(;p!==f;)n.addSelected(d.at(p),e),p--;return n.addSelected(t,e)}!u&&n.removeSelected(l.filter((function(e){return e!==t}))),n.addSelected(t,e)}))},e.prototype.addSelected=function(t,e){var n=this;void 0===e&&(e={}),((0,i.isArray)(t)?t:[t]).forEach((function(t){var r=n.selected;t&&t.get("selectable")&&!t.parents().some((function(t){return r.hasComponent(t)}))&&(e.forceChange&&n.removeSelected(t,e),r.allComponents().filter((function(e){return(0,i.contains)(e.parents(),t)})).forEach((function(t){return n.removeSelected(t,e)})),r.addComponent(t,e),n.trigger(ct.I.select,t,e),n.Canvas.addSpot({type:lt.F.Select,component:t}))}))},e.prototype.removeSelected=function(t,e){var n=this;void 0===e&&(e={}),this.selected.removeComponent(t,e),((0,i.isArray)(t)?t:[t]).forEach((function(t){return n.Canvas.removeSpots({type:lt.F.Select,component:t})}))},e.prototype.toggleSelected=function(t,e){var n=this;void 0===e&&(e={}),((0,i.isArray)(t)?t:[t]).forEach((function(t){n.selected.hasComponent(t)?n.removeSelected(t,e):n.addSelected(t,e)}))},e.prototype.setHovered=function(t,e){var n=this;void 0===e&&(e={});var r=function(t,e){var r=n,o=r.config,i=r.Canvas,a=n.getHovered(),s=n.getSelectedAll(),l=lt.F.Hover,c=lt.F.Spacing;n.set("componentHovered",t||null,e),a&&(i.removeSpots({type:l,component:a}),i.removeSpots({type:c,component:a})),t&&(i.addSpot({type:l,component:t}),s.includes(t)&&!o.showOffsetsSelected||i.addSpot({type:c,component:t}))};if(!t)return r();var o="component:hover";if(e.forceChange&&r(),this.trigger("".concat(o,":before"),t,e),!t.get("hoverable")){if(!e.useValid||e.abort)return;for(var i=t.parent();i&&!i.get("hoverable");)i=i.parent();t=i}e.abort||(r(t,e),this.trigger(o,t,e))},e.prototype.getHovered=function(){return this.get("componentHovered")},e.prototype.setComponents=function(t,e){return void 0===e&&(e={}),this.Components.setComponents(t,e)},e.prototype.getComponents=function(){var t=this.Components,e=this.CodeManager;if(t&&e){var n=t.getComponents();return e.getCode(n,"json")}},e.prototype.setStyle=function(t,e){void 0===e&&(e={});var n=this.Css;return n.clear(e),n.getAll().add(t,e),this},e.prototype.addStyle=function(t,e){void 0===e&&(e={});var n=this.getStyle().add(t,e);return(0,i.isArray)(n)?n:[n]},e.prototype.getStyle=function(){return this.Css.getAll()},e.prototype.setState=function(t){return this.set("state",t),this},e.prototype.getState=function(){return this.get("state")||""},e.prototype.getHtml=function(t){void 0===t&&(t={});var e=this.config,n=e.optsHtml,r=e.jsInHtml?this.getJs(t):"",o=t.component||this.Components.getComponent();return(o?this.CodeManager.getCode(o,"html",zg(zg({},n),t)):"")+(r?"